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

Pipeline continues infinitely is python check script fails #8300

Open
smarshie opened this issue Apr 27, 2022 · 1 comment
Open

Pipeline continues infinitely is python check script fails #8300

smarshie opened this issue Apr 27, 2022 · 1 comment
Labels

Comments

@smarshie
Copy link

smarshie commented Apr 27, 2022

Summary

I have implemented a 'Hello World' pipeline and resource type. It appears that when the check script fails, the "preparing build" stage never completes.

Steps to reproduce

Given Concourse is running normally....

A) 1st attempt

  1. Create and upload a pipeline whose only job has one step in its plan: to "get" a resource
  2. Create and make available a "Hello World" docker image for the resource, containing check, in, out scripts which run against Python 3.9. The check script deliberately throws an Exception.
  3. Run the pipeline

B) in step 2, Modify the check script so that it catches the exception and invokes sys.exit(1)
C) in step 2, Modify the check script so that it catches the exception and prints an empty array

[If I remove the line that throws the Exception everything works fine and the pipeline executes correctly. Likewise the check script works fine in each scenario when invoked using docker run]

Expected results

In all 3 cases I would expect the "preparing build" section to complete and show a failure, with stderr made available.

Actual results

"Preparing build" step continues indefinitely

Additional context

Triaging info

  • Concourse version: v7.7.1
  • Browser (if applicable):
  • Did this used to work? No idea. I'm new to Concourse.
@smarshie smarshie added the bug label Apr 27, 2022
@taylorsilva
Copy link
Member

Could you share some screenshots of the error and where you're seeing it in the UI?

If there are errors during a check you can see those errors by clicking on the resource from the pipeline overview page.
For example, for this pipeline: https://ci.concourse-ci.org/teams/examples/pipelines/git-triggered
you could see errors for the check on this page: https://ci.concourse-ci.org/teams/examples/pipelines/git-triggered

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants