Bug 13548 - meta-intel do_testimage tasks failed
Summary: meta-intel do_testimage tasks failed
Status: IN PROGRESS IMPLEMENTATION
Alias: None
Product: BSPs
Classification: Build System, Metadata & Runtime
Component: bsps-meta-intel (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium normal
Target Milestone: 6.99
Assignee: Yogesh Tyagi
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2019-09-24 18:09 UTC by Amanda Brindle
Modified: 2026-01-29 16:32 UTC (History)
5 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments
log file (40.46 KB, text/plain)
2019-09-24 18:09 UTC, Amanda Brindle
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Amanda Brindle 2019-09-24 18:09:57 UTC
Created attachment 4566 [details]
log file

Summary: 3 tasks failed:
  /home/pokybuild/yocto-worker/meta-intel/build/meta/recipes-sato/images/core-image-sato-sdk.bb:do_testimage
  /home/pokybuild/yocto-worker/meta-intel/build/meta/recipes-sato/images/core-image-sato.bb:do_testimage
  /home/pokybuild/yocto-worker/meta-intel/build/meta/recipes-core/images/core-image-minimal.bb:do_testimage

step1c: ERROR: core-image-sato-sdk-1.0-r0 do_testimage: core-image-sato-sdk - FAILED - check the task log and the ssh log
step1c: ERROR: Logfile of failure stored in: /home/pokybuild/yocto-worker/meta-intel/build/build/tmp/work/intel_corei7_64-poky-linux/core-image-sato-sdk/1.0-r0/temp/log.do_testimage.42311
step1c: ERROR: Task (/home/pokybuild/yocto-worker/meta-intel/build/meta/recipes-sato/images/core-image-sato-sdk.bb:do_testimage) failed with exit code '1'
step1c: ERROR: core-image-sato-1.0-r0 do_testimage: core-image-sato - FAILED - check the task log and the ssh log
step1c: ERROR: Logfile of failure stored in: /home/pokybuild/yocto-worker/meta-intel/build/build/tmp/work/intel_corei7_64-poky-linux/core-image-sato/1.0-r0/temp/log.do_testimage.42314
step1c: ERROR: Task (/home/pokybuild/yocto-worker/meta-intel/build/meta/recipes-sato/images/core-image-sato.bb:do_testimage) failed with exit code '1'
step1c: ERROR: core-image-minimal-1.0-r0 do_testimage: core-image-minimal - FAILED - check the task log and the ssh log
step1c: ERROR: Logfile of failure stored in: /home/pokybuild/yocto-worker/meta-intel/build/build/tmp/work/intel_corei7_64-poky-linux/core-image-minimal/1.0-r0/temp/log.do_testimage.42315
step1c: ERROR: Task (/home/pokybuild/yocto-worker/meta-intel/build/meta/recipes-core/images/core-image-minimal.bb:do_testimage) failed with exit code '1'
stdio: ERROR: Command . ./oe-init-build-env; /home/pokybuild/yocto-worker/meta-intel/yocto-autobuilder-helper/scripts/checkvnc; DISPLAY=:1 bitbake core-image-minimal:do_testimage core-image-sato:do_testimage core-image-sato-sdk:do_testimage core-image-sato:do_testsdk core-image-sato:do_testsdkext -k failed with exit code 1, see errors above. (1569328509.8: 622.3

https://autobuilder.yoctoproject.org/typhoon/#/builders/100/builds/5
Comment 1 Ross Burton 2019-09-25 15:49:30 UTC
Anuj dug and we concluded that the problem is that the intel machines don't use the hardcoded networking configuration that we expect for testimage.  I've a partial fix for this locally.
Comment 2 Ross Burton 2019-09-27 09:55:09 UTC
Downgrading to M+ because this isn't a release blocker.
Comment 3 Ross Burton 2020-01-29 16:20:58 UTC
The problem is that currently testimage assumes that the machines being booted are the qemu machines (qemuarm, qemux86, etc) and these have specific a network configuration set through the connman-conf recipe with its qemuall overrides.  As meta-intel BSPs don't have this the configuration is different and testimage can't find the machine once it has booted.

I can see several potential solutions and likely more:
1) extract the qemu-specific bits of connman-conf to a new recipe connman-conf-testimage, and install that in all images which will be ran in testimage (maybe testimage.bbclass could append IMAGE_INSTALL).
2) run a DHCP server on the virtual network device and hand out a static IP instead of hardcoding an IP

A start at (1) is in poky-contrib:ross/testnet but it isn't complete in any way.

Reassigning to Anuj as the meta-intel owner.
Comment 4 Randy MacLeod 2023-10-24 14:24:50 UTC
Bulk move from 4.99 or 0.00 to 5.99
Comment 5 Randy MacLeod 2026-01-29 16:32:22 UTC
Yogesh, 

Is this still a valid issue for meta-intel ?