Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Command "odo create nodejs" hit timeout exceeded issue while downloading the raw nodejs/devfile.yaml githubusercontent #3667

Closed
amitkrout opened this issue Jul 31, 2020 · 1 comment · Fixed by #3674
Labels
flake Categorizes issue or PR as related to a flaky test.

Comments

@amitkrout
Copy link
Contributor

amitkrout commented Jul 31, 2020

/kind flake

What versions of software are you using?

Operating System:
CI
Output of odo version:
master

How did you run odo exactly?

Context("Enabling experimental preference should show a disclaimer", func() {
		It("checks that the experimental warning appears for create", func() {
			helper.CopyExample(filepath.Join("source", "nodejs"), context)

			// Check that it will contain the experimental mode output
			experimentalOutputMsg := "Experimental mode is enabled, use at your own risk"
			Expect(helper.CmdShouldPass("odo", "create", "nodejs")).To(ContainSubstring(experimentalOutputMsg))

		})
	})

Actual behavior

 Running odo with args [odo create nodejs]
[odo] I0730 20:57:37.459298    8304 preference.go:196] The path for preference file is /tmp/477588614/config.yaml
[odo] Experimental mode is enabled, use at your own risk
[...]



[odo]  ✗  Get https://raw.githubusercontent.com/odo-devfiles/registry/master/devfiles/nodejs/devfile.yaml: net/http: 
request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)



[...]
Probably it happening due to network glitch

Expected behavior

Should not throw error.

Any logs, error output, etc?

vhttps://prow.ci.openshift.org/view/gs/origin-ci-test/logs/periodic-ci-openshift-odo-master-v4.3-integration-e2e-periodic/1288897181482225664#1:build-log.txt%3A621

@openshift-ci-robot openshift-ci-robot added the flake Categorizes issue or PR as related to a flaky test. label Jul 31, 2020
@amitkrout
Copy link
Contributor Author

amitkrout commented Aug 12, 2020

Hitting the same issue in pr - #3737 (travis CI)

[odo] * Registry: RegistryName
[odo] I0812 04:15:54.939608   25329 content.go:33] converted devfile YAML to JSON
[odo] I0812 04:15:54.939690   25329 apiVersion.go:50] devfile apiVersion: '2.0.0'
[odo] I0812 04:15:54.939705   25329 helper.go:35] devfile apiVersion '2.0.0' is supported in odo
[odo] I0812 04:15:54.951688   25329 schema.go:47] validated devfile schema
[odo] I0812 04:15:54.952620   25329 validate.go:37] Successfully validated devfile sections
[odo] 
[odo] Starter Projects:
[odo] ---
[odo] git:
[odo]   location: https://github.com/odo-devfiles/nodejs-ex.git
[odo] name: nodejs-starter
[odo] 
[odo] * Registry: DefaultDevfileRegistry


[odo]  ✗  Get https://raw.githubusercontent.com/odo-devfiles/registry/master/devfiles/nodejs/devfile.yaml: 
net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)


Deleting project: uqtfvxdffr
Running odo with args [odo project delete uqtfvxdffr -f]
[odo]  ⚠  Warning! Projects are deleted from the cluster asynchronously. Odo does its best to delete the project. Due to multi-tenant clusters, the project may still exist on a different node.

Ping @kadel

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flake Categorizes issue or PR as related to a flaky test.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants