You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running test/cmd/images_tests.sh:237: executing 'oc delete istag/perl:5.16 --context='default/127-0-0-1:28443/system:admin'' expecting success...
FAILURE after 0.213s: test/cmd/images_tests.sh:237: executing 'oc delete istag/perl:5.16 --context='default/127-0-0-1:28443/system:admin'' expecting success: the command returned the wrong error code
There was no output from the command.
Standard error from the command:
Error from server: imagestreams "perl" not found
# test deleting a tag using oc delete
os::cmd::expect_success_and_text "oc get is perl --template '{{(index .spec.tags 0).name}}'" '5.16'
os::cmd::expect_success_and_text "oc get is perl --template '{{(index .status.tags 0).tag}}'" 'latest'
os::cmd::expect_success "oc delete istag/perl:5.16 --context='${cluster_admin_context}'"
So it's clear that both image stream and the tag exist. Can the changed context be somehow related?
Activity
miminar commentedon Aug 8, 2016
To make the bot happy, here's a parent job link: https://ci.openshift.redhat.com/jenkins/job/test_pr_origin/7632/
mfojtik commentedon Aug 9, 2016
@miminar I think the test is wrong? the image streams are created in the "openshift" namespace, not in "default".
mfojtik commentedon Aug 9, 2016
@deads2k fyi (I think you was changing this recently and yes, I reviewed it :-(
miminar commentedon Aug 9, 2016
@mfojtik you're right! The containing namespace is
test-cmd-images-2. So it looks like thecluster_admin_contextis outdated.deads2k commentedon Aug 9, 2016
Weird that its a flake, not a failure.
smarterclayton commentedon Aug 9, 2016
Maybe the perl image is flaky
soltysh commentedon Aug 12, 2016
I've added explicit project name in the delete command, let's see how that helps.