Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7D1921190A for ; Tue, 16 Sep 2014 18:20:34 +0000 (UTC) Received: (qmail 38830 invoked by uid 500); 16 Sep 2014 18:20:34 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 38777 invoked by uid 500); 16 Sep 2014 18:20:34 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 38765 invoked by uid 99); 16 Sep 2014 18:20:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Sep 2014 18:20:34 +0000 Date: Tue, 16 Sep 2014 18:20:34 +0000 (UTC) From: "stack (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-11984) TestClassFinder failing on occasion MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-11984?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14135881#comment-14135881 ] stack commented on HBASE-11984: ------------------------------- Debugging shows that the 'target' classes are not always present: {code} java.lang.AssertionError: Classes in org.apache.hadoop.hbase at org.junit.Assert.fail(Assert.java:88) at org.junit.Assert.assertTrue(Assert.java:41) at org.apache.hadoop.hbase.TestClassFinder.testClassFinderFiltersByClassInDirs(TestClassFinder.java:255) {code} ... removed by a concurrent hbase test run? We should not rely on data outside of test dirs. Let me add a fix. > TestClassFinder failing on occasion > ----------------------------------- > > Key: HBASE-11984 > URL: https://issues.apache.org/jira/browse/HBASE-11984 > Project: HBase > Issue Type: Bug > Reporter: stack > Assignee: stack > Fix For: 2.0.0 > > Attachments: 0001-More-debug.patch > > > Failed like this: > {code} > Tests run: 11, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: 1.913 sec <<< FAILURE! - in org.apache.hadoop.hbase.TestClassFinder > testClassFinderFiltersByClassInDirs(org.apache.hadoop.hbase.TestClassFinder) Time elapsed: 0.028 sec <<< FAILURE! > java.lang.AssertionError: expected:<-1> but was:<0> > at org.junit.Assert.fail(Assert.java:88) > at org.junit.Assert.failNotEquals(Assert.java:743) > at org.junit.Assert.assertEquals(Assert.java:118) > at org.junit.Assert.assertEquals(Assert.java:555) > at org.junit.Assert.assertEquals(Assert.java:542) > at org.apache.hadoop.hbase.TestClassFinder.testClassFinderFiltersByClassInDirs(TestClassFinder.java:259) > testClassFinderCanFindClassesInDirs(org.apache.hadoop.hbase.TestClassFinder) Time elapsed: 0.017 sec <<< FAILURE! > java.lang.AssertionError: null > at org.junit.Assert.fail(Assert.java:86) > at org.junit.Assert.assertTrue(Assert.java:41) > at org.junit.Assert.assertTrue(Assert.java:52) > at org.apache.hadoop.hbase.TestClassFinder.testClassFinderCanFindClassesInDirs(TestClassFinder.java:223) > testClassFinderFiltersByNameInDirs(org.apache.hadoop.hbase.TestClassFinder) Time elapsed: 0.018 sec <<< FAILURE! > java.lang.AssertionError: expected:<-1> but was:<0> > at org.junit.Assert.fail(Assert.java:88) > at org.junit.Assert.failNotEquals(Assert.java:743) > at org.junit.Assert.assertEquals(Assert.java:118) > at org.junit.Assert.assertEquals(Assert.java:555) > at org.junit.Assert.assertEquals(Assert.java:542) > at org.apache.hadoop.hbase.TestClassFinder.testClassFinderFiltersByNameInDirs(TestClassFinder.java:242) > {code} > ... in precommit https://builds.apache.org/job/PreCommit-HBASE-Build/10912/console -- This message was sent by Atlassian JIRA (v6.3.4#6332)