Closed aszecowka closed 4 years ago
--- FAIL: TestConnector (335.32s) --- FAIL: TestConnector/Connector_Service_flow_for_Application (334.78s) --- FAIL: TestConnector/Connector_Service_flow_for_Application/should_create_client_certificate (30.40s) client.go:153: -------------------------------- GET /v1/applications/signingRequests/info?token=NvWoDz-4KcAoKTLw7SvJMVKaa8oiJJNUbmIhGcjeXt8v4kSBIk96OAAFZRJxiN-UMmwdRmywKsp4sngjE5Udnw== HTTP/1.1 Host: adapter-gateway.kyma.local Connection: close Tenant: 3e64ebae-38b5-46a0-b1ed-9ccee153a0ae -------------------------------- HTTP/1.1 500 Internal Server Error Connection: close Content-Length: 166 Content-Type: application/json;charset=UTF-8 Date: Thu, 27 Feb 2020 12:43:44 GMT Server: istio-envoy X-Envoy-Upstream-Service-Time: 30201 {"code":500,"error":"Failed to get application from Director: Post http://compass-director.compass-system.svc.cluster.local:3000/graphql: context deadline exceeded"} -------------------------------- connector_test.go:421: Error Trace: connector_test.go:421 connector_test.go:89 Error: Expected nil, but got: &connector.Error{StatusCode:500, ErrorResponse:connector.ErrorResponse{Code:500, Error:"Failed to get application from Director: Post http://compass-director.compass-system.svc.cluster.local:3000/graphql: context deadline exceeded"}} Test: TestConnector/Connector_Service_flow_for_Application/should_create_client_certificate --- FAIL: TestConnector/Connector_Service_flow_for_Application/should_create_two_certificates_in_a_chain (30.18s) client.go:153: -------------------------------- GET /v1/applications/signingRequests/info?token=PB0NSgDFdorXXuK31FrgpNSOe7n2owOUKJJCHxRwzD0HB5-8h43xOt3ycHfxm8SCa_MUyA6IHZDWP9mtasaYLg== HTTP/1.1 Host: adapter-gateway.kyma.local Connection: close Tenant: 3e64ebae-38b5-46a0-b1ed-9ccee153a0ae -------------------------------- HTTP/1.1 500 Internal Server Error Connection: close Content-Length: 216 Content-Type: application/json;charset=UTF-8 Date: Thu, 27 Feb 2020 12:44:14 GMT Server: istio-envoy X-Envoy-Upstream-Service-Time: 30099 {"code":500,"error":"Failed to get application from Director: Post http://compass-director.compass-system.svc.cluster.local:3000/graphql: net/http: request canceled (Client.Timeout exceeded while awaiting headers)"} -------------------------------- connector_test.go:421: Error Trace: connector_test.go:421 connector_test.go:104 Error: Expected nil, but got: &connector.Error{StatusCode:500, ErrorResponse:connector.ErrorResponse{Code:500, Error:"Failed to get application from Director: Post http://compass-director.compass-system.svc.cluster.local:3000/graphql: net/http: request canceled (Client.Timeout exceeded while awaiting headers)"}} Test: TestConnector/Connector_Service_flow_for_Application/should_create_two_certificates_in_a_chain --- FAIL: TestConnector/Connector_Service_flow_for_Application/client_cert_should_be_signed_by_server_cert (30.39s) client.go:153: -------------------------------- GET /v1/applications/signingRequests/info?token=5eEWVqkL3sAHhtFQhII7_LbQcM7tk0lsImh8apoe4EnA_zGNkwE7zrXT0a_YIhkYE_szEcZRbqQa5r1Xw-VorQ== HTTP/1.1 Host: adapter-gateway.kyma.local Connection: close Tenant: 3e64ebae-38b5-46a0-b1ed-9ccee153a0ae -------------------------------- HTTP/1.1 500 Internal Server Error Connection: close Content-Length: 166 Content-Type: application/json;charset=UTF-8 Date: Thu, 27 Feb 2020 12:44:45 GMT Server: istio-envoy X-Envoy-Upstream-Service-Time: 30186 {"code":500,"error":"Failed to get application from Director: Post http://compass-director.compass-system.svc.cluster.local:3000/graphql: context deadline exceeded"} -------------------------------- connector_test.go:421: Error Trace: connector_test.go:421 connector_test.go:118 Error: Expected nil, but got: &connector.Error{StatusCode:500, ErrorResponse:connector.ErrorResponse{Code:500, Error:"Failed to get application from Director: Post http://compass-director.compass-system.svc.cluster.local:3000/graphql: context deadline exceeded"}} Test: TestConnector/Connector_Service_flow_for_Application/client_cert_should_be_signed_by_server_cert --- FAIL: TestConnector/Connector_Service_flow_for_Application/should_respond_with_client_certificate_together_with_CA_crt (30.30s) client.go:153: -------------------------------- GET /v1/applications/signingRequests/info?token=DwHdpp9b3tz01sSzATeIjeT8h6Zg68kcorAqXB8jRq6y7yK9N_6-Em_06thvAPwLeNPhvlenIc9kUO_3hDQUqQ== HTTP/1.1 Host: adapter-gateway.kyma.local Connection: close Tenant: 3e64ebae-38b5-46a0-b1ed-9ccee153a0ae -------------------------------- HTTP/1.1 500 Internal Server Error Connection: close Content-Length: 216 Content-Type: application/json;charset=UTF-8 Date: Thu, 27 Feb 2020 12:45:15 GMT Server: istio-envoy X-Envoy-Upstream-Service-Time: 30191 {"code":500,"error":"Failed to get application from Director: Post http://compass-director.compass-system.svc.cluster.local:3000/graphql: net/http: request canceled (Client.Timeout exceeded while awaiting headers)"} -------------------------------- connector_test.go:421: Error Trace: connector_test.go:421 connector_test.go:132 Error: Expected nil, but got: &connector.Error{StatusCode:500, ErrorResponse:connector.ErrorResponse{Code:500, Error:"Failed to get application from Director: Post http://compass-director.compass-system.svc.cluster.local:3000/graphql: net/http: request canceled (Client.Timeout exceeded while awaiting headers)"}} Test: TestConnector/Connector_Service_flow_for_Application/should_respond_with_client_certificate_together_with_CA_crt --- FAIL: TestConnector/Connector_Service_flow_for_Application/should_validate_CSR_subject (30.50s) client.go:153: -------------------------------- GET /v1/applications/signingRequests/info?token=2lnukLtvyyv4MQ9Yx0yxq6HHsVvzk46cvEzWmx6nGD2xwkd6jSNt0hhsB-U1iaxrhzvLSgHFODhy34DYLjHCWw== HTTP/1.1 Host: adapter-gateway.kyma.local Connection: close Tenant: 3e64ebae-38b5-46a0-b1ed-9ccee153a0ae -------------------------------- HTTP/1.1 500 Internal Server Error Connection: close Content-Length: 215 Content-Type: application/json;charset=UTF-8 Date: Thu, 27 Feb 2020 12:45:45 GMT Server: istio-envoy X-Envoy-Upstream-Service-Time: 30201 {"code":500,"error":"Failed to get application from Director: Post http://compass-director.compass-system.svc.cluster.local:3000/graphql: context deadline exceeded (Client.Timeout exceeded while awaiting headers)"} -------------------------------- connector_test.go:161: Error Trace: connector_test.go:161 Error: Expected nil, but got: &connector.Error{StatusCode:500, ErrorResponse:connector.ErrorResponse{Code:500, Error:"Failed to get application from Director: Post http://compass-director.compass-system.svc.cluster.local:3000/graphql: context deadline exceeded (Client.Timeout exceeded while awaiting headers)"}} Test: TestConnector/Connector_Service_flow_for_Application/should_validate_CSR_subject --- PASS: TestConnector/Connector_Service_flow_for_Application/should_return_error_for_wrong_token_on_info_endpoint (0.20s) client.go:153: -------------------------------- GET /v1/applications/signingRequests/info?token=incorrect-token HTTP/1.1 Host: adapter-gateway.kyma.local Connection: close Tenant: 3e64ebae-38b5-46a0-b1ed-9ccee153a0ae -------------------------------- HTTP/1.1 403 Forbidden Connection: close Content-Length: 52 Content-Type: application/json;charset=UTF-8 Date: Thu, 27 Feb 2020 12:45:46 GMT Server: istio-envoy X-Envoy-Upstream-Service-Time: 87 {"code":403,"error":"invalid token or certificate"} -------------------------------- --- FAIL: TestConnector/Connector_Service_flow_for_Application/should_return_error_for_wrong_token_on_client-certs (30.11s) client.go:153: -------------------------------- GET /v1/applications/signingRequests/info?token=bLE1CRLDswW7ZaR_vL7_LQXPC-4hKTTvWNezDd5iggWfXCiEPZXAdWOYiep3nKPcQQIEf8jPwtxZWWCraq_u-w== HTTP/1.1 Host: adapter-gateway.kyma.local Connection: close Tenant: 3e64ebae-38b5-46a0-b1ed-9ccee153a0ae -------------------------------- HTTP/1.1 500 Internal Server Error Connection: close Content-Length: 216 Content-Type: application/json;charset=UTF-8 Date: Thu, 27 Feb 2020 12:46:16 GMT Server: istio-envoy X-Envoy-Upstream-Service-Time: 30095 {"code":500,"error":"Failed to get application from Director: Post http://compass-director.compass-system.svc.cluster.local:3000/graphql: net/http: request canceled (Client.Timeout exceeded while awaiting headers)"} -------------------------------- connector_test.go:212: Error Trace: connector_test.go:212 Error: Expected nil, but got: &connector.Error{StatusCode:500, ErrorResponse:connector.ErrorResponse{Code:500, Error:"Failed to get application from Director: Post http://compass-director.compass-system.svc.cluster.local:3000/graphql: net/http: request canceled (Client.Timeout exceeded while awaiting headers)"}} Test: TestConnector/Connector_Service_flow_for_Application/should_return_error_for_wrong_token_on_client-certs --- FAIL: TestConnector/Connector_Service_flow_for_Application/should_return_error_on_wrong_CSR_on_client-certs (30.29s) client.go:153: -------------------------------- GET /v1/applications/signingRequests/info?token=MUoHIGNl63AaCbwERAD2MWlj0lA2y_l4HaD-bfhTF8kxaApIwYRqevm83Ephz1C-cWEd7LqOS0S_-iq-wQ9yRw== HTTP/1.1 Host: adapter-gateway.kyma.local Connection: close Tenant: 3e64ebae-38b5-46a0-b1ed-9ccee153a0ae -------------------------------- HTTP/1.1 500 Internal Server Error Connection: close Content-Length: 216 Content-Type: application/json;charset=UTF-8 Date: Thu, 27 Feb 2020 12:46:46 GMT Server: istio-envoy X-Envoy-Upstream-Service-Time: 30195 {"code":500,"error":"Failed to get application from Director: Post http://compass-director.compass-system.svc.cluster.local:3000/graphql: net/http: request canceled (Client.Timeout exceeded while awaiting headers)"} -------------------------------- connector_test.go:244: Error Trace: connector_test.go:244 Error: Expected nil, but got: &connector.Error{StatusCode:500, ErrorResponse:connector.ErrorResponse{Code:500, Error:"Failed to get application from Director: Post http://compass-director.compass-system.svc.cluster.local:3000/graphql: net/http: request canceled (Client.Timeout exceeded while awaiting headers)"}} Test: TestConnector/Connector_Service_flow_for_Application/should_return_error_on_wrong_CSR_on_client-certs --- FAIL: TestConnector/Connector_Service_flow_for_Application/should_renew_client_certificate (30.41s) client.go:153: -------------------------------- GET /v1/applications/signingRequests/info?token=vzOBy-7VpktDmfM9XXo7vwEcwje7xhfaHvQwxzJaFoI5n8bhxWLE9srN4YIb-rhqmvo5JP7AecYDNDfKOWk4NA== HTTP/1.1 Host: adapter-gateway.kyma.local Connection: close Tenant: 3e64ebae-38b5-46a0-b1ed-9ccee153a0ae -------------------------------- HTTP/1.1 500 Internal Server Error Connection: close Content-Length: 216 Content-Type: application/json;charset=UTF-8 Date: Thu, 27 Feb 2020 12:47:17 GMT Server: istio-envoy X-Envoy-Upstream-Service-Time: 30301 {"code":500,"error":"Failed to get application from Director: Post http://compass-director.compass-system.svc.cluster.local:3000/graphql: net/http: request canceled (Client.Timeout exceeded while awaiting headers)"} -------------------------------- connector_test.go:421: Error Trace: connector_test.go:421 connector_test.go:338 Error: Expected nil, but got: &connector.Error{StatusCode:500, ErrorResponse:connector.ErrorResponse{Code:500, Error:"Failed to get application from Director: Post http://compass-director.compass-system.svc.cluster.local:3000/graphql: net/http: request canceled (Client.Timeout exceeded while awaiting headers)"}} Test: TestConnector/Connector_Service_flow_for_Application/should_renew_client_certificate --- FAIL: TestConnector/Connector_Service_flow_for_Application/should_revoke_client_certificate_with_external_API (30.17s) client.go:153: -------------------------------- GET /v1/applications/signingRequests/info?token=ljVieTyL3xW42rllDs1mqMXXe900yR_q2BBu9gW2MjC3tSMcC1KejTeAH2ocWfT36pAdhk77efLj-Jg_R7CSfw== HTTP/1.1 Host: adapter-gateway.kyma.local Connection: close Tenant: 3e64ebae-38b5-46a0-b1ed-9ccee153a0ae -------------------------------- HTTP/1.1 500 Internal Server Error Connection: close Content-Length: 215 Content-Type: application/json;charset=UTF-8 Date: Thu, 27 Feb 2020 12:47:47 GMT Server: istio-envoy X-Envoy-Upstream-Service-Time: 30094 {"code":500,"error":"Failed to get application from Director: Post http://compass-director.compass-system.svc.cluster.local:3000/graphql: context deadline exceeded (Client.Timeout exceeded while awaiting headers)"} -------------------------------- connector_test.go:421: Error Trace: connector_test.go:421 connector_test.go:375 Error: Expected nil, but got: &connector.Error{StatusCode:500, ErrorResponse:connector.ErrorResponse{Code:500, Error:"Failed to get application from Director: Post http://compass-director.compass-system.svc.cluster.local:3000/graphql: context deadline exceeded (Client.Timeout exceeded while awaiting headers)"}} Test: TestConnector/Connector_Service_flow_for_Application/should_revoke_client_certificate_with_external_API --- FAIL: TestConnector/Connector_Service_flow_for_Application/should_use_default_values_to_build_management_info (30.28s) client.go:153: -------------------------------- GET /v1/applications/signingRequests/info?token=2DZtO4oVHyT2OBKliib6haDwPi1pkBJRe0rdp-736qV8jrFREkjh_ur-7oL2MexvMHm6k2YV3w0J97uiiEopYw== HTTP/1.1 Host: adapter-gateway.kyma.local Connection: close Tenant: 3e64ebae-38b5-46a0-b1ed-9ccee153a0ae -------------------------------- HTTP/1.1 500 Internal Server Error Connection: close Content-Length: 216 Content-Type: application/json;charset=UTF-8 Date: Thu, 27 Feb 2020 12:48:17 GMT Server: istio-envoy X-Envoy-Upstream-Service-Time: 30108 {"code":500,"error":"Failed to get application from Director: Post http://compass-director.compass-system.svc.cluster.local:3000/graphql: net/http: request canceled (Client.Timeout exceeded while awaiting headers)"} -------------------------------- connector_test.go:421: Error Trace: connector_test.go:421 connector_test.go:303 Error: Expected nil, but got: &connector.Error{StatusCode:500, ErrorResponse:connector.ErrorResponse{Code:500, Error:"Failed to get application from Director: Post http://compass-director.compass-system.svc.cluster.local:3000/graphql: net/http: request canceled (Client.Timeout exceeded while awaiting headers)"}} Test: TestConnector/Connector_Service_flow_for_Application/should_use_default_values_to_build_management_info --- FAIL: TestConnector/Connector_Service_flow_for_Application/should_use_default_values_to_build_CSR_info_response (30.40s) client.go:153: -------------------------------- GET /v1/applications/signingRequests/info?token=k4q8RK0NcYCeBQ-Av2vgMca6wlCvICZFhM21bwljArzVbx9V3xnUkocJj0zxspNmutVgp6-13weslSqmYJQxfA== HTTP/1.1 Host: adapter-gateway.kyma.local Connection: close Tenant: 3e64ebae-38b5-46a0-b1ed-9ccee153a0ae -------------------------------- HTTP/1.1 500 Internal Server Error Connection: close Content-Length: 216 Content-Type: application/json;charset=UTF-8 Date: Thu, 27 Feb 2020 12:48:48 GMT Server: istio-envoy X-Envoy-Upstream-Service-Time: 30200 {"code":500,"error":"Failed to get application from Director: Post http://compass-director.compass-system.svc.cluster.local:3000/graphql: net/http: request canceled (Client.Timeout exceeded while awaiting headers)"} -------------------------------- connector_test.go:282: Error Trace: connector_test.go:282 Error: Expected nil, but got: &connector.Error{StatusCode:500, ErrorResponse:connector.ErrorResponse{Code:500, Error:"Failed to get application from Director: Post http://compass-director.compass-system.svc.cluster.local:3000/graphql: net/http: request canceled (Client.Timeout exceeded while awaiting headers)"}} Test: TestConnector/Connector_Service_flow_for_Application/should_use_default_values_to_build_CSR_info_response
In addition to that, in many cases I saw the following errors:
wirte: broken pipe
or
connection refused