<?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>8239</bug_id>
          
          <creation_ts>2015-09-02 07:58:37 +0000</creation_ts>
          <short_desc>strange build failure with no output</short_desc>
          <delta_ts>2015-10-19 11:36:59 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>QA/Testing</classification>
          <product>Build Testing</product>
          <component>general</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>High</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.9 M3</target_milestone>
          
          <blocked>8249</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Jussi Kukkonen">jku</reporter>
          <assigned_to name="Mariano Lopez">mariano.lopez</assigned_to>
          <cc>benjamin.esquivel</cc>
    
    <cc>bogdanx.a.voiculescu</cc>
    
    <cc>mariano.lopez</cc>
    
    <cc>richard.purdie</cc>
          
          <qa_contact name="Cristina Agurida">cristina-danielax.agurida</qa_contact>
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>53614</commentid>
    <comment_count>0</comment_count>
    <who name="Jussi Kukkonen">jku</who>
    <bug_when>2015-09-02 07:58:37 +0000</bug_when>
    <thetext>&quot;bitbake core-image-lsb core-image-lsb-sdk&quot; fails after 12 minutes with no output at all. I don&apos;t know what to make of it.


https://autobuilder.yoctoproject.org/main/builders/nightly-mips-lsb/builds/468/




. ./oe-init-build-env; bitbake -k -w &apos;bitbake_eventlog.json&apos; core-image-lsb core-image-lsb-sdk
 in dir /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-mips-lsb/build (timeout 100000 secs)
 watching logfiles {}
 argv: . ./oe-init-build-env; bitbake -k -w &apos;bitbake_eventlog.json&apos; core-image-lsb core-image-lsb-sdk
 environment:
  ADTQA_INST_PUBLISH_DIR=adt-installer-QA
  ADTREPO_DEV_PATH=/srv/www/vhosts/adtrepo-dev/
  ADTREPO_DEV_POPULATE=True
  ADTREPO_DEV_URL=http://adtrepo-dev.yoctoproject.org/
  ADTREPO_GENERATE_DEV_INSTALLER=True
  ADTREPO_GENERATE_INSTALLER=False
  ADTREPO_PATH=/srv/www/vhosts/adtrepo.yoctoproject.org/
  ADTREPO_POPULATE=False
  ADTREPO_URL=http://adtrepo.yoctoproject.org/
  ADT_INST_PUBLISH_DIR=adt-installer
  BA_PUBLISH_DIR=build-appliance
  BB_NUMBER_THREADS=16
  BUILD_HISTORY_COLLECT=True
  BUILD_HISTORY_DIR=/srv/www/vhosts/autobuilder.yoctoproject.org/buildhistory
  BUILD_HISTORY_REPO=ssh://git@git.yoctoproject.org/poky-buildhistory
  BUILD_HISTORY_WEB=True
  BUILD_HISTORY_WEB_DIR=/home/pokybuild/buildhistory-web
  BUILD_HISTORY_WHITELIST={&apos;git://git.yoctoproject.org/poky&apos;:[&apos;master&apos;]}
  BUILD_PUBLISH_DIR=/srv/www/vhosts/autobuilder.yoctoproject.org/pub
  CLEAN_SOURCE_DIR=False
  DEB_PUBLISH_DIR=deb
  DEVKERNEL=linux-yocto
  DEVKERNEL_MUT_REPO={&apos;git://git.yoctoproject.org/poky-contrib&apos;:[&apos;stage/master_under_test&apos;, &apos;sgw/mut&apos;, &apos;ross/mut&apos;], &apos;git://git.yoctoproject.org/poky&apos;:[&apos;ross/mut&apos;]}
  DL_DIR=/srv/www/vhosts/autobuilder.yoctoproject.org/current_sources
  EMGD_DRIVER_DIR=/tmp/yocto-autobuilder/emgd-driver
  ERROR_REPORT_COLLECT=True
  GEN_IMG_MD5=True
  HOME=/home/pokybuild
  IMAGE_FSTYPES=tar.gz
  IPK_PUBLISH_DIR=ipk
  LANG=en_US.UTF-8
  LOGNAME=pokybuild
  LSB_SSTATE_DIR=/tmp/yocto-autobuilder/lsb-sstate
  LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:
  MACHINE_PUBLISH_DIR=machines
  MAIL=/var/mail/pokybuild
  MAINTAIN_PERSISTDB=True
  MAKEFLAGS=
  MAKELEVEL=1
  MARKED_RELEASE_DIR=releases
  MFLAGS=
  OGIT_MIRROR_DIR=/home/pokybuild/git/mirror
  OGIT_TRASH_CRON_TIME=0 0 * * *
  OGIT_TRASH_DIR=/home/pokybuild/git/trash
  OGIT_TRASH_NICE_LEVEL=19
  OLDPWD=/home/pokybuild
  OPTIMIZED_GIT_CLONE=True
  PARALLEL_MAKE=16
  PATH=/home/pokybuild/yocto-autobuilder/bin:/home/pokybuild/yocto-autobuilder/yocto-autobuilder/scripts:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
  PERSISTDB_DIR=/srv/www/vhosts/autobuilder.yoctoproject.org/persistdb
  PUBLISH_BUILDS=True
  PUBLISH_SOURCE_MIRROR=True
  PUBLISH_SSTATE=False
  PWD=/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-mips-lsb/build
  PYTHONPATH=/home/pokybuild/yocto-autobuilder/lib/python2.7/site-packages/autobuilder/:/home/pokybuild/yocto-autobuilder/lib/python2.7/site-packages/:/home/pokybuild/yocto-autobuilder/lib/python2.7/site-packages/autobuilder/buildsteps:
  QA_MAIL_BCC=
  QA_MAIL_CC=elizabeth.flanagan@intel.com, alexandru.c.georgescu@intel.com, otavio@ossystems.com.br, yi.zhao@windriver.com
  QA_MAIL_SIG=\nThis is an automated message from\nThe Yocto Project Autobuilder\nGit: git://git.yoctoproject.org/yocto-autobuilder\nEmail: elizabeth.flanagan@intel.com
  QA_MAIL_TO=yocto@yoctoproject.org
  QEMU_PUBLISH_DIR=/machines/qemu
  RELEASE_PUBLISH_DIR=/srv/www/vhosts/autobuilder.yoctoproject.org/pub/releases
  RESOLVED_TRIGGERED_HEAD=True
  RESOLVE_TRIGGERED_HEAD=True
  RPM_PUBLISH_DIR=rpm
  SHELL=/bin/bash
  SHLVL=1
  SOURCE_DL_DIR=/srv/www/vhosts/autobuilder.yoctoproject.org/current_sources
  SOURCE_MIRROR_URL=/srv/www/vhosts/autobuilder.yoctoproject.org/pub/sources
  SOURCE_PUBLISH_DIR=/srv/www/vhosts/autobuilder.yoctoproject.org/current_sources
  SOURCE_SSTATE_DIR=/srv/www/vhosts/autobuilder.yoctoproject.org/pub/sstate
  SSTATE_DIR=/srv/www/vhosts/autobuilder.yoctoproject.org/pub/sstate
  SSTATE_PUBLISH_DIR=/srv/www/vhosts/autobuilder.yoctoproject.org/pub/sstate
  TERM=xterm
  TOASTER_UPLOAD_URL=http://toaster-ab-dev.yoctoproject.org/orm/eventfile
  USER=pokybuild
  WEB_ROOT=/srv/www/vhosts/autobuilder.yoctoproject.org/
  WEB_URL=http://autobuilder.yoctoproject.org/
  WORKERBASEDIR=/home/pokybuild/yocto-autobuilder/yocto-worker
  X8664TC_PUBLISH_DIR=toolchain/x86_64
  X86TC_PUBLISH_DIR=toolchain/i686
  XDG_SESSION_COOKIE=cce5631d6cf011d310ac1e7d532dd80e-1438592224.258724-563411987
  YOCTO_AB_CONFIG=/home/pokybuild/yocto-autobuilder/buildset-config/yoctoAB.conf
  _=./yocto-start-autobuilder
 using PTY: False

### Shell environment set up for builds. ###

You can now run &apos;bitbake &lt;target&gt;&apos;

Common targets are:
    core-image-minimal
    core-image-sato
    meta-toolchain
    adt-installer
    meta-ide-support

You can also run generated qemu images with a command like &apos;runqemu qemux86&apos;
program finished with exit code 1
elapsedTime=702.556848</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>53686</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2015-09-03 14:26:38 +0000</bug_when>
    <thetext>There are two parts to this. It took 12 minutes since it was running chmod -st -R in the environment setup script. Bitbake was actually exiting immediately and should have said bitbake.lock couldn&apos;t be acquired. The -w option to bitbake has a bug and was preventing this from being shown.

The chmod -st -R issue is fixed with http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=d8caef4f6e38efb739866a1de38f3bae8f1754ed

There is a bitbake patch for the missing error message.

The reason bitbake.lock is being held is that the autobuilder tried to kill a previous task yet the runqemu process remained. We likely need to improve the SIGTERM handling there to ensure that does get killed. The bug should likely remain open until this last issue is resolved.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>53687</commentid>
    <comment_count>2</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2015-09-03 14:28:25 +0000</bug_when>
    <thetext>A likely good reproducer for this is &quot;bitabke -c testimage core-image-sato&quot;, then Ctrl+C it after qemu starts and notice that qemu remains running. We need to fix it so qemu exits.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>53805</commentid>
    <comment_count>3</comment_count>
    <who name="Mariano Lopez">mariano.lopez</who>
    <bug_when>2015-09-07 19:43:40 +0000</bug_when>
    <thetext>Sent patch to the list to get the SIGTERM in testimage class</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>53932</commentid>
    <comment_count>4</comment_count>
    <who name="Mariano Lopez">mariano.lopez</who>
    <bug_when>2015-09-10 13:46:55 +0000</bug_when>
    <thetext>This has been solved with the following commits:

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=6271fcb5896464d0c71172b02de548195191abf8

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=6b41b7cc323e3bed2d0545019e7bdc8e006db1e9</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>55431</commentid>
    <comment_count>5</comment_count>
    <who name="Cristina Agurida">cristina-danielax.agurida</who>
    <bug_when>2015-10-19 11:36:59 +0000</bug_when>
    <thetext>Verified on master: a9053ac0829eb01f6f002587854d01e47a78e6f0</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>