-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Closed
Closed
Copy link
Labels
bug 🐛Programming errors, that need preferential fixingProgramming errors, that need preferential fixingtests
Description
systemd version the issue has been seen with
latest master
Used distribution
Arch Linux
I noticed that in several recent PRs the systemd-networkd-tests.py test fails with:
======================================================================
ERROR: test_bridge_configure_without_carrier (__main__.NetworkdBridgeTests) (test='no-slave')
----------------------------------------------------------------------
Traceback (most recent call last):
File "./test/test-network/systemd-networkd-tests.py", line 2800, in test_bridge_configure_without_carrier
self.wait_online(['bridge99:no-carrier'])
File "./test/test-network/systemd-networkd-tests.py", line 506, in wait_online
check_output(*args, env=env)
File "./test/test-network/systemd-networkd-tests.py", line 49, in check_output
return subprocess.check_output(command, universal_newlines=True, **kwargs).rstrip()
File "/usr/lib/python3.8/subprocess.py", line 411, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "/usr/lib/python3.8/subprocess.py", line 512, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['/usr/lib/systemd/systemd-networkd-wait-online', '--timeout=20s', '--interface=bridge99:no-carrier']' returned non-zero exit status 1.
======================================================================
ERROR: test_bridge_configure_without_carrier (__main__.NetworkdBridgeTests) (test='add-slave')
----------------------------------------------------------------------
Traceback (most recent call last):
File "./test/test-network/systemd-networkd-tests.py", line 2811, in test_bridge_configure_without_carrier
self.wait_online(['bridge99:no-carrier:no-carrier'])
File "./test/test-network/systemd-networkd-tests.py", line 506, in wait_online
check_output(*args, env=env)
File "./test/test-network/systemd-networkd-tests.py", line 49, in check_output
return subprocess.check_output(command, universal_newlines=True, **kwargs).rstrip()
File "/usr/lib/python3.8/subprocess.py", line 411, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "/usr/lib/python3.8/subprocess.py", line 512, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['/usr/lib/systemd/systemd-networkd-wait-online', '--timeout=20s', '--interface=bridge99:no-carrier:no-carrier']' returned non-zero exit status 1.
----------------------------------------------------------------------
Ran 138 tests in 2722.085s
FAILED (errors=2, expected failures=1)
Full log: https://ci.centos.org/job/systemd-pr-build-vagrant/7947/artifact//systemd-centos-ci/artifacts_kzRqbs/vagrant-logs.ZKt/vagrant-arch-testsuite.xm4/systemd-networkd-tests.py_FAIL.log
Machine journal: https://ci.centos.org/job/systemd-pr-build-vagrant/7947/artifact//systemd-centos-ci/artifacts_kzRqbs/vagrant-logs.ZKt/vagrant-journal-dump.log
Metadata
Metadata
Assignees
Labels
bug 🐛Programming errors, that need preferential fixingProgramming errors, that need preferential fixingtests