Started calculate disk usage of build
Finished Calculation of disk usage of build in 0 seconds
Started calculate disk usage of workspace
Finished Calculation of disk usage of workspace in 0 seconds
[INFO]
[INFO] -----------------< it.tidalwave.photography:utilities >-----------------
[INFO] Building Photography Scripts - Extra Utilities 1.0-ALPHA-1-SNAPSHOT [3/6]
[INFO] from modules/ExtraUtils/pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- clean:3.1.0:clean (default-clean) @ utilities ---
[INFO]
[INFO] --- buildnumber:1.4:create (default) @ utilities ---
[INFO] ShortRevision tag detected. The value is '12'.
[INFO] Executing: /bin/sh -c cd '/var/jenkins_home/jobs/PhotographyScripts_Build_and_Test/workspace/modules/ExtraUtils' && 'git' 'rev-parse' '--verify' '--short=12' 'HEAD'
[INFO] Working directory: /var/jenkins_home/jobs/PhotographyScripts_Build_and_Test/workspace/modules/ExtraUtils
[INFO] Storing buildNumber: 97c98a5c4c88 at timestamp: 1733061518933
[WARNING] Cannot get the branch information from the git repository:
Detecting the current branch failed: fatal: ref HEAD is not a symbolic ref
[INFO] ShortRevision tag detected. The value is '12'.
[INFO] Executing: /bin/sh -c cd '/var/jenkins_home/jobs/PhotographyScripts_Build_and_Test/workspace/modules/ExtraUtils' && 'git' 'rev-parse' '--verify' '--short=12' 'HEAD'
[INFO] Working directory: /var/jenkins_home/jobs/PhotographyScripts_Build_and_Test/workspace/modules/ExtraUtils
[INFO] Storing buildScmBranch: UNKNOWN
[INFO]
[INFO] --- enforcer:3.0.0-M3:enforce (enforce-maven) @ utilities ---
[INFO]
[INFO] --- enforcer:3.0.0-M3:enforce (enforce-banned-dependencies) @ utilities ---
[INFO]
[INFO] --- antrun:3.0.0:run (generate-and-print-build-description) @ utilities ---
[INFO] Executing tasks
[INFO] [echo] DESCRIPTION: origin/master 1.0-ALPHA-1-SNAPSHOT 97c98a5c4c88
[INFO] [echo] Java Version: 21.0.5 -source 21 -target 21 -release 21
[INFO] Executed tasks
[INFO]
[INFO] --- resources:3.2.0:resources (default-resources) @ utilities ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Using 'UTF-8' encoding to copy filtered properties files.
[INFO] skip non existing resourceDirectory /var/jenkins_home/jobs/PhotographyScripts_Build_and_Test/workspace/modules/ExtraUtils/src/main/resources
[INFO]
[INFO] --- compiler:3.8.1:compile (default-compile) @ utilities ---
[WARNING] Parameter 'optimize' (user property 'maven.compiler.optimize') is deprecated: This property is a no-op in {@code javac}.
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 3 source files to /var/jenkins_home/jobs/PhotographyScripts_Build_and_Test/workspace/modules/ExtraUtils/target/classes
[INFO]
[INFO] --- resources:3.2.0:testResources (default-testResources) @ utilities ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Using 'UTF-8' encoding to copy filtered properties files.
[INFO] skip non existing resourceDirectory /var/jenkins_home/jobs/PhotographyScripts_Build_and_Test/workspace/modules/ExtraUtils/src/test/resources
[INFO]
[INFO] --- compiler:3.8.1:testCompile (default-testCompile) @ utilities ---
[WARNING] Parameter 'optimize' (user property 'maven.compiler.optimize') is deprecated: This property is a no-op in {@code javac}.
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 1 source file to /var/jenkins_home/jobs/PhotographyScripts_Build_and_Test/workspace/modules/ExtraUtils/target/test-classes
[INFO]
[INFO] --- surefire:3.0.0-M5:test (default-test) @ utilities ---
[WARNING] Parameter 'localRepository' is deprecated core expression; Avoid use of ArtifactRepository type. If you need access to local repository, switch to '${repositorySystemSession}' expression and get LRM from it instead.
[INFO]
[INFO] -------------------------------------------------------
[INFO] T E S T S
[INFO] -------------------------------------------------------
[INFO] Running it.tidalwave.io.FileUtilsTest
13:59:00.723 [main ] INFO it.tidalwave.io.FileUtilsTest - STARTING TESTS OF it.tidalwave.io.FileUtilsTest
13:59:00.783 [main ] INFO it.tidalwave.io.FileUtilsTest - *************
13:59:00.783 [main ] INFO it.tidalwave.io.FileUtilsTest - TEST "test2a"
13:59:00.783 [main ] INFO it.tidalwave.io.FileUtilsTest - *************
13:59:00.863 [main ] ERROR it.tidalwave.io.FileUtilsTest - TEST FAILED in 81 msec - test2a - java.io.UncheckedIOException: java.nio.file.NoSuchFileException: src/test/resources/files
13:59:00.888 [main ] ERROR it.tidalwave.io.FileUtilsTest - TEST FAILED
java.io.UncheckedIOException: java.nio.file.NoSuchFileException: src/test/resources/files
at it.tidalwave.util.FunctionalCheckedExceptionWrappers.wrappedException(FunctionalCheckedExceptionWrappers.java:315)
at it.tidalwave.util.FunctionalCheckedExceptionWrappers.lambda$_f$0(FunctionalCheckedExceptionWrappers.java:190)
at java.base/java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:273)
at java.base/java.util.stream.ReferencePipeline$15$1.accept(ReferencePipeline.java:541)
at java.base/java.util.AbstractList$RandomAccessSpliterator.forEachRemaining(AbstractList.java:722)
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:921)
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:682)
at it.tidalwave.io.FileScanner.lambda$run$8(FileScanner.java:186)
at java.base/java.util.Optional.map(Optional.java:260)
at it.tidalwave.io.FileScanner.run(FileScanner.java:186)
at it.tidalwave.io.FileUtilsTest.test2a(FileUtilsTest.java:137)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:86)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:643)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:820)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1128)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:129)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:112)
at org.testng.TestRunner.privateRun(TestRunner.java:782)
at org.testng.TestRunner.run(TestRunner.java:632)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:366)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:361)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:319)
at org.testng.SuiteRunner.run(SuiteRunner.java:268)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1244)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1169)
at org.testng.TestNG.run(TestNG.java:1064)
at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:136)
at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeSingleClass(TestNGDirectoryTestSuite.java:112)
at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:99)
at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:145)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:428)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:562)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:548)
Caused by: java.nio.file.NoSuchFileException: src/test/resources/files
at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:92)
at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:106)
at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111)
at java.base/sun.nio.fs.UnixFileAttributeViews$Basic.readAttributes(UnixFileAttributeViews.java:55)
at java.base/sun.nio.fs.UnixFileSystemProvider.readAttributes(UnixFileSystemProvider.java:171)
at java.base/sun.nio.fs.LinuxFileSystemProvider.readAttributes(LinuxFileSystemProvider.java:99)
at java.base/java.nio.file.Files.readAttributes(Files.java:1853)
at java.base/java.nio.file.FileTreeWalker.getAttributes(FileTreeWalker.java:220)
at java.base/java.nio.file.FileTreeWalker.visit(FileTreeWalker.java:277)
at java.base/java.nio.file.FileTreeWalker.walk(FileTreeWalker.java:323)
at java.base/java.nio.file.FileTreeIterator.<init>(FileTreeIterator.java:71)
at java.base/java.nio.file.Files.walk(Files.java:3898)
at java.base/java.nio.file.Files.walk(Files.java:3953)
at it.tidalwave.io.FileScanner$RootAndPath.walk(FileScanner.java:140)
at it.tidalwave.io.FileScanner.lambda$run$2(FileScanner.java:173)
at it.tidalwave.util.FunctionalCheckedExceptionWrappers.lambda$_f$0(FunctionalCheckedExceptionWrappers.java:186)
... 39 common frames omitted
13:59:00.900 [main ] ERROR it.tidalwave.io.FileUtilsTest -
13:59:00.903 [main ] INFO it.tidalwave.io.FileUtilsTest - ************
13:59:00.904 [main ] INFO it.tidalwave.io.FileUtilsTest - TEST "test3"
13:59:00.917 [main ] INFO it.tidalwave.io.FileUtilsTest - ************
13:59:00.919 [main ] ERROR it.tidalwave.io.FileUtilsTest - TEST FAILED in 16 msec - test3 - java.io.UncheckedIOException: java.nio.file.NoSuchFileException: src/test/resources/files
13:59:00.919 [main ] ERROR it.tidalwave.io.FileUtilsTest - TEST FAILED
java.io.UncheckedIOException: java.nio.file.NoSuchFileException: src/test/resources/files
at it.tidalwave.util.FunctionalCheckedExceptionWrappers.wrappedException(FunctionalCheckedExceptionWrappers.java:315)
at it.tidalwave.util.FunctionalCheckedExceptionWrappers.lambda$_f$0(FunctionalCheckedExceptionWrappers.java:190)
at java.base/java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:273)
at java.base/java.util.stream.ReferencePipeline$15$1.accept(ReferencePipeline.java:541)
at java.base/java.util.AbstractList$RandomAccessSpliterator.forEachRemaining(AbstractList.java:722)
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:921)
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:682)
at it.tidalwave.io.FileScanner.lambda$run$8(FileScanner.java:186)
at java.base/java.util.Optional.map(Optional.java:260)
at it.tidalwave.io.FileScanner.run(FileScanner.java:186)
at it.tidalwave.io.FileUtilsTest.test3(FileUtilsTest.java:156)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:86)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:643)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:820)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1128)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:129)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:112)
at org.testng.TestRunner.privateRun(TestRunner.java:782)
at org.testng.TestRunner.run(TestRunner.java:632)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:366)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:361)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:319)
at org.testng.SuiteRunner.run(SuiteRunner.java:268)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1244)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1169)
at org.testng.TestNG.run(TestNG.java:1064)
at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:136)
at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeSingleClass(TestNGDirectoryTestSuite.java:112)
at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:99)
at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:145)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:428)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:562)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:548)
Caused by: java.nio.file.NoSuchFileException: src/test/resources/files
at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:92)
at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:106)
at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111)
at java.base/sun.nio.fs.UnixFileAttributeViews$Basic.readAttributes(UnixFileAttributeViews.java:55)
at java.base/sun.nio.fs.UnixFileSystemProvider.readAttributes(UnixFileSystemProvider.java:171)
at java.base/sun.nio.fs.LinuxFileSystemProvider.readAttributes(LinuxFileSystemProvider.java:99)
at java.base/java.nio.file.Files.readAttributes(Files.java:1853)
at java.base/java.nio.file.FileTreeWalker.getAttributes(FileTreeWalker.java:220)
at java.base/java.nio.file.FileTreeWalker.visit(FileTreeWalker.java:277)
at java.base/java.nio.file.FileTreeWalker.walk(FileTreeWalker.java:323)
at java.base/java.nio.file.FileTreeIterator.<init>(FileTreeIterator.java:71)
at java.base/java.nio.file.Files.walk(Files.java:3898)
at java.base/java.nio.file.Files.walk(Files.java:3953)
at it.tidalwave.io.FileScanner$RootAndPath.walk(FileScanner.java:140)
at it.tidalwave.io.FileScanner.lambda$run$2(FileScanner.java:173)
at it.tidalwave.util.FunctionalCheckedExceptionWrappers.lambda$_f$0(FunctionalCheckedExceptionWrappers.java:186)
... 39 common frames omitted
13:59:00.921 [main ] ERROR it.tidalwave.io.FileUtilsTest -
13:59:00.922 [main ] INFO it.tidalwave.io.FileUtilsTest - **************************
13:59:00.922 [main ] INFO it.tidalwave.io.FileUtilsTest - TEST "test with collector"
13:59:00.923 [main ] INFO it.tidalwave.io.FileUtilsTest - **************************
13:59:00.934 [main ] ERROR it.tidalwave.io.FileUtilsTest - TEST FAILED in 12 msec - test with collector - java.io.UncheckedIOException: java.nio.file.NoSuchFileException: src/test/resources/files
13:59:00.938 [main ] ERROR it.tidalwave.io.FileUtilsTest - TEST FAILED
java.io.UncheckedIOException: java.nio.file.NoSuchFileException: src/test/resources/files
at it.tidalwave.util.FunctionalCheckedExceptionWrappers.wrappedException(FunctionalCheckedExceptionWrappers.java:315)
at it.tidalwave.util.FunctionalCheckedExceptionWrappers.lambda$_f$0(FunctionalCheckedExceptionWrappers.java:190)
at java.base/java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:273)
at java.base/java.util.stream.ReferencePipeline$15$1.accept(ReferencePipeline.java:541)
at java.base/java.util.AbstractList$RandomAccessSpliterator.forEachRemaining(AbstractList.java:722)
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:921)
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:682)
at it.tidalwave.io.FileScanner.lambda$run$8(FileScanner.java:186)
at java.base/java.util.Optional.map(Optional.java:260)
at it.tidalwave.io.FileScanner.run(FileScanner.java:186)
at it.tidalwave.io.FileUtilsTest.test_with_collector(FileUtilsTest.java:71)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:86)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:643)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:820)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1128)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:129)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:112)
at org.testng.TestRunner.privateRun(TestRunner.java:782)
at org.testng.TestRunner.run(TestRunner.java:632)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:366)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:361)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:319)
at org.testng.SuiteRunner.run(SuiteRunner.java:268)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1244)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1169)
at org.testng.TestNG.run(TestNG.java:1064)
at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:136)
at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeSingleClass(TestNGDirectoryTestSuite.java:112)
at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:99)
at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:145)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:428)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:562)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:548)
Caused by: java.nio.file.NoSuchFileException: src/test/resources/files
at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:92)
at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:106)
at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111)
at java.base/sun.nio.fs.UnixFileAttributeViews$Basic.readAttributes(UnixFileAttributeViews.java:55)
at java.base/sun.nio.fs.UnixFileSystemProvider.readAttributes(UnixFileSystemProvider.java:171)
at java.base/sun.nio.fs.LinuxFileSystemProvider.readAttributes(LinuxFileSystemProvider.java:99)
at java.base/java.nio.file.Files.readAttributes(Files.java:1853)
at java.base/java.nio.file.FileTreeWalker.getAttributes(FileTreeWalker.java:220)
at java.base/java.nio.file.FileTreeWalker.visit(FileTreeWalker.java:277)
at java.base/java.nio.file.FileTreeWalker.walk(FileTreeWalker.java:323)
at java.base/java.nio.file.FileTreeIterator.<init>(FileTreeIterator.java:71)
at java.base/java.nio.file.Files.walk(Files.java:3898)
at java.base/java.nio.file.Files.walk(Files.java:3953)
at it.tidalwave.io.FileScanner$RootAndPath.walk(FileScanner.java:140)
at it.tidalwave.io.FileScanner.lambda$run$2(FileScanner.java:173)
at it.tidalwave.util.FunctionalCheckedExceptionWrappers.lambda$_f$0(FunctionalCheckedExceptionWrappers.java:186)
... 39 common frames omitted
13:59:00.956 [main ] ERROR it.tidalwave.io.FileUtilsTest -
13:59:00.958 [main ] INFO it.tidalwave.io.FileUtilsTest - ***************************************
13:59:00.962 [main ] INFO it.tidalwave.io.FileUtilsTest - TEST "test with filter and collector 1"
13:59:00.962 [main ] INFO it.tidalwave.io.FileUtilsTest - ***************************************
13:59:00.965 [main ] ERROR it.tidalwave.io.FileUtilsTest - TEST FAILED in 7 msec - test with filter and collector 1 - java.io.UncheckedIOException: java.nio.file.NoSuchFileException: src/test/resources/files
13:59:00.965 [main ] ERROR it.tidalwave.io.FileUtilsTest - TEST FAILED
java.io.UncheckedIOException: java.nio.file.NoSuchFileException: src/test/resources/files
at it.tidalwave.util.FunctionalCheckedExceptionWrappers.wrappedException(FunctionalCheckedExceptionWrappers.java:315)
at it.tidalwave.util.FunctionalCheckedExceptionWrappers.lambda$_f$0(FunctionalCheckedExceptionWrappers.java:190)
at java.base/java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:273)
at java.base/java.util.stream.ReferencePipeline$15$1.accept(ReferencePipeline.java:541)
at java.base/java.util.AbstractList$RandomAccessSpliterator.forEachRemaining(AbstractList.java:722)
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:921)
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:682)
at it.tidalwave.io.FileScanner.lambda$run$8(FileScanner.java:186)
at java.base/java.util.Optional.map(Optional.java:260)
at it.tidalwave.io.FileScanner.run(FileScanner.java:186)
at it.tidalwave.io.FileUtilsTest.test_with_filter_and_collector_1(FileUtilsTest.java:84)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:86)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:643)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:820)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1128)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:129)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:112)
at org.testng.TestRunner.privateRun(TestRunner.java:782)
at org.testng.TestRunner.run(TestRunner.java:632)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:366)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:361)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:319)
at org.testng.SuiteRunner.run(SuiteRunner.java:268)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1244)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1169)
at org.testng.TestNG.run(TestNG.java:1064)
at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:136)
at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeSingleClass(TestNGDirectoryTestSuite.java:112)
at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:99)
at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:145)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:428)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:562)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:548)
Caused by: java.nio.file.NoSuchFileException: src/test/resources/files
at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:92)
at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:106)
at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111)
at java.base/sun.nio.fs.UnixFileAttributeViews$Basic.readAttributes(UnixFileAttributeViews.java:55)
at java.base/sun.nio.fs.UnixFileSystemProvider.readAttributes(UnixFileSystemProvider.java:171)
at java.base/sun.nio.fs.LinuxFileSystemProvider.readAttributes(LinuxFileSystemProvider.java:99)
at java.base/java.nio.file.Files.readAttributes(Files.java:1853)
at java.base/java.nio.file.FileTreeWalker.getAttributes(FileTreeWalker.java:220)
at java.base/java.nio.file.FileTreeWalker.visit(FileTreeWalker.java:277)
at java.base/java.nio.file.FileTreeWalker.walk(FileTreeWalker.java:323)
at java.base/java.nio.file.FileTreeIterator.<init>(FileTreeIterator.java:71)
at java.base/java.nio.file.Files.walk(Files.java:3898)
at java.base/java.nio.file.Files.walk(Files.java:3953)
at it.tidalwave.io.FileScanner$RootAndPath.walk(FileScanner.java:140)
at it.tidalwave.io.FileScanner.lambda$run$2(FileScanner.java:173)
at it.tidalwave.util.FunctionalCheckedExceptionWrappers.lambda$_f$0(FunctionalCheckedExceptionWrappers.java:186)
... 39 common frames omitted
13:59:00.975 [main ] ERROR it.tidalwave.io.FileUtilsTest -
13:59:00.976 [main ] INFO it.tidalwave.io.FileUtilsTest - ***************************************
13:59:00.982 [main ] INFO it.tidalwave.io.FileUtilsTest - TEST "test with filter and collector 2"
13:59:00.982 [main ] INFO it.tidalwave.io.FileUtilsTest - ***************************************
13:59:01.005 [main ] ERROR it.tidalwave.io.FileUtilsTest - TEST FAILED in 29 msec - test with filter and collector 2 - java.io.UncheckedIOException: java.nio.file.NoSuchFileException: src/test/resources/files
13:59:01.005 [main ] ERROR it.tidalwave.io.FileUtilsTest - TEST FAILED
java.io.UncheckedIOException: java.nio.file.NoSuchFileException: src/test/resources/files
at it.tidalwave.util.FunctionalCheckedExceptionWrappers.wrappedException(FunctionalCheckedExceptionWrappers.java:315)
at it.tidalwave.util.FunctionalCheckedExceptionWrappers.lambda$_f$0(FunctionalCheckedExceptionWrappers.java:190)
at java.base/java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:273)
at java.base/java.util.stream.ReferencePipeline$15$1.accept(ReferencePipeline.java:541)
at java.base/java.util.AbstractList$RandomAccessSpliterator.forEachRemaining(AbstractList.java:722)
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:921)
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:682)
at it.tidalwave.io.FileScanner.lambda$run$8(FileScanner.java:186)
at java.base/java.util.Optional.map(Optional.java:260)
at it.tidalwave.io.FileScanner.run(FileScanner.java:186)
at it.tidalwave.io.FileUtilsTest.test_with_filter_and_collector_2(FileUtilsTest.java:97)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:86)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:643)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:820)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1128)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:129)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:112)
at org.testng.TestRunner.privateRun(TestRunner.java:782)
at org.testng.TestRunner.run(TestRunner.java:632)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:366)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:361)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:319)
at org.testng.SuiteRunner.run(SuiteRunner.java:268)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1244)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1169)
at org.testng.TestNG.run(TestNG.java:1064)
at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:136)
at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeSingleClass(TestNGDirectoryTestSuite.java:112)
at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:99)
at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:145)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:428)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:562)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:548)
Caused by: java.nio.file.NoSuchFileException: src/test/resources/files
at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:92)
at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:106)
at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111)
at java.base/sun.nio.fs.UnixFileAttributeViews$Basic.readAttributes(UnixFileAttributeViews.java:55)
at java.base/sun.nio.fs.UnixFileSystemProvider.readAttributes(UnixFileSystemProvider.java:171)
at java.base/sun.nio.fs.LinuxFileSystemProvider.readAttributes(LinuxFileSystemProvider.java:99)
at java.base/java.nio.file.Files.readAttributes(Files.java:1853)
at java.base/java.nio.file.FileTreeWalker.getAttributes(FileTreeWalker.java:220)
at java.base/java.nio.file.FileTreeWalker.visit(FileTreeWalker.java:277)
at java.base/java.nio.file.FileTreeWalker.walk(FileTreeWalker.java:323)
at java.base/java.nio.file.FileTreeIterator.<init>(FileTreeIterator.java:71)
at java.base/java.nio.file.Files.walk(Files.java:3898)
at java.base/java.nio.file.Files.walk(Files.java:3953)
at it.tidalwave.io.FileScanner$RootAndPath.walk(FileScanner.java:140)
at it.tidalwave.io.FileScanner.lambda$run$2(FileScanner.java:173)
at it.tidalwave.util.FunctionalCheckedExceptionWrappers.lambda$_f$0(FunctionalCheckedExceptionWrappers.java:186)
... 39 common frames omitted
13:59:01.006 [main ] ERROR it.tidalwave.io.FileUtilsTest -
13:59:01.045 [main ] INFO it.tidalwave.io.FileUtilsTest - **************************************
13:59:01.068 [main ] INFO it.tidalwave.io.FileUtilsTest - TEST "test with filter and consumer 1"
13:59:01.068 [main ] INFO it.tidalwave.io.FileUtilsTest - **************************************
13:59:01.086 [main ] ERROR it.tidalwave.io.FileUtilsTest - TEST FAILED in 41 msec - test with filter and consumer 1 - java.io.UncheckedIOException: java.nio.file.NoSuchFileException: src/test/resources/files
13:59:01.086 [main ] ERROR it.tidalwave.io.FileUtilsTest - TEST FAILED
java.io.UncheckedIOException: java.nio.file.NoSuchFileException: src/test/resources/files
at it.tidalwave.util.FunctionalCheckedExceptionWrappers.wrappedException(FunctionalCheckedExceptionWrappers.java:315)
at it.tidalwave.util.FunctionalCheckedExceptionWrappers.lambda$_f$0(FunctionalCheckedExceptionWrappers.java:190)
at java.base/java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:273)
at java.base/java.util.stream.ReferencePipeline$15$1.accept(ReferencePipeline.java:541)
at java.base/java.util.AbstractList$RandomAccessSpliterator.forEachRemaining(AbstractList.java:722)
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151)
at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174)
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:596)
at it.tidalwave.io.FileScanner.lambda$runForEachAndReturnEmptyOptional$11(FileScanner.java:203)
at java.base/java.util.Optional.or(Optional.java:313)
at it.tidalwave.io.FileScanner.run(FileScanner.java:187)
at it.tidalwave.io.FileUtilsTest.test_with_filter_and_consumer_1(FileUtilsTest.java:112)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:86)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:643)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:820)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1128)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:129)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:112)
at org.testng.TestRunner.privateRun(TestRunner.java:782)
at org.testng.TestRunner.run(TestRunner.java:632)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:366)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:361)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:319)
at org.testng.SuiteRunner.run(SuiteRunner.java:268)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1244)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1169)
at org.testng.TestNG.run(TestNG.java:1064)
at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:136)
at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeSingleClass(TestNGDirectoryTestSuite.java:112)
at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:99)
at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:145)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:428)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:562)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:548)
Caused by: java.nio.file.NoSuchFileException: src/test/resources/files
at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:92)
at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:106)
at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111)
at java.base/sun.nio.fs.UnixFileAttributeViews$Basic.readAttributes(UnixFileAttributeViews.java:55)
at java.base/sun.nio.fs.UnixFileSystemProvider.readAttributes(UnixFileSystemProvider.java:171)
at java.base/sun.nio.fs.LinuxFileSystemProvider.readAttributes(LinuxFileSystemProvider.java:99)
at java.base/java.nio.file.Files.readAttributes(Files.java:1853)
at java.base/java.nio.file.FileTreeWalker.getAttributes(FileTreeWalker.java:220)
at java.base/java.nio.file.FileTreeWalker.visit(FileTreeWalker.java:277)
at java.base/java.nio.file.FileTreeWalker.walk(FileTreeWalker.java:323)
at java.base/java.nio.file.FileTreeIterator.<init>(FileTreeIterator.java:71)
at java.base/java.nio.file.Files.walk(Files.java:3898)
at java.base/java.nio.file.Files.walk(Files.java:3953)
at it.tidalwave.io.FileScanner$RootAndPath.walk(FileScanner.java:140)
at it.tidalwave.io.FileScanner.lambda$run$2(FileScanner.java:173)
at it.tidalwave.util.FunctionalCheckedExceptionWrappers.lambda$_f$0(FunctionalCheckedExceptionWrappers.java:186)
... 40 common frames omitted
13:59:01.096 [main ] ERROR it.tidalwave.io.FileUtilsTest -
13:59:01.508 [main ] INFO it.tidalwave.io.FileUtilsTest - FINISHED TESTS OF it.tidalwave.io.FileUtilsTest
[ERROR] Tests run: 6, Failures: 6, Errors: 0, Skipped: 0, Time elapsed: 3.1 s <<< FAILURE! - in it.tidalwave.io.FileUtilsTest
[ERROR] it.tidalwave.io.FileUtilsTest.test2a Time elapsed: 0.129 s <<< FAILURE!
java.io.UncheckedIOException: java.nio.file.NoSuchFileException: src/test/resources/files
at it.tidalwave.io.FileUtilsTest.test2a(FileUtilsTest.java:137)
Caused by: java.nio.file.NoSuchFileException: src/test/resources/files
at it.tidalwave.io.FileUtilsTest.test2a(FileUtilsTest.java:137)
[ERROR] it.tidalwave.io.FileUtilsTest.test3 Time elapsed: 0.023 s <<< FAILURE!
java.io.UncheckedIOException: java.nio.file.NoSuchFileException: src/test/resources/files
at it.tidalwave.io.FileUtilsTest.test3(FileUtilsTest.java:156)
Caused by: java.nio.file.NoSuchFileException: src/test/resources/files
at it.tidalwave.io.FileUtilsTest.test3(FileUtilsTest.java:156)
[ERROR] it.tidalwave.io.FileUtilsTest.test_with_collector Time elapsed: 0.039 s <<< FAILURE!
java.io.UncheckedIOException: java.nio.file.NoSuchFileException: src/test/resources/files
at it.tidalwave.io.FileUtilsTest.test_with_collector(FileUtilsTest.java:71)
Caused by: java.nio.file.NoSuchFileException: src/test/resources/files
at it.tidalwave.io.FileUtilsTest.test_with_collector(FileUtilsTest.java:71)
[ERROR] it.tidalwave.io.FileUtilsTest.test_with_filter_and_collector_1 Time elapsed: 0.019 s <<< FAILURE!
java.io.UncheckedIOException: java.nio.file.NoSuchFileException: src/test/resources/files
at it.tidalwave.io.FileUtilsTest.test_with_filter_and_collector_1(FileUtilsTest.java:84)
Caused by: java.nio.file.NoSuchFileException: src/test/resources/files
at it.tidalwave.io.FileUtilsTest.test_with_filter_and_collector_1(FileUtilsTest.java:84)
[ERROR] it.tidalwave.io.FileUtilsTest.test_with_filter_and_collector_2 Time elapsed: 0.014 s <<< FAILURE!
java.io.UncheckedIOException: java.nio.file.NoSuchFileException: src/test/resources/files
at it.tidalwave.io.FileUtilsTest.test_with_filter_and_collector_2(FileUtilsTest.java:97)
Caused by: java.nio.file.NoSuchFileException: src/test/resources/files
at it.tidalwave.io.FileUtilsTest.test_with_filter_and_collector_2(FileUtilsTest.java:97)
[ERROR] it.tidalwave.io.FileUtilsTest.test_with_filter_and_consumer_1 Time elapsed: 0.039 s <<< FAILURE!
java.io.UncheckedIOException: java.nio.file.NoSuchFileException: src/test/resources/files
at it.tidalwave.io.FileUtilsTest.test_with_filter_and_consumer_1(FileUtilsTest.java:112)
Caused by: java.nio.file.NoSuchFileException: src/test/resources/files
at it.tidalwave.io.FileUtilsTest.test_with_filter_and_consumer_1(FileUtilsTest.java:112)
[INFO]
[INFO] Results:
[INFO]
[ERROR] Failures:
[ERROR] FileUtilsTest.test2a:137 » UncheckedIO java.nio.file.NoSuchFileException: src/...
[ERROR] FileUtilsTest.test3:156 » UncheckedIO java.nio.file.NoSuchFileException: src/t...
[ERROR] FileUtilsTest.test_with_collector:71 » UncheckedIO java.nio.file.NoSuchFileExc...
[ERROR] FileUtilsTest.test_with_filter_and_collector_1:84 » UncheckedIO java.nio.file....
[ERROR] FileUtilsTest.test_with_filter_and_collector_2:97 » UncheckedIO java.nio.file....
[ERROR] FileUtilsTest.test_with_filter_and_consumer_1:112 » UncheckedIO java.nio.file....
[INFO]
[ERROR] Tests run: 6, Failures: 6, Errors: 0, Skipped: 0
[INFO]
[ERROR] There are test failures.
Please refer to /var/jenkins_home/jobs/PhotographyScripts_Build_and_Test/workspace/modules/ExtraUtils/target/surefire-reports/plain for the individual test results.
Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
[JENKINS] Recording test results
[INFO]
[INFO] --- jar:3.2.0:jar (default-jar) @ utilities ---
[INFO] Building jar: /var/jenkins_home/jobs/PhotographyScripts_Build_and_Test/workspace/modules/ExtraUtils/target/utilities-1.0-ALPHA-1-SNAPSHOT.97c98a5c4c88.jar
[INFO]
[INFO] --- jar:3.2.0:test-jar (default-test-jar) @ utilities ---
[INFO] Building jar: /var/jenkins_home/jobs/PhotographyScripts_Build_and_Test/workspace/modules/ExtraUtils/target/utilities-1.0-ALPHA-1-SNAPSHOT.97c98a5c4c88-tests.jar
[INFO]
[INFO] --- install:3.0.0-M1:install (default-install) @ utilities ---
[INFO] Installing /var/jenkins_home/jobs/PhotographyScripts_Build_and_Test/workspace/modules/ExtraUtils/target/utilities-1.0-ALPHA-1-SNAPSHOT.97c98a5c4c88.jar to /var/jenkins_home/maven-repositories/0/it/tidalwave/photography/utilities/1.0-ALPHA-1-SNAPSHOT/utilities-1.0-ALPHA-1-SNAPSHOT.jar
[INFO] Installing /var/jenkins_home/jobs/PhotographyScripts_Build_and_Test/workspace/modules/ExtraUtils/pom.xml to /var/jenkins_home/maven-repositories/0/it/tidalwave/photography/utilities/1.0-ALPHA-1-SNAPSHOT/utilities-1.0-ALPHA-1-SNAPSHOT.pom
[INFO] Installing /var/jenkins_home/jobs/PhotographyScripts_Build_and_Test/workspace/modules/ExtraUtils/target/utilities-1.0-ALPHA-1-SNAPSHOT.97c98a5c4c88-tests.jar to /var/jenkins_home/maven-repositories/0/it/tidalwave/photography/utilities/1.0-ALPHA-1-SNAPSHOT/utilities-1.0-ALPHA-1-SNAPSHOT-tests.jar
[JENKINS] Archiving disabled