cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joshua McKenzie (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-8308) Windows: Commitlog access violations on unit tests
Date Mon, 09 Feb 2015 21:40:35 GMT


Joshua McKenzie commented on CASSANDRA-8308:

I was able to reproduce the CI issues on my local machine once, so this isn't CI-specific.

As per some offline discussion, I went ahead and threw together a version that integrates
stopping and starting the AbstractCommitLogExecutorService into the mix in the off chance
part of our failure is that the ACLE is futzing with files at the time we go to delete them.
 I did a full 10 runs of our unit tests on trunk on my local win7 install with 0 unit test

[~snazy]: branch is [here|]
if you wouldn't mind taking a look (was your idea after all:)).  [~enigmacurry]: would it
be possible to have our CI windows server do a run against that branch to see if it resolves
the issues there?  Our CI environment appears to be racing / failing on every run (as opposed
to 1 out of 8 attempts to retry on my local this morning).

> Windows: Commitlog access violations on unit tests
> --------------------------------------------------
>                 Key: CASSANDRA-8308
>                 URL:
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Joshua McKenzie
>            Assignee: Joshua McKenzie
>            Priority: Minor
>              Labels: Windows
>             Fix For: 3.0
>         Attachments: 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 FAILED
> [junit] Test 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(
>     [junit]     at sun.nio.fs.WindowsException.rethrowAsIOException(
>     [junit]     at sun.nio.fs.WindowsException.rethrowAsIOException(
>     [junit]     at sun.nio.fs.WindowsFileSystemProvider.implDelete(
>     [junit]     at sun.nio.fs.AbstractFileSystemProvider.delete(
>     [junit]     at java.nio.file.Files.delete(
>     [junit]     at
> {noformat}

This message was sent by Atlassian JIRA

View raw message