cp ododevapispec.yaml pkg/apiserver-impl/swagger-ui/swagger.yaml go install -mod=vendor -ldflags="-X github.com/redhat-developer/odo/pkg/version.GITCOMMIT=cf3a7fdce-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/... [1699843298] Doc Command Reference Automation Suite - 17/17 specs - 16 procs ------------------------------ • [5.201 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 ------------------------------ • [5.952 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.192 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 ------------------------------ • [6.744 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 ------------------------------ • [7.361 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/3226710433 << Captured StdOut/StdErr Output ------------------------------ • [4.937 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 ------------------------------ • [10.788 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/951144546 << Captured StdOut/StdErr Output ------------------------------ • [13.145 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 ------------------------------ • [13.268 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 ------------------------------ • [13.956 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 ------------------------------ • [14.048 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.036 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 ------------------------------ • [15.013 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 ------------------------------ • [17.199 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.782 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-test61qze' from /tmp/3288392742 << Captured StdOut/StdErr Output ------------------------------ • [17.451 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-test43cdj' from /tmp/1846227699 << Captured StdOut/StdErr Output ------------------------------ • [16.242 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 ------------------------------ SUCCESS! 17.898564979s [1699843298] User Guides Doc Automation Suite - 5/5 specs - 16 procs ------------------------------ • [5.384 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] [6.734 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/1813295580 << Captured StdOut/StdErr Output Timeline >> Created dir: /tmp/1813295580 Created dir: /tmp/1614243717 Setting KUBECONFIG=/tmp/1614243717/config Running kubectl with args [kubectl get namespace doc-user-guides-quickstart-test116mub -o jsonpath={.metadata.name}] and odo env: [] [kubectl] Error from server (NotFound): namespaces "doc-user-guides-quickstart-test116mub" not found Creating a new project: doc-user-guides-quickstart-test116mub Running kubectl with args [kubectl create namespace doc-user-guides-quickstart-test116mub] and odo env: [] [kubectl] namespace/doc-user-guides-quickstart-test116mub created Running kubectl with args [kubectl config set-context --current --namespace doc-user-guides-quickstart-test116mub] 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 48d [kubectl] cert-manager Active 34d [kubectl] ci-devfile-registry Active 143d [kubectl] default Active 143d [kubectl] doc-user-guides-quickstart-test116mub Active 2s [kubectl] doc-user-guides-quickstart-test166ueo Active 1s [kubectl] doc-user-guides-quickstart-test231bmg Active 1s [kubectl] doc-user-guides-quickstart-test39jyi Active 1s [kubectl] doc-user-guides-quickstart-test66vqk Active 2s [kubectl] flsz-project Active 107d [kubectl] ibm-cert-store Active 143d [kubectl] ibm-operators Active 143d [kubectl] ibm-system Active 143d [kubectl] kube-node-lease Active 143d [kubectl] kube-public Active 143d [kubectl] kube-system Active 143d [kubectl] mcsu-namespace Active 115d [kubectl] odo-dev-pr-7097 Active 48d [kubectl] odo-dev-pr-7146 Active 5m49s [kubectl] olm Active 143d [kubectl] operators Active 143d [kubectl] registry-operator-system Active 34d Running kubectl with args [kubectl create configmap config-map-for-cleanup --from-literal type=testing --from-literal team=odo -n doc-user-guides-quickstart-test116mub] 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/1813295580 Running odo with args [odo preference remove registry DefaultDevfileRegistry -f] and odo env: [] [odo] I1113 02:43:17.888240 13429 implem.go:114] The path for preference file is /tmp/1614243717/preference.yaml [odo] Successfully removed registry [odo] I1113 02:43:17.895009 13429 implem.go:114] The path for preference file is /tmp/1614243717/preference.yaml [odo] I1113 02:43:17.895944 13429 segment.go:268] Checking telemetry enable status [odo] I1113 02:43:17.895963 13429 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] I1113 02:43:18.198536 13471 implem.go:114] The path for preference file is /tmp/1614243717/preference.yaml [odo] New registry successfully added [odo] I1113 02:43:18.202463 13471 implem.go:114] The path for preference file is /tmp/1614243717/preference.yaml [odo] I1113 02:43:18.203171 13471 segment.go:268] Checking telemetry enable status [odo] I1113 02:43:18.203183 13471 segment.go:286] Sending telemetry disabled by env variable Setting current dir to: /tmp/1813295580 STEP: running odo init @ 11/13/23 02:43:18.218 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/13/23 02:43:20.712 Running kubectl with args [kubectl get namespace doc-user-guides-quickstart-test116mub -o jsonpath={.metadata.name}] and odo env: [] [kubectl] doc-user-guides-quickstart-test116mubDeleting project: doc-user-guides-quickstart-test116mub Running kubectl with args [kubectl delete namespaces doc-user-guides-quickstart-test116mub --wait=false] and odo env: [] [kubectl] namespace "doc-user-guides-quickstart-test116mub" deleted Setting current dir to: /go/odo_1/tests/documentation/user-guides Deleting dir: /tmp/1813295580 Deleting dir: /tmp/1614243717 << 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/13/23 02:43:20.712 ------------------------------ • [58.894 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/3236746598 << Captured StdOut/StdErr Output ------------------------------ • [58.936 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/2473526197 << Captured StdOut/StdErr Output ------------------------------ • [89.045 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/3801989663 << 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 89.111 seconds FAIL! -- 4 Passed | 1 Failed | 0 Pending | 0 Skipped Ginkgo ran 2 suites in 3m5.933389271s 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