TestLeaseSocketService.test_processNotification_dont_allow_same_address flaky test
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Medium
|
Adam Collard |
Bug Description
Flasky test in CI
testtools.
Twisted logs: {{{<class 'provisioningse
twisted-log: {{{2023-07-07 09:23:53+0000 [-] Main loop terminated.}}}
Traceback (most recent call last):
File "/usr/lib/
result = current_
File "/run/build/
self.
File "/usr/lib/
assertion_
File "/usr/lib/
self.
File "/run/build/
return super()
File "/usr/lib/
self.fail(msg)
File "/usr/lib/
raise self.failureExc
AssertionError: Tuples differ: ({'cl[26 chars]s': [{'action': 'commit', 'mac': '38:d2:e2:9d:[121 chars]}]},) != ({'cl[26 chars]s': []},)
First differing element 0:
{'clu[25 chars]s': [{'action': 'commit', 'mac': '38:d2:e2:9d:[119 chars]2'}]}
{'clu[25 chars]s': []}
+ ({'cluster_uuid': None, 'updates': []},)
- ({'cluster_uuid': None,
- 'updates': [{'action': 'commit',
- 'hostname': 'host-rEWG72',
- 'ip': '250.102.58.187',
- 'ip_family': 'ipv4',
- 'lease_time': 30,
- 'mac': '38:d2:
- 'timestamp': 1688721833}]},)
http://
Related branches
- MAAS Lander: Approve
- Christian Grabowski: Approve
-
Diff: 370 lines (+110/-127)3 files modifiedsrc/provisioningserver/dhcp/tests/test_helper_notify.py (+40/-42)
src/provisioningserver/rackdservices/testing.py (+35/-0)
src/provisioningserver/rackdservices/tests/test_lease_socket_service.py (+35/-85)
Changed in maas: | |
status: | New → Triaged |
importance: | Undecided → Medium |
milestone: | none → 3.5.0 |
Changed in maas: | |
assignee: | nobody → Adam Collard (adam-collard) |
Changed in maas: | |
status: | Triaged → Fix Committed |
Changed in maas: | |
milestone: | 3.5.0 → 3.5.0-beta1 |
status: | Fix Committed → Fix Released |