17:01:30 #startmeeting Ansible Testing Working Group 17:01:30 Meeting started Thu Aug 30 17:01:30 2018 UTC. 17:01:30 This meeting is logged and archived in a public location. 17:01:30 The chair is mattclay. Information about MeetBot at http://wiki.debian.org/MeetBot. 17:01:30 Useful Commands: #action #agreed #halp #info #idea #link #topic. 17:01:30 The meeting name has been set to 'ansible_testing_working_group' 17:01:35 #chair gundalow 17:01:35 Current chairs: gundalow mattclay 17:02:10 #info Agenda: https://github.com/ansible/community/issues/248 17:02:49 Pilou: Are you around? 17:02:50 o/ 17:02:54 #chair Pilou 17:02:54 Current chairs: Pilou gundalow mattclay 17:04:03 #info We've migrated most of our Docker test containers from Docker Hub to quay.io for use in ansible-test and on Shippable. Only the default container remains to be migrated. The distribution specific test containers are here: https://github.com/ansible/distro-test-containers 17:04:56 does that change something when using ansible-test command ? 17:05:32 Pilou: In most cases, no, unless you've been using custom containers. Even then, in most cases, it will work as before. 17:06:01 Pilou: The main thing you'll notice is you'll have to download the new containers when using `--docker` and running tests locally. 17:08:04 Pilou: Did you want to discuss the items you put on the agenda? 17:10:07 yep, about #44814: should we copy the vault tarballs on the aws host used for other binaries/tarballs 17:10:33 on ansible-ci-files.s3.amazonaws.com 17:10:42 #topic hashi_vault lookup: add integration tests (https://github.com/ansible/ansible/pull/44814) 17:12:03 Pilou: Are you referring to this ZIP file? https://github.com/ansible/ansible/pull/44814/files#diff-99640b4d0ffa4ea3bc38e03a050646b4R6 17:12:46 yes 17:13:05 Pilou: Yes, can you put a list of the files to add to S3 in the PR and I'll upload them. 17:13:21 ok, thanks 17:13:53 Pilou: Thanks for thinking of that. Keeping the files in S3 goes a long ways towards reducing intermittent test failures due to issues downloading from external servers. 17:14:24 Pilou: Anything else to discuss for this PR? 17:14:36 nope 17:14:53 #topic Integration test dependency installation 17:15:04 Pilou: You had a second item on the agenda about integration test dependency installation. 17:15:36 my 2nd point: "local" connection is used by integration tests, when some tests install python packages, ansible-playbook command needs to be restarted in order to take in account these packages 17:15:58 Yes, that is a common issue when creating tests for plugins. 17:16:35 There are currently two ways to resolve that: Use a script based test (runme.sh) or use aliases to declare a setup dependency, which ansible-test will run in a separate execution of ansible-playbook. 17:16:51 Longer term I plan on integrating dependency handling into ansible-test, but that's not coming any time soon. 17:17:30 "use aliases to declare a setup dependency" -> could you point me an example please :) ? 17:19:10 Pilou: There are currently no tests using that feature. You need to add `setup/once/{target name}` to run once per ansible-test invocation, or `setup/always/{target name}` to run for each test target. 17:19:42 Pilou: So if you have a test target named `abc` the you might create a `setup_abc` target and add `setup/once/setup_abc` to the aliases for the `abc` target. 17:20:17 Pilou: But your current solution of using a runme.sh is probably just fine for now, if you prefer that approach. 17:20:48 Pilou: However, it would be nice to have an example of the setup aliases -- as I've had several people ask about them but we've not merged (and retained) any usage of it. 17:22:09 Pilou: Does that cover what you wanted to know? 17:22:26 besides the setup_openssl target, current solution handles installation of hvac package which doesn't belong to any target 17:23:04 mattclay: yes, thanks :) ! 17:23:47 openssl_certificate might be good candidate for an example of the setup aliases 17:23:48 #topic Open Floor 17:23:55 i will check that 17:24:00 Pilou: Ok, thanks. 17:24:01 Nothing from me 17:29:06 #endmeeting