Skip to content

Regression

OmeroPy.test.integration.test_repository.TestRepository.testManagedRepoAsPubliRepo (from pytest)

Failing for the past 1 build (Since #408 )
Took 24 ms.

Error Message

omero.ValidationException: exception ::omero::ValidationException
{
    serverStackTrace = 
    serverExceptionClass = 
    message = cannot create directory "home" with template path's root-owned "8fd62088-1fad-4418-9a19-20711bd08c00_4198"
}

Stacktrace

self = <test.integration.test_repository.TestRepository object at 0x7f9555759890>

    def testManagedRepoAsPubliRepo(self):
        mrepo = self.get_managed_repo(self.client)
    
        # Create a file in the repo
        base = self.unique_dir
        path = base + "/testManagedRepo.txt"
>       mrepo.makeDir(base, True)

test/integration/test_repository.py:92: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = PublicRepository-0c9dd58c-48c2-4125-b1e8-a55b6263657e -t -e 1.1:tcp -h 172.18.0.10 -p 35311 -t 60000
path = path('/home/omero/omero/tmp/omero_omero/187760/omero_vs37nww.tmp')
parents = True, _ctx = None

    def makeDir(self, path, parents, _ctx=None):
>       return _M_omero.grid.Repository._op_makeDir.invoke(self, ((path, parents), _ctx))
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E       omero.ValidationException: exception ::omero::ValidationException
E       {
E           serverStackTrace = 
E           serverExceptionClass = 
E           message = cannot create directory "home" with template path's root-owned "8fd62088-1fad-4418-9a19-20711bd08c00_4198"
E       }

../../../../.venv3/lib64/python3.11/site-packages/omero_Repositories_ice.py:602: ValidationException