You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Create and upload a pipeline whose only job has one step in its plan: to "get" a resource
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.
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.
The text was updated successfully, but these errors were encountered:
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
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
The text was updated successfully, but these errors were encountered: