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

pantsbuild / pants / 6187
0%
main: 93%

Build:
Build:
LAST BUILD BRANCH: upgrade_runson_to_ami-0a3c71582153db678
DEFAULT BRANCH: main
Ran 14 Aug 2015 10:59PM UTC
Jobs 10
Files 351
Run time 9min
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
6187

push

travis-ci

ericzundel
Ignore 'NonfatalArtifactCacheError' when calling the artifact cache in the background

This addresses some intermittent failures we were seeing from our builds with no apparent error output. We traced back the problem to a
problem with a call to the artifact cache running in the background.

Testing Done:
Locally I'm able to reproduce this  while running one of our custom tasks by turning on the artifact cache, but there is a configuration issue on my laptop that's keeping it from working.

Before:
```
$ ./pants clean-all test script:test --config-override=pants-ci.ini
…

12:47:25 00:03     [rspecs]
                   Bundler setup
                   Checking if bundle is installed

                   Running specs
                   Finished in 2.61 seconds (files took 0.23828 seconds to load)
                   33 examples, 0 failures
               Waiting for background workers to finish.
12:47:30 00:08   [complete]
               FAILURE
```

In the pants server output we could see the error:

```
13:19:5100:00 [background] 4.544s
13:19:5100:00 [cache] 0.406s
Failed to HEAD https://pypi.corp.squareup.com/laundrybasket-rw/abc_BootstrapJvmTools_bootstrap_bootstrap_jvm_tools/.nailgun-server/<a class=hub.com/pantsbuild/pants/commit/035c2b81c6aa2b6426fb6c0224db8f578643269a">035c2b81c-IvyResolveFingerprintStrategy_53c4bb9c6553.tgz. Error: 401 Unauthorized
```

After applying this fix:
```
13:43:48 00:04     [rspecs]
                   Bundler setup

                   Checking if bundle is installed
                   WARN] Error while inserting into artifact cache: Failed to HEAD https://pypi.corp.squareup.com/laundrybasket-rw/abc_BootstrapJvmTools_bootstrap_bootstrap_jvm_tools/.nailgun-server/035c2b81c6aa2b6426fb6c0224db8f578643269a-IvyResolveFingerprintStrategy_53c4bb9c6553.tgz. Error: 401 Unauthorized

                   Running specs
                   Finished in 2.9 seconds (files took 0.21919 seconds to load)
                   33 examples, 0 failures
               Waiting for background workers to finish.
13:43:53 00:09   [complete]
               SUCCESS
```

Bugs closed: 1979, 1980

Reviewed at https://rbcommons.com/s/twitter/r/2624/

15511 of 21215 relevant lines covered (73.11%)

1.38 hits per line

Jobs
ID Job ID Ran Files Coverage
1 6187.1 (CI_FLAGS="-cjlpn 'Various pants self checks'") 14 Aug 2015 10:59PM UTC 0
Travis Job 6187.1
2 6187.2 (CI_FLAGS="-fkmsrcn -u 0/2 'Unit tests for pants and pants-plugins - shard 1'") 14 Aug 2015 11:00PM UTC 0
69.21
Travis Job 6187.2
3 6187.3 (CI_FLAGS="-fkmsrcn -u 1/2 'Unit tests for pants and pants-plugins - shard 2'") 14 Aug 2015 11:01PM UTC 0
68.49
Travis Job 6187.3
4 6187.4 (CI_FLAGS="-fkmsrcjlp 'Python contrib tests'") 14 Aug 2015 11:00PM UTC 0
Travis Job 6187.4
5 6187.5 (CI_FLAGS="-fkmsrjlpn -i 0/6 'Python integration tests for pants - shard 1'") 14 Aug 2015 11:04PM UTC 0
Travis Job 6187.5
6 6187.6 (CI_FLAGS="-fkmsrjlpn -i 1/6 'Python integration tests for pants - shard 2'") 14 Aug 2015 11:05PM UTC 0
Travis Job 6187.6
7 6187.7 (CI_FLAGS="-fkmsrjlpn -i 2/6 'Python integration tests for pants - shard 3'") 14 Aug 2015 11:06PM UTC 0
Travis Job 6187.7
8 6187.8 (CI_FLAGS="-fkmsrjlpn -i 3/6 'Python integration tests for pants - shard 4'") 14 Aug 2015 11:07PM UTC 0
Travis Job 6187.8
9 6187.9 (CI_FLAGS="-fkmsrjlpn -i 4/6 'Python integration tests for pants - shard 5'") 14 Aug 2015 11:06PM UTC 0
Travis Job 6187.9
10 6187.10 (CI_FLAGS="-fkmsrjlpn -i 5/6 'Python integration tests for pants - shard 6'") 14 Aug 2015 11:09PM UTC 0
Travis Job 6187.10
Source Files on build 6187
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #6187
  • 8d365460 on github
  • Prev Build on master (#6186)
  • Next Build on master (#6192)
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