Created attachment 4255 [details] failed to boot with systemd =============================================================================== Bitbake (core-image-minimal) =============================================================================== Build Configuration: BB_VERSION = "1.37.0" BUILD_SYS = "x86_64-linux" NATIVELSBSTRING = "fedora-27" TARGET_SYS = "x86_64-poky-linux" MACHINE = "qemux86-64" DISTRO = "poky" DISTRO_VERSION = "2.4+snapshot-20180402" TUNE_FEATURES = "m64 core2" TARGET_FPU = "" meta meta-poky meta-yocto-bsp = "heads/master:f49ee61422c867516db252054e993df29f775136" =============================================================================== OE-Core (On Fedora27 Distro Only) =============================================================================== ... ... runqemu - INFO - Continuing with the following parameters: runqemu - INFO - Using preconfigured tap device tap0 runqemu - INFO - If this is not intended, touch /tmp/qemu-tap-locks/tap0.skip to make runqemu skip tap0. runqemu - INFO - Network configuration: 192.168.7.2::192.168.7.1:255.255.255.0 runqemu - INFO - Running /home/ab/autobuilder/yocto-worker/nightly-oe-selftest-fedora27/build/build/tmp/work/x86_64-linux/qemu-helper-native/1.0-r1/recipe-sysroot-native/usr/bin/qemu-system-x86_64 -device virtio-net-pci,netdev=net0,mac=52:54:00:12:34:02 -netdev tap,id=net0,ifname=tap0,script=no,downscript=no -drive file=/home/ab/autobuilder/yocto-worker/nightly-oe-selftest-fedora27/build/build/tmp/deploy/images/qemux86-64/core-image-minimal-qemux86-64.ext4,if=virtio,format=raw -vga vmware -show-cursor -usb -device usb-tablet -device virtio-rng-pci -serial tcp:127.0.0.1:37697 -pidfile pidfile_23885 -cpu core2duo -enable-kvm -m 256 -serial tcp:127.0.0.1:47543 -snapshot -kernel /home/ab/autobuilder/yocto-worker/nightly-oe-selftest-fedora27/build/build/tmp/deploy/images/qemux86-64/bzImage--4.14.24+git0+5f6c3e3236_edc90f45a7-r0-qemux86-64-20180402125118.bin -append 'root=/dev/vda rw highres=off mem=256M ip=192.168.7.2::192.168.7.1:255.255.255.0 vga=0 uvesafb.mode_option=640x480-32 oprofile.timer=1 uvesafb.task_timeout=-1 console=tty1 console=ttyS0,115200n8 printk.time=1' Waiting at most 1000 seconds for login banner (04/02/18 09:30:39) Connection from 127.0.0.1:36882 Target didn't reach login banner in 1000 seconds (04/02/18 09:47:20) Last 25 lines of text: Reloading system manager configuration Starting default target You are in emergency mode. After logging in, type "journalctl -xb" to view system logs, "systemctl reboot" to reboot, "systemctl default" or "exit" to boot into default mode. Failed to execute {base_sbindir}/sulogin: No such file or directory Reloading system manager configuration Starting default target You are in emergency mode. After logging in, type "journalctl -xb" to view system logs, "systemctl reboot" to reboot, "systemctl default" or "exit" to boot into default mode. Failed to execute {base_sbindir}/sulogin: No such file or directory Reloading system manager configuration Starting default target You are in emergency mode. After logging in, type "journalctl -xb" to view system logs, "systemctl reboot" to reboot, "systemctl default" or "exit" to boot into default mode. Failed to execute {base_sbindir}/sulogin: No such file or directory Reloading system manager configuration Starting default target http://centaurus01.png.intel.com:8080/workspace/fedora27/nightly-oe-selftest-fedora27/build/meta/recipes-core/systemd/systemd_237.bb # Hardcode target binary paths to avoid using paths from sysroot EXTRA_OEMESON += "-Dkexec-path=${sbindir}/kexec \ -Dkill-path=${base_bindir}/kill \ -Dkmod-path=${base_bindir}/kmod \ -Dmount-path=${base_bindir}/mount \ -Dquotacheck-path=${sbindir}/quotacheck \ -Dquotaon-path=${sbindir}/quotaon \ -Dsulogin-path={base_sbindir}/sulogin \ <-- Error due to undefined base_sbindir -Dumount-path=${base_bindir}/umount"
Found in QA testrun 2.5 M3 rc1 TestCaseID: 1540 appear to be ERROR and hit into an exception however summary indicate PASSED. 2018-04-02 12:04:15,130 - oe-selftest - INFO - test_image_efi_file (systemd_boot.Systemdboot) 2018-04-02 12:04:22,818 - oe-selftest - INFO - ... OK (7.687s) 2018-04-02 12:04:22,819 - oe-selftest - INFO - ====================================================================== 2018-04-02 12:04:22,819 - oe-selftest - INFO - ERROR [0.000s]: test_postinst_rootfs_and_boot (runtime_test.Postinst) 2018-04-02 12:04:22,820 - oe-selftest - INFO - ---------------------------------------------------------------------- 2018-04-02 12:04:22,835 - oe-selftest - INFO - Traceback (most recent call last): File "/home/ab/autobuilder/yocto-worker/nightly-oe-selftest-fedora27/build/meta/lib/oeqa/utils/commands.py", line 334, in runqemu qemu.start(params=qemuparams, ssh=ssh, runqemuparams=runqemuparams, launch_cmd=launch_cmd, discard_writes=discard_writes) File "/home/ab/autobuilder/yocto-worker/nightly-oe-selftest-fedora27/build/meta/lib/oeqa/targetcontrol.py", line 180, in start raise bb.build.FuncFailed("%s - FAILED to start qemu - check the task log and the boot log" % self.pn) bb.build.FuncFailed: Function failed: core-image-minimal - FAILED to start qemu - check the task log and the boot log During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/ab/autobuilder/yocto-worker/nightly-oe-selftest-fedora27/build/meta/lib/oeqa/selftest/cases/runtime_test.py", line 218, in test_postinst_rootfs_and_boot with runqemu('core-image-minimal') as qemu: File "/usr/lib64/python3.6/contextlib.py", line 81, in __enter__ return next(self.gen) File "/home/ab/autobuilder/yocto-worker/nightly-oe-selftest-fedora27/build/meta/lib/oeqa/utils/commands.py", line 336, in runqemu raise Exception('Failed to start QEMU - see the logs in %s' % logdir) Exception: Failed to start QEMU - see the logs in /home/ab/autobuilder/yocto-worker/nightly-oe-selftest-fedora27/build/build/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/testimage Stdout: WARNING: /home/ab/autobuilder/yocto-worker/nightly-oe-selftest-fedora27/build/bitbake/lib/bb/siggen.py:39: ResourceWarning: unclosed file <_io.FileIO name=44 mode='wb' closefd=True> self.taints = {} 2018-04-02 12:04:24,850 - oe-selftest - INFO - RESULTS - runtime_test.Postinst.test_failing_postinst - Testcase -1: PASSED 2018-04-02 12:04:24,850 - oe-selftest - INFO - RESULTS - runtime_test.Postinst.test_postinst_rootfs_and_boot - Testcase 1540: PASSED 2018-04-02 12:04:24,850 - oe-selftest - INFO - RESULTS - runtime_test.TestExport.test_testexport_basic - Testcase 1499: PASSED
http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=9e3a9637b8f86f504e187b96cd0c98d8e1f651da
======================================================================================================================== Build Configuration: ======================================================================================================================== BB_VERSION = "1.37.0" BUILD_SYS = "x86_64-linux" NATIVELSBSTRING = "fedora-27" TARGET_SYS = "x86_64-poky-linux" MACHINE = "qemux86-64" DISTRO = "poky" DISTRO_VERSION = "2.4+snapshot-20180405" TUNE_FEATURES = "m64 core2" TARGET_FPU = "" meta meta-poky meta-yocto-bsp = "heads/master:9e3a9637b8f86f504e187b96cd0c98d8e1f651da" ========================================================================================================================= Summary: ========================================================================================================================= Rerun the fixes on top of http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=9e3a9637b8f86f504e187b96cd0c98d8e1f651da and the systemd doesnt throw out any warnings now. Fixed in M3. Reference to the testruns: http://centaurus01.png.intel.com:8010/builders/nightly-oe-selftest-fedora27/builds/36 http://centaurus01.png.intel.com:8080/workspace/fedora27/nightly-oe-selftest-fedora27/build/build/tmp/qa.log On /tmp/qa.log file does not indicates the systemd warnings: xcursor-transparent-theme-0.1.1+gitAUTOINC+23c8af5ba4: Package version for package xcursor-transparent-theme-dbg went backwards which would break package feeds from (0:0.1.1+git0+23c8af5ba4-r1 to 0:0.1.1+git0+23c8af5ba4-r0) [version-going-backwards] xcursor-transparent-theme-0.1.1+gitAUTOINC+23c8af5ba4: Package version for package xcursor-transparent-theme-staticdev went backwards which would break package feeds from (0:0.1.1+git0+23c8af5ba4-r1 to 0:0.1.1+git0+23c8af5ba4-r0) [version-going-backwards] xcursor-transparent-theme-0.1.1+gitAUTOINC+23c8af5ba4: Package version for package xcursor-transparent-theme-dev went backwards which would break package feeds from (0:0.1.1+git0+23c8af5ba4-r1 to 0:0.1.1+git0+23c8af5ba4-r0) [version-going-backwards] xcursor-transparent-theme-0.1.1+gitAUTOINC+23c8af5ba4: Package version for package xcursor-transparent-theme-doc went backwards which would break package feeds from (0:0.1.1+git0+23c8af5ba4-r1 to 0:0.1.1+git0+23c8af5ba4-r0) [version-going-backwards] xcursor-transparent-theme-0.1.1+gitAUTOINC+23c8af5ba4: Package version for package xcursor-transparent-theme-locale went backwards which would break package feeds from (0:0.1.1+git0+23c8af5ba4-r1 to 0:0.1.1+git0+23c8af5ba4-r0) [version-going-backwards] xcursor-transparent-theme-0.1.1+gitAUTOINC+23c8af5ba4: Package version for package xcursor-transparent-theme went backwards which would break package feeds from (0:0.1.1+git0+23c8af5ba4-r1 to 0:0.1.1+git0+23c8af5ba4-r0) [version-going-backwards] xcursor-transparent-theme-0.1.1+gitAUTOINC+23c8af5ba4: xcursor-transparent-theme-dbg is listed in PACKAGES multiple times, this leads to packaging errors. [packages-list] xcursor-transparent-theme-0.1.1+gitAUTOINC+23c8af5ba4: xcursor-transparent-theme-dbg is listed in PACKAGES multiple times, this leads to packaging errors. [packages-list] emptytest-1.0: emptytest: The LIC_FILES_CHKSUM does not match for file:///tmp/tmpf7q85iz9;md5=d41d8cd98f00b204e9800998ecf8427e emptytest: The new md5 checksum is 8d777f385d3dfec8815d20f7496026dc emptytest: Here is the selected license text: vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv data ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ emptytest: Check if the license information has changed in /tmp/tmpf7q85iz9 to verify that the LICENSE value "" remains valid [license-checksum] xcursor-transparent-theme-0.1.1+gitAUTOINC+23c8af5ba4: Package version for package xcursor-transparent-theme-dbg went backwards which would break package feeds from (0:0.1.1+git0+23c8af5ba4-r1 to 0:0.1.1+git0+23c8af5ba4-r0) [version-going-backwards] xcursor-transparent-theme-0.1.1+gitAUTOINC+23c8af5ba4: Package version for package xcursor-transparent-theme-staticdev went backwards which would break package feeds from (0:0.1.1+git0+23c8af5ba4-r1 to 0:0.1.1+git0+23c8af5ba4-r0) [version-going-backwards] xcursor-transparent-theme-0.1.1+gitAUTOINC+23c8af5ba4: Package version for package xcursor-transparent-theme-dev went backwards which would break package feeds from (0:0.1.1+git0+23c8af5ba4-r1 to 0:0.1.1+git0+23c8af5ba4-r0) [version-going-backwards] xcursor-transparent-theme-0.1.1+gitAUTOINC+23c8af5ba4: Package version for package xcursor-transparent-theme-doc went backwards which would break package feeds from (0:0.1.1+git0+23c8af5ba4-r1 to 0:0.1.1+git0+23c8af5ba4-r0) [version-going-backwards] xcursor-transparent-theme-0.1.1+gitAUTOINC+23c8af5ba4: Package version for package xcursor-transparent-theme-locale went backwards which would break package feeds from (0:0.1.1+git0+23c8af5ba4-r1 to 0:0.1.1+git0+23c8af5ba4-r0) [version-going-backwards] xcursor-transparent-theme-0.1.1+gitAUTOINC+23c8af5ba4: Package version for package xcursor-transparent-theme went backwards which would break package feeds from (0:0.1.1+git0+23c8af5ba4-r1 to 0:0.1.1+git0+23c8af5ba4-r0) [version-going-backwards]