| Summary: | systemd - check failed services - failed for systemd-tmpfiles-setup.service | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Ionut Chisanovici <ionutx.chisanovici> |
| Component: | core | Assignee: | Randy Witt <randy.e.witt> |
| Status: | VERIFIED FIXED | QA Contact: | Costin <costin.c.constantin> |
| Severity: | normal | ||
| Priority: | Medium+ | CC: | alexandru.c.georgescu, meta.mr.watcher, meta.watcher, net147, raj.khem, randy.e.witt |
| Version: | 1.8 | ||
| Target Milestone: | 1.8 M4 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | Regression (Used to work) |
| Verified: | Documentation change: | No (bug/feature does not impact docs) | |
|
Description
Ionut Chisanovici
2015-03-04 16:30:52 UTC
*** Bug 7388 has been marked as a duplicate of this bug. *** Please check if you still see it with http://patchwork.openembedded.org/patch/89779/ applied (In reply to comment #2) > Please check if you still see it with > > http://patchwork.openembedded.org/patch/89779/ > > applied It still fails. The failures aren't related to ACL entries. It seems to be because systemd-tmpfiles doesn't actually honor ordering in files and so /var/volatile/tmp doesn't exist when systemd-tmpfiles tries to create /var/tmp. This is fixed with change: commit 1662423b8a8dc4907638a5717720d2911363e71a Author: Randy Witt <randy.e.witt@linux.intel.com> Date: Wed Mar 4 19:01:05 2015 -0800 Costin, can you verify this? Also, do we need a TC to make sure this doesn't happen again? Hello, I checked on master by building a core-image-minimal for qemux86. The hash i used was 5c76cebc24675edb3dff473fce9b67cedff615db from master. The test case that this bug is addressed to is TC550 (https://bugzilla.yoctoproject.org/tr_show_case.cgi?case_id=550). This test case is confusing because the expected results should be: "2. All failed service should be listed.". However, the runtime test verifies if the string match = re.search("0 loaded units listed", output) is present in the output of command systemctl --faied (poky/meta/lib/oeqa/runtime/systemd.py). I believe this is not in accordance with what the test case is intended for "systemd - check failed services". After running the resulted image for qemux86, my findings were: root@qemux86:~# systemctl --failed | grep "loaded units listed" 1 loaded units listed. Pass --all to see loaded but inactive units, too. meaning the auto test will fail. As a conclusion, i don't know if this test is intended to see if all services were loaded and there is no service failed or it is intended to see that systemctl --failed returns the components that failed to load. Costin Hello, I will mark this as verified. In my opinion the related TC550 needs a double check. We'll do that separately |