<classResult _class='hudson.tasks.junit.ClassResult'><child><age>0</age><className>OmeroPy.test.integration.clitest.test_pyramids.TestRemovePyramidsFullAdmin</className><duration>76.18</duration><failedSince>0</failedSince><name>test_remove__pre_fs_pyramids</name><properties></properties><skipped>false</skipped><status>PASSED</status></child><child><age>12</age><className>OmeroPy.test.integration.clitest.test_pyramids.TestRemovePyramidsFullAdmin</className><duration>145.675</duration><errorDetails>AssertionError: assert 'Pyramid removed for image 5618' in '0 Pyramid not ready: Missing pyramid:/home/omero/workspace/OMERO-test-integration/data/Pixels/Dir-002/2139_pyramid\n1 Pyramid not ready: Missing pyramid:/home/omero/workspace/OMERO-test-integration/data/Pixels/Dir-002/2139_pyramid\n2 Pyramid not ready: Missing pyramid:/home/omero/workspace/OMERO-test-integration/data/Pixels/Dir-002/2139_pyramid\n3 Pyramid not ready: Missing pyramid:/home/omero/workspace/OMERO-test-integration/data/Pixels/Dir-002/2139_pyramid\n4 Pyramid not ready: Missing pyramid:/home/omero/workspace/OMERO-test-integration/data/Pixels/Dir-002/2139_pyramid\n5 Pyramid not ready: Missing pyramid:/home/omero/workspace/OMERO-test-integration/data/Pixels/Dir-002/2139_pyramid\n6 Pyramid not ready: Missing pyramid:/home/omero/workspace/OMERO-test-integration/data/Pixels/Dir-002/2139_pyramid\n7 Pyramid not ready: Missing pyramid:/home/omero/workspace/OMERO-test-integration/data/Pixels/Dir-002/2139_pyramid\n8 Pyramid not ready: Missing pyramid:/home/omero/workspace/OMERO-test-integration/data/Pixels/Dir-002/2139_pyramid\n9 Pyramid not ready: Missing pyramid:/home/omero/workspace/OMERO-test-integration/data/Pixels/Dir-002/2139_pyramid\n10 Pyramid not ready: Missing pyramid...space/OMERO-test-integration/data/Pixels/Dir-002/2140_pyramid\n52 Pyramid not ready: Missing pyramid:/home/omero/workspace/OMERO-test-integration/data/Pixels/Dir-002/2140_pyramid\n53 Pyramid not ready: Missing pyramid:/home/omero/workspace/OMERO-test-integration/data/Pixels/Dir-002/2140_pyramid\n54 Pyramid not ready: Missing pyramid:/home/omero/workspace/OMERO-test-integration/data/Pixels/Dir-002/2140_pyramid\n55 Pyramid not ready: Missing pyramid:/home/omero/workspace/OMERO-test-integration/data/Pixels/Dir-002/2140_pyramid\n56 Pyramid not ready: Missing pyramid:/home/omero/workspace/OMERO-test-integration/data/Pixels/Dir-002/2140_pyramid\n57 Pyramid not ready: Missing pyramid:/home/omero/workspace/OMERO-test-integration/data/Pixels/Dir-002/2140_pyramid\n58 Pyramid not ready: Missing pyramid:/home/omero/workspace/OMERO-test-integration/data/Pixels/Dir-002/2140_pyramid\n59 Pyramid not ready: Missing pyramid:/home/omero/workspace/OMERO-test-integration/data/Pixels/Dir-002/2140_pyramid\nNo more than 500 pyramids will be removed\nFailed to remove for image 5004: pyramid-requires-fileset\nError closing callback for 5004\nPyramid removed for image 5613\nPyramid removed for image 5617\n'</errorDetails><errorStackTrace>self = &lt;test.integration.clitest.test_pyramids.TestRemovePyramidsFullAdmin object at 0x7f9d4b7bc110&gt;
tmpdir = local('/tmp/pytest-of-omero/pytest-8/test_remove_pyramids0')
capsys = &lt;_pytest.capture.CaptureFixture object at 0x7f9cfb219e10&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)
        name = "little&amp;sizeX=3500&amp;sizeY=3500&amp;little=true.fake"
        little_id = self.import_pyramid(tmpdir, name=name, skip=None)
        self.cli.invoke(self.args, strict=True)
        out, err = capsys.readouterr()
        output_start = "Pyramid removed for image %s" % big_id
        assert output_start in out
        output_start = "Pyramid removed for image %s" % little_id
&gt;       assert output_start in out
E       AssertionError: assert 'Pyramid removed for image 5618' in '0 Pyramid not ready: Missing pyramid:/home/omero/workspace/OMERO-test-integration/data/Pixels/Dir-002/2139_pyramid\n1 Pyramid not ready: Missing pyramid:/home/omero/workspace/OMERO-test-integration/data/Pixels/Dir-002/2139_pyramid\n2 Pyramid not ready: Missing pyramid:/home/omero/workspace/OMERO-test-integration/data/Pixels/Dir-002/2139_pyramid\n3 Pyramid not ready: Missing pyramid:/home/omero/workspace/OMERO-test-integration/data/Pixels/Dir-002/2139_pyramid\n4 Pyramid not ready: Missing pyramid:/home/omero/workspace/OMERO-test-integration/data/Pixels/Dir-002/2139_pyramid\n5 Pyramid not ready: Missing pyramid:/home/omero/workspace/OMERO-test-integration/data/Pixels/Dir-002/2139_pyramid\n6 Pyramid not ready: Missing pyramid:/home/omero/workspace/OMERO-test-integration/data/Pixels/Dir-002/2139_pyramid\n7 Pyramid not ready: Missing pyramid:/home/omero/workspace/OMERO-test-integration/data/Pixels/Dir-002/2139_pyramid\n8 Pyramid not ready: Missing pyramid:/home/omero/workspace/OMERO-test-integration/data/Pixels/Dir-002/2139_pyramid\n9 Pyramid not ready: Missing pyramid:/home/omero/workspace/OMERO-test-integration/data/Pixels/Dir-002/2139_pyramid\n10 Pyramid not ready: Missing pyramid...space/OMERO-test-integration/data/Pixels/Dir-002/2140_pyramid\n52 Pyramid not ready: Missing pyramid:/home/omero/workspace/OMERO-test-integration/data/Pixels/Dir-002/2140_pyramid\n53 Pyramid not ready: Missing pyramid:/home/omero/workspace/OMERO-test-integration/data/Pixels/Dir-002/2140_pyramid\n54 Pyramid not ready: Missing pyramid:/home/omero/workspace/OMERO-test-integration/data/Pixels/Dir-002/2140_pyramid\n55 Pyramid not ready: Missing pyramid:/home/omero/workspace/OMERO-test-integration/data/Pixels/Dir-002/2140_pyramid\n56 Pyramid not ready: Missing pyramid:/home/omero/workspace/OMERO-test-integration/data/Pixels/Dir-002/2140_pyramid\n57 Pyramid not ready: Missing pyramid:/home/omero/workspace/OMERO-test-integration/data/Pixels/Dir-002/2140_pyramid\n58 Pyramid not ready: Missing pyramid:/home/omero/workspace/OMERO-test-integration/data/Pixels/Dir-002/2140_pyramid\n59 Pyramid not ready: Missing pyramid:/home/omero/workspace/OMERO-test-integration/data/Pixels/Dir-002/2140_pyramid\nNo more than 500 pyramids will be removed\nFailed to remove for image 5004: pyramid-requires-fileset\nError closing callback for 5004\nPyramid removed for image 5613\nPyramid removed for image 5617\n'

test/integration/clitest/test_pyramids.py:297: AssertionError</errorStackTrace><failedSince>1</failedSince><name>test_remove_pyramids</name><properties></properties><skipped>false</skipped><status>FAILED</status></child><child><age>0</age><className>OmeroPy.test.integration.clitest.test_pyramids.TestRemovePyramidsFullAdmin</className><duration>110.912</duration><failedSince>0</failedSince><name>test_remove_pyramids_big_endian</name><properties></properties><skipped>false</skipped><status>PASSED</status></child><child><age>12</age><className>OmeroPy.test.integration.clitest.test_pyramids.TestRemovePyramidsFullAdmin</className><duration>74.053</duration><errorDetails>AssertionError: assert '5eb87159f8ecb29ae94909082c3288d338985bb2' != '5eb87159f8ecb29ae94909082c3288d338985bb2'</errorDetails><errorStackTrace>self = &lt;test.integration.clitest.test_pyramids.TestRemovePyramidsFullAdmin object at 0x7f9d4b53c7d0&gt;
tmpdir = local('/tmp/pytest-of-omero/pytest-8/test_remove_pyramids_check_thu0')
capsys = &lt;_pytest.capture.CaptureFixture object at 0x7f9d0d8d6310&gt;

    def test_remove_pyramids_check_thumbnails(self, tmpdir, capsys):
        """Test check that the thumbnail is correctly created"""
        name = "big&amp;sizeX=3500&amp;sizeY=3500&amp;little=false.fake"
        img_id = self.import_pyramid(tmpdir, name=name, skip=None)
        query_service = self.client.sf.getQueryService()
        pix = query_service.findByQuery(
            "select p from Pixels p where p.image.id = :id",
            ParametersI().addId(img_id))
        tb = self.client.sf.createThumbnailStore()
        id = pix.id.val
        thumb_hash = None
        try:
            thumbs = tb.getThumbnailByLongestSideSet(rint(64), [id],
                                                     {'omero.group': '-1'})
            assert len(thumbs) == 1
            thumb_hash = self.calculate_sha1(thumbs[id])
            # remove the pyramid and the thumbnail
            self.args += ["--endian=big"]
            self.cli.invoke(self.args, strict=True)
            out, err = capsys.readouterr()
            thumbs = tb.getThumbnailByLongestSideSet(rint(64), [id],
                                                     {'omero.group': '-1'})
            assert len(thumbs) == 1
            # The clock should be returned during the pyramid generation
            digest = self.calculate_sha1(thumbs[id])
&gt;           assert digest != thumb_hash
E           AssertionError: assert '5eb87159f8ecb29ae94909082c3288d338985bb2' != '5eb87159f8ecb29ae94909082c3288d338985bb2'

test/integration/clitest/test_pyramids.py:324: AssertionError</errorStackTrace><failedSince>1</failedSince><name>test_remove_pyramids_check_thumbnails</name><properties></properties><skipped>false</skipped><status>FAILED</status></child><child><age>0</age><className>OmeroPy.test.integration.clitest.test_pyramids.TestRemovePyramidsFullAdmin</className><duration>72.534</duration><failedSince>0</failedSince><name>test_remove_pyramids_imported_after_future</name><properties></properties><skipped>false</skipped><status>PASSED</status></child><child><age>0</age><className>OmeroPy.test.integration.clitest.test_pyramids.TestRemovePyramidsFullAdmin</className><duration>73.948</duration><failedSince>0</failedSince><name>test_remove_pyramids_limit</name><properties></properties><skipped>false</skipped><status>PASSED</status></child><child><age>0</age><className>OmeroPy.test.integration.clitest.test_pyramids.TestRemovePyramidsFullAdmin</className><duration>113.568</duration><failedSince>0</failedSince><name>test_remove_pyramids_little_endian</name><properties></properties><skipped>false</skipped><status>PASSED</status></child><child><age>13</age><className>OmeroPy.test.integration.clitest.test_pyramids.TestRemovePyramidsFullAdmin</className><duration>0.0</duration><failedSince>0</failedSince><name>test_remove_pyramids_manual</name><properties></properties><skipped>true</skipped><skippedMessage>Run locally only</skippedMessage><status>SKIPPED</status></child><child><age>0</age><className>OmeroPy.test.integration.clitest.test_pyramids.TestRemovePyramidsFullAdmin</className><duration>73.252</duration><failedSince>0</failedSince><name>test_remove_pyramids_not_valid_limit</name><properties></properties><skipped>false</skipped><status>PASSED</status></child><failCount>2</failCount><name>TestRemovePyramidsFullAdmin</name><passCount>6</passCount><skipCount>1</skipCount></classResult>