[Flent-users] weir error message after update of macosx and flent

Sebastian Moeller moeller0 at gmx.de
Sat Feb 17 23:46:00 EET 2018


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




More information about the Flent-users mailing list