Bug 8775 - check to see if port is in use early and exit
Summary: check to see if port is in use early and exit
Status: VERIFIED FIXED
Alias: None
Product: Toaster
Classification: Build System, Metadata & Runtime
Component: toaster (show other bugs)
Version: 2.1
Hardware: x86 Multiple
: Medium normal
Target Milestone: 2.1
Assignee: Ed Bartosh
QA Contact: Alexandru Roman
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2015-12-05 18:33 UTC by brian avery
Modified: 2016-01-04 12:14 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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