directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pierre-Arnaud Marcelot ...@marcelot.net>
Subject Re: Pb with trunk when running tests
Date Tue, 09 Feb 2010 08:41:48 GMT
Hi Emmanuel,

I've just svn up the trunk and I'm experiencing the same kind of issue (without the superclean.sh,
I will run it right now).


The 7 tests are in error:
Results :

Tests in error: 
================================================================================
  org.apache.directory.server.suites.StockServerISuite
  org.apache.directory.server.operations.bind.MiscBindIT
  org.apache.directory.server.operations.extended.StoredProcedureIT
  org.apache.directory.server.operations.bind.SaslBindIT
  org.apache.directory.server.kerberos.KeyDerivationServiceIT
  org.apache.directory.server.operations.search.IndexedNegationSearchIT
  org.apache.directory.server.kerberos.PasswordPolicyServiceIT

Tests run: 7, Failures: 0, Errors: 7, Skipped: 0

[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] There are test failures.

Please refer to /Users/pajbam/Development/Apache/ApacheDS/apacheds/server-integ/target/surefire-reports
for the individual test results.
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 11 minutes 41 seconds
[INFO] Finished at: Tue Feb 09 09:35:14 CET 2010
[INFO] Final Memory: 116M/243M
[INFO] ------------------------------------------------------------------------
================================================================================



Here's the output for the StockServerISuite test suite:
================================================================================
-------------------------------------------------------------------------------
Test set: org.apache.directory.server.suites.StockServerISuite
-------------------------------------------------------------------------------
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.724 sec <<< FAILURE!
org.apache.directory.server.suites.StockServerISuite  Time elapsed: 0 sec  <<< ERROR!
org.apache.directory.shared.ldap.schema.ldif.extractor.UniqueResourceException: Problem locating
LDIF file in schema repository
Multiple copies of resource named 'schema/ou=schema/cn=apachemeta/ou=matchingrules/m-oid=1.3.6.1.4.1.18060.0.4.0.1.3.ldif'
located on classpath at urls
    jar:file:/Users/pajbam/Development/Apache/ApacheDS/shared/all/target/shared-all-0.9.18-SNAPSHOT.jar!/schema/ou%3dschema/cn%3dapachemeta/ou%3dmatchingrules/m-oid%3d1.3.6.1.4.1.18060.0.4.0.1.3.ldif
    jar:file:/Users/pajbam/Development/Apache/ApacheDS/shared/ldap-schema/target/shared-ldap-schema-0.9.18-SNAPSHOT.jar!/schema/ou%3dschema/cn%3dapachemeta/ou%3dmatchingrules/m-oid%3d1.3.6.1.4.1.18060.0.4.0.1.3.ldif
	at org.apache.directory.shared.ldap.schema.ldif.extractor.impl.DefaultSchemaLdifExtractor.getUniqueResource(DefaultSchemaLdifExtractor.java:366)
	at org.apache.directory.shared.ldap.schema.ldif.extractor.impl.DefaultSchemaLdifExtractor.getUniqueResourceAsStream(DefaultSchemaLdifExtractor.java:342)
	at org.apache.directory.shared.ldap.schema.ldif.extractor.impl.DefaultSchemaLdifExtractor.extractFromJar(DefaultSchemaLdifExtractor.java:381)
	at org.apache.directory.shared.ldap.schema.ldif.extractor.impl.DefaultSchemaLdifExtractor.extractOrCopy(DefaultSchemaLdifExtractor.java:151)
	at org.apache.directory.shared.ldap.schema.ldif.extractor.impl.DefaultSchemaLdifExtractor.extractOrCopy(DefaultSchemaLdifExtractor.java:171)
	at org.apache.directory.server.core.factory.DefaultDirectoryServiceFactory.initSchema(DefaultDirectoryServiceFactory.java:120)
	at org.apache.directory.server.core.factory.DefaultDirectoryServiceFactory.build(DefaultDirectoryServiceFactory.java:192)
	at org.apache.directory.server.core.factory.DefaultDirectoryServiceFactory.init(DefaultDirectoryServiceFactory.java:88)
	at org.apache.directory.server.core.factory.DSAnnotationProcessor.createDS(DSAnnotationProcessor.java:85)
	at org.apache.directory.server.core.factory.DSAnnotationProcessor.getDirectoryService(DSAnnotationProcessor.java:144)
	at org.apache.directory.server.core.integ.FrameworkSuite.startDS(FrameworkSuite.java:76)
	at org.apache.directory.server.core.integ.FrameworkSuite.run(FrameworkSuite.java:142)
	at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
	at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
	at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)
================================================================================

I'm going to run the superclean.sh to see if it changes something.

Regards,
Pierre-Arnaud


On 9 févr. 2010, at 01:39, Emmanuel Lecharny wrote:

> Is anyone experimenting the same problem ?
> 
> When I do a project/resources/superclean.sh and run mvn clean install, I get always this
error :
> 
> -------------------------------------------------------------------------------
> Test set: org.apache.directory.server.suites.StockServerISuite
> -------------------------------------------------------------------------------
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.425 sec <<<
FAILURE!
> org.apache.directory.server.suites.StockServerISuite  Time elapsed: 0 sec <<<
ERROR!
> org.apache.directory.shared.ldap.schema.ldif.extractor.UniqueResourceException: Problem
locating LDIF file in schema repository
> Multiple copies of resource named 'schema/ou=schema/cn=apachemeta/ou=matchingrules/m-oid=1.3.6.1.4.1.18060.0.4.0.1.3.ldif'
located on classpath at urls
>    jar:file:/Users/elecharny/apacheds/trunk/shared/all/target/shared-all-0.9.18-SNAPSHOT.jar!/schema/ou%3dschema/cn%3dapachemeta/ou%3dmatchingrules/m-oid%3d1.3.6.1.4.1.18060.0.4.0.1.3.ldif
>    jar:file:/Users/elecharny/apacheds/trunk/shared/ldap-schema/target/shared-ldap-schema-0.9.18-SNAPSHOT.jar!/schema/ou%3dschema/cn%3dapachemeta/ou%3dmatchingrules/m-oid%3d1.3.6.1.4.1.18060.0.4.0.1.3.ldif
> ...
> 
> It seems that we refer to shared-all which includes the schemas, and it's wrong at some
point.
> 
> Anyone ?
> 
> -- 
> Regards,
> Cordialement,
> Emmanuel Lécharny
> www.nextury.com
> 
> 


Mime
View raw message