Hi Rob,

I get a different error now running 'mvn clean install site
-Danimal.sniffer.skip':

[INFO] Checking out dist from: scm:svn:https://dist.apache.
org/repos/dist/dev/commons/release-plugin
Executing: cmd.exe /X /C "svn --non-interactive checkout
https://dist.apache.org/repos/dist/dev/commons/release-plugin
C:\vcs\git\apache\commons\commons-release-plugin\target\
testing-commons-release-plugin\scm"
Working directory: C:\vcs\git\apache\commons\commons-release-plugin\target\
testing-commons-release-plugin
[INFO] Copying RELEASE-NOTES.txt to working directory.
[ERROR] Could not build HEADER and README html files
java.nio.file.FileSystemException: C:\vcs\git\apache\commons\
commons-release-plugin\target\testing-commons-release-plugin\scm\source\HEADER.html:
A required privilege is not held by the client.

        at sun.nio.fs.WindowsException.translateToIOException(
WindowsException.java:86)
        at sun.nio.fs.WindowsException.rethrowAsIOException(
WindowsException.java:97)
        at sun.nio.fs.WindowsException.rethrowAsIOException(
WindowsException.java:102)
        at sun.nio.fs.WindowsFileSystemProvider.createSymbolicLink(
WindowsFileSystemProvider.java:585)
        at java.nio.file.Files.createSymbolicLink(Files.java:1043)
        at org.apache.commons.release.plugin.mojos.
CommonsDistributionStagingMojo.buildSymbolicLinks(
CommonsDistributionStagingMojo.java:342)
        at org.apache.commons.release.plugin.mojos.
CommonsDistributionStagingMojo.buildReadmeAndHeaderHtmlFiles(
CommonsDistributionStagingMojo.java:319)
        at org.apache.commons.release.plugin.mojos.
CommonsDistributionStagingMojo.copyDistributionsIntoScmDirectoryStructure(
CommonsDistributionStagingMojo.java:274)
        at org.apache.commons.release.plugin.mojos.
CommonsDistributionStagingMojo.execute(CommonsDistributionStagingMojo
.java:164)
        at org.apache.commons.release.plugin.mojos.
CommonsDistributionStagingMojoTest.testSuccess(
CommonsDistributionStagingMojoTest.java:77)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(
FrameworkMethod.java:50)
        at org.junit.internal.runners.model.ReflectiveCallable.run(
ReflectiveCallable.java:12)
        at org.junit.runners.model.FrameworkMethod.invokeExplosively(
FrameworkMethod.java:47)
        at org.junit.internal.runners.statements.InvokeMethod.
evaluate(InvokeMethod.java:17)
        at org.junit.internal.runners.statements.RunBefores.
evaluate(RunBefores.java:26)
        at org.apache.maven.plugin.testing.MojoRule$2.evaluate(
MojoRule.java:308)
        at org.junit.rules.RunRules.evaluate(RunRules.java:20)
        at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
        at org.junit.runners.BlockJUnit4ClassRunner.runChild(
BlockJUnit4ClassRunner.java:78)
        at org.junit.runners.BlockJUnit4ClassRunner.runChild(
BlockJUnit4ClassRunner.java:57)
        at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
        at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
        at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
        at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
        at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
        at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
        at org.apache.maven.surefire.junit4.JUnit4Provider.execute(
JUnit4Provider.java:365)
        at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(
JUnit4Provider.java:273)
        at org.apache.maven.surefire.junit4.JUnit4Provider.
executeTestSet(JUnit4Provider.java:238)
        at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(
JUnit4Provider.java:159)
        at org.apache.maven.surefire.booter.ForkedBooter.
invokeProviderInSameClassLoader(ForkedBooter.java:379)
        at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(
ForkedBooter.java:340)
        at org.apache.maven.surefire.booter.ForkedBooter.execute(
ForkedBooter.java:125)
        at org.apache.maven.surefire.booter.ForkedBooter.main(
ForkedBooter.java:413)
[ERROR] Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed:
2.273 s <<< FAILURE! - in org.apache.commons.release.plugin.mojos.
CommonsDistributionStagingMojoTest
[ERROR] testSuccess(org.apache.commons.release.plugin.mojos.
CommonsDistributionStagingMojoTest)  Time elapsed: 2.117 s  <<< ERROR!
org.apache.maven.plugin.MojoExecutionException: Could not build HEADER and
README html files
        at org.apache.commons.release.plugin.mojos.
CommonsDistributionStagingMojoTest.testSuccess(
CommonsDistributionStagingMojoTest.java:77)
Caused by: java.nio.file.FileSystemException:
C:\vcs\git\apache\commons\commons-release-plugin\target\
testing-commons-release-plugin\scm\source\HEADER.html: A required privilege
is not held by the client.

        at org.apache.commons.release.plugin.mojos.
CommonsDistributionStagingMojoTest.testSuccess(
CommonsDistributionStagingMojoTest.java:77)

Using:

Apache Maven 3.5.3 (3383c37e1f9e9b3bc3df5050c29c8aff9f295297;
2018-02-24T12:49:05-07:00)
Maven home: C:\Java\apache-maven-3.5.3\bin\..
Java version: 1.8.0_172, vendor: Oracle Corporation
Java home: C:\Program Files\Java\jdk1.8.0_172\jre
Default locale: en_US, platform encoding: Cp1252
OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"

Gary


On Mon, May 28, 2018 at 7:21 AM, Rob Tompkins <chtom...@gmail.com> wrote:

> Curious looks like my test tars/zips didn’t get committed.
>
> Let me do that.
>
> > On May 26, 2018, at 10:46 AM, Gary Gregory <garydgreg...@gmail.com>
> wrote:
> >
> > Hi Rob and All,
> >
> > When I run 'mvn clean install site -Danimal.sniffer.skip', I get unit
> test
> > failures:
> >
> > [INFO] -------------------------------------------------------
> > [INFO]  T E S T S
> > [INFO] -------------------------------------------------------
> > [INFO] Running
> > org.apache.commons.release.plugin.mojos.CommonsDistributionDetachmentM
> ojoTest
> > SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
> > SLF4J: Defaulting to no-operation (NOP) logger implementation
> > SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for
> further
> > details.
> > [WARNING] commons.distSvnStagingUrl is not set, the
> commons-release-plugin
> > will not run.
> > [INFO] Detaching Assemblies
> > [ERROR] Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed:
> > 3.886 s <<< FAILURE! - in
> > org.apache.commons.release.plugin.mojos.CommonsDistributionDetachmentM
> ojoTest
> > [ERROR]
> > testSuccess(org.apache.commons.release.plugin.mojos.
> CommonsDistributionDetachmentMojoTest)
> > Time elapsed: 0.052 s  <<< ERROR!
> > org.apache.maven.plugin.MojoExecutionException: Could not find artifact
> > signature for: mockAttachedTar-null type: tar.gz
> >        at
> > org.apache.commons.release.plugin.mojos.CommonsDistributionDetachmentM
> ojoTest.testSuccess(CommonsDistributionDetachmentMojoTest.java:67)
> > Caused by: java.io.FileNotFoundException:
> > src\test\resources\mojos\detach-distributions\target\
> mockAttachedTar-src.tar.gz
> > (The system cannot find the file specified)
> >        at
> > org.apache.commons.release.plugin.mojos.CommonsDistributionDetachmentM
> ojoTest.testSuccess(CommonsDistributionDetachmentMojoTest.java:67)
> >
> > [INFO] Running
> > org.apache.commons.release.plugin.mojos.CommonsDistributionStagingMojo
> Test
> > [INFO] This module is marked as a non distribution or assembly module,
> and
> > the plugin will not run.
> > [INFO] Detaching Assemblies
> > [ERROR] Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed:
> > 0.017 s <<< FAILURE! - in
> > org.apache.commons.release.plugin.mojos.CommonsDistributionStagingMojo
> Test
> > [ERROR]
> > testSuccess(org.apache.commons.release.plugin.mojos.
> CommonsDistributionStagingMojoTest)
> > Time elapsed: 0.005 s  <<< ERROR!
> > org.apache.maven.plugin.MojoExecutionException: Could not find artifact
> > signature for: mockAttachedTar-null type: tar.gz
> >        at
> > org.apache.commons.release.plugin.mojos.CommonsDistributionStagingMojo
> Test.testSuccess(CommonsDistributionStagingMojoTest.java:74)
> > Caused by: java.io.FileNotFoundException:
> > src\test\resources\mojos\detach-distributions\target\
> mockAttachedTar-src.tar.gz
> > (The system cannot find the file specified)
> >        at
> > org.apache.commons.release.plugin.mojos.CommonsDistributionStagingMojo
> Test.testSuccess(CommonsDistributionStagingMojoTest.java:74)
> >
> > [INFO] Running
> > org.apache.commons.release.plugin.mojos.CommonsSiteCompressionMojoTest
> > [ERROR] "mvn site" was not run before this goal, or a siteDirectory did
> not
> > exist.
> > [INFO] Current project contains no distributions. Not executing.
> > [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
> > 0.014 s - in
> > org.apache.commons.release.plugin.mojos.CommonsSiteCompressionMojoTest
> > [INFO] Running
> > org.apache.commons.release.plugin.velocity.
> HeaderHtmlVelocityDelegateTest
> > [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
> > 0.009 s - in
> > org.apache.commons.release.plugin.velocity.
> HeaderHtmlVelocityDelegateTest
> > [INFO] Running
> > org.apache.commons.release.plugin.velocity.
> ReadmeHtmlVelocityDelegateTest
> > [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
> > 0.004 s - in
> > org.apache.commons.release.plugin.velocity.
> ReadmeHtmlVelocityDelegateTest
> > [INFO]
> > [INFO] Results:
> > [INFO]
> > [ERROR] Errors:
> > [ERROR]   CommonsDistributionDetachmentMojoTest.testSuccess:67 »
> > MojoExecution Could not...
> > [ERROR]   CommonsDistributionStagingMojoTest.testSuccess:74 »
> MojoExecution
> > Could not fi...
> > [INFO]
> > [ERROR] Tests run: 9, Failures: 0, Errors: 2, Skipped: 0
> > [INFO]
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] BUILD FAILURE
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Total time: 19.574 s
> > [INFO] Finished at: 2018-05-26T08:35:04-06:00
> > [INFO]
> > ------------------------------------------------------------------------
> > [ERROR] Failed to execute goal
> > org.apache.maven.plugins:maven-surefire-plugin:2.21.0:test
> (default-test)
> > on project commons-release-plugin: There are test failures.
> >
> > Any ideas on how to fix that?
> >
> > Gary
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
> For additional commands, e-mail: dev-h...@commons.apache.org
>
>

Reply via email to