boundless-salesclerk-97604
05/06/2021, 5:27 PMException caught: (pants.engine.internals.scheduler.ExecutionError)
after it logs Completed
. It also errors with ProcessExecutionFailure: Process 'Resolving 14 requirements … failed with exit code 1.
and exited with -9 and STDERR: None
• Just after running ./pants package
it randomly crashes with Exception: Failed to begin read transaction: Resource temporarily unavailable
- I check ulimits for my docker daemon and most values are unlimited so I’m not sure what other resources could be starved
thanks!plain-sundown-25537
05/06/2021, 6:15 PMhundreds-father-404
05/06/2021, 6:20 PMpantsd_max_memory
might help: https://www.pantsbuild.org/docs/reference-global#section-pantsd-max-memory-usageboundless-salesclerk-97604
05/07/2021, 11:17 AM$ ./pants --version
12:19:24.85 [DEBUG] File handle limit is: 100000
12:19:25.16 [DEBUG] specs are: Specs(address_specs=AddressSpecs(literals=(), globs=(), filter_by_global_options=True), filesystem_specs=FilesystemSpecs(includes=(), ignores=()))
12:19:25.16 [DEBUG] changed_options are: ChangedOptions(since=None, diffspec=None, dependees=<DependeesOption.NONE: 'none'>)
2.2.0
$ ./pants --print-stacktrace lint ::
12:19:26.72 [DEBUG] File handle limit is: 100000
12:19:27.04 [DEBUG] specs are: Specs(address_specs=AddressSpecs(literals=(), globs=(DescendantAddresses(directory=''),), filter_by_global_options=True), filesystem_specs=FilesystemSpecs(includes=(), ignores=()))
12:19:27.04 [DEBUG] changed_options are: ChangedOptions(since=None, diffspec=None, dependees=<DependeesOption.NONE: 'none'>)
12:19:27.04 [DEBUG] Launching 1 roots (poll=false).
12:19:27.04 [DEBUG] computed 1 nodes in 0.001046 seconds. there are 3 total nodes.
12:19:27.04 [DEBUG] requesting <class 'pants.core.goals.lint.Lint'> to satisfy execution of `lint` goal
12:19:27.04 [DEBUG] Launching 1 roots (poll=false).
12:19:27.04 [DEBUG] Starting: `lint` goal
12:19:27.05 [DEBUG] Starting: Find targets from input specs
12:19:27.12 [DEBUG] Completed: Find targets from input specs
12:19:27.12 [DEBUG] Completed: `lint` goal
12:19:27.12 [DEBUG] computed 1 nodes in 0.078090 seconds. there are 554 total nodes.
12:19:27.12 [ERROR] Exception caught: (pants.engine.internals.scheduler.ExecutionError)
File "/cicache/.cache/pants/setup/bootstrap-Linux-x86_64/2.2.0_py37/lib/python3.7/site-packages/pants/bin/local_pants_runner.py", line 276, in run
engine_result = self._run_v2(goals)
File "/cicache/.cache/pants/setup/bootstrap-Linux-x86_64/2.2.0_py37/lib/python3.7/site-packages/pants/bin/local_pants_runner.py", line 190, in _run_v2
return self._maybe_run_v2_body(goals, poll=False)
File "/cicache/.cache/pants/setup/bootstrap-Linux-x86_64/2.2.0_py37/lib/python3.7/site-packages/pants/bin/local_pants_runner.py", line 212, in _maybe_run_v2_body
poll_delay=(0.1 if poll else None),
File "/cicache/.cache/pants/setup/bootstrap-Linux-x86_64/2.2.0_py37/lib/python3.7/site-packages/pants/init/engine_initializer.py", line 132, in run_goal_rules
goal_product, params, poll=poll, poll_delay=poll_delay
File "/cicache/.cache/pants/setup/bootstrap-Linux-x86_64/2.2.0_py37/lib/python3.7/site-packages/pants/engine/internals/scheduler.py", line 563, in run_goal_rule
self._raise_on_error([t for _, t in throws])
File "/cicache/.cache/pants/setup/bootstrap-Linux-x86_64/2.2.0_py37/lib/python3.7/site-packages/pants/engine/internals/scheduler.py", line 527, in _raise_on_error
wrapped_exceptions=tuple(t.exc for t in throws),
Exception message: 1 Exception encountered:
Engine traceback:
in select
in pants.core.goals.lint.lint
in pants.engine.internals.graph.resolve_targets
in pants.engine.internals.graph.resolve_unexpanded_targets
in pants.engine.internals.graph.resolve_addresses_from_specs
in pants.engine.internals.build_files.addresses_from_address_specs
in pants.engine.internals.build_files.parse_address_family (src/code/services/data)
Traceback (no traceback):
<pants native internals>
Exception: Failed to begin read transaction: Resource temporarily unavailable
Traceback (most recent call last):
File "/cicache/.cache/pants/setup/bootstrap-Linux-x86_64/2.2.0_py37/lib/python3.7/site-packages/pants/bin/local_pants_runner.py", line 276, in run
engine_result = self._run_v2(goals)
File "/cicache/.cache/pants/setup/bootstrap-Linux-x86_64/2.2.0_py37/lib/python3.7/site-packages/pants/bin/local_pants_runner.py", line 190, in _run_v2
return self._maybe_run_v2_body(goals, poll=False)
File "/cicache/.cache/pants/setup/bootstrap-Linux-x86_64/2.2.0_py37/lib/python3.7/site-packages/pants/bin/local_pants_runner.py", line 212, in _maybe_run_v2_body
poll_delay=(0.1 if poll else None),
File "/cicache/.cache/pants/setup/bootstrap-Linux-x86_64/2.2.0_py37/lib/python3.7/site-packages/pants/init/engine_initializer.py", line 132, in run_goal_rules
goal_product, params, poll=poll, poll_delay=poll_delay
File "/cicache/.cache/pants/setup/bootstrap-Linux-x86_64/2.2.0_py37/lib/python3.7/site-packages/pants/engine/internals/scheduler.py", line 563, in run_goal_rule
self._raise_on_error([t for _, t in throws])
File "/cicache/.cache/pants/setup/bootstrap-Linux-x86_64/2.2.0_py37/lib/python3.7/site-packages/pants/engine/internals/scheduler.py", line 527, in _raise_on_error
wrapped_exceptions=tuple(t.exc for t in throws),
pants.engine.internals.scheduler.ExecutionError: 1 Exception encountered:
Engine traceback:
in select
in pants.core.goals.lint.lint
in pants.engine.internals.graph.resolve_targets
in pants.engine.internals.graph.resolve_unexpanded_targets
in pants.engine.internals.graph.resolve_addresses_from_specs
in pants.engine.internals.build_files.addresses_from_address_specs
in pants.engine.internals.build_files.parse_address_family (src/code/services/data)
Traceback (no traceback):
<pants native internals>
Exception: Failed to begin read transaction: Resource temporarily unavailable