Skip to content

flake in cmd/images: cannot delete istag #10274

Closed

Description

@miminar

This one looks scary:

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

Job https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_origin_check/4708/console

Here's some test context:

# 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

  1. added
    kind/test-flake
    on Aug 8, 2016
  2. miminar commented on Aug 8, 2016

    @miminar
    Author
  3. assigned and unassigned on Aug 9, 2016
  4. mfojtik commented on Aug 9, 2016

    @mfojtik
    Contributor

    @miminar I think the test is wrong? the image streams are created in the "openshift" namespace, not in "default".

  5. mfojtik commented on Aug 9, 2016

    @mfojtik
    Contributor

    @deads2k fyi (I think you was changing this recently and yes, I reviewed it :-(

  6. miminar commented on Aug 9, 2016

    @miminar
    Author

    @mfojtik you're right! The containing namespace is test-cmd-images-2. So it looks like the cluster_admin_context is outdated.

  7. deads2k commented on Aug 9, 2016

    @deads2k
    Contributor

    @mfojtik you're right! The containing namespace is test-cmd-images-2. So it looks like the cluster_admin_context is outdated.

    Weird that its a flake, not a failure.

  8. smarterclayton commented on Aug 9, 2016

    @smarterclayton
    Contributor

    Maybe the perl image is flaky

  9. soltysh commented on Aug 12, 2016

    @soltysh
    Contributor

    I've added explicit project name in the delete command, let's see how that helps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

component/imageregistrykind/test-flakepriority/P2

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions