OSError: [Errno 2] No such file or directory: when run pantheon locally

86 views
Skip to first unread message

Long Chen

unread,
Nov 15, 2022, 3:44:14 AM11/15/22
to Pantheon
Hi, I followed the readme to get the third_party, install the dependency and setup the pantheon, but get OSError: [Errno 2] No such file or directory as below:

(pantheon) chenlong.nirver@n111:~/pantheon$ src/experiments/setup.py --install-deps --schemes vivace
/home/chenlong.nirver/pantheon/src/helpers/utils.py:40: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
  return yaml.load(config)
$ git submodule update --init --recursive
$ /home/chenlong.nirver/pantheon/src/wrappers/vivace.py deps
(pantheon) chenlong.nirver@n111:~/pantheon$ src/experiments/setup.py --schemes vivace
/home/chenlong.nirver/pantheon/src/helpers/utils.py:40: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
  return yaml.load(config)
$ git submodule update --init --recursive
$ /home/chenlong.nirver/pantheon/src/wrappers/vivace.py setup_after_reboot
(pantheon) chenlong.nirver@n111:~/pantheon$ src/experiments/test.py local --schemes vivace
/home/chenlong.nirver/pantheon/src/helpers/utils.py:40: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
  return yaml.load(config)
$ /home/chenlong.nirver/pantheon/src/experiments/git_summary.sh
Testing scheme vivace for experiment run 1/1...
$ /home/chenlong.nirver/pantheon/src/wrappers/vivace.py run_first
[tunnel server manager (tsm)] $ python /home/chenlong.nirver/pantheon/src/experiments/tunnel_manager.py
tunnel manager is running
prompt [tsm]
[tunnel client manager (tcm)] $ mm-link /home/chenlong.nirver/pantheon/src/experiments/12mbps.trace /home/chenlong.nirver/pantheon/src/experiments/12mbps.trace --uplink-log=/home/chenlong.nirver/pantheon/src/experiments/data/vivace_mm_datalink_run1.log --downlink-log=/home/chenlong.nirver/pantheon/src/experiments/data/vivace_mm_acklink_run1.log python /home/chenlong.nirver/pantheon/src/experiments/tunnel_manager.py
kill_proc_group: killed process group with pgid 1213027
tunnel_manager: caught signal 15 and cleaned up

Traceback (most recent call last):
  File "src/experiments/test.py", line 808, in main
    run_tests(args)
  File "src/experiments/test.py", line 782, in run_tests
    Test(args, run_id, cc).run()
  File "src/experiments/test.py", line 735, in run
    if not self.run_congestion_control():
  File "src/experiments/test.py", line 686, in run_congestion_control
    return self.run_with_tunnel()
  File "src/experiments/test.py", line 533, in run_with_tunnel
    ts_manager, tc_manager = self.run_tunnel_managers()
  File "src/experiments/test.py", line 297, in run_tunnel_managers
    preexec_fn=os.setsid)
  File "/home/chenlong.nirver/pantheon/src/helpers/subprocess_wrappers.py", line 34, in Popen
    return subprocess.Popen(cmd, **kwargs)
  File "/home/chenlong.nirver/anaconda3/envs/pantheon/lib/python2.7/subprocess.py", line 394, in __init__
    errread, errwrite)
  File "/home/chenlong.nirver/anaconda3/envs/pantheon/lib/python2.7/subprocess.py", line 1047, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory
Error in tests!

Francis Y. Yan

unread,
Nov 16, 2022, 10:30:05 PM11/16/22
to Long Chen, Pantheon
Hi,

Could you manually run the command that threw the error:

mm-link /home/chenlong.nirver/pantheon/src/experiments/12mbps.trace /home/chenlong.nirver/pantheon/src/experiments/12mbps.trace --uplink-log=/home/chenlong.nirver/pantheon/src/experiments/data/vivace_mm_datalink_run1.log --downlink-log=/home/chenlong.nirver/pantheon/src/experiments/data/vivace_mm_acklink_run1.log

Then inside the Mahimahi shell, run the tunnel_manager.py as printed out. When subprocess generates an error, I usually just try to reproduce the issue by repeating the executed command.

Best,
Francis


--
You received this message because you are subscribed to the Google Groups "Pantheon" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pantheon-stanf...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pantheon-stanford/193dc68f-4643-4f53-bb75-f90b4f5d6b84n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages