Machine runtimes must be equal or greater than 1! (#1220)

Unable to allocate testing licenses to the machine

Issue description:

Installing test automation on the orchestrator server after renewal results in acquiring testing licenses, rather than non-production licenses. However, despite successful installation, adding the testing runtimes/licenses to the associated standard machine is impossible.

Error:

Machine runtimes must be equal or greater than 1! (#1220)

Steps Leading to Error:

  1. Install Test automation following the requirement to utilize testing licenses.
  2. Go to "tenant -> machines -> edit standard machine" to observe an open slot for adding testing runtimes.
  3. Attempt to add testing runtimes. This action should turn out unsuccessful

Root cause:

The standard machine could not be upgraded with testing runtimes/licenses due to the incorrect license type assigned to the robot. The robot license type was still either non-production or production when it should have been assigned as 'testing' after the installation of test automation.

Resolution:

  1. Navigate to the orchestrator folder (classic).
  2. Click on 'Robots'.
  3. Edit the robot.
  4. Change the license type from non-production or production to testing.
  5. Navigate back to "tenant -> machines -> edit the standard machine".
  6. Try to add the testing runtime count. Upon doing so, the count should be updated as expected since the license type has been changed for the classic robot.