Skip to content

tests: ignore some mount errors in test-udev#3008

Merged
keszybz merged 1 commit intosystemd:masterfrom
evverx:udev-test-ignore-some-mount-errors
Apr 10, 2016
Merged

tests: ignore some mount errors in test-udev#3008
keszybz merged 1 commit intosystemd:masterfrom
evverx:udev-test-ignore-some-mount-errors

Conversation

@evverx
Copy link
Contributor

@evverx evverx commented Apr 10, 2016

Fixes:

$ sudo make distcheck
...
FAIL: test/udev-test.pl
...

$ vi systemd-229/_build/sub/test/udev-test.pl.log
...
failed to mount empty
/home/ubuntu/systemd/systemd-229/_inst/lib/udev/rules.d No such file or directory
...
failed to mount empty
/home/ubuntu/systemd/systemd-229/_inst/lib/udev/rules.d No such file or directory
...
414 errors occurred

Fixes:
$ sudo make distcheck
...
FAIL: test/udev-test.pl
...

$ vi systemd-229/_build/sub/test/udev-test.pl.log
...
failed to mount empty
/home/ubuntu/systemd/systemd-229/_inst/lib/udev/rules.d No such file or directory
...
failed to mount empty
/home/ubuntu/systemd/systemd-229/_inst/lib/udev/rules.d No such file or directory
...
414 errors occurred
@evverx evverx force-pushed the udev-test-ignore-some-mount-errors branch from cffbfb3 to ad43ccb Compare April 10, 2016 20:01
@keszybz
Copy link
Member

keszybz commented Apr 10, 2016

======================================================================
ERROR: test_luks_by_devname (__main__.CryptsetupTest)
LUKS device by plain device name, empty
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/adt-run.wmAc61/build.esP/systemd/debian/tests/storage", line 45, in setUp
    super().setUp()
  File "/tmp/adt-run.wmAc61/build.esP/systemd/debian/tests/storage", line 20, in setUp
    subprocess.check_call(['modprobe', 'scsi_debug'])
  File "/usr/lib/python3.5/subprocess.py", line 581, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['modprobe', 'scsi_debug']' returned non-zero exit status 1

That seems unrelated.

@keszybz keszybz merged commit cbe2220 into systemd:master Apr 10, 2016
@evverx
Copy link
Contributor Author

evverx commented Apr 10, 2016

That seems unrelated.

Indeed.
Seems like there is no the scsi_debug.ko module.
@martinpitt, I've prepared a patch https://gist.github.com/evverx/818718925b270476dcf67a343e0a0626

@evverx evverx deleted the udev-test-ignore-some-mount-errors branch April 10, 2016 21:36
@martinpitt
Copy link
Contributor

The missing scsi_debug is unrelated to this PR indeed. This is hitting some distro tests too. It's supposed to be installed by default in testbeds, this broke over the weekend due to some kernel, cloud-init or whatever change. This is #1 on my list today.

@martinpitt
Copy link
Contributor

Found the problem, fixed. Sorry about the hiccup.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants