Closed Bug 1540656 Opened 4 years ago Closed 4 years ago

Modernize test_trr.js

Categories

(Core :: Networking: DNS, enhancement, P2)

enhancement

Tracking

()

RESOLVED FIXED
mozilla68
Tracking Status
firefox68 --- fixed

People

(Reporter: valentin, Assigned: valentin)

References

Details

(Whiteboard: [necko-triaged][trr])

Attachments

(3 files)

No description provided.

These modules are MIT licensed and they're to be used in xpcshell-tests for TRR.
They allow us to make moz-http2.js act like a true DoH server - more specifically to answer DNS queries that have actually been asked, not just a dumb character buffer.

Depends on D25671

Pushed by valentin.gosu@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/408104f784ef
Modernize test_trr.js r=kershaw
https://hg.mozilla.org/integration/autoland/rev/631a1aae6fb0
Use dns-packet node module in test_trr.js r=dragana
https://hg.mozilla.org/integration/autoland/rev/70a90b960aef
Add dns-packet and node-ip modules r=dragana

Push with failures: https://treeherder.mozilla.org/#/jobs?repo=autoland&resultStatus=testfailed%2Cbusted%2Cexception&revision=70a90b960aef224ca2b85718e534e7a9b8c1e5f1&selectedJob=238092950

Failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=238092950&repo=autoland&lineNumber=2026

Backout link: https://hg.mozilla.org/integration/autoland/rev/9ce75ad03d72e70dce19997f4822bbc8dc5522f3

[task 2019-04-04T10:16:01.663Z] 10:16:01 INFO - TEST-PASS | services/settings/test/unit/test_remote_settings.js | took 11586ms
[task 2019-04-04T10:16:01.704Z] 10:16:01 INFO - TEST-START | netwerk/test/unit/test_immutable.js
[task 2019-04-04T10:16:02.038Z] 10:16:02 WARNING - TEST-UNEXPECTED-FAIL | netwerk/test/unit/test_immutable.js | xpcshell return code: 0
[task 2019-04-04T10:16:02.038Z] 10:16:02 INFO - TEST-INFO took 333ms
[task 2019-04-04T10:16:02.039Z] 10:16:02 INFO - >>>>>>>
[task 2019-04-04T10:16:02.040Z] 10:16:02 INFO - (xpcshell/head.js) | test MAIN run_test pending (1)
[task 2019-04-04T10:16:02.040Z] 10:16:02 INFO - TEST-PASS | netwerk/test/unit/test_immutable.js | run_test - [run_test : 12] "" != null
[task 2019-04-04T10:16:02.040Z] 10:16:02 WARNING - TEST-UNEXPECTED-FAIL | netwerk/test/unit/test_immutable.js | run_test - [run_test : 13] "" != ""
[task 2019-04-04T10:16:02.041Z] 10:16:02 INFO - /builds/worker/workspace/build/tests/xpcshell/tests/netwerk/test/unit/test_immutable.js:run_test:13
[task 2019-04-04T10:16:02.041Z] 10:16:02 INFO - /builds/worker/workspace/build/tests/xpcshell/head.js:_execute_test:523
[task 2019-04-04T10:16:02.041Z] 10:16:02 INFO - -e:null:1
[task 2019-04-04T10:16:02.042Z] 10:16:02 INFO - exiting test
[task 2019-04-04T10:16:02.042Z] 10:16:02 INFO - "CONSOLE_MESSAGE: (info) No chrome package registered for chrome://branding/locale/brand.properties"
[task 2019-04-04T10:16:02.042Z] 10:16:02 INFO - <<<<<<<
[task 2019-04-04T10:16:02.058Z] 10:16:02 INFO - TEST-START | netwerk/test/unit/test_http2.js

Flags: needinfo?(valentin.gosu)
Pushed by valentin.gosu@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/9a8cb77878b2
Modernize test_trr.js r=kershaw
https://hg.mozilla.org/integration/autoland/rev/69821b9a033e
Add dns-packet and node-ip modules r=dragana
See Also: → 1465504
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla68

Need to fix and land the last patch :)

Status: RESOLVED → REOPENED
Flags: needinfo?(valentin.gosu)
Resolution: FIXED → ---
Pushed by valentin.gosu@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/471b2063c817
Use dns-packet node module in test_trr.js r=dragana
Depends on: 1543624
Flags: needinfo?(valentin.gosu)
Pushed by valentin.gosu@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/76a573b6acf4
Use dns-packet node module in test_trr.js r=dragana
Status: REOPENED → RESOLVED
Closed: 4 years ago4 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.