Created
April 14, 2016 21:37
-
-
Save mateor/f1db0ab00c306eca2d8aa5d1c1008349 to your computer and use it in GitHub Desktop.
PANTS_CONFIG_FILES repro
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mateo:pants mateo$ mv pants.ini renamed-pants.ini | |
mateo:pants mateo$ PANTS_CONFIG_FILES=renamed-pants.ini ./pants test contrib/scrooge:: | |
Exception caught: (<type 'exceptions.IOError'>) | |
File "/Users/mateo/dev/pants/src/python/pants/bin/pants_exe.py", line 50, in <module> | |
main() | |
File "/Users/mateo/dev/pants/src/python/pants/bin/pants_exe.py", line 44, in main | |
PantsRunner(exiter).run() | |
File "/Users/mateo/dev/pants/src/python/pants/bin/pants_runner.py", line 47, in run | |
global_bootstrap_options = options_bootstrapper.get_bootstrap_options().for_global_scope() | |
File "/Users/mateo/dev/pants/src/python/pants/option/options_bootstrapper.py", line 103, in get_bootstrap_options | |
pre_bootstrap_config = Config.load(configpaths) | |
File "/Users/mateo/dev/pants/src/python/pants/option/config.py", line 51, in load | |
with open(configpath, 'r') as ini: | |
Exception message: [Errno 2] No such file or directory: u'/Users/mateo/dev/pants/pants.ini' | |
mateo:pants mateo$ PANTS_CONFIG_FILES="['renamed-pants.ini']" ./pants test contrib/scrooge:: | |
21:30:09 00:00 [main] | |
See a report at: http://localhost:56470/run/pants_run_2016_04_14_21_30_09_869_4381e9d5ae294235b3367d62e1fa0570 | |
21:30:09 00:00 [setup] | |
21:30:09 00:00 [parse] | |
Executing tasks in goals: bootstrap -> imports -> unpack-jars -> deferred-sources -> gen -> jvm-platform-validate -> resolve -> resources -> compile -> test | |
21:30:10 00:01 [bootstrap] | |
21:30:10 00:01 [jar-dependency-management] | |
21:30:10 00:01 [bootstrap-jvm-tools] | |
21:30:10 00:01 [imports] | |
21:30:10 00:01 [ivy-imports] | |
21:30:10 00:01 [unpack-jars] | |
21:30:10 00:01 [unpack-jars] | |
21:30:10 00:01 [unpack-libs] | |
21:30:10 00:01 [deferred-sources] | |
21:30:10 00:01 [deferred-sources] | |
21:30:10 00:01 [gen] | |
21:30:10 00:01 [thrift] | |
21:30:10 00:01 [protoc] | |
21:30:10 00:01 [antlr] | |
21:30:10 00:01 [ragel] | |
21:30:10 00:01 [jaxb] | |
21:30:10 00:01 [wire] | |
21:30:10 00:01 [aapt] | |
21:30:10 00:01 [go-thrift] | |
21:30:10 00:01 [scrooge] | |
21:30:10 00:01 [spindle] | |
21:30:10 00:01 [jvm-platform-validate] | |
21:30:10 00:01 [jvm-platform-validate] | |
21:30:10 00:01 [resolve] | |
21:30:10 00:01 [ivy] | |
21:30:10 00:01 [go] | |
21:30:10 00:01 [scala-js-compile] | |
21:30:10 00:01 [scala-js-link] | |
21:30:10 00:01 [node] | |
21:30:10 00:01 [resources] | |
21:30:10 00:01 [prepare] | |
21:30:10 00:01 [services] | |
21:30:10 00:01 [compile] | |
21:30:10 00:01 [compile-jvm-prep-command] | |
21:30:10 00:01 [jvm_prep_command] | |
21:30:10 00:01 [compile-prep-command] | |
21:30:10 00:01 [compile] | |
21:30:10 00:01 [zinc] | |
21:30:10 00:01 [jvm-dep-check] | |
21:30:10 00:01 [checkstyle] | |
21:30:10 00:01 [scalastyle] | |
21:30:10 00:01 [cpp] | |
21:30:10 00:01 [go] | |
21:30:10 00:01 [gofmt] | |
21:30:10 00:01 [python-eval] | |
21:30:10 00:01 [pythonstyle] | |
21:30:10 00:01 [test] | |
21:30:10 00:01 [test-jvm-prep-command] | |
21:30:10 00:01 [jvm_prep_command] | |
21:30:10 00:01 [test-prep-command] | |
21:30:10 00:01 [test] | |
21:30:10 00:01 [pytest] | |
21:30:10 00:01 [run] | |
============== test session starts =============== | |
platform darwin -- Python 2.7.10 -- py-1.4.31 -- pytest-2.6.4 | |
plugins: cov, timeout | |
collected 20 items | |
contrib/scrooge/tests/python/pants_test/contrib/scrooge/tasks/test_thrift_linter.py . | |
contrib/scrooge/tests/python/pants_test/contrib/scrooge/tasks/test_java_thrift_library_fingerprint_strategy.py ... | |
contrib/scrooge/tests/python/pants_test/contrib/scrooge/tasks/test_scrooge_gen.py ... | |
contrib/scrooge/tests/python/pants_test/contrib/scrooge/tasks/test_thrift_util.py ... | |
contrib/scrooge/tests/python/pants_test/contrib/scrooge/tasks/test_thrift_linter_integration.py .......... | |
=========== 20 passed in 25.70 seconds =========== | |
21:30:36 00:27 [junit] | |
21:30:36 00:27 [go] | |
21:30:36 00:27 [node] | |
21:30:36 00:27 [complete] | |
SUCCESS |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment