Skip to content

[Bug][Scarthgap] ERROR caused by the do_deletebinaries task conflicting with the create-spdx class tasks #54

@FederAndInk

Description

@FederAndInk

there is a race condition between the find/delete of the do_deletebinaries task and the create-spdx tasks, the later must be creating a temporary directory and cleaning it up right after.

here is the log output:

Build Configuration:
BB_VERSION           = "2.8.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "debian-12"
TARGET_SYS           = "x86_64-oe-linux"
MACHINE              = "..."
DISTRO               = "..."
DISTRO_VERSION       = "2.0a-9"
TUNE_FEATURES        = "m64 corei7"
TARGET_FPU           = ""
meta
meta-poky
meta-yocto-bsp       = "HEAD:f7def85be9f99dcb4ba488bead201f670304379b"
meta-oe
meta-multimedia
meta-python
meta-networking
meta-gnome
meta-webserver
meta-filesystems
meta-xfce
meta-perl
meta-initramfs       = "HEAD:18f939a5fb37528a5415b05077ece383c346a119"
meta-tpm             = "HEAD:abfa203aa6ec8a93d636f362b2ab2166d9952c98"
meta-clang           = "scarthgap:7d9bf6d3ca4df27cfd5fbd9482daa5bddc471362"
meta-intel           = "HEAD:d172a00f487a8ea4391b96e0f6cef5279c5a07d7"
meta-java            = "HEAD:ac65b6e5bbd2c9b55a64a13ab4c55d212a8b585f"
meta-python2         = "HEAD:c09fe5012b009af40b3d08b6e841de63d03ab341"
meta-qt5             = "HEAD:eb828418264a49b8d00035cb3d7b12fcea3be801"
meta-qt5-extra       = "HEAD:bcc4f2e08823dcb7a37f2d14c8c2f727938bd32c"
meta-rauc            = "scarthgap:f4d80f95952e15b1f98b5adacce7e21508d89b74"

Checking sstate mirror object availability: 100% |############################################################################################################################################################################################################| Time: 0:00:09
Sstate summary: Wanted 7780 Local 0 Mirrors 0 Missed 7780 Current 0 (0% match, 0% complete)
NOTE: Executing Tasks
ERROR: cup-native-0.10k-r0 do_deletebinaries: ExecutionError('/build/tmp-glibc/work/x86_64-linux/cup-native/0.10k/temp/run.do_deletebinaries.1246741', 1, None, None)
ERROR: Logfile of failure stored in: /build/tmp-glibc/work/x86_64-linux/cup-native/0.10k/temp/log.do_deletebinaries.1246741
Log data follows:
| DEBUG: Executing shell function do_deletebinaries
| find: ‘/build/tmp-glibc/work/x86_64-linux/cup-native/0.10k/sstate-build-create_spdx’: No such file or directory
| WARNING: exit code 1 from a shell command.
ERROR: Task (virtual:native:/build/../sources/meta-java/recipes-core/cup/cup_0.10k.bb:do_deletebinaries) failed with exit code '1'
NOTE: Tasks Summary: Attempted 4230 tasks of which 0 didn't need to be rerun and 1 failed.
NOTE: Build completion summary:
NOTE:   do_populate_sysroot: 0.0% sstate reuse(0 setscene, 114 scratch)
NOTE:   do_deploy_source_date_epoch: 0.0% sstate reuse(0 setscene, 457 scratch)
NOTE:   do_recipe_qa: 0.0% sstate reuse(0 setscene, 452 scratch)
NOTE:   do_populate_lic: 0.0% sstate reuse(0 setscene, 456 scratch)
NOTE:   do_create_spdx: 0.0% sstate reuse(0 setscene, 226 scratch)
NOTE:   do_create_runtime_spdx: 0.0% sstate reuse(0 setscene, 225 scratch)

Summary: 1 task failed:
  virtual:native:/build/../sources/meta-java/recipes-core/cup/cup_0.10k.bb:do_deletebinaries
Summary: There was 1 ERROR message, returning a non-zero exit code.
/sources/poky/bitbake/bin/bitbake failed with exit status 1.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions