go install -mod=vendor -ldflags="-X github.com/redhat-developer/odo/pkg/version.GITCOMMIT=e98f98b8d" ./cmd/odo/ go run -mod=vendor github.com/onsi/ginkgo/v2/ginkgo --randomize-all --slow-spec-threshold=120s -timeout 14400s --no-color -nodes=16 --junit-report="test-integration-unauth.xml" --label-filter="unauth" tests/integration Running Suite: Integration Suite - /go/odo_1/tests/integration ============================================================== Random Seed: 1684119836 - will randomize all specs Will run 111 of 888 specs Running in parallel across 16 processes SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS•SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS•SSSSSS•SSSSSSSSSSSSSSS•SSSSS•SS•SSSS•SSSSSSSSSSSSSS•SSSSSSSSSSSSSSSSSSSSSSSSSS•SSSSSS ------------------------------ • [8.146 seconds] odo init interactive command tests label unauth should not fail when using -v flag [unauth] /go/odo_1/tests/integration/interactive_init_test.go:51 Captured StdOut/StdErr Output >> Spawning '/go/bin/odo init -v 4' from /tmp/1896668501 << Captured StdOut/StdErr Output ------------------------------ S ------------------------------ • [7.720 seconds] odo init interactive command tests label unauth should print automation command with proper values [unauth] /go/odo_1/tests/integration/interactive_init_test.go:193 Captured StdOut/StdErr Output >> Spawning '/go/bin/odo init' from /tmp/2924821747 << Captured StdOut/StdErr Output ------------------------------ SSSSSSSSSSSSSSSSSSSSSSSSSSS•SSSSSSSSSSSS•••SSSSSSSSSSSSSSSSSSSSSSSSS• ------------------------------ • [11.369 seconds] odo init interactive command tests label unauth should start downloading starter project only after all interactive questions have been asked [unauth] /go/odo_1/tests/integration/interactive_init_test.go:559 Captured StdOut/StdErr Output >> Spawning '/go/bin/odo init' from /tmp/102902100 << Captured StdOut/StdErr Output ------------------------------ SSS•SS•SSS•SSSSSSSSSSSSSSSSSSSS•SS•SSSSSSSSSS•SSSSSSSSSSSSSSSSSSSSS•SSSS ------------------------------ • [6.661 seconds] odo init interactive command tests label unauth displaying welcoming messages when directory is not empty should display appropriate welcoming messages [unauth] /go/odo_1/tests/integration/interactive_init_test.go:438 Captured StdOut/StdErr Output >> Spawning '/go/bin/odo init' from /tmp/2826945687 << Captured StdOut/StdErr Output ------------------------------ •SSSS•SSSSSSSSSSSSSSSSSS•SSSSSSSS••SSSSSSSSSSSSSSSS ------------------------------ • [7.942 seconds] odo init interactive command tests label unauth when Alizer cannot determine a Devfile based on the current source code should not fail but fallback to the interactive mode [unauth] /go/odo_1/tests/integration/interactive_init_test.go:655 Captured StdOut/StdErr Output >> Spawning '/go/bin/odo init' from /tmp/377852894 << Captured StdOut/StdErr Output ------------------------------ SSSSSSSSS••S•SSSSSSS•SSSS•S•S•SSSSSSSSSSS•SSSSSSSSSSSSSSSSSSSS•S ------------------------------ • [8.464 seconds] odo init interactive command tests label unauth should ask to download the starter project when the devfile stack has extra files [unauth] /go/odo_1/tests/integration/interactive_init_test.go:273 Captured StdOut/StdErr Output >> Spawning '/go/bin/odo init' from /tmp/4216687646 << Captured StdOut/StdErr Output ------------------------------ SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS••S•SSS•SS•SSSSSSSSSSSSSS•S•SSSSSSSS ------------------------------ • [8.654 seconds] odo init interactive command tests label unauth should ask to re-enter the component name when an invalid value is passed [unauth] /go/odo_1/tests/integration/interactive_init_test.go:160 Captured StdOut/StdErr Output >> Spawning '/go/bin/odo init' from /tmp/1289928305 << Captured StdOut/StdErr Output ------------------------------ SSSSSSSSS•SSSSSSSSSSS•SS••SSSS•SSSSSSS•S•SS•SSSSSS••S•SSS•SSSSSSSSSSS•SSSSS•S•SSSSS•SSSSSSSS•SSSSS•SSSSSSSSS•SSS•S•SSSS•SSSSSSSSS•SSSSSSSS ------------------------------ • [6.467 seconds] odo init interactive command tests label unauth displaying welcoming messages when alizer detection of javascript name should display node-echo name [unauth] /go/odo_1/tests/integration/interactive_init_test.go:486 Captured StdOut/StdErr Output >> Spawning '/go/bin/odo init' from /tmp/403138025 << Captured StdOut/StdErr Output ------------------------------ S••SSSSS•SSSSSS•SSSSSSSS•SSSSSSSSSSSSSSSSSSSSSS•SSSSS ------------------------------ • [9.180 seconds] odo init interactive command tests label unauth should download correct devfile-starter [unauth] /go/odo_1/tests/integration/interactive_init_test.go:308 Captured StdOut/StdErr Output >> Spawning '/go/bin/odo init' from /tmp/4220434931 << Captured StdOut/StdErr Output ------------------------------ SSSSSSSSSSSSSSSSSSSSSSSSS••SSSSSSSSSSSSS•SSSS•SSSS•SSSSSSSSSSS•SSSS•SSSSSSSS•SSSSSSS•SSSSSSSSSSSSSSSSSSSSSS•SSSSSSSS•SS•SSSSSSSSSSSSSSS•SSSSSSSS•SSSSS•SSSSSSSSSSSSS•••• ------------------------------ • [6.594 seconds] odo init interactive command tests label unauth displaying welcoming messages when directory is empty should display appropriate welcoming messages [unauth] /go/odo_1/tests/integration/interactive_init_test.go:399 Captured StdOut/StdErr Output >> Spawning '/go/bin/odo init' from /tmp/1611789928 << Captured StdOut/StdErr Output ------------------------------ •••• ------------------------------ • [6.238 seconds] odo init interactive command tests label unauth should download correct devfile [unauth] /go/odo_1/tests/integration/interactive_init_test.go:237 Captured StdOut/StdErr Output >> Spawning '/go/bin/odo init' from /tmp/1896099946 << Captured StdOut/StdErr Output ------------------------------ • [6.197 seconds] odo init interactive command tests label unauth Automatic port detection via Alizer when starting with an existing project should display ports detected [unauth] /go/odo_1/tests/integration/interactive_init_test.go:612 Captured StdOut/StdErr Output >> Spawning '/go/bin/odo init' from /tmp/2969154642 << Captured StdOut/StdErr Output ------------------------------ • ------------------------------ • [5.239 seconds] odo init interactive command tests label unauth displaying welcoming messages when alizer detection of javascript name should ask to re-enter the component name if invalid value is passed by the user [unauth] /go/odo_1/tests/integration/interactive_init_test.go:521 Captured StdOut/StdErr Output >> Spawning '/go/bin/odo init' from /tmp/860628358 << Captured StdOut/StdErr Output ------------------------------ •• ------------------------------ • [FAILED] [128.444 seconds] odo init interactive command tests label unauth personalizing Devfile configuration [It] should allow for personalizing configurations [unauth] /go/odo_1/tests/integration/interactive_init_test.go:95 Captured StdOut/StdErr Output >> Spawning '/go/bin/odo init' from /tmp/649345687 2023/05/15 03:07:21 ConsoleProcess cancelled! You may have forgotten to call ExpectExitCode() << Captured StdOut/StdErr Output Timeline >> Created dir: /tmp/649345687 Created dir: /tmp/291061827 Setting KUBECONFIG=/tmp/291061827/config Running oc with args [oc whoami] and odo env: [] [oc] Error from server (Forbidden): users.user.openshift.io "~" is forbidden: User "system:anonymous" cannot get resource "users" in API group "user.openshift.io" at the cluster scope Current working dir: /go/odo_1/tests/integration Running odo with args [odo preference remove registry DefaultDevfileRegistry -f] and odo env: [] [odo] I0515 03:05:16.660445 12936 implem.go:110] The path for preference file is /tmp/291061827/preference.yaml [odo] Successfully removed registry Running odo with args [odo preference add registry DefaultDevfileRegistry https://devfile-registry-ci-devfile-registry.odo-test-kubernetes-clust-49529fc6e6a4a9fe7ebba9a3db5b55c4-0000.eu-de.containers.appdomain.cloud/] and odo env: [] [odo] I0515 03:05:18.194909 13046 implem.go:110] The path for preference file is /tmp/291061827/preference.yaml [odo] New registry successfully added Setting current dir to: /tmp/649345687 Running odo with args [odo registry --devfile nodejs --devfile-registry DefaultDevfileRegistry] and odo env: [] [odo] I0515 03:05:19.100716 13156 implem.go:110] The path for preference file is /tmp/291061827/preference.yaml [odo] I0515 03:05:19.108078 13156 util.go:198] path /tmp/649345687/devfile.yaml doesn't exist, skipping it [odo] I0515 03:05:19.108711 13156 util.go:198] path /tmp/649345687/.devfile.yaml doesn't exist, skipping it [odo] I0515 03:05:19.108867 13156 util.go:198] path /tmp/649345687/devfile.yaml doesn't exist, skipping it [odo] I0515 03:05:19.506971 13156 registry.go:25] accessing "devfileregistrieslists" is forbidden or unauthorized [odo] I0515 03:05:19.509062 13156 registry.go:38] accessing "clusterdevfileregistrieslists" is forbidden or unauthorized [odo] NAME REGISTRY DESCRIPTION VERSIONS [odo] nodejs DefaultDevfileRegistry Stack with Node.js 16 2.1.1 running command [odo init] with env [] [FAILED] in [It] - /go/odo_1/tests/helper/helper_interactive.go:111 @ 05/15/23 03:07:21.908 Setting current dir to: /go/odo_1/tests/integration Deleting dir: /tmp/649345687 Deleting dir: /tmp/291061827 << Timeline [FAILED] error while sending or expecting line: "Enter value for "DEBUG_PROJECT_PORT" environment variable:" === output of command '["odo" "init"]' read so far === I0515 03:05:20.796461 13262 implem.go:110] The path for preference file is /tmp/291061827/preference.yaml I0515 03:05:20.798322 13262 util.go:198] path /tmp/649345687/devfile.yaml doesn't exist, skipping it I0515 03:05:20.798462 13262 util.go:198] path /tmp/649345687/.devfile.yaml doesn't exist, skipping it I0515 03:05:20.798523 13262 util.go:198] path /tmp/649345687/devfile.yaml doesn't exist, skipping it __ / \__ Initializing a new component \__/ \ Files: No source code detected, a starter project will be created in the current directory / \__/ odo version: v3.10.0 \__/ Interactive mode enabled, please answer the following questions: I0515 03:05:21.333088 13262 registry.go:25] accessing "devfileregistrieslists" is forbidden or unauthorized I0515 03:05:21.341303 13262 registry.go:38] accessing "clusterdevfileregistrieslists" is forbidden or unauthorized ? Select language: [Use arrows to move, type to filter] > .NET Go Java JavaScript PHP Python TypeScript Javascript ? Select language: J [Use arrows to move, type to filter] > Java JavaScript ? Select language: Ja [Use arrows to move, type to filter] > Java JavaScript ? Select language: Jav [Use arrows to move, type to filter] > Java JavaScript ? Select language: Java [Use arrows to move, type to filter] > Java JavaScript ? Select language: Javas [Use arrows to move, type to filter] > JavaScript ? Select language: Javasc [Use arrows to move, type to filter] > JavaScript ? Select language: Javascr [Use arrows to move, type to filter] > JavaScript ? Select language: Javascri [Use arrows to move, type to filter] > JavaScript ? Select language: Javascrip [Use arrows to move, type to filter] > JavaScript ? Select language: Javascript [Use arrows to move, type to filter] > JavaScript ? Select language: JavaScript ? Select project type: [Use arrows to move, type to filter] > Node.js Runtime ** GO BACK ** ? Select project type: Node.js Runtime • Downloading devfile "nodejs" from registry "DefaultDevfileRegistry" ... I0515 03:05:21.448868 13262 registry.go:25] accessing "devfileregistrieslists" is forbidden or unauthorized I0515 03:05:21.453699 13262 registry.go:38] accessing "clusterdevfileregistrieslists" is forbidden or unauthorized I0515 03:05:21.454051 13262 registry.go:53] sending telemetry data: library.TelemetryData{User:"", Locale:"", Client:"odo"} ✓ Downloading devfile "nodejs" from registry "DefaultDevfileRegistry" [90ms] I0515 03:05:21.532741 13262 context.go:159] absolute devfile path: '/tmp/649345687/devfile.yaml' I0515 03:05:21.533057 13262 context.go:110] absolute devfile path: '/tmp/649345687/devfile.yaml' I0515 03:05:21.534087 13262 content.go:48] converted devfile YAML to JSON I0515 03:05:21.536204 13262 apiVersion.go:60] devfile schemaVersion: '2.1.0' I0515 03:05:21.536631 13262 helper.go:56] devfile apiVersion '2.1.0' is supported I0515 03:05:21.541199 13262 schema.go:61] validated devfile schema ↪ Container Configuration "runtime": OPEN PORTS: - 3000 - 5858 ENVIRONMENT VARIABLES: - DEBUG_PORT = 5858 ? Select container for which you want to change configuration? [Use arrows to move, type to filter] runtime > NONE - configuration is correct runtime ? Select container for which you want to change configuration? r [Use arrows to move, type to filter] runtime > NONE - configuration is correct ? Select container for which you want to change configuration? ru [Use arrows to move, type to filter] > runtime ? Select container for which you want to change configuration? run [Use arrows to move, type to filter] > runtime ? Select container for which you want to change configuration? runt [Use arrows to move, type to filter] > runtime ? Select container for which you want to change configuration? runti [Use arrows to move, type to filter] > runtime ? Select container for which you want to change configuration? runtim [Use arrows to move, type to filter] > runtime ? Select container for which you want to change configuration? runtime [Use arrows to move, type to filter] > runtime ? Select container for which you want to change configuration? runtime ? What configuration do you want change? [Use arrows to move, type to filter] > NOTHING - configuration is correct Delete port "3000" Delete port "5858" Add new port Delete environment variable "DEBUG_PORT" Add new environment variable Add new port ? What configuration do you want change? A [Use arrows to move, type to filter] > NOTHING - configuration is correct Add new port Delete environment variable "DEBUG_PORT" Add new environment variable ? What configuration do you want change? Ad [Use arrows to move, type to filter] > Add new port Add new environment variable ? What configuration do you want change? Add [Use arrows to move, type to filter] > Add new port Add new environment variable ? What configuration do you want change? Add [Use arrows to move, type to filter] > Add new port Add new environment variable ? What configuration do you want change? Add n [Use arrows to move, type to filter] > Add new port Add new environment variable ? What configuration do you want change? Add ne [Use arrows to move, type to filter] > Add new port Add new environment variable ? What configuration do you want change? Add new [Use arrows to move, type to filter] > Add new port Add new environment variable ? What configuration do you want change? Add new [Use arrows to move, type to filter] > Add new port Add new environment variable ? What configuration do you want change? Add new p [Use arrows to move, type to filter] > Add new port ? What configuration do you want change? Add new po [Use arrows to move, type to filter] > Add new port ? What configuration do you want change? Add new por [Use arrows to move, type to filter] > Add new port ? What configuration do you want change? Add new port [Use arrows to move, type to filter] > Add new port ? What configuration do you want change? Add new port ⚠ Please ensure that you do not add a duplicate port number ? Enter port number: 5000? Enter port number: 5000 ? What configuration do you want change? [Use arrows to move, type to filter] > NOTHING - configuration is correct Delete port "3000" Delete port "5858" Delete port "5000" Add new port Delete environment variable "DEBUG_PORT" Add new environment variable Delete port "3000" ? What configuration do you want change? D [Use arrows to move, type to filter] > Delete port "3000" Delete port "5858" Delete port "5000" Add new port Delete environment variable "DEBUG_PORT" Add new environment variable ? What configuration do you want change? De [Use arrows to move, type to filter] > Delete port "3000" Delete port "5858" Delete port "5000" Delete environment variable "DEBUG_PORT" ? What configuration do you want change? Del [Use arrows to move, type to filter] > Delete port "3000" Delete port "5858" Delete port "5000" Delete environment variable "DEBUG_PORT" ? What configuration do you want change? Dele [Use arrows to move, type to filter] > Delete port "3000" Delete port "5858" Delete port "5000" Delete environment variable "DEBUG_PORT" ? What configuration do you want change? Delet [Use arrows to move, type to filter] > Delete port "3000" Delete port "5858" Delete port "5000" Delete environment variable "DEBUG_PORT" ? What configuration do you want change? Delete [Use arrows to move, type to filter] > Delete port "3000" Delete port "5858" Delete port "5000" Delete environment variable "DEBUG_PORT" ? What configuration do you want change? Delete [Use arrows to move, type to filter] > Delete port "3000" Delete port "5858" Delete port "5000" Delete environment variable "DEBUG_PORT" ? What configuration do you want change? Delete p [Use arrows to move, type to filter] > Delete port "3000" Delete port "5858" Delete port "5000" ? What configuration do you want change? Delete po [Use arrows to move, type to filter] > Delete port "3000" Delete port "5858" Delete port "5000" ? What configuration do you want change? Delete por [Use arrows to move, type to filter] > Delete port "3000" Delete port "5858" Delete port "5000" ? What configuration do you want change? Delete port [Use arrows to move, type to filter] > Delete port "3000" Delete port "5858" Delete port "5000" ? What configuration do you want change? Delete port [Use arrows to move, type to filter] > Delete port "3000" Delete port "5858" Delete port "5000" ? What configuration do you want change? Delete port " [Use arrows to move, type to filter] > Delete port "3000" Delete port "5858" Delete port "5000" ? What configuration do you want change? Delete port "3 [Use arrows to move, type to filter] > Delete port "3000" ? What configuration do you want change? Delete port "30 [Use arrows to move, type to filter] > Delete port "3000" ? What configuration do you want change? Delete port "300 [Use arrows to move, type to filter] > Delete port "3000" ? What configuration do you want change? Delete port "3000 [Use arrows to move, type to filter] > Delete port "3000" ? What configuration do you want change? Delete port "3000" [Use arrows to move, type to filter] > Delete port "3000" ? What configuration do you want change? Delete port "3000" ? What configuration do you want change? [Use arrows to move, type to filter] > NOTHING - configuration is correct Delete port "5858" Delete port "5000" Add new port Delete environment variable "DEBUG_PORT" Add new environment variable ? What configuration do you want change? A [Use arrows to move, type to filter] > NOTHING - configuration is correct Add new port Delete environment variable "DEBUG_PORT" Add new environment variable ? What configuration do you want change? Ad [Use arrows to move, type to filter] > Add new port Add new environment variable ? What configuration do you want change? Add [Use arrows to move, type to filter] > Add new port Add new environment variable ? What configuration do you want change? Add [Use arrows to move, type to filter] > Add new port Add new environment variable ? What configuration do you want change? Add n [Use arrows to move, type to filter] > Add new port Add new environment variable ? What configuration do you want change? Add ne [Use arrows to move, type to filter] > Add new port Add new environment variable ? What configuration do you want change? Add new [Use arrows to move, type to filter] > Add new port Add new environment variable ? What configuration do you want change? Add new [Use arrows to move, type to filter] > Add new port Add new environment variable ? What configuration do you want change? Add new e [Use arrows to move, type to filter] > Add new environment variable ? What configuration do you want change? Add new en [Use arrows to move, type to filter] > Add new environment variable ? What configuration do you want change? Add new env [Use arrows to move, type to filter] > Add new environment variable ? What configuration do you want change? Add new envi [Use arrows to move, type to filter] > Add new environment variable ? What configuration do you want change? Add new envir [Use arrows to move, type to filter] > Add new environment variable ? What configuration do you want change? Add new enviro [Use arrows to move, type to filter] > Add new environment variable ? What configuration do you want change? Add new environ [Use arrows to move, type to filter] > Add new environment variable ? What configuration do you want change? Add new environm [Use arrows to move, type to filter] > Add new environment variable ? What configuration do you want change? Add new environme [Use arrows to move, type to filter] > Add new environment variable ? What configuration do you want change? Add new environmen [Use arrows to move, type to filter] > Add new environment variable ? What configuration do you want change? Add new environment [Use arrows to move, type to filter] > Add new environment variable ? What configuration do you want change? Add new environment [Use arrows to move, type to filter] > Add new environment variable ? What configuration do you want change? Add new environment v [Use arrows to move, type to filter] > Add new environment variable ? What configuration do you want change? Add new environment va [Use arrows to move, type to filter] > Add new environment variable ? What configuration do you want change? Add new environment var [Use arrows to move, type to filter] > Add new environment variable ? What configuration do you want change? Add new environment vari [Use arrows to move, type to filter] > Add new environment variable ? What configuration do you want change? Add new environment varia [Use arrows to move, type to filter] > Add new environment variable ? What configuration do you want change? Add new environment variab [Use arrows to move, type to filter] > Add new environment variable ? What configuration do you want change? Add new environment variabl [Use arrows to move, type to filter] > Add new environment variable ? What configuration do you want change? Add new environment variable [Use arrows to move, type to filter] > Add new environment variable ? What configuration do you want change? Add new environment variable ? Enter new environment variable name: ====================== Unexpected error: <*xpty.errPassthroughTimeout | 0xc001300010>: { error: <*errors.errorString | 0xc001300000>{ s: "passthrough i/o timeout", }, } passthrough i/o timeout occurred In [It] at: /go/odo_1/tests/helper/helper_interactive.go:111 @ 05/15/23 03:07:21.908 ------------------------------ Summarizing 1 Failure: [FAIL] odo init interactive command tests label unauth personalizing Devfile configuration [It] should allow for personalizing configurations [unauth] /go/odo_1/tests/helper/helper_interactive.go:111 Ran 111 of 888 Specs in 142.493 seconds FAIL! -- 110 Passed | 1 Failed | 0 Pending | 777 Skipped Ginkgo ran 1 suite in 3m25.508681454s Test Suite Failed You're using deprecated Ginkgo functionality: ============================================= --slow-spec-threshold is deprecated --slow-spec-threshold has been deprecated and will be removed in a future version of Ginkgo. This feature has proved to be more noisy than useful. You can use --poll-progress-after, instead, to get more actionable feedback about potentially slow specs and understand where they might be getting stuck. To silence deprecations that can be silenced set the following environment variable: ACK_GINKGO_DEPRECATIONS=2.6.0 exit status 1 make: *** [Makefile:211: test-integration-openshift-unauth] Error 1