提交 2b591741 编写于 作者: K Kris Macoskey 提交者: Kristofer Macoskey

ci: fix race condition in gptransfer ccp multi-cluster tests

A race condition was occuring because the set of concourse tasks that
create the second of two CCP clusters was expecting to find and use the
`terraform` volume. The `terraform` volume is expected to only be created
and used in the first set of tasks for the first CCP cluster. If the
first set of tasks did not complete before the second set then there was
the potential for the `terraform` volume to not exist yet. This causes
the job to error in concourse.

The fix is to correct the mistake of the second set of tasks using the
wrong volume. They should only be using the `terraform2` volume. This
completely removes the potential for the race condition.
Authored-by: NKris Macoskey <kmacoskey@pivotal.io>
上级 b91a78a9
......@@ -12,7 +12,7 @@
## file (example: templates/gpdb-tpl.yml) and regenerate the pipeline
## using appropriate tool (example: gen_pipeline.py -t prod).
## ----------------------------------------------------------------------
## Generated by gen_pipeline.py at: 2018-09-01 16:55:38.884770
## Generated by gen_pipeline.py at: 2018-09-06 16:20:51.106027
## Template file: gpdb-tpl.yml
## OS Types: ['centos6', 'centos7', 'sles', 'aix7', 'win', 'ubuntu16']
## Test Sections: ['ICW', 'CS', 'MPP', 'MM', 'DPM', 'UD', 'FileRep', 'AA']
......@@ -3437,6 +3437,8 @@ jobs:
output_mapping:
cluster_env_files: cluster_env_files2
- task: gpinitsystem
input_mapping:
terraform: terraform2
config:
platform: linux
image_resource:
......@@ -3538,6 +3540,8 @@ jobs:
output_mapping:
cluster_env_files: cluster_env_files2
- task: gpinitsystem
input_mapping:
terraform: terraform2
config:
platform: linux
image_resource:
......
......@@ -3076,6 +3076,8 @@ jobs:
output_mapping:
cluster_env_files: cluster_env_files2
- task: gpinitsystem
input_mapping:
terraform: terraform2
config:
platform: linux
image_resource:
......@@ -3177,6 +3179,8 @@ jobs:
output_mapping:
cluster_env_files: cluster_env_files2
- task: gpinitsystem
input_mapping:
terraform: terraform2
config:
platform: linux
image_resource:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册