SOATest License Activation Failed
SOATest is running in command line mode on our build and deployment server and is kicked off by an Ant script. When SOATest starts up it gives an error about the license not being active. Despite this error, the tests are executed anyway.
I am able to run SOATest 2024 without problems on my local computer and when I log into the build server and run it locally there I also don’t have any problems. The issue appears to only be when running from the command line.
Could I have a setting in the license server that is incorrect or perhaps the license is not quite correct for our configuration?
Any suggestions would be helpful.
[echo] **************************************************************** [echo] Running SOAtest tests [echo] **************************************************************** [exec] soatestcli: Version 2024.2.0 (10.7.1.202410281200) -- Copyright (C) 2024 Parasoft Corporation [exec] License: Machine id WIN32-28eca150 (Default) [exec] License: Activation failed: There is no license for this product [exec] License: Machine id WIN32-28eca150 (Default) [exec] Sending usage data is disabled, use usage.reporting.enabled to enable
Thanks!
Comments
-
I forgot to mention that I just recently upgraded to 2024.2 (10.7) and have linked the licenses to the previous licenses for version 2021.2 (10.5). Three of the license's are 'floating, while the one used for the command line execution is machine locked.
0 -
Hi Speedy993,
Don't hesitate to contact Parasoft support at https://customerportal.parasoft.com or email license@parasoft.com with your machine ID. If you upgrade from 2021.2, you must update your license key.
0 -
For automation, it is generally common for scripts to run soatestcli at least twice. You typically run soatestcli with "-import" one or more times to import projects into a workspace then run soatestcli a final time with "-config" to actually execute the tests from that workspace.
In the last few releases SOAtest, certain license information is now always printed including the machine ID and whether the license is valid. You should make sure the license settings are configured any time soatestcli is run to avoid seeing the error.
0 -
Hi sang_parasoft!
Yes, we have updated the licenses to SOATest 2024.2 and the licenses work on my laptop and when running locally on the build server. The messages are only thrown when when running SOATest 2024 on the build server via the command line (from ANT script).I have reached out to Parasoft support and expect to hear back soon. As I mentioned, SOATest continues to run even with the license messages so it is not a big priority.
Parasoft Support recommended that instead of running SOATest and Virtualize that we just install SOATest since we have not currently licensed Virtualize. The error message is not displaying any longer. Apparently the logging has been enhanced with SOATest 2024 so this error message is being displayed now and not when we were running SOATest and Virtualize 2021.
0 -
In the SOAtest and Virtualize installation, there are two products installed that require separate licenses - SOAtest and Virtualize. The message about no license is for Virtualize since you don't have a Virtualize license. We are looking into how we can make that message more clear since it was confusing for you.
0