Bug 8775

Summary: check to see if port is in use early and exit
Product: [Build System, Metadata & Runtime] Toaster Reporter: brian avery <brian.avery>
Component: toasterAssignee: Ed Bartosh <eduard.bartosh>
Status: VERIFIED FIXED QA Contact: Alexandru Roman <alexandru.costinx.roman>
Severity: normal    
Priority: Medium CC: alexandru.costinx.roman, belen.barros.pena, jessica.zhang, stanciux.mihail
Version: 2.1   
Target Milestone: 2.1   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description brian avery 2015-12-05 18:33:48 UTC
We don't check the port we are trying to run toaster on so if another toaster is running on that port, we spend a couple of minutes downloading the layers and then exit w/ a failure.  We should check early in the script and exit w/ a warning.
Comment 1 Ed Bartosh 2015-12-10 12:29:45 UTC
started to work on this
Comment 2 Ed Bartosh 2015-12-10 19:24:19 UTC
patches have been sent for review: https://lists.yoctoproject.org/pipermail/toaster/2015-December/003539.html
Comment 3 Ed Bartosh 2015-12-21 10:10:55 UTC
Patchset has been accepted upstream: http://cgit.openembedded.org/bitbake/commit/?id=8a306ffe5a3642fe833c875362a183096a39f641
Comment 4 Alexandru Roman 2016-01-04 12:14:21 UTC
Verified on master: 2cd061a29a94fdcdfec86732e6bcbb71c12c4afc