Hi I have built the KS custom docker image with chrome browser 112 following the GitHub - katalon-studio/docker-images: Docker images for Katalon Studio and other frameworks
But I am unable to start the Katalon studio, it is getting stuck as follows
docker run -t --rm -v “$(pwd)”:/tmp/project gouthamsam/ks8.6.0:v1 katalonc.sh -projectPath=/tmp/project [Option1] [Option2] … [OptionN]
Entrypoint
Starting Katalon Studio
Mozilla Firefox 116.0
Google Chrome 112.0.5615.49
Microsoft Edge 114.0.1823.82
Katalon Studio
It is getting stuck at this point Can someone guide me if I am doing something wrong. Please find the docker file and setup.sh
I made changes in setup.sh to install Chrome 112 version
Dockerfile (1.8 KB)
setup.sh (3.1 KB)
Hi,
Please help checking the log of Docker image. Run docker run -it --rm -v "$(pwd)":/tmp/project gouthamsam/ks8.6.0:v1 bash
to interact with Docker container, check the log docker logs CONTAINER_ID
.
The error message shows the project path as /tmp/project. Ensure that you have mounted the correct project path to the Docker container when running the command. Make sure the project is accessible from within the container.
And we might have to upgrade Katalon version to be compatible with Chrome 112. Let me know if you can solve it.
Hi @Elly_Tran , the issue over here is katalon studio not getting launched and it is stuck after this line
docker run -it --rm -v “$(pwd)”:/tmp/project gouthamsam/ks8.6.0:v1 katalonc.sh
Entrypoint
Starting Katalon Studio
Mozilla Firefox 116.0
Google Chrome 112.0.5615.49
Microsoft Edge 114.0.1823.82
Katalon Studio
No progress after this
But when I use the katalon studio image, it works as expected.
docker run -it --rm -v “$(pwd)”:/tmp/project katalonstudio/katalon katalonc.sh
Entrypoint
Starting Katalon Studio
Mozilla Firefox 114.0
Google Chrome 114.0.5735.90
Microsoft Edge 113.0.1774.57
Katalon Studio
Katalon workspace folder is set to default location: /tmp/session-edfef1a0
Starting Groovy-Eclipse compiler resolver. Specified compiler level: unspecified
138 org.codehaus.groovy_2.4.20.v202009301404-e2006-RELEASE ACTIVE
Activating…
Start getting machine ID on Linux
End getting machine ID on Linux b0613095a6291076310abce36476c3b2
Start appending additional signatures
hardwareSerialNumber
osDependentUsername root
End appending additional signatures b0613095a6291076310abce36476c3b2__root
Start activating offline…
Search for valid offline licenses in folder: /root/.katalon/license
The number of valid offline licenses: 0
Start activating online…
Can you guide me on how to build the correct custom image with Chrome version 112
Hi,
Are you a paid user? If yes, please help open ticket in Katalon Help Center. Otherwise, I will ask my internal team.
I noticed that the version of Google Chrome is auto-updated. Do you accept that?
Google Chrome performs auto-update as default. If you want to control the version of Chrome in the runtime environment for your testing, you possibly want to use
“Google Chrome for Testing” does NOT perform auto-update as default.
“Google Chrome for Testing” was released just recently in July this year. The version starts with 115.x.x.
You may need some instruction to use “Google Chrome for Testing” with Katalon Studio. See the following discussion for related information:
If you are determined to stick to the old version “112.0.5615.49”, you need to make Chrome in your docker image not to do auto-updating. You can google to find how to.
Hi @kazurayam
Chrome browser version is not updated. I am talking about katalon studio not getting launched when I had built the image with Chrome version 112.
I had posted the comparison between my custom image and the docker image of katalon studio from docker hub which uses different versions of browser.
The issue I am facing over here is after running my custom docker image, there is no progress after the logs
Katalon Studio
- args=(“$KATALON_KATALON_INSTALL_DIR/katalonc” “$@”)
- xvfb-run -s ‘-screen 0 1024x768x24’ /opt/katalonstudio/katalonc
It got stuck permanently and katalon studio is not launched. But that is not the case when I run the katalon image pulled from katalon docker hub.
@goutham.samala1
So your custom image has
- Chrome browser version 112.x
- Chrome Driver version 113.0.5672.24 bundled in the Katalon Studio 8.6.0
as you did not install ChromeDriver for Chrome v112.x
ChromeDriver v113.0.5672.24.x would fail to launch Chrome browser v112.x because of mismatching version.
If you want to launch Chrome browser v112.x, you need to install ChromeDriver of appropriate version
- Yes my custom image has 112.x. Please have a look at my set up file where I am installing chrome 112.x and when I run the command
docker run -it --rm -v “$(pwd)”:/tmp/project gouthamsam/ks8.6.0:v1 katalonc.sh
Katalon studio is not getting launched. This is the issue
- Katalan studio 8.6.5 has 114.x and when I run the command
docker run -it --rm -v “$(pwd)”:/tmp/project katalonstudio/katalon katalonc.sh
The katalon studio is launched
I already wrote why.
Do you know what “ChromeDriver” is, what it does?
Are you aware that you need the version of Chrome broser and ChromeDriver to be in sync?
Usually users will have, on their own PC, Chrome browser to be auto-updated to the latest version. And they will use “Tool > Update WebDriver > Chrome” menu to update the ChromeDriver to the latest version. So they will have browser and driver in synch.
Now you, @goutham.samala1, want to use Chrome browser v112 in your docker image. Then you are responsible to install an appropriate version of Chrome Driver into your image.
-
I know what chromedriver does and I know both should be in sync.
-
Let me explain it again, say I build the image from the git repo GitHub - katalon-studio/docker-images: Docker images for Katalon Studio and other frameworks
Command: docker build -t katalon-katalon -f src/Dockerfile --build-arg KATALON_STUDIO_VERSION=8.6.5 .
-
When I run this command docker run -it --rm -v “$(pwd)”:/tmp/project katalon-katalon katalonc.sh
Expected result: Katalon studio should start and a default workspace will be created and then it look for api key
Actual result: Katalon studio is not getting launched, it is getting stuck after this step
Entrypoint
- ‘[’ -z ‘’ ‘]’
- exec katalonc.sh
- echo ‘Starting Katalon Studio’
Starting Katalon Studio
Mozilla Firefox 114.0
Google Chrome 114.0.5735.90
Microsoft Edge 113.0.1774.57
Katalon Studio
- args=(“$KATALON_KATALON_INSTALL_DIR/katalonc” “$@”)
- xvfb-run -s ‘-screen 0 1024x768x24’ /opt/katalonstudio/katalonc
It is stuck at this point. This is my issue
- But when I pull the katalon docker image 8.6.5 from dockerhub, it runs perfectly
Please use “Code Formatting Syntax” to present command line operations, output from system, program source codes to present them differentiated from your descriptions in English for better readability.
1 Like