cp ododevapispec.yaml pkg/apiserver-impl/swagger-ui/swagger.yaml go install -mod=vendor -ldflags="-X github.com/redhat-developer/odo/pkg/version.GITCOMMIT=0f27214c0-dirty" ./cmd/odo/ go run -mod=vendor github.com/onsi/ginkgo/v2/ginkgo --randomize-all --poll-progress-after=120s --poll-progress-interval=120s -timeout 14400s --no-color -nodes=16 --junit-report="test-doc-automation.xml" tests/documentation/... [1700446869] Doc Command Reference Automation Suite - 17/17 specs - 16 procs ------------------------------ • [4.677 seconds] doc command reference odo init Non Interactive Mode Fetch Devfile of a specific version [nocluster] /go/odo_1/tests/documentation/command-reference/doc_command_reference_init_test.go:106 Captured StdOut/StdErr Output >> Using Devfile Registry URL at: "https://registry.stage.devfile.io" << Captured StdOut/StdErr Output ------------------------------ • [5.320 seconds] doc command reference odo init Non Interactive Mode set application ports after fetching Devfile [nocluster] /go/odo_1/tests/documentation/command-reference/doc_command_reference_init_test.go:232 Captured StdOut/StdErr Output >> Using Devfile Registry URL at: "https://registry.stage.devfile.io" << Captured StdOut/StdErr Output ------------------------------ • [6.332 seconds] doc command reference odo init Non Interactive Mode Fetch Devfile from a URL [nocluster] /go/odo_1/tests/documentation/command-reference/doc_command_reference_init_test.go:221 Captured StdOut/StdErr Output >> Using Devfile Registry URL at: "https://registry.stage.devfile.io" << Captured StdOut/StdErr Output ------------------------------ • [5.369 seconds] doc command reference odo init Non Interactive Mode Fetch Devfile of the latest version [nocluster] /go/odo_1/tests/documentation/command-reference/doc_command_reference_init_test.go:117 Captured StdOut/StdErr Output >> Using Devfile Registry URL at: "https://registry.stage.devfile.io" << Captured StdOut/StdErr Output ------------------------------ • [5.700 seconds] doc command reference odo init Non Interactive Mode Fetch Devfile from a URL [nocluster] /go/odo_1/tests/documentation/command-reference/doc_command_reference_init_test.go:128 Captured StdOut/StdErr Output >> Using Devfile Registry URL at: "https://registry.stage.devfile.io" << Captured StdOut/StdErr Output ------------------------------ • [8.069 seconds] doc command reference odo init Interactive Mode when the directory is not empty Directory with sources [nocluster] /go/odo_1/tests/documentation/command-reference/doc_command_reference_init_test.go:76 Captured StdOut/StdErr Output >> Using Devfile Registry URL at: "https://registry.stage.devfile.io" Spawning '/go/bin/odo init' from /tmp/3360320057 << Captured StdOut/StdErr Output ------------------------------ • [9.665 seconds] doc command reference odo init Interactive Mode Empty directory [nocluster] /go/odo_1/tests/documentation/command-reference/doc_command_reference_init_test.go:32 Captured StdOut/StdErr Output >> Using Devfile Registry URL at: "https://registry.stage.devfile.io" Spawning '/go/bin/odo init' from /tmp/667252885 << Captured StdOut/StdErr Output ------------------------------ • [11.595 seconds] doc command reference odo init Non Interactive Mode fetching devfile from a registry when setting up the registry Fetch Devfile from a specific registry of the list [nocluster] /go/odo_1/tests/documentation/command-reference/doc_command_reference_init_test.go:174 Captured StdOut/StdErr Output >> Using Devfile Registry URL at: "https://registry.stage.devfile.io" Using Devfile Registry URL at: "https://registry.stage.devfile.io" << Captured StdOut/StdErr Output ------------------------------ • [13.158 seconds] doc command reference odo init Non Interactive Mode fetching devfile from a registry when setting up the registry Fetch Devfile from any registry of the list [nocluster] /go/odo_1/tests/documentation/command-reference/doc_command_reference_init_test.go:190 Captured StdOut/StdErr Output >> Using Devfile Registry URL at: "https://registry.stage.devfile.io" Using Devfile Registry URL at: "https://registry.stage.devfile.io" << Captured StdOut/StdErr Output ------------------------------ • [14.389 seconds] doc command reference odo set namespace To set an active namespace resource Sets a namespace resource to be current active on a kubernetes cluster /go/odo_1/tests/documentation/command-reference/doc_command_reference_setnamespace_test.go:31 Captured StdOut/StdErr Output >> Using Devfile Registry URL at: "https://registry.stage.devfile.io" << Captured StdOut/StdErr Output ------------------------------ • [14.724 seconds] doc command reference odo list namespace To list all available namespaces Lists all namespace resources available in a kubernetes cluster /go/odo_1/tests/documentation/command-reference/doc_command_reference_listnamespace_test.go:40 Captured StdOut/StdErr Output >> Using Devfile Registry URL at: "https://registry.stage.devfile.io" << Captured StdOut/StdErr Output ------------------------------ • [14.098 seconds] doc command reference odo set namespace To set an active namespace resource Sets a project resource to be current active on a openshift cluster /go/odo_1/tests/documentation/command-reference/doc_command_reference_setnamespace_test.go:41 Captured StdOut/StdErr Output >> Using Devfile Registry URL at: "https://registry.stage.devfile.io" << Captured StdOut/StdErr Output ------------------------------ • [15.921 seconds] doc command reference odo create namespace To create a namespace resource Creates a project resource for a kubernetes cluster /go/odo_1/tests/documentation/command-reference/doc_command_reference_createnamespace_test.go:50 Captured StdOut/StdErr Output >> Using Devfile Registry URL at: "https://registry.stage.devfile.io" << Captured StdOut/StdErr Output ------------------------------ • [16.939 seconds] doc command reference odo create namespace To create a namespace resource Creates a namespace resource for a kubernetes cluster /go/odo_1/tests/documentation/command-reference/doc_command_reference_createnamespace_test.go:39 Captured StdOut/StdErr Output >> Using Devfile Registry URL at: "https://registry.stage.devfile.io" << Captured StdOut/StdErr Output ------------------------------ • [11.819 seconds] doc command reference odo list namespace To list all available namespaces Lists all project resources available in a openshift cluster /go/odo_1/tests/documentation/command-reference/doc_command_reference_listnamespace_test.go:51 Captured StdOut/StdErr Output >> Using Devfile Registry URL at: "https://registry.stage.devfile.io" << Captured StdOut/StdErr Output ------------------------------ • [17.120 seconds] doc command reference odo delete namespace To delete a namespace resource Deletes a project resource for a openshift cluster /go/odo_1/tests/documentation/command-reference/doc_command_reference_deletenamespace_test.go:61 Captured StdOut/StdErr Output >> Using Devfile Registry URL at: "https://registry.stage.devfile.io" Spawning '/go/bin/odo delete project doc-command-reference-deletenamespace-test61mph' from /tmp/3985958153 << Captured StdOut/StdErr Output ------------------------------ • [17.278 seconds] doc command reference odo delete namespace To delete a namespace resource Deletes a namespace resource for a kubernetes cluster /go/odo_1/tests/documentation/command-reference/doc_command_reference_deletenamespace_test.go:43 Captured StdOut/StdErr Output >> Using Devfile Registry URL at: "https://registry.stage.devfile.io" Spawning '/go/bin/odo delete namespace doc-command-reference-deletenamespace-test43jyn' from /tmp/2726776105 << Captured StdOut/StdErr Output ------------------------------ SUCCESS! 17.337696422s [1700446869] User Guides Doc Automation Suite - 5/5 specs - 16 procs ------------------------------ • [5.903 seconds] User guides: Quickstart test Create namespace/project should show correct output for namespace/project creation /go/odo_1/tests/documentation/user-guides/doc_user_guides_quickstart_test.go:39 Captured StdOut/StdErr Output >> Using Devfile Registry URL at: "https://registry.stage.devfile.io" << Captured StdOut/StdErr Output ------------------------------ • [FAILED] [7.277 seconds] User guides: Quickstart test Go quickstart guide [It] should test the complete go quickstart output in order /go/odo_1/tests/documentation/user-guides/doc_user_guides_quickstart_test.go:116 Captured StdOut/StdErr Output >> Using Devfile Registry URL at: "https://registry.stage.devfile.io" Spawning '/go/bin/odo init' from /tmp/1097986365 << Captured StdOut/StdErr Output Timeline >> Created dir: /tmp/1097986365 Created dir: /tmp/2482711823 Setting KUBECONFIG=/tmp/2482711823/config Running kubectl with args [kubectl get namespace doc-user-guides-quickstart-test116dgg -o jsonpath={.metadata.name}] and odo env: [] [kubectl] Error from server (NotFound): namespaces "doc-user-guides-quickstart-test116dgg" not found Creating a new project: doc-user-guides-quickstart-test116dgg Running kubectl with args [kubectl create namespace doc-user-guides-quickstart-test116dgg] and odo env: [] [kubectl] namespace/doc-user-guides-quickstart-test116dgg created Running kubectl with args [kubectl config set-context --current --namespace doc-user-guides-quickstart-test116dgg] and odo env: [] [kubectl] Context "odo-test-kubernetes-cluster-2/cia4jeff0jvb2lioor0g/admin" modified. Running kubectl with args [kubectl get ns] and odo env: [] [kubectl] NAME STATUS AGE [kubectl] asoro Active 55d [kubectl] cert-manager Active 41d [kubectl] ci-devfile-registry Active 150d [kubectl] default Active 150d [kubectl] doc-user-guides-quickstart-test116dgg Active 1s [kubectl] doc-user-guides-quickstart-test166orr Active 1s [kubectl] doc-user-guides-quickstart-test231ozf Active 1s [kubectl] doc-user-guides-quickstart-test39dar Active 1s [kubectl] doc-user-guides-quickstart-test66ufe Active 1s [kubectl] flsz-project Active 114d [kubectl] ibm-cert-store Active 150d [kubectl] ibm-operators Active 150d [kubectl] ibm-system Active 150d [kubectl] kube-node-lease Active 150d [kubectl] kube-public Active 150d [kubectl] kube-system Active 150d [kubectl] mcsu-namespace Active 122d [kubectl] odo-dev-pr-7097 Active 55d [kubectl] odo-dev-pr-7149 Active 2d3h [kubectl] odo-dev-pr-7150 Active 13m [kubectl] olm Active 150d [kubectl] operators Active 150d [kubectl] registry-operator-system Active 41d Running kubectl with args [kubectl create configmap config-map-for-cleanup --from-literal type=testing --from-literal team=odo -n doc-user-guides-quickstart-test116dgg] and odo env: [] [kubectl] configmap/config-map-for-cleanup created Current working dir: /go/odo_1/tests/documentation/user-guides Setting current dir to: /tmp/1097986365 Running odo with args [odo preference remove registry DefaultDevfileRegistry -f] and odo env: [] [odo] I1120 02:22:41.440181 13564 implem.go:114] The path for preference file is /tmp/2482711823/preference.yaml [odo] Successfully removed registry [odo] I1120 02:22:41.446323 13564 implem.go:114] The path for preference file is /tmp/2482711823/preference.yaml [odo] I1120 02:22:41.447200 13564 segment.go:268] Checking telemetry enable status [odo] I1120 02:22:41.447427 13564 segment.go:286] Sending telemetry disabled by env variable Running odo with args [odo preference add registry DefaultDevfileRegistry https://registry.stage.devfile.io] and odo env: [] [odo] I1120 02:22:41.687338 13587 implem.go:114] The path for preference file is /tmp/2482711823/preference.yaml [odo] New registry successfully added [odo] I1120 02:22:41.692227 13587 implem.go:114] The path for preference file is /tmp/2482711823/preference.yaml [odo] I1120 02:22:41.693012 13587 segment.go:268] Checking telemetry enable status [odo] I1120 02:22:41.693026 13587 segment.go:286] Sending telemetry disabled by env variable Setting current dir to: /tmp/1097986365 STEP: running odo init @ 11/20/23 02:22:41.712 running command [odo init] with env [ODO_LOG_LEVEL=0] [FAILED] in [It] - /go/odo_1/tests/documentation/user-guides/doc_user_guides_quickstart_test.go:141 @ 11/20/23 02:22:44.22 Running kubectl with args [kubectl get namespace doc-user-guides-quickstart-test116dgg -o jsonpath={.metadata.name}] and odo env: [] [kubectl] doc-user-guides-quickstart-test116dggDeleting project: doc-user-guides-quickstart-test116dgg Running kubectl with args [kubectl delete namespaces doc-user-guides-quickstart-test116dgg --wait=false] and odo env: [] [kubectl] namespace "doc-user-guides-quickstart-test116dgg" deleted Setting current dir to: /go/odo_1/tests/documentation/user-guides Deleting dir: /tmp/1097986365 Deleting dir: /tmp/2482711823 << Timeline [FAILED] user-guides/quickstart/docs-mdx/go/go_odo_init_output.mdx Expected : strings.Join({ ... // 361 identical bytes "ent directory odo detected\nSupported architectures: all\nLanguage", ": Go\nProject type: Go\nApplication ports: 8080\nThe devfile \"go:1.", - "0.2", + "2.0", `" from the registry "DefaultDevfileRegistry" will be downloaded.`, "\n? Is this correct? Yes\n✓ Downloading devfile \"go:1.", - "0.2", + "2.0", "\" from registry \"DefaultDevfileRegistry\" [1s]\n↪ Container Conf", "iguration \"runtime\":\nOPEN PORTS:\n- 8080\n", + "- 5858\n", "ENVIRONMENT VARIABLES:", + "\n- DEBUG_PORT = 5858", "\n? Select container for which you want to change configuration? ", "NONE - configuration is correct\n? Enter component name: my-go-ap", "p\nYou can automate this command by executing:\nodo init --name my", "-go-app --devfile go --devfile-registry DefaultDevfileRegistry -", "-devfile-version 1.", - "0.2", + "2.0", "\nYour new component 'my-go-app' is ready in the current director", "y.\nTo start editing your component, use 'odo dev' and open this ", ... // 84 identical bytes }, "") to be empty In [It] at: /go/odo_1/tests/documentation/user-guides/doc_user_guides_quickstart_test.go:141 @ 11/20/23 02:22:44.22 ------------------------------ • [59.382 seconds] User guides: Quickstart test nodejs should test the complete nodejs quickstart output in order /go/odo_1/tests/documentation/user-guides/doc_user_guides_quickstart_test.go:66 Captured StdOut/StdErr Output >> Using Devfile Registry URL at: "https://registry.stage.devfile.io" Spawning '/go/bin/odo init' from /tmp/2258184324 << Captured StdOut/StdErr Output ------------------------------ • [59.438 seconds] User guides: Quickstart test .NET quickstart guide should test the complete dotnet quickstart output in order /go/odo_1/tests/documentation/user-guides/doc_user_guides_quickstart_test.go:166 Captured StdOut/StdErr Output >> Using Devfile Registry URL at: "https://registry.stage.devfile.io" Spawning '/go/bin/odo init' from /tmp/2288477365 << Captured StdOut/StdErr Output ------------------------------ • [88.711 seconds] User guides: Quickstart test Java quickstart guide should test the complete java springboot quickstart output in order /go/odo_1/tests/documentation/user-guides/doc_user_guides_quickstart_test.go:231 Captured StdOut/StdErr Output >> Using Devfile Registry URL at: "https://registry.stage.devfile.io" Spawning '/go/bin/odo init' from /tmp/3429355058 << Captured StdOut/StdErr Output ------------------------------ Summarizing 1 Failure: [FAIL] User guides: Quickstart test Go quickstart guide [It] should test the complete go quickstart output in order /go/odo_1/tests/documentation/user-guides/doc_user_guides_quickstart_test.go:141 Ran 5 of 5 Specs in 88.864 seconds FAIL! -- 4 Passed | 1 Failed | 0 Pending | 0 Skipped Ginkgo ran 2 suites in 2m57.465668638s There were failures detected in the following suites: user-guides ./tests/documentation/user-guides Test Suite Failed exit status 1 make: *** [Makefile:241: test-doc-automation] Error 1