Closed prajwar007 closed 3 months ago
Same problem here, did you manage to solve this?
Not yet, still waiting for a response from @kochetkov-ma
going to fix it today
I'm sure you're aware of the cause, but it looks like the issue is with persistent volumes in kubernetes and writing to the /allure
directory. If I test with a docker container locally it works fine, and if I don't use persistent storage and create a local drive when deploying in kubernetes, it also works.
I'm now seeing the following issues with the new release (it gets slightly further):
2024-08-15T10:14:30.822Z INFO 1 --- [ main] r.i.q.a.properties.AllureProperties : [ALLURE SERVER CONFIGURATION] Main AllureProperties parameters: AllureProperties(reports=AllureProperties.Reports(dirPath=allure/reports, dir=allure/reports/, path=reports/, historyLevel=20), resultsDir=allure/results/, dateFormat=yy/MM/dd HH:mm:ss, serverBaseUrl=, logo=null, title=BrewCode | Allure Report)
2024-08-15T10:14:32.635Z INFO 1 --- [ main] r.i.q.a.s.CleanUpServiceConfiguration : [ALLURE SERVER CONFIGURATION] CleanUp policy settings:
{
"dryRun" : false,
"time" : "00:00:00",
"ageDays" : 90,
"paths" : [ {
"path" : "manual_uploaded",
"ageDays" : 30,
"edgeDate" : "2024-07-16T10:14:32.635357452"
} ],
"minAge" : 30,
"edgeDate" : "2024-05-17T10:14:32.635563915",
"notDryRun" : true,
"closestEdgeDate" : "2024-07-16T10:14:32.635670185"
}
2024-08-15T10:14:50.227Z ERROR 1 --- [ main] r.i.q.allure.config.SpringConfiguration : Failed to load allure server plugins. No plugins will be applied
io.github.classgraph.ClassGraphException: Scan interrupted
at io.github.classgraph.ClassGraph.scan(ClassGraph.java:1635) ~[classgraph-4.8.171.jar!/:4.8.171]
at io.github.classgraph.ClassGraph.scan(ClassGraph.java:1654) ~[classgraph-4.8.171.jar!/:4.8.171]
at io.github.classgraph.ClassGraph.scan(ClassGraph.java:1667) ~[classgraph-4.8.171.jar!/:4.8.171]
at ru.iopump.qa.util.ReflectionUtil.findImplementations(ReflectionUtil.java:84) ~[qa-tools-1.2.0.jar!/:na]
at ru.iopump.qa.util.ReflectionUtil.createImplementations(ReflectionUtil.java:60) ~[qa-tools-1.2.0.jar!/:na]
at ru.iopump.qa.allure.config.SpringConfiguration.allureServerPlugins(SpringConfiguration.java:19) ~[!/:2.13.9]
at ru.iopump.qa.allure.config.SpringConfiguration$$SpringCGLIB$$0.CGLIB$allureServerPlugins$0(<generated>) ~[!/:2.13.9]
at ru.iopump.qa.allure.config.SpringConfiguration$$SpringCGLIB$$FastClass$$1.invoke(<generated>) ~[!/:2.13.9]
at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:258) ~[spring-core-6.1.10.jar!/:6.1.10]
at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:348) ~[spring-context-6.1.10.jar!/:6.1.10]
at ru.iopump.qa.allure.config.SpringConfiguration$$SpringCGLIB$$0.allureServerPlugins(<generated>) ~[!/:2.13.9]
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) ~[na:na]
at java.base/java.lang.reflect.Method.invoke(Method.java:580) ~[na:na]
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:140) ~[spring-beans-6.1.10.jar!/:6.1.10]
at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:644) ~[spring-beans-6.1.10.jar!/:6.1.10]
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:485) ~[spring-beans-6.1.10.jar!/:6.1.10]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1337) ~[spring-beans-6.1.10.jar!/:6.1.10]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1167) ~[spring-beans-6.1.10.jar!/:6.1.10]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:562) ~[spring-beans-6.1.10.jar!/:6.1.10]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:522) ~[spring-beans-6.1.10.jar!/:6.1.10]
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:337) ~[spring-beans-6.1.10.jar!/:6.1.10]
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) ~[spring-beans-6.1.10.jar!/:6.1.10]
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:335) ~[spring-beans-6.1.10.jar!/:6.1.10]
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200) ~[spring-beans-6.1.10.jar!/:6.1.10]
at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:254) ~[spring-beans-6.1.10.jar!/:6.1.10]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1443) ~[spring-beans-6.1.10.jar!/:6.1.10]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1353) ~[spring-beans-6.1.10.jar!/:6.1.10]
at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:904) ~[spring-beans-6.1.10.jar!/:6.1.10]
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:782) ~[spring-beans-6.1.10.jar!/:6.1.10]
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:237) ~[spring-beans-6.1.10.jar!/:6.1.10]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1357) ~[spring-beans-6.1.10.jar!/:6.1.10]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1194) ~[spring-beans-6.1.10.jar!/:6.1.10]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:562) ~[spring-beans-6.1.10.jar!/:6.1.10]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:522) ~[spring-beans-6.1.10.jar!/:6.1.10]
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:337) ~[spring-beans-6.1.10.jar!/:6.1.10]
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) ~[spring-beans-6.1.10.jar!/:6.1.10]
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:335) ~[spring-beans-6.1.10.jar!/:6.1.10]
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200) ~[spring-beans-6.1.10.jar!/:6.1.10]
at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:254) ~[spring-beans-6.1.10.jar!/:6.1.10]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1443) ~[spring-beans-6.1.10.jar!/:6.1.10]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1353) ~[spring-beans-6.1.10.jar!/:6.1.10]
at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:904) ~[spring-beans-6.1.10.jar!/:6.1.10]
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:782) ~[spring-beans-6.1.10.jar!/:6.1.10]
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:237) ~[spring-beans-6.1.10.jar!/:6.1.10]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1357) ~[spring-beans-6.1.10.jar!/:6.1.10]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1194) ~[spring-beans-6.1.10.jar!/:6.1.10]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:562) ~[spring-beans-6.1.10.jar!/:6.1.10]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:522) ~[spring-beans-6.1.10.jar!/:6.1.10]
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:337) ~[spring-beans-6.1.10.jar!/:6.1.10]
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) ~[spring-beans-6.1.10.jar!/:6.1.10]
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:335) ~[spring-beans-6.1.10.jar!/:6.1.10]
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200) ~[spring-beans-6.1.10.jar!/:6.1.10]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:975) ~[spring-beans-6.1.10.jar!/:6.1.10]
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:962) ~[spring-context-6.1.10.jar!/:6.1.10]
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:624) ~[spring-context-6.1.10.jar!/:6.1.10]
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:146) ~[spring-boot-3.3.1.jar!/:3.3.1]
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:754) ~[spring-boot-3.3.1.jar!/:3.3.1]
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:456) ~[spring-boot-3.3.1.jar!/:3.3.1]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:335) ~[spring-boot-3.3.1.jar!/:3.3.1]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1363) ~[spring-boot-3.3.1.jar!/:3.3.1]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1352) ~[spring-boot-3.3.1.jar!/:3.3.1]
at ru.iopump.qa.allure.Application.main(Application.java:25) ~[!/:2.13.9]
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) ~[na:na]
at java.base/java.lang.reflect.Method.invoke(Method.java:580) ~[na:na]
at org.springframework.boot.loader.launch.Launcher.launch(Launcher.java:91) ~[allure-server-docker.jar:2.13.9]
at org.springframework.boot.loader.launch.Launcher.launch(Launcher.java:53) ~[allure-server-docker.jar:2.13.9]
at org.springframework.boot.loader.launch.PropertiesLauncher.main(PropertiesLauncher.java:574) ~[allure-server-docker.jar:2.13.9]
Caused by: java.lang.InterruptedException: null
at java.base/java.util.concurrent.FutureTask.awaitDone(FutureTask.java:471) ~[na:na]
at java.base/java.util.concurrent.FutureTask.get(FutureTask.java:190) ~[na:na]
at io.github.classgraph.ClassGraph.scan(ClassGraph.java:1615) ~[classgraph-4.8.171.jar!/:4.8.171]
... 66 common frames omitted
2024-08-15T10:14:51.623Z INFO 1 --- [ main] r.i.q.a.helper.AllureReportGenerator : Found plugins directory allure/plugins
2024-08-15T10:14:51.819Z INFO 1 --- [ main] r.i.q.a.helper.AllureReportGenerator : Found PluginConfiguration(id=xunit-xml, name=XUnit XML v2 Plugin, description=The plugin that adds support for results in Xunit.net xml data format., extensions=[io.qameta.allure.xunitxml.XunitXmlPlugin], jsFiles=[], cssFiles=[]) plugin
2024-08-15T10:14:51.832Z INFO 1 --- [ main] r.i.q.a.helper.AllureReportGenerator : Found PluginConfiguration(id=jira, name=Jira Plugin, description=The plugin that adds support for Jira integration., extensions=[io.qameta.allure.jira.JiraExportPlugin], jsFiles=[], cssFiles=[]) plugin
2024-08-15T10:14:51.834Z INFO 1 --- [ main] r.i.q.a.helper.AllureReportGenerator : Found PluginConfiguration(id=screen-diff, name=Screen diff, description=Who cares about description by just-boris, extensions=[], jsFiles=[index.js], cssFiles=[styles.css]) plugin
2024-08-15T10:14:51.838Z INFO 1 --- [ main] r.i.q.a.helper.AllureReportGenerator : Found PluginConfiguration(id=xctest, name=XCTest Plugin, description=The plugin that adds support for results XCTest data format., extensions=[io.qameta.allure.xctest.XcTestPlugin], jsFiles=[], cssFiles=[]) plugin
2024-08-15T10:14:51.920Z INFO 1 --- [ main] r.i.q.a.helper.AllureReportGenerator : Found PluginConfiguration(id=trx, name=XUnit TRX Plugin, description=The plugin that adds support for results TRX data format., extensions=[io.qameta.allure.trx.TrxPlugin], jsFiles=[], cssFiles=[]) plugin
2024-08-15T10:14:51.929Z INFO 1 --- [ main] r.i.q.a.helper.AllureReportGenerator : Found PluginConfiguration(id=xray, name=Xray Plugin, description=The plugin that adds support for Xray integration., extensions=[io.qameta.allure.xray.XrayTestRunExportPlugin], jsFiles=[], cssFiles=[]) plugin
2024-08-15T10:14:51.932Z INFO 1 --- [ main] r.i.q.a.helper.AllureReportGenerator : Found PluginConfiguration(id=packages, name=Packages aggregator, description=The aggregator adds packages tab to the report, extensions=[io.qameta.allure.packages.PackagesPlugin], jsFiles=[index.js], cssFiles=[]) plugin
2024-08-15T10:14:51.935Z INFO 1 --- [ main] r.i.q.a.helper.AllureReportGenerator : Found PluginConfiguration(id=junit, name=JUnit Plugin, description=The plugin that adds support for results in JUnit.xml data format., extensions=[io.qameta.allure.junitxml.JunitXmlPlugin], jsFiles=[], cssFiles=[]) plugin
2024-08-15T10:14:51.937Z INFO 1 --- [ main] r.i.q.a.helper.AllureReportGenerator : Found PluginConfiguration(id=custom-logo, name=Custom logo aggregator, description=The aggregator replaces default Allure logo with a custom one, extensions=[], jsFiles=[], cssFiles=[styles.css]) plugin
2024-08-15T10:14:52.019Z INFO 1 --- [ main] r.i.q.a.helper.AllureReportGenerator : Found PluginConfiguration(id=behaviors, name=Behaviors aggregator, description=The aggregator adds behaviors tab to the report, extensions=[io.qameta.allure.behaviors.BehaviorsPlugin], jsFiles=[index.js], cssFiles=[]) plugin
2024-08-15T10:14:52.919Z INFO 1 --- [ main] r.i.q.allure.properties.BasicProperties : [ALLURE SERVER CONFIGURATION] Authorization parameters: BasicProperties(username=admin, enable=false)
2024-08-15T10:14:52.921Z INFO 1 --- [ main] r.i.q.a.security.SecurityConfiguration : [ALLURE SERVER SECURITY] Basic Auth: false | OAuth2: false
2024-08-15T10:14:53.531Z WARN 1 --- [ main] JpaBaseConfiguration$JpaWebConfiguration : spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning
2024-08-15T10:14:54.130Z INFO 1 --- [ main] r$InitializeUserDetailsManagerConfigurer : Global AuthenticationManager configured with UserDetailsService bean with name userDetailsService
2024-08-15T10:14:57.934Z ERROR 1 --- [ main] org.atmosphere.cpr.AtmosphereFramework : Failed to initialize Atmosphere Framework
java.lang.IllegalStateException: Shutdown in progress
at java.base/java.lang.ApplicationShutdownHooks.add(ApplicationShutdownHooks.java:67) ~[na:na]
at java.base/java.lang.Runtime.addShutdownHook(Runtime.java:250) ~[na:na]
at org.atmosphere.cpr.AtmosphereFramework.init(AtmosphereFramework.java:927) ~[atmosphere-runtime-3.0.5.slf4jvaadin1.jar!/:3.0.5.slf4jvaadin1]
at org.atmosphere.cpr.AtmosphereFramework.init(AtmosphereFramework.java:832) ~[atmosphere-runtime-3.0.5.slf4jvaadin1.jar!/:3.0.5.slf4jvaadin1]
at com.vaadin.flow.server.communication.PushRequestHandler.initAtmosphere(PushRequestHandler.java:261) ~[flow-server-24.4.2.jar!/:24.4.2]
at com.vaadin.flow.server.communication.JSR356WebsocketInitializer.initAtmosphereForVaadinServlet(JSR356WebsocketInitializer.java:186) ~[flow-server-24.4.2.jar!/:24.4.2]
at com.vaadin.flow.server.communication.JSR356WebsocketInitializer.init(JSR356WebsocketInitializer.java:151) ~[flow-server-24.4.2.jar!/:24.4.2]
at com.vaadin.flow.spring.VaadinWebsocketEndpointExporter.registerEndpoints(VaadinWebsocketEndpointExporter.java:51) ~[vaadin-spring-24.4.2.jar!/:na]
at org.springframework.web.socket.server.standard.ServerEndpointExporter.afterSingletonsInstantiated(ServerEndpointExporter.java:112) ~[spring-websocket-6.1.10.jar!/:6.1.10]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:986) ~[spring-beans-6.1.10.jar!/:6.1.10]
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:962) ~[spring-context-6.1.10.jar!/:6.1.10]
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:624) ~[spring-context-6.1.10.jar!/:6.1.10]
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:146) ~[spring-boot-3.3.1.jar!/:3.3.1]
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:754) ~[spring-boot-3.3.1.jar!/:3.3.1]
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:456) ~[spring-boot-3.3.1.jar!/:3.3.1]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:335) ~[spring-boot-3.3.1.jar!/:3.3.1]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1363) ~[spring-boot-3.3.1.jar!/:3.3.1]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1352) ~[spring-boot-3.3.1.jar!/:3.3.1]
at ru.iopump.qa.allure.Application.main(Application.java:25) ~[!/:2.13.9]
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) ~[na:na]
at java.base/java.lang.reflect.Method.invoke(Method.java:580) ~[na:na]
at org.springframework.boot.loader.launch.Launcher.launch(Launcher.java:91) ~[allure-server-docker.jar:2.13.9]
at org.springframework.boot.loader.launch.Launcher.launch(Launcher.java:53) ~[allure-server-docker.jar:2.13.9]
at org.springframework.boot.loader.launch.PropertiesLauncher.main(PropertiesLauncher.java:574) ~[allure-server-docker.jar:2.13.9]
2024-08-15T10:14:57.935Z WARN 1 --- [ main] c.v.f.s.c.JSR356WebsocketInitializer : Failed to initialize Atmosphere for springServlet
java.lang.RuntimeException: Atmosphere init failed
at com.vaadin.flow.server.communication.PushRequestHandler.initAtmosphere(PushRequestHandler.java:270) ~[flow-server-24.4.2.jar!/:24.4.2]
at com.vaadin.flow.server.communication.JSR356WebsocketInitializer.initAtmosphereForVaadinServlet(JSR356WebsocketInitializer.java:186) ~[flow-server-24.4.2.jar!/:24.4.2]
at com.vaadin.flow.server.communication.JSR356WebsocketInitializer.init(JSR356WebsocketInitializer.java:151) ~[flow-server-24.4.2.jar!/:24.4.2]
at com.vaadin.flow.spring.VaadinWebsocketEndpointExporter.registerEndpoints(VaadinWebsocketEndpointExporter.java:51) ~[vaadin-spring-24.4.2.jar!/:na]
at org.springframework.web.socket.server.standard.ServerEndpointExporter.afterSingletonsInstantiated(ServerEndpointExporter.java:112) ~[spring-websocket-6.1.10.jar!/:6.1.10]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:986) ~[spring-beans-6.1.10.jar!/:6.1.10]
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:962) ~[spring-context-6.1.10.jar!/:6.1.10]
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:624) ~[spring-context-6.1.10.jar!/:6.1.10]
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:146) ~[spring-boot-3.3.1.jar!/:3.3.1]
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:754) ~[spring-boot-3.3.1.jar!/:3.3.1]
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:456) ~[spring-boot-3.3.1.jar!/:3.3.1]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:335) ~[spring-boot-3.3.1.jar!/:3.3.1]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1363) ~[spring-boot-3.3.1.jar!/:3.3.1]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1352) ~[spring-boot-3.3.1.jar!/:3.3.1]
at ru.iopump.qa.allure.Application.main(Application.java:25) ~[!/:2.13.9]
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) ~[na:na]
at java.base/java.lang.reflect.Method.invoke(Method.java:580) ~[na:na]
at org.springframework.boot.loader.launch.Launcher.launch(Launcher.java:91) ~[allure-server-docker.jar:2.13.9]
at org.springframework.boot.loader.launch.Launcher.launch(Launcher.java:53) ~[allure-server-docker.jar:2.13.9]
at org.springframework.boot.loader.launch.PropertiesLauncher.main(PropertiesLauncher.java:574) ~[allure-server-docker.jar:2.13.9]
Caused by: jakarta.servlet.ServletException: java.lang.IllegalStateException: Shutdown in progress
at org.atmosphere.cpr.AtmosphereFramework.init(AtmosphereFramework.java:945) ~[atmosphere-runtime-3.0.5.slf4jvaadin1.jar!/:3.0.5.slf4jvaadin1]
at org.atmosphere.cpr.AtmosphereFramework.init(AtmosphereFramework.java:832) ~[atmosphere-runtime-3.0.5.slf4jvaadin1.jar!/:3.0.5.slf4jvaadin1]
at com.vaadin.flow.server.communication.PushRequestHandler.initAtmosphere(PushRequestHandler.java:261) ~[flow-server-24.4.2.jar!/:24.4.2]
... 19 common frames omitted
Caused by: java.lang.IllegalStateException: Shutdown in progress
at java.base/java.lang.ApplicationShutdownHooks.add(ApplicationShutdownHooks.java:67) ~[na:na]
at java.base/java.lang.Runtime.addShutdownHook(Runtime.java:250) ~[na:na]
at org.atmosphere.cpr.AtmosphereFramework.init(AtmosphereFramework.java:927) ~[atmosphere-runtime-3.0.5.slf4jvaadin1.jar!/:3.0.5.slf4jvaadin1]
... 21 common frames omitted
2024-08-15T10:14:59.123Z ERROR 1 --- [ main] org.atmosphere.cpr.AtmosphereFramework : Failed to initialize Atmosphere Framework
java.lang.IllegalStateException: Shutdown in progress
at java.base/java.lang.ApplicationShutdownHooks.add(ApplicationShutdownHooks.java:67) ~[na:na]
at java.base/java.lang.Runtime.addShutdownHook(Runtime.java:250) ~[na:na]
at org.atmosphere.cpr.AtmosphereFramework.init(AtmosphereFramework.java:927) ~[atmosphere-runtime-3.0.5.slf4jvaadin1.jar!/:3.0.5.slf4jvaadin1]
at org.atmosphere.cpr.AtmosphereFramework.init(AtmosphereFramework.java:832) ~[atmosphere-runtime-3.0.5.slf4jvaadin1.jar!/:3.0.5.slf4jvaadin1]
at org.atmosphere.cpr.AtmosphereFrameworkInitializer.configureFramework(AtmosphereFrameworkInitializer.java:76) ~[atmosphere-runtime-3.0.5.slf4jvaadin1.jar!/:3.0.5.slf4jvaadin1]
at org.atmosphere.cpr.AtmosphereServlet.configureFramework(AtmosphereServlet.java:83) ~[atmosphere-runtime-3.0.5.slf4jvaadin1.jar!/:3.0.5.slf4jvaadin1]
at org.atmosphere.cpr.AtmosphereServlet.configureFramework(AtmosphereServlet.java:79) ~[atmosphere-runtime-3.0.5.slf4jvaadin1.jar!/:3.0.5.slf4jvaadin1]
at org.atmosphere.cpr.AtmosphereServlet.init(AtmosphereServlet.java:74) ~[atmosphere-runtime-3.0.5.slf4jvaadin1.jar!/:3.0.5.slf4jvaadin1]
at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:837) ~[tomcat-embed-core-10.1.25.jar!/:na]
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:701) ~[tomcat-embed-core-10.1.25.jar!/:na]
at org.springframework.boot.web.embedded.tomcat.TomcatEmbeddedContext.load(TomcatEmbeddedContext.java:84) ~[spring-boot-3.3.1.jar!/:3.3.1]
at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184) ~[na:na]
at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1708) ~[na:na]
at java.base/java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:762) ~[na:na]
at java.base/java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:276) ~[na:na]
at java.base/java.util.TreeMap$ValueSpliterator.forEachRemaining(TreeMap.java:3250) ~[na:na]
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509) ~[na:na]
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499) ~[na:na]
at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151) ~[na:na]
at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174) ~[na:na]
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[na:na]
at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:596) ~[na:na]
at org.springframework.boot.web.embedded.tomcat.TomcatEmbeddedContext.lambda$deferredLoadOnStartup$0(TomcatEmbeddedContext.java:67) ~[spring-boot-3.3.1.jar!/:3.3.1]
at org.springframework.boot.web.embedded.tomcat.TomcatEmbeddedContext.doWithThreadContextClassLoader(TomcatEmbeddedContext.java:108) ~[spring-boot-3.3.1.jar!/:3.3.1]
at org.springframework.boot.web.embedded.tomcat.TomcatEmbeddedContext.deferredLoadOnStartup(TomcatEmbeddedContext.java:66) ~[spring-boot-3.3.1.jar!/:3.3.1]
at org.springframework.boot.web.embedded.tomcat.TomcatWebServer.performDeferredLoadOnStartup(TomcatWebServer.java:333) ~[spring-boot-3.3.1.jar!/:3.3.1]
at org.springframework.boot.web.embedded.tomcat.TomcatWebServer.start(TomcatWebServer.java:239) ~[spring-boot-3.3.1.jar!/:3.3.1]
at org.springframework.boot.web.servlet.context.WebServerStartStopLifecycle.start(WebServerStartStopLifecycle.java:44) ~[spring-boot-3.3.1.jar!/:3.3.1]
at org.springframework.context.support.DefaultLifecycleProcessor.doStart(DefaultLifecycleProcessor.java:285) ~[spring-context-6.1.10.jar!/:6.1.10]
at org.springframework.context.support.DefaultLifecycleProcessor$LifecycleGroup.start(DefaultLifecycleProcessor.java:469) ~[spring-context-6.1.10.jar!/:6.1.10]
at java.base/java.lang.Iterable.forEach(Iterable.java:75) ~[na:na]
at org.springframework.context.support.DefaultLifecycleProcessor.startBeans(DefaultLifecycleProcessor.java:257) ~[spring-context-6.1.10.jar!/:6.1.10]
at org.springframework.context.support.DefaultLifecycleProcessor.onRefresh(DefaultLifecycleProcessor.java:202) ~[spring-context-6.1.10.jar!/:6.1.10]
at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:981) ~[spring-context-6.1.10.jar!/:6.1.10]
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:627) ~[spring-context-6.1.10.jar!/:6.1.10]
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:146) ~[spring-boot-3.3.1.jar!/:3.3.1]
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:754) ~[spring-boot-3.3.1.jar!/:3.3.1]
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:456) ~[spring-boot-3.3.1.jar!/:3.3.1]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:335) ~[spring-boot-3.3.1.jar!/:3.3.1]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1363) ~[spring-boot-3.3.1.jar!/:3.3.1]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1352) ~[spring-boot-3.3.1.jar!/:3.3.1]
at ru.iopump.qa.allure.Application.main(Application.java:25) ~[!/:2.13.9]
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) ~[na:na]
at java.base/java.lang.reflect.Method.invoke(Method.java:580) ~[na:na]
at org.springframework.boot.loader.launch.Launcher.launch(Launcher.java:91) ~[allure-server-docker.jar:2.13.9]
at org.springframework.boot.loader.launch.Launcher.launch(Launcher.java:53) ~[allure-server-docker.jar:2.13.9]
at org.springframework.boot.loader.launch.PropertiesLauncher.main(PropertiesLauncher.java:574) ~[allure-server-docker.jar:2.13.9]
2024-08-15T10:14:59.128Z WARN 1 --- [ main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.context.ApplicationContextException: Failed to start bean 'webServerStartStop'
2024-08-15T10:14:59.131Z INFO 1 --- [ main] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default'
2024-08-15T10:14:59.134Z INFO 1 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown initiated...
2024-08-15T10:14:59.219Z INFO 1 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown completed.
I will investigate if it's something on my side
I could not reproduce this issue. And just wrapped pugin loading section into try-catch because the server can work without plugins. But in your case there are following critical issues with core functional...
I've found that if I replace the resources section of the deployment template in the helm template with
resources: {}
then everything works as expected. I suspect if I play around with the resource configuration values you supply as default values, it might work, but I'm tempted to just leave it and let the system deal with resources.
I am using image tag: 2.13.4.
I already have created a database named "allure" and it creates a table "report_entity" in that DB.
com.zaxxer.hikari.pool.HikariPool : HikariPool-1 - Added connection org.postgresql.jdbc.PgConnection@7c59cf66
Also, I have specified following datasource url in helm release under values:
I've no clue about following error that I encountered, please assist here what is the root cause and how to resolve, may be some configuration is missed at my end.
2024-08-02T06:09:27.778Z WARN 1 --- [ main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'allureReportController' defined in URL [jar:nested:/allure-server-docker.jar/!BOOT-INF/classes/!/ru/iopump/qa/allure/controller/AllureReportController.class]: Unsatisfied dependency expressed through constructor parameter 0: Error creating bean with name 'jpaReportService' defined in URL [jar:nested:/allure-server-docker.jar/!BOOT-INF/classes/!/ru/iopump/qa/allure/service/JpaReportService.class]: Unsatisfied dependency expressed through constructor parameter 3: Error creating bean with name ' allureReportGenerator' defined in URL [jar:nested:/allure-server-docker.jar/!BOOT-INF/classes/!/ru/iopump/qa/allure/helper/Allure ReportGenerator.class]: Unsatisfied dependency expressed through constructor parameter 0: Error creating bean with name 'allureServerPlugins' defined in class path resource [ru/iopump/qa/allure/config/SpringConfiguration.class]: Failed to instantiate [java.util.Collection]: Factory method 'allureServerPlugins' threw exception with message: Scan interrupted