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

Re-enable two conformance tests #5566

Merged
merged 7 commits into from
Jun 10, 2024

Conversation

nalind
Copy link
Member

@nalind nalind commented Jun 4, 2024

What type of PR is this?

/kind failing-test

What this PR does / why we need it:

  • Stops setting the "parent" field when committing an image in Docker format.

How to verify it

New conformance tests for the bits we changed in imagebuilder! Also, the ones we already had should all be passing again!

Which issue(s) this PR fixes:

Special notes for your reviewer:

Does this PR introduce a user-facing change?

The "parent" field is no longer set in committed images.

@openshift-ci openshift-ci bot added kind/failing-test Categorizes issue or PR as related to a consistently or frequently failing test. approved labels Jun 4, 2024
Copy link
Collaborator

@flouthoc flouthoc 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 Jun 4, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: flouthoc, 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

Copy link

Ephemeral COPR build failed. @containers/packit-build please check.

Copy link
Member

@TomSweeneyRedHat TomSweeneyRedHat left a comment

Choose a reason for hiding this comment

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

LGTM
@lsm5 is it safe to ignore the test issues here?

@nalind
Copy link
Member Author

nalind commented Jun 5, 2024

LGTM @lsm5 is it safe to ignore the test issues here?

This looks like the relevant log section:

/usr/lib/golang/pkg/tool/linux_amd64/compile -o $WORK/b205/_pkg_.a -trimpath "$WORK/b205=>" -p github.com/containers/libtrust -lang=go1.16 -complete -installsuffix shared -buildid wfFSNxKIjbW5MBM0-tJh/wfFSNxKIjbW5MBM0-tJh -goversion "go1.22.3 (Red Hat 1.22.3-1.el9)" -c=2 -shared -nolocalimports -importcfg $WORK/b205/importcfg -pack ./vendor/github.com/containers/libtrust/certificates.go ./vendor/github.com/containers/libtrust/doc.go ./vendor/github.com/containers/libtrust/ec_key.go ./vendor/github.com/containers/libtrust/ec_key_openssl.go ./vendor/github.com/containers/libtrust/filter.go ./vendor/github.com/containers/libtrust/hash.go ./vendor/github.com/containers/libtrust/jsonsign.go ./vendor/github.com/containers/libtrust/key.go ./vendor/github.com/containers/libtrust/key_files.go ./vendor/github.com/containers/libtrust/key_manager.go ./vendor/github.com/containers/libtrust/rsa_key.go ./vendor/github.com/containers/libtrust/util.go
# github.com/containers/libtrust
vendor/github.com/containers/libtrust/ec_key_openssl.go:23:9: not enough return values
	have ([]byte, error)
	want (*big.Int, *big.Int, error)

@nalind nalind force-pushed the conformance-fixups branch 3 times, most recently from a1a6930 to b20dbf0 Compare June 6, 2024 21:28
Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
Pass the test registry password to `docker login` using stdin instead of
passing it on the command line.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
Check "WORKDIR" both with and without path separators at the end of the
instruction argument (e.g. "/foo" and "/foo/").

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
Newer docker build doesn't set it, so we need to stop.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
Renovate updated references "FROM centos:7" to "FROM centos:8", but we
changed various others references to it to quay.io/libpod/centos:7 some
time ago.  Update these stragglers.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
The conformance tests use the default temporary directory for storing
content when running, and the vfs driver easily needs more than the size
of the tmpfs we have on /tmp when we're running conformance tests.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
@rhatdan
Copy link
Member

rhatdan commented Jun 10, 2024

/lgtm

@openshift-ci openshift-ci bot added the lgtm label Jun 10, 2024
@openshift-merge-bot openshift-merge-bot bot merged commit dd6be38 into containers:main Jun 10, 2024
35 of 37 checks passed
@nalind nalind deleted the conformance-fixups branch June 10, 2024 21:24
@stale-locking-app stale-locking-app bot locked as resolved and limited conversation to collaborators Sep 9, 2024
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.

4 participants