Closed thelangley closed 2 years ago
@KevinJCross I think this might be for you
@thelangley Ive just tried 5.2.2 it seems to work correctly.
I believe you may just need to update your golang version to use golang 1.16 or higher. Golang 1.15 seems to give some "undefined: X" errors.
To prevent this in future Im currently adding some checks into the test script to check both the ginkgo version and golang. I will also update the running docs.
BTW please give more information when reporting an issue, like golang version, Release version, and commands used to run the tests when reporting an error. This would save us some time.
Sorry about that.
golang version was 1.16, re-running thorough the pipeline with 1.18
release version was 5.2.2
commands was ./src/acceptance/bin/test_default with some --flake-attempts set to 3
I'll let you know how I get on. Thanks again
ok ... So this was not using the acceptance test release artifact ?
try using the acceptance tar from our release section: https://github.com/cloudfoundry/app-autoscaler-release/releases/download/5.2.2/app-autoscaler-acceptance-tests-v5.2.2.tgz
It has everything vendored so you dont need internet access.
then its cd accpetance/; ./bin/test_default .... or you can use the test script directly ./bin/test args...
ill check your way of running its possible our release scripts update the go.sum when it fendors for the artifact.
yup, Ive confirmed you actually need version 1.17+ to run it from the source code (the mod file is in 1.17 format), where you only need 1.16+ to run it from the artifact. If you update your golang version to 1.17+ then it will work. I'll be updating the scripts shortly to check for 1.17+ go when executing to avoid this confusion. https://github.com/cloudfoundry/app-autoscaler-release/pull/586
that is great. thanks.
yeah all looks good in 1.17+
It looks like something hasn't been fully
go mod download
ed as part of the tests