Closed Bug 1695447 Opened 5 years ago Closed 3 years ago

Intermittent toolkit/components/terminator/tests/xpcshell/test_terminator_record.js | test_record - [test_record : 122] Duration is reasonable - false == true

Categories

(Toolkit :: Async Tooling, defect, P5)

defect

Tracking

()

RESOLVED DUPLICATE of bug 1760094
Tracking Status
firefox-esr78 --- unaffected
firefox86 --- unaffected
firefox87 --- unaffected
firefox88 --- fix-optional

People

(Reporter: intermittent-bug-filer, Unassigned)

References

(Regression)

Details

(Keywords: intermittent-failure, regression)

Filed by: cbrindusan [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=331484171&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/cjm_W6CMStCWv6Nq9uzt6w/runs/0/artifacts/public/logs/live_backing.log
Reftest URL: https://hg.mozilla.org/mozilla-central/raw-file/tip/layout/tools/reftest/reftest-analyzer.xhtml#logurl=https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/cjm_W6CMStCWv6Nq9uzt6w/runs/0/artifacts/public/logs/live_backing.log&only_show_unexpected=1


[task 2021-02-27T15:22:00.895Z] 15:22:00     INFO -  TEST-START | toolkit/components/terminator/tests/xpcshell/test_terminator_record.js
[task 2021-02-27T15:22:03.526Z] 15:22:03  WARNING -  TEST-UNEXPECTED-FAIL | toolkit/components/terminator/tests/xpcshell/test_terminator_record.js | xpcshell return code: 0
[task 2021-02-27T15:22:03.527Z] 15:22:03     INFO -  TEST-INFO took 2632ms
[task 2021-02-27T15:22:03.528Z] 15:22:03     INFO -  >>>>>>>
[task 2021-02-27T15:22:03.528Z] 15:22:03     INFO -  PID 8292 | *** You are running in chaos test mode. See ChaosMode.h. ***
[task 2021-02-27T15:22:03.529Z] 15:22:03     INFO -  (xpcshell/head.js) | test MAIN run_test pending (1)
[task 2021-02-27T15:22:03.529Z] 15:22:03     INFO -  (xpcshell/head.js) | test run_next_test 0 pending (2)
[task 2021-02-27T15:22:03.529Z] 15:22:03     INFO -  (xpcshell/head.js) | test MAIN run_test finished (2)
[task 2021-02-27T15:22:03.530Z] 15:22:03     INFO -  running event loop
[task 2021-02-27T15:22:03.530Z] 15:22:03     INFO -  toolkit/components/terminator/tests/xpcshell/test_terminator_record.js | Starting init
[task 2021-02-27T15:22:03.531Z] 15:22:03     INFO -  (xpcshell/head.js) | test init pending (2)
[task 2021-02-27T15:22:03.532Z] 15:22:03     INFO -  "Initializing the Terminator"
[task 2021-02-27T15:22:03.533Z] 15:22:03     INFO -  (xpcshell/head.js) | test run_next_test 0 finished (2)
[task 2021-02-27T15:22:03.534Z] 15:22:03     INFO -  (xpcshell/head.js) | test run_next_test 1 pending (2)
[task 2021-02-27T15:22:03.534Z] 15:22:03     INFO -  (xpcshell/head.js) | test init finished (2)
[task 2021-02-27T15:22:03.534Z] 15:22:03     INFO -  toolkit/components/terminator/tests/xpcshell/test_terminator_record.js | Starting test_record
[task 2021-02-27T15:22:03.535Z] 15:22:03     INFO -  (xpcshell/head.js) | test test_record pending (2)
[task 2021-02-27T15:22:03.535Z] 15:22:03     INFO -  "Starting shutdown"
[task 2021-02-27T15:22:03.535Z] 15:22:03     INFO -  (xpcshell/head.js) | test run_next_test 1 finished (2)
[task 2021-02-27T15:22:03.536Z] 15:22:03     INFO -  "Moving to next phase"
[task 2021-02-27T15:22:03.536Z] 15:22:03     INFO -  "Waiting for file creation: /tmp/xpc-profile-59N_g9/ShutdownDuration.json"
[task 2021-02-27T15:22:03.538Z] 15:22:03     INFO -  "The file has been created"
[task 2021-02-27T15:22:03.538Z] 15:22:03     INFO -  "{"profile-change-teardown": 2, "profile-before-change": 0}"
[task 2021-02-27T15:22:03.539Z] 15:22:03     INFO -  TEST-PASS | toolkit/components/terminator/tests/xpcshell/test_terminator_record.js | test_record - [test_record : 78] The file contains the expected key - true == true
[task 2021-02-27T15:22:03.539Z] 15:22:03     INFO -  TEST-PASS | toolkit/components/terminator/tests/xpcshell/test_terminator_record.js | test_record - [test_record : 80] "number" == "number"
[task 2021-02-27T15:22:03.539Z] 15:22:03     INFO -  TEST-PASS | toolkit/components/terminator/tests/xpcshell/test_terminator_record.js | test_record - [test_record : 81] Duration is a non-negative number - true == true
[task 2021-02-27T15:22:03.539Z] 15:22:03     INFO -  TEST-PASS | toolkit/components/terminator/tests/xpcshell/test_terminator_record.js | test_record - [test_record : 82] Duration is reasonable - true == true
[task 2021-02-27T15:22:03.540Z] 15:22:03     INFO -  TEST-PASS | toolkit/components/terminator/tests/xpcshell/test_terminator_record.js | test_record - [test_record : 87] Data does not contain other durations - 2 == 2
[task 2021-02-27T15:22:03.540Z] 15:22:03     INFO -  "Cleaning up and moving to next phase"
[task 2021-02-27T15:22:03.540Z] 15:22:03     INFO -  "Waiting at least one tick"
[task 2021-02-27T15:22:03.540Z] 15:22:03     INFO -  "Waiting for file creation: /tmp/xpc-profile-59N_g9/ShutdownDuration.json"
[task 2021-02-27T15:22:03.540Z] 15:22:03     INFO -  "The file has been created"
[task 2021-02-27T15:22:03.541Z] 15:22:03     INFO -  "{"profile-change-teardown": 2, "profile-before-change": 23, "profile-before-change-qm": 0}"
[task 2021-02-27T15:22:03.541Z] 15:22:03     INFO -  TEST-PASS | toolkit/components/terminator/tests/xpcshell/test_terminator_record.js | test_record - [test_record : 106] The file contains the expected keys - "profile-before-change, profile-before-change-qm, profile-change-teardown" == "profile-before-change, profile-before-change-qm, profile-change-teardown"
[task 2021-02-27T15:22:03.541Z] 15:22:03     INFO -  TEST-PASS | toolkit/components/terminator/tests/xpcshell/test_terminator_record.js | test_record - [test_record : 113] Duration of phase 0 hasn't changed - 2 == 2
[task 2021-02-27T15:22:03.541Z] 15:22:03     INFO -  TEST-PASS | toolkit/components/terminator/tests/xpcshell/test_terminator_record.js | test_record - [test_record : 115] "number" == "number"
[task 2021-02-27T15:22:03.542Z] 15:22:03     INFO -  TEST-PASS | toolkit/components/terminator/tests/xpcshell/test_terminator_record.js | test_record - [test_record : 118] We have waited at least 10 ticks - true == true
[task 2021-02-27T15:22:03.542Z] 15:22:03  WARNING -  TEST-UNEXPECTED-FAIL | toolkit/components/terminator/tests/xpcshell/test_terminator_record.js | test_record - [test_record : 122] Duration is reasonable - false == true```
Keywords: regression
Regressed by: 1689953
Summary: Intermittent [TV] toolkit/components/terminator/tests/xpcshell/test_terminator_record.js | test_record - [test_record : 122] Duration is reasonable - false == true → Intermittent toolkit/components/terminator/tests/xpcshell/test_terminator_record.js | test_record - [test_record : 122] Duration is reasonable - false == true
Has Regression Range: --- → yes

OK, test_terminator_record.js is still very much assuming that ticks can be converted into wall-clock quite accurately. We probably need to relax that test.

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