cool-easter-32542
03/22/2023, 8:40 PM=================================== FAILURES ===================================
410
______________________________ test_coverage[3.7] ______________________________
411
412
major_minor_interpreter = '3.7'
413
414
@pytest.mark.platform_specific_behavior
415
@pytest.mark.parametrize(
416
"major_minor_interpreter",
417
all_major_minor_python_versions(CoverageSubsystem.default_interpreter_constraints),
418
)
419
def test_coverage(major_minor_interpreter: str) -> None:
420
with setup_tmpdir(SOURCES) as tmpdir:
421
result = run_coverage(
422
> tmpdir, f"--coverage-py-interpreter-constraints=['=={major_minor_interpreter}.*']"
423
)
424
425
src/python/pants/backend/python/goals/coverage_py_integration_test.py:149:
426
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
427
src/python/pants/backend/python/goals/coverage_py_integration_test.py:133: in run_coverage
428
result.assert_success()
429
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
430
431
self = PantsResult(command=['/Users/runner/.cache/pants/named_caches/pex_root/venvs/short/dbaee045/bin/python3.7', '-m', 'pan...e/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/process-executionEc4Npc/.pants.d/tmp/tmp93hpugmw.pants.d', pid=30151)
432
msg = None
433
434
def assert_success(self, msg: Optional[str] = None) -> None:
435
> assert self.exit_code == 0, self._format_unexpected_error_code_msg(msg)
436
E AssertionError: /Users/runner/.cache/pants/named_caches/pex_root/venvs/short/dbaee045/bin/python3.7 -m pants --no-pantsrc --pants-workdir=/private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/process-executionEc4Npc/.pants.d/tmp/tmp93hpugmw.pants.d --print-stacktrace=True --pantsd --pants-config-files=[] --backend-packages=pants.backend.python test --use-coverage tmpz05q4306/src/python/project:tests tmpz05q4306/tests/python/project_test:multiply tmpz05q4306/tests/python/project_test:arithmetic tmpz05q4306/tests/python/project_test/no_src --source-root-patterns=['/tmpz05q4306/src/python', 'tmpz05q4306/tests/python', 'tmpz05q4306/foo'] --coverage-py-interpreter-constraints=['==3.7.*']
437
E exit_code: 1
438
E stdout:
439
E
440
E stderr:
441
E 18:39:13.73 [INFO] waiting for pantsd to start...
442
E 18:39:18.25 [INFO] waiting for pantsd to start...
443
E 18:39:23.31 [INFO] waiting for pantsd to start...
444
E 18:39:28.72 [INFO] waiting for pantsd to start...
445
E 18:39:33.30 [INFO] waiting for pantsd to start...
446
E 18:39:39.16 [INFO] waiting for pantsd to start...
447
E 18:39:43.28 [INFO] waiting for pantsd to start...
448
E 18:39:56.63 [INFO] waiting for pantsd to start...
449
E 18:39:56.90 [INFO] waiting for pantsd to start...
450
E 18:39:58.42 [INFO] waiting for pantsd to start...
451
E 18:40:03.78 [INFO] waiting for pantsd to start...
452
E exceeded timeout of 60 seconds while waiting for pantsd to start
453
E Traceback (most recent call last):
454
E File "/private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/process-executionEc4Npc/src/python/pants/bin/pants_loader.py", line 95, in run_default_entrypoint
455
E exit_code = runner.run(start_time)
456
E File "/private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/process-executionEc4Npc/src/python/pants/bin/pants_runner.py", line 86, in run
457
E return remote_runner.run()
458
E File "/private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/process-executionEc4Npc/src/python/pants/bin/remote_pants_runner.py", line 96, in run
459
E pantsd_handle = self._client.maybe_launch()
460
E File "/private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/process-executionEc4Npc/src/python/pants/pantsd/pants_daemon_client.py", line 38, in maybe_launch
461
E return self._launch()
462
E File "/private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/process-executionEc4Npc/src/python/pants/pantsd/pants_daemon_client.py", line 62, in _launch
463
E pantsd_pid = self.await_pid(60)
464
E File "/private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/process-executionEc4Npc/src/python/pants/pantsd/process_manager.py", line 314, in await_pid
465
E caster=int,
466
E File "/private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/process-executionEc4Npc/src/python/pants/pantsd/process_manager.py", line 230, in await_metadata_by_name
467
E self._wait_for_file(file_path, ongoing_msg, completed_msg, timeout=timeout)
468
E File "/private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/process-executionEc4Npc/src/python/pants/pantsd/process_manager.py", line 176, in _wait_for_file
469
E return cls._deadline_until(file_waiter, ongoing_msg, completed_msg, timeout=timeout)
470
E File "/private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/process-executionEc4Npc/src/python/pants/pantsd/process_manager.py", line 150, in _deadline_until
471
E timeout, ongoing_msg
472
E pants.pantsd.process_manager.ProcessManager.Timeout: exceeded timeout of 60 seconds while waiting for pantsd to start
473
E assert 1 == 0
474
E +1
475
E -0
476
477
src/python/pants/testutil/pants_integration_test.py:53: AssertionError
478
----------------------------- Captured stdout call -----------------------------
479
pants.log +++
480
pants.log ---
481
=============================== warnings summary ===============================
482
src/python/pants/backend/python/goals/coverage_py_integration_test.py:141
483
/private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/process-executionEc4Npc/src/python/pants/backend/python/goals/coverage_py_integration_test.py:141: PytestUnknownMarkWarning: Unknown pytest.mark.platform_specific_behavior - is this a typo? You can register custom marks to avoid this warning - for details, see <https://docs.pytest.org/en/stable/mark.html>
484
@pytest.mark.platform_specific_behavior
485
486
-- Docs: <https://docs.pytest.org/en/stable/warnings.html>
487
- generated xml file: /private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/process-executionEc4Npc/src.python.pants.backend.python.goals.coverage_py_integration_test.py.coverage_py_integration.xml -
488
489
490
=========================== short test summary info ============================
491
FAILED src/python/pants/backend/python/goals/coverage_py_integration_test.py::test_coverage[3.7]
492
======= 1 failed, 3 passed, 6 deselected, 1 warning in 266.63s (0:04:26) =======
493
pantsbuild/pantscool-easter-32542
03/22/2023, 8:40 PM