Build: #21 failed

Job: Default Job failed

Stages & jobs

  1. Default Stage

Job result summary

Completed
Duration
2 minutes
Revision
ec2eb72897337458e83917c872a805e674cd1a46 ec2eb72897337458e83917c872a805e674cd1a46
Total tests
79
Failing since
#19 (Code changes detected – )
Fixed in
#23 (Manual run by Artem Bilan)

Tests

  • 79 tests in total
  • 4 tests failed
  • 13 seconds taken in total.
Existing test failures 4
Status Test Failing since Duration
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...)
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, failedMessage=GenericMessage [payload=sftpSource/*, headers={id=e3514fbf-fe9d-a151-43e4-012277463e14, timestamp=1553786769356}]
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, failedMessage=GenericMessage [payload=sftpSource/*, headers={id=e3514fbf-fe9d-a151-43e4-012277463e14, timestamp=1553786769356}]
	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:89)
	at org.springframework.integration.channel.AbstractMessageChannel.send(AbstractMessageChannel.java:425)
(72 more lines...)
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, failedMessage=GenericMessage [payload=foo, headers={file_name=foo.file, id=b66adbeb-30a0-a8f3-ebc7-dda5eda386c5, timestamp=1553786770567}]
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, failedMessage=GenericMessage [payload=foo, headers={file_name=foo.file, id=b66adbeb-30a0-a8f3-ebc7-dda5eda386c5, timestamp=1553786770567}]
	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:89)
	at org.springframework.integration.channel.AbstractMessageChannel.send(AbstractMessageChannel.java:425)
(73 more lines...)
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, failedMessage=GenericMessage [payload=sftpSource, headers={id=e77d85f1-1e28-86a2-6467-225d5903d2cb, timestamp=1553786770482}]
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, failedMessage=GenericMessage [payload=sftpSource, headers={id=e77d85f1-1e28-86a2-6467-225d5903d2cb, timestamp=1553786770482}]
	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)
(76 more lines...)

Error summary

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

                        Assert.notNull(topicStreamMap);
                              ^
/opt/bamboo-home/xml-data/build-dir/INTEXT-JD1-JOB1/src/main/java/org/springframework/integration/dsl/kafka/KafkaHighLevelConsumerMessageSourceSpec.java:218: warning: [deprecation] notNull(Object) in Assert has been deprecated
                        Assert.notNull(executor);
                              ^
/opt/bamboo-home/xml-data/build-dir/INTEXT-JD1-JOB1/src/main/java/org/springframework/integration/dsl/kafka/KafkaProducerMessageHandlerSpec.java:226: warning: [deprecation] notNull(Object) in Assert has been deprecated
                Assert.notNull(producerMetadata);
                      ^
/opt/bamboo-home/xml-data/build-dir/INTEXT-JD1-JOB1/src/main/java/org/springframework/integration/dsl/kafka/KafkaProducerMessageHandlerSpec.java:227: warning: [deprecation] hasText(String) in Assert has been deprecated
                Assert.hasText(brokerList);
                      ^
/opt/bamboo-home/xml-data/build-dir/INTEXT-JD1-JOB1/src/main/java/org/springframework/integration/dsl/kafka/KafkaProducerMessageHandlerSpec.java:249: warning: [deprecation] notNull(Object) in Assert has been deprecated
                Assert.notNull(producerConfiguration);
                      ^
98 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/flows/IntegrationFlowTests.java:732: warning: [deprecation] setOnSuccessExpression(String) in ExpressionEvaluatingRequestHandlerAdvice has been deprecated
                        advice.setOnSuccessExpression("payload");
                              ^
/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);
                          ^
25 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.