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

Detail error message for wfr failure #1112

Open
supereagle opened this issue Jun 5, 2019 · 1 comment
Open

Detail error message for wfr failure #1112

supereagle opened this issue Jun 5, 2019 · 1 comment
Labels
area/workflow-engine Workflow Engine kind/feature Categorizes issue or PR as related to a new feature. priority/P1 Important over the long term, but may not be staffed and/or may need multiple releases to complete.

Comments

@supereagle
Copy link
Member

Is this a BUG REPORT or FEATURE REQUEST?:

/kind feature

What happened:

There is no detail error message for wfr failure.

$ kubectl -n cyclone-devops describe wfr release-tenant-admin-new-xv2p4
Name:         release-tenant-admin-new-xv2p4
Namespace:    cyclone-devops
Labels:       project.cyclone.dev/name=release
              workflow.cyclone.dev/name=release-tenant-admin-new
              workflowrun.cyclone.dev/notification-sent=true
Annotations:  cyclone.dev/alias: release-tenant-admin-new-xv2p4
              tagType: default
              workflowrun.cyclone.dev/trigger: yangsonglin
API Version:  cyclone.dev/v1alpha1
Kind:         WorkflowRun
Metadata:
  Creation Timestamp:  2019-06-05T02:17:21Z
  Generation:          1
  Owner References:
    API Version:     cyclone.dev/v1alpha1
    Kind:            Workflow
    Name:            release-tenant-admin-new
    UID:             91e26828-85a9-11e9-9465-38d54701228f
  Resource Version:  57412936
  Self Link:         /apis/cyclone.dev/v1alpha1/namespaces/cyclone-devops/workflowruns/release-tenant-admin-new-xv2p4
  UID:               0cf6e831-8738-11e9-8003-38d54701228f
Spec:
  ...
Status:
  Cleaned:  true
  Notifications:
    Devops:
      Message:  Status code: 201
      Result:   Succeeded
  Overall:
    Last Transition Time:  2019-06-05T02:27:08Z
    Phase:                 Failed
    Start Time:            2019-06-05T02:17:21Z
  Stages:
    Release - Tenant - Admin - New - Image - 0 - 2 - 0:
      Outputs:  <nil>
      Pod:
        Name:       release-tenant-admin-new-release-tenant-admin-new-image-0-2-0-m8wqf
        Namespace:  cyclone--devops
      Status:
        Last Transition Time:  2019-06-05T02:26:12Z
        Message:               Coordinator completed
        Phase:                 Succeeded
        Reason:                CoordinatorCompleted
        Start Time:            2019-06-05T02:25:16Z
    Release - Tenant - Admin - New - Image - 1 - 3 - 0:
      Outputs:  <nil>
      Pod:
        Name:       release-tenant-admin-new-release-tenant-admin-new-image-1-3-0-zxjt2
        Namespace:  cyclone--devops
      Status:
        Last Transition Time:  2019-06-05T02:27:08Z
        Phase:                 Failed
        Reason:                Error
        Start Time:            2019-06-05T02:26:12Z
    Release - Tenant - Admin - New - Make - 1 - 0:
      Outputs:  <nil>
      Pod:
        Name:       release-tenant-admin-new-release-tenant-admin-new-make-1-0-2672x
        Namespace:  cyclone--devops
      Status:
        Last Transition Time:  2019-06-05T02:25:16Z
        Phase:                 Succeeded
        Reason:                PodSucceed
        Start Time:            2019-06-05T02:22:22Z
    Release - Tenant - Admin - New - Unittest - 0 - 0:
      Outputs:  <nil>
      Pod:
        Name:       release-tenant-admin-new-release-tenant-admin-new-unittest-0-0-sdd89
        Namespace:  cyclone--devops
      Status:
        Last Transition Time:  2019-06-05T02:22:22Z
        Phase:                 Succeeded
        Reason:                PodSucceed
        Start Time:            2019-06-05T02:17:21Z
Events:
  Type    Reason           Age   From                   Message
  ----    ------           ----  ----                   -------
  Normal  StagePodCreated  22m   WorkflowRunController  Create pod for stage 'release-tenant-admin-new-unittest-0-0' succeeded
  Normal  StagePodCreated  17m   WorkflowRunController  Create pod for stage 'release-tenant-admin-new-make-1-0' succeeded
  Normal  StagePodCreated  14m   WorkflowRunController  Create pod for stage 'release-tenant-admin-new-image-0-2-0' succeeded
  Normal  StagePodCreated  13m   WorkflowRunController  Create pod for stage 'release-tenant-admin-new-image-1-3-0' succeeded
  Normal  GC               12m   WorkflowRunController  GC is performed succeed.

What you expected to happen:

How to reproduce it (as minimally and precisely as possible):

Anything else we need to know?:

@caicloud-bot caicloud-bot added the kind/feature Categorizes issue or PR as related to a new feature. label Jun 5, 2019
@supereagle
Copy link
Member Author

/priority p1

@caicloud-bot caicloud-bot added the priority/P1 Important over the long term, but may not be staffed and/or may need multiple releases to complete. label Jun 5, 2019
@cd1989 cd1989 added the area/workflow-engine Workflow Engine label Jun 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/workflow-engine Workflow Engine kind/feature Categorizes issue or PR as related to a new feature. priority/P1 Important over the long term, but may not be staffed and/or may need multiple releases to complete.
Projects
None yet
Development

No branches or pull requests

3 participants