Skip to content

Instantly share code, notes, and snippets.

@sbeliakou
Created March 14, 2021 05:24
Show Gist options
  • Save sbeliakou/7c8587975495546352add661244aae12 to your computer and use it in GitHub Desktop.
Save sbeliakou/7c8587975495546352add661244aae12 to your computer and use it in GitHub Desktop.
Cloning into 'alena_averchanka1'...
name: alena_averchanka1, master/f860fe3 @ 2021-03-13 08:15:42 +0000
2021/03/14 05:19:19 config: tests/data-rendering.yml
2021/03/14 05:19:19 verbosity: 2
2021/03/14 05:19:19 -----------------------------------------------------------------------------------
2021/03/14 05:19:19 Running '3.1 Data Rendering', 1..4 tests
2021/03/14 05:19:19 -----------------------------------------------------------------------------------
2021/03/14 05:19:20 ✓ [3.1 Data Rendering] => 'data-rendering.yml' playbook syntax check (20), 903ms
2021/03/14 05:19:23 ✓ [3.1 Data Rendering] => playbook rollout - ccl team (50), 2.434s
2021/03/14 05:19:26 ✓ [3.1 Data Rendering] => playbook rollout - pgwy team (1), 2.938s
2021/03/14 05:19:28 ✓ [3.1 Data Rendering] => using loops (loop_control, loop_var, label) (1), 2.239s
2021/03/14 05:19:28 -----------------------------------------------------------------------------------
2021/03/14 05:19:28 Tests Summary:
2021/03/14 05:19:28 4 (of 4) tests passed, 0 tests failed; rated as 100.00%
2021/03/14 05:19:28
2021/03/14 05:19:28 Time Spent: 8.517s
2021/03/14 05:19:28 -----------------------------------------------------------------------------------
name: alena_averchanka1, master/f860fe3 @ 2021-03-13 08:15:42 +0000
2021/03/14 05:19:28 config: tests/filters.yml
2021/03/14 05:19:28 verbosity: 2
2021/03/14 05:19:28 -----------------------------------------------------------------------------------
2021/03/14 05:19:28 Running '3.1 Working with Filters', 1..3 tests
2021/03/14 05:19:28 -----------------------------------------------------------------------------------
2021/03/14 05:19:32 ✓ [3.1 Working with Filters] => 'filters.yml' playbook linter (1), 3.644s
2021/03/14 05:19:33 ✓ [3.1 Working with Filters] => 'filters.yml' playbook syntax check (1), 989ms
2021/03/14 05:19:35 ✓ [3.1 Working with Filters] => playbook rollout - ccl team (1), 2.709s
2021/03/14 05:19:35 -----------------------------------------------------------------------------------
2021/03/14 05:19:35 Tests Summary:
2021/03/14 05:19:35 3 (of 3) tests passed, 0 tests failed; rated as 100.00%
2021/03/14 05:19:35
2021/03/14 05:19:35 Time Spent: 7.343s
2021/03/14 05:19:35 -----------------------------------------------------------------------------------
name: alena_averchanka1, master/f860fe3 @ 2021-03-13 08:15:42 +0000
2021/03/14 05:19:35 config: tests/filter-tomcat_url.yml
2021/03/14 05:19:35 verbosity: 2
2021/03/14 05:19:35 -----------------------------------------------------------------------------------
2021/03/14 05:19:35 Running '3.2 Custom Filter "tomcat_url"', 1..4 tests
2021/03/14 05:19:35 -----------------------------------------------------------------------------------
2021/03/14 05:21:47 ✗ [3.2 Custom Filter "tomcat_url"] -> testing environment is built (Dockerfile is ok)
2021/03/14 05:21:47 Result: exit status 1
2021/03/14 05:21:47 Output:
Sending build context to Docker daemon 18.43kB
Step 1/3 : FROM centos:8
---> 300e315adb2f
Step 2/3 : RUN yum install python3-pip -y && pip3 install cryptography==3.2 && pip3 install ansible && pip3 install requests && pip3 install os && pip3 install hashlib && pip3 install pwd
---> Running in 623b28bdbca3
CentOS Linux 8 - AppStream 11 MB/s | 6.3 MB 00:00
CentOS Linux 8 - BaseOS 9.3 MB/s | 2.3 MB 00:00
CentOS Linux 8 - Extras 70 kB/s | 9.2 kB 00:00
Dependencies resolved.
================================================================================
Package Arch Version Repo Size
================================================================================
Installing:
python3-pip noarch 9.0.3-18.el8 appstream 20 k
Installing dependencies:
platform-python-pip noarch 9.0.3-18.el8 baseos 1.7 M
python3-setuptools noarch 39.2.0-6.el8 baseos 163 k
python36 x86_64 3.6.8-2.module_el8.3.0+562+e162826a appstream 19 k
Enabling module streams:
python36 3.6
Transaction Summary
================================================================================
Install 4 Packages
Total download size: 1.9 M
Installed size: 7.6 M
Downloading Packages:
(1/4): python36-3.6.8-2.module_el8.3.0+562+e162 650 kB/s | 19 kB 00:00
(2/4): python3-setuptools-39.2.0-6.el8.noarch.r 8.2 MB/s | 163 kB 00:00
(3/4): python3-pip-9.0.3-18.el8.noarch.rpm 352 kB/s | 20 kB 00:00
(4/4): platform-python-pip-9.0.3-18.el8.noarch. 21 MB/s | 1.7 MB 00:00
--------------------------------------------------------------------------------
Total 3.1 MB/s | 1.9 MB 00:00
warning: /var/cache/dnf/appstream-02e86d1c976ab532/packages/python3-pip-9.0.3-18.el8.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID 8483c65d: NOKEY
CentOS Linux 8 - AppStream 1.6 MB/s | 1.6 kB 00:00
Importing GPG key 0x8483C65D:
Userid : "CentOS (CentOS Official Signing Key) <[email protected]>"
Fingerprint: 99DB 70FA E1D7 CE22 7FB6 4882 05B5 55B3 8483 C65D
From : /etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial
Key imported successfully
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Installing : python3-setuptools-39.2.0-6.el8.noarch 1/4
Installing : platform-python-pip-9.0.3-18.el8.noarch 2/4
Installing : python36-3.6.8-2.module_el8.3.0+562+e162826a.x86_64 3/4
Running scriptlet: python36-3.6.8-2.module_el8.3.0+562+e162826a.x86_64 3/4
Installing : python3-pip-9.0.3-18.el8.noarch 4/4
Running scriptlet: python3-pip-9.0.3-18.el8.noarch 4/4
Verifying : python3-pip-9.0.3-18.el8.noarch 1/4
Verifying : python36-3.6.8-2.module_el8.3.0+562+e162826a.x86_64 2/4
Verifying : platform-python-pip-9.0.3-18.el8.noarch 3/4
Verifying : python3-setuptools-39.2.0-6.el8.noarch 4/4
Installed:
platform-python-pip-9.0.3-18.el8.noarch
python3-pip-9.0.3-18.el8.noarch
python3-setuptools-39.2.0-6.el8.noarch
python36-3.6.8-2.module_el8.3.0+562+e162826a.x86_64
Complete!
WARNING: Running pip install with root privileges is generally not a good idea. Try `pip3 install --user` instead.
Collecting cryptography==3.2
Downloading https://files.pythonhosted.org/packages/15/3d/fb981b1ba3a63e52a059f8c46db7e0c5bc02c1ee4c59a57c4e3ea63276ad/cryptography-3.2-cp35-abi3-manylinux1_x86_64.whl (2.6MB)
Collecting six>=1.4.1 (from cryptography==3.2)
Downloading https://files.pythonhosted.org/packages/ee/ff/48bde5c0f013094d729fe4b0316ba2a24774b3ff1c52d924a8a4cb04078a/six-1.15.0-py2.py3-none-any.whl
Collecting cffi!=1.11.3,>=1.8 (from cryptography==3.2)
Downloading https://files.pythonhosted.org/packages/2b/cf/9a3b04e57191a970836aeaa8b2075574f02fbdb65d6368457a2f13213e7f/cffi-1.14.5-cp36-cp36m-manylinux1_x86_64.whl (401kB)
Collecting pycparser (from cffi!=1.11.3,>=1.8->cryptography==3.2)
Downloading https://files.pythonhosted.org/packages/ae/e7/d9c3a176ca4b02024debf82342dab36efadfc5776f9c8db077e8f6e71821/pycparser-2.20-py2.py3-none-any.whl (112kB)
Installing collected packages: six, pycparser, cffi, cryptography
Successfully installed cffi-1.14.5 cryptography-3.2 pycparser-2.20 six-1.15.0
WARNING: Running pip install with root privileges is generally not a good idea. Try `pip3 install --user` instead.
Collecting ansible
Downloading https://files.pythonhosted.org/packages/19/0c/03233fb2896c6e04c403c7950eec4e2e41bafc059320d95926a95cce2c69/ansible-3.1.0.tar.gz (31.1MB)
Collecting ansible-base<2.11,>=2.10.5 (from ansible)
Downloading https://files.pythonhosted.org/packages/83/f9/19c0f3c5bc555f08ee24122dfda7dc4968f966971817c2c3a07df6972c14/ansible-base-2.10.6.tar.gz (5.7MB)
Collecting jinja2 (from ansible-base<2.11,>=2.10.5->ansible)
Downloading https://files.pythonhosted.org/packages/7e/c2/1eece8c95ddbc9b1aeb64f5783a9e07a286de42191b7204d67b7496ddf35/Jinja2-2.11.3-py2.py3-none-any.whl (125kB)
Collecting PyYAML (from ansible-base<2.11,>=2.10.5->ansible)
Downloading https://files.pythonhosted.org/packages/7a/5b/bc0b5ab38247bba158504a410112b6c03f153c652734ece1849749e5f518/PyYAML-5.4.1-cp36-cp36m-manylinux1_x86_64.whl (640kB)
Requirement already satisfied: cryptography in /usr/local/lib64/python3.6/site-packages (from ansible-base<2.11,>=2.10.5->ansible)
Collecting packaging (from ansible-base<2.11,>=2.10.5->ansible)
Downloading https://files.pythonhosted.org/packages/3e/89/7ea760b4daa42653ece2380531c90f64788d979110a2ab51049d92f408af/packaging-20.9-py2.py3-none-any.whl (40kB)
Collecting MarkupSafe>=0.23 (from jinja2->ansible-base<2.11,>=2.10.5->ansible)
Downloading https://files.pythonhosted.org/packages/b2/5f/23e0023be6bb885d00ffbefad2942bc51a620328ee910f64abe5a8d18dd1/MarkupSafe-1.1.1-cp36-cp36m-manylinux1_x86_64.whl
Requirement already satisfied: six>=1.4.1 in /usr/local/lib/python3.6/site-packages (from cryptography->ansible-base<2.11,>=2.10.5->ansible)
Requirement already satisfied: cffi!=1.11.3,>=1.8 in /usr/local/lib64/python3.6/site-packages (from cryptography->ansible-base<2.11,>=2.10.5->ansible)
Collecting pyparsing>=2.0.2 (from packaging->ansible-base<2.11,>=2.10.5->ansible)
Downloading https://files.pythonhosted.org/packages/8a/bb/488841f56197b13700afd5658fc279a2025a39e22449b7cf29864669b15d/pyparsing-2.4.7-py2.py3-none-any.whl (67kB)
Requirement already satisfied: pycparser in /usr/local/lib/python3.6/site-packages (from cffi!=1.11.3,>=1.8->cryptography->ansible-base<2.11,>=2.10.5->ansible)
Installing collected packages: MarkupSafe, jinja2, PyYAML, pyparsing, packaging, ansible-base, ansible
Running setup.py install for ansible-base: started
Running setup.py install for ansible-base: finished with status 'done'
Running setup.py install for ansible: started
Running setup.py install for ansible: finished with status 'done'
Successfully installed MarkupSafe-1.1.1 PyYAML-5.4.1 ansible-3.1.0 ansible-base-2.10.6 jinja2-2.11.3 packaging-20.9 pyparsing-2.4.7
WARNING: Running pip install with root privileges is generally not a good idea. Try `pip3 install --user` instead.
Collecting requests
Downloading https://files.pythonhosted.org/packages/29/c1/24814557f1d22c56d50280771a17307e6bf87b70727d975fd6b2ce6b014a/requests-2.25.1-py2.py3-none-any.whl (61kB)
Collecting urllib3<1.27,>=1.21.1 (from requests)
Downloading https://files.pythonhosted.org/packages/23/fc/8a49991f7905261f9ca9df5aa9b58363c3c821ce3e7f671895442b7100f2/urllib3-1.26.3-py2.py3-none-any.whl (137kB)
Collecting certifi>=2017.4.17 (from requests)
Downloading https://files.pythonhosted.org/packages/5e/a0/5f06e1e1d463903cf0c0eebeb751791119ed7a4b3737fdc9a77f1cdfb51f/certifi-2020.12.5-py2.py3-none-any.whl (147kB)
Collecting chardet<5,>=3.0.2 (from requests)
Downloading https://files.pythonhosted.org/packages/19/c7/fa589626997dd07bd87d9269342ccb74b1720384a4d739a1872bd84fbe68/chardet-4.0.0-py2.py3-none-any.whl (178kB)
Collecting idna<3,>=2.5 (from requests)
Downloading https://files.pythonhosted.org/packages/a2/38/928ddce2273eaa564f6f50de919327bf3a00f091b5baba8dfa9460f3a8a8/idna-2.10-py2.py3-none-any.whl (58kB)
Installing collected packages: urllib3, certifi, chardet, idna, requests
Successfully installed certifi-2020.12.5 chardet-4.0.0 idna-2.10 requests-2.25.1 urllib3-1.26.3
WARNING: Running pip install with root privileges is generally not a good idea. Try `pip3 install --user` instead.
Collecting os
 Could not find a version that satisfies the requirement os (from versions: )
No matching distribution found for os
The command '/bin/sh -c yum install python3-pip -y && pip3 install cryptography==3.2 && pip3 install ansible && pip3 install requests && pip3 install os && pip3 install hashlib && pip3 install pwd' returned a non-zero code: 1
2021/03/14 05:21:47 ✗ [3.2 Custom Filter "tomcat_url"] -> get correct url for tomcat bin (9.0.27)
2021/03/14 05:21:47 Result: exit status 1
2021/03/14 05:21:47 Output:
Error: No such container: test
2021/03/14 05:21:47 ✗ [3.2 Custom Filter "tomcat_url"] -> get correct url for tomcat bin (8.0.12)
2021/03/14 05:21:47 Result: exit status 1
2021/03/14 05:21:47 Output:
Error: No such container: test
2021/03/14 05:21:47 ✗ [3.2 Custom Filter "tomcat_url"] -> get correct url for tomcat bin (random version)
2021/03/14 05:21:47 Result: exit status 1
2021/03/14 05:21:47 Output:
Error: No such container: test
2021/03/14 05:21:47 -----------------------------------------------------------------------------------
2021/03/14 05:21:47 Tests Summary:
2021/03/14 05:21:47 0 (of 4) tests passed, 4 tests failed; rated as 0.00%
2021/03/14 05:21:47
2021/03/14 05:21:47 Time Spent: 2m11.781s
2021/03/14 05:21:47 -----------------------------------------------------------------------------------
name: alena_averchanka1, master/f860fe3 @ 2021-03-13 08:15:42 +0000
2021/03/14 05:21:47 config: tests/filter-tomcat_checksum.yml
2021/03/14 05:21:47 verbosity: 2
2021/03/14 05:21:47 -----------------------------------------------------------------------------------
2021/03/14 05:21:47 Running '3.2 Custom Filter "tomcat_checksum"', 1..4 tests
2021/03/14 05:21:47 -----------------------------------------------------------------------------------
2021/03/14 05:23:52 ✗ [3.2 Custom Filter "tomcat_checksum"] -> testing environment is built (Dockerfile is ok)
2021/03/14 05:23:52 Result: exit status 1
2021/03/14 05:23:52 Output:
Sending build context to Docker daemon 18.43kB
Step 1/3 : FROM centos:8
---> 300e315adb2f
Step 2/3 : RUN yum install python3-pip -y && pip3 install cryptography==3.2 && pip3 install ansible && pip3 install requests && pip3 install os && pip3 install hashlib && pip3 install pwd
---> Running in b39de065db0a
CentOS Linux 8 - AppStream 10 MB/s | 6.3 MB 00:00
CentOS Linux 8 - BaseOS 3.7 MB/s | 2.3 MB 00:00
CentOS Linux 8 - Extras 6.6 kB/s | 9.2 kB 00:01
Last metadata expiration check: 0:00:01 ago on Sun Mar 14 05:21:54 2021.
Dependencies resolved.
================================================================================
Package Arch Version Repo Size
================================================================================
Installing:
python3-pip noarch 9.0.3-18.el8 appstream 20 k
Installing dependencies:
platform-python-pip noarch 9.0.3-18.el8 baseos 1.7 M
python3-setuptools noarch 39.2.0-6.el8 baseos 163 k
python36 x86_64 3.6.8-2.module_el8.3.0+562+e162826a appstream 19 k
Enabling module streams:
python36 3.6
Transaction Summary
================================================================================
Install 4 Packages
Total download size: 1.9 M
Installed size: 7.6 M
Downloading Packages:
(1/4): python3-pip-9.0.3-18.el8.noarch.rpm 2.0 MB/s | 20 kB 00:00
(2/4): python36-3.6.8-2.module_el8.3.0+562+e162 1.8 MB/s | 19 kB 00:00
(3/4): python3-setuptools-39.2.0-6.el8.noarch.r 7.4 MB/s | 163 kB 00:00
(4/4): platform-python-pip-9.0.3-18.el8.noarch. 21 MB/s | 1.7 MB 00:00
--------------------------------------------------------------------------------
Total 3.2 MB/s | 1.9 MB 00:00
warning: /var/cache/dnf/appstream-02e86d1c976ab532/packages/python3-pip-9.0.3-18.el8.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID 8483c65d: NOKEY
CentOS Linux 8 - AppStream 1.6 MB/s | 1.6 kB 00:00
Importing GPG key 0x8483C65D:
Userid : "CentOS (CentOS Official Signing Key) <[email protected]>"
Fingerprint: 99DB 70FA E1D7 CE22 7FB6 4882 05B5 55B3 8483 C65D
From : /etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial
Key imported successfully
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Installing : python3-setuptools-39.2.0-6.el8.noarch 1/4
Installing : platform-python-pip-9.0.3-18.el8.noarch 2/4
Installing : python36-3.6.8-2.module_el8.3.0+562+e162826a.x86_64 3/4
Running scriptlet: python36-3.6.8-2.module_el8.3.0+562+e162826a.x86_64 3/4
Installing : python3-pip-9.0.3-18.el8.noarch 4/4
Running scriptlet: python3-pip-9.0.3-18.el8.noarch 4/4
Verifying : python3-pip-9.0.3-18.el8.noarch 1/4
Verifying : python36-3.6.8-2.module_el8.3.0+562+e162826a.x86_64 2/4
Verifying : platform-python-pip-9.0.3-18.el8.noarch 3/4
Verifying : python3-setuptools-39.2.0-6.el8.noarch 4/4
Installed:
platform-python-pip-9.0.3-18.el8.noarch
python3-pip-9.0.3-18.el8.noarch
python3-setuptools-39.2.0-6.el8.noarch
python36-3.6.8-2.module_el8.3.0+562+e162826a.x86_64
Complete!
WARNING: Running pip install with root privileges is generally not a good idea. Try `pip3 install --user` instead.
Collecting cryptography==3.2
Downloading https://files.pythonhosted.org/packages/15/3d/fb981b1ba3a63e52a059f8c46db7e0c5bc02c1ee4c59a57c4e3ea63276ad/cryptography-3.2-cp35-abi3-manylinux1_x86_64.whl (2.6MB)
Collecting six>=1.4.1 (from cryptography==3.2)
Downloading https://files.pythonhosted.org/packages/ee/ff/48bde5c0f013094d729fe4b0316ba2a24774b3ff1c52d924a8a4cb04078a/six-1.15.0-py2.py3-none-any.whl
Collecting cffi!=1.11.3,>=1.8 (from cryptography==3.2)
Downloading https://files.pythonhosted.org/packages/2b/cf/9a3b04e57191a970836aeaa8b2075574f02fbdb65d6368457a2f13213e7f/cffi-1.14.5-cp36-cp36m-manylinux1_x86_64.whl (401kB)
Collecting pycparser (from cffi!=1.11.3,>=1.8->cryptography==3.2)
Downloading https://files.pythonhosted.org/packages/ae/e7/d9c3a176ca4b02024debf82342dab36efadfc5776f9c8db077e8f6e71821/pycparser-2.20-py2.py3-none-any.whl (112kB)
Installing collected packages: six, pycparser, cffi, cryptography
Successfully installed cffi-1.14.5 cryptography-3.2 pycparser-2.20 six-1.15.0
WARNING: Running pip install with root privileges is generally not a good idea. Try `pip3 install --user` instead.
Collecting ansible
Downloading https://files.pythonhosted.org/packages/19/0c/03233fb2896c6e04c403c7950eec4e2e41bafc059320d95926a95cce2c69/ansible-3.1.0.tar.gz (31.1MB)
Collecting ansible-base<2.11,>=2.10.5 (from ansible)
Downloading https://files.pythonhosted.org/packages/83/f9/19c0f3c5bc555f08ee24122dfda7dc4968f966971817c2c3a07df6972c14/ansible-base-2.10.6.tar.gz (5.7MB)
Collecting jinja2 (from ansible-base<2.11,>=2.10.5->ansible)
Downloading https://files.pythonhosted.org/packages/7e/c2/1eece8c95ddbc9b1aeb64f5783a9e07a286de42191b7204d67b7496ddf35/Jinja2-2.11.3-py2.py3-none-any.whl (125kB)
Collecting PyYAML (from ansible-base<2.11,>=2.10.5->ansible)
Downloading https://files.pythonhosted.org/packages/7a/5b/bc0b5ab38247bba158504a410112b6c03f153c652734ece1849749e5f518/PyYAML-5.4.1-cp36-cp36m-manylinux1_x86_64.whl (640kB)
Requirement already satisfied: cryptography in /usr/local/lib64/python3.6/site-packages (from ansible-base<2.11,>=2.10.5->ansible)
Collecting packaging (from ansible-base<2.11,>=2.10.5->ansible)
Downloading https://files.pythonhosted.org/packages/3e/89/7ea760b4daa42653ece2380531c90f64788d979110a2ab51049d92f408af/packaging-20.9-py2.py3-none-any.whl (40kB)
Collecting MarkupSafe>=0.23 (from jinja2->ansible-base<2.11,>=2.10.5->ansible)
Downloading https://files.pythonhosted.org/packages/b2/5f/23e0023be6bb885d00ffbefad2942bc51a620328ee910f64abe5a8d18dd1/MarkupSafe-1.1.1-cp36-cp36m-manylinux1_x86_64.whl
Requirement already satisfied: cffi!=1.11.3,>=1.8 in /usr/local/lib64/python3.6/site-packages (from cryptography->ansible-base<2.11,>=2.10.5->ansible)
Requirement already satisfied: six>=1.4.1 in /usr/local/lib/python3.6/site-packages (from cryptography->ansible-base<2.11,>=2.10.5->ansible)
Collecting pyparsing>=2.0.2 (from packaging->ansible-base<2.11,>=2.10.5->ansible)
Downloading https://files.pythonhosted.org/packages/8a/bb/488841f56197b13700afd5658fc279a2025a39e22449b7cf29864669b15d/pyparsing-2.4.7-py2.py3-none-any.whl (67kB)
Requirement already satisfied: pycparser in /usr/local/lib/python3.6/site-packages (from cffi!=1.11.3,>=1.8->cryptography->ansible-base<2.11,>=2.10.5->ansible)
Installing collected packages: MarkupSafe, jinja2, PyYAML, pyparsing, packaging, ansible-base, ansible
Running setup.py install for ansible-base: started
Running setup.py install for ansible-base: finished with status 'done'
Running setup.py install for ansible: started
Running setup.py install for ansible: finished with status 'done'
Successfully installed MarkupSafe-1.1.1 PyYAML-5.4.1 ansible-3.1.0 ansible-base-2.10.6 jinja2-2.11.3 packaging-20.9 pyparsing-2.4.7
WARNING: Running pip install with root privileges is generally not a good idea. Try `pip3 install --user` instead.
Collecting requests
Downloading https://files.pythonhosted.org/packages/29/c1/24814557f1d22c56d50280771a17307e6bf87b70727d975fd6b2ce6b014a/requests-2.25.1-py2.py3-none-any.whl (61kB)
Collecting urllib3<1.27,>=1.21.1 (from requests)
Downloading https://files.pythonhosted.org/packages/23/fc/8a49991f7905261f9ca9df5aa9b58363c3c821ce3e7f671895442b7100f2/urllib3-1.26.3-py2.py3-none-any.whl (137kB)
Collecting certifi>=2017.4.17 (from requests)
Downloading https://files.pythonhosted.org/packages/5e/a0/5f06e1e1d463903cf0c0eebeb751791119ed7a4b3737fdc9a77f1cdfb51f/certifi-2020.12.5-py2.py3-none-any.whl (147kB)
Collecting idna<3,>=2.5 (from requests)
Downloading https://files.pythonhosted.org/packages/a2/38/928ddce2273eaa564f6f50de919327bf3a00f091b5baba8dfa9460f3a8a8/idna-2.10-py2.py3-none-any.whl (58kB)
Collecting chardet<5,>=3.0.2 (from requests)
Downloading https://files.pythonhosted.org/packages/19/c7/fa589626997dd07bd87d9269342ccb74b1720384a4d739a1872bd84fbe68/chardet-4.0.0-py2.py3-none-any.whl (178kB)
Installing collected packages: urllib3, certifi, idna, chardet, requests
Successfully installed certifi-2020.12.5 chardet-4.0.0 idna-2.10 requests-2.25.1 urllib3-1.26.3
WARNING: Running pip install with root privileges is generally not a good idea. Try `pip3 install --user` instead.
Collecting os
 Could not find a version that satisfies the requirement os (from versions: )
No matching distribution found for os
The command '/bin/sh -c yum install python3-pip -y && pip3 install cryptography==3.2 && pip3 install ansible && pip3 install requests && pip3 install os && pip3 install hashlib && pip3 install pwd' returned a non-zero code: 1
2021/03/14 05:23:52 ✗ [3.2 Custom Filter "tomcat_checksum"] -> get tomcat v9.0.27 checksum
2021/03/14 05:23:52 Result: exit status 1
2021/03/14 05:23:52 Output:
Error: No such container: test
2021/03/14 05:23:52 ✗ [3.2 Custom Filter "tomcat_checksum"] -> get tomcat v8.0.32 checksum
2021/03/14 05:23:52 Result: exit status 1
2021/03/14 05:23:52 Output:
Error: No such container: test
2021/03/14 05:23:52 ✗ [3.2 Custom Filter "tomcat_checksum"] -> get tomcat v8.0.132 checksum
2021/03/14 05:23:52 Result: exit status 1
2021/03/14 05:23:52 Output:
Error: No such container: test
2021/03/14 05:23:52 -----------------------------------------------------------------------------------
2021/03/14 05:23:52 Tests Summary:
2021/03/14 05:23:52 0 (of 4) tests passed, 4 tests failed; rated as 0.00%
2021/03/14 05:23:52
2021/03/14 05:23:52 Time Spent: 2m4.837s
2021/03/14 05:23:52 -----------------------------------------------------------------------------------
name: alena_averchanka1, master/f860fe3 @ 2021-03-13 08:15:42 +0000
2021/03/14 05:23:52 config: tests/module-wget.yml
2021/03/14 05:23:52 verbosity: 2
2021/03/14 05:23:52 -----------------------------------------------------------------------------------
2021/03/14 05:23:52 Running '3.2 Custom module "wget"', 1..9 tests
2021/03/14 05:23:52 -----------------------------------------------------------------------------------
2021/03/14 05:24:08 ✓ [3.2 Custom module "wget"] => testing environment is built (Dockerfile is ok) (1), 15.605s
2021/03/14 05:24:12 ✗ [3.2 Custom module "wget"] -> should download tomcat tar.gz by src url to dest folder
2021/03/14 05:24:12 Result: exit status 1
2021/03/14 05:24:12 Output:
7b6dbcad828a ansible-test "sleep infinity" 13 seconds ago Up 11 seconds test
(run, /tmp/students-3/alena_averchanka1/day3/3.2) => ansible test -i test, -c docker -m wget -a "src=https://archive.apache.org/dist/tomcat/tomcat-8/v8.0.32/bin/apache-tomcat-8.0.32.tar.gz dest=/tmp/"
rc: 0
output: |
test | SUCCESS => {
 "ansible_facts": {
 "discovered_interpreter_python": "/usr/libexec/platform-python"
 },
 "changed": false,
 "msg": "Exit!"
}
Stdout Assertion Failed (Partial, '"changed": true')
2021/03/14 05:24:16 ✗ [3.2 Custom module "wget"] -> should recognize that current state is up to date
2021/03/14 05:24:16 Result: exit status 1
2021/03/14 05:24:16 Output:
7b6dbcad828a ansible-test "sleep infinity" 17 seconds ago Up 16 seconds test
(run, /tmp/students-3/alena_averchanka1/day3/3.2) => ansible test -i test, -c docker -m wget -a "src=https://archive.apache.org/dist/tomcat/tomcat-8/v8.0.32/bin/apache-tomcat-8.0.32.tar.gz dest=/tmp/"
rc: 0
output: |
test | SUCCESS => {
 "ansible_facts": {
 "discovered_interpreter_python": "/usr/libexec/platform-python"
 },
 "changed": false,
 "msg": "Exit!"
}
5c5
< Access: 2021-03-14 05:24:11.917370306 +0000
---
> Access: 2021-03-14 05:24:15.609435031 +0000
2021/03/14 05:24:20 ✗ [3.2 Custom module "wget"] -> should update existing file if it's is broken
2021/03/14 05:24:20 Result: exit status 1
2021/03/14 05:24:20 Output:
7b6dbcad828a ansible-test "sleep infinity" 21 seconds ago Up 19 seconds test
(run, /tmp/students-3/alena_averchanka1/day3/3.2) => ansible test -i test, -c docker -m wget -a "src=https://archive.apache.org/dist/tomcat/tomcat-8/v8.0.32/bin/apache-tomcat-8.0.32.tar.gz dest=/tmp/"
rc: 0
output: |
test | SUCCESS => {
 "ansible_facts": {
 "discovered_interpreter_python": "/usr/libexec/platform-python"
 },
 "changed": false,
 "msg": "Exit!"
}
Stdout Assertion Failed (Partial, '"changed": true')
2021/03/14 05:24:24 ✗ [3.2 Custom module "wget"] -> existing file doesn't correspond to provided chksum
2021/03/14 05:24:24 Result: exit status 1
2021/03/14 05:24:24 Output:
7b6dbcad828a ansible-test "sleep infinity" 25 seconds ago Up 24 seconds test
(run, /tmp/students-3/alena_averchanka1/day3/3.2) => ansible test -i test, -c docker -m wget -a "src=https://archive.apache.org/dist/tomcat/tomcat-8/v8.0.32/bin/apache-tomcat-8.0.32.tar.gz dest=/tmp/ chksum=md5:98e821d2755ae3f8e6d66536fcdaa1b0"
rc: 0
output: |
test | SUCCESS => {
 "ansible_facts": {
 "discovered_interpreter_python": "/usr/libexec/platform-python"
 },
 "changed": false,
 "msg": "Exit!"
}
Stdout Assertion Failed (Partial, '"changed": true')
2021/03/14 05:24:28 ✗ [3.2 Custom module "wget"] -> should change ownership if it's required
2021/03/14 05:24:28 Result: exit status 1
2021/03/14 05:24:28 Output:
7b6dbcad828a ansible-test "sleep infinity" 29 seconds ago Up 28 seconds test
(run, /tmp/students-3/alena_averchanka1/day3/3.2) => ansible test -i test, -c docker -m wget -a "src=https://archive.apache.org/dist/tomcat/tomcat-8/v8.0.32/bin/apache-tomcat-8.0.32.tar.gz dest=/tmp/ owner=devops group=devops"
rc: 0
output: |
test | SUCCESS => {
 "ansible_facts": {
 "discovered_interpreter_python": "/usr/libexec/platform-python"
 },
 "changed": false,
 "msg": "Exit!"
}
Stdout Assertion Failed (Partial, '"changed": true')
2021/03/14 05:24:31 ✓ [3.2 Custom module "wget"] => should fail on changing ownership to wrong user (1), 3.528s
2021/03/14 05:24:35 ✗ [3.2 Custom module "wget"] -> should change access mode if it's required
2021/03/14 05:24:35 Result: exit status 1
2021/03/14 05:24:35 Output:
7b6dbcad828a ansible-test "sleep infinity" 36 seconds ago Up 35 seconds test
(run, /tmp/students-3/alena_averchanka1/day3/3.2) => ansible test -i test, -c docker -m wget -a "src=https://archive.apache.org/dist/tomcat/tomcat-8/v8.0.32/bin/apache-tomcat-8.0.32.tar.gz dest=/tmp/ owner=devops group=devops mode=384"
rc: 0
output: |
test | SUCCESS => {
 "ansible_facts": {
 "discovered_interpreter_python": "/usr/libexec/platform-python"
 },
 "changed": false,
 "msg": "Exit!"
}
Stdout Assertion Failed (Partial, '"changed": true')
2021/03/14 05:24:39 ✓ [3.2 Custom module "wget"] => should fail if downloaded file doesn't correspond to provided checksum (1), 4.105s
2021/03/14 05:24:39 -----------------------------------------------------------------------------------
2021/03/14 05:24:39 Tests Summary:
2021/03/14 05:24:39 3 (of 9) tests passed, 6 tests failed; rated as 33.33%
2021/03/14 05:24:39
2021/03/14 05:24:39 Time Spent: 47.434s
2021/03/14 05:24:39 -----------------------------------------------------------------------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment