maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Scholte" <rfscho...@apache.org>
Subject Re: [VOTE] Apache Maven SCM 1.9
Date Fri, 25 Oct 2013 21:51:27 GMT
I can confirm the same issue on Windows 7.
Not being able to delete a file often means that the outputstream wasn't  
closed after writing.
The file seems to be generated by jgit, so I'm wondering if there's  
something which can be done by the scm-provider.

Robert

Op Fri, 25 Oct 2013 21:03:36 +0200 schreef Dennis Lundberg  
<dennisl@apache.org>:

> -1 at the moment.
>
> The unit tests for the new jgit provider fails on Windows.
>
> Here's the surefire summary:
>
> Tests in error:
>   JGitBranchCommandTckTest>BranchCommandTckTest.testBranchCommandTest:77
> ╗ IO Fi...
>   JGitChangeLogCommandTckTest>ScmTckTestCase.setUp:106->ScmTestCase.setUp:65
> ╗ IO
>   JGitCheckInCommandTckTest>ScmTckTestCase.setUp:106->ScmTestCase.setUp:65
> ╗ IO ...
>   JGitCheckInCommandTckTest>ScmTckTestCase.setUp:106->ScmTestCase.setUp:65
> ╗ IO ...
>   JGitCheckOutCommandTckTest>ScmTckTestCase.setUp:106->ScmTestCase.setUp:65  
> ╗ IO
>   JGitDiffCommandTckTest>ScmTckTestCase.setUp:106->ScmTestCase.setUp:65
> ╗ IO Fil...
>   JGitRemoteInfoCommandTckTest>ScmTckTestCase.setUp:106->ScmTestCase.setUp:65
> ╗ IO
>   JGitStatusCommandTckTest>ScmTckTestCase.setUp:106->ScmTestCase.setUp:65
> ╗ IO F...
>   JGitTagCommandTckTest>ScmTckTestCase.setUp:106->ScmTestCase.setUp:65
> ╗ IO File...
>
> Tests run: 9, Failures: 0, Errors: 9, Skipped: 0
>
>
> Here is the first part of the build output I get:
>
> Running  
> org.apache.maven.scm.provider.git.jgit.command.branch.JGitBranchCommandTckTest
> [INFO] cloning [master] to
> G:\apache\maven\git\maven-scm\maven-scm-providers\maven-scm-providers-git\maven-scm-provider-jgit\target\scm-test\working-copy
> remote: Counting objects: 1
> remote: Finding sources: 100% (11/11)
> remote: Getting sizes:  100% (10/10)
> remote: Compressing objects: 100% (363/363)
> Receiving objects:      100% (11/11)
> Updating references:    100% (1/1)
> [INFO] fetch url:
> file:///G:/apache/maven/git/maven-scm/maven-scm-providers/maven-scm-providers-git/maven-scm-provider-jgit/target/scm-test/repository
> [INFO] push url:
> file:///G:/apache/maven/git/maven-scm/maven-scm-providers/maven-scm-providers-git/maven-scm-provider-jgit/target/scm-test/repository
> [INFO] checkout [master] at
> G:\apache\maven\git\maven-scm\maven-scm-providers\maven-scm-providers-git\maven-scm-provider-jgit\target\scm-test\working-copy
> [INFO] created [refs/heads/test-branch]
> [INFO] push branch [test-branch] to remote...
> [INFO] fetch url:
> file:///G:/apache/maven/git/maven-scm/maven-scm-providers/maven-scm-providers-git/maven-scm-provider-jgit/target/scm-test/repository
> [INFO] push url:
> file:///G:/apache/maven/git/maven-scm/maven-scm-providers/maven-scm-providers-git/maven-scm-provider-jgit/target/scm-test/repository
> [INFO] OK - RemoteRefUpdate[remoteName=refs/heads/test-branch, OK,
> (null)...92f139dfec4d1dfb79c3cd2f94e83bf13129668b, fastForward,
> srcRef=refs/heads/test-branch, message=null]
> [INFO] commit done: commit message
> [INFO] push changes to remote... refs/heads/master:refs/heads/master
> [INFO] fetch url:
> file:///G:/apache/maven/git/maven-scm/maven-scm-providers/maven-scm-providers-git/maven-scm-provider-jgit/target/scm-test/repository
> [INFO] push url:
> file:///G:/apache/maven/git/maven-scm/maven-scm-providers/maven-scm-providers-git/maven-scm-provider-jgit/target/scm-test/repository
> [INFO] OK - RemoteRefUpdate[remoteName=refs/heads/master, OK,
> (null)...dad31f52c2e81b71c2b4954ec9e2bc6dacfe9bef, fastForward,
> srcRef=refs/heads/master, message=null]
> [INFO] cloning [master] to
> G:\apache\maven\git\maven-scm\maven-scm-providers\maven-scm-providers-git\maven-scm-provider-jgit\target\scm-test\assertion-copy
> remote: Counting objects: 1
> remote: Finding sources: 100% (14/14)
> remote: Getting sizes:  100% (12/12)
> remote: Compressing objects: 100% (363/363)
> Receiving objects:      100% (14/14)
> Resolving deltas:       100% (1/1)
> Updating references:    100% (2/2)
> [INFO] fetch url:
> file:///G:/apache/maven/git/maven-scm/maven-scm-providers/maven-scm-providers-git/maven-scm-provider-jgit/target/scm-test/repository
> [INFO] push url:
> file:///G:/apache/maven/git/maven-scm/maven-scm-providers/maven-scm-providers-git/maven-scm-provider-jgit/target/scm-test/repository
> [INFO] checkout [master] at
> G:\apache\maven\git\maven-scm\maven-scm-providers\maven-scm-providers-git\maven-scm-provider-jgit\target\scm-test\assertion-copy
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 5.656
> sec <<< FAILURE! - in
> org.apache.maven.scm.provider.git.jgit.command.branch.JGitBranchCommandTckTest
> testBranchCommandTest(org.apache.maven.scm.provider.git.jgit.command.branch.JGitBranchCommandTckTest)
>  Time elapsed: 5.602 sec  <<< ERROR!
> java.io.IOException: File
> G:\apache\maven\git\maven-scm\maven-scm-providers\maven-scm-providers-git\maven-scm-provider-jgit\target\scm-test\assertion-copy\.git\objects\pack\pack-a06d224d673591806e6a66da6d8f27915e18184d.pack
> unable to
> be deleted.
>         at  
> org.codehaus.plexus.util.FileUtils.forceDelete(FileUtils.java:1413)
>         at  
> org.codehaus.plexus.util.FileUtils.cleanDirectory(FileUtils.java:1673)
>         at  
> org.codehaus.plexus.util.FileUtils.deleteDirectory(FileUtils.java:1618)
>         at  
> org.codehaus.plexus.util.FileUtils.forceDelete(FileUtils.java:1401)
>         at  
> org.codehaus.plexus.util.FileUtils.cleanDirectory(FileUtils.java:1673)
>         at  
> org.codehaus.plexus.util.FileUtils.deleteDirectory(FileUtils.java:1618)
>         at  
> org.codehaus.plexus.util.FileUtils.forceDelete(FileUtils.java:1401)
>         at  
> org.codehaus.plexus.util.FileUtils.cleanDirectory(FileUtils.java:1673)
>         at  
> org.codehaus.plexus.util.FileUtils.deleteDirectory(FileUtils.java:1618)
>         at  
> org.codehaus.plexus.util.FileUtils.forceDelete(FileUtils.java:1401)
>         at  
> org.codehaus.plexus.util.FileUtils.cleanDirectory(FileUtils.java:1673)
>         at  
> org.codehaus.plexus.util.FileUtils.deleteDirectory(FileUtils.java:1618)
>         at  
> org.apache.maven.scm.tck.command.branch.BranchCommandTckTest.testBranchCommandTest(BranchCommandTckTest.java:77)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at  
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at  
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:592)
>         at junit.framework.TestCase.runTest(TestCase.java:168)
>         at junit.framework.TestCase.runBare(TestCase.java:134)
>         at junit.framework.TestResult$1.protect(TestResult.java:110)
>         at junit.framework.TestResult.runProtected(TestResult.java:128)
>         at junit.framework.TestResult.run(TestResult.java:113)
>         at junit.framework.TestCase.run(TestCase.java:124)
>         at junit.framework.TestSuite.runTest(TestSuite.java:243)
>         at junit.framework.TestSuite.run(TestSuite.java:238)
>         at  
> org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83)
>         at  
> org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264)
>         at  
> org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
>         at  
> org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124)
>         at  
> org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200)
>         at  
> org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)
>         at  
> org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
>
> On Thu, Oct 24, 2013 at 5:35 AM, Olivier Lamy <olamy@apache.org> wrote:
>> Hi,
>> We fixed 9 issues. The new feature is the jgit provider (based on jgit).
>> Details:  
>> http://jira.codehaus.org/secure/ReleaseNote.jspa?projectId=10527&version=18783
>>
>> Staging repository:
>> https://repository.apache.org/content/repositories/maven-027/
>> Staged site: http://maven.apache.org/scm-archives/scm-LATEST/
>>
>> Sources release:
>> https://repository.apache.org/content/repositories/maven-027/org/apache/maven/scm/maven-scm/1.9/maven-scm-1.9-source-release.zip
>>
>> Vote open for 72H
>>
>> [+1]
>> [0]
>> [-1]
>>
>>
>> Thanks
>> --
>> Olivier Lamy
>> Ecetera: http://ecetera.com.au
>> http://twitter.com/olamy | http://linkedin.com/in/olamy
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>> For additional commands, e-mail: dev-help@maven.apache.org
>>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Mime
View raw message