Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2
3 %:
4 dh $@ --builddirectory=_build --buildsystem=golang
5
6 # some tests fail under certain constraints
7 # succeeds with pbuilder but fails with sbuild
8 #
9 # === RUN TestRoundTripper_TransportFailureErrorHandling
10 # 2021/09/26 01:02:07 [DEBUG] GET http://this-url-does-not-exist-ed2fb.com/
11 # 2021/09/26 01:02:07 [ERR] GET http://this-url-does-not-exist-ed2fb.com/ \
12 # request failed: Get "http://this-url-does-not-exist-ed2fb.com/": dial tcp: \
13 # lookup this-url-does-not-exist-ed2fb.com on [::1]:53: \
14 # read udp [::1]:43932->[::1]:53: read: connection refused
15 # 2021/09/26 01:02:07 [DEBUG] GET http://this-url-does-not-exist-ed2fb.com/: \
16 # retrying in 1s (4 left)
17 # 2021/09/26 01:02:08 [ERR] GET http://this-url-does-not-exist-ed2fb.com/ \
18 # request failed: Get "http://this-url-does-not-exist-ed2fb.com/": dial tcp: \
19 # lookup this-url-does-not-exist-ed2fb.com on [::1]:53: \
20 # read udp [::1]:56573->[::1]:53: read: connection refused
21 # 2021/09/26 01:02:08 [DEBUG] GET http://this-url-does-not-exist-ed2fb.com/: \
22 # retrying in 2s (3 left)
23 # 2021/09/26 01:02:10 [ERR] GET http://this-url-does-not-exist-ed2fb.com/ \
24 # request failed: Get "http://this-url-does-not-exist-ed2fb.com/": dial tcp: \
25 # lookup this-url-does-not-exist-ed2fb.com on [::1]:53: \
26 # read udp [::1]:54192->[::1]:53: read: connection refused
27 # 2021/09/26 01:02:10 [DEBUG] GET http://this-url-does-not-exist-ed2fb.com/: \
28 # retrying in 4s (2 left)
29 # 2021/09/26 01:02:14 [ERR] GET http://this-url-does-not-exist-ed2fb.com/ \
30 # request failed: Get "http://this-url-does-not-exist-ed2fb.com/": \
31 # dial tcp: lookup this-url-does-not-exist-ed2fb.com on [::1]:53: \
32 # read udp [::1]:45958->[::1]:53: read: connection refused
33 # 2021/09/26 01:02:14 [DEBUG] GET http://this-url-does-not-exist-ed2fb.com/: \
34 # retrying in 8s (1 left)
35 # 2021/09/26 01:02:22 [ERR] GET http://this-url-does-not-exist-ed2fb.com/ \
36 # request failed: Get "http://this-url-does-not-exist-ed2fb.com/": \
37 # dial tcp: lookup this-url-does-not-exist-ed2fb.com on [::1]:53: \
38 # read udp [::1]:59126->[::1]:53: read: connection refused
39 # roundtripper_test.go:128: expected \
40 # "Get \"http://this-url-does-not-exist-ed2fb.com/\": dial tcp: \
41 # lookup this-url-does-not-exist-ed2fb.com: no such host", \
42 # got "Get \"http://this-url-does-not-exist-ed2fb.com/\": \
43 # dial tcp: lookup this-url-does-not-exist-ed2fb.com: \
44 # read udp [::1]:59126->[::1]:53: read: connection refused"
45 # --- FAIL: TestRoundTripper_TransportFailureErrorHandling (15.01s)
46 # FAIL
47 # FAIL github.com/hashicorp/go-retryablehttp 22.287s
48 # FAIL
49
50 override_dh_auto_test:
51 -dh_auto_test