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

[testing] Fix e2e tests timed out, but there's empty test log #2810

Merged
merged 6 commits into from
Jan 10, 2020

Conversation

Bobgy
Copy link
Contributor

@Bobgy Bobgy commented Jan 7, 2020

Recent e2e tests usually fail with

Argo workflow timed out

e.g. in PR: #2603

It seems 30 minutes limit is no longer enough. I will investigate while time increases.
EDIT: something hangs the go test command, but log is not streamed out. So we should first make test log stream during testing.

/priority p0
/area testing
/kind bug


This change is Reviewable

@Bobgy Bobgy changed the title Wait longer for e2e tests [testing] E2e tests timed out Jan 7, 2020
@Bobgy
Copy link
Contributor Author

Bobgy commented Jan 7, 2020

@Bobgy Bobgy changed the title [testing] E2e tests timed out [testing] E2e tests timed out, but there's empty error log Jan 7, 2020
@Bobgy Bobgy changed the title [testing] E2e tests timed out, but there's empty error log [testing] e2e tests timed out, but there's empty error log Jan 7, 2020
@Bobgy Bobgy changed the title [testing] e2e tests timed out, but there's empty error log [testing] Fix e2e tests timed out, but there's empty error log Jan 7, 2020
@Bobgy Bobgy changed the title [testing] Fix e2e tests timed out, but there's empty error log [testing] Fix e2e tests timed out, but there's empty test log Jan 7, 2020
@Bobgy
Copy link
Contributor Author

Bobgy commented Jan 7, 2020

Error in cloudbuild:

Step #1 - "scheduledworkflow": go: gopkg.in/tomb.v1@v1.0.0-20141024135613-dd632973f1e7: unrecognized import path "gopkg.in/tomb.v1" (parse https://gopkg.in/tomb.v1?go-get=1: no go-import meta tags ())

Example 2

Step #0 - "persistenceagent": go: gopkg.in/airbrake/gobrake.v2@v2.0.9: unrecognized import path "gopkg.in/airbrake/gobrake.v2" (parse https://gopkg.in/airbrake/gobrake.v2?go-get=1: no go-import meta tags ())

It seems the problem is gopkg website having higher network failure rate now than usual. Any network failure will fail go module requirements from finishing.

@Bobgy
Copy link
Contributor Author

Bobgy commented Jan 7, 2020

/retest

@Bobgy
Copy link
Contributor Author

Bobgy commented Jan 7, 2020

golang/go#28194 should be the best way to reduce flakiness caused by unstable import websites, but there's been no progress on that issue at all.

We can add some retry to hopefully mitigate flakiness in our presubmit tests.

@Bobgy
Copy link
Contributor Author

Bobgy commented Jan 7, 2020

/assign @Ark-kun
Can you help me review?

@Bobgy
Copy link
Contributor Author

Bobgy commented Jan 7, 2020

/test kubeflow-pipeline-e2e-test

@Bobgy
Copy link
Contributor Author

Bobgy commented Jan 7, 2020

@Bobgy
Copy link
Contributor Author

Bobgy commented Jan 8, 2020

/assign @jingzhang36
Can you help me review too?

Copy link
Contributor Author

@Bobgy Bobgy left a comment

Choose a reason for hiding this comment

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

@Ark-kun Thanks for the review! I've addressed all the comments. Would you mind taking a look again?

test/api-integration-test/run_test.sh Show resolved Hide resolved
@Ark-kun
Copy link
Contributor

Ark-kun commented Jan 9, 2020

/lgtm

@Bobgy
Copy link
Contributor Author

Bobgy commented Jan 10, 2020

/approve

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Bobgy

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

@k8s-ci-robot k8s-ci-robot merged commit 493c3d4 into master Jan 10, 2020
@Bobgy Bobgy deleted the Bobgy-patch-3 branch January 10, 2020 06:53
rui5i pushed a commit to rui5i/pipelines that referenced this pull request Jan 16, 2020
…ow#2810)

* Wait longer for e2e tests

* Let api integration test stream log output while testing

* Also fix initialization test

* Fix exit code on error

* Update test/initialization-test/run_test.sh

Co-Authored-By: Alexey Volkov <avolkov@google.com>

* Update according to CR

Co-authored-by: Alexey Volkov <alexey.volkov@ark-kun.com>
Jeffwan pushed a commit to Jeffwan/pipelines that referenced this pull request Dec 9, 2020
…ow#2810)

* Wait longer for e2e tests

* Let api integration test stream log output while testing

* Also fix initialization test

* Fix exit code on error

* Update test/initialization-test/run_test.sh

Co-Authored-By: Alexey Volkov <avolkov@google.com>

* Update according to CR

Co-authored-by: Alexey Volkov <alexey.volkov@ark-kun.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants