Assertion 'r >= 0' failed at src/journal/test-journal-flush.c:52, function main(). Aborting.
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
| systemd |
New
|
Unknown
|
|||
systemd (Ubuntu) | Status tracked in Hirsute | |||||
| Bionic |
Low
|
Dan Streetman | |||
| Focal |
Low
|
Dan Streetman | |||
| Groovy |
Low
|
Dan Streetman | |||
| Hirsute |
Low
|
Dan Streetman |
Bug Description
[Impact]
* Autopkgtest fails due to corrupted journal file
[Test Case]
* Observe autopkgtest root-unittests not failing with:
Assertion 'r >= 0' failed at src/journal/
[Where problems could occur]
* The change has no impact on the systemd binary packages. The relaxed test could hide a journal corruption problem, but it seems the corrupted journal files occur only on arm64 probably due to arm64 reboots being resets: LP: #1748280.
[Original Bug Text]
Observed in an focal/arm64 autopkgtest failure of systemd 245.4-4ubuntu3.1:
https:/
[...]
PASS: test-journal-enum
====== test-journal-flush =======
Root directory /var/log/journal removed.
Directory /var/log/
mmap cache statistics: 739 hit, 5 miss
journal_
Assertion 'r >= 0' failed at src/journal/
FAIL: test-journal-flush (code: 134)
Aborted (core dumped)
====== test-journal-
[...]
autopkgtest [07:17:29]: @@@@@@@
timedated PASS
hostnamed PASS
localed-locale PASS
localed-x11-keymap PASS
logind PASS
unit-config PASS
storage PASS
networkd-test.py PASS
build-login PASS
boot-and-services PASS
udev PASS
root-unittests FAIL non-zero exit status 134
upstream PASS
boot-smoke PASS
systemd-fsckd PASS
Exit request sent.
[...]
Related branches
- Balint Reczey: Approve on 2021-01-07
-
Diff: 33 lines (+11/-0)2 files modifieddebian/changelog (+3/-0)
debian/tests/root-unittests (+8/-0)
Dan Streetman (ddstreet) wrote : | #1 |
Changed in systemd: | |
status: | Unknown → New |
Changed in systemd (Ubuntu Bionic): | |
assignee: | nobody → Dan Streetman (ddstreet) |
Changed in systemd (Ubuntu Focal): | |
assignee: | nobody → Dan Streetman (ddstreet) |
Changed in systemd (Ubuntu Groovy): | |
assignee: | nobody → Dan Streetman (ddstreet) |
Changed in systemd (Ubuntu Bionic): | |
importance: | Undecided → Low |
Changed in systemd (Ubuntu Focal): | |
importance: | Undecided → Low |
Changed in systemd (Ubuntu Bionic): | |
status: | New → In Progress |
Changed in systemd (Ubuntu Groovy): | |
importance: | Undecided → Low |
Changed in systemd (Ubuntu Focal): | |
status: | New → In Progress |
Changed in systemd (Ubuntu Groovy): | |
status: | New → In Progress |
Changed in systemd (Ubuntu Hirsute): | |
status: | New → In Progress |
assignee: | nobody → Dan Streetman (ddstreet) |
importance: | Undecided → Low |
Łukasz Zemczak (sil2100) wrote : | #2 |
I assume the test case here is to just grepping for the assertion failure in the ADT test logs, yes?
Balint Reczey (rbalint) wrote : | #3 |
@sil2100 yes, I've updated the bug description.
description: | updated |
Balint Reczey (rbalint) wrote : | #4 |
The fix is not present in Hirsute yet, because I wanted to land them with the merge of 247.2-4 this week. OTOH this fix is fairly small, could it maybe be accepted with the condition of not releasing it until it gets fixed in Hirsute as well?
Hello dann, or anyone else affected,
Accepted systemd into focal-proposed. The package will build now and be available at https:/
Please help us by testing this new package. See https:/
If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-
Further information regarding the verification process can be found at https:/
N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.
Changed in systemd (Ubuntu Focal): | |
status: | In Progress → Fix Committed |
tags: | added: verification-needed verification-needed-focal |
Chris Halse Rogers (raof) wrote : | #6 |
Hello dann, or anyone else affected,
Accepted systemd into bionic-proposed. The package will build now and be available at https:/
Please help us by testing this new package. See https:/
If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-
Further information regarding the verification process can be found at https:/
N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.
Changed in systemd (Ubuntu Bionic): | |
status: | In Progress → Fix Committed |
tags: | added: verification-needed-bionic |
Chris Halse Rogers (raof) wrote : | #7 |
Hello dann, or anyone else affected,
Accepted systemd into groovy-proposed. The package will build now and be available at https:/
Please help us by testing this new package. See https:/
If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-
Further information regarding the verification process can be found at https:/
N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.
Changed in systemd (Ubuntu Groovy): | |
status: | In Progress → Fix Committed |
tags: | added: verification-needed-groovy |
All autopkgtests for the newly accepted systemd (245.4-4ubuntu3.4) for focal have finished running.
The following regressions have been reported in tests triggered by the package:
linux-hwe-
netplan.
apt/2.0.2ubuntu0.2 (armhf)
munin/2.
gvfs/1.
prometheus-
lxc/1:4.
indicator-
pyudev/
Please visit the excuses page listed below and investigate the failures, proceeding afterwards as per the StableReleaseUp
https:/
[1] https:/
Thank you!
All autopkgtests for the newly accepted systemd (237-3ubuntu10.44) for bionic have finished running.
The following regressions have been reported in tests triggered by the package:
linux-azure-
munin/2.
gvfs/1.
libvirt/
apt/1.6.12ubuntu0.2 (armhf)
netplan.
linux-hwe-
openssh/
corosync/
nut/2.7.
Please visit the excuses page listed below and investigate the failures, proceeding afterwards as per the StableReleaseUp
https:/
[1] https:/
Thank you!
Ubuntu SRU Bot (ubuntu-sru-bot) wrote : Autopkgtest regression report (systemd/246.6-1ubuntu1.1) | #10 |
All autopkgtests for the newly accepted systemd (246.6-1ubuntu1.1) for groovy have finished running.
The following regressions have been reported in tests triggered by the package:
gvfs/1.
prometheus/
netplan.
flatpak/1.8.2-1 (arm64)
Please visit the excuses page listed below and investigate the failures, proceeding afterwards as per the StableReleaseUp
https:/
[1] https:/
Thank you!
Dan Streetman (ddstreet) wrote : | #11 |
autopkgtests pass for b/f/g
tags: |
added: verification-done verification-done-bionic verification-done-focal verification-done-groovy removed: verification-needed verification-needed-bionic verification-needed-focal verification-needed-groovy |
Launchpad Janitor (janitor) wrote : | #12 |
This bug was fixed in the package systemd - 246.6-1ubuntu1.1
---------------
systemd (246.6-1ubuntu1.1) groovy; urgency=medium
[ Dan Streetman ]
* d/t/boot-smoke: update test to avoid false negatives
(LP: #1892358)
https:/
* d/t/boot-
(LP: #1892358)
https:/
* d/t/systemd-fsckd: rewrite test to try to fix false negatives
(LP: #1892358)
https:/
* d/p/lp1905044-
test: use cap_last_cap() instead of capability_
(LP: #1905044)
https:/
* d/p/lp1907306/
d/p/
d/p/
d/p/
d/p/
d/p/
d/p/
d/p/
Send correct number of dhcpv4 renew and rebind requests
(LP: #1907306)
https:/
* d/p/lp1902960-
Run net_setup_link on 'change' uevents (LP: #1902960)
https:/
* d/t/root-unittests:
Remove any corrupt journal files (LP: #1881947)
https:/
[ Balint Reczey ]
* d/t/systemd-fsckd: Plymouth-start stays active in 20.10 and later
(LP: #1908067)
https:/
-- Dan Streetman <email address hidden> Wed, 06 Jan 2021 15:40:39 -0500
Changed in systemd (Ubuntu Groovy): | |
status: | Fix Committed → Fix Released |
The verification of the Stable Release Update for systemd has completed successfully and the package is now being released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.
Launchpad Janitor (janitor) wrote : | #14 |
This bug was fixed in the package systemd - 245.4-4ubuntu3.4
---------------
systemd (245.4-4ubuntu3.4) focal; urgency=medium
* d/p/lp1905245/
d/p/
d/p/
- print number of unknown capabilities instead of failing
(LP: #1905245)
https:/
* d/p/lp1890448-
Add EliteBook to use micmute hotkey (LP: #1890448)
https:/
* d/extra/
suppress output of cmp command in dhclient hook (LP: #1878955)
https:/
* d/p/lp1905044-
test: use cap_last_cap() instead of capability_
(LP: #1905044)
https:/
* d/p/lp1903300/
d/p/
d/p/
set vxlan multicast group when specified (LP: #1903300)
https:/
* d/p/lp1907306/
d/p/
d/p/
d/p/
d/p/
d/p/
d/p/
d/p/
Send correct number of dhcpv4 renew and rebind requests
(LP: #1907306)
https:/
* d/p/lp1902960-
Run net_setup_link on 'change' uevents (LP: #1902960)
https:/
* d/t/root-unittests:
Remove any corrupt journal files (LP: #1881947)
https:/
-- Dan Streetman <email address hidden> Wed, 06 Jan 2021 15:47:39 -0500
Changed in systemd (Ubuntu Focal): | |
status: | Fix Committed → Fix Released |
Launchpad Janitor (janitor) wrote : | #15 |
This bug was fixed in the package systemd - 237-3ubuntu10.44
---------------
systemd (237-3ubuntu10.44) bionic; urgency=medium
* d/extra/
suppress output of cmp command in dhclient hook (LP: #1878955)
https:/
* d/p/lp1905044/
d/p/
test: use cap_last_cap() instead of capability_
(LP: #1905044)
https:/
* d/p/lp1905245/
print number of unknown capabilities instead of failing
(LP: #1905245)
https:/
* d/p/lp1907306/
d/p/
d/p/
d/p/
d/p/
d/p/
Send correct number of dhcpv4 renew and rebind requests
(LP: #1907306)
https:/
* d/t/root-unittests:
Remove any corrupt journal files (LP: #1881947)
https:/
-- Dan Streetman <email address hidden> Wed, 06 Jan 2021 16:04:25 -0500
Changed in systemd (Ubuntu Bionic): | |
status: | Fix Committed → Fix Released |
Changed in systemd (Ubuntu Hirsute): | |
status: | In Progress → Fix Released |
I'm not 100% certain the upstream bug is the same, as it's in CentOS, but I suspect it is.
I added more detail on what I suspect the cause is in the upstream bug.