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

BUG: Fix CI Unit tests. #1175

Merged
merged 1 commit into from
Dec 6, 2019

Conversation

awgreene
Copy link
Member

@awgreene awgreene commented Dec 5, 2019

Testing a unit test failure

@openshift-ci-robot openshift-ci-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Dec 5, 2019
@awgreene awgreene changed the title tmp BUG: Fix CI Unit tests. Dec 6, 2019
@awgreene awgreene force-pushed the test branch 2 times, most recently from be510c8 to 5cd3235 Compare December 6, 2019 12:44
@awgreene
Copy link
Member Author

awgreene commented Dec 6, 2019

/retest

1 similar comment
@awgreene
Copy link
Member Author

awgreene commented Dec 6, 2019

/retest

@jpeeler
Copy link

jpeeler commented Dec 6, 2019

I don't think this is the correct fix, at least in all cases. I attempted to run the unit test target locally in a container with networking disabled and it did not work. I suspect that somewhere in CI the mod setting is getting set, which means it'll work in CI, but won't work correctly for local development (but might appear to at first due to modules being downloaded on demand).

@awgreene awgreene force-pushed the test branch 7 times, most recently from 9c863c5 to a10d966 Compare December 6, 2019 16:19
This commit introduces a change which ensures that the GOFLAGS variable
is not set when running Makefile commands.
@jpeeler
Copy link

jpeeler commented Dec 6, 2019

This is what changed: openshift/release#6226. They are discouraging plumbing the command flag through all the commands... but we've already done all of that.

@jpeeler
Copy link

jpeeler commented Dec 6, 2019

/retest
Assuming CI failure and that this change didn't break the world.

@jpeeler
Copy link

jpeeler commented Dec 6, 2019

/lgtm
/retest

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Dec 6, 2019
@openshift-ci-robot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: awgreene, jpeeler

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. label Dec 6, 2019
@openshift-merge-robot openshift-merge-robot merged commit 5f08f57 into operator-framework:master Dec 6, 2019
@awgreene
Copy link
Member Author

/cherry-pick release-4.3

@openshift-cherrypick-robot

@awgreene: new pull request created: #1196

In response to this:

/cherry-pick release-4.3

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.

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. lgtm Indicates that a PR is ready to be merged. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants