Skip to content

Add quotes in command #2259

Add quotes in command

Add quotes in command #2259

GitHub Actions / JUnit Test Report failed Aug 8, 2024 in 0s

2268 tests run, 1840 passed, 418 skipped, 10 failed.

Annotations

Check failure on line 1 in bats

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

bats.[ubuntu-latest|dash|sops] template: helm template w/ chart + secrets.yaml + space path

(from function `assert_output' in file tests/unit/../bats/extensions/bats-assert/src/assert_output.bash, line 178,
 in test file tests/unit/template.bats, line 433)
Raw output
(from function `assert_output' in file tests/unit/../bats/extensions/bats-assert/src/assert_output.bash, line 178,
 in test file tests/unit/template.bats, line 433)
  `assert_output -e "\[helm-secrets\] Decrypt: .*${VALUES}"' failed
HELM_BIN="helm"
HELM_BURST_LIMIT="100"
HELM_CACHE_HOME="/tmp/bats-run-WE8sub/suite/.cache/helm"
HELM_CONFIG_HOME="/home/runner/.config/helm"
HELM_DATA_HOME="/tmp/bats-run-WE8sub/test/112/plugin dir"
HELM_DEBUG="false"
HELM_KUBEAPISERVER=""
HELM_KUBEASGROUPS=""
HELM_KUBEASUSER=""
HELM_KUBECAFILE=""
HELM_KUBECONTEXT=""
HELM_KUBEINSECURE_SKIP_TLS_VERIFY="false"
HELM_KUBETLS_SERVER_NAME=""
HELM_KUBETOKEN=""
HELM_MAX_HISTORY="10"
HELM_NAMESPACE="default"
HELM_PLUGINS="/tmp/bats-run-WE8sub/test/112/plugin dir/plugins"
HELM_QPS="0.00"
HELM_REGISTRY_CONFIG="/home/runner/.config/helm/registry/config.json"
HELM_REPOSITORY_CACHE="/tmp/bats-run-WE8sub/suite/.cache/helm/repository"
HELM_REPOSITORY_CONFIG="/home/runner/.config/helm/repositories.yaml"
NAME	VERSION	DESCRIPTION

-- regular expression does not match output --
regexp (1 lines):
  \[helm-secrets\] Decrypt: .*assets/values/sops/secrets.yaml
output (3 lines):
  Error: unknown command "secrets" for "helm"
  Run 'helm --help' for usage.
  helm.go:84: [debug] unknown command "secrets" for "helm"
--

Check failure on line 1 in bats

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

bats.[windows-latest|bash|sops] template: helm template w/ chart + secrets.yaml + space path

(from function `assert_output' in file tests/unit/../bats/extensions/bats-assert/src/assert_output.bash, line 178,
 in test file tests/unit/template.bats, line 433)
Raw output
(from function `assert_output' in file tests/unit/../bats/extensions/bats-assert/src/assert_output.bash, line 178,
 in test file tests/unit/template.bats, line 433)
  `assert_output -e "\[helm-secrets\] Decrypt: .*${VALUES}"' failed
HELM_BIN="C:\hostedtoolcache\windows\helm\3.15.3\x64\windows-amd64\helm.exe"
HELM_BURST_LIMIT="100"
HELM_CACHE_HOME="C:\Users\RUNNER~1\AppData\Local\Temp\helm"
HELM_CONFIG_HOME="C:\Users\runneradmin\AppData\Roaming\helm"
HELM_DATA_HOME="C:\Users\RUNNER~1\AppData\Local\Temp\bats-run-f12k9O\test\112\plugin dir"
HELM_DEBUG="false"
HELM_KUBEAPISERVER=""
HELM_KUBEASGROUPS=""
HELM_KUBEASUSER=""
HELM_KUBECAFILE=""
HELM_KUBECONTEXT=""
HELM_KUBEINSECURE_SKIP_TLS_VERIFY="false"
HELM_KUBETLS_SERVER_NAME=""
HELM_KUBETOKEN=""
HELM_MAX_HISTORY="10"
HELM_NAMESPACE="default"
HELM_PLUGINS="C:\Users\RUNNER~1\AppData\Local\Temp\bats-run-f12k9O\test\112\plugin dir\plugins"
HELM_QPS="0.00"
HELM_REGISTRY_CONFIG="C:\Users\runneradmin\AppData\Roaming\helm\registry\config.json"
HELM_REPOSITORY_CACHE="C:\Users\RUNNER~1\AppData\Local\Temp\helm\repository"
HELM_REPOSITORY_CONFIG="C:\Users\runneradmin\AppData\Roaming\helm\repositories.yaml"
NAME	VERSION	DESCRIPTION

-- regular expression does not match output --
regexp (1 lines):
  \[helm-secrets\] Decrypt: .*assets/values/sops/secrets.yaml
output (3 lines):
  Error: unknown command "secrets" for "helm"
  Run 'helm --help' for usage.
  helm.go:84: [debug] unknown command "secrets" for "helm"
--

Check failure on line 1 in bats

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

bats.[windows-latest|wsl|sops] template: helm template w/ chart + secrets.yaml + space path

(from function `assert_success' in file tests/unit/../bats/extensions/bats-assert/src/assert_success.bash, line 42,
 in test file tests/unit/template.bats, line 429)
Raw output
(from function `assert_success' in file tests/unit/../bats/extensions/bats-assert/src/assert_success.bash, line 42,
 in test file tests/unit/template.bats, line 429)
  `assert_success' failed
HELM_BIN="helm.exe"
HELM_BURST_LIMIT="100"
HELM_CACHE_HOME="C:\Users\RUNNER~1\AppData\Local\Temp\helm"
HELM_CONFIG_HOME="C:\Users\runneradmin\AppData\Roaming\helm"
HELM_DATA_HOME="\\wsl.localhost\Debian\tmp\bats-run-idIlyv\test\112\plugin dir"
HELM_DEBUG="false"
HELM_KUBEAPISERVER=""
HELM_KUBEASGROUPS=""
HELM_KUBEASUSER=""
HELM_KUBECAFILE=""
HELM_KUBECONTEXT=""
HELM_KUBEINSECURE_SKIP_TLS_VERIFY="false"
HELM_KUBETLS_SERVER_NAME=""
HELM_KUBETOKEN=""
HELM_MAX_HISTORY="10"
HELM_NAMESPACE="default"
HELM_PLUGINS="\\wsl.localhost\Debian\tmp\bats-run-idIlyv\test\112\plugin dir\plugins"
HELM_QPS="0.00"
HELM_REGISTRY_CONFIG="C:\Users\runneradmin\AppData\Roaming\helm\registry\config.json"
HELM_REPOSITORY_CACHE="C:\Users\RUNNER~1\AppData\Local\Temp\helm\repository"
HELM_REPOSITORY_CONFIG="C:\Users\runneradmin\AppData\Roaming\helm\repositories.yaml"
NAME	VERSION	DESCRIPTION

-- command failed --
status : 1
output : Error: symlink D:\a\helm-secrets\helm-secrets \\wsl.localhost\Debian\tmp\bats-run-idIlyv\test\112\plugin dir\plugins\helm-secrets: Cannot create a file when that file already exists.
--

Check failure on line 1 in bats

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

bats.[windows-latest|wsl|sops] template: helm template w/ remote chart + secrets.yaml + http://

(from function `assert_output' in file tests/unit/../bats/extensions/bats-assert/src/assert_output.bash, line 186,
 in test file tests/unit/template.bats, line 1750)
Raw output
(from function `assert_output' in file tests/unit/../bats/extensions/bats-assert/src/assert_output.bash, line 186,
 in test file tests/unit/template.bats, line 1750)
  `assert_output --partial "global_secret: global_bar"' failed

-- output does not contain substring --
substring (1 lines):
  global_secret: global_bar
output (5 lines):
  [helm-secrets] Decrypt: https://raw.githubusercontent.com/jkroepke/helm-secrets/main/tests/assets/values/sops/secrets.yaml
  Error: link error: cannot rename C:\Users\RUNNER~1\AppData\Local\Temp\helm\repository\values-1.0.3.tgz4253529979 to C:\Users\RUNNER~1\AppData\Local\Temp\helm\repository\values-1.0.3.tgz: rename C:\Users\RUNNER~1\AppData\Local\Temp\helm\repository\values-1.0.3.tgz4253529979 C:\Users\RUNNER~1\AppData\Local\Temp\helm\repository\values-1.0.3.tgz: Access is denied.

  [helm-secrets] Removed: /tmp/tmp.OYHkJt4d0B/R9pGf1.dec
  Error: plugin "secrets" exited with error
--

Check failure on line 1 in bats

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

bats.[macos-latest|bash 3.2|sops] template: helm template w/ chart + secrets.yaml + space path

(from function `assert_output' in file tests/unit/../bats/extensions/bats-assert/src/assert_output.bash, line 178,
 in test file tests/unit/template.bats, line 433)
Raw output
(from function `assert_output' in file tests/unit/../bats/extensions/bats-assert/src/assert_output.bash, line 178,
 in test file tests/unit/template.bats, line 433)
  `assert_output -e "\[helm-secrets\] Decrypt: .*${VALUES}"' failed
HELM_BIN="helm"
HELM_BURST_LIMIT="100"
HELM_CACHE_HOME="/var/folders/zn/hj183dg15s713b47j2wlhwzw0000gn/T/bats-run-Otqotv/suite/Library/Caches/helm"
HELM_CONFIG_HOME="/var/folders/zn/hj183dg15s713b47j2wlhwzw0000gn/T/bats-run-Otqotv/suite/Library/Preferences/helm"
HELM_DATA_HOME="/var/folders/zn/hj183dg15s713b47j2wlhwzw0000gn/T/bats-run-Otqotv/test/112/plugin dir"
HELM_DEBUG="false"
HELM_KUBEAPISERVER=""
HELM_KUBEASGROUPS=""
HELM_KUBEASUSER=""
HELM_KUBECAFILE=""
HELM_KUBECONTEXT=""
HELM_KUBEINSECURE_SKIP_TLS_VERIFY="false"
HELM_KUBETLS_SERVER_NAME=""
HELM_KUBETOKEN=""
HELM_MAX_HISTORY="10"
HELM_NAMESPACE="default"
HELM_PLUGINS="/var/folders/zn/hj183dg15s713b47j2wlhwzw0000gn/T/bats-run-Otqotv/test/112/plugin dir/plugins"
HELM_QPS="0.00"
HELM_REGISTRY_CONFIG="/var/folders/zn/hj183dg15s713b47j2wlhwzw0000gn/T/bats-run-Otqotv/suite/Library/Preferences/helm/registry/config.json"
HELM_REPOSITORY_CACHE="/var/folders/zn/hj183dg15s713b47j2wlhwzw0000gn/T/bats-run-Otqotv/suite/Library/Caches/helm/repository"
HELM_REPOSITORY_CONFIG="/var/folders/zn/hj183dg15s713b47j2wlhwzw0000gn/T/bats-run-Otqotv/suite/Library/Preferences/helm/repositories.yaml"
NAME	VERSION	DESCRIPTION

-- regular expression does not match output --
regexp (1 lines):
  \[helm-secrets\] Decrypt: .*assets/values/sops/secrets.yaml
output (3 lines):
  Error: unknown command "secrets" for "helm"
  Run 'helm --help' for usage.
  helm.go:84: [debug] unknown command "secrets" for "helm"
--

Check failure on line 1 in bats

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

bats.[macos-latest|bash 3.2 with coreutils|sops] template: helm template w/ chart + secrets.yaml + space path

(from function `assert_output' in file tests/unit/../bats/extensions/bats-assert/src/assert_output.bash, line 178,
 in test file tests/unit/template.bats, line 433)
Raw output
(from function `assert_output' in file tests/unit/../bats/extensions/bats-assert/src/assert_output.bash, line 178,
 in test file tests/unit/template.bats, line 433)
  `assert_output -e "\[helm-secrets\] Decrypt: .*${VALUES}"' failed
HELM_BIN="helm"
HELM_BURST_LIMIT="100"
HELM_CACHE_HOME="/var/folders/zn/hj183dg15s713b47j2wlhwzw0000gn/T/bats-run-jDN3i2/suite/Library/Caches/helm"
HELM_CONFIG_HOME="/var/folders/zn/hj183dg15s713b47j2wlhwzw0000gn/T/bats-run-jDN3i2/suite/Library/Preferences/helm"
HELM_DATA_HOME="/var/folders/zn/hj183dg15s713b47j2wlhwzw0000gn/T/bats-run-jDN3i2/test/112/plugin dir"
HELM_DEBUG="false"
HELM_KUBEAPISERVER=""
HELM_KUBEASGROUPS=""
HELM_KUBEASUSER=""
HELM_KUBECAFILE=""
HELM_KUBECONTEXT=""
HELM_KUBEINSECURE_SKIP_TLS_VERIFY="false"
HELM_KUBETLS_SERVER_NAME=""
HELM_KUBETOKEN=""
HELM_MAX_HISTORY="10"
HELM_NAMESPACE="default"
HELM_PLUGINS="/var/folders/zn/hj183dg15s713b47j2wlhwzw0000gn/T/bats-run-jDN3i2/test/112/plugin dir/plugins"
HELM_QPS="0.00"
HELM_REGISTRY_CONFIG="/var/folders/zn/hj183dg15s713b47j2wlhwzw0000gn/T/bats-run-jDN3i2/suite/Library/Preferences/helm/registry/config.json"
HELM_REPOSITORY_CACHE="/var/folders/zn/hj183dg15s713b47j2wlhwzw0000gn/T/bats-run-jDN3i2/suite/Library/Caches/helm/repository"
HELM_REPOSITORY_CONFIG="/var/folders/zn/hj183dg15s713b47j2wlhwzw0000gn/T/bats-run-jDN3i2/suite/Library/Preferences/helm/repositories.yaml"
NAME	VERSION	DESCRIPTION

-- regular expression does not match output --
regexp (1 lines):
  \[helm-secrets\] Decrypt: .*assets/values/sops/secrets.yaml
output (3 lines):
  Error: unknown command "secrets" for "helm"
  Run 'helm --help' for usage.
  helm.go:84: [debug] unknown command "secrets" for "helm"
--

Check failure on line 1 in bats

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

bats.[ubuntu-latest|bash 4.4|sops] template: helm template w/ chart + secrets.yaml + space path

(from function `assert_output' in file tests/unit/../bats/extensions/bats-assert/src/assert_output.bash, line 178,
 in test file tests/unit/template.bats, line 433)
Raw output
(from function `assert_output' in file tests/unit/../bats/extensions/bats-assert/src/assert_output.bash, line 178,
 in test file tests/unit/template.bats, line 433)
  `assert_output -e "\[helm-secrets\] Decrypt: .*${VALUES}"' failed
HELM_BIN="helm"
HELM_BURST_LIMIT="100"
HELM_CACHE_HOME="/tmp/bats-run-I58OEz/suite/.cache/helm"
HELM_CONFIG_HOME="/tmp/bats-run-I58OEz/suite/.config/helm"
HELM_DATA_HOME="/tmp/bats-run-I58OEz/test/112/plugin dir"
HELM_DEBUG="false"
HELM_KUBEAPISERVER=""
HELM_KUBEASGROUPS=""
HELM_KUBEASUSER=""
HELM_KUBECAFILE=""
HELM_KUBECONTEXT=""
HELM_KUBEINSECURE_SKIP_TLS_VERIFY="false"
HELM_KUBETLS_SERVER_NAME=""
HELM_KUBETOKEN=""
HELM_MAX_HISTORY="10"
HELM_NAMESPACE="default"
HELM_PLUGINS="/tmp/bats-run-I58OEz/test/112/plugin dir/plugins"
HELM_QPS="0.00"
HELM_REGISTRY_CONFIG="/tmp/bats-run-I58OEz/suite/.config/helm/registry/config.json"
HELM_REPOSITORY_CACHE="/tmp/bats-run-I58OEz/suite/.cache/helm/repository"
HELM_REPOSITORY_CONFIG="/tmp/bats-run-I58OEz/suite/.config/helm/repositories.yaml"
NAME	VERSION	DESCRIPTION

-- regular expression does not match output --
regexp (1 lines):
  \[helm-secrets\] Decrypt: .*assets/values/sops/secrets.yaml
output (3 lines):
  Error: unknown command "secrets" for "helm"
  Run 'helm --help' for usage.
  helm.go:84: [debug] unknown command "secrets" for "helm"
--

Check failure on line 1 in bats

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

bats.[ubuntu-latest|zsh|sops] template: helm template w/ chart + secrets.yaml + space path

(from function `assert_output' in file tests/unit/../bats/extensions/bats-assert/src/assert_output.bash, line 178,
 in test file tests/unit/template.bats, line 433)
Raw output
(from function `assert_output' in file tests/unit/../bats/extensions/bats-assert/src/assert_output.bash, line 178,
 in test file tests/unit/template.bats, line 433)
  `assert_output -e "\[helm-secrets\] Decrypt: .*${VALUES}"' failed
HELM_BIN="helm"
HELM_BURST_LIMIT="100"
HELM_CACHE_HOME="/tmp/bats-run-cBbPOp/suite/.cache/helm"
HELM_CONFIG_HOME="/tmp/bats-run-cBbPOp/suite/.config/helm"
HELM_DATA_HOME="/tmp/bats-run-cBbPOp/test/112/plugin dir"
HELM_DEBUG="false"
HELM_KUBEAPISERVER=""
HELM_KUBEASGROUPS=""
HELM_KUBEASUSER=""
HELM_KUBECAFILE=""
HELM_KUBECONTEXT=""
HELM_KUBEINSECURE_SKIP_TLS_VERIFY="false"
HELM_KUBETLS_SERVER_NAME=""
HELM_KUBETOKEN=""
HELM_MAX_HISTORY="10"
HELM_NAMESPACE="default"
HELM_PLUGINS="/tmp/bats-run-cBbPOp/test/112/plugin dir/plugins"
HELM_QPS="0.00"
HELM_REGISTRY_CONFIG="/tmp/bats-run-cBbPOp/suite/.config/helm/registry/config.json"
HELM_REPOSITORY_CACHE="/tmp/bats-run-cBbPOp/suite/.cache/helm/repository"
HELM_REPOSITORY_CONFIG="/tmp/bats-run-cBbPOp/suite/.config/helm/repositories.yaml"
NAME	VERSION	DESCRIPTION

-- regular expression does not match output --
regexp (1 lines):
  \[helm-secrets\] Decrypt: .*assets/values/sops/secrets.yaml
output (3 lines):
  Error: unknown command "secrets" for "helm"
  Run 'helm --help' for usage.
  helm.go:84: [debug] unknown command "secrets" for "helm"
--

Check failure on line 1 in bats

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

bats.[ubuntu-latest|ash|sops] template: helm template w/ chart + secrets.yaml + space path

(from function `assert_output' in file tests/unit/../bats/extensions/bats-assert/src/assert_output.bash, line 178,
 in test file tests/unit/template.bats, line 433)
Raw output
(from function `assert_output' in file tests/unit/../bats/extensions/bats-assert/src/assert_output.bash, line 178,
 in test file tests/unit/template.bats, line 433)
  `assert_output -e "\[helm-secrets\] Decrypt: .*${VALUES}"' failed
HELM_BIN="helm"
HELM_BURST_LIMIT="100"
HELM_CACHE_HOME="/tmp/bats-run-LNhNDG/suite/.cache/helm"
HELM_CONFIG_HOME="/tmp/bats-run-LNhNDG/suite/.config/helm"
HELM_DATA_HOME="/tmp/bats-run-LNhNDG/test/112/plugin dir"
HELM_DEBUG="false"
HELM_KUBEAPISERVER=""
HELM_KUBEASGROUPS=""
HELM_KUBEASUSER=""
HELM_KUBECAFILE=""
HELM_KUBECONTEXT=""
HELM_KUBEINSECURE_SKIP_TLS_VERIFY="false"
HELM_KUBETLS_SERVER_NAME=""
HELM_KUBETOKEN=""
HELM_MAX_HISTORY="10"
HELM_NAMESPACE="default"
HELM_PLUGINS="/tmp/bats-run-LNhNDG/test/112/plugin dir/plugins"
HELM_QPS="0.00"
HELM_REGISTRY_CONFIG="/tmp/bats-run-LNhNDG/suite/.config/helm/registry/config.json"
HELM_REPOSITORY_CACHE="/tmp/bats-run-LNhNDG/suite/.cache/helm/repository"
HELM_REPOSITORY_CONFIG="/tmp/bats-run-LNhNDG/suite/.config/helm/repositories.yaml"
NAME	VERSION	DESCRIPTION

-- regular expression does not match output --
regexp (1 lines):
  \[helm-secrets\] Decrypt: .*assets/values/sops/secrets.yaml
output (3 lines):
  Error: unknown command "secrets" for "helm"
  Run 'helm --help' for usage.
  helm.go:84: [debug] unknown command "secrets" for "helm"
--

Check failure on line 1 in bats

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

bats.[ubuntu-latest|posh|sops] template: helm template w/ chart + secrets.yaml + space path

(from function `assert_output' in file tests/unit/../bats/extensions/bats-assert/src/assert_output.bash, line 178,
 in test file tests/unit/template.bats, line 433)
Raw output
(from function `assert_output' in file tests/unit/../bats/extensions/bats-assert/src/assert_output.bash, line 178,
 in test file tests/unit/template.bats, line 433)
  `assert_output -e "\[helm-secrets\] Decrypt: .*${VALUES}"' failed
HELM_BIN="helm"
HELM_BURST_LIMIT="100"
HELM_CACHE_HOME="/tmp/bats-run-oeR0HH/suite/.cache/helm"
HELM_CONFIG_HOME="/tmp/bats-run-oeR0HH/suite/.config/helm"
HELM_DATA_HOME="/tmp/bats-run-oeR0HH/test/112/plugin dir"
HELM_DEBUG="false"
HELM_KUBEAPISERVER=""
HELM_KUBEASGROUPS=""
HELM_KUBEASUSER=""
HELM_KUBECAFILE=""
HELM_KUBECONTEXT=""
HELM_KUBEINSECURE_SKIP_TLS_VERIFY="false"
HELM_KUBETLS_SERVER_NAME=""
HELM_KUBETOKEN=""
HELM_MAX_HISTORY="10"
HELM_NAMESPACE="default"
HELM_PLUGINS="/tmp/bats-run-oeR0HH/test/112/plugin dir/plugins"
HELM_QPS="0.00"
HELM_REGISTRY_CONFIG="/tmp/bats-run-oeR0HH/suite/.config/helm/registry/config.json"
HELM_REPOSITORY_CACHE="/tmp/bats-run-oeR0HH/suite/.cache/helm/repository"
HELM_REPOSITORY_CONFIG="/tmp/bats-run-oeR0HH/suite/.config/helm/repositories.yaml"
NAME	VERSION	DESCRIPTION

-- regular expression does not match output --
regexp (1 lines):
  \[helm-secrets\] Decrypt: .*assets/values/sops/secrets.yaml
output (3 lines):
  Error: unknown command "secrets" for "helm"
  Run 'helm --help' for usage.
  helm.go:84: [debug] unknown command "secrets" for "helm"
--