I have created an Azure DevOps CI/CD release pipeline, which deploys a new version of our app then uses KRE to run a series of automated tests.
Every time KRE runs as part of this automated pipeline, it will fail with the error
2022-06-15T14:54:09.6996332Z Start check license task
2022-06-15T14:54:09.7022723Z
2022-06-15T14:54:09.7041940Z
2022-06-15T14:54:12.7373526Z com.kms.katalon.execution.exception.ExecutionException: Unable to execute test suite 'Test Suites/CN_Test Suites/00-Smoke Tests'
2022-06-15T14:54:12.7383724Z at com.kms.katalon.execution.launcher.TestSuiteCollectionConsoleLauncher.buildLauncher(TestSuiteCollectionConsoleLauncher.java:258)
2022-06-15T14:54:12.7386648Z at com.kms.katalon.execution.launcher.TestSuiteCollectionConsoleLauncher.buildSubLaunchers(TestSuiteCollectionConsoleLauncher.java:150)
2022-06-15T14:54:12.7388589Z at com.kms.katalon.execution.launcher.TestSuiteCollectionConsoleLauncher.newInstance(TestSuiteCollectionConsoleLauncher.java:88)
2022-06-15T14:54:12.7389486Z at com.kms.katalon.execution.console.entity.TestSuiteCollectionLauncherOptionParser.getConsoleLauncher(TestSuiteCollectionLauncherOptionParser.java:140)
2022-06-15T14:54:12.7531744Z at com.kms.katalon.execution.console.ConsoleExecutor.execute(ConsoleExecutor.java:74)
2022-06-15T14:54:12.7534720Z at com.kms.katalon.execution.console.ConsoleMain.launch(ConsoleMain.java:528)
2022-06-15T14:54:12.7535594Z at com.kms.katalon.console.application.ConsoleApplicationStarter.start(ConsoleApplicationStarter.java:37)
2022-06-15T14:54:12.7536417Z at com.kms.katalon.application.Application.runConsole(Application.java:125)
2022-06-15T14:54:12.7537191Z at com.kms.katalon.application.Application.start(Application.java:88)
2022-06-15T14:54:12.7537894Z at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203)
2022-06-15T14:54:12.7538685Z at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:137)
2022-06-15T14:54:12.7539481Z at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:107)
2022-06-15T14:54:12.7540225Z at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:401)
2022-06-15T14:54:12.7540922Z at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255)
2022-06-15T14:54:12.7556614Z at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2022-06-15T14:54:12.7557335Z at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
2022-06-15T14:54:12.8038020Z at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2022-06-15T14:54:12.8039591Z at java.lang.reflect.Method.invoke(Method.java:498)
2022-06-15T14:54:12.8040724Z at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:657)
2022-06-15T14:54:12.8328584Z at org.eclipse.equinox.launcher.Main.basicRun(Main.java:594)
2022-06-15T14:54:13.0593263Z at org.eclipse.equinox.launcher.Main.run(Main.java:1447)
2022-06-15T14:54:13.0711946Z
See the full logs from the task: tasklog_9.log (11.8 KB)
This same test suite run perfectly well when they are run separately Azure DevOps release pipeline where they are the only task running. So we know that the test suite can work perfectly fine in Azure DevOps, just only when manually and not when run as part of an automated build.
The tests are run on Microsoft-hosted pipelines, on Windows Server 2022, so we are unable to log on directly and see what is occurring
It is not a license issue, as we use a floating license and there is nothing using the license at the same time as the test is running.