New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[JENKINS-54295] Fix docker image #456
Conversation
This version was working perfectly for the 1.62 tag
@lvotypko, will this work as a temporary measure? |
@olivergondza This PR is not yet complete, I need more things to investigate given the error. We already have temporary measures in core that can be easily applied here by using |
Hi, I am working on upgrade to selenium 3, because we can not be on current selenium version forever. But it takes me more time then I expected, so I am fine with setting the version of Firefox as temporary fix (I think it should be something lesser then 58, but not sure if I remember it well) and consider it as permanent setting. Because sometime it is hard to make it work for any browser version. |
Temporarily clossing to try to trigger a new PR builder run as the build got a temporarily unavailable error from debian apt repos |
I fully agree with updating the selenium version, several previous tries have proven how difficult it is so I fully understand you. I would suggest that as part of that change the firefox version in the docker image has to be also updated to the proper version so people that runs the ATH using the docker image are not affected by the change. In any case we need to start fixing things in the docker image so changes in the deb repos (like a new version of openjdk) do not make things fail without obvious reasons and the docker image is more deterministic. |
The current failure is due to a breaking change introduced in the last
@olivergondza or @lvotypko can you run my changes to check the validity? It worked on my local runs but I have no way to try them in the PR Builder |
@raul-arabaolaza, I use the same workaround for selenium3 and it works on our machines. I will try to run your branch too. |
@lvotypko any news? |
Hello, I realized in my pull request that there is a problem with version of docker, so we need binaries closer to previous version (there is a problem with sharing docker.sock). In my pull request it worked with docker-17.03.2. But your test failed even before. I will try to run it from Jenkinsfile (I do not use it because we have a different enviromnet and it needs a few modifications) and find out what is wrong. I had to use more memory with selenium 3. It is possible that current memory given by default is not enough even for selenium 2. But it is only theory. |
I tried it several time locally and have no problem with jvm crash. But you will need to change docker version too.
Try to commit it and we will see, if it fails again. |
Yeah, will do. Thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Or just update Surefire in the POM instead.
@@ -13,15 +13,15 @@ RUN apt-get clean && \ | |||
git \ | |||
imagemagick \ | |||
iptables \ | |||
firefox-esr \ | |||
firefox-esr=52.9.0esr-1~deb9u1 \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FWIW I have had serious problems specifying exact versions in apt
commands in Dockerfile
s: after security fixes are released, vulnerable versions are deleted from the repositories, and new docker build
s start failing.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@lvotypko Changed the docker version as you suggested |
Hello, but it should be: When I run your branch in my environment, I have desired I do not understand why it is not here... Any idea? |
I think I have an idea why it happens. But it is only theory... if the build is started with master Jenkinsfile and after the change is merged, it is running with Jenkinsfile on master not with Jenkinsfile in your branch. But it is only theory, otherwise I am not able to explain this behavior. |
That is a security feature, changes in Jenkinsfiles done by PR are only used if the owner of the PR is a trusted source, which for the ATH I am not :) That is the reason the pr builder for this change is not accurate and I am requesting you to run my changes |
Ok, now we can merge the commit. We can merge the commit so we have at least some results then #457 is merged. I hope it will be sooner then new version of Firefox. Thank you! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Thanks! |
JENKINS-54295 This version was working perfectly for the 1.62 tag