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

pantsbuild / pants / 7798
0%
main: 93%

Build:
Build:
LAST BUILD BRANCH: add/port-target-adaptor-and-source-block
DEFAULT BRANCH: main
Ran 06 Nov 2015 10:20PM 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
7798

push

travis-ci

gmalmquist
Getting the ./pants junit runner to work with Cucumber scenarios.

Cucumber Scenarios generate test Descriptions that are unusually
formatted. Cucumber sends the Scenario description as the
"class name", and the step description as the "method name". The
actual test class object is null.

This was causing the junit runner itself to generate NPEs and fail
on some of our internal targets which use Cucumber.

This fixes the problem by making the AntJunitXmlReportListener less
dependent on the specifics of what's stored in the class name and
method name fields.

Testing Done:
Added a testproject run by tests/python/pants_test/backend/jvm/tasks/test_junit_run_integration.py, currently marked as xfail.
It fails currently, but I've confirmed locally that it will pass when we release a new junit runner and upgrade to it.

CI went green here: https://travis-ci.org/gmalmquist/pants/builds/89724976

Bugs closed: 2512, 2513, 2515

Reviewed at https://rbcommons.com/s/twitter/r/3090/
Jobs
ID Job ID Ran Files Coverage
1 7798.1 (CI_FLAGS="-cjlpn 'Various pants self checks'") 06 Nov 2015 10:20PM UTC 0
Travis Job 7798.1
4 7798.4 (CI_FLAGS="-fkmsrcjlp 'Python contrib tests'") 06 Nov 2015 10:26PM UTC 0
Travis Job 7798.4
5 7798.5 (CI_FLAGS="-fkmsrjlpn -i 0/6 'Python integration tests for pants - shard 1'") 06 Nov 2015 10:28PM UTC 0
Travis Job 7798.5
6 7798.6 (CI_FLAGS="-fkmsrjlpn -i 1/6 'Python integration tests for pants - shard 2'") 06 Nov 2015 10:26PM UTC 0
Travis Job 7798.6
7 7798.7 (CI_FLAGS="-fkmsrjlpn -i 2/6 'Python integration tests for pants - shard 3'") 06 Nov 2015 10:26PM UTC 0
Travis Job 7798.7
8 7798.8 (CI_FLAGS="-fkmsrjlpn -i 3/6 'Python integration tests for pants - shard 4'") 06 Nov 2015 10:31PM UTC 0
Travis Job 7798.8
9 7798.9 (CI_FLAGS="-fkmsrjlpn -i 4/6 'Python integration tests for pants - shard 5'") 06 Nov 2015 10:33PM UTC 0
Travis Job 7798.9
10 7798.10 (CI_FLAGS="-fkmsrjlpn -i 5/6 'Python integration tests for pants - shard 6'") 06 Nov 2015 10:34PM UTC 0
Travis Job 7798.10
Source Files on build 7798
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #7798
  • 38e33f2a on github
  • Prev Build on master (#7797)
  • Next Build on master (#7799)
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