Uncertain where to place this.
Starting Friday morning (August 7), a Katalon Jenkins job I have started failing to start. Prior to this, I made no changes to the job or to the test suite it was deploying. I was wondering if, perhaps, there’s been a change to the API for online activation.
I am using a paid-for license for Katalon 7.2.1.
I am unaware of the license expiring or if even there was a change in how we were using the license, but the response I get suggests a problem with that. (I don’t have immediate access to check this, but I will get it. I am, however, doubtful that I will find an issue.) However, I appear to have been getting the same response earlier, but it wasn’t causing a problem then. Now, it terminates the test.
Previously, I would see this during the start-up:
[2020-08-06T05:08:38.990] Activating…
[2020-08-06T05:08:38.997] Start activating offline…
[2020-08-06T05:08:38.997] Search for valid offline licenses in folder: /var/lib/jenkins/.katalon/license
[2020-08-06T05:08:39.009] The number of valid offline licenses: 0
[2020-08-06T05:08:39.009] Offline activation failed.
[2020-08-06T05:08:39.009] Start activating online…
[2020-08-06T05:08:50.779] Machine quota exceeded.
[2020-08-06T05:08:50.782] Delete folder: bin
. . .
Despite the “Machine quota exceeded” it would go on to run and perform the test. I did, in fact, have a license for the machine I was using.
On August 7, however, this changed to:
[2020-08-07T05:08:08.962] Activating…
[2020-08-07T05:08:08.962] Start activating offline…
[2020-08-07T05:08:08.962] Search for valid offline licenses in folder: /var/lib/jenkins/.katalon/license
[2020-08-07T05:08:08.971] The number of valid offline licenses: 0
[2020-08-07T05:08:08.971] Offline activation failed.
[2020-08-07T05:08:08.971] Start activating online…
[2020-08-07T05:08:11.446] Katalon TestOps: Unexpected response, URL: https://analytics.katalon.com/api/v1/license-keys/activate?machineKey=[machine-key]&ksVersion=7.2.1&email&sessionId=[session-id]&hostname=jenkins2&package=ENGINE, Status: 400, Response: {“timestamp”:“2020-08-07T09:08:11.410+0000”,“status”:400,“error”:“Bad Request”,“message”:“Machine quota exceeded.”,“trace”:"com.katalon.kit.exception.KaBadRequestException: Machine quota exceeded.\n\tat
. . . followed by a stacktrace. The job would then terminate and none of the tests would run.