Skip to content

Instantly share code, notes, and snippets.

@sbeliakou
Created March 14, 2021 05:25
Show Gist options
  • Save sbeliakou/ba4d001742a4c36643d68879ab41d8b5 to your computer and use it in GitHub Desktop.
Save sbeliakou/ba4d001742a4c36643d68879ab41d8b5 to your computer and use it in GitHub Desktop.
Cloning into 'aliaksandr_belski'...
name: aliaksandr_belski, master/0fccc00 @ 2021-03-11 21:59:38 +0000
2021/03/14 05:24:45 config: tests/data-rendering.yml
2021/03/14 05:24:45 verbosity: 2
2021/03/14 05:24:45 -----------------------------------------------------------------------------------
2021/03/14 05:24:45 Running '3.1 Data Rendering', 1..4 tests
2021/03/14 05:24:45 -----------------------------------------------------------------------------------
2021/03/14 05:24:46 ✓ [3.1 Data Rendering] => 'data-rendering.yml' playbook syntax check (20), 858ms
2021/03/14 05:24:48 ✓ [3.1 Data Rendering] => playbook rollout - ccl team (50), 2.282s
2021/03/14 05:24:51 ✓ [3.1 Data Rendering] => playbook rollout - pgwy team (1), 2.688s
2021/03/14 05:24:53 ✓ [3.1 Data Rendering] => using loops (loop_control, loop_var, label) (1), 2.375s
2021/03/14 05:24:53 -----------------------------------------------------------------------------------
2021/03/14 05:24:53 Tests Summary:
2021/03/14 05:24:53 4 (of 4) tests passed, 0 tests failed; rated as 100.00%
2021/03/14 05:24:53
2021/03/14 05:24:53 Time Spent: 8.205s
2021/03/14 05:24:53 -----------------------------------------------------------------------------------
name: aliaksandr_belski, master/0fccc00 @ 2021-03-11 21:59:38 +0000
2021/03/14 05:24:53 config: tests/filters.yml
2021/03/14 05:24:53 verbosity: 2
2021/03/14 05:24:53 -----------------------------------------------------------------------------------
2021/03/14 05:24:53 Running '3.1 Working with Filters', 1..3 tests
2021/03/14 05:24:53 -----------------------------------------------------------------------------------
2021/03/14 05:24:57 ✓ [3.1 Working with Filters] => 'filters.yml' playbook linter (1), 3.851s
2021/03/14 05:24:58 ✓ [3.1 Working with Filters] => 'filters.yml' playbook syntax check (1), 896ms
2021/03/14 05:25:01 ✓ [3.1 Working with Filters] => playbook rollout - ccl team (1), 3.499s
2021/03/14 05:25:01 -----------------------------------------------------------------------------------
2021/03/14 05:25:01 Tests Summary:
2021/03/14 05:25:01 3 (of 3) tests passed, 0 tests failed; rated as 100.00%
2021/03/14 05:25:01
2021/03/14 05:25:01 Time Spent: 8.248s
2021/03/14 05:25:01 -----------------------------------------------------------------------------------
name: aliaksandr_belski, master/0fccc00 @ 2021-03-11 21:59:38 +0000
2021/03/14 05:25:01 config: tests/filter-tomcat_url.yml
2021/03/14 05:25:01 verbosity: 2
2021/03/14 05:25:01 -----------------------------------------------------------------------------------
2021/03/14 05:25:01 Running '3.2 Custom Filter "tomcat_url"', 1..4 tests
2021/03/14 05:25:01 -----------------------------------------------------------------------------------
2021/03/14 05:25:03 ✗ [3.2 Custom Filter "tomcat_url"] -> testing environment is built (Dockerfile is ok)
2021/03/14 05:25:03 Result: exit status 1
2021/03/14 05:25:03 Output:
Sending build context to Docker daemon 10.75kB
Error response from daemon: dockerfile parse error line 5: unknown instruction: PIP3
2021/03/14 05:25:03 ✗ [3.2 Custom Filter "tomcat_url"] -> get correct url for tomcat bin (9.0.27)
2021/03/14 05:25:03 Result: exit status 1
2021/03/14 05:25:03 Output:
Error: No such container: test
2021/03/14 05:25:03 ✗ [3.2 Custom Filter "tomcat_url"] -> get correct url for tomcat bin (8.0.12)
2021/03/14 05:25:03 Result: exit status 1
2021/03/14 05:25:03 Output:
Error: No such container: test
2021/03/14 05:25:03 ✗ [3.2 Custom Filter "tomcat_url"] -> get correct url for tomcat bin (random version)
2021/03/14 05:25:03 Result: exit status 1
2021/03/14 05:25:03 Output:
Error: No such container: test
2021/03/14 05:25:03 -----------------------------------------------------------------------------------
2021/03/14 05:25:03 Tests Summary:
2021/03/14 05:25:03 0 (of 4) tests passed, 4 tests failed; rated as 0.00%
2021/03/14 05:25:03
2021/03/14 05:25:03 Time Spent: 1.843s
2021/03/14 05:25:03 -----------------------------------------------------------------------------------
name: aliaksandr_belski, master/0fccc00 @ 2021-03-11 21:59:38 +0000
2021/03/14 05:25:03 config: tests/filter-tomcat_checksum.yml
2021/03/14 05:25:03 verbosity: 2
2021/03/14 05:25:03 -----------------------------------------------------------------------------------
2021/03/14 05:25:03 Running '3.2 Custom Filter "tomcat_checksum"', 1..4 tests
2021/03/14 05:25:03 -----------------------------------------------------------------------------------
2021/03/14 05:25:05 ✗ [3.2 Custom Filter "tomcat_checksum"] -> testing environment is built (Dockerfile is ok)
2021/03/14 05:25:05 Result: exit status 1
2021/03/14 05:25:05 Output:
Sending build context to Docker daemon 10.75kB
Error response from daemon: dockerfile parse error line 5: unknown instruction: PIP3
2021/03/14 05:25:05 ✗ [3.2 Custom Filter "tomcat_checksum"] -> get tomcat v9.0.27 checksum
2021/03/14 05:25:05 Result: exit status 1
2021/03/14 05:25:05 Output:
Error: No such container: test
2021/03/14 05:25:05 ✗ [3.2 Custom Filter "tomcat_checksum"] -> get tomcat v8.0.32 checksum
2021/03/14 05:25:05 Result: exit status 1
2021/03/14 05:25:05 Output:
Error: No such container: test
2021/03/14 05:25:05 ✗ [3.2 Custom Filter "tomcat_checksum"] -> get tomcat v8.0.132 checksum
2021/03/14 05:25:05 Result: exit status 1
2021/03/14 05:25:05 Output:
Error: No such container: test
2021/03/14 05:25:05 -----------------------------------------------------------------------------------
2021/03/14 05:25:05 Tests Summary:
2021/03/14 05:25:05 0 (of 4) tests passed, 4 tests failed; rated as 0.00%
2021/03/14 05:25:05
2021/03/14 05:25:05 Time Spent: 1.828s
2021/03/14 05:25:05 -----------------------------------------------------------------------------------
name: aliaksandr_belski, master/0fccc00 @ 2021-03-11 21:59:38 +0000
2021/03/14 05:25:05 config: tests/module-wget.yml
2021/03/14 05:25:05 verbosity: 2
2021/03/14 05:25:05 -----------------------------------------------------------------------------------
2021/03/14 05:25:05 Running '3.2 Custom module "wget"', 1..9 tests
2021/03/14 05:25:05 -----------------------------------------------------------------------------------
2021/03/14 05:25:19 ✓ [3.2 Custom module "wget"] => testing environment is built (Dockerfile is ok) (1), 13.873s
2021/03/14 05:25:20 ✗ [3.2 Custom module "wget"] -> should download tomcat tar.gz by src url to dest folder
2021/03/14 05:25:20 Result: exit status 1
2021/03/14 05:25:20 Output:
1bec780e9101 ansible-test "sleep infinity" 11 seconds ago Up 10 seconds test
(run, /tmp/students-3/aliaksandr_belski/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: |
test | FAILED! => {
 "msg": "The module wget was not found in configured module paths"
}
CMD Failed:
2021/03/14 05:25:21 ✗ [3.2 Custom module "wget"] -> should recognize that current state is up to date
2021/03/14 05:25:21 Result: exit status 1
2021/03/14 05:25:21 Output:
1bec780e9101 ansible-test "sleep infinity" 12 seconds ago Up 11 seconds test
stat: cannot stat '/tmp/apache-tomcat-8.0.32.tar.gz': No such file or directory
2021/03/14 05:25:22 ✗ [3.2 Custom module "wget"] -> should update existing file if it's is broken
2021/03/14 05:25:22 Result: exit status 1
2021/03/14 05:25:22 Output:
1bec780e9101 ansible-test "sleep infinity" 13 seconds ago Up 11 seconds test
(run, /tmp/students-3/aliaksandr_belski/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: |
test | FAILED! => {
 "msg": "The module wget was not found in configured module paths"
}
CMD Failed:
2021/03/14 05:25:24 ✗ [3.2 Custom module "wget"] -> existing file doesn't correspond to provided chksum
2021/03/14 05:25:24 Result: exit status 1
2021/03/14 05:25:24 Output:
1bec780e9101 ansible-test "sleep infinity" 14 seconds ago Up 13 seconds test
(run, /tmp/students-3/aliaksandr_belski/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: |
test | FAILED! => {
 "msg": "The module wget was not found in configured module paths"
}
CMD Failed:
2021/03/14 05:25:26 ✗ [3.2 Custom module "wget"] -> should change ownership if it's required
2021/03/14 05:25:26 Result: exit status 1
2021/03/14 05:25:26 Output:
1bec780e9101 ansible-test "sleep infinity" 16 seconds ago Up 15 seconds test
(run, /tmp/students-3/aliaksandr_belski/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: |
test | FAILED! => {
 "msg": "The module wget was not found in configured module paths"
}
CMD Failed:
2021/03/14 05:25:27 ✓ [3.2 Custom module "wget"] => should fail on changing ownership to wrong user (1), 1.645s
2021/03/14 05:25:29 ✗ [3.2 Custom module "wget"] -> should change access mode if it's required
2021/03/14 05:25:29 Result: exit status 1
2021/03/14 05:25:29 Output:
1bec780e9101 ansible-test "sleep infinity" 20 seconds ago Up 18 seconds test
(run, /tmp/students-3/aliaksandr_belski/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: |
test | FAILED! => {
 "msg": "The module wget was not found in configured module paths"
}
CMD Failed:
2021/03/14 05:25:31 ✓ [3.2 Custom module "wget"] => should fail if downloaded file doesn't correspond to provided checksum (1), 1.74s
2021/03/14 05:25:31 -----------------------------------------------------------------------------------
2021/03/14 05:25:31 Tests Summary:
2021/03/14 05:25:31 3 (of 9) tests passed, 6 tests failed; rated as 33.33%
2021/03/14 05:25:31
2021/03/14 05:25:31 Time Spent: 26.121s
2021/03/14 05:25:31 -----------------------------------------------------------------------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment