← Back to team overview

canonical-ubuntu-qa team mailing list archive

[Bug 2110486] Re: plucky: ubuntu_kselftests_ftrace:sut-test multiple tests cannot run with the same subdirectory

 

This:
JOB ERROR: Unhandled TestError: ubuntu_kselftests_ftrace.ftrace:test.d--00basic--basic1.tc already exists; multiple tests cannot run with the same subdirectory

Is because we try to run the same test suite twice.

This happens because for tests in kselftests directory we will try to
detect executable tests from the Makefile, in this case
linux/tools/testing/selftests/ftrace/Makefile.

However for ftrace test all of its sub-tests are reside in the test.d
directory, there is no need to detect from the Makefile.

This issue does not affect older releases because there was only one
executable reported from the Makefile in older release.

-- 
You received this bug notification because you are a member of Canonical
Platform QA Team, which is subscribed to ubuntu-kernel-tests.
https://bugs.launchpad.net/bugs/2110486

Title:
  plucky: ubuntu_kselftests_ftrace:sut-test multiple tests cannot run
  with the same subdirectory

Status in ubuntu-kernel-tests:
  In Progress

Bug description:
  ubuntu_kselftests_ftrace:sut-test has been failing on plucky
  (6.14.0-9.9 - 6.14.0-17.17) as if it is trying to re-run the test all
  over again:

  ERROR - 22:09:50 INFO | START ubuntu_kselftests_ftrace.ftrace:test.d--trigger--trigger-traceonoff.tc ubuntu_kselftests_ftrace.ftrace:test.d--trigger--trigger-traceonoff.tc timeout=600 timestamp=1746137390 localtime=May 01 22:09:50
  ERROR - 22:09:50 DEBUG| Persistent state client._record_indent now set to 2
  ERROR - 22:09:50 DEBUG| Persistent state client.unexpected_reboot now set to ('ubuntu_kselftests_ftrace.ftrace:test.d--trigger--trigger-traceonoff.tc', 'ubuntu_kselftests_ftrace.ftrace:test.d--trigger--trigger-traceonoff.tc')
  ERROR - 22:09:50 DEBUG| Waiting for pid 36843 for 600 seconds
  ERROR - 22:09:50 WARNI| System python is too old, crash handling disabled
  ERROR - 22:09:50 DEBUG| Running './ftracetest -v test.d/trigger/trigger-traceonoff.tc'
  ERROR - 22:09:50 DEBUG| [stdout] === Ftrace unit tests ===
  ERROR - 22:09:50 DEBUG| [stdout] [1] event trigger - test traceon/off trigger [PASS]
  ERROR - 22:09:50 DEBUG| [stdout]
  ERROR - 22:09:50 DEBUG| [stdout]
  ERROR - 22:09:50 DEBUG| [stdout] # of passed: 1
  ERROR - 22:09:50 DEBUG| [stdout] # of failed: 0
  ERROR - 22:09:50 DEBUG| [stdout] # of unresolved: 0
  ERROR - 22:09:50 DEBUG| [stdout] # of untested: 0
  ERROR - 22:09:50 DEBUG| [stdout] # of unsupported: 0
  ERROR - 22:09:50 DEBUG| [stdout] # of xfailed: 0
  ERROR - 22:09:50 DEBUG| [stdout] # of undefined(test bug): 0
  ERROR - 22:09:52 INFO | GOOD ubuntu_kselftests_ftrace.ftrace:test.d--trigger--trigger-traceonoff.tc ubuntu_kselftests_ftrace.ftrace:test.d--trigger--trigger-traceonoff.tc timestamp=1746137392 localtime=May 01 22:09:52 completed successfully
  ERROR - 22:09:52 INFO | END GOOD ubuntu_kselftests_ftrace.ftrace:test.d--trigger--trigger-traceonoff.tc ubuntu_kselftests_ftrace.ftrace:test.d--trigger--trigger-traceonoff.tc timestamp=1746137392 localtime=May 01 22:09:52
  ERROR - 22:09:52 DEBUG| Persistent state client._record_indent now set to 1
  ERROR - 22:09:52 DEBUG| Persistent state client.unexpected_reboot deleted
  ERROR - 22:09:52 DEBUG| Running 'find /home/ubuntu/autotest/client/tmp/ubuntu_kselftests_ftrace/src/linux/tools/testing/selftests/ftrace/test.d/ -name *.tc | sort'
  ERROR - 22:09:52 ERROR| JOB ERROR: Unhandled TestError: ubuntu_kselftests_ftrace.ftrace:test.d--00basic--basic1.tc already exists; multiple tests cannot run with the same subdirectory

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



References