Commit Graph

10207 Commits (4916be24fd8be0c223bf5e5f641d676a8d56ad82)

Author SHA1 Message Date
Matt Clay 6fde9b3a23 Fix shebang sanity test module identification. 4 years ago
Jordan Borean aaf575f0b2 Internally redirect win modules to collection name (#68317)
* Internally redirect win modules to collection name

* Added comment for how this should be fixed in a subsystem plugin

* add collection plugins for base tests
4 years ago
Matt Clay 2c7f8bf586 Fix ansible-test windows-integration module refs. 4 years ago
Matt Clay a63dd92a45 Clean up network test config. 4 years ago
Matt Martz 26da443fd2 Address compat issue for collection loading on py26 (#68219)
* Address compat issue for collection loading on py26

* Move import_module shim to utils for compat across the codebase

* Enable collection tests on py2.6

* Update changelog fragment

* Simplify code using sys.moduls

* Move compat to module_utils/compat/importlib

* Add back errantly deleted newline

* Remove hack comment

Co-Authored-By: Matt Clay <matt@mystile.com>

Co-authored-by: Matt Clay <matt@mystile.com>
4 years ago
Matt Clay 41f6c73be0 Update ansible-test network test provisioning. (#68220)
* Update network provisioning defaults.

* Update network test requirements.
4 years ago
Matt Clay 5159457ba1 Fix ansible-test unit test requirements.
Requirements were incorrectly added to ansible-test in https://github.com/ansible/ansible/pull/61813

These requirements should have been placed into `test/units/requirements.txt` instead.
Now that the relevant content has been migrated out of the repository, the requirements are no longer necessary there either.

No changelog entry for this change since the original changes were not included in any release and also lacked a changelog entry.
4 years ago
Matt Clay 2dd9c479dc Remove unnecessary unit test requirements. 4 years ago
Matt Clay 815a36d7a9 Fix sanity test ignores. 4 years ago
Matt Clay 7e8dae5790 Remove unused unit test files. 4 years ago
Matt Clay 9126ac53e3 Add dynamic and static include tests. (#68200)
* Add dynamic and static include tests.

* Update task names for junit output.
4 years ago
Matt Clay 8715bc400a Add coverage filtering to ansible-test. (#68158)
* Relocate expand_indexes so it can be reused.

* Add generate_indexes function.

* Simplify type annotations.

* Add `coverage analyze targets filter` command.

* Add changelog entry.
4 years ago
Matt Clay 09614d90ac Consolidate Windows tests to one group. 4 years ago
Matt Clay 27ce6dbc1f Remove test support option from ansible-test.
This option was added to facilitate migration and is no longer needed.
4 years ago
Matt Clay fb3e6d6b00 Remove unused Shippable scripts. 4 years ago
Matt Clay 50442f9fdd Fix ansible-test handling of no Python coverage. 4 years ago
Matt Clay 99e136e153 Remove out-of-date test constraint on paramiko.
ci_complete
4 years ago
Rick Elrod 26c45b2c2f Fix docker_swarm inventory integration tests (#68126)
* copy plugins.inventory.docker_swarm in to test/support

Signed-off-by: Rick Elrod <rick@elrod.me>

* Copy over functions from module_utils.docker.common and nuke the import

Signed-off-by: Rick Elrod <rick@elrod.me>
4 years ago
Matt Clay 5e28323f32 Fix incidental test stability. (#68125) 4 years ago
Alicia Cozine 69543b47c9 fix last 7 docs errors on post-migration test runs (#68115)
* address toc-tree-glob-pattern-no-match errors

* address Include-file-not-found error

* address 2.10 porting guide errors, add warning to page

* updates individual plugin type pages

* Add ignores.

Co-authored-by: Alicia Cozine <acozine@users.noreply.github.com>
Co-authored-by: Matt Clay <matt@mystile.com>
4 years ago
Matt Clay 4cecacb915 Update Shippable test matrix. (#68117)
* Update Shippable test matrix.

* Remove unit test groups.

* Remove extra windows groups.
4 years ago
Ansible Core Team e0e57b4beb migration final cleanup 4 years ago
Ansible Core Team c788ee69d9 Migrated to wti.remote 4 years ago
Ansible Core Team cc2feea51b Migrated to vyos.vyos 4 years ago
Ansible Core Team 40714dfca9 Migrated to openvswitch.openvswitch 4 years ago
Ansible Core Team ab914b9ab6 Migrated to azure.azcollection 4 years ago
Ansible Core Team fe0f4750e1 Migrated to purestorage.flashblade 4 years ago
Ansible Core Team d9920706d7 Migrated to purestorage.flasharray 4 years ago
Ansible Core Team 7449ec1546 Migrated to google.cloud 4 years ago
Ansible Core Team fb696bf66b Migrated to cyberark.bizdev 4 years ago
Ansible Core Team b82d084e90 Migrated to skydive.skydive 4 years ago
Ansible Core Team dd5a8dec21 Migrated to hetzner.hcloud 4 years ago
Ansible Core Team 36a545553e Migrated to dellemc_networking.os6 4 years ago
Ansible Core Team bc40fe0b6f Migrated to dellemc_networking.os9 4 years ago
Ansible Core Team 0b633b3703 Migrated to dellemc_networking.os10 4 years ago
Ansible Core Team d1f86d7151 Migrated to ovirt.ovirt 4 years ago
Ansible Core Team 02541a15b2 Migrated to awx.awx 4 years ago
Ansible Core Team 35063de590 Migrated to junipernetworks.junos 4 years ago
Ansible Core Team 8ee0187388 Migrated to openstack.cloud 4 years ago
Ansible Core Team 6ce86295c0 Migrated to f5networks.f5_modules 4 years ago
Ansible Core Team 675129ae19 Migrated to cisco.ucs 4 years ago
Ansible Core Team 3149db0869 Migrated to cisco.nxos 4 years ago
Ansible Core Team ae8fb5e371 Migrated to cisco.mso 4 years ago
Ansible Core Team 8a3f3e41f8 Migrated to cisco.meraki 4 years ago
Ansible Core Team 5aa37733c3 Migrated to cisco.iosxr 4 years ago
Ansible Core Team 7e04b5ba8b Migrated to cisco.ios 4 years ago
Ansible Core Team 8a2e2e8af2 Migrated to cisco.intersight 4 years ago
Ansible Core Team ab5a3b4305 Migrated to cisco.asa 4 years ago
Ansible Core Team 3f1cea89fb Migrated to cisco.aci 4 years ago
Ansible Core Team 14b0ab63ac Migrated to arista.eos 4 years ago
Ansible Core Team 6da1ec1d8c Migrated to check_point.mgmt 4 years ago
Ansible Core Team f0cf2c159b Migrated to netapp.ontap 4 years ago
Ansible Core Team cae9d633b0 Migrated to netapp.elementsw 4 years ago
Ansible Core Team 0a9205b7c0 Migrated to netapp.aws 4 years ago
Ansible Core Team bdd82adf61 Migrated to netbox.netbox 4 years ago
Ansible Core Team 0743e733bb Migrated to theforeman.foreman 4 years ago
Ansible Core Team 09d8d46983 Migrated to fortinet.fortios 4 years ago
Ansible Core Team 48d4e9370e Migrated to ansible.windows 4 years ago
Ansible Core Team 829eb0f1d1 Migrated to ansible.posix 4 years ago
Ansible Core Team 9a7a574ffc Migrated to ansible.netcommon 4 years ago
Ansible Core Team 6d910034a0 Migrated to ansible.amazon 4 years ago
Ansible Core Team 8f7e9f73ce Migrated to servicenow.servicenow 4 years ago
Ansible Core Team bb3494356a Migrated to community.windows 4 years ago
Ansible Core Team 40218535ee Migrated to community.vmware 4 years ago
Ansible Core Team f8c4936c10 Migrated to community.vmware_rest 4 years ago
Ansible Core Team 46b865c7d6 Migrated to community.mongo 4 years ago
Ansible Core Team 0ed8af9021 Migrated to community.crypto 4 years ago
Ansible Core Team fb6bc5058a Migrated to community.kubernetes 4 years ago
Ansible Core Team 43f47d553e Migrated to community.grafana 4 years ago
Ansible Core Team 4e488d8435 Migrated to community.general 4 years ago
Ansible Core Team 58e8a91f4d Migrated to community.amazon 4 years ago
Ansible Core Team 32bf1b8115 Migrated to frr.frr 4 years ago
Ansible Core Team 38c652712c Migrated to containers.podman 4 years ago
Matt Clay d7b7ed6ba6 Remove assemble from incidental tests.
The module and action plugin are now remaining in base.
4 years ago
Rick Elrod 21dfec6c4f make test_raw use setUp instead of global definitions
Signed-off-by: Rick Elrod <rick@elrod.me>
4 years ago
Matt Clay 2c0be65f44
Relocate netbox module_utils unit tests. (#68056)
* Relocate netbox module_utils unit tests.

This puts them where migration expects them.

* Update sanity ignores.
4 years ago
Rick Elrod 65edd5e37f Split test_connection into individual files
Signed-off-by: Rick Elrod <rick@elrod.me>
4 years ago
Matt Clay 35996e57ab Add missing test support plugin. 4 years ago
Matt Clay 46fdbbdd18
Split test_play_context_make_become_cmd into files (#68026)
* Split test_play_context_make_become_cmd into files

For NWO migration. Split the become module assertions into distinct test
files and functions. For now, this is done naively - there is probably
room to abstract these tests out and remove some of the duplication
later on.

Signed-off-by: Rick Elrod <rick@elrod.me>

* use default_exe variable instead of hardcoding /bin/bash

Signed-off-by: Rick Elrod <rick@elrod.me>

* Move become plugin tests to their proper directory and rename them accordingly

Signed-off-by: Rick Elrod <rick@elrod.me>

* Fix up fixtures and imports.

* Remove stray file.

Co-authored-by: Matt Clay <matt@mystile.com>
4 years ago
Matt Clay f963c8ca3d Update no-unwanted-files sanity test.
This prepares for an additional path to be present after migration.
4 years ago
Matt Clay b26ceb57ce Remove file exists check from botmeta sanity test.
Many of the paths in botmeta will no longer exist after migration, making this check pointless.
4 years ago
Matt Clay 4fb7e62003
Include more test support plugins. (#68015)
* Include more test support plugins.

Also add missing module_utils `__init__.py` files.

* Update sanity ignores.
4 years ago
Matt Clay a51266ba85 Skip removed windows CI groups after migration. 4 years ago
Matt Clay 8339704831
Create a dedicated windows-minimal test target. (#67987)
* Create a dedicated windows-minimal test target.

The windows-minimal target is a copy of the win_ping test, taking the place of that test as the windows minimal test run on multiple python versions.

It includes a private copy of the win_ping module so it will work after migration.

This will keep tests passing during the migration prep process.

* Update sanity ignores.
4 years ago
Matt Clay 3508e1197e
Update test matrix to prepare for migration. (#67983)
* Split fallaxy tests into their own group.

This keeps expected pass/fail tests separate during migration prep.

* Move network tests down in matrix.

This will help keep pass/fail tests grouped together during migration prep.

* Group all incidental tests together.

This will keep pass/fail tests separate leading up to migration.
4 years ago
Matt Clay f4b923a29b Automatically enable test plugins after migration. 4 years ago
Matt Clay 1a8fdaadc7 Fix powershell coverage path rewriting.
This applies the same rewrite logic to PowerShell coverage as is used for Python coverage.
4 years ago
Jordan Borean b241c021b7 Set fallaxy tests as a smoketest 4 years ago
Matt Clay 7c493577ba
Unit test cleanup to assist with migration. (#67920)
* Move linode unit tests to match module layout.

* Fix location of netapp module_utils unit tests.

* Update sanity ignores.
4 years ago
Nilashish Chakraborty d4581aca96
Update nxos_l2_interfaces merged test (#67918)
Signed-off-by: NilashishC <nilashishchakraborty8@gmail.com>
4 years ago
Adharsh Srivats R 7307339a7e
NX-OS ACLs module (#67558)
* Added nxos_acls module

* Adding tests

* Added integration tests

* Integration tests update

* Updated documentation

* Replaced state changes

* Added warning detection

* Added port-protocol mapping

* Added change

* Merge update changes

* Completed integration tests, rtt

* Added unit tests

* Linting

Added metaclass info

* Changed port protocol to str

* Fixed shippable errors, added examples

* Fixed type error, updated examples
4 years ago
Martin Nečas 4ef7bd4c79
ovirt: update botmeta deprecated (#67826)
* ovirt: update botmeta deprecated

* correct deprecate option

* remove duplication

* add removed_module

* add removed_module to external_provider

* add imports and metaclass

* update misc ovirt

* update sanity tests to have correct misc ovirt name

Signed-off-by: mnecas <necas.marty@gmail.com>

* remove unnecessary sanity ignore
4 years ago
Sumit Jaiswal 4e43bd3a4f
fix nxos_l2 resource tests (#67916) 4 years ago
Matt Clay 29978d027b Update default test container to version 1.12. 4 years ago
Matt Clay 637d1f19d5 Skip lookup tests on Python 2.6.
Lookups are only executed on the controller and Python 2.6 is no longer supported on the controller.
4 years ago
Matt Clay 64782dd815
Split unit tests into 3 groups. (#67917) 4 years ago
Jordan Borean 97d2d4512f
Separated ps module_util test targets, added WebRequest tests (#67914)
* Separated ps module_util test targets, added WebRequest tests

* Simplify header test
4 years ago
Jordan Borean c66ee7e994
Split C# module utils to their own test target (#67910)
* Split C# module utils to their own test target

* Fix up outstanding sanity ignores
4 years ago
Adharsh Srivats R f3ddf1bc95
NX-OS ACL interfaces module (#67505)
* Rebase

* Completed integration tests

* Added unit tests

* Added warning detection

* Updated tests

* Completed tests

* Linting

Linting II

YAML Lint

Linting

* Updated review changes

* Updated examples, fixed reviews

* Added failure condition

* Resolved merge conflict
4 years ago
Matt Clay 42eba3ce25 Increase unit test timeout. 4 years ago