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

Update from local to git fails #1782

Closed
mik-dass opened this issue May 31, 2019 · 3 comments · Fixed by #2281
Closed

Update from local to git fails #1782

mik-dass opened this issue May 31, 2019 · 3 comments · Fixed by #2281
Assignees
Labels
flake Categorizes issue or PR as related to a flaky test. kind/bug Categorizes issue or PR as related to a bug. priority/Medium Nice to have issue. Getting it done before priority changes would be great.

Comments

@mik-dass
Copy link
Contributor

mik-dass commented May 31, 2019

[odo] Successfully pushed //image-registry.openshift-image-registry.svc:5000/jtkpphcors/cmp-git-testing:latest@sha256:08292070fe9a9c0adc7a7d58c45a8d34f54544cbc13d4ef4bc93b7fd6aacf2a6
[odo] Push successful
[odo] I0531 07:30:38.719650   19049 occlient.go:1752] Waiting for cmp-git-testing-1  build to finish
[odo] I0531 07:30:38.944928   19049 occlient.go:1767] Status of cmp-git-testing-1 build is Complete
[odo] I0531 07:30:38.944966   19049 occlient.go:1770] Build cmp-git-testing-1 completed.
[odo] I0531 07:30:38.945099   19049 component.go:1074] Updating the DeploymentConfig cmp-git-testing image to cmp-git-testing:latest
[odo]  ✓  Waiting for build to finish
[odo]  •  Applying component settings to component: cmp-git  ...
[odo] I0531 07:30:38.973846   19049 occlient.go:3266] Deployment cmp-git-testing started.
[odo] I0531 07:30:39.009024   19049 occlient.go:3278] Deployment cmp-git-testing for DeploymentConfig cmp-git-testing triggered.
[odo] I0531 07:30:39.412991   19049 utils.go:72] Waiting for rollout to finish: 0 out of 1 new replicas have been updated...
[odo] I0531 07:30:39.426097   19049 utils.go:72] Waiting for rollout to finish: 0 out of 1 new replicas have been updated...
[odo] I0531 07:30:47.226928   19049 utils.go:72] Waiting for rollout to finish: 0 out of 1 new replicas have been updated...
[odo] I0531 07:30:53.214208   19049 utils.go:72] Waiting for rollout to finish: 0 out of 1 new replicas have been updated...
[odo] I0531 07:30:53.226263   19049 utils.go:80] Waiting for rollout to finish: 0 of 1 updated replicas are available...
[odo] I0531 07:35:39.228848   19049 cmdutils.go:26] Error:
[odo] unable to update DeploymentConfig image for cmp-git component: unable to update the current DeploymentConfig cmp-git-testing: unable to wait for DeploymentConfig cmp-git-testing to update: Timed out waiting for annotation to update
[odo]  ✗  Failed to update config to component deployed
[odo]  ✗  Applying component settings to component: cmp-git

It seems to be a flake. It was introduced #1740

@kadel
Copy link
Member

kadel commented Jun 12, 2019

/priority medium

@openshift-ci-robot openshift-ci-robot added the priority/Medium Nice to have issue. Getting it done before priority changes would be great. label Jun 12, 2019
@amitkrout
Copy link
Contributor

Running odo with args: [create nodejs cmp-git --project ocsrqiklsu --git https://github.com/openshift/nodejs-ex --min-memory 100Mi --max-memory 300Mi --min-cpu 0.1 --max-cpu 2 --context /tmp/413991312 --app testing] 
[odo]  •  Validating component  ...
[odo]  ✓  Validating component [345ms]
[odo] Please use `odo push` command to create the component with source deployed
[odo] 
Running odo with args: [push --context /tmp/413991312] 
[odo] Validation
[odo]  •  Validating component  ...
[odo]  ✓  Validating component [368ms]
[odo]  •  Checking component  ...
[odo]  ✓  Checking component [18ms]
[odo] 
[odo] Configuration changes
[odo]  •  Creating component  ...
[odo]  ✓  Initializing component
[odo]  •  Triggering build from git  ...
[odo]  ✓  Triggering build from git [76ms]
[odo]  •  Waiting for build to finish  ...


[odo]  ✗  Failed to create component with name cmp-git. Please use `odo config view` to view settings used to create component. Error: unable to wait for build cmp-git-testing-1 to run: timed out waiting for the condition


[odo] unable get build log cmp-git-testing-1
[odo] github.com/openshift/odo/pkg/occlient.(*Client).FollowBuildLog
[odo] 	/go/src/github.com/openshift/odo/pkg/occlient/occlient.go:1949
[odo] github.com/openshift/odo/pkg/component.Build
[odo] 	/go/src/github.com/openshift/odo/pkg/component/component.go:807
[...]

Details - https://prow.svc.ci.openshift.org/view/gcs/origin-ci-test/pr-logs/pull/openshift_odo/1875/pull-ci-openshift-odo-master-integration/845

@mik-dass Is it related to this issue ?

@mik-dass
Copy link
Contributor Author

@amitkrout I don't think so as this issue is related to the update scenario and from the logs the above error occured during the first push

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. kind/bug Categorizes issue or PR as related to a bug. priority/Medium Nice to have issue. Getting it done before priority changes would be great.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants