<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>12975</bug_id>
          
          <creation_ts>2018-11-01 14:29:28 +0000</creation_ts>
          <short_desc>&apos;bin/sh: 1: checkvnc:</short_desc>
          <delta_ts>2018-11-08 20:49:58 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>5</classification_id>
          <classification>Infrastructure</classification>
          <product>AutoBuilder</product>
          <component>autobuilder</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.7</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Armin Kuster">akuster</reporter>
          <assigned_to name="Armin Kuster">akuster</assigned_to>
          <cc>infras.ab.watcher</cc>
    
    <cc>Infras.watcher</cc>
    
    <cc>pidge</cc>
    
    <cc>richard.purdie</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>New (Never tested)</cf_regression_type>
          
          <cf_docchange>Don&apos;t know</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>81991</commentid>
    <comment_count>0</comment_count>
    <who name="Armin Kuster">akuster</who>
    <bug_when>2018-11-01 14:29:28 +0000</bug_when>
    <thetext>build logs show this error
 &apos;bin/sh: 1: checkvnc: not found&apos;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>82006</commentid>
    <comment_count>1</comment_count>
    <who name="Armin Kuster">akuster</who>
    <bug_when>2018-11-02 01:05:18 +0000</bug_when>
    <thetext>Step2b of nightly-oe-selftest</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>82008</commentid>
    <comment_count>2</comment_count>
    <who name="Armin Kuster">akuster</who>
    <bug_when>2018-11-02 01:54:15 +0000</bug_when>
    <thetext>This is confusing. The helper code has this:

   # Execute the sanity targets for this configuration
    sanitytargets = utils.getconfigvar(&quot;SANITYTARGETS&quot;, ourconfig, args.target, stepnum)
    if sanitytargets:
        utils.printheader(&quot;Step %s/%s: Running bitbake %s&quot; % (stepnum, maxsteps, sanitytargets))
        bitbakecmd(args.builddir, &quot;%s/checkvnc; DISPLAY=:1 bitbake %s&quot; % (scriptsdir, sanitytargets), report, stepnum, &apos;c&apos;)

But I don&apos;t see any &quot;Step&quot; printout before the checkvnc. It happens before the code should be run.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>82009</commentid>
    <comment_count>3</comment_count>
    <who name="Armin Kuster">akuster</who>
    <bug_when>2018-11-02 02:04:07 +0000</bug_when>
    <thetext>/scripts/run-config  is run twice. One is in &quot;def create_builder_factory()&quot; and the other is not.

The difference is the one in create_builder_factory() is passing &apos; &quot;-b&quot;, util.Interpolate(&quot;%(prop:buildappsrcrev)s&quot;),&apos; .</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>82084</commentid>
    <comment_count>4</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2018-11-08 20:15:42 +0000</bug_when>
    <thetext>The problem is the other invocation:

config.json:                &quot;EXTRACMDS&quot; : [&quot;checkvnc; DISPLAY=:1 oe-selftest --skip-tests distrodata.Distrodata.test_checkpkg&quot;],

and the hard part is that we don&apos;t know scriptsdir here to be able to know where the script is...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>82085</commentid>
    <comment_count>5</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2018-11-08 20:49:58 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit.cgi/yocto-autobuilder-helper/commit/?id=478eb6d78ca6e47b0c9c436a75b6f89434fad9cc</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>