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
services: | |
firefox: | |
image: selenium/node-firefox-debug | |
volumes: | |
- /dev/shm:/dev/shm | |
ports: | |
- "6901:5900" | |
depends_on: | |
- hub | |
environment: |
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
#Step 0: Choose base | |
FROM maven:3.6.3-jdk-11 | |
#Step 1 : Install the pre-requisite | |
COPY . . | |
RUN apt-get update && apt install sudo | |
RUN apt-get install -y curl | |
RUN apt-get install -y p7zip \ | |
p7zip-full \ |
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
XPCOMGlueLoad error for file /opt/firefox-78.0.2/libxul.so: | |
libdbus-glib-1.so.2: cannot open shared object file: No such file or directory | |
Couldn't load XPCOM. |
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
docker run --rm \ | |
-v "$(pwd)":/usr/src/mymaven \ | |
-w /usr/src/mymaven \ | |
maven:3.6.3-jdk-11 \ | |
bash -c " export MAVEN_OPTS=\"-Xmx1g\" && mvn clean test" |
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
MAVEN_OPTS = '-Xmx2048m' |
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
MAVEN_OPTS = '-Xmx2048m' |
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
[INFO] | |
[INFO] ------------------------------------------------------- | |
[INFO] T E S T S | |
[INFO] ------------------------------------------------------- | |
[INFO] Running cloud.celonis.SSOLoginTest | |
[INFO] | |
[INFO] Results: | |
[INFO] | |
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0 | |
[INFO] |
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
$ java -jar selenium-server-standalone-3.141.59.jar -role node -nodeConfig DefaultNodeWebDriver.json | |
13:47:39.742 INFO [GridLauncherV3.parse] - Selenium server version: 3.141.59, revision: e82be7d358 | |
13:47:39.835 INFO [GridLauncherV3.lambda$buildLaunchers$7] - Launching a Selenium Grid node on port 28174 | |
2020-09-15 13:47:39.916:INFO::main: Logging initialized @396ms to org.seleniumhq.jetty9.util.log.StdErrLog | |
13:47:40.118 INFO [WebDriverServlet.<init>] - Initialising WebDriverServlet | |
13:47:40.194 ERROR [BaseServer.start] - Port 28174 is busy, please choose a free port and specify it using -port option | |
Exception in thread "main" java.lang.RuntimeException: java.net.BindException: Can't assign requested address | |
at org.openqa.selenium.grid.server.BaseServer.start(BaseServer.java:221) | |
at org.openqa.selenium.remote.server.SeleniumServer.boot(SeleniumServer.java:131) | |
at org.openqa.grid.internal.utils.SelfRegisteringRemote.startRemoteServer(SelfRegisteringRemote.java:119) |
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
firefox: | |
image: selenium/node-firefox:4.0.0-alpha-7-prerelease-20200907 | |
volumes: | |
- /dev/shm:/dev/shm | |
depends_on: | |
- selenium-hub | |
environment: | |
- SE_EVENT_BUS_HOST=selenium-hub | |
- SE_EVENT_BUS_PUBLISH_PORT=4442 | |
- SE_EVENT_BUS_SUBSCRIBE_PORT=4443 |
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
2020-09-14 15:53:1220:53:12.223 INFO [Hub.start] - Clients should connect to <http://169.254.172.42:4444/wd/hub> | |
2020-09-14 15:53:2620:53:26.235 INFO [DefaultGridRegistry.add] - Registered a node <http://169.254.172.42:5555> | |
2020-09-14 15:53:3720:53:37.529 INFO [DefaultRemoteProxy.onEvent] - Marking the node <http://169.254.172.42:5555> as down: cannot reach the node for 2 tries |