Hi, I’m trying to run a Suite Collection on GitHub actions on ubuntu server but always get the same error Exit code: 13:
yml file for GH actions:
when running same SC in widows it works just fine, but I need it to be executed on ubuntu.
May you provide any support on this matter?
Hi @isaac.palmasolis.ext
Please help provide the Katalon_Integration.yml script (You can hide your API key before sending)
Hi @huyen.nguyen2 ,yml you requested:
name: CI
on:
push:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Katalon Studio Github Action
uses: katalon-studio/katalon-studio-github-action@v2
with:
version: '8.4.1'
projectPath: '${{ github.workspace }}'
args: '-noSplash -retry=0 -testSuiteCollectionPath="Test Suites/AdrianSC" -apiKey=${{ secrets.API_KEY }} -testOpsProjectId=xxxxxx --config -webui.autoUpdateDrivers=true'
As it seems, everything is fine now. Thanks for your support @huyen.nguyen2 .
1 Like
Hi @isaac.palmasolis.ext
Could you please share with us how you can resolve the issue? I am facing a similar issue from my end.
I hope that you will be available to give us some advice.
Best Regards,
Hi @linh.nguyen , actually I didn’t do anything, after trying to make it work for several days with ubuntu it just worked, as strange as it sounds, it was like this. If you share your yml file maybe we might provide some support. (remember to mask your API key). What kind of issue are you facing up?
Hi, best way to execute a Katalon SC in ubuntu is by using docker, below: a GH action for ubuntu with docker:
name: CI
on:
push:
branches: [ master ]
jobs:
Katalon_execution_Docker:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- run: docker pull katalonstudio/katalon
- run: docker run -t --rm -v “$(pwd)”:/tmp/project katalonstudio/katalon katalonc.sh -projectPath=/tmp/project -noSplash -browserType=“Chrome” -retry=0 -testSuiteCollectionPath=“Test Suites/projectSC” -apiKey=${{ secrets.API_KEY }} -testOpsProjectId=820xxx --config -webui.autoUpdateDrivers=true
We are currently working on running test suites using Katalon execution Docker in our pipeline. As part of this process, we need to add some GenRocket components inside the root folder, specifically at /root/.genrocket/GRpfile, etc.
However, we are encountering a “Permission Denied” issue with exit code 1 when attempting to add/change directory these files to the root directory. We have tried adjusting ownership and permissions, but the problem persists.
We would greatly appreciate your assistance in resolving this matter. If you have any insights or recommendations on how we can successfully add the GenRocket components to the specified directory, we would be grateful for your guidance.