Steps to reproduce

  1. Checkout the repository on a mac
  2. Run ./gradlew build
  3. Build failed

Error logs

Found test failures in 1 test task:

:spring-boot-project:spring-boot:test
    org.springframework.boot.context.properties.source.ConfigurationPropertySourcesTests > descendantOfPropertyAccessWhenMutableWithCacheShouldBePerformant()

FAILURE: Build completed with 2 failures.

1: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':spring-boot-project:spring-boot-starters:spring-boot-starter:checkRuntimeClasspathForConflicts'.
> Found classpath conflicts:
      org/springframework/boot/SpringApplicationExtensionsKt.class
          /Users/r.venkatesh/Documents/github/spring/spring-boot/spring-boot-project/spring-boot/build/libs/spring-boot-2.4.0-SNAPSHOT.jar
          /Users/r.venkatesh/Documents/github/spring/spring-boot/spring-boot-project/spring-boot/build/libs/spring-boot-2.4.0-SNAPSHOT.jar


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

2: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':spring-boot-project:spring-boot:test'.
> There were failing tests. See the report at: file:///Users/r.venkatesh/Documents/github/spring/spring-boot/spring-boot-project/spring-boot/build/reports/tests/test/index.html

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

* Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.4.1/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 21m 25s
1089 actionable tasks: 434 executed, 18 from cache, 637 up-to-date

Screenshots

Screenshot 2020-07-29 at 11 14 51

Screenshot 2020-07-29 at 11 15 41

Comment From: wilkinsona

Thanks for the report. This is similar to https://github.com/spring-projects/spring-boot/issues/22137.

Comment From: ravening

@wilkinsona so I can ignore the error?

Comment From: wilkinsona

Yes, I believe so. If you pull the latest code, the test should no longer fail.