fancy-motherboard-24956
03/04/2020, 5:16 PM12:12:58 [INFO] Tests failed: contrib/awslambda/python/tests/python/pants_test/contrib/awslambda/python
12:13:16 [INFO] Tests failed: tests/python/pants_test/backend/python/tasks:python_repl_integration
12:13:24 [INFO] Tests failed: contrib/go/tests/python/pants_test/contrib/go/subsystems:integration
12:13:30 [INFO] Tests failed: tests/python/pants_test/projects:python_testprojects_integration
12:14:26 [INFO] Tests failed: tests/python/pants_test/backend/python/tasks:pytest_run_integration
12:14:57 [INFO] Tests failed: tests/python/pants_test/backend/python/tasks:python_run_integration
12:15:00 [INFO] Tests failed: tests/python/pants_test/core_tasks:substitute_target_aliases_integration
12:15:40 [INFO] Tests failed: tests/python/pants_test/backend/jvm/tasks:jvm_bundle_integration
(for instance https://travis-ci.com/pantsbuild/pants/jobs/293825763#L2946)
Running ./pants test
for any of these targets locally seems to be fine (although I had to ./pants clean-all
first, apparently due to some weird interaction between the PEX upgrade and caching).
Are we aware of what is causing this flakyness and do we know of any workaround. Alternatively, is there anything we could revert to make it easier again to contribute code to pants until the situation is improved?strong-garage-46607
03/04/2020, 9:07 PMbest-xylophone-4755
03/05/2020, 6:11 AM+ ./pants binary reaper/src/python/:main
[31mNo valid Python interpreter found. Pants requires Python 3.6+ to run.[0m
Build step 'Execute shell' marked build as failure
Finished: FAILURE
How do I fix this? By running it in a docker container with Python 3.6+ installed? Is there a way out without using docker? Thanks!hundreds-father-404
03/05/2020, 6:25 AMbest-xylophone-4755
03/05/2020, 8:18 AM./pants: line 72: /var/jenkins_home/Python3/bin/python3.7: cannot execute binary file: Exec format error
[31mInvalid Python interpreter version for /var/jenkins_home/Python3/bin/python3.7. Pants requires Python 3.6+ to run.[0m
Build step 'Execute shell' marked build as failure
Finished: FAILURE
best-xylophone-4755
03/05/2020, 8:56 AMaloof-angle-91616
03/05/2020, 5:57 PMpants.cache
v1 backend introduced, for example. i'd love to get this in by EOW.aloof-angle-91616
03/07/2020, 2:23 AMhappy-kitchen-89482
03/07/2020, 6:43 PMwide-energy-11069
03/08/2020, 7:57 AM[tw-mbp-yic pants ((6a81a2d...))]$ ./pants goals
Scrubbed PYTHONPATH=/Users/yic/workspace/pants/src/python: from the environment.
timestamp: 2020-03-07T23:55:25.870643
Exception caught: (builtins.TypeError)
File "/Users/yic/workspace/pants/src/python/pants/bin/pants_loader.py", line 98, in <module>
main()
File "/Users/yic/workspace/pants/src/python/pants/bin/pants_loader.py", line 94, in main
PantsLoader.run()
File "/Users/yic/workspace/pants/src/python/pants/bin/pants_loader.py", line 90, in run
cls.load_and_execute(entrypoint)
File "/Users/yic/workspace/pants/src/python/pants/bin/pants_loader.py", line 83, in load_and_execute
entrypoint_main()
File "/Users/yic/workspace/pants/src/python/pants/bin/pants_exe.py", line 32, in main
PantsRunner(start_time=start_time).run()
File "/Users/yic/workspace/pants/src/python/pants/bin/pants_runner.py", line 77, in run
options_bootstrapper = OptionsBootstrapper.create(env=self._env, args=self._args)
File "/Users/yic/workspace/pants/src/python/pants/option/options_bootstrapper.py", line 170, in create
initial_bootstrap_options = cls.parse_bootstrap_options(env, bargs, pre_bootstrap_config)
File "/Users/yic/workspace/pants/src/python/pants/option/options_bootstrapper.py", line 101, in parse_bootstrap_options
env=env, config=config, known_scope_infos=[GlobalOptions.get_scope_info()], args=args,
File "/Users/yic/workspace/pants/src/python/pants/option/options.py", line 127, in create
complete_known_scope_infos = cls.complete_scopes(known_scope_infos)
File "/Users/yic/workspace/pants/src/python/pants/option/options.py", line 101, in complete_scopes
for si in copy.copy(ret):
File "/Users/yic/workspace/pants/build-support/virtualenvs/Darwin/pants_dev_deps.py36.venv/lib/python3.6/copy.py", line 88, in copy
return copier(x)
Exception message: __copy__() takes 1 positional argument but 2 were given
Any quick fix?hundreds-father-404
03/08/2020, 2:30 PMwide-energy-11069
03/08/2020, 9:09 PM./pants goals
, let me see if that’s still the case after a git clean -fdxwide-energy-11069
03/08/2020, 9:12 PMhundreds-father-404
03/08/2020, 9:18 PMwide-energy-11069
03/08/2020, 9:19 PMwide-energy-11069
03/08/2020, 9:19 PMhundreds-father-404
03/08/2020, 9:19 PMwide-energy-11069
03/08/2020, 9:21 PMhundreds-father-404
03/08/2020, 9:22 PMwide-energy-11069
03/08/2020, 9:59 PMhundreds-father-404
03/08/2020, 10:06 PMpolite-garden-50641
03/09/2020, 4:41 PMpip -e ~/project/my-library-folder
but for pants.toml
backend_packages2.add
wide-energy-11069
03/10/2020, 6:15 AMwide-energy-11069
03/10/2020, 6:24 AMdiff --git a/BUILD.tools b/BUILD.tools
index ed7ddc1..88463c4 100644
--- a/BUILD.tools
+++ b/BUILD.tools
@@ -80,7 +80,8 @@ jar_library(
jar_library(
name='javac9',
jars = [
- jar(org='java', name='javac', rev='9+181-r4173-1'),
+ jar(org='java', name='javac', rev='9+181-r4173-1',
+ url='<https://raw.githubusercontent.com/toolchainlabs/binhost/master/java/javac/9+181-r4173-1/javac-9+181-r4173-1.jar>'),
],
)
hundreds-father-404
03/10/2020, 6:37 AMhappy-kitchen-89482
03/10/2020, 5:31 PMhappy-kitchen-89482
03/10/2020, 5:31 PMfresh-architect-74417
03/10/2020, 5:34 PM--print-exception-stacktrace
argument?happy-kitchen-89482
03/10/2020, 6:40 PMfresh-architect-74417
03/10/2020, 6:42 PM--print-exception-stacktrace
didn't print the dependency cycle in a clear way. However, I fixed the issue.