Skip to content

Instantly share code, notes, and snippets.

@elgalu
Last active December 9, 2016 13:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save elgalu/634953497956e99039828a8170b55a12 to your computer and use it in GitHub Desktop.
Save elgalu/634953497956e99039828a8170b55a12 to your computer and use it in GitHub Desktop.
docker run --rm -ti --name zalenium -p 4444:4444 -p 5555:5555 -v $(which docker):/usr/bin/docker -v /var/run/docker.sock:/var/run/docker.sock -v /tmp/videos:/home/seluser/videos --privileged dosel/zalenium start --sauceLabsEnabled false
Docker binary already present, will use that one.
Docker version 1.12.3, build 6b644ec
Starting Nginx reverse proxy...
Starting Selenium Hub...
.14:01:53.275 INFO - Launching Selenium Grid hub
..14:01:53.753 INFO - binding de.zalando.tip.zalenium.servlet.live to /grid/admin/live/*
log4j:WARN No appenders could be found for logger (org.seleniumhq.jetty9.util.log).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
14:01:53.783 INFO - Will listen on 4444
14:01:53.822 INFO - Will listen on 4444
.14:01:53.865 INFO - Nodes should register to http://172.17.0.2:4444/grid/register/
14:01:53.865 INFO - Selenium Grid hub is up and running
Selenium Hub started!
Starting DockerSeleniumStarter node...
.14:01:54.214 INFO - Launching a Selenium Grid node
.14:01:54.477 INFO - Java: Oracle Corporation 25.111-b14
14:01:54.477 INFO - OS: Linux 4.4.0-53-generic amd64
14:01:54.480 INFO - v2.53.1, with Core v2.53.1. Built from revision a36b8b1
14:01:54.518 INFO - Driver provider org.openqa.selenium.ie.InternetExplorerDriver registration is skipped:
registration capabilities Capabilities [{ensureCleanSession=true, browserName=internet explorer, version=, platform=WINDOWS}] does not match the current platform LINUX
14:01:54.518 INFO - Driver provider org.openqa.selenium.edge.EdgeDriver registration is skipped:
registration capabilities Capabilities [{browserName=MicrosoftEdge, version=, platform=WINDOWS}] does not match the current platform LINUX
14:01:54.518 INFO - Driver class not found: com.opera.core.systems.OperaDriver
14:01:54.518 INFO - Driver provider com.opera.core.systems.OperaDriver is not registered
14:01:54.518 INFO - Driver provider org.openqa.selenium.safari.SafariDriver registration is skipped:
registration capabilities Capabilities [{browserName=safari, version=, platform=MAC}] does not match the current platform LINUX
14:01:54.519 INFO - Driver class not found: org.openqa.selenium.htmlunit.HtmlUnitDriver
14:01:54.519 INFO - Driver provider org.openqa.selenium.htmlunit.HtmlUnitDriver is not registered
14:01:54.536 INFO - Selenium Grid node is up and ready to register to the hub
14:01:54.553 INFO - Starting auto registration thread. Will try to register every 5000 ms.
14:01:54.553 INFO - Registering the node to the hub: http://localhost:4444/grid/register
DockerSeleniumStarter node started!
Sauce Labs not enabled...
Zalenium is now ready!
*************************************** Data Processing Agreement ***************************************
By using this software you agree that the following non-PII (non personally identifiable information)
data will be collected, processed and used by Zalando SE for the purpose of improving our test
infrastructure tools. Anonymisation with respect of the IP address means that only the first two octets
of the IP address are collected.
See the complete license at https://github.com/zalando-incubator/zalenium/blob/master/LICENSE.md
*************************************** Data Processing Agreement ***************************************
14:01:55.138 INFO - [DS] Capabilities fetched from https://raw.githubusercontent.com/elgalu/docker-selenium/latest/capabilities.json
14:01:55.153 INFO - Registered a node http://172.17.0.2:30000
14:01:55.155 INFO - The node is registered to the hub and ready to use
14:01:55.157 INFO - [DS] Setting up 2 nodes...
14:01:56.588 INFO - 2 containers were created, it will take a bit more until all get registered.
14:01:58.614 INFO - Registered a node http://localhost:40000
14:01:59.056 INFO - Registered a node http://localhost:40001
14:02:10.238 INFO - Got a request to create a new session: Capabilities [{browserName=chrome, javascriptEnabled=true, version=, platform=ANY}]
14:02:10.239 INFO - Available nodes: [http://localhost:40000, http://localhost:40001, http://172.17.0.2:30000]
14:02:10.239 INFO - Trying to create a new session on node http://localhost:40000
14:02:10.239 INFO - Trying to create a new session on test slot {chrome_binary=/usr/bin/google-chrome-stable, seleniumProtocol=WebDriver, acceptSslCerts=true, browserName=chrome, maxInstances=1, version=54.0.2840.100, platform=LINUX}
14:02:10.270 INFO - localhost:40000 start-video
14:02:13.866 INFO - localhost:40000 STOP_SESSION command received. Node should shutdown soon...
14:02:14.126 INFO - localhost:40000 stop-video
14:02:26.449 INFO - localhost:40000 video-rec: stopped
Waiting for video to stop recording...
video-rec STOPPED Dec 09 02:02 PM
Done waiting for video recording to stop.
Video recording stopped
14:02:26.657 INFO - localhost:40000 Video files copies to: /home/seluser
14:02:26.664 INFO - localhost:40000 Marking the node as down because it was stopped after 1 tests.
14:02:26.664 INFO - localhost:40000 Marking the node as down because it was stopped after 1 tests.
14:02:26.664 WARN - Cleaning up stale test sessions on the unregistered node http://localhost:40000
^CTrapped SIGTERM/SIGINT so shutting down Zalenium gracefully...
Stopping Hub...
Stopping DockerSeleniumStarter node...
Removing exited docker-selenium containers...
1029b315808b
fece07696e54
*************************************** Data Processing Agreement ***************************************
By using this software you agree that the following non-PII (non personally identifiable information)
data will be collected, processed and used by Zalando SE for the purpose of improving our test
infrastructure tools. Anonymisation with respect of the IP address means that only the first two octets
of the IP address are collected.
See the complete license at https://github.com/zalando-incubator/zalenium/blob/master/LICENSE.md
*************************************** Data Processing Agreement ***************************************
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment