Skip to content

Regression

OmeroWeb.test.integration.test_table.TestOmeroTables.test_table_pagination (from pytest)

Failing for the past 1 build (Since #92 )
Took 6.8 sec.

Error Message

failed on setup with "omero.InternalException: exception ::omero::InternalException
{
    serverStackTrace = 
    serverExceptionClass = 
    message = null table as argument
}"

Stacktrace

self = <test_table.TestOmeroTables object at 0x7fd9bd077b50>
user1 = (<omero.clients.BaseClient object at 0x7fda411e8c70>, object #0 (::omero::model::Experimenter)
{
    _id = object #1 (...nnotationLinksSeq = 
    {
    }
    _annotationLinksLoaded = False
    _annotationLinksCountPerOwner = 
    {
    }
})
table_data = ([<class 'omero.grid.WellColumn'>, <class 'omero.grid.StringColumn'>, <class 'omero.grid.DoubleColumn'>, <class 'omero...45.121, 4], [3, 'column', 0.75, 356575.012, 6], [4, 'data,comma', 0.12345, 13579.0, 8], [5, 'five', 0.01, 500.05, 10]])

    @pytest.fixture()
    def omero_table_file(self, user1, table_data):
        """Create a new OMERO Table and returns the original file ID."""
        client = user1[0]
        col_types, col_names, rows = table_data
    
        columns = []
        for col_type, name in zip(col_types, col_names):
            if col_type == StringColumn:
                columns.append(StringColumn(name, '', 64, []))
            else:
                columns.append(col_type(name, '', []))
    
        tablename = "omero_table_test:%s" % str(random())
>       table = client.sf.sharedResources().newTable(1, tablename)

test/integration/test_table.py:81: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = 2261d79c-3912-4d93-a0d5-2d3d3a2bb290/42db9567-0d57-4aff-ac5f-aac5f437bfadomero.grid.SharedResources -t -e 1.1:tcp -h 172.19.0.12 -p 33171 -t 60000
repoId = 1, path = 'omero_table_test:0.14828711647995563', _ctx = None

    def newTable(self, repoId, path, _ctx=None):
>       return _M_omero.grid.SharedResources._op_newTable.invoke(self, ((repoId, path), _ctx))
E       omero.InternalException: exception ::omero::InternalException
E       {
E           serverStackTrace = 
E           serverExceptionClass = 
E           message = null table as argument
E       }

../../../../.venv3/lib64/python3.9/site-packages/omero_SharedResources_ice.py:393: InternalException