jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Dürig (JIRA) <j...@apache.org>
Subject [jira] [Commented] (OAK-3753) Test failure: HeavyWriteIT
Date Mon, 18 Jul 2016 14:36:20 GMT

    [ https://issues.apache.org/jira/browse/OAK-3753?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15382366#comment-15382366
] 

Michael Dürig commented on OAK-3753:
------------------------------------

This is scary:

{code}
java.lang.IllegalStateException: Invalid segment format. Dumping segment 5e9e2c92-b53d-4efb-a6b3-7df5e01a174c
00000000 64 61 74 61 30 30 30 31 37 61 2E 74 61 72 2E 69 data00017a.tar.i
00000010 64 78 00 00 00 00 00 00 00 00 00 00 00 00 00 00 dx..............
00000020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
{code}

This segment buffer is completely corrupted. My closest bet so far would be that we are dealing
with a uninitialised buffer here caused by some race condition. 

[~edivad], did you always get the same behaviour when the test failed? Could you share the
logs here when it fails again?

[~frm] FYI

> Test failure: HeavyWriteIT
> --------------------------
>
>                 Key: OAK-3753
>                 URL: https://issues.apache.org/jira/browse/OAK-3753
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: segmentmk
>         Environment: Jenkins, Ubuntu: https://builds.apache.org/job/Apache%20Jackrabbit%20Oak%20matrix/
>            Reporter: Michael Dürig
>            Assignee: Michael Dürig
>              Labels: ci, jenkins
>             Fix For: 1.6
>
>         Attachments: build-1467624994.log.gz
>
>
> {{org.apache.jackrabbit.oak.plugins.segment.HeavyWriteIT}} failed on Jenkins:
> {noformat}
> heavyWrite[usePersistedMap: false](org.apache.jackrabbit.oak.plugins.segment.HeavyWriteIT)
 Time elapsed: 106.519 sec  <<< ERROR!
> java.lang.IllegalStateException
> 	at com.google.common.base.Preconditions.checkState(Preconditions.java:134)
> 	at org.apache.jackrabbit.oak.plugins.segment.Segment.<init>(Segment.java:214)
> 	at org.apache.jackrabbit.oak.plugins.segment.Segment.<init>(Segment.java:198)
> 	at org.apache.jackrabbit.oak.plugins.segment.file.FileStore.readSegment(FileStore.java:1177)
> 	at org.apache.jackrabbit.oak.plugins.segment.SegmentTracker.readSegment(SegmentTracker.java:224)
> 	at org.apache.jackrabbit.oak.plugins.segment.SegmentId.getSegment(SegmentId.java:149)
> 	at org.apache.jackrabbit.oak.plugins.segment.RecordId.getSegment(RecordId.java:88)
> 	at org.apache.jackrabbit.oak.plugins.segment.Segment.readTemplate(Segment.java:506)
> 	at org.apache.jackrabbit.oak.plugins.segment.SegmentNodeState.getTemplate(SegmentNodeState.java:79)
> 	at org.apache.jackrabbit.oak.plugins.segment.SegmentNodeState.getChildNode(SegmentNodeState.java:381)
> 	at org.apache.jackrabbit.oak.plugins.memory.MemoryNodeBuilder$UnconnectedHead.update(MemoryNodeBuilder.java:651)
> 	at org.apache.jackrabbit.oak.plugins.memory.MemoryNodeBuilder$ConnectedHead.update(MemoryNodeBuilder.java:729)
> 	at org.apache.jackrabbit.oak.plugins.memory.MemoryNodeBuilder.head(MemoryNodeBuilder.java:171)
> 	at org.apache.jackrabbit.oak.plugins.memory.MemoryNodeBuilder.access$300(MemoryNodeBuilder.java:88)
> 	at org.apache.jackrabbit.oak.plugins.memory.MemoryNodeBuilder$UnconnectedHead.update(MemoryNodeBuilder.java:650)
> 	at org.apache.jackrabbit.oak.plugins.memory.MemoryNodeBuilder$ConnectedHead.update(MemoryNodeBuilder.java:729)
> 	at org.apache.jackrabbit.oak.plugins.memory.MemoryNodeBuilder.head(MemoryNodeBuilder.java:171)
> 	at org.apache.jackrabbit.oak.plugins.memory.MemoryNodeBuilder.exists(MemoryNodeBuilder.java:273)
> 	at org.apache.jackrabbit.oak.plugins.memory.MemoryNodeBuilder.setProperty(MemoryNodeBuilder.java:506)
> 	at org.apache.jackrabbit.oak.plugins.memory.MemoryNodeBuilder.setProperty(MemoryNodeBuilder.java:515)
> 	at org.apache.jackrabbit.oak.plugins.segment.HeavyWriteIT.createProperties(HeavyWriteIT.java:156)
> 	at org.apache.jackrabbit.oak.plugins.segment.HeavyWriteIT.createNodes(HeavyWriteIT.java:148)
> 	at org.apache.jackrabbit.oak.plugins.segment.HeavyWriteIT.createNodes(HeavyWriteIT.java:149)
> 	at org.apache.jackrabbit.oak.plugins.segment.HeavyWriteIT.heavyWrite(HeavyWriteIT.java:129)
> {noformat}
> Seen at build 597



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message