<classResult _class='hudson.tasks.junit.ClassResult'><child><age>1</age><className>OmeroPy.test.integration.scriptstest.test_rand.TestRand</className><duration>21.712</duration><errorDetails>omero.ApiUsageException: exception ::omero::ApiUsageException
{
    serverStackTrace = 
    serverExceptionClass = 
    message = Process still running.
}</errorDetails><errorStackTrace>self = &lt;test.integration.scriptstest.test_rand.TestRand object at 0x7f43604fe5d0&gt;

    def testRand(self):
        root_client = self.new_client(system=True)
        scripts = root_client.sf.getScriptService()
        id = scripts.uploadScript(
            "/tests/rand_py/%s.py" % self.uuid(), SENDFILE)
        input = {"x": rlong(3), "y": rlong(3)}
        impl = omero.processor.usermode_processor(root_client)
        try:
            process = scripts.runScript(id, input, None)
            cb = omero.scripts.ProcessCallbackI(root_client, process)
            cb.block(2000)  # ms
            cb.close()
            try:
&gt;               output = process.getResults(0)
                         ^^^^^^^^^^^^^^^^^^^^^

test/integration/scriptstest/test_rand.py:95: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = ProcessCallback/cc16710e-67f7-4ba9-b8ca-c8bbee4baace -t -e 1.1:tcp -h 172.18.0.6 -p 33799 -t 60000
waitSecs = 0, _ctx = None

    def getResults(self, waitSecs, _ctx=None):
&gt;       return _M_omero.grid.ScriptProcess._op_getResults.invoke(self, ((waitSecs, ), _ctx))
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E       omero.ApiUsageException: exception ::omero::ApiUsageException
E       {
E           serverStackTrace = 
E           serverExceptionClass = 
E           message = Process still running.
E       }

../../../../.venv3/lib64/python3.11/site-packages/omero_Scripts_ice.py:1321: ApiUsageException</errorStackTrace><failedSince>9</failedSince><name>testRand</name><properties></properties><skipped>false</skipped><status>FAILED</status></child><failCount>1</failCount><name>TestRand</name><passCount>0</passCount><skipCount>0</skipCount></classResult>