Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Investigate TestMasterTrait flakiness #5487

Open
lburgazzoli opened this issue May 9, 2024 · 0 comments
Open

Investigate TestMasterTrait flakiness #5487

lburgazzoli opened this issue May 9, 2024 · 0 comments
Labels
area/test/flakiness kind/bug Something isn't working

Comments

@lburgazzoli
Copy link
Contributor

What happened?

The TestMasterTrait sometimes fails with no clear explanation

Steps to reproduce

Seen last time in https://github.com/apache/camel-k/actions/runs/9013201397/job/24763635761?pr=5479

Relevant log output

❌ TestMasterTrait/only_one_integration_with_master_runs (5m51.74s)
  2024-05-09T06:59:28Z	DEBUG	camel-k	Finding available platforms in namespace test-82b481f7-cf2c-4c28-870e-882ed9ac152f
  2024-05-09T06:59:28Z	DEBUG	camel-k	Found active integration platform camel-k-traits-master
  Integration "firstqybdo" created
  2024-05-09T07:00:20Z	DEBUG	camel-k	Finding available platforms in namespace test-82b481f7-cf2c-4c28-870e-882ed9ac152f
  2024-05-09T07:00:20Z	DEBUG	camel-k	Found active integration platform camel-k-traits-master
  Integration "secondymkva" created
  2024-05-09T07:00:21Z	ERROR	camel-k	Error while reading container logs	{"error": "container \"integration\" in pod \"secondymkva-6c5f6cd5bd-66ljj\" is waiting to start: ContainerCreating"}
  github.com/apache/camel-k/v2/pkg/util/log.Logger.Error
  	/home/runner/work/camel-k/camel-k/pkg/util/log/log.go:81
  github.com/apache/camel-k/v2/pkg/util/log.Error
  	/home/runner/work/camel-k/camel-k/pkg/util/log/log.go:258
  github.com/apache/camel-k/v2/e2e/support.Logs.func1
  	/home/runner/work/camel-k/camel-k/e2e/support/test_support.go:539
  github.com/apache/camel-k/v2/e2e/common/traits.TestMasterTrait.func1.2.IntegrationLogs.func3
  	/home/runner/work/camel-k/camel-k/e2e/support/test_support.go:520
  reflect.Value.call
  	/opt/hostedtoolcache/go/1.21.10/x64/src/reflect/value.go:596
  reflect.Value.Call
  	/opt/hostedtoolcache/go/1.21.10/x64/src/reflect/value.go:380
  github.com/onsi/gomega/internal.(*AsyncAssertion).buildActualPoller.func3
  	/home/runner/go/pkg/mod/github.com/onsi/gomega@v1.33.1/internal/async_assertion.go:325
  github.com/onsi/gomega/internal.(*AsyncAssertion).match
  	/home/runner/go/pkg/mod/github.com/onsi/gomega@v1.33.1/internal/async_assertion.go:540
  github.com/onsi/gomega/internal.(*AsyncAssertion).Should
  	/home/runner/go/pkg/mod/github.com/onsi/gomega@v1.33.1/internal/async_assertion.go:145
  github.com/apache/camel-k/v2/e2e/common/traits.TestMasterTrait.func1.2
  	/home/runner/work/camel-k/camel-k/e2e/common/traits/master_test.go:70
  testing.tRunner
  	/opt/hostedtoolcache/go/1.21.10/x64/src/testing/testing.go:1595
  2024-05-09T07:01:15Z	DEBUG	camel-k	Finding available platforms in namespace test-0433bfcb-044c-4038-a556-8341333fdff2
  2024-05-09T07:01:15Z	DEBUG	camel-k	Found active integration platform camel-k-traits-kamelet
  1 integration(s) deleted
      testing.go:1490: test executed panic(nil) or runtime.Goexit: subtest may have called FailNow on a parent test


### Camel K version

main
@lburgazzoli lburgazzoli added kind/bug Something isn't working area/test/flakiness labels May 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/test/flakiness kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant