Forum Discussion

ramaG's avatar
ramaG
Contributor
3 years ago

Receiving following error while running Test Runner command on Docker Container.

Hello,

When we run the command on Docker Container it throws following error. Is anyone getting similar error? or anyone able to run the test runner command on Docker Container? Please reply. Thanks!

 

docker run -v:"/Users/e974225/Documents/Projects/qmo-readyapi-poc/ReadyapiTest/FlightServiceMethodsTestSuite1":/project -e LICENSE_SERVER="xxxxxxx.xxxxxxx.xxxxx.com" -e COMMAND_LINE="%project%/FlightAPITestCase2.xml" -it readyapi /bin/sh

Please select the tool for which you want to get the floating license:

  1. SoapUI Pro
  2. LoadUI Pro
  3. Secure (if you have an old license)
  4. ServiceV Pro
  5. VirtServer
  6. ReadyAPI Bundle
  7. TestEngine
  8. swaggerhub
  9. swaggerhub2

Failed to get license. Reason: No license is allocated in floating license server.

Please select the tool for which you want to get the floating license:

  1. SoapUI Pro
  2. LoadUI Pro
  3. Secure (if you have an old license)
  4. ServiceV Pro
  5. VirtServer
  6. ReadyAPI Bundle
  7. TestEngine
  8. swaggerhub
  9. swaggerhub2

WARNING: An illegal reflective access operation has occurred

WARNING: Illegal reflective access by com.google.inject.internal.cglib.core.$ReflectUtils$2 (file:/usr/local/SmartBear/ready-api-license-manager-1.3.2.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)

WARNING: Please consider reporting this to the maintainers of com.google.inject.internal.cglib.core.$ReflectUtils$2

WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations

WARNING: All illegal access operations will be denied in a future release

Failed to get license. Reason: No license is allocated in floating license server.

10 Replies

  • nmrao's avatar
    nmrao
    Champion Level 3
    How many and what type of licenses have you / organization has got?

    From the above error, it is clear that there is no valid floating license which docker was trying to use.
    • ramaG's avatar
      ramaG
      Contributor

      Thanks for the reply Rao. We have enough floating licenses available. Checked on license server too while trying this. There are many floating licenses available to use.

      • nmrao's avatar
        nmrao
        Champion Level 3
        Ok.

        Is docker able to connect internet?