Skip to content
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

CreateContainerConfigError pods doesn't set the task as failed #1902

Closed
chmouel opened this issue Jan 20, 2020 · 4 comments
Closed

CreateContainerConfigError pods doesn't set the task as failed #1902

chmouel opened this issue Jan 20, 2020 · 4 comments
Assignees
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@chmouel
Copy link
Member

chmouel commented Jan 20, 2020

Expected Behavior

Should be set as failed

Actual Behavior

Gets into a forever Pending mode :

simple-run-check-code-qp4p9                   Unknown     Pending     3m30s

Steps to Reproduce the Problem

Create a pulllrequest resource with an invalid secret reference which should create a pod with a CreateContainerConfigError :

      "image": "quay.io/openshift-pipeline/nightly:pullrequest-init",
      "imageID": "",
      "lastState": {},
      "name": "step-pr-source-pr-6cwnv",
      "ready": false,
      "restartCount": 0,
      "started": false,
      "state": {
        "waiting": {
          "message": "secret \"github-secrets\" not found",
          "reason": "CreateContainerConfigError"
        }
      }
    },

the status is in pedning running :

[
  {
    "lastTransitionTime": "2020-01-20T14:29:10Z",
    "message": "build step \"step-pr-source-pr-6cwnv\" is pending with reason \"secret \\\"github-secrets\\\" not found\"",
    "reason": "Pending",
    "status": "Unknown",
    "type": "Succeeded"
  }
]

Additional Info

@chmouel
Copy link
Member Author

chmouel commented Jan 20, 2020

/kind bug

@tekton-robot tekton-robot added the kind/bug Categorizes issue or PR as related to a bug. label Jan 20, 2020
@chmouel chmouel changed the title CreateContainer pods doesnt' fail the task CreateContainerConfigError pods doesnt' set the task as failed Jan 20, 2020
@chmouel chmouel changed the title CreateContainerConfigError pods doesnt' set the task as failed CreateContainerConfigError pods doesn't set the task as failed Jan 20, 2020
@chmouel
Copy link
Member Author

chmouel commented Jan 21, 2020

/assign @vincent-pli

@vdemeester
Copy link
Member

#1097 got fixed, this can be closed
/close

@tekton-robot
Copy link
Collaborator

@vdemeester: Closing this issue.

In response to this:

#1097 got fixed, this can be closed
/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@pritidesai pritidesai mentioned this issue Dec 1, 2020
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

No branches or pull requests

4 participants