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

pantsbuild / pants / 7298
0%
main: 93%

Build:
Build:
LAST BUILD BRANCH: cbs/scope-find-links
DEFAULT BRANCH: main
Ran 07 Oct 2015 01:01AM 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
7298

push

travis-ci

jsirois
Normalize AddressMapper paths for parse/forget.

Without proper normalization, errors were seen in OSX tests where the
build_root lay in the per-user tmp dir.

Testing Done:
An example failure is over here:
  https://travis-ci.org/pantsbuild-osx/pants/jobs/83902946

Looks like:
```
AddressMapperTest.test_invalidate_build_file_removed

self = <pants_test.engine.exp.test_mapper.AddressMapperTest testMethod=test_invalidate_build_file_removed>

   def test_invalidate_build_file_removed(self):
     resolved = self.address_mapper.resolve(Address.parse('a/b'))
     a_b_target = Target(name='b',
                         dependencies=['//d:e'],
                         configurations=['//a', Configuration(embedded='yes')])
     self.assertEqual(a_b_target, resolved)

     build_file = os.path.join(self.build_root, 'a/b/b.BUILD.json')
     os.unlink(build_file)
     self.assertIs(resolved, self.address_mapper.resolve(Address.parse('a/b')))

     self.address_mapper.invalidate_build_file(build_file)
     with self.assertRaises(ResolveError):
>       self.address_mapper.resolve(Address.parse('a/b'))
E       AssertionError: ResolveError not raised
```

CI went green here:
  https://travis-ci.org/pantsbuild/pants/builds/83971616

Bugs closed: 2326

Reviewed at https://rbcommons.com/s/twitter/r/2935/
Jobs
ID Job ID Ran Files Coverage
1 7298.1 (CI_FLAGS="-cjlpn 'Various pants self checks'") 07 Oct 2015 01:01AM UTC 0
Travis Job 7298.1
4 7298.4 (CI_FLAGS="-fkmsrcjlp 'Python contrib tests'") 07 Oct 2015 01:13AM UTC 0
Travis Job 7298.4
5 7298.5 (CI_FLAGS="-fkmsrjlpn -i 0/6 'Python integration tests for pants - shard 1'") 07 Oct 2015 01:08AM UTC 0
Travis Job 7298.5
6 7298.6 (CI_FLAGS="-fkmsrjlpn -i 1/6 'Python integration tests for pants - shard 2'") 07 Oct 2015 01:08AM UTC 0
Travis Job 7298.6
7 7298.7 (CI_FLAGS="-fkmsrjlpn -i 2/6 'Python integration tests for pants - shard 3'") 07 Oct 2015 01:11AM UTC 0
Travis Job 7298.7
8 7298.8 (CI_FLAGS="-fkmsrjlpn -i 3/6 'Python integration tests for pants - shard 4'") 07 Oct 2015 01:18AM UTC 0
Travis Job 7298.8
9 7298.9 (CI_FLAGS="-fkmsrjlpn -i 4/6 'Python integration tests for pants - shard 5'") 07 Oct 2015 01:15AM UTC 0
Travis Job 7298.9
10 7298.10 (CI_FLAGS="-fkmsrjlpn -i 5/6 'Python integration tests for pants - shard 6'") 07 Oct 2015 01:17AM UTC 0
Travis Job 7298.10
Source Files on build 7298
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #7298
  • 85503029 on github
  • Prev Build on master (#7296)
  • Next Build on master (#7299)
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