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

odo list namespace tests seem flaky in periodic test infra #6966

Closed
rm3l opened this issue Jul 12, 2023 · 1 comment
Closed

odo list namespace tests seem flaky in periodic test infra #6966

rm3l opened this issue Jul 12, 2023 · 1 comment
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. kind/bug Categorizes issue or PR as related to a bug.
Milestone

Comments

@rm3l
Copy link
Member

rm3l commented Jul 12, 2023

/kind bug
/area testing
/area flake

Any logs, error output, etc?

• [FAILED] [1.270 seconds]
odo create/delete/list/set namespace/project tests when namespace is created with -w [It] should list the new namespace when listing namespace
/go/src/github.com/redhat-developer/odo/tests/integration/cmd_namespace_test.go:36
  Timeline >>
  Created dir: /tmp/2077704388
  Created dir: /tmp/1854115374
  Setting KUBECONFIG=/tmp/1854115374/config
  Creating a new project: cmd-namespace-test36cyp
  Running oc with args [oc new-project cmd-namespace-test36cyp] and odo env: []
  [oc] Now using project "cmd-namespace-test36cyp" on server "https://api.ci-op-pbirj3v6-894cb.origin-ci-int-aws.dev.rhcloud.com:6443".
  [oc] 
  [oc] You can add applications to this project with the 'new-app' command. For example, try:
  [oc] 
  [oc]     oc new-app rails-postgresql-example
  [oc] 
  [oc] to build a new example application in Ruby. Or use kubectl to deploy a simple Kubernetes application:
  [oc] 
  [oc]     kubectl create deployment hello-node --image=k8s.gcr.io/e2e-test-images/agnhost:2.33 -- /agnhost serve-hostname
  [oc] 
  Running oc with args [oc create configmap config-map-for-cleanup --from-literal type=testing --from-literal team=odo -n cmd-namespace-test36cyp] and odo env: []
  [oc] configmap/config-map-for-cleanup created
  Current working dir: /go/src/github.com/redhat-developer/odo/tests/integration
  Running odo with args [odo preference remove registry DefaultDevfileRegistry -f] and odo env: []
  [odo] I0712 01:46:01.348624   81017 implem.go:114] The path for preference file is /tmp/1854115374/preference.yaml
  [odo] Successfully removed registry
  [odo] I0712 01:46:01.349536   81017 implem.go:114] The path for preference file is /tmp/1854115374/preference.yaml
  [odo] I0712 01:46:01.349606   81017 segment.go:264] Checking telemetry enable status
  [odo] I0712 01:46:01.349617   81017 segment.go:282] Sending telemetry disabled by env variable
  Running odo with args [odo preference add registry DefaultDevfileRegistry https://registry.stage.devfile.io] and odo env: []
  [odo] I0712 01:46:01.378806   81033 implem.go:114] The path for preference file is /tmp/1854115374/preference.yaml
  [odo] New registry successfully added
  [odo] I0712 01:46:01.379076   81033 implem.go:114] The path for preference file is /tmp/1854115374/preference.yaml
  [odo] I0712 01:46:01.379130   81033 segment.go:264] Checking telemetry enable status
  [odo] I0712 01:46:01.379138   81033 segment.go:282] Sending telemetry disabled by env variable
  Running odo with args [odo create namespace cmd-namespace-test36eyz --wait] and odo env: []
  [odo] I0712 01:46:01.414155   81051 implem.go:114] The path for preference file is /tmp/1854115374/preference.yaml
  [odo]  •  Creating the namespace "cmd-namespace-test36eyz"  ...
  [odo] I0712 01:46:01.414292   81051 kclient.go:237] Checking if "projects" resource is supported
  [odo] I0712 01:46:01.704419   81051 projects.go:195] Status of creation of project cmd-namespace-test36eyz is Active
  [odo] I0712 01:46:01.704436   81051 projects.go:200] Project cmd-namespace-test36eyz now exists
  [odo] I0712 01:46:01.71[834](https://prow.ci.openshift.org/view/gs/origin-ci-test/logs/periodic-ci-redhat-developer-odo-main-v4.10-integration-e2e-periodic/1678917250859405312#1:build-log.txt%3A834)7   81051 namespace.go:194] Status of creation of service account &ServiceAccount{ObjectMeta:{default  cmd-namespace-test36eyz  aefc70b9-848c-45e4-b358-693a49dc133d 110467 0 2023-07-12 01:46:01 +0000 UTC <nil> <nil> map[] map[] [] [] []},Secrets:[]ObjectReference{ObjectReference{Kind:,Namespace:,Name:default-token-jnwtq,UID:,APIVersion:,ResourceVersion:,FieldPath:,},ObjectReference{Kind:,Namespace:,Name:default-dockercfg-gdzj8,UID:,APIVersion:,ResourceVersion:,FieldPath:,},},ImagePullSecrets:[]LocalObjectReference{LocalObjectReference{Name:default-dockercfg-gdzj8,},},AutomountServiceAccountToken:nil,} is ready
  [odo] 
 ✓  Creating the namespace "cmd-namespace-test36eyz" [304ms]
  [odo]  •  Waiting for the namespace to come up  ...
  [odo] I0712 01:46:01.718475   81051 kclient.go:237] Checking if "projects" resource is supported
  [odo] I0712 01:46:01.802272   81051 kclient.go:237] Checking if "projects" resource is supported
  [odo] I0712 01:46:01.867333   81051 kclient.go:237] Checking if "projects" resource is supported
  [odo] I0712 01:46:01.935819   81051 kclient.go:237] Checking if "projects" resource is supported
  [odo] I0712 01:46:02.001275   81051 kclient.go:237] Checking if "projects" resource is supported
  [odo] I0712 01:46:02.066087   81051 kclient.go:237] Checking if "projects" resource is supported
  [odo] 
 ✓  Waiting for the namespace to come up [363ms]
  [odo]  ✓  Namespace "cmd-namespace-test36eyz" is ready for use
  [odo]  ✓  New namespace created and now using namespace: cmd-namespace-test36eyz
  [odo] I0712 01:46:02.085346   81051 implem.go:114] The path for preference file is /tmp/1854115374/preference.yaml
  [odo] I0712 01:46:02.085414   81051 segment.go:264] Checking telemetry enable status
  [odo] I0712 01:46:02.085421   81051 segment.go:282] Sending telemetry disabled by env variable
  Running odo with args [odo list namespace] and odo env: []
  [odo] I0712 01:46:02.122759   81068 kclient.go:237] Checking if "projects" resource is supported
  [odo] ACTIVE     NAME
  [odo]            cmd-delete-test314qls
  [odo]            cmd-dev-debug-test225cvw
  [odo]            cmd-dev-test1308jvc
  [odo]            cmd-dev-test1349eyx
  [odo]            cmd-dev-test1349xng
  [odo]            cmd-dev-test4075dar
  [odo]            cmd-namespace-test36cyp
  [odo]            default
  [odo]            myproject
  [odo]            nodejs-12
  [odo]            nodejs-12-rhel7
  [odo]            nodejs-14
  [odo]            openjdk-11
  [odo]            openjdk-11-rhel8
  [odo] I0712 01:46:02.188980   81068 implem.go:114] The path for preference file is /tmp/1854115374/preference.yaml
  [odo] I0712 01:46:02.189095   81068 segment.go:264] Checking telemetry enable status
  [odo] I0712 01:46:02.189103   81068 segment.go:282] Sending telemetry disabled by env variable
  [FAILED] in [It] - /go/src/github.com/redhat-developer/odo/tests/integration/cmd_namespace_test.go:38 @ 07/12/23 01:46:02.197
  Deleting project: cmd-namespace-test36cyp
  Running oc with args [oc delete project cmd-namespace-test36cyp --wait=false] and odo env: []
  [oc] project.project.openshift.io "cmd-namespace-test36cyp" deleted
  Setting current dir to: /go/src/github.com/redhat-developer/odo/tests/integration
  Deleting dir: /tmp/2077704388
  Deleting dir: /tmp/1[854](https://prow.ci.openshift.org/view/gs/origin-ci-test/logs/periodic-ci-redhat-developer-odo-main-v4.10-integration-e2e-periodic/1678917250859405312#1:build-log.txt%3A854)115374
  << Timeline
  [FAILED] Expected
      <string>: ACTIVE     NAME
                 cmd-delete-test314qls
                 cmd-dev-debug-test225cvw
                 cmd-dev-test1308jvc
                 cmd-dev-test1349eyx
                 cmd-dev-test1349xng
                 cmd-dev-test4075dar
                 cmd-namespace-test36cyp
                 default
                 myproject
                 nodejs-12
                 nodejs-12-rhel7
                 nodejs-14
                 openjdk-11
                 openjdk-11-rhel8
      
  to contain substring
      <string>: cmd-namespace-test36eyz
  In [It] at: /go/src/github.com/redhat-developer/odo/tests/integration/cmd_namespace_test.go:38 @ 07/12/23 01:46:02.197
[...]
Summarizing 1 Failure:
  [FAIL] odo create/delete/list/set namespace/project tests when namespace is created with -w [It] should list the new namespace when listing namespace
  /go/src/github.com/redhat-developer/odo/tests/integration/cmd_namespace_test.go:38
Ran 486 of 940 Specs in 5389.520 seconds
FAIL! -- 485 Passed | 1 Failed | 0 Pending | 454 Skipped
Ginkgo ran 1 suite in 1h30m1.362432073s
@openshift-ci openshift-ci bot added kind/bug Categorizes issue or PR as related to a bug. area/testing Issues or PRs related to testing, Quality Assurance or Quality Engineering labels Jul 12, 2023
@github-actions github-actions bot added the needs-triage Indicates an issue or PR lacks a `triage/*` and requires one. label Jul 12, 2023
@rm3l rm3l added the flake Categorizes issue or PR as related to a flaky test. label Jul 12, 2023
@redhat-developer redhat-developer deleted a comment from openshift-ci bot Jul 12, 2023
@rm3l rm3l removed the needs-triage Indicates an issue or PR lacks a `triage/*` and requires one. label Jul 12, 2023
@rm3l rm3l mentioned this issue Jul 21, 2023
3 tasks
@rm3l rm3l mentioned this issue Aug 22, 2023
3 tasks
@rm3l rm3l mentioned this issue Aug 31, 2023
3 tasks
@github-actions
Copy link
Contributor

A friendly reminder that this issue had no activity for 90 days. Stale issues will be closed after an additional 30 days of inactivity.

@github-actions github-actions bot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Oct 12, 2023
@rm3l rm3l removed the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Oct 12, 2023
@rm3l rm3l closed this as completed in 47037ff Jan 4, 2024
@github-project-automation github-project-automation bot moved this to Done ✅ in odo Project Jan 4, 2024
@rm3l rm3l added this to the v3.16.0 🚀 milestone Jan 4, 2024
@rm3l rm3l self-assigned this Jan 4, 2024
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. kind/bug Categorizes issue or PR as related to a bug.
Projects
Archived in project
Development

No branches or pull requests

1 participant