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

Flaky tests for --now flag #2642

Closed
kadel opened this issue Feb 26, 2020 · 14 comments · Fixed by #2870
Closed

Flaky tests for --now flag #2642

kadel opened this issue Feb 26, 2020 · 14 comments · Fixed by #2870
Assignees
Labels
area/testing Issues or PRs related to testing, Quality Assurance or Quality Engineering flake Categorizes issue or PR as related to a flaky test. priority/Critical We need to stop doing everything and fix this ASAP. It is making the project unusable. triage/needs-information Indicates an issue needs more information in order to work on it.
Projects

Comments

@kadel
Copy link
Member

kadel commented Feb 26, 2020

c] 'Running odo with args [odo config unset --now --env hello --context /tmp/363231666]
[odo]  •  Checking component  ...
[odo]  ✓  Checking component [66ms]
[odo]  ✓  Environment variables were successfully updated
[odo] 
[odo] Configuration changes
[odo]  •  Retrieving component data  ...
[odo]  ✓  Retrieving component data [88ms]
[odo]  •  Applying configuration  ...
[odo]  ✗  Applying configuration [86ms]
[odo]  ✗  Failed To Update Config To Component Deployed.
[odo] Error: unable to update DeploymentConfig for nodejs component: unable to update the current DeploymentConfig nodejs-app: unable to update DeploymentConfig nodejs-app: Operation cannot be fulfilled on deploymentconfigs.apps.openshift.io "nodejs-app": the object has been modified; please apply your changes to the latest version and try again
Deleting dir: /tmp/363231666
Deleting project: usaszqseld
Running odo with args [odo project delete usaszqseld -f]
[odo] This project contains the following applications, which will be deleted
[odo] Application app
[odo] This application has following components that will be deleted
[odo] component named nodejs
[odo] No services / could not get services
[odo]  •  Deleting project usaszqseld  ...
[odo]  ✓  Deleting project usaszqseld [6s]
[odo]  ✓  Deleted project : usaszqseld
• Failure [9.242 seconds]
odo preference and config command tests
/go/src/github.com/openshift/odo/tests/integration/cmd_pref_config_test.go:20
  when using --now with config command
  /go/src/github.com/openshift/odo/tests/integration/cmd_pref_config_test.go:310
    should successfully set and unset variables [It]
    /go/src/github.com/openshift/odo/tests/integration/cmd_pref_config_test.go:322
    No future change is possible.  Bailing out early after 0.427s.

https://prow.svc.ci.openshift.org/view/gcs/origin-ci-test/pr-logs/pull/openshift_odo/2637/pull-ci-openshift-odo-master-v4.3-integration-e2e-benchmark/728#1:build-log.txt%3A395

/priority high
/kind flake
/assign @mohammedzee1000
/area testing

@openshift-ci-robot openshift-ci-robot added priority/High Important issue; should be worked on before any other issues (except priority/Critical issue(s)). flake Categorizes issue or PR as related to a flaky test. area/testing Issues or PRs related to testing, Quality Assurance or Quality Engineering labels Feb 26, 2020
@openshift-ci-robot
Copy link
Collaborator

@kadel: The label(s) area/ cannot be applied, because the repository doesn't have them

In response to this:

c] 'Running odo with args [odo config unset --now --env hello --context /tmp/363231666]
[odo]  •  Checking component  ...
[odo]  ✓  Checking component [66ms]
[odo]  ✓  Environment variables were successfully updated
[odo] 
[odo] Configuration changes
[odo]  •  Retrieving component data  ...
[odo]  ✓  Retrieving component data [88ms]
[odo]  •  Applying configuration  ...
[odo]  ✗  Applying configuration [86ms]
[odo]  ✗  Failed To Update Config To Component Deployed.
[odo] Error: unable to update DeploymentConfig for nodejs component: unable to update the current DeploymentConfig nodejs-app: unable to update DeploymentConfig nodejs-app: Operation cannot be fulfilled on deploymentconfigs.apps.openshift.io "nodejs-app": the object has been modified; please apply your changes to the latest version and try again
Deleting dir: /tmp/363231666
Deleting project: usaszqseld
Running odo with args [odo project delete usaszqseld -f]
[odo] This project contains the following applications, which will be deleted
[odo] Application app
[odo] This application has following components that will be deleted
[odo] component named nodejs
[odo] No services / could not get services
[odo]  •  Deleting project usaszqseld  ...
[odo]  ✓  Deleting project usaszqseld [6s]
[odo]  ✓  Deleted project : usaszqseld
• Failure [9.242 seconds]
odo preference and config command tests
/go/src/github.com/openshift/odo/tests/integration/cmd_pref_config_test.go:20
 when using --now with config command
 /go/src/github.com/openshift/odo/tests/integration/cmd_pref_config_test.go:310
   should successfully set and unset variables [It]
   /go/src/github.com/openshift/odo/tests/integration/cmd_pref_config_test.go:322
   No future change is possible.  Bailing out early after 0.427s.

