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

pantsbuild / pants / 7686
0%
main: 93%

Build:
Build:
LAST BUILD BRANCH: go-modcache-named-cache
DEFAULT BRANCH: main
Ran 30 Oct 2015 08:59PM UTC
Jobs 8
Files 0
Run time –
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
7686

push

travis-ci

kwlzn
Safeguard against stale ProcessManager metadata re-use.

- Add a new pants.util.dirutil.rm_rf helper to safely remove both files and/or directories.
- Improve ProcessManager.purge_metadata().
- Add purge_metadata() calls to daemonization methods to resolve race.
- Test maintenance.

Fixes #2414

Testing Done:
https://travis-ci.org/pantsbuild/pants/builds/87760402

---------------------------------------------------------------------------

before:

    [illuminati pants (master)]$ PANTS_DEV=1 ./pants server
    INFO] Detected git repository at /Users/kwilson/dev/pants on branch master
    INFO] Launched server with pid 55478 at http://localhost:57469
    [illuminati pants (master)]$ kill -9 55478
    [illuminati pants (master)]$ PANTS_DEV=1 ./pants server
    INFO] Detected git repository at /Users/kwilson/dev/pants on branch master
    INFO] Launched server with pid 55478 at http://localhost:57469
    [illuminati pants (master)]$ PANTS_DEV=1 ./pants server
    INFO] Detected git repository at /Users/kwilson/dev/pants on branch master
    INFO] Server already running with pid 55546 at http://localhost:57470
    [illuminati pants (master)]$

after:

    [illuminati pants (kwlzn/stale_metadata)]$ PANTS_DEV=1 ./pants server
    INFO] Detected git repository at /Users/kwilson/dev/pants on branch kwlzn/stale_metadata
    INFO] Launched server with pid 55053 at http://localhost:57390
    [illuminati pants (kwlzn/stale_metadata)]$ kill -9 55053
    [illuminati pants (kwlzn/stale_metadata)]$ PANTS_DEV=1 ./pants server
    INFO] Detected git repository at /Users/kwilson/dev/pants on branch kwlzn/stale_metadata
    INFO] Launched server with pid 55116 at http://localhost:57392
    [illuminati pants (kwlzn/stale_metadata)]$ PANTS_DEV=1 ./pants server
    INFO] Detected git repository at /Users/kwilson/dev/pants on branch kwlzn/stale_metadata
    INFO] Server already running with pid 55116 at http://localhost:57392

Bugs closed: 2414, 2462

Reviewed at https://rbcommons.com/s/twitter/r/3047/
Jobs
ID Job ID Ran Files Coverage
1 7686.1 (CI_FLAGS="-cjlpn 'Various pants self checks'") 30 Oct 2015 09:03PM UTC 0
Travis Job 7686.1
4 7686.4 (CI_FLAGS="-fkmsrcjlp 'Python contrib tests'") 30 Oct 2015 09:07PM UTC 0
Travis Job 7686.4
5 7686.5 (CI_FLAGS="-fkmsrjlpn -i 0/6 'Python integration tests for pants - shard 1'") 30 Oct 2015 08:59PM UTC 0
Travis Job 7686.5
6 7686.6 (CI_FLAGS="-fkmsrjlpn -i 1/6 'Python integration tests for pants - shard 2'") 30 Oct 2015 09:00PM UTC 0
Travis Job 7686.6
7 7686.7 (CI_FLAGS="-fkmsrjlpn -i 2/6 'Python integration tests for pants - shard 3'") 30 Oct 2015 09:08PM UTC 0
Travis Job 7686.7
8 7686.8 (CI_FLAGS="-fkmsrjlpn -i 3/6 'Python integration tests for pants - shard 4'") 30 Oct 2015 09:14PM UTC 0
Travis Job 7686.8
9 7686.9 (CI_FLAGS="-fkmsrjlpn -i 4/6 'Python integration tests for pants - shard 5'") 30 Oct 2015 09:11PM UTC 0
Travis Job 7686.9
10 7686.10 (CI_FLAGS="-fkmsrjlpn -i 5/6 'Python integration tests for pants - shard 6'") 30 Oct 2015 09:15PM UTC 0
Travis Job 7686.10
Source Files on build 7686
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #7686
  • 61624077 on github
  • Prev Build on master (#7682)
  • Next Build on master (#7691)
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