Hi Richard I have tried with master (0c91fcba446418ad1f71d3df9aa3b186bbd353c7) + my two patches. Then I have used crops/poky:fedora-30
and: oe-selftest --run-tests wic.Wic.test_exclude_path oe-selftest --run-tests wic.Wic.test_include_path wic.Wic.test_exclude_path With an OK result :( [pokyuser@fac53302a692 build]$ oe-selftest --run-tests wic.Wic.test_exclude_path oe-selftest --run-tests wic.Wic.test_include_path 2020-04-05 07:40:50,186 - oe-selftest - INFO - Adding layer libraries: 2020-04-05 07:40:50,186 - oe-selftest - INFO - /workdir/meta/lib 2020-04-05 07:40:50,186 - oe-selftest - INFO - /workdir/meta-selftest/lib 2020-04-05 07:40:50,187 - oe-selftest - INFO - Running bitbake -e to test the configuration is valid/parsable 2020-04-05 07:40:52,149 - oe-selftest - INFO - Adding: "include selftest.inc" in /workdir/build/conf/local.conf 2020-04-05 07:40:52,150 - oe-selftest - INFO - Adding: "include bblayers.inc" in bblayers.conf 2020-04-05 07:40:52,150 - oe-selftest - INFO - test_include_path (wic.Wic) 2020-04-05 09:04:12,656 - oe-selftest - INFO - Keepalive message 2020-04-05 09:29:51,214 - oe-selftest - INFO - ... ok 2020-04-05 09:29:51,230 - oe-selftest - INFO - ---------------------------------------------------------------------- 2020-04-05 09:29:51,230 - oe-selftest - INFO - Ran 1 test in 6539.080s 2020-04-05 09:29:51,231 - oe-selftest - INFO - OK 2020-04-05 09:29:52,869 - oe-selftest - INFO - RESULTS: 2020-04-05 09:29:52,870 - oe-selftest - INFO - RESULTS - wic.Wic.test_include_path: PASSED (6539.07s) 2020-04-05 09:29:52,874 - oe-selftest - INFO - SUMMARY: 2020-04-05 09:29:52,875 - oe-selftest - INFO - oe-selftest () - Ran 1 test in 6540.086s 2020-04-05 09:29:52,875 - oe-selftest - INFO - oe-selftest - OK - All required tests passed (successes=1, skipped=0, failures=0, errors=0) I will start a test with mater-next + my two patches. Hopefuly I can replicate the bug. It is a bit weird that only crashes on fedora and not on the other distros :S Thanks again On Sun, Apr 5, 2020 at 9:21 AM Ricardo Ribalda via lists.openembedded.org <ricardo.ribalda=gmail....@lists.openembedded.org> wrote: > > Hi Richard > > It looks pretty much related to my patch. Will try to replicate locally and > fix it. > > Thanks! > > On Sun, 5 Apr 2020, 09:01 Richard Purdie, > <richard.pur...@linuxfoundation.org> wrote: >> >> On Wed, 2020-03-04 at 15:49 +0100, Ricardo Ribalda Delgado wrote: >> > When parameters include_path or exclude_path are passed to the rootfs >> > plugin, it will copy the partition content into a folder and make all >> > the modifications there. >> > >> > This is done using copyhardlinktree(), which does not take into >> > consideration the content of the pseudo folder, which contains the >> > information about the right permissions and ownership of the folders. >> > >> > This results in a rootfs owned by the user that is running the wic >> > command (usually UID 1000), which makes some rootfs unbootable. >> > >> > To fix this we copy the content of the pseudo folders to the new >> > folder >> > and modify the pseudo database using the "pseudo -B" command. >> > >> > Signed-off-by: Ricardo Ribalda Delgado <rica...@ribalda.com> >> > --- >> > scripts/lib/wic/plugins/source/rootfs.py | 22 +++++++++++++++++++--- >> > 1 file changed, 19 insertions(+), 3 deletions(-) >> >> I added these two changes to -next but we're seeing a test failure on >> Fedora, twice now: >> >> https://autobuilder.yoctoproject.org/typhoon/#/builders/86/builds/834 >> https://autobuilder.yoctoproject.org/typhoon/#/builders/86/builds/831 >> >> I suspect its related to these patches but haven't confirmed that as >> yet... >> >> Cheers, >> >> Richard >> >> > -- Ricardo Ribalda
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#137030): https://lists.openembedded.org/g/openembedded-core/message/137030 Mute This Topic: https://lists.openembedded.org/mt/72395318/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-