Skip to content
GitHub Actions / Java CI / Test Report (17) failed Dec 8, 2024 in 0s

204 tests run, 203 passed, 0 skipped, 1 failed.

Annotations

Check failure on line 1 in test-resources-r2dbc/test-resources-r2dbc-oracle-free/src/test/groovy/io/micronaut/testresources/r2dbc/oracle/WithJdbcStartOracleTest.groovy

See this annotation in the file changed.

@github-actions github-actions / Java CI / Test Report (17)

WithJdbcStartOracleTest.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: Container startup failed for image gvenzl/oracle-free:slim-faststart
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: Container startup failed for image gvenzl/oracle-free:slim-faststart
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.spock.MicronautSpockExtension.startApplicationContext(MicronautSpockExtension.java:299)
	at app//io.micronaut.test.extensions.AbstractMicronautExtension.beforeClass(AbstractMicronautExtension.java:346)
	at app//io.micronaut.test.extensions.spock.MicronautSpockExtension.lambda$visitSpecAnnotation$2(MicronautSpockExtension.java:93)
	at app//org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:101)
	at app//org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:156)
	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: Container startup failed for image gvenzl/oracle-free:slim-faststart
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.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.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.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.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)
	... 11 more
Caused by: org.testcontainers.containers.ContainerLaunchException: Container startup failed for image gvenzl/oracle-free:slim-faststart
	at app//org.testcontainers.containers.GenericContainer.doStart(GenericContainer.java:351)
	at app//org.testcontainers.containers.GenericContainer.start(GenericContainer.java:322)
	at app//io.micronaut.testresources.testcontainers.TestContainers.lambda$getOrCreate$5(TestContainers.java:127)
	at app//io.micronaut.testresources.testcontainers.TestContainers.withKey(TestContainers.java:71)
	at app//io.micronaut.testresources.testcontainers.TestContainers.getOrCreate(TestContainers.java:112)
	at app//io.micronaut.testresources.testcontainers.AbstractTestContainersProvider.resolve(AbstractTestContainersProvider.java:113)
	at app//io.micronaut.testresources.embedded.EmbeddedTestResourcesPropertyExpressionResolver$Delegate.resolve(EmbeddedTestResourcesPropertyExpressionResolver.java:62)
	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:163)
	at app//io.micronaut.core.value.PropertyResolver.getProperty(PropertyResolver.java:180)
	at app//io.micronaut.testresources.core.PropertyResolverSupport.resolveRequiredProperties(PropertyResolverSupport.java:47)
	at app//io.micronaut.testresources.embedded.EmbeddedTestResourcesPropertyExpressionResolver$Delegate.resolve(EmbeddedTestResourcesPropertyExpressionResolver.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.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)
	... 83 more
Caused by: org.rnorth.ducttape.RetryCountExceededException: Retry limit hit with exception
	at app//org.rnorth.ducttape.unreliables.Unreliables.retryUntilSuccess(Unreliables.java:88)
	at app//org.testcontainers.containers.GenericContainer.doStart(GenericContainer.java:336)
	... 111 more
Caused by: org.testcontainers.containers.ContainerLaunchException: Could not create/start container
	at app//org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:556)
	at app//org.testcontainers.containers.GenericContainer.lambda$doStart$0(GenericContainer.java:346)
	at app//org.rnorth.ducttape.unreliables.Unreliables.retryUntilSuccess(Unreliables.java:81)
	... 112 more
Caused by: java.lang.IllegalStateException: Wait strategy failed. Container exited with code 41
	at app//org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:525)
	... 114 more
Caused by: org.testcontainers.containers.ContainerLaunchException: Timed out waiting for log output matching '.*DATABASE IS READY TO USE!.*\s'
	at app//org.testcontainers.containers.wait.strategy.LogMessageWaitStrategy.waitUntilReady(LogMessageWaitStrategy.java:47)
	at app//org.testcontainers.containers.wait.strategy.AbstractWaitStrategy.waitUntilReady(AbstractWaitStrategy.java:52)
	at app//org.testcontainers.oracle.OracleContainer.waitUntilContainerStarted(OracleContainer.java:81)
	at app//org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:492)
	... 114 more