My Test Suites Collection not detected in TestOps Git Script Repository

  • Katalon Studio Version: 8.3.5
  • OS Version: Win 10
  • Browser Version: Chrome Version 102.0.5005.63

Steps to Reproduce:

  1. Go to TestOps and Click Configuration
  2. In Script Repositories, Click Create Git Script Repository
  3. Success connect and create GitHub Script Repository
  4. Click on the Script Repositories “ktln-eunoia-rocks-staging.git”
  5. Click Refresh Test Suite Collection

Bugs/Actual result: My Test Suite and Test Suite Collection do not appear or are not detected in the Script Repository after clicking refresh or refresh the browser.
I have tried selecting all scopes when creating personal access token in the “New personal access token” page

Expected behavior: My Test Suite and Test Suite Collection will appear or be detected in the Script Repository after clicking refresh.

1 Like

Hi there,

Thank you for your information. I’m sourcing our internal team for solution. Stay tuned!

1 Like

Hi @vu.tran

Any update on my problem?.

Thank you.
Best regard,
Alief.

@vu.tran any news here? I have the same issue here.

When “commiting” the test clone in GitHub all the folders come as “empty”.

@alief are the TestSuites / TestSuites collection available on your Git?

Mine are not

Now my TestSuites / TestSuites are available on my Script Repositories. What i do is:

  1. Create a new sample project on Katalon (e.g Sample Web UI Test Project) according to this site Sample projects overview | Katalon Docs.
  2. Save the project and push it to my git.
  3. Follow instructions on how to add Script Repositories, and test if the TestSuites / TestSuites appear on Script Repositories.
  4. If the TestSuites / TestSuites appear, put all your test cases on the sample project, push it to your git, and refresh the Script Repositories.

Hello everyone,

Please make sure the Katalon project is at the top level of git repo, not inside any folder.
And also, you need to make sure you only have one project file (.prj) in the project folder. Otherwise, it will not recognize the collection.

Another common reason for this was Git refreshing problems, when it’s been refreshed too much Git might label it as spam and hence block the connection.

Bests,
Chris

3 Likes

This work ,

But When I run test suit , then test suite are not running

Error Log:
[2024-01-11T15:46:57.462Z] [INFO]: Triggered by Katalon TestCloud Agent v1.20.0.
[2024-01-11T15:46:57.464Z] [INFO]: Agent server: https://testops.katalon.io
[2024-01-11T15:46:57.464Z] [INFO]: Agent user: -------------------
[2024-01-11T15:46:57.464Z] [INFO]: Start parsing test scripts in Linux machine to execute tests on a remote environment.
[2024-01-11T15:46:57.464Z] [INFO]: Cloning from ----------------------------------------------. It may take a few minutes.
[2024-01-11T15:46:57.874Z] [DEBUG]: Configure Katalon TestOps integration.
[2024-01-11T15:46:57.878Z] [DEBUG]: Finish configuring Katalon TestOps integration.
[2024-01-11T15:46:57.878Z] [DEBUG]: Start: Configure TestCloud keyword.
[2024-01-11T15:46:57.879Z] [DEBUG]: Finished: Configure TestCloud keyword.
[2024-01-11T15:46:57.880Z] [DEBUG]: Start downloading extra files.
[2024-01-11T15:46:57.880Z] [DEBUG]: Finish downloading extra files.
[2024-01-11T15:46:57.880Z] [DEBUG]: Executing with the latest version of KRE that is compatible with your selected environment.
[2024-01-11T15:46:57.904Z] [INFO]: Katalon Folder: /katalon-agent/.katalon/9.0.0
[2024-01-11T15:46:57.959Z] [INFO]: Katalon Executable File: /katalon-agent/.katalon/9.0.0/Katalon_Studio_Engine_Linux_64-9.0.0/katalonc
[2024-01-11T15:46:57.960Z] [INFO]: KRE LICENSE IS NOT REQUIRED FOR RUNNING TESTCLOUD AGENT.
[2024-01-11T15:46:57.960Z] [INFO]: Execute Katalon Studio: /katalon-agent/.katalon/9.0.0/Katalon_Studio_Engine_Linux_64-9.0.0/katalonc -noSplash -runMode=“console” -projectPath=“/katalon-agent/tmp/2024.01.11-15.46–37-XjrYotYkGXEP-3167324/Gharam-2.git/gharam.prj” -testSuitePath=“Test Suites/08Jan2024/2- Oztrail 08Jan2024” -executionProfile=“default” --config -webui.autoUpdateDrivers=false -executionUUID=******** -orgId=1369675 -testOps.jobUUID=290b7fe7-26ee-4869-8c16-89b0cc93897c -apiKey=********
[2024-01-11T15:46:57.960Z] [INFO]: Execute “sh -c xvfb-run -a -n 0 -s “-screen 0 1920x1080x24” /katalon-agent/.katalon/9.0.0/Katalon_Studio_Engine_Linux_64-9.0.0/katalonc -noSplash -runMode=“console” -projectPath=”/katalon-agent/tmp/2024.01.11-15.46–37-XjrYotYkGXEP-3167324/Gharam-2.git/gharam.prj" -testSuitePath=“Test Suites/08Jan2024/2- Oztrail 08Jan2024” -executionProfile=“default” --config -webui.autoUpdateDrivers=false -executionUUID=******** -orgId=1369675 -testOps.jobUUID=290b7fe7-26ee-4869-8c16-89b0cc93897c -apiKey=********" in /tmp/tmp-37-4ywpVafmlNRb.
[2024-01-11T15:47:03.181Z] [DEBUG]: Katalon workspace folder is set to default location: /tmp/session-32bc8f8d

[2024-01-11T15:47:03.427Z] [DEBUG]: Starting Groovy-Eclipse compiler resolver. Specified compiler level: unspecified

[2024-01-11T15:47:03.428Z] [DEBUG]: 167
[2024-01-11T15:47:03.428Z] [DEBUG]: org.codehaus.groovy_3.0.17.v202303311542-e2303 ACTIVE

[2024-01-11T15:47:03.692Z] [DEBUG]: Activating…

[2024-01-11T15:47:03.694Z] [DEBUG]: Start getting machine ID on Linux

[2024-01-11T15:47:03.702Z] [DEBUG]: End getting machine ID on Linux a07e2f4c8e544f7d757fcf126565bb7d
[2024-01-11T15:47:03.703Z] [DEBUG]:
Start appending additional signatures

[2024-01-11T15:47:03.704Z] [DEBUG]: hardwareSerialNumber
[2024-01-11T15:47:03.704Z] [DEBUG]:
osDependentUsername agent

[2024-01-11T15:47:03.704Z] [DEBUG]: End appending additional signatures a07e2f4c8e544f7d757fcf126565bb7d__agent

[2024-01-11T15:47:03.707Z] [DEBUG]: Start activating offline…
[2024-01-11T15:47:03.708Z] [DEBUG]:

[2024-01-11T15:47:03.708Z] [DEBUG]: Search for valid offline licenses in folder: /katalon-agent/.katalon/license
[2024-01-11T15:47:03.708Z] [DEBUG]:

[2024-01-11T15:47:03.711Z] [DEBUG]: Start checking license: ENGINE_katalon-special-license_141393352.lic
[2024-01-11T15:47:03.711Z] [DEBUG]:

[2024-01-11T15:47:03.891Z] [DEBUG]: ENGINE_katalon-special-license_141393352.lic is valid.

[2024-01-11T15:47:03.892Z] [DEBUG]: The number of valid offline licenses: 1

[2024-01-11T15:47:03.898Z] [DEBUG]: The number of Runtime Engine running sessions: 1
[2024-01-11T15:47:03.898Z] [DEBUG]:

[2024-01-11T15:47:04.382Z] [DEBUG]: Activated successfully with Katalon Runtime Engine license.

[2024-01-11T15:47:04.382Z] [DEBUG]: Activated successfully with TestCloud license.

[2024-01-11T15:47:04.384Z] [DEBUG]:

[2024-01-11T15:47:04.385Z] [DEBUG]:
INFO: Katalon Version: 9.0.0

[2024-01-11T15:47:04.387Z] [DEBUG]: INFO: Command-line arguments: -runMode=console -projectPath=/katalon-agent/tmp/2024.01.11-15.46–37-XjrYotYkGXEP-3167324/Gharam-2.git/gharam.prj -testSuitePath=Test Suites/08Jan2024/2- Oztrail 08Jan2024 -executionProfile=default --config -webui.autoUpdateDrivers=false -executionUUID=******** -orgId=1369675 -testOps.jobUUID=290b7fe7-26ee-4869-8c16-89b0cc93897c -apiKey=********
[2024-01-11T15:47:04.388Z] [DEBUG]:
INFO: User working dir: /tmp/tmp-37-4ywpVafmlNRb
INFO: Error log: /tmp/session-32bc8f8d/.metadata/.log
INFO: Katalon KatOne server URL: https://admin.katalon.com

[2024-01-11T15:47:04.388Z] [DEBUG]: INFO: Katalon TestOps server URL: https://testops.katalon.io
INFO: Katalon Store server URL: https://store.katalon.com
INFO: User home: /katalon-agent

[2024-01-11T15:47:04.389Z] [DEBUG]: INFO: Java vendor: Private Build
INFO: Java version: 17.0.8.1

[2024-01-11T15:47:04.389Z] [DEBUG]: INFO: Local OS: Linux 64bit

[2024-01-11T15:47:04.432Z] [DEBUG]: INFO: CPU load: 41%

[2024-01-11T15:47:04.433Z] [DEBUG]: INFO: Total memory: 6144 MB

[2024-01-11T15:47:04.433Z] [DEBUG]: INFO: Free memory: 4423 MB

[2024-01-11T15:47:04.434Z] [DEBUG]: INFO: Machine ID: 13a0d6c424caeda6e18983af94ae701e

[2024-01-11T15:47:04.435Z] [DEBUG]: Cleaning up workspace
[2024-01-11T15:47:04.435Z] [DEBUG]:

