oe-selftest is executed on the autobuilder all the time, so if it fails this way we'd know.
Can you try making a pristine build from scratch and run oe-selftest in it? You should set up sstate cache outside of the build directory, so that selftest would reuse it. Alex On Tue, 28 Mar 2023 at 09:28, Frederic Martinsons <[email protected]> wrote: > > Hello, > > in the course of building tests around this patch: > https://patchwork.yoctoproject.org/project/oe-core/patch/855931994ea68c0691d0a67ce2ccad947e77229f.1679904677.git.frederic.martins...@gmail.com/ > > I tried to run oe-selftest with the current poky master > (e3afe166940686b05626c3298bc4369296b7d8a3) and I didn't manage to have the > test_devtool_modify and test_devtool_modify_git worked. > > First, I was not aware of oe-selftest to be impacted by my previous build , I > had issues some devtool but even if there was no more active devtool, the > tests failed with the following > error: > > ERROR: Found duplicated BBFILE_COLLECTIONS 'workspacelayer', check > bblayers.conf or layer.conf to fix it. > Found duplicated BBFILE_COLLECTIONS 'workspacelayer', check bblayers.conf or > layer.conf to fix it. > Traceback (most recent call last): > File > "/var/lib/jenkins/YOCTO_POKY_MASTER_TEST/poky/scripts/lib/devtool/__init__.py", > line 109, in setup_tinfoil > tinfoil.prepare(config_only) > File > "/var/lib/jenkins/YOCTO_POKY_MASTER_TEST/poky/bitbake/lib/bb/tinfoil.py", > line 417, in prepare > self.run_actions(config_params) > File > "/var/lib/jenkins/YOCTO_POKY_MASTER_TEST/poky/bitbake/lib/bb/tinfoil.py", > line 432, in run_actions > raise TinfoilUIException(ret) > bb.tinfoil.TinfoilUIException: 1 > > > After removing my $BDIR/workspace , the test got further but ends in strange > failure (for test_devtool_modify): > > NOTE: recipe shadow-native-4.13-r0: task do_install: Failed > ERROR: Task > (virtual:native:/tmp/devtoolqa_7buhvon/core-copy/meta/recipes-extended/shadow/shadow_4.13.bb:do_install) > failed with exit code '1' > NOTE: recipe rsync-native-3.2.7-r0: task do_populate_sysroot: Succeeded > NOTE: recipe file-native-5.44-r0: task do_populate_sysroot: Succeeded > NOTE: recipe gmp-native-6.2.1-r0: task do_compile: Succeeded > NOTE: recipe pkgconfig-native-0.29.2+gitAUTOINC+d97db4fae4-r0: task > do_configure: Succeeded > NOTE: recipe cross-localedef-native-2.37-r0: task do_configure: Succeeded > NOTE: recipe libunistring-native-1.1-r0: task do_configure: Succeeded > NOTE: recipe bison-native-3.8.2-r0: task do_configure: Succeeded > NOTE: recipe linux-yocto-6.1.20+gitAUTOINC+a8881762b5_423e199669-r0: task > do_fetch: Succeeded > NOTE: Tasks Summary: Attempted 799 tasks of which 99 didn't need to be rerun > and 1 failed. > > Summary: 1 task failed: > > virtual:native:/tmp/devtoolqa_7buhvon/core-copy/meta/recipes-extended/shadow/shadow_4.13.bb:do_install > Summary: There was 1 WARNING message. > Summary: There was 1 ERROR message, returning a non-zero exit code. > ---------------------------------------------------------------------- > 2023-03-28 07:16:21,876 - oe-selftest - INFO - Ran 1 test in 911.101s > 2023-03-28 07:16:21,876 - oe-selftest - INFO - FAILED > 2023-03-28 07:16:21,877 - oe-selftest - INFO - (failures=1) > 2023-03-28 07:16:29,802 - oe-selftest - INFO - RESULTS: > 2023-03-28 07:16:29,803 - oe-selftest - INFO - RESULTS - > devtool.DevtoolModifyTests.test_devtool_modify: FAILED (905.11s) > 2023-03-28 07:16:29,808 - oe-selftest - INFO - SUMMARY: > 2023-03-28 07:16:29,808 - oe-selftest - INFO - oe-selftest () - Ran 1 test in > 911.105s > 2023-03-28 07:16:29,808 - oe-selftest - INFO - oe-selftest - FAIL - Required > tests failed (successes=0, skipped=0, failures=1, errors=0) > > Does this ring a bell to someone ? How can I manage to make these tests > succeed ? > > >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#179214): https://lists.openembedded.org/g/openembedded-core/message/179214 Mute This Topic: https://lists.openembedded.org/mt/97900549/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
