Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

net: TestLookupDotsWithRemoteSource failing with lookup 8.8.8.8.in-addr.arpa. on 169.254.169.254:53: server misbehaving #64937

Closed
prattmic opened this issue Jan 2, 2024 · 7 comments
Labels
NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. release-blocker
Milestone

Comments

@prattmic
Copy link
Member

prattmic commented Jan 2, 2024

#!watchflakes
post <- pkg == "net" && test == "TestLookupDotsWithRemoteSource"

This test seems to be failing more-or-less continuously on various builders, though it does not reproduce locally for me.

e.g., https://ci.chromium.org/ui/p/golang/builders/try-workers/go1.21-linux-386-test_only/b8759984261243042673/test-results?sortby=&groupby=

=== RUN   TestLookupDotsWithRemoteSource
    lookup_test.go:666: LookupAddr(8.8.8.8): lookup 8.8.8.8.in-addr.arpa. on 169.254.169.254:53: server misbehaving (mode=go)
--- FAIL: TestLookupDotsWithRemoteSource (1.36s)

cc @neild @ianlancetaylor

@prattmic prattmic added NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. release-blocker labels Jan 2, 2024
@prattmic prattmic added this to the Go1.22 milestone Jan 2, 2024
@mateusz834
Copy link
Member

mateusz834 commented Jan 2, 2024

@prattmic #27992 (comment)

EDIT: it seems to be fixed now

[mateusz@arch ~ ]$ dig @8.8.8.8 8.8.8.8.in-addr.arpa PTR

; <<>> DiG 9.18.21 <<>> @8.8.8.8 8.8.8.8.in-addr.arpa PTR
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 55328
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
;; QUESTION SECTION:
;8.8.8.8.in-addr.arpa.		IN	PTR

;; ANSWER SECTION:
8.8.8.8.in-addr.arpa.	12223	IN	PTR	dns.google.

;; Query time: 13 msec
;; SERVER: 8.8.8.8#53(8.8.8.8) (UDP)
;; WHEN: Tue Jan 02 21:12:05 CET 2024
;; MSG SIZE  rcvd: 73

@prattmic
Copy link
Member Author

prattmic commented Jan 2, 2024

@mateusz834 Ah, thanks for the pointer and for investigating this! It seems like this was an upstream DNS issue that is now fixed. I'm still seeing issues as recently as 15 minutes ago, but perhaps those will self-resolve as caches expire.

@bcmills
Copy link
Contributor

bcmills commented Jan 2, 2024

Yeah, this looks to me like a duplicate of #27992. The test is unfortunately very non-hermetic.

@prattmic
Copy link
Member Author

prattmic commented Jan 2, 2024

Duplicate of #27992.

@prattmic prattmic closed this as not planned Won't fix, can't repro, duplicate, stale Jan 2, 2024
@gopherbot
Copy link
Contributor

Found new dashboard test flakes for:

#!watchflakes
post <- pkg == "net" && test == "TestLookupDotsWithRemoteSource"
2023-12-30 00:23 gotip-linux-386-longtest go@3233542e net.TestLookupDotsWithRemoteSource (log)
=== RUN   TestLookupDotsWithRemoteSource
    lookup_test.go:664: LookupAddr(8.8.8.8): lookup 8.8.8.8.in-addr.arpa. on 169.254.169.254:53: server misbehaving (mode=go)
    lookup_test.go:664: LookupAddr(8.8.8.8): lookup 8.8.8.8: Temporary failure in name resolution (mode=cgo)
--- FAIL: TestLookupDotsWithRemoteSource (0.60s)
2023-12-30 00:23 gotip-linux-amd64-longtest go@3233542e net.TestLookupDotsWithRemoteSource (log)
=== RUN   TestLookupDotsWithRemoteSource
    lookup_test.go:664: LookupAddr(8.8.8.8): lookup 8.8.8.8.in-addr.arpa. on 169.254.169.254:53: server misbehaving (mode=go)
    lookup_test.go:664: LookupAddr(8.8.8.8): lookup 8.8.8.8: Temporary failure in name resolution (mode=cgo)
--- FAIL: TestLookupDotsWithRemoteSource (0.60s)
2023-12-30 00:23 gotip-linux-amd64-longtest-race go@3233542e net.TestLookupDotsWithRemoteSource (log)
=== RUN   TestLookupDotsWithRemoteSource
    lookup_test.go:664: LookupAddr(8.8.8.8): lookup 8.8.8.8.in-addr.arpa. on 169.254.169.254:53: server misbehaving (mode=go)
    lookup_test.go:664: LookupAddr(8.8.8.8): lookup 8.8.8.8: Temporary failure in name resolution (mode=cgo)
--- FAIL: TestLookupDotsWithRemoteSource (0.63s)
2023-12-30 00:23 gotip-openbsd-amd64 go@3233542e net.TestLookupDotsWithRemoteSource (log)
=== RUN   TestLookupDotsWithRemoteSource
    lookup_test.go:664: LookupAddr(8.8.8.8): lookup 8.8.8.8.in-addr.arpa. on 169.254.169.254:53: server misbehaving (mode=go)
    lookup_test.go:664: LookupAddr(8.8.8.8): lookup 8.8.8.8: no such host (mode=cgo)
--- FAIL: TestLookupDotsWithRemoteSource (0.44s)
2023-12-30 00:23 gotip-solaris-amd64 go@3233542e net.TestLookupDotsWithRemoteSource (log)
=== RUN   TestLookupDotsWithRemoteSource
    lookup_test.go:664: LookupAddr(8.8.8.8): lookup 8.8.8.8.in-addr.arpa. on 129.70.161.2:53: server misbehaving (mode=go)
    lookup_test.go:664: LookupAddr(8.8.8.8): lookup 8.8.8.8: temporary name resolution failure (mode=cgo)
--- FAIL: TestLookupDotsWithRemoteSource (0.15s)
2023-12-30 00:23 gotip-windows-386 go@3233542e net.TestLookupDotsWithRemoteSource (log)
=== RUN   TestLookupDotsWithRemoteSource
    lookup_test.go:664: LookupAddr(8.8.8.8): lookup 8.8.8.8.in-addr.arpa. on 10.138.0.1:53: server misbehaving (mode=go)
    lookup_test.go:664: LookupAddr(8.8.8.8): lookup 8.8.8.8: dnsquery: DNS server failure. (mode=cgo)
--- FAIL: TestLookupDotsWithRemoteSource (0.47s)
2023-12-30 00:23 gotip-windows-amd64 go@3233542e net.TestLookupDotsWithRemoteSource (log)
=== RUN   TestLookupDotsWithRemoteSource
    lookup_test.go:664: LookupAddr(8.8.8.8): lookup 8.8.8.8.in-addr.arpa. on 10.138.0.1:53: server misbehaving (mode=go)
    lookup_test.go:664: LookupAddr(8.8.8.8): lookup 8.8.8.8: dnsquery: DNS server failure. (mode=cgo)
--- FAIL: TestLookupDotsWithRemoteSource (0.52s)
2023-12-30 00:23 gotip-windows-amd64-longtest go@3233542e net.TestLookupDotsWithRemoteSource (log)
=== RUN   TestLookupDotsWithRemoteSource
    lookup_test.go:664: LookupAddr(8.8.8.8): lookup 8.8.8.8.in-addr.arpa. on 10.128.0.1:53: server misbehaving (mode=go)
    lookup_test.go:664: LookupAddr(8.8.8.8): lookup 8.8.8.8: dnsquery: DNS server failure. (mode=cgo)
--- FAIL: TestLookupDotsWithRemoteSource (0.58s)
2023-12-30 00:23 gotip-windows-amd64-race go@3233542e net.TestLookupDotsWithRemoteSource (log)
=== RUN   TestLookupDotsWithRemoteSource
    lookup_test.go:664: LookupAddr(8.8.8.8): lookup 8.8.8.8.in-addr.arpa. on 10.138.0.1:53: server misbehaving (mode=go)
    lookup_test.go:664: LookupAddr(8.8.8.8): lookup 8.8.8.8: dnsquery: DNS server failure. (mode=cgo)
--- FAIL: TestLookupDotsWithRemoteSource (0.39s)
2023-12-30 00:24 gotip-linux-386-longtest go@b25f5558 net.TestLookupDotsWithRemoteSource (log)
=== RUN   TestLookupDotsWithRemoteSource
    lookup_test.go:664: LookupAddr(8.8.8.8): lookup 8.8.8.8.in-addr.arpa. on 169.254.169.254:53: server misbehaving (mode=go)
    lookup_test.go:664: LookupAddr(8.8.8.8): lookup 8.8.8.8: Temporary failure in name resolution (mode=cgo)
--- FAIL: TestLookupDotsWithRemoteSource (0.53s)
2023-12-30 00:24 gotip-linux-amd64-longtest go@b25f5558 net.TestLookupDotsWithRemoteSource (log)
=== RUN   TestLookupDotsWithRemoteSource
    lookup_test.go:664: LookupAddr(8.8.8.8): lookup 8.8.8.8.in-addr.arpa. on 169.254.169.254:53: server misbehaving (mode=go)
    lookup_test.go:664: LookupAddr(8.8.8.8): lookup 8.8.8.8: Temporary failure in name resolution (mode=cgo)
--- FAIL: TestLookupDotsWithRemoteSource (0.59s)
2023-12-30 00:24 gotip-linux-amd64-longtest-race go@b25f5558 net.TestLookupDotsWithRemoteSource (log)
=== RUN   TestLookupDotsWithRemoteSource
    lookup_test.go:664: LookupAddr(8.8.8.8): lookup 8.8.8.8.in-addr.arpa. on 169.254.169.254:53: server misbehaving (mode=go)
    lookup_test.go:664: LookupAddr(8.8.8.8): lookup 8.8.8.8: Temporary failure in name resolution (mode=cgo)
--- FAIL: TestLookupDotsWithRemoteSource (0.66s)
2023-12-30 00:24 gotip-openbsd-amd64 go@b25f5558 net.TestLookupDotsWithRemoteSource (log)
=== RUN   TestLookupDotsWithRemoteSource
    lookup_test.go:664: LookupAddr(8.8.8.8): lookup 8.8.8.8.in-addr.arpa. on 169.254.169.254:53: server misbehaving (mode=go)
    lookup_test.go:664: LookupAddr(8.8.8.8): lookup 8.8.8.8: no such host (mode=cgo)
--- FAIL: TestLookupDotsWithRemoteSource (0.48s)
2023-12-30 00:24 gotip-solaris-amd64 go@b25f5558 net.TestLookupDotsWithRemoteSource (log)
=== RUN   TestLookupDotsWithRemoteSource
    lookup_test.go:664: LookupAddr(8.8.8.8): lookup 8.8.8.8.in-addr.arpa. on 129.70.161.2:53: server misbehaving (mode=go)
    lookup_test.go:664: LookupAddr(8.8.8.8): lookup 8.8.8.8: temporary name resolution failure (mode=cgo)
--- FAIL: TestLookupDotsWithRemoteSource (0.19s)
2023-12-30 00:24 gotip-windows-386 go@b25f5558 net.TestLookupDotsWithRemoteSource (log)
=== RUN   TestLookupDotsWithRemoteSource
    lookup_test.go:664: LookupAddr(8.8.8.8): lookup 8.8.8.8.in-addr.arpa. on 10.138.0.1:53: server misbehaving (mode=go)
    lookup_test.go:664: LookupAddr(8.8.8.8): lookup 8.8.8.8: dnsquery: DNS server failure. (mode=cgo)
--- FAIL: TestLookupDotsWithRemoteSource (0.65s)
2023-12-30 00:24 gotip-windows-amd64 go@b25f5558 net.TestLookupDotsWithRemoteSource (log)
=== RUN   TestLookupDotsWithRemoteSource
    lookup_test.go:664: LookupAddr(8.8.8.8): lookup 8.8.8.8.in-addr.arpa. on 10.128.0.1:53: server misbehaving (mode=go)
    lookup_test.go:664: LookupAddr(8.8.8.8): lookup 8.8.8.8: dnsquery: DNS server failure. (mode=cgo)
--- FAIL: TestLookupDotsWithRemoteSource (0.64s)
2023-12-30 00:24 gotip-windows-amd64-longtest go@b25f5558 net.TestLookupDotsWithRemoteSource (log)
=== RUN   TestLookupDotsWithRemoteSource
    lookup_test.go:664: LookupAddr(8.8.8.8): lookup 8.8.8.8.in-addr.arpa. on 10.128.0.1:53: server misbehaving (mode=go)
    lookup_test.go:664: LookupAddr(8.8.8.8): lookup 8.8.8.8: dnsquery: DNS server failure. (mode=cgo)
--- FAIL: TestLookupDotsWithRemoteSource (0.63s)
2023-12-30 00:24 gotip-windows-amd64-race go@b25f5558 net.TestLookupDotsWithRemoteSource (log)
=== RUN   TestLookupDotsWithRemoteSource
    lookup_test.go:664: LookupAddr(8.8.8.8): lookup 8.8.8.8.in-addr.arpa. on 10.138.0.1:53: server misbehaving (mode=go)
    lookup_test.go:664: LookupAddr(8.8.8.8): lookup 8.8.8.8: dnsquery: DNS server failure. (mode=cgo)
--- FAIL: TestLookupDotsWithRemoteSource (0.51s)

watchflakes

@gopherbot gopherbot reopened this Mar 12, 2024
@gopherbot
Copy link
Contributor

Found new dashboard test flakes for:

#!watchflakes
post <- pkg == "net" && test == "TestLookupDotsWithRemoteSource"
2024-03-08 21:09 gotip-windows-arm64 go@40cc3eb2 net.TestLookupDotsWithRemoteSource (log)
=== RUN   TestLookupDotsWithRemoteSource
    lookup_test.go:676: LookupCNAME(www.mit.edu, mode=cgo): lookup www.mit.edu: dnsquery: This operation returned because the timeout period expired.
--- FAIL: TestLookupDotsWithRemoteSource (11.32s)

watchflakes

@dmitshur
Copy link
Contributor

Closing as a duplicate of #27992 again, and taking it out of Test Flakes project so it doesn't get reopened.

@dmitshur dmitshur closed this as not planned Won't fix, can't repro, duplicate, stale May 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. release-blocker
Projects
Status: Done
Development

No branches or pull requests

5 participants