** Tags added: ubuntu-cts-kernel

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1801877

Title:
  lp1153769 in ubuntu_cts_kernel failed on P with logfd error

Status in ubuntu-kernel-tests:
  Confirmed
Status in linux package in Ubuntu:
  Incomplete

Bug 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

  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/

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/1801877/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to