<caseResult _class='hudson.tasks.junit.CaseResult'><age>1</age><className>OmeroPy.test.integration.clitest.test_pyramids.TestRemovePyramidsFullAdmin</className><duration>188.357</duration><errorDetails>Failed: Timed out waiting for pyramid file 317_pyramid</errorDetails><errorStackTrace>self = &lt;test.integration.clitest.test_pyramids.TestRemovePyramidsFullAdmin object at 0x7fe9621a8c90&gt;
tmpdir = local('/tmp/pytest-of-omero/pytest-0/test_remove_pyramids0')
capsys = &lt;_pytest.capture.CaptureFixture object at 0x7fe957b3a350&gt;

    def test_remove_pyramids(self, tmpdir, capsys):
        """Test removepyramids with litlle endian true"""
        name = "big&amp;sizeX=3500&amp;sizeY=3500&amp;little=false.fake"
        big_id = self.import_pyramid(tmpdir, name=name, skip=None)
        query_service = self.client.sf.getQueryService()
    
        rows = unwrap(query_service.projection(
            "select p.id from Image i join i.pixels p where i.id = :id",
            ParametersI().addId(big_id)
        ))
        pixels_id = rows[0][0]
    
&gt;       self.wait_for_pyramid_file(pixels_id)

test/integration/clitest/test_pyramids.py:275: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = &lt;test.integration.clitest.test_pyramids.TestRemovePyramidsFullAdmin object at 0x7fe9621a8c90&gt;
pixels_id = 317, timeout = 120

    def wait_for_pyramid_file(self, pixels_id, timeout=120):
        pixels_dir = (
            "/home/omero/workspace/"
            "OMERO-test-integration/data/Pixels"
        )
        expected = f"{pixels_id}_pyramid"
    
        deadline = time.time() + timeout
        while time.time() &lt; deadline:
            for root, _, files in os.walk(pixels_dir):
                if expected in files:
                    return
            time.sleep(1)
    
&gt;       pytest.fail(
            f"Timed out waiting for pyramid file {expected}"
        )
E       Failed: Timed out waiting for pyramid file 317_pyramid

test/integration/clitest/test_pyramids.py:156: Failed</errorStackTrace><failedSince>29</failedSince><name>test_remove_pyramids</name><properties></properties><skipped>false</skipped><status>FAILED</status></caseResult>