Build #1,660

Spring Boot on Windows

Build: #1660 failed

Job: Default Job failed

Stages & jobs

  1. Default Stage

Code commits

Git

  • Madhura Bhave

    Madhura Bhave 6164e3efe8f6eef7ce98623acdf2bcca33ba2fbd

    Merge branch '2.1.x'

  • Madhura Bhave

    Madhura Bhave aebb60d8b8c734e4612d7937f4f2ac25074c6f72 m

    Fix tests
    Setting the log file name to a random value in smoke tests
    doesn't work because the logger context has already been initialized.

    • spring-boot-project/spring-boot/src/test/java/org/springframework/boot/context/logging/LoggingApplicationListenerIntegrationTests.java (version aebb60d8b8c734e4612d7937f4f2ac25074c6f72)
    • spring-boot-samples/spring-boot-sample-actuator/src/test/java/sample/actuator/EndpointsPropertiesSampleActuatorApplicationTests.java (version aebb60d8b8c734e4612d7937f4f2ac25074c6f72)
    • spring-boot-samples/spring-boot-sample-actuator/src/test/resources/application-endpoints.properties (version aebb60d8b8c734e4612d7937f4f2ac25074c6f72)
  • Madhura Bhave

    Madhura Bhave d590c3ed108a3044c14ab20e91f4eef30c9fa1e0

    Merge branch '2.1.x'
    Closes gh-17486

  • Madhura Bhave

    Madhura Bhave 773dda3d5559daf01032d212b3326d12752962f6 m

    Log file location should be evaluated just once
    Using a random value for the logfile name caused
    the logfile endpoint to return a 404 as the name
    was resolved from the environment on every request.
    This commit registers a bean for LogFile which is then
    used by the logfile endpoint.

    Fixes gh-17434

    • spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/logging/LogFileWebEndpointAutoConfiguration.java (version 773dda3d5559daf01032d212b3326d12752962f6)
    • spring-boot-project/spring-boot-actuator-autoconfigure/src/test/java/org/springframework/boot/actuate/autoconfigure/endpoint/web/documentation/LogFileWebEndpointDocumentationTests.java (version 773dda3d5559daf01032d212b3326d12752962f6)
    • spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/logging/LogFileWebEndpoint.java (version 773dda3d5559daf01032d212b3326d12752962f6)
    • spring-boot-project/spring-boot-actuator/src/test/java/org/springframework/boot/actuate/logging/LogFileWebEndpointTests.java (version 773dda3d5559daf01032d212b3326d12752962f6)
    • spring-boot-project/spring-boot-actuator/src/test/java/org/springframework/boot/actuate/logging/LogFileWebEndpointWebIntegrationTests.java (version 773dda3d5559daf01032d212b3326d12752962f6)
    • spring-boot-project/spring-boot/src/main/java/org/springframework/boot/context/logging/LoggingApplicationListener.java (version 773dda3d5559daf01032d212b3326d12752962f6)
    • spring-boot-samples/spring-boot-sample-actuator/src/test/java/sample/actuator/EndpointsPropertiesSampleActuatorApplicationTests.java (version 773dda3d5559daf01032d212b3326d12752962f6)
    • spring-boot-samples/spring-boot-sample-actuator/src/test/resources/application-endpoints.properties (version 773dda3d5559daf01032d212b3326d12752962f6)
  • Andy Wilkinson

    Andy Wilkinson dc0432665b7b504dd0ec752442788b2d6570cb7c

    Use ephemeral ports rather than 8080 in our tests
    Closes gh-17025

    • spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/web/reactive/ReactiveWebServerFactoryAutoConfigurationTests.java (version dc0432665b7b504dd0ec752442788b2d6570cb7c)
    • spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/web/servlet/ServletWebServerFactoryAutoConfigurationTests.java (version dc0432665b7b504dd0ec752442788b2d6570cb7c)
  • Brian Clozel

    Brian Clozel 906f7637ed6006eff30afe6d75797e21e795bdff

    Add synchronoss multipart dependency in webflux starter
    Fixes gh-17484

    • spring-boot-project/spring-boot-starters/spring-boot-starter-webflux/pom.xml (version 906f7637ed6006eff30afe6d75797e21e795bdff)
  • Andy Wilkinson

    Andy Wilkinson 9f2accbbc5b9e6a5b3dc81de99dadf6a63cda420

    Merge pull request #17390 from nosan
    * gh-17390:
      Allow build.time to be disabled so BuildInfoMojo's output is repeatable

    Closes gh-17390

  • Dmytro Nosan <dimanosan@gmail.com>

    Dmytro Nosan <dimanosan@gmail.com> 8dd9c6baa1b46eda64af078e68815e61c6acbd27

    Allow build.time to be disabled so BuildInfoMojo's output is repeatable
    See gh-17390

    • spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/it/build-info-custom-build-time/pom.xml (version 8dd9c6baa1b46eda64af078e68815e61c6acbd27)
    • spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/it/build-info-custom-build-time/src/main/java/org/test/SampleApplication.java (version 8dd9c6baa1b46eda64af078e68815e61c6acbd27)
    • spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/it/build-info-custom-build-time/verify.groovy (version 8dd9c6baa1b46eda64af078e68815e61c6acbd27)
    • spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/it/build-info-disable-build-time/pom.xml (version 8dd9c6baa1b46eda64af078e68815e61c6acbd27)
    • spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/it/build-info-disable-build-time/src/main/java/org/test/SampleApplication.java (version 8dd9c6baa1b46eda64af078e68815e61c6acbd27)
    • spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/it/build-info-disable-build-time/verify.groovy (version 8dd9c6baa1b46eda64af078e68815e61c6acbd27)
    • spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/BuildInfoMojo.java (version 8dd9c6baa1b46eda64af078e68815e61c6acbd27)
  • Andy Wilkinson

    Andy Wilkinson 1fffe0ab3e37e3a749e965881153270591d2a25e

    Merge branch '2.1.x'
    Closes gh-17482

  • Andy Wilkinson

    Andy Wilkinson 7854876608ace5df04a38891555575a0b4a5bc64 m

    Merge pull request #17480 from nosan
    * gh-17480:
      Polish AbstractDependsOnBeanFactoryPostProcessor

    Closes gh-17480

  • Dmytro Nosan <dimanosan@gmail.com>

    Dmytro Nosan <dimanosan@gmail.com> 93d0427fb5a4ad0834e4f4c61fe49331c1f87df1 m

    Polish AbstractDependsOnBeanFactoryPostProcessor
    See gh-17480

    • spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/AbstractDependsOnBeanFactoryPostProcessor.java (version 93d0427fb5a4ad0834e4f4c61fe49331c1f87df1)
  • Andy Wilkinson

    Andy Wilkinson 47f4bb0d648273dbe161e3fd16e49f0f522ea877

    Merge branch '2.1.x'
    Closes gh-17481

  • Andy Wilkinson

    Andy Wilkinson 50fe7a0da5562ae97ac521ce0afd8fef7a413ee4 m

    Merge pull request #16627 from ielatif
    * gh-16627:
      Polish "Set up MongoClient beans' dependencies by type rather than name"
      Set up MongoClient beans' dependencies by type rather than name

    Closes gh-16627

  • Andy Wilkinson

    Andy Wilkinson f753c31988a425cfd8570dd8f513ebef5786b60f m

    Polish "Set up MongoClient beans' dependencies by type rather than name"
    See gh-16627

    • spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/data/mongo/MongoClientDependsOnBeanFactoryPostProcessor.java (version f753c31988a425cfd8570dd8f513ebef5786b60f)
    • spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/data/mongo/ReactiveStreamsMongoClientDependsOnBeanFactoryPostProcessor.java (version f753c31988a425cfd8570dd8f513ebef5786b60f)
    • spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/mongo/embedded/EmbeddedMongoAutoConfiguration.java (version f753c31988a425cfd8570dd8f513ebef5786b60f)
    • spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/mongo/embedded/EmbeddedMongoAutoConfigurationTests.java (version f753c31988a425cfd8570dd8f513ebef5786b60f)
  • ielatif <issam.elatif@gmail.com>

    ielatif <issam.elatif@gmail.com> 39f103942569bc8f69fa70b4455640b9c7e3ff42 m

    Set up MongoClient beans' dependencies by type rather than name
    See gh-16627

    • spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/mongo/embedded/EmbeddedMongoAutoConfiguration.java (version 39f103942569bc8f69fa70b4455640b9c7e3ff42)
    • spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/mongo/embedded/EmbeddedMongoAutoConfigurationTests.java (version 39f103942569bc8f69fa70b4455640b9c7e3ff42)
  • Phil Webb

    Phil Webb 2208dc1bc2b0af49df6d95b2f73de102c5ce1232

    Refine smoke-tests setup for Eclipse

    • eclipse/spring-boot-project.setup (version 2208dc1bc2b0af49df6d95b2f73de102c5ce1232)
    • spring-boot-tests/pom.xml (version 2208dc1bc2b0af49df6d95b2f73de102c5ce1232)
  • Brian Clozel

    Brian Clozel 32ecb63002638284dae7a912eaeb93074f108384

    Add reactor-tools dependency for javadoc generation
    See gh-17128

    • spring-boot-project/spring-boot-docs/pom.xml (version 32ecb63002638284dae7a912eaeb93074f108384)
  • Andy Wilkinson

    Andy Wilkinson 6adcd75481fbb9b47f338bacd8f118689b2fce6a

    Merge branch '2.1.x'
    Closes gh-17479

  • Andy Wilkinson

    Andy Wilkinson 1678de7323b3c267e9376156a63d171d477cd22a m

    Merge pull request #17020 from nosan
    * gh-17020:
      Polish "Allow depended on beans to be identified by type"
      Allow depended on beans to be identified by type

    Closes gh-17020

  • Andy Wilkinson

    Andy Wilkinson 80650f485d31600d7c44acf934886c39fb154047 m

    Polish "Allow depended on beans to be identified by type"
    See gh-17020

    • spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/AbstractDependsOnBeanFactoryPostProcessor.java (version 80650f485d31600d7c44acf934886c39fb154047)
    • spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/AbstractDependsOnBeanFactoryPostProcessorTests.java (version 80650f485d31600d7c44acf934886c39fb154047)
  • Dmytro Nosan <dimanosan@gmail.com>

    Dmytro Nosan <dimanosan@gmail.com> 9923ffe9bd8dae439a8c0817921b2f76ba3e5729 m

    Allow depended on beans to be identified by type
    Prior to this commit, `AbstractDependsOnBeanFactoryPostProcessor`
    could only identify depended on beans by name.

    See gh-17020

    • spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/AbstractDependsOnBeanFactoryPostProcessor.java (version 9923ffe9bd8dae439a8c0817921b2f76ba3e5729)
    • spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/AbstractDependsOnBeanFactoryPostProcessorTests.java (version 9923ffe9bd8dae439a8c0817921b2f76ba3e5729)
  • Stéphane Nicoll

    Stéphane Nicoll acfb7f28f43bfef6f87fff87308c0fd916f46a9b

    Merge branch '2.1.x'
    Closes gh-17478

  • Stéphane Nicoll

    Stéphane Nicoll 852f4a280c5be72e099d9fc0de3a0097a5809458 m

    Fix supported java version range in documentation
    Closes gh-17476

    • spring-boot-project/spring-boot-docs/src/main/asciidoc/getting-started.adoc (version 852f4a280c5be72e099d9fc0de3a0097a5809458)
  • Brian Clozel

    Brian Clozel 2830847344fbc538c821faf13d74a6c541a8d8d8

    Optimize reactor operators in actuator support
    This commit uses native Reactor operators `Mono.fromCallable` and
    `subscribeOn` for better performance and support.

    Fixes gh-17452

    • spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/web/reactive/AbstractWebFluxEndpointHandlerMapping.java (version 2830847344fbc538c821faf13d74a6c541a8d8d8)
    • spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/health/HealthIndicatorReactiveAdapter.java (version 2830847344fbc538c821faf13d74a6c541a8d8d8)
  • Brian Clozel

    Brian Clozel 3c28622ebc81444974859685b14a663697612e23

    Add support for reactor-tools debug agent
    The `reactor-tools` dependency now brings a new Reactor Debug Agent
    which instruments loaded classes for better Reactor stacktraces.
    This commit removes the `spring.reactor.stacktrace-mode.enabled`
    configuration property since the related Reactor Hook is about to be
    removed.
    As a replacement, we're introducing `spring.reactor.debug-agent.enabled`
    which tells whether the Reactor Debug Agent should be loaded, given that
    the `reactor-tools` dependency is available. This option is enabled by
    default, since adding the dependency on classpath is a strong signal
    already.

    Fixes gh-17128

    • spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/reactor/core/ReactorCoreAutoConfiguration.java (version 3c28622ebc81444974859685b14a663697612e23)
    • spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/reactor/core/ReactorCoreProperties.java (version 3c28622ebc81444974859685b14a663697612e23)
    • spring-boot-project/spring-boot-autoconfigure/src/main/resources/META-INF/additional-spring-configuration-metadata.json (version 3c28622ebc81444974859685b14a663697612e23)
    • spring-boot-project/spring-boot-autoconfigure/src/main/resources/META-INF/spring.factories (version 3c28622ebc81444974859685b14a663697612e23)
    • spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/reactor/core/ReactorCoreAutoConfigurationTests.java (version 3c28622ebc81444974859685b14a663697612e23)
    • spring-boot-project/spring-boot/pom.xml (version 3c28622ebc81444974859685b14a663697612e23)
    • spring-boot-project/spring-boot/src/main/java/org/springframework/boot/reactor/DebugAgentEnvironmentPostProcessor.java (version 3c28622ebc81444974859685b14a663697612e23)
    • spring-boot-project/spring-boot/src/main/resources/META-INF/additional-spring-configuration-metadata.json (version 3c28622ebc81444974859685b14a663697612e23)
    • spring-boot-project/spring-boot/src/main/resources/META-INF/spring.factories (version 3c28622ebc81444974859685b14a663697612e23)
    • spring-boot-project/spring-boot/src/test/java/org/springframework/boot/reactor/DebugAgentEnvironmentPostProcessorTests.java (version 3c28622ebc81444974859685b14a663697612e23)
    • spring-boot-project/spring-boot/src/test/java/org/springframework/boot/reactor/InstrumentedFluxProvider.java (version 3c28622ebc81444974859685b14a663697612e23)
  • Brian Clozel

    Brian Clozel b1a3849b270c814382381066cb396e4027e144d6

    Disable Jackson XML support in RSocket codecs
    Prior to this commit, having the `spring-boot-starter-rsocket` and the
    `jackson-dataformat-xml` dependencies on classpath would result in a
    `ClassCastException` when the RSocket auto-configuration tries to
    configure Jackson CBOR codecs for RSocket strategies.

    This commit disables the Jackson XML support for the CBOR codec in
    RSocket.

    Fixes gh-17425

    • spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/rsocket/RSocketStrategiesAutoConfiguration.java (version b1a3849b270c814382381066cb396e4027e144d6)