ubuntu_xfstests_* fails on F/oem-5.6 (Could not stat device /dev/sdb)

Bug #1928035 reported by Kelsey Skunberg on 2021-05-11
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-kernel-tests
Undecided
Unassigned

Bug Description

ubuntu_xfstests_ext4, ubuntu_xfstests_btrfs, and ubuntu_xfstests_xfs fail with "Could not stat device /dev/sdb - No such file or directory"

Focal/oem-5.6 5.6.0-1056.60
host spitfire

These tests are not listed to have ran during previous cycles for this kernel, so would not consider to be a regression.

05/07 19:37:42 INFO |ubuntu_xfs:0212| /bin/bash /home/ubuntu/autotest/client/tests/ubuntu_xfstests_ext4/create-test-partitions /dev/sdb ext4
05/07 19:37:42 DEBUG| utils:0116| Running '/bin/bash /home/ubuntu/autotest/client/tests/ubuntu_xfstests_ext4/create-test-partitions /dev/sdb ext4'
05/07 19:37:42 ERROR| utils:0153| [stderr] Error: Could not stat device /dev/sdb - No such file or directory.
05/07 19:37:42 ERROR| utils:0153| [stderr] Error: Could not stat device /dev/sdb - No such file or directory.
05/07 19:37:42 ERROR| test:0414| 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_xfstests_ext4/ubuntu_xfstests_ext4.py", line 242, in run_once
    self.create_partitions(filesystem)
  File "/home/ubuntu/autotest/client/tests/ubuntu_xfstests_ext4/ubuntu_xfstests_ext4.py", line 213, in create_partitions
    return utils.system('/bin/bash %s/create-test-partitions %s %s' % (self.bindir, os.environ['XFSTESTS_TEST_DRIVE'], filesystem))
  File "/home/ubuntu/autotest/client/shared/utils.py", line 1232, in system
    verbose=verbose).exit_status
  File "/home/ubuntu/autotest/client/shared/utils.py", line 918, in run
    "Command returned non-zero exit status")
CmdError: Command </bin/bash /home/ubuntu/autotest/client/tests/ubuntu_xfstests_ext4/create-test-partitions /dev/sdb ext4> failed, rc=1, Command returned non-zero exit status
* Command:
    /bin/bash /home/ubuntu/autotest/client/tests/ubuntu_xfstests_ext4/create-
    test-partitions /dev/sdb ext4
Exit status: 1
Duration: 0.0480360984802

stderr:
Error: Could not stat device /dev/sdb - No such file or directory.
Error: Could not stat device /dev/sdb - No such file or directory.

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

This is because the test will need an extra scratch drive to run with. If the test node does not have one it will fail like this.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers