Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 352417

Summary: [Objectivity] Have Objy test suites use in-process lock manager
Product: [Modeling] EMF Reporter: Caspar D. <caspar_d>
Component: cdo.coreAssignee: Project Inbox <emf.cdo-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: enhancement    
Priority: P3 CC: saulius.tvarijonas, stepper
Version: 4.8   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Caspar D. CLA 2011-07-19 04:54:55 EDT
As far as I've been able to determine, the Objy test suites currently
require that an Objy lock manager be running on the host where the tests
are run. (At least that's how I've set things up, and the tests are 
executing.)

The drawback of using an external LM, is that when the tests hang or
crash, they leave locks in the LM, making it impossible to re-start
the tests without manually terminating and re-starting the lock manager.

Here's the output I'm seeing:

main [org.eclipse.emf.cdo.server.internal.objectivity.db.FdManager] Createing FD: '/tmp/Objy5855682600670795564data/test.boot'.
main [org.eclipse.emf.cdo.server.internal.objectivity.db.FdManager] ** System Error #3001: Cannot grant the requested lock; conflict with an
                       existing lock.
                       - context = #0-0-0-0
** Error #4301: Storage Manager: Cannot create or open file
                caspar-pc::/tmp/Objy5855682600670795564data/test.fdb (No
                such file or directory) (100107)
** System Error #2533: Object Manager was unable to open a Database file
                       - context = #1-0-0-0
** System Error #2520: Object Manager was unable to abort the existing
                       transaction
** Error #2928: oonewfd : An error has occurred. Processing terminated.

It's my understanding that the Objy LM can optionally be run in-process..
it'd be nice if we could set the Objy tests suites up that way, so that re-starting the test suite would create a fresh LM and avoid these
hangups and the need for manual intervention.
Comment 1 Eike Stepper CLA 2012-08-14 22:55:39 EDT
Moving all open issues to 4.2. Open bugs can be ported to 4.1 maintenance after they've been fixed in master.
Comment 2 Eike Stepper CLA 2013-06-27 04:06:11 EDT
Moving all outstanding enhancements to 4.3
Comment 3 Eike Stepper CLA 2014-08-19 09:23:20 EDT
Moving all open enhancement requests to 4.4
Comment 4 Eike Stepper CLA 2014-08-19 09:35:05 EDT
Moving all open enhancement requests to 4.4
Comment 5 Eike Stepper CLA 2015-07-14 02:18:11 EDT
Moving all open bugzillas to 4.5.
Comment 6 Eike Stepper CLA 2016-07-31 01:01:03 EDT
Moving all unaddressed bugzillas to 4.6.
Comment 7 Eike Stepper CLA 2017-12-28 01:19:01 EST
Moving all open bugs to 4.7
Comment 8 Eike Stepper CLA 2019-11-08 02:17:30 EST
Moving all unresolved issues to version 4.8-
Comment 9 Eike Stepper CLA 2019-11-08 02:42:16 EST
Objectivity support has been deprecated, see bug 552307.