https://prow.svc.ci.openshift.org/view/gcs/origin-ci-test/pr-logs/pull/openshift_odo/2637/pull-ci-openshift-odo-master-v4.3-integration-e2e-benchmark/728#1:build-log.txt%3A395

/priority high
/kind flake
/assign @mohammedzee1000
/area testing

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@amitkrout
Copy link
Contributor

[odo]  ✗  Applying configuration [86ms]
[odo]  ✗  Failed To Update Config To Component Deployed.
[odo] Error: unable to update DeploymentConfig for nodejs component: unable to update the current DeploymentConfig nodejs-app: unable to update DeploymentConfig nodejs-app: Operation cannot be fulfilled on deploymentconfigs.apps.openshift.io "nodejs-app": the object has been modified; please apply your changes to the latest version and try again

This is where the issue is hit. I think @mik-dass is looking into very similar issue.

@mik-dass
Copy link
Contributor

This is where the issue is hit. I think @mik-dass is looking into very similar issue.

I was looking into a similar but different issue earlier: #1981. This issue is arlready closed.

@kadel kadel added this to For consideration in Sprint 181 via automation Mar 3, 2020
@kadel
Copy link
Member Author

kadel commented Mar 3, 2020

this is getting more serious, bumping priority again
/remove-priority high
/priority critical

@openshift-ci-robot openshift-ci-robot added priority/Critical We need to stop doing everything and fix this ASAP. It is making the project unusable. and removed priority/High Important issue; should be worked on before any other issues (except priority/Critical issue(s)). labels Mar 3, 2020
@mohammedzee1000
Copy link
Contributor

mohammedzee1000 commented Mar 11, 2020

Unable to apply deployment config interesting 🤔
This also seems to be very common with nodejs apps, I could move to test all now flag with python apps but that will only mitigate the problem, not fix it

Also considering other possibilities

@mohammedzee1000
Copy link
Contributor

@kadel ^

@girishramnani girishramnani added the triage/needs-information Indicates an issue needs more information in order to work on it. label Mar 11, 2020
@girishramnani girishramnani moved this from For consideration to To do in Sprint 181 Mar 11, 2020
@girishramnani
Copy link
Contributor

any updates on this @mohammedzee1000 ?

@amitkrout
Copy link
Contributor

Another occurrence - https://prow.svc.ci.openshift.org/view/gcs/origin-ci-test/pr-logs/pull/openshift_odo/2739/pull-ci-openshift-odo-master-v4.3-integration-e2e-benchmark/1289#1:build-log.txt%3A375

@mohammedzee1000 Can you please take this as high priority as CI pain is increasing day by day for such flakes.

@dharmit
Copy link
Member

dharmit commented Mar 24, 2020

Faced this couple of times on #2739 😢

@dharmit
Copy link
Member

dharmit commented Mar 25, 2020

@girishramnani girishramnani added this to For consideration in Sprint 182 via automation Mar 30, 2020
@girishramnani girishramnani removed this from To do in Sprint 181 Mar 30, 2020
@girishramnani girishramnani moved this from For consideration to To do in Sprint 182 Mar 30, 2020
@dharmit
Copy link
Member

dharmit commented Apr 9, 2020

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/testing Issues or PRs related to testing, Quality Assurance or Quality Engineering flake Categorizes issue or PR as related to a flaky test. priority/Critical We need to stop doing everything and fix this ASAP. It is making the project unusable. triage/needs-information Indicates an issue needs more information in order to work on it.
Projects
No open projects
Sprint 182
  
Done
Development

Successfully merging a pull request may close this issue.

8 participants