revert back to prior logic #232
Annotations
14 errors and 1 warning
Failed Test: TestCaching
TestCaching: === RUN TestCaching
DEBUG fronted: cache_test.go:29 Creating fronted
DEBUG fronted: cache_test.go:53 Adding fronts
DEBUG fronted: cache.go:82 Updating cache at /tmp/direct_test2616630029/cachefile.1
DEBUG fronted: cache.go:107 Cache saved to disk
DEBUG fronted: cache_test.go:74 Reopening fronted
DEBUG fronted: cache.go:34 Attempting to prepopulate masquerades from cache file: /tmp/direct_test2616630029/cachefile.1
DEBUG fronted: cache.go:41 Cache contained 3 masquerades
DEBUG fronted: cache_test.go:57 Reading cached fronts
cache_test.go:83:
Error Trace: /home/runner/work/fronted/fronted/cache_test.go:83
Error: Not equal:
expected: "cloudfront"
actual : ""
Diff:
--- Expected
+++ Actual
@@ -1 +1 @@
-cloudfront
+
Test: TestCaching
Messages: Masquerade at position 0 has wrong ProviderID
--- FAIL: TestCaching (0.15s)
- No trace available
|
Failed Test: TestConfigUpdating
TestConfigUpdating: === RUN TestConfigUpdating
DEBUG fronted: fronted.go:98 Creating new fronted
ERROR fronted: fronted.go:626 Failed to create gzip reader gzip: invalid header [error=Failed to create gzip reader %v error_location=github.com/getlantern/fronted.processYaml (fronted.go:626) error_text=Failed to create gzip reader gzip: invalid header error_type=errors.Error]
ERROR fronted: fronted.go:626 at github.com/getlantern/fronted.processYaml (fronted.go:626)
ERROR fronted: fronted.go:626 at github.com/getlantern/fronted.(*fronted).onNewFrontsConfig (fronted.go:218)
ERROR fronted: fronted.go:626 at github.com/getlantern/fronted.(*fronted).readFrontsFromEmbeddedConfig (fronted.go:214)
ERROR fronted: fronted.go:626 at github.com/getlantern/fronted.NewFronted (fronted.go:123)
ERROR fronted: fronted.go:626 at github.com/getlantern/fronted.TestConfigUpdating (fronted_test.go:29)
ERROR fronted: fronted.go:626 at testing.tRunner (testing.go:1689)
ERROR fronted: fronted.go:626 at runtime.goexit (asm_amd64.s:1695)
ERROR fronted: fronted.go:626 Caused by: gzip: invalid header
ERROR fronted: fronted.go:220 Failed to process fronted config: failed to create gzip reader: gzip: invalid header [error=Failed to process fronted config: %v error_location=github.com/getlantern/fronted.(*fronted).onNewFrontsConfig (fronted.go:220) error_text=Failed to process fronted config: failed to create gzip reader: gzip: invalid header error_type=errors.Error]
ERROR fronted: fronted.go:220 at github.com/getlantern/fronted.(*fronted).onNewFrontsConfig (fronted.go:220)
ERROR fronted: fronted.go:220 at github.com/getlantern/fronted.(*fronted).readFrontsFromEmbeddedConfig (fronted.go:214)
ERROR fronted: fronted.go:220 at github.com/getlantern/fronted.NewFronted (fronted.go:123)
ERROR fronted: fronted.go:220 at github.com/getlantern/fronted.TestConfigUpdating (fronted_test.go:29)
ERROR fronted: fronted.go:220 at testing.tRunner (testing.go:1689)
ERROR fronted: fronted.go:220 at runtime.goexit (asm_amd64.s:1695)
ERROR fronted: fronted.go:220 Caused by: failed to create gzip reader: gzip: invalid header
ERROR fronted: fronted.go:220 Caused by: gzip: invalid header
DEBUG fronted: fronted.go:177 Updating fronted configuration from URL https://media.githubusercontent.com/media/getlantern/fronted/refs/heads/main/fronted.yaml.gz
DEBUG fronted: fronted.go:190 Received new fronted configuration
DEBUG fronted: fronted.go:231 Updating fronted configuration
DEBUG fronted: fronted.go:546 Loading candidates for 2 providers
DEBUG fronted: fronted.go:578 Finished loading candidates
DEBUG fronted: fronted.go:261 findWorkingFronts::Trying all fronts
DEBUG fronted: fronted.go:438 Could not dial to 23.223.33.13, dial tcp 23.223.33.13:443: connect: connection refused [masquerade_domain=a248.e.akamai.net masquerade_ip=23.223.33.13 masquerade_provider=akamai op=dial_masquerade root_op=dial_masquerade]
DEBUG fronted: fronted.go:446 Unexpected error dialing, keeping masquerade: dial tcp 23.223.33.13:443: connect: connection refused [masquerade_domain=a248.e.akamai.net masquerade_ip=23.223.33.13 masquerade_provider=akamai op=dial_masquerade root_op=dial_masquerade]
DEBUG fronted: fronted.go:334 unexpected error vetting masquerades: dial tcp 23.223.33.13:443: connect: connection refused
DEBUG fronted: fronted.go:406 Returning connection for front 23.62.6.75 in 32.697819ms
DEBUG fronted: fronted.go:354 Successfully vetted one masquerade 23.62.6.75
DEBUG fronted: fronted.go:406 Returning connection for front 23.223.33.115 in 76.202807ms
DEBUG fronted: fronted.go:406 Returning connection for front 23.62.6.75 in 32.124567ms
DEBUG fronted: connected_roundtripper.go:46 Translated origin raw.githubusercontent.com -> raw-githubusercontent.dsa.akamai.getiantem.org. [op=fronted_request root_op=fronted_request]
DEBUG fronted: connected_roundtripper.go:71 Request completed successfully [op=fronted_request root_op=fronted_request]
fronted_test.go:43:
Error Trace: /home/runner/work/fronted/fronted/fronted_test.go:43
Error: Not equal:
|
Failed Test: TestDirectDomainFrontingWithoutSNIConfig
TestDirectDomainFrontingWithoutSNIConfig: === RUN TestDirectDomainFrontingWithoutSNIConfig
DEBUG fronted: fronted_test.go:74 Testing direct domain fronting without SNI config
DEBUG fronted: fronted.go:98 Creating new fronted
DEBUG fronted: cache.go:30 ignorable error: Cache file is empty
ERROR fronted: fronted.go:626 Failed to create gzip reader gzip: invalid header [error=Failed to create gzip reader %v error_location=github.com/getlantern/fronted.processYaml (fronted.go:626) error_text=Failed to create gzip reader gzip: invalid header error_type=errors.Error]
ERROR fronted: fronted.go:626 at github.com/getlantern/fronted.processYaml (fronted.go:626)
ERROR fronted: fronted.go:626 at github.com/getlantern/fronted.(*fronted).onNewFrontsConfig (fronted.go:218)
ERROR fronted: fronted.go:626 at github.com/getlantern/fronted.(*fronted).readFrontsFromEmbeddedConfig (fronted.go:214)
ERROR fronted: fronted.go:626 at github.com/getlantern/fronted.NewFronted (fronted.go:123)
ERROR fronted: fronted.go:626 at github.com/getlantern/fronted.doTestDomainFronting (fronted_test.go:135)
ERROR fronted: fronted.go:626 at github.com/getlantern/fronted.TestDirectDomainFrontingWithoutSNIConfig (fronted_test.go:75)
ERROR fronted: fronted.go:626 at testing.tRunner (testing.go:1689)
ERROR fronted: fronted.go:626 at runtime.goexit (asm_amd64.s:1695)
ERROR fronted: fronted.go:626 Caused by: gzip: invalid header
ERROR fronted: fronted.go:220 Failed to process fronted config: failed to create gzip reader: gzip: invalid header [error=Failed to process fronted config: %v error_location=github.com/getlantern/fronted.(*fronted).onNewFrontsConfig (fronted.go:220) error_text=Failed to process fronted config: failed to create gzip reader: gzip: invalid header error_type=errors.Error]
ERROR fronted: fronted.go:220 at github.com/getlantern/fronted.(*fronted).onNewFrontsConfig (fronted.go:220)
ERROR fronted: fronted.go:220 at github.com/getlantern/fronted.(*fronted).readFrontsFromEmbeddedConfig (fronted.go:214)
ERROR fronted: fronted.go:220 at github.com/getlantern/fronted.NewFronted (fronted.go:123)
ERROR fronted: fronted.go:220 at github.com/getlantern/fronted.doTestDomainFronting (fronted_test.go:135)
ERROR fronted: fronted.go:220 at github.com/getlantern/fronted.TestDirectDomainFrontingWithoutSNIConfig (fronted_test.go:75)
ERROR fronted: fronted.go:220 at testing.tRunner (testing.go:1689)
ERROR fronted: fronted.go:220 at runtime.goexit (asm_amd64.s:1695)
ERROR fronted: fronted.go:220 Caused by: failed to create gzip reader: gzip: invalid header
ERROR fronted: fronted.go:220 Caused by: gzip: invalid header
DEBUG fronted: fronted.go:173 No config URL provided -- not updating fronting configuration
DEBUG fronted: fronted.go:231 Updating fronted configuration
DEBUG fronted: fronted.go:546 Loading candidates for 1 providers
DEBUG fronted: fronted.go:578 Finished loading candidates
DEBUG fronted: fronted.go:261 findWorkingFronts::Trying all fronts
DEBUG fronted: fronted.go:406 Returning connection for front 184.150.49.132 in 104.875762ms
DEBUG fronted: fronted.go:406 Returning connection for front 23.192.223.39 in 105.515967ms
DEBUG fronted: fronted.go:406 Returning connection for front 23.55.178.43 in 106.776307ms
DEBUG fronted: fronted.go:406 Returning connection for front 23.47.50.7 in 104.642298ms
DEBUG fronted: fronted.go:406 Returning connection for front 23.38.189.195 in 106.620033ms
DEBUG fronted: fronted.go:354 Successfully vetted one masquerade 23.223.33.115
DEBUG fronted: fronted.go:438 Could not dial to 54.239.130.107, remote error: tls: handshake failure [masquerade_domain=custom-api.bigpanda.io masquerade_ip=54.239.130.107 masquerade_provider=cloudfront op=dial_masquerade root_op=dial_masquerade]
DEBUG fronted: fronted.go:443 Not re-adding candidate that failed on error 'remote error: tls: handshake failure' [masquerade_domain=custom-api.bigpanda.io masquerade_ip=54.239.130.107 masquerade_provider=cloudfront op=dial_masquerade root_op=dial_masquerade]
DEBUG fronted: fronted.go:409 Dropping masquerade: non retryable e
|
Failed Test: TestDirectDomainFrontingWithSNIConfig
TestDirectDomainFrontingWithSNIConfig: === RUN TestDirectDomainFrontingWithSNIConfig
DEBUG fronted: fronted.go:98 Creating new fronted
DEBUG fronted: cache.go:30 ignorable error: Cache file is empty
ERROR fronted: fronted.go:626 Failed to create gzip reader gzip: invalid header [error=Failed to create gzip reader %v error_location=github.com/getlantern/fronted.processYaml (fronted.go:626) error_text=Failed to create gzip reader gzip: invalid header error_type=errors.Error]
ERROR fronted: fronted.go:626 at github.com/getlantern/fronted.processYaml (fronted.go:626)
ERROR fronted: fronted.go:626 at github.com/getlantern/fronted.(*fronted).onNewFrontsConfig (fronted.go:218)
ERROR fronted: fronted.go:626 at github.com/getlantern/fronted.(*fronted).readFrontsFromEmbeddedConfig (fronted.go:214)
ERROR fronted: fronted.go:626 at github.com/getlantern/fronted.NewFronted (fronted.go:123)
ERROR fronted: fronted.go:626 at github.com/getlantern/fronted.TestDirectDomainFrontingWithSNIConfig (fronted_test.go:102)
ERROR fronted: fronted.go:626 at testing.tRunner (testing.go:1689)
ERROR fronted: fronted.go:626 at runtime.goexit (asm_amd64.s:1695)
ERROR fronted: fronted.go:626 Caused by: gzip: invalid header
ERROR fronted: fronted.go:220 Failed to process fronted config: failed to create gzip reader: gzip: invalid header [error=Failed to process fronted config: %v error_location=github.com/getlantern/fronted.(*fronted).onNewFrontsConfig (fronted.go:220) error_text=Failed to process fronted config: failed to create gzip reader: gzip: invalid header error_type=errors.Error]
ERROR fronted: fronted.go:220 at github.com/getlantern/fronted.(*fronted).onNewFrontsConfig (fronted.go:220)
ERROR fronted: fronted.go:220 at github.com/getlantern/fronted.(*fronted).readFrontsFromEmbeddedConfig (fronted.go:214)
ERROR fronted: fronted.go:220 at github.com/getlantern/fronted.NewFronted (fronted.go:123)
ERROR fronted: fronted.go:220 at github.com/getlantern/fronted.TestDirectDomainFrontingWithSNIConfig (fronted_test.go:102)
ERROR fronted: fronted.go:220 at testing.tRunner (testing.go:1689)
ERROR fronted: fronted.go:220 at runtime.goexit (asm_amd64.s:1695)
ERROR fronted: fronted.go:220 Caused by: failed to create gzip reader: gzip: invalid header
ERROR fronted: fronted.go:220 Caused by: gzip: invalid header
DEBUG fronted: fronted.go:173 No config URL provided -- not updating fronting configuration
DEBUG fronted: fronted.go:231 Updating fronted configuration
DEBUG fronted: fronted.go:546 Loading candidates for 1 providers
DEBUG fronted: fronted.go:578 Finished loading candidates
DEBUG fronted: fronted.go:261 findWorkingFronts::Trying all fronts
DEBUG fronted: fronted.go:354 Successfully vetted one masquerade 23.38.189.195
DEBUG fronted: fronted.go:438 Could not dial to 13.249.6.198, remote error: tls: handshake failure [masquerade_domain=iot.us-east-2.amazonaws.com masquerade_ip=13.249.6.198 masquerade_provider=cloudfront op=dial_masquerade root_op=dial_masquerade]
DEBUG fronted: fronted.go:443 Not re-adding candidate that failed on error 'remote error: tls: handshake failure' [masquerade_domain=iot.us-east-2.amazonaws.com masquerade_ip=13.249.6.198 masquerade_provider=cloudfront op=dial_masquerade root_op=dial_masquerade]
DEBUG fronted: fronted.go:409 Dropping masquerade: non retryable error: remote error: tls: handshake failure
DEBUG fronted: fronted.go:334 unexpected error vetting masquerades: remote error: tls: handshake failure
DEBUG fronted: fronted.go:438 Could not dial to 13.249.6.10, remote error: tls: handshake failure [masquerade_domain=www.nosto.com masquerade_ip=13.249.6.10 masquerade_provider=cloudfront op=dial_masquerade root_op=dial_masquerade]
DEBUG fronted: fronted.go:443 Not re-adding candidate that failed on error 'remote error: tls: handshake failure' [masquerade_domain=www.nosto.com masquerade_ip=13.249.6.10 masquerade_provider=cloudfront op=dial_masquerade root_op=dial_masquerade]
DEBUG fronted: fronted.go:409 Dropping masquerade: non retryable error: remote error: tls: handshake failure
DEBUG fronted: fronte
|
Failed Test: TestHostAliasesBasic
TestHostAliasesBasic: === RUN TestHostAliasesBasic
DEBUG fronted: fronted_test.go:589 Waiting for origin server at 127.0.0.1:36997...
DEBUG fronted: fronted_test.go:593 Started cloudsack.biz CDN
2025/01/29 18:24:13 http: TLS handshake error from 127.0.0.1:49466: EOF
DEBUG fronted: fronted.go:98 Creating new fronted
ERROR fronted: fronted.go:626 Failed to create gzip reader gzip: invalid header [error=Failed to create gzip reader %v error_location=github.com/getlantern/fronted.processYaml (fronted.go:626) error_text=Failed to create gzip reader gzip: invalid header error_type=errors.Error]
ERROR fronted: fronted.go:626 at github.com/getlantern/fronted.processYaml (fronted.go:626)
ERROR fronted: fronted.go:626 at github.com/getlantern/fronted.(*fronted).onNewFrontsConfig (fronted.go:218)
ERROR fronted: fronted.go:626 at github.com/getlantern/fronted.(*fronted).readFrontsFromEmbeddedConfig (fronted.go:214)
ERROR fronted: fronted.go:626 at github.com/getlantern/fronted.NewFronted (fronted.go:123)
ERROR fronted: fronted.go:626 at github.com/getlantern/fronted.TestHostAliasesBasic (fronted_test.go:261)
ERROR fronted: fronted.go:626 at testing.tRunner (testing.go:1689)
ERROR fronted: fronted.go:626 at runtime.goexit (asm_amd64.s:1695)
ERROR fronted: fronted.go:626 Caused by: gzip: invalid header
ERROR fronted: fronted.go:220 Failed to process fronted config: failed to create gzip reader: gzip: invalid header [error=Failed to process fronted config: %v error_location=github.com/getlantern/fronted.(*fronted).onNewFrontsConfig (fronted.go:220) error_text=Failed to process fronted config: failed to create gzip reader: gzip: invalid header error_type=errors.Error]
ERROR fronted: fronted.go:220 at github.com/getlantern/fronted.(*fronted).onNewFrontsConfig (fronted.go:220)
ERROR fronted: fronted.go:220 at github.com/getlantern/fronted.(*fronted).readFrontsFromEmbeddedConfig (fronted.go:214)
ERROR fronted: fronted.go:220 at github.com/getlantern/fronted.NewFronted (fronted.go:123)
ERROR fronted: fronted.go:220 at github.com/getlantern/fronted.TestHostAliasesBasic (fronted_test.go:261)
ERROR fronted: fronted.go:220 at testing.tRunner (testing.go:1689)
ERROR fronted: fronted.go:220 at runtime.goexit (asm_amd64.s:1695)
ERROR fronted: fronted.go:220 Caused by: failed to create gzip reader: gzip: invalid header
ERROR fronted: fronted.go:220 Caused by: gzip: invalid header
DEBUG fronted: fronted.go:173 No config URL provided -- not updating fronting configuration
DEBUG fronted: fronted.go:231 Updating fronted configuration
DEBUG fronted: fronted.go:546 Loading candidates for 1 providers
DEBUG fronted: fronted.go:578 Finished loading candidates
DEBUG fronted: fronted.go:261 findWorkingFronts::Trying all fronts
DEBUG fronted: fronted.go:406 Returning connection for front 127.0.0.1:36997 in 12.419748ms
DEBUG fronted: fronted_test.go:558 (cloudsack.biz) CDN Request: POST /ping HTTP/1.1
Host: ttt.cloudsack.biz
Accept-Encoding: gzip
Connection: close
Content-Length: 1
Content-Type: application/json
User-Agent: Go-http-client/1.1
a
DEBUG fronted: fronted_test.go:565 accepting request host=ttt.cloudsack.biz ff=
DEBUG fronted: fronted.go:354 Successfully vetted one masquerade 127.0.0.1:36997
DEBUG fronted: fronted.go:263 findWorkingFronts::Tried all fronts
DEBUG fronted: fronted.go:406 Returning connection for front 127.0.0.1:36997 in 12.153245ms
DEBUG fronted: connected_roundtripper.go:46 Translated origin abc.forbidden.com -> abc.cloudsack.biz. [op=fronted_request root_op=fronted_request]
DEBUG fronted: fronted_test.go:558 (cloudsack.biz) CDN Request: GET /foo/bar HTTP/1.1
Host: abc.forbidden.com
Accept-Encoding: gzip
Connection: close
User-Agent: Go-http-client/1.1
X-Bar-Foo: XYZ
X-Foo-Bar: Quux
X-Foo-Bar: Baz
X-Quux:
DEBUG fronted: fronted_test.go:576 (cloudsack.biz) Rejecting request with host = "abc.forbidden.com" ff= allowed=.cloudsack.biz
DEBUG fronted: connected_roundtripper.go:64 Could not complete request: response status 403: 403 Forbidden [op=fronted_request root_op=fronted_request]
f
|
Failed Test: TestHostAliasesMulti
TestHostAliasesMulti: === RUN TestHostAliasesMulti
DEBUG fronted: fronted_test.go:589 Waiting for origin server at 127.0.0.1:44565...
2025/01/29 18:24:17 http: TLS handshake error from 127.0.0.1:54922: EOF
DEBUG fronted: fronted_test.go:593 Started sadcloud.io CDN
DEBUG fronted: fronted_test.go:589 Waiting for origin server at 127.0.0.1:33487...
DEBUG fronted: fronted_test.go:593 Started cloudsack.biz CDN
2025/01/29 18:24:17 http: TLS handshake error from 127.0.0.1:58580: EOF
DEBUG fronted: fronted.go:98 Creating new fronted
ERROR fronted: fronted.go:626 Failed to create gzip reader gzip: invalid header [error=Failed to create gzip reader %v error_location=github.com/getlantern/fronted.processYaml (fronted.go:626) error_text=Failed to create gzip reader gzip: invalid header error_type=errors.Error]
ERROR fronted: fronted.go:626 at github.com/getlantern/fronted.processYaml (fronted.go:626)
ERROR fronted: fronted.go:626 at github.com/getlantern/fronted.(*fronted).onNewFrontsConfig (fronted.go:218)
ERROR fronted: fronted.go:626 at github.com/getlantern/fronted.(*fronted).readFrontsFromEmbeddedConfig (fronted.go:214)
ERROR fronted: fronted.go:626 at github.com/getlantern/fronted.NewFronted (fronted.go:123)
ERROR fronted: fronted.go:626 at github.com/getlantern/fronted.TestHostAliasesMulti (fronted_test.go:372)
ERROR fronted: fronted.go:626 at testing.tRunner (testing.go:1689)
ERROR fronted: fronted.go:626 at runtime.goexit (asm_amd64.s:1695)
ERROR fronted: fronted.go:626 Caused by: gzip: invalid header
ERROR fronted: fronted.go:220 Failed to process fronted config: failed to create gzip reader: gzip: invalid header [error=Failed to process fronted config: %v error_location=github.com/getlantern/fronted.(*fronted).onNewFrontsConfig (fronted.go:220) error_text=Failed to process fronted config: failed to create gzip reader: gzip: invalid header error_type=errors.Error]
ERROR fronted: fronted.go:220 at github.com/getlantern/fronted.(*fronted).onNewFrontsConfig (fronted.go:220)
ERROR fronted: fronted.go:220 at github.com/getlantern/fronted.(*fronted).readFrontsFromEmbeddedConfig (fronted.go:214)
ERROR fronted: fronted.go:220 at github.com/getlantern/fronted.NewFronted (fronted.go:123)
ERROR fronted: fronted.go:220 at github.com/getlantern/fronted.TestHostAliasesMulti (fronted_test.go:372)
ERROR fronted: fronted.go:220 at testing.tRunner (testing.go:1689)
ERROR fronted: fronted.go:220 at runtime.goexit (asm_amd64.s:1695)
ERROR fronted: fronted.go:220 Caused by: failed to create gzip reader: gzip: invalid header
ERROR fronted: fronted.go:220 Caused by: gzip: invalid header
DEBUG fronted: fronted.go:173 No config URL provided -- not updating fronting configuration
DEBUG fronted: fronted.go:231 Updating fronted configuration
DEBUG fronted: fronted.go:546 Loading candidates for 2 providers
DEBUG fronted: fronted.go:578 Finished loading candidates
DEBUG fronted: fronted.go:261 findWorkingFronts::Trying all fronts
DEBUG fronted: fronted.go:406 Returning connection for front 127.0.0.1:44565 in 11.868665ms
DEBUG fronted: fronted.go:406 Returning connection for front 127.0.0.1:33487 in 12.287965ms
DEBUG fronted: fronted_test.go:558 (sadcloud.io) CDN Request: POST /ping HTTP/1.1
Host: ttt.sadcloud.io
Accept-Encoding: gzip
Connection: close
Content-Length: 1
Content-Type: application/json
User-Agent: Go-http-client/1.1
a
DEBUG fronted: fronted_test.go:565 accepting request host=ttt.sadcloud.io ff=
DEBUG fronted: fronted.go:354 Successfully vetted one masquerade 127.0.0.1:44565
DEBUG fronted: fronted_test.go:558 (cloudsack.biz) CDN Request: POST /ping HTTP/1.1
Host: ttt.cloudsack.biz
Accept-Encoding: gzip
Connection: close
Content-Length: 1
Content-Type: application/json
User-Agent: Go-http-client/1.1
a
DEBUG fronted: fronted_test.go:565 accepting request host=ttt.cloudsack.biz ff=
DEBUG fronted: fronted.go:354 Successfully vetted one masquerade 127.0.0.1:33487
DEBUG fronted: fronted.go:263 findWorkingFronts::Tried all fronts
DEBUG fronted: fronted.go:406 Returning connection for front 127.0.0.1:4
|
Failed Test: TestPassthrough
TestPassthrough: === RUN TestPassthrough
DEBUG fronted: fronted_test.go:589 Waiting for origin server at 127.0.0.1:44021...
DEBUG fronted: fronted_test.go:593 Started cloudsack.biz CDN
2025/01/29 18:24:26 http: TLS handshake error from 127.0.0.1:59492: EOF
DEBUG fronted: fronted.go:98 Creating new fronted
ERROR fronted: fronted.go:626 Failed to create gzip reader gzip: invalid header [error=Failed to create gzip reader %v error_location=github.com/getlantern/fronted.processYaml (fronted.go:626) error_text=Failed to create gzip reader gzip: invalid header error_type=errors.Error]
ERROR fronted: fronted.go:626 at github.com/getlantern/fronted.processYaml (fronted.go:626)
ERROR fronted: fronted.go:626 at github.com/getlantern/fronted.(*fronted).onNewFrontsConfig (fronted.go:218)
ERROR fronted: fronted.go:626 at github.com/getlantern/fronted.(*fronted).readFrontsFromEmbeddedConfig (fronted.go:214)
ERROR fronted: fronted.go:626 at github.com/getlantern/fronted.NewFronted (fronted.go:123)
ERROR fronted: fronted.go:626 at github.com/getlantern/fronted.TestPassthrough (fronted_test.go:496)
ERROR fronted: fronted.go:626 at testing.tRunner (testing.go:1689)
ERROR fronted: fronted.go:626 at runtime.goexit (asm_amd64.s:1695)
ERROR fronted: fronted.go:626 Caused by: gzip: invalid header
ERROR fronted: fronted.go:220 Failed to process fronted config: failed to create gzip reader: gzip: invalid header [error=Failed to process fronted config: %v error_location=github.com/getlantern/fronted.(*fronted).onNewFrontsConfig (fronted.go:220) error_text=Failed to process fronted config: failed to create gzip reader: gzip: invalid header error_type=errors.Error]
ERROR fronted: fronted.go:220 at github.com/getlantern/fronted.(*fronted).onNewFrontsConfig (fronted.go:220)
ERROR fronted: fronted.go:220 at github.com/getlantern/fronted.(*fronted).readFrontsFromEmbeddedConfig (fronted.go:214)
ERROR fronted: fronted.go:220 at github.com/getlantern/fronted.NewFronted (fronted.go:123)
ERROR fronted: fronted.go:220 at github.com/getlantern/fronted.TestPassthrough (fronted_test.go:496)
ERROR fronted: fronted.go:220 at testing.tRunner (testing.go:1689)
ERROR fronted: fronted.go:220 at runtime.goexit (asm_amd64.s:1695)
ERROR fronted: fronted.go:220 Caused by: failed to create gzip reader: gzip: invalid header
ERROR fronted: fronted.go:220 Caused by: gzip: invalid header
DEBUG fronted: fronted.go:173 No config URL provided -- not updating fronting configuration
DEBUG fronted: fronted.go:231 Updating fronted configuration
DEBUG fronted: fronted.go:546 Loading candidates for 1 providers
DEBUG fronted: fronted.go:578 Finished loading candidates
DEBUG fronted: fronted.go:261 findWorkingFronts::Trying all fronts
DEBUG fronted: fronted.go:406 Returning connection for front 127.0.0.1:44021 in 11.959966ms
DEBUG fronted: fronted_test.go:558 (cloudsack.biz) CDN Request: POST /ping HTTP/1.1
Host: ttt.cloudsack.biz
Accept-Encoding: gzip
Connection: close
Content-Length: 1
Content-Type: application/json
User-Agent: Go-http-client/1.1
a
DEBUG fronted: fronted_test.go:565 accepting request host=ttt.cloudsack.biz ff=
DEBUG fronted: fronted.go:354 Successfully vetted one masquerade 127.0.0.1:44021
DEBUG fronted: fronted.go:263 findWorkingFronts::Tried all fronts
DEBUG fronted: fronted.go:406 Returning connection for front 127.0.0.1:44021 in 12.037709ms
DEBUG fronted: connected_roundtripper.go:46 Translated origin fff.ok.cloudsack.biz -> fff.ok.cloudsack.biz. [op=fronted_request root_op=fronted_request]
DEBUG fronted: fronted_test.go:558 (cloudsack.biz) CDN Request: GET /foo HTTP/1.1
Host: fff.ok.cloudsack.biz
Accept-Encoding: gzip
Connection: close
User-Agent: Go-http-client/1.1
X-Bar-Foo: XYZ
X-Foo-Bar: Quux
X-Foo-Bar: Baz
X-Quux:
DEBUG fronted: fronted_test.go:565 accepting request host=fff.ok.cloudsack.biz ff=
DEBUG fronted: connected_roundtripper.go:71 Request completed successfully [op=fronted_request root_op=fronted_request]
DEBUG fronted: fronted.go:406 Returning connection for front 127.0.0.1:44021 in 11.931238ms
DEBUG
|
Failed Test: TestCaching
TestCaching: === RUN TestCaching
DEBUG fronted: cache_test.go:29 Creating fronted
DEBUG fronted: cache_test.go:53 Adding fronts
DEBUG fronted: cache.go:82 Updating cache at /tmp/direct_test2616630029/cachefile.1
DEBUG fronted: cache.go:107 Cache saved to disk
DEBUG fronted: cache_test.go:74 Reopening fronted
DEBUG fronted: cache.go:34 Attempting to prepopulate masquerades from cache file: /tmp/direct_test2616630029/cachefile.1
DEBUG fronted: cache.go:41 Cache contained 3 masquerades
DEBUG fronted: cache_test.go:57 Reading cached fronts
cache_test.go:83:
Error Trace: /home/runner/work/fronted/fronted/cache_test.go:83
Error: Not equal:
expected: "cloudfront"
actual : ""
Diff:
--- Expected
+++ Actual
@@ -1 +1 @@
-cloudfront
+
Test: TestCaching
Messages: Masquerade at position 0 has wrong ProviderID
--- FAIL: TestCaching (0.15s)
- No trace available
|
Failed Test: TestConfigUpdating
TestConfigUpdating: === RUN TestConfigUpdating
DEBUG fronted: fronted.go:98 Creating new fronted
ERROR fronted: fronted.go:626 Failed to create gzip reader gzip: invalid header [error=Failed to create gzip reader %v error_location=github.com/getlantern/fronted.processYaml (fronted.go:626) error_text=Failed to create gzip reader gzip: invalid header error_type=errors.Error]
ERROR fronted: fronted.go:626 at github.com/getlantern/fronted.processYaml (fronted.go:626)
ERROR fronted: fronted.go:626 at github.com/getlantern/fronted.(*fronted).onNewFrontsConfig (fronted.go:218)
ERROR fronted: fronted.go:626 at github.com/getlantern/fronted.(*fronted).readFrontsFromEmbeddedConfig (fronted.go:214)
ERROR fronted: fronted.go:626 at github.com/getlantern/fronted.NewFronted (fronted.go:123)
ERROR fronted: fronted.go:626 at github.com/getlantern/fronted.TestConfigUpdating (fronted_test.go:29)
ERROR fronted: fronted.go:626 at testing.tRunner (testing.go:1689)
ERROR fronted: fronted.go:626 at runtime.goexit (asm_amd64.s:1695)
ERROR fronted: fronted.go:626 Caused by: gzip: invalid header
ERROR fronted: fronted.go:220 Failed to process fronted config: failed to create gzip reader: gzip: invalid header [error=Failed to process fronted config: %v error_location=github.com/getlantern/fronted.(*fronted).onNewFrontsConfig (fronted.go:220) error_text=Failed to process fronted config: failed to create gzip reader: gzip: invalid header error_type=errors.Error]
ERROR fronted: fronted.go:220 at github.com/getlantern/fronted.(*fronted).onNewFrontsConfig (fronted.go:220)
ERROR fronted: fronted.go:220 at github.com/getlantern/fronted.(*fronted).readFrontsFromEmbeddedConfig (fronted.go:214)
ERROR fronted: fronted.go:220 at github.com/getlantern/fronted.NewFronted (fronted.go:123)
ERROR fronted: fronted.go:220 at github.com/getlantern/fronted.TestConfigUpdating (fronted_test.go:29)
ERROR fronted: fronted.go:220 at testing.tRunner (testing.go:1689)
ERROR fronted: fronted.go:220 at runtime.goexit (asm_amd64.s:1695)
ERROR fronted: fronted.go:220 Caused by: failed to create gzip reader: gzip: invalid header
ERROR fronted: fronted.go:220 Caused by: gzip: invalid header
DEBUG fronted: fronted.go:177 Updating fronted configuration from URL https://media.githubusercontent.com/media/getlantern/fronted/refs/heads/main/fronted.yaml.gz
DEBUG fronted: fronted.go:190 Received new fronted configuration
DEBUG fronted: fronted.go:231 Updating fronted configuration
DEBUG fronted: fronted.go:546 Loading candidates for 2 providers
DEBUG fronted: fronted.go:578 Finished loading candidates
DEBUG fronted: fronted.go:261 findWorkingFronts::Trying all fronts
DEBUG fronted: fronted.go:438 Could not dial to 23.223.33.13, dial tcp 23.223.33.13:443: connect: connection refused [masquerade_domain=a248.e.akamai.net masquerade_ip=23.223.33.13 masquerade_provider=akamai op=dial_masquerade root_op=dial_masquerade]
DEBUG fronted: fronted.go:446 Unexpected error dialing, keeping masquerade: dial tcp 23.223.33.13:443: connect: connection refused [masquerade_domain=a248.e.akamai.net masquerade_ip=23.223.33.13 masquerade_provider=akamai op=dial_masquerade root_op=dial_masquerade]
DEBUG fronted: fronted.go:334 unexpected error vetting masquerades: dial tcp 23.223.33.13:443: connect: connection refused
DEBUG fronted: fronted.go:406 Returning connection for front 23.62.6.75 in 32.697819ms
DEBUG fronted: fronted.go:354 Successfully vetted one masquerade 23.62.6.75
DEBUG fronted: fronted.go:406 Returning connection for front 23.223.33.115 in 76.202807ms
DEBUG fronted: fronted.go:406 Returning connection for front 23.62.6.75 in 32.124567ms
DEBUG fronted: connected_roundtripper.go:46 Translated origin raw.githubusercontent.com -> raw-githubusercontent.dsa.akamai.getiantem.org. [op=fronted_request root_op=fronted_request]
DEBUG fronted: connected_roundtripper.go:71 Request completed successfully [op=fronted_request root_op=fronted_request]
fronted_test.go:43:
Error Trace: /home/runner/work/fronted/fronted/fronted_test.go:43
Error: Not equal:
|
Failed Test: TestDirectDomainFrontingWithoutSNIConfig
TestDirectDomainFrontingWithoutSNIConfig: === RUN TestDirectDomainFrontingWithoutSNIConfig
DEBUG fronted: fronted_test.go:74 Testing direct domain fronting without SNI config
DEBUG fronted: fronted.go:98 Creating new fronted
DEBUG fronted: cache.go:30 ignorable error: Cache file is empty
ERROR fronted: fronted.go:626 Failed to create gzip reader gzip: invalid header [error=Failed to create gzip reader %v error_location=github.com/getlantern/fronted.processYaml (fronted.go:626) error_text=Failed to create gzip reader gzip: invalid header error_type=errors.Error]
ERROR fronted: fronted.go:626 at github.com/getlantern/fronted.processYaml (fronted.go:626)
ERROR fronted: fronted.go:626 at github.com/getlantern/fronted.(*fronted).onNewFrontsConfig (fronted.go:218)
ERROR fronted: fronted.go:626 at github.com/getlantern/fronted.(*fronted).readFrontsFromEmbeddedConfig (fronted.go:214)
ERROR fronted: fronted.go:626 at github.com/getlantern/fronted.NewFronted (fronted.go:123)
ERROR fronted: fronted.go:626 at github.com/getlantern/fronted.doTestDomainFronting (fronted_test.go:135)
ERROR fronted: fronted.go:626 at github.com/getlantern/fronted.TestDirectDomainFrontingWithoutSNIConfig (fronted_test.go:75)
ERROR fronted: fronted.go:626 at testing.tRunner (testing.go:1689)
ERROR fronted: fronted.go:626 at runtime.goexit (asm_amd64.s:1695)
ERROR fronted: fronted.go:626 Caused by: gzip: invalid header
ERROR fronted: fronted.go:220 Failed to process fronted config: failed to create gzip reader: gzip: invalid header [error=Failed to process fronted config: %v error_location=github.com/getlantern/fronted.(*fronted).onNewFrontsConfig (fronted.go:220) error_text=Failed to process fronted config: failed to create gzip reader: gzip: invalid header error_type=errors.Error]
ERROR fronted: fronted.go:220 at github.com/getlantern/fronted.(*fronted).onNewFrontsConfig (fronted.go:220)
ERROR fronted: fronted.go:220 at github.com/getlantern/fronted.(*fronted).readFrontsFromEmbeddedConfig (fronted.go:214)
ERROR fronted: fronted.go:220 at github.com/getlantern/fronted.NewFronted (fronted.go:123)
ERROR fronted: fronted.go:220 at github.com/getlantern/fronted.doTestDomainFronting (fronted_test.go:135)
ERROR fronted: fronted.go:220 at github.com/getlantern/fronted.TestDirectDomainFrontingWithoutSNIConfig (fronted_test.go:75)
ERROR fronted: fronted.go:220 at testing.tRunner (testing.go:1689)
ERROR fronted: fronted.go:220 at runtime.goexit (asm_amd64.s:1695)
ERROR fronted: fronted.go:220 Caused by: failed to create gzip reader: gzip: invalid header
ERROR fronted: fronted.go:220 Caused by: gzip: invalid header
DEBUG fronted: fronted.go:173 No config URL provided -- not updating fronting configuration
DEBUG fronted: fronted.go:231 Updating fronted configuration
DEBUG fronted: fronted.go:546 Loading candidates for 1 providers
DEBUG fronted: fronted.go:578 Finished loading candidates
DEBUG fronted: fronted.go:261 findWorkingFronts::Trying all fronts
DEBUG fronted: fronted.go:406 Returning connection for front 184.150.49.132 in 104.875762ms
DEBUG fronted: fronted.go:406 Returning connection for front 23.192.223.39 in 105.515967ms
DEBUG fronted: fronted.go:406 Returning connection for front 23.55.178.43 in 106.776307ms
DEBUG fronted: fronted.go:406 Returning connection for front 23.47.50.7 in 104.642298ms
DEBUG fronted: fronted.go:406 Returning connection for front 23.38.189.195 in 106.620033ms
DEBUG fronted: fronted.go:354 Successfully vetted one masquerade 23.223.33.115
DEBUG fronted: fronted.go:438 Could not dial to 54.239.130.107, remote error: tls: handshake failure [masquerade_domain=custom-api.bigpanda.io masquerade_ip=54.239.130.107 masquerade_provider=cloudfront op=dial_masquerade root_op=dial_masquerade]
DEBUG fronted: fronted.go:443 Not re-adding candidate that failed on error 'remote error: tls: handshake failure' [masquerade_domain=custom-api.bigpanda.io masquerade_ip=54.239.130.107 masquerade_provider=cloudfront op=dial_masquerade root_op=dial_masquerade]
DEBUG fronted: fronted.go:409 Dropping masquerade: non retryable e
|
Failed Test: TestDirectDomainFrontingWithSNIConfig
TestDirectDomainFrontingWithSNIConfig: === RUN TestDirectDomainFrontingWithSNIConfig
DEBUG fronted: fronted.go:98 Creating new fronted
DEBUG fronted: cache.go:30 ignorable error: Cache file is empty
ERROR fronted: fronted.go:626 Failed to create gzip reader gzip: invalid header [error=Failed to create gzip reader %v error_location=github.com/getlantern/fronted.processYaml (fronted.go:626) error_text=Failed to create gzip reader gzip: invalid header error_type=errors.Error]
ERROR fronted: fronted.go:626 at github.com/getlantern/fronted.processYaml (fronted.go:626)
ERROR fronted: fronted.go:626 at github.com/getlantern/fronted.(*fronted).onNewFrontsConfig (fronted.go:218)
ERROR fronted: fronted.go:626 at github.com/getlantern/fronted.(*fronted).readFrontsFromEmbeddedConfig (fronted.go:214)
ERROR fronted: fronted.go:626 at github.com/getlantern/fronted.NewFronted (fronted.go:123)
ERROR fronted: fronted.go:626 at github.com/getlantern/fronted.TestDirectDomainFrontingWithSNIConfig (fronted_test.go:102)
ERROR fronted: fronted.go:626 at testing.tRunner (testing.go:1689)
ERROR fronted: fronted.go:626 at runtime.goexit (asm_amd64.s:1695)
ERROR fronted: fronted.go:626 Caused by: gzip: invalid header
ERROR fronted: fronted.go:220 Failed to process fronted config: failed to create gzip reader: gzip: invalid header [error=Failed to process fronted config: %v error_location=github.com/getlantern/fronted.(*fronted).onNewFrontsConfig (fronted.go:220) error_text=Failed to process fronted config: failed to create gzip reader: gzip: invalid header error_type=errors.Error]
ERROR fronted: fronted.go:220 at github.com/getlantern/fronted.(*fronted).onNewFrontsConfig (fronted.go:220)
ERROR fronted: fronted.go:220 at github.com/getlantern/fronted.(*fronted).readFrontsFromEmbeddedConfig (fronted.go:214)
ERROR fronted: fronted.go:220 at github.com/getlantern/fronted.NewFronted (fronted.go:123)
ERROR fronted: fronted.go:220 at github.com/getlantern/fronted.TestDirectDomainFrontingWithSNIConfig (fronted_test.go:102)
ERROR fronted: fronted.go:220 at testing.tRunner (testing.go:1689)
ERROR fronted: fronted.go:220 at runtime.goexit (asm_amd64.s:1695)
ERROR fronted: fronted.go:220 Caused by: failed to create gzip reader: gzip: invalid header
ERROR fronted: fronted.go:220 Caused by: gzip: invalid header
DEBUG fronted: fronted.go:173 No config URL provided -- not updating fronting configuration
DEBUG fronted: fronted.go:231 Updating fronted configuration
DEBUG fronted: fronted.go:546 Loading candidates for 1 providers
DEBUG fronted: fronted.go:578 Finished loading candidates
DEBUG fronted: fronted.go:261 findWorkingFronts::Trying all fronts
DEBUG fronted: fronted.go:354 Successfully vetted one masquerade 23.38.189.195
DEBUG fronted: fronted.go:438 Could not dial to 13.249.6.198, remote error: tls: handshake failure [masquerade_domain=iot.us-east-2.amazonaws.com masquerade_ip=13.249.6.198 masquerade_provider=cloudfront op=dial_masquerade root_op=dial_masquerade]
DEBUG fronted: fronted.go:443 Not re-adding candidate that failed on error 'remote error: tls: handshake failure' [masquerade_domain=iot.us-east-2.amazonaws.com masquerade_ip=13.249.6.198 masquerade_provider=cloudfront op=dial_masquerade root_op=dial_masquerade]
DEBUG fronted: fronted.go:409 Dropping masquerade: non retryable error: remote error: tls: handshake failure
DEBUG fronted: fronted.go:334 unexpected error vetting masquerades: remote error: tls: handshake failure
DEBUG fronted: fronted.go:438 Could not dial to 13.249.6.10, remote error: tls: handshake failure [masquerade_domain=www.nosto.com masquerade_ip=13.249.6.10 masquerade_provider=cloudfront op=dial_masquerade root_op=dial_masquerade]
DEBUG fronted: fronted.go:443 Not re-adding candidate that failed on error 'remote error: tls: handshake failure' [masquerade_domain=www.nosto.com masquerade_ip=13.249.6.10 masquerade_provider=cloudfront op=dial_masquerade root_op=dial_masquerade]
DEBUG fronted: fronted.go:409 Dropping masquerade: non retryable error: remote error: tls: handshake failure
DEBUG fronted: fronte
|
Failed Test: TestHostAliasesBasic
TestHostAliasesBasic: === RUN TestHostAliasesBasic
DEBUG fronted: fronted_test.go:589 Waiting for origin server at 127.0.0.1:36997...
DEBUG fronted: fronted_test.go:593 Started cloudsack.biz CDN
2025/01/29 18:24:13 http: TLS handshake error from 127.0.0.1:49466: EOF
DEBUG fronted: fronted.go:98 Creating new fronted
ERROR fronted: fronted.go:626 Failed to create gzip reader gzip: invalid header [error=Failed to create gzip reader %v error_location=github.com/getlantern/fronted.processYaml (fronted.go:626) error_text=Failed to create gzip reader gzip: invalid header error_type=errors.Error]
ERROR fronted: fronted.go:626 at github.com/getlantern/fronted.processYaml (fronted.go:626)
ERROR fronted: fronted.go:626 at github.com/getlantern/fronted.(*fronted).onNewFrontsConfig (fronted.go:218)
ERROR fronted: fronted.go:626 at github.com/getlantern/fronted.(*fronted).readFrontsFromEmbeddedConfig (fronted.go:214)
ERROR fronted: fronted.go:626 at github.com/getlantern/fronted.NewFronted (fronted.go:123)
ERROR fronted: fronted.go:626 at github.com/getlantern/fronted.TestHostAliasesBasic (fronted_test.go:261)
ERROR fronted: fronted.go:626 at testing.tRunner (testing.go:1689)
ERROR fronted: fronted.go:626 at runtime.goexit (asm_amd64.s:1695)
ERROR fronted: fronted.go:626 Caused by: gzip: invalid header
ERROR fronted: fronted.go:220 Failed to process fronted config: failed to create gzip reader: gzip: invalid header [error=Failed to process fronted config: %v error_location=github.com/getlantern/fronted.(*fronted).onNewFrontsConfig (fronted.go:220) error_text=Failed to process fronted config: failed to create gzip reader: gzip: invalid header error_type=errors.Error]
ERROR fronted: fronted.go:220 at github.com/getlantern/fronted.(*fronted).onNewFrontsConfig (fronted.go:220)
ERROR fronted: fronted.go:220 at github.com/getlantern/fronted.(*fronted).readFrontsFromEmbeddedConfig (fronted.go:214)
ERROR fronted: fronted.go:220 at github.com/getlantern/fronted.NewFronted (fronted.go:123)
ERROR fronted: fronted.go:220 at github.com/getlantern/fronted.TestHostAliasesBasic (fronted_test.go:261)
ERROR fronted: fronted.go:220 at testing.tRunner (testing.go:1689)
ERROR fronted: fronted.go:220 at runtime.goexit (asm_amd64.s:1695)
ERROR fronted: fronted.go:220 Caused by: failed to create gzip reader: gzip: invalid header
ERROR fronted: fronted.go:220 Caused by: gzip: invalid header
DEBUG fronted: fronted.go:173 No config URL provided -- not updating fronting configuration
DEBUG fronted: fronted.go:231 Updating fronted configuration
DEBUG fronted: fronted.go:546 Loading candidates for 1 providers
DEBUG fronted: fronted.go:578 Finished loading candidates
DEBUG fronted: fronted.go:261 findWorkingFronts::Trying all fronts
DEBUG fronted: fronted.go:406 Returning connection for front 127.0.0.1:36997 in 12.419748ms
DEBUG fronted: fronted_test.go:558 (cloudsack.biz) CDN Request: POST /ping HTTP/1.1
Host: ttt.cloudsack.biz
Accept-Encoding: gzip
Connection: close
Content-Length: 1
Content-Type: application/json
User-Agent: Go-http-client/1.1
a
DEBUG fronted: fronted_test.go:565 accepting request host=ttt.cloudsack.biz ff=
DEBUG fronted: fronted.go:354 Successfully vetted one masquerade 127.0.0.1:36997
DEBUG fronted: fronted.go:263 findWorkingFronts::Tried all fronts
DEBUG fronted: fronted.go:406 Returning connection for front 127.0.0.1:36997 in 12.153245ms
DEBUG fronted: connected_roundtripper.go:46 Translated origin abc.forbidden.com -> abc.cloudsack.biz. [op=fronted_request root_op=fronted_request]
DEBUG fronted: fronted_test.go:558 (cloudsack.biz) CDN Request: GET /foo/bar HTTP/1.1
Host: abc.forbidden.com
Accept-Encoding: gzip
Connection: close
User-Agent: Go-http-client/1.1
X-Bar-Foo: XYZ
X-Foo-Bar: Quux
X-Foo-Bar: Baz
X-Quux:
DEBUG fronted: fronted_test.go:576 (cloudsack.biz) Rejecting request with host = "abc.forbidden.com" ff= allowed=.cloudsack.biz
DEBUG fronted: connected_roundtripper.go:64 Could not complete request: response status 403: 403 Forbidden [op=fronted_request root_op=fronted_request]
f
|
Failed Test: TestHostAliasesMulti
TestHostAliasesMulti: === RUN TestHostAliasesMulti
DEBUG fronted: fronted_test.go:589 Waiting for origin server at 127.0.0.1:44565...
2025/01/29 18:24:17 http: TLS handshake error from 127.0.0.1:54922: EOF
DEBUG fronted: fronted_test.go:593 Started sadcloud.io CDN
DEBUG fronted: fronted_test.go:589 Waiting for origin server at 127.0.0.1:33487...
DEBUG fronted: fronted_test.go:593 Started cloudsack.biz CDN
2025/01/29 18:24:17 http: TLS handshake error from 127.0.0.1:58580: EOF
DEBUG fronted: fronted.go:98 Creating new fronted
ERROR fronted: fronted.go:626 Failed to create gzip reader gzip: invalid header [error=Failed to create gzip reader %v error_location=github.com/getlantern/fronted.processYaml (fronted.go:626) error_text=Failed to create gzip reader gzip: invalid header error_type=errors.Error]
ERROR fronted: fronted.go:626 at github.com/getlantern/fronted.processYaml (fronted.go:626)
ERROR fronted: fronted.go:626 at github.com/getlantern/fronted.(*fronted).onNewFrontsConfig (fronted.go:218)
ERROR fronted: fronted.go:626 at github.com/getlantern/fronted.(*fronted).readFrontsFromEmbeddedConfig (fronted.go:214)
ERROR fronted: fronted.go:626 at github.com/getlantern/fronted.NewFronted (fronted.go:123)
ERROR fronted: fronted.go:626 at github.com/getlantern/fronted.TestHostAliasesMulti (fronted_test.go:372)
ERROR fronted: fronted.go:626 at testing.tRunner (testing.go:1689)
ERROR fronted: fronted.go:626 at runtime.goexit (asm_amd64.s:1695)
ERROR fronted: fronted.go:626 Caused by: gzip: invalid header
ERROR fronted: fronted.go:220 Failed to process fronted config: failed to create gzip reader: gzip: invalid header [error=Failed to process fronted config: %v error_location=github.com/getlantern/fronted.(*fronted).onNewFrontsConfig (fronted.go:220) error_text=Failed to process fronted config: failed to create gzip reader: gzip: invalid header error_type=errors.Error]
ERROR fronted: fronted.go:220 at github.com/getlantern/fronted.(*fronted).onNewFrontsConfig (fronted.go:220)
ERROR fronted: fronted.go:220 at github.com/getlantern/fronted.(*fronted).readFrontsFromEmbeddedConfig (fronted.go:214)
ERROR fronted: fronted.go:220 at github.com/getlantern/fronted.NewFronted (fronted.go:123)
ERROR fronted: fronted.go:220 at github.com/getlantern/fronted.TestHostAliasesMulti (fronted_test.go:372)
ERROR fronted: fronted.go:220 at testing.tRunner (testing.go:1689)
ERROR fronted: fronted.go:220 at runtime.goexit (asm_amd64.s:1695)
ERROR fronted: fronted.go:220 Caused by: failed to create gzip reader: gzip: invalid header
ERROR fronted: fronted.go:220 Caused by: gzip: invalid header
DEBUG fronted: fronted.go:173 No config URL provided -- not updating fronting configuration
DEBUG fronted: fronted.go:231 Updating fronted configuration
DEBUG fronted: fronted.go:546 Loading candidates for 2 providers
DEBUG fronted: fronted.go:578 Finished loading candidates
DEBUG fronted: fronted.go:261 findWorkingFronts::Trying all fronts
DEBUG fronted: fronted.go:406 Returning connection for front 127.0.0.1:44565 in 11.868665ms
DEBUG fronted: fronted.go:406 Returning connection for front 127.0.0.1:33487 in 12.287965ms
DEBUG fronted: fronted_test.go:558 (sadcloud.io) CDN Request: POST /ping HTTP/1.1
Host: ttt.sadcloud.io
Accept-Encoding: gzip
Connection: close
Content-Length: 1
Content-Type: application/json
User-Agent: Go-http-client/1.1
a
DEBUG fronted: fronted_test.go:565 accepting request host=ttt.sadcloud.io ff=
DEBUG fronted: fronted.go:354 Successfully vetted one masquerade 127.0.0.1:44565
DEBUG fronted: fronted_test.go:558 (cloudsack.biz) CDN Request: POST /ping HTTP/1.1
Host: ttt.cloudsack.biz
Accept-Encoding: gzip
Connection: close
Content-Length: 1
Content-Type: application/json
User-Agent: Go-http-client/1.1
a
DEBUG fronted: fronted_test.go:565 accepting request host=ttt.cloudsack.biz ff=
DEBUG fronted: fronted.go:354 Successfully vetted one masquerade 127.0.0.1:33487
DEBUG fronted: fronted.go:263 findWorkingFronts::Tried all fronts
DEBUG fronted: fronted.go:406 Returning connection for front 127.0.0.1:4
|
Failed Test: TestPassthrough
TestPassthrough: === RUN TestPassthrough
DEBUG fronted: fronted_test.go:589 Waiting for origin server at 127.0.0.1:44021...
DEBUG fronted: fronted_test.go:593 Started cloudsack.biz CDN
2025/01/29 18:24:26 http: TLS handshake error from 127.0.0.1:59492: EOF
DEBUG fronted: fronted.go:98 Creating new fronted
ERROR fronted: fronted.go:626 Failed to create gzip reader gzip: invalid header [error=Failed to create gzip reader %v error_location=github.com/getlantern/fronted.processYaml (fronted.go:626) error_text=Failed to create gzip reader gzip: invalid header error_type=errors.Error]
ERROR fronted: fronted.go:626 at github.com/getlantern/fronted.processYaml (fronted.go:626)
ERROR fronted: fronted.go:626 at github.com/getlantern/fronted.(*fronted).onNewFrontsConfig (fronted.go:218)
ERROR fronted: fronted.go:626 at github.com/getlantern/fronted.(*fronted).readFrontsFromEmbeddedConfig (fronted.go:214)
ERROR fronted: fronted.go:626 at github.com/getlantern/fronted.NewFronted (fronted.go:123)
ERROR fronted: fronted.go:626 at github.com/getlantern/fronted.TestPassthrough (fronted_test.go:496)
ERROR fronted: fronted.go:626 at testing.tRunner (testing.go:1689)
ERROR fronted: fronted.go:626 at runtime.goexit (asm_amd64.s:1695)
ERROR fronted: fronted.go:626 Caused by: gzip: invalid header
ERROR fronted: fronted.go:220 Failed to process fronted config: failed to create gzip reader: gzip: invalid header [error=Failed to process fronted config: %v error_location=github.com/getlantern/fronted.(*fronted).onNewFrontsConfig (fronted.go:220) error_text=Failed to process fronted config: failed to create gzip reader: gzip: invalid header error_type=errors.Error]
ERROR fronted: fronted.go:220 at github.com/getlantern/fronted.(*fronted).onNewFrontsConfig (fronted.go:220)
ERROR fronted: fronted.go:220 at github.com/getlantern/fronted.(*fronted).readFrontsFromEmbeddedConfig (fronted.go:214)
ERROR fronted: fronted.go:220 at github.com/getlantern/fronted.NewFronted (fronted.go:123)
ERROR fronted: fronted.go:220 at github.com/getlantern/fronted.TestPassthrough (fronted_test.go:496)
ERROR fronted: fronted.go:220 at testing.tRunner (testing.go:1689)
ERROR fronted: fronted.go:220 at runtime.goexit (asm_amd64.s:1695)
ERROR fronted: fronted.go:220 Caused by: failed to create gzip reader: gzip: invalid header
ERROR fronted: fronted.go:220 Caused by: gzip: invalid header
DEBUG fronted: fronted.go:173 No config URL provided -- not updating fronting configuration
DEBUG fronted: fronted.go:231 Updating fronted configuration
DEBUG fronted: fronted.go:546 Loading candidates for 1 providers
DEBUG fronted: fronted.go:578 Finished loading candidates
DEBUG fronted: fronted.go:261 findWorkingFronts::Trying all fronts
DEBUG fronted: fronted.go:406 Returning connection for front 127.0.0.1:44021 in 11.959966ms
DEBUG fronted: fronted_test.go:558 (cloudsack.biz) CDN Request: POST /ping HTTP/1.1
Host: ttt.cloudsack.biz
Accept-Encoding: gzip
Connection: close
Content-Length: 1
Content-Type: application/json
User-Agent: Go-http-client/1.1
a
DEBUG fronted: fronted_test.go:565 accepting request host=ttt.cloudsack.biz ff=
DEBUG fronted: fronted.go:354 Successfully vetted one masquerade 127.0.0.1:44021
DEBUG fronted: fronted.go:263 findWorkingFronts::Tried all fronts
DEBUG fronted: fronted.go:406 Returning connection for front 127.0.0.1:44021 in 12.037709ms
DEBUG fronted: connected_roundtripper.go:46 Translated origin fff.ok.cloudsack.biz -> fff.ok.cloudsack.biz. [op=fronted_request root_op=fronted_request]
DEBUG fronted: fronted_test.go:558 (cloudsack.biz) CDN Request: GET /foo HTTP/1.1
Host: fff.ok.cloudsack.biz
Accept-Encoding: gzip
Connection: close
User-Agent: Go-http-client/1.1
X-Bar-Foo: XYZ
X-Foo-Bar: Quux
X-Foo-Bar: Baz
X-Quux:
DEBUG fronted: fronted_test.go:565 accepting request host=fff.ok.cloudsack.biz ff=
DEBUG fronted: connected_roundtripper.go:71 Request completed successfully [op=fronted_request root_op=fronted_request]
DEBUG fronted: fronted.go:406 Returning connection for front 127.0.0.1:44021 in 11.931238ms
DEBUG
|
build
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
ctrf-report
|
11.3 KB |
|