Skip to content

Run testselect directly #3388

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Closed
wants to merge 2 commits into from

Conversation

creydr
Copy link
Member

@creydr creydr commented Feb 14, 2025

We're running into

Cloning into '/tmp/knative.D3EjJ6RQ/tmp.bAwqelmbkP'...
/tmp/knative.D3EjJ6RQ/tmp.bAwqelmbkP /go/src/github.com/openshift-knative/serverless-operator
go: inconsistent vendoring in /tmp/knative.D3EjJ6RQ/tmp.bAwqelmbkP:
	github.com/blang/semver/v4@v4.0.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
	github.com/coreos/go-semver@v0.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
        ...
	To ignore the vendor directory, use -mod=readonly or -mod=mod.
	To sync the vendor directory, run:
		go mod vendor
12:32:11.730 ERROR:   🚨 Error (code: 1) occurred at /go/src/github.com/openshift-knative/serverless-operator/hack/lib/testselect.bash:10, with command: go install github.com/openshift-knative/hack/cmd/testselect

E.g. here

We don't need to clone hack repo anymore to install the tools, so run it directly

@creydr creydr requested review from cardil and pierDipi February 14, 2025 12:51
@openshift-ci openshift-ci bot requested review from dsimansk and matzew February 14, 2025 12:52
@creydr
Copy link
Member Author

creydr commented Feb 14, 2025

/cherry-pick release-1.35
/cherry-pick release-1.34

@openshift-cherrypick-robot
Copy link
Contributor

@creydr: once the present PR merges, I will cherry-pick it on top of release-1.34, release-1.35 in new PRs and assign them to you.

In response to this:

/cherry-pick release-1.35
/cherry-pick release-1.34

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-sigs/prow repository.

@creydr creydr changed the title Install testselect directly Run testselect directly Feb 14, 2025
Copy link
Member

@cardil cardil left a comment

Choose a reason for hiding this comment

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

/lgtm

Copy link
Contributor

openshift-ci bot commented Feb 14, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: cardil, creydr

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
Copy link

/retest-required

Remaining retests: 0 against base HEAD ab8cf34 and 2 for PR HEAD ba9ef39 in total

@cardil
Copy link
Member

cardil commented Feb 14, 2025

Copy link
Contributor

openshift-ci bot commented Feb 14, 2025

@creydr: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/417-upstream-e2e ba9ef39 link false /test 417-upstream-e2e
ci/prow/417-upstream-e2e-kafka ba9ef39 link false /test 417-upstream-e2e-kafka
ci/prow/417-test-upgrade ba9ef39 link true /test 417-test-upgrade
ci/prow/417-operator-e2e ba9ef39 link true /test 417-operator-e2e

Full PR test history. Your PR dashboard.

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-sigs/prow repository. I understand the commands that are listed here.

@creydr
Copy link
Member Author

creydr commented Feb 17, 2025

eventing-controller does not come up due to:

W0214 19:55:29.852917       1 reflector.go:547] knative.dev/pkg/controller/controller.go:726: failed to list *v1alpha1.IntegrationSource: integrationsources.sources.knative.dev is forbidden: User "system:serviceaccount:knative-eventing:eventing-controller" cannot list resource "integrationsources" in API group "sources.knative.dev" at the cluster scope
E0214 19:55:29.852949       1 reflector.go:150] knative.dev/pkg/controller/controller.go:726: Failed to watch *v1alpha1.IntegrationSource: failed to list *v1alpha1.IntegrationSource: integrationsources.sources.knative.dev is forbidden: User "system:serviceaccount:knative-eventing:eventing-controller" cannot list resource "integrationsources" in API group "sources.knative.dev" at the cluster scope
{"level":"fatal","ts":1739562944.983323,"logger":"fallback","caller":"injection/injection.go:65","msg":"Failed to start informers","error":"failed to wait for cache at index 14 to sync","stacktrace":"knative.dev/pkg/injection.EnableInjectionOrDie.func1\n\t/workspace/vendor/knative.dev/pkg/injection/injection.go:65\nknative.dev/pkg/injection/sharedmain.MainWithConfig\n\t/workspace/vendor/knative.dev/pkg/injection/sharedmain/main.go:309\nknative.dev/pkg/injection/sharedmain.MainWithContext\n\t/workspace/vendor/knative.dev/pkg/injection/sharedmain/main.go:209\nmain.main\n\t/workspace/cmd/controller/main.go:58\nruntime.main\n\t/usr/lib/golang/src/runtime/proc.go:271"}

#3387 should help on it

@creydr
Copy link
Member Author

creydr commented Feb 17, 2025

Closing this, in favor of #3387 (see #3387 (comment))

@creydr creydr closed this Feb 17, 2025
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants