Running tests... 'VERSION' ENV variable is not found - extract it from the cluster (from the 'latest' channel) Clonning the test suite from https://github.com/apache/camel-k.git:release-1.10.x Downloading KAMEL_CLI from https://mirror.openshift.com/pub/openshift-v4/clients/camel-k/1.10.6/camel-k-client-1.10.6-linux-64bit.tar.gz go: downloading github.com/onsi/gomega v1.20.1 go: downloading github.com/openshift/api v3.9.1-0.20190927182313-d4a64ec2cbd8+incompatible go: downloading github.com/stretchr/testify v1.8.0 go: downloading k8s.io/api v0.23.8 go: downloading k8s.io/apimachinery v0.23.8 go: downloading k8s.io/client-go v0.23.8 go: downloading github.com/go-logr/logr v1.2.3 go: downloading sigs.k8s.io/controller-runtime v0.11.2 go: downloading github.com/google/uuid v1.3.0 go: downloading github.com/pkg/errors v0.9.1 go: downloading github.com/spf13/cobra v1.5.0 go: downloading k8s.io/utils v0.0.0-20220713171938-56c0de1e6f5e go: downloading knative.dev/eventing v0.33.0 go: downloading knative.dev/serving v0.33.0 go: downloading github.com/imdario/mergo v0.3.13 go: downloading github.com/davecgh/go-spew v1.1.1 go: downloading github.com/pmezard/go-difflib v1.0.0 go: downloading gopkg.in/yaml.v3 v3.0.1 go: downloading go.uber.org/zap v1.23.0 go: downloading github.com/mitchellh/go-homedir v1.1.0 go: downloading github.com/sirupsen/logrus v1.9.0 go: downloading github.com/Masterminds/semver v1.5.0 go: downloading github.com/container-tools/spectrum v0.5.0 go: downloading github.com/fatih/camelcase v1.0.0 go: downloading github.com/fatih/structs v1.1.0 go: downloading github.com/gertd/go-pluralize v0.2.1 go: downloading github.com/magiconair/properties v1.8.6 go: downloading github.com/mitchellh/mapstructure v1.5.0 go: downloading github.com/spf13/pflag v1.0.5 go: downloading github.com/spf13/viper v1.12.0 go: downloading go.uber.org/multierr v1.8.0 go: downloading golang.org/x/term v0.13.0 go: downloading gopkg.in/yaml.v2 v2.4.0 go: downloading k8s.io/cli-runtime v0.23.5 go: downloading k8s.io/kubectl v0.23.5 go: downloading golang.org/x/sync v0.1.0 go: downloading k8s.io/apiextensions-apiserver v0.23.8 go: downloading github.com/scylladb/go-set v1.0.2 go: downloading github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring v0.50.0 go: downloading github.com/stoewer/go-strcase v1.2.0 go: downloading knative.dev/pkg v0.0.0-20220705130606-e60d250dc637 go: downloading github.com/evanphx/json-patch v4.12.0+incompatible go: downloading github.com/google/go-cmp v0.5.8 go: downloading github.com/gogo/protobuf v1.3.2 go: downloading k8s.io/klog/v2 v2.60.1-0.20220317184644-43cc75f9ae89 go: downloading golang.org/x/time v0.0.0-20220224211638-0e9765cccd65 go: downloading sigs.k8s.io/structured-merge-diff/v4 v4.2.1 go: downloading github.com/google/gofuzz v1.2.0 go: downloading github.com/redhat-developer/service-binding-operator v1.1.1 go: downloading github.com/rs/xid v1.4.0 go: downloading gopkg.in/inf.v0 v0.9.1 go: downloading github.com/operator-framework/api v0.13.0 go: downloading golang.org/x/sys v0.13.0 go: downloading go.uber.org/atomic v1.9.0 go: downloading github.com/golang/protobuf v1.5.2 go: downloading github.com/googleapis/gnostic v0.5.5 go: downloading github.com/prometheus/client_golang v1.13.0 go: downloading golang.org/x/net v0.17.0 go: downloading go.uber.org/automaxprocs v1.5.1 go: downloading github.com/google/go-github/v32 v32.1.0 go: downloading golang.org/x/oauth2 v0.0.0-20220411215720-9780585627b5 go: downloading github.com/mattn/go-shellwords v1.0.3 go: downloading github.com/radovskyb/watcher v1.0.7 go: downloading sigs.k8s.io/yaml v1.3.0 go: downloading github.com/fsnotify/fsnotify v1.5.4 go: downloading github.com/spf13/afero v1.8.2 go: downloading github.com/spf13/cast v1.5.0 go: downloading github.com/spf13/jwalterweatherman v1.1.0 go: downloading github.com/gregjones/httpcache v0.0.0-20190611155906-901d90724c79 go: downloading sigs.k8s.io/json v0.0.0-20211208200746-9f7c6b3444d2 go: downloading k8s.io/kube-openapi v0.0.0-20220124234850-424119656bbf go: downloading github.com/docker/cli v20.10.12+incompatible go: downloading github.com/container-tools/go-containerregistry v0.7.1-0.20211124090132-40ccc94a466b go: downloading github.com/json-iterator/go v1.1.12 go: downloading github.com/liggitt/tabwriter v0.0.0-20181228230101-89fcab3d43de go: downloading github.com/peterbourgon/diskv v2.0.1+incompatible go: downloading knative.dev/networking v0.0.0-20220705142707-f087178076e4 go: downloading github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da go: downloading k8s.io/component-base v0.23.8 go: downloading github.com/go-logr/zapr v1.2.0 go: downloading gomodules.xyz/jsonpatch/v2 v2.2.0 go: downloading google.golang.org/protobuf v1.28.1 go: downloading github.com/cloudevents/sdk-go/v2 v2.10.1 go: downloading github.com/robfig/cron/v3 v3.0.1 go: downloading github.com/cloudevents/sdk-go/sql/v2 v2.8.0 go: downloading github.com/subosito/gotenv v1.3.0 go: downloading github.com/hashicorp/hcl v1.0.0 go: downloading gopkg.in/ini.v1 v1.66.4 go: downloading github.com/pelletier/go-toml/v2 v2.0.5 go: downloading github.com/moby/spdystream v0.2.0 go: downloading github.com/prometheus/client_model v0.2.0 go: downloading github.com/prometheus/common v0.37.0 go: downloading github.com/pelletier/go-toml v1.9.5 go: downloading golang.org/x/text v0.13.0 go: downloading github.com/google/go-querystring v1.0.0 go: downloading golang.org/x/crypto v0.14.0 go: downloading github.com/evanphx/json-patch/v5 v5.6.0 go: downloading github.com/beorn7/perks v1.0.1 go: downloading github.com/cespare/xxhash/v2 v2.1.2 go: downloading github.com/prometheus/procfs v0.8.0 go: downloading github.com/google/btree v1.0.1 go: downloading github.com/blang/semver/v4 v4.0.0 go: downloading github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd go: downloading github.com/modern-go/reflect2 v1.0.2 go: downloading github.com/jpillora/backoff v1.0.0 go: downloading github.com/antlr/antlr4/runtime/Go/antlr v0.0.0-20211221011931-643d94fcab96 go: downloading github.com/rickb777/date v1.13.0 go: downloading github.com/blendle/zapdriver v1.3.1 go: downloading github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369 go: downloading github.com/containerd/stargz-snapshotter/estargz v0.11.1 go: downloading go.opencensus.io v0.23.0 go: downloading github.com/rickb777/plural v1.2.1 go: downloading github.com/opencontainers/image-spec v1.0.3-0.20220114050600-8b9d41f48198 go: downloading github.com/docker/distribution v2.8.0+incompatible go: downloading github.com/docker/docker v20.10.12+incompatible go: downloading github.com/kelseyhightower/envconfig v1.4.0 go: downloading contrib.go.opencensus.io/exporter/ocagent v0.7.1-0.20200907061046-05415f1de66d go: downloading contrib.go.opencensus.io/exporter/prometheus v0.4.0 go: downloading google.golang.org/grpc v1.46.2 go: downloading github.com/opencontainers/go-digest v1.0.0 go: downloading github.com/docker/docker-credential-helpers v0.6.4 go: downloading github.com/hashicorp/golang-lru v0.5.4 go: downloading github.com/prometheus/statsd_exporter v0.21.0 go: downloading github.com/census-instrumentation/opencensus-proto v0.3.0 go: downloading google.golang.org/api v0.81.0 go: downloading github.com/go-kit/log v0.2.0 go: downloading github.com/grpc-ecosystem/grpc-gateway v1.16.0 go: downloading github.com/go-logfmt/logfmt v0.5.1 go: downloading github.com/klauspost/compress v1.14.4 go: downloading github.com/vbatts/tar-split v0.11.2 go: downloading google.golang.org/genproto v0.0.0-20220519153652-3a47de7e79bd === RUN TestRunRest Executing as global test Using external kamel binary on path /go/kamel OLM is available in the cluster Camel K operator installation skipped Camel K installed in namespace test-80980eba-87ec-4c54-b537-2f649b6f0eb2 via OLM subscription Running as globally managed resource Using external kamel binary on path /go/kamel Integration "rest-consumer" created === RUN TestRunRest/Service_works Running as globally managed resource Using external kamel binary on path /go/kamel Integration "rest-producer" created === RUN TestRunRest/Route_works Using external kamel binary on path /go/kamel 2 integration(s) deleted --- PASS: TestRunRest (299.85s) --- PASS: TestRunRest/Service_works (66.92s) --- PASS: TestRunRest/Route_works (0.11s) PASS ok command-line-arguments 299.879s === RUN TestRunRoutes Executing as global test Using external kamel binary on path /go/kamel OLM is available in the cluster Camel K operator installation skipped Camel K installed in namespace test-23aa28b8-eb04-4e4a-bd86-f2f3b6738bc0 via OLM subscription === RUN TestRunRoutes/Route_unsecure_http_works Running as globally managed resource Using external kamel binary on path /go/kamel Integration "platform-http-server" created Using external kamel binary on path /go/kamel 1 integration(s) deleted === RUN TestRunRoutes/Route_Edge_https_works Running as globally managed resource Using external kamel binary on path /go/kamel Integration "platform-http-server" created Using external kamel binary on path /go/kamel 1 integration(s) deleted === RUN TestRunRoutes/Route_Edge_(custom_certificate)_https_works Running as globally managed resource Using external kamel binary on path /go/kamel Integration "platform-http-server" created Using external kamel binary on path /go/kamel 1 integration(s) deleted === RUN TestRunRoutes/Route_passthrough_https_works Running as globally managed resource Using external kamel binary on path /go/kamel Integration "platform-http-server" created Using external kamel binary on path /go/kamel 1 integration(s) deleted === RUN TestRunRoutes/Route_Reencrypt_https_works Running as globally managed resource Using external kamel binary on path /go/kamel Integration "platform-http-server" created Using external kamel binary on path /go/kamel 1 integration(s) deleted --- PASS: TestRunRoutes (979.13s) --- PASS: TestRunRoutes/Route_unsecure_http_works (206.76s) --- PASS: TestRunRoutes/Route_Edge_https_works (150.95s) --- PASS: TestRunRoutes/Route_Edge_(custom_certificate)_https_works (151.09s) --- PASS: TestRunRoutes/Route_passthrough_https_works (311.86s) --- PASS: TestRunRoutes/Route_Reencrypt_https_works (151.32s) === RUN TestPrometheusTrait Executing as global test Using external kamel binary on path /go/kamel OLM is available in the cluster Camel K operator installation skipped Camel K installed in namespace test-f2391a20-5491-4733-83f0-bb189216a496 via OLM subscription Running as globally managed resource Using external kamel binary on path /go/kamel Integration "java" created === RUN TestPrometheusTrait/Metrics_endpoint_works Using external kamel binary on path /go/kamel 1 integration(s) deleted panic: test timed out after 20m0s goroutine 9242 [running]: testing.(*M).startAlarm.func1() /usr/local/go/src/testing/testing.go:1788 +0x8e created by time.goFunc /usr/local/go/src/time/sleep.go:180 +0x31 goroutine 1 [chan receive, 4 minutes]: testing.(*T).Run(0xc00041d520, {0x22c2e0c, 0x46f913}, 0x240e8a0) /usr/local/go/src/testing/testing.go:1307 +0x375 testing.runTests.func1(0xc0005e5e90) /usr/local/go/src/testing/testing.go:1598 +0x6e testing.tRunner(0xc00041d520, 0xc0008ffd18) /usr/local/go/src/testing/testing.go:1259 +0x102 testing.runTests(0xc0001fa780, {0x3a471c0, 0x2, 0x2}, {0x48ef4d, 0x22b948b, 0x3a83460}) /usr/local/go/src/testing/testing.go:1596 +0x43f testing.(*M).Run(0xc0001fa780) /usr/local/go/src/testing/testing.go:1504 +0x51d main.main() _testmain.go:45 +0x14b goroutine 31 [select]: go.opencensus.io/stats/view.(*worker).start(0xc0003c0480) /go/pkg/mod/go.opencensus.io@v0.23.0/stats/view/worker.go:276 +0xb9 created by go.opencensus.io/stats/view.init.0 /go/pkg/mod/go.opencensus.io@v0.23.0/stats/view/worker.go:34 +0x92 goroutine 32 [chan receive, 20 minutes]: knative.dev/pkg/metrics.(*metricsWorker).start(0xc000594430) /go/pkg/mod/knative.dev/pkg@v0.0.0-20220705130606-e60d250dc637/metrics/metrics_worker.go:99 +0x2f created by knative.dev/pkg/metrics.init.0 /go/pkg/mod/knative.dev/pkg@v0.0.0-20220705130606-e60d250dc637/metrics/exporter.go:39 +0xb3 goroutine 4824 [sleep]: time.Sleep(0x3b9aca00) /usr/local/go/src/runtime/time.go:193 +0x12e github.com/apache/camel-k/e2e/support.deleteTestNamespace(0xc000b849c0, {0x26abb40, 0xc000b91180}) /go/camel-k/e2e/support/test_support.go:2115 +0x3d5 github.com/apache/camel-k/e2e/support.WithNewTestNamespace(0xc000b849c0, 0x3a35c55b369) /go/camel-k/e2e/support/test_support.go:1985 +0xf9 command-line-arguments.TestPrometheusTrait(0x2636dd8) /go/camel-k/e2e/global/common/traits/prometheus_test.go:45 +0x35 testing.tRunner(0xc000b849c0, 0x240e8a0) /usr/local/go/src/testing/testing.go:1259 +0x102 created by testing.(*T).Run /usr/local/go/src/testing/testing.go:1306 +0x35a goroutine 4805 [IO wait]: internal/poll.runtime_pollWait(0x7f38106a12a0, 0x72) /usr/local/go/src/runtime/netpoll.go:303 +0x85 internal/poll.(*pollDesc).wait(0xc00006a600, 0xc000e36000, 0x0) /usr/local/go/src/internal/poll/fd_poll_runtime.go:84 +0x32 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).Read(0xc00006a600, {0xc000e36000, 0x118a9, 0x118a9}) /usr/local/go/src/internal/poll/fd_unix.go:167 +0x25a net.(*netFD).Read(0xc00006a600, {0xc000e36000, 0xc000e3bf99, 0x1a}) /usr/local/go/src/net/fd_posix.go:56 +0x29 net.(*conn).Read(0xc000128030, {0xc000e36000, 0x656699, 0xc0000a97f0}) /usr/local/go/src/net/net.go:183 +0x45 crypto/tls.(*atLeastReader).Read(0xc0008aa978, {0xc000e36000, 0x0, 0x40bd8d}) /usr/local/go/src/crypto/tls/conn.go:778 +0x3d bytes.(*Buffer).ReadFrom(0xc0004eccf8, {0x25ecf00, 0xc0008aa978}) /usr/local/go/src/bytes/buffer.go:204 +0x98 crypto/tls.(*Conn).readFromUntil(0xc0004eca80, {0x25f1540, 0xc000128030}, 0xb915) /usr/local/go/src/crypto/tls/conn.go:800 +0xe5 crypto/tls.(*Conn).readRecordOrCCS(0xc0004eca80, 0x0) /usr/local/go/src/crypto/tls/conn.go:607 +0x112 crypto/tls.(*Conn).readRecord(...) /usr/local/go/src/crypto/tls/conn.go:575 crypto/tls.(*Conn).Read(0xc0004eca80, {0xc0008af000, 0x1000, 0x0}) /usr/local/go/src/crypto/tls/conn.go:1278 +0x16f bufio.(*Reader).Read(0xc0003bfc80, {0xc00063c2e0, 0x9, 0xc00032f408}) /usr/local/go/src/bufio/bufio.go:227 +0x1b4 io.ReadAtLeast({0x25ecd00, 0xc0003bfc80}, {0xc00063c2e0, 0x9, 0x9}, 0x9) /usr/local/go/src/io/io.go:328 +0x9a io.ReadFull(...) /usr/local/go/src/io/io.go:347 golang.org/x/net/http2.readFrameHeader({0xc00063c2e0, 0x9, 0xc00183b500}, {0x25ecd00, 0xc0003bfc80}) /go/pkg/mod/golang.org/x/net@v0.17.0/http2/frame.go:237 +0x6e golang.org/x/net/http2.(*Framer).ReadFrame(0xc00063c2a0) /go/pkg/mod/golang.org/x/net@v0.17.0/http2/frame.go:498 +0x95 golang.org/x/net/http2.(*clientConnReadLoop).run(0xc0000a9f98) /go/pkg/mod/golang.org/x/net@v0.17.0/http2/transport.go:2275 +0x130 golang.org/x/net/http2.(*ClientConn).readLoop(0xc000352900) /go/pkg/mod/golang.org/x/net@v0.17.0/http2/transport.go:2170 +0x6f created by golang.org/x/net/http2.(*Transport).newClientConn /go/pkg/mod/golang.org/x/net@v0.17.0/http2/transport.go:821 +0xc65 FAIL command-line-arguments 1200.037s FAIL