Closed Bug 1607625 Opened 4 years ago Closed 4 years ago

Intermittent 1:05.54 testing/mozbase/mozprocess/tests/test_kill.py::ProcTestKill::test_process_kill_with_sigint_if_needed TEST-UNEXPECTED-FAIL

Categories

(Testing :: Mozbase, defect, P5)

Version 3
defect

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: intermittent-bug-filer, Unassigned)

Details

(Keywords: intermittent-failure)

Filed by: ncsoregi [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer.html#?job_id=283910606&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/PrsbP5zFTW6MFWNu3fGZAQ/runs/0/artifacts/public/logs/live_backing.log


[task 2020-01-07T22:47:56.876Z] 1:05.53 ============================= test session starts ==============================
[task 2020-01-07T22:47:56.882Z] 1:05.54 platform linux -- Python 3.6.9, pytest-3.6.2, py-1.5.4, pluggy-0.6.0 -- /builds/worker/checkouts/gecko/obj-x86_64-pc-linux-gnu/_virtualenvs/gecko-QUm8IANb-3/bin/python
[task 2020-01-07T22:47:56.882Z] 1:05.54 rootdir: /builds/worker/checkouts/gecko, inifile: /builds/worker/checkouts/gecko/config/mozunit/mozunit/pytest.ini
[task 2020-01-07T22:47:56.883Z] 1:05.54 collecting ... collected 8 items
[task 2020-01-07T22:47:56.883Z] 1:05.54
[task 2020-01-07T22:47:56.883Z] 1:05.54 testing/mozbase/mozprocess/tests/test_kill.py::ProcTestKill::test_kill_before_run PASSED
[task 2020-01-07T22:47:56.883Z] 1:05.54 testing/mozbase/mozprocess/tests/test_kill.py::ProcTestKill::test_process_kill PASSED
[task 2020-01-07T22:47:56.883Z] 1:05.54 testing/mozbase/mozprocess/tests/test_kill.py::ProcTestKill::test_process_kill_broad PASSED
[task 2020-01-07T22:47:56.883Z] 1:05.54 testing/mozbase/mozprocess/tests/test_kill.py::ProcTestKill::test_process_kill_broad_delayed PASSED
[task 2020-01-07T22:47:56.883Z] 1:05.54 testing/mozbase/mozprocess/tests/test_kill.py::ProcTestKill::test_process_kill_deep PASSED
[task 2020-01-07T22:47:56.883Z] 1:05.54 testing/mozbase/mozprocess/tests/test_kill.py::ProcTestKill::test_process_kill_deep_wait PASSED
[task 2020-01-07T22:47:56.883Z] 1:05.54 testing/mozbase/mozprocess/tests/test_kill.py::ProcTestKill::test_process_kill_with_sigint_if_needed TEST-UNEXPECTED-FAIL
[task 2020-01-07T22:47:56.884Z] 1:05.54 testing/mozbase/mozprocess/tests/test_kill.py::ProcTestKill::test_process_kill_with_sigterm PASSED
[task 2020-01-07T22:47:56.884Z] 1:05.54
[task 2020-01-07T22:47:56.884Z] 1:05.54 =================================== FAILURES ===================================
[task 2020-01-07T22:47:56.884Z] 1:05.54 _____________ ProcTestKill.test_process_kill_with_sigint_if_needed _____________
[task 2020-01-07T22:47:56.884Z] 1:05.54
[task 2020-01-07T22:47:56.884Z] 1:05.54 self = <test_kill.ProcTestKill testMethod=test_process_kill_with_sigint_if_needed>
[task 2020-01-07T22:47:56.884Z] 1:05.54
[task 2020-01-07T22:47:56.885Z] 1:05.54 @unittest.skipUnless(processhandler.isPosix, "posix only")
[task 2020-01-07T22:47:56.885Z] 1:05.54 def test_process_kill_with_sigint_if_needed(self):
[task 2020-01-07T22:47:56.885Z] 1:05.54 script = os.path.join(here, 'scripts', 'infinite_loop.py')
[task 2020-01-07T22:47:56.885Z] 1:05.54 p = processhandler.ProcessHandler([self.python, script, 'deadlock'])
[task 2020-01-07T22:47:56.885Z] 1:05.54
[task 2020-01-07T22:47:56.886Z] 1:05.54 p.run()
[task 2020-01-07T22:47:56.886Z] 1:05.54 time.sleep(1)
[task 2020-01-07T22:47:56.886Z] 1:05.54 p.kill()
[task 2020-01-07T22:47:56.886Z] 1:05.54
[task 2020-01-07T22:47:56.886Z] 1:05.54 > self.assertEquals(p.proc.returncode, -signal.SIGKILL)
[task 2020-01-07T22:47:56.887Z] 1:05.54 E AssertionError: -15 != -9
[task 2020-01-07T22:47:56.887Z] 1:05.54
[task 2020-01-07T22:47:56.887Z] 1:05.54 testing/mozbase/mozprocess/tests/test_kill.py:124: AssertionError
[task 2020-01-07T22:47:56.887Z] 1:05.54 ====================== 1 failed, 7 passed in 7.26 seconds ======================

Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.