-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
[1.5][BACKPORT] Pull-through using insecure transport based on tag import policy #13274
[1.5][BACKPORT] Pull-through using insecure transport based on tag import policy #13274
Conversation
[Test]ing while waiting on the merge queue |
39089de
to
cc181ea
Compare
[merge] |
cc181ea
to
35a69dd
Compare
The failure https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_origin_check_future/906/consoleFull#-178241838856bf4006e4b05b79524e5923 is strange. I couldn't reproduce it locally. I've enabled debug logging in the test to get more details if it fails. |
35a69dd
to
ad2165e
Compare
I made the failing test more robust. |
Flake #12784 in job https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_origin_future/915/. re-[test]. |
ad2165e
to
47f2699
Compare
Cache also created image stream. Instead of using imagestreamimage resource, get imagestream and image separately. This allows for later reuse of obtained objects. The resource is still needed for signatures endpoint. Cache remote blob getter service on the repository instead of passing it in the context. The latter is error-prone due to a context being passed by value by upper layers. Signed-off-by: Michal Minář <[email protected]>
Signed-off-by: Michal Minář <[email protected]>
Disable upstream verification of manifest dependencies during manifest PUT. It would be preferred to let the upstream handle the verification if they passed correct context to their manifest handler. Also fixed race in TestBlobDescriptorServiceIsApplied. Signed-off-by: Michal Minář <[email protected]>
Return more informartion when dockerImageConfig is not set. Signed-off-by: Michal Minář <[email protected]>
If the imagestream lacks insecure annotaion, make sure to honor insecure tag import policy when pulling images. Make sure to propage the insecure flag to all repositories belonging to the insecure registry. When finding pullthrough candidates, make sure to consider secure repositories first. If not found, try the insecure repositories. Signed-off-by: Michal Minář <[email protected]>
47f2699
to
3e0d3ec
Compare
Finally. I failed to see an error except for
until I found The race should be fixed now. |
[test] |
The failure seems like GCE infra flake, so I think this is good to merge. Will give it one more chance to pass the test first. |
@mfojtik just a GCE failure. This should be ready now. |
@miminar the merge tag will fail of that GCE test is not fixed :-) @stevekuznetsov to the rescue. |
Logic does exist and used to work to detect the races in |
@stevekuznetsov I've seen this 4x today ;-) [test] |
Nothing in the master logs that show why? |
@stevekuznetsov I can find neither master logs nor node logs nor their configs in the artifacts. I feel kind of helpless. |
That's a shame. I'll try to get better logging for us. |
[test] |
Unrelated failure:
@mfojtik can we try another merge? |
[test] |
seem like another flake... [test] |
[test] |
Evaluated for origin test up to 36e6855 |
continuous-integration/openshift-jenkins/test SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pull_request_origin/143/) (Base Commit: cdf2521) |
@mfojtik merge? 😄 |
[merge] |
Yum flake while building images. @mfojtik can you get it another go? |
[merge]
…On Mon, Mar 13, 2017 at 10:37 AM, Michal Minář ***@***.***> wrote:
Yum flake while building images. @mfojtik <https://github.com/mfojtik>
can you get it another go?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#13274 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABG_p8KVFpCZCthoDv-ZXVCnx2VP8S79ks5rlVS4gaJpZM4MVRPC>
.
|
Evaluated for origin merge up to 36e6855 |
continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/merge_pull_request_origin/66/) (Base Commit: e4200f3) (Image: devenv-rhel7_6067) |
Insecure istag now allows for insecure transport.
Resolves: bz#1421954
This is a backport of #13114