Flent-users discussion archives
 help / color / mirror / Atom feed
* [Flent-users] weir error message after update of macosx and flent
@ 2018-02-17 21:46 Sebastian Moeller
       [not found] ` <87eflj2r6z.fsf@toke.dk>
  0 siblings, 1 reply; 2+ messages in thread
From: Sebastian Moeller @ 2018-02-17 21:46 UTC (permalink / raw)
  To: flent-users

Hi Toke,


I made the mistake of updating both my os (from macos 10.12.6 to 10.13.3) and flent (to 1.2 I believe) at the same time. Now when I try to actually run a test I get the following results:

Started Flent 1.2.0-git-94b4267 using Python 3.6.4.
Executing test environment file /space/data_local/user/PRIVATE/samba/privat/dir/techno_kram/CODE/flent/flent/tests/rrul_cs8.conf
Starting rrul_cs8 test. Expected run time: 310 seconds.
which: /Users/user/go/bin/netperf is not an executable file
which: /opt/jip-150326_v3.1/bin/netperf is not an executable file
which: /opt/Slicer3-3.6.2-2010-11-03-darwin-x86/netperf is not an executable file
which: /opt/afni/netperf is not an executable file
which: /usr/local/bin/netperf is not an executable file
which: /opt/fsl-5.0.7-macosx/bin/netperf is not an executable file
which: /opt/freesurfer-Darwin-lion-stable-pub-v5.3.0/bin/netperf is not an executable file
which: /opt/freesurfer-Darwin-lion-stable-pub-v5.3.0/fsfast/bin/netperf is not an executable file
which: /opt/freesurfer-Darwin-lion-stable-pub-v5.3.0/tktools/netperf is not an executable file
which: /opt/fsl-5.0.7-macosx/bin/netperf is not an executable file
which: /opt/freesurfer-Darwin-lion-stable-pub-v5.3.0/mni/bin/netperf is not an executable file
which: Found netperf executable at /opt/local/bin/netperf
Ping (ms) UDP CS7: Adding child IrttRunner
which: Found irtt executable at /Users/user/go/bin/irtt
Traceback (most recent call last):
  File "/space/data_local/user/PRIVATE/samba/privat/dir/techno_kram/CODE/flent/flent/runners.py", line 1500, in check
    marking = "--dscp={}".format(self.marking_map[mk])
KeyError: 'CS7'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "./run-flent", line 33, in <module>
    sys.exit(run_flent())
  File "/space/data_local/user/PRIVATE/samba/privat/dir/techno_kram/CODE/flent/flent/__init__.py", line 59, in run_flent
    b.run()
  File "/space/data_local/user/PRIVATE/samba/privat/dir/techno_kram/CODE/flent/flent/batch.py", line 610, in run
    return self.run_test(self.settings, self.settings.DATA_DIR, True)
  File "/space/data_local/user/PRIVATE/samba/privat/dir/techno_kram/CODE/flent/flent/batch.py", line 509, in run_test
    res = self.agg.postprocess(self.agg.aggregate(res))
  File "/space/data_local/user/PRIVATE/samba/privat/dir/techno_kram/CODE/flent/flent/aggregators.py", line 233, in aggregate
    measurements, metadata, raw_values = self.collect()
  File "/space/data_local/user/PRIVATE/samba/privat/dir/techno_kram/CODE/flent/flent/aggregators.py", line 121, in collect
    t.check()
  File "/space/data_local/user/PRIVATE/samba/privat/dir/techno_kram/CODE/flent/flent/runners.py", line 1543, in check
    self.add_child(IrttRunner, **self.runner_args)
  File "/space/data_local/user/PRIVATE/samba/privat/dir/techno_kram/CODE/flent/flent/runners.py", line 227, in add_child
    c.check()
  File "/space/data_local/user/PRIVATE/samba/privat/dir/techno_kram/CODE/flent/flent/runners.py", line 1502, in check
    marking = "--dscp={}".format(marking)
UnboundLocalError: local variable 'marking' referenced before assignment


Opening run-flent --gui however works as expected. I guess I made a silly mistake, but since I get these errors with pyhton 2.7 as well as the shown python 3.6 I just wanted to ask whether this "rings a bell" or whether I need to look deeper into my setup.



Things I did test already:
1) netperf: I used Rich Brown's betterspeedtest.sh wrapper to test whether netperf is operational (it is) Also:
bash-3.2$ netperf -4 -H netperf-eu.bufferbloat.net -t TCP_STREAM -l 10 -v 0 -P 0 -D 2
Interim result:    7.66 10^6bits/s over 2.053 seconds ending at 1518903857.219
Interim result:    8.81 10^6bits/s over 2.023 seconds ending at 1518903859.242
Interim result:    8.44 10^6bits/s over 2.112 seconds ending at 1518903861.354
Interim result:    8.85 10^6bits/s over 2.133 seconds ending at 1518903863.487
Interim result:    8.11 10^6bits/s over 1.680 seconds ending at 1518903865.167
   8.34 
bash-3.2$ netperf -4 -H netperf-eu.bufferbloat.net -t TCP_MAERTS -l 10 -v 0 -P 0 -D 2
Interim result:   33.10 10^6bits/s over 2.000 seconds ending at 1518903895.743
Interim result:   38.59 10^6bits/s over 2.030 seconds ending at 1518903897.773
Interim result:   38.74 10^6bits/s over 2.001 seconds ending at 1518903899.774
Interim result:   40.12 10^6bits/s over 2.000 seconds ending at 1518903901.774
Interim result:   40.63 10^6bits/s over 1.970 seconds ending at 1518903903.744
  38.23 

2) fping:
bash-3.2$ sudo fping -D -n -c 2 127.0.0.1 -i 5
[1518903718.880975] localhost : [0], 84 bytes, 0.04 ms (0.04 avg, 0% loss)
[1518903719.885723] localhost : [1], 84 bytes, 0.07 ms (0.05 avg, 0% loss)


Best Regards
	Sebastian


_______________________________________________
Flent-users mailing list
Flent-users@flent.org
http://flent.org/mailman/listinfo/flent-users_flent.org

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Flent-users] weir error message after update of macosx and flent
       [not found]     ` <6C7BAE37-9704-407F-AAA6-AF509203A70C@gmx.de>
@ 2018-02-18 11:27       ` Pete Heist
  0 siblings, 0 replies; 2+ messages in thread
From: Pete Heist @ 2018-02-18 11:27 UTC (permalink / raw)
  To: Sebastian Moeller; +Cc: flent-users


> On Feb 18, 2018, at 10:55 AM, Sebastian Moeller <moeller0@gmx.de> wrote:
> 
> Not that I have looked at the actual parameter names, but how about having --dscp mask out the upper two bits (if they are set) and --tos allowing to set the full legacy 8 bit?

I think that’s the right thing to do, and was thinking the same last night. :) It would seem to best reflect reality. One user thought that ToS wasn’t implemented in IRTT because there was no —tos flag, so that’s what people expect to find. This way they’d find it, but the doc would also mention that DSCP is mainly what’s used on the modern Internet.

Now, it also might be that the text values for ToS could be different than those for DSCP, and there could be two different tables. I’m not sure yet, but I’ll consider that after reading up on it more…


_______________________________________________
Flent-users mailing list
Flent-users@flent.org
http://flent.org/mailman/listinfo/flent-users_flent.org

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-02-18 11:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-17 21:46 [Flent-users] weir error message after update of macosx and flent Sebastian Moeller
     [not found] ` <87eflj2r6z.fsf@toke.dk>
     [not found]   ` <588A1D01-E40A-4891-81D5-497C217BDCDB@gmail.com>
     [not found]     ` <6C7BAE37-9704-407F-AAA6-AF509203A70C@gmx.de>
2018-02-18 11:27       ` Pete Heist

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox