This project is mirrored from https://gitee.com/NQL886/packer.git. Pull mirroring failed .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer.
  1. 19 Jan, 2022 3 commits
  2. 18 Jan, 2022 1 commit
  3. 17 Jan, 2022 1 commit
  4. 14 Jan, 2022 1 commit
  5. 13 Jan, 2022 3 commits
  6. 11 Jan, 2022 4 commits
  7. 05 Jan, 2022 2 commits
  8. 23 Dec, 2021 1 commit
  9. 20 Dec, 2021 1 commit
  10. 17 Dec, 2021 7 commits
  11. 16 Dec, 2021 1 commit
  12. 15 Dec, 2021 2 commits
  13. 14 Dec, 2021 2 commits
  14. 13 Dec, 2021 1 commit
  15. 12 Dec, 2021 2 commits
  16. 09 Dec, 2021 1 commit
  17. 08 Dec, 2021 1 commit
    • Wilken Rivera's avatar
      Fix basic datasource acceptance test flakiness (#11438) · 9b2f520b
      Wilken Rivera authored
      This change sets a region on the test datasource config to fix intermittent InvalidAMIID.NotFound errors.
      
      Closes https://github.com/hashicorp/packer-internal-issues/issues/14
      
      Failing results before change
      
      ```
      > AWS_DEFAULT_REGION=us-west-1 make testacc
      === RUN   TestAccInitAndBuildBasicAmazonAmiDatasource
      2021/12/07 20:40:05 [INFO] AWS Auth provider used: "SharedCredentialsProvider"
      2021/12/07 20:40:05 Found region us-west-1
      2021/12/07 20:40:05 [INFO] AWS Auth provider used: "SharedCredentialsProvider"
          pluginacc.go:143: Error running plugin acceptance tests: Bad exit code. Logfile: packer_log_amazon-ami_basic_datasource_test.txt
              Logs can be found at /Users/wilkenrivera/Development/packer/acctest/plugin/packer_log_amazon-ami_basic_datasource_test.txt
              and the acceptance test template can be found at /Users/wilkenrivera/Development/packer/acctest/plugin/amazon-ami_basic_datasource_test.pkr.hcl
      --- FAIL: TestAccInitAndBuildBasicAmazonAmiDatasource (9.87s)
      FAIL
      FAIL    github.com/hashicorp/packer/acctest/plugin      10.326s
      ```
      
      Passing results after change
      ```
      > AWS_DEFAULT_REGION=us-west-1 make testacc
      === RUN   TestAccInitAndBuildBasicAmazonAmiDatasource
      2021/12/07 20:47:28 [INFO] AWS Auth provider used: "SharedCredentialsProvider"
      2021/12/07 20:47:28 Found region us-west-1
      2021/12/07 20:47:28 [INFO] AWS Auth provider used: "SharedCredentialsProvider"
      --- PASS: TestAccInitAndBuildBasicAmazonAmiDatasource (223.32s)
      PASS
      
      ```
      9b2f520b
  18. 07 Dec, 2021 3 commits
  19. 06 Dec, 2021 1 commit
  20. 03 Dec, 2021 1 commit
  21. 02 Dec, 2021 1 commit