Skip to content

Attempting to run a job in a paused pipeline gives unhelpful logs #97

Closed

Description

@robdimsdale

Trying to run a job in a paused pipeline gives very generic logs, below:

{"timestamp":"1438627237.202865601","source":"atc","message":"atc.trigger-build.triggering","log_level":0,"data":{"job":"job-with-hooks","session":"11"}}
{"timestamp":"1438627237.210858822","source":"atc","message":"atc.db.build-did-not-schedule","log_level":0,"data":{"buildID":"\u0003","reason":"pipeline-paused","session":"2"}}
{"timestamp":"1438627237.210936546","source":"atc","message":"atc.trigger-build.trigger-immediately.build-could-not-be-scheduled","log_level":0,"data":{"build":3,"job":"job-with-hooks","session":"11.1"}}

We should say something like job cannot be scheduled as pipeline is paused

Activity

  1. concourse-bot commented on Aug 3, 2015

    @concourse-bot

    Hi there!

    We use Pivotal Tracker to provide visibility into what our team is working on. A story for this issue has been automatically created.

    The current status is as follows:

    • #109824298 Attempting to run a job in a paused pipeline gives unhelpful logs

    This comment, as well as the labels on the issue, will be automatically updated as the status in Tracker changes.

  2. xoebus commented on Aug 4, 2015

    @xoebus
    Contributor

    Lager promotes using more machine parse-able strings so that the logs can be used for more interesting trace tasks. That said we can switch the reason attribute to be more user friendly.

  3. vito commented on Jan 12, 2016

    @vito
    Contributor

    We shouldn't start to mix up human readable and machine readable in our logs. I much prefer to have small greppable keywords/phrases than human readable messages.

  4. concourse-bot commented on Jan 12, 2016

    @concourse-bot

    Hello again!

    All stories related to this issue have been accepted, so I'm going to automatically close this issue.

    At the time of writing, the following stories have been accepted:

    • #109824298 Attempting to run a job in a paused pipeline gives unhelpful logs

    If you feel there is still more to be done, or if you have any questions, leave a comment and we'll reopen if necessary!

  5. added a commit that references this issue on Aug 17, 2016
  6. added a commit that references this issue on Mar 15, 2018
  7. added a commit that references this issue on Mar 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions