# GitHub action job failed with testCloud

**URL:** <https://forum.katalon.com/t/github-action-job-failed-with-testcloud/134696>\
**Category:** Miscellaneous\
**Tags:** github-action, katalon-testcloud\
**Created:** [June 14, 2024, 8:57am UTC](https://forum.katalon.com/t/github-action-job-failed-with-testcloud/134696 "2024-06-14T08:57:23Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![qa-sa](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/qa-sa/32/23869_2.png) [@qa-sa](https://forum.katalon.com/u/qa-sa)\
**Post date:** [June 14, 2024, 8:57am UTC](https://forum.katalon.com/t/github-action-job-failed-with-testcloud/134696/1 "2024-06-14T08:57:23Z")

</div>

Dear all,

I have a collection that I run using GithibAction with Test cloud.  
I run 5 jobs with different combination of OS/Browser that I configured with the `testcloudEnvironmentId` parameter.

Here my the github action .yml file:

```auto
name: Katalon Test Suite Collection (testcloud)
on:
  workflow_dispatch:
  schedule:
    - cron: '0 3 * * *'

jobs:
  build:
    strategy:
      fail-fast: false
      max-parallel: 1
      matrix:
        OsBrowser: [377,372,373,339,107]
        include:
          - os: macos-latest
            OsBrowser: 377
          - os: macos-latest
            OsBrowser: 339
          - os: macos-latest
            OsBrowser: 107
          - os: windows-latest
            OsBrowser: 372
          - os: windows-latest
            OsBrowser: 373
          
    runs-on: ${{ matrix.os }}
    continue-on-error: true
    steps:
    - name: Get Info 
      run: echo "${{ matrix.os }}- ${{ matrix.OsBrowser }}"
    - name: Checkout
      uses: actions/checkout@v4
    - name: Katalon Studio Github Action
      uses: katalon-studio/katalon-studio-github-action@v3.0
      with:
          version: '9.5.0'
          projectPath: '${{ github.workspace }}'
          args: '-noSplash -retry=0 -browserType="TestCloud" -testcloudEnvironmentId="${{matrix.OsBrowser}}" -testcloudTunnel="false" -statusDelay=15 -executionProfile="X" -testSuiteCollectionPath="Test Suites/Test collection" -orgID=xxx -apiKey=${{ApiKey}} -testOpsReleaseId=xxx -testOpsProjectId=xxx --config -proxy.auth.option=NO_PROXY -proxy.system.option=NO_PROXY -webui.autoUpdateDrivers=true'

```

When the job failed I only have this info:

```auto
Start checking license task

com.kms.katalon.execution.core.exceptions.ExecutionException: Unable to execute test suite 'Test Suites/HP Test Suite'
	at com.kms.katalon.execution.launcher.TestSuiteCollectionConsoleLauncher.buildLauncher(TestSuiteCollectionConsoleLauncher.java:353)
	at com.kms.katalon.execution.launcher.TestSuiteCollectionConsoleLauncher.buildSubLaunchers(TestSuiteCollectionConsoleLauncher.java:209)
	at com.kms.katalon.execution.launcher.TestSuiteCollectionConsoleLauncher.newInstance(TestSuiteCollectionConsoleLauncher.java:108)
	at com.kms.katalon.execution.console.entity.TestSuiteCollectionLauncherOptionParser.getConsoleLauncher(TestSuiteCollectionLauncherOptionParser.java:139)
	at com.kms.katalon.execution.console.ConsoleExecutor.execute(ConsoleExecutor.java:74)
	at com.kms.katalon.console.application.ConsoleMain.launch(ConsoleMain.java:158)
	at com.kms.katalon.console.application.ConsoleApplicationStarter.start(ConsoleApplicationStarter.java:34)
	at com.kms.katalon.application.Application.runConsole(Application.java:140)
	at com.kms.katalon.application.Application.start(Application.java:100)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:136)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:402)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:659)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:596)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1467)

Start clean up session

End check license task

End clean up session

Start release license task

License released

End release license task

All launchers terminated

Exit code: 2.
Error: Exit code 2.

```

If I remove the include parameter in my .yml file i don’t have this error but It means I can’t control the run-on parameter.  
Any help on that ?

many thanks,

---

<div class="post-metadata">

**Author:** ![system](https://europe1.discourse-cdn.com/katalon/original/3X/d/5/d55596ab02785a255798e87ede769734747b30c4.svg) [@system](https://forum.katalon.com/u/system)\
**Post date:** [June 14, 2024, 8:57am UTC](https://forum.katalon.com/t/github-action-job-failed-with-testcloud/134696/2 "2024-06-14T08:57:23Z")

</div>

Hi there,

Thank you very much for your topic. Please note that it may take a little while before a member of our community or from Katalon team responds to you.

Thanks!

---

<div class="post-metadata">

**Author:** ![qa-sa](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/qa-sa/32/23869_2.png) [@qa-sa](https://forum.katalon.com/u/qa-sa)\
**Post date:** [June 14, 2024, 2:49pm UTC](https://forum.katalon.com/t/github-action-job-failed-with-testcloud/134696/3 "2024-06-14T14:49:57Z")

</div>

I change my yml script to have a correct run-on and now I have KRE licence error while before it was not running on KRE because I don’t have the KRE licence.

Here is the new script:

```auto
name: Katalon Test Suite Collection (testcloud)
on:
  workflow_dispatch:
  schedule:
    - cron: '0 3 * * *'

jobs:
  build:
    runs-on: ${{ matrix.os }}
    strategy:
      fail-fast: false
      max-parallel: 1
      matrix:
        include:
          - os: macos-latest
            OsBrowser: 377
          - os: macos-latest
            OsBrowser: 339
          - os: macos-latest
            OsBrowser: 107
          - os: windows-latest
            OsBrowser: 372
          - os: windows-latest
            OsBrowser: 373
          
    continue-on-error: true
    steps:
    - name: Get Info 
      run: echo "${{ matrix.os }} - ${{ matrix.OsBrowser }}"
    - name: Checkout
      uses: actions/checkout@v4
    - name: Katalon Studio Github Action
      uses: katalon-studio/katalon-studio-github-action@v3.0
      with:
          version: '9.5.0'
          projectPath: '${{ github.workspace }}'
          args: '-noSplash -retry=0 -browserType="TestCloud" -testcloudEnvironmentId="${{matrix.OsBrowser}}" -testcloudTunnel="false" -statusDelay=15 -executionProfile="integ" -testSuiteCollectionPath="Test Suites/Test collection Console R5" -orgID=xxx -apiKey=${{API_KEY}} -testOpsReleaseId=xxx -testOpsProjectId=xxx --config -proxy.auth.option=NO_PROXY -proxy.system.option=NO_PROXY -webui.autoUpdateDrivers=true'

```

Any ideas?

Many thanks

---

<div class="post-metadata">

**Author:** ![Elly\_Tran](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/elly_tran/32/21874_2.png) [@Elly\_Tran](https://forum.katalon.com/u/Elly_Tran)\
**Post date:** [June 17, 2024, 2:56am UTC](https://forum.katalon.com/t/github-action-job-failed-with-testcloud/134696/4 "2024-06-17T02:56:22Z")

</div>

Hi,

Looking forward to hearing from other experts. Can anyone please help?
