Skip to content

Use preinstall 0.18 in upgrade tests#3927

Merged
knative-prow-robot merged 3 commits into
knative:masterfrom
aliok:use-preinstall-18-in-tests
Aug 27, 2020
Merged

Use preinstall 0.18 in upgrade tests#3927
knative-prow-robot merged 3 commits into
knative:masterfrom
aliok:use-preinstall-18-in-tests

Conversation

@aliok
Copy link
Copy Markdown
Member

@aliok aliok commented Aug 25, 2020

Fixes #

Proposed Changes

  • Use preinstall 0.18 script in upgrade tests
  • So, the migration job actually runs (from 0.17 to 0.18) for resources that have a storage version change
  • Some storage version change PRs are already merged without testing
  • Some are still open (like Change storage to v1 for subscriptions #3936) and merging this PR will make sure the storage change PRs are tested properly

@googlebot googlebot added the cla: yes Indicates the PR's author has signed the CLA. label Aug 25, 2020
@knative-prow-robot knative-prow-robot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Aug 25, 2020
@knative-prow-robot knative-prow-robot added the area/test-and-release Test infrastructure, tests or release label Aug 25, 2020
@nlopezgi
Copy link
Copy Markdown
Contributor

/lgtm

@knative-prow-robot knative-prow-robot added the lgtm Indicates that a PR is ready to be merged. label Aug 25, 2020
@aliok
Copy link
Copy Markdown
Member Author

aliok commented Aug 25, 2020

/test pull-knative-eventing-upgrade-tests

Let me try again before digging... Not sure what the error is

@aliok
Copy link
Copy Markdown
Member Author

aliok commented Aug 26, 2020

Ok, this fails consistently, gonna check it. ...soon

@knative-prow-robot knative-prow-robot removed the lgtm Indicates that a PR is ready to be merged. label Aug 26, 2020
@aliok
Copy link
Copy Markdown
Member Author

aliok commented Aug 26, 2020

Found the problem. Should be fixed now. Let's see

@vaikas
Copy link
Copy Markdown
Contributor

vaikas commented Aug 26, 2020

Looks like the storage migration did not complete:

customresourcedefinition.apiextensions.k8s.io/triggers.eventing.knative.dev configured
Waiting until all batch jobs in namespace knative-eventing-q3b8jw1pn0 run to completion.......................................................................................................................................................
ERROR: timeout waiting for jobs to complete
storage-version-migration-eventing   1     <none>

@aliok aliok force-pushed the use-preinstall-18-in-tests branch from e043b96 to b6d8ecc Compare August 27, 2020 07:49
@knative-test-reporter-robot
Copy link
Copy Markdown

The following jobs failed:

Test name Triggers Retries
pull-knative-eventing-conformance-tests 0/3

Failed non-flaky tests preventing automatic retry of pull-knative-eventing-conformance-tests:

test/conformance.TestBrokerV1Beta1DataPlaneConsumer

@aliok
Copy link
Copy Markdown
Member Author

aliok commented Aug 27, 2020

/retest

@aliok
Copy link
Copy Markdown
Member Author

aliok commented Aug 27, 2020

ApiGroups for some resources were wrong in the job config.

All green now!

Copy link
Copy Markdown
Member

@matzew matzew left a comment

Choose a reason for hiding this comment

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

/lgtm

Comment on lines -41 to +44
- "containersources.eventing.knative.dev"
- "containersources.sources.knative.dev"
- "sinkbindings.sources.knative.dev"
- "brokers.sources.knative.dev"
- "triggers.sources.knative.dev"
- "brokers.eventing.knative.dev"
- "triggers.eventing.knative.dev"
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

These are problems I found when trying to make the migration test working.

@knative-prow-robot knative-prow-robot added the lgtm Indicates that a PR is ready to be merged. label Aug 27, 2020
@knative-prow-robot
Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: aliok, matzew

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

The pull request process is described here

Details 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

@knative-prow-robot knative-prow-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 27, 2020
@aliok aliok changed the title Use preinstall 0.18 in tests Use preinstall 0.18 in upgrade tests Aug 27, 2020
@knative-prow-robot knative-prow-robot merged commit 30ad3ac into knative:master Aug 27, 2020
@aliok aliok deleted the use-preinstall-18-in-tests branch August 27, 2020 10:07
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. area/test-and-release Test infrastructure, tests or release cla: yes Indicates the PR's author has signed the CLA. lgtm Indicates that a PR is ready to be merged. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants