Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 77121 invoked from network); 12 May 2008 21:20:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 May 2008 21:20:21 -0000 Received: (qmail 72207 invoked by uid 500); 12 May 2008 21:20:22 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 72151 invoked by uid 500); 12 May 2008 21:20:22 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 72093 invoked by uid 99); 12 May 2008 21:20:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 May 2008 14:20:22 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 May 2008 21:19:35 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id C7DC0234C114 for ; Mon, 12 May 2008 14:19:55 -0700 (PDT) Message-ID: <269542862.1210627195817.JavaMail.jira@brutus> Date: Mon, 12 May 2008 14:19:55 -0700 (PDT) From: "Emmanuel Lecharny (JIRA)" To: dev@directory.apache.org Subject: [jira] Updated: (DIRSERVER-1153) PersistenceSearchTest fails sometimes In-Reply-To: <1435908851.1205937984411.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DIRSERVER-1153?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Emmanuel Lecharny updated DIRSERVER-1153: ----------------------------------------- Fix Version/s: (was: 1.5.3) 1.5.4 linked to DIRSERVER-1173 > PersistenceSearchTest fails sometimes > ------------------------------------- > > Key: DIRSERVER-1153 > URL: https://issues.apache.org/jira/browse/DIRSERVER-1153 > Project: Directory ApacheDS > Issue Type: Bug > Affects Versions: bigbang > Environment: linux 32/64 bit, jdk 1.6 > Reporter: Felix Knecht > Assignee: Alex Karasulu > Fix For: 1.5.4 > > > server-unit/src/test/java/org/apache/directory/server/PersistentSearchTest.java > The test fails sometime sometimes it don't. I think it has to do with the thread handling/interruption. Look at the following CLI output of the test. I just startet it multiple times in sequence without changing anything to the code oder somewhere else. It's also not alternating sometimes it passes multiple times correct and then multiple times I get a failure. > felix@donar cd ~/svn/apache/directory/apacheds/branches/bigbang/server-unitsvn/apache/directory/apacheds/branches/bigbang/server-unit/ > felix@donar ~/svn/apache/directory/apacheds/branches/bigbang/server-unit $ mvn clean -Dintegration -Dtest=PersistentSearchTest test > [INFO] Scanning for projects... > [INFO] ------------------------------------------------------------------------ > [INFO] Building ApacheDS Server Unit > [INFO] task-segment: [clean, test] > [INFO] ------------------------------------------------------------------------ > [INFO] [clean:clean] > [INFO] Deleting directory /svn/apache/directory/apacheds/branches/bigbang/server-unit/target > [INFO] Setting property: classpath.resource.loader.class => 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'. > [INFO] Setting property: velocimacro.messages.on => 'false'. > [INFO] Setting property: resource.loader => 'classpath'. > [INFO] Setting property: resource.manager.logwhenfound => 'false'. > [INFO] [remote-resources:process {execution: default}] > [WARNING] Attempting to build MavenProject instance for Artifact (org.apache.commons:commons-io:1.3.2) of type: jar; constructing POM artifact instead. > [INFO] [resources:resources] > [INFO] Using default encoding to copy filtered resources. > [INFO] [compiler:compile] > [INFO] Compiling 1 source file to /svn/apache/directory/apacheds/branches/bigbang/server-unit/target/classes > [INFO] [resources:testResources] > [INFO] Using default encoding to copy filtered resources. > [INFO] [compiler:testCompile] > [INFO] Compiling 35 source files to /svn/apache/directory/apacheds/branches/bigbang/server-unit/target/test-classes > [INFO] [surefire:test] > [INFO] Surefire report directory: /svn/apache/directory/apacheds/branches/bigbang/server-unit/target/surefire-reports > ------------------------------------------------------- > T E S T S > ------------------------------------------------------- > Running org.apache.directory.server.PersistentSearchTest > Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 19.331 sec > Results : > Tests run: 11, Failures: 0, Errors: 0, Skipped: 0 > [INFO] ------------------------------------------------------------------------ > [INFO] BUILD SUCCESSFUL > [INFO] ------------------------------------------------------------------------ > [INFO] Total time: 24 seconds > [INFO] Finished at: Wed Mar 19 15:37:15 CET 2008 > [INFO] Final Memory: 35M/345M > [INFO] ------------------------------------------------------------------------ > felix@donar ~/svn/apache/directory/apacheds/branches/bigbang/server-unit $ mvn clean -Dintegration -Dtest=PersistentSearchTest test > [INFO] Scanning for projects... > [INFO] ------------------------------------------------------------------------ > [INFO] Building ApacheDS Server Unit > [INFO] task-segment: [clean, test] > [INFO] ------------------------------------------------------------------------ > [INFO] [clean:clean] > [INFO] Deleting directory /svn/apache/directory/apacheds/branches/bigbang/server-unit/target > [INFO] Setting property: classpath.resource.loader.class => 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'. > [INFO] Setting property: velocimacro.messages.on => 'false'. > [INFO] Setting property: resource.loader => 'classpath'. > [INFO] Setting property: resource.manager.logwhenfound => 'false'. > [INFO] [remote-resources:process {execution: default}] > [WARNING] Attempting to build MavenProject instance for Artifact (org.apache.commons:commons-io:1.3.2) of type: jar; constructing POM artifact instead. > [INFO] [resources:resources] > [INFO] Using default encoding to copy filtered resources. > [INFO] [compiler:compile] > [INFO] Compiling 1 source file to /svn/apache/directory/apacheds/branches/bigbang/server-unit/target/classes > [INFO] [resources:testResources] > [INFO] Using default encoding to copy filtered resources. > [INFO] [compiler:testCompile] > ^[[A[INFO] Compiling 35 source files to /svn/apache/directory/apacheds/branches/bigbang/server-unit/target/test-classes > [INFO] [surefire:test] > [INFO] Surefire report directory: /svn/apache/directory/apacheds/branches/bigbang/server-unit/target/surefire-reports > ------------------------------------------------------- > T E S T S > ------------------------------------------------------- > Running org.apache.directory.server.PersistentSearchTest > ^[[A > Tests run: 11, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 15.771 sec <<< FAILURE! > Results : > Failed tests: > testPsearchAbandon(org.apache.directory.server.PersistentSearchTest) > Tests run: 11, Failures: 1, Errors: 0, Skipped: 0 > [INFO] ------------------------------------------------------------------------ > [ERROR] BUILD FAILURE > [INFO] ------------------------------------------------------------------------ > [INFO] There are test failures. > Please refer to /svn/apache/directory/apacheds/branches/bigbang/server-unit/target/surefire-reports for the individual test results. > [INFO] ------------------------------------------------------------------------ > [INFO] For more information, run Maven with the -e switch > [INFO] ------------------------------------------------------------------------ > [INFO] Total time: 20 seconds > [INFO] Finished at: Wed Mar 19 15:37:45 CET 2008 > [INFO] Final Memory: 35M/345M > [INFO] ------------------------------------------------------------------------ > ... to be continued ... > Regards > Felix -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.