• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

01org / ciao / 314
67%
master: 66%

Build:
Build:
LAST BUILD BRANCH: topic/config-subnet-bits
DEFAULT BRANCH: master
Ran 07 Sep 2016 08:27PM UTC
Jobs 2
Files 75
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
314

push

travis-ci

tpepper
osprepare: support context.Context for cancellation

The golang package "context" allows cancellation to flow across API
boundaries and processes.  Launcher spawns all manner of processes so
it takes extra care to allow for example clean exiting of both itself
and its children through a control-C of running launcher.

Since osprepare may do a long-running operation in the (ideally rare) case
that launcher dependencies are not present at start up.  The user may want
to break out of this and not let it run to completion and not actually
start launcher.  That is only possible if a context is passed.

For controller and scheduler I simply use the context.TODO() as the package
documentation says not to pass a nil context and rather one should use this
marker empty context.

NOTE: the context feature is new in golang 1.7's os/exec package, so
accepting this commit requires moving to a minimum of go 1.7.

Signed-off-by: Tim Pepper <timothy.c.pepper@linux.intel.com>

10729 of 16182 relevant lines covered (66.3%)

1.43 hits per line

Jobs
ID Job ID Ran Files Coverage
2 314.2 (COVERALLS_TOKEN=mwTn1pOFqEOUT13vylZNHq53NanoMznO7) 07 Sep 2016 08:27PM UTC 0
66.26
Travis Job 314.2
3 314.3 (COVERALLS_TOKEN=mwTn1pOFqEOUT13vylZNHq53NanoMznO7) 07 Sep 2016 08:29PM UTC 0
66.21
Travis Job 314.3
Source Files on build 314
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #314
  • 842630e5 on github
  • Prev Build on prepare (#296)
  • Next Build on prepare (#316)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc