Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: "Jan-Simon Möller" <dl9pf@gmx.de>
To: "openembedded-devel@lists.openembedded.org"
	<openembedded-devel@lists.openembedded.org>
Cc: Paul Eggleton <paul.eggleton@linux.intel.com>
Subject: Bug in cooker - networked PR_SERV
Date: Thu, 26 Mar 2015 19:48:52 +0100	[thread overview]
Message-ID: <3303347.WRWmiSbDbc@samweis.auenland.lan> (raw)

Hi !

I found a bug in cooker that shows up when I try to enable the networked 
PRSERV. bitbake will crash (and still run at 100% after CTRL-C) until kill -9.

I tracked it down to bitbake/lib/bb/cooker.py line 169:
        if self.state != state.initial:
            raise Exception("Illegal state for feature set change")

self.state seems to be 6 at this stage and state.initial is 0 .

Hack: If I comment out this check, it seems to continue, but I see no size-
increase in the prserv sqlite and also nothing printed for loglevel=DEBUG in 
the log. 


Here are the details:

My setup is:
Build Configuration:
BB_VERSION        = "1.24.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "openSUSE-project-13.2"
TARGET_SYS        = "i586-poky-linux"
MACHINE           = "qemux86"
DISTRO            = "poky"
DISTRO_VERSION    = "1.7.1"
TUNE_FEATURES     = "m32 i586"
TARGET_FPU        = ""
meta              
meta-yocto        
meta-yocto-bsp    = "<unknown>:<unknown>"

####### Only changes to conf/local.conf:
PRSERV_HOST="127.0.0.1:5555"
(an a prserv started in a separate terminal)

####### Crash 

x86> bitbake core-image-minimal
Traceback (most recent call last):
  File "/home/dl9pf/test1/script/4.1/poky-dizzy-12.0.1/bitbake/bin/bitbake", 
line 382, in <module>
    ret = main()
  File "/home/dl9pf/test1/script/4.1/poky-dizzy-12.0.1/bitbake/bin/bitbake", 
line 347, in main
    server_connection = server.establishConnection(featureset)
  File "/home/dl9pf/test1/script/4.1/poky-
dizzy-12.0.1/bitbake/lib/bb/server/process.py", line 247, in 
establishConnection
    raise BaseException(error)
BaseException: Traceback (most recent call last):
  File "/home/dl9pf/test1/script/4.1/poky-
dizzy-12.0.1/bitbake/lib/bb/command.py", line 71, in runCommand
    result = command_method(self, commandline)
  File "/home/dl9pf/test1/script/4.1/poky-
dizzy-12.0.1/bitbake/lib/bb/command.py", line 268, in setFeatures
    command.cooker.setFeatures(features)
  File "/home/dl9pf/test1/script/4.1/poky-
dizzy-12.0.1/bitbake/lib/bb/cooker.py", line 169, in setFeatures
    raise Exception("Illegal state for feature set change")
Exception: Illegal state for feature set change

ERROR: Unable to set the cooker to the correct featureset: Traceback (most 
recent call last):
  File "/home/dl9pf/test1/script/4.1/poky-
dizzy-12.0.1/bitbake/lib/bb/command.py", line 71, in runCommand
    result = command_method(self, commandline)
  File "/home/dl9pf/test1/script/4.1/poky-
dizzy-12.0.1/bitbake/lib/bb/command.py", line 268, in setFeatures
    command.cooker.setFeatures(features)
  File "/home/dl9pf/test1/script/4.1/poky-
dizzy-12.0.1/bitbake/lib/bb/cooker.py", line 169, in setFeatures
    raise Exception("Illegal state for feature set change")
Exception: Illegal state for feature set change



Best,
--- 

Dipl.-Ing.
Jan-Simon Möller

jansimon.moeller@gmx.de


             reply	other threads:[~2015-03-26 18:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-26 18:48 Jan-Simon Möller [this message]
2015-04-29  9:38 ` Bug in cooker - networked PR_SERV Paul Eggleton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3303347.WRWmiSbDbc@samweis.auenland.lan \
    --to=dl9pf@gmx.de \
    --cc=openembedded-devel@lists.openembedded.org \
    --cc=paul.eggleton@linux.intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox