Closed Bug 1808631 Opened 2 years ago Closed 2 years ago

The TTL of HTTPS RR could not be retrieved

Categories

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

Firefox 108
defect

Tracking

()

RESOLVED FIXED
110 Branch
Tracking Status
firefox110 --- fixed

People

(Reporter: fantasyfate, Assigned: valentin)

References

(Blocks 1 open bug)

Details

(Whiteboard: [necko-triaged])

Attachments

(1 file)

Steps to reproduce:

Enable DNS-over-HTTPS, visit https://cloudflare-quic.com/, and observe TTL from Expires (Seconds) in "about:networking#dns", which is not very clear to be determined but IP addresses from HTTPS RR are listed in ascending order.

Actual results:

The TTL of HTTPS RR is 60 seconds.

Expected results:

The initial TTL of "cloudflare-quic.com" HTTPS RR is 300 seconds, so it is highly unlikely to get 60 seconds TTL every time, and controlled by "network.dnsCacheExpiration" in "about:config". Moreover, this bug is directly related to "https://bugzilla.mozilla.org/show_bug.cgi?id=1743995".

Assignee: nobody → valentin.gosu
Blocks: doh
Severity: -- → S3
Status: UNCONFIRMED → NEW
Ever confirmed: true
Priority: -- → P2
Whiteboard: [necko-triaged]
Pushed by valentin.gosu@gmail.com: https://hg.mozilla.org/integration/autoland/rev/0d4cb3529fa8 Make sure TRR HTTPS IPhints get the proper TTL r=necko-reviewers,kershaw

Backed out for causing failures on test_httpssvc_iphint.js

[task 2023-01-08T21:51:25.979Z] 21:51:25     INFO -  TEST-START | netwerk/test/unit/test_httpssvc_iphint.js
[task 2023-01-08T21:51:26.027Z] 21:51:26     INFO -  adb launch_application: am startservice -W -n 'org.mozilla.geckoview.test_runner/org.mozilla.geckoview.test_runner.XpcshellTestRunnerService$i0' -a android.intent.action.MAIN --es env0 XPCOM_DEBUG_BREAK=stack-and-abort --es env1 MOZ_CRASHREPORTER=1 --es env2 MOZ_CRASHREPORTER_NO_REPORT=1 --es env3 MOZ_DISABLE_NONLOCAL_CONNECTIONS=1 --es env4 MOZ_DEVELOPER_REPO_DIR=/builds/worker/checkouts/gecko --es env5 MOZ_DISABLE_CONTENT_SANDBOX=1 --es env6 MOZ_FETCHES_DIR=/builds/worker/fetches --es env7 MOZ_DISABLE_SOCKET_PROCESS=1 --es env8 LD_LIBRARY_PATH=/data/local/tmp/test_root/xpcb --es env9 MOZ_LINKER_CACHE=/data/local/tmp/test_root/xpcb --es env10 GRE_HOME=/data/local/tmp/test_root/xpcb --es env11 XPCSHELL_TEST_PROFILE_DIR=/data/local/tmp/test_root/xpc/p/6b33838c-e0df-484e-8ec6-0c2c6d50bbc4 --es env12 HOME=/data/local/tmp/test_root/xpc/p --es env13 XPCSHELL_TEST_TEMP_DIR=/data/local/tmp/test_root/xpc/tmp/588aff41-176f-4c4c-a3aa-6653e81e320f --es env14 MOZ_ANDROID_DATA_DIR=/data/local/tmp/test_root/xpcb --es env15 MOZ_IN_AUTOMATION=1 --es env16 MOZ_ANDROID_CPU_ABI=x86_64 --es env17 MOZHTTP2_PORT=33413 --es env18 MOZNODE_EXEC_PORT=41330 --es env19 TMPDIR=/data/local/tmp/test_root/xpc/p/6b33838c-e0df-484e-8ec6-0c2c6d50bbc4 --es env20 XPCSHELL_MINIDUMP_DIR=/data/local/tmp/test_root/xpc/minidumps/6b33838c-e0df-484e-8ec6-0c2c6d50bbc4 --es arg0 -g --es arg1 /data/local/tmp/test_root/xpcb --es arg2 --greomni --es arg3 /data/local/tmp/test_root/xpcb/geckoview-test_runner.apk --es arg4 -m --es arg5 -e --es arg6 'const _HEAD_JS_PATH = "/data/local/tmp/test_root/xpc/head.js";' --es arg7 -e --es arg8 'const _MOZINFO_JS_PATH = "/data/local/tmp/test_root/xpc/p/6b33838c-e0df-484e-8ec6-0c2c6d50bbc4/mozinfo.json";' --es arg9 -e --es arg10 'const _PREFS_FILE = "/data/local/tmp/test_root/xpc/user.js";' --es arg11 -e --es arg12 'const _TESTING_MODULES_DIR = "/data/local/tmp/test_root/xpc/m";' --es arg13 -f --es arg14 /data/local/tmp/test_root/xpc/head.js --es arg15 -e --es arg16 'const _HEAD_FILES = ["/data/local/tmp/test_root/xpc/netwerk/test/unit/head_channels.js", "/data/local/tmp/test_root/xpc/netwerk/test/unit/head_cache.js", "/data/local/tmp/test_root/xpc/netwerk/test/unit/head_cache2.js", "/data/local/tmp/test_root/xpc/netwerk/test/unit/head_cookies.js", "/data/local/tmp/test_root/xpc/netwerk/test/unit/head_trr.js", "/data/local/tmp/test_root/xpc/netwerk/test/unit/head_http3.js", "/data/local/tmp/test_root/xpc/netwerk/test/unit/head_servers.js", "/data/local/tmp/test_root/xpc/netwerk/test/unit/head_telemetry.js", "/data/local/tmp/test_root/xpc/netwerk/test/unit/head_websocket.js", "/data/local/tmp/test_root/xpc/netwerk/test/unit/head_webtransport.js"];' --es arg17 -e --es arg18 'const _JSDEBUGGER_PORT = 0;' --es arg19 -e --es arg20 'const _TEST_CWD = "/data/local/tmp/test_root/xpc/netwerk/test/unit";' --es arg21 -e --es arg22 'const _TEST_FILE = ["test_httpssvc_iphint.js"];' --es arg23 -e --es arg24 'const _TEST_NAME = "netwerk/test/unit/test_httpssvc_iphint.js";' --es arg25 -e --es arg26 '_execute_test(); quit(0);' --ez use_multiprocess True --es out_file /data/local/tmp/test_root/xpc/logs/xpcshell-607abf7c-c624-432f-a54d-ac144870e6fa.log
[task 2023-01-08T21:51:26.271Z] 21:51:26     INFO -  remotexpcshelltests.py | netwerk/test/unit/test_httpssvc_iphint.js | 11409 | Launched Test App
[task 2023-01-08T21:51:29.799Z] 21:51:29     INFO -  remotexpcshelltests.py | netwerk/test/unit/test_httpssvc_iphint.js | 11409 | Application ran for: 0:00:03.818881
[task 2023-01-08T21:51:29.866Z] 21:51:29  WARNING -  TEST-UNEXPECTED-FAIL | netwerk/test/unit/test_httpssvc_iphint.js | xpcshell return code: 0
Flags: needinfo?(valentin.gosu)
Pushed by valentin.gosu@gmail.com: https://hg.mozilla.org/integration/autoland/rev/6c1a87049965 Make sure TRR HTTPS IPhints get the proper TTL r=necko-reviewers,kershaw
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 110 Branch
Flags: needinfo?(valentin.gosu)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: