Build: #20 failed

Job: Default Job failed

Stages & jobs

  1. Default Stage

Job result summary

Completed
Duration
2 minutes
Revision
24edfd0778f877bc22c9baf20df631cb48896f76 24edfd0778f877bc22c9baf20df631cb48896f76
Total tests
79
Failing since
#19 (Code changes detected – )
Fixed in
#23 (Manual run by Artem Bilan)
Number of retries
1

Tests

  • 79 tests in total
  • 4 tests failed
  • 4 failures are new
  • 14 seconds taken in total.
New test failures 4
Status Test Duration
Collapse Failed SftpTests testSftpInboundFlow History
1 sec
java.lang.AssertionError: java.lang.AssertionError
java.lang.AssertionError
	at org.junit.Assert.fail(Assert.java:86)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at org.junit.Assert.assertNotNull(Assert.java:712)
	at org.junit.Assert.assertNotNull(Assert.java:722)
	at org.springframework.integration.dsl.test.sftp.SftpTests.testSftpInboundFlow(SftpTests.java:133)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
(48 more lines...)
Collapse Failed SftpTests testSftpMgetFlow History
< 1 sec
org.springframework.messaging.MessagingException: org.springframework.messaging.MessagingException: Dispatcher failed to deliver Message; nested exception is org.springframework.messaging.MessagingException: Failed to execute on session; nested exception is java.lang.IllegalStateException: failed to create SFTP Session
org.springframework.messaging.MessagingException: Dispatcher failed to deliver Message; nested exception is org.springframework.messaging.MessagingException: Failed to execute on session; nested exception is java.lang.IllegalStateException: failed to create SFTP Session
	at org.springframework.integration.dispatcher.AbstractDispatcher.wrapExceptionIfNecessary(AbstractDispatcher.java:133)
	at org.springframework.integration.dispatcher.AbstractDispatcher.tryOptimizedDispatch(AbstractDispatcher.java:120)
	at org.springframework.integration.dispatcher.UnicastingDispatcher.doDispatch(UnicastingDispatcher.java:148)
	at org.springframework.integration.dispatcher.UnicastingDispatcher.dispatch(UnicastingDispatcher.java:121)
	at org.springframework.integration.channel.AbstractSubscribableChannel.doSend(AbstractSubscribableChannel.java:77)
	at org.springframework.integration.channel.AbstractMessageChannel.send(AbstractMessageChannel.java:423)
(73 more lines...)
Collapse Failed SftpTests testSftpOutboundFlow History
< 1 sec
org.springframework.messaging.MessagingException: org.springframework.messaging.MessagingException: Dispatcher failed to deliver Message; nested exception is org.springframework.messaging.MessagingException: Failed to execute on session; nested exception is java.lang.IllegalStateException: failed to create SFTP Session
org.springframework.messaging.MessagingException: Dispatcher failed to deliver Message; nested exception is org.springframework.messaging.MessagingException: Failed to execute on session; nested exception is java.lang.IllegalStateException: failed to create SFTP Session
	at org.springframework.integration.dispatcher.AbstractDispatcher.wrapExceptionIfNecessary(AbstractDispatcher.java:133)
	at org.springframework.integration.dispatcher.AbstractDispatcher.tryOptimizedDispatch(AbstractDispatcher.java:120)
	at org.springframework.integration.dispatcher.UnicastingDispatcher.doDispatch(UnicastingDispatcher.java:148)
	at org.springframework.integration.dispatcher.UnicastingDispatcher.dispatch(UnicastingDispatcher.java:121)
	at org.springframework.integration.channel.AbstractSubscribableChannel.doSend(AbstractSubscribableChannel.java:77)
	at org.springframework.integration.channel.AbstractMessageChannel.send(AbstractMessageChannel.java:423)
(74 more lines...)
Collapse Failed SftpTests testSftpSessionCallback History
< 1 sec
org.springframework.messaging.MessageHandlingException: org.springframework.messaging.MessageHandlingException: nested exception is org.springframework.messaging.MessagingException: Failed to execute on session; nested exception is java.lang.IllegalStateException: failed to create SFTP Session
org.springframework.messaging.MessageHandlingException: nested exception is org.springframework.messaging.MessagingException: Failed to execute on session; nested exception is java.lang.IllegalStateException: failed to create SFTP Session
	at org.springframework.integration.dsl.LambdaMessageProcessor.processMessage(LambdaMessageProcessor.java:130)
	at org.springframework.integration.handler.ServiceActivatingHandler.handleRequestMessage(ServiceActivatingHandler.java:89)
	at org.springframework.integration.handler.AbstractReplyProducingMessageHandler.handleMessageInternal(AbstractReplyProducingMessageHandler.java:109)
	at org.springframework.integration.handler.AbstractMessageHandler.handleMessage(AbstractMessageHandler.java:127)
	at org.springframework.integration.dispatcher.AbstractDispatcher.tryOptimizedDispatch(AbstractDispatcher.java:116)
	at org.springframework.integration.dispatcher.UnicastingDispatcher.doDispatch(UnicastingDispatcher.java:148)
(78 more lines...)

Error summary

The build generated some errors. See the full build log for more details.

import com.rometools.fetcher.FeedFetcher;
                            ^
/opt/bamboo-home/xml-data/build-dir/INTEXT-JD1-JOB1/src/main/java/org/springframework/integration/dsl/amqp/AmqpOutboundEndpointSpec.java:37: warning: [deprecation] DefaultAmqpHeaderMapper() in DefaultAmqpHeaderMapper has been deprecated
        private final DefaultAmqpHeaderMapper headerMapper = new DefaultAmqpHeaderMapper();
                                                             ^
/opt/bamboo-home/xml-data/build-dir/INTEXT-JD1-JOB1/src/main/java/org/springframework/integration/dsl/feed/FeedEntryMessageSourceSpec.java:38: warning: [deprecation] FeedFetcher in com.rometools.fetcher has been deprecated
        private FeedFetcher feedFetcher;
                ^
/opt/bamboo-home/xml-data/build-dir/INTEXT-JD1-JOB1/src/main/java/org/springframework/integration/dsl/feed/FeedEntryMessageSourceSpec.java:47: warning: [deprecation] FeedFetcher in com.rometools.fetcher has been deprecated
        public FeedEntryMessageSourceSpec feedFetcher(FeedFetcher feedFetcher) {
                                                      ^
/opt/bamboo-home/xml-data/build-dir/INTEXT-JD1-JOB1/src/main/java/org/springframework/integration/dsl/amqp/AmqpBaseInboundChannelAdapterSpec.java:33: warning: [deprecation] DefaultAmqpHeaderMapper() in DefaultAmqpHeaderMapper has been deprecated
        private final DefaultAmqpHeaderMapper headerMapper = new DefaultAmqpHeaderMapper();
                                                             ^
/opt/bamboo-home/xml-data/build-dir/INTEXT-JD1-JOB1/src/main/java/org/springframework/integration/dsl/amqp/AmqpBaseInboundGatewaySpec.java:36: warning: [deprecation] DefaultAmqpHeaderMapper() in DefaultAmqpHeaderMapper has been deprecated
        private final DefaultAmqpHeaderMapper headerMapper = new DefaultAmqpHeaderMapper();
                                                             ^
9 warnings
/opt/bamboo-home/xml-data/build-dir/INTEXT-JD1-JOB1/src/test/java/org/springframework/integration/dsl/test/feed/FileUrlFeedFetcher.java:28: warning: [deprecation] FeedFetcher in com.rometools.fetcher has been deprecated
import com.rometools.fetcher.FeedFetcher;
                            ^
/opt/bamboo-home/xml-data/build-dir/INTEXT-JD1-JOB1/src/test/java/org/springframework/integration/dsl/test/feed/FileUrlFeedFetcher.java:29: warning: [deprecation] FetcherEvent in com.rometools.fetcher has been deprecated
import com.rometools.fetcher.FetcherEvent;
                            ^
/opt/bamboo-home/xml-data/build-dir/INTEXT-JD1-JOB1/src/test/java/org/springframework/integration/dsl/test/feed/FileUrlFeedFetcher.java:30: warning: [deprecation] FetcherException in com.rometools.fetcher has been deprecated
import com.rometools.fetcher.FetcherException;
                            ^
/opt/bamboo-home/xml-data/build-dir/INTEXT-JD1-JOB1/src/test/java/org/springframework/integration/dsl/test/feed/FileUrlFeedFetcher.java:31: warning: [deprecation] AbstractFeedFetcher in com.rometools.fetcher.impl has been deprecated
import com.rometools.fetcher.impl.AbstractFeedFetcher;
                                 ^
/opt/bamboo-home/xml-data/build-dir/INTEXT-JD1-JOB1/src/test/java/org/springframework/integration/dsl/test/feed/FileUrlFeedFetcher.java:32: warning: [deprecation] SyndFeedInfo in com.rometools.fetcher.impl has been deprecated
import com.rometools.fetcher.impl.SyndFeedInfo;
                                 ^
warning: No processor claimed any of these annotations: org.springframework.test.annotation.DirtiesContext,org.junit.BeforeClass,org.springframework.integration.config.EnableMessageHistory,org.springframework.boot.test.WebIntegrationTest,org.springframework.integration.annotation.IntegrationComponentScan,org.springframework.integration.support.management.IntegrationManagedResource,org.junit.runner.RunWith,org.springframework.integration.annotation.MessagingGateway,org.springframework.beans.factory.annotation.Autowired,org.springframework.context.annotation.DependsOn,org.testng.annotations.Test,org.testng.annotations.AfterMethod,org.springframework.integration.config.GlobalChannelInterceptor,org.springframework.integration.annotation.ReleaseStrategy,org.springframework.integration.annotation.Splitter,org.springframework.beans.factory.annotation.Value,javax.annotation.PreDestroy,org.springframework.boot.test.IntegrationTest,org.springframework.stereotype.Service,org.junit.After,org.springframework.beans.factory.annotation.Qualifier,org.junit.ClassRule,org.springframework.integration.annotation.CorrelationStrategy,org.junit.Before,org.junit.AfterClass,org.springframework.boot.autoconfigure.EnableAutoConfiguration,org.springframework.messaging.handler.annotation.Header,org.springframework.integration.annotation.MessageEndpoint,org.springframework.integration.annotation.Router,org.springframework.integration.annotation.Aggregator,org.testng.annotations.BeforeMethod,org.springframework.context.annotation.Import,org.junit.Test,org.springframework.integration.config.EnableIntegration,org.springframework.context.annotation.ComponentScan,org.springframework.context.annotation.Configuration,org.springframework.integration.annotation.ServiceActivator,org.springframework.stereotype.Component,org.springframework.boot.test.SpringApplicationConfiguration,org.springframework.test.context.ContextConfiguration,javax.annotation.PostConstruct,org.springframework.integration.annotation.Filter,org.springframework.integration.annotation.Transformer,org.springframework.context.annotation.Bean
/opt/bamboo-home/xml-data/build-dir/INTEXT-JD1-JOB1/src/test/java/org/springframework/integration/dsl/test/feed/FileUrlFeedFetcher.java:28: warning: [deprecation] FeedFetcher in com.rometools.fetcher has been deprecated
import com.rometools.fetcher.FeedFetcher;
                            ^
/opt/bamboo-home/xml-data/build-dir/INTEXT-JD1-JOB1/src/test/java/org/springframework/integration/dsl/test/feed/FileUrlFeedFetcher.java:29: warning: [deprecation] FetcherEvent in com.rometools.fetcher has been deprecated
import com.rometools.fetcher.FetcherEvent;
                            ^
/opt/bamboo-home/xml-data/build-dir/INTEXT-JD1-JOB1/src/test/java/org/springframework/integration/dsl/test/feed/FileUrlFeedFetcher.java:30: warning: [deprecation] FetcherException in com.rometools.fetcher has been deprecated
import com.rometools.fetcher.FetcherException;
                            ^
/opt/bamboo-home/xml-data/build-dir/INTEXT-JD1-JOB1/src/test/java/org/springframework/integration/dsl/test/feed/FileUrlFeedFetcher.java:31: warning: [deprecation] AbstractFeedFetcher in com.rometools.fetcher.impl has been deprecated
import com.rometools.fetcher.impl.AbstractFeedFetcher;
                                 ^
/opt/bamboo-home/xml-data/build-dir/INTEXT-JD1-JOB1/src/test/java/org/springframework/integration/dsl/test/feed/FileUrlFeedFetcher.java:32: warning: [deprecation] SyndFeedInfo in com.rometools.fetcher.impl has been deprecated
import com.rometools.fetcher.impl.SyndFeedInfo;
                                 ^
/opt/bamboo-home/xml-data/build-dir/INTEXT-JD1-JOB1/src/test/java/org/springframework/integration/dsl/test/feed/FileUrlFeedFetcher.java:28: warning: [deprecation] FeedFetcher in com.rometools.fetcher has been deprecated
import com.rometools.fetcher.FeedFetcher;
                            ^
/opt/bamboo-home/xml-data/build-dir/INTEXT-JD1-JOB1/src/test/java/org/springframework/integration/dsl/test/feed/FileUrlFeedFetcher.java:29: warning: [deprecation] FetcherEvent in com.rometools.fetcher has been deprecated
import com.rometools.fetcher.FetcherEvent;
                            ^
/opt/bamboo-home/xml-data/build-dir/INTEXT-JD1-JOB1/src/test/java/org/springframework/integration/dsl/test/feed/FileUrlFeedFetcher.java:30: warning: [deprecation] FetcherException in com.rometools.fetcher has been deprecated
import com.rometools.fetcher.FetcherException;
                            ^
/opt/bamboo-home/xml-data/build-dir/INTEXT-JD1-JOB1/src/test/java/org/springframework/integration/dsl/test/feed/FileUrlFeedFetcher.java:31: warning: [deprecation] AbstractFeedFetcher in com.rometools.fetcher.impl has been deprecated
import com.rometools.fetcher.impl.AbstractFeedFetcher;
                                 ^
/opt/bamboo-home/xml-data/build-dir/INTEXT-JD1-JOB1/src/test/java/org/springframework/integration/dsl/test/feed/FileUrlFeedFetcher.java:32: warning: [deprecation] SyndFeedInfo in com.rometools.fetcher.impl has been deprecated
import com.rometools.fetcher.impl.SyndFeedInfo;
                                 ^
/opt/bamboo-home/xml-data/build-dir/INTEXT-JD1-JOB1/src/test/java/org/springframework/integration/dsl/samples/file2file2/FileChangeLineSeparator.java:76: warning: [deprecation] setExpression(String) in LoggingHandler has been deprecated
                handler.setExpression("headers['file_originalFile'].absolutePath + ' transferred'");
                       ^
/opt/bamboo-home/xml-data/build-dir/INTEXT-JD1-JOB1/src/test/java/org/springframework/integration/dsl/test/feed/FileUrlFeedFetcher.java:44: warning: [deprecation] AbstractFeedFetcher in com.rometools.fetcher.impl has been deprecated
class FileUrlFeedFetcher extends AbstractFeedFetcher {
                                 ^
/opt/bamboo-home/xml-data/build-dir/INTEXT-JD1-JOB1/src/test/java/org/springframework/integration/dsl/test/feed/FileUrlFeedFetcher.java:51: warning: [deprecation] FetcherException in com.rometools.fetcher has been deprecated
        public SyndFeed retrieveFeed(URL feedUrl) throws IOException, FeedException, FetcherException {
                                                                                     ^
/opt/bamboo-home/xml-data/build-dir/INTEXT-JD1-JOB1/src/test/java/org/springframework/integration/dsl/test/feed/FileUrlFeedFetcher.java:54: warning: [deprecation] SyndFeedInfo in com.rometools.fetcher.impl has been deprecated
                SyndFeedInfo syndFeedInfo = new SyndFeedInfo();
                ^
/opt/bamboo-home/xml-data/build-dir/INTEXT-JD1-JOB1/src/test/java/org/springframework/integration/dsl/test/feed/FileUrlFeedFetcher.java:54: warning: [deprecation] SyndFeedInfo in com.rometools.fetcher.impl has been deprecated
                SyndFeedInfo syndFeedInfo = new SyndFeedInfo();
                                                ^
/opt/bamboo-home/xml-data/build-dir/INTEXT-JD1-JOB1/src/test/java/org/springframework/integration/dsl/test/feed/FileUrlFeedFetcher.java:61: warning: [deprecation] FetcherException in com.rometools.fetcher has been deprecated
                        throws IllegalArgumentException, IOException, FeedException, FetcherException {
                                                                                     ^
/opt/bamboo-home/xml-data/build-dir/INTEXT-JD1-JOB1/src/test/java/org/springframework/integration/dsl/test/feed/FileUrlFeedFetcher.java:65: warning: [deprecation] SyndFeedInfo in com.rometools.fetcher.impl has been deprecated
        private void refreshFeedInfo(URL feedUrl, SyndFeedInfo syndFeedInfo, URLConnection connection)
                                                  ^
/opt/bamboo-home/xml-data/build-dir/INTEXT-JD1-JOB1/src/test/java/org/springframework/integration/dsl/test/feed/FileUrlFeedFetcher.java:114: warning: [deprecation] FetcherEvent in com.rometools.fetcher has been deprecated
                fireEvent(FetcherEvent.EVENT_TYPE_FEED_RETRIEVED, connection, feed);
                          ^
24 warnings

79 tests completed, 4 failed

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':test'.
> There were failing tests. See the report at: file:///opt/bamboo-home/xml-data/build-dir/INTEXT-JD1-JOB1/build/reports/tests/index.html

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.