Activity log for bug #1801877

Date Who What changed Old value New value Message
2018-11-06 07:51:10 Po-Hsu Lin bug added bug
2018-11-22 10:12:52 Po-Hsu Lin ubuntu-kernel-tests: status New Confirmed
2018-11-22 10:16:44 Po-Hsu Lin description If you run it on jenkins remotely: ~/kernel-testing/remote --kernel-test-list=ubuntu_cts_kernel ubuntu@rizzo It will fail with: *** lp1153769 *** Running '/home/ubuntu/autotest/client/tests/ubuntu_cts_kernel/bugs/lp1153769 eno1' [stderr] Failed opening logfd: Invalid argument Exception escaping from test: Traceback (most recent call last): File "/home/ubuntu/autotest/client/shared/test.py", line 411, in _exec _call_test_function(self.execute, *p_args, **p_dargs) File "/home/ubuntu/autotest/client/shared/test.py", line 823, in _call_test_function return func(*args, **dargs) File "/home/ubuntu/autotest/client/shared/test.py", line 291, in execute postprocess_profiled_run, args, dargs) File "/home/ubuntu/autotest/client/shared/test.py", line 212, in _call_run_once self.run_once(*args, **dargs) File "/home/ubuntu/autotest/client/tests/ubuntu_cts_kernel/ubuntu_cts_kernel.py", line 37, in run_once self.results = utils.system_output(cmd, retain_output=True) File "/home/ubuntu/autotest/client/shared/utils.py", line 1267, in system_output verbose=verbose, args=args).stdout File "/home/ubuntu/autotest/client/shared/utils.py", line 918, in run "Command returned non-zero exit status") CmdError: Command </home/ubuntu/autotest/client/tests/ubuntu_cts_kernel/bugs/lp1153769 eno1> failed, rc=234, Command returned non-zero exit status * Command: /home/ubuntu/autotest/client/tests/ubuntu_cts_kernel/bugs/lp1153769 eno1 Exit status: 234 Duration: 0.056932926178 But if you run this test locally on the SUT, it will pass without any issue: sudo apt-get install git python-minimal gdb -y git clone --depth=1 git://kernel.ubuntu.com/ubuntu/autotest-client-tests git clone --depth=1 git://kernel.ubuntu.com/ubuntu/autotest rm -fr autotest/client/tests ln -sf ~/autotest-client-tests autotest/client/tests AUTOTEST_PATH=/home/ubuntu/autotest sudo -E autotest/client/autotest-local --verbose autotest/client/tests/ubuntu_cts_kernel/control If you run it on jenkins remotely: ~/kernel-testing/remote --kernel-test-list=ubuntu_cts_kernel ubuntu@rizzo It will fail with:  *** lp1153769 ***  Running '/home/ubuntu/autotest/client/tests/ubuntu_cts_kernel/bugs/lp1153769 eno1'  [stderr] Failed opening logfd: Invalid argument  Exception escaping from test: Traceback (most recent call last):   File "/home/ubuntu/autotest/client/shared/test.py", line 411, in _exec     _call_test_function(self.execute, *p_args, **p_dargs)   File "/home/ubuntu/autotest/client/shared/test.py", line 823, in _call_test_function     return func(*args, **dargs)   File "/home/ubuntu/autotest/client/shared/test.py", line 291, in execute     postprocess_profiled_run, args, dargs)   File "/home/ubuntu/autotest/client/shared/test.py", line 212, in _call_run_once     self.run_once(*args, **dargs)   File "/home/ubuntu/autotest/client/tests/ubuntu_cts_kernel/ubuntu_cts_kernel.py", line 37, in run_once     self.results = utils.system_output(cmd, retain_output=True)   File "/home/ubuntu/autotest/client/shared/utils.py", line 1267, in system_output     verbose=verbose, args=args).stdout   File "/home/ubuntu/autotest/client/shared/utils.py", line 918, in run     "Command returned non-zero exit status") CmdError: Command </home/ubuntu/autotest/client/tests/ubuntu_cts_kernel/bugs/lp1153769 eno1> failed, rc=234, Command returned non-zero exit status * Command:     /home/ubuntu/autotest/client/tests/ubuntu_cts_kernel/bugs/lp1153769 eno1 Exit status: 234 Duration: 0.056932926178 This can be reproduced with just ssh on the host to SUT: $ myssh rizzo "/home/ubuntu/autotest/client/tests/ubuntu_cts_kernel/bugs/lp1153769 eno1" Warning: Permanently added 'rizzo,10.246.72.30' (ECDSA) to the list of known hosts. Failed opening logfd: Invalid argument But if you run this test locally on the SUT, it will pass without any issue: sudo apt-get install git python-minimal gdb -y git clone --depth=1 git://kernel.ubuntu.com/ubuntu/autotest-client-tests git clone --depth=1 git://kernel.ubuntu.com/ubuntu/autotest rm -fr autotest/client/tests ln -sf ~/autotest-client-tests autotest/client/tests AUTOTEST_PATH=/home/ubuntu/autotest sudo -E autotest/client/autotest-local --verbose autotest/client/tests/ubuntu_cts_kernel/control Or just run the test directly on the SUT: $ /home/ubuntu/autotest/client/tests/ubuntu_cts_kernel/bugs/lp1153769 eno1 autotest kernel-test-results kernel-testing Performance counter stats for 'ls': 2222256 cycles # 0.000 GHz 0.002389283 seconds time elapsed I think this has something to do with the perf command and the shell redirection: https://lore.kernel.org/patchwork/patch/309039/
2018-11-22 10:28:56 Po-Hsu Lin bug task added linux (Ubuntu)
2018-11-22 10:29:04 Po-Hsu Lin nominated for series Ubuntu Precise
2018-11-22 10:30:08 Ubuntu Kernel Bot linux (Ubuntu): status New Incomplete
2019-07-24 21:29:41 Brad Figg tags cscc
2019-09-16 11:34:34 Po-Hsu Lin tags cscc cscc ubuntu-cts-kernel