Hello, I am attempting to execute an existing test suite on a build server using Katalon Runtime Engine v7.2.1 (previously it was running on v5.10.1 of Katalon.)
When running the suite using the Runtime Engine locally, it succeeds, but when running it on the build server, it fails during license activation despite the fact that I am providing a valid API key in both instances.
Katalon workspace folder is set to default location: D:\TFSAgent\_work\_temp\session-dfe7ccef
Starting Groovy-Eclipse compiler resolver. Specified compiler level: unspecified
INFO: Katalon Version: 7.2.1
INFO: Command-line arguments: -projectPath=./MyProject.prj -testSuitePath=MyTestSuite -executionProfile=dev -browserType=Chrome -retry=0 -retryFailedTestCases=true -apiKey=abc12345-abc1-abc1-abc1-abc123456789
INFO: User working dir: D:\TFSAgent_work\29\s
INFO: Error log: D:/TFSAgent/_work/_temp/session-dfe7ccef/.metadata/.log
INFO: Katalon TestOps server URL: https://analytics.katalon.com
INFO: Katalon Store server URL: https://store.katalon.com
INFO: User home: C:\Users\syncuser
INFO: Java vendor: Oracle Corporation
INFO: Java version: 1.8.0_181
INFO: Local OS: Windows Server 2012 R2 64bit
INFO: CPU load: 0%
INFO: Total memory: 16381 MB
INFO: Free memory: 10695 MB
INFO: Machine ID: a0061c3fd32a9305c85edfad7b24a59f
Start activating offline…
Search for valid offline licenses in folder: C:\Users\syncuser.katalon\license
The number of valid offline licenses: 0
Offline activation failed.
Start activating online…
Online activation for console mode failed.
All launchers terminated
Activation failed. Please make sure you are using a valid license.
Process completed with exit code 3 and had 3 error(s) written to the error stream.
My organization has two Node-locked KRE licenses still available, so that shouldn’t be the issue. The API key being used is the same when I run it locally and on the server.
I initially thought that the build server might be unable to communicate with Katalon, but I tested it, and the build server is able to send HTTP traffic to both store.katalon.com and analytics.katalon.com successfully, so connectivity should not be an issue.
The error message gives no indication of what is wrong. “Please make sure you are using a valid license” is confusing because as far as I can tell from the CLI documentation, there is no way to specify a license, only an API key.
How can I troubleshoot this issue further? This is currently preventing my organization from adopting Katalon v7.x.
Thanks for your time,