taskcat icon indicating copy to clipboard operation
taskcat copied to clipboard

deployment failed with latest v0.9.37

Open praveenis opened this issue 2 years ago • 0 comments

Describe the bug We are seeing a deployment failure with Cloud formation template from AWS solution library with latest v0.9.37

To Reproduce Steps to reproduce the behavior:

  1. Are you testing a QuickStart or Custom template? AWS solution https://aws.amazon.com/solutions/
  2. Attach or link a copy of the template if possible (remove any sensitive info)
  3. Provide the parameters that you passed. (remove any sensitive info)
  4. How did you install taskcat? (docker or pip3) pip3 install -q taskcat
  5. Are you using a profile, an instance role or access keys to run taskcat? profile
  6. Is your AWS environment configured via aws configure? yes

Expected behavior deployment should be successful as in v0.9.36

Screenshots If applicable, add screenshots to help explain your problem.

**Version (Please make sure you are running the latest version of taskcat)

  • Taskcat Version 0.9.37 Python/3.9.11

Note: Python Version (python3 required)

To find versions: Via taskcat: taskcat -V Via pip3: pip3 show taskcat

Note: both version should match

To update taskcat run: for docker : docker pull taskcat/taskcat for pip3: pip3 install --upgrade taskcat

Additional context

We noticed a deployment failure after the TaskCat version 0.9.37 update with the below error message. taskcat test run --no-delete --lint-disable --minimal-output --input-file /codebuild/output/src894954791/src/tests/ci/taskcat1.yml

  • tee -a ./taskcat_output.txt version 0.9.37 [WARN ] : failed to load config from /codebuild/output/src894954791/src/tests/templates/.taskcat.yml [ERROR ] : ValueError '/codebuild/output/src894954791/src/tests/ci/taskcat1.yml' is not in the subpath of '/codebuild/output/src894954791/src/tests/templates' OR one path is relative and the other is absolute.

We tried deployment tests targeting to version 0.9.36 and it worked successfully.

Below is our folder structure.

solution-trademark-name -- ci ---- taskcat1.yml -- templates ---- solution-trademark-name.template

Currently, we have 100 similar folder for each AWS solutions. Temporarily we are targeting to TaskCat version 0.9.36 to continue running our deployment tests. Can you help us fixing this issue with v0.9.37.

praveenis avatar Mar 28 '23 16:03 praveenis