Stack Trace
self = <test.integration.test_repository.TestOriginalMetadata object at 0x7f29c98b11d0>
def testFakeImport(self):
# TODO: should likely be in the "fs" namespace
req = omero.cmd.OriginalMetadataRequest()
client = self.new_client()
> rsp = self.full_import(client) # Note: fake test produces no metadata!
^^^^^^^^^^^^^^^^^^^^^^^^
test/integration/test_repository.py:561:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../../../../.venv3/lib64/python3.11/site-packages/omero/testlib/__init__.py:1375: in full_import
return self.assert_import(client, proc, folder)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../../../../.venv3/lib64/python3.11/site-packages/omero/testlib/__init__.py:1384: in assert_import
rsp = self.assert_passes(cb)
^^^^^^^^^^^^^^^^^^^^^^
../../../../.venv3/lib64/python3.11/site-packages/omero/testlib/__init__.py:1461: in assert_passes
cb.loop(loops, wait)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = object #0 (::omero::cmd::CmdCallback)
{
}, loops = 10, ms = 500
def loop(self, loops, ms):
"""
Calls block(long) "loops" number of times with the "ms"
argument. This means the total wait time for the delete to occur
is: loops X ms. Sensible values might be 10 loops for 500 ms, or
5 seconds.
@param loops Number of times to call block(long)
@param ms Number of milliseconds to pass to block(long
@throws omero.LockTimeout if block(long) does not return
a non-null value after loops calls.
"""
count = 0
found = False
while count < loops:
count += 1
found = self.block(ms)
if found:
break
if found:
return self.getResponse()
else:
waited = (ms / 1000.0) * loops
> raise omero.LockTimeout(
None, None, "Command unfinished after %s seconds" % waited,
5000, int(waited))
E omero.LockTimeout: exception ::omero::LockTimeout
E {
E serverStackTrace = None
E serverExceptionClass = None
E message = Command unfinished after 5.0 seconds
E backOff = 5000
E seconds = 5
E }
../../../../.venv3/lib64/python3.11/site-packages/omero/callbacks.py:258: LockTimeout