Skip to content

Regression

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

Failing for the past 1 build (Since #92 )
Took 9.1 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 0x7fd9bd0773a0>
user1 = (<omero.clients.BaseClient object at 0x7fda3e6b9550>, 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 = 6a244891-885a-4431-b13f-337d91503cc5/9b6cdc8b-5f97-47df-b254-8322f2e92260omero.grid.SharedResources -t -e 1.1:tcp -h 172.19.0.12 -p 33171 -t 60000
repoId = 1, path = 'omero_table_test:0.23248401506713412', _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