On Wed, Jan 20, 2010 at 7:43 PM, Eric Varsanyi <[email protected]> wrote:
> Is the "current" expectation for SVN commits (even on revisions not listed 
> above) in this pre-4.2 development world that sipXconfig unit tests run 
> without error?

sipXconfig tests should never run with error.
The rule is that before every "commit" the developer should run all
sipXconfig tests to make sure that everything is OK
The command used is (for sipXconfig): ant precommit.

If accidentally one ore more tests are failing after one commit, that
test should be fixed / or the commit reverted

I put a fix for that specific test:
http://sipxecs.sipfoundry.org/ViewVC/sipXecs?view=rev&rev=17749

XX-7216: Users fails to inherit the "Branch" name when added to the
User Group configured with "Branch"

Redesign ReplicationTriggerTestIntegration.testSaveBranchesWithoutUser
to avoid Hibernate conflict
Apparently if was a conflict between loaded branches: branches.db.xml
and newly created branch

Mircea
>
> The two versions I've tried are svn 17627 and 17744 (as of this email 17746 
> is the tip) from http://sipxecs.sipfoundry.org/rep/sipXecs/main.
>
> The machine architecture is dual processor 32 bit FC10 with 2G RAM and 32G 
> SCSI disk running in an ESX virtual machine on a 16 way 2Ghz per core AMD 
> host on local storage. VMWare paravirtualization drivers are not installed.
>
>
> Thanks,
> -Eric
>
> Attached are the revs of all the development RPMS used to build with (for 
> historical mining of the mailing list):
>
>
>
>
> On Jan 20, 2010, at 10:57 AM, Eric Varsanyi wrote:
>
>> At this point (current SVN) should the 'precommit' target (specifically the 
>> tests) run w/o error?
>>
>> I'm not sure if my problems are due to environment (32 bit FC12) or if the 
>> tests are just broken given all the recent commits.
>>
>> Below is an example, I tried backing out to a revision from early January 
>> that worked (operationally) for me on 64 bit FC10 but still had failures. 
>> I'm really not confident its not something on my platform causing this.
>>
>> My operational problem is many of the freeswitch velocity templates are not 
>> being rendered at all (almost everything that usually ends up in 
>> freeswitch/conf/autoload_configs) and there are no obvious errors in any log 
>> after a dropdb/createdb/firstrun/start.
>>
>> Thanks
>> -Eric Varsanyi
>>
>> ---
>>
>> test-report:
>> Processing 
>> /home/sipxchange/main/BUILD/sipXconfig/neoconf/junit/TESTS-TestSuites.xml to 
>> /home/sipxchange/main/BUILD/sipXconfig/neoconf/junit/junit-noframes.html
>> Loading stylesheet 
>> jar:file:/usr/share/java/ant/ant-junit-1.7.1.jar!/org/apache/tools/ant/taskdefs/optional/junit/xsl/junit-noframes.xsl
>> Transform time: 13723ms
>> Warning: the task name <style> is deprecated. Use <xslt> instead.
>> Processing 
>> /home/sipxchange/main/BUILD/sipXconfig/neoconf/junit/TESTS-TestSuites.xml to 
>> /home/sipxchange/main/BUILD/sipXconfig/neoconf/junit/failures.txt
>> Loading stylesheet /home/sipxchange/main/sipXconfig/meta/failure-report.xsl
>>
>> testcase: ReplicationTriggerTestIntegration
>> --------------------------------------------------------------------------------
>> org.springframework.orm.hibernate3.HibernateObjectRetrievalFailureException: 
>> No row with the given identifier exists: 
>> [org.sipfoundry.sipxconfig.branch.Branch#41]; nested exception is 
>> org.hibernate.ObjectNotFoundException: No row with the given identifier 
>> exists: [org.sipfoundry.sipxconfig.branch.Branch#41]
>> Caused by: org.hibernate.ObjectNotFoundException: No row with the given 
>> identifier exists: [org.sipfoundry.sipxconfig.branch.Branch#41]
>>       at 
>> org.hibernate.impl.SessionFactoryImpl$1.handleEntityNotFound(SessionFactoryImpl.java:386)
>>       at 
>> org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:145)
>>       at 
>> org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:179)
>>       at 
>> org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:103)
>>       at org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:879)
>>       at org.hibernate.impl.SessionImpl.load(SessionImpl.java:796)
>>       at org.hibernate.impl.SessionImpl.load(SessionImpl.java:789)
>>       at 
>> org.springframework.orm.hibernate3.HibernateTemplate$3.doInHibernate(HibernateTemplate.java:505)
>>       at 
>> org.springframework.orm.hibernate3.HibernateTemplate.execute(HibernateTemplate.java:369)
>>       at 
>> org.springframework.orm.hibernate3.HibernateTemplate.load(HibernateTemplate.java:499)
>>       at 
>> org.springframework.orm.hibernate3.HibernateTemplate.load(HibernateTemplate.java:493)
>>       at 
>> org.sipfoundry.sipxconfig.common.SipxHibernateDaoSupport.load(Unknown Source)
>>       at 
>> org.sipfoundry.sipxconfig.branch.BranchManagerImpl.getBranch(Unknown Source)
>>       at 
>> org.sipfoundry.sipxconfig.branch.BranchManagerImpl.isNameChanged(Unknown 
>> Source)
>>       at 
>> org.sipfoundry.sipxconfig.branch.BranchManagerImpl.saveBranch(Unknown Source)
>>       at 
>> org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304)
>>       at 
>> org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:172)
>>       at 
>> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:139)
>>       at 
>> org.sipfoundry.sipxconfig.common.event.DaoEventDispatcher.invoke(Unknown 
>> Source)
>>       at 
>> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161)
>>       at 
>> org.springframework.orm.hibernate3.HibernateInterceptor.invoke(HibernateInterceptor.java:104)
>>       at 
>> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161)
>>       at 
>> org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:203)
>>       at $Proxy62.saveBranch(Unknown Source)
>>       at 
>> org.sipfoundry.sipxconfig.admin.commserver.imdb.ReplicationTriggerTestIntegration.testSaveBranchesWithoutUser(Unknown
>>  Source)
>>       at 
>> org.springframework.test.ConditionalTestCase.runBare(ConditionalTestCase.java:69)
>>       at 
>> org.springframework.test.annotation.AbstractAnnotationAwareTransactionalTests.access$001(AbstractAnnotationAwareTransactionalTests.java:47)
>>       at 
>> org.springframework.test.annotation.AbstractAnnotationAwareTransactionalTests$1.run(AbstractAnnotationAwareTransactionalTests.java:115)
>>       at 
>> org.springframework.test.annotation.AbstractAnnotationAwareTransactionalTests.runTest(AbstractAnnotationAwareTransactionalTests.java:180)
>>       at 
>> org.springframework.test.annotation.AbstractAnnotationAwareTransactionalTests.runTestTimed(AbstractAnnotationAwareTransactionalTests.java:153)
>>       at 
>> org.springframework.test.annotation.AbstractAnnotationAwareTransactionalTests.runBare(AbstractAnnotationAwareTransactionalTests.java:111)
>>       at org.sipfoundry.sipxconfig.IntegrationTestCase.runBare(Unknown 
>> Source)
>>
>> BUILD FAILED
>> /home/sipxchange/main/sipXconfig/subant-targets.xml:80: The following error 
>> occurred while executing this line:
>> /home/sipxchange/main/sipXconfig/neoconf/build.xml:342: The following error 
>> occurred while executing this line:
>> /home/sipxchange/main/sipXconfig/neoconf/build.xml:368: if=junit.failed
>>
>> _______________________________________________
>> sipx-dev mailing list [email protected]
>> List Archive: http://list.sipfoundry.org/archive/sipx-dev
>> Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-dev
>> sipXecs IP PBX -- http://www.sipfoundry.org/
>
>
> _______________________________________________
> sipx-dev mailing list [email protected]
> List Archive: http://list.sipfoundry.org/archive/sipx-dev
> Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-dev
> sipXecs IP PBX -- http://www.sipfoundry.org/
>
_______________________________________________
sipx-dev mailing list [email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-dev
Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-dev
sipXecs IP PBX -- http://www.sipfoundry.org/

Reply via email to