| Summary: | master] runtime_test.Postinst.test_postinst_rootfs_and_boot selftest failed | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Armin Kuster <akuster> |
| Component: | core | Assignee: | akuster <akuster808> |
| Status: | RESOLVED WORKSFORME | QA Contact: | |
| Severity: | normal | ||
| Priority: | Medium+ | CC: | meta.mr.watcher, meta.watcher, randy.macleod |
| Version: | 3.1 | ||
| Target Milestone: | 3.2 M1 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| URL: | https://errors.yoctoproject.org/Errors/Details/279251/ | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | Don't know | |
I split this test into a systemd and sysvinit test. this will help determine which one failes. patch sent to hopeful help debug this issue. https://patchwork.openembedded.org/patch/167717/ patch in master. http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/meta/lib/oeqa?id=d486fe88c148dddd9f9da18192e7cd305c3efe11 will monitor a bit longer. have not seen this error in a while I would like to close this as we have not seen this in a while. |
we test sysvinit and systemd in a loop for this test. I can not tell which one failed. 2019-11-22 17:29:12,545 - oe-selftest - INFO - runtime_test.Postinst.test_postinst_rootfs_and_boot (subunit.RemotedTestCase) 2019-11-22 17:29:12,545 - oe-selftest - INFO - ... FAIL 2019-11-22 17:29:12,546 - oe-selftest - INFO - 1: 25/25 376/378 (1520.47s) (runtime_test.Postinst.test_postinst_rootfs_and_boot) 2019-11-22 17:29:12,546 - oe-selftest - INFO - testtools.testresult.real._StringException: Traceback (most recent call last): File "/home/pokybuild/yocto-worker/oe-selftest-fedora/build/meta/lib/oeqa/selftest/cases/runtime_test.py", line 296, in test_postinst_rootfs_and_boot self.assertEqual(output, "found", "%s was not present on boot" % filename) File "/usr/lib64/python3.7/unittest/case.py", line 852, in assertEqual assertion_func(first, second, msg=msg) File "/usr/lib64/python3.7/unittest/case.py", line 1233, in assertMultiLineEqual self.fail(self._formatMessage(msg, standardMsg)) File "/usr/lib64/python3.7/unittest/case.py", line 693, in fail raise self.failureException(msg) AssertionError: 't -f /etc/postinst-test/rootfs && echo fo[175 chars] >>>' != 'found' + found- t -f /etc/postinst-test/rootfs && echo found; echo $? - - - - Poky (Yocto Project Reference Distro) 3.0 qemux86-64 ttyS1 - - qemux86-64 login: <<< run_serial(): command timed out after 60 seconds without output >>> : rootfs was not present on boot 2019-11-22 17:37:01,001 - oe-selftest - INFO - Reproducibility summary for deb: same=4263 different=0 missing=0 total=4263 2019-11-22 17:37:31,254 - oe-selftest - INFO - Reproducibility summary for ipk: same=4263 different=0 missing=0 total=4263 2019-11-22 17:37:31,260 - oe-selftest - INFO - reproducible.ReproducibleTests.test_reproducible_builds (subunit.RemotedTestCase) 2019-11-22 17:37:31,260 - oe-selftest - INFO - ... ok 2019-11-22 17:37:31,261 - oe-selftest - INFO - 12: 8/9 377/378 (3748.77s) (reproducible.ReproducibleTests.test_reproducible_builds) 2019-11-22 17:39:26,055 - oe-selftest - INFO - systemd_boot.Systemdboot.test_efi_systemdboot_images_can_be_built (subunit.RemotedTestCase) 2019-11-22 17:39:26,055 - oe-selftest - INFO - ... ok 2019-11-22 17:39:26,055 - oe-selftest - INFO - 12: 9/9 378/378 (114.77s) (systemd_boot.Systemdboot.test_efi_systemdboot_images_can_be_built) 2019-11-22 17:50:54,261 - oe-selftest - INFO - ====================================================================== 2019-11-22 17:50:54,261 - oe-selftest - INFO - FAIL: runtime_test.Postinst.test_postinst_rootfs_and_boot (subunit.RemotedTestCase) 2019-11-22 17:50:54,262 - oe-selftest - INFO - ---------------------------------------------------------------------- 2019-11-22 17:50:54,262 - oe-selftest - INFO - testtools.testresult.real._StringException: Traceback (most recent call last): File "/home/pokybuild/yocto-worker/oe-selftest-fedora/build/meta/lib/oeqa/selftest/cases/runtime_test.py", line 296, in test_postinst_rootfs_and_boot self.assertEqual(output, "found", "%s was not present on boot" % filename) File "/usr/lib64/python3.7/unittest/case.py", line 852, in assertEqual assertion_func(first, second, msg=msg) File "/usr/lib64/python3.7/unittest/case.py", line 1233, in assertMultiLineEqual self.fail(self._formatMessage(msg, standardMsg)) File "/usr/lib64/python3.7/unittest/case.py", line 693, in fail raise self.failureException(msg) AssertionError: 't -f /etc/postinst-test/rootfs && echo fo[175 chars] >>>' != 'found' + found- t -f /etc/postinst-test/rootfs && echo found; echo $? - - - - Poky (Yocto Project Reference Distro) 3.0 qemux86-64 ttyS1 - - qemux86-64 login: <<< run_serial(): command timed out after 60 seconds without output >>> : rootfs was not present on boot 2019-11-22 17:50:54,262 - oe-selftest - INFO - ---------------------------------------------------------------------- 2019-11-22 17:50:54,262 - oe-selftest - INFO - Ran 378 tests in 5809.716s 2019-11-22 17:50:54,262 - oe-selftest - INFO - FAILED