cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Stupp (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (CASSANDRA-8308) Windows: Commitlog access violations on unit tests
Date Thu, 12 Feb 2015 10:45:13 GMT

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

Robert Stupp edited comment on CASSANDRA-8308 at 2/12/15 10:44 AM:
-------------------------------------------------------------------

I've taken Josh's diff from its branch and ensured that all unit tests pass.
Additionally I've setup a Jenkins instance on Linux that runs utests against my branch every
30 minutes.
Until now it made 27 builds without and failure/error. ("Only") two build failures during
these runs: one-time flappy tests:
* one TimeoutException in AggregationTest.testJavaAggregate
* one NPE in LeveledCompactionStrategyTest.testValidationMultipleSSTablePerLevel

But the TimeoutExceptions in these BeforeTest... methods are gone.
I'll leave my Jenkins instance busy so we'll have a good expectation about the patch.
Additionally I'd like to see it pass on a real Win box.


was (Author: snazy):
I've taken Josh's diff from its branch and ensured that all unit tests run.
Additionally I've setup a Jenkins instance on Linux that runs utests against my branch every
30 minutes.
Until now it made 27 builds without and failure/error. ("Only") two build failures during
with these one-time flappy tests:
* one TimeoutException in AggregationTest.testJavaAggregate
* one NPE in LeveledCompactionStrategyTest.testValidationMultipleSSTablePerLevel

But the TimeoutExceptions in these BeforeTest... methods are gone.
I'll leave my Jenkins instance busy so we'll have a good expectation about the patch.
Additionally I'd like to see it pass on a real Win box.

> Windows: Commitlog access violations on unit tests
> --------------------------------------------------
>
>                 Key: CASSANDRA-8308
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-8308
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Joshua McKenzie
>            Assignee: Joshua McKenzie
>            Priority: Minor
>              Labels: Windows
>             Fix For: 3.0
>
>         Attachments: 8308-post-fix-3.txt, 8308-post-fix.txt, 8308_v1.txt, 8308_v2.txt,
8308_v3.txt
>
>
> We have four unit tests failing on trunk on Windows, all with FileSystemException's related
to the SchemaLoader:
> {noformat}
> [junit] Test org.apache.cassandra.db.compaction.DateTieredCompactionStrategyTest FAILED
> [junit] Test org.apache.cassandra.cql3.ThriftCompatibilityTest FAILED
> [junit] Test org.apache.cassandra.io.sstable.SSTableRewriterTest FAILED
> [junit] Test org.apache.cassandra.repair.LocalSyncTaskTest FAILED
> {noformat}
> Example error:
> {noformat}
>     [junit] Caused by: java.nio.file.FileSystemException: build\test\cassandra\commitlog;0\CommitLog-5-1415908745965.log:
The process cannot access the file because it is being used by another process.
>     [junit]
>     [junit]     at sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:86)
>     [junit]     at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:97)
>     [junit]     at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:102)
>     [junit]     at sun.nio.fs.WindowsFileSystemProvider.implDelete(WindowsFileSystemProvider.java:269)
>     [junit]     at sun.nio.fs.AbstractFileSystemProvider.delete(AbstractFileSystemProvider.java:103)
>     [junit]     at java.nio.file.Files.delete(Files.java:1079)
>     [junit]     at org.apache.cassandra.io.util.FileUtils.deleteWithConfirm(FileUtils.java:125)
> {noformat}



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

Mime
View raw message