Uploaded image for project: 'Maistra'
  1. Maistra
  2. MAISTRA-2498

Fix flaky integration test TestPassThroughFilterChain

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major Major
    • maistra-2.1.0
    • None
    • istio
    • None
    • Sprint 6, Sprint 7

      === RUN   TestPassThroughFilterChain/naked#02
      2021-07-10T11:00:11.754283Z	info	tf	=== BEGIN: Test: 'security[TestPassThroughFilterChain/naked#02]' ===
      === RUN   TestPassThroughFilterChain/naked#02/to_a
      2021-07-10T11:00:11.754541Z	info	tf	=== BEGIN: Test: 'security[TestPassThroughFilterChain/naked#02/to_a]' ===
      === RUN   TestPassThroughFilterChain/naked#02/to_a/In_primary-0/STRICT/port_8085[false]
      2021-07-10T11:00:12.258630Z	info	tf	=== BEGIN: Test: 'security[TestPassThroughFilterChain/naked#02/to_a/In_primary-0/STRICT/port_8085[false]]' ===
      2021-07-10T11:00:12.663675Z	info	tf	=== DONE (passed):  Test: 'security[TestPassThroughFilterChain/naked#02/to_a/In_primary-0/STRICT/port_8085[false]] (405.034688ms)' ===
      === RUN   TestPassThroughFilterChain/naked#02/to_a/In_primary-0/STRICT/port_8086[false]
      2021-07-10T11:00:12.664453Z	info	tf	=== BEGIN: Test: 'security[TestPassThroughFilterChain/naked#02/to_a/In_primary-0/STRICT/port_8086[false]]' ===
          pass_through_filter_chain_test.go:335: 1 error occurred:
              	* failed calling naked->'http://10.244.0.130:8086/': call failed from naked to http://10.244.0.130:8086 (using http): timeout while waiting (last error: want error but got none: Response[0]:
              Body:     [0] Url=http://10.244.0.130:8086
              [0] StatusCode=200
              [0] ResponseHeader=Content-Length:389
              [0] ResponseHeader=Content-Type:text/plain; charset=utf-8
              [0] ResponseHeader=Date:Sat, 10 Jul 2021 11:00:32 GMT
              [0] ResponseHeader=Server:istio-envoy
              [0] ResponseHeader=X-Envoy-Decorator-Operation::0/*
              [0] ResponseHeader=X-Envoy-Upstream-Service-Time:0
              [0 body] ServiceVersion=v1
              [0 body] ServicePort=8086
              [0 body] Host=10.244.0.130:8086
              [0 body] URL=/
              [0 body] Cluster=cluster-0
              [0 body] Method=GET
              [0 body] Proto=HTTP/1.1
              [0 body] IP=127.0.0.6
              [0 body] Alpn=
              [0 body] Accept-Encoding=gzip
              [0 body] Content-Length=0
              [0 body] User-Agent=Go-http-client/1.1
              [0 body] X-B3-Sampled=0
              [0 body] X-B3-Spanid=0fdb2bfc2c7c5e23
              [0 body] X-B3-Traceid=8ef2d322babe73260fdb2bfc2c7c5e23
              [0 body] X-Forwarded-Proto=http
              [0 body] X-Request-Id=fe2c9e78-d719-4a01-9656-2d0959bd00a8
              [0 body] Hostname=a-v1-84bf4674fb-krxf4
              
              ID:       fe2c9e78-d719-4a01-9656-2d0959bd00a8
              URL:      /
              Version:  v1
              Port:     8086
              Code:     200
              Host:     10.244.0.130:8086
              Hostname: a-v1-84bf4674fb-krxf4
              Cluster:  cluster-0
              IP:       127.0.0.6
              Response[1]:
              Body:     [1] Url=http://10.244.0.130:8086
              [1] StatusCode=200
              [1] ResponseHeader=Content-Length:389
              [1] ResponseHeader=Content-Type:text/plain; charset=utf-8
              [1] ResponseHeader=Date:Sat, 10 Jul 2021 11:00:32 GMT
              [1] ResponseHeader=Server:istio-envoy
              [1] ResponseHeader=X-Envoy-Decorator-Operation::0/*
              [1] ResponseHeader=X-Envoy-Upstream-Service-Time:1
              [1 body] ServiceVersion=v1
              [1 body] ServicePort=8086
              [1 body] Host=10.244.0.130:8086
              [1 body] URL=/
              [1 body] Cluster=cluster-0
              [1 body] Method=GET
              [1 body] Proto=HTTP/1.1
              [1 body] IP=127.0.0.6
              [1 body] Alpn=
              [1 body] Accept-Encoding=gzip
              [1 body] Content-Length=0
              [1 body] User-Agent=Go-http-client/1.1
              [1 body] X-B3-Sampled=0
              [1 body] X-B3-Spanid=2a10563dc6b7cd51
              [1 body] X-B3-Traceid=925cd806eca4ef4a2a10563dc6b7cd51
              [1 body] X-Forwarded-Proto=http
              [1 body] X-Request-Id=87a0d622-7f05-4c0c-bf5e-ca721d1778c6
              [1 body] Hostname=a-v1-84bf4674fb-krxf4
              
              ID:       87a0d622-7f05-4c0c-bf5e-ca721d1778c6
              URL:      /
              Version:  v1
              Port:     8086
              Code:     200
              Host:     10.244.0.130:8086
              Hostname: a-v1-84bf4674fb-krxf4
              Cluster:  cluster-0
              IP:       127.0.0.6
              Response[2]:
              Body:     [2] Url=http://10.244.0.130:8086
              [2] StatusCode=200
              [2] ResponseHeader=Content-Length:389
              [2] ResponseHeader=Content-Type:text/plain; charset=utf-8
              [2] ResponseHeader=Date:Sat, 10 Jul 2021 11:00:32 GMT
              [2] ResponseHeader=Server:istio-envoy
              [2] ResponseHeader=X-Envoy-Decorator-Operation::0/*
              [2] ResponseHeader=X-Envoy-Upstream-Service-Time:2
              [2 body] ServiceVersion=v1
              [2 body] ServicePort=8086
              [2 body] Host=10.244.0.130:8086
              [2 body] URL=/
              [2 body] Cluster=cluster-0
              [2 body] Method=GET
              [2 body] Proto=HTTP/1.1
              [2 body] IP=127.0.0.6
              [2 body] Alpn=
              [2 body] Accept-Encoding=gzip
              [2 body] Content-Length=0
              [2 body] User-Agent=Go-http-client/1.1
              [2 body] X-B3-Sampled=0
              [2 body] X-B3-Spanid=6a3b166130eb104f
              [2 body] X-B3-Traceid=bb688803db7f80eb6a3b166130eb104f
              [2 body] X-Forwarded-Proto=http
              [2 body] X-Request-Id=dd4f0f96-80a2-4a55-93ea-4cad357bee4a
              [2 body] Hostname=a-v1-84bf4674fb-krxf4
              
              ID:       dd4f0f96-80a2-4a55-93ea-4cad357bee4a
              URL:      /
              Version:  v1
              Port:     8086
              Code:     200
              Host:     10.244.0.130:8086
              Hostname: a-v1-84bf4674fb-krxf4
              Cluster:  cluster-0
              IP:       127.0.0.6
              Response[3]:
              Body:     [3] Url=http://10.244.0.130:8086
              [3] StatusCode=200
              [3] ResponseHeader=Content-Length:389
              [3] ResponseHeader=Content-Type:text/plain; charset=utf-8
              [3] ResponseHeader=Date:Sat, 10 Jul 2021 11:00:32 GMT
              [3] ResponseHeader=Server:istio-envoy
              [3] ResponseHeader=X-Envoy-Decorator-Operation::0/*
              [3] ResponseHeader=X-Envoy-Upstream-Service-Time:2
              [3 body] ServiceVersion=v1
              [3 body] ServicePort=8086
              [3 body] Host=10.244.0.130:8086
              [3 body] URL=/
              [3 body] Cluster=cluster-0
              [3 body] Method=GET
              [3 body] Proto=HTTP/1.1
              [3 body] IP=127.0.0.6
              [3 body] Alpn=
              [3 body] Accept-Encoding=gzip
              [3 body] Content-Length=0
              [3 body] User-Agent=Go-http-client/1.1
              [3 body] X-B3-Sampled=0
              [3 body] X-B3-Spanid=8b42f42953801608
              [3 body] X-B3-Traceid=9739af500ca8cd938b42f42953801608
              [3 body] X-Forwarded-Proto=http
              [3 body] X-Request-Id=a452fd8f-a017-43c8-b5fe-43c65b06c27e
              [3 body] Hostname=a-v1-84bf4674fb-krxf4
              
              ID:       a452fd8f-a017-43c8-b5fe-43c65b06c27e
              URL:      /
              Version:  v1
              Port:     8086
              Code:     200
              Host:     10.244.0.130:8086
              Hostname: a-v1-84bf4674fb-krxf4
              Cluster:  cluster-0
              IP:       127.0.0.6
              Response[4]:
              Body:     [4] Url=http://10.244.0.130:8086
              [4] StatusCode=200
              [4] ResponseHeader=Content-Length:389
              [4] ResponseHeader=Content-Type:text/plain; charset=utf-8
              [4] ResponseHeader=Date:Sat, 10 Jul 2021 11:00:32 GMT
              [4] ResponseHeader=Server:istio-envoy
              [4] ResponseHeader=X-Envoy-Decorator-Operation::0/*
              [4] ResponseHeader=X-Envoy-Upstream-Service-Time:1
              [4 body] ServiceVersion=v1
              [4 body] ServicePort=8086
              [4 body] Host=10.244.0.130:8086
              [4 body] URL=/
              [4 body] Cluster=cluster-0
              [4 body] Method=GET
              [4 body] Proto=HTTP/1.1
              [4 body] IP=127.0.0.6
              [4 body] Alpn=
              [4 body] Accept-Encoding=gzip
              [4 body] Content-Length=0
              [4 body] User-Agent=Go-http-client/1.1
              [4 body] X-B3-Sampled=0
              [4 body] X-B3-Spanid=447c2ec7dd9e0369
              [4 body] X-B3-Traceid=f59cc9f5a926e6bf447c2ec7dd9e0369
              [4 body] X-Forwarded-Proto=http
              [4 body] X-Request-Id=e2c77fb0-587f-4861-9414-495746d352d5
              [4 body] Hostname=a-v1-84bf4674fb-krxf4
              
              ID:       e2c77fb0-587f-4861-9414-495746d352d5
              URL:      /
              Version:  v1
              Port:     8086
              Code:     200
              Host:     10.244.0.130:8086
              Hostname: a-v1-84bf4674fb-krxf4
              Cluster:  cluster-0
              IP:       127.0.0.6
              )
              
              
      2021-07-10T11:00:32.760266Z	info	tf	=== DONE (failed):  Test: 'security[TestPassThroughFilterChain/naked#02/to_a/In_primary-0/STRICT/port_8086[false]] (20.095765657s)' ===
      2021-07-10T11:00:32.760594Z	error	tf	=== Dumping Namespace test-ns-ext-authz-service-1-95018 State...
      2021-07-10T11:00:32.811767Z	error	tf	=== Dumping Istio Deployment State...
      2021-07-10T11:00:34.353397Z	error	tf	=== Dumping Namespace test-ns1-2-6485 State...
      2021-07-10T11:00:38.638549Z	error	tf	=== Dumping Namespace test-ns2-3-34148 State...
      2021-07-10T11:00:39.763085Z	error	tf	=== Dumping Namespace test-ns3-4-67548 State...
      === RUN   TestPassThroughFilterChain/naked#02/to_a/In_primary-0/STRICT/port_8087[false]
      2021-07-10T11:00:40.359812Z	info	tf	=== BEGIN: Test: 'security[TestPassThroughFilterChain/naked#02/to_a/In_primary-0/STRICT/port_8087[false]]' ===
          pass_through_filter_chain_test.go:335: 1 error occurred:
              	* failed calling naked->'tcp://10.244.0.130:8087/': call failed from naked to tcp://10.244.0.130:8087 (using tcp): timeout while waiting (last error: want error but got none: Response[0]:
              Body:     [0] Url=tcp://10.244.0.130:8087
              [0] Echo=HelloWorld
              [0 body] StatusCode=200
              [0 body] Cluster=cluster-0
              [0 body] ServiceVersion=v1
              [0 body] ServicePort=8087
              [0 body] IP=127.0.0.6
              [0 body] HelloWorld
              
              ID:       
              URL:      
              Version:  v1
              Port:     8087
              Code:     200
              Host:     
              Hostname: 
              Cluster:  cluster-0
              IP:       127.0.0.6
              Response[1]:
              Body:     [1] Url=tcp://10.244.0.130:8087
              [1] Echo=HelloWorld
              [1 body] StatusCode=200
              [1 body] Cluster=cluster-0
              [1 body] ServiceVersion=v1
              [1 body] ServicePort=8087
              [1 body] IP=127.0.0.6
              [1 body] HelloWorld
              
              ID:       
              URL:      
              Version:  v1
              Port:     8087
              Code:     200
              Host:     
              Hostname: 
              Cluster:  cluster-0
              IP:       127.0.0.6
              Response[2]:
              Body:     [2] Url=tcp://10.244.0.130:8087
              [2] Echo=HelloWorld
              [2 body] ServicePort=8087
              [2 body] IP=127.0.0.6
              [2 body] StatusCode=200
              [2 body] Cluster=cluster-0
              [2 body] ServiceVersion=v1
              [2 body] HelloWorld
              
              ID:       
              URL:      
              Version:  v1
              Port:     8087
              Code:     200
              Host:     
              Hostname: 
              Cluster:  cluster-0
              IP:       127.0.0.6
              Response[3]:
              Body:     [3] Url=tcp://10.244.0.130:8087
              [3] Echo=HelloWorld
              [3 body] StatusCode=200
              [3 body] Cluster=cluster-0
              [3 body] ServiceVersion=v1
              [3 body] ServicePort=8087
              [3 body] IP=127.0.0.6
              [3 body] HelloWorld
              
              ID:       
              URL:      
              Version:  v1
              Port:     8087
              Code:     200
              Host:     
              Hostname: 
              Cluster:  cluster-0
              IP:       127.0.0.6
              Response[4]:
              Body:     [4] Url=tcp://10.244.0.130:8087
              [4] Echo=HelloWorld
              [4 body] IP=127.0.0.6
              [4 body] StatusCode=200
              [4 body] Cluster=cluster-0
              [4 body] ServiceVersion=v1
              [4 body] ServicePort=8087
              [4 body] HelloWorld
              
              ID:       
              URL:      
              Version:  v1
              Port:     8087
              Code:     200
              Host:     
              Hostname: 
              Cluster:  cluster-0
              IP:       127.0.0.6
              )
              
              
      2021-07-10T11:01:00.417761Z	info	tf	=== DONE (failed):  Test: 'security[TestPassThroughFilterChain/naked#02/to_a/In_primary-0/STRICT/port_8087[false]] (20.057936988s)' ===
      2021-07-10T11:01:00.417883Z	error	tf	=== Dumping Namespace test-ns-ext-authz-service-1-95018 State...
      2021-07-10T11:01:00.431736Z	error	tf	=== Dumping Istio Deployment State...
      2021-07-10T11:01:01.971055Z	error	tf	=== Dumping Namespace test-ns1-2-6485 State...
      2021-07-10T11:01:05.852761Z	error	tf	=== Dumping Namespace test-ns2-3-34148 State...
      2021-07-10T11:01:06.992793Z	error	tf	=== Dumping Namespace test-ns3-4-67548 State...
      === RUN   TestPassThroughFilterChain/naked#02/to_a/In_primary-0/STRICT/port_8088[false]
      2021-07-10T11:01:07.585736Z	info	tf	=== BEGIN: Test: 'security[TestPassThroughFilterChain/naked#02/to_a/In_primary-0/STRICT/port_8088[false]]' ===
          pass_through_filter_chain_test.go:335: 1 error occurred:
              	* failed calling naked->'tcp://10.244.0.130:8088/': call failed from naked to tcp://10.244.0.130:8088 (using tcp): timeout while waiting (last error: want error but got none: Response[0]:
              Body:     [0] Url=tcp://10.244.0.130:8088
              [0] Echo=HelloWorld
              [0 body] Cluster=cluster-0
              [0 body] ServiceVersion=v1
              [0 body] ServicePort=8088
              [0 body] IP=127.0.0.6
              [0 body] StatusCode=200
              [0 body] HelloWorld
              
              ID:       
              URL:      
              Version:  v1
              Port:     8088
              Code:     200
              Host:     
              Hostname: 
              Cluster:  cluster-0
              IP:       127.0.0.6
              Response[1]:
              Body:     [1] Url=tcp://10.244.0.130:8088
              [1] Echo=HelloWorld
              [1 body] ServicePort=8088
              [1 body] IP=127.0.0.6
              [1 body] StatusCode=200
              [1 body] Cluster=cluster-0
              [1 body] ServiceVersion=v1
              [1 body] HelloWorld
              
              ID:       
              URL:      
              Version:  v1
              Port:     8088
              Code:     200
              Host:     
              Hostname: 
              Cluster:  cluster-0
              IP:       127.0.0.6
              Response[2]:
              Body:     [2] Url=tcp://10.244.0.130:8088
              [2] Echo=HelloWorld
              [2 body] StatusCode=200
              [2 body] Cluster=cluster-0
              [2 body] ServiceVersion=v1
              [2 body] ServicePort=8088
              [2 body] IP=127.0.0.6
              [2 body] HelloWorld
              
              ID:       
              URL:      
              Version:  v1
              Port:     8088
              Code:     200
              Host:     
              Hostname: 
              Cluster:  cluster-0
              IP:       127.0.0.6
              Response[3]:
              Body:     [3] Url=tcp://10.244.0.130:8088
              [3] Echo=HelloWorld
              [3 body] ServicePort=8088
              [3 body] IP=127.0.0.6
              [3 body] StatusCode=200
              [3 body] Cluster=cluster-0
              [3 body] ServiceVersion=v1
              [3 body] HelloWorld
              
              ID:       
              URL:      
              Version:  v1
              Port:     8088
              Code:     200
              Host:     
              Hostname: 
              Cluster:  cluster-0
              IP:       127.0.0.6
              Response[4]:
              Body:     [4] Url=tcp://10.244.0.130:8088
              [4] Echo=HelloWorld
              [4 body] Cluster=cluster-0
              [4 body] ServiceVersion=v1
              [4 body] ServicePort=8088
              [4 body] IP=127.0.0.6
              [4 body] StatusCode=200
              [4 body] HelloWorld
              
              ID:       
              URL:      
              Version:  v1
              Port:     8088
              Code:     200
              Host:     
              Hostname: 
              Cluster:  cluster-0
              IP:       127.0.0.6
              )
              
              
      2021-07-10T11:01:27.617627Z	info	tf	=== DONE (failed):  Test: 'security[TestPassThroughFilterChain/naked#02/to_a/In_primary-0/STRICT/port_8088[false]] (20.03184041s)' ===
      2021-07-10T11:01:27.617966Z	error	tf	=== Dumping Namespace test-ns-ext-authz-service-1-95018 State...
      2021-07-10T11:01:27.647418Z	error	tf	=== Dumping Istio Deployment State...
      2021-07-10T11:01:29.149837Z	error	tf	=== Dumping Namespace test-ns1-2-6485 State...
      2021-07-10T11:01:33.000200Z	error	tf	=== Dumping Namespace test-ns2-3-34148 State...
      2021-07-10T11:01:34.117204Z	error	tf	=== Dumping Namespace test-ns3-4-67548 State...
      2021-07-10T11:01:34.694072Z	info	tf	=== DONE (failed):  Test: 'security[TestPassThroughFilterChain/naked#02/to_a] (1m22.939516221s)' ===
      2021-07-10T11:01:34.694284Z	error	tf	=== Dumping Namespace test-ns-ext-authz-service-1-95018 State...
      2021-07-10T11:01:34.707952Z	error	tf	=== Dumping Istio Deployment State...
      2021-07-10T11:01:36.360205Z	error	tf	=== Dumping Namespace test-ns1-2-6485 State...
      2021-07-10T11:01:40.217503Z	error	tf	=== Dumping Namespace test-ns2-3-34148 State...
      2021-07-10T11:01:41.426492Z	error	tf	=== Dumping Namespace test-ns3-4-67548 State...
      

              mluksa@redhat.com Marko Luksa
              mluksa@redhat.com Marko Luksa
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: