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

pantsbuild / pants / 6858
0%
main: 93%

Build:
Build:
LAST BUILD BRANCH: uv-lockfile-resolver
DEFAULT BRANCH: main
Ran 15 Sep 2015 03:33AM UTC
Jobs 10
Files 391
Run time 211min
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
6858

push

travis-ci

jsirois
Fix coordinates of resolved jars in IvyInfo.

Previously `IvyInfo.get_resolved_jars_for_jar_library` would copy the
dependee's coordinate to all artifacts in its dependency graph.  Added a
failing unit test that this change fixed.

Also moved the test data used in this test into the same dir tree.

Testing Done:
Before the fix, the new test failed as such:
```
>     self.assertEqual(expected, coordinate_by_path)
E     AssertionError: {u'ivy2cache_path/org3/name3.jar': M2Coordinate(org=u'org3', name=u'name3', rev= [truncated]... != {'ivy2cache_path/org3/name3.jar': M2Coordinate(org=u'org1', name=u'name1', rev=u [truncated]...
E     - {u'ivy2cache_path/org1/name1.jar': M2Coordinate(org=u'org1', name=u'name1', rev=u'0.0.1', classifier=None, type_=u'jar'),
E     ?  -
E
E     + {'ivy2cache_path/org1/name1.jar': M2Coordinate(org=u'org1', name=u'name1', rev=u'0.0.1', classifier=None, type_=u'jar'),
E     -  u'ivy2cache_path/org2/name2.jar': M2Coordinate(org=u'org2', name=u'name2', rev=u'0.0.1', classifier=None, type_=u'jar'),
E     ?  -                                                       ^              ^
E
E     +  'ivy2cache_path/org2/name2.jar': M2Coordinate(org=u'org1', name=u'name1', rev=u'0.0.1', classifier=None, type_=u'jar'),
E     ?                                                         ^              ^
E
E     -  u'ivy2cache_path/org3/name3.jar': M2Coordinate(org=u'org3', name=u'name3', rev=u'0.0.1', classifier=None, type_=u'jar')}
E     ?  -                                                       ^              ^
E
E     +  'ivy2cache_path/org3/name3.jar': M2Coordinate(org=u'org1', name=u'name1', rev=u'0.0.1', classifier=None, type_=u'jar')}
E     ?                                                         ^              ^
```

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

Bugs closed: 1841, 2193

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

27 of 27 new or added lines in 2 files covered. (100.0%)

17758 of 23517 relevant lines covered (75.51%)

1.43 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
100.0
src/python/pants/backend/jvm/ivy_utils.py
2
100.0
src/python/pants/backend/jvm/jar_dependency_utils.py
Jobs
ID Job ID Ran Files Coverage
1 6858.1 (CI_FLAGS="-cjlpn 'Various pants self checks'") 15 Sep 2015 03:34AM UTC 0
Travis Job 6858.1
2 6858.2 (CI_FLAGS="-fkmsrcn -u 0/2 'Unit tests for pants and pants-plugins - shard 1'") 15 Sep 2015 03:34AM UTC 0
70.8
Travis Job 6858.2
3 6858.3 (CI_FLAGS="-fkmsrcn -u 1/2 'Unit tests for pants and pants-plugins - shard 2'") 15 Sep 2015 03:36AM UTC 0
71.73
Travis Job 6858.3
4 6858.4 (CI_FLAGS="-fkmsrcjlp 'Python contrib tests'") 15 Sep 2015 03:33AM UTC 0
Travis Job 6858.4
5 6858.5 (CI_FLAGS="-fkmsrjlpn -i 0/6 'Python integration tests for pants - shard 1'") 15 Sep 2015 03:35AM UTC 0
Travis Job 6858.5
6 6858.6 (CI_FLAGS="-fkmsrjlpn -i 1/6 'Python integration tests for pants - shard 2'") 15 Sep 2015 03:39AM UTC 0
Travis Job 6858.6
7 6858.7 (CI_FLAGS="-fkmsrjlpn -i 2/6 'Python integration tests for pants - shard 3'") 15 Sep 2015 03:42AM UTC 0
Travis Job 6858.7
8 6858.8 (CI_FLAGS="-fkmsrjlpn -i 3/6 'Python integration tests for pants - shard 4'") 15 Sep 2015 03:41AM UTC 0
Travis Job 6858.8
9 6858.9 (CI_FLAGS="-fkmsrjlpn -i 4/6 'Python integration tests for pants - shard 5'") 15 Sep 2015 03:40AM UTC 0
Travis Job 6858.9
10 6858.10 (CI_FLAGS="-fkmsrjlpn -i 5/6 'Python integration tests for pants - shard 6'") 15 Sep 2015 03:41AM UTC 0
Travis Job 6858.10
Source Files on build 6858
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #6858
  • 322d5ac6 on github
  • Prev Build on master (#6857)
  • Next Build on master (#6859)
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