terraform-google-modules / terraform-google-cloud-storage

Creates one or more Cloud Storage buckets and assigns basic permissions on them to arbitrary users
https://registry.terraform.io/modules/terraform-google-modules/cloud-storage/google
Apache License 2.0
167 stars 548 forks source link

make docker_test_integration failing #203

Closed zmaupin closed 1 year ago

zmaupin commented 1 year ago

TL;DR

I am attempting to submit changes that will allow the use of matches_prefix and matches_suffix. https://github.com/terraform-google-modules/terraform-google-cloud-storage/pull/202 However, when trying to test the changes I receive this failure (in my branch and the master branch).

~/work/github/terraform-google-cloud-storage master ❯ make docker_test_integration                                                                                                                   3m 50s 11:05:53
docker run --rm -it \
                -e SERVICE_ACCOUNT_JSON \
                -v /Users/zackary.maupin/work/github/terraform-google-cloud-storage:/workspace \
                gcr.io/cloud-foundation-cicd/cft/developer-tools:1.4 \
                /usr/local/bin/test_integration.sh
Activated service account credentials for: [zmtest@bx-ops-sandbox.iam.gserviceaccount.com]
Automatically setting inputs from outputs of test/setup
Activated service account credentials for: [ci-cloud-storage@ci-cloud-storage-073b.iam.gserviceaccount.com]
-----> Starting Test Kitchen (v2.7.2)
>>>>>> ------Exception-------
>>>>>> Class: Kitchen::UserError
>>>>>> Message: Kitchen YAML file /workspace/kitchen.yml does not exist.
>>>>>> ----------------------
>>>>>> Please see .kitchen/logs/kitchen.log for more details
>>>>>> Also try running `kitchen diagnose --all` for configuration

-----> Starting Test Kitchen (v2.7.2)
>>>>>> ------Exception-------
>>>>>> Class: Kitchen::UserError
>>>>>> Message: Kitchen YAML file /workspace/kitchen.yml does not exist.
>>>>>> ----------------------
>>>>>> Please see .kitchen/logs/kitchen.log for more details
>>>>>> Also try running `kitchen diagnose --all` for configuration

make: *** [docker_test_integration] Error 20

Expected behavior

The tests should pass successfully in the master branch.

Observed behavior

No response

Terraform Configuration

None changed from master.

Terraform Version

Terraform v1.2.1

Additional information

No response

bharathkkb commented 1 year ago

Thanks for the report @zmaupin We forgot to update the target which will be fixed in #205. However, the CI is still failing due to a provider bug #204