Skip to content

Instantly share code, notes, and snippets.

@sbeliakou
Created March 14, 2021 00:06
Show Gist options
  • Save sbeliakou/03241d47df36431129bc429c5168dd05 to your computer and use it in GitHub Desktop.
Save sbeliakou/03241d47df36431129bc429c5168dd05 to your computer and use it in GitHub Desktop.
Cloning into 'maksimelyan_tamashevich'...
name: maksimelyan_tamashevich, master/9b8dc97 @ 2021-03-11 21:57:41 +0000
2021/03/13 23:54:42 config: tests/tomcat.yml
2021/03/13 23:54:42 verbosity: 2
2021/03/13 23:54:42 -----------------------------------------------------------------------------------
2021/03/13 23:54:42 Running '1.1 Tomcat', 1..16 tests
2021/03/13 23:54:42 -----------------------------------------------------------------------------------
2021/03/13 23:54:51 ✓ [1.1 Tomcat] => playbook lint (ansible-lint) (1), 6.706s
2021/03/13 23:54:52 ✓ [1.1 Tomcat] => playbook syntax check (--syntax-check) (1), 1.256s
2021/03/13 23:57:11 ✓ [1.1 Tomcat] => apply playbook (3), 2m19.384s
2021/03/13 23:57:12 ✓ [1.1 Tomcat] => service process should run after rollout (2), 374ms
2021/03/13 23:57:19 ✓ [1.1 Tomcat] => responds 200 (2), 4.109s
2021/03/13 23:57:45 ✓ [1.1 Tomcat] => idempotency check (3), 26.341s
2021/03/13 23:57:46 ✓ [1.1 Tomcat] => should run after 2nd apply (2), 950ms
2021/03/13 23:57:47 ✓ [1.1 Tomcat] => shouldn't restart (3), 847ms
2021/03/13 23:57:47 ✓ [1.1 Tomcat] => service is enabled (1), 557ms
2021/03/13 23:57:48 ✓ [1.1 Tomcat] => 'tomcat_user' variable set as required (1), 220ms
2021/03/13 23:57:48 ✓ [1.1 Tomcat] => 'tomcat_group' variable set as required (1), 254ms
2021/03/14 00:00:09 ✓ [1.1 Tomcat] => service is running under non-priviliged user as per tomcat_user/tomcat_group (1), 2m20.571s
2021/03/14 00:00:09 ✓ [1.1 Tomcat] => 'tomcat_url' variable set as required (1), 43ms
2021/03/14 00:00:09 ✓ [1.1 Tomcat] => 'tomcat_home' variable set as required (1), 96ms
2021/03/14 00:02:21 ✓ [1.1 Tomcat] => can install into different home (1), 2m12.409s
2021/03/14 00:04:25 ✓ [1.1 Tomcat] => can apply under non-root user (3), 2m3.924s
2021/03/14 00:04:26 -----------------------------------------------------------------------------------
2021/03/14 00:04:26 Tests Summary:
2021/03/14 00:04:26 16 (of 16) tests passed, 0 tests failed; rated as 100.00%
2021/03/14 00:04:26
2021/03/14 00:04:26 Time Spent: 9m44.002s
2021/03/14 00:04:26 -----------------------------------------------------------------------------------
name: maksimelyan_tamashevich, master/9b8dc97 @ 2021-03-11 21:57:41 +0000
2021/03/14 00:04:26 config: tests/webapp.yml
2021/03/14 00:04:26 verbosity: 2
2021/03/14 00:04:26 -----------------------------------------------------------------------------------
2021/03/14 00:04:26 Running '1.2 WebApp', 1..21 tests
2021/03/14 00:04:26 -----------------------------------------------------------------------------------
2021/03/14 00:04:35 ✓ [1.2 WebApp] => playbook lint (ansible-lint) (1), 6.37s
2021/03/14 00:04:36 ✓ [1.2 WebApp] => playbook syntax check (--syntax-check) (1), 1.366s
2021/03/14 00:04:55 ✓ [1.2 WebApp] => apply plybook (2), 18.793s
2021/03/14 00:04:55 ✓ [1.2 WebApp] => 'webapp-server' is running (2), 232ms
2021/03/14 00:04:56 ✓ [1.2 WebApp] => service responds 200 (2), 336ms
2021/03/14 00:05:11 ✓ [1.2 WebApp] => playbook idempotency check (2), 15.271s
2021/03/14 00:05:11 ✓ [1.2 WebApp] => service shouldn't restart (2), 306ms
2021/03/14 00:05:12 ✓ [1.2 WebApp] => service should run after 2nd apply (2), 240ms
2021/03/14 00:05:12 ✓ [1.2 WebApp] => service is enabled (1), 170ms
2021/03/14 00:05:38 ✓ [1.2 WebApp] => can use 'student_first_name/student_last_name' variables (1), 26.159s
2021/03/14 00:05:38 ✗ [1.2 WebApp] -> can set custom port
2021/03/14 00:05:38 Result: exit status 1
2021/03/14 00:05:38 Output:
grep: webapp-server.conf.j2: No such file or directory
Assertion Failed: '' == ''
2021/03/14 00:05:38 ✗ [1.2 WebApp] -> use 'checksum' when downloading WebApp binary (get_url)
2021/03/14 00:05:38 Result: exit status 1
2021/03/14 00:05:38 Output:
2021/03/14 00:05:38 ✓ [1.2 WebApp] => service is running under 'webapp-server:webapp-server' (1), 534ms
2021/03/14 00:05:39 ✓ [1.2 WebApp] => app/service user has no password set (1), 249ms
2021/03/14 00:05:39 ✓ [1.2 WebApp] => playbook has no hardcoded 'webapp_user' (1), 23ms
2021/03/14 00:05:39 ✓ [1.2 WebApp] => playbook has no hardcoded 'webapp_group' (1), 30ms
2021/03/14 00:06:05 ✓ [1.2 WebApp] => can use 'webapp_user/webapp_group' variables (1), 25.935s
2021/03/14 00:06:27 ✓ [1.2 WebApp] => can install into different home dir (1), 21.969s
2021/03/14 00:06:27 ✓ [1.2 WebApp] => can use different source url (1), 11ms
2021/03/14 00:06:49 ✓ [1.2 WebApp] => can apply under non-root user (1), 21.841s
2021/03/14 00:06:49 ✓ [1.2 WebApp] => playbook has 'handlers' (1), 12ms
2021/03/14 00:06:49 -----------------------------------------------------------------------------------
2021/03/14 00:06:49 Tests Summary:
2021/03/14 00:06:49 19 (of 21) tests passed, 2 tests failed; rated as 92.59%
2021/03/14 00:06:49
2021/03/14 00:06:49 Time Spent: 2m23.324s
2021/03/14 00:06:49 -----------------------------------------------------------------------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment