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

projectatomic / atomic-reactor / 3998
94%
master: 96%

Build:
Build:
LAST BUILD BRANCH: test_operator
DEFAULT BRANCH: master
Ran 15 Aug 2017 11:14AM UTC
Jobs 4
Files 65
Run time 2min
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
3998

push

travis-ci

twaugh
Tag base images with the OpenShift build name

This avoids a race condition in which two builds are contending
over the as-pulled image tag:

1. build A starts
2. build B starts
3. build A is nearly finished and is about to remove the parent image
4. build B tags the parent image
5. build A removes the parent image
6. build B tries to e.g. inspect the parent image, or build the Dockerfile

To avoid this race, each build adds an additional tag to the parent
image it pulls, using the value of the OpenShift build name. This
keeps the image around until the build is done with it at the end.

The race condition is then between pulling the image and tagging
it with this unique ID. This is addressed by retrying the pull
if tagging fails.

Signed-off-by: Tim Waugh <twaugh@redhat.com>

5223 of 5576 relevant lines covered (93.67%)

3.65 hits per line

Jobs
ID Job ID Ran Files Coverage
1 3998.1 15 Aug 2017 11:16AM UTC 0
93.26
Travis Job 3998.1
2 3998.2 15 Aug 2017 11:14AM UTC 0
90.44
Travis Job 3998.2
3 3998.3 15 Aug 2017 11:16AM UTC 0
90.44
Travis Job 3998.3
4 3998.4 15 Aug 2017 11:17AM UTC 0
90.42
Travis Job 3998.4
Source Files on build 3998
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #3998
  • 69983628 on github
  • Prev Build on tag-race (#3985)
  • Next Build on tag-race (#4000)
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

© 2025 Coveralls, Inc