Skip to content

Commit 888c51c

Browse files
committed
Merge branch 'pr-28'
2 parents 4a76f2a + 23d7a44 commit 888c51c

File tree

14 files changed

+5
-188
lines changed

14 files changed

+5
-188
lines changed

Base/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ RUN apt-get update -qqy \
1717
openjdk-7-jre-headless \
1818
unzip \
1919
wget \
20-
&& rm -rf /var/lib/apt/lists/*
20+
&& rm -rf /var/lib/apt/lists/* \
21+
&& sed -i 's/\/dev\/urandom/\/dev\/.\/urandom/' ./usr/lib/jvm/java-7-openjdk-amd64/jre/lib/security/java.security
2122

2223
#==========
2324
# Selenium

Hub/README.md

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -26,23 +26,6 @@ Selenium has the support of some of the largest browser vendors who have taken (
2626

2727
See the Selenium [site](http://docs.seleniumhq.org/) for documation on usage within your test code.
2828

29-
## Known Issues
30-
31-
### Problems with `/dev/random`
32-
33-
You may occasionally see that nodes will not immediately connect with the hub. In some cases the delay has been as high as 40 minutes. This is due to a known problem with linux containers where there is a lack of entropy within the running container. [James Bayer](http://blog.pivotal.io/cloud-foundry-pivotal/features/challenges-with-randomness-in-multi-tenant-linux-container-platforms) wrote a great article explaining the core of the problem.
34-
35-
36-
You can either install an entropy gathering daemon (EGD), such as [HAVEGED](http://www.issihosts.com/haveged/index.html), on you docker host.
37-
38-
-- or --
39-
40-
Run your container with the `-v /dev/urandom:/dev/random` option. ie:
41-
42-
```
43-
$ docker run -d -v /dev/urandom:/dev/random --link selenium-hub:hub selenium/node-firefox
44-
```
45-
4629
## License
4730

4831
View [license information](https://code.google.com/p/selenium/source/browse/COPYING) for the software contained in this image.

NodeBase/README.md

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -27,23 +27,6 @@ Selenium has the support of some of the largest browser vendors who have taken (
2727

2828
See the Selenium [site](http://docs.seleniumhq.org/) for documation on usage within your test code.
2929

30-
## Known Issues
31-
32-
### Problems with `/dev/random`
33-
34-
You may occasionally see that nodes will not immediately connect with the hub. In some cases the delay has been as high as 40 minutes. This is due to a known problem with linux containers where there is a lack of entropy within the running container. [James Bayer](http://blog.pivotal.io/cloud-foundry-pivotal/features/challenges-with-randomness-in-multi-tenant-linux-container-platforms) wrote a great article explaining the core of the problem.
35-
36-
37-
You can either install an entropy gathering daemon (EGD), such as [HAVEGED](http://www.issihosts.com/haveged/index.html), on you docker host.
38-
39-
-- or --
40-
41-
Run your container with the `-v /dev/urandom:/dev/random` option. ie:
42-
43-
```
44-
$ docker run -d -v /dev/urandom:/dev/random --link selenium-hub:hub selenium/node-firefox
45-
```
46-
4730
## License
4831

4932
View [license information](https://code.google.com/p/selenium/source/browse/COPYING) for the software contained in this image.

NodeChrome/README.md

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -27,23 +27,6 @@ Selenium has the support of some of the largest browser vendors who have taken (
2727

2828
See the Selenium [site](http://docs.seleniumhq.org/) for documation on usage within your test code.
2929

30-
## Known Issues
31-
32-
### Problems with `/dev/random`
33-
34-
You may occasionally see that nodes will not immediately connect with the hub. In some cases the delay has been as high as 40 minutes. This is due to a known problem with linux containers where there is a lack of entropy within the running container. [James Bayer](http://blog.pivotal.io/cloud-foundry-pivotal/features/challenges-with-randomness-in-multi-tenant-linux-container-platforms) wrote a great article explaining the core of the problem.
35-
36-
37-
You can either install an entropy gathering daemon (EGD), such as [HAVEGED](http://www.issihosts.com/haveged/index.html), on you docker host.
38-
39-
-- or --
40-
41-
Run your container with the `-v /dev/urandom:/dev/random` option. ie:
42-
43-
```
44-
$ docker run -d -v /dev/urandom:/dev/random --link selenium-hub:hub selenium/node-firefox
45-
```
46-
4730
## License
4831

4932
View [license information](https://code.google.com/p/selenium/source/browse/COPYING) for the software contained in this image.

NodeChromeDebug/README.md

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -50,23 +50,6 @@ Selenium has the support of some of the largest browser vendors who have taken (
5050

5151
See the Selenium [site](http://docs.seleniumhq.org/) for documation on usage within your test code.
5252

53-
## Known Issues
54-
55-
### Problems with `/dev/random`
56-
57-
You may occasionally see that nodes will not immediately connect with the hub. In some cases the delay has been as high as 40 minutes. This is due to a known problem with linux containers where there is a lack of entropy within the running container. [James Bayer](http://blog.pivotal.io/cloud-foundry-pivotal/features/challenges-with-randomness-in-multi-tenant-linux-container-platforms) wrote a great article explaining the core of the problem.
58-
59-
60-
You can either install an entropy gathering daemon (EGD), such as [HAVEGED](http://www.issihosts.com/haveged/index.html), on you docker host.
61-
62-
-- or --
63-
64-
Run your container with the `-v /dev/urandom:/dev/random` option. ie:
65-
66-
```
67-
$ docker run -d -v /dev/urandom:/dev/random --link selenium-hub:hub selenium/node-firefox
68-
```
69-
7053
## License
7154

7255
View [license information](https://code.google.com/p/selenium/source/browse/COPYING) for the software contained in this image.

NodeDebug/README.template.md

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -50,23 +50,6 @@ Selenium has the support of some of the largest browser vendors who have taken (
5050

5151
See the Selenium [site](http://docs.seleniumhq.org/) for documation on usage within your test code.
5252

53-
## Known Issues
54-
55-
### Problems with `/dev/random`
56-
57-
You may occasionally see that nodes will not immediately connect with the hub. In some cases the delay has been as high as 40 minutes. This is due to a known problem with linux containers where there is a lack of entropy within the running container. [James Bayer](http://blog.pivotal.io/cloud-foundry-pivotal/features/challenges-with-randomness-in-multi-tenant-linux-container-platforms) wrote a great article explaining the core of the problem.
58-
59-
60-
You can either install an entropy gathering daemon (EGD), such as [HAVEGED](http://www.issihosts.com/haveged/index.html), on you docker host.
61-
62-
-- or --
63-
64-
Run your container with the `-v /dev/urandom:/dev/random` option. ie:
65-
66-
```
67-
$ docker run -d -v /dev/urandom:/dev/random --link selenium-hub:hub selenium/node-firefox
68-
```
69-
7053
## License
7154

7255
View [license information](https://code.google.com/p/selenium/source/browse/COPYING) for the software contained in this image.

NodeFirefox/README.md

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -27,23 +27,6 @@ Selenium has the support of some of the largest browser vendors who have taken (
2727

2828
See the Selenium [site](http://docs.seleniumhq.org/) for documation on usage within your test code.
2929

30-
## Known Issues
31-
32-
### Problems with `/dev/random`
33-
34-
You may occasionally see that nodes will not immediately connect with the hub. In some cases the delay has been as high as 40 minutes. This is due to a known problem with linux containers where there is a lack of entropy within the running container. [James Bayer](http://blog.pivotal.io/cloud-foundry-pivotal/features/challenges-with-randomness-in-multi-tenant-linux-container-platforms) wrote a great article explaining the core of the problem.
35-
36-
37-
You can either install an entropy gathering daemon (EGD), such as [HAVEGED](http://www.issihosts.com/haveged/index.html), on you docker host.
38-
39-
-- or --
40-
41-
Run your container with the `-v /dev/urandom:/dev/random` option. ie:
42-
43-
```
44-
$ docker run -d -v /dev/urandom:/dev/random --link selenium-hub:hub selenium/node-firefox
45-
```
46-
4730
## License
4831

4932
View [license information](https://code.google.com/p/selenium/source/browse/COPYING) for the software contained in this image.

NodeFirefoxDebug/README.md

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -50,23 +50,6 @@ Selenium has the support of some of the largest browser vendors who have taken (
5050

5151
See the Selenium [site](http://docs.seleniumhq.org/) for documation on usage within your test code.
5252

53-
## Known Issues
54-
55-
### Problems with `/dev/random`
56-
57-
You may occasionally see that nodes will not immediately connect with the hub. In some cases the delay has been as high as 40 minutes. This is due to a known problem with linux containers where there is a lack of entropy within the running container. [James Bayer](http://blog.pivotal.io/cloud-foundry-pivotal/features/challenges-with-randomness-in-multi-tenant-linux-container-platforms) wrote a great article explaining the core of the problem.
58-
59-
60-
You can either install an entropy gathering daemon (EGD), such as [HAVEGED](http://www.issihosts.com/haveged/index.html), on you docker host.
61-
62-
-- or --
63-
64-
Run your container with the `-v /dev/urandom:/dev/random` option. ie:
65-
66-
```
67-
$ docker run -d -v /dev/urandom:/dev/random --link selenium-hub:hub selenium/node-firefox
68-
```
69-
7053
## License
7154

7255
View [license information](https://code.google.com/p/selenium/source/browse/COPYING) for the software contained in this image.

README.md

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -114,23 +114,6 @@ When you are prompted for the password it is __secret__. If you wish to change t
114114
RUN x11vnc -storepasswd <your-password-here> /home/seluser/.vnc/passwd
115115
```
116116

117-
## Known Issues
118-
119-
### Problems with `/dev/random`
120-
121-
You may occasionally see that nodes will not immediately connect with the hub. In some cases the delay has been as high as 40 minutes. This is due to a known problem with linux containers where there is a lack of entropy within the running container. [James Bayer](http://blog.pivotal.io/cloud-foundry-pivotal/features/challenges-with-randomness-in-multi-tenant-linux-container-platforms) wrote a great article explaining the core of the problem.
122-
123-
124-
You can either install an entropy gathering daemon (EGD), such as [HAVEGED](http://www.issihosts.com/haveged/index.html), on you docker host.
125-
126-
-- or --
127-
128-
Run your container with the `-v /dev/urandom:/dev/random` option. ie:
129-
130-
```
131-
$ docker run -d -v /dev/urandom:/dev/random --link selenium-hub:hub selenium/node-firefox
132-
```
133-
134117
##### Look around
135118

136119
``` bash

Standalone/README.template.md

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -28,22 +28,6 @@ Selenium has the support of some of the largest browser vendors who have taken (
2828

2929
See the Selenium [site](http://docs.seleniumhq.org/) for documation on usage within your test code.
3030

31-
## Known Issues
32-
33-
### Problems with `/dev/random`
34-
35-
You may occasionally see that Selenium containers are not immediately responsive. In some cases the delay has been as high as 40 minutes. This is due to a known problem with linux containers where there is a lack of entropy within the running container. [James Bayer](http://blog.pivotal.io/cloud-foundry-pivotal/features/challenges-with-randomness-in-multi-tenant-linux-container-platforms) wrote a great article explaining the core of the problem.
36-
37-
You can either install an entropy gathering daemon (EGD), such as [HAVEGED](http://www.issihosts.com/haveged/index.html), on you docker host.
38-
39-
-- or --
40-
41-
Run your container with the `-v /dev/urandom:/dev/random` option. ie:
42-
43-
```
44-
$ docker run -d -v /dev/urandom:/dev/random selenium/standalone-##BROWSER_LC##
45-
```
46-
4731
## License
4832

4933
View [license information](https://code.google.com/p/selenium/source/browse/COPYING) for the software contained in this image.

StandaloneChrome/README.md

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -28,22 +28,6 @@ Selenium has the support of some of the largest browser vendors who have taken (
2828

2929
See the Selenium [site](http://docs.seleniumhq.org/) for documation on usage within your test code.
3030

31-
## Known Issues
32-
33-
### Problems with `/dev/random`
34-
35-
You may occasionally see that Selenium containers are not immediately responsive. In some cases the delay has been as high as 40 minutes. This is due to a known problem with linux containers where there is a lack of entropy within the running container. [James Bayer](http://blog.pivotal.io/cloud-foundry-pivotal/features/challenges-with-randomness-in-multi-tenant-linux-container-platforms) wrote a great article explaining the core of the problem.
36-
37-
You can either install an entropy gathering daemon (EGD), such as [HAVEGED](http://www.issihosts.com/haveged/index.html), on you docker host.
38-
39-
-- or --
40-
41-
Run your container with the `-v /dev/urandom:/dev/random` option. ie:
42-
43-
```
44-
$ docker run -d -v /dev/urandom:/dev/random selenium/standalone-chrome
45-
```
46-
4731
## License
4832

4933
View [license information](https://code.google.com/p/selenium/source/browse/COPYING) for the software contained in this image.

StandaloneFirefox/README.md

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -28,22 +28,6 @@ Selenium has the support of some of the largest browser vendors who have taken (
2828

2929
See the Selenium [site](http://docs.seleniumhq.org/) for documation on usage within your test code.
3030

31-
## Known Issues
32-
33-
### Problems with `/dev/random`
34-
35-
You may occasionally see that Selenium containers are not immediately responsive. In some cases the delay has been as high as 40 minutes. This is due to a known problem with linux containers where there is a lack of entropy within the running container. [James Bayer](http://blog.pivotal.io/cloud-foundry-pivotal/features/challenges-with-randomness-in-multi-tenant-linux-container-platforms) wrote a great article explaining the core of the problem.
36-
37-
You can either install an entropy gathering daemon (EGD), such as [HAVEGED](http://www.issihosts.com/haveged/index.html), on you docker host.
38-
39-
-- or --
40-
41-
Run your container with the `-v /dev/urandom:/dev/random` option. ie:
42-
43-
```
44-
$ docker run -d -v /dev/urandom:/dev/random selenium/standalone-firefox
45-
```
46-
4731
## License
4832

4933
View [license information](https://code.google.com/p/selenium/source/browse/COPYING) for the software contained in this image.

sa-test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ function test_standalone {
77
BROWSER=$1
88
echo Starting $BROWSER standalone container
99

10-
SA=$(docker run -d -v /dev/urandom:/dev/random selenium/standalone-$BROWSER:2.44.0)
10+
SA=$(docker run -d selenium/standalone-$BROWSER:2.44.0)
1111
SA_NAME=$(docker inspect -f '{{ .Name }}' $SA | sed s:/::)
1212
TEST_CMD="node smoke-$BROWSER.js"
1313

test.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ HUB=$(docker run -d selenium/hub:2.44.0)
1313
HUB_NAME=$(docker inspect -f '{{ .Name }}' $HUB | sed s:/::)
1414
sleep 2
1515

16-
NODE_CHROME=$(docker run -d --link $HUB_NAME:hub -v /dev/urandom:/dev/random selenium/node-chrome$DEBUG:2.44.0)
17-
NODE_FIREFOX=$(docker run -d --link $HUB_NAME:hub -v /dev/urandom:/dev/random selenium/node-firefox$DEBUG:2.44.0)
16+
NODE_CHROME=$(docker run -d --link $HUB_NAME:hub selenium/node-chrome$DEBUG:2.44.0)
17+
NODE_FIREFOX=$(docker run -d --link $HUB_NAME:hub selenium/node-firefox$DEBUG:2.44.0)
1818

1919
docker logs -f $HUB &
2020
docker logs -f $NODE_CHROME &

0 commit comments

Comments
 (0)