| Summary: | 'bin/sh: 1: checkvnc: | ||
|---|---|---|---|
| Product: | [Infrastructure] AutoBuilder | Reporter: | Armin Kuster <akuster> |
| Component: | autobuilder | Assignee: | Armin Kuster <akuster> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Medium | CC: | infras.ab.watcher, Infras.watcher, pidge, richard.purdie |
| Version: | unspecified | ||
| Target Milestone: | 2.7 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | New (Never tested) |
| Verified: | Documentation change: | Don't know | |
|
Description
Armin Kuster
2018-11-01 14:29:28 UTC
Step2b of nightly-oe-selftest This is confusing. The helper code has this:
# Execute the sanity targets for this configuration
sanitytargets = utils.getconfigvar("SANITYTARGETS", ourconfig, args.target, stepnum)
if sanitytargets:
utils.printheader("Step %s/%s: Running bitbake %s" % (stepnum, maxsteps, sanitytargets))
bitbakecmd(args.builddir, "%s/checkvnc; DISPLAY=:1 bitbake %s" % (scriptsdir, sanitytargets), report, stepnum, 'c')
But I don't see any "Step" printout before the checkvnc. It happens before the code should be run.
/scripts/run-config is run twice. One is in "def create_builder_factory()" and the other is not.
The difference is the one in create_builder_factory() is passing ' "-b", util.Interpolate("%(prop:buildappsrcrev)s"),' .
The problem is the other invocation: config.json: "EXTRACMDS" : ["checkvnc; DISPLAY=:1 oe-selftest --skip-tests distrodata.Distrodata.test_checkpkg"], and the hard part is that we don't know scriptsdir here to be able to know where the script is... |