-
-
Save sbeliakou/4ff6fe604617007aafe288782203a2dc to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Cloning into 'aliaksei_hladki1'... | |
name: aliaksei_hladki1, master/5c9f02d @ 2021-03-04 08:18:46 +0000 | |
2021/03/14 05:27:27 config: tests/data-rendering.yml | |
2021/03/14 05:27:27 verbosity: 2 | |
2021/03/14 05:27:27 ----------------------------------------------------------------------------------- | |
2021/03/14 05:27:27 Running '3.1 Data Rendering', 1..4 tests | |
2021/03/14 05:27:27 ----------------------------------------------------------------------------------- | |
2021/03/14 05:27:28 ✓ [3.1 Data Rendering] => 'data-rendering.yml' playbook syntax check (20), 804ms | |
2021/03/14 05:27:29 ✗ [3.1 Data Rendering] -> playbook rollout - ccl team | |
2021/03/14 05:27:29 Result: exit status 1 | |
2021/03/14 05:27:29 Output: | |
(run, /tmp/students-3/aliaksei_hladki1/day3/3.1) => ansible-playbook data-rendering.yml -i localhost, -v --vault-id password -e team_name=ccl-team | |
rc: 0 | |
output: | | |
[0;34mNo config file found; using defaults | |
PLAY [all] ********************************************************************* | |
PLAY RECAP ********************************************************************* | |
Stdout Assertion Failed (Partial, 'unreachable=0') | |
2021/03/14 05:27:30 ✗ [3.1 Data Rendering] -> playbook rollout - pgwy team | |
2021/03/14 05:27:30 Result: exit status 1 | |
2021/03/14 05:27:30 Output: | |
(run, /tmp/students-3/aliaksei_hladki1/day3/3.1) => ansible-playbook data-rendering.yml -i localhost, -v --vault-id password -e team_name=pgwy-team | |
rc: 0 | |
output: | | |
[0;34mNo config file found; using defaults | |
PLAY [all] ********************************************************************* | |
PLAY RECAP ********************************************************************* | |
Stdout Assertion Failed (Partial, 'unreachable=0') | |
2021/03/14 05:27:30 ✗ [3.1 Data Rendering] -> using loops (loop_control, loop_var, label) | |
2021/03/14 05:27:30 Result: exit status 1 | |
2021/03/14 05:27:30 Output: | |
2021/03/14 05:27:30 ----------------------------------------------------------------------------------- | |
2021/03/14 05:27:30 Tests Summary: | |
2021/03/14 05:27:30 1 (of 4) tests passed, 3 tests failed; rated as 27.78% | |
2021/03/14 05:27:30 | |
2021/03/14 05:27:30 Time Spent: 2.727s | |
2021/03/14 05:27:30 ----------------------------------------------------------------------------------- | |
name: aliaksei_hladki1, master/5c9f02d @ 2021-03-04 08:18:46 +0000 | |
2021/03/14 05:27:30 config: tests/filters.yml | |
2021/03/14 05:27:30 verbosity: 2 | |
2021/03/14 05:27:30 ----------------------------------------------------------------------------------- | |
2021/03/14 05:27:30 Running '3.1 Working with Filters', 1..3 tests | |
2021/03/14 05:27:30 ----------------------------------------------------------------------------------- | |
2021/03/14 05:27:33 ✗ [3.1 Working with Filters] -> 'filters.yml' playbook linter | |
2021/03/14 05:27:33 Result: exit status 2 | |
2021/03/14 05:27:33 Output: | |
WARNING Overriding detected file kind 'yaml' with 'playbook' for given positional argument: filters.yml | |
WARNING Listing 1 violation(s) that are fatal | |
syntax-check: Empty playbook, nothing to do [2;91m(empty-playbook) | |
filters.yml:0 [WARNING]: No inventory was parsed, only implicit localhost is available | |
[WARNING]: provided hosts list is empty, only localhost is available. Note that | |
the implicit localhost does not match 'all' | |
ERROR! Empty playbook, nothing to do | |
You can skip specific rules or tags by adding them to your configuration file: | |
# .ansible-lint | |
warn_list: # or 'skip_list' to silence them completely | |
- syntax-check # Ansible syntax check failed | |
Finished with [1;34m1 failure(s), [1;34m0 warning(s) on [1;34m1 files. | |
2021/03/14 05:27:34 ✗ [3.1 Working with Filters] -> 'filters.yml' playbook syntax check | |
2021/03/14 05:27:34 Result: exit status 4 | |
2021/03/14 05:27:34 Output: | |
[0;34mNo config file found; using defaults | |
[0;31mERROR! Empty playbook, nothing to do | |
2021/03/14 05:27:34 ✗ [3.1 Working with Filters] -> playbook rollout - ccl team | |
2021/03/14 05:27:34 Result: exit status 1 | |
2021/03/14 05:27:34 Output: | |
[0;31mERROR! Empty playbook, nothing to do | |
(run, /tmp/students-3/aliaksei_hladki1/day3/3.1) => ansible-playbook filters.yml -i remotevm, -v | |
rc: 4 | |
output: '[0;34mNo config file found; using defaults' | |
CMD Failed: | |
2021/03/14 05:27:34 ----------------------------------------------------------------------------------- | |
2021/03/14 05:27:34 Tests Summary: | |
2021/03/14 05:27:34 0 (of 3) tests passed, 3 tests failed; rated as 0.00% | |
2021/03/14 05:27:34 | |
2021/03/14 05:27:34 Time Spent: 4.619s | |
2021/03/14 05:27:34 ----------------------------------------------------------------------------------- | |
name: aliaksei_hladki1, master/5c9f02d @ 2021-03-04 08:18:46 +0000 | |
2021/03/14 05:27:34 config: tests/filter-tomcat_url.yml | |
2021/03/14 05:27:34 verbosity: 2 | |
2021/03/14 05:27:34 ----------------------------------------------------------------------------------- | |
2021/03/14 05:27:34 Running '3.2 Custom Filter "tomcat_url"', 1..4 tests | |
2021/03/14 05:27:34 ----------------------------------------------------------------------------------- | |
2021/03/14 05:27:36 ✗ [3.2 Custom Filter "tomcat_url"] -> testing environment is built (Dockerfile is ok) | |
2021/03/14 05:27:36 Result: exit status 1 | |
2021/03/14 05:27:36 Output: | |
unable to prepare context: unable to evaluate symlinks in Dockerfile path: lstat /tmp/students-3/aliaksei_hladki1/day3/3.2/Dockerfile: no such file or directory | |
2021/03/14 05:27:36 ✗ [3.2 Custom Filter "tomcat_url"] -> get correct url for tomcat bin (9.0.27) | |
2021/03/14 05:27:36 Result: exit status 1 | |
2021/03/14 05:27:36 Output: | |
Error: No such container: test | |
2021/03/14 05:27:36 ✗ [3.2 Custom Filter "tomcat_url"] -> get correct url for tomcat bin (8.0.12) | |
2021/03/14 05:27:36 Result: exit status 1 | |
2021/03/14 05:27:36 Output: | |
Error: No such container: test | |
2021/03/14 05:27:36 ✗ [3.2 Custom Filter "tomcat_url"] -> get correct url for tomcat bin (random version) | |
2021/03/14 05:27:36 Result: exit status 1 | |
2021/03/14 05:27:36 Output: | |
Error: No such container: test | |
2021/03/14 05:27:36 ----------------------------------------------------------------------------------- | |
2021/03/14 05:27:36 Tests Summary: | |
2021/03/14 05:27:36 0 (of 4) tests passed, 4 tests failed; rated as 0.00% | |
2021/03/14 05:27:36 | |
2021/03/14 05:27:36 Time Spent: 1.703s | |
2021/03/14 05:27:36 ----------------------------------------------------------------------------------- | |
name: aliaksei_hladki1, master/5c9f02d @ 2021-03-04 08:18:46 +0000 | |
2021/03/14 05:27:36 config: tests/filter-tomcat_checksum.yml | |
2021/03/14 05:27:36 verbosity: 2 | |
2021/03/14 05:27:36 ----------------------------------------------------------------------------------- | |
2021/03/14 05:27:36 Running '3.2 Custom Filter "tomcat_checksum"', 1..4 tests | |
2021/03/14 05:27:36 ----------------------------------------------------------------------------------- | |
2021/03/14 05:27:38 ✗ [3.2 Custom Filter "tomcat_checksum"] -> testing environment is built (Dockerfile is ok) | |
2021/03/14 05:27:38 Result: exit status 1 | |
2021/03/14 05:27:38 Output: | |
unable to prepare context: unable to evaluate symlinks in Dockerfile path: lstat /tmp/students-3/aliaksei_hladki1/day3/3.2/Dockerfile: no such file or directory | |
2021/03/14 05:27:38 ✗ [3.2 Custom Filter "tomcat_checksum"] -> get tomcat v9.0.27 checksum | |
2021/03/14 05:27:38 Result: exit status 1 | |
2021/03/14 05:27:38 Output: | |
Error: No such container: test | |
2021/03/14 05:27:38 ✗ [3.2 Custom Filter "tomcat_checksum"] -> get tomcat v8.0.32 checksum | |
2021/03/14 05:27:38 Result: exit status 1 | |
2021/03/14 05:27:38 Output: | |
Error: No such container: test | |
2021/03/14 05:27:38 ✗ [3.2 Custom Filter "tomcat_checksum"] -> get tomcat v8.0.132 checksum | |
2021/03/14 05:27:38 Result: exit status 1 | |
2021/03/14 05:27:38 Output: | |
Error: No such container: test | |
2021/03/14 05:27:38 ----------------------------------------------------------------------------------- | |
2021/03/14 05:27:38 Tests Summary: | |
2021/03/14 05:27:38 0 (of 4) tests passed, 4 tests failed; rated as 0.00% | |
2021/03/14 05:27:38 | |
2021/03/14 05:27:38 Time Spent: 2.002s | |
2021/03/14 05:27:38 ----------------------------------------------------------------------------------- | |
name: aliaksei_hladki1, master/5c9f02d @ 2021-03-04 08:18:46 +0000 | |
2021/03/14 05:27:38 config: tests/module-wget.yml | |
2021/03/14 05:27:38 verbosity: 2 | |
2021/03/14 05:27:38 ----------------------------------------------------------------------------------- | |
2021/03/14 05:27:38 Running '3.2 Custom module "wget"', 1..9 tests | |
2021/03/14 05:27:38 ----------------------------------------------------------------------------------- | |
2021/03/14 05:27:50 ✓ [3.2 Custom module "wget"] => testing environment is built (Dockerfile is ok) (1), 12.14s | |
2021/03/14 05:27:52 ✗ [3.2 Custom module "wget"] -> should download tomcat tar.gz by src url to dest folder | |
2021/03/14 05:27:52 Result: exit status 1 | |
2021/03/14 05:27:52 Output: | |
8175cd4a4119 ansible-test "sleep infinity" 9 seconds ago Up 8 seconds test | |
(run, /tmp/students-3/aliaksei_hladki1/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: 2 | |
output: | | |
[0;31mtest | FAILED! => { | |
[0;31m "msg": "The module wget was not found in configured module paths" | |
[0;31m} | |
CMD Failed: | |
2021/03/14 05:27:52 ✗ [3.2 Custom module "wget"] -> should recognize that current state is up to date | |
2021/03/14 05:27:52 Result: exit status 1 | |
2021/03/14 05:27:52 Output: | |
8175cd4a4119 ansible-test "sleep infinity" 11 seconds ago Up 10 seconds test | |
stat: cannot stat '/tmp/apache-tomcat-8.0.32.tar.gz': No such file or directory | |
2021/03/14 05:27:54 ✗ [3.2 Custom module "wget"] -> should update existing file if it's is broken | |
2021/03/14 05:27:54 Result: exit status 1 | |
2021/03/14 05:27:54 Output: | |
8175cd4a4119 ansible-test "sleep infinity" 11 seconds ago Up 10 seconds test | |
(run, /tmp/students-3/aliaksei_hladki1/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: 2 | |
output: | | |
[0;31mtest | FAILED! => { | |
[0;31m "msg": "The module wget was not found in configured module paths" | |
[0;31m} | |
CMD Failed: | |
2021/03/14 05:27:56 ✗ [3.2 Custom module "wget"] -> existing file doesn't correspond to provided chksum | |
2021/03/14 05:27:56 Result: exit status 1 | |
2021/03/14 05:27:56 Output: | |
8175cd4a4119 ansible-test "sleep infinity" 13 seconds ago Up 12 seconds test | |
(run, /tmp/students-3/aliaksei_hladki1/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: 2 | |
output: | | |
[0;31mtest | FAILED! => { | |
[0;31m "msg": "The module wget was not found in configured module paths" | |
[0;31m} | |
CMD Failed: | |
2021/03/14 05:27:57 ✗ [3.2 Custom module "wget"] -> should change ownership if it's required | |
2021/03/14 05:27:57 Result: exit status 1 | |
2021/03/14 05:27:57 Output: | |
8175cd4a4119 ansible-test "sleep infinity" 15 seconds ago Up 14 seconds test | |
(run, /tmp/students-3/aliaksei_hladki1/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: 2 | |
output: | | |
[0;31mtest | FAILED! => { | |
[0;31m "msg": "The module wget was not found in configured module paths" | |
[0;31m} | |
CMD Failed: | |
2021/03/14 05:27:59 ✓ [3.2 Custom module "wget"] => should fail on changing ownership to wrong user (1), 1.738s | |
2021/03/14 05:28:00 ✗ [3.2 Custom module "wget"] -> should change access mode if it's required | |
2021/03/14 05:28:00 Result: exit status 1 | |
2021/03/14 05:28:00 Output: | |
8175cd4a4119 ansible-test "sleep infinity" 18 seconds ago Up 17 seconds test | |
(run, /tmp/students-3/aliaksei_hladki1/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: 2 | |
output: | | |
[0;31mtest | FAILED! => { | |
[0;31m "msg": "The module wget was not found in configured module paths" | |
[0;31m} | |
CMD Failed: | |
2021/03/14 05:28:02 ✓ [3.2 Custom module "wget"] => should fail if downloaded file doesn't correspond to provided checksum (1), 1.609s | |
2021/03/14 05:28:02 ----------------------------------------------------------------------------------- | |
2021/03/14 05:28:02 Tests Summary: | |
2021/03/14 05:28:02 3 (of 9) tests passed, 6 tests failed; rated as 33.33% | |
2021/03/14 05:28:02 | |
2021/03/14 05:28:02 Time Spent: 24.309s | |
2021/03/14 05:28:02 ----------------------------------------------------------------------------------- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment