go install -mod=vendor -ldflags="-X github.com/redhat-developer/odo/pkg/version.GITCOMMIT=97a588726" ./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/...
[1686910874] Doc Command Reference Automation Suite - 16/16 specs •Spawning '/go/bin/odo delete namespace odo-dev' from /tmp/920856559
•Spawning '/go/bin/odo init' from /tmp/710094388
••
------------------------------
• [FAILED] [2.250 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/2133581036
  Created dir: /tmp/1266051002
  Current working dir: /go/odo_1/tests/documentation/command-reference
  Running odo with args [odo preference remove registry DefaultDevfileRegistry -f] and odo env: []
  [odo] I0616 10:22:36.305340   11816 implem.go:114] The path for preference file is /tmp/1266051002/preference.yaml
  [odo] Successfully removed registry
  [odo] I0616 10:22:36.306970   11816 implem.go:114] The path for preference file is /tmp/1266051002/preference.yaml
  [odo] I0616 10:22:36.307541   11816 segment.go:264] Checking telemetry enable status
  [odo] I0616 10:22:36.307548   11816 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] I0616 10:22:36.471640   11824 implem.go:114] The path for preference file is /tmp/1266051002/preference.yaml
  [odo] New registry successfully added
  [odo] I0616 10:22:36.473200   11824 implem.go:114] The path for preference file is /tmp/1266051002/preference.yaml
  [odo] I0616 10:22:36.473867   11824 segment.go:264] Checking telemetry enable status
  [odo] I0616 10:22:36.473884   11824 segment.go:282] Sending telemetry disabled by env variable
  Setting current dir to: /tmp/2133581036
  Running odo with args [odo preference remove registry DefaultDevfileRegistry -f] and odo env: []
  [odo] I0616 10:22:36.623798   11832 implem.go:114] The path for preference file is /tmp/1266051002/preference.yaml
  [odo] Successfully removed registry
  [odo] I0616 10:22:36.625346   11832 implem.go:114] The path for preference file is /tmp/1266051002/preference.yaml
  [odo] I0616 10:22:36.625797   11832 segment.go:264] Checking telemetry enable status
  [odo] I0616 10:22:36.625806   11832 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] I0616 10:22:36.783719   11841 implem.go:114] The path for preference file is /tmp/1266051002/preference.yaml
  [odo] New registry successfully added
  [odo] I0616 10:22:36.785280   11841 implem.go:114] The path for preference file is /tmp/1266051002/preference.yaml
  [odo] I0616 10:22:36.785879   11841 segment.go:264] Checking telemetry enable status
  [odo] I0616 10:22:36.785905   11841 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] I0616 10:22:36.944676   11847 implem.go:114] The path for preference file is /tmp/1266051002/preference.yaml
  [odo] New registry successfully added
  [odo] I0616 10:22:36.947067   11847 implem.go:114] The path for preference file is /tmp/1266051002/preference.yaml
  [odo] I0616 10:22:36.948018   11847 segment.go:264] Checking telemetry enable status
  [odo] I0616 10:22:36.948049   11847 segment.go:282] Sending telemetry disabled by env variable
  STEP: checking for required registries @ 06/16/23 10:22:36.961
  Running odo with args [odo preference view] and odo env: []
  [odo] I0616 10:22:37.110140   11854 clientset.go:202] 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] I0616 10:22:37.110466   11854 implem.go:114] The path for preference file is /tmp/1266051002/preference.yaml
  [odo] I0616 10:22:37.111352   11854 util.go:198] path /tmp/2133581036/devfile.yaml doesn't exist, skipping it
  [odo] I0616 10:22:37.111433   11854 util.go:198] path /tmp/2133581036/.devfile.yaml doesn't exist, skipping it
  [odo] I0616 10:22:37.111492   11854 util.go:198] path /tmp/2133581036/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] I0616 10:22:37.111667   11854 implem.go:114] The path for preference file is /tmp/1266051002/preference.yaml
  [odo] I0616 10:22:37.112276   11854 segment.go:264] Checking telemetry enable status
  [odo] I0616 10:22:37.112289   11854 segment.go:282] Sending telemetry disabled by env variable
  STEP: checking for the registry list output @ 06/16/23 10:22:37.121
  Running odo with args [odo registry --devfile nodejs-react] and odo env: []
  [odo] I0616 10:22:37.277690   11861 clientset.go:202] 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] I0616 10:22:37.278066   11861 implem.go:114] The path for preference file is /tmp/1266051002/preference.yaml
  [odo] I0616 10:22:37.278762   11861 util.go:198] path /tmp/2133581036/devfile.yaml doesn't exist, skipping it
  [odo] I0616 10:22:37.278830   11861 util.go:198] path /tmp/2133581036/.devfile.yaml doesn't exist, skipping it
  [odo] I0616 10:22:37.278892   11861 util.go:198] path /tmp/2133581036/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, 2.2.0 
  [odo] I0616 10:22:37.850117   11861 implem.go:114] The path for preference file is /tmp/1266051002/preference.yaml
  [odo] I0616 10:22:37.851447   11861 segment.go:264] Checking telemetry enable status
  [odo] I0616 10:22:37.851569   11861 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/16/23 10:22:37.868
  Running odo with args [odo preference remove registry StagingRegistry -f] and odo env: []
  [odo] I0616 10:22:38.039192   11869 implem.go:114] The path for preference file is /tmp/1266051002/preference.yaml
  [odo] Successfully removed registry
  [odo] I0616 10:22:38.040813   11869 implem.go:114] The path for preference file is /tmp/1266051002/preference.yaml
  [odo] I0616 10:22:38.041510   11869 segment.go:264] Checking telemetry enable status
  [odo] I0616 10:22:38.041537   11869 segment.go:282] Sending telemetry disabled by env variable
  Running odo with args [odo preference remove registry DefaultDevfileRegistry -f] and odo env: []
  [odo] I0616 10:22:38.214562   11876 implem.go:114] The path for preference file is /tmp/1266051002/preference.yaml
  [odo] Successfully removed registry
  [odo] I0616 10:22:38.216601   11876 implem.go:114] The path for preference file is /tmp/1266051002/preference.yaml
  [odo] I0616 10:22:38.217182   11876 segment.go:264] Checking telemetry enable status
  [odo] I0616 10:22:38.217209   11876 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] I0616 10:22:38.403107   11883 implem.go:114] The path for preference file is /tmp/1266051002/preference.yaml
  [odo] New registry successfully added
  [odo] I0616 10:22:38.404641   11883 implem.go:114] The path for preference file is /tmp/1266051002/preference.yaml
  [odo] I0616 10:22:38.405235   11883 segment.go:264] Checking telemetry enable status
  [odo] I0616 10:22:38.405252   11883 segment.go:282] Sending telemetry disabled by env variable
  Setting current dir to: /go/odo_1/tests/documentation/command-reference
  Deleting dir: /tmp/2133581036
  Deleting dir: /tmp/1266051002
  << 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, 2.2",
        	".0\n```\n",
        }, "")
      
  to be empty
  In [It] at: /go/odo_1/tests/documentation/command-reference/doc_command_reference_init_test.go:189 @ 06/16/23 10:22:37.868
------------------------------
Spawning '/go/bin/odo init' from /tmp/1071744151
••••Spawning '/go/bin/odo delete project odo-dev' from /tmp/2230336417
•••••••

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 52.153 seconds
FAIL! -- 15 Passed | 1 Failed | 0 Pending | 0 Skipped
--- FAIL: TestDocCommandReferenceAutomation (52.18s)
FAIL

Ginkgo ran 2 suites in 1m55.626308741s

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