cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Caleb William Rackliffe (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-7480) CommitLogTest.testCommitFailurePolicy_stop Fails w/ NPE
Date Tue, 01 Jul 2014 01:06:24 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-7480?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Caleb William Rackliffe updated CASSANDRA-7480:
-----------------------------------------------

    Description: 
1.) Check out trunk [~commit-tag-bot]
2.) run {{ant test}} from the project root
3.) Observe...
{noformat}
Testsuite: org.apache.cassandra.db.CommitLogTest
Tests run: 14, Failures: 0, Errors: 1, Time elapsed: 1.891 sec

------------- Standard Output ---------------
WARN  00:44:47 Couldn't open /proc/stats
WARN  00:44:47 Couldn't open /proc/stats
WARN  00:44:47 JNA link failure, one or more native method will be unavailable.
WARN  00:44:47 JNA link failure, one or more native method will be unavailable.
WARN  00:44:48 Encountered bad header at position 16 of Commit log /var/folders/bg/r0bzhsj50rj2gxntn7ddmgt80000gn/T/CommitLog-4-6714392903486597656.log;
not enough room for a header
WARN  00:44:48 Encountered bad header at position 16 of Commit log /var/folders/bg/r0bzhsj50rj2gxntn7ddmgt80000gn/T/CommitLog-4-6714392903486597656.log;
not enough room for a header
WARN  00:44:48 Encountered bad header at position 16 of Commit log /var/folders/bg/r0bzhsj50rj2gxntn7ddmgt80000gn/T/CommitLog-4-3130605652588023504.log;
not enough room for a header
WARN  00:44:48 Encountered bad header at position 16 of Commit log /var/folders/bg/r0bzhsj50rj2gxntn7ddmgt80000gn/T/CommitLog-4-3130605652588023504.log;
not enough room for a header
WARN  00:44:48 Encountered bad header at position 16 of Commit log /var/folders/bg/r0bzhsj50rj2gxntn7ddmgt80000gn/T/CommitLog-4-7416815543415721780.log;
not enough room for a header
WARN  00:44:48 Encountered bad header at position 16 of Commit log /var/folders/bg/r0bzhsj50rj2gxntn7ddmgt80000gn/T/CommitLog-4-7416815543415721780.log;
not enough room for a header
WARN  00:44:48 Encountered bad header at position 16 of Commit log /var/folders/bg/r0bzhsj50rj2gxntn7ddmgt80000gn/T/CommitLog-4-2864073117299213590.log;
not enough room for a header
WARN  00:44:48 Encountered bad header at position 16 of Commit log /var/folders/bg/r0bzhsj50rj2gxntn7ddmgt80000gn/T/CommitLog-4-2864073117299213590.log;
not enough room for a header
WARN  00:44:48 Encountered bad header at position 16 of commit log /var/folders/bg/r0bzhsj50rj2gxntn7ddmgt80000gn/T/CommitLog-4-908098755907065048.log,
with invalid CRC. The end of segment marker should be zero.
WARN  00:44:48 Encountered bad header at position 16 of commit log /var/folders/bg/r0bzhsj50rj2gxntn7ddmgt80000gn/T/CommitLog-4-908098755907065048.log,
with invalid CRC. The end of segment marker should be zero.
WARN  00:44:48 Encountered bad header at position 16 of Commit log /var/folders/bg/r0bzhsj50rj2gxntn7ddmgt80000gn/T/CommitLog-4-2921422245890190390.log;
not enough room for a header
WARN  00:44:48 Encountered bad header at position 16 of Commit log /var/folders/bg/r0bzhsj50rj2gxntn7ddmgt80000gn/T/CommitLog-4-2921422245890190390.log;
not enough room for a header
WARN  00:44:48 Encountered bad header at position 16 of Commit log /var/folders/bg/r0bzhsj50rj2gxntn7ddmgt80000gn/T/CommitLog-4-2938149009734594039.log;
not enough room for a header
WARN  00:44:48 Encountered bad header at position 16 of Commit log /var/folders/bg/r0bzhsj50rj2gxntn7ddmgt80000gn/T/CommitLog-4-2938149009734594039.log;
not enough room for a header
------------- ---------------- ---------------
Testcase: testCommitFailurePolicy_stop(org.apache.cassandra.db.CommitLogTest):	Caused an ERROR
null
java.lang.NullPointerException
	at org.apache.cassandra.db.Mutation.addOrGet(Mutation.java:160)
	at org.apache.cassandra.db.Mutation.addOrGet(Mutation.java:155)
	at org.apache.cassandra.db.Mutation.add(Mutation.java:176)
	at org.apache.cassandra.db.Mutation.add(Mutation.java:186)
	at org.apache.cassandra.db.CommitLogTest.testCommitFailurePolicy_stop(CommitLogTest.java:301)


Test org.apache.cassandra.db.CommitLogTest FAILED
{noformat}

  was:
1.) Check out trunk [~commit-tag-bot]
2.) run {{ant test}} from the project root
3.) Observe...

{{Testsuite: org.apache.cassandra.db.CommitLogTest
Tests run: 14, Failures: 0, Errors: 1, Time elapsed: 1.891 sec

------------- Standard Output ---------------
WARN  00:44:47 Couldn't open /proc/stats
WARN  00:44:47 Couldn't open /proc/stats
WARN  00:44:47 JNA link failure, one or more native method will be unavailable.
WARN  00:44:47 JNA link failure, one or more native method will be unavailable.
WARN  00:44:48 Encountered bad header at position 16 of Commit log /var/folders/bg/r0bzhsj50rj2gxntn7ddmgt80000gn/T/CommitLog-4-6714392903486597656.log;
not enough room for a header
WARN  00:44:48 Encountered bad header at position 16 of Commit log /var/folders/bg/r0bzhsj50rj2gxntn7ddmgt80000gn/T/CommitLog-4-6714392903486597656.log;
not enough room for a header
WARN  00:44:48 Encountered bad header at position 16 of Commit log /var/folders/bg/r0bzhsj50rj2gxntn7ddmgt80000gn/T/CommitLog-4-3130605652588023504.log;
not enough room for a header
WARN  00:44:48 Encountered bad header at position 16 of Commit log /var/folders/bg/r0bzhsj50rj2gxntn7ddmgt80000gn/T/CommitLog-4-3130605652588023504.log;
not enough room for a header
WARN  00:44:48 Encountered bad header at position 16 of Commit log /var/folders/bg/r0bzhsj50rj2gxntn7ddmgt80000gn/T/CommitLog-4-7416815543415721780.log;
not enough room for a header
WARN  00:44:48 Encountered bad header at position 16 of Commit log /var/folders/bg/r0bzhsj50rj2gxntn7ddmgt80000gn/T/CommitLog-4-7416815543415721780.log;
not enough room for a header
WARN  00:44:48 Encountered bad header at position 16 of Commit log /var/folders/bg/r0bzhsj50rj2gxntn7ddmgt80000gn/T/CommitLog-4-2864073117299213590.log;
not enough room for a header
WARN  00:44:48 Encountered bad header at position 16 of Commit log /var/folders/bg/r0bzhsj50rj2gxntn7ddmgt80000gn/T/CommitLog-4-2864073117299213590.log;
not enough room for a header
WARN  00:44:48 Encountered bad header at position 16 of commit log /var/folders/bg/r0bzhsj50rj2gxntn7ddmgt80000gn/T/CommitLog-4-908098755907065048.log,
with invalid CRC. The end of segment marker should be zero.
WARN  00:44:48 Encountered bad header at position 16 of commit log /var/folders/bg/r0bzhsj50rj2gxntn7ddmgt80000gn/T/CommitLog-4-908098755907065048.log,
with invalid CRC. The end of segment marker should be zero.
WARN  00:44:48 Encountered bad header at position 16 of Commit log /var/folders/bg/r0bzhsj50rj2gxntn7ddmgt80000gn/T/CommitLog-4-2921422245890190390.log;
not enough room for a header
WARN  00:44:48 Encountered bad header at position 16 of Commit log /var/folders/bg/r0bzhsj50rj2gxntn7ddmgt80000gn/T/CommitLog-4-2921422245890190390.log;
not enough room for a header
WARN  00:44:48 Encountered bad header at position 16 of Commit log /var/folders/bg/r0bzhsj50rj2gxntn7ddmgt80000gn/T/CommitLog-4-2938149009734594039.log;
not enough room for a header
WARN  00:44:48 Encountered bad header at position 16 of Commit log /var/folders/bg/r0bzhsj50rj2gxntn7ddmgt80000gn/T/CommitLog-4-2938149009734594039.log;
not enough room for a header
------------- ---------------- ---------------
Testcase: testCommitFailurePolicy_stop(org.apache.cassandra.db.CommitLogTest):	Caused an ERROR
null
java.lang.NullPointerException
	at org.apache.cassandra.db.Mutation.addOrGet(Mutation.java:160)
	at org.apache.cassandra.db.Mutation.addOrGet(Mutation.java:155)
	at org.apache.cassandra.db.Mutation.add(Mutation.java:176)
	at org.apache.cassandra.db.Mutation.add(Mutation.java:186)
	at org.apache.cassandra.db.CommitLogTest.testCommitFailurePolicy_stop(CommitLogTest.java:301)


Test org.apache.cassandra.db.CommitLogTest FAILED}}


> CommitLogTest.testCommitFailurePolicy_stop Fails w/ NPE
> -------------------------------------------------------
>
>                 Key: CASSANDRA-7480
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-7480
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core, Tests
>         Environment: java version "1.7.0_51"
> Java(TM) SE Runtime Environment (build 1.7.0_51-b13)
> Java HotSpot(TM) 64-Bit Server VM (build 24.51-b03, mixed mode)
> Apache Ant(TM) version 1.9.4 compiled on April 29 2014
> Mac OS 10.9.3
> (Darwin shiftbook.local 13.2.0 Darwin Kernel Version 13.2.0: Thu Apr 17 23:03:13 PDT
2014; root:xnu-2422.100.13~1/RELEASE_X86_64 x86_64)
>            Reporter: Caleb William Rackliffe
>
> 1.) Check out trunk [~commit-tag-bot]
> 2.) run {{ant test}} from the project root
> 3.) Observe...
> {noformat}
> Testsuite: org.apache.cassandra.db.CommitLogTest
> Tests run: 14, Failures: 0, Errors: 1, Time elapsed: 1.891 sec
> ------------- Standard Output ---------------
> WARN  00:44:47 Couldn't open /proc/stats
> WARN  00:44:47 Couldn't open /proc/stats
> WARN  00:44:47 JNA link failure, one or more native method will be unavailable.
> WARN  00:44:47 JNA link failure, one or more native method will be unavailable.
> WARN  00:44:48 Encountered bad header at position 16 of Commit log /var/folders/bg/r0bzhsj50rj2gxntn7ddmgt80000gn/T/CommitLog-4-6714392903486597656.log;
not enough room for a header
> WARN  00:44:48 Encountered bad header at position 16 of Commit log /var/folders/bg/r0bzhsj50rj2gxntn7ddmgt80000gn/T/CommitLog-4-6714392903486597656.log;
not enough room for a header
> WARN  00:44:48 Encountered bad header at position 16 of Commit log /var/folders/bg/r0bzhsj50rj2gxntn7ddmgt80000gn/T/CommitLog-4-3130605652588023504.log;
not enough room for a header
> WARN  00:44:48 Encountered bad header at position 16 of Commit log /var/folders/bg/r0bzhsj50rj2gxntn7ddmgt80000gn/T/CommitLog-4-3130605652588023504.log;
not enough room for a header
> WARN  00:44:48 Encountered bad header at position 16 of Commit log /var/folders/bg/r0bzhsj50rj2gxntn7ddmgt80000gn/T/CommitLog-4-7416815543415721780.log;
not enough room for a header
> WARN  00:44:48 Encountered bad header at position 16 of Commit log /var/folders/bg/r0bzhsj50rj2gxntn7ddmgt80000gn/T/CommitLog-4-7416815543415721780.log;
not enough room for a header
> WARN  00:44:48 Encountered bad header at position 16 of Commit log /var/folders/bg/r0bzhsj50rj2gxntn7ddmgt80000gn/T/CommitLog-4-2864073117299213590.log;
not enough room for a header
> WARN  00:44:48 Encountered bad header at position 16 of Commit log /var/folders/bg/r0bzhsj50rj2gxntn7ddmgt80000gn/T/CommitLog-4-2864073117299213590.log;
not enough room for a header
> WARN  00:44:48 Encountered bad header at position 16 of commit log /var/folders/bg/r0bzhsj50rj2gxntn7ddmgt80000gn/T/CommitLog-4-908098755907065048.log,
with invalid CRC. The end of segment marker should be zero.
> WARN  00:44:48 Encountered bad header at position 16 of commit log /var/folders/bg/r0bzhsj50rj2gxntn7ddmgt80000gn/T/CommitLog-4-908098755907065048.log,
with invalid CRC. The end of segment marker should be zero.
> WARN  00:44:48 Encountered bad header at position 16 of Commit log /var/folders/bg/r0bzhsj50rj2gxntn7ddmgt80000gn/T/CommitLog-4-2921422245890190390.log;
not enough room for a header
> WARN  00:44:48 Encountered bad header at position 16 of Commit log /var/folders/bg/r0bzhsj50rj2gxntn7ddmgt80000gn/T/CommitLog-4-2921422245890190390.log;
not enough room for a header
> WARN  00:44:48 Encountered bad header at position 16 of Commit log /var/folders/bg/r0bzhsj50rj2gxntn7ddmgt80000gn/T/CommitLog-4-2938149009734594039.log;
not enough room for a header
> WARN  00:44:48 Encountered bad header at position 16 of Commit log /var/folders/bg/r0bzhsj50rj2gxntn7ddmgt80000gn/T/CommitLog-4-2938149009734594039.log;
not enough room for a header
> ------------- ---------------- ---------------
> Testcase: testCommitFailurePolicy_stop(org.apache.cassandra.db.CommitLogTest):	Caused
an ERROR
> null
> java.lang.NullPointerException
> 	at org.apache.cassandra.db.Mutation.addOrGet(Mutation.java:160)
> 	at org.apache.cassandra.db.Mutation.addOrGet(Mutation.java:155)
> 	at org.apache.cassandra.db.Mutation.add(Mutation.java:176)
> 	at org.apache.cassandra.db.Mutation.add(Mutation.java:186)
> 	at org.apache.cassandra.db.CommitLogTest.testCommitFailurePolicy_stop(CommitLogTest.java:301)
> Test org.apache.cassandra.db.CommitLogTest FAILED
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message