Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.

Ticket #11433: test-results.xml

File test-results.xml, 156.5 KB (added by bpindelski, 11 years ago)

OmeroPy integration test results (ome-c6100-2)

Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<testsuite errors="0" failures="30" name="" skips="5" tests="259" time="4745.541"><testcase classname="test.integration.test_cmdcallback" name="TestCB" time="0"><skipped message="collection skipped">('/homes/hudson-x/virtualenv/lib/python2.6/site-packages/_pytest/python.py', 400, "Skipped: class test.integration.test_cmdcallback.TestCB with __init__ won't get collected")</skipped></testcase><testcase classname="test.integration.test_admin.TestAdmin" name="test9193" time="1.64174413681"/><testcase classname="test.integration.test_admin.TestAdmin" name="testChangePassword" time="0.48099899292"/><testcase classname="test.integration.test_admin.TestAdmin" name="testChangePasswordWhenUnset" time="6.6237859726"/><testcase classname="test.integration.test_admin.TestAdmin" name="testGetEventContext4011" time="0.594038009644"/><testcase classname="test.integration.test_admin.TestAdmin" name="testGetGroup" time="0.240661859512"/><testcase classname="test.integration.test_admin.TestAdmin" name="testSetGroup" time="0.299597024918"/><testcase classname="test.integration.test_admin.TestAdmin" name="testSetSecurityPassword" time="0.347537994385"/><testcase classname="test.integration.test_admin.TestAdmin" name="testUserRoles4056" time="0.44384098053"/><testcase classname="test.integration.test_annotation.TestFigureExportScripts" name="testAddAnnotations" time="0.752086162567"><system-out>testAddAnnotations
3</system-out></testcase><testcase classname="test.integration.test_annotationPermissions.PrivateGroup" name="testAddTag" time="2.04887700081"/><testcase classname="test.integration.test_annotationPermissions.PrivateGroup" name="testReadTag" time="2.10530996323"/><testcase classname="test.integration.test_annotationPermissions.PrivateGroup" name="testRemoveTag" time="3.18762993813"/><testcase classname="test.integration.test_annotationPermissions.ReadOnlyGroup" name="testAddTag" time="1.46010804176"/><testcase classname="test.integration.test_annotationPermissions.ReadOnlyGroup" name="testReadTag" time="1.84688401222"/><testcase classname="test.integration.test_annotationPermissions.ReadOnlyGroup" name="testRemoveTag" time="3.13023090363"/><testcase classname="test.integration.test_annotationPermissions.ReadAnnotateGroup" name="testAddTag" time="2.61145281792"/><testcase classname="test.integration.test_annotationPermissions.ReadAnnotateGroup" name="testReadTag" time="1.54615902901"/><testcase classname="test.integration.test_annotationPermissions.ReadAnnotateGroup" name="testRemoveTag" time="3.59292888641"/><testcase classname="test.integration.test_bfpixelsstoreexternal.TestBfPixelsStore" name="testBMP" time="6.76248908043"><failure message="test failure">self = &lt;test.integration.test_bfpixelsstoreexternal.TestBfPixelsStore testMethod=testBMP&gt;
4
5    def testBMP(self):
6&gt;       self.setUpTestFile("test.bmp")
7
8test/integration/test_bfpixelsstoreexternal.py:66:
9_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
10
11self = &lt;test.integration.test_bfpixelsstoreexternal.TestBfPixelsStore testMethod=testBMP&gt;
12name = 'test.bmp'
13
14    def setUpTestFile(self, name):
15        sess = self.root.sf
16        filename = self.OmeroPy / ".." / ".." / ".." / "components" / "common" / "test" / name
17        dataDir = path(sess.getConfigService().getConfigValue("omero.data.dir"));
18        self.tmp_dir = dataDir / self.uuid()
19        self.repo_filename = self.tmp_dir / name
20        # Copy file into repository subdirectory
21        path.mkdir(self.tmp_dir)
22        shutil.copyfile(filename, self.repo_filename)
23        # Import the same file
24        self.pix_id = long(self.import_image(filename)[0])
25        self.rp = self.client.sf.createRawPixelsStore()
26        self.rp.setPixelsId(self.pix_id, True)
27        ### This line will deprecated on API unification.
28        pixels = self.client.sf.createGateway().getPixels(self.pix_id)
29        self.sizeX = pixels.getSizeX().getValue()
30        self.sizeY = pixels.getSizeY().getValue()
31        self.sizeZ = pixels.getSizeZ().getValue()
32        self.sizeC = pixels.getSizeC().getValue()
33        self.sizeT = pixels.getSizeT().getValue()
34        # Get repository and the bf pixels store on the copied file
35        repoMap = sess.sharedResources().repositories()
36        repoIndex = -1
37        for r in range(len(repoMap.descriptions)):
38            if repoMap.descriptions[r].name.val == dataDir.parent.name:
39                repoIndex = r
40        if repoIndex == -1:
41&gt;           self.fail("Repository not found")
42E           AssertionError: Repository not found
43
44test/integration/test_bfpixelsstoreexternal.py:51: AssertionError</failure></testcase><testcase classname="test.integration.test_bfpixelsstoreexternal.TestBfPixelsStore" name="testDV" time="5.95531010628"><failure message="test failure">self = &lt;test.integration.test_bfpixelsstoreexternal.TestBfPixelsStore testMethod=testDV&gt;
45
46    def testDV(self):
47&gt;       self.setUpTestFile("tinyTest.d3d.dv")
48
49test/integration/test_bfpixelsstoreexternal.py:71:
50_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
51
52self = &lt;test.integration.test_bfpixelsstoreexternal.TestBfPixelsStore testMethod=testDV&gt;
53name = 'tinyTest.d3d.dv'
54
55    def setUpTestFile(self, name):
56        sess = self.root.sf
57        filename = self.OmeroPy / ".." / ".." / ".." / "components" / "common" / "test" / name
58        dataDir = path(sess.getConfigService().getConfigValue("omero.data.dir"));
59        self.tmp_dir = dataDir / self.uuid()
60        self.repo_filename = self.tmp_dir / name
61        # Copy file into repository subdirectory
62        path.mkdir(self.tmp_dir)
63        shutil.copyfile(filename, self.repo_filename)
64        # Import the same file
65        self.pix_id = long(self.import_image(filename)[0])
66        self.rp = self.client.sf.createRawPixelsStore()
67        self.rp.setPixelsId(self.pix_id, True)
68        ### This line will deprecated on API unification.
69        pixels = self.client.sf.createGateway().getPixels(self.pix_id)
70        self.sizeX = pixels.getSizeX().getValue()
71        self.sizeY = pixels.getSizeY().getValue()
72        self.sizeZ = pixels.getSizeZ().getValue()
73        self.sizeC = pixels.getSizeC().getValue()
74        self.sizeT = pixels.getSizeT().getValue()
75        # Get repository and the bf pixels store on the copied file
76        repoMap = sess.sharedResources().repositories()
77        repoIndex = -1
78        for r in range(len(repoMap.descriptions)):
79            if repoMap.descriptions[r].name.val == dataDir.parent.name:
80                repoIndex = r
81        if repoIndex == -1:
82&gt;           self.fail("Repository not found")
83E           AssertionError: Repository not found
84
85test/integration/test_bfpixelsstoreexternal.py:51: AssertionError</failure></testcase><testcase classname="test.integration.test_bfpixelsstoreinternal.TestBfPixelsStore" name="testBMP" time="0.355892896652"><failure message="test failure">self = &lt;test.integration.test_bfpixelsstoreinternal.TestBfPixelsStore testMethod=testBMP&gt;
86
87    def testBMP(self):
88&gt;       self.setUpTestFile("test.bmp")
89
90test/integration/test_bfpixelsstoreinternal.py:69:
91_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
92
93self = &lt;test.integration.test_bfpixelsstoreinternal.TestBfPixelsStore testMethod=testBMP&gt;
94name = 'test.bmp'
95
96    def setUpTestFile(self, name):
97        sess = self.root.sf
98        filename = self.OmeroPy / ".." / ".." / ".." / "components" / "common" / "test" / name
99        dataDir = path(sess.getConfigService().getConfigValue("omero.data.dir"));
100        self.tmp_dir = dataDir / self.uuid()
101        self.repo_filename = self.tmp_dir / name
102        # Copy file into repository subdirectory
103        path.mkdir(self.tmp_dir)
104        shutil.copyfile(filename, self.repo_filename)
105        # Get repository and the bf pixels store on the copied file
106        repoMap = sess.sharedResources().repositories()
107        repoIndex = -1
108        for r in range(len(repoMap.descriptions)):
109            if repoMap.descriptions[r].name.val == dataDir.parent.name:
110                repoIndex = r
111        if repoIndex == -1:
112&gt;           self.fail("Repository not found")
113E           AssertionError: Repository not found
114
115test/integration/test_bfpixelsstoreinternal.py:41: AssertionError</failure></testcase><testcase classname="test.integration.test_bfpixelsstoreinternal.TestBfPixelsStore" name="testDV" time="0.315435171127"><failure message="test failure">self = &lt;test.integration.test_bfpixelsstoreinternal.TestBfPixelsStore testMethod=testDV&gt;
116
117    def testDV(self):
118&gt;       self.setUpTestFile("tinyTest.d3d.dv")
119
120test/integration/test_bfpixelsstoreinternal.py:74:
121_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
122
123self = &lt;test.integration.test_bfpixelsstoreinternal.TestBfPixelsStore testMethod=testDV&gt;
124name = 'tinyTest.d3d.dv'
125
126    def setUpTestFile(self, name):
127        sess = self.root.sf
128        filename = self.OmeroPy / ".." / ".." / ".." / "components" / "common" / "test" / name
129        dataDir = path(sess.getConfigService().getConfigValue("omero.data.dir"));
130        self.tmp_dir = dataDir / self.uuid()
131        self.repo_filename = self.tmp_dir / name
132        # Copy file into repository subdirectory
133        path.mkdir(self.tmp_dir)
134        shutil.copyfile(filename, self.repo_filename)
135        # Get repository and the bf pixels store on the copied file
136        repoMap = sess.sharedResources().repositories()
137        repoIndex = -1
138        for r in range(len(repoMap.descriptions)):
139            if repoMap.descriptions[r].name.val == dataDir.parent.name:
140                repoIndex = r
141        if repoIndex == -1:
142&gt;           self.fail("Repository not found")
143E           AssertionError: Repository not found
144
145test/integration/test_bfpixelsstoreinternal.py:41: AssertionError</failure></testcase><testcase classname="test.integration.test_bfpixelsstoreinternal.TestBfPixelsStore" name="testJPG" time="0.302980899811"><failure message="test failure">self = &lt;test.integration.test_bfpixelsstoreinternal.TestBfPixelsStore testMethod=testJPG&gt;
146
147    def testJPG(self):
148&gt;       self.setUpTestFile("test.jpg")
149
150test/integration/test_bfpixelsstoreinternal.py:79:
151_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
152
153self = &lt;test.integration.test_bfpixelsstoreinternal.TestBfPixelsStore testMethod=testJPG&gt;
154name = 'test.jpg'
155
156    def setUpTestFile(self, name):
157        sess = self.root.sf
158        filename = self.OmeroPy / ".." / ".." / ".." / "components" / "common" / "test" / name
159        dataDir = path(sess.getConfigService().getConfigValue("omero.data.dir"));
160        self.tmp_dir = dataDir / self.uuid()
161        self.repo_filename = self.tmp_dir / name
162        # Copy file into repository subdirectory
163        path.mkdir(self.tmp_dir)
164        shutil.copyfile(filename, self.repo_filename)
165        # Get repository and the bf pixels store on the copied file
166        repoMap = sess.sharedResources().repositories()
167        repoIndex = -1
168        for r in range(len(repoMap.descriptions)):
169            if repoMap.descriptions[r].name.val == dataDir.parent.name:
170                repoIndex = r
171        if repoIndex == -1:
172&gt;           self.fail("Repository not found")
173E           AssertionError: Repository not found
174
175test/integration/test_bfpixelsstoreinternal.py:41: AssertionError</failure></testcase><testcase classname="test.integration.test_bigImages.TestFigureExportScripts" name="testRenderRegion" time="0.982433080673"><failure message="test failure">self = &lt;test.integration.test_bigImages.TestFigureExportScripts testMethod=testRenderRegion&gt;
176
177    def testRenderRegion(self):
178        """
179            Test attempts to compare a full image plane, cropped to a region, with a region retrieved from
180            rendering engine.
181            Uses PIL to convert compressed strings into 2D numpy arrays for cropping and comparison.
182            ** Although cropped images and retrieved regions APPEAR identical, there appear to be rounding
183            or rendering errors, either in the 'renderCompressed' method of the rendering engine or in PIL **
184            For this reason, there are small differences in the pixel values of rendered regions.
185            This functionality is also tested in Java.
186            Therefore this test is not 'Activated' currently.
187            """
188   
189        print "testRenderRegion"
190   
191        session = self.root.sf
192   
193        sizeX = 4
194        sizeY = 3
195        sizeZ = 1
196        sizeC = 1
197        sizeT = 1
198        print "sizeX", sizeX, "sizeY", sizeY
199        image = self.createTestImage(sizeX, sizeY, sizeZ, sizeC, sizeT)
200        print "Image ID", image.getId().getValue()
201        pixelsId = image.getPrimaryPixels().id.val
202   
203        renderingEngine = session.createRenderingEngine()
204        renderingEngine.lookupPixels(pixelsId)
205        if not renderingEngine.lookupRenderingDef(pixelsId):
206            renderingEngine.resetDefaults()
207        renderingEngine.lookupRenderingDef(pixelsId)
208        renderingEngine.load()
209   
210        # turn all channels on
211        for i in range(sizeC):
212            renderingEngine.setActive(i, True)
213   
214        regionDef = omero.romio.RegionDef()
215        x = 0
216        y = 0
217        width = 2
218        height = 2
219        x2 = x+width
220        y2 = y+height
221   
222        regionDef.x = x
223        regionDef.y = y
224        regionDef.width = width
225        regionDef.height = height
226   
227        planeDef = omero.romio.PlaneDef()
228        planeDef.z = long(0)
229        planeDef.t = long(0)
230   
231        import StringIO
232   
233        # First, get the full rendered plane...
234        img = renderingEngine.renderCompressed(planeDef)    # compressed String
235        fullImage = Image.open(StringIO.StringIO(img))     # convert to numpy array...
236        #fullImage.show()
237        img_array = asarray(fullImage)   # 3D array, since each pixel is [r,g,b]
238        print img_array.shape
239        print img_array
240&gt;       not_cropped = Image.fromarray(img_array)
241
242test/integration/test_bigImages.py:98:
243_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
244
245obj = array(&lt;PIL.JpegImagePlugin.JpegImageFile image mode=RGB size=4x3 at 0x45F1098&gt;, dtype=object)
246mode = None
247
248    def fromarray(obj, mode=None):
249        arr = obj.__array_interface__
250        shape = arr['shape']
251        ndim = len(shape)
252        try:
253            strides = arr['strides']
254        except KeyError:
255            strides = None
256        if mode is None:
257            try:
258                typekey = (1, 1) + shape[2:], arr['typestr']
259                mode, rawmode = _fromarray_typemap[typekey]
260            except KeyError:
261                # print typekey
262&gt;               raise TypeError("Cannot handle this data type")
263E               TypeError: Cannot handle this data type
264
265/homes/hudson-x/virtualenv/lib/python2.6/site-packages/PIL/Image.py:1886: TypeError</failure><system-out>testRenderRegion
266sizeX 4 sizeY 3
267Image ID 3
268()
269&lt;PIL.JpegImagePlugin.JpegImageFile image mode=RGB size=4x3 at 0x45F1098&gt;
270</system-out></testcase><testcase classname="test.integration.test_chgrp.TestChgrp" name="testChgrpImage" time="1.30726003647"/><testcase classname="test.integration.test_chgrp.TestChgrp" name="testChgrpImportedImage" time="6.84764695168"/><testcase classname="test.integration.test_chgrp.TestChgrp" name="testChgrpPDI" time="2.34480905533"/><testcase classname="test.integration.test_chgrp.TestChgrp" name="testChgrpRdef7825" time="2.40011191368"/><testcase classname="test.integration.test_chmod.TestChmodEasy" name="test_chmod_rw_rwr" time="2.74117708206"/><testcase classname="test.integration.test_client_ctors.TestClientConstructors" name="testHostConstructor" time="0.192803144455"/><testcase classname="test.integration.test_client_ctors.TestClientConstructors" name="testInitializationDataConstructor" time="0.0128197669983"><failure message="test failure">self = &lt;test.integration.test_client_ctors.TestClientConstructors testMethod=testInitializationDataConstructor&gt;
271
272    def testInitializationDataConstructor(self):
273        id = Ice.InitializationData()
274        id.properties = Ice.createProperties()
275        id.properties.setProperty("omero.host", self.host)
276        id.properties.setProperty("omero.user", "root")
277        id.properties.setProperty("omero.pass", self.rootpasswd)
278        c = omero.client(id = id)
279        try:
280&gt;           c.createSession()
281
282test/integration/test_client_ctors.py:48:
283_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
284
285self = &lt;omero.clients.BaseClient object at 0x46fefd0&gt;, username = 'root'
286password = 'omero'
287
288    def createSession(self, username=None, password=None):
289        """
290            Performs the actual logic of logging in, which is done via the
291            getRouter(). Disallows an extant ServiceFactoryPrx, and
292            tries to re-create a null Ice.Communicator. A null or empty
293            username will throw an exception, but an empty password is allowed.
294            """
295        import omero
296   
297        self.__lock.acquire()
298        try:
299   
300            # Checking state
301   
302            if self.__sf:
303                raise omero.ClientError("Session already active. Create a new omero.client or closeSession()")
304   
305            if not self.__ic:
306                if not self.__previous:
307                    raise omero.ClientError("No previous data to recreate communicator.")
308                self._initData(self.__previous)
309                self.__previous = None
310   
311            # Check the required properties
312   
313            if not username:
314                username = self.getProperty("omero.user")
315            elif isinstance(username,omero.RString):
316                username = username.val
317   
318            if not username or len(username) == 0:
319                raise omero.ClientError("No username specified")
320   
321            if not password:
322                password = self.getProperty("omero.pass")
323            elif isinstance(password,omero.RString):
324                password = password.val
325   
326            if not password:
327                raise omero.ClientError("No password specified")
328   
329            # Acquire router and get the proxy
330            prx = None
331            retries = 0
332            while retries &lt; 3:
333                reason = None
334                if retries &gt; 0:
335                    self.__logger.warning(\
336                    "%s - createSession retry: %s"% (reason, retries) )
337                try:
338                    ctx = dict(self.getImplicitContext().getContext())
339                    ctx[omero.constants.AGENT] = self.__agent
340                    rtr = self.getRouter(self.__ic)
341&gt;                   prx = rtr.createSession(username, password, ctx)
342
343/homes/hudson-x/OMERO-CURRENT/lib/python/omero/clients.py:479:
344_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
345
346self = OMERO.Glacier2/router -t:ssl -h localhost -p 4064, userId = 'root'
347password = 'omero'
348_ctx = {'omero.agent': 'OMERO.py', 'omero.client.uuid': 'cff1f7d0-db62-4825-a71f-4ee88df6f140'}
349
350    def createSession(self, userId, password, _ctx=None):
351&gt;       return _M_Glacier2.Router._op_createSession.invoke(self, ((userId, password), _ctx))
352   
353    '''Create a per-client session with the router. If a
354    SessionManager has been installed, a proxy to a Session
355    object is returned to the client. Otherwise, null is returned
356    and only an internal session (i.e., not visible to the client)
357    is created.
358   
359    If a session proxy is returned, it must be configured to route
360    through the router that created it. This will happen automatically
361    if the router is configured as the client's default router at the
362    time the session proxy is created in the client process, otherwise
363    the client must configure the session proxy explicitly.
364   
365    Returns:
366        A proxy for the newly created session, or null if no
367    SessionManager has been installed.
368   
369    Arguments:
370        userId The user id for which to check the password.
371   
372        password The password for the given user id.
373   
374    Exceptions:
375        PermissionDeniedException Raised if the password for
376    the given user id is not correct, or if the user is not allowed
377    access.
378   
379        CannotCreateSessionException Raised if the session
380E       ConnectionRefusedException: Ice.ConnectionRefusedException:
381E       Connection refused
382
383/usr/lib64/python2.6/site-packages/Ice/Glacier2_Router_ice.py:261: ConnectionRefusedException</failure></testcase><testcase classname="test.integration.test_client_ctors.TestClientConstructors" name="testMainArgsConstructor" time="0.313074111938"/><testcase classname="test.integration.test_client_ctors.TestClientConstructors" name="testMainArgsGetsIceConfig" time="0.0481510162354"><system-err>WARNING:omero.client:..Ignoring error in client.__del__:&lt;class 'Ice.DNSException'&gt;
384</system-err></testcase><testcase classname="test.integration.test_client_ctors.TestClientConstructors" name="testMainArgsGetsIcePrefix" time="0.131159067154"/><testcase classname="test.integration.test_client_ctors.TestClientConstructors" name="testMapConstructor" time="0.214473009109"/><testcase classname="test.integration.test_client_ctors.TestClientConstructors" name="testPorts" time="0.014778137207"/><testcase classname="test.integration.test_client_ctors.TestClientConstructors" name="testPythonCtorRepair" time="0.106784105301"/><testcase classname="test.integration.test_client_ctors.TestClientConstructors" name="testTwoDifferentHosts" time="0.239097118378"/><testcase classname="test.integration.test_clientusage.TestClientUsage" name="testClientClosedAutomatically" time="0.914608955383"/><testcase classname="test.integration.test_clientusage.TestClientUsage" name="testClientClosedManually" time="0.868954181671"/><testcase classname="test.integration.test_clientusage.TestClientUsage" name="testCreateInsecureClientTicket2099" time="0.985991954803"/><testcase classname="test.integration.test_clientusage.TestClientUsage" name="testGetStatefulServices" time="0.55887389183"/><testcase classname="test.integration.test_clientusage.TestClientUsage" name="testUseSharedMemory" time="0.694905996323"/><testcase classname="test.integration.test_cliimport.TestCliImport" name="testAnnotationComment" time="6.16067504883"/><testcase classname="test.integration.test_cliimport.TestCliImport" name="testAnnotationTextMultiple" time="5.97826695442"/><testcase classname="test.integration.test_cliimport.TestCliImport" name="testAnnotationTextSimple" time="5.50520205498"/><testcase classname="test.integration.test_cliimport.TestCliImport" name="testBasic" time="5.7395260334"/><testcase classname="test.integration.test_cliimport.TestCliImport" name="testDatasetTarget" time="7.55134010315"/><testcase classname="test.integration.test_cliimport.TestCliImport" name="testTargetInDifferentGroup" time="6.61271190643"/><testcase classname="test.integration.test_cmdcallback.CmdCallbackTest" name="testDoAllTimingFinishesOnLoop" time="0.476177930832"/><testcase classname="test.integration.test_cmdcallback.CmdCallbackTest" name="testDoNothingFinishesOnLatch" time="0.603874921799"/><testcase classname="test.integration.test_cmdcallback.CmdCallbackTest" name="testDoNothingFinishesOnLoop" time="0.422039985657"/><testcase classname="test.integration.test_cmdcallback.CmdCallbackTest" name="testTimingFinishesOnBlock" time="1.4824719429"/><testcase classname="test.integration.test_cmdcallback.CmdCallbackTest" name="testTimingFinishesOnLatch" time="2.3346760273"/><testcase classname="test.integration.test_cmdcallback.CmdCallbackTest" name="testTimingFinishesOnLoop" time="2.1105890274"/><testcase classname="test.integration.test_counts.TestCounts" name="testBasicUsage" time="0.460311174393"/><testcase classname="test.integration.test_delete.TestDelete" name="test3639" time="4.23043489456"/><testcase classname="test.integration.test_delete.TestDelete" name="test5793" time="0.559725046158"/><testcase classname="test.integration.test_delete.TestDelete" name="test7314" time="0.621782064438"/><testcase classname="test.integration.test_delete.TestDelete" name="testBasicUsage" time="0.432787179947"/><testcase classname="test.integration.test_delete.TestDelete" name="testCheckIfDeleted" time="1.11551403999"/><testcase classname="test.integration.test_delete.TestDelete" name="testCheckIfDeleted2" time="12.4314789772"/><testcase classname="test.integration.test_delete.TestDelete" name="testDeleteMany" time="1.3948161602"/><testcase classname="test.integration.test_delete.TestDelete" name="testDeleteProjectWithoutContent" time="1.75634384155"/><testcase classname="test.integration.test_delete.TestDelete" name="testOddMessage" time="12.3173310757"/><testcase classname="test.integration.test_exporter.TestExporter" name="test6713" time="12.0767531395"/><testcase classname="test.integration.test_exporter.TestExporter" name="testBasic" time="6.4544711113"/><testcase classname="test.integration.test_figureExportScripts.TestFigureExportScripts" name="testMovieFigure" time="26.0252861977"><system-out>testMovieFigure
385Script generated StdOut in file: 37
386Script generated StdOut in file: 39
387Script generated StdOut in file: 40
388</system-out></testcase><testcase classname="test.integration.test_figureExportScripts.TestFigureExportScripts" name="testMovieRoiFigure" time="15.5906770229"><system-out>testMovieRoiFigure
389Script generated StdOut in file: 44
390Script generated StdOut in file: 46
391Script generated StdOut in file: 47
392</system-out></testcase><testcase classname="test.integration.test_figureExportScripts.TestFigureExportScripts" name="testRoiFigure" time="18.6180129051"><system-out>testRoiFigure
393Script generated StdOut in file: 51
394Script generated StdOut in file: 53
395Script generated StdOut in file: 54
396</system-out></testcase><testcase classname="test.integration.test_figureExportScripts.TestFigureExportScripts" name="testSplitViewFigure" time="22.999710083"><system-out>testSplitViewFigure
397Script generated StdOut in file: 58
398Script generated StdOut in file: 60
399Script generated StdOut in file: 61
400</system-out></testcase><testcase classname="test.integration.test_figureExportScripts.TestFigureExportScripts" name="testThumbnailFigure" time="48.3324820995"><system-out>testThumbnailFigure
401Script generated StdOut in file: 65
402Script generated StdOut in file: 67
403Script generated StdOut in file: 68
404Script generated StdOut in file: 69
405</system-out></testcase><testcase classname="test.integration.test_files.TestFiles" name="testUploadDifferentSizeTicket2337" time="0.590040922165"/><testcase classname="test.integration.test_files.TestFiles" name="testUploadDownload" time="0.451613903046"/><testcase classname="test.integration.test_gateway.TestGateway" name="testBasicUsage" time="0.88142991066"><system-out>165 &lt;type 'long'&gt;
406object #0 (::omero::model::Pixels)
407{
408    _id = object #1 (::omero::RLong)
409    {
410        _val = 99
411    }
412    _details = object #2 (::omero::model::Details)
413    {
414        _owner = object #3 (::omero::model::Experimenter)
415        {
416            _id = object #4 (::omero::RLong)
417            {
418                _val = 129
419            }
420            _details = &lt;nil&gt;
421            _loaded = False
422            _version = &lt;nil&gt;
423            _groupExperimenterMapSeq =
424            {
425            }
426            _groupExperimenterMapLoaded = False
427            _omeName = &lt;nil&gt;
428            _firstName = &lt;nil&gt;
429            _middleName = &lt;nil&gt;
430            _lastName = &lt;nil&gt;
431            _institution = &lt;nil&gt;
432            _email = &lt;nil&gt;
433            _annotationLinksSeq =
434            {
435            }
436            _annotationLinksLoaded = False
437            _annotationLinksCountPerOwner =
438            {
439            }
440        }
441        _group = object #5 (::omero::model::ExperimenterGroup)
442        {
443            _id = object #6 (::omero::RLong)
444            {
445                _val = 107
446            }
447            _details = object #7 (::omero::model::Details)
448            {
449                _owner = &lt;nil&gt;
450                _group = &lt;nil&gt;
451                _creationEvent = &lt;nil&gt;
452                _updateEvent = &lt;nil&gt;
453                _permissions = object #8 (::omero::model::Permissions)
454                {
455                    _restrictions =
456                    {
457                        [0] = False
458                        [1] = True
459                        [2] = True
460                        [3] = True
461                    }
462                    _perm1 = -120
463                }
464                _externalInfo = &lt;nil&gt;
465                _call =
466                {
467                    key = omero.session.uuid
468                    value = 8b1b30dc-c883-4b8a-86e1-0166525dbc62
469                   
470                    key = omero.client.uuid
471                    value = 1e53194e-9bc6-47a5-b924-6ba33dab50ac
472                }
473                _event = object #9 (::omero::sys::EventContext)
474                {
475                    shareId = -1
476                    sessionId = 340
477                    sessionUuid = 8b1b30dc-c883-4b8a-86e1-0166525dbc62
478                    userId = 129
479                    userName = ae4d8564-83e9-415a-94b9-c10646876118
480                    groupId = 107
481                    groupName = bf417191-ad13-46d1-8cdf-75eac45ca00a
482                    isAdmin = False
483                    eventId = -1
484                    eventType = User
485                    memberOfGroups =
486                    {
487                        [0] = 107
488                        [1] = 1
489                    }
490                    leaderOfGroups =
491                    {
492                    }
493                    groupPermissions = object #10 (::omero::model::Permissions)
494                    {
495                        _restrictions =
496                        {
497                        }
498                        _perm1 = -120
499                    }
500                }
501            }
502            _loaded = True
503            _version = object #11 (::omero::RInt)
504            {
505                _val = 0
506            }
507            _name = object #12 (::omero::RString)
508            {
509                _val = bf417191-ad13-46d1-8cdf-75eac45ca00a
510            }
511            _groupExperimenterMapSeq =
512            {
513            }
514            _groupExperimenterMapLoaded = False
515            _annotationLinksSeq =
516            {
517            }
518            _annotationLinksLoaded = False
519            _annotationLinksCountPerOwner =
520            {
521            }
522            _description = &lt;nil&gt;
523        }
524        _creationEvent = object #13 (::omero::model::Event)
525        {
526            _id = object #14 (::omero::RLong)
527            {
528                _val = 2654
529            }
530            _details = &lt;nil&gt;
531            _loaded = False
532            _status = &lt;nil&gt;
533            _time = &lt;nil&gt;
534            _experimenter = &lt;nil&gt;
535            _experimenterGroup = &lt;nil&gt;
536            _type = &lt;nil&gt;
537            _containingEvent = &lt;nil&gt;
538            _logsSeq =
539            {
540            }
541            _logsLoaded = False
542            _session = &lt;nil&gt;
543        }
544        _updateEvent = object #15 (::omero::model::Event)
545        {
546            _id = object #16 (::omero::RLong)
547            {
548                _val = 2660
549            }
550            _details = &lt;nil&gt;
551            _loaded = False
552            _status = &lt;nil&gt;
553            _time = &lt;nil&gt;
554            _experimenter = &lt;nil&gt;
555            _experimenterGroup = &lt;nil&gt;
556            _type = &lt;nil&gt;
557            _containingEvent = &lt;nil&gt;
558            _logsSeq =
559            {
560            }
561            _logsLoaded = False
562            _session = &lt;nil&gt;
563        }
564        _permissions = object #17 (::omero::model::Permissions)
565        {
566            _restrictions =
567            {
568            }
569            _perm1 = -120
570        }
571        _externalInfo = &lt;nil&gt;
572        _call =
573        {
574            key = omero.session.uuid
575            value = 8b1b30dc-c883-4b8a-86e1-0166525dbc62
576           
577            key = omero.client.uuid
578            value = 1e53194e-9bc6-47a5-b924-6ba33dab50ac
579        }
580        _event = object #18 (::omero::sys::EventContext)
581        {
582            shareId = -1
583            sessionId = 340
584            sessionUuid = 8b1b30dc-c883-4b8a-86e1-0166525dbc62
585            userId = 129
586            userName = ae4d8564-83e9-415a-94b9-c10646876118
587            groupId = 107
588            groupName = bf417191-ad13-46d1-8cdf-75eac45ca00a
589            isAdmin = False
590            eventId = -1
591            eventType = User
592            memberOfGroups =
593            {
594                [0] = 107
595                [1] = 1
596            }
597            leaderOfGroups =
598            {
599            }
600            groupPermissions = object #19 (::omero::model::Permissions)
601            {
602                _restrictions =
603                {
604                }
605                _perm1 = -120
606            }
607        }
608    }
609    _loaded = True
610    _version = &lt;object #11&gt;
611    _image = object #20 (::omero::model::Image)
612    {
613        _id = object #21 (::omero::RLong)
614        {
615            _val = 165
616        }
617        _details = object #22 (::omero::model::Details)
618        {
619            _owner = &lt;object #3&gt;
620            _group = &lt;object #5&gt;
621            _creationEvent = &lt;object #13&gt;
622            _updateEvent = &lt;object #13&gt;
623            _permissions = object #23 (::omero::model::Permissions)
624            {
625                _restrictions =
626                {
627                }
628                _perm1 = -120
629            }
630            _externalInfo = &lt;nil&gt;
631            _call =
632            {
633                key = omero.session.uuid
634                value = 8b1b30dc-c883-4b8a-86e1-0166525dbc62
635               
636                key = omero.client.uuid
637                value = 1e53194e-9bc6-47a5-b924-6ba33dab50ac
638            }
639            _event = object #24 (::omero::sys::EventContext)
640            {
641                shareId = -1
642                sessionId = 340
643                sessionUuid = 8b1b30dc-c883-4b8a-86e1-0166525dbc62
644                userId = 129
645                userName = ae4d8564-83e9-415a-94b9-c10646876118
646                groupId = 107
647                groupName = bf417191-ad13-46d1-8cdf-75eac45ca00a
648                isAdmin = False
649                eventId = -1
650                eventType = User
651                memberOfGroups =
652                {
653                    [0] = 107
654                    [1] = 1
655                }
656                leaderOfGroups =
657                {
658                }
659                groupPermissions = object #25 (::omero::model::Permissions)
660                {
661                    _restrictions =
662                    {
663                    }
664                    _perm1 = -120
665                }
666            }
667        }
668        _loaded = True
669        _version = &lt;object #11&gt;
670        _acquisitionDate = object #26 (::omero::RTime)
671        {
672            _val = 1378389296424
673        }
674        _archived = &lt;nil&gt;
675        _partial = &lt;nil&gt;
676        _format = &lt;nil&gt;
677        _imagingEnvironment = &lt;nil&gt;
678        _objectiveSettings = &lt;nil&gt;
679        _instrument = &lt;nil&gt;
680        _stageLabel = &lt;nil&gt;
681        _experiment = &lt;nil&gt;
682        _pixelsSeq =
683        {
684        }
685        _pixelsLoaded = False
686        _wellSamplesSeq =
687        {
688        }
689        _wellSamplesLoaded = False
690        _roisSeq =
691        {
692        }
693        _roisLoaded = False
694        _datasetLinksSeq =
695        {
696        }
697        _datasetLinksLoaded = False
698        _datasetLinksCountPerOwner =
699        {
700        }
701        _annotationLinksSeq =
702        {
703        }
704        _annotationLinksLoaded = False
705        _annotationLinksCountPerOwner =
706        {
707        }
708        _name = object #27 (::omero::RString)
709        {
710            _val = imageName
711        }
712        _description = object #28 (::omero::RString)
713        {
714            _val = description
715        }
716    }
717    _relatedTo = &lt;nil&gt;
718    _pixelsType = object #29 (::omero::model::PixelsType)
719    {
720        _id = object #30 (::omero::RLong)
721        {
722            _val = 5
723        }
724        _details = &lt;nil&gt;
725        _loaded = False
726        _value = &lt;nil&gt;
727        _bitSize = &lt;nil&gt;
728    }
729    _sizeX = object #31 (::omero::RInt)
730    {
731        _val = 16
732    }
733    _sizeY = object #32 (::omero::RInt)
734    {
735        _val = 16
736    }
737    _sizeZ = object #33 (::omero::RInt)
738    {
739        _val = 1
740    }
741    _sizeC = object #34 (::omero::RInt)
742    {
743        _val = 1
744    }
745    _sizeT = object #35 (::omero::RInt)
746    {
747        _val = 1
748    }
749    _sha1 = object #36 (::omero::RString)
750    {
751        _val = 4916d6bdb7f78e6803698cab32d1586ea457dfc8
752    }
753    _dimensionOrder = object #37 (::omero::model::DimensionOrder)
754    {
755        _id = object #38 (::omero::RLong)
756        {
757            _val = 1
758        }
759        _details = &lt;nil&gt;
760        _loaded = False
761        _value = &lt;nil&gt;
762    }
763    _physicalSizeX = &lt;nil&gt;
764    _physicalSizeY = &lt;nil&gt;
765    _physicalSizeZ = &lt;nil&gt;
766    _waveStart = &lt;nil&gt;
767    _waveIncrement = &lt;nil&gt;
768    _timeIncrement = &lt;nil&gt;
769    _methodology = &lt;nil&gt;
770    _planeInfoSeq =
771    {
772    }
773    _planeInfoLoaded = False
774    _pixelsFileMapsSeq =
775    {
776    }
777    _pixelsFileMapsLoaded = False
778    _pixelsFileMapsCountPerOwner =
779    {
780    }
781    _channelsSeq =
782    {
783    }
784    _channelsLoaded = False
785    _settingsSeq =
786    {
787    }
788    _settingsLoaded = False
789    _thumbnailsSeq =
790    {
791    }
792    _thumbnailsLoaded = False
793    _annotationLinksSeq =
794    {
795    }
796    _annotationLinksLoaded = False
797    _annotationLinksCountPerOwner =
798    {
799    }
800}
801165
802</system-out></testcase><testcase classname="test.integration.test_icontainer.TestIContainer" name="testCreateAfterBlitzPort" time="0.312242984772"/><testcase classname="test.integration.test_icontainer.TestIContainer" name="testFindAndCountAnnotationsForSharedData" time="0.979884147644"/><testcase classname="test.integration.test_icontainer.TestIContainer" name="testFindAnnotations" time="0.318964004517"/><testcase classname="test.integration.test_ildap.TestILdap" name="testLookupLdapExperimentersViaAdmin" time="0.245002985001"/><testcase classname="test.integration.test_imetadata.TestIMetadata" name="testCountAnnotationsUsedNotOwned3671" time="0.346227169037"/><testcase classname="test.integration.test_imetadata.TestIMetadata" name="testCountSpecifiedAnnotations3671" time="0.297782182693"/><testcase classname="test.integration.test_imetadata.TestIMetadata" name="testLoadAnnotations3671" time="0.28864979744"/><testcase classname="test.integration.test_imetadata.TestIMetadata" name="testLoadAnnotationsUsedNotOwned3671" time="0.454585075378"/><testcase classname="test.integration.test_imetadata.TestIMetadata" name="testLoadSpecifiedAnnotations3671" time="0.916970968246"/><testcase classname="test.integration.test_iquery.TestQuery" name="testGetPixelsCount" time="4.92273211479"><system-out>Group 0: {'int16': 123584812L}
803Group 38: {'uint8': 262144L}
804Group 39: {'int16': 12000L}
805Group 49: {'int16': 12000L}
806Group 64: {'uint8': 64L}
807Group 66: {'uint8': 64L}
808Group 68: {'uint8': 64L}
809Group 70: {'uint8': 64L}
810Group 72: {'uint8': 64L}
811Group 75: {'uint8': 64L}
812Group 89: {'int16': 1024L}
813Group 98: {'int8': 16000000L}
814Group 99: {'int16': 12000L}
815Group 107: {'uint8': 256L}
816</system-out></testcase><testcase classname="test.integration.test_isession.TestISession" name="testBasicUsage" time="0.766387939453"/><testcase classname="test.integration.test_isession.TestISession" name="testCreateSessionForUser" time="0.954927921295"/><testcase classname="test.integration.test_isession.TestISession" name="testCreationDestructionClosing" time="0.96461892128"><failure message="test failure">self = &lt;test.integration.test_isession.TestISession testMethod=testCreationDestructionClosing&gt;
817
818    def testCreationDestructionClosing(self):
819        c1, c2, c3, c4 = None, None, None, None
820        try:
821            c1 = omero.client() # ok rather than new_client since has __del__
822            s1 = c1.createSession()
823            s1.detachOnDestroy()
824            uuid = s1.ice_getIdentity().name
825   
826            # Intermediate "disrupter"
827            c2 = omero.client() # ok rather than new_client since has __del__
828            s2 = c2.createSession(uuid, uuid)
829            s2.closeOnDestroy()
830            s2.getAdminService().getEventContext()
831            c2.closeSession()
832   
833            # 1 should still be able to continue
834            s1.getAdminService().getEventContext()
835   
836            # Now if s1 exists another session should be able to connect
837            c1.closeSession()
838            c3 = omero.client() # ok rather than new_client since has __del__
839            s3 = c3.createSession(uuid, uuid)
840            s3.closeOnDestroy()
841            s3.getAdminService().getEventContext()
842            c3.closeSession()
843   
844            # Now a connection should not be possible
845            c4 = omero.client() # ok rather than new_client since has __del__
846            import Glacier2
847&gt;           self.assertRaises(Glacier2.PermissionDeniedException, c4.createSession, uuid, uuid);
848E           AssertionError: PermissionDeniedException not raised
849
850test/integration/test_isession.py:125: AssertionError</failure></testcase><testcase classname="test.integration.test_isession.TestISession" name="testGetMySessionsTicket1975" time="0.741878986359"/><testcase classname="test.integration.test_isession.TestISession" name="testJoinSession" time="0.418426036835"/><testcase classname="test.integration.test_isession.TestISession" name="testJoinSession_Helper" time="0.405929088593"/><testcase classname="test.integration.test_isession.TestISession" name="testManageMySessions" time="0.470777988434"/><testcase classname="test.integration.test_isession.TestISession" name="testManuallyClosingOwnSession" time="0.419867992401"/><testcase classname="test.integration.test_isession.TestISession" name="testSimpleDestruction" time="0.281916856766"/><testcase classname="test.integration.test_isession.TestISession" name="testTicket2196SetSecurityContext" time="0.37590098381"/><testcase classname="test.integration.test_ishare.TestIShare" name="test1154" time="1.9364900589"/><testcase classname="test.integration.test_ishare.TestIShare" name="test1157" time="2.33877110481"/><testcase classname="test.integration.test_ishare.TestIShare" name="test1172" time="2.36473011971"/><testcase classname="test.integration.test_ishare.TestIShare" name="test1179" time="2.46660900116"/><testcase classname="test.integration.test_ishare.TestIShare" name="test1201" time="0.965734004974"/><testcase classname="test.integration.test_ishare.TestIShare" name="test1201b" time="0.365544080734"/><testcase classname="test.integration.test_ishare.TestIShare" name="test1207" time="0.88448381424"/><testcase classname="test.integration.test_ishare.TestIShare" name="test1227" time="0.589819908142"/><testcase classname="test.integration.test_ishare.TestIShare" name="test2327" time="0.964872837067"/><testcase classname="test.integration.test_ishare.TestIShare" name="test2513" time="0.269523859024"/><testcase classname="test.integration.test_ishare.TestIShare" name="test2733" time="0.749064922333"/><testcase classname="test.integration.test_ishare.TestIShare" name="test2733Access" time="2.17896699905"/><testcase classname="test.integration.test_ishare.TestIShare" name="test3214" time="2.45812606812"/><testcase classname="test.integration.test_ishare.TestIShare" name="test5711" time="0.913753986359"/><testcase classname="test.integration.test_ishare.TestIShare" name="test5756Raw" time="1.23893213272"/><testcase classname="test.integration.test_ishare.TestIShare" name="test5756Wrapped" time="1.12697601318"/><testcase classname="test.integration.test_ishare.TestIShare" name="test5851" time="3.11394500732"/><testcase classname="test.integration.test_ishare.TestIShare" name="test8118" time="1.05229115486"/><testcase classname="test.integration.test_ishare.TestIShare" name="test8513" time="0.860034942627"/><testcase classname="test.integration.test_ishare.TestIShare" name="test8704" time="1.38910007477"/><testcase classname="test.integration.test_ishare.TestIShare" name="testBadShare" time="0.370520830154"/><testcase classname="test.integration.test_ishare.TestIShare" name="testBasicUsage" time="0.914923906326"/><testcase classname="test.integration.test_ishare.TestIShare" name="testOSAdminUser" time="0.767936944962"/><testcase classname="test.integration.test_ishare.TestIShare" name="testOSNonMember" time="1.03484511375"/><testcase classname="test.integration.test_ishare.TestIShare" name="testOSRegularUser" time="0.788223028183"/><testcase classname="test.integration.test_ishare.TestIShare" name="testThatPermissionsAreDefaultPrivate" time="0.677660942078"/><testcase classname="test.integration.test_itimeline.TestITimeline" name="test1173" time="1.23181009293"/><testcase classname="test.integration.test_itimeline.TestITimeline" name="test1175" time="1.00800704956"/><testcase classname="test.integration.test_itimeline.TestITimeline" name="test1225" time="2.49636387825"><skipped message="expected test failure">ticket 1225</skipped></testcase><testcase classname="test.integration.test_itimeline.TestITimeline" name="test3234" time="0.893686056137"/><testcase classname="test.integration.test_itimeline.TestITimeline" name="testCollaborativeTimeline" time="2.48231697083"/><testcase classname="test.integration.test_itimeline.TestITimeline" name="testGeneral" time="1.4768409729"/><testcase classname="test.integration.test_itypes.TestTypes" name="testAllEnumerations" time="1.60129785538"/><testcase classname="test.integration.test_itypes.TestTypes" name="testGetEnumerationTypes" time="0.660650014877"/><testcase classname="test.integration.test_itypes.TestTypes" name="testGetEnumerationWithEntries" time="1.08341884613"/><testcase classname="test.integration.test_itypes.TestTypes" name="testManageEnumeration" time="0.893351078033"/><testcase classname="test.integration.test_iupdate.TestIUpdate" name="testSaveArray" time="0.716350078583"/><testcase classname="test.integration.test_iupdate.TestIUpdate" name="testSaveCollection" time="0.713513851166"/><testcase classname="test.integration.test_librarytest.TestLibrary" name="test9188" time="8.01085686684"/><testcase classname="test.integration.test_metadatastore.TestMetdataStore" name="testBasicUsage" time="0.399752140045"/><testcase classname="test.integration.test_metadatastore.TestMetdataStore" name="testMetadataService" time="0.218629837036"/><testcase classname="test.integration.test_model42.TestModel42" name="testNs" time="0.272597074509"/><testcase classname="test.integration.test_model42.TestModel42" name="testRoi" time="0.28485584259"/><testcase classname="test.integration.test_model42.TestTicket2290" name="testEmptyArrays2290" time="0.315567016602"/><testcase classname="test.integration.test_model42.TestTicket2290" name="testNoArrays2290" time="0.324374198914"/><testcase classname="test.integration.test_model42.TestTicket2290" name="testRect2290" time="0.295524120331"/><testcase classname="test.integration.test_model42.TestTicket2290" name="testRectB2290" time="0.342396974564"/><testcase classname="test.integration.test_model42.TestTicket2290" name="testResave2290" time="0.331862926483"/><testcase classname="test.integration.test_permissions.TestPermissions" name="test3136" time="0.36230301857"><failure message="test failure">self = &lt;test.integration.test_permissions.TestPermissions testMethod=test3136&gt;
851
852    def test3136(self):
853        """
854            Calls to updateGroup were taking too long
855            because the default value of permissions
856            returned by the server was triggering a
857            full changePermissions event.
858            """
859        admin = self.root.sf.getAdminService()
860        group = self.new_group(perms="rw----")
861   
862        # Change the name but not the permissions
863        group.name = rstring(self.uuid())
864        elapsed1, rv = self.timeit(admin.updateGroup, group)
865   
866        # Now change the name and the permissions
867        group.name = rstring(self.uuid())
868        group.details.permissions = omero.model.PermissionsI("rwr---")
869        elapsed2, rv = self.timeit(admin.updateGroup, group)
870   
871        # Locally this test always fails as the two times are
872        # the same order of magnitude. This may be an indication that
873        # the relevant ticket:
874        # http://trac.openmicroscopy.org/ome/ticket/3136
875        # is still valid. Does the ticket need re-opening
876        # or does the test condition need relaxing?
877        self.assertTrue(elapsed1 &lt; (0.1 * elapsed2),\
878&gt;           "elapsed1=%s, elapsed2=%s" % (elapsed1, elapsed2))
879E       AssertionError: elapsed1=0.0439479351044, elapsed2=0.0415980815887
880
881test/integration/test_permissions.py:491: AssertionError</failure></testcase><testcase classname="test.integration.test_permissions.TestPermissions" name="testAdminCanQueryWithGroupMinusOneTicket9632" time="0.297800064087"/><testcase classname="test.integration.test_permissions.TestPermissions" name="testAdminUseOfRawPixelsBean" time="2.93942213058"/><testcase classname="test.integration.test_permissions.TestPermissions" name="testClientSet" time="0.715614080429"/><testcase classname="test.integration.test_permissions.TestPermissions" name="testCreatAndUpdatePrivateGroup" time="1.04803013802"/><testcase classname="test.integration.test_permissions.TestPermissions" name="testCreatAndUpdatePublicGroup" time="1.04902505875"/><testcase classname="test.integration.test_permissions.TestPermissions" name="testCreatAndUpdatePublicGroupReadAnnotate" time="1.17906403542"/><testcase classname="test.integration.test_permissions.TestPermissions" name="testCreatAndUpdatePublicGroupReadOnly" time="0.972496986389"/><testcase classname="test.integration.test_permissions.TestPermissions" name="testCreatGroupAndchangePermissions" time="1.32524991035"/><testcase classname="test.integration.test_permissions.TestPermissions" name="testDisallow" time="0.633186101913"/><testcase classname="test.integration.test_permissions.TestPermissions" name="testGroupOwners" time="1.18439292908"/><testcase classname="test.integration.test_permissions.TestPermissions" name="testImmutablePermissions" time="0.363660097122"/><testcase classname="test.integration.test_permissions.TestPermissions" name="testLinkingInPrivateGroup" time="0.592710018158"/><testcase classname="test.integration.test_permissions.TestPermissions" name="testLoginToPublicGroupTicket1940" time="0.385298967361"/><testcase classname="test.integration.test_permissions.TestPermissions" name="testOGArg" time="1.16905498505"/><testcase classname="test.integration.test_permissions.TestPermissions" name="testOGContextParameter" time="2.10852503777"/><testcase classname="test.integration.test_permissions.TestPermissions" name="testOGSetImplicitContext" time="1.79323887825"/><testcase classname="test.integration.test_permissions.TestPermissions" name="testOGSetProxyContext" time="1.93854403496"/><testcase classname="test.integration.test_permissions.TestPermissions" name="testOGSetSecurityContext" time="1.86897587776"/><testcase classname="test.integration.test_permissions.TestPermissions" name="testOmeroUserAsAdmin" time="1.39402198792"/><testcase classname="test.integration.test_permissions.TestPermissions" name="testOmeroUserAsNonAdmin" time="0.700972080231"/><testcase classname="test.integration.test_permissions.TestPermissions" name="testPrivateGroupCallContext" time="0.719088077545"/><testcase classname="test.integration.test_permissions.TestPermissions" name="testSaveBadLink" time="0.716187000275"><skipped message="expected test failure">ticket 11375</skipped></testcase><testcase classname="test.integration.test_permissions.TestPermissions" name="testSaveWithNegBadLink" time="0.554525852203"><skipped message="expected test failure">ticket 11374</skipped></testcase><testcase classname="test.integration.test_permissions.TestPermissions" name="testSaveWithNegOneExplicit" time="0.419844150543"><skipped message="expected test failure">ticket 11374</skipped></testcase><testcase classname="test.integration.test_permissions.TestPermissions" name="testSaveWithNegOneNotExplicit" time="0.741296052933"/><testcase classname="test.integration.test_permissions.TestPermissions" name="testSearchAllGroups" time="0.281890869141"/><testcase classname="test.integration.test_permissions.TestPermissions" name="testUseOfRawFileBeanScriptReadCorrectGroup" time="0.465279102325"/><testcase classname="test.integration.test_permissions.TestPermissions" name="testUseOfRawFileBeanScriptReadCorrectGroupAndUser" time="0.472692012787"/><testcase classname="test.integration.test_permissions.TestPermissions" name="testUseOfRawFileBeanScriptReadGroupMinusOne" time="0.463261842728"/><testcase classname="test.integration.test_pixelsService.TestPixelsService" name="test9655" time="1.06105184555"/><testcase classname="test.integration.test_pixelsService.TestPixelsService" name="testCreateImage" time="0.837701797485"/><testcase classname="test.integration.test_rawfilestore.TestRFS" name="testTicket1961Basic" time="1.10843515396"/><testcase classname="test.integration.test_rawfilestore.TestRFS" name="testTicket1961WithKillSession" time="1.51694202423"/><testcase classname="test.integration.test_rawfilestore.TestRFS" name="testTicket2161Save" time="1.21590805054"/><testcase classname="test.integration.test_rawpixelsstore.TestRPS" name="testBigPlane" time="9.98915100098"/><testcase classname="test.integration.test_rawpixelsstore.TestRPS" name="testRomioToPyramid" time="247.21648097"/><testcase classname="test.integration.test_rawpixelsstore.TestRPS" name="testRomioToPyramidWithNegOne" time="214.909348965"/><testcase classname="test.integration.test_rawpixelsstore.TestRPS" name="testTicket4737WithClose" time="4.577023983"/><testcase classname="test.integration.test_rawpixelsstore.TestRPS" name="testTicket4737WithForEachTile" time="4.73292088509"/><testcase classname="test.integration.test_rawpixelsstore.TestRPS" name="testTicket4737WithSave" time="8.27309894562"/><testcase classname="test.integration.test_repository.TestRepository" name="testRepositoryAcquisition" time="0.226881027222"/><testcase classname="test.integration.test_rois.TestRois" name="test3703" time="0.273772954941"/><testcase classname="test.integration.test_rois.TestRois" name="test8990" time="2.39010882378"/><testcase classname="test.integration.test_rois.TestRois" name="testGetROICount" time="1.48611497879"/><testcase classname="test.integration.test_rois.TestRois" name="teststats1" time="0.262308835983"/><testcase classname="test.integration.test_scripts.TestScripts" name="test3527" time="3.61527395248"/><testcase classname="test.integration.test_scripts.TestScripts" name="test6066" time="8.48188591003"/><testcase classname="test.integration.test_scripts.TestScripts" name="testAutoFillTicket2326" time="5.08437800407"/><testcase classname="test.integration.test_scripts.TestScripts" name="testBasicUsage" time="0.582402944565"/><testcase classname="test.integration.test_scripts.TestScripts" name="testDelete11371" time="9.58449602127"/><testcase classname="test.integration.test_scripts.TestScripts" name="testDelete6905" time="3.9867939949"/><testcase classname="test.integration.test_scripts.TestScripts" name="testEditScript" time="3.81982898712"/><testcase classname="test.integration.test_scripts.TestScripts" name="testParamLoadingPerformanceTicket2285" time="2.89275813103"/><testcase classname="test.integration.test_scripts.TestScripts" name="testParseErrorTicket2185" time="3.09619903564"><system-err>WARNING:omero.processor.ProcessorI:No output found for omero.scripts.parse. Keys: []
882</system-err></testcase><testcase classname="test.integration.test_scripts.TestScripts" name="testRunScript" time="5.08765101433"><system-out>109
883</system-out><system-err>WARNING:omero.remote:&lt;function parseJob at 0x38866e0&gt; raised a non-ServerError (&lt;type 'exceptions.AttributeError'&gt;): 'NoneType' object has no attribute 'add'
884WARNING:omero.remote:&lt;function parseJob at 0x38866e0&gt; raised a non-ServerError (&lt;type 'exceptions.AttributeError'&gt;): 'NoneType' object has no attribute 'add'
885</system-err></testcase><testcase classname="test.integration.test_scripts.TestScripts" name="testScriptValidation" time="5.35992002487"/><testcase classname="test.integration.test_scripts.TestScripts" name="testSpeedOfThumbnailFigure" time="8.34829282761"/><testcase classname="test.integration.test_scripts.TestScripts" name="testTicket1036" time="0.529568910599"/><testcase classname="test.integration.test_scripts.TestScripts" name="testUpload2562" time="4.8827009201"/><testcase classname="test.integration.test_scripts.TestScripts" name="testUploadAndPing" time="1.32694411278"/><testcase classname="test.integration.test_scripts.TestScripts" name="testUploadOfficialScript" time="1.28288698196"/><testcase classname="test.integration.test_search.TestSearch" name="test2541" time="1.04628419876"/><testcase classname="test.integration.test_search.TestSearch" name="test3164CollabOther" time="2.12203192711"/><testcase classname="test.integration.test_search.TestSearch" name="test3164CollabSelf" time="5.83295798302"><failure message="test failure">self = &lt;test.integration.test_search.TestSearch testMethod=test3164CollabSelf&gt;
886
887    def test3164CollabSelf(self):
888        group = self.new_group(perms="rwrw--")
889        owner = self.new_client(group)
890&gt;       self._3164(owner, owner)
891
892test/integration/test_search.py:55:
893_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
894
895self = &lt;test.integration.test_search.TestSearch testMethod=test3164CollabSelf&gt;
896owner = &lt;omero.clients.BaseClient object at 0x50cf810&gt;
897searcher = &lt;omero.clients.BaseClient object at 0x50cf810&gt;
898
899    def _3164(self, owner, searcher):
900   
901        images = list()
902        for i in range(0,5):
903            img = omero.model.ImageI()
904            img.name = omero.rtypes.rstring("search_test_%i.tif" % i)
905            img.acquisitionDate = omero.rtypes.rtime(0)
906            tag = omero.model.TagAnnotationI()
907            tag.textValue = omero.rtypes.rstring("tag %i" % i)
908            img.linkAnnotation( tag )
909   
910            images.append(owner.sf.getUpdateService().saveAndReturnObject( img ))
911            self.index(images[-1])
912   
913        p = omero.sys.Parameters()
914        p.map = {}
915        p.map["oids"] = omero.rtypes.rlist(im.id for im in images)
916   
917        sql = "select im from Image im "\
918                "where im.id in (:oids) " \
919                "order by im.id asc"
920        res = owner.sf.getQueryService().findAllByQuery(sql, p)
921        self.assertEquals(5, len(res))
922   
923        #Searching
924        texts = ("*earch", "*h", "search tif", "search",\
925                 "test", "tag", "t*", "search_test",\
926                 "s .tif", ".tif", "tif", "*tif")
927   
928        BROKEN = ("*test*.tif", "search*tif", "s*.tif", "*.tif")
929   
930        search = searcher.sf.createSearchService()
931        search.onlyType('Image')
932        search.addOrderByAsc("name")
933        search.setAllowLeadingWildcard(True)
934   
935        failed = {}
936        for text in texts:
937            search.byFullText(str(text))
938            if search.hasNext():
939                sz = len(search.results())
940            else:
941                sz = 0
942            if 5 != sz:
943                failed[text] = sz
944   
945        msg = ""
946        for k in sorted(failed):
947            msg += """\nFAILED: `%s` returned %s""" % (k, failed[k])
948   
949        if msg:
950&gt;           self.fail("%s\n" % msg)
951E           AssertionError:
952E           FAILED: `*earch` returned 2
953E           FAILED: `*h` returned 2
954E           FAILED: `*tif` returned 2
955E           FAILED: `.tif` returned 2
956E           FAILED: `s .tif` returned 2
957E           FAILED: `search` returned 2
958E           FAILED: `search tif` returned 2
959E           FAILED: `search_test` returned 2
960E           FAILED: `t*` returned 2
961E           FAILED: `tag` returned 2
962E           FAILED: `test` returned 2
963E           FAILED: `tif` returned 2
964
965test/integration/test_search.py:157: AssertionError</failure></testcase><testcase classname="test.integration.test_search.TestSearch" name="test3164Private" time="5.39090514183"/><testcase classname="test.integration.test_search.TestSearch" name="test3164ReadOnlyOther" time="3.868475914"><failure message="test failure">self = &lt;test.integration.test_search.TestSearch testMethod=test3164ReadOnlyOther&gt;
966
967    def test3164ReadOnlyOther(self):
968        group = self.new_group(perms="rwr---")
969        owner = self.new_client(group)
970        searcher = self.new_client(group)
971&gt;       self._3164(owner, searcher)
972
973test/integration/test_search.py:50:
974_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
975
976self = &lt;test.integration.test_search.TestSearch testMethod=test3164ReadOnlyOther&gt;
977owner = &lt;omero.clients.BaseClient object at 0x52d0e50&gt;
978searcher = &lt;omero.clients.BaseClient object at 0x53f1a10&gt;
979
980    def _3164(self, owner, searcher):
981   
982        images = list()
983        for i in range(0,5):
984            img = omero.model.ImageI()
985            img.name = omero.rtypes.rstring("search_test_%i.tif" % i)
986            img.acquisitionDate = omero.rtypes.rtime(0)
987            tag = omero.model.TagAnnotationI()
988            tag.textValue = omero.rtypes.rstring("tag %i" % i)
989            img.linkAnnotation( tag )
990   
991            images.append(owner.sf.getUpdateService().saveAndReturnObject( img ))
992            self.index(images[-1])
993   
994        p = omero.sys.Parameters()
995        p.map = {}
996        p.map["oids"] = omero.rtypes.rlist(im.id for im in images)
997   
998        sql = "select im from Image im "\
999                "where im.id in (:oids) " \
1000                "order by im.id asc"
1001        res = owner.sf.getQueryService().findAllByQuery(sql, p)
1002        self.assertEquals(5, len(res))
1003   
1004        #Searching
1005        texts = ("*earch", "*h", "search tif", "search",\
1006                 "test", "tag", "t*", "search_test",\
1007                 "s .tif", ".tif", "tif", "*tif")
1008   
1009        BROKEN = ("*test*.tif", "search*tif", "s*.tif", "*.tif")
1010   
1011        search = searcher.sf.createSearchService()
1012        search.onlyType('Image')
1013        search.addOrderByAsc("name")
1014        search.setAllowLeadingWildcard(True)
1015   
1016        failed = {}
1017        for text in texts:
1018            search.byFullText(str(text))
1019            if search.hasNext():
1020                sz = len(search.results())
1021            else:
1022                sz = 0
1023            if 5 != sz:
1024                failed[text] = sz
1025   
1026        msg = ""
1027        for k in sorted(failed):
1028            msg += """\nFAILED: `%s` returned %s""" % (k, failed[k])
1029   
1030        if msg:
1031&gt;           self.fail("%s\n" % msg)
1032E           AssertionError:
1033E           FAILED: `*earch` returned 4
1034E           FAILED: `*h` returned 4
1035E           FAILED: `*tif` returned 4
1036E           FAILED: `.tif` returned 4
1037E           FAILED: `s .tif` returned 4
1038E           FAILED: `search` returned 4
1039E           FAILED: `search tif` returned 4
1040E           FAILED: `search_test` returned 4
1041E           FAILED: `t*` returned 4
1042E           FAILED: `tag` returned 4
1043E           FAILED: `test` returned 4
1044E           FAILED: `tif` returned 4
1045
1046test/integration/test_search.py:157: AssertionError</failure></testcase><testcase classname="test.integration.test_search.TestSearch" name="test3164ReadOnlySelf" time="6.27723693848"><failure message="test failure">self = &lt;test.integration.test_search.TestSearch testMethod=test3164ReadOnlySelf&gt;
1047
1048    def test3164ReadOnlySelf(self):
1049        group = self.new_group(perms="rwr---")
1050        owner = self.new_client(group)
1051&gt;       self._3164(owner, owner)
1052
1053test/integration/test_search.py:44:
1054_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
1055
1056self = &lt;test.integration.test_search.TestSearch testMethod=test3164ReadOnlySelf&gt;
1057owner = &lt;omero.clients.BaseClient object at 0x53f1ed0&gt;
1058searcher = &lt;omero.clients.BaseClient object at 0x53f1ed0&gt;
1059
1060    def _3164(self, owner, searcher):
1061   
1062        images = list()
1063        for i in range(0,5):
1064            img = omero.model.ImageI()
1065            img.name = omero.rtypes.rstring("search_test_%i.tif" % i)
1066            img.acquisitionDate = omero.rtypes.rtime(0)
1067            tag = omero.model.TagAnnotationI()
1068            tag.textValue = omero.rtypes.rstring("tag %i" % i)
1069            img.linkAnnotation( tag )
1070   
1071            images.append(owner.sf.getUpdateService().saveAndReturnObject( img ))
1072            self.index(images[-1])
1073   
1074        p = omero.sys.Parameters()
1075        p.map = {}
1076        p.map["oids"] = omero.rtypes.rlist(im.id for im in images)
1077   
1078        sql = "select im from Image im "\
1079                "where im.id in (:oids) " \
1080                "order by im.id asc"
1081        res = owner.sf.getQueryService().findAllByQuery(sql, p)
1082        self.assertEquals(5, len(res))
1083   
1084        #Searching
1085        texts = ("*earch", "*h", "search tif", "search",\
1086                 "test", "tag", "t*", "search_test",\
1087                 "s .tif", ".tif", "tif", "*tif")
1088   
1089        BROKEN = ("*test*.tif", "search*tif", "s*.tif", "*.tif")
1090   
1091        search = searcher.sf.createSearchService()
1092        search.onlyType('Image')
1093        search.addOrderByAsc("name")
1094        search.setAllowLeadingWildcard(True)
1095   
1096        failed = {}
1097        for text in texts:
1098            search.byFullText(str(text))
1099            if search.hasNext():
1100                sz = len(search.results())
1101            else:
1102                sz = 0
1103            if 5 != sz:
1104                failed[text] = sz
1105   
1106        msg = ""
1107        for k in sorted(failed):
1108            msg += """\nFAILED: `%s` returned %s""" % (k, failed[k])
1109   
1110        if msg:
1111&gt;           self.fail("%s\n" % msg)
1112E           AssertionError:
1113E           FAILED: `*earch` returned 3
1114E           FAILED: `*h` returned 3
1115E           FAILED: `*tif` returned 3
1116E           FAILED: `.tif` returned 3
1117E           FAILED: `s .tif` returned 3
1118E           FAILED: `search` returned 3
1119E           FAILED: `search tif` returned 3
1120E           FAILED: `search_test` returned 3
1121E           FAILED: `t*` returned 3
1122E           FAILED: `tag` returned 3
1123E           FAILED: `test` returned 3
1124E           FAILED: `tif` returned 3
1125
1126test/integration/test_search.py:157: AssertionError</failure></testcase><testcase classname="test.integration.test_search.TestSearch" name="test3721Ordering" time="2.17688393593"><failure message="test failure">self = &lt;test.integration.test_search.TestSearch testMethod=test3721Ordering&gt;
1127
1128    def test3721Ordering(self):
1129        """
1130            Creates two tags and checks that boosting
1131            works properly on their namespaces.
1132   
1133            tag1^10 OR tag2^1 should return a list
1134            with tag1 first, and the reverse should
1135            hold as well.
1136            """
1137        tags = list()
1138        for x in range(2):
1139            tag = omero.model.TagAnnotationI()
1140            tag.ns = omero.rtypes.rstring(self.uuid())
1141            tag = self.update.saveAndReturnObject(tag)
1142            self.index(tag)
1143            tags.append(tag.ns.val)
1144   
1145        search = self.client.sf.createSearchService()
1146        search.onlyType("TagAnnotation")
1147   
1148        # Sanity check
1149        for tag in tags:
1150            search.byFullText(tag)
1151&gt;           res = search.results()
1152
1153test/integration/test_search.py:86:
1154_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
1155
1156self = 1756dceb-84d6-4273-aad6-be61c21f7a64/e549f6b5-f163-4983-97de-e9103366e0caomero.api.Search -t:tcp -h 10.2.1.197 -p 40482
1157_ctx = None
1158
1159    def results(self, _ctx=None):
1160&gt;       return _M_omero.api.Search._op_results.invoke(self, ((), _ctx))
1161E       ApiUsageException: exception ::omero::ApiUsageException
1162E       {
1163E           serverStackTrace = ome.conditions.ApiUsageException: No elements. Please use hasNext().
1164E               at ome.services.SearchBean.results(SearchBean.java:296)
1165E               at sun.reflect.GeneratedMethodAccessor1694.invoke(Unknown Source)
1166E               at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
1167E               at java.lang.reflect.Method.invoke(Method.java:601)
1168E               at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
1169E               at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
1170E               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
1171E               at ome.services.util.ServiceHandler.invoke(ServiceHandler.java:116)
1172E               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
1173E               at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
1174E               at $Proxy125.results(Unknown Source)
1175E               at sun.reflect.GeneratedMethodAccessor1694.invoke(Unknown Source)
1176E               at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
1177E               at java.lang.reflect.Method.invoke(Method.java:601)
1178E               at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
1179E               at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
1180E               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
1181E               at ome.security.basic.BasicSecurityWiring.invoke(BasicSecurityWiring.java:98)
1182E               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
1183E               at ome.services.blitz.fire.AopContextInitializer.invoke(AopContextInitializer.java:43)
1184E               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
1185E               at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
1186E               at $Proxy125.results(Unknown Source)
1187E               at sun.reflect.GeneratedMethodAccessor1706.invoke(Unknown Source)
1188E               at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
1189E               at java.lang.reflect.Method.invoke(Method.java:601)
1190E               at ome.services.blitz.util.IceMethodInvoker.invoke(IceMethodInvoker.java:179)
1191E               at ome.services.throttling.Callback.run(Callback.java:56)
1192E               at ome.services.throttling.InThreadThrottlingStrategy.callInvokerOnRawArgs(InThreadThrottlingStrategy.java:56)
1193E               at ome.services.blitz.impl.AbstractAmdServant.callInvokerOnRawArgs(AbstractAmdServant.java:149)
1194E               at ome.services.blitz.impl.SearchI.results_async(SearchI.java:336)
1195E               at sun.reflect.GeneratedMethodAccessor1705.invoke(Unknown Source)
1196E               at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
1197E               at java.lang.reflect.Method.invoke(Method.java:601)
1198E               at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
1199E               at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
1200E               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
1201E               at omero.cmd.CallContext.invoke(CallContext.java:59)
1202E               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
1203E               at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
1204E               at $Proxy126.results_async(Unknown Source)
1205E               at omero.api._SearchTie.results_async(_SearchTie.java:353)
1206E               at omero.api._SearchDisp.___results(_SearchDisp.java:1374)
1207E               at omero.api._SearchDisp.__dispatch(_SearchDisp.java:1699)
1208E               at IceInternal.Incoming.invoke(Incoming.java:159)
1209E               at Ice.ConnectionI.invokeAll(ConnectionI.java:2357)
1210E               at Ice.ConnectionI.dispatch(ConnectionI.java:1208)
1211E               at Ice.ConnectionI.message(ConnectionI.java:1163)
1212E               at IceInternal.ThreadPool.run(ThreadPool.java:302)
1213E               at IceInternal.ThreadPool.access$300(ThreadPool.java:12)
1214E               at IceInternal.ThreadPool$EventHandlerThread.run(ThreadPool.java:643)
1215E               at java.lang.Thread.run(Thread.java:722)
1216E       
1217E           serverExceptionClass = ome.conditions.ApiUsageException
1218E           message = No elements. Please use hasNext().
1219E       }
1220
1221/homes/hudson-x/OMERO-CURRENT/lib/python/omero_api_Search_ice.py:752: ApiUsageException</failure></testcase><testcase classname="test.integration.test_search.TestSearch" name="test8692" time="2.96226215363"><failure message="test failure">self = &lt;test.integration.test_search.TestSearch testMethod=test8692&gt;
1222
1223    def test8692(self):
1224        # Test that group admin and system admins can
1225        # find items in non-private groups.
1226   
1227        all = {"omero.group": "-1"}
1228        msg = "%s: Count not find ann=%s as %s in %s"
1229   
1230        for x in ("rw", "rwr", "rwra", "rwrw"):
1231            p = x.ljust(6, "-")
1232            g = self.new_group(perms=p)
1233            u = self.new_client(group=g)
1234            a = self.new_client(group=g, admin=True)
1235   
1236            uuid = self.uuid().replace("-","")
1237   
1238            # Create a comment as the user
1239            t = omero.model.CommentAnnotationI()
1240            t.setTextValue(omero.rtypes.rstring(uuid))
1241            t = u.sf.getUpdateService().saveAndReturnObject(t)
1242            self.root.sf.getUpdateService().indexObject(t) # Index
1243   
1244            # And try to read it back as the leader and the admin
1245            for sf, who in ((a.sf, "grp-admin"), (self.root.sf, "sys-admin")):
1246   
1247                # First see if IQuery.findAllByFullText works
1248                # Note: it's necessary to pass {"omero.group":"-1"}
1249                q = sf.getQueryService()
1250                t = q.findAllByFullText("CommentAnnotation", uuid, None, all)
1251                if not t or len(t) != 1:
1252&gt;                   self.fail(msg % ("IQueryPrx", uuid, who, x))
1253E                   AssertionError: IQueryPrx: Count not find ann=5f53222316cd4ac59e57b0024b30937a as grp-admin in rwr
1254
1255test/integration/test_search.py:188: AssertionError</failure></testcase><testcase classname="test.integration.test_search.TestSearch" name="test8846" time="2.3930811882"><failure message="test failure">self = &lt;test.integration.test_search.TestSearch testMethod=test8846&gt;
1256
1257    def test8846(self):
1258        # Wildcard search
1259   
1260        client = self.new_client()
1261        query = client.sf.getQueryService()
1262        update = client.sf.getUpdateService()
1263   
1264        uuid = self.uuid().replace("-", "")
1265        cann = omero.model.CommentAnnotationI()
1266        cann.textValue = omero.rtypes.rstring(uuid)
1267        cann = update.saveAndReturnObject(cann)
1268        self.root.sf.getUpdateService().indexObject(cann)
1269   
1270        rv = query.findAllByFullText( \
1271                "CommentAnnotation", "%s" % uuid, None)
1272        #"CommentAnnotation", "%s*" % uuid[0:6], None)
1273&gt;       self.assertEquals(cann.id.val, rv[0].id.val)
1274E       IndexError: list index out of range
1275
1276test/integration/test_search.py:215: IndexError</failure></testcase><testcase classname="test.integration.test_simple.TestSimple" name="testCurrentUser" time="0.687950134277"/><testcase classname="test.integration.test_thumbnailPerms.TestThumbnailPerms" name="test9070" time="1.59283494949"/><testcase classname="test.integration.test_thumbnailPerms.TestThumbnailPerms" name="testThumbs" time="7.80423092842"><system-out>0
12774
12784
1279</system-out></testcase><testcase classname="test.integration.test_thumbs.TestThumbs" name="testCreateThumbnails" time="215.21339488"/><testcase classname="test.integration.test_thumbs.TestThumbs" name="testCreateThumbnails64x64" time="215.186970234"/><testcase classname="test.integration.test_thumbs.TestThumbs" name="testCreateThumbnailsByLongestSideSet64x64" time="428.153107882"/><testcase classname="test.integration.test_thumbs.TestThumbs" name="testGetThumbnailByLongestSideSetx64" time="426.784152031"><failure message="test failure">self = &lt;test.integration.test_thumbs.TestThumbs testMethod=testGetThumbnailByLongestSideSetx64&gt;
1280
1281    def f(self):
1282        pix1 = self.missing_pyramid()
1283        pix2 = self.missing_pyramid()
1284        tb = self.client.sf.createThumbnailStore()
1285        copy = list(args)
1286        copy.append([pix1.id.val, pix2.id.val])
1287        copy = tuple(copy)
1288        try:
1289            buf_map = getattr(tb, method)(*copy)
1290            for id, buf in buf_map.items():
1291&gt;               self.assertTb(buf, x, y)
1292
1293test/integration/test_thumbs.py:115:
1294_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
1295
1296self = &lt;test.integration.test_thumbs.TestThumbs testMethod=testGetThumbnailByLongestSideSetx64&gt;
1297buf = '', x = 64, y = 64
1298
1299    def assertTb(self, buf, x=64, y=64):
1300            try:
1301                from PIL import Image, ImageDraw # see ticket:2597
1302            except ImportError:
1303                try:
1304                    import Image, ImageDraw # see ticket:2597
1305                except ImportError:
1306                    print "PIL not installed"
1307&gt;           thumb = self.open_jpeg_buffer(buf)
1308
1309test/integration/test_thumbs.py:30:
1310_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
1311
1312self = &lt;test.integration.test_thumbs.TestThumbs testMethod=testGetThumbnailByLongestSideSetx64&gt;
1313buf = ''
1314
1315    def open_jpeg_buffer(self, buf):
1316        try:
1317            from PIL import Image, ImageDraw # see ticket:2597
1318        except ImportError:
1319            try:
1320                import Image, ImageDraw # see ticket:2597
1321            except ImportError:
1322                print "PIL not installed"
1323        from cStringIO import StringIO
1324        tfile = StringIO(buf)
1325&gt;       jpeg = Image.open(tfile) # Raises if invalid
1326
1327test/integration/library.py:528:
1328_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
1329
1330fp = &lt;cStringIO.StringI object at 0x49b6c90&gt;, mode = 'r'
1331
1332    def open(fp, mode="r"):
1333        "Open an image file, without loading the raster data"
1334   
1335        if mode != "r":
1336            raise ValueError("bad mode")
1337   
1338        if isStringType(fp):
1339            import __builtin__
1340            filename = fp
1341            fp = __builtin__.open(fp, "rb")
1342        else:
1343            filename = ""
1344   
1345        prefix = fp.read(16)
1346   
1347        preinit()
1348   
1349        for i in ID:
1350            try:
1351                factory, accept = OPEN[i]
1352                if not accept or accept(prefix):
1353                    fp.seek(0)
1354                    return factory(fp, filename)
1355            except (SyntaxError, IndexError, TypeError):
1356                pass
1357   
1358        if init():
1359   
1360            for i in ID:
1361                try:
1362                    factory, accept = OPEN[i]
1363                    if not accept or accept(prefix):
1364                        fp.seek(0)
1365                        return factory(fp, filename)
1366                except (SyntaxError, IndexError, TypeError):
1367                    pass
1368   
1369&gt;       raise IOError("cannot identify image file")
1370E       IOError: cannot identify image file
1371
1372/homes/hudson-x/virtualenv/lib/python2.6/site-packages/PIL/Image.py:1980: IOError</failure></testcase><testcase classname="test.integration.test_thumbs.TestThumbs" name="testGetThumbnailByLongestSidex60" time="209.868142843"><failure message="test failure">self = &lt;test.integration.test_thumbs.TestThumbs testMethod=testGetThumbnailByLongestSidex60&gt;
1373
1374    def f(self):
1375        tb = self.pyr_tb()
1376        try:
1377&gt;           buf = getattr(tb, method)(*args)
1378
1379test/integration/test_thumbs.py:97:
1380_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
1381
1382self = f16baa00-bf29-4133-ac1d-ba2b02122510/8d76ce5f-9ada-4827-b7bd-0cfb7ac0e84fomero.api.ThumbnailStore -t:tcp -h 10.2.1.197 -p 40482
1383size = object #0 (::omero::RInt)
1384{
1385    _val = 60
1386}, _ctx = None
1387
1388    def getThumbnailByLongestSide(self, size, _ctx=None):
1389&gt;       return _M_omero.api.ThumbnailStore._op_getThumbnailByLongestSide.invoke(self, ((size, ), _ctx))
1390E       InternalException: exception ::omero::InternalException
1391E       {
1392E           serverStackTrace = ome.conditions.InternalException:  Wrapped Exception: (java.lang.NoClassDefFoundError):
1393E       com/sun/image/codec/jpeg/JPEGCodec
1394E               at org.apache.batik.ext.awt.image.codec.jpeg.JPEGImageWriter.writeImage(Unknown Source)
1395E               at org.apache.batik.transcoder.image.JPEGTranscoder.writeImage(Unknown Source)
1396E               at org.apache.batik.transcoder.image.ImageTranscoder.transcode(Unknown Source)
1397E               at org.apache.batik.transcoder.XMLAbstractTranscoder.transcode(Unknown Source)
1398E               at org.apache.batik.transcoder.SVGAbstractTranscoder.transcode(Unknown Source)
1399E               at ome.services.SVGRasterizer.createJPEG(SVGRasterizer.java:116)
1400E               at ome.services.ThumbnailBean.compressInProgressImageToStream(ThumbnailBean.java:503)
1401E               at ome.services.ThumbnailBean.retrieveThumbnailDirect(ThumbnailBean.java:1122)
1402E               at ome.services.ThumbnailBean.retrieveThumbnail(ThumbnailBean.java:1026)
1403E               at ome.services.ThumbnailBean.retrieveThumbnailAndUpdateMetadata(ThumbnailBean.java:1003)
1404E               at ome.services.ThumbnailBean.getThumbnailByLongestSide(ThumbnailBean.java:1079)
1405E               at sun.reflect.GeneratedMethodAccessor1724.invoke(Unknown Source)
1406E               at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
1407E               at java.lang.reflect.Method.invoke(Method.java:601)
1408E               at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
1409E               at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
1410E               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
1411E               at ome.security.basic.EventHandler.invoke(EventHandler.java:154)
1412E               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
1413E               at ome.tools.hibernate.SessionHandler.doStateful(SessionHandler.java:182)
1414E               at ome.tools.hibernate.SessionHandler.invoke(SessionHandler.java:166)
1415E               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
1416E               at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:108)
1417E               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
1418E               at ome.tools.hibernate.ProxyCleanupFilter$Interceptor.invoke(ProxyCleanupFilter.java:241)
1419E               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
1420E               at ome.services.util.ServiceHandler.invoke(ServiceHandler.java:116)
1421E               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
1422E               at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
1423E               at $Proxy90.getThumbnailByLongestSide(Unknown Source)
1424E               at sun.reflect.GeneratedMethodAccessor1724.invoke(Unknown Source)
1425E               at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
1426E               at java.lang.reflect.Method.invoke(Method.java:601)
1427E               at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
1428E               at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
1429E               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
1430E               at ome.security.basic.BasicSecurityWiring.invoke(BasicSecurityWiring.java:98)
1431E               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
1432E               at ome.services.blitz.fire.AopContextInitializer.invoke(AopContextInitializer.java:43)
1433E               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
1434E               at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
1435E               at $Proxy90.getThumbnailByLongestSide(Unknown Source)
1436E               at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
1437E               at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
1438E               at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
1439E               at java.lang.reflect.Method.invoke(Method.java:601)
1440E               at ome.services.blitz.util.IceMethodInvoker.invoke(IceMethodInvoker.java:179)
1441E               at ome.services.throttling.Callback.run(Callback.java:56)
1442E               at ome.services.throttling.InThreadThrottlingStrategy.callInvokerOnRawArgs(InThreadThrottlingStrategy.java:56)
1443E               at ome.services.blitz.impl.AbstractAmdServant.callInvokerOnRawArgs(AbstractAmdServant.java:149)
1444E               at ome.services.blitz.impl.ThumbnailStoreI.getThumbnailByLongestSide_async(ThumbnailStoreI.java:94)
1445E               at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
1446E               at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
1447E               at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
1448E               at java.lang.reflect.Method.invoke(Method.java:601)
1449E               at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
1450E               at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
1451E               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
1452E               at omero.cmd.CallContext.invoke(CallContext.java:59)
1453E               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
1454E               at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
1455E               at $Proxy91.getThumbnailByLongestSide_async(Unknown Source)
1456E               at omero.api._ThumbnailStoreTie.getThumbnailByLongestSide_async(_ThumbnailStoreTie.java:136)
1457E               at omero.api._ThumbnailStoreDisp.___getThumbnailByLongestSide(_ThumbnailStoreDisp.java:431)
1458E               at omero.api._ThumbnailStoreDisp.__dispatch(_ThumbnailStoreDisp.java:720)
1459E               at IceInternal.Incoming.invoke(Incoming.java:159)
1460E               at Ice.ConnectionI.invokeAll(ConnectionI.java:2357)
1461E               at Ice.ConnectionI.dispatch(ConnectionI.java:1208)
1462E               at Ice.ConnectionI.message(ConnectionI.java:1163)
1463E               at IceInternal.ThreadPool.run(ThreadPool.java:302)
1464E               at IceInternal.ThreadPool.access$300(ThreadPool.java:12)
1465E               at IceInternal.ThreadPool$EventHandlerThread.run(ThreadPool.java:643)
1466E               at java.lang.Thread.run(Thread.java:722)
1467E       
1468E           serverExceptionClass = ome.conditions.InternalException
1469E           message =  Wrapped Exception: (java.lang.NoClassDefFoundError):
1470E       com/sun/image/codec/jpeg/JPEGCodec
1471E       }
1472
1473/homes/hudson-x/OMERO-CURRENT/lib/python/omero_api_ThumbnailStore_ice.py:215: InternalException</failure></testcase><testcase classname="test.integration.test_thumbs.TestThumbs" name="testGetThumbnailByLongestSidex64" time="219.328726053"><failure message="test failure">self = &lt;test.integration.test_thumbs.TestThumbs testMethod=testGetThumbnailByLongestSidex64&gt;
1474
1475    def f(self):
1476        tb = self.pyr_tb()
1477        try:
1478&gt;           buf = getattr(tb, method)(*args)
1479
1480test/integration/test_thumbs.py:97:
1481_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
1482
1483self = e773d71c-c23e-4fc2-afa6-77c71188ad00/fcffc8f8-45ce-4802-a419-e464c70cc5f0omero.api.ThumbnailStore -t:tcp -h 10.2.1.197 -p 40482
1484size = object #0 (::omero::RInt)
1485{
1486    _val = 64
1487}, _ctx = None
1488
1489    def getThumbnailByLongestSide(self, size, _ctx=None):
1490&gt;       return _M_omero.api.ThumbnailStore._op_getThumbnailByLongestSide.invoke(self, ((size, ), _ctx))
1491E       InternalException: exception ::omero::InternalException
1492E       {
1493E           serverStackTrace = ome.conditions.InternalException:  Wrapped Exception: (java.lang.NoClassDefFoundError):
1494E       com/sun/image/codec/jpeg/JPEGCodec
1495E               at org.apache.batik.ext.awt.image.codec.jpeg.JPEGImageWriter.writeImage(Unknown Source)
1496E               at org.apache.batik.transcoder.image.JPEGTranscoder.writeImage(Unknown Source)
1497E               at org.apache.batik.transcoder.image.ImageTranscoder.transcode(Unknown Source)
1498E               at org.apache.batik.transcoder.XMLAbstractTranscoder.transcode(Unknown Source)
1499E               at org.apache.batik.transcoder.SVGAbstractTranscoder.transcode(Unknown Source)
1500E               at ome.services.SVGRasterizer.createJPEG(SVGRasterizer.java:116)
1501E               at ome.services.ThumbnailBean.compressInProgressImageToStream(ThumbnailBean.java:503)
1502E               at ome.services.ThumbnailBean.retrieveThumbnailDirect(ThumbnailBean.java:1122)
1503E               at ome.services.ThumbnailBean.retrieveThumbnail(ThumbnailBean.java:1026)
1504E               at ome.services.ThumbnailBean.retrieveThumbnailAndUpdateMetadata(ThumbnailBean.java:1003)
1505E               at ome.services.ThumbnailBean.getThumbnailByLongestSide(ThumbnailBean.java:1079)
1506E               at sun.reflect.GeneratedMethodAccessor1724.invoke(Unknown Source)
1507E               at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
1508E               at java.lang.reflect.Method.invoke(Method.java:601)
1509E               at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
1510E               at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
1511E               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
1512E               at ome.security.basic.EventHandler.invoke(EventHandler.java:154)
1513E               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
1514E               at ome.tools.hibernate.SessionHandler.doStateful(SessionHandler.java:182)
1515E               at ome.tools.hibernate.SessionHandler.invoke(SessionHandler.java:166)
1516E               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
1517E               at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:108)
1518E               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
1519E               at ome.tools.hibernate.ProxyCleanupFilter$Interceptor.invoke(ProxyCleanupFilter.java:241)
1520E               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
1521E               at ome.services.util.ServiceHandler.invoke(ServiceHandler.java:116)
1522E               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
1523E               at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
1524E               at $Proxy90.getThumbnailByLongestSide(Unknown Source)
1525E               at sun.reflect.GeneratedMethodAccessor1724.invoke(Unknown Source)
1526E               at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
1527E               at java.lang.reflect.Method.invoke(Method.java:601)
1528E               at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
1529E               at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
1530E               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
1531E               at ome.security.basic.BasicSecurityWiring.invoke(BasicSecurityWiring.java:98)
1532E               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
1533E               at ome.services.blitz.fire.AopContextInitializer.invoke(AopContextInitializer.java:43)
1534E               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
1535E               at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
1536E               at $Proxy90.getThumbnailByLongestSide(Unknown Source)
1537E               at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
1538E               at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
1539E               at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
1540E               at java.lang.reflect.Method.invoke(Method.java:601)
1541E               at ome.services.blitz.util.IceMethodInvoker.invoke(IceMethodInvoker.java:179)
1542E               at ome.services.throttling.Callback.run(Callback.java:56)
1543E               at ome.services.throttling.InThreadThrottlingStrategy.callInvokerOnRawArgs(InThreadThrottlingStrategy.java:56)
1544E               at ome.services.blitz.impl.AbstractAmdServant.callInvokerOnRawArgs(AbstractAmdServant.java:149)
1545E               at ome.services.blitz.impl.ThumbnailStoreI.getThumbnailByLongestSide_async(ThumbnailStoreI.java:94)
1546E               at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
1547E               at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
1548E               at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
1549E               at java.lang.reflect.Method.invoke(Method.java:601)
1550E               at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
1551E               at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
1552E               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
1553E               at omero.cmd.CallContext.invoke(CallContext.java:59)
1554E               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
1555E               at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
1556E               at $Proxy91.getThumbnailByLongestSide_async(Unknown Source)
1557E               at omero.api._ThumbnailStoreTie.getThumbnailByLongestSide_async(_ThumbnailStoreTie.java:136)
1558E               at omero.api._ThumbnailStoreDisp.___getThumbnailByLongestSide(_ThumbnailStoreDisp.java:431)
1559E               at omero.api._ThumbnailStoreDisp.__dispatch(_ThumbnailStoreDisp.java:720)
1560E               at IceInternal.Incoming.invoke(Incoming.java:159)
1561E               at Ice.ConnectionI.invokeAll(ConnectionI.java:2357)
1562E               at Ice.ConnectionI.dispatch(ConnectionI.java:1208)
1563E               at Ice.ConnectionI.message(ConnectionI.java:1163)
1564E               at IceInternal.ThreadPool.run(ThreadPool.java:302)
1565E               at IceInternal.ThreadPool.access$300(ThreadPool.java:12)
1566E               at IceInternal.ThreadPool$EventHandlerThread.run(ThreadPool.java:643)
1567E               at java.lang.Thread.run(Thread.java:722)
1568E       
1569E           serverExceptionClass = ome.conditions.InternalException
1570E           message =  Wrapped Exception: (java.lang.NoClassDefFoundError):
1571E       com/sun/image/codec/jpeg/JPEGCodec
1572E       }
1573
1574/homes/hudson-x/OMERO-CURRENT/lib/python/omero_api_ThumbnailStore_ice.py:215: InternalException</failure></testcase><testcase classname="test.integration.test_thumbs.TestThumbs" name="testGetThumbnailDirectx64x60" time="212.938359022"><failure message="test failure">self = &lt;test.integration.test_thumbs.TestThumbs testMethod=testGetThumbnailDirectx64x60&gt;
1575
1576    def f(self):
1577        tb = self.pyr_tb()
1578        try:
1579&gt;           buf = getattr(tb, method)(*args)
1580
1581test/integration/test_thumbs.py:97:
1582_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
1583
1584self = 520b2434-a714-40c9-a740-afaa7cbebf27/6c582602-7291-4746-9892-8ff85d60fad5omero.api.ThumbnailStore -t:tcp -h 10.2.1.197 -p 40482
1585sizeX = object #0 (::omero::RInt)
1586{
1587    _val = 64
1588}
1589sizeY = object #0 (::omero::RInt)
1590{
1591    _val = 60
1592}, _ctx = None
1593
1594    def getThumbnailDirect(self, sizeX, sizeY, _ctx=None):
1595&gt;       return _M_omero.api.ThumbnailStore._op_getThumbnailDirect.invoke(self, ((sizeX, sizeY), _ctx))
1596E       InternalException: exception ::omero::InternalException
1597E       {
1598E           serverStackTrace = ome.conditions.InternalException:  Wrapped Exception: (java.lang.NoClassDefFoundError):
1599E       com/sun/image/codec/jpeg/JPEGCodec
1600E               at org.apache.batik.ext.awt.image.codec.jpeg.JPEGImageWriter.writeImage(Unknown Source)
1601E               at org.apache.batik.transcoder.image.JPEGTranscoder.writeImage(Unknown Source)
1602E               at org.apache.batik.transcoder.image.ImageTranscoder.transcode(Unknown Source)
1603E               at org.apache.batik.transcoder.XMLAbstractTranscoder.transcode(Unknown Source)
1604E               at org.apache.batik.transcoder.SVGAbstractTranscoder.transcode(Unknown Source)
1605E               at ome.services.SVGRasterizer.createJPEG(SVGRasterizer.java:116)
1606E               at ome.services.ThumbnailBean.compressInProgressImageToStream(ThumbnailBean.java:503)
1607E               at ome.services.ThumbnailBean.retrieveThumbnailDirect(ThumbnailBean.java:1122)
1608E               at ome.services.ThumbnailBean.getThumbnailDirect(ThumbnailBean.java:1094)
1609E               at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
1610E               at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
1611E               at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
1612E               at java.lang.reflect.Method.invoke(Method.java:601)
1613E               at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
1614E               at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
1615E               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
1616E               at ome.security.basic.EventHandler.invoke(EventHandler.java:154)
1617E               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
1618E               at ome.tools.hibernate.SessionHandler.doStateful(SessionHandler.java:182)
1619E               at ome.tools.hibernate.SessionHandler.invoke(SessionHandler.java:166)
1620E               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
1621E               at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:108)
1622E               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
1623E               at ome.tools.hibernate.ProxyCleanupFilter$Interceptor.invoke(ProxyCleanupFilter.java:241)
1624E               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
1625E               at ome.services.util.ServiceHandler.invoke(ServiceHandler.java:116)
1626E               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
1627E               at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
1628E               at $Proxy90.getThumbnailDirect(Unknown Source)
1629E               at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
1630E               at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
1631E               at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
1632E               at java.lang.reflect.Method.invoke(Method.java:601)
1633E               at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
1634E               at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
1635E               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
1636E               at ome.security.basic.BasicSecurityWiring.invoke(BasicSecurityWiring.java:98)
1637E               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
1638E               at ome.services.blitz.fire.AopContextInitializer.invoke(AopContextInitializer.java:43)
1639E               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
1640E               at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
1641E               at $Proxy90.getThumbnailDirect(Unknown Source)
1642E               at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
1643E               at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
1644E               at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
1645E               at java.lang.reflect.Method.invoke(Method.java:601)
1646E               at ome.services.blitz.util.IceMethodInvoker.invoke(IceMethodInvoker.java:179)
1647E               at ome.services.throttling.Callback.run(Callback.java:56)
1648E               at ome.services.throttling.InThreadThrottlingStrategy.callInvokerOnRawArgs(InThreadThrottlingStrategy.java:56)
1649E               at ome.services.blitz.impl.AbstractAmdServant.callInvokerOnRawArgs(AbstractAmdServant.java:149)
1650E               at ome.services.blitz.impl.ThumbnailStoreI.getThumbnailDirect_async(ThumbnailStoreI.java:101)
1651E               at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
1652E               at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
1653E               at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
1654E               at java.lang.reflect.Method.invoke(Method.java:601)
1655E               at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
1656E               at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
1657E               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
1658E               at omero.cmd.CallContext.invoke(CallContext.java:59)
1659E               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
1660E               at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
1661E               at $Proxy91.getThumbnailDirect_async(Unknown Source)
1662E               at omero.api._ThumbnailStoreTie.getThumbnailDirect_async(_ThumbnailStoreTie.java:157)
1663E               at omero.api._ThumbnailStoreDisp.___getThumbnailDirect(_ThumbnailStoreDisp.java:477)
1664E               at omero.api._ThumbnailStoreDisp.__dispatch(_ThumbnailStoreDisp.java:732)
1665E               at IceInternal.Incoming.invoke(Incoming.java:159)
1666E               at Ice.ConnectionI.invokeAll(ConnectionI.java:2357)
1667E               at Ice.ConnectionI.dispatch(ConnectionI.java:1208)
1668E               at Ice.ConnectionI.message(ConnectionI.java:1163)
1669E               at IceInternal.ThreadPool.run(ThreadPool.java:302)
1670E               at IceInternal.ThreadPool.access$300(ThreadPool.java:12)
1671E               at IceInternal.ThreadPool$EventHandlerThread.run(ThreadPool.java:643)
1672E               at java.lang.Thread.run(Thread.java:722)
1673E       
1674E           serverExceptionClass = ome.conditions.InternalException
1675E           message =  Wrapped Exception: (java.lang.NoClassDefFoundError):
1676E       com/sun/image/codec/jpeg/JPEGCodec
1677E       }
1678
1679/homes/hudson-x/OMERO-CURRENT/lib/python/omero_api_ThumbnailStore_ice.py:239: InternalException</failure></testcase><testcase classname="test.integration.test_thumbs.TestThumbs" name="testGetThumbnailDirectx64x64" time="213.293728113"><failure message="test failure">self = &lt;test.integration.test_thumbs.TestThumbs testMethod=testGetThumbnailDirectx64x64&gt;
1680
1681    def f(self):
1682        tb = self.pyr_tb()
1683        try:
1684&gt;           buf = getattr(tb, method)(*args)
1685
1686test/integration/test_thumbs.py:97:
1687_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
1688
1689self = a36c336f-1309-4694-9928-4b2cb0a5aa41/a494a3ea-4916-4d5b-a47d-14ec3980c737omero.api.ThumbnailStore -t:tcp -h 10.2.1.197 -p 40482
1690sizeX = object #0 (::omero::RInt)
1691{
1692    _val = 64
1693}
1694sizeY = object #0 (::omero::RInt)
1695{
1696    _val = 64
1697}, _ctx = None
1698
1699    def getThumbnailDirect(self, sizeX, sizeY, _ctx=None):
1700&gt;       return _M_omero.api.ThumbnailStore._op_getThumbnailDirect.invoke(self, ((sizeX, sizeY), _ctx))
1701E       InternalException: exception ::omero::InternalException
1702E       {
1703E           serverStackTrace = ome.conditions.InternalException:  Wrapped Exception: (java.lang.NoClassDefFoundError):
1704E       com/sun/image/codec/jpeg/JPEGCodec
1705E               at org.apache.batik.ext.awt.image.codec.jpeg.JPEGImageWriter.writeImage(Unknown Source)
1706E               at org.apache.batik.transcoder.image.JPEGTranscoder.writeImage(Unknown Source)
1707E               at org.apache.batik.transcoder.image.ImageTranscoder.transcode(Unknown Source)
1708E               at org.apache.batik.transcoder.XMLAbstractTranscoder.transcode(Unknown Source)
1709E               at org.apache.batik.transcoder.SVGAbstractTranscoder.transcode(Unknown Source)
1710E               at ome.services.SVGRasterizer.createJPEG(SVGRasterizer.java:116)
1711E               at ome.services.ThumbnailBean.compressInProgressImageToStream(ThumbnailBean.java:503)
1712E               at ome.services.ThumbnailBean.retrieveThumbnailDirect(ThumbnailBean.java:1122)
1713E               at ome.services.ThumbnailBean.getThumbnailDirect(ThumbnailBean.java:1094)
1714E               at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
1715E               at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
1716E               at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
1717E               at java.lang.reflect.Method.invoke(Method.java:601)
1718E               at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
1719E               at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
1720E               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
1721E               at ome.security.basic.EventHandler.invoke(EventHandler.java:154)
1722E               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
1723E               at ome.tools.hibernate.SessionHandler.doStateful(SessionHandler.java:182)
1724E               at ome.tools.hibernate.SessionHandler.invoke(SessionHandler.java:166)
1725E               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
1726E               at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:108)
1727E               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
1728E               at ome.tools.hibernate.ProxyCleanupFilter$Interceptor.invoke(ProxyCleanupFilter.java:241)
1729E               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
1730E               at ome.services.util.ServiceHandler.invoke(ServiceHandler.java:116)
1731E               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
1732E               at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
1733E               at $Proxy90.getThumbnailDirect(Unknown Source)
1734E               at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
1735E               at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
1736E               at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
1737E               at java.lang.reflect.Method.invoke(Method.java:601)
1738E               at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
1739E               at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
1740E               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
1741E               at ome.security.basic.BasicSecurityWiring.invoke(BasicSecurityWiring.java:98)
1742E               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
1743E               at ome.services.blitz.fire.AopContextInitializer.invoke(AopContextInitializer.java:43)
1744E               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
1745E               at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
1746E               at $Proxy90.getThumbnailDirect(Unknown Source)
1747E               at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
1748E               at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
1749E               at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
1750E               at java.lang.reflect.Method.invoke(Method.java:601)
1751E               at ome.services.blitz.util.IceMethodInvoker.invoke(IceMethodInvoker.java:179)
1752E               at ome.services.throttling.Callback.run(Callback.java:56)
1753E               at ome.services.throttling.InThreadThrottlingStrategy.callInvokerOnRawArgs(InThreadThrottlingStrategy.java:56)
1754E               at ome.services.blitz.impl.AbstractAmdServant.callInvokerOnRawArgs(AbstractAmdServant.java:149)
1755E               at ome.services.blitz.impl.ThumbnailStoreI.getThumbnailDirect_async(ThumbnailStoreI.java:101)
1756E               at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
1757E               at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
1758E               at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
1759E               at java.lang.reflect.Method.invoke(Method.java:601)
1760E               at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
1761E               at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
1762E               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
1763E               at omero.cmd.CallContext.invoke(CallContext.java:59)
1764E               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
1765E               at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
1766E               at $Proxy91.getThumbnailDirect_async(Unknown Source)
1767E               at omero.api._ThumbnailStoreTie.getThumbnailDirect_async(_ThumbnailStoreTie.java:157)
1768E               at omero.api._ThumbnailStoreDisp.___getThumbnailDirect(_ThumbnailStoreDisp.java:477)
1769E               at omero.api._ThumbnailStoreDisp.__dispatch(_ThumbnailStoreDisp.java:732)
1770E               at IceInternal.Incoming.invoke(Incoming.java:159)
1771E               at Ice.ConnectionI.invokeAll(ConnectionI.java:2357)
1772E               at Ice.ConnectionI.dispatch(ConnectionI.java:1208)
1773E               at Ice.ConnectionI.message(ConnectionI.java:1163)
1774E               at IceInternal.ThreadPool.run(ThreadPool.java:302)
1775E               at IceInternal.ThreadPool.access$300(ThreadPool.java:12)
1776E               at IceInternal.ThreadPool$EventHandlerThread.run(ThreadPool.java:643)
1777E               at java.lang.Thread.run(Thread.java:722)
1778E       
1779E           serverExceptionClass = ome.conditions.InternalException
1780E           message =  Wrapped Exception: (java.lang.NoClassDefFoundError):
1781E       com/sun/image/codec/jpeg/JPEGCodec
1782E       }
1783
1784/homes/hudson-x/OMERO-CURRENT/lib/python/omero_api_ThumbnailStore_ice.py:239: InternalException</failure></testcase><testcase classname="test.integration.test_thumbs.TestThumbs" name="testGetThumbnailForSectionDirectx0x0x64x60" time="214.849621058"><failure message="test failure">self = &lt;test.integration.test_thumbs.TestThumbs testMethod=testGetThumbnailForSectionDirectx0x0x64x60&gt;
1785
1786    def f(self):
1787        tb = self.pyr_tb()
1788        try:
1789&gt;           buf = getattr(tb, method)(*args)
1790
1791test/integration/test_thumbs.py:97:
1792_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
1793
1794self = 52ef3c94-be3b-468b-8c47-f30687021ebd/0b5dacb7-5d87-433b-8e28-320b5af1957domero.api.ThumbnailStore -t:tcp -h 10.2.1.197 -p 40482
1795theZ = 0, theT = 0, sizeX = object #0 (::omero::RInt)
1796{
1797    _val = 64
1798}
1799sizeY = object #0 (::omero::RInt)
1800{
1801    _val = 60
1802}, _ctx = None
1803
1804    def getThumbnailForSectionDirect(self, theZ, theT, sizeX, sizeY, _ctx=None):
1805&gt;       return _M_omero.api.ThumbnailStore._op_getThumbnailForSectionDirect.invoke(self, ((theZ, theT, sizeX, sizeY), _ctx))
1806E       InternalException: exception ::omero::InternalException
1807E       {
1808E           serverStackTrace = ome.conditions.InternalException:  Wrapped Exception: (java.lang.NoClassDefFoundError):
1809E       com/sun/image/codec/jpeg/JPEGCodec
1810E               at org.apache.batik.ext.awt.image.codec.jpeg.JPEGImageWriter.writeImage(Unknown Source)
1811E               at org.apache.batik.transcoder.image.JPEGTranscoder.writeImage(Unknown Source)
1812E               at org.apache.batik.transcoder.image.ImageTranscoder.transcode(Unknown Source)
1813E               at org.apache.batik.transcoder.XMLAbstractTranscoder.transcode(Unknown Source)
1814E               at org.apache.batik.transcoder.SVGAbstractTranscoder.transcode(Unknown Source)
1815E               at ome.services.SVGRasterizer.createJPEG(SVGRasterizer.java:116)
1816E               at ome.services.ThumbnailBean.compressInProgressImageToStream(ThumbnailBean.java:503)
1817E               at ome.services.ThumbnailBean.retrieveThumbnailDirect(ThumbnailBean.java:1122)
1818E               at ome.services.ThumbnailBean.getThumbnailForSectionDirect(ThumbnailBean.java:1148)
1819E               at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
1820E               at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
1821E               at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
1822E               at java.lang.reflect.Method.invoke(Method.java:601)
1823E               at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
1824E               at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
1825E               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
1826E               at ome.security.basic.EventHandler.invoke(EventHandler.java:154)
1827E               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
1828E               at ome.tools.hibernate.SessionHandler.doStateful(SessionHandler.java:182)
1829E               at ome.tools.hibernate.SessionHandler.invoke(SessionHandler.java:166)
1830E               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
1831E               at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:108)
1832E               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
1833E               at ome.tools.hibernate.ProxyCleanupFilter$Interceptor.invoke(ProxyCleanupFilter.java:241)
1834E               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
1835E               at ome.services.util.ServiceHandler.invoke(ServiceHandler.java:116)
1836E               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
1837E               at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
1838E               at $Proxy90.getThumbnailForSectionDirect(Unknown Source)
1839E               at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
1840E               at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
1841E               at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
1842E               at java.lang.reflect.Method.invoke(Method.java:601)
1843E               at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
1844E               at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
1845E               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
1846E               at ome.security.basic.BasicSecurityWiring.invoke(BasicSecurityWiring.java:98)
1847E               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
1848E               at ome.services.blitz.fire.AopContextInitializer.invoke(AopContextInitializer.java:43)
1849E               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
1850E               at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
1851E               at $Proxy90.getThumbnailForSectionDirect(Unknown Source)
1852E               at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
1853E               at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
1854E               at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
1855E               at java.lang.reflect.Method.invoke(Method.java:601)
1856E               at ome.services.blitz.util.IceMethodInvoker.invoke(IceMethodInvoker.java:179)
1857E               at ome.services.throttling.Callback.run(Callback.java:56)
1858E               at ome.services.throttling.InThreadThrottlingStrategy.callInvokerOnRawArgs(InThreadThrottlingStrategy.java:56)
1859E               at ome.services.blitz.impl.AbstractAmdServant.callInvokerOnRawArgs(AbstractAmdServant.java:149)
1860E               at ome.services.blitz.impl.ThumbnailStoreI.getThumbnailForSectionDirect_async(ThumbnailStoreI.java:117)
1861E               at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
1862E               at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
1863E               at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
1864E               at java.lang.reflect.Method.invoke(Method.java:601)
1865E               at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
1866E               at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
1867E               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
1868E               at omero.cmd.CallContext.invoke(CallContext.java:59)
1869E               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
1870E               at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
1871E               at $Proxy91.getThumbnailForSectionDirect_async(Unknown Source)
1872E               at omero.api._ThumbnailStoreTie.getThumbnailForSectionDirect_async(_ThumbnailStoreTie.java:171)
1873E               at omero.api._ThumbnailStoreDisp.___getThumbnailForSectionDirect(_ThumbnailStoreDisp.java:505)
1874E               at omero.api._ThumbnailStoreDisp.__dispatch(_ThumbnailStoreDisp.java:740)
1875E               at IceInternal.Incoming.invoke(Incoming.java:159)
1876E               at Ice.ConnectionI.invokeAll(ConnectionI.java:2357)
1877E               at Ice.ConnectionI.dispatch(ConnectionI.java:1208)
1878E               at Ice.ConnectionI.message(ConnectionI.java:1163)
1879E               at IceInternal.ThreadPool.run(ThreadPool.java:302)
1880E               at IceInternal.ThreadPool.access$300(ThreadPool.java:12)
1881E               at IceInternal.ThreadPool$EventHandlerThread.run(ThreadPool.java:643)
1882E               at java.lang.Thread.run(Thread.java:722)
1883E       
1884E           serverExceptionClass = ome.conditions.InternalException
1885E           message =  Wrapped Exception: (java.lang.NoClassDefFoundError):
1886E       com/sun/image/codec/jpeg/JPEGCodec
1887E       }
1888
1889/homes/hudson-x/OMERO-CURRENT/lib/python/omero_api_ThumbnailStore_ice.py:251: InternalException</failure></testcase><testcase classname="test.integration.test_thumbs.TestThumbs" name="testGetThumbnailForSectionDirectx0x0x64x64" time="213.761532068"><failure message="test failure">self = &lt;test.integration.test_thumbs.TestThumbs testMethod=testGetThumbnailForSectionDirectx0x0x64x64&gt;
1890
1891    def f(self):
1892        tb = self.pyr_tb()
1893        try:
1894&gt;           buf = getattr(tb, method)(*args)
1895
1896test/integration/test_thumbs.py:97:
1897_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
1898
1899self = 71137a21-d70f-4585-bc68-7c7bf65794d6/3581359c-7932-4eef-8afe-4ca70d253e1aomero.api.ThumbnailStore -t:tcp -h 10.2.1.197 -p 40482
1900theZ = 0, theT = 0, sizeX = object #0 (::omero::RInt)
1901{
1902    _val = 64
1903}
1904sizeY = object #0 (::omero::RInt)
1905{
1906    _val = 64
1907}, _ctx = None
1908
1909    def getThumbnailForSectionDirect(self, theZ, theT, sizeX, sizeY, _ctx=None):
1910&gt;       return _M_omero.api.ThumbnailStore._op_getThumbnailForSectionDirect.invoke(self, ((theZ, theT, sizeX, sizeY), _ctx))
1911E       InternalException: exception ::omero::InternalException
1912E       {
1913E           serverStackTrace = ome.conditions.InternalException:  Wrapped Exception: (java.lang.NoClassDefFoundError):
1914E       com/sun/image/codec/jpeg/JPEGCodec
1915E               at org.apache.batik.ext.awt.image.codec.jpeg.JPEGImageWriter.writeImage(Unknown Source)
1916E               at org.apache.batik.transcoder.image.JPEGTranscoder.writeImage(Unknown Source)
1917E               at org.apache.batik.transcoder.image.ImageTranscoder.transcode(Unknown Source)
1918E               at org.apache.batik.transcoder.XMLAbstractTranscoder.transcode(Unknown Source)
1919E               at org.apache.batik.transcoder.SVGAbstractTranscoder.transcode(Unknown Source)
1920E               at ome.services.SVGRasterizer.createJPEG(SVGRasterizer.java:116)
1921E               at ome.services.ThumbnailBean.compressInProgressImageToStream(ThumbnailBean.java:503)
1922E               at ome.services.ThumbnailBean.retrieveThumbnailDirect(ThumbnailBean.java:1122)
1923E               at ome.services.ThumbnailBean.getThumbnailForSectionDirect(ThumbnailBean.java:1148)
1924E               at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
1925E               at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
1926E               at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
1927E               at java.lang.reflect.Method.invoke(Method.java:601)
1928E               at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
1929E               at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
1930E               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
1931E               at ome.security.basic.EventHandler.invoke(EventHandler.java:154)
1932E               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
1933E               at ome.tools.hibernate.SessionHandler.doStateful(SessionHandler.java:182)
1934E               at ome.tools.hibernate.SessionHandler.invoke(SessionHandler.java:166)
1935E               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
1936E               at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:108)
1937E               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
1938E               at ome.tools.hibernate.ProxyCleanupFilter$Interceptor.invoke(ProxyCleanupFilter.java:241)
1939E               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
1940E               at ome.services.util.ServiceHandler.invoke(ServiceHandler.java:116)
1941E               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
1942E               at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
1943E               at $Proxy90.getThumbnailForSectionDirect(Unknown Source)
1944E               at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
1945E               at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
1946E               at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
1947E               at java.lang.reflect.Method.invoke(Method.java:601)
1948E               at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
1949E               at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
1950E               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
1951E               at ome.security.basic.BasicSecurityWiring.invoke(BasicSecurityWiring.java:98)
1952E               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
1953E               at ome.services.blitz.fire.AopContextInitializer.invoke(AopContextInitializer.java:43)
1954E               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
1955E               at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
1956E               at $Proxy90.getThumbnailForSectionDirect(Unknown Source)
1957E               at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
1958E               at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
1959E               at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
1960E               at java.lang.reflect.Method.invoke(Method.java:601)
1961E               at ome.services.blitz.util.IceMethodInvoker.invoke(IceMethodInvoker.java:179)
1962E               at ome.services.throttling.Callback.run(Callback.java:56)
1963E               at ome.services.throttling.InThreadThrottlingStrategy.callInvokerOnRawArgs(InThreadThrottlingStrategy.java:56)
1964E               at ome.services.blitz.impl.AbstractAmdServant.callInvokerOnRawArgs(AbstractAmdServant.java:149)
1965E               at ome.services.blitz.impl.ThumbnailStoreI.getThumbnailForSectionDirect_async(ThumbnailStoreI.java:117)
1966E               at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
1967E               at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
1968E               at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
1969E               at java.lang.reflect.Method.invoke(Method.java:601)
1970E               at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
1971E               at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
1972E               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
1973E               at omero.cmd.CallContext.invoke(CallContext.java:59)
1974E               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
1975E               at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
1976E               at $Proxy91.getThumbnailForSectionDirect_async(Unknown Source)
1977E               at omero.api._ThumbnailStoreTie.getThumbnailForSectionDirect_async(_ThumbnailStoreTie.java:171)
1978E               at omero.api._ThumbnailStoreDisp.___getThumbnailForSectionDirect(_ThumbnailStoreDisp.java:505)
1979E               at omero.api._ThumbnailStoreDisp.__dispatch(_ThumbnailStoreDisp.java:740)
1980E               at IceInternal.Incoming.invoke(Incoming.java:159)
1981E               at Ice.ConnectionI.invokeAll(ConnectionI.java:2357)
1982E               at Ice.ConnectionI.dispatch(ConnectionI.java:1208)
1983E               at Ice.ConnectionI.message(ConnectionI.java:1163)
1984E               at IceInternal.ThreadPool.run(ThreadPool.java:302)
1985E               at IceInternal.ThreadPool.access$300(ThreadPool.java:12)
1986E               at IceInternal.ThreadPool$EventHandlerThread.run(ThreadPool.java:643)
1987E               at java.lang.Thread.run(Thread.java:722)
1988E       
1989E           serverExceptionClass = ome.conditions.InternalException
1990E           message =  Wrapped Exception: (java.lang.NoClassDefFoundError):
1991E       com/sun/image/codec/jpeg/JPEGCodec
1992E       }
1993
1994/homes/hudson-x/OMERO-CURRENT/lib/python/omero_api_ThumbnailStore_ice.py:251: InternalException</failure></testcase><testcase classname="test.integration.test_thumbs.TestThumbs" name="testGetThumbnailSetx64x64" time="432.471284151"><failure message="test failure">self = &lt;test.integration.test_thumbs.TestThumbs testMethod=testGetThumbnailSetx64x64&gt;
1995
1996    def f(self):
1997        pix1 = self.missing_pyramid()
1998        pix2 = self.missing_pyramid()
1999        tb = self.client.sf.createThumbnailStore()
2000        copy = list(args)
2001        copy.append([pix1.id.val, pix2.id.val])
2002        copy = tuple(copy)
2003        try:
2004            buf_map = getattr(tb, method)(*copy)
2005            for id, buf in buf_map.items():
2006&gt;               self.assertTb(buf, x, y)
2007
2008test/integration/test_thumbs.py:115:
2009_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
2010
2011self = &lt;test.integration.test_thumbs.TestThumbs testMethod=testGetThumbnailSetx64x64&gt;
2012buf = '', x = 64, y = 64
2013
2014    def assertTb(self, buf, x=64, y=64):
2015            try:
2016                from PIL import Image, ImageDraw # see ticket:2597
2017            except ImportError:
2018                try:
2019                    import Image, ImageDraw # see ticket:2597
2020                except ImportError:
2021                    print "PIL not installed"
2022&gt;           thumb = self.open_jpeg_buffer(buf)
2023
2024test/integration/test_thumbs.py:30:
2025_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
2026
2027self = &lt;test.integration.test_thumbs.TestThumbs testMethod=testGetThumbnailSetx64x64&gt;
2028buf = ''
2029
2030    def open_jpeg_buffer(self, buf):
2031        try:
2032            from PIL import Image, ImageDraw # see ticket:2597
2033        except ImportError:
2034            try:
2035                import Image, ImageDraw # see ticket:2597
2036            except ImportError:
2037                print "PIL not installed"
2038        from cStringIO import StringIO
2039        tfile = StringIO(buf)
2040&gt;       jpeg = Image.open(tfile) # Raises if invalid
2041
2042test/integration/library.py:528:
2043_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
2044
2045fp = &lt;cStringIO.StringI object at 0x4768330&gt;, mode = 'r'
2046
2047    def open(fp, mode="r"):
2048        "Open an image file, without loading the raster data"
2049   
2050        if mode != "r":
2051            raise ValueError("bad mode")
2052   
2053        if isStringType(fp):
2054            import __builtin__
2055            filename = fp
2056            fp = __builtin__.open(fp, "rb")
2057        else:
2058            filename = ""
2059   
2060        prefix = fp.read(16)
2061   
2062        preinit()
2063   
2064        for i in ID:
2065            try:
2066                factory, accept = OPEN[i]
2067                if not accept or accept(prefix):
2068                    fp.seek(0)
2069                    return factory(fp, filename)
2070            except (SyntaxError, IndexError, TypeError):
2071                pass
2072   
2073        if init():
2074   
2075            for i in ID:
2076                try:
2077                    factory, accept = OPEN[i]
2078                    if not accept or accept(prefix):
2079                        fp.seek(0)
2080                        return factory(fp, filename)
2081                except (SyntaxError, IndexError, TypeError):
2082                    pass
2083   
2084&gt;       raise IOError("cannot identify image file")
2085E       IOError: cannot identify image file
2086
2087/homes/hudson-x/virtualenv/lib/python2.6/site-packages/PIL/Image.py:1980: IOError</failure></testcase><testcase classname="test.integration.test_thumbs.TestThumbs" name="testGetThumbnailx64x60" time="215.443635941"><failure message="test failure">self = &lt;test.integration.test_thumbs.TestThumbs testMethod=testGetThumbnailx64x60&gt;
2088
2089    def f(self):
2090        tb = self.pyr_tb()
2091        try:
2092&gt;           buf = getattr(tb, method)(*args)
2093
2094test/integration/test_thumbs.py:97:
2095_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
2096
2097self = edd8d6f5-5eb6-49cc-8b58-9f8f5d942f39/986719f7-4876-4133-8cd2-c35f29db190comero.api.ThumbnailStore -t:tcp -h 10.2.1.197 -p 40482
2098sizeX = object #0 (::omero::RInt)
2099{
2100    _val = 64
2101}
2102sizeY = object #0 (::omero::RInt)
2103{
2104    _val = 60
2105}, _ctx = None
2106
2107    def getThumbnail(self, sizeX, sizeY, _ctx=None):
2108&gt;       return _M_omero.api.ThumbnailStore._op_getThumbnail.invoke(self, ((sizeX, sizeY), _ctx))
2109E       InternalException: exception ::omero::InternalException
2110E       {
2111E           serverStackTrace = ome.conditions.InternalException:  Wrapped Exception: (java.lang.NoClassDefFoundError):
2112E       com/sun/image/codec/jpeg/JPEGCodec
2113E               at org.apache.batik.ext.awt.image.codec.jpeg.JPEGImageWriter.writeImage(Unknown Source)
2114E               at org.apache.batik.transcoder.image.JPEGTranscoder.writeImage(Unknown Source)
2115E               at org.apache.batik.transcoder.image.ImageTranscoder.transcode(Unknown Source)
2116E               at org.apache.batik.transcoder.XMLAbstractTranscoder.transcode(Unknown Source)
2117E               at org.apache.batik.transcoder.SVGAbstractTranscoder.transcode(Unknown Source)
2118E               at ome.services.SVGRasterizer.createJPEG(SVGRasterizer.java:116)
2119E               at ome.services.ThumbnailBean.compressInProgressImageToStream(ThumbnailBean.java:503)
2120E               at ome.services.ThumbnailBean.retrieveThumbnailDirect(ThumbnailBean.java:1122)
2121E               at ome.services.ThumbnailBean.retrieveThumbnail(ThumbnailBean.java:1026)
2122E               at ome.services.ThumbnailBean.retrieveThumbnailAndUpdateMetadata(ThumbnailBean.java:1003)
2123E               at ome.services.ThumbnailBean.getThumbnail(ThumbnailBean.java:991)
2124E               at sun.reflect.GeneratedMethodAccessor1723.invoke(Unknown Source)
2125E               at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2126E               at java.lang.reflect.Method.invoke(Method.java:601)
2127E               at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
2128E               at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
2129E               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
2130E               at ome.security.basic.EventHandler.invoke(EventHandler.java:154)
2131E               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
2132E               at ome.tools.hibernate.SessionHandler.doStateful(SessionHandler.java:182)
2133E               at ome.tools.hibernate.SessionHandler.invoke(SessionHandler.java:166)
2134E               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
2135E               at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:108)
2136E               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
2137E               at ome.tools.hibernate.ProxyCleanupFilter$Interceptor.invoke(ProxyCleanupFilter.java:241)
2138E               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
2139E               at ome.services.util.ServiceHandler.invoke(ServiceHandler.java:116)
2140E               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
2141E               at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
2142E               at $Proxy90.getThumbnail(Unknown Source)
2143E               at sun.reflect.GeneratedMethodAccessor1723.invoke(Unknown Source)
2144E               at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2145E               at java.lang.reflect.Method.invoke(Method.java:601)
2146E               at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
2147E               at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
2148E               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
2149E               at ome.security.basic.BasicSecurityWiring.invoke(BasicSecurityWiring.java:98)
2150E               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
2151E               at ome.services.blitz.fire.AopContextInitializer.invoke(AopContextInitializer.java:43)
2152E               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
2153E               at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
2154E               at $Proxy90.getThumbnail(Unknown Source)
2155E               at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2156E               at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
2157E               at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2158E               at java.lang.reflect.Method.invoke(Method.java:601)
2159E               at ome.services.blitz.util.IceMethodInvoker.invoke(IceMethodInvoker.java:179)
2160E               at ome.services.throttling.Callback.run(Callback.java:56)
2161E               at ome.services.throttling.InThreadThrottlingStrategy.callInvokerOnRawArgs(InThreadThrottlingStrategy.java:56)
2162E               at ome.services.blitz.impl.AbstractAmdServant.callInvokerOnRawArgs(AbstractAmdServant.java:149)
2163E               at ome.services.blitz.impl.ThumbnailStoreI.getThumbnail_async(ThumbnailStoreI.java:130)
2164E               at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2165E               at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
2166E               at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2167E               at java.lang.reflect.Method.invoke(Method.java:601)
2168E               at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
2169E               at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
2170E               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
2171E               at omero.cmd.CallContext.invoke(CallContext.java:59)
2172E               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
2173E               at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
2174E               at $Proxy91.getThumbnail_async(Unknown Source)
2175E               at omero.api._ThumbnailStoreTie.getThumbnail_async(_ThumbnailStoreTie.java:129)
2176E               at omero.api._ThumbnailStoreDisp.___getThumbnail(_ThumbnailStoreDisp.java:359)
2177E               at omero.api._ThumbnailStoreDisp.__dispatch(_ThumbnailStoreDisp.java:716)
2178E               at IceInternal.Incoming.invoke(Incoming.java:159)
2179E               at Ice.ConnectionI.invokeAll(ConnectionI.java:2357)
2180E               at Ice.ConnectionI.dispatch(ConnectionI.java:1208)
2181E               at Ice.ConnectionI.message(ConnectionI.java:1163)
2182E               at IceInternal.ThreadPool.run(ThreadPool.java:302)
2183E               at IceInternal.ThreadPool.access$300(ThreadPool.java:12)
2184E               at IceInternal.ThreadPool$EventHandlerThread.run(ThreadPool.java:643)
2185E               at java.lang.Thread.run(Thread.java:722)
2186E       
2187E           serverExceptionClass = ome.conditions.InternalException
2188E           message =  Wrapped Exception: (java.lang.NoClassDefFoundError):
2189E       com/sun/image/codec/jpeg/JPEGCodec
2190E       }
2191
2192/homes/hudson-x/OMERO-CURRENT/lib/python/omero_api_ThumbnailStore_ice.py:179: InternalException</failure></testcase><testcase classname="test.integration.test_thumbs.TestThumbs" name="testGetThumbnailx64x64" time="223.451430082"><failure message="test failure">self = &lt;test.integration.test_thumbs.TestThumbs testMethod=testGetThumbnailx64x64&gt;
2193
2194    def f(self):
2195        tb = self.pyr_tb()
2196        try:
2197&gt;           buf = getattr(tb, method)(*args)
2198
2199test/integration/test_thumbs.py:97:
2200_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
2201
2202self = 3d401ac5-3f15-4a93-ab61-f6c5bf5e31ab/b03da8b0-9112-4ad6-93fc-38e11f7df950omero.api.ThumbnailStore -t:tcp -h 10.2.1.197 -p 40482
2203sizeX = object #0 (::omero::RInt)
2204{
2205    _val = 64
2206}
2207sizeY = object #0 (::omero::RInt)
2208{
2209    _val = 64
2210}, _ctx = None
2211
2212    def getThumbnail(self, sizeX, sizeY, _ctx=None):
2213&gt;       return _M_omero.api.ThumbnailStore._op_getThumbnail.invoke(self, ((sizeX, sizeY), _ctx))
2214E       InternalException: exception ::omero::InternalException
2215E       {
2216E           serverStackTrace = ome.conditions.InternalException:  Wrapped Exception: (java.lang.NoClassDefFoundError):
2217E       com/sun/image/codec/jpeg/JPEGCodec
2218E               at org.apache.batik.ext.awt.image.codec.jpeg.JPEGImageWriter.writeImage(Unknown Source)
2219E               at org.apache.batik.transcoder.image.JPEGTranscoder.writeImage(Unknown Source)
2220E               at org.apache.batik.transcoder.image.ImageTranscoder.transcode(Unknown Source)
2221E               at org.apache.batik.transcoder.XMLAbstractTranscoder.transcode(Unknown Source)
2222E               at org.apache.batik.transcoder.SVGAbstractTranscoder.transcode(Unknown Source)
2223E               at ome.services.SVGRasterizer.createJPEG(SVGRasterizer.java:116)
2224E               at ome.services.ThumbnailBean.compressInProgressImageToStream(ThumbnailBean.java:503)
2225E               at ome.services.ThumbnailBean.retrieveThumbnailDirect(ThumbnailBean.java:1122)
2226E               at ome.services.ThumbnailBean.retrieveThumbnail(ThumbnailBean.java:1026)
2227E               at ome.services.ThumbnailBean.retrieveThumbnailAndUpdateMetadata(ThumbnailBean.java:1003)
2228E               at ome.services.ThumbnailBean.getThumbnail(ThumbnailBean.java:991)
2229E               at sun.reflect.GeneratedMethodAccessor1723.invoke(Unknown Source)
2230E               at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2231E               at java.lang.reflect.Method.invoke(Method.java:601)
2232E               at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
2233E               at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
2234E               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
2235E               at ome.security.basic.EventHandler.invoke(EventHandler.java:154)
2236E               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
2237E               at ome.tools.hibernate.SessionHandler.doStateful(SessionHandler.java:182)
2238E               at ome.tools.hibernate.SessionHandler.invoke(SessionHandler.java:166)
2239E               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
2240E               at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:108)
2241E               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
2242E               at ome.tools.hibernate.ProxyCleanupFilter$Interceptor.invoke(ProxyCleanupFilter.java:241)
2243E               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
2244E               at ome.services.util.ServiceHandler.invoke(ServiceHandler.java:116)
2245E               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
2246E               at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
2247E               at $Proxy90.getThumbnail(Unknown Source)
2248E               at sun.reflect.GeneratedMethodAccessor1723.invoke(Unknown Source)
2249E               at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2250E               at java.lang.reflect.Method.invoke(Method.java:601)
2251E               at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
2252E               at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
2253E               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
2254E               at ome.security.basic.BasicSecurityWiring.invoke(BasicSecurityWiring.java:98)
2255E               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
2256E               at ome.services.blitz.fire.AopContextInitializer.invoke(AopContextInitializer.java:43)
2257E               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
2258E               at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
2259E               at $Proxy90.getThumbnail(Unknown Source)
2260E               at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2261E               at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
2262E               at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2263E               at java.lang.reflect.Method.invoke(Method.java:601)
2264E               at ome.services.blitz.util.IceMethodInvoker.invoke(IceMethodInvoker.java:179)
2265E               at ome.services.throttling.Callback.run(Callback.java:56)
2266E               at ome.services.throttling.InThreadThrottlingStrategy.callInvokerOnRawArgs(InThreadThrottlingStrategy.java:56)
2267E               at ome.services.blitz.impl.AbstractAmdServant.callInvokerOnRawArgs(AbstractAmdServant.java:149)
2268E               at ome.services.blitz.impl.ThumbnailStoreI.getThumbnail_async(ThumbnailStoreI.java:130)
2269E               at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2270E               at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
2271E               at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2272E               at java.lang.reflect.Method.invoke(Method.java:601)
2273E               at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
2274E               at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
2275E               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
2276E               at omero.cmd.CallContext.invoke(CallContext.java:59)
2277E               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
2278E               at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
2279E               at $Proxy91.getThumbnail_async(Unknown Source)
2280E               at omero.api._ThumbnailStoreTie.getThumbnail_async(_ThumbnailStoreTie.java:129)
2281E               at omero.api._ThumbnailStoreDisp.___getThumbnail(_ThumbnailStoreDisp.java:359)
2282E               at omero.api._ThumbnailStoreDisp.__dispatch(_ThumbnailStoreDisp.java:716)
2283E               at IceInternal.Incoming.invoke(Incoming.java:159)
2284E               at Ice.ConnectionI.invokeAll(ConnectionI.java:2357)
2285E               at Ice.ConnectionI.dispatch(ConnectionI.java:1208)
2286E               at Ice.ConnectionI.message(ConnectionI.java:1163)
2287E               at IceInternal.ThreadPool.run(ThreadPool.java:302)
2288E               at IceInternal.ThreadPool.access$300(ThreadPool.java:12)
2289E               at IceInternal.ThreadPool$EventHandlerThread.run(ThreadPool.java:643)
2290E               at java.lang.Thread.run(Thread.java:722)
2291E       
2292E           serverExceptionClass = ome.conditions.InternalException
2293E           message =  Wrapped Exception: (java.lang.NoClassDefFoundError):
2294E       com/sun/image/codec/jpeg/JPEGCodec
2295E       }
2296
2297/homes/hudson-x/OMERO-CURRENT/lib/python/omero_api_ThumbnailStore_ice.py:179: InternalException</failure></testcase><testcase classname="test.integration.test_thumbs.TestThumbs" name="testThumbnailExists" time="231.739686012"/><testcase classname="test.integration.test_tickets1000.TestTicket1000" name="test711" time="0.26825594902"/><testcase classname="test.integration.test_tickets1000.TestTicket1000" name="test843" time="0.244236946106"/><testcase classname="test.integration.test_tickets1000.TestTicket1000" name="test880" time="0.895837068558"><system-out> test880 - findAll has failed so assertions can't be checked. Is this a fail?
2298</system-out></testcase><testcase classname="test.integration.test_tickets1000.TestTicket1000" name="test883Upload" time="0.740843057632"><system-out> test883Upload - no stderr found. Is this a fail?
2299</system-out></testcase><testcase classname="test.integration.test_tickets1000.TestTicket1000" name="test883WithClose" time="0.599226951599"/><testcase classname="test.integration.test_tickets1000.TestTicket1000" name="test883WithoutClose" time="0.581932067871"/><testcase classname="test.integration.test_tickets1000.TestTicket1000" name="test985" time="0.250438928604"><system-out> test985 - query has failed. Should this query pass?
2300</system-out></testcase><testcase classname="test.integration.test_tickets2000.TestTickets2000" name="test1018CreationDestructionClosing" time="0.354763031006"><failure message="test failure">self = &lt;test.integration.test_tickets2000.TestTickets2000 testMethod=test1018CreationDestructionClosing&gt;
2301
2302    def test1018CreationDestructionClosing(self):
2303        c1 = None
2304        c2 = None
2305        c3 = None
2306        c4 = None
2307   
2308        try:
2309            c1 = omero.client() # ok with __del__
2310            s1 = c1.createSession()
2311            s1.detachOnDestroy()
2312            uuid = s1.ice_getIdentity().name
2313   
2314            # Intermediate "disrupter"
2315            c2 = omero.client() # ok with __del__
2316            s2 = c2.createSession(uuid, uuid)
2317            s2.getAdminService().getEventContext()
2318            c2.closeSession()
2319   
2320            # 1 should still be able to continue
2321            s1.getAdminService().getEventContext()
2322   
2323            # Now if s1 exists another session should be able to connect
2324            c1.closeSession()
2325            c3 = omero.client() # ok with __del__
2326            s3 = c3.createSession(uuid, uuid)
2327            s3.getAdminService().getEventContext()
2328            c3.closeSession()
2329   
2330            # Now a connection should not be possible
2331            import Glacier2
2332            c4 = omero.client() # ok with __del__
2333&gt;           self.assertRaises(Glacier2.PermissionDeniedException, c4.joinSession, uuid)
2334E           AssertionError: PermissionDeniedException not raised
2335
2336test/integration/test_tickets2000.py:60: AssertionError</failure></testcase><testcase classname="test.integration.test_tickets2000.TestTickets2000" name="test1027" time="0.272598981857"/><testcase classname="test.integration.test_tickets2000.TestTickets2000" name="test1064" time="0.229598999023"/><testcase classname="test.integration.test_tickets2000.TestTickets2000" name="test1067" time="0.894026994705"/><testcase classname="test.integration.test_tickets2000.TestTickets2000" name="test1069" time="1.89219594002"/><testcase classname="test.integration.test_tickets2000.TestTickets2000" name="test1071" time="0.760184049606"/><testcase classname="test.integration.test_tickets2000.TestTickets2000" name="test1071_1" time="1.09341692924"/><testcase classname="test.integration.test_tickets2000.TestTickets2000" name="test1072" time="1.9476890564"/><testcase classname="test.integration.test_tickets2000.TestTickets2000" name="test1088" time="0.687219142914"/><testcase classname="test.integration.test_tickets2000.TestTickets2000" name="test1109" time="1.31727409363"/><testcase classname="test.integration.test_tickets2000.TestTickets2000" name="test1163" time="1.43481087685"/><testcase classname="test.integration.test_tickets2000.TestTickets2000" name="test1183" time="1.07028412819"/><testcase classname="test.integration.test_tickets2000.TestTickets2000" name="test1184" time="16.9399678707"><failure message="test failure">self = &lt;test.integration.test_tickets2000.TestTickets2000 testMethod=test1184&gt;
2337
2338    def test1184(self):
2339        uuid = self.uuid()
2340        client = self.new_client(perms="rw----")
2341   
2342        share = client.sf.getShareService()
2343        query = client.sf.getQueryService()
2344        update = client.sf.getUpdateService()
2345        admin = client.sf.getAdminService()
2346        cont = client.sf.getContainerService()
2347   
2348        ds = DatasetI()
2349        ds.setName(rstring('test1184-ds-%s' % (uuid)))
2350   
2351        for i in range(1,2001):
2352            img = ImageI()
2353            img.setName(rstring('img1184-%s' % (uuid)))
2354            img.setAcquisitionDate(rtime(time.time()))
2355            # Saving in one go
2356            #dil = DatasetImageLinkI()
2357            #dil.setParent(ds)
2358            #dil.setChild(img)
2359            #update.saveObject(dil)
2360            ds.linkImage(img)
2361        ds = update.saveAndReturnObject(ds)
2362   
2363        c = cont.getCollectionCount(ds.__class__.__name__, ("imageLinks"), [ds.id.val], None)
2364        self.assert_(c[ds.id.val] == 2000)
2365   
2366        page = 1
2367        p = omero.sys.Parameters()
2368        p.map = {}
2369        p.map["eid"] = rlong(admin.getEventContext().userId)
2370        p.map["oid"] = rlong(ds.id.val)
2371        if page is not None:
2372            f = omero.sys.Filter()
2373            f.limit = rint(24)
2374            f.offset = rint((int(page)-1)*24)
2375            p.theFilter = f
2376   
2377        sql = "select im from Image im join fetch im.details.owner join fetch im.details.group " \
2378              "left outer join fetch im.datasetLinks dil left outer join fetch dil.parent d " \
2379              "where d.id = :oid and im.details.owner.id=:eid order by im.id asc"
2380   
2381        start = time.time()
2382        res = query.findAllByQuery(sql,p)
2383        self.assertEquals(24, len(res))
2384        end = time.time()
2385        elapsed = end - start
2386        self.assertTrue(elapsed &lt; 3.0,
2387&gt;           "Expected the test to complete in &lt; 3 seconds, took: %f" % elapsed)
2388E       AssertionError: Expected the test to complete in &lt; 3 seconds, took: 10.389108
2389
2390test/integration/test_tickets2000.py:498: AssertionError</failure></testcase><testcase classname="test.integration.test_tickets3000.TestTickets3000" name="test2396" time="0.966079950333"/><testcase classname="test.integration.test_tickets3000.TestTickets3000" name="test2547" time="2.40928387642"/><testcase classname="test.integration.test_tickets3000.TestTickets3000" name="test2628" time="0.854335784912"/><testcase classname="test.integration.test_tickets3000.TestTickets3000" name="test2762" time="10.3738811016"><failure message="test failure">self = &lt;test.integration.test_tickets3000.TestTickets3000 testMethod=test2762&gt;
2391
2392    def test2762(self):
2393        """
2394            Test that the page (limit/offset) settings on a ParametersI
2395            are properly handled by IQuery.findAllByFullText
2396            """
2397   
2398        uuid = self.uuid().replace("-","")
2399        tas = []
2400        for x in range(15):
2401            ta = omero.model.TagAnnotationI()
2402            ta.setNs(rstring(uuid))
2403            ta = self.update.saveAndReturnObject(ta)
2404            tas.append(ta)
2405            self.root.sf.getUpdateService().indexObject(ta)
2406   
2407        results = self.query.findAllByFullText("TagAnnotation", uuid, None)
2408&gt;       self.assertEquals(len(tas), len(results))
2409E       AssertionError: 15 != 11
2410
2411test/integration/test_tickets3000.py:145: AssertionError</failure></testcase><testcase classname="test.integration.test_tickets3000.TestTickets3000" name="test2952" time="1.94680595398"/><testcase classname="test.integration.test_tickets4000.TestTickets4000" name="test3131" time="0.815360069275"/><testcase classname="test.integration.test_tickets4000.TestTickets4000" name="test3138" time="4.57198500633"><failure message="test failure">self = &lt;test.integration.test_tickets4000.TestTickets4000 testMethod=test3138&gt;
2412
2413    def test3138(self):
2414        """
2415            Try multiple logins to see if they slow down
2416            """
2417        user = self.new_user()
2418        name = user.omeName.val
2419   
2420        self.root.sf.getAdminService().changeUserPassword(name, rstring("GOOD"))
2421   
2422        self.loginAttempt(name, 0.15, less=True)
2423        self.loginAttempt(name, 3.0)
2424&gt;       self.loginAttempt(name, 0.15, "GOOD", less=True)
2425
2426test/integration/test_tickets4000.py:30:
2427_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
2428
2429self = &lt;test.integration.test_tickets4000.TestTickets4000 testMethod=test3138&gt;
2430name = '1fc70e88-f835-49fd-b84e-d0b3f614a944', t = 0.14999999999999999
2431pw = 'GOOD', less = True
2432
2433    def loginAttempt(self, name, t, pw="BAD", less=False):
2434        """
2435            Checks that login happens in less than or greater than
2436            the given time. By default, the password "BAD" is used,
2437            and the expectation is that login will take greather
2438            than the specified time since the password won't match.
2439            To check that logins happen more quickly, pass the
2440            correct password and less=True:
2441   
2442                loginAttempt("user", 0.15, pw="REALVALUE", less=True)
2443   
2444            See integration.tickets4000 and 5000
2445            """
2446        c = omero.client() # ok because followed by __del__
2447        try:
2448            t1 = time.time()
2449            try:
2450                c.createSession(name, pw)
2451                if pw == "BAD":
2452                    self.fail("Should not reach this point")
2453            except Glacier2.PermissionDeniedException:
2454                if pw != "BAD":
2455                    raise
2456            t2 = time.time()
2457            T = (t2-t1)
2458            if less:
2459&gt;               self.assertTrue(T &lt; t, "%s &gt; %s" % (T, t))
2460E               AssertionError: 0.215881824493 &gt; 0.15
2461
2462test/integration/library.py:557: AssertionError</failure></testcase><testcase classname="test.integration.test_tickets4000.TestTickets4000" name="test3201" time="0.977152824402"/><testcase classname="test.integration.test_tickets4000.TestTickets4000" name="testChageActiveGroupWhenConnectionLost" time="0.431888103485"/><testcase classname="test.integration.test_tickets4000.TestTickets4000" name="testChangeActiveGroup" time="0.425472021103"/><testcase classname="test.integration.test_tickets5000.TestTickets5000" name="test4341" time="0.363559007645"/><testcase classname="test.integration.test_tickets6000.TestTickets6000" name="test5684" time="0.716118097305"><failure message="test failure">self = &lt;test.integration.test_tickets6000.TestTickets6000 testMethod=test5684&gt;
2463
2464    def test5684(self):
2465        """
2466            Similar to integration.tickets4000.TestTickets4000.test3138
2467            but here we check that using a valid session UUID does *not*
2468            cause a wait time.
2469   
2470            Note: this issue only appeared initially while running with
2471            LDAP enabled.
2472            """
2473        client, user = self.new_client_and_user()
2474        uuid = client.getSessionId()
2475        name = user.omeName.val
2476   
2477        admin = self.root.sf.getAdminService()
2478        admin.changeUserPassword(name, rstring("GOOD"))
2479   
2480        # First real password attempt is fast
2481&gt;       self.loginAttempt(name, 0.15, "GOOD", less=True)
2482
2483test/integration/test_tickets6000.py:38:
2484_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
2485
2486self = &lt;test.integration.test_tickets6000.TestTickets6000 testMethod=test5684&gt;
2487name = 'c76868f1-0221-4151-8152-f0745aac784a', t = 0.14999999999999999
2488pw = 'GOOD', less = True
2489
2490    def loginAttempt(self, name, t, pw="BAD", less=False):
2491        """
2492            Checks that login happens in less than or greater than
2493            the given time. By default, the password "BAD" is used,
2494            and the expectation is that login will take greather
2495            than the specified time since the password won't match.
2496            To check that logins happen more quickly, pass the
2497            correct password and less=True:
2498   
2499                loginAttempt("user", 0.15, pw="REALVALUE", less=True)
2500   
2501            See integration.tickets4000 and 5000
2502            """
2503        c = omero.client() # ok because followed by __del__
2504        try:
2505            t1 = time.time()
2506            try:
2507                c.createSession(name, pw)
2508                if pw == "BAD":
2509                    self.fail("Should not reach this point")
2510            except Glacier2.PermissionDeniedException:
2511                if pw != "BAD":
2512                    raise
2513            t2 = time.time()
2514            T = (t2-t1)
2515            if less:
2516&gt;               self.assertTrue(T &lt; t, "%s &gt; %s" % (T, t))
2517E               AssertionError: 0.212474107742 &gt; 0.15
2518
2519test/integration/library.py:557: AssertionError</failure></testcase></testsuite>

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.178172 sec.)

We're Hiring!