Uploaded image for project: 'Code Tools'
  1. Code Tools
  2. CODETOOLS-7199853

Bad value for concurrency: 256 on starting CLDC TCK 7.0 with 50 tests in bundle

XMLWordPrintable

    • b14
    • x86
    • generic
    • Verified

      Using javatest snapshot ea/b13 for running promoted b40 CLDC TCK 7.0 following issue was found:
      after configuring TCK with "Tests in Bundle" = 50 and starting tests execution error message occures "Cannot start service manager: Passive Agent: Error: Bad arguments for AgentMain
      com.sun.javatest.agent.AgentMain$BadArg: Bad value for concurrency: 256"

      In JT console there is following exception:
      "TEST PROVIDER: No bundles yet available, let JAM wait
      com.sun.tck.j2me.javatest.TestSuiteService$TestSuiteServiceFault: Passive Agent: Error: Bad arguments for AgentMain com.sun.javatest.agent.AgentMain$BadArgs: Bad value for concurrency: 256
      at com.sun.tck.j2me.services.passiveAgentService.PassiveAgentTestSuiteService.start(PassiveAgentTestSuiteService.java:197)
      at com.sun.tck.j2me.javatest.DistributedTestSuite$CompatibilityPassiveAgentService.start(DistributedTestSuite.java:99)
      at com.sun.tck.j2me.services.LifeCycleAwareManager.start(LifeCycleAwareManager.java:40)
      at com.sun.tck.j2me.javatest.ServiceBasedTestSuite.startRun(ServiceBasedTestSuite.java:124)
      at com.sun.tck.cldc.javatest.CldcTCKBaseTestSuite.startRun(CldcTCKBaseTestSuite.java:138)
      at com.sun.tck.j2me.javatest.ExportTestSuite.startRun(ExportTestSuite.java:100)
      at com.sun.tck.j2me.javatest.ServiceBasedTestSuite.starting(ServiceBasedTestSuite.java:190)
      at com.sun.javatest.Harness.runTests(Harness.java:724)
      at com.sun.javatest.Harness.access$000(Harness.java:45)
      at com.sun.javatest.Harness$1.run(Harness.java:593)
      "

      Current workaround is to set "Custom Execution Mode" -> "Threads factor" to 1 instead of default 10.

            dfazunen Dmitry Fazunenko (Inactive)
            mpakhnus Marina Pakhnusheva (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: