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

[release-1.29] conformance test: ignore file type bits when comparing layers #5257

Conversation

nalind
Copy link
Member

@nalind nalind commented Jan 9, 2024

What type of PR is this?

/kind failing-test

What this PR does / why we need it:

When comparing layer payloads during conformance tests, mask off any file type bits that the tar headers in the layers might have included. Extracted from #4829.

How to verify it

Conformance tests!

Which issue(s) this PR fixes:

Special notes for your reviewer:

Does this PR introduce a user-facing change?

None

@openshift-ci openshift-ci bot added kind/failing-test Categorizes issue or PR as related to a consistently or frequently failing test. approved labels Jan 9, 2024
@nalind
Copy link
Member Author

nalind commented Jan 9, 2024

/retitle [release-1.29] conformance test: ignore file type bits when comparing layers

@openshift-ci openshift-ci bot changed the title conformance test: ignore file type bits when comparing layers [release-1.29] conformance test: ignore file type bits when comparing layers Jan 9, 2024
When comparing layer payloads during conformance tests, mask off any
file type bits that the tar headers in the layers might have included.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
@nalind nalind force-pushed the conformance-bit-masking-1.29 branch from c7016df to 32ebf99 Compare January 9, 2024 21:49
@nalind
Copy link
Member Author

nalind commented Jan 9, 2024

/cc @cevich

@openshift-ci openshift-ci bot requested a review from cevich January 9, 2024 22:17
@cevich
Copy link
Member

cevich commented Jan 10, 2024

Great! Thanks for doing this. May I help backport it to the other 5 afflicted release branches? Or is there a way to make the bot do it?

Copy link
Member

@cevich cevich 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 Jan 10, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: cevich, nalind

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

@nalind
Copy link
Member Author

nalind commented Jan 10, 2024

Great! Thanks for doing this. May I help backport it to the other 5 afflicted release branches? Or is there a way to make the bot do it?

The bot has a "/cherry-pick" command for that - it posted the link for the full list of commands it supports, but the short version is that the command expects the target branch as an argument.

@nalind
Copy link
Member Author

nalind commented Jan 10, 2024

(If you "/lgtm", the bot will add this PR to its merge queue.)

@cevich
Copy link
Member

cevich commented Jan 10, 2024

Oh, right, yeah that's it. I seem to remember this PR needs to merge first in order for /cherry-pick to work.

/lgtm

@openshift-ci openshift-ci bot added the lgtm label Jan 10, 2024
@openshift-merge-bot openshift-merge-bot bot merged commit aa7cc2e into containers:release-1.29 Jan 10, 2024
@nalind nalind deleted the conformance-bit-masking-1.29 branch January 10, 2024 15:32
@cevich
Copy link
Member

cevich commented Jan 10, 2024

/cherry-pick release-1.24

@openshift-cherrypick-robot

@cevich: only containers org members may request cherry picks. You can still do the cherry-pick manually.

In response to this:

/cherry-pick release-1.24

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.

@cevich
Copy link
Member

cevich commented Jan 10, 2024

WTF?!?!?!? I'm an org-admin!?!?!?!?! Sheesh, let me see if I can add myself...

@cevich
Copy link
Member

cevich commented Jan 10, 2024

Ha! Nope, github says "already a member" 😢

@nalind would you mind doing the bot commands. I can help with the PRs it creates as needed.

@nalind
Copy link
Member Author

nalind commented Jan 10, 2024

/cherry-pick release-1.24

@openshift-cherrypick-robot

@nalind: #5257 failed to apply on top of branch "release-1.24":

Applying: conformance test: ignore file type bits when comparing layers
Using index info to reconstruct a base tree...
M	.cirrus.yml
M	tests/conformance/conformance_test.go
Falling back to patching base and 3-way merge...
Auto-merging tests/conformance/conformance_test.go
CONFLICT (content): Merge conflict in tests/conformance/conformance_test.go
Auto-merging .cirrus.yml
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch=diff' to see the failed patch
Patch failed at 0001 conformance test: ignore file type bits when comparing layers
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".

In response to this:

/cherry-pick release-1.24

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.

@nalind
Copy link
Member Author

nalind commented Jan 10, 2024

Your membership is set to "private", so the bot might not know you're in the org.

@cevich
Copy link
Member

cevich commented Jan 10, 2024

Your membership is set to "private", so the bot might not know you're in the org.

Oh! That could be, I don't ever remember setting that. Thanks, I'll fix.

@cevich
Copy link
Member

cevich commented Jan 10, 2024

/cherry-pick release-1.21

@openshift-cherrypick-robot

@cevich: #5257 failed to apply on top of branch "release-1.21":

Applying: conformance test: ignore file type bits when comparing layers
Using index info to reconstruct a base tree...
M	.cirrus.yml
M	tests/conformance/conformance_test.go
Falling back to patching base and 3-way merge...
Auto-merging tests/conformance/conformance_test.go
CONFLICT (content): Merge conflict in tests/conformance/conformance_test.go
Auto-merging .cirrus.yml
CONFLICT (content): Merge conflict in .cirrus.yml
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch=diff' to see the failed patch
Patch failed at 0001 conformance test: ignore file type bits when comparing layers
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".

In response to this:

/cherry-pick release-1.21

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.

@cevich
Copy link
Member

cevich commented Jan 10, 2024

Bah, oh well, guess we gotta do it manually.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
approved kind/failing-test Categorizes issue or PR as related to a consistently or frequently failing test. lgtm locked - please file new issue/PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants