fix(deps): update dependency io.micronaut.data:micronaut-data-bom to v4.11.0 #707
GitHub Actions / Java CI / Test Report (21)
failed
Jan 14, 2025 in 0s
36 tests run, 34 passed, 0 skipped, 2 failed.
Annotations
github-actions / Java CI / Test Report (21)
TestApp.crud()
org.opentest4j.AssertionFailedError: expected: <3> but was: <0>
Raw output
org.opentest4j.AssertionFailedError: expected: <3> but was: <0>
at app//org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
at app//org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
at app//org.junit.jupiter.api.AssertEquals.failNotEqual(AssertEquals.java:197)
at app//org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:150)
at app//org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:145)
at app//org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:531)
at app//example.controllers.TestApp.crud(TestApp.java:107)
at [email protected]/java.lang.reflect.Method.invoke(Method.java:569)
at app//io.micronaut.test.extensions.junit5.MicronautJunit5Extension$2.proceed(MicronautJunit5Extension.java:142)
at app//io.micronaut.test.extensions.AbstractMicronautExtension.interceptEach(AbstractMicronautExtension.java:162)
at app//io.micronaut.test.extensions.AbstractMicronautExtension.interceptTest(AbstractMicronautExtension.java:119)
at app//io.micronaut.test.extensions.junit5.MicronautJunit5Extension.interceptTestMethod(MicronautJunit5Extension.java:129)
at [email protected]/java.util.ArrayList.forEach(ArrayList.java:1511)
at [email protected]/java.util.ArrayList.forEach(ArrayList.java:1511)
Check failure on line 1 in test-graalvm/common-tests/src/main/java/example/controllers/TestApp.java
github-actions / Java CI / Test Report (21)
TestApp.initializationError
io.micronaut.context.exceptions.BeanInstantiationException: Bean definition [io.micronaut.data.r2dbc.config.R2dbcSchemaGenerator] could not be loaded: Error instantiating bean of type [io.r2dbc.spi.ConnectionFactoryOptions$Builder]
Message: Test resources service wasn't able to revolve expression 'r2dbc.datasources.default.url': org.testcontainers.containers.ContainerLaunchException: Container startup failed for image mcr.microsoft.com/mssql/server:2019-CU16-GDR1-ubuntu-20.04
Path Taken: new R2dbcSchemaGenerator(List<DataR2dbcConfiguration E> configurations,R2dbcSchemaHandler schemaHandler) --> new R2dbcSchemaGenerator([List<DataR2dbcConfiguration E> configurations],R2dbcSchemaHandler schemaHandler) --> new DataR2dbcConfiguration(String name,[ConnectionFactory connectionFactory],Provider<R2dbcOperations T> r2dbcOperations) --> R2dbcConnectionFactoryBean.connectionFactory([ConnectionFactoryOptions options]) --> R2dbcConnectionFactoryBean.connectionFactoryOptions([Builder builder]) --> R2dbcConnectionFactoryBean.connectionFactoryOptionsBuilder([BasicR2dbcProperties basicR2dbcProperties])
Raw output
io.micronaut.context.exceptions.BeanInstantiationException: Bean definition [io.micronaut.data.r2dbc.config.R2dbcSchemaGenerator] could not be loaded: Error instantiating bean of type [io.r2dbc.spi.ConnectionFactoryOptions$Builder]
Message: Test resources service wasn't able to revolve expression 'r2dbc.datasources.default.url': org.testcontainers.containers.ContainerLaunchException: Container startup failed for image mcr.microsoft.com/mssql/server:2019-CU16-GDR1-ubuntu-20.04
Path Taken: new R2dbcSchemaGenerator(List<DataR2dbcConfiguration E> configurations,R2dbcSchemaHandler schemaHandler) --> new R2dbcSchemaGenerator([List<DataR2dbcConfiguration E> configurations],R2dbcSchemaHandler schemaHandler) --> new DataR2dbcConfiguration(String name,[ConnectionFactory connectionFactory],Provider<R2dbcOperations T> r2dbcOperations) --> R2dbcConnectionFactoryBean.connectionFactory([ConnectionFactoryOptions options]) --> R2dbcConnectionFactoryBean.connectionFactoryOptions([Builder builder]) --> R2dbcConnectionFactoryBean.connectionFactoryOptionsBuilder([BasicR2dbcProperties basicR2dbcProperties])
at app//io.micronaut.context.DefaultBeanContext.initializeContext(DefaultBeanContext.java:2000)
at app//io.micronaut.context.DefaultApplicationContext.initializeContext(DefaultApplicationContext.java:314)
at app//io.micronaut.context.DefaultBeanContext.configureAndStartContext(DefaultBeanContext.java:3318)
at app//io.micronaut.context.DefaultBeanContext.start(DefaultBeanContext.java:345)
at app//io.micronaut.context.DefaultApplicationContext.start(DefaultApplicationContext.java:216)
at app//io.micronaut.test.extensions.AbstractMicronautExtension.startApplicationContext(AbstractMicronautExtension.java:507)
at app//io.micronaut.test.extensions.AbstractMicronautExtension.beforeClass(AbstractMicronautExtension.java:346)
at app//io.micronaut.test.extensions.junit5.MicronautJunit5Extension.beforeAll(MicronautJunit5Extension.java:84)
at [email protected]/java.util.ArrayList.forEach(ArrayList.java:1511)
Caused by: io.micronaut.context.exceptions.BeanInstantiationException: Error instantiating bean of type [io.r2dbc.spi.ConnectionFactoryOptions$Builder]
Message: Test resources service wasn't able to revolve expression 'r2dbc.datasources.default.url': org.testcontainers.containers.ContainerLaunchException: Container startup failed for image mcr.microsoft.com/mssql/server:2019-CU16-GDR1-ubuntu-20.04
Path Taken: new R2dbcSchemaGenerator(List<DataR2dbcConfiguration E> configurations,R2dbcSchemaHandler schemaHandler) --> new R2dbcSchemaGenerator([List<DataR2dbcConfiguration E> configurations],R2dbcSchemaHandler schemaHandler) --> new DataR2dbcConfiguration(String name,[ConnectionFactory connectionFactory],Provider<R2dbcOperations T> r2dbcOperations) --> R2dbcConnectionFactoryBean.connectionFactory([ConnectionFactoryOptions options]) --> R2dbcConnectionFactoryBean.connectionFactoryOptions([Builder builder]) --> R2dbcConnectionFactoryBean.connectionFactoryOptionsBuilder([BasicR2dbcProperties basicR2dbcProperties])
at app//io.micronaut.context.DefaultBeanContext.resolveByBeanFactory(DefaultBeanContext.java:2349)
at app//io.micronaut.context.DefaultBeanContext.doCreateBean(DefaultBeanContext.java:2304)
at app//io.micronaut.context.DefaultBeanContext.doCreateBean(DefaultBeanContext.java:2316)
at app//io.micronaut.context.DefaultBeanContext.createRegistration(DefaultBeanContext.java:3127)
at app//io.micronaut.context.SingletonScope.getOrCreate(SingletonScope.java:80)
at app//io.micronaut.context.DefaultBeanContext.findOrCreateSingletonBeanRegistration(DefaultBeanContext.java:3029)
at app//io.micronaut.context.DefaultBeanContext.resolveBeanRegistration(DefaultBeanContext.java:2990)
at app//io.micronaut.context.DefaultBeanContext.resolveBeanRegistration(DefaultBeanContext.java:2756)
at app//io.micronaut.context.DefaultBeanContext.getBean(DefaultBeanContext.java:1745)
at app//io.micronaut.context.AbstractBeanResolutionContext.getBean(AbstractBeanResolutionContext.java:89)
at app//io.micronaut.context.AbstractInitializableBeanDefinition.resolveBean(AbstractInitializableBeanDefinition.java:2188)
at app//io.micronaut.context.AbstractInitializableBeanDefinition.getBeanForConstructorArgument(AbstractInitializableBeanDefinition.java:1350)
at app//io.micronaut.r2dbc.$R2dbcConnectionFactoryBean$ConnectionFactoryOptionsBuilder0$Definition.instantiate(Unknown Source)
at app//io.micronaut.context.BeanDefinitionDelegate.instantiate(BeanDefinitionDelegate.java:170)
at app//io.micronaut.context.DefaultBeanContext.resolveByBeanFactory(DefaultBeanContext.java:2334)
at app//io.micronaut.context.DefaultBeanContext.doCreateBean(DefaultBeanContext.java:2304)
at app//io.micronaut.context.DefaultBeanContext.doCreateBean(DefaultBeanContext.java:2316)
at app//io.micronaut.context.DefaultBeanContext.createRegistration(DefaultBeanContext.java:3127)
at app//io.micronaut.context.SingletonScope.getOrCreate(SingletonScope.java:80)
at app//io.micronaut.context.DefaultBeanContext.findOrCreateSingletonBeanRegistration(DefaultBeanContext.java:3029)
at app//io.micronaut.context.DefaultBeanContext.resolveBeanRegistration(DefaultBeanContext.java:2990)
at app//io.micronaut.context.DefaultBeanContext.resolveBeanRegistration(DefaultBeanContext.java:2756)
at app//io.micronaut.context.DefaultBeanContext.getBean(DefaultBeanContext.java:1745)
at app//io.micronaut.context.AbstractBeanResolutionContext.getBean(AbstractBeanResolutionContext.java:89)
at app//io.micronaut.context.AbstractInitializableBeanDefinition.resolveBean(AbstractInitializableBeanDefinition.java:2188)
at app//io.micronaut.context.AbstractInitializableBeanDefinition.getBeanForConstructorArgument(AbstractInitializableBeanDefinition.java:1350)
at app//io.micronaut.r2dbc.$R2dbcConnectionFactoryBean$ConnectionFactoryOptions1$Definition.instantiate(Unknown Source)
at app//io.micronaut.context.BeanDefinitionDelegate.instantiate(BeanDefinitionDelegate.java:170)
at app//io.micronaut.context.DefaultBeanContext.resolveByBeanFactory(DefaultBeanContext.java:2334)
at app//io.micronaut.context.DefaultBeanContext.doCreateBean(DefaultBeanContext.java:2304)
at app//io.micronaut.context.DefaultBeanContext.doCreateBean(DefaultBeanContext.java:2316)
at app//io.micronaut.context.DefaultBeanContext.createRegistration(DefaultBeanContext.java:3127)
at app//io.micronaut.context.SingletonScope.getOrCreate(SingletonScope.java:80)
at app//io.micronaut.context.DefaultBeanContext.findOrCreateSingletonBeanRegistration(DefaultBeanContext.java:3029)
at app//io.micronaut.context.DefaultBeanContext.resolveBeanRegistration(DefaultBeanContext.java:2990)
at app//io.micronaut.context.DefaultBeanContext.resolveBeanRegistration(DefaultBeanContext.java:2756)
at app//io.micronaut.context.DefaultBeanContext.getBean(DefaultBeanContext.java:1745)
at app//io.micronaut.context.AbstractBeanResolutionContext.getBean(AbstractBeanResolutionContext.java:89)
at app//io.micronaut.context.AbstractInitializableBeanDefinition.resolveBean(AbstractInitializableBeanDefinition.java:2188)
at app//io.micronaut.context.AbstractInitializableBeanDefinition.getBeanForConstructorArgument(AbstractInitializableBeanDefinition.java:1350)
at app//io.micronaut.r2dbc.$R2dbcConnectionFactoryBean$ConnectionFactory2$Definition.instantiate(Unknown Source)
at app//io.micronaut.context.BeanDefinitionDelegate.instantiate(BeanDefinitionDelegate.java:170)
at app//io.micronaut.context.DefaultBeanContext.resolveByBeanFactory(DefaultBeanContext.java:2334)
at app//io.micronaut.context.DefaultBeanContext.doCreateBean(DefaultBeanContext.java:2304)
at app//io.micronaut.context.DefaultBeanContext.doCreateBean(DefaultBeanContext.java:2316)
at app//io.micronaut.context.DefaultBeanContext.createRegistration(DefaultBeanContext.java:3127)
at app//io.micronaut.context.SingletonScope.getOrCreate(SingletonScope.java:80)
at app//io.micronaut.context.DefaultBeanContext.findOrCreateSingletonBeanRegistration(DefaultBeanContext.java:3029)
at app//io.micronaut.context.DefaultBeanContext.resolveBeanRegistration(DefaultBeanContext.java:2990)
at app//io.micronaut.context.DefaultBeanContext.resolveBeanRegistration(DefaultBeanContext.java:2756)
at app//io.micronaut.context.DefaultBeanContext.findBean(DefaultBeanContext.java:1808)
at app//io.micronaut.context.BeanDefinitionDelegate.getParametersValues(BeanDefinitionDelegate.java:228)
at app//io.micronaut.context.BeanDefinitionDelegate.instantiate(BeanDefinitionDelegate.java:166)
at app//io.micronaut.context.DefaultBeanContext.resolveByBeanFactory(DefaultBeanContext.java:2334)
at app//io.micronaut.context.DefaultBeanContext.doCreateBean(DefaultBeanContext.java:2304)
at app//io.micronaut.context.DefaultBeanContext.doCreateBean(DefaultBeanContext.java:2316)
at app//io.micronaut.context.DefaultBeanContext.createRegistration(DefaultBeanContext.java:3127)
at app//io.micronaut.context.SingletonScope.getOrCreate(SingletonScope.java:80)
at app//io.micronaut.context.DefaultBeanContext.findOrCreateSingletonBeanRegistration(DefaultBeanContext.java:3029)
at app//io.micronaut.context.DefaultBeanContext.resolveBeanRegistration(DefaultBeanContext.java:2990)
at app//io.micronaut.context.DefaultBeanContext.resolveBeanRegistration(DefaultBeanContext.java:2963)
at app//io.micronaut.context.DefaultBeanContext.addCandidateToList(DefaultBeanContext.java:3581)
at app//io.micronaut.context.DefaultBeanContext.resolveBeanRegistrations(DefaultBeanContext.java:3536)
at app//io.micronaut.context.DefaultBeanContext.getBeanRegistrations(DefaultBeanContext.java:3510)
at app//io.micronaut.context.DefaultBeanContext.getBeansOfType(DefaultBeanContext.java:1446)
at app//io.micronaut.context.AbstractBeanResolutionContext.getBeansOfType(AbstractBeanResolutionContext.java:95)
at app//io.micronaut.context.AbstractInitializableBeanDefinition.resolveBeansOfType(AbstractInitializableBeanDefinition.java:2276)
at app//io.micronaut.context.AbstractInitializableBeanDefinition.getBeansOfTypeForConstructorArgument(AbstractInitializableBeanDefinition.java:1498)
at app//io.micronaut.data.r2dbc.config.$R2dbcSchemaGenerator$Definition.instantiate(Unknown Source)
at app//io.micronaut.context.DefaultBeanContext.resolveByBeanFactory(DefaultBeanContext.java:2334)
at app//io.micronaut.context.DefaultBeanContext.doCreateBean(DefaultBeanContext.java:2304)
at app//io.micronaut.context.DefaultBeanContext.doCreateBean(DefaultBeanContext.java:2316)
at app//io.micronaut.context.DefaultBeanContext.createRegistration(DefaultBeanContext.java:3127)
at app//io.micronaut.context.SingletonScope.getOrCreate(SingletonScope.java:80)
at app//io.micronaut.context.DefaultBeanContext.findOrCreateSingletonBeanRegistration(DefaultBeanContext.java:3029)
at app//io.micronaut.context.DefaultBeanContext.initializeEagerBean(DefaultBeanContext.java:2702)
at app//io.micronaut.context.DefaultBeanContext.initializeContext(DefaultBeanContext.java:1994)
... 8 more
Caused by: io.micronaut.testresources.client.TestResourcesException: Test resources service wasn't able to revolve expression 'r2dbc.datasources.default.url': org.testcontainers.containers.ContainerLaunchException: Container startup failed for image mcr.microsoft.com/mssql/server:2019-CU16-GDR1-ubuntu-20.04
at app//io.micronaut.testresources.client.TestResourcesClientPropertyExpressionResolver$DelegateResolver.withErrorHandling(TestResourcesClientPropertyExpressionResolver.java:92)
at app//io.micronaut.testresources.client.TestResourcesClientPropertyExpressionResolver$DelegateResolver.callClient(TestResourcesClientPropertyExpressionResolver.java:74)
at app//io.micronaut.testresources.client.TestResourcesClientPropertyExpressionResolver$DelegateResolver.resolve(TestResourcesClientPropertyExpressionResolver.java:61)
at app//io.micronaut.testresources.core.LazyTestResourcesExpressionResolver.resolve(LazyTestResourcesExpressionResolver.java:45)
at app//io.micronaut.context.env.DefaultPropertyPlaceholderResolver.resolveExpression(DefaultPropertyPlaceholderResolver.java:209)
at app//io.micronaut.context.env.DefaultPropertyPlaceholderResolver$PlaceholderSegment.getValue(DefaultPropertyPlaceholderResolver.java:381)
at app//io.micronaut.context.env.DefaultPropertyPlaceholderResolver.resolveRequiredPlaceholdersObject(DefaultPropertyPlaceholderResolver.java:116)
at app//io.micronaut.context.env.PropertySourcePropertyResolver.resolvePlaceHoldersIfNecessary(PropertySourcePropertyResolver.java:797)
at app//io.micronaut.context.env.PropertySourcePropertyResolver.getProperty(PropertySourcePropertyResolver.java:394)
at app//io.micronaut.core.value.PropertyResolver.getProperty(PropertyResolver.java:126)
at app//io.micronaut.r2dbc.DefaultBasicR2dbcProperties.newConnectionFactoryOptionsBuilder(DefaultBasicR2dbcProperties.java:145)
at app//io.micronaut.r2dbc.DefaultBasicR2dbcProperties.<init>(DefaultBasicR2dbcProperties.java:51)
at app//io.micronaut.r2dbc.$DefaultBasicR2dbcProperties$Definition.doInstantiate(Unknown Source)
at app//io.micronaut.context.AbstractInitializableBeanDefinition.instantiate(AbstractInitializableBeanDefinition.java:770)
at app//io.micronaut.context.BeanDefinitionDelegate.instantiate(BeanDefinitionDelegate.java:167)
at app//io.micronaut.context.DefaultBeanContext.resolveByBeanFactory(DefaultBeanContext.java:2334)
... 84 more
Loading