15:46:03.849 [test-server] DEBUG i.a.c.s.storage.system.MetaStore - Store configuration Configuration[index=0, time=1475057763849, members=[ServerMember[type=ACTIVE, status=AVAILABLE, serverAddress=localhost/127.0.0.1:5000, clientAddress=localhost/127.0.0.1:6000], ServerMember[type=ACTIVE, status=AVAILABLE, serverAddress=localhost/127.0.0.1:5001, clientAddress=localhost/127.0.0.1:6001], ServerMember[type=ACTIVE, status=AVAILABLE, serverAddress=localhost/127.0.0.1:5002, clientAddress=localhost/127.0.0.1:6002]]] 15:46:03.850 [test-server] DEBUG i.a.c.server.state.PassiveState - localhost/127.0.0.1:5000 - Received VoteRequest[term=1, candidate=1, logIndex=1, logTerm=1] 15:46:03.850 [test-server] DEBUG i.a.c.s.storage.system.MetaStore - Store term 1 15:46:03.850 [test-server] DEBUG i.a.c.s.storage.system.MetaStore - Store vote 0 15:46:03.850 [test-server] DEBUG i.a.c.server.state.ServerContext - localhost/127.0.0.1:5000 - Set term 1 15:46:03.850 [test-server] DEBUG i.a.c.server.state.PassiveState - localhost/127.0.0.1:5000 - Sent VoteResponse[status=ERROR, term=0, voted=false] Tests run: 762, Failures: 4, Errors: 0, Skipped: 7, Time elapsed: 18.941 sec <<< FAILURE! - in TestSuite testDeleteMetaStore(io.atomix.copycat.server.storage.MetaStoreTest) Time elapsed: 0.011 sec <<< FAILURE! java.lang.AssertionError: expected [0] but found [1] at io.atomix.copycat.server.storage.MetaStoreTest.testDeleteMetaStore(MetaStoreTest.java:115) cleanupStorage(io.atomix.copycat.server.storage.MetaStoreTest) Time elapsed: 0.012 sec <<< FAILURE! java.nio.file.FileSystemException: target\test-logs\54ce7efe-944a-4117-98c3-e7502965c05d\test.meta: The process cannot access the file because it is being used by another process. at io.atomix.copycat.server.storage.MetaStoreTest.cleanupStorage(MetaStoreTest.java:124) deleteDescriptor(io.atomix.copycat.server.storage.SegmentDescriptorTest) Time elapsed: 0.003 sec <<< FAILURE! java.nio.file.FileSystemException: descriptor.log: The process cannot access the file because it is being used by another process. at io.atomix.copycat.server.storage.SegmentDescriptorTest.deleteDescriptor(SegmentDescriptorTest.java:127) cleanLogDir(io.atomix.copycat.server.storage.MappedLogTest) Time elapsed: 0.002 sec <<< FAILURE! java.nio.file.FileSystemException: target\test-logs\54ce7efe-944a-4117-98c3-e7502965c05d\test.meta: The process cannot access the file because it is being used by another process. Results : Failed tests: MappedLogTest>AbstractLogTest.cleanLogDir:124 ▒ FileSystem target\test-logs\54... io.atomix.copycat.server.storage.MetaStoreTest.cleanupStorage(io.atomix.copycat.server.storage.MetaStoreTest) Run 1: MetaStoreTest.cleanupStorage:124 ▒ FileSystem target\test-logs\54ce7efe-944a-4... Run 2: PASS Run 3: PASS MetaStoreTest.testDeleteMetaStore:115 expected [0] but found [1] io.atomix.copycat.server.storage.SegmentDescriptorTest.deleteDescriptor(io.atomix.copycat.server.storage.SegmentDescriptorTest) Run 1: SegmentDescriptorTest.deleteDescriptor:127 ▒ FileSystem descriptor.log: The pr... Run 2: PASS Run 3: PASS Tests run: 758, Failures: 4, Errors: 0, Skipped: 3 [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Copycat Parent Pom ................................ SUCCESS [1.195s] [INFO] Copycat Protocol .................................. SUCCESS [5.687s] [INFO] Copycat Server .................................... FAILURE [22.569s] [INFO] Copycat Client .................................... SKIPPED [INFO] Copycat Raft Tests ................................ SKIPPED [INFO] Copycat Examples Parent ........................... SKIPPED [INFO] Copycat State Machine Example ..................... SKIPPED [INFO] Copycat Client Example ............................ SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 30.046s [INFO] Finished at: Wed Sep 28 15:46:06 IST 2016 [INFO] Final Memory: 31M/410M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test (default-test) on project copycat-server: There are test failures. [ERROR] [ERROR] Please refer to C:\Users\y2046\Documents\GitHub\copycat\server\target\surefire-reports for the individual test results. [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn -rf :copycat-server