Start activating online...
log4j:WARN No appenders could be found for logger (org.apache.http.client.protocol.RequestAddCookies).
log4j:WARN Please initialize the log4j system properly.
Online activation for console mode failed.
Activation failed. Please make sure you are using a valid license.
If I run above test without “-deviceId” option, online license can be activated. (test itself failed with No mobile device name available error though.)
@duyluong Thank you, I attach 2 files : with deviceID option and without it. (only katalon execution task)
If whole azure DevOps log is required, I’ll send them in private message.
In the execution log with deviceId, we found this:
2020-02-26T00:46:51.6210380Z sh: DeviceID: command not found
…
2020-02-26T00:47:04.4781070Z INFO: Command-line arguments: -runMode=console -projectPath=/Users/runner/runners/2.165.0/work/1/s/Shobosso/Shobosso238.prj -retry=0 -testSuitePath=Test Suites/Mobile/JustAccessGoogle -browserType=Android -deviceId= -apiKey=******
that means Katalon Studio Runtime Engine did not recognize the environment variable: DeviceID. You can run the test again with this command before the katalon task:
^ Sorry, I had removed not only parentheses but apikey.
Tried again and I got following error again
Offline activation failed.
Start activating online...
Online activation for console mode failed.
Activation failed. Please make sure you are using a valid license.
All launchers terminated