openshift / origin

Conformance test suite for OpenShift
http://www.openshift.org
Apache License 2.0
8.48k stars 4.7k forks source link

Make registry tests using docker.socket dockerless #20079

Open miminar opened 6 years ago

miminar commented 6 years ago

The tests using the docker socket fail because the access is not granted anymore in pods. Therefore they are now being marked with [local].

This issue is a reminder to rewrite the tests in a dockerless way.

See the related discussion:

And related [local] PRs:

openshift-bot commented 5 years ago

Issues go stale after 90d of inactivity.

Mark the issue as fresh by commenting /remove-lifecycle stale. Stale issues rot after an additional 30d of inactivity and eventually close. Exclude this issue from closing by commenting /lifecycle frozen.

If this issue is safe to close now please do so with /close.

/lifecycle stale

bparees commented 5 years ago

/lifecycle frozen /remove-lifecycle stale

/assign @dmage

This is more urgent than before as these tests are not being run anywhere anymore i do not believe, until we remove the local tag.

bparees commented 5 years ago

might be possible to use oc image mirror to push an image from docker hub into the registry for these tests, too.

gitsan13 commented 2 years ago

I would like to contribute to this issue. Kindly guide me through the steps as I am a newbie in this field.

dmage commented 2 years ago

@gitsan13 one set of tests that are marked as [Local] is here:

https://github.com/openshift/origin/blob/e8d48e35ca02ecd5463db2684c8c99a272d27319/test/extended/images/prune.go#L34

But it's a pretty tricky issue. Why did you choose it? Before you start working on any test, you need to get a working OpenShift or OKD cluster and learn how to run tests. This alone can be overwhelming.