Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[stable-7] Fix missing FQCNs in integration test (#1902) #1906

Conversation

tremble
Copy link
Contributor

@tremble tremble commented Dec 5, 2023

SUMMARY

This PR fixes the integration tests to use FQCN throughout. Every change has been generated by running ansible-lint --fix with the write_list limited to fqcn. The one exception is the manual removal of the tests/integration/targets/aws_region_info/main.yml which ansible-lint was failing on. This seems to be unused? It attempts to include tasks/tests.yml which does not exist.

The ansible-lint config used to generate this changeset:

---
exclude_paths:
  - plugins/ write_list:
  - fqcn

I had to exclude the plugins/ directory because ansible-lint was crashing, I suspect because of docstrings. It did not provide enough information in debug or traceback to identify which file was causing the problem.

ISSUE TYPE
  • Bugfix Pull Request
COMPONENT NAME
ADDITIONAL INFORMATION

@tremble tremble changed the title Fix missing FQCNs in integration test (#1902) [stable-7] Fix missing FQCNs in integration test (#1902) Dec 5, 2023
@tremble tremble marked this pull request as ready for review December 5, 2023 19:00
SUMMARY

This PR fixes the integration tests to use FQCN throughout. Every change has been generated by running ansible-lint --fix with the write_list limited to fqcn. The one exception is the manual removal of the tests/integration/targets/aws_region_info/main.yml which ansible-lint was failing on. This seems to be unused? It attempts to include tasks/tests.yml which does not exist.

The ansible-lint config used to generate this changeset:

---
exclude_paths:
  - plugins/
write_list:
  - fqcn

I had to exclude the plugins/ directory because ansible-lint was crashing, I suspect because of docstrings. It did not provide enough information in debug or traceback to identify which file was causing the problem.

ISSUE TYPE

    Bugfix Pull Request

COMPONENT NAME

ADDITIONAL INFORMATION
@tremble tremble force-pushed the backports/stable-7/1902 branch from 1003742 to 8f3eb0b Compare December 5, 2023 19:01
@tremble tremble requested a review from gravesm December 5, 2023 19:01
Copy link
Contributor

Build failed.
https://ansible.softwarefactory-project.io/zuul/buildset/e911523c6d7241d49f5a5ac1f71db991

✔️ ansible-galaxy-importer SUCCESS in 5m 22s
✔️ build-ansible-collection SUCCESS in 16m 04s
✔️ ansible-test-splitter SUCCESS in 6m 19s
✔️ integration-amazon.aws-1 SUCCESS in 24m 50s
integration-amazon.aws-2 RETRY_LIMIT in 7m 14s
✔️ integration-amazon.aws-3 SUCCESS in 19m 10s
✔️ integration-amazon.aws-4 SUCCESS in 30m 09s
✔️ integration-amazon.aws-5 SUCCESS in 30m 55s
✔️ integration-amazon.aws-6 SUCCESS in 46m 07s
✔️ integration-amazon.aws-7 SUCCESS in 17m 18s
✔️ integration-amazon.aws-8 SUCCESS in 34m 21s
✔️ integration-amazon.aws-9 SUCCESS in 48m 26s
✔️ integration-amazon.aws-10 SUCCESS in 33m 13s
✔️ integration-amazon.aws-11 SUCCESS in 40m 08s
integration-amazon.aws-12 RETRY_LIMIT in 1m 40s
integration-amazon.aws-13 RETRY_LIMIT in 6m 58s
✔️ integration-amazon.aws-14 SUCCESS in 24m 28s
✔️ integration-amazon.aws-15 SUCCESS in 50m 06s
✔️ integration-amazon.aws-16 SUCCESS in 55m 01s
✔️ integration-amazon.aws-17 SUCCESS in 49m 17s
✔️ integration-amazon.aws-18 SUCCESS in 29m 37s
✔️ integration-amazon.aws-19 SUCCESS in 53m 53s
✔️ integration-amazon.aws-20 SUCCESS in 34m 02s
✔️ integration-amazon.aws-21 SUCCESS in 19m 41s
✔️ integration-amazon.aws-22 SUCCESS in 22m 19s
Skipped 22 jobs

@tremble tremble requested a review from alinabuzachis December 6, 2023 07:39
@tremble tremble added the mergeit Merge the PR (SoftwareFactory) label Dec 8, 2023
@tremble
Copy link
Contributor Author

tremble commented Dec 8, 2023

recheck

Copy link
Contributor

Build failed.
https://ansible.softwarefactory-project.io/zuul/buildset/4d1b3336ddbe40d1b7d4d80e4480f25e

✔️ ansible-galaxy-importer SUCCESS in 4m 00s
✔️ build-ansible-collection SUCCESS in 14m 18s
✔️ ansible-test-splitter SUCCESS in 5m 24s
✔️ integration-amazon.aws-1 SUCCESS in 25m 04s
✔️ integration-amazon.aws-2 SUCCESS in 39m 45s
✔️ integration-amazon.aws-3 SUCCESS in 19m 55s
✔️ integration-amazon.aws-4 SUCCESS in 38m 41s
✔️ integration-amazon.aws-5 SUCCESS in 36m 02s
✔️ integration-amazon.aws-6 SUCCESS in 49m 13s
✔️ integration-amazon.aws-7 SUCCESS in 17m 47s
✔️ integration-amazon.aws-8 SUCCESS in 40m 11s
✔️ integration-amazon.aws-9 SUCCESS in 47m 33s
✔️ integration-amazon.aws-10 SUCCESS in 34m 45s
✔️ integration-amazon.aws-11 SUCCESS in 42m 54s
✔️ integration-amazon.aws-12 SUCCESS in 15m 38s
✔️ integration-amazon.aws-13 SUCCESS in 24m 09s
✔️ integration-amazon.aws-14 SUCCESS in 24m 17s
✔️ integration-amazon.aws-15 SUCCESS in 48m 44s
✔️ integration-amazon.aws-16 SUCCESS in 51m 45s
✔️ integration-amazon.aws-17 SUCCESS in 52m 01s
integration-amazon.aws-18 FAILURE in 32m 25s
✔️ integration-amazon.aws-19 SUCCESS in 44m 59s
✔️ integration-amazon.aws-20 SUCCESS in 31m 56s
✔️ integration-amazon.aws-21 SUCCESS in 19m 42s
✔️ integration-amazon.aws-22 SUCCESS in 31m 49s
Skipped 22 jobs

Copy link
Contributor

Build succeeded (gate pipeline).
https://ansible.softwarefactory-project.io/zuul/buildset/143be5aff16b4bd5b3a82c5d929b7d14

✔️ ansible-galaxy-importer SUCCESS in 4m 26s
✔️ build-ansible-collection SUCCESS in 15m 39s
✔️ ansible-test-splitter SUCCESS in 5m 26s
✔️ integration-amazon.aws-1 SUCCESS in 22m 12s
✔️ integration-amazon.aws-2 SUCCESS in 38m 14s
✔️ integration-amazon.aws-3 SUCCESS in 18m 45s
✔️ integration-amazon.aws-4 SUCCESS in 31m 32s
✔️ integration-amazon.aws-5 SUCCESS in 29m 39s
✔️ integration-amazon.aws-6 SUCCESS in 45m 13s
✔️ integration-amazon.aws-7 SUCCESS in 18m 44s
✔️ integration-amazon.aws-8 SUCCESS in 38m 25s
✔️ integration-amazon.aws-9 SUCCESS in 49m 12s
✔️ integration-amazon.aws-10 SUCCESS in 37m 09s
✔️ integration-amazon.aws-11 SUCCESS in 44m 29s
✔️ integration-amazon.aws-12 SUCCESS in 14m 00s
✔️ integration-amazon.aws-13 SUCCESS in 21m 38s
✔️ integration-amazon.aws-14 SUCCESS in 30m 54s
✔️ integration-amazon.aws-15 SUCCESS in 45m 32s
✔️ integration-amazon.aws-16 SUCCESS in 48m 54s
✔️ integration-amazon.aws-17 SUCCESS in 47m 14s
✔️ integration-amazon.aws-18 SUCCESS in 28m 04s
✔️ integration-amazon.aws-19 SUCCESS in 45m 47s
✔️ integration-amazon.aws-20 SUCCESS in 35m 00s
✔️ integration-amazon.aws-21 SUCCESS in 19m 18s
✔️ integration-amazon.aws-22 SUCCESS in 39m 39s
Skipped 22 jobs

@softwarefactory-project-zuul softwarefactory-project-zuul bot merged commit b4ab16e into ansible-collections:stable-7 Dec 8, 2023
39 of 40 checks passed
Copy link

github-actions bot commented Dec 8, 2023

Docs Build 📝

Thank you for contribution!✨

This PR has been merged and your docs changes will be incorporated when they are next published.

@tremble tremble deleted the backports/stable-7/1902 branch January 12, 2024 09:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mergeit Merge the PR (SoftwareFactory) skip-changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants