Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

Task #5935 (closed)

Opened 9 years ago

Closed 9 years ago

omero.gateway unittests run on Hudson

Reported by: atarkowska Owned by: wmoore
Priority: critical Milestone: OMERO-Beta4.3.1
Component: OmeroPy Version: n.a.
Keywords: n.a. Cc: python-team
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: n.a.
Sprint: 2011-07-07 (1)


Change History (6)

comment:1 Changed 9 years ago by atarkowska

  • Owner changed from atarkowska to wmoore

comment:2 Changed 9 years ago by wmoore

  • Status changed from new to accepted

comment:3 Changed 9 years ago by wmoore

Having turned back on the gateway tests...

$ cd components/tools/OmeroPy/
$ . source 
$ ulimit -a
core file size          (blocks, -c) 0
data seg size           (kbytes, -d) 6144
file size               (blocks, -f) unlimited
max locked memory       (kbytes, -l) unlimited
max memory size         (kbytes, -m) unlimited
open files                      (-n) 256
pipe size            (512 bytes, -p) 1
stack size              (kbytes, -s) 8192
cpu time               (seconds, -t) unlimited
max user processes              (-u) 266
virtual memory          (kbytes, -v) unlimited
$ cd ../../../
$ ./ -f components/tools/OmeroPy/build.xml integration


ERROR [16.042s]: test1179 (integration.ishare.TestIShare)
Traceback (most recent call last):
  File "/Users/will/Desktop/OMERO/components/tools/OmeroPy/test/integration/", line 341, in test1179
  File "/Users/will/Desktop/OMERO/components/tools/OmeroPy/build/lib/", line 94, in setPixelsId
    return _M_omero.api.ThumbnailStore._op_setPixelsId.invoke(self, ((pixelsId, ), _ctx))
InternalException: exception ::omero::InternalException

FAIL [16.042s]: testMultiProcessSession (gatewaytest.connection.ConnectionMethodsTest)
Traceback (most recent call last):
  File "/Users/will/Desktop/OMERO/components/tools/OmeroPy/test/gatewaytest/", line 32, in testMultiProcessSession
    self.assertEqual(c2._session, None)
AssertionError: object #0 (::omero::model::Session)

FAIL [16.042s]: testDatasetWrapper (gatewaytest.wrapper.WrapperTest)
Traceback (most recent call last):
  File "/Users/will/Desktop/OMERO/components/tools/OmeroPy/test/gatewaytest/", line 87, in testDatasetWrapper
    self.assertEqual(d.countChildren_cached(), 4)
AssertionError: 8L != 4
FAIL [16.042s]: testDeleteImage (gatewaytest.get_objects.DeleteObjectTest)
Traceback (most recent call last):
  File "/Users/will/Desktop/OMERO/components/tools/OmeroPy/test/gatewaytest/", line 83, in testDeleteImage
    self.assertTrue(self.gateway.getObject("Project", projectId) == None)
Ran 256 tests in 1585.498s
FAILED (failures=3, errors=11)
Generating XML reports...

Total time: 26 minutes 29 seconds

The rest of the failures were
ERROR [16.042s]: testNoParams (scriptstest.makeMovieTest.TestMakeMovie)
Traceback (most recent call last):
  File "/Users/will/Desktop/OMERO/components/tools/OmeroPy/test/scriptstest/", line 26, in testNoParams
    imported_pix = ",".join(self.import_image())
  File "/Users/will/Desktop/OMERO/components/tools/OmeroPy/test/integration/", line 152, in import_image
    out, err = popen.communicate()
  File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/", line 667, in communicate
    return self._communicate(input)
  File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/", line 1138, in _communicate
    rlist, wlist, xlist =, write_set, [])
ValueError: filedescriptor out of range in select()

comment:4 Changed 9 years ago by wmoore

Oops - added this comment to wrong ticket

Last edited 9 years ago by wmoore (previous) (diff)

comment:5 Changed 9 years ago by Will Moore <will@…>

(In [497cefeae07abfee790f0aaa487bfab371189296/ome.git] on branch develop) Turning on gatewaytest in See #5935, #4334

comment:6 Changed 9 years ago by wmoore

  • Resolution set to fixed
  • Status changed from accepted to closed

Tests have been turned on and tickets created for failing tests. Closing.

Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

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

We're Hiring!