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

HOSTEDCP-1466: test/ginkgo: allow many external binaries #28720

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

stevekuznetsov
Copy link
Contributor

Not only do we ultimately need to support external binaries from more than one image in the payload, we also need to support repositories that use go test for their end-to-end tests along with the old-school Ginkgo approach.

/assign @soltysh
/cc @deads2k

Not only do we ultimately need to support external binaries from more
than one image in the payload, we also need to support repositories that
use `go test` for their end-to-end tests along with the old-school
Ginkgo approach.

Signed-off-by: Steve Kuznetsov <[email protected]>
@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Apr 17, 2024
@openshift-ci-robot
Copy link

openshift-ci-robot commented Apr 17, 2024

@stevekuznetsov: This pull request references HOSTEDCP-1466 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.16.0" version, but no target version was set.

In response to this:

Not only do we ultimately need to support external binaries from more than one image in the payload, we also need to support repositories that use go test for their end-to-end tests along with the old-school Ginkgo approach.

/assign @soltysh
/cc @deads2k

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 openshift-eng/jira-lifecycle-plugin repository.

// /tests/
// ├── a
// │ ├── b
// │ ├── b.package.txt
Copy link
Contributor Author

Choose a reason for hiding this comment

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

n.b. the Go module being tested is information that is lost during go test -c ... so we need to record it in a side-channel and consume that here.

return TestFailed, []byte(fmt.Errorf("failed unmarshalling test event from output %s: %w", string(testOutputBytes), err).Error())
}

// TODO: lots of events are possible here, and it's possible more than one test runs, etc
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Open to suggestions here, the execution model does not accurately map here.

Copy link
Contributor

openshift-ci bot commented Apr 17, 2024

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: stevekuznetsov
Once this PR has been reviewed and has the lgtm label, please assign dgoodwin for approval. For more information see the Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found 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

Copy link
Contributor

openshift-ci bot commented Apr 17, 2024

@stevekuznetsov: 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/e2e-aws-ovn-single-node-serial cb40f19 link false /test e2e-aws-ovn-single-node-serial
ci/prow/e2e-metal-ipi-sdn cb40f19 link false /test e2e-metal-ipi-sdn
ci/prow/e2e-aws-ovn-single-node-upgrade cb40f19 link false /test e2e-aws-ovn-single-node-upgrade

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
jira/valid-reference Indicates that this PR references a valid Jira ticket of any type.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants