cp ododevapispec.yaml pkg/apiserver-impl/swagger-ui/swagger.yaml go install -mod=vendor -ldflags="-X github.com/redhat-developer/odo/pkg/version.GITCOMMIT=63e0b91d5-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/... [1699843811] Doc Command Reference Automation Suite - 17/17 specs - 16 procs ------------------------------ • [5.089 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.255 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.417 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.926 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.779 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/343427271 << Captured StdOut/StdErr Output ------------------------------ • [6.634 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 ------------------------------ • [13.217 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.081 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.635 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 ------------------------------ • [9.032 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/2415524110 << Captured StdOut/StdErr Output ------------------------------ • [14.314 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 ------------------------------ • [14.941 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.865 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 ------------------------------ • [16.685 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.838 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 ------------------------------ • [17.481 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-test43juy' from /tmp/3985420368 << Captured StdOut/StdErr Output ------------------------------ • [17.454 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-test61gce' from /tmp/2638757028 << Captured StdOut/StdErr Output ------------------------------ SUCCESS! 17.773004078s [1699843811] User Guides Doc Automation Suite - 5/5 specs - 16 procs ------------------------------ • [5.404 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.833 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/1547209281 << Captured StdOut/StdErr Output Timeline >> Created dir: /tmp/1547209281 Created dir: /tmp/2482977844 Setting KUBECONFIG=/tmp/2482977844/config Running kubectl with args [kubectl get namespace doc-user-guides-quickstart-test116wiu -o jsonpath={.metadata.name}] and odo env: [] [kubectl] Error from server (NotFound): namespaces "doc-user-guides-quickstart-test116wiu" not found Creating a new project: doc-user-guides-quickstart-test116wiu Running kubectl with args [kubectl create namespace doc-user-guides-quickstart-test116wiu] and odo env: [] [kubectl] namespace/doc-user-guides-quickstart-test116wiu created Running kubectl with args [kubectl config set-context --current --namespace doc-user-guides-quickstart-test116wiu] 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-test116wiu Active 1s [kubectl] doc-user-guides-quickstart-test166pfr Active 1s [kubectl] doc-user-guides-quickstart-test231arh Active 1s [kubectl] doc-user-guides-quickstart-test39azt Active 1s [kubectl] doc-user-guides-quickstart-test66eyu Active 1s [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 14m [kubectl] odo-dev-pr-7147 Active 8m9s [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-test116wiu] 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/1547209281 Running odo with args [odo preference remove registry DefaultDevfileRegistry -f] and odo env: [] [odo] I1113 02:51:45.017422 13559 implem.go:114] The path for preference file is /tmp/2482977844/preference.yaml [odo] Successfully removed registry [odo] I1113 02:51:45.024364 13559 implem.go:114] The path for preference file is /tmp/2482977844/preference.yaml [odo] I1113 02:51:45.025439 13559 segment.go:268] Checking telemetry enable status [odo] I1113 02:51:45.025450 13559 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:51:45.272652 13595 implem.go:114] The path for preference file is /tmp/2482977844/preference.yaml [odo] I1113 02:51:45.274142 13595 implem.go:114] The path for preference file is /tmp/2482977844/preference.yaml [odo] New registry successfully added [odo] I1113 02:51:45.274614 13595 segment.go:268] Checking telemetry enable status [odo] I1113 02:51:45.274628 13595 segment.go:286] Sending telemetry disabled by env variable Setting current dir to: /tmp/1547209281 STEP: running odo init @ 11/13/23 02:51:45.3 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:51:47.809 Running kubectl with args [kubectl get namespace doc-user-guides-quickstart-test116wiu -o jsonpath={.metadata.name}] and odo env: [] [kubectl] doc-user-guides-quickstart-test116wiuDeleting project: doc-user-guides-quickstart-test116wiu Running kubectl with args [kubectl delete namespaces doc-user-guides-quickstart-test116wiu --wait=false] and odo env: [] [kubectl] namespace "doc-user-guides-quickstart-test116wiu" deleted Setting current dir to: /go/odo_1/tests/documentation/user-guides Deleting dir: /tmp/1547209281 Deleting dir: /tmp/2482977844 << 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:51:47.809 ------------------------------ • [58.423 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/1826880184 << Captured StdOut/StdErr Output ------------------------------ • [59.182 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/1242440639 << Captured StdOut/StdErr Output ------------------------------ • [88.437 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/29473128 << 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.444 seconds FAIL! -- 4 Passed | 1 Failed | 0 Pending | 0 Skipped Ginkgo ran 2 suites in 2m58.968137717s 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