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

[Bug]: Unable to run server-tests #33865

Closed
1 task done
anksingh-zuora opened this issue May 30, 2024 · 2 comments
Closed
1 task done

[Bug]: Unable to run server-tests #33865

anksingh-zuora opened this issue May 30, 2024 · 2 comments
Assignees
Labels
Bug Something isn't working Community Reported issues reported by community members Needs Triaging Needs attention from maintainers to triage

Comments

@anksingh-zuora
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Description

server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.0843819Z [2024-05-30 08:06:25,722] - Starting ApplicationTemplateServiceTest using Java 17.0.11 with PID 5851 (started by runner in /runner/_work/appsmith/appsmith/app/server/appsmith-server)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.0845653Z [2024-05-30 08:06:25,722] - Running with Spring Boot v3.0.9, Spring v6.0.11
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.0846799Z [2024-05-30 08:06:25,723] - The following 1 profile is active: "test"
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.0848366Z [2024-05-30 08:06:29,091] - Application started with build version UNKNOWN, and commitSha UNKNOWN
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.0851159Z [2024-05-30 08:06:32,018] - /home/runner/.embedmongo/fileSets/42198b366a7bbe92dd01a0dd5117fbe1dc7961ed799c01fc4dc0c6c5ab0fa010/mongod: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.0853326Z [2024-05-30 08:06:32,062] - Application run failed
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.0869681Z org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'gitFileSystemTestHelper' defined in file [/runner/_work/appsmith/appsmith/app/server/appsmith-server/target/test-classes/com/appsmith/server/testhelpers/git/GitFileSystemTestHelper.class]: Unsatisfied dependency expressed through constructor parameter 0: Error creating bean with name 'gitExecutorImpl' defined in file [/runner/_work/appsmith/appsmith/app/server/appsmith-git/target/classes/com/appsmith/git/service/GitExecutorImpl.class]: Unsatisfied dependency expressed through constructor parameter 1: Error creating bean with name 'gitConfigImpl' defined in file [/runner/_work/appsmith/appsmith/app/server/appsmith-server/target/classes/com/appsmith/server/configurations/git/GitConfigImpl.class]: Unsatisfied dependency expressed through constructor parameter 0: Error creating bean with name 'tenantServiceImpl' defined in file [/runner/_work/appsmith/appsmith/app/server/appsmith-server/target/classes/com/appsmith/server/services/TenantServiceImpl.class]: Unsatisfied dependency expressed through constructor parameter 2: Error creating bean with name 'tenantRepository' defined in com.appsmith.server.repositories.TenantRepository defined in @EnableReactiveMongoRepositories declared on MongoConfig: Cannot resolve reference to bean 'reactive mongodb.TenantRepository.fragments#0' while setting bean property 'repositoryFragments'
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.0882378Z at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:800)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.0884424Z at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:245)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.0887247Z at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1352)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.0891035Z at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1189)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.0894776Z at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:560)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.0897607Z at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:520)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.0899789Z at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:326)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.0916260Z at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.0919443Z at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:324)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.0921061Z at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.0922978Z at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:973)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.0925190Z at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:942)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.0927167Z at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:608)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.0928614Z at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:732)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.0929875Z at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:434)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.0931085Z at org.springframework.boot.SpringApplication.run(SpringApplication.java:310)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.0932719Z at org.springframework.boot.test.context.SpringBootContextLoader.lambda$loadContext$3(SpringBootContextLoader.java:137)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.0934360Z at org.springframework.util.function.ThrowingSupplier.get(ThrowingSupplier.java:58)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.0935596Z at org.springframework.util.function.ThrowingSupplier.get(ThrowingSupplier.java:46)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.0936827Z at org.springframework.boot.SpringApplication.withHook(SpringApplication.java:1388)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.0938343Z at org.springframework.boot.test.context.SpringBootContextLoader$ContextLoaderHook.run(SpringBootContextLoader.java:545)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.0940153Z at org.springframework.boot.test.context.SpringBootContextLoader.loadContext(SpringBootContextLoader.java:137)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.0941882Z at org.springframework.boot.test.context.SpringBootContextLoader.loadContext(SpringBootContextLoader.java:108)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.0944078Z at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:187)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.0946492Z at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:119)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.0948549Z at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:127)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.0950760Z at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:141)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.0953978Z at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:97)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.0956117Z at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:241)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.0957867Z at org.springframework.test.context.junit.jupiter.SpringExtension.postProcessTestInstance(SpringExtension.java:138)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.0959875Z at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$invokeTestInstancePostProcessors$10(ClassBasedTestDescriptor.java:377)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.0961931Z at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.executeAndMaskThrowable(ClassBasedTestDescriptor.java:382)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.0963992Z at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$invokeTestInstancePostProcessors$11(ClassBasedTestDescriptor.java:377)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.0965645Z at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.0966837Z at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:179)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.0968196Z at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1625)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.0969419Z at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.0970652Z at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.0972125Z at java.base/java.util.stream.StreamSpliterators$WrappingSpliterator.forEachRemaining(StreamSpliterators.java:310)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.0973569Z at java.base/java.util.stream.Streams$ConcatSpliterator.forEachRemaining(Streams.java:735)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.0974863Z at java.base/java.util.stream.Streams$ConcatSpliterator.forEachRemaining(Streams.java:734)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.0976099Z at java.base/java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:762)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.0977822Z at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.invokeTestInstancePostProcessors(ClassBasedTestDescriptor.java:376)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.0980014Z at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$instantiateAndPostProcessTestInstance$6(ClassBasedTestDescriptor.java:289)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.0982080Z at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.0984257Z at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.instantiateAndPostProcessTestInstance(ClassBasedTestDescriptor.java:288)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.0987945Z at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$testInstancesProvider$4(ClassBasedTestDescriptor.java:278)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.0990372Z at java.base/java.util.Optional.orElseGet(Optional.java:364)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.0992827Z at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$testInstancesProvider$5(ClassBasedTestDescriptor.java:277)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.0996234Z at org.junit.jupiter.engine.execution.TestInstancesProvider.getTestInstances(TestInstancesProvider.java:31)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.0999446Z at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$prepare$0(TestMethodTestDescriptor.java:105)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.1002711Z at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.1005881Z at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.prepare(TestMethodTestDescriptor.java:104)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.1009021Z at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.prepare(TestMethodTestDescriptor.java:68)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.1011958Z at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$prepare$2(NodeTestTask.java:123)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.1014580Z at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.1019251Z at org.junit.platform.engine.support.hierarchical.NodeTestTask.prepare(NodeTestTask.java:123)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.1021907Z at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:90)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.1023989Z at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.1027183Z at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.1031294Z at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.1034524Z at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.1037564Z at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.1040288Z at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.1043010Z at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.1046369Z at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.1048175Z at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.1050071Z at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.1051653Z at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.1053590Z at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.1056463Z at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.1059140Z at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.1061794Z at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.1064023Z at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.1066292Z at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.1069134Z at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.1071716Z at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.1074463Z at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.1078159Z at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:35)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.1082510Z at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.1086038Z at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:54)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.1088979Z at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:147)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.1091893Z at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:127)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.1094612Z at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:90)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.1097247Z at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:55)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.1100118Z at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:102)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.1103025Z at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:54)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.1105267Z at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:114)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.1107264Z at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:86)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.1109711Z at org.junit.platform.launcher.core.DefaultLauncherSession$DelegatingLauncher.execute(DefaultLauncherSession.java:86)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.1112484Z at org.junit.platform.launcher.core.SessionPerRequestLauncher.execute(SessionPerRequestLauncher.java:53)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.1115078Z at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.execute(JUnitPlatformProvider.java:188)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.1118238Z at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:154)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.1121040Z at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:128)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.1123462Z at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:428)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.1125757Z at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.1127644Z at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:562)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.1129439Z at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:548)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.1147366Z Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'gitExecutorImpl' defined in file [/runner/_work/appsmith/appsmith/app/server/appsmith-git/target/classes/com/appsmith/git/service/GitExecutorImpl.class]: Unsatisfied dependency expressed through constructor parameter 1: Error creating bean with name 'gitConfigImpl' defined in file [/runner/_work/appsmith/appsmith/app/server/appsmith-server/target/classes/com/appsmith/server/configurations/git/GitConfigImpl.class]: Unsatisfied dependency expressed through constructor parameter 0: Error creating bean with name 'tenantServiceImpl' defined in file [/runner/_work/appsmith/appsmith/app/server/appsmith-server/target/classes/com/appsmith/server/services/TenantServiceImpl.class]: Unsatisfied dependency expressed through constructor parameter 2: Error creating bean with name 'tenantRepository' defined in com.appsmith.server.repositories.TenantRepository defined in @EnableReactiveMongoRepositories declared on MongoConfig: Cannot resolve reference to bean 'reactive mongodb.TenantRepository.fragments#0' while setting bean property 'repositoryFragments'
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.1162329Z at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:800)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.1165084Z at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:245)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.1168419Z at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1352)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.1172374Z at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1189)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.1176067Z at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:560)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.1179931Z at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:520)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.1183303Z at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:326)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.1186218Z at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.1189088Z at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:324)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.1191678Z at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.1194323Z at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:254)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.1197427Z at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1417)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.1200859Z at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1337)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.1204262Z at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:888)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.1207461Z at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:791)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.1209268Z ... 97 common frames omitted
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.1222866Z Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'gitConfigImpl' defined in file [/runner/_work/appsmith/appsmith/app/server/appsmith-server/target/classes/com/appsmith/server/configurations/git/GitConfigImpl.class]: Unsatisfied dependency expressed through constructor parameter 0: Error creating bean with name 'tenantServiceImpl' defined in file [/runner/_work/appsmith/appsmith/app/server/appsmith-server/target/classes/com/appsmith/server/services/TenantServiceImpl.class]: Unsatisfied dependency expressed through constructor parameter 2: Error creating bean with name 'tenantRepository' defined in com.appsmith.server.repositories.TenantRepository defined in @EnableReactiveMongoRepositories declared on MongoConfig: Cannot resolve reference to bean 'reactive mongodb.TenantRepository.fragments#0' while setting bean property 'repositoryFragments'
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.1235199Z at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:800)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.1238071Z at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:245)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.1241447Z at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1352)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.1245268Z at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1189)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.1249216Z at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:560)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.1253073Z at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:520)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.1256260Z at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:326)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.1259384Z at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.1262517Z at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:324)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.1265569Z at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.1270095Z at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:254)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.1273494Z at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1417)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.1276896Z at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1337)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.1280287Z at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:888)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.1283709Z at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:791)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.1285853Z ... 111 common frames omitted
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.1296167Z Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'tenantServiceImpl' defined in file [/runner/_work/appsmith/appsmith/app/server/appsmith-server/target/classes/com/appsmith/server/services/TenantServiceImpl.class]: Unsatisfied dependency expressed through constructor parameter 2: Error creating bean with name 'tenantRepository' defined in com.appsmith.server.repositories.TenantRepository defined in @EnableReactiveMongoRepositories declared on MongoConfig: Cannot resolve reference to bean 'reactive mongodb.TenantRepository.fragments#0' while setting bean property 'repositoryFragments'
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.1305269Z at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:800)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.1308397Z at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:245)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.1312038Z at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1352)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.1316385Z at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1189)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.1320890Z at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:560)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.1325031Z at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:520)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.1328642Z at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:326)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.1331872Z at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.1335232Z at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:324)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.1337759Z at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.1340612Z at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:254)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.1344024Z at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1417)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.1348017Z at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1337)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.1351771Z at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:888)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.1355419Z at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:791)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.1357696Z ... 125 common frames omitted
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.1364419Z Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'tenantRepository' defined in com.appsmith.server.repositories.TenantRepository defined in @EnableReactiveMongoRepositories declared on MongoConfig: Cannot resolve reference to bean 'reactive mongodb.TenantRepository.fragments#0' while setting bean property 'repositoryFragments'
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.1370815Z at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:377)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.1374578Z at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:135)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.1378706Z at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1682)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.1382883Z at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1431)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.1386740Z at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:597)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.1390763Z at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:520)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.1394384Z at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:326)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.1397723Z at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.1401027Z at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:324)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.1403825Z at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.1406416Z at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:254)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.1409884Z at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1417)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.1413443Z at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1337)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.1417032Z at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:888)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.1420216Z at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:791)
server-unit-tests / server-unit-tests Run only tests 2024-05-30T08:06:32.1422145Z ... 139 common frames omitted

Steps To Reproduce

Trying to run Test, build and push Docker Image

Public Sample App

No response

Environment

Release

Severity

High (Blocker to building or releasing)

Issue video log

No response

Version

Self Hosted - latest release branch

@anksingh-zuora anksingh-zuora added Bug Something isn't working Needs Triaging Needs attention from maintainers to triage labels May 30, 2024
@Nikhil-Nandagopal Nikhil-Nandagopal added the Community Reported issues reported by community members label May 30, 2024
@akantcheff
Copy link

Hello! I have the same issue on Ubuntu 22.04 and using MongoDB 7.0.11.
I am able to fix this issue by updating property de.flapdoodle.mongodb.embedded.version (located in app/server/appsmith-server/src/test/resources/application-test.properties) from 5.0.5 to 7.0.4 which is the latest version supported by de.flapdoodle.embed.mongo:4.12.0 (cf. https://github.com/flapdoodle-oss/de.flapdoodle.embed.mongo?tab=readme-ov-file#4120).
I hope it could help!

@Nikhil-Nandagopal
Copy link
Contributor

@akantcheff thank you for the suggestion! @anksingh-zuora let us know if this works. You can also try and get some help on our discord community.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Community Reported issues reported by community members Needs Triaging Needs attention from maintainers to triage
Projects
None yet
Development

No branches or pull requests

4 participants