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 #5528 (closed)

Opened 8 years ago

Closed 8 years ago

BUG: Failing testBigPlane integration test

Reported by: wmoore Owned by: wmoore
Priority: major Milestone: OMERO-Beta4.3
Component: OmeroPy Version: n.a.
Keywords: n.a. Cc:
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: n.a.
Sprint: n.a.

Description (last modified by jmoore)

======================================================================
ERROR [18.533s]: testBigPlane (integration.rawpixelsstore.TestRPS)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/will/Desktop/OMERO/components/tools/OmeroPy/test/integration/rawpixelsstore.py", line 49, in testBigPlane
    self.write(pix, rps)
  File "/Users/will/Desktop/OMERO/components/tools/OmeroPy/test/integration/library.py", line 380, in write
    if not rps.hasPixelsPyramid():
AttributeError: 'RawPixelsStorePrx' object has no attribute 'hasPixelsPyramid'

Change History (4)

comment:1 Changed 8 years ago by jmoore

  • Description modified (diff)
  • Owner changed from jmoore to wmoore

See

commit 5268be588033dad9763a1bfdfaa57641559c1f71
Author: Chris Allan <callan@blackcat.ca>
Date:   Mon May 16 10:11:27 2011 +0100

    Final "is big image" logic. (Closes #5240)

comment:2 Changed 8 years ago by wmoore

Having renamed hasPixelsPyramid() to requiresPixelsPyramid() I now get

wjm:OmeroPy will$ python test/integration/rawpixelsstore.py
E.EE
======================================================================
ERROR: testBigPlane (__main__.TestRPS)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test/integration/rawpixelsstore.py", line 51, in testBigPlane
    rps.close()
  File "/Users/will/Desktop/OMERO/components/tools/OmeroPy/build/lib/omero_ServicesF_ice.py", line 137, in close
    return _M_omero.api.StatefulServiceInterface._op_close.invoke(self, ((), _ctx))
ResourceError: exception ::omero::ResourceError
{
    serverStackTrace = ome.conditions.ResourceError: /OMERO/Pixels/Dir-001/.1545_pyramid6820870283381784737.tmp (No such file or directory) Please check server log.
	at ome.services.RawPixelsBean.closePixelBuffer(RawPixelsBean.java:246)
	at ome.services.RawPixelsBean.clean(RawPixelsBean.java:225)
	at ome.services.RawPixelsBean.close(RawPixelsBean.java:217)
	at sun.reflect.GeneratedMethodAccessor1046.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:592)
	at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
	at ome.security.basic.EventHandler.invoke(EventHandler.java:150)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
	at ome.tools.hibernate.SessionHandler.doStateful(SessionHandler.java:182)
	at ome.tools.hibernate.SessionHandler.invoke(SessionHandler.java:166)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
	at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:108)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
	at ome.tools.hibernate.ProxyCleanupFilter$Interceptor.invoke(ProxyCleanupFilter.java:231)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
	at ome.services.util.ServiceHandler.invoke(ServiceHandler.java:111)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
	at $Proxy86.close(Unknown Source)
	at sun.reflect.GeneratedMethodAccessor1046.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:592)
	at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
	at ome.security.basic.BasicSecurityWiring.invoke(BasicSecurityWiring.java:83)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
	at ome.services.blitz.fire.AopContextInitializer.invoke(AopContextInitializer.java:43)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
	at $Proxy86.close(Unknown Source)
	at ome.services.blitz.impl.AbstractAmdServant.close_async(AbstractAmdServant.java:227)
	at omero.api._RawPixelsStoreTie.close_async(_RawPixelsStoreTie.java:330)
	at omero.api._StatefulServiceInterfaceDisp.___close(_StatefulServiceInterfaceDisp.java:142)
	at omero.api._RawPixelsStoreDisp.__dispatch(_RawPixelsStoreDisp.java:1157)
	at IceInternal.Incoming.invoke(Incoming.java:159)
	at Ice.ConnectionI.invokeAll(ConnectionI.java:2037)
	at Ice.ConnectionI.message(ConnectionI.java:972)
	at IceInternal.ThreadPool.run(ThreadPool.java:577)
	at IceInternal.ThreadPool.access$100(ThreadPool.java:12)
	at IceInternal.ThreadPool$EventHandlerThread.run(ThreadPool.java:971)

    serverExceptionClass = ome.conditions.ResourceError
    message = /OMERO/Pixels/Dir-001/.1545_pyramid6820870283381784737.tmp (No such file or directory) Please check server log.
}

comment:3 Changed 8 years ago by jmoore

That's a follow on from all pyramids being broken: #5577 #5594 etc. You'll have to wait until those are fixed.

comment:4 Changed 8 years ago by wmoore

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

This test now passes. The only failing test in test/integration/rawpixelsstore.py is due to pyramid taking longer to create than 10 waits of backOff (hard coded).

wjm:OmeroPy will$ python test/integration/rawpixelsstore.py
.F...
======================================================================
FAIL: testRomioToPyramid (__main__.TestRPS)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test/integration/rawpixelsstore.py", line 108, in testRomioToPyramid
    self.assert_(success)
AssertionError

----------------------------------------------------------------------
Ran 5 tests in 215.415s

FAILED (failures=1)
wjm:OmeroPy will$ 
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.82984 sec.)

We're Hiring!