autopkgtest 'bonds' fails test test_bond_resend_igmp
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
netplan.io (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[impact]
autopkgtest 'bonds' frequently fails its 'test_bond_
test_bond_
[test case]
check autopkgtest logs, e.g.
https:/
[regression potential]
tbd
[discussion]
=======
ERROR: test_bond_
-------
Traceback (most recent call last):
File "/tmp/autopkgte
self.
File "/tmp/autopkgte
out = subprocess.
File "/usr/lib/
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "/usr/lib/
raise CalledProcessEr
subprocess.
tags: | added: seg sys-sponsor-volunteer |
tags: |
added: sts-sponsor-volunteer removed: sys-sponsor-volunteer |
description: | updated |
tags: | added: update-excuse |
description: | updated |
Changed in netplan.io (Ubuntu): | |
status: | Triaged → Fix Released |
Unfortunately the test doesn't indicate why netplan apply failed.
Maybe something like this might give more info?
diff --git a/tests/ integration/ base.py b/tests/ integration/ base.py integration/ base.py integration/ base.py sBase(unittest. TestCase) :
'''Generate config, launch and settle NM and networkd'''
index 5042bf4..c8902ca 100644
--- a/tests/
+++ b/tests/
@@ -297,7 +297,12 @@ class IntegrationTest
# regenerate netplan config check_output( ['netplan' , 'apply'], stderr= subprocess. STDOUT, universal_ newlines= True) check_output( ['netplan' , 'apply'], stderr= subprocess. STDOUT, universal_ newlines= True) CalledProcessEr ror as e: write(' %d: %s\n' %(e.returncode, e.output))
self. fail('systemd units changed without reload')
- out = subprocess.
+ try:
+ out = subprocess.
+ except subprocess.
+ sys.stderr.
+ self.fail('could not regenerate netplan config')
+
if 'Run \'systemctl daemon-reload\' to reload units.' in out:
# start NM so that we can verify that it does not manage anything