Skip to content

CI: SessionAffinity tests take 8 minutes to run #11296

@joestringer

Description

@joestringer

BPF Tests with direct routing Tests NodePort with sessionAffinity

Example from PR run:
https://jenkins.cilium.io/job/Cilium-PR-Ginkgo-Tests-Validated/19395/execution/node/187/log/?consoleFull

This test takes over eight minutes to complete, which is significantly increasing CI run times:

13:17:52  K8sServicesTest Checks service across nodes Tests NodePort BPF Tests with direct routing 
13:17:52    Tests NodePort with sessionAffinity
13:17:52    /home/jenkins/workspace/Cilium-PR-Ginkgo-Tests-Validated/k8s-1.11-gopath/src/github.com/cilium/cilium/test/ginkgo-ext/scopes.go:431
13:17:52  STEP: Making 10 HTTP requests from testclient-bqrw9 to "http://192.168.36.11:32016" (sessionAffinity)
13:22:06  STEP: Making 10 HTTP requests from k8s3 to "http://192.168.36.11:32016" (sessionAffinity)
13:26:05  === Test Finished at 2020-05-01T20:26:00Z====
13:26:05  <Checks>
13:26:05  Number of "context deadline exceeded" in logs: 0
13:26:05  Number of "level=error" in logs: 0
13:26:05  Number of "level=warning" in logs: 0
13:26:05  Number of "Cilium API handler panicked" in logs: 0
13:26:05  Number of "Goroutine took lock for more than" in logs: 0
13:26:05  No errors/warnings found in logs
13:26:05  
13:26:05  </Checks>
13:26:05  
13:26:05  
13:26:05  • [SLOW TEST:488.542 seconds]
13:26:05  K8sServicesTest
13:26:05  /home/jenkins/workspace/Cilium-PR-Ginkgo-Tests-Validated/k8s-1.11-gopath/src/github.com/cilium/cilium/test/ginkgo-ext/scopes.go:396
13:26:05    Checks service across nodes
13:26:05    /home/jenkins/workspace/Cilium-PR-Ginkgo-Tests-Validated/k8s-1.11-gopath/src/github.com/cilium/cilium/test/ginkgo-ext/scopes.go:396
13:26:05      Tests NodePort BPF
13:26:05      /home/jenkins/workspace/Cilium-PR-Ginkgo-Tests-Validated/k8s-1.11-gopath/src/github.com/cilium/cilium/test/ginkgo-ext/scopes.go:396
13:26:05        Tests with direct routing
13:26:05        /home/jenkins/workspace/Cilium-PR-Ginkgo-Tests-Validated/k8s-1.11-gopath/src/github.com/cilium/cilium/test/ginkgo-ext/scopes.go:396
13:26:05          Tests NodePort with sessionAffinity
13:26:05          /home/jenkins/workspace/Cilium-PR-Ginkgo-Tests-Validated/k8s-1.11-gopath/src/github.com/cilium/cilium/test/ginkgo-ext/scopes.go:431

The run is successful, but should not take this long.

Metadata

Metadata

Assignees

Labels

area/CI-improvementTopic or proposal to improve the Continuous Integration workflowci/flakeThis is a known failure that occurs in the tree. Please investigate me!

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions