mirror of
https://github.com/hashicorp/packer.git
synced 2026-04-22 06:37:02 -04:00
Tests results on current branch; install succeeded which was not expected
```
2021/02/16 14:02:24 ui: Installed plugin example.com/sylviamoss/comment v0.2.19 in "/tmp/pkr-test-cfg-dir-6_pkr_config458005728/example.com/sylviamoss/comment/packer-plugin-comment_v0.2.19_x5.0_linux_amd64"
init_test.go:361: InitCommand.Run() = 0, want 1
init_test.go:381: unexpected dir hash after init: string(
- "h1:47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=",
+ "h1:iVtzkl/nVm2KiLvlz8rH56ME8QEqRxq8+XT2Lo6bzGU=",
)
--- FAIL: TestInitCommand_Run (6.39s)
--- PASS: TestInitCommand_Run/already-installed-no-op (0.01s)
--- PASS: TestInitCommand_Run/already-installed-no-op/-subtest-0 (0.00s)
--- PASS: TestInitCommand_Run/already-installed-upgrade (2.30s)
--- PASS: TestInitCommand_Run/already-installed-upgrade/-subtest-0 (0.06s)
--- PASS: TestInitCommand_Run/release-with-no-binary (0.17s)
--- PASS: TestInitCommand_Run/manually-installed-single-component-plugin-works (1.32s)
--- PASS: TestInitCommand_Run/manually-installed-single-component-plugin-works/-subtest-0 (0.01s)
--- PASS: TestInitCommand_Run/manually-installed-single-component-plugin-old-api-fails (1.42s)
--- PASS: TestInitCommand_Run/manually-installed-single-component-plugin-old-api-fails/-subtest-0 (0.01s)
--- FAIL: TestInitCommand_Run/unsupported-non-github-source-address (1.18s)
```
Tests results after change with change in this branch
```
2021/02/16 14:03:14 [TRACE] getting available versions for the example.com/sylviamoss/comment plugin
2021/02/16 14:03:14 [TRACE] &{%!q(*github.Client=<nil>) "packer-getter-github-1.7.0-dev"} getter could not get release: example.com/sylviamoss/comment doesn't appear to be a valid github.com source address; check source and try again.
2021/02/16 14:03:14 [DEBUG] will try to install: []
2021/02/16 14:03:14 ui error: no release version found for the example.com/sylviamoss/comment plugin matching the constraint(s): "v0.2.19"
--- PASS: TestInitCommand_Run (5.38s)
--- PASS: TestInitCommand_Run/already-installed-no-op (0.01s)
--- PASS: TestInitCommand_Run/already-installed-no-op/-subtest-0 (0.00s)
--- PASS: TestInitCommand_Run/already-installed-upgrade (2.08s)
--- PASS: TestInitCommand_Run/already-installed-upgrade/-subtest-0 (0.07s)
--- PASS: TestInitCommand_Run/release-with-no-binary (0.21s)
--- PASS: TestInitCommand_Run/manually-installed-single-component-plugin-works (1.20s)
--- PASS: TestInitCommand_Run/manually-installed-single-component-plugin-works/-subtest-0 (0.01s)
--- PASS: TestInitCommand_Run/manually-installed-single-component-plugin-old-api-fails (1.88s)
--- PASS: TestInitCommand_Run/manually-installed-single-component-plugin-old-api-fails/-subtest-0 (0.01s)
--- PASS: TestInitCommand_Run/unsupported-non-github-source-address (0.00s)
```
|
||
|---|---|---|
| .. | ||
| enumflag | ||
| flag-kv | ||
| flag-slice | ||
| test-fixtures | ||
| build.go | ||
| build_cancellation_test.go | ||
| build_cleanup_script_test.go | ||
| build_parallel_test.go | ||
| build_test.go | ||
| build_timeout_test.go | ||
| build_windows_test.go | ||
| cli.go | ||
| command_test.go | ||
| config_file_unix.go | ||
| config_file_windows.go | ||
| configtype_enumer.go | ||
| console.go | ||
| console_test.go | ||
| core_wrapper.go | ||
| exec_test.go | ||
| fix.go | ||
| fix_test.go | ||
| fmt.go | ||
| fmt_test.go | ||
| hcl2_upgrade.go | ||
| hcl2_upgrade_test.go | ||
| init.go | ||
| init_test.go | ||
| inspect.go | ||
| inspect_test.go | ||
| meta.go | ||
| plugin.go | ||
| signal.go | ||
| utils.go | ||
| utils_test.go | ||
| validate.go | ||
| validate_test.go | ||
| version.go | ||
| version_test.go | ||