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 01D1B200498 for ; Tue, 29 Aug 2017 18:23:07 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id F3D92166983; Tue, 29 Aug 2017 16:23:06 +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 EBD681669D1 for ; Tue, 29 Aug 2017 18:23:05 +0200 (CEST) Received: (qmail 94875 invoked by uid 500); 29 Aug 2017 16:23:05 -0000 Mailing-List: contact issues-help@geode.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@geode.apache.org Delivered-To: mailing list issues@geode.apache.org Received: (qmail 94865 invoked by uid 99); 29 Aug 2017 16:23:04 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Aug 2017 16:23:04 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 7BFC81A4C9E for ; Tue, 29 Aug 2017 16:23:04 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id nZo7Q0jzVJeW for ; Tue, 29 Aug 2017 16:23:02 +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 CFF0F61263 for ; Tue, 29 Aug 2017 16:23:01 +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 2B12AE0D57 for ; Tue, 29 Aug 2017 16:23:01 +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 A7FEB23F15 for ; Tue, 29 Aug 2017 16:23:00 +0000 (UTC) Date: Tue, 29 Aug 2017 16:23:00 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@geode.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (GEODE-3436) GFSH commands tests are failing after committing refactorings of command classes MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 29 Aug 2017 16:23:07 -0000 [ https://issues.apache.org/jira/browse/GEODE-3436?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16145586#comment-16145586 ] ASF GitHub Bot commented on GEODE-3436: --------------------------------------- Github user PurelyApplied commented on the issue: https://github.com/apache/geode/pull/745 Precheckin fully green. > GFSH commands tests are failing after committing refactorings of command classes > -------------------------------------------------------------------------------- > > Key: GEODE-3436 > URL: https://issues.apache.org/jira/browse/GEODE-3436 > Project: Geode > Issue Type: Bug > Components: gfsh, tests > Reporter: Kirk Lund > > Tests failing in geode-core: > * HelperIntegrationTest.testHelpWithNoInput > * HelperIntegrationTest.testHintWithNoInput > * GfshParserConverterTest.testHintConverter > * CliCommandsSecurityTest.testNoAccess > * GfshCommandsSecurityTest.testRegionAReader > * GfshCommandsSecurityTest.testRegionAWriter > * GfshCommandsSecurityTest.testClusterReader > * GfshCommandsSecurityTest.testClusterWriter > * GfshCommandsSecurityTest.testClusterManager > * GfshCommandsSecurityTest.testDataReader > * GfshCommandsSecurityTest.testRegionAManager > * GfshCommandsSecurityTest.testDataWriter > * AnalyzeSerializablesJUnitTest.testSerializables (ParallelSnapshotFileMapper) > Stack traces for the geode-core failures: > {noformat} > :geode-core:integrationTest > org.apache.geode.management.internal.cli.help.HelperIntegrationTest > testHelpWithNoInput FAILED > java.lang.AssertionError: > Expected size:<2> but was:<4> in: > <["help (Available)", > "Display syntax and usage information for all commands or list all available commands if isn't specified.", > "hint (Available)", > "Provide hints for a topic or list all available topics if "topic" isn't specified."]> > at org.apache.geode.management.internal.cli.help.HelperIntegrationTest.testHelpWithNoInput(HelperIntegrationTest.java:69) > org.apache.geode.management.internal.cli.help.HelperIntegrationTest > testHintWithNoInput FAILED > java.lang.AssertionError: > Expected size:<21> but was:<22> in: > <["Hints are available for the following topics. Use "hint " for a specific hint.", > "", > "Client", > "Cluster Configuration", > "Configuration", > "Data", > "Debug-Utility", > "Disk Store", > "Function Execution", > "GFSH", > "Geode", > "Help", > "JMX", > "Lifecycle", > "Locator", > "Logs", > "Management-Monitoring", > "Manager", > "Region", > "Server", > "Statistics", > "WAN"]> > at org.apache.geode.management.internal.cli.help.HelperIntegrationTest.testHintWithNoInput(HelperIntegrationTest.java:96) > org.apache.geode.management.internal.cli.GfshParserConverterTest > testHintConverter FAILED > java.lang.StringIndexOutOfBoundsException: String index out of range: -1 > at java.lang.String.substring(String.java:1931) > at org.apache.geode.management.internal.cli.GfshParser.lambda$completeAdvanced$0(GfshParser.java:265) > at java.util.ArrayList.replaceAll(ArrayList.java:1442) > at org.apache.geode.management.internal.cli.GfshParser.completeAdvanced(GfshParser.java:264) > at org.apache.geode.test.dunit.rules.GfshParserRule.complete(GfshParserRule.java:58) > at org.apache.geode.management.internal.cli.GfshParserConverterTest.testHintConverter(GfshParserConverterTest.java:126) > org.apache.geode.management.internal.security.CliCommandsSecurityTest > testNoAccess FAILED > org.assertj.core.api.SoftAssertionError: > The following assertion failed: > 1) [destroy function --id=InterestCalculations] > Expecting: > <"stranger not authorized for CLUSTER:MANAGE:JAR"> > to contain: > <"DATA:MANAGE"> > at CliCommandsSecurityTest.testNoAccess(CliCommandsSecurityTest.java:74) > at org.assertj.core.api.SoftAssertions.assertAll(SoftAssertions.java:134) > at org.apache.geode.management.internal.security.CliCommandsSecurityTest.testNoAccess(CliCommandsSecurityTest.java:78) > org.apache.geode.management.internal.security.GfshCommandsSecurityTest > testRegionAReader FAILED > org.junit.ComparisonFailure: [destroy function --id=InterestCalculations] expected:<[110]> but was:<[415]> > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) > at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) > at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) > at org.apache.geode.management.internal.security.GfshCommandsSecurityTest.runCommandsPermittedAndForbiddenBy(GfshCommandsSecurityTest.java:164) > at org.apache.geode.management.internal.security.GfshCommandsSecurityTest.testRegionAReader(GfshCommandsSecurityTest.java:108) > org.apache.geode.management.internal.security.GfshCommandsSecurityTest > testRegionAWriter FAILED > org.junit.ComparisonFailure: [destroy function --id=InterestCalculations] expected:<[110]> but was:<[415]> > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) > at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) > at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) > at org.apache.geode.management.internal.security.GfshCommandsSecurityTest.runCommandsPermittedAndForbiddenBy(GfshCommandsSecurityTest.java:164) > at org.apache.geode.management.internal.security.GfshCommandsSecurityTest.testRegionAWriter(GfshCommandsSecurityTest.java:114) > org.apache.geode.management.internal.security.GfshCommandsSecurityTest > testClusterReader FAILED > org.junit.ComparisonFailure: [destroy function --id=InterestCalculations] expected:<[110]> but was:<[415]> > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) > at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) > at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) > at org.apache.geode.management.internal.security.GfshCommandsSecurityTest.runCommandsPermittedAndForbiddenBy(GfshCommandsSecurityTest.java:164) > at org.apache.geode.management.internal.security.GfshCommandsSecurityTest.testClusterReader(GfshCommandsSecurityTest.java:72) > org.apache.geode.management.internal.security.GfshCommandsSecurityTest > testClusterWriter FAILED > org.junit.ComparisonFailure: [destroy function --id=InterestCalculations] expected:<[110]> but was:<[415]> > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) > at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) > at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) > at org.apache.geode.management.internal.security.GfshCommandsSecurityTest.runCommandsPermittedAndForbiddenBy(GfshCommandsSecurityTest.java:164) > at org.apache.geode.management.internal.security.GfshCommandsSecurityTest.testClusterWriter(GfshCommandsSecurityTest.java:78) > org.apache.geode.management.internal.security.GfshCommandsSecurityTest > testClusterManager FAILED > org.junit.ComparisonFailure: [destroy function --id=InterestCalculations] expected:<[110]> but was:<[415]> > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) > at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) > at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) > at org.apache.geode.management.internal.security.GfshCommandsSecurityTest.runCommandsPermittedAndForbiddenBy(GfshCommandsSecurityTest.java:164) > at org.apache.geode.management.internal.security.GfshCommandsSecurityTest.testClusterManager(GfshCommandsSecurityTest.java:84) > org.apache.geode.management.internal.security.GfshCommandsSecurityTest > testDataReader FAILED > org.junit.ComparisonFailure: [destroy function --id=InterestCalculations] expected:<[110]> but was:<[415]> > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) > at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) > at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) > at org.apache.geode.management.internal.security.GfshCommandsSecurityTest.runCommandsPermittedAndForbiddenBy(GfshCommandsSecurityTest.java:164) > at org.apache.geode.management.internal.security.GfshCommandsSecurityTest.testDataReader(GfshCommandsSecurityTest.java:90) > org.apache.geode.management.internal.security.GfshCommandsSecurityTest > testRegionAManager FAILED > org.junit.ComparisonFailure: [destroy function --id=InterestCalculations] expected:<[110]> but was:<[415]> > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) > at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) > at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) > at org.apache.geode.management.internal.security.GfshCommandsSecurityTest.runCommandsPermittedAndForbiddenBy(GfshCommandsSecurityTest.java:164) > at org.apache.geode.management.internal.security.GfshCommandsSecurityTest.testRegionAManager(GfshCommandsSecurityTest.java:120) > org.apache.geode.management.internal.security.GfshCommandsSecurityTest > testDataWriter FAILED > org.junit.ComparisonFailure: [destroy function --id=InterestCalculations] expected:<[110]> but was:<[415]> > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) > at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) > at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) > at org.apache.geode.management.internal.security.GfshCommandsSecurityTest.runCommandsPermittedAndForbiddenBy(GfshCommandsSecurityTest.java:164) > at org.apache.geode.management.internal.security.GfshCommandsSecurityTest.testDataWriter(GfshCommandsSecurityTest.java:96) > org.apache.geode.codeAnalysis.AnalyzeSerializablesJUnitTest > testSerializables FAILED > java.lang.AssertionError: New or moved classes---------------------------------------- > org/apache/geode/internal/cache/snapshot/ParallelSnapshotFileMapper,true,1 > If the class is not persisted or sent over the wire add it to the file > /tmp/build/ae3c03f4/gemfire/open/geode-core/src/test/resources/org/apache/geode/codeAnalysis/excludedClasses.txt > Otherwise if this doesn't break backward compatibility, copy the file > /tmp/build/ae3c03f4/geode/geode-core/build/integrationTest/actualSerializables.dat to > /tmp/build/ae3c03f4/gemfire/open/geode-core/src/test/resources/org/apache/geode/codeAnalysis/sanctionedSerializables.txt. > at org.apache.geode.codeAnalysis.AnalyzeSerializablesJUnitTest.testSerializables(AnalyzeSerializablesJUnitTest.java:150) > 3715 tests completed, 13 failed, 140 skipped > :geode-core:integrationTest FAILED > {noformat} > Tests failing in geode-web: > * GfshCommandsOverHttpSecurityTest.testRegionAReader > * GfshCommandsOverHttpSecurityTest.testRegionAWriter > * GfshCommandsOverHttpSecurityTest.testClusterReader > * GfshCommandsOverHttpSecurityTest.testClusterWriter > * GfshCommandsOverHttpSecurityTest.testClusterManager > * GfshCommandsOverHttpSecurityTest.testDataReader > * GfshCommandsOverHttpSecurityTest.testRegionAManager > * GfshCommandsOverHttpSecurityTest.testDataWriter > Stack traces for the geode-web failures: > {noformat} > :geode-web:integrationTest > org.apache.geode.management.internal.security.GfshCommandsOverHttpSecurityTest > testRegionAReader FAILED > org.junit.ComparisonFailure: [destroy function --id=InterestCalculations] expected:<[110]> but was:<[415]> > org.apache.geode.management.internal.security.GfshCommandsOverHttpSecurityTest > testRegionAWriter FAILED > org.junit.ComparisonFailure: [destroy function --id=InterestCalculations] expected:<[110]> but was:<[415]> > org.apache.geode.management.internal.security.GfshCommandsOverHttpSecurityTest > testClusterReader FAILED > org.junit.ComparisonFailure: [destroy function --id=InterestCalculations] expected:<[110]> but was:<[415]> > org.apache.geode.management.internal.security.GfshCommandsOverHttpSecurityTest > testClusterWriter FAILED > org.junit.ComparisonFailure: [destroy function --id=InterestCalculations] expected:<[110]> but was:<[415]> > org.apache.geode.management.internal.security.GfshCommandsOverHttpSecurityTest > testClusterManager FAILED > org.junit.ComparisonFailure: [destroy function --id=InterestCalculations] expected:<[110]> but was:<[415]> > org.apache.geode.management.internal.security.GfshCommandsOverHttpSecurityTest > testDataReader FAILED > org.junit.ComparisonFailure: [destroy function --id=InterestCalculations] expected:<[110]> but was:<[415]> > org.apache.geode.management.internal.security.GfshCommandsOverHttpSecurityTest > testRegionAManager FAILED > org.junit.ComparisonFailure: [destroy function --id=InterestCalculations] expected:<[110]> but was:<[415]> > org.apache.geode.management.internal.security.GfshCommandsOverHttpSecurityTest > testDataWriter FAILED > org.junit.ComparisonFailure: [destroy function --id=InterestCalculations] expected:<[110]> but was:<[415]> > 30 tests completed, 8 failed > :geode-web:integrationTest FAILED > {noformat} -- This message was sent by Atlassian JIRA (v6.4.14#64029)