You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Josh Elser (JIRA)" <ji...@apache.org> on 2015/03/05 00:53:38 UTC
[jira] [Created] (ACCUMULO-3642) Test failures when local client
conf has SASL enabled
Josh Elser created ACCUMULO-3642:
------------------------------------
Summary: Test failures when local client conf has SASL enabled
Key: ACCUMULO-3642
URL: https://issues.apache.org/jira/browse/ACCUMULO-3642
Project: Accumulo
Issue Type: Bug
Components: test
Reporter: Josh Elser
Assignee: Josh Elser
Priority: Minor
Fix For: 1.7.0
{noformat}
Tests run: 5, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 1.509 sec <<< FAILURE! - in org.apache.accumulo.shell.ShellConfigTest
testTokenWithoutOptions(org.apache.accumulo.shell.ShellConfigTest) Time elapsed: 0.777 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.assertFalse(Assert.java:64)
at org.junit.Assert.assertFalse(Assert.java:74)
at org.apache.accumulo.shell.ShellConfigTest.testTokenWithoutOptions(ShellConfigTest.java:76)
testTokenAndOptionAndPassword(org.apache.accumulo.shell.ShellConfigTest) Time elapsed: 0.008 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.assertFalse(Assert.java:64)
at org.junit.Assert.assertFalse(Assert.java:74)
at org.apache.accumulo.shell.ShellConfigTest.testTokenAndOptionAndPassword(ShellConfigTest.java:87)
Running org.apache.accumulo.shell.ShellTest
Tests run: 12, Failures: 0, Errors: 11, Skipped: 0, Time elapsed: 0.989 sec <<< FAILURE! - in org.apache.accumulo.shell.ShellTest
duPatternTest(org.apache.accumulo.shell.ShellTest) Time elapsed: 0.828 sec <<< ERROR!
java.lang.NullPointerException: null
at org.apache.accumulo.shell.Shell.getDefaultPrompt(Shell.java:702)
at org.apache.accumulo.shell.Shell.execCommand(Shell.java:706)
at org.apache.accumulo.shell.ShellTest.exec(ShellTest.java:97)
at org.apache.accumulo.shell.ShellTest.exec(ShellTest.java:101)
at org.apache.accumulo.shell.ShellTest.duPatternTest(ShellTest.java:236)
aboutTest(org.apache.accumulo.shell.ShellTest) Time elapsed: 0.006 sec <<< ERROR!
java.lang.NullPointerException: null
at org.apache.accumulo.shell.Shell.getDefaultPrompt(Shell.java:702)
at org.apache.accumulo.shell.Shell.execCommand(Shell.java:706)
at org.apache.accumulo.shell.ShellTest.exec(ShellTest.java:97)
at org.apache.accumulo.shell.ShellTest.exec(ShellTest.java:113)
at org.apache.accumulo.shell.ShellTest.exec(ShellTest.java:109)
at org.apache.accumulo.shell.ShellTest.aboutTest(ShellTest.java:155)
duTest(org.apache.accumulo.shell.ShellTest) Time elapsed: 0.006 sec <<< ERROR!
java.lang.NullPointerException: null
at org.apache.accumulo.shell.Shell.getDefaultPrompt(Shell.java:702)
at org.apache.accumulo.shell.Shell.execCommand(Shell.java:706)
at org.apache.accumulo.shell.ShellTest.exec(ShellTest.java:97)
at org.apache.accumulo.shell.ShellTest.exec(ShellTest.java:101)
at org.apache.accumulo.shell.ShellTest.duTest(ShellTest.java:228)
setIterTest(org.apache.accumulo.shell.ShellTest) Time elapsed: 0.006 sec <<< ERROR!
java.lang.NullPointerException: null
at org.apache.accumulo.shell.Shell.getDefaultPrompt(Shell.java:702)
at org.apache.accumulo.shell.Shell.execCommand(Shell.java:706)
at org.apache.accumulo.shell.ShellTest.exec(ShellTest.java:97)
at org.apache.accumulo.shell.ShellTest.exec(ShellTest.java:101)
at org.apache.accumulo.shell.ShellTest.setIterTest(ShellTest.java:273)
insertDeleteScanTest(org.apache.accumulo.shell.ShellTest) Time elapsed: 0.006 sec <<< ERROR!
java.lang.NullPointerException: null
at org.apache.accumulo.shell.Shell.getDefaultPrompt(Shell.java:702)
at org.apache.accumulo.shell.Shell.execCommand(Shell.java:706)
at org.apache.accumulo.shell.ShellTest.exec(ShellTest.java:97)
at org.apache.accumulo.shell.ShellTest.exec(ShellTest.java:113)
at org.apache.accumulo.shell.ShellTest.exec(ShellTest.java:109)
at org.apache.accumulo.shell.ShellTest.insertDeleteScanTest(ShellTest.java:173)
addGetSplitsTest(org.apache.accumulo.shell.ShellTest) Time elapsed: 0.007 sec <<< ERROR!
java.lang.NullPointerException: null
at org.apache.accumulo.shell.Shell.getDefaultPrompt(Shell.java:702)
at org.apache.accumulo.shell.Shell.execCommand(Shell.java:706)
at org.apache.accumulo.shell.ShellTest.exec(ShellTest.java:97)
at org.apache.accumulo.shell.ShellTest.exec(ShellTest.java:113)
at org.apache.accumulo.shell.ShellTest.exec(ShellTest.java:109)
at org.apache.accumulo.shell.ShellTest.addGetSplitsTest(ShellTest.java:163)
duContextTest(org.apache.accumulo.shell.ShellTest) Time elapsed: 0.007 sec <<< ERROR!
java.lang.NullPointerException: null
at org.apache.accumulo.shell.Shell.getDefaultPrompt(Shell.java:702)
at org.apache.accumulo.shell.Shell.execCommand(Shell.java:706)
at org.apache.accumulo.shell.ShellTest.exec(ShellTest.java:97)
at org.apache.accumulo.shell.ShellTest.exec(ShellTest.java:101)
at org.apache.accumulo.shell.ShellTest.duContextTest(ShellTest.java:220)
scanDateStringFormatterTest(org.apache.accumulo.shell.ShellTest) Time elapsed: 0.006 sec <<< ERROR!
java.lang.NullPointerException: null
at org.apache.accumulo.shell.Shell.getDefaultPrompt(Shell.java:702)
at org.apache.accumulo.shell.Shell.execCommand(Shell.java:706)
at org.apache.accumulo.shell.ShellTest.exec(ShellTest.java:97)
at org.apache.accumulo.shell.ShellTest.exec(ShellTest.java:101)
at org.apache.accumulo.shell.ShellTest.scanDateStringFormatterTest(ShellTest.java:246)
authsTest(org.apache.accumulo.shell.ShellTest) Time elapsed: 0.005 sec <<< ERROR!
java.lang.NullPointerException: null
at org.apache.accumulo.shell.Shell.getDefaultPrompt(Shell.java:702)
at org.apache.accumulo.shell.Shell.execCommand(Shell.java:706)
at org.apache.accumulo.shell.ShellTest.exec(ShellTest.java:97)
at org.apache.accumulo.shell.ShellTest.exec(ShellTest.java:113)
at org.apache.accumulo.shell.ShellTest.exec(ShellTest.java:109)
at org.apache.accumulo.shell.ShellTest.authsTest(ShellTest.java:198)
execFileTest(org.apache.accumulo.shell.ShellTest) Time elapsed: 0.023 sec <<< ERROR!
java.lang.NullPointerException: null
at org.apache.accumulo.shell.Shell.printInfo(Shell.java:668)
at org.apache.accumulo.shell.Shell.start(Shell.java:575)
at org.apache.accumulo.shell.ShellTest.execFileTest(ShellTest.java:266)
commentTest(org.apache.accumulo.shell.ShellTest) Time elapsed: 0.005 sec <<< ERROR!
java.lang.NullPointerException: null
at org.apache.accumulo.shell.Shell.getDefaultPrompt(Shell.java:702)
at org.apache.accumulo.shell.Shell.execCommand(Shell.java:706)
at org.apache.accumulo.shell.ShellTest.exec(ShellTest.java:97)
at org.apache.accumulo.shell.ShellTest.exec(ShellTest.java:113)
at org.apache.accumulo.shell.ShellTest.commentTest(ShellTest.java:257)
{noformat}
If I don't remember to comment out {{instance.rpc.sasl.enabled}} in {{~/.accumulo/config}} before building, these tests will consistently fail. See if there's a way to make them not fail.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)