Fixup for running the invalidation report when clean-all is on the command line

Review Request #3503 - Created Feb. 26, 2016 and submitted

Information
Eric Ayers
pants
zundel/invalidation-report-mkdir
2972
b421022...
Reviewers
pants-reviews
benjyw, gmalmquist, nhoward_tw, stuhood

While trying to debug a problem with invalidation, I found that if you include clean-all along with other goals you get an exception at the end of the run trying to write out the invalidation report.

  File "/Users/zundel/.pex/install/pantsbuild.pants-0.0.73_square_20160221_01-py2-none-any.whl.5aaec27967503e91d1f20aa52b24535514274b68/pantsbuild.pants-0.0.73_square_20160221_01-py2-none-any.whl/pants/reporting/invalidation_report.py", line 105, in report

    with open(filename, 'w') as writer:

Exception message: [Errno 2] No such file or directory: u'/Users/pantsuser/Development/java/.pants.d/reports/pants_run_2016_02_25_21_43_41_465_ef4f437422af4281ae0a5388d0558afc/invalidation-report.csv'

Updated integration tests
CI in progress at https://travis-ci.org/pantsbuild/pants/builds/112078098

Issues

  • 1
  • 3
  • 0
  • 4
Description From Last Updated
Looks like you don't need this import? Benjy Weinberger Benjy Weinberger
Eric Ayers
Eric Ayers
Nick Howard (Twitter)
Stu Hood
Eric Ayers
Eric Ayers
Review request changed

Status: Closed (submitted)

Change Summary:

Thanks Stu & Nick. Commit d108663

Benjy Weinberger

   

Looks like you don't need this import?

Loading...