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

command/pr: No results or errors returned when cancelled due to "cannot find commit" #31

Open
bflad opened this issue May 21, 2020 · 0 comments

Comments

@bflad
Copy link
Contributor

bflad commented May 21, 2020

Version

v0.2.0 (patched with #28)

Description

While kicking off a few tests via tctest pr --wait and merging other things into VCS, ran into a situation where TeamCity cancelled a run with a temporary VCS error. This was however not surfaced back to the client running the testing in any form.

Opening the build:

Screen Shot 2020-05-21 at 8 32 56 AM

Expected Behavior

$ tctest pr --wait 13430
Discovering tests for pr #13430 (https://github.com/terraform-providers/terraform-provider-aws/pull/13430)...
    TestAccAWSLightsailInstance
triggering refs/pull/13430/merge for (TestAccAWSLightsailInstance)...
  bflad@--OMITTED--#Aws_ProviderAwsAlternate
  build 114694 queued: https://--OMITTED--/viewQueued.html?itemId=114694
Waiting for build 114694 status to be 'finished'...
ERROR: Canceled (Error while applying patch; cannot find commit cbc11326b6340439ac52b1baa58f38e1d0ef62dd in the https://github.com/terraform-providers/terraform-provider-aws repository, possible reason: refs/pull/13430/merge branch was updated and the commi...
$ 

Actual Behavior

$ tctest pr --wait 13430
Discovering tests for pr #13430 (https://github.com/terraform-providers/terraform-provider-aws/pull/13430)...
    TestAccAWSLightsailInstance
triggering refs/pull/13430/merge for (TestAccAWSLightsailInstance)...
  bflad@--OMITTED--#Aws_ProviderAwsAlternate
  build 114694 queued: https://--OMITTED--/viewQueued.html?itemId=114694
Waiting for build 114694 status to be 'finished'...
$ 

(No errors or results)

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

No branches or pull requests

1 participant