[2024-01-11T15:47:04.436Z] [DEBUG]: Opening project file: /katalon-agent/tmp/2024.01.11-15.46–37-XjrYotYkGXEP-3167324/Gharam-2.git/gharam.prj
[2024-01-11T15:47:04.436Z] [DEBUG]:

[2024-01-11T15:47:05.334Z] [DEBUG]: Generating global variables…

[2024-01-11T15:47:06.350Z] [DEBUG]: Project ‘gharam’ opened

[2024-01-11T15:47:06.359Z] [DEBUG]: Start reloading plugins…

[2024-01-11T15:47:06.738Z] [DEBUG]: Katalon version: 9.0.0
[2024-01-11T15:47:06.738Z] [DEBUG]:
Plugin info URL: https://store.katalon.com/api/products/ks?appVersion=9.0.0&appType=ENGINE&licenseType=ENTERPRISE

[2024-01-11T15:47:07.953Z] [DEBUG]: Start checking license task

[2024-01-11T15:47:08.074Z] [DEBUG]: 15:47:08.072 [main] DEBUG com.kms.katalon.core.testdata.TestDataFactory - Finding test data with id ‘Data Files/08Jan2024/oz 08jan2024’

[2024-01-11T15:47:08.093Z] [DEBUG]: 15:47:08.093 [main] DEBUG com.kms.katalon.core.testdata.TestDataFactory - Test data is excel file, reading excel file

[2024-01-11T15:47:08.094Z] [DEBUG]: 15:47:08.093 [main] DEBUG com.kms.katalon.core.testdata.TestDataFactory - Reading excel file with source file ‘D:\git\Graham-Pinning\gharam\excel file\082Jan2024\Oztrail big list 6k.xlsx’ and sheet name ‘Oztrail big list 6k’

[2024-01-11T15:47:08.131Z] [DEBUG]: com.kms.katalon.execution.exception.ExecutionException: java.io.FileNotFoundException: D:\git\Graham-Pinning\gharam\excel file\082Jan2024\Oztrail big list 6k.xlsx
at com.kms.katalon.execution.console.entity.TestSuiteLauncherOptionParser.getConsoleLauncher(TestSuiteLauncherOptionParser.java:318)
at com.kms.katalon.execution.console.ConsoleExecutor.execute(ConsoleExecutor.java:74)
at com.kms.katalon.console.application.ConsoleMain.launch(ConsoleMain.java:161)
at com.kms.katalon.console.application.ConsoleApplicationStarter.start(ConsoleApplicationStarter.java:36)
at com.kms.katalon.application.Application.runConsole(Application.java:129)
at com.kms.katalon.application.Application.start(Application.java:93)
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)
at org.eclipse.equinox.launcher.Main.main(Main.java:1440)
Caused by: java.io.FileNotFoundException: D:\git\Graham-Pinning\gharam\excel file\082Jan2024\Oztrail big list 6k.xlsx
at com.kms.katalon.core.testdata.reader.ExcelFactory.getExcelData(ExcelFactory.java:25)
at com.kms.katalon.core.testdata.reader.ExcelFactory.getExcelDataWithDefaultSheet(ExcelFactory.java:17)
at com.kms.katalon.core.testdata.TestDataFactory.readExcelData(TestDataFactory.java:224)
at com.kms.katalon.core.testdata.TestDataFactory.internallyfindTestData(TestDataFactory.java:150)
at com.kms.katalon.core.testdata.TestDataFactory.findTestDataForExternalBundleCaller(TestDataFactory.java:197)
at com.kms.katalon.controller.TestDataController.getTestDataInstance(TestDataController.java:265)
at com.kms.katalon.execution.entity.ExecutedEntity.findTestData(ExecutedEntity.java:95)
at com.kms.katalon.execution.entity.ExecutedEntity.prepareTestCaseExecutedEntityBody(ExecutedEntity.java:237)
at com.kms.katalon.execution.entity.TestSuiteExecutedEntity.prepareTestCaseExecutedEntity(TestSuiteExecutedEntity.java:208)
at com.kms.katalon.execution.entity.TestSuiteExecutedEntity.loadTestCases(TestSuiteExecutedEntity.java:186)
at com.kms.katalon.execution.entity.TestSuiteExecutedEntity.prepareTestCases(TestSuiteExecutedEntity.java:116)
at com.kms.katalon.execution.console.entity.TestSuiteLauncherOptionParser.internallyBuildRunConfig(TestSuiteLauncherOptionParser.java:355)
at com.kms.katalon.execution.console.entity.TestSuiteLauncherOptionParser.buildRunConfig(TestSuiteLauncherOptionParser.java:337)
at com.kms.katalon.execution.console.entity.TestSuiteLauncherOptionParser.getConsoleLauncher(TestSuiteLauncherOptionParser.java:315)
… 18 more

[2024-01-11T15:47:08.132Z] [DEBUG]: All launchers terminated

[2024-01-11T15:47:08.452Z] [INFO]: Exit code: 2.