Failing to run Shadow on Ubuntu in corporate environment #2271
-
|
Hello, I encounter a problem with setting up Shadow, and after several days trying to figure out what the problem could be, I dare to ask here for help. I am in a corporate environment behind a proxy. I have tried to install Shadow on Ubuntu 20.04 and 22.04 in several environments:
Every time, I fail in installing Shadow and running the file transfer demo successfully. On the Bare metal install, when running the tests after building Shadow from sources, most of them fail: When I look at the verbose output for the tests I get the following error most of the time and processes executed in the tests exit with code 134. I have changed my system's limits as mentioned in https://github.com/shadow/shadow/blob/0171ea8282e19bc439add4ad952bf75a98444627/docs/system_configuration.md If you have an idea about why I face those issues, I would really appreciate any help ! Thanks in advance, Antoine |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 11 replies
-
|
Do you have any other information about your system that would help us replicate this? What Linux kernel version are you using (output of
This error causes the managed process to exit, which is why the tests are failing on your baremetal server. I'm not sure why this is failing, but you can try skipping the vdso interception by change the line: shadow/src/lib/shim/patch_vdso.c Lines 178 to 179 in ea80705 to warning("Can't inject %zd byte trampoline into %zd byte symbol '%s'", trampolineSize,
symbol->st_size, vdsoFnName);
return;If you make this change, do the tests pass? |
Beta Was this translation helpful? Give feedback.
Do you have any other information about your system that would help us replicate this? What Linux kernel version are you using (output of
uname -a)? Both Ubuntu 20.04 and 22.04 work for me locally and in our CI tests.This error causes the managed process to exit, which is why the tests are failing on your baremetal server. I'm not sure why this is failing, but you can try skipping the vdso interception by change the line:
shadow/src/lib/shim/patch_vdso.c
Lines 178 to 179 in ea80705