Skip yaml parsing test in CI because it uses git lfs #214
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
Annotations
10 errors and 2 warnings
|
Failed Test: TestCustomValidators/with_custom_validator,_it_should_accept_403
TestCustomValidators/with_custom_validator,_it_should_accept_403: === RUN TestCustomValidators/with_custom_validator,_it_should_accept_403
DEBUG fronted: fronted.go:100 Creating new fronted
2025/01/16 18:42:22 ERROR Failed to create gzip reader error="gzip: invalid header"
2025/01/16 18:42:22 ERROR Failed to process smart dialer config error="failed to create gzip reader: gzip: invalid header"
DEBUG fronted: fronted.go:235 Updating fronted configuration
DEBUG fronted: fronted.go:699 Loading candidates for 1 providers
DEBUG fronted: fronted.go:731 Finished loading candidates
DEBUG fronted: fronted_test.go:629 requesting forced response code 403
DEBUG fronted: fronted.go:265 findWorkingFronts::Trying all fronts
DEBUG fronted: fronted.go:506 Returning connection for masquerade 127.0.0.1:44135 in 12.827811ms
DEBUG fronted: fronted_test.go:662 (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:669 accepting request host=ttt.sadcloud.io ff=
DEBUG fronted: fronted.go:354 Successfully vetted one masquerade 127.0.0.1:44135
DEBUG fronted: fronted.go:267 findWorkingFronts::Tried all fronts
DEBUG fronted: fronted.go:506 Returning connection for masquerade 127.0.0.1:44135 in 13.131961ms [is_idempotent=true op=fronted_roundtrip origin_host=abc.forbidden.com root_op=fronted_roundtrip]
DEBUG fronted: fronted.go:457 Translated origin abc.forbidden.com -> abc.sadcloud.io for provider sadcloud... [is_idempotent=true op=fronted_request origin_host=abc.forbidden.com root_op=fronted_roundtrip]
DEBUG fronted: fronted_test.go:662 (sadcloud.io) CDN Request: GET /quux HTTP/1.1
Host: abc.sadcloud.io
Accept-Encoding: gzip
Connection: close
User-Agent: Go-http-client/1.1
X-Cdn-Force-Fail: 403
DEBUG fronted: fronted_test.go:680 (sadcloud.io) Rejecting request with host = "abc.sadcloud.io" ff=403 allowed=.sadcloud.io
DEBUG fronted: fronted_test.go:687 Forcing status code to 403
DEBUG fronted: fronted.go:478 Could not complete request: response status 403: 403 Forbidden [is_idempotent=true op=fronted_request origin_host=abc.forbidden.com root_op=fronted_roundtrip]
DEBUG fronted: fronted.go:428 Could not complete request: response status 403: 403 Forbidden [is_idempotent=true op=fronted_roundtrip origin_host=abc.forbidden.com root_op=fronted_roundtrip]
DEBUG fronted: fronted.go:410 Retrying domain-fronted request, pass 1 [is_idempotent=true op=fronted_roundtrip origin_host=abc.forbidden.com root_op=fronted_roundtrip]
DEBUG fronted: fronted.go:273 findWorkingFronts::Enough working fronts...sleeping
DEBUG fronted: fronted.go:265 findWorkingFronts::Trying all fronts
DEBUG fronted: fronted.go:535 Could not dial to 127.0.0.1:34183, dial tcp 127.0.0.1:34183: connect: connection refused [masquerade_domain=example.com masquerade_ip=127.0.0.1:34183 masquerade_provider=cloudsack op=dial_masquerade root_op=dial_masquerade]
DEBUG fronted: fronted.go:543 Unexpected error dialing, keeping masquerade: dial tcp 127.0.0.1:34183: connect: connection refused [masquerade_domain=example.com masquerade_ip=127.0.0.1:34183 masquerade_provider=cloudsack op=dial_masquerade root_op=dial_masquerade]
DEBUG fronted: fronted.go:334 unexpected error vetting masquerades: dial tcp 127.0.0.1:34183: connect: connection refused
DEBUG fronted: fronted.go:267 findWorkingFronts::Tried all fronts
DEBUG fronted: fronted.go:265 findWorkingFronts::Trying all fronts
DEBUG fronted: fronted.go:535 Could not dial to 127.0.0.1:34943, dial tcp 127.0.0.1:34943: connect: connection refused [masquerade_domain=example.com masquerade_ip=127.0.0.1:34943 masquerade_provider=cloudsack op=dial_masquerade root_op=dial_masquerade]
DEBUG fronted: fronted.go:543 Unexpected error dialing, keeping masquerade: dial tcp 127.0.0.1:34943: connect: connection refused [masquerade_domain=example.com masquerade_ip=127.0.0.1:34943 masquerade_provider=cloudsack op=dial_masquerade root_op=dial_masquerade]
DEBUG fronted: fronted.go:334 unexp
|
|
Failed Test: TestCustomValidators/with_custom_validator,_it_should_reject_and_return_error_for_402
TestCustomValidators/with_custom_validator,_it_should_reject_and_return_error_for_402: === RUN TestCustomValidators/with_custom_validator,_it_should_reject_and_return_error_for_402
DEBUG fronted: fronted.go:100 Creating new fronted
2025/01/16 18:42:27 ERROR Failed to create gzip reader error="gzip: invalid header"
2025/01/16 18:42:27 ERROR Failed to process smart dialer config error="failed to create gzip reader: gzip: invalid header"
DEBUG fronted: fronted.go:235 Updating fronted configuration
DEBUG fronted: fronted.go:699 Loading candidates for 1 providers
DEBUG fronted: fronted.go:731 Finished loading candidates
DEBUG fronted: fronted_test.go:629 requesting forced response code 402
DEBUG fronted: fronted.go:265 findWorkingFronts::Trying all fronts
DEBUG fronted: fronted.go:506 Returning connection for masquerade 127.0.0.1:44135 in 12.575915ms
DEBUG fronted: fronted_test.go:662 (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:669 accepting request host=ttt.sadcloud.io ff=
DEBUG fronted: fronted.go:354 Successfully vetted one masquerade 127.0.0.1:44135
DEBUG fronted: fronted.go:267 findWorkingFronts::Tried all fronts
DEBUG fronted: fronted.go:506 Returning connection for masquerade 127.0.0.1:44135 in 12.587748ms [is_idempotent=true op=fronted_roundtrip origin_host=abc.forbidden.com root_op=fronted_roundtrip]
DEBUG fronted: fronted.go:457 Translated origin abc.forbidden.com -> abc.sadcloud.io for provider sadcloud... [is_idempotent=true op=fronted_request origin_host=abc.forbidden.com root_op=fronted_roundtrip]
DEBUG fronted: fronted_test.go:662 (sadcloud.io) CDN Request: GET /quux HTTP/1.1
Host: abc.sadcloud.io
Accept-Encoding: gzip
Connection: close
User-Agent: Go-http-client/1.1
X-Cdn-Force-Fail: 402
DEBUG fronted: fronted_test.go:680 (sadcloud.io) Rejecting request with host = "abc.sadcloud.io" ff=402 allowed=.sadcloud.io
DEBUG fronted: fronted_test.go:687 Forcing status code to 402
fronted_test.go:638:
Error Trace: /home/runner/work/fronted/fronted/fronted_test.go:638
Error: An error is expected but got nil.
Test: TestCustomValidators/with_custom_validator,_it_should_reject_and_return_error_for_402
--- FAIL: TestCustomValidators/with_custom_validator,_it_should_reject_and_return_error_for_402 (0.03s)
- No trace available
|
|
Failed Test: TestCustomValidators/with_custom_validator,_it_should_reject_and_return_error_for_418
TestCustomValidators/with_custom_validator,_it_should_reject_and_return_error_for_418: === RUN TestCustomValidators/with_custom_validator,_it_should_reject_and_return_error_for_418
DEBUG fronted: fronted.go:100 Creating new fronted
2025/01/16 18:42:27 ERROR Failed to create gzip reader error="gzip: invalid header"
2025/01/16 18:42:27 ERROR Failed to process smart dialer config error="failed to create gzip reader: gzip: invalid header"
DEBUG fronted: fronted.go:235 Updating fronted configuration
DEBUG fronted: fronted.go:699 Loading candidates for 1 providers
DEBUG fronted: fronted.go:731 Finished loading candidates
DEBUG fronted: fronted_test.go:629 requesting forced response code 418
DEBUG fronted: fronted.go:265 findWorkingFronts::Trying all fronts
DEBUG fronted: fronted.go:506 Returning connection for masquerade 127.0.0.1:44135 in 12.565444ms
DEBUG fronted: fronted_test.go:662 (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:669 accepting request host=ttt.sadcloud.io ff=
DEBUG fronted: fronted.go:354 Successfully vetted one masquerade 127.0.0.1:44135
DEBUG fronted: fronted.go:267 findWorkingFronts::Tried all fronts
DEBUG fronted: fronted.go:506 Returning connection for masquerade 127.0.0.1:44135 in 13.041627ms [is_idempotent=true op=fronted_roundtrip origin_host=abc.forbidden.com root_op=fronted_roundtrip]
DEBUG fronted: fronted.go:457 Translated origin abc.forbidden.com -> abc.sadcloud.io for provider sadcloud... [is_idempotent=true op=fronted_request origin_host=abc.forbidden.com root_op=fronted_roundtrip]
DEBUG fronted: fronted_test.go:662 (sadcloud.io) CDN Request: GET /quux HTTP/1.1
Host: abc.sadcloud.io
Accept-Encoding: gzip
Connection: close
User-Agent: Go-http-client/1.1
X-Cdn-Force-Fail: 418
DEBUG fronted: fronted_test.go:680 (sadcloud.io) Rejecting request with host = "abc.sadcloud.io" ff=418 allowed=.sadcloud.io
DEBUG fronted: fronted_test.go:687 Forcing status code to 418
fronted_test.go:638:
Error Trace: /home/runner/work/fronted/fronted/fronted_test.go:638
Error: An error is expected but got nil.
Test: TestCustomValidators/with_custom_validator,_it_should_reject_and_return_error_for_418
--- FAIL: TestCustomValidators/with_custom_validator,_it_should_reject_and_return_error_for_418 (0.03s)
- No trace available
|
|
Failed Test: TestCustomValidators/with_custom_validator,_it_should_reject_and_return_error_for_502
TestCustomValidators/with_custom_validator,_it_should_reject_and_return_error_for_502: === RUN TestCustomValidators/with_custom_validator,_it_should_reject_and_return_error_for_502
DEBUG fronted: fronted.go:100 Creating new fronted
2025/01/16 18:42:27 ERROR Failed to create gzip reader error="gzip: invalid header"
2025/01/16 18:42:27 ERROR Failed to process smart dialer config error="failed to create gzip reader: gzip: invalid header"
DEBUG fronted: fronted.go:235 Updating fronted configuration
DEBUG fronted: fronted.go:699 Loading candidates for 1 providers
DEBUG fronted: fronted.go:731 Finished loading candidates
DEBUG fronted: fronted_test.go:629 requesting forced response code 502
DEBUG fronted: fronted.go:265 findWorkingFronts::Trying all fronts
DEBUG fronted: fronted.go:506 Returning connection for masquerade 127.0.0.1:44135 in 12.741668ms
DEBUG fronted: fronted_test.go:662 (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:669 accepting request host=ttt.sadcloud.io ff=
DEBUG fronted: fronted.go:354 Successfully vetted one masquerade 127.0.0.1:44135
DEBUG fronted: fronted.go:267 findWorkingFronts::Tried all fronts
DEBUG fronted: fronted.go:506 Returning connection for masquerade 127.0.0.1:44135 in 12.686151ms [is_idempotent=true op=fronted_roundtrip origin_host=abc.forbidden.com root_op=fronted_roundtrip]
DEBUG fronted: fronted.go:457 Translated origin abc.forbidden.com -> abc.sadcloud.io for provider sadcloud... [is_idempotent=true op=fronted_request origin_host=abc.forbidden.com root_op=fronted_roundtrip]
DEBUG fronted: fronted_test.go:662 (sadcloud.io) CDN Request: GET /quux HTTP/1.1
Host: abc.sadcloud.io
Accept-Encoding: gzip
Connection: close
User-Agent: Go-http-client/1.1
X-Cdn-Force-Fail: 502
DEBUG fronted: fronted_test.go:680 (sadcloud.io) Rejecting request with host = "abc.sadcloud.io" ff=502 allowed=.sadcloud.io
DEBUG fronted: fronted_test.go:687 Forcing status code to 502
fronted_test.go:638:
Error Trace: /home/runner/work/fronted/fronted/fronted_test.go:638
Error: An error is expected but got nil.
Test: TestCustomValidators/with_custom_validator,_it_should_reject_and_return_error_for_502
--- FAIL: TestCustomValidators/with_custom_validator,_it_should_reject_and_return_error_for_502 (0.03s)
- No trace available
|
|
Failed Test: TestCustomValidators
TestCustomValidators: --- FAIL: TestCustomValidators (10.43s)
- No trace available
|
|
Failed Test: TestCustomValidators/with_custom_validator,_it_should_accept_403
TestCustomValidators/with_custom_validator,_it_should_accept_403: === RUN TestCustomValidators/with_custom_validator,_it_should_accept_403
DEBUG fronted: fronted.go:100 Creating new fronted
2025/01/16 18:42:22 ERROR Failed to create gzip reader error="gzip: invalid header"
2025/01/16 18:42:22 ERROR Failed to process smart dialer config error="failed to create gzip reader: gzip: invalid header"
DEBUG fronted: fronted.go:235 Updating fronted configuration
DEBUG fronted: fronted.go:699 Loading candidates for 1 providers
DEBUG fronted: fronted.go:731 Finished loading candidates
DEBUG fronted: fronted_test.go:629 requesting forced response code 403
DEBUG fronted: fronted.go:265 findWorkingFronts::Trying all fronts
DEBUG fronted: fronted.go:506 Returning connection for masquerade 127.0.0.1:44135 in 12.827811ms
DEBUG fronted: fronted_test.go:662 (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:669 accepting request host=ttt.sadcloud.io ff=
DEBUG fronted: fronted.go:354 Successfully vetted one masquerade 127.0.0.1:44135
DEBUG fronted: fronted.go:267 findWorkingFronts::Tried all fronts
DEBUG fronted: fronted.go:506 Returning connection for masquerade 127.0.0.1:44135 in 13.131961ms [is_idempotent=true op=fronted_roundtrip origin_host=abc.forbidden.com root_op=fronted_roundtrip]
DEBUG fronted: fronted.go:457 Translated origin abc.forbidden.com -> abc.sadcloud.io for provider sadcloud... [is_idempotent=true op=fronted_request origin_host=abc.forbidden.com root_op=fronted_roundtrip]
DEBUG fronted: fronted_test.go:662 (sadcloud.io) CDN Request: GET /quux HTTP/1.1
Host: abc.sadcloud.io
Accept-Encoding: gzip
Connection: close
User-Agent: Go-http-client/1.1
X-Cdn-Force-Fail: 403
DEBUG fronted: fronted_test.go:680 (sadcloud.io) Rejecting request with host = "abc.sadcloud.io" ff=403 allowed=.sadcloud.io
DEBUG fronted: fronted_test.go:687 Forcing status code to 403
DEBUG fronted: fronted.go:478 Could not complete request: response status 403: 403 Forbidden [is_idempotent=true op=fronted_request origin_host=abc.forbidden.com root_op=fronted_roundtrip]
DEBUG fronted: fronted.go:428 Could not complete request: response status 403: 403 Forbidden [is_idempotent=true op=fronted_roundtrip origin_host=abc.forbidden.com root_op=fronted_roundtrip]
DEBUG fronted: fronted.go:410 Retrying domain-fronted request, pass 1 [is_idempotent=true op=fronted_roundtrip origin_host=abc.forbidden.com root_op=fronted_roundtrip]
DEBUG fronted: fronted.go:273 findWorkingFronts::Enough working fronts...sleeping
DEBUG fronted: fronted.go:265 findWorkingFronts::Trying all fronts
DEBUG fronted: fronted.go:535 Could not dial to 127.0.0.1:34183, dial tcp 127.0.0.1:34183: connect: connection refused [masquerade_domain=example.com masquerade_ip=127.0.0.1:34183 masquerade_provider=cloudsack op=dial_masquerade root_op=dial_masquerade]
DEBUG fronted: fronted.go:543 Unexpected error dialing, keeping masquerade: dial tcp 127.0.0.1:34183: connect: connection refused [masquerade_domain=example.com masquerade_ip=127.0.0.1:34183 masquerade_provider=cloudsack op=dial_masquerade root_op=dial_masquerade]
DEBUG fronted: fronted.go:334 unexpected error vetting masquerades: dial tcp 127.0.0.1:34183: connect: connection refused
DEBUG fronted: fronted.go:267 findWorkingFronts::Tried all fronts
DEBUG fronted: fronted.go:265 findWorkingFronts::Trying all fronts
DEBUG fronted: fronted.go:535 Could not dial to 127.0.0.1:34943, dial tcp 127.0.0.1:34943: connect: connection refused [masquerade_domain=example.com masquerade_ip=127.0.0.1:34943 masquerade_provider=cloudsack op=dial_masquerade root_op=dial_masquerade]
DEBUG fronted: fronted.go:543 Unexpected error dialing, keeping masquerade: dial tcp 127.0.0.1:34943: connect: connection refused [masquerade_domain=example.com masquerade_ip=127.0.0.1:34943 masquerade_provider=cloudsack op=dial_masquerade root_op=dial_masquerade]
DEBUG fronted: fronted.go:334 unexp
|
|
Failed Test: TestCustomValidators/with_custom_validator,_it_should_reject_and_return_error_for_402
TestCustomValidators/with_custom_validator,_it_should_reject_and_return_error_for_402: === RUN TestCustomValidators/with_custom_validator,_it_should_reject_and_return_error_for_402
DEBUG fronted: fronted.go:100 Creating new fronted
2025/01/16 18:42:27 ERROR Failed to create gzip reader error="gzip: invalid header"
2025/01/16 18:42:27 ERROR Failed to process smart dialer config error="failed to create gzip reader: gzip: invalid header"
DEBUG fronted: fronted.go:235 Updating fronted configuration
DEBUG fronted: fronted.go:699 Loading candidates for 1 providers
DEBUG fronted: fronted.go:731 Finished loading candidates
DEBUG fronted: fronted_test.go:629 requesting forced response code 402
DEBUG fronted: fronted.go:265 findWorkingFronts::Trying all fronts
DEBUG fronted: fronted.go:506 Returning connection for masquerade 127.0.0.1:44135 in 12.575915ms
DEBUG fronted: fronted_test.go:662 (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:669 accepting request host=ttt.sadcloud.io ff=
DEBUG fronted: fronted.go:354 Successfully vetted one masquerade 127.0.0.1:44135
DEBUG fronted: fronted.go:267 findWorkingFronts::Tried all fronts
DEBUG fronted: fronted.go:506 Returning connection for masquerade 127.0.0.1:44135 in 12.587748ms [is_idempotent=true op=fronted_roundtrip origin_host=abc.forbidden.com root_op=fronted_roundtrip]
DEBUG fronted: fronted.go:457 Translated origin abc.forbidden.com -> abc.sadcloud.io for provider sadcloud... [is_idempotent=true op=fronted_request origin_host=abc.forbidden.com root_op=fronted_roundtrip]
DEBUG fronted: fronted_test.go:662 (sadcloud.io) CDN Request: GET /quux HTTP/1.1
Host: abc.sadcloud.io
Accept-Encoding: gzip
Connection: close
User-Agent: Go-http-client/1.1
X-Cdn-Force-Fail: 402
DEBUG fronted: fronted_test.go:680 (sadcloud.io) Rejecting request with host = "abc.sadcloud.io" ff=402 allowed=.sadcloud.io
DEBUG fronted: fronted_test.go:687 Forcing status code to 402
fronted_test.go:638:
Error Trace: /home/runner/work/fronted/fronted/fronted_test.go:638
Error: An error is expected but got nil.
Test: TestCustomValidators/with_custom_validator,_it_should_reject_and_return_error_for_402
--- FAIL: TestCustomValidators/with_custom_validator,_it_should_reject_and_return_error_for_402 (0.03s)
- No trace available
|
|
Failed Test: TestCustomValidators/with_custom_validator,_it_should_reject_and_return_error_for_418
TestCustomValidators/with_custom_validator,_it_should_reject_and_return_error_for_418: === RUN TestCustomValidators/with_custom_validator,_it_should_reject_and_return_error_for_418
DEBUG fronted: fronted.go:100 Creating new fronted
2025/01/16 18:42:27 ERROR Failed to create gzip reader error="gzip: invalid header"
2025/01/16 18:42:27 ERROR Failed to process smart dialer config error="failed to create gzip reader: gzip: invalid header"
DEBUG fronted: fronted.go:235 Updating fronted configuration
DEBUG fronted: fronted.go:699 Loading candidates for 1 providers
DEBUG fronted: fronted.go:731 Finished loading candidates
DEBUG fronted: fronted_test.go:629 requesting forced response code 418
DEBUG fronted: fronted.go:265 findWorkingFronts::Trying all fronts
DEBUG fronted: fronted.go:506 Returning connection for masquerade 127.0.0.1:44135 in 12.565444ms
DEBUG fronted: fronted_test.go:662 (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:669 accepting request host=ttt.sadcloud.io ff=
DEBUG fronted: fronted.go:354 Successfully vetted one masquerade 127.0.0.1:44135
DEBUG fronted: fronted.go:267 findWorkingFronts::Tried all fronts
DEBUG fronted: fronted.go:506 Returning connection for masquerade 127.0.0.1:44135 in 13.041627ms [is_idempotent=true op=fronted_roundtrip origin_host=abc.forbidden.com root_op=fronted_roundtrip]
DEBUG fronted: fronted.go:457 Translated origin abc.forbidden.com -> abc.sadcloud.io for provider sadcloud... [is_idempotent=true op=fronted_request origin_host=abc.forbidden.com root_op=fronted_roundtrip]
DEBUG fronted: fronted_test.go:662 (sadcloud.io) CDN Request: GET /quux HTTP/1.1
Host: abc.sadcloud.io
Accept-Encoding: gzip
Connection: close
User-Agent: Go-http-client/1.1
X-Cdn-Force-Fail: 418
DEBUG fronted: fronted_test.go:680 (sadcloud.io) Rejecting request with host = "abc.sadcloud.io" ff=418 allowed=.sadcloud.io
DEBUG fronted: fronted_test.go:687 Forcing status code to 418
fronted_test.go:638:
Error Trace: /home/runner/work/fronted/fronted/fronted_test.go:638
Error: An error is expected but got nil.
Test: TestCustomValidators/with_custom_validator,_it_should_reject_and_return_error_for_418
--- FAIL: TestCustomValidators/with_custom_validator,_it_should_reject_and_return_error_for_418 (0.03s)
- No trace available
|
|
Failed Test: TestCustomValidators/with_custom_validator,_it_should_reject_and_return_error_for_502
TestCustomValidators/with_custom_validator,_it_should_reject_and_return_error_for_502: === RUN TestCustomValidators/with_custom_validator,_it_should_reject_and_return_error_for_502
DEBUG fronted: fronted.go:100 Creating new fronted
2025/01/16 18:42:27 ERROR Failed to create gzip reader error="gzip: invalid header"
2025/01/16 18:42:27 ERROR Failed to process smart dialer config error="failed to create gzip reader: gzip: invalid header"
DEBUG fronted: fronted.go:235 Updating fronted configuration
DEBUG fronted: fronted.go:699 Loading candidates for 1 providers
DEBUG fronted: fronted.go:731 Finished loading candidates
DEBUG fronted: fronted_test.go:629 requesting forced response code 502
DEBUG fronted: fronted.go:265 findWorkingFronts::Trying all fronts
DEBUG fronted: fronted.go:506 Returning connection for masquerade 127.0.0.1:44135 in 12.741668ms
DEBUG fronted: fronted_test.go:662 (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:669 accepting request host=ttt.sadcloud.io ff=
DEBUG fronted: fronted.go:354 Successfully vetted one masquerade 127.0.0.1:44135
DEBUG fronted: fronted.go:267 findWorkingFronts::Tried all fronts
DEBUG fronted: fronted.go:506 Returning connection for masquerade 127.0.0.1:44135 in 12.686151ms [is_idempotent=true op=fronted_roundtrip origin_host=abc.forbidden.com root_op=fronted_roundtrip]
DEBUG fronted: fronted.go:457 Translated origin abc.forbidden.com -> abc.sadcloud.io for provider sadcloud... [is_idempotent=true op=fronted_request origin_host=abc.forbidden.com root_op=fronted_roundtrip]
DEBUG fronted: fronted_test.go:662 (sadcloud.io) CDN Request: GET /quux HTTP/1.1
Host: abc.sadcloud.io
Accept-Encoding: gzip
Connection: close
User-Agent: Go-http-client/1.1
X-Cdn-Force-Fail: 502
DEBUG fronted: fronted_test.go:680 (sadcloud.io) Rejecting request with host = "abc.sadcloud.io" ff=502 allowed=.sadcloud.io
DEBUG fronted: fronted_test.go:687 Forcing status code to 502
fronted_test.go:638:
Error Trace: /home/runner/work/fronted/fronted/fronted_test.go:638
Error: An error is expected but got nil.
Test: TestCustomValidators/with_custom_validator,_it_should_reject_and_return_error_for_502
--- FAIL: TestCustomValidators/with_custom_validator,_it_should_reject_and_return_error_for_502 (0.03s)
- No trace available
|
|
Failed Test: TestCustomValidators
TestCustomValidators: --- FAIL: TestCustomValidators (10.43s)
- No trace available
|
|
build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
|
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 | Digest | |
|---|---|---|---|
|
ctrf-report
Expired
|
3.46 KB |
sha256:6a2ea41838cc76911381187594ebb615441cfbc9fee51b45d710650da8902750
|
|