Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 88053200C8F for ; Fri, 9 Jun 2017 08:44:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 86A4B160BC8; Fri, 9 Jun 2017 06:44:22 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id D2699160B9C for ; Fri, 9 Jun 2017 08:44:21 +0200 (CEST) Received: (qmail 26991 invoked by uid 500); 9 Jun 2017 06:44:21 -0000 Mailing-List: contact notifications-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jira@apache.org Delivered-To: mailing list notifications@accumulo.apache.org Received: (qmail 26980 invoked by uid 99); 9 Jun 2017 06:44:20 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Jun 2017 06:44:20 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 80C01C01FE for ; Fri, 9 Jun 2017 06:44:20 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.211 X-Spam-Level: X-Spam-Status: No, score=-99.211 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id yV-ocenRkdVz for ; Fri, 9 Jun 2017 06:44:19 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 7D61E5F613 for ; Fri, 9 Jun 2017 06:44:19 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id D6817E065D for ; Fri, 9 Jun 2017 06:44:18 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 2DC5B21B51 for ; Fri, 9 Jun 2017 06:44:18 +0000 (UTC) Date: Fri, 9 Jun 2017 06:44:18 +0000 (UTC) From: "Sneha Kanekar (JIRA)" To: notifications@accumulo.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (ACCUMULO-4649) Testcases in AuditMessageIT fail consistently MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 09 Jun 2017 06:44:22 -0000 [ https://issues.apache.org/jira/browse/ACCUMULO-4649?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16044039#comment-16044039 ] Sneha Kanekar commented on ACCUMULO-4649: ----------------------------------------- Hi [~ctubbsii], I launched the test using following command: {code} mvn clean verify -Dit.test=AuditMessageIT {code} Also I noticed that these tests are failing since ACCUMULO-4588. Any configuration changes to be made? > Testcases in AuditMessageIT fail consistently > --------------------------------------------- > > Key: ACCUMULO-4649 > URL: https://issues.apache.org/jira/browse/ACCUMULO-4649 > Project: Accumulo > Issue Type: Bug > Components: test > Affects Versions: 2.0.0 > Environment: Ubuntu:14.04 > $ java -version > openjdk version "1.8.0_111" > OpenJDK Runtime Environment (build 1.8.0_111-8u111-b14-3~14.04.1-b14) > OpenJDK 64-Bit Server VM (build 25.111-b14, mixed mode) > Reporter: Sneha Kanekar > Labels: ppc64le, x86 > > All the integration tests in org.apache.accumulo.test.AuditMessageIT are failing consistently with java.lang.AssersionError. > {code:borderStyle=solid} > Running org.apache.accumulo.test.AuditMessageIT > Tests run: 6, Failures: 6, Errors: 0, Skipped: 0, Time elapsed: 84.596 sec <<< FAILURE! - in org.apache.accumulo.test.AuditMessageIT > testFailedAudits(org.apache.accumulo.test.AuditMessageIT) Time elapsed: 12.07 sec <<< FAILURE! > java.lang.AssertionError: expected:<2> but was:<0> > at org.apache.accumulo.test.AuditMessageIT.testFailedAudits(AuditMessageIT.java:499) > testDataOperationsAudits(org.apache.accumulo.test.AuditMessageIT) Time elapsed: 15.363 sec <<< FAILURE! > java.lang.AssertionError > at org.apache.accumulo.test.AuditMessageIT.testDataOperationsAudits(AuditMessageIT.java:404) > testImportExportOperationsAudits(org.apache.accumulo.test.AuditMessageIT) Time elapsed: 18.239 sec <<< FAILURE! > java.lang.AssertionError: expected:<1> but was:<0> > at org.apache.accumulo.test.AuditMessageIT.testImportExportOperationsAudits(AuditMessageIT.java:335) > testDeniedAudits(org.apache.accumulo.test.AuditMessageIT) Time elapsed: 13.05 sec <<< FAILURE! > java.lang.AssertionError: expected:<1> but was:<0> > at org.apache.accumulo.test.AuditMessageIT.testDeniedAudits(AuditMessageIT.java:452) > testTableOperationsAudits(org.apache.accumulo.test.AuditMessageIT) Time elapsed: 13.332 sec <<< FAILURE! > java.lang.AssertionError: expected:<1> but was:<0> > at org.apache.accumulo.test.AuditMessageIT.testTableOperationsAudits(AuditMessageIT.java:214) > testUserOperationsAudits(org.apache.accumulo.test.AuditMessageIT) Time elapsed: 12.37 sec <<< FAILURE! > java.lang.AssertionError: expected:<2> but was:<0> > at org.apache.accumulo.test.AuditMessageIT.testUserOperationsAudits(AuditMessageIT.java:250) > {code} > I have tested it on ppc64le and x86 platform. In each testcase, getAuditMessages method returns an empty arraylist as the below if conditions fail: > {code:borderStyle=solid} > while (it.hasNext()) { > String line = it.nextLine(); > if (line.matches(".* \\[" + AuditedSecurityOperation.AUDITLOG + "\\s*\\].*")) { > // Only include the message if startTimestamp is null. or the message occurred after the startTimestamp value > if ((lastAuditTimestamp == null) || (line.substring(0, 23).compareTo(lastAuditTimestamp) > 0)) > result.add(line); > } > {code} > Any update on this issue? -- This message was sent by Atlassian JIRA (v6.3.15#6346)