Bug 8607 - Toaster fails to build images
Summary: Toaster fails to build images
Status: VERIFIED FIXED
Alias: None
Product: Toaster
Classification: Build System, Metadata & Runtime
Component: toaster (show other bugs)
Version: 2.0
Hardware: x86 Multiple
: Undecided major
Target Milestone: 2.0
Assignee: Elliot Smith
QA Contact: Cristina Agurida
URL:
Whiteboard:
: 8608 (view as bug list)
Depends on:
Blocks: 8558
  Show dependency tree
 
Reported: 2015-10-29 10:35 UTC by Cristina Agurida
Modified: 2015-11-03 11:54 UTC (History)
3 users (show)

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


Attachments
image (239.41 KB, image/png)
2015-10-29 10:35 UTC, Cristina Agurida
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Cristina Agurida 2015-10-29 10:35:57 UTC
Created attachment 2832 [details]
image

poky: 290534d3ff53b3c0a50e480863474d1785088c5a

STEPS TO REPRODUCE:
1. Start Toaster in managed mode.
2. Create a project.
2. Try to build  an image. (ex: "core-image-minimal")
 
EXPECTED OUTCOME: 

The image is successfully built.

Actual outcome:

The image fails to build after a few seconds:

ERROR: Unable to get the value of BB_CONSOLELOG variable: Not able to execute not readonly commands in readonly mode
Traceback (most recent call last):
  File "/home/cristina/work/poky/bitbake/bin/bitbake", line 45, in <module>
    cookerdata.CookerConfiguration()))
  File "/home/cristina/work/poky/bitbake/lib/bb/main.py", line 426, in bitbake_main
    return ui_module.main(server_connection.connection, server_connection.events, configParams)
  File "/home/cristina/work/poky/bitbake/lib/bb/ui/toasterui.py", line 76, in main
    _, _, consolelogfile = _log_settings_from_server(server)
  File "/home/cristina/work/poky/bitbake/lib/bb/ui/toasterui.py", line 61, in _log_settings_from_server
    raise BaseException(error)
BaseException: Not able to execute not readonly commands in readonly mode
' 'Bitbake server address: 0.0.0.0, server port: 45810
Bitbake server address: 0.0.0.0, server port: 41291
')
Comment 1 Cristina Agurida 2015-10-29 11:49:54 UTC
*** Bug 8608 has been marked as a duplicate of this bug. ***
Comment 2 Belen Barros Pena 2015-10-29 12:06:00 UTC
Patch submitted to bitbake-devel

http://lists.openembedded.org/pipermail/bitbake-devel/2015-October/006635.html
Comment 4 Cristina Agurida 2015-11-03 11:54:39 UTC
Verified on master: e1aa897beb33171bc902207b98c8f666b9e97ad3