Skip to content

Flake: test/cmd/newapp.sh:282 #14418

Closed

Description

@tnozicka

https://ci.openshift.redhat.com/jenkins/job/merge_pull_request_origin/853/

Error Message

2.3/test/puma-test-app': the command returned the wrong error code; the output content test failed
Stacktrace

=== BEGIN TEST CASE ===
test/cmd/newapp.sh:282: executing 'oc new-app https://github.com/openshift/sti-ruby.git --context-dir="2.3/test/puma-test-app" -o yaml' expecting success and text 'contextDir: 2.3/test/puma-test-app'
FAILURE after 119.199s: test/cmd/newapp.sh:282: executing 'oc new-app https://github.com/openshift/sti-ruby.git --context-dir="2.3/test/puma-test-app" -o yaml' expecting success and text 'contextDir: 2.3/test/puma-test-app': the command returned the wrong error code; the output content test failed
There was no output from the command.
Standard error from the command:
error: Errors occurred while determining argument types:

https://github.com/openshift/sti-ruby.git as a Git repository URL:  execution of git ls-remote https://github.com/openshift/sti-ruby.git timed out after 30s

https://github.com/openshift/sti-ruby.git as a local directory pointing to a Git repository:  stat https://github.com/openshift/sti-ruby.git: no such file or directory

Errors occurred during resource creation:
error: unable to load template file "https://github.com/openshift/sti-ruby.git": error converting YAML to JSON: yaml: line 22: mapping values are not allowed in this context
error: no match for "https://github.com/openshift/sti-ruby.git"

The 'oc new-app' command will match arguments to the following types:

  1. Images tagged into image streams in the current project or the 'openshift' project
     - if you don't specify a tag, we'll add ':latest'
  2. Images in the Docker Hub, on remote registries, or on the local Docker engine
  3. Templates in the current project or the 'openshift' project
  4. Git repository URLs or local paths that point to Git repositories

--allow-missing-images can be used to point to an image that does not exist yet.

See 'oc new-app -h' for examples.
=== END TEST CASE ===

Activity

  1. added
    kind/test-flake
    on May 31, 2017
  2. liggitt commented on May 31, 2017

    @liggitt
    Contributor

    git ls-remote https://github.com/openshift/sti-ruby.git looks like a github timeout

  3. tnozicka commented on Jun 1, 2017

    @tnozicka
    ContributorAuthor

    github timeout or infra.
    I think in the long term we should solve it. There should be a retry in oc new-app or any other such command using remote resource otherwise this will eventually cause flakes in test and in customers scripts as well.

    Kubernetes seems to already do it: kubernetes/kubernetes#25267

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

Metadata

Metadata

Assignees

Labels

component/buildkind/test-flakepriority/P1

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions