Skip to content

Instantly share code, notes, and snippets.

@sbeliakou
Created January 31, 2017 20:19
Show Gist options
  • Save sbeliakou/f2b62ba7c9a908b0b594d3ff6af5dc15 to your computer and use it in GitHub Desktop.
Save sbeliakou/f2b62ba7c9a908b0b594d3ff6af5dc15 to your computer and use it in GitHub Desktop.
PLAY [test] ********************************************************************
TASK [setup] *******************************************************************
ok: [EPBYMINW3093.minsk.epam.com]
TASK [vagrant up] **************************************************************
changed: [EPBYMINW3093.minsk.epam.com]
stdout: /home/student/workspace/vagrant
total 12
drwxrwxr-x. 2 student student 4096 Jan 31 22:38 nginx_src
drwxrwxr-x. 2 student student 4096 Jan 31 22:38 tomcat_src
-rw-rw-r--. 1 student student 1795 Jan 31 22:36 Vagrantfile
starting vagrant project
Bringing machine 'nginx' up with 'virtualbox' provider...
Bringing machine 'tomcat' up with 'virtualbox' provider...
==> nginx: Machine already provisioned. Run `vagrant provision` or use the `--provision`
==> nginx: flag to force provisioning. Provisioners marked to run always will still run.
==> tomcat: Machine already provisioned. Run `vagrant provision` or use the `--provision`
==> tomcat: flag to force provisioning. Provisioners marked to run always will still run.
TASK [check boxes amount] ******************************************************
changed: [EPBYMINW3093.minsk.epam.com]
stdout: Current machine states:
nginx running (virtualbox)
tomcat running (virtualbox)
This environment represents multiple VMs. The VMs are all listed
above with their current state. For more information about a specific
VM, run `vagrant status NAME`.
TASK [vagrant tests] ***********************************************************
fatal: [EPBYMINW3093.minsk.epam.com]: FAILED! => {"changed": true, "cmd": "vagrant status | grep running | cut -d' ' -f1 | xargs --no-run-if-empty -iF vagrant ssh F -c \"curl -sIL localhost\"\n echo\n if vagrant status | grep running | cut -d' ' -f1 | xargs -iF vagrant ssh F -c 'curl -s localhost' | grep Congratulations >/dev/null; then\n echo Tomacat forwarding is ok\n else\n echo Tomacat failed forwarding\n exit 1\n fi\n echo\n", "delta": "0:00:16.662484", "end": "2017-01-31 23:12:20.991086", "failed": true, "rc": 1, "start": "2017-01-31 23:12:04.328602", "stderr": "", "stdout": "HTTP/1.1 200 OK\r\nServer: nginx/1.10.2\r\nDate: Tue, 31 Jan 2017 20:12:15 GMT\r\nContent-Type: text/html\r\nContent-Length: 3698\r\nLast-Modified: Mon, 31 Oct 2016 12:37:31 GMT\r\nConnection: keep-alive\r\nETag: \"58173b0b-e72\"\r\nAccept-Ranges: bytes\r\n\r\nHTTP/1.1 200 OK\r\nServer: nginx/1.10.2\r\nDate: Tue, 31 Jan 2017 20:12:15 GMT\r\nContent-Type: text/html\r\nContent-Length: 3698\r\nLast-Modified: Mon, 31 Oct 2016 12:37:31 GMT\r\nConnection: keep-alive\r\nETag: \"58173b0b-e72\"\r\nAccept-Ranges: bytes\r\n\r\n\nTomacat failed forwarding", "stdout_lines": ["HTTP/1.1 200 OK", "Server: nginx/1.10.2", "Date: Tue, 31 Jan 2017 20:12:15 GMT", "Content-Type: text/html", "Content-Length: 3698", "Last-Modified: Mon, 31 Oct 2016 12:37:31 GMT", "Connection: keep-alive", "ETag: \"58173b0b-e72\"", "Accept-Ranges: bytes", "", "HTTP/1.1 200 OK", "Server: nginx/1.10.2", "Date: Tue, 31 Jan 2017 20:12:15 GMT", "Content-Type: text/html", "Content-Length: 3698", "Last-Modified: Mon, 31 Oct 2016 12:37:31 GMT", "Connection: keep-alive", "ETag: \"58173b0b-e72\"", "Accept-Ranges: bytes", "", "", "Tomacat failed forwarding"], "warnings": []}
stdout: HTTP/1.1 200 OK
Server: nginx/1.10.2
Date: Tue, 31 Jan 2017 20:12:15 GMT
Content-Type: text/html
Content-Length: 3698
Last-Modified: Mon, 31 Oct 2016 12:37:31 GMT
Connection: keep-alive
ETag: "58173b0b-e72"
Accept-Ranges: bytes
HTTP/1.1 200 OK
Server: nginx/1.10.2
Date: Tue, 31 Jan 2017 20:12:15 GMT
Content-Type: text/html
Content-Length: 3698
Last-Modified: Mon, 31 Oct 2016 12:37:31 GMT
Connection: keep-alive
ETag: "58173b0b-e72"
Accept-Ranges: bytes
Tomacat failed forwarding
PLAY RECAP *********************************************************************
EPBYMINW3093.minsk.epam.com : ok=3 changed=2 unreachable=0 failed=1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment