go install -mod=vendor -ldflags="-X github.com/redhat-developer/odo/pkg/version.GITCOMMIT=b6c7777ea" ./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=1 --junit-report="test-doc-automation.xml"  tests/documentation/...
[1686662871] Doc Command Reference Automation Suite - 16/16 specs •Spawning '/go/bin/odo init' from /tmp/2428749510
••••••••Spawning '/go/bin/odo delete namespace odo-dev' from /tmp/879300948
•
------------------------------
• [FAILED] [2.157 seconds]
doc command reference odo init Non Interactive Mode fetching devfile from a registry when setting up the registry [It] Fetch Devfile from any registry of the list [nocluster]
/go/odo_1/tests/documentation/command-reference/doc_command_reference_init_test.go:176

  Timeline >>
  Created dir: /tmp/2338148897
  Created dir: /tmp/3770603903
  Current working dir: /go/odo_1/tests/documentation/command-reference
  Running odo with args [odo preference remove registry DefaultDevfileRegistry -f] and odo env: []
  [odo] I0613 13:29:18.239878   12122 implem.go:114] The path for preference file is /tmp/3770603903/preference.yaml
  [odo] Successfully removed registry
  [odo] I0613 13:29:18.241324   12122 implem.go:114] The path for preference file is /tmp/3770603903/preference.yaml
  [odo] I0613 13:29:18.241889   12122 segment.go:264] Checking telemetry enable status
  [odo] I0613 13:29:18.241918   12122 segment.go:282] Sending telemetry disabled by env variable
  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] I0613 13:29:18.394014   12129 implem.go:114] The path for preference file is /tmp/3770603903/preference.yaml
  [odo] New registry successfully added
  [odo] I0613 13:29:18.396548   12129 implem.go:114] The path for preference file is /tmp/3770603903/preference.yaml
  [odo] I0613 13:29:18.397239   12129 segment.go:264] Checking telemetry enable status
  [odo] I0613 13:29:18.397273   12129 segment.go:282] Sending telemetry disabled by env variable
  Setting current dir to: /tmp/2338148897
  Running odo with args [odo preference remove registry DefaultDevfileRegistry -f] and odo env: []
  [odo] I0613 13:29:18.547222   12136 implem.go:114] The path for preference file is /tmp/3770603903/preference.yaml
  [odo] Successfully removed registry
  [odo] I0613 13:29:18.548888   12136 implem.go:114] The path for preference file is /tmp/3770603903/preference.yaml
  [odo] I0613 13:29:18.549403   12136 segment.go:264] Checking telemetry enable status
  [odo] I0613 13:29:18.549424   12136 segment.go:282] Sending telemetry disabled by env variable
  Running odo with args [odo preference add registry DefaultDevfileRegistry https://registry.devfile.io] and odo env: []
  [odo] I0613 13:29:18.692823   12144 implem.go:114] The path for preference file is /tmp/3770603903/preference.yaml
  [odo] New registry successfully added
  [odo] I0613 13:29:18.694375   12144 implem.go:114] The path for preference file is /tmp/3770603903/preference.yaml
  [odo] I0613 13:29:18.694997   12144 segment.go:264] Checking telemetry enable status
  [odo] I0613 13:29:18.695027   12144 segment.go:282] Sending telemetry disabled by env variable
  Running odo with args [odo preference add registry StagingRegistry https://registry.stage.devfile.io] and odo env: []
  [odo] I0613 13:29:18.860452   12152 implem.go:114] The path for preference file is /tmp/3770603903/preference.yaml
  [odo] New registry successfully added
  [odo] I0613 13:29:18.862147   12152 implem.go:114] The path for preference file is /tmp/3770603903/preference.yaml
  [odo] I0613 13:29:18.862833   12152 segment.go:264] Checking telemetry enable status
  [odo] I0613 13:29:18.862857   12152 segment.go:282] Sending telemetry disabled by env variable
  STEP: checking for required registries @ 06/13/23 13:29:18.872
  Running odo with args [odo preference view] and odo env: []
  [odo] I0613 13:29:19.030904   12159 clientset.go:186] no Kubernetes client initialized: 
  [odo] Please ensure you have an active kubernetes context to your cluster. 
  [odo] Consult your Kubernetes distribution's documentation for more details.
  [odo] Error: invalid configuration: no configuration has been provided, try setting KUBERNETES_MASTER environment variable
  [odo] I0613 13:29:19.031307   12159 implem.go:114] The path for preference file is /tmp/3770603903/preference.yaml
  [odo] I0613 13:29:19.031951   12159 util.go:198] path /tmp/2338148897/devfile.yaml doesn't exist, skipping it
  [odo] I0613 13:29:19.032021   12159 util.go:198] path /tmp/2338148897/.devfile.yaml doesn't exist, skipping it
  [odo] I0613 13:29:19.032075   12159 util.go:198] path /tmp/2338148897/devfile.yaml doesn't exist, skipping it
  [odo] Preference parameters:
  [odo]  PARAMETER           VALUE           
  [odo]  ConsentTelemetry    false (default) 
  [odo]  Ephemeral           true            
  [odo]  ImageRegistry        (default)      
  [odo]  PushTimeout                         
  [odo]  RegistryCacheTime                   
  [odo]  Timeout                             
  [odo]  UpdateNotification  false           
  [odo] 
  [odo] Devfile registries:
  [odo]  NAME                    URL                                SECURE 
  [odo]  StagingRegistry         https://registry.stage.devfile.io  No     
  [odo]  DefaultDevfileRegistry  https://registry.devfile.io        No     
  [odo] I0613 13:29:19.032195   12159 implem.go:114] The path for preference file is /tmp/3770603903/preference.yaml
  [odo] I0613 13:29:19.032658   12159 segment.go:264] Checking telemetry enable status
  [odo] I0613 13:29:19.032669   12159 segment.go:282] Sending telemetry disabled by env variable
  STEP: checking for the registry list output @ 06/13/23 13:29:19.048
  Running odo with args [odo registry --devfile nodejs-react] and odo env: []
  [odo] I0613 13:29:19.209169   12167 clientset.go:186] no Kubernetes client initialized: 
  [odo] Please ensure you have an active kubernetes context to your cluster. 
  [odo] Consult your Kubernetes distribution's documentation for more details.
  [odo] Error: invalid configuration: no configuration has been provided, try setting KUBERNETES_MASTER environment variable
  [odo] I0613 13:29:19.209443   12167 implem.go:114] The path for preference file is /tmp/3770603903/preference.yaml
  [odo] I0613 13:29:19.210250   12167 util.go:198] path /tmp/2338148897/devfile.yaml doesn't exist, skipping it
  [odo] I0613 13:29:19.210310   12167 util.go:198] path /tmp/2338148897/.devfile.yaml doesn't exist, skipping it
  [odo] I0613 13:29:19.210362   12167 util.go:198] path /tmp/2338148897/devfile.yaml doesn't exist, skipping it
  [odo]  NAME          REGISTRY                DESCRIPTION                                  VERSIONS            
  [odo]  nodejs-react  StagingRegistry         React is a free and open-source front-en...  2.0.2, 2.1.0, 2.2.0 
  [odo]  nodejs-react  DefaultDevfileRegistry  React is a free and open-source front-en...  2.0.2, 2.1.0        
  [odo] I0613 13:29:19.761591   12167 implem.go:114] The path for preference file is /tmp/3770603903/preference.yaml
  [odo] I0613 13:29:19.762706   12167 segment.go:264] Checking telemetry enable status
  [odo] I0613 13:29:19.762741   12167 segment.go:282] Sending telemetry disabled by env variable
  [FAILED] in [It] - /go/odo_1/tests/documentation/command-reference/doc_command_reference_init_test.go:189 @ 06/13/23 13:29:19.777
  Running odo with args [odo preference remove registry StagingRegistry -f] and odo env: []
  [odo] I0613 13:29:19.938244   12175 implem.go:114] The path for preference file is /tmp/3770603903/preference.yaml
  [odo] Successfully removed registry
  [odo] I0613 13:29:19.939844   12175 implem.go:114] The path for preference file is /tmp/3770603903/preference.yaml
  [odo] I0613 13:29:19.940404   12175 segment.go:264] Checking telemetry enable status
  [odo] I0613 13:29:19.940416   12175 segment.go:282] Sending telemetry disabled by env variable
  Running odo with args [odo preference remove registry DefaultDevfileRegistry -f] and odo env: []
  [odo] I0613 13:29:20.086549   12182 implem.go:114] The path for preference file is /tmp/3770603903/preference.yaml
  [odo] Successfully removed registry
  [odo] I0613 13:29:20.087748   12182 implem.go:114] The path for preference file is /tmp/3770603903/preference.yaml
  [odo] I0613 13:29:20.088284   12182 segment.go:264] Checking telemetry enable status
  [odo] I0613 13:29:20.088300   12182 segment.go:282] Sending telemetry disabled by env variable
  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] I0613 13:29:20.236257   12189 implem.go:114] The path for preference file is /tmp/3770603903/preference.yaml
  [odo] I0613 13:29:20.237839   12189 implem.go:114] The path for preference file is /tmp/3770603903/preference.yaml
  [odo] New registry successfully added
  [odo] I0613 13:29:20.238336   12189 segment.go:264] Checking telemetry enable status
  [odo] I0613 13:29:20.238348   12189 segment.go:282] Sending telemetry disabled by env variable
  Setting current dir to: /go/odo_1/tests/documentation/command-reference
  Deleting dir: /tmp/2338148897
  Deleting dir: /tmp/3770603903
  << Timeline

  [FAILED] registry_list_output.mdx
  Expected
      <string>:   strings.Join({
        	... // 108 identical bytes
        	"                        VERSIONS\nnodejs-react  StagingRegistry  ",
        	"       React is a free and open-source front-en...  2.0.2, 2.1.0",
      + 	", 2.2.0",
        	"\nnodejs-react  DefaultDevfileRegistry  React is a free and open-",
        	"source front-en...  2.0.2, 2.1.0\n```\n",
        }, "")
      
  to be empty
  In [It] at: /go/odo_1/tests/documentation/command-reference/doc_command_reference_init_test.go:189 @ 06/13/23 13:29:19.777
------------------------------
Spawning '/go/bin/odo init' from /tmp/3783843539
••Spawning '/go/bin/odo delete project odo-dev' from /tmp/515641760
•••

Summarizing 1 Failure:
  [FAIL] doc command reference odo init Non Interactive Mode fetching devfile from a registry when setting up the registry [It] Fetch Devfile from any registry of the list [nocluster]
  /go/odo_1/tests/documentation/command-reference/doc_command_reference_init_test.go:189

Ran 16 of 16 Specs in 45.715 seconds
FAIL! -- 15 Passed | 1 Failed | 0 Pending | 0 Skipped
--- FAIL: TestDocCommandReferenceAutomation (45.74s)
FAIL

Ginkgo ran 2 suites in 1m44.596254081s

There were failures detected in the following suites:
  command-reference ./tests/documentation/command-reference

Test Suite Failed
exit status 1
make: *** [Makefile:234: test-doc-automation] Error 1