[Builder] Build failed in Jenkins: siddhi » siddhi-io-file #482
cbuilder at wso2.org
cbuilder at wso2.org
Thu Apr 2 23:41:23 PDT 2020
See <https://wso2.org/jenkins/job/siddhi/job/siddhi-io-file/482/display/redirect?page=changes>
Changes:
[niruhan] Make move.after.process and move.after.failure optional
[ajanthyjaya] Function to read header details
[ajanthyjaya] Function to read header details.
[ajanthyjaya] Change read.only.header description
[niruhan] Change default value of move after failure and process
------------------------------------------
[...truncated 1.40 MB...]
[INFO] [org.apache.commons.vfs2.cache.SoftRefFilesCache] : putFile: file://<https://wso2.org/jenkins/job/siddhi/job/siddhi-io-file/ws/component/target/test-classes/files/repo/function/tempSource/testFile/test.txt>
[INFO] [org.apache.commons.vfs2.cache.SoftRefFilesCache] : putFile: file://<https://wso2.org/jenkins/job/siddhi/job/siddhi-io-file/ws/component/target/test-classes/files/repo/function/tempSource/testFile>
[INFO] [io.siddhi.core.util.EventPrinter] : [Event{timestamp=1585895924879, data=[WSO2], isExpired=false}]
[INFO] [io.siddhi.extension.io.file.FileFunctionsTestCase] : test Siddhi Io File Function for isFile()
[INFO] [io.siddhi.core.util.EventPrinter] : [Event{timestamp=1585895924983, data=[true], isExpired=false}]
[INFO] [io.siddhi.extension.io.file.FileFunctionsTestCase] : test Siddhi Io File Function for isFile().
[INFO] [io.siddhi.core.util.EventPrinter] : [Event{timestamp=1585895925087, data=[true], isExpired=false}]
[INFO] [io.siddhi.extension.io.file.FileFunctionsTestCase] : test Siddhi Io File Function for copy()
[INFO] [io.siddhi.core.util.EventPrinter] : [Event{timestamp=1585895925193, data=[WSO2], isExpired=false}]
[INFO] [io.siddhi.extension.io.file.FileFunctionsTestCase] : test Siddhi Io File Function for create() and delete()
[INFO] [org.apache.commons.vfs2.cache.SoftRefFilesCache] : putFile: file://<https://wso2.org/jenkins/job/siddhi/job/siddhi-io-file/ws/component/target/test-classes/files/repo/function/destination/created>
[INFO] [io.siddhi.core.util.EventPrinter] : [Event{timestamp=1585895925299, data=[WSO2], isExpired=false}]
[INFO] [io.siddhi.core.util.EventPrinter] : [Event{timestamp=1585895925403, data=[WSO2], isExpired=false}]
[INFO] [io.siddhi.extension.io.file.FileFunctionsTestCase] : test Siddhi Io File Function for archiving, listing files in an archived file, unarchive and search files with or without regex
[INFO] [io.siddhi.extension.execution.file.FileArchiveExtension] : Output to Zip : <https://wso2.org/jenkins/job/siddhi/job/siddhi-io-file/ws/component/target/test-classes/files/repo/function/destination/archive.zip> started for folder/ file: <https://wso2.org/jenkins/job/siddhi/job/siddhi-io-file/ws/component/target/test-classes/files/repo/function/archive/>
[INFO] [io.siddhi.extension.execution.file.FileArchiveExtension] : File Adding : test.txt to <https://wso2.org/jenkins/job/siddhi/job/siddhi-io-file/ws/component/target/test-classes/files/repo/function/destination/archive.zip.>
[INFO] [io.siddhi.extension.execution.file.FileArchiveExtension] : File Adding : subFolder/test3.txt to <https://wso2.org/jenkins/job/siddhi/job/siddhi-io-file/ws/component/target/test-classes/files/repo/function/destination/archive.zip.>
[INFO] [io.siddhi.extension.execution.file.FileArchiveExtension] : File Adding : test2.txt to <https://wso2.org/jenkins/job/siddhi/job/siddhi-io-file/ws/component/target/test-classes/files/repo/function/destination/archive.zip.>
[INFO] [io.siddhi.extension.execution.file.FileArchiveExtension] : Output to Zip : <https://wso2.org/jenkins/job/siddhi/job/siddhi-io-file/ws/component/target/test-classes/files/repo/function/destination/archive.zip> is complete for folder/ file: <https://wso2.org/jenkins/job/siddhi/job/siddhi-io-file/ws/component/target/test-classes/files/repo/function/archive/>
[INFO] [io.siddhi.core.util.EventPrinter] : [Event{timestamp=1585895925508, data=[Archive], isExpired=false}]
[INFO] [org.apache.commons.vfs2.cache.SoftRefFilesCache] : putFile: file://<https://wso2.org/jenkins/job/siddhi/job/siddhi-io-file/ws/component/target/test-classes/files/repo/function/destination/archive.zip>
[INFO] [io.siddhi.extension.execution.file.FileUnarchiveExtension] : Decompressing: <https://wso2.org/jenkins/job/siddhi/job/siddhi-io-file/ws/component/target/test-classes/files/repo/function/destination/decompressed/archive/test.txt>
[INFO] [io.siddhi.extension.execution.file.FileUnarchiveExtension] : Decompressing: <https://wso2.org/jenkins/job/siddhi/job/siddhi-io-file/ws/component/target/test-classes/files/repo/function/destination/decompressed/archive/subFolder/test3.txt>
[INFO] [io.siddhi.extension.execution.file.FileUnarchiveExtension] : Decompressing: <https://wso2.org/jenkins/job/siddhi/job/siddhi-io-file/ws/component/target/test-classes/files/repo/function/destination/decompressed/archive/test2.txt>
[INFO] [io.siddhi.core.util.EventPrinter] : [Event{timestamp=1585895925717, data=[WSO2], isExpired=false}]
[INFO] [io.siddhi.extension.execution.file.FileUnarchiveExtension] : Decompressing: <https://wso2.org/jenkins/job/siddhi/job/siddhi-io-file/ws/component/target/test-classes/files/repo/function/destination/decompressed/test.txt>
[INFO] [io.siddhi.extension.execution.file.FileUnarchiveExtension] : Decompressing: <https://wso2.org/jenkins/job/siddhi/job/siddhi-io-file/ws/component/target/test-classes/files/repo/function/destination/decompressed/subFolder/test3.txt>
[INFO] [io.siddhi.extension.execution.file.FileUnarchiveExtension] : Decompressing: <https://wso2.org/jenkins/job/siddhi/job/siddhi-io-file/ws/component/target/test-classes/files/repo/function/destination/decompressed/test2.txt>
[INFO] [io.siddhi.core.util.EventPrinter] : [Event{timestamp=1585895925820, data=[WSO2], isExpired=false}]
[INFO] [io.siddhi.extension.io.file.FileHandlingTestCase] : PauseAndResume
[INFO] [io.siddhi.extension.io.file.FileHandler] : Directory monitoring has been started for folder/file : <https://wso2.org/jenkins/job/siddhi/job/siddhi-io-file/ws/component/target/test-classes/files/new> .
[INFO] [io.siddhi.extension.io.file.FileHandlingTestCase] : New folder has been created.
[INFO] [io.siddhi.extension.io.file.FileHandler] : <https://wso2.org/jenkins/job/siddhi/job/siddhi-io-file/ws/component/target/test-classes/files/new/destination> was created.
[INFO] [io.siddhi.core.util.EventPrinter] : [Event{timestamp=1585895925934, data=[<https://wso2.org/jenkins/job/siddhi/job/siddhi-io-file/ws/component/target/test-classes/files/new/destination,> destination, created], isExpired=false}]
[INFO] [io.siddhi.extension.io.file.FileHandlingTestCase] : New folder is deleted.
[INFO] [io.siddhi.extension.io.file.FileHandler] : <https://wso2.org/jenkins/job/siddhi/job/siddhi-io-file/ws/component/target/test-classes/files/new/destination> was deleted.
[INFO] [io.siddhi.core.util.EventPrinter] : [Event{timestamp=1585895928943, data=[<https://wso2.org/jenkins/job/siddhi/job/siddhi-io-file/ws/component/target/test-classes/files/new/destination,> destination, removed], isExpired=false}]
[INFO] [io.siddhi.extension.io.file.FileHandler] : Directory monitoring has been paused for folder/file : <https://wso2.org/jenkins/job/siddhi/job/siddhi-io-file/ws/component/target/test-classes/files/new> .
[INFO] [io.siddhi.extension.io.file.FileHandlingTestCase] : New file has been created
[INFO] [io.siddhi.extension.io.file.FileHandler] : <https://wso2.org/jenkins/job/siddhi/job/siddhi-io-file/ws/component/target/test-classes/files/new/action.txt> was created.
[INFO] [io.siddhi.core.util.EventPrinter] : [Event{timestamp=1585895931950, data=[<https://wso2.org/jenkins/job/siddhi/job/siddhi-io-file/ws/component/target/test-classes/files/new/action.txt,> action.txt, created], isExpired=false}]
[INFO] [io.siddhi.extension.io.file.FileHandlingTestCase] : File is deleted
[INFO] [io.siddhi.extension.io.file.FileHandler] : Directory monitoring has been resumed for folder/file : <https://wso2.org/jenkins/job/siddhi/job/siddhi-io-file/ws/component/target/test-classes/files/new> .
[INFO] [io.siddhi.extension.io.file.FileHandler] : <https://wso2.org/jenkins/job/siddhi/job/siddhi-io-file/ws/component/target/test-classes/files/new/action.txt> was deleted.
[INFO] [io.siddhi.core.util.EventPrinter] : [Event{timestamp=1585895934958, data=[<https://wso2.org/jenkins/job/siddhi/job/siddhi-io-file/ws/component/target/test-classes/files/new/action.txt,> action.txt, removed], isExpired=false}]
[INFO] [io.siddhi.extension.io.file.FileHandler] : Directory monitoring has been stopped for folder/file : <https://wso2.org/jenkins/job/siddhi/job/siddhi-io-file/ws/component/target/test-classes/files/new> .
[INFO] [io.siddhi.extension.io.file.FileHandlingTestCase] : Siddhi IO File Testcase 1 - Directory
[INFO] [io.siddhi.extension.io.file.FileHandler] : Directory monitoring has been started for folder/file : <https://wso2.org/jenkins/job/siddhi/job/siddhi-io-file/ws/component/target/test-classes/files/new> .
[INFO] [io.siddhi.extension.io.file.FileHandlingTestCase] : New folder has been created.
[INFO] [io.siddhi.extension.io.file.FileHandlingTestCase] : 1585895937000
[INFO] [io.siddhi.extension.io.file.FileHandler] : <https://wso2.org/jenkins/job/siddhi/job/siddhi-io-file/ws/component/target/test-classes/files/new/destination> was created.
[INFO] [io.siddhi.core.util.EventPrinter] : [Event{timestamp=1585895937970, data=[<https://wso2.org/jenkins/job/siddhi/job/siddhi-io-file/ws/component/target/test-classes/files/new/destination,> destination, created], isExpired=false}]
[INFO] [io.siddhi.extension.io.file.FileHandlingTestCase] : New folder is deleted.
[INFO] [io.siddhi.extension.io.file.FileHandler] : <https://wso2.org/jenkins/job/siddhi/job/siddhi-io-file/ws/component/target/test-classes/files/new/destination> was deleted.
[INFO] [io.siddhi.core.util.EventPrinter] : [Event{timestamp=1585895940977, data=[<https://wso2.org/jenkins/job/siddhi/job/siddhi-io-file/ws/component/target/test-classes/files/new/destination,> destination, removed], isExpired=false}]
[INFO] [io.siddhi.extension.io.file.FileHandler] : Directory monitoring has been stopped for folder/file : <https://wso2.org/jenkins/job/siddhi/job/siddhi-io-file/ws/component/target/test-classes/files/new> .
[INFO] [io.siddhi.extension.io.file.FileHandlingTestCase] : Siddhi IO File Exception - File given in the fileNameList should be available
[INFO] [org.apache.commons.vfs2.cache.SoftRefFilesCache] : putFile: file://<https://wso2.org/jenkins/job/siddhi/job/siddhi-io-file/ws/component/target/test-classes/files/new/action.txt>
[INFO] [io.siddhi.extension.io.file.FileHandlingTestCase] : Test Siddhi IO File Function URI must be folder
[INFO] [org.apache.commons.vfs2.cache.SoftRefFilesCache] : putFile: file://<https://wso2.org/jenkins/job/siddhi/job/siddhi-io-file/ws/component/target/test-classes/files/new/action>
[INFO] [io.siddhi.extension.io.file.FileHandlingTestCase] : Siddhi IO File Testcase 1
[INFO] [io.siddhi.extension.io.file.FileHandler] : Directory monitoring has been started for folder/file : <https://wso2.org/jenkins/job/siddhi/job/siddhi-io-file/ws/component/target/test-classes/files/new> .
[INFO] [io.siddhi.extension.io.file.FileHandlingTestCase] : New folder has been created.
[INFO] [io.siddhi.extension.io.file.FileHandler] : <https://wso2.org/jenkins/job/siddhi/job/siddhi-io-file/ws/component/target/test-classes/files/new/destination> was created.
[INFO] [io.siddhi.core.util.EventPrinter] : [Event{timestamp=1585895943993, data=[<https://wso2.org/jenkins/job/siddhi/job/siddhi-io-file/ws/component/target/test-classes/files/new/destination,> destination, created], isExpired=false}]
[INFO] [io.siddhi.extension.io.file.FileHandlingTestCase] : New folder has been created.
[INFO] [io.siddhi.extension.io.file.FileHandler] : <https://wso2.org/jenkins/job/siddhi/job/siddhi-io-file/ws/component/target/test-classes/files/new/destination/action> was created.
[INFO] [io.siddhi.core.util.EventPrinter] : [Event{timestamp=1585895947002, data=[<https://wso2.org/jenkins/job/siddhi/job/siddhi-io-file/ws/component/target/test-classes/files/new/destination/action,> action, created], isExpired=false}]
[INFO] Exception in thread "Thread-12" java.lang.AssertionError: expected [<https://wso2.org/jenkins/job/siddhi/job/siddhi-io-file/ws/component/target/test-classes/files/new/destination/action]> but found [<https://wso2.org/jenkins/job/siddhi/job/siddhi-io-file/ws/component/target/test-classes/files/new/destination]>
[INFO] at org.testng.Assert.fail(Assert.java:94)
[INFO] at org.testng.Assert.failNotEquals(Assert.java:494)
[INFO] at org.testng.Assert.assertEquals(Assert.java:123)
[INFO] at org.testng.Assert.assertEquals(Assert.java:165)
[INFO] at io.siddhi.extension.io.file.FileHandlingTestCase$2.receive(FileHandlingTestCase.java:150)
[INFO] at io.siddhi.core.stream.output.StreamCallback.receiveEvents(StreamCallback.java:122)
[INFO] at io.siddhi.core.stream.output.StreamCallback.receive(StreamCallback.java:108)
[INFO] at io.siddhi.core.stream.output.StreamCallback.receive(StreamCallback.java:100)
[INFO] at io.siddhi.core.stream.StreamJunction.sendEvent(StreamJunction.java:176)
[INFO] at io.siddhi.core.stream.StreamJunction$Publisher.send(StreamJunction.java:465)
[INFO] at io.siddhi.core.query.output.callback.InsertIntoStreamCallback.send(InsertIntoStreamCallback.java:56)
[INFO] at io.siddhi.core.query.output.ratelimit.OutputRateLimiter.sendToCallBacks(OutputRateLimiter.java:104)
[INFO] at io.siddhi.core.query.output.ratelimit.PassThroughOutputRateLimiter.process(PassThroughOutputRateLimiter.java:44)
[INFO] at io.siddhi.core.query.selector.QuerySelector.process(QuerySelector.java:97)
[INFO] at io.siddhi.core.query.input.ProcessStreamReceiver.processAndClear(ProcessStreamReceiver.java:183)
[INFO] at io.siddhi.core.query.input.ProcessStreamReceiver.process(ProcessStreamReceiver.java:90)
[INFO] at io.siddhi.core.query.input.ProcessStreamReceiver.receive(ProcessStreamReceiver.java:128)
[INFO] at io.siddhi.core.stream.StreamJunction.sendEvent(StreamJunction.java:199)
[INFO] at io.siddhi.core.stream.StreamJunction$Publisher.send(StreamJunction.java:474)
[INFO] at io.siddhi.core.stream.input.InputDistributor.send(InputDistributor.java:34)
[INFO] at io.siddhi.core.stream.input.InputEntryValve.send(InputEntryValve.java:45)
[INFO] at io.siddhi.core.stream.input.InputHandler.send(InputHandler.java:78)
[INFO] at io.siddhi.core.stream.input.source.PassThroughSourceHandler.sendEvent(PassThroughSourceHandler.java:35)
[INFO] at io.siddhi.core.stream.input.source.InputEventHandler.sendEvent(InputEventHandler.java:81)
[INFO] at io.siddhi.core.stream.input.source.PassThroughSourceMapper.mapAndProcess(PassThroughSourceMapper.java:66)
[INFO] at io.siddhi.core.stream.input.source.SourceMapper.onEvent(SourceMapper.java:152)
[INFO] at io.siddhi.core.stream.input.source.SourceMapper.onEvent(SourceMapper.java:118)
[INFO] at io.siddhi.extension.io.file.FileAlterationImpl.onDirectoryCreate(FileAlterationImpl.java:58)
[INFO] at org.apache.commons.io.monitor.FileAlterationObserver.doCreate(FileAlterationObserver.java:377)
[INFO] at org.apache.commons.io.monitor.FileAlterationObserver.checkAndNotify(FileAlterationObserver.java:345)
[INFO] at org.apache.commons.io.monitor.FileAlterationObserver.checkAndNotify(FileAlterationObserver.java:335)
[INFO] at org.apache.commons.io.monitor.FileAlterationObserver.checkAndNotify(FileAlterationObserver.java:304)
[INFO] at org.apache.commons.io.monitor.FileAlterationMonitor.run(FileAlterationMonitor.java:182)
[INFO] at java.lang.Thread.run(Thread.java:748)
[INFO] [io.siddhi.extension.io.file.FileHandler] : Directory monitoring has been stopped for folder/file : <https://wso2.org/jenkins/job/siddhi/job/siddhi-io-file/ws/component/target/test-classes/files/new> .
[INFO] [io.siddhi.extension.io.file.FileHandlingTestCase] : Siddhi IO File Testcase 4 - file without file:/
[INFO] [io.siddhi.extension.io.file.FileHandlingTestCase] : New file has been created to validate the path
[INFO] [io.siddhi.extension.io.file.FileHandler] : Directory monitoring has been started for folder/file : <https://wso2.org/jenkins/job/siddhi/job/siddhi-io-file/ws/component/target/test-classes/files/new> .
[INFO] [io.siddhi.core.stream.output.sink.LogSink] : TestFileEventListener : ResultStream : Event{timestamp=1585895950017, data=[<https://wso2.org/jenkins/job/siddhi/job/siddhi-io-file/ws/component/target/test-classes/files/new/action.txt,> action.txt, created], isExpired=false}
[INFO] [io.siddhi.core.util.EventPrinter] : [Event{timestamp=1585895950017, data=[<https://wso2.org/jenkins/job/siddhi/job/siddhi-io-file/ws/component/target/test-classes/files/new/action.txt,> action.txt, created], isExpired=false}]
[INFO] [io.siddhi.extension.io.file.FileHandler] : <https://wso2.org/jenkins/job/siddhi/job/siddhi-io-file/ws/component/target/test-classes/files/new/action.txt> was modified.
[INFO] [io.siddhi.core.stream.output.sink.LogSink] : TestFileEventListener : ResultStream : Event{timestamp=1585895951118, data=[<https://wso2.org/jenkins/job/siddhi/job/siddhi-io-file/ws/component/target/test-classes/files/new/action.txt,> action.txt, modifyingCompleted], isExpired=false}
[INFO] [io.siddhi.core.util.EventPrinter] : [Event{timestamp=1585895951118, data=[<https://wso2.org/jenkins/job/siddhi/job/siddhi-io-file/ws/component/target/test-classes/files/new/action.txt,> action.txt, modifyingCompleted], isExpired=false}]
[INFO] [io.siddhi.extension.io.file.FileHandlingTestCase] : File is deleted
[INFO] [io.siddhi.extension.io.file.FileHandler] : <https://wso2.org/jenkins/job/siddhi/job/siddhi-io-file/ws/component/target/test-classes/files/new/action.txt> was deleted.
[INFO] [io.siddhi.core.stream.output.sink.LogSink] : TestFileEventListener : ResultStream : Event{timestamp=1585895953023, data=[<https://wso2.org/jenkins/job/siddhi/job/siddhi-io-file/ws/component/target/test-classes/files/new/action.txt,> action.txt, removed], isExpired=false}
[INFO] [io.siddhi.core.util.EventPrinter] : [Event{timestamp=1585895953023, data=[<https://wso2.org/jenkins/job/siddhi/job/siddhi-io-file/ws/component/target/test-classes/files/new/action.txt,> action.txt, removed], isExpired=false}]
[INFO] [io.siddhi.extension.io.file.FileHandler] : Directory monitoring has been stopped for folder/file : <https://wso2.org/jenkins/job/siddhi/job/siddhi-io-file/ws/component/target/test-classes/files/new> .
[INFO] [io.siddhi.extension.io.file.FileHandlingTestCase] : Siddhi IO File Testcase 5 rename or move
[INFO] [io.siddhi.extension.io.file.FileHandler] : Directory monitoring has been started for folder/file : <https://wso2.org/jenkins/job/siddhi/job/siddhi-io-file/ws/component/target/test-classes/files/new> .
[INFO] [io.siddhi.extension.io.file.FileHandlingTestCase] : New file has been created
[INFO] [io.siddhi.extension.io.file.FileHandler] : <https://wso2.org/jenkins/job/siddhi/job/siddhi-io-file/ws/component/target/test-classes/files/new/destination.txt> was created.
[INFO] [io.siddhi.core.stream.output.sink.LogSink] : TestFileEventListener : ResultStream : Event{timestamp=1585895956033, data=[<https://wso2.org/jenkins/job/siddhi/job/siddhi-io-file/ws/component/target/test-classes/files/new/destination.txt,> destination.txt, created], isExpired=false}
[INFO] [io.siddhi.core.util.EventPrinter] : [Event{timestamp=1585895956033, data=[<https://wso2.org/jenkins/job/siddhi/job/siddhi-io-file/ws/component/target/test-classes/files/new/destination.txt,> destination.txt, created], isExpired=false}]
[INFO] [io.siddhi.extension.io.file.FileHandlingTestCase] : File has been renamed
[INFO] [io.siddhi.extension.io.file.FileHandler] : <https://wso2.org/jenkins/job/siddhi/job/siddhi-io-file/ws/component/target/test-classes/files/new/changedDestination.txt> was created.
[INFO] [io.siddhi.core.stream.output.sink.LogSink] : TestFileEventListener : ResultStream : Event{timestamp=1585895959040, data=[<https://wso2.org/jenkins/job/siddhi/job/siddhi-io-file/ws/component/target/test-classes/files/new/changedDestination.txt,> changedDestination.txt, created], isExpired=false}
[INFO] [io.siddhi.core.util.EventPrinter] : [Event{timestamp=1585895959040, data=[<https://wso2.org/jenkins/job/siddhi/job/siddhi-io-file/ws/component/target/test-classes/files/new/changedDestination.txt,> changedDestination.txt, created], isExpired=false}]
[INFO] [io.siddhi.extension.io.file.FileHandler] : <https://wso2.org/jenkins/job/siddhi/job/siddhi-io-file/ws/component/target/test-classes/files/new/destination.txt> was deleted.
[INFO] [io.siddhi.core.stream.output.sink.LogSink] : TestFileEventListener : ResultStream : Event{timestamp=1585895959040, data=[<https://wso2.org/jenkins/job/siddhi/job/siddhi-io-file/ws/component/target/test-classes/files/new/destination.txt,> destination.txt, removed], isExpired=false}
[INFO] [io.siddhi.core.util.EventPrinter] : [Event{timestamp=1585895959040, data=[<https://wso2.org/jenkins/job/siddhi/job/siddhi-io-file/ws/component/target/test-classes/files/new/destination.txt,> destination.txt, removed], isExpired=false}]
[INFO] [io.siddhi.extension.io.file.FileHandlingTestCase] : Files are deleted
[INFO] [io.siddhi.extension.io.file.FileHandler] : Directory monitoring has been stopped for folder/file : <https://wso2.org/jenkins/job/siddhi/job/siddhi-io-file/ws/component/target/test-classes/files/new> .
[INFO] [io.siddhi.extension.io.file.FileHandlingTestCase] : Siddhi IO File Testcase 6 delete()
[INFO] [io.siddhi.extension.io.file.FileHandlingTestCase] : New file has been created
[INFO] [io.siddhi.extension.io.file.FileHandlingTestCase] : New file has been created
[INFO] [org.apache.commons.vfs2.cache.SoftRefFilesCache] : putFile: file://<https://wso2.org/jenkins/job/siddhi/job/siddhi-io-file/ws/component/target/test-classes/files/new/destination>
[INFO] [org.apache.commons.vfs2.cache.SoftRefFilesCache] : putFile: file://<https://wso2.org/jenkins/job/siddhi/job/siddhi-io-file/ws/component/target/test-classes/files/new/destination.txt>
[INFO] [io.siddhi.extension.io.file.FileHandler] : Directory monitoring has been started for folder/file : <https://wso2.org/jenkins/job/siddhi/job/siddhi-io-file/ws/component/target/test-classes/files/new> .
[INFO] [io.siddhi.core.stream.output.sink.LogSink] : TestFileEventListener : ResultStream : Event{timestamp=1585895962051, data=[<https://wso2.org/jenkins/job/siddhi/job/siddhi-io-file/ws/component/target/test-classes/files/new/destination.txt,> destination.txt, created], isExpired=false}
[INFO] [io.siddhi.core.util.EventPrinter] : [Event{timestamp=1585895962051, data=[<https://wso2.org/jenkins/job/siddhi/job/siddhi-io-file/ws/component/target/test-classes/files/new/destination.txt,> destination.txt, created], isExpired=false}]
[INFO] [io.siddhi.core.stream.output.sink.LogSink] : TestFileEventListener : ResultStream : Event{timestamp=1585895962051, data=[<https://wso2.org/jenkins/job/siddhi/job/siddhi-io-file/ws/component/target/test-classes/files/new/destination,> destination, created], isExpired=false}
[INFO] [io.siddhi.core.util.EventPrinter] : [Event{timestamp=1585895962051, data=[<https://wso2.org/jenkins/job/siddhi/job/siddhi-io-file/ws/component/target/test-classes/files/new/destination,> destination, created], isExpired=false}]
[INFO] [io.siddhi.extension.io.file.FileHandlingTestCase] : File is deleted
[INFO] [io.siddhi.extension.io.file.FileHandler] : <https://wso2.org/jenkins/job/siddhi/job/siddhi-io-file/ws/component/target/test-classes/files/new/destination.txt> was deleted.
[INFO] [io.siddhi.core.stream.output.sink.LogSink] : TestFileEventListener : ResultStream : Event{timestamp=1585895962151, data=[<https://wso2.org/jenkins/job/siddhi/job/siddhi-io-file/ws/component/target/test-classes/files/new/destination.txt,> destination.txt, removed], isExpired=false}
[INFO] [io.siddhi.core.util.EventPrinter] : [Event{timestamp=1585895962151, data=[<https://wso2.org/jenkins/job/siddhi/job/siddhi-io-file/ws/component/target/test-classes/files/new/destination.txt,> destination.txt, removed], isExpired=false}]
[INFO] [io.siddhi.extension.io.file.FileHandler] : Directory monitoring has been stopped for folder/file : <https://wso2.org/jenkins/job/siddhi/job/siddhi-io-file/ws/component/target/test-classes/files/new> .
[INFO] [io.siddhi.extension.io.file.FileHandlingTestCase] : Siddhi IO File Exception - Monitoring value must in integer
[INFO] [io.siddhi.extension.io.file.FileHandlingTestCase] : Test Siddhi IO File Function URI must be folder
[INFO] [io.siddhi.extension.io.file.FileHandlingTestCase] : File is created
[INFO] [io.siddhi.extension.io.file.FileHandlingTestCase] : Siddhi IO File Exception - Folder is not found
[INFO] [org.apache.commons.vfs2.cache.SoftRefFilesCache] : putFile: file://<https://wso2.org/jenkins/job/siddhi/job/siddhi-io-file/ws/component/target/test-classes/files/new/interval>
[INFO] [io.siddhi.extension.io.file.FileHandlingTestCase] : Siddhi IO File Exception - URI must provided
[INFO] Tests run: 112, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 456.958 sec <<< FAILURE! - in TestSuite
[INFO] siddhiIOFileTest2(io.siddhi.extension.io.file.FileHandlingTestCase) Time elapsed: 6.022 sec <<< FAILURE!
[INFO] java.lang.AssertionError: expected [2] but found [3]
[INFO] at io.siddhi.extension.io.file.FileHandlingTestCase.siddhiIOFileTest2(FileHandlingTestCase.java:169)
[INFO]
[INFO]
[INFO] Results :
[INFO]
[INFO] Failed tests:
[INFO] FileHandlingTestCase.siddhiIOFileTest2:169 expected [2] but found [3]
[INFO]
[INFO] Tests run: 112, Failures: 1, Errors: 0, Skipped: 0
[INFO]
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO] Reactor Summary:
[INFO] [INFO]
[INFO] [INFO] Siddhi io file extension 2.0.9 ..................... SUCCESS [ 11.635 s]
[INFO] [INFO] siddhi-io-file 2.0.9 ............................... FAILURE [08:02 min]
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO] BUILD FAILURE
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO] Total time: 08:15 min
[INFO] [INFO] Finished at: 2020-04-03T06:39:25Z
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test (default-test) on project siddhi-io-file: There are test failures.
[INFO] [ERROR]
[INFO] [ERROR] Please refer to <https://wso2.org/jenkins/job/siddhi/job/siddhi-io-file/ws/component/target/surefire-reports> for the individual test results.
[INFO] [ERROR] -> [Help 1]
[INFO] [ERROR]
[INFO] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[INFO] [ERROR] Re-run Maven using the -X switch to enable full debug logging.
[INFO] [ERROR]
[INFO] [ERROR] For more information about the errors and possible solutions, please read the following articles:
[INFO] [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[INFO] [ERROR]
[INFO] [ERROR] After correcting the problems, you can resume the build with the command
[INFO] [ERROR] mvn <goals> -rf :siddhi-io-file
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Siddhi io file extension 2.0.9-SNAPSHOT ............ FAILURE [08:18 min]
[INFO] siddhi-io-file 2.0.9-SNAPSHOT ...................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 08:32 min
[INFO] Finished at: 2020-04-03T06:39:35Z
[INFO] ------------------------------------------------------------------------
Waiting for Jenkins to finish collecting data
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.5.3:prepare (default-cli) on project siddhi-io-file-parent: Maven execution failed, exit code: '1' -> [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/MojoExecutionException
[JENKINS] Archiving <https://wso2.org/jenkins/job/siddhi/job/siddhi-io-file/ws/pom.xml> to io.siddhi.extension.io.file/siddhi-io-file-parent/2.0.9-SNAPSHOT/siddhi-io-file-parent-2.0.9-SNAPSHOT.pom
[JENKINS] Archiving <https://wso2.org/jenkins/job/siddhi/job/siddhi-io-file/ws/component/pom.xml> to io.siddhi.extension.io.file/siddhi-io-file/2.0.9-SNAPSHOT/siddhi-io-file-2.0.9-SNAPSHOT.pom
Sending e-mails to: builder at wso2.org
No mail will be sent out, as 'siddhi » siddhi-io-file » siddhi-io-file #482' does not have a result yet. Please make sure you set a proper result in case of pipeline/build scripts.
Preparing TestLink client API.
Using TestLink URL: https://testlink.wso2.com/lib/api/xmlrpc/v1/xmlrpc.php
channel stopped
Found 56 automated test cases in TestLink.
Sorting automated test cases by TestLink test plan execution order.
Executing single Build Steps.
Executing iterative Build Steps.
Looking for the test results of TestLink test cases.
Looking for test results in TestNG methods by its name.
Found 56 test result(s).
using credential 4ff4a55b-1313-45da-8cbf-b2e100b1accd
> git rev-parse HEAD^{commit} # timeout=10
using credential 4ff4a55b-1313-45da-8cbf-b2e100b1accd
> git rev-parse HEAD^{commit} # timeout=10
------------------------------------------------------------------------
[WSO2 Maven Release] [WSO2 Maven Release] Build Result: FAILURE
[WSO2 Maven Release] Dropping Git Tag: v2.0.9. Reason: FAILURE build.
[WSO2 Maven Release] Deleting release tag from remote.
> git --version # timeout=10
using GIT_ASKPASS to set credentials
> git push https://github.com/wso2-extensions/siddhi-io-file.git :refs/tags/v2.0.9 # timeout=10
[WSO2 Maven Release] Dropped git tag - v2.0.9
FATAL: [M2Release] Could not find nexus stage repository for project.
Not sending mail to unregistered user ajanthyjaya at gmail.com
Not sending mail to unregistered user niruhan at Niruhans-MacBook-Pro.local
More information about the Builder
mailing list