Created
October 9, 2020 22:20
-
-
Save matiasinsaurralde/c7692c35ebe50a8bfc55ba0ab0175969 to your computer and use it in GitHub Desktop.
log.txt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% go test . | |
time="Oct 09 19:19:28" level=info msg="Rich plugins are disabled" prefix=coprocess | |
--- FAIL: TestVirtualEndpointBatch (0.70s) | |
--- FAIL: TestVirtualEndpointBatch/Skip_verification (0.01s) | |
http.go:270: [0] Expected status code `202` got `500. `. | |
--- FAIL: TestPublicKeyPinning (2.64s) | |
--- FAIL: TestPublicKeyPinning/Pub_key_match (0.52s) | |
http.go:270: [0] Expected status code `200` got `500. { | |
"error": "There was a problem proxying the request" | |
}`. | |
--- FAIL: TestPublicKeyPinning/Enable_Common_Name_check (0.54s) | |
http.go:270: [0] Expected status code `200` got `500. { | |
"error": "There was a problem proxying the request" | |
}`. | |
--- FAIL: TestProxyTransport (0.58s) | |
--- FAIL: TestProxyTransport/Global:_Cipher_not_match (0.01s) | |
http.go:270: [0] Expected status code `500` got `200. test`. | |
--- FAIL: TestProxyTransport/API:_MinTLS_not_match (0.01s) | |
http.go:270: [0] Expected status code `500` got `200. test`. | |
--- FAIL: TestProxyTransport/API:_Valid_proxy (0.01s) | |
http.go:270: [0] Expected status code `200` got `500. { | |
"error": "There was a problem proxying the request" | |
}`. | |
--- FAIL: TestGatewayTLS (2.09s) | |
--- FAIL: TestGatewayTLS/Without_certificates (0.52s) | |
http.go:257: [0] Expect error `Get "https://127.0.0.1:49453/": remote error: tls: unrecognized name` to contain `tls: internal error`. | |
--- FAIL: TestGatewayTLS/Legacy_TLS_certificate_path (0.52s) | |
http.go:260: [0] Connection error: Get "https://127.0.0.1:49456/": remote error: tls: handshake failure. | |
--- FAIL: TestGatewayTLS/File_certificate_path (0.52s) | |
http.go:260: [0] Connection error: Get "https://127.0.0.1:49458/": remote error: tls: handshake failure. | |
--- FAIL: TestGatewayTLS/Redis_certificate (0.52s) | |
http.go:260: [0] Connection error: Get "https://127.0.0.1:49460/": remote error: tls: handshake failure. | |
--- FAIL: TestGatewayControlAPIMutualTLS (0.53s) | |
--- FAIL: TestGatewayControlAPIMutualTLS/Separate_domain (0.51s) | |
http.go:260: [0] Connection error: Get "https://127.0.0.1:49462/": remote error: tls: handshake failure. | |
http.go:257: [1] Expect error `Get "https://localhost:49462/": remote error: tls: handshake failure` to contain `x509: certificate signed by unknown authority`. | |
http.go:257: [2] Expect error `Get "https://localhost:49462/": remote error: tls: handshake failure` to contain `tls: bad certificate`. | |
http.go:260: [0] Connection error: Get "https://localhost:49462/tyk/certs": remote error: tls: handshake failure. | |
--- FAIL: TestAPIMutualTLS (0.84s) | |
--- FAIL: TestAPIMutualTLS/SNI_and_domain_per_API (0.05s) | |
--- FAIL: TestAPIMutualTLS/SNI_and_domain_per_API/API_without_mutual_TLS (0.01s) | |
http.go:260: [0] Connection error: Get "https://localhost:49473/": remote error: tls: handshake failure. | |
--- FAIL: TestAPIMutualTLS/SNI_and_domain_per_API/MutualTLSCertificate_not_set (0.01s) | |
http.go:257: [0] Expect error `Get "https://localhost:49473/": remote error: tls: handshake failure` to contain `tls: bad certificate`. | |
--- FAIL: TestAPIMutualTLS/SNI_and_domain_per_API/Client_certificate_match (0.01s) | |
http.go:260: [0] Connection error: Get "https://localhost:49473/": remote error: tls: handshake failure. | |
http.go:257: [0] Expect error `Get "https://localhost:49473/": remote error: tls: handshake failure` to contain `tls: bad certificate`. | |
--- FAIL: TestAPIMutualTLS/SNI_and_domain_per_API/Client_certificate_differ (0.02s) | |
http.go:257: [0] Expect error `Get "https://localhost:49473/": remote error: tls: handshake failure` to contain `tls: bad certificate`. | |
--- FAIL: TestAPIMutualTLS/Multiple_APIs_on_same_domain (0.06s) | |
--- FAIL: TestAPIMutualTLS/Multiple_APIs_on_same_domain/Empty_domain (0.03s) | |
--- FAIL: TestAPIMutualTLS/Multiple_APIs_on_same_domain/Empty_domain/Without_certificate (0.01s) | |
http.go:260: [0] Connection error: Get "https://127.0.0.1:49473/with_mutual": remote error: tls: handshake failure. | |
http.go:260: [1] Connection error: Get "https://127.0.0.1:49473/without_mutual": remote error: tls: handshake failure. | |
--- FAIL: TestAPIMutualTLS/Multiple_APIs_on_same_domain/Empty_domain/Client_certificate_not_match (0.01s) | |
http.go:260: [0] Connection error: Get "https://127.0.0.1:49473/with_mutual": remote error: tls: handshake failure. | |
--- FAIL: TestAPIMutualTLS/Multiple_APIs_on_same_domain/Empty_domain/Client_certificate_match (0.01s) | |
http.go:260: [0] Connection error: Get "https://127.0.0.1:49473/with_mutual": remote error: tls: handshake failure. | |
--- FAIL: TestAPIMutualTLS/Multiple_APIs_on_same_domain/Custom_domain (0.03s) | |
--- FAIL: TestAPIMutualTLS/Multiple_APIs_on_same_domain/Custom_domain/Without_certificate (0.01s) | |
http.go:260: [0] Connection error: Get "https://localhost:49473/with_mutual": remote error: tls: handshake failure. | |
http.go:260: [1] Connection error: Get "https://localhost:49473/without_mutual": remote error: tls: handshake failure. | |
--- FAIL: TestAPIMutualTLS/Multiple_APIs_on_same_domain/Custom_domain/Client_certificate_not_match (0.01s) | |
http.go:260: [0] Connection error: Get "https://localhost:49473/with_mutual": remote error: tls: handshake failure. | |
--- FAIL: TestAPIMutualTLS/Multiple_APIs_on_same_domain/Custom_domain/Client_certificate_match (0.01s) | |
http.go:260: [0] Connection error: Get "https://localhost:49473/with_mutual": remote error: tls: handshake failure. | |
--- FAIL: TestAPIMutualTLS/Multiple_APIs_with_Mutual_TLS_on_the_same_domain (0.07s) | |
--- FAIL: TestAPIMutualTLS/Multiple_APIs_with_Mutual_TLS_on_the_same_domain/Empty_domain (0.03s) | |
--- FAIL: TestAPIMutualTLS/Multiple_APIs_with_Mutual_TLS_on_the_same_domain/Empty_domain/Without_certificate (0.01s) | |
http.go:257: [0] Expect error `Get "https://127.0.0.1:49473/with_mutual": remote error: tls: handshake failure` to contain `tls: bad certificate`. | |
http.go:257: [1] Expect error `Get "https://127.0.0.1:49473/with_mutual_2": remote error: tls: handshake failure` to contain `tls: bad certificate`. | |
--- FAIL: TestAPIMutualTLS/Multiple_APIs_with_Mutual_TLS_on_the_same_domain/Empty_domain/Client_certificate_not_match (0.01s) | |
http.go:257: [0] Expect error `Get "https://127.0.0.1:49473/with_mutual": remote error: tls: handshake failure` to contain `tls: bad certificate`. | |
http.go:257: [0] Expect error `Get "https://127.0.0.1:49473/with_mutual_2": remote error: tls: handshake failure` to contain `tls: bad certificate`. | |
--- FAIL: TestAPIMutualTLS/Multiple_APIs_with_Mutual_TLS_on_the_same_domain/Empty_domain/Client_certificate_match (0.01s) | |
http.go:260: [0] Connection error: Get "https://127.0.0.1:49473/with_mutual": remote error: tls: handshake failure. | |
http.go:260: [1] Connection error: Get "https://127.0.0.1:49473/with_mutual_2": remote error: tls: handshake failure. | |
http.go:260: [2] Connection error: Get "https://127.0.0.1:49473/with_mutual_2": remote error: tls: handshake failure. | |
http.go:260: [3] Connection error: Get "https://127.0.0.1:49473/with_mutual": remote error: tls: handshake failure. | |
--- FAIL: TestAPIMutualTLS/Multiple_APIs_with_Mutual_TLS_on_the_same_domain/Custom_domain (0.04s) | |
--- FAIL: TestAPIMutualTLS/Multiple_APIs_with_Mutual_TLS_on_the_same_domain/Custom_domain/Without_certificate (0.01s) | |
http.go:257: [0] Expect error `Get "https://localhost:49473/with_mutual": remote error: tls: handshake failure` to contain `tls: bad certificate`. | |
http.go:257: [1] Expect error `Get "https://localhost:49473/with_mutual_2": remote error: tls: handshake failure` to contain `tls: bad certificate`. | |
--- FAIL: TestAPIMutualTLS/Multiple_APIs_with_Mutual_TLS_on_the_same_domain/Custom_domain/Client_certificate_not_match (0.01s) | |
http.go:257: [0] Expect error `Get "https://localhost:49473/with_mutual": remote error: tls: handshake failure` to contain `tls: bad certificate`. | |
http.go:257: [0] Expect error `Get "https://localhost:49473/with_mutual_2": remote error: tls: handshake failure` to contain `tls: bad certificate`. | |
--- FAIL: TestAPIMutualTLS/Multiple_APIs_with_Mutual_TLS_on_the_same_domain/Custom_domain/Client_certificate_match (0.01s) | |
http.go:260: [0] Connection error: Get "https://localhost:49473/with_mutual": remote error: tls: handshake failure. | |
http.go:260: [1] Connection error: Get "https://localhost:49473/with_mutual_2": remote error: tls: handshake failure. | |
http.go:260: [2] Connection error: Get "https://localhost:49473/with_mutual_2": remote error: tls: handshake failure. | |
http.go:260: [3] Connection error: Get "https://localhost:49473/with_mutual": remote error: tls: handshake failure. | |
--- FAIL: TestAPIMutualTLS/Multiple_APIs,_mutual_on_custom (0.07s) | |
--- FAIL: TestAPIMutualTLS/Multiple_APIs,_mutual_on_custom/Empty_domain (0.03s) | |
--- FAIL: TestAPIMutualTLS/Multiple_APIs,_mutual_on_custom/Empty_domain/Without_certificate (0.01s) | |
http.go:260: [0] Connection error: Get "https://127.0.0.1:49473/with_mutual": remote error: tls: handshake failure. | |
http.go:260: [0] Connection error: Get "https://127.0.0.1:49473/without_mutual": remote error: tls: handshake failure. | |
--- FAIL: TestAPIMutualTLS/Multiple_APIs,_mutual_on_custom/Empty_domain/Client_certificate_not_match (0.01s) | |
http.go:260: [0] Connection error: Get "https://127.0.0.1:49473/with_mutual": remote error: tls: handshake failure. | |
--- FAIL: TestAPIMutualTLS/Multiple_APIs,_mutual_on_custom/Empty_domain/Client_certificate_match (0.01s) | |
http.go:260: [0] Connection error: Get "https://127.0.0.1:49473/with_mutual": remote error: tls: handshake failure. | |
--- FAIL: TestAPIMutualTLS/Multiple_APIs,_mutual_on_custom/Custom_domain (0.03s) | |
--- FAIL: TestAPIMutualTLS/Multiple_APIs,_mutual_on_custom/Custom_domain/Without_certificate (0.01s) | |
http.go:257: [0] Expect error `Get "https://localhost:49473/with_mutual": remote error: tls: handshake failure` to contain `tls: bad certificate`. | |
http.go:260: [0] Connection error: Get "https://127.0.0.1:49473/without_mutual": remote error: tls: handshake failure. | |
--- FAIL: TestAPIMutualTLS/Multiple_APIs,_mutual_on_custom/Custom_domain/Client_certificate_not_match (0.01s) | |
http.go:257: [0] Expect error `Get "https://localhost:49473/with_mutual": remote error: tls: handshake failure` to contain `tls: bad certificate`. | |
--- FAIL: TestAPIMutualTLS/Multiple_APIs,_mutual_on_custom/Custom_domain/Client_certificate_match (0.01s) | |
http.go:260: [0] Connection error: Get "https://localhost:49473/with_mutual": remote error: tls: handshake failure. | |
--- FAIL: TestAPIMutualTLS/Multiple_APIs,_mutual_on_empty (0.06s) | |
--- FAIL: TestAPIMutualTLS/Multiple_APIs,_mutual_on_empty/Empty_domain (0.03s) | |
--- FAIL: TestAPIMutualTLS/Multiple_APIs,_mutual_on_empty/Empty_domain/Without_certificate (0.01s) | |
http.go:260: [0] Connection error: Get "https://127.0.0.1:49473/with_mutual": remote error: tls: handshake failure. | |
http.go:260: [0] Connection error: Get "https://127.0.0.1:49473/without_mutual": remote error: tls: handshake failure. | |
--- FAIL: TestAPIMutualTLS/Multiple_APIs,_mutual_on_empty/Empty_domain/Client_certificate_not_match (0.01s) | |
http.go:260: [0] Connection error: Get "https://127.0.0.1:49473/with_mutual": remote error: tls: handshake failure. | |
--- FAIL: TestAPIMutualTLS/Multiple_APIs,_mutual_on_empty/Empty_domain/Client_certificate_match (0.01s) | |
http.go:260: [0] Connection error: Get "https://127.0.0.1:49473/with_mutual": remote error: tls: handshake failure. | |
--- FAIL: TestAPIMutualTLS/Multiple_APIs,_mutual_on_empty/Custom_domain (0.03s) | |
--- FAIL: TestAPIMutualTLS/Multiple_APIs,_mutual_on_empty/Custom_domain/Without_certificate (0.01s) | |
http.go:257: [0] Expect error `Get "https://127.0.0.1:49473/with_mutual": remote error: tls: handshake failure` to contain `tls: bad certificate`. | |
http.go:260: [0] Connection error: Get "https://localhost:49473/without_mutual": remote error: tls: handshake failure. | |
--- FAIL: TestAPIMutualTLS/Multiple_APIs,_mutual_on_empty/Custom_domain/Client_certificate_not_match (0.01s) | |
http.go:257: [0] Expect error `Get "https://127.0.0.1:49473/with_mutual": remote error: tls: handshake failure` to contain `tls: bad certificate`. | |
--- FAIL: TestAPIMutualTLS/Multiple_APIs,_mutual_on_empty/Custom_domain/Client_certificate_match (0.01s) | |
http.go:260: [0] Connection error: Get "https://127.0.0.1:49473/with_mutual": remote error: tls: handshake failure. | |
--- FAIL: TestUpstreamMutualTLS (0.53s) | |
--- FAIL: TestUpstreamMutualTLS/Without_API (0.00s) | |
cert_test.go:742: Should pass with valid certificate | |
--- FAIL: TestUpstreamMutualTLS/Upstream_API (0.52s) | |
http.go:270: [0] Expected status code `200` got `500. { | |
"error": "There was a problem proxying the request" | |
}`. | |
--- FAIL: TestSSLForceCommonName (1.05s) | |
--- FAIL: TestSSLForceCommonName/Force_Common_Name_Check_is_Enabled (0.52s) | |
http.go:270: [0] Expected status code `200` got `500. { | |
"error": "There was a problem proxying the request" | |
}`. | |
FAIL github.com/TykTechnologies/tyk/gateway 34.696s | |
FAIL |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment