Bug 8607

Summary: Toaster fails to build images
Product: [Build System, Metadata & Runtime] Toaster Reporter: Cristina Agurida <cristina-danielax.agurida>
Component: toasterAssignee: Elliot Smith <elliot.smith>
Status: VERIFIED FIXED QA Contact: Cristina Agurida <cristina-danielax.agurida>
Severity: major    
Priority: Undecided CC: belen.barros.pena, jessica.zhang, stanciux.mihail
Version: 2.0   
Target Milestone: 2.0   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: Regression (Used to work)
Verified: Documentation change: No (bug/feature does not impact docs)
Bug Depends on:    
Bug Blocks: 8558    
Attachments:
Description Flags
image none

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