-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
plumb through combined stdout/stderr to diagnostics (#179)
previous: ``` ╷ │ Error: failed to test feature: foo │ │ with imagetest_feature.foo, │ on main.tf line 24, in resource "imagetest_feature" "foo": │ 24: resource "imagetest_feature" "foo" { │ │ assessment step 'Sample' failed: running step: command exited with non-zero exit code: 3 │ │ No resources found │ * URL rejected: Port number was not a decimal number between 0 and 65535 │ * closing connection #-1 │ curl: (3) URL rejected: Port number was not a decimal number between 0 and 65535 │ : No resources found │ * URL rejected: Port number was not a decimal number between 0 and 65535 │ * closing connection #-1 │ curl: (3) URL rejected: Port number was not a decimal number between 0 and 65535 │ ╵ ``` new: ``` ╷ │ Error: failed to test feature: foo │ │ with imagetest_feature.foo, │ on main.tf line 24, in resource "imagetest_feature" "foo": │ 24: resource "imagetest_feature" "foo" { │ │ assessment step 'Sample' failed: │ Error executing command (exit code 3) │ │ Command: │ apk add curl jq │ │ kubectl get po -A │ │ curl -v --fail http://notarealzfhost:81234 │ │ Output: │ fetch https://packages.wolfi.dev/os/aarch64/APKINDEX.tar.gz │ (1/3) Installing curl (8.9.1-r3) │ (2/3) Installing oniguruma (6.9.9-r3) │ (3/3) Installing jq (1.7.1-r2) │ OK: 118 MiB in 32 packages │ No resources found │ * URL rejected: Port number was not a decimal number between 0 and 65535 │ * closing connection #-1 │ curl: (3) URL rejected: Port number was not a decimal number between 0 and 65535 │ ``` This also plumbs through stdout/stderr better to `TF_LOG=info` surfaced log lines
- Loading branch information
Showing
5 changed files
with
54 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters