Bug 14350

Summary: Memory resident Bitbake doesn't work
Product: [Build System, Metadata & Runtime] BitBake Reporter: Ross Burton <ross.burton>
Component: bitbakeAssignee: Richard Purdie <richard.purdie>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium+ CC: poky.bs.watcher, poky.watcher
Version: unspecified   
Target Milestone: 3.4 M1   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Ross Burton 2021-04-16 16:05:30 UTC
$ bitbake m4 --dry-run --idle-timeout=10
NOTE: Retrying server connection (#1)...
NOTE: Retrying server connection (#2)...
NOTE: Retrying server connection (#3)...
NOTE: Retrying server connection (#4)...
NOTE: Retrying server connection (#5)...
NOTE: Retrying server connection (#6)...
NOTE: Retrying server connection (#7)...
NOTE: Retrying server connection (#8)...
ERROR: Unable to connect to bitbake server, or start one (server startup failures would be in bitbake-cookerdaemon.log).

Traceback (most recent call last):
  File "/home/ross/Yocto/poky/bitbake/bin/bitbake-server", line 53, in <module>
    bb.server.process.execServer(lockfd, readypipeinfd, lockname, sockname, timeout, xmlrpcinterface)
  File "/home/ross/Yocto/poky/bitbake/lib/bb/server/process.py", line 550, in execServer
    server.run()
  File "/home/ross/Yocto/poky/bitbake/lib/bb/server/process.py", line 108, in run
    ret = self.main()
  File "/home/ross/Yocto/poky/bitbake/lib/bb/server/process.py", line 193, in main
    (self.lastui + self.timeout) < time.time():
TypeError: unsupported operand type(s) for +: 'float' and 'str'
Comment 1 Ross Burton 2021-04-16 17:34:21 UTC
Patch on the list. Obviously this needs a self test!