Open codegold79 opened 2 years ago
@tylerschultz, do you think the error is happening because the runner running the unit tests doesn't have ytt
installed? Does that mean we should install ytt
somehow before running these tests?
make tools
should install all the tooling binaries required in ./bin/
. It's possible the test isn't using binaries from that location.
Bug description
Release stage tests are failing. It seems
ytt
is not in the runners$PATH
environment variable.See test logs here: https://github.com/vmware-tanzu/tanzu-framework/runs/6535358353?check_suite_focus=true
In short, the errors look like,
Here is the full log of the Cluster-API-* unit tests:
Affected product area (please put an X in all that apply)
Expected behavior
All unit tests should pass.
Steps to reproduce the bug
Not sure how to verify on local because when I do
go test
in the/packages/cluster-api-provider-docker/test/unit/
directories, the unit tests tests pass. It's probably because my computer knows whereytt
is as it's correctly set in my$PATH
. The failure only showed up after I merged in PR 1906. It didn't show as failure in my PR and it allowed me to merge:Version (include the SHA if the version is not obvious)
Environment where the bug was observed (cloud, OS, etc)
Relevant Debug Output (Logs, manifests, etc)