Skip to content

Terraform outputs in aws package make the test flaky #1299

@bhapas

Description

@bhapas

The terraform outputs in aws package as added here have flaky tests on CI.

The outputs are not generated sometimes and it results in the flaky test

Sample logs:

2023/06/08 11:43:57 DEBUG Unmarshalling terraform output json
2023/06/08 11:43:57 DEBUG **********JSON CONTENT**************** {
  "instance_id": {
    "sensitive": false,
    "type": "string",
    "value": "i-somerandomid"
  }
}
2023/06/08 12:22:06 DEBUG Unmarshalling terraform output json
2023/06/08 12:22:06 DEBUG **********JSON CONTENT****************
2023/06/08 12:22:06 DEBUG waiting for 1s before tearing down...
Error: error running package system tests: could not complete test run: could not setup service: could not handle terraform output error during json Unmarshal unexpected end of JSON input
+ cleanup
+ r=1

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions