Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: bump org.springframework.boot from 3.4.2 to 3.4.4 in /spring-graphql-webmvc #3212

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 24, 2025

Bumps org.springframework.boot from 3.4.2 to 3.4.4.

Release notes

Sourced from org.springframework.boot's releases.

v3.4.4

❗ Noteworthy Changes

Tomcat APR support is now disabled by default if you are using Java 24 or higher. This change has been made to prevent JDK from issuing warnings.

Please see the updated release notes for details.

🐞 Bug Fixes

  • Actuator throws an exception when using prototype scoped DataSource bean #44706
  • Docker API error message is missing in some cases #44630
  • DefaultJmsListenerContainerFactoryConfigurer#setObservationRegistry should not be public #44585
  • When an application contains multiple DataSource beans, EntityManagerFactoryBuilder will default ddl-auto to a value that may only be appropriate for the primary DataSource #44516
  • When the main class is not proxied, native testing that uses the application's main method does not work #44481
  • When loading configuration from a Resource, Log4J2LoggingSystem may not close the InputStream #44473
  • When loading from a resource, PemContent does not close the InputStream #44454
  • ResourceBanner does not close the InputStream used to read the banner #44452
  • ConfigDataLocationResolvers and PropertySourceLoaders are loaded using a potentially different class loader #44450
  • Kafka message sending fails with 'class SslBundleSslEngineFactory could not be found' #44437
  • Kafka in native-image fails when using SSL bundles #44436
  • Nested test classes don't inherit properties from @DataJpaTest on enclosing class #44407
  • Failure diagnostics are poor when trying to use an image platform that is not supported by the builder #44059
  • Checking if APR is available logs a warning on Java 24 #44033

📔 Documentation

  • Multiline properties in documentation are missing backslashes #44790
  • Polish javadoc of SqlR2dbcScriptDatabaseInitializer #44764
  • Document support for Java 24 #44754
  • Remove OpenShift link that 404s #44748
  • Fix link to javadoc for JavaExec.setArgsString #44536
  • Fix typo in documentation #44523
  • Update descriptions of properties that no longer require Flyway Teams #44483
  • Fix typo in javadoc of CommonStructuredLogFormat#ELASTIC_COMMON_SCHEMA #44469
  • Samples for metadata annotation processers have invalid fold attribute #44420
  • Clarify which Mongo properties are ignored when URI property is set #44404
  • Adapt Javadoc reference of JooqExceptionTranslator to use ExceptionTranslatorExecuteListener #44402

🔨 Dependency Upgrades

  • Upgrade to ActiveMQ 6.1.6 #44663
  • Upgrade to AspectJ 1.9.23 #44720
  • Upgrade to Groovy 4.0.26 #44546
  • Upgrade to Hibernate 6.6.11.Final #44739
  • Upgrade to Infinispan 15.0.14.Final #44548
  • Upgrade to Jackson Bom 2.18.3 #44549
  • Upgrade to Jetty 12.0.18 #44774
  • Upgrade to Jetty Reactive HTTPClient 4.0.9 #44773
  • Upgrade to jOOQ 3.19.21 #44665
  • Upgrade to Logback 1.5.18 #44775
  • Upgrade to Maven Deploy Plugin 3.1.4 #44552

... (truncated)

Commits
  • d4eb556 Increase Nexus timeouts
  • 0226b6a Release v3.4.4
  • 6ba94ae Merge branch '3.3.x' into 3.4.x
  • 36a5936 Next development version (v3.3.11-SNAPSHOT)
  • 375aba6 Upgrade to Spring Framework 6.2.5
  • 37e4a3c Merge branch '3.3.x' into 3.4.x
  • 99fa21c Upgrade to asciidoctor-extensions 1.0.0-alpha.17
  • f86a6fb Upgrade to Spring Batch 5.2.2
  • 6567609 Merge branch '3.3.x' into 3.4.x
  • 80b6c59 Improve debuggability of DockerComposeTestExtension
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [org.springframework.boot](https://github.com/spring-projects/spring-boot) from 3.4.2 to 3.4.4.
- [Release notes](https://github.com/spring-projects/spring-boot/releases)
- [Commits](spring-projects/spring-boot@v3.4.2...v3.4.4)

---
updated-dependencies:
- dependency-name: org.springframework.boot
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file java Pull requests that update Java code labels Mar 24, 2025
Copy link

Qodo Merge was enabled for this repository. To continue using it, please link your Git account with your Qodo account here.

CI Feedback 🧐

A test triggered by this PR failed. Here is an AI-generated analysis of the failure:

Action: build

Failed stage: Build with Gradle [❌]

Failed test name: IntegrationTests > createPostAndAddComment()

Failure summary:

The build failed because 2 tests failed:

1. IntegrationTests > createPostAndAddComment() failed with a timeout error. The test was waiting
for a condition that wasn't met within 5 seconds (line 560).

2. SubscriptionTests > createPostAndAddComment() failed because the application context couldn't be
loaded. The specific error was: "Unable to select a bean to wrap: there are no beans of type
com.example.demo.service.PostService" (line 856). This indicates that a required dependency was
missing in the test configuration.

Relevant error logs:
1:  ##[group]Operating System
2:  Ubuntu
...

307:  31e3375a8f9c   postgres   "docker-entrypoint.s…"   Less than a second ago   Up Less than a second   0.0.0.0:5432->5432/tcp, :::5432->5432/tcp   spring-graphql-sample-postgres-1
308:  ##[group]Run cd spring-graphql-webmvc
309:  �[36;1mcd spring-graphql-webmvc�[0m
310:  �[36;1mchmod +x gradlew�[0m
311:  �[36;1m./gradlew build                        �[0m
312:  �[36;1m   �[0m
313:  shell: /usr/bin/bash -e {0}
314:  env:
315:  JAVA_HOME: /opt/hostedtoolcache/Java_Temurin-Hotspot_jdk/21.0.6-7/x64
316:  JAVA_HOME_21_X64: /opt/hostedtoolcache/Java_Temurin-Hotspot_jdk/21.0.6-7/x64
317:  ##[endgroup]
318:  Downloading https://services.gradle.org/distributions/gradle-8.12-bin.zip
319:  .............10%.............20%.............30%.............40%.............50%.............60%.............70%.............80%.............90%.............100%
320:  Welcome to Gradle 8.12!
321:  Here are the highlights of this release:
322:  - Enhanced error and warning reporting with the Problems API
323:  - File-system watching support on Alpine Linux
...

435:  DEBUG 2433 --- [    Test worker] o.s.jdbc.core.JdbcTemplate               : Executing prepared SQL query
436:  DEBUG 2433 --- [    Test worker] o.s.jdbc.core.JdbcTemplate               : Executing prepared SQL statement [SELECT * FROM posts]
437:  INFO 2433 --- [    Test worker] com.example.demo.DataInitializer         : post: PostEntity[id=f72679e8-dddf-4c2b-be8f-6ddda5fc34df, title=Dgs post #1, content=test content of #1, status=DRAFT, createdAt=2025-03-24T12:46:23.030597, authorId=179ca323-48af-4cd0-8a39-fa0bf660ea14]
438:  INFO 2433 --- [    Test worker] com.example.demo.DataInitializer         : post: PostEntity[id=d582cafa-e664-4f7b-916f-c5f05215fd14, title=Dgs post #2, content=test content of #2, status=DRAFT, createdAt=2025-03-24T12:46:23.037785, authorId=179ca323-48af-4cd0-8a39-fa0bf660ea14]
439:  INFO 2433 --- [    Test worker] com.example.demo.DataInitializer         : post: PostEntity[id=d2334c01-89d8-48e4-8e93-f20dfecc7579, title=Dgs post #3, content=test content of #3, status=DRAFT, createdAt=2025-03-24T12:46:23.041081, authorId=179ca323-48af-4cd0-8a39-fa0bf660ea14]
440:  INFO 2433 --- [    Test worker] com.example.demo.DataInitializer         : post: PostEntity[id=18925ea7-9a2f-4fe2-9ec8-165b0d1f0218, title=Dgs post #4, content=test content of #4, status=DRAFT, createdAt=2025-03-24T12:46:23.046805, authorId=179ca323-48af-4cd0-8a39-fa0bf660ea14]
441:  DEBUG 2433 --- [    Test worker] o.s.jdbc.core.JdbcTemplate               : Executing prepared SQL query
442:  DEBUG 2433 --- [    Test worker] o.s.jdbc.core.JdbcTemplate               : Executing prepared SQL statement [SELECT * FROM comments]
443:  INFO 2433 --- [    Test worker] com.example.demo.DataInitializer         : comment: CommentEntity[id=f5b01f87-b0b0-4e74-89ee-1798a62b51e5, content=comment #1, createdAt=2025-03-24T12:46:23.051757, postId=18925ea7-9a2f-4fe2-9ec8-165b0d1f0218]
444:  INFO 2433 --- [    Test worker] com.example.demo.DataInitializer         : comment: CommentEntity[id=7edc9df7-f3c5-4be9-9b5e-7f24a4df8c46, content=comment #2, createdAt=2025-03-24T12:46:23.056835, postId=18925ea7-9a2f-4fe2-9ec8-165b0d1f0218]
445:  INFO 2433 --- [    Test worker] com.example.demo.DataInitializer         : comment: CommentEntity[id=fbe98d50-00bf-4bcd-9bc0-628277a34325, content=comment #3, createdAt=2025-03-24T12:46:23.060942, postId=18925ea7-9a2f-4fe2-9ec8-165b0d1f0218]
446:  DEBUG 2433 --- [    Test worker] o.s.jdbc.core.JdbcTemplate               : Executing prepared SQL query
447:  DEBUG 2433 --- [    Test worker] o.s.jdbc.core.JdbcTemplate               : Executing prepared SQL statement [SELECT * FROM users]
448:  INFO 2433 --- [    Test worker] com.example.demo.DataInitializer         : author: AuthorEntity[id=179ca323-48af-4cd0-8a39-fa0bf660ea14, name=user, email=user@example.com, createdAt=2025-03-24T12:46:23.021500]
449:  INFO 2433 --- [    Test worker] com.example.demo.DataInitializer         : done data initialization...
450:  IntegrationTests > createPostAndAddComment() STANDARD_ERROR
451:  Mockito is currently self-attaching to enable the inline-mock-maker. This will no longer work in future releases of the JDK. Please add Mockito as an agent to your build what is described in Mockito's documentation: https://javadoc.io/doc/org.mockito/mockito-core/latest/org/mockito/Mockito.html#0.3
...

544:  DEBUG 2433 --- [or-http-epoll-3] o.s.w.r.s.a.ReactorNettyWebSocketSession : [f70edc9] Session id "f70edc9" for ws://localhost:44033/subscriptions
545:  INFO 2433 --- [o-auto-1-exec-6] c.e.demo.repository.CommentRepository    : inserted rows: 1
546:  DEBUG 2433 --- [o-auto-1-exec-6] o.s.jdbc.core.JdbcTemplate               : Executing prepared SQL query
547:  DEBUG 2433 --- [o-auto-1-exec-6] o.s.jdbc.core.JdbcTemplate               : Executing prepared SQL statement [SELECT * FROM comments WHERE id = ?]
548:  DEBUG 2433 --- [or-http-epoll-3] o.s.w.r.s.c.ReactorNettyWebSocketClient  : Started session 'f70edc9' for ws://localhost:44033/subscriptions
549:  DEBUG 2433 --- [o-auto-1-exec-4] s.w.s.h.LoggingWebSocketHandlerDecorator : New StandardWebSocketSession[id=a782aa8e-c2a0-59cf-ec62-e4f2918b9f9a, uri=ws://localhost:44033/subscriptions]
550:  DEBUG 2433 --- [or-http-epoll-2] o.s.w.r.f.client.ExchangeFunctions       : [2fad50f2] [41d95d5a-5, L:/127.0.0.1:40390 - R:localhost/127.0.0.1:44033] Response 200 OK
551:  DEBUG 2433 --- [o-auto-1-exec-6] o.s.web.servlet.DispatcherServlet        : Completed 200 OK
552:  DEBUG 2433 --- [or-http-epoll-2] o.s.http.codec.json.Jackson2JsonDecoder  : [2fad50f2] [41d95d5a-5, L:/127.0.0.1:40390 - R:localhost/127.0.0.1:44033] Decoded [{data={addComment={id=5687f21d-4068-450d-bc35-cf96a78af35f}}}]
553:  DEBUG 2433 --- [or-http-epoll-2] com.example.demo.IntegrationTests        : added comment: Comment(id=5687f21d-4068-450d-bc35-cf96a78af35f, content=null, createdAt=null, postId=null)
554:  DEBUG 2433 --- [or-http-epoll-3] o.s.http.codec.json.Jackson2JsonEncoder  : Encoding [GraphQlWebSocketMessage[type="connection_init", payload={}]]
555:  DEBUG 2433 --- [or-http-epoll-3] o.s.http.codec.json.Jackson2JsonDecoder  : Decoded [GraphQlWebSocketMessage[type="connection_ack", payload={}]]
556:  DEBUG 2433 --- [or-http-epoll-3] o.s.http.codec.json.Jackson2JsonEncoder  : Encoding [GraphQlWebSocketMessage[id="1", type="subscribe", payload={query=subscription onCommentAdded { comme (truncated)...]
557:  DEBUG 2433 --- [or-http-epoll-3] o.s.http.codec.json.Jackson2JsonDecoder  : Decoded [GraphQlWebSocketMessage[id="1", type="next", payload={data={commentAdded={id=5687f21d-4068-450d-bc35 (truncated)...]
558:  DEBUG 2433 --- [or-http-epoll-3] com.example.demo.IntegrationTests        : received comment: Comment(id=5687f21d-4068-450d-bc35-cf96a78af35f, content=comment of my post at 2025-03-24T12:46:24.605110238, createdAt=null, postId=null)
559:  IntegrationTests > createPostAndAddComment() FAILED
560:  org.awaitility.core.ConditionTimeoutException: Assertion condition defined as a Lambda expression in com.example.demo.IntegrationTests null within 5 seconds.
...

579:  ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
580:  \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
581:  '  |____| .__|_| |_|_| |_\__, | / / / /
582:  =========|_|==============|___/=/_/_/_/
583:  :: Spring Boot ::                (v3.4.4)
584:  INFO 2433 --- [    Test worker] com.example.demo.MutationTests           : Starting MutationTests using Java 21.0.6 with PID 2433 (started by runner in /home/runner/work/spring-graphql-sample/spring-graphql-sample/spring-graphql-webmvc)
585:  DEBUG 2433 --- [    Test worker] com.example.demo.MutationTests           : Running with Spring Boot v3.4.4, Spring v6.2.5
586:  INFO 2433 --- [    Test worker] com.example.demo.MutationTests           : No active profile set, falling back to 1 default profile: "default"
587:  INFO 2433 --- [    Test worker] efaultSchemaResourceGraphQlSourceBuilder : Loaded 1 resource(s) in the GraphQL schema.
588:  INFO 2433 --- [    Test worker] o.s.b.a.g.GraphQlAutoConfiguration       : GraphQL schema inspection:
589:  Unmapped fields: {}
590:  Unmapped registrations: {}
591:  Unmapped arguments: {}
592:  Skipped types: []
593:  INFO 2433 --- [    Test worker] com.example.demo.MutationTests           : Started MutationTests in 0.556 seconds (process running for 11.696)
594:  MutationTests > testCreatePost_FailedValidation() STANDARD_OUT
595:  WARN 2433 --- [    Test worker] jakarta.persistence.spi                  : jakarta.persistence.spi::No valid providers found.
596:  ERROR 2433 --- [    Test worker] s.g.e.ExceptionResolversExceptionHandler : Unresolved ConstraintViolationException for executionId 7407eeb0-35fc-ddbd-f608-5e516cea17db
597:  jakarta.validation.ConstraintViolationException: createPost.input.title: size must be between 5 and 100
...

618:  at graphql.execution.Execution.execute(Execution.java:117) ~[graphql-java-22.3.jar:na]
619:  at graphql.GraphQL.execute(GraphQL.java:546) ~[graphql-java-22.3.jar:na]
620:  at graphql.GraphQL.lambda$parseValidateAndExecute$13(GraphQL.java:476) ~[graphql-java-22.3.jar:na]
621:  at java.base/java.util.concurrent.CompletableFuture.uniComposeStage(CompletableFuture.java:1187) ~[na:na]
622:  at java.base/java.util.concurrent.CompletableFuture.thenCompose(CompletableFuture.java:2341) ~[na:na]
623:  at graphql.GraphQL.parseValidateAndExecute(GraphQL.java:471) ~[graphql-java-22.3.jar:na]
624:  at graphql.GraphQL.lambda$executeAsync$9(GraphQL.java:429) ~[graphql-java-22.3.jar:na]
625:  at java.base/java.util.concurrent.CompletableFuture.uniComposeStage(CompletableFuture.java:1187) ~[na:na]
626:  at java.base/java.util.concurrent.CompletableFuture.thenCompose(CompletableFuture.java:2341) ~[na:na]
627:  at graphql.GraphQL.executeAsync(GraphQL.java:418) ~[graphql-java-22.3.jar:na]
628:  at org.springframework.graphql.execution.DefaultExecutionGraphQlService.lambda$execute$4(DefaultExecutionGraphQlService.java:106) ~[spring-graphql-1.3.4.jar:1.3.4]
629:  at reactor.core.publisher.MonoDeferContextual.subscribe(MonoDeferContextual.java:47) ~[reactor-core-3.7.4.jar:3.7.4]
630:  at reactor.core.publisher.Mono.subscribe(Mono.java:4576) ~[reactor-core-3.7.4.jar:3.7.4]
631:  at reactor.core.publisher.Mono.block(Mono.java:1806) ~[reactor-core-3.7.4.jar:3.7.4]
632:  at org.springframework.graphql.test.tester.DefaultGraphQlTester$DefaultRequest.execute(DefaultGraphQlTester.java:181) ~[spring-graphql-test-1.3.4.jar:1.3.4]
633:  at com.example.demo.MutationTests.testCreatePost_FailedValidation(MutationTests.java:93) ~[test/:na]
634:  at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) ~[na:na]
...

700:  at java.base/java.lang.reflect.Method.invoke(Method.java:580) ~[na:na]
701:  at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36) ~[na:na]
702:  at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24) ~[na:na]
703:  at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33) ~[na:na]
704:  at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:92) ~[na:na]
705:  at jdk.proxy1/jdk.proxy1.$Proxy4.stop(Unknown Source) ~[na:na]
706:  at org.gradle.api.internal.tasks.testing.worker.TestWorker$3.run(TestWorker.java:200) ~[na:na]
707:  at org.gradle.api.internal.tasks.testing.worker.TestWorker.executeAndMaintainThreadName(TestWorker.java:132) ~[na:na]
708:  at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:103) ~[na:na]
709:  at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:63) ~[na:na]
710:  at org.gradle.process.internal.worker.child.ActionExecutionWorker.execute(ActionExecutionWorker.java:56) ~[na:na]
711:  at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:121) ~[na:na]
712:  at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:71) ~[na:na]
713:  at worker.org.gradle.process.internal.worker.GradleWorkerMain.run(GradleWorkerMain.java:69) ~[gradle-worker.jar:na]
714:  at worker.org.gradle.process.internal.worker.GradleWorkerMain.main(GradleWorkerMain.java:74) ~[gradle-worker.jar:na]
715:  MutationTests > testCreatePost_FailedValidation() PASSED
716:  MutationTests > testCreatePost() STANDARD_OUT
...

731:  QueryTests > allPosts() PASSED
732:  SubscriptionTests STANDARD_OUT
733:  INFO 2433 --- [    Test worker] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [com.example.demo.SubscriptionTests]: SubscriptionTests does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
734:  INFO 2433 --- [    Test worker] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration com.example.demo.DemoApplication for test class com.example.demo.SubscriptionTests
735:  .   ____          _            __ _ _
736:  /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
737:  ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
738:  \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
739:  '  |____| .__|_| |_|_| |_\__, | / / / /
740:  =========|_|==============|___/=/_/_/_/
741:  :: Spring Boot ::                (v3.4.4)
742:  INFO 2433 --- [    Test worker] com.example.demo.SubscriptionTests       : Starting SubscriptionTests using Java 21.0.6 with PID 2433 (started by runner in /home/runner/work/spring-graphql-sample/spring-graphql-sample/spring-graphql-webmvc)
743:  DEBUG 2433 --- [    Test worker] com.example.demo.SubscriptionTests       : Running with Spring Boot v3.4.4, Spring v6.2.5
744:  INFO 2433 --- [    Test worker] com.example.demo.SubscriptionTests       : No active profile set, falling back to 1 default profile: "default"
745:  WARN 2433 --- [    Test worker] s.c.a.AnnotationConfigApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: java.lang.IllegalStateException: Unable to select a bean to wrap: there are no beans of type com.example.demo.service.PostService (as required by field 'SubscriptionTests.postService'). If the bean is defined in a @Bean method, make sure the return type is the most specific type possible (for example, the concrete implementation type).
746:  SubscriptionTests STANDARD_ERROR
747:  ============================
...

839:  - @ConditionalOnClass did not find required class 'jakarta.json.bind.Jsonb' (OnClassCondition)
840:  RedisCacheConfiguration:
841:  Did not match:
842:  - @ConditionalOnClass did not find required class 'org.springframework.data.redis.connection.RedisConnectionFactory' (OnClassCondition)
843:  SimpleCacheConfiguration:
844:  Did not match:
845:  - Cache org.springframework.boot.autoconfigure.cache.SimpleCacheConfiguration unknown cache type (CacheCondition)
846:  Exclusions:
847:  -----------
848:  None
849:  Unconditional classes:
850:  ----------------------
851:  None
852:  SubscriptionTests STANDARD_OUT
853:  INFO 2433 --- [    Test worker] .s.b.a.l.ConditionEvaluationReportLogger : 
854:  Error starting ApplicationContext. To display the condition evaluation report re-run your application with 'debug' enabled.
855:  ERROR 2433 --- [    Test worker] o.s.boot.SpringApplication               : Application run failed
856:  java.lang.IllegalStateException: Unable to select a bean to wrap: there are no beans of type com.example.demo.service.PostService (as required by field 'SubscriptionTests.postService'). If the bean is defined in a @Bean method, make sure the return type is the most specific type possible (for example, the concrete implementation type).
...

949:  at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36) ~[na:na]
950:  at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24) ~[na:na]
951:  at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33) ~[na:na]
952:  at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:92) ~[na:na]
953:  at jdk.proxy1/jdk.proxy1.$Proxy4.stop(Unknown Source) ~[na:na]
954:  at org.gradle.api.internal.tasks.testing.worker.TestWorker$3.run(TestWorker.java:200) ~[na:na]
955:  at org.gradle.api.internal.tasks.testing.worker.TestWorker.executeAndMaintainThreadName(TestWorker.java:132) ~[na:na]
956:  at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:103) ~[na:na]
957:  at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:63) ~[na:na]
958:  at org.gradle.process.internal.worker.child.ActionExecutionWorker.execute(ActionExecutionWorker.java:56) ~[na:na]
959:  at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:121) ~[na:na]
960:  at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:71) ~[na:na]
961:  at worker.org.gradle.process.internal.worker.GradleWorkerMain.run(GradleWorkerMain.java:69) ~[gradle-worker.jar:na]
962:  at worker.org.gradle.process.internal.worker.GradleWorkerMain.main(GradleWorkerMain.java:74) ~[gradle-worker.jar:na]
963:  WARN 2433 --- [    Test worker] o.s.test.context.TestContextManager      : Caught exception while allowing TestExecutionListener [org.springframework.test.context.bean.override.BeanOverrideTestExecutionListener] to prepare test instance [com.example.demo.SubscriptionTests@6a73f164]
964:  java.lang.IllegalStateException: Failed to load ApplicationContext for [MergedContextConfiguration@2045108 testClass = com.example.demo.SubscriptionTests, locations = [], classes = [com.example.demo.DemoApplication], contextInitializerClasses = [], activeProfiles = [], propertySourceDescriptors = [], propertySourceProperties = ["org.springframework.boot.test.autoconfigure.graphql.GraphQlTestContextBootstrapper=true"], contextCustomizers = [org.springframework.boot.testcontainers.service.connection.ServiceConnectionContextCustomizer@0, org.springframework.boot.test.autoconfigure.OnFailureConditionReportContextCustomizerFactory$OnFailureConditionReportContextCustomizer@4d18aa28, org.springframework.boot.test.autoconfigure.OverrideAutoConfigurationContextCustomizerFactory$DisableAutoConfigurationContextCustomizer@48e859f7, org.springframework.boot.test.autoconfigure.actuate.observability.ObservabilityContextCustomizerFactory$DisableObservabilityContextCustomizer@1f, org.springframework.boot.test.autoconfigure.filter.TypeExcludeFiltersContextCustomizer@5ac40456, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@9c9b4c31, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizer@3e5499cc, [ImportsContextCustomizer@3343997b key = [org.springframework.boot.autoconfigure.graphql.GraphQlAutoConfiguration, org.springframework.boot.autoconfigure.cache.CacheAutoConfiguration, org.springframework.boot.autoconfigure.gson.GsonAutoConfiguration, org.springframework.boot.autoconfigure.jsonb.JsonbAutoConfiguration, org.springframework.boot.autoconfigure.validation.ValidationAutoConfiguration, org.springframework.boot.test.autoconfigure.graphql.tester.GraphQlTesterAutoConfiguration, org.springframework.boot.autoconfigure.http.codec.CodecsAutoConfiguration, org.springframework.boot.autoconfigure.jackson.JacksonAutoConfiguration]], org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@30bcf3c1, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@24b6b8f6, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.reactor.netty.DisableReactorResourceFactoryGlobalResourcesContextCustomizerFactory$DisableReactorResourceFactoryGlobalResourcesContextCustomizerCustomizer@306851c7, org.springframework.test.context.bean.override.BeanOverrideContextCustomizer@73ad947f, org.springframework.test.context.support.DynamicPropertiesContextCustomizer@0, org.springframework.boot.test.context.SpringBootTestAnnotation@ddbcb76b], contextLoader = org.springframework.boot.test.context.SpringBootContextLoader, parent = null]
965:  at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:180) ~[spring-test-6.2.5.jar:6.2.5]
...

1059:  at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:791) ~[spring-context-6.2.5.jar:6.2.5]
1060:  at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:609) ~[spring-context-6.2.5.jar:6.2.5]
1061:  at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:752) ~[spring-boot-3.4.4.jar:3.4.4]
1062:  at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:439) ~[spring-boot-3.4.4.jar:3.4.4]
1063:  at org.springframework.boot.SpringApplication.run(SpringApplication.java:318) ~[spring-boot-3.4.4.jar:3.4.4]
1064:  at org.springframework.boot.test.context.SpringBootContextLoader.lambda$loadContext$3(SpringBootContextLoader.java:144) ~[spring-boot-test-3.4.4.jar:3.4.4]
1065:  at org.springframework.util.function.ThrowingSupplier.get(ThrowingSupplier.java:58) ~[spring-core-6.2.5.jar:6.2.5]
1066:  at org.springframework.util.function.ThrowingSupplier.get(ThrowingSupplier.java:46) ~[spring-core-6.2.5.jar:6.2.5]
1067:  at org.springframework.boot.SpringApplication.withHook(SpringApplication.java:1461) ~[spring-boot-3.4.4.jar:3.4.4]
1068:  at org.springframework.boot.test.context.SpringBootContextLoader$ContextLoaderHook.run(SpringBootContextLoader.java:563) ~[spring-boot-test-3.4.4.jar:3.4.4]
1069:  at org.springframework.boot.test.context.SpringBootContextLoader.loadContext(SpringBootContextLoader.java:144) ~[spring-boot-test-3.4.4.jar:3.4.4]
1070:  at org.springframework.boot.test.context.SpringBootContextLoader.loadContext(SpringBootContextLoader.java:110) ~[spring-boot-test-3.4.4.jar:3.4.4]
1071:  at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:225) ~[spring-test-6.2.5.jar:6.2.5]
1072:  at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:152) ~[spring-test-6.2.5.jar:6.2.5]
1073:  ... 87 common frames omitted
1074:  SubscriptionTests > createPostAndAddComment() FAILED
1075:  java.lang.IllegalStateException: Failed to load ApplicationContext for [MergedContextConfiguration@2045108 testClass = com.example.demo.SubscriptionTests, locations = [], classes = [com.example.demo.DemoApplication], contextInitializerClasses = [], activeProfiles = [], propertySourceDescriptors = [], propertySourceProperties = ["org.springframework.boot.test.autoconfigure.graphql.GraphQlTestContextBootstrapper=true"], contextCustomizers = [org.springframework.boot.testcontainers.service.connection.ServiceConnectionContextCustomizer@0, org.springframework.boot.test.autoconfigure.OnFailureConditionReportContextCustomizerFactory$OnFailureConditionReportContextCustomizer@4d18aa28, org.springframework.boot.test.autoconfigure.OverrideAutoConfigurationContextCustomizerFactory$DisableAutoConfigurationContextCustomizer@48e859f7, org.springframework.boot.test.autoconfigure.actuate.observability.ObservabilityContextCustomizerFactory$DisableObservabilityContextCustomizer@1f, org.springframework.boot.test.autoconfigure.filter.TypeExcludeFiltersContextCustomizer@5ac40456, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@9c9b4c31, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizer@3e5499cc, [ImportsContextCustomizer@3343997b key = [org.springframework.boot.autoconfigure.graphql.GraphQlAutoConfiguration, org.springframework.boot.autoconfigure.cache.CacheAutoConfiguration, org.springframework.boot.autoconfigure.gson.GsonAutoConfiguration, org.springframework.boot.autoconfigure.jsonb.JsonbAutoConfiguration, org.springframework.boot.autoconfigure.validation.ValidationAutoConfiguration, org.springframework.boot.test.autoconfigure.graphql.tester.GraphQlTesterAutoConfiguration, org.springframework.boot.autoconfigure.http.codec.CodecsAutoConfiguration, org.springframework.boot.autoconfigure.jackson.JacksonAutoConfiguration]], org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@30bcf3c1, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@24b6b8f6, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.reactor.netty.DisableReactorResourceFactoryGlobalResourcesContextCustomizerFactory$DisableReactorResourceFactoryGlobalResourcesContextCustomizerCustomizer@306851c7, org.springframework.test.context.bean.override.BeanOverrideContextCustomizer@73ad947f, org.springframework.test.context.support.DynamicPropertiesContextCustomizer@0, org.springframework.boot.test.context.SpringBootTestAnnotation@ddbcb76b], contextLoader = org.springframework.boot.test.context.SpringBootContextLoader, parent = null]
1076:  at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:180)
...

1203:  returning id
1204:  ]
1205:  INFO 2433 --- [o-auto-1-exec-4] c.e.demo.repository.CommentRepository    : inserted rows: 1
1206:  DEBUG 2433 --- [o-auto-1-exec-4] o.s.jdbc.core.JdbcTemplate               : Executing prepared SQL query
1207:  DEBUG 2433 --- [o-auto-1-exec-4] o.s.jdbc.core.JdbcTemplate               : Executing prepared SQL statement [SELECT * FROM comments WHERE id = ?]
1208:  DEBUG 2433 --- [or-http-epoll-4] o.s.http.codec.json.Jackson2JsonDecoder  : Decoded [GraphQlWebSocketMessage[id="6", type="next", payload={data={addComment={id=3721af56-f01a-4fb0-87ac-4 (truncated)...]
1209:  DEBUG 2433 --- [or-http-epoll-4] o.s.http.codec.json.Jackson2JsonDecoder  : Decoded [GraphQlWebSocketMessage[id="6", type="complete", payload={}]]
1210:  DEBUG 2433 --- [    Test worker] o.s.http.codec.json.Jackson2JsonEncoder  : Encoding ["3721af56-f01a-4fb0-87ac-477952a647df"]
1211:  DEBUG 2433 --- [    Test worker] o.s.http.codec.json.Jackson2JsonDecoder  : Decoded ["3721af56-f01a-4fb0-87ac-477952a647df"]
1212:  INFO 2433 --- [    Test worker] scriptionTestsWithWebSocketGraphqlTester : added comment of post: 3721af56-f01a-4fb0-87ac-477952a647df
1213:  SubscriptionTestsWithWebSocketGraphqlTester > createPostAndAddComment() PASSED
1214:  INFO 2433 --- [ionShutdownHook] o.s.b.w.e.tomcat.GracefulShutdown        : Commencing graceful shutdown. Waiting for active requests to complete
1215:  INFO 2433 --- [tomcat-shutdown] o.s.b.w.e.tomcat.GracefulShutdown        : Graceful shutdown complete
1216:  INFO 2433 --- [ionShutdownHook] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Shutdown initiated...
1217:  INFO 2433 --- [ionShutdownHook] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Shutdown completed.
1218:  DEBUG 2433 --- [ionShutdownHook] s.w.s.h.LoggingWebSocketHandlerDecorator : Transport error in StandardWebSocketSession[id=27274cc1-0d21-bb58-55c5-9af69859e5d9, uri=ws://localhost:44033/subscriptions]
1219:  java.io.IOException: java.nio.channels.ClosedChannelException
...

1255:  at java.base/java.lang.Iterable.forEach(Iterable.java:75) ~[na:na]
1256:  at org.springframework.boot.SpringApplicationShutdownHook.run(SpringApplicationShutdownHook.java:116) ~[spring-boot-3.4.4.jar:3.4.4]
1257:  at java.base/java.lang.Thread.run(Thread.java:1583) ~[na:na]
1258:  Caused by: java.nio.channels.ClosedChannelException: null
1259:  at org.apache.tomcat.util.net.NioChannel$1.write(NioChannel.java:273) ~[tomcat-embed-core-10.1.39.jar:10.1.39]
1260:  at org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper$NioOperationState.run(NioEndpoint.java:1634) ~[tomcat-embed-core-10.1.39.jar:10.1.39]
1261:  at org.apache.tomcat.util.net.SocketWrapperBase$OperationState.start(SocketWrapperBase.java:1051) ~[tomcat-embed-core-10.1.39.jar:10.1.39]
1262:  at org.apache.tomcat.util.net.SocketWrapperBase.vectoredOperation(SocketWrapperBase.java:1440) ~[tomcat-embed-core-10.1.39.jar:10.1.39]
1263:  at org.apache.tomcat.util.net.SocketWrapperBase.write(SocketWrapperBase.java:1366) ~[tomcat-embed-core-10.1.39.jar:10.1.39]
1264:  at org.apache.tomcat.util.net.SocketWrapperBase.write(SocketWrapperBase.java:1337) ~[tomcat-embed-core-10.1.39.jar:10.1.39]
1265:  at org.apache.tomcat.websocket.server.WsRemoteEndpointImplServer.doWrite(WsRemoteEndpointImplServer.java:171) ~[tomcat-embed-websocket-10.1.39.jar:10.1.39]
1266:  at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.writeMessagePart(WsRemoteEndpointImplBase.java:521) ~[tomcat-embed-websocket-10.1.39.jar:10.1.39]
1267:  at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.sendMessageBlockInternal(WsRemoteEndpointImplBase.java:313) ~[tomcat-embed-websocket-10.1.39.jar:10.1.39]
1268:  ... 37 common frames omitted
1269:  DEBUG 2433 --- [ionShutdownHook] s.w.s.h.LoggingWebSocketHandlerDecorator : StandardWebSocketSession[id=27274cc1-0d21-bb58-55c5-9af69859e5d9, uri=ws://localhost:44033/subscriptions] closed with CloseStatus[code=1001, reason=The web application is stopping]
1270:  DEBUG 2433 --- [ionShutdownHook] s.w.s.h.LoggingWebSocketHandlerDecorator : Transport error in StandardWebSocketSession[id=a782aa8e-c2a0-59cf-ec62-e4f2918b9f9a, uri=ws://localhost:44033/subscriptions]
1271:  java.io.IOException: java.nio.channels.ClosedChannelException
...

1307:  at java.base/java.lang.Iterable.forEach(Iterable.java:75) ~[na:na]
1308:  at org.springframework.boot.SpringApplicationShutdownHook.run(SpringApplicationShutdownHook.java:116) ~[spring-boot-3.4.4.jar:3.4.4]
1309:  at java.base/java.lang.Thread.run(Thread.java:1583) ~[na:na]
1310:  Caused by: java.nio.channels.ClosedChannelException: null
1311:  at org.apache.tomcat.util.net.NioChannel$1.write(NioChannel.java:273) ~[tomcat-embed-core-10.1.39.jar:10.1.39]
1312:  at org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper$NioOperationState.run(NioEndpoint.java:1634) ~[tomcat-embed-core-10.1.39.jar:10.1.39]
1313:  at org.apache.tomcat.util.net.SocketWrapperBase$OperationState.start(SocketWrapperBase.java:1051) ~[tomcat-embed-core-10.1.39.jar:10.1.39]
1314:  at org.apache.tomcat.util.net.SocketWrapperBase.vectoredOperation(SocketWrapperBase.java:1440) ~[tomcat-embed-core-10.1.39.jar:10.1.39]
1315:  at org.apache.tomcat.util.net.SocketWrapperBase.write(SocketWrapperBase.java:1366) ~[tomcat-embed-core-10.1.39.jar:10.1.39]
1316:  at org.apache.tomcat.util.net.SocketWrapperBase.write(SocketWrapperBase.java:1337) ~[tomcat-embed-core-10.1.39.jar:10.1.39]
1317:  at org.apache.tomcat.websocket.server.WsRemoteEndpointImplServer.doWrite(WsRemoteEndpointImplServer.java:171) ~[tomcat-embed-websocket-10.1.39.jar:10.1.39]
1318:  at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.writeMessagePart(WsRemoteEndpointImplBase.java:521) ~[tomcat-embed-websocket-10.1.39.jar:10.1.39]
1319:  at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.sendMessageBlockInternal(WsRemoteEndpointImplBase.java:313) ~[tomcat-embed-websocket-10.1.39.jar:10.1.39]
1320:  ... 37 common frames omitted
1321:  DEBUG 2433 --- [ionShutdownHook] s.w.s.h.LoggingWebSocketHandlerDecorator : StandardWebSocketSession[id=a782aa8e-c2a0-59cf-ec62-e4f2918b9f9a, uri=ws://localhost:44033/subscriptions] closed with CloseStatus[code=1001, reason=The web application is stopping]
1322:  > Task :test FAILED
1323:  8 tests completed, 2 failed
1324:  FAILURE: Build failed with an exception.
1325:  * What went wrong:
1326:  Execution failed for task ':test'.
1327:  > There were failing tests. See the report at: file:///home/runner/work/spring-graphql-sample/spring-graphql-sample/spring-graphql-webmvc/build/reports/tests/test/index.html
1328:  * Try:
1329:  > Run with --scan to get full insights.
1330:  BUILD FAILED in 47s
1331:  [Incubating] Problems report is available at: file:///home/runner/work/spring-graphql-sample/spring-graphql-sample/spring-graphql-webmvc/build/reports/problems/problems-report.html
1332:  Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
1333:  You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
1334:  For more on this, please refer to https://docs.gradle.org/8.12/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
1335:  8 actionable tasks: 8 executed
1336:  ##[error]Process completed with exit code 1.
1337:  Post job cleanup.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file java Pull requests that update Java code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants