Closed Bug 1916979 Opened 5 months ago Closed 6 days ago

Intermittent testing/mozbase/mozprocess/tests/test_process_reader.py::TestProcessReader::test_timeout TEST-UNEXPECTED-FAIL

Categories

(Testing :: Mozbase, defect, P5)

defect

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: intermittent-bug-filer, Unassigned)

Details

(Keywords: intermittent-failure)

Filed by: tszentpeteri [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=473036220&repo=mozilla-central
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/NLTbYMA0Q0CXAmolTk9dlw/runs/0/artifacts/public/logs/live_backing.log


[task 2024-09-05T11:32:03.664Z] 
[task 2024-09-05T11:32:03.664Z] Tests Completed: 100%|██████████| 87/87 [01:06<00:00,  9.36s/Test]
[task 2024-09-05T11:32:03.664Z]                                                                   
[task 2024-09-05T11:32:03.664Z] /opt/worker/tasks/task_172553276771738/checkouts/gecko/testing/mozbase/mozprocess/tests/test_process_reader.py
[task 2024-09-05T11:32:03.664Z] ============================= test session starts ==============================
[task 2024-09-05T11:32:03.664Z] platform darwin -- Python 3.8.10, pytest-7.0.1, pluggy-0.13.1 -- /Users/cltbld/.mozbuild/srcdirs/gecko-eb8a38f30bf4/_virtualenvs/python-test/bin/python
[task 2024-09-05T11:32:03.665Z] rootdir: /opt/worker/tasks/task_172553276771738/checkouts/gecko, configfile: config/mozunit/mozunit/pytest.ini
[task 2024-09-05T11:32:03.665Z] plugins: mock-3.12.0
[task 2024-09-05T11:32:03.665Z] collecting ... collected 9 items
[task 2024-09-05T11:32:03.665Z] 
[task 2024-09-05T11:32:03.665Z] testing/mozbase/mozprocess/tests/test_process_reader.py::TestProcessReader::test_finished_callback PASSED
[task 2024-09-05T11:32:03.665Z] testing/mozbase/mozprocess/tests/test_process_reader.py::TestProcessReader::test_mixed_stdout_stderr PASSED
[task 2024-09-05T11:32:03.665Z] testing/mozbase/mozprocess/tests/test_process_reader.py::TestProcessReader::test_output_timeout PASSED
[task 2024-09-05T11:32:03.665Z] testing/mozbase/mozprocess/tests/test_process_reader.py::TestProcessReader::test_read_with_strange_eol PASSED
[task 2024-09-05T11:32:03.665Z] testing/mozbase/mozprocess/tests/test_process_reader.py::TestProcessReader::test_read_without_eol PASSED
[task 2024-09-05T11:32:03.665Z] testing/mozbase/mozprocess/tests/test_process_reader.py::TestProcessReader::test_stderr_callback PASSED
[task 2024-09-05T11:32:03.665Z] testing/mozbase/mozprocess/tests/test_process_reader.py::TestProcessReader::test_stdout_and_stderr_callbacks PASSED
[task 2024-09-05T11:32:03.665Z] testing/mozbase/mozprocess/tests/test_process_reader.py::TestProcessReader::test_stdout_callback PASSED
[task 2024-09-05T11:32:03.665Z] testing/mozbase/mozprocess/tests/test_process_reader.py::TestProcessReader::test_timeout TEST-UNEXPECTED-FAIL
[task 2024-09-05T11:32:03.665Z] 
[task 2024-09-05T11:32:03.665Z] =================================== FAILURES ===================================
[task 2024-09-05T11:32:03.665Z] ________________________ TestProcessReader.test_timeout ________________________
[task 2024-09-05T11:32:03.665Z] testing/mozbase/mozprocess/tests/test_process_reader.py:74: in test_timeout
[task 2024-09-05T11:32:03.665Z]     self.assertTrue(self.timeout)
[task 2024-09-05T11:32:03.665Z] E   AssertionError: False is not true
[task 2024-09-05T11:32:03.665Z] =============================== warnings summary ===============================
[task 2024-09-05T11:32:03.665Z] testing/mozbase/mozprocess/tests/test_process_reader.py::TestProcessReader::test_timeout
[task 2024-09-05T11:32:03.665Z]   /Users/cltbld/.mozbuild/srcdirs/gecko-eb8a38f30bf4/_virtualenvs/python-test/lib/python3.8/site-packages/_pytest/threadexception.py:73: PytestUnhandledThreadExceptionWarning: Exception in thread ProcessReader
[task 2024-09-05T11:32:03.665Z] 
[task 2024-09-05T11:32:03.665Z]   Traceback (most recent call last):
[task 2024-09-05T11:32:03.665Z]     File "/opt/worker/tasks/task_172553276771738/fetches/python/lib/python3.8/threading.py", line 932, in _bootstrap_inner
[task 2024-09-05T11:32:03.665Z]       self.run()
[task 2024-09-05T11:32:03.665Z]     File "/opt/worker/tasks/task_172553276771738/fetches/python/lib/python3.8/threading.py", line 870, in run
[task 2024-09-05T11:32:03.665Z]       self._target(*self._args, **self._kwargs)
[task 2024-09-05T11:32:03.665Z]     File "/opt/worker/tasks/task_172553276771738/checkouts/gecko/testing/mozbase/mozprocess/mozprocess/processhandler.py", line 1151, in _read
[task 2024-09-05T11:32:03.665Z]       for line, callback in iter(get_line, (b"", None)):
[task 2024-09-05T11:32:03.665Z]     File "/opt/worker/tasks/task_172553276771738/checkouts/gecko/testing/mozbase/mozprocess/mozprocess/processhandler.py", line 1145, in get_line
[task 2024-09-05T11:32:03.665Z]       return queue.get(timeout=queue_timeout)
[task 2024-09-05T11:32:03.666Z]     File "/opt/worker/tasks/task_172553276771738/fetches/python/lib/python3.8/queue.py", line 172, in get
[task 2024-09-05T11:32:03.666Z]       raise ValueError("'timeout' must be a non-negative number")
[task 2024-09-05T11:32:03.666Z]   ValueError: 'timeout' must be a non-negative number
[task 2024-09-05T11:32:03.666Z] 
[task 2024-09-05T11:32:03.666Z]     warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg))
[task 2024-09-05T11:32:03.666Z] 
[task 2024-09-05T11:32:03.666Z] -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
[task 2024-09-05T11:32:03.666Z] ==================== 1 failed, 8 passed, 1 warning in 0.95s ====================
[task 2024-09-05T11:32:03.666Z] 
[task 2024-09-05T11:32:03.666Z] 
[task 2024-09-05T11:32:03.666Z] Tests Completed: 100%|██████████| 87/87 [01:06<00:00,  1.32Test/s]Return code from mach python-test: 1
[task 2024-09-05T11:32:03.712Z] 
[taskcluster 2024-09-05T11:32:03.767Z]    Exit Code: 1
[taskcluster 2024-09-05T11:32:03.767Z]    User Time: 7m9.889764s
[taskcluster 2024-09-05T11:32:03.767Z]  Kernel Time: 6m14.680054s
[taskcluster 2024-09-05T11:32:03.767Z]    Wall Time: 3m35.596208s
[taskcluster 2024-09-05T11:32:03.767Z]       Result: FAILED
[taskcluster 2024-09-05T11:32:03.768Z] === Task Finished ===
[taskcluster 2024-09-05T11:32:03.768Z] Task Duration: 3m35.601735s
Status: NEW → RESOLVED
Closed: 4 months ago
Resolution: --- → INCOMPLETE
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
Status: REOPENED → RESOLVED
Closed: 4 months ago6 days ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.