17:11:28 ? terraform-provider-delphix [no test files]
17:11:28 === RUN TestProvider
17:11:28 --- PASS: TestProvider (0.00s)
17:11:28 === RUN TestProvider_impl
17:11:28 --- PASS: TestProvider_impl (0.00s)
17:11:28 === RUN TestAccEnvironment_positive
17:11:28 cannot run Terraform provider tests: unexpected Content-Type: "application/vnd+hashicorp.releases-api.v0+json"
17:11:28 FAIL terraform-provider-delphix/internal/provider 0.431s
17:11:28 FAIL
Solution:
As indicated by a google search, this is a bug in a library we're using (github.com/hashicorp/hc-install), which has been fixed in recent versions, so we're bumping the version. While testing the fix, I also discovered that one of the tests used the ExpectNonEmptyPlan feature, but this is now breaking the code since we have fixed DCT to wait for changes to be applied on updates.
Problem:
Terraform blackbox tests are failing with
Solution:
As indicated by a google search, this is a bug in a library we're using (github.com/hashicorp/hc-install), which has been fixed in recent versions, so we're bumping the version. While testing the fix, I also discovered that one of the tests used the
ExpectNonEmptyPlan
feature, but this is now breaking the code since we have fixed DCT to wait for changes to be applied on updates.Testing
Ran a Jenkins run, and manually applied the library version bump to the VM created by Jenkins http://regression.jenkins.delphix.com/job/regression-tests/job/6.0-stage/job/dct_terraform/job/dct_terraform-ORACLE/13/console This revealed the issue in
TestAccVdb_provision_positive
described above, which I tested by running the test on the same machine from the terminal directly: