[dss-merge-requests] Build failed in Jenkins: yocto #2883

dS Jenkins jenkins at dev.digitalstrom.org
Tue May 14 09:19:35 CEST 2019


See <http://dsjenkins.cloudapp.net/jenkins/job/yocto/2883/display/redirect>

------------------------------------------
[...truncated 27.50 KB...]

+ ./utilities/import-keys.sh -f devel -k ****-devel.priv.pem ****-devel.x509.pem
gpg: key C5ADCB8E67E16953: "digitalSTROM **** <support at digitalSTROM.com>" not changed
gpg: key C5ADCB8E67E16953: secret key imported
gpg: Total number processed: 1
gpg:              unchanged: 1
gpg:       secret keys read: 1
gpg:  secret keys unchanged: 1
gpgsm: total number processed: 1
gpgsm:              unchanged: 1
+ ./utilities/prepare-builder-conf.sh --whitelist devel
+ echo 'No extra cmds!'
+ ./buildyoctofeed -w -m dss20 devel
No extra cmds!
[INFO] Selected machines: dss20
Images to be signed:
rescue-devel-update--dss20-20190510234049.swu

[INFO] Starting signing process...
rescue-devel-update--dss20-20190510234049.swu... signing
gpgsm: DBG: adding certificates at level -1
gpgsm: signature created
Images to be signed:
digitalstrom-devel-swupdate-image--dss20-20190513160300.swu

[INFO] Starting signing process...
digitalstrom-devel-swupdate-image--dss20-20190513160300.swu... signing
gpgsm: DBG: adding certificates at level -1
gpgsm: signature created
do_sign_release: success
Building images for devel feed
Configured feed: "devel"

Building configuration for targets/devel/dss20-yocto-rescue

[INFO] PACKAGES: update-info-file rescue-usbimage
NOTE: Started PRServer with DBfile: /home/****/workspace/yocto/poky-rescue-devel-build/cache/prserv.sqlite3, IP: 127.0.0.1, PORT: 42933, PID: 292
Loading cache...done.
Loaded 2910 entries from dependency cache.
Parsing recipes...done.
Parsing of 2049 .bb files complete (2045 cached, 4 parsed). 2914 targets, 338 skipped, 1 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION           = "1.38.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "universal-4.8"
TARGET_SYS           = "arm-poky-linux-gnueabi"
MACHINE              = "dss20"
DISTRO               = "poky"
DISTRO_VERSION       = "2.5.2"
TUNE_FEATURES        = "arm armv7a vfp thumb neon callconvention-hard cortexa9"
TARGET_FPU           = "hard"
meta                 
meta-poky            
meta-yocto-bsp       = "HEAD:623b77885051174d0e05198843e739110977bd18"
meta-oe              
meta-python          
meta-networking      
meta-webserver       = "HEAD:8760facba1bceb299b3613b8955621ddaa3d4c3f"
meta-swupdate        = "HEAD:f2d65d87485ada5a2d3a744fd7b9e46ec7e6b9f2"
meta-digitalstrom-rescue-devel = "HEAD:e43c8dcf315dc813a2efd8b7e7367b316503e0cf"

Initialising tasks...done.
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
NOTE: Running noexec task 2481 of 2522 (/home/****/workspace/yocto/yocto/dS/meta-digitalstrom-rescue-devel/recipes-digitalstrom/update-info-file/update-info-file_0.1.bb:do_fetch)
NOTE: Running task 2482 of 2522 (/home/****/workspace/yocto/yocto/dS/meta-digitalstrom-rescue-devel/recipes-digitalstrom/update-info-file/update-info-file_0.1.bb:do_prepare_recipe_sysroot)
NOTE: Running noexec task 2483 of 2522 (/home/****/workspace/yocto/yocto/dS/meta-digitalstrom-rescue-devel/recipes-digitalstrom/update-info-file/update-info-file_0.1.bb:do_unpack)
NOTE: Running noexec task 2484 of 2522 (/home/****/workspace/yocto/yocto/dS/meta-digitalstrom-rescue-devel/recipes-digitalstrom/update-info-file/update-info-file_0.1.bb:do_patch)
NOTE: Running task 2496 of 2522 (/home/****/workspace/yocto/yocto/dS/meta-digitalstrom-rescue-devel/recipes-extended/images/rescue-usbimage.bb:do_fetch)
NOTE: recipe update-info-file-0.1-r1: task do_prepare_recipe_sysroot: Started
NOTE: recipe rescue-usbimage-1.0-r2: task do_fetch: Started
NOTE: recipe rescue-usbimage-1.0-r2: task do_fetch: Succeeded
NOTE: Running task 2497 of 2522 (/home/****/workspace/yocto/yocto/dS/meta-digitalstrom-rescue-devel/recipes-extended/images/rescue-usbimage.bb:do_prepare_recipe_sysroot)
NOTE: Running task 2498 of 2522 (/home/****/workspace/yocto/yocto/dS/meta-digitalstrom-rescue-devel/recipes-extended/images/rescue-usbimage.bb:do_unpack)
NOTE: recipe rescue-usbimage-1.0-r2: task do_prepare_recipe_sysroot: Started
NOTE: recipe rescue-usbimage-1.0-r2: task do_unpack: Started
NOTE: recipe rescue-usbimage-1.0-r2: task do_unpack: Succeeded
NOTE: recipe update-info-file-0.1-r1: task do_prepare_recipe_sysroot: Succeeded
NOTE: Running noexec task 2501 of 2522 (/home/****/workspace/yocto/yocto/dS/meta-digitalstrom-rescue-devel/recipes-digitalstrom/update-info-file/update-info-file_0.1.bb:do_configure)
NOTE: Running task 2502 of 2522 (/home/****/workspace/yocto/yocto/dS/meta-digitalstrom-rescue-devel/recipes-digitalstrom/update-info-file/update-info-file_0.1.bb:do_compile)
NOTE: recipe rescue-usbimage-1.0-r2: task do_prepare_recipe_sysroot: Succeeded
NOTE: Running task 2503 of 2522 (/home/****/workspace/yocto/yocto/dS/meta-digitalstrom-rescue-devel/recipes-extended/images/rescue-usbimage.bb:do_usbimage)
NOTE: recipe update-info-file-0.1-r1: task do_compile: Started
NOTE: recipe update-info-file-0.1-r1: task do_compile: Succeeded
NOTE: Running task 2510 of 2522 (/home/****/workspace/yocto/yocto/dS/meta-digitalstrom-rescue-devel/recipes-digitalstrom/update-info-file/update-info-file_0.1.bb:do_deploy)
NOTE: recipe rescue-usbimage-1.0-r2: task do_usbimage: Started
NOTE: recipe update-info-file-0.1-r1: task do_deploy: Started
NOTE: recipe update-info-file-0.1-r1: task do_deploy: Succeeded
NOTE: Running task 2517 of 2522 (/home/****/workspace/yocto/yocto/dS/meta-digitalstrom-rescue-devel/recipes-digitalstrom/update-info-file/update-info-file_0.1.bb:do_rm_work)
NOTE: recipe update-info-file-0.1-r1: task do_rm_work: Started
NOTE: recipe update-info-file-0.1-r1: task do_rm_work: Succeeded
NOTE: Running noexec task 2518 of 2522 (/home/****/workspace/yocto/yocto/dS/meta-digitalstrom-rescue-devel/recipes-digitalstrom/update-info-file/update-info-file_0.1.bb:do_rm_work_all)
NOTE: Running noexec task 2519 of 2522 (/home/****/workspace/yocto/yocto/dS/meta-digitalstrom-rescue-devel/recipes-digitalstrom/update-info-file/update-info-file_0.1.bb:do_build)
NOTE: recipe rescue-usbimage-1.0-r2: task do_usbimage: Succeeded
NOTE: Running task 2520 of 2522 (/home/****/workspace/yocto/yocto/dS/meta-digitalstrom-rescue-devel/recipes-extended/images/rescue-usbimage.bb:do_rm_work)
NOTE: recipe rescue-usbimage-1.0-r2: task do_rm_work: Started
NOTE: recipe rescue-usbimage-1.0-r2: task do_rm_work: Succeeded
NOTE: Running noexec task 2521 of 2522 (/home/****/workspace/yocto/yocto/dS/meta-digitalstrom-rescue-devel/recipes-extended/images/rescue-usbimage.bb:do_rm_work_all)
NOTE: Running noexec task 2522 of 2522 (/home/****/workspace/yocto/yocto/dS/meta-digitalstrom-rescue-devel/recipes-extended/images/rescue-usbimage.bb:do_build)
NOTE: Tasks Summary: Attempted 2522 tasks of which 2505 didn't need to be rerun and all succeeded.
NOTE: No commit since BUILDHISTORY_COMMIT != '1'
NOTE: Syncing deploy/images.
[INFO] building package-index
NOTE: Started PRServer with DBfile: /home/****/workspace/yocto/poky-rescue-devel-build/cache/prserv.sqlite3, IP: 127.0.0.1, PORT: 35165, PID: 709
Loading cache...done.
Loaded 2910 entries from dependency cache.
Parsing recipes...done.
Parsing of 2049 .bb files complete (2045 cached, 4 parsed). 2914 targets, 338 skipped, 1 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION           = "1.38.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "universal-4.8"
TARGET_SYS           = "arm-poky-linux-gnueabi"
MACHINE              = "dss20"
DISTRO               = "poky"
DISTRO_VERSION       = "2.5.2"
TUNE_FEATURES        = "arm armv7a vfp thumb neon callconvention-hard cortexa9"
TARGET_FPU           = "hard"
meta                 
meta-poky            
meta-yocto-bsp       = "HEAD:623b77885051174d0e05198843e739110977bd18"
meta-oe              
meta-python          
meta-networking      
meta-webserver       = "HEAD:8760facba1bceb299b3613b8955621ddaa3d4c3f"
meta-swupdate        = "HEAD:f2d65d87485ada5a2d3a744fd7b9e46ec7e6b9f2"
meta-digitalstrom-rescue-devel = "HEAD:e43c8dcf315dc813a2efd8b7e7367b316503e0cf"

Initialising tasks...done.
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
NOTE: Running noexec task 322 of 326 (/home/****/workspace/yocto/yocto/feedconfig/devel/poky/meta/recipes-core/meta/package-index.bb:do_rm_work_all)
NOTE: Running task 323 of 326 (/home/****/workspace/yocto/yocto/feedconfig/devel/poky/meta/recipes-core/meta/package-index.bb:do_package_index)
NOTE: recipe package-index-1.0-r0: task do_package_index: Started
NOTE: recipe package-index-1.0-r0: task do_package_index: Succeeded
NOTE: Running task 325 of 326 (/home/****/workspace/yocto/yocto/feedconfig/devel/poky/meta/recipes-core/meta/package-index.bb:do_rm_work)
NOTE: recipe package-index-1.0-r0: task do_rm_work: Started
NOTE: recipe package-index-1.0-r0: task do_rm_work: Succeeded
NOTE: Running noexec task 326 of 326 (/home/****/workspace/yocto/yocto/feedconfig/devel/poky/meta/recipes-core/meta/package-index.bb:do_build)
NOTE: Tasks Summary: Attempted 326 tasks of which 322 didn't need to be rerun and all succeeded.
NOTE: No commit since BUILDHISTORY_COMMIT != '1'
NOTE: Syncing deploy/images.
Configured feed: "devel"

Building configuration for targets/devel/dss20-yocto

[INFO] PACKAGES: update-info-file
NOTE: Started PRServer with DBfile: /home/****/workspace/yocto/poky-devel-nopkg-build/cache/prserv.sqlite3, IP: 127.0.0.1, PORT: 38181, PID: 1016
Loading cache...done.
Loaded 3195 entries from dependency cache.
Parsing recipes...done.
Parsing of 2398 .bb files complete (2290 cached, 108 parsed). 3308 targets, 436 skipped, 46 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION           = "1.38.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "universal-4.8"
TARGET_SYS           = "arm-poky-linux-gnueabi"
MACHINE              = "dss20"
DISTRO               = "poky"
DISTRO_VERSION       = "2.5.2"
TUNE_FEATURES        = "arm armv7a vfp thumb neon callconvention-hard"
TARGET_FPU           = "hard"
meta                 
meta-poky            
meta-yocto-bsp       = "HEAD:623b77885051174d0e05198843e739110977bd18"
meta-oe              
meta-python          
meta-networking      
meta-webserver       
meta-multimedia      = "HEAD:8760facba1bceb299b3613b8955621ddaa3d4c3f"
meta-freescale       = "HEAD:407c6cf408969445031a492e2d25e0e2749582ea"
meta-swupdate        = "HEAD:f2d65d87485ada5a2d3a744fd7b9e46ec7e6b9f2"
meta-digitalstrom-devel = "HEAD:e43c8dcf315dc813a2efd8b7e7367b316503e0cf"

Initialising tasks...done.
NOTE: Executing SetScene Tasks
NOTE: Running setscene task 2156 of 2233 (/home/****/workspace/yocto/yocto/feedconfig/devel/poky/meta/recipes-kernel/linux/linux-dummy.bb:do_packagedata_setscene)
NOTE: recipe linux-dummy-1.0-r1: task do_packagedata_setscene: Started
ERROR: linux-dummy-1.0-r1 do_packagedata_setscene: The recipe linux-dummy is trying to install files into a shared area when those files already exist. Those files and their manifest location are:
  /home/****/workspace/yocto/poky-devel-nopkg-build/build/pkgdata/dss20/runtime/kernel-modules
    (matched in manifest-dss20-linux-4.1.19.packagedata)
  /home/****/workspace/yocto/poky-devel-nopkg-build/build/pkgdata/dss20/runtime/kernel-vmlinux.packaged
    (matched in manifest-dss20-linux-4.1.19.packagedata)
  /home/****/workspace/yocto/poky-devel-nopkg-build/build/pkgdata/dss20/runtime/kernel-modules.packaged
    (matched in manifest-dss20-linux-4.1.19.packagedata)
  /home/****/workspace/yocto/poky-devel-nopkg-build/build/pkgdata/dss20/runtime/kernel-vmlinux
    (matched in manifest-dss20-linux-4.1.19.packagedata)
Please verify which recipe should provide the above files.

The build has stopped, as continuing in this scenario WILL break things - if not now, possibly in the future (we've seen builds fail several months later). If the system knew how to recover from this automatically it would, however there are several different scenarios which can result in this and we don't know which one this is. It may be you have switched providers of something like virtual/kernel (e.g. from linux-yocto to linux-yocto-dev), in that case you need to execute the clean task for both recipes and it will resolve this error. It may be you changed DISTRO_FEATURES from systemd to udev or vice versa. Cleaning those recipes should again resolve this error, however switching DISTRO_FEATURES on an existing build directory is not supported - you should really clean out tmp and rebuild (reusing sstate should be safe). It could be the overlapping files detected are harmless in which case adding them to SSTATE_DUPWHITELIST may be the correct solution. It could also be your build is including two different conflicting versions of things (e.g. bluez 4 and bluez 5 and the correct solution for that would be to resolve the conflict. If in doubt, please ask on the mailing list, sharing the error and filelist above.
ERROR: linux-dummy-1.0-r1 do_packagedata_setscene: If the above message is too much, the simpler version is you're advised to wipe out tmp and rebuild (reusing sstate is fine). That will likely fix things in most (but not all) cases.
WARNING: Logfile for failed setscene task is /home/****/workspace/yocto/poky-devel-nopkg-build/build/work/dss20-poky-linux-gnueabi/linux-dummy/1.0-r1/temp/log.do_packagedata_setscene.2266
WARNING: Setscene task (/home/****/workspace/yocto/yocto/feedconfig/devel/poky/meta/recipes-kernel/linux/linux-dummy.bb:do_packagedata_setscene) failed with exit code '1' - real task will be run instead
NOTE: Executing RunQueue Tasks
NOTE: Running task 2291 of 6696 (/home/****/workspace/yocto/yocto/dS/meta-digitalstrom-devel/recipes-kernel/linux/linux-4.1.19_4.1.19.bb:do_kernel_checkout)
NOTE: recipe linux-4.1.19-4.1.19-r15: task do_kernel_checkout: Started
NOTE: Running task 3076 of 6696 (/home/****/workspace/yocto/yocto/dS/meta-digitalstrom-devel/recipes-kernel/linux/linux-4.1.45_4.1.45.bb:do_strip)
NOTE: recipe linux-4.1.45-4.1.45-r2: task do_strip: Started
NOTE: recipe linux-4.1.45-4.1.45-r2: task do_strip: Succeeded
NOTE: Running task 3359 of 6696 (/home/****/workspace/yocto/yocto/dS/meta-digitalstrom-devel/recipes-kernel/linux/linux-4.1.45_4.1.45.bb:do_sizecheck)
NOTE: recipe linux-4.1.45-4.1.45-r2: task do_sizecheck: Started
NOTE: recipe linux-4.1.45-4.1.45-r2: task do_sizecheck: Succeeded
NOTE: Running task 3656 of 6696 (/home/****/workspace/yocto/yocto/dS/meta-digitalstrom-devel/recipes-kernel/linux/linux-4.1.45_4.1.45.bb:do_install)
NOTE: recipe linux-4.1.19-4.1.19-r15: task do_kernel_checkout: Succeeded
NOTE: Running task 3657 of 6696 (/home/****/workspace/yocto/yocto/dS/meta-digitalstrom-devel/recipes-kernel/linux/linux-4.1.19_4.1.19.bb:do_validate_branches)
NOTE: Running task 3773 of 6696 (/home/****/workspace/yocto/yocto/feedconfig/devel/poky/meta/recipes-kernel/linux/linux-dummy.bb:do_packagedata)
NOTE: recipe linux-dummy-1.0-r1: task do_packagedata: Started
NOTE: Running task 3976 of 6696 (/home/****/workspace/yocto/yocto/dS/meta-digitalstrom-devel/recipes-rescue/rescue-install/rescue-install_git.bb:do_rm_work)
NOTE: recipe linux-4.1.19-4.1.19-r15: task do_validate_branches: Started
NOTE: recipe linux-4.1.45-4.1.45-r2: task do_install: Started
NOTE: recipe rescue-install-git-r9: task do_rm_work: Started
ERROR: linux-dummy-1.0-r1 do_packagedata: The recipe linux-dummy is trying to install files into a shared area when those files already exist. Those files and their manifest location are:
  /home/****/workspace/yocto/poky-devel-nopkg-build/build/pkgdata/dss20/runtime/kernel-modules
    (matched in manifest-dss20-linux-4.1.19.packagedata)
  /home/****/workspace/yocto/poky-devel-nopkg-build/build/pkgdata/dss20/runtime/kernel-vmlinux.packaged
    (matched in manifest-dss20-linux-4.1.19.packagedata)
  /home/****/workspace/yocto/poky-devel-nopkg-build/build/pkgdata/dss20/runtime/kernel-modules.packaged
    (matched in manifest-dss20-linux-4.1.19.packagedata)
  /home/****/workspace/yocto/poky-devel-nopkg-build/build/pkgdata/dss20/runtime/kernel-vmlinux
    (matched in manifest-dss20-linux-4.1.19.packagedata)
Please verify which recipe should provide the above files.

The build has stopped, as continuing in this scenario WILL break things - if not now, possibly in the future (we've seen builds fail several months later). If the system knew how to recover from this automatically it would, however there are several different scenarios which can result in this and we don't know which one this is. It may be you have switched providers of something like virtual/kernel (e.g. from linux-yocto to linux-yocto-dev), in that case you need to execute the clean task for both recipes and it will resolve this error. It may be you changed DISTRO_FEATURES from systemd to udev or vice versa. Cleaning those recipes should again resolve this error, however switching DISTRO_FEATURES on an existing build directory is not supported - you should really clean out tmp and rebuild (reusing sstate should be safe). It could be the overlapping files detected are harmless in which case adding them to SSTATE_DUPWHITELIST may be the correct solution. It could also be your build is including two different conflicting versions of things (e.g. bluez 4 and bluez 5 and the correct solution for that would be to resolve the conflict. If in doubt, please ask on the mailing list, sharing the error and filelist above.
ERROR: linux-dummy-1.0-r1 do_packagedata: If the above message is too much, the simpler version is you're advised to wipe out tmp and rebuild (reusing sstate is fine). That will likely fix things in most (but not all) cases.
ERROR: linux-dummy-1.0-r1 do_packagedata: Function failed: sstate_task_postfunc
ERROR: Logfile of failure stored in: /home/****/workspace/yocto/poky-devel-nopkg-build/build/work/dss20-poky-linux-gnueabi/linux-dummy/1.0-r1/temp/log.do_packagedata.2715
NOTE: recipe linux-dummy-1.0-r1: task do_packagedata: Failed
NOTE: recipe rescue-install-git-r9: task do_rm_work: Succeeded
ERROR: Task (/home/****/workspace/yocto/yocto/feedconfig/devel/poky/meta/recipes-kernel/linux/linux-dummy.bb:do_packagedata) failed with exit code '1'
NOTE: recipe linux-4.1.19-4.1.19-r15: task do_validate_branches: Succeeded
NOTE: recipe linux-4.1.45-4.1.45-r2: task do_install: Succeeded
NOTE: Tasks Summary: Attempted 4212 tasks of which 4205 didn't need to be rerun and 1 failed.
NOTE: No commit since BUILDHISTORY_COMMIT != '1'
NOTE: Syncing deploy/images.

Summary: 1 task failed:
  /home/****/workspace/yocto/yocto/feedconfig/devel/poky/meta/recipes-kernel/linux/linux-dummy.bb:do_packagedata
Summary: There were 5 ERROR messages shown, returning a non-zero exit code.

bitbake returned 1, manual interaction required!

Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user andreas.fenkart at dev.digitalstrom.org


More information about the dSS-merge-requests mailing list