Skip to content

classes/linux-qcom-bootimg.bbclass: do_qcom_img_deploy race condition #2871

Description

  ERROR: linux-yocto-6.18.35+git-r0 do_qcom_img_deploy: Error executing a python function in exec_func_python() autogenerated:
  
  The stack trace of python calls that resulted in this exception/failure was:
  File: 'exec_func_python() autogenerated', lineno: 2, function: <module>
       0001:
   *** 0002:do_qcom_img_deploy(d)
       0003:
  File: '/work/build/../meta-qcom/classes/linux-qcom-bootimg.bbclass', lineno: 117, function: do_qcom_img_deploy
       0113:        consoles = ' '.join(map(lambda c: "console=%(tty)s,%(rate)sn8" % dict(zip(("rate", "tty"), c.split(';'))), getVarDTB("SERIAL_CONSOLES").split()))
       0114:
       0115:        # prepare kernel image with appended dtb
       0116:        with open(kernel, 'wb') as wfd:
   *** 0117:            with open(os.path.join(kernel_output_dir, kernel_name), 'rb') as rfd:
       0118:                shutil.copyfileobj(rfd, wfd)
       0119:            with open(os.path.join(D, kernel_dtbdest, dtb), 'rb') as rfd:
       0120:                shutil.copyfileobj(rfd, wfd)
       0121:
  Exception: FileNotFoundError: [Errno 2] No such file or directory: 'arch/arm64/boot/Image.gz'
  
  ERROR: Logfile of failure stored in: /work/build/tmp/work/qcom_armv8a-qcom-linux/linux-yocto/6.18.35+git/temp/log.do_qcom_img_deploy.328295
  ERROR: Task (/work/build/../oe-core/meta/recipes-kernel/linux/linux-yocto_6.18.bb:do_qcom_img_deploy) failed with exit code '1'

https://github.com/qualcomm-linux/meta-qcom-distro/actions/runs/30829768008/job/91937360125?pr=409

discovered in qualcomm-linux/meta-qcom-distro#409

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

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