[Bug 1881947] Re: Assertion 'r >= 0' failed at src/journal/test-journal-flush.c:52, function main(). Aborting.
Balint Reczey
1881947 at bugs.launchpad.net
Mon Jan 11 14:43:41 UTC 2021
@sil2100 yes, I've updated the bug description.
** Description changed:
+ [Impact]
+
+ * Autopkgtest fails due to corrupted journal file
+
+ [Test Case]
+
+ * Observe autopkgtest root-unittests not failing with:
+
+ Assertion 'r >= 0' failed at src/journal/test-journal-flush.c:52,
+ function main(). Aborting.
+
+ [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://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-focal/focal/arm64/s/systemd/20200603_071743_738b2@/log.gz
[...]
PASS: test-journal-enum
====== test-journal-flush =======
Root directory /var/log/journal removed.
Directory /var/log/journal/3286b2469d224077b1026d239d625b0d removed.
mmap cache statistics: 739 hit, 5 miss
journal_file_copy_entry failed: Bad message
Assertion 'r >= 0' failed at src/journal/test-journal-flush.c:52, function main(). Aborting.
FAIL: test-journal-flush (code: 134)
Aborted (core dumped)
====== test-journal-importer =======
[...]
autopkgtest [07:17:29]: @@@@@@@@@@@@@@@@@@@@ summary
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.
[...]
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1881947
Title:
Assertion 'r >= 0' failed at src/journal/test-journal-flush.c:52,
function main(). Aborting.
Status in systemd:
New
Status in systemd package in Ubuntu:
In Progress
Status in systemd source package in Bionic:
In Progress
Status in systemd source package in Focal:
In Progress
Status in systemd source package in Groovy:
In Progress
Status in systemd source package in Hirsute:
In Progress
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/test-journal-flush.c:52,
function main(). Aborting.
[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://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-focal/focal/arm64/s/systemd/20200603_071743_738b2@/log.gz
[...]
PASS: test-journal-enum
====== test-journal-flush =======
Root directory /var/log/journal removed.
Directory /var/log/journal/3286b2469d224077b1026d239d625b0d removed.
mmap cache statistics: 739 hit, 5 miss
journal_file_copy_entry failed: Bad message
Assertion 'r >= 0' failed at src/journal/test-journal-flush.c:52, function main(). Aborting.
FAIL: test-journal-flush (code: 134)
Aborted (core dumped)
====== test-journal-importer =======
[...]
autopkgtest [07:17:29]: @@@@@@@@@@@@@@@@@@@@ summary
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.
[...]
To manage notifications about this bug go to:
https://bugs.launchpad.net/systemd/+bug/1881947/+subscriptions
More information about the foundations-bugs
mailing list