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

Modifies WaitForDeploymentRollout() to collect events. #4283

Merged

Conversation

mik-dass
Copy link
Contributor

@mik-dass mik-dass commented Dec 3, 2020

What type of PR is this?

/kind flake

What does does this PR do / why we need it:

Modifies WaitForDeploymentRollout() to collect events. It also uses WaitAndGetPodWithEvents() for getting the pod in the adapter package.

Which issue(s) this PR fixes:

Fixes NA

PR acceptance criteria:

How to test changes / Special notes to the reviewer:

@openshift-ci-robot openshift-ci-robot added the flake Categorizes issue or PR as related to a flaky test. label Dec 3, 2020
@kadel
Copy link
Member

kadel commented Dec 3, 2020

This is great! I was just trying to untangle the WaitAndGetPod vs WaitAndGetPodWithEvents mess.

Could we completely remove WaitAndGetPod and replace it with WaitAndGetPodWithEvents?

@mik-dass
Copy link
Contributor Author

mik-dass commented Dec 3, 2020

[odo] Push successful

1952

[odo] ✗ Waiting for build to finish [6m]

1953

[odo] ✗ Failed to create component with name uberjar-git-test. Please use `odo config view` to view settings used to create component. Error: failed to build component with args {Name:uberjar-git-test SourcePath:https://github.com/geoand/javalin-helloworld SourceRef:master SourceType:git ImageName:java:8 EnvVars:[DEBUG_PORT=5858] Ports:[8080/TCP 8443/TCP 8778/TCP] Resources:&ResourceRequirements{Limits:ResourceList{},Requests:ResourceList{},} ApplicationName:app Wait:true StorageToBeMounted:map[] StdOut:0xc0000fe008}: unable to build uberjar-git-test-app-1, error: : timeout waiting for build uberjar-git-test-app-1 to start

/retest

@mik-dass
Copy link
Contributor Author

mik-dass commented Dec 3, 2020

Error creating VPC: VpcLimitExceeded: The maximum number of VPCs has been reached."

/retest

It also uses WaitAndGetPodWithEvents() for getting the pod in the adapter package.
@mik-dass
Copy link
Contributor Author

mik-dass commented Dec 4, 2020

Could we completely remove WaitAndGetPod and replace it with WaitAndGetPodWithEvents?

WaitAndGetPod() was not being used anywhere after the initial changes in the PR. I have removed the function in the latest commit.

@kadel
Copy link
Member

kadel commented Dec 4, 2020

/approve

@openshift-ci-robot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: kadel, mik-dass

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. Required by Prow. label Dec 4, 2020
Copy link
Member

@dharmit dharmit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@dharmit
Copy link
Member

dharmit commented Dec 7, 2020

[odo] Push successful

1952

[odo] ✗ Waiting for build to finish [6m]

1953

[odo] ✗ Failed to create component with name uberjar-git-test. Please use `odo config view` to view settings used to create component. Error: failed to build component with args {Name:uberjar-git-test SourcePath:https://github.com/geoand/javalin-helloworld SourceRef:master SourceType:git ImageName:java:8 EnvVars:[DEBUG_PORT=5858] Ports:[8080/TCP 8443/TCP 8778/TCP] Resources:&ResourceRequirements{Limits:ResourceList{},Requests:ResourceList{},} ApplicationName:app Wait:true StorageToBeMounted:map[] StdOut:0xc0000fe008}: unable to build uberjar-git-test-app-1, error: : timeout waiting for build uberjar-git-test-app-1 to start

/retest

Should we have been able to see what's proposed in this PR when we hit this failure on CI?

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. Required by Prow. label Dec 7, 2020
@mik-dass
Copy link
Contributor Author

mik-dass commented Dec 7, 2020

Should we have been able to see what's proposed in this PR when we hit this failure on CI?

It was a build failure and is not related to #3256.

@openshift-merge-robot openshift-merge-robot merged commit 66f5338 into redhat-developer:master Dec 7, 2020
@mik-dass mik-dass deleted the collect_events_devfile branch December 8, 2020 02:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. Required by Prow. flake Categorizes issue or PR as related to a flaky test. lgtm Indicates that a PR is ready to be merged. Required by Prow.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants