<classResult _class='hudson.tasks.junit.ClassResult'><child><age>1</age><className>OmeroPy.test.integration.test_rawpixelsstore.TestRPS</className><duration>123.839</duration><errorDetails>assert False</errorDetails><errorStackTrace>self = &lt;test.integration.test_rawpixelsstore.TestRPS object at 0x7ff0f53405d0&gt;
tmpdir = local('/tmp/pytest-of-omero/pytest-34/test2RomioToPyramidWithNegOne0')

    def test2RomioToPyramidWithNegOne(self, tmpdir):
        """
        Here we try the above but pass omero.group:-1
        to see if we can cause an exception.
        """
        all_context = {"omero.group": "-1"}
    
        from omero.util import concurrency
        pix = self.missing_pyramid()
        rps = self.sf.createRawPixelsStore(all_context)
        try:
            # First execution should certainly fail
            try:
                rps.setPixelsId(int(pix), True, all_context)
                assert False, "Should throw!"
            except omero.MissingPyramidException as mpm:
                assert int(pix) == mpm.pixelsID
    
            # Eventually, however, it should be generated
            i = 10
            success = False
            while i &gt; 0 and not success:
                try:
                    rps.setPixelsId(int(pix), True, all_context)
                    success = True
                except omero.MissingPyramidException as mpm:
                    assert int(pix) == mpm.pixelsID
                    backOff = mpm.backOff / 1000
                    event = concurrency.get_event("testRomio")
                    event.wait(backOff)  # seconds
                i -= 1
&gt;           assert success
E           assert False

test/integration/test_rawpixelsstore.py:151: AssertionError</errorStackTrace><failedSince>13</failedSince><name>test2RomioToPyramidWithNegOne</name><properties></properties><skipped>false</skipped><status>FAILED</status></child><child><age>0</age><className>OmeroPy.test.integration.test_rawpixelsstore.TestRPS</className><duration>204.22</duration><failedSince>0</failedSince><name>testBigPlane</name><properties></properties><skipped>false</skipped><status>PASSED</status></child><child><age>1</age><className>OmeroPy.test.integration.test_rawpixelsstore.TestRPS</className><duration>125.055</duration><errorDetails>assert False</errorDetails><errorStackTrace>self = &lt;test.integration.test_rawpixelsstore.TestRPS object at 0x7ff0f5340d90&gt;
tmpdir = local('/tmp/pytest-of-omero/pytest-34/testPyramidConcurrentAccess0')

    def testPyramidConcurrentAccess(self, tmpdir):
        """
        See ticket:11709
        """
        all_context = {"omero.group": "-1"}
    
        from omero.util import concurrency
        pix = self.missing_pyramid()
        rps = self.sf.createRawPixelsStore(all_context)
        try:
            # First execution should certainly fail
            try:
                rps.setPixelsId(int(pix), True, all_context)
                assert False, "Should throw!"
            except omero.MissingPyramidException as mpm:
                assert int(pix) == mpm.pixelsID
    
            # Eventually, however, it should be generated
            i = 10
            success = False
            while i &gt; 0 and not success:
                try:
                    rps.setPixelsId(int(pix), True, all_context)
                    success = True
                except omero.MissingPyramidException as mpm:
                    assert int(pix) == mpm.pixelsID
                    backOff = mpm.backOff / 1000
                    event = concurrency.get_event("testRomio")
                    event.wait(backOff)  # seconds
                i -= 1
&gt;           assert success
E           assert False

test/integration/test_rawpixelsstore.py:185: AssertionError</errorStackTrace><failedSince>13</failedSince><name>testPyramidConcurrentAccess</name><properties></properties><skipped>false</skipped><status>FAILED</status></child><child><age>1</age><className>OmeroPy.test.integration.test_rawpixelsstore.TestRPS</className><duration>128.717</duration><errorDetails>assert False</errorDetails><errorStackTrace>self = &lt;test.integration.test_rawpixelsstore.TestRPS object at 0x7ff0f53418d0&gt;
tmpdir = local('/tmp/pytest-of-omero/pytest-34/testRomioToPyramid0')

    def testRomioToPyramid(self, tmpdir):
        """
        Here we create a pixels that is not big,
        then modify its metadata so that it IS big,
        in order to trick the service into throwing
        us a MissingPyramidException
        """
        from omero.util import concurrency
        pix = self.missing_pyramid()
        rps = self.sf.createRawPixelsStore()
        try:
            # First execution should certainly fail
            try:
                rps.setPixelsId(int(pix), True)
                assert False, "Should throw!"
            except omero.MissingPyramidException as mpm:
                assert int(pix) == mpm.pixelsID
    
            # Eventually, however, it should be generated
            i = 10
            success = False
            while i &gt; 0 and not success:
                try:
                    rps.setPixelsId(int(pix), True)
                    success = True
                except omero.MissingPyramidException as mpm:
                    assert int(pix) == mpm.pixelsID
                    backOff = mpm.backOff / 1000
                    event = concurrency.get_event("testRomio")
                    event.wait(backOff)  # seconds
                i -= 1
&gt;           assert success
E           assert False

test/integration/test_rawpixelsstore.py:116: AssertionError</errorStackTrace><failedSince>13</failedSince><name>testRomioToPyramid</name><properties></properties><skipped>false</skipped><status>FAILED</status></child><child><age>0</age><className>OmeroPy.test.integration.test_rawpixelsstore.TestRPS</className><duration>4.871</duration><failedSince>0</failedSince><name>testTicket4737WithClose</name><properties></properties><skipped>false</skipped><status>PASSED</status></child><child><age>0</age><className>OmeroPy.test.integration.test_rawpixelsstore.TestRPS</className><duration>2.561</duration><failedSince>0</failedSince><name>testTicket4737WithForEachTile</name><properties></properties><skipped>false</skipped><status>PASSED</status></child><child><age>0</age><className>OmeroPy.test.integration.test_rawpixelsstore.TestRPS</className><duration>2.672</duration><failedSince>0</failedSince><name>testTicket4737WithSave</name><properties></properties><skipped>false</skipped><status>PASSED</status></child><failCount>3</failCount><name>TestRPS</name><passCount>4</passCount><skipCount>0</skipCount></classResult>