AWS M14: CSV Parser Ingestion: Failed to ingest records with error= Error creating bean with name 'getContext' defined in class path resource
[2022-10-31, 18:11:51 UTC] {pod_launcher.py:159} INFO - 2022-10-31 18:11:51.431 ERROR 7 --- [ main] o.o.osdu.csvparser.CsvIngestionRunner : Failed to ingest records with error= Error creating bean with name 'getContext' defined in class path resource [org/opengroup/osdu/csvparser/ingestion/IngestionConfig.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.opengroup.osdu.csvparser.ingestion.IngestionContext]: Factory method 'getContext' threw exception; nested exception is java.lang.IllegalArgumentException: Not enough variable values available to expand '{csvRecordId'
[2022-10-31, 18:11:51 UTC] {pod_launcher.py:159} INFO - 2022-10-31 18:11:51.604 INFO 7 --- [ main] ConditionEvaluationReportLoggingListener :
[2022-10-31, 18:11:51 UTC] {pod_launcher.py:159} INFO -
[2022-10-31, 18:11:51 UTC] {pod_launcher.py:159} INFO - Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
[2022-10-31, 18:11:51 UTC] {pod_launcher.py:159} INFO - 2022-10-31 18:11:51.609 ERROR 7 --- [ main] o.s.boot.SpringApplication : Application run failed
[2022-10-31, 18:11:51 UTC] {pod_launcher.py:159} INFO -
[2022-10-31, 18:11:51 UTC] {pod_launcher.py:159} INFO - java.lang.IllegalStateException: Failed to execute CommandLineRunner
[2022-10-31, 18:11:51 UTC] {pod_launcher.py:159} INFO - at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:787) ~[spring-boot-2.2.11.RELEASE.jar!/:2.2.11.RELEASE]
[2022-10-31, 18:11:51 UTC] {pod_launcher.py:159} INFO - at org.springframework.boot.SpringApplication.callRunners(SpringApplication.java:768) ~[spring-boot-2.2.11.RELEASE.jar!/:2.2.11.RELEASE]
[2022-10-31, 18:11:51 UTC] {pod_launcher.py:159} INFO - at org.springframework.boot.SpringApplication.run(SpringApplication.java:322) ~[spring-boot-2.2.11.RELEASE.jar!/:2.2.11.RELEASE]
[2022-10-31, 18:11:51 UTC] {pod_launcher.py:159} INFO - at org.opengroup.osdu.csvparser.provider.aws.Application.main(Application.java:26) [classes!/:0.17.1-SNAPSHOT]
[2022-10-31, 18:11:51 UTC] {pod_launcher.py:159} INFO - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_342]
[2022-10-31, 18:11:51 UTC] {pod_launcher.py:159} INFO - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_342]
[2022-10-31, 18:11:51 UTC] {pod_launcher.py:159} INFO - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_342]
[2022-10-31, 18:11:51 UTC] {pod_launcher.py:159} INFO - at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_342]
[2022-10-31, 18:11:51 UTC] {pod_launcher.py:159} INFO - at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48) [app.jar:0.17.1-SNAPSHOT]
[2022-10-31, 18:11:51 UTC] {pod_launcher.py:159} INFO - at org.springframework.boot.loader.Launcher.launch(Launcher.java:87) [app.jar:0.17.1-SNAPSHOT]
[2022-10-31, 18:11:51 UTC] {pod_launcher.py:159} INFO - at org.springframework.boot.loader.Launcher.launch(Launcher.java:51) [app.jar:0.17.1-SNAPSHOT]
[2022-10-31, 18:11:51 UTC] {pod_launcher.py:159} INFO - at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:52) [app.jar:0.17.1-SNAPSHOT]
[2022-10-31, 18:11:51 UTC] {pod_launcher.py:159} INFO - Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'getContext' defined in class path resource [org/opengroup/osdu/csvparser/ingestion/IngestionConfig.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.opengroup.osdu.csvparser.ingestion.IngestionContext]: Factory method 'getContext' threw exception; nested exception is java.lang.IllegalArgumentException: Not enough variable values available to expand '{csvRecordId'
[2022-10-31, 18:11:51 UTC] {pod_launcher.py:159} INFO - at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:655) ~[spring-beans-5.2.10.RELEASE.jar!/:5.2.10.RELEASE]
[2022-10-31, 18:11:51 UTC] {pod_launcher.py:159} INFO - at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:635) ~[spring-beans-5.2.10.RELEASE.jar!/:5.2.10.RELEASE]
[2022-10-31, 18:11:51 UTC] {pod_launcher.py:159} INFO - at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1336) ~[spring-beans-5.2.10.RELEASE.jar!/:5.2.10.RELEASE]
[2022-10-31, 18:11:51 UTC] {pod_launcher.py:159} INFO - at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1176) ~[spring-beans-5.2.10.RELEASE.jar!/:5.2.10.RELEASE]
[2022-10-31, 18:11:51 UTC] {pod_launcher.py:159} INFO - at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:556) ~[spring-beans-5.2.10.RELEASE.jar!/:5.2.10.RELEASE]
[2022-10-31, 18:11:51 UTC] {pod_launcher.py:159} INFO - at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:516) ~[spring-beans-5.2.10.RELEASE.jar!/:5.2.10.RELEASE]
[2022-10-31, 18:11:51 UTC] {pod_launcher.py:159} INFO - at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:342) ~[spring-beans-5.2.10.RELEASE.jar!/:5.2.10.RELEASE]
[2022-10-31, 18:11:51 UTC] {pod_launcher.py:159} INFO - at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:212) ~[spring-beans-5.2.10.RELEASE.jar!/:5.2.10.RELEASE]
[2022-10-31, 18:11:51 UTC] {pod_launcher.py:159} INFO - at org.springframework.beans.factory.support.DefaultListableBeanFactory$DependencyObjectProvider$1.resolveCandidate(DefaultListableBeanFactory.java:1923) ~[spring-beans-5.2.10.RELEASE.jar!/:5.2.10.RELEASE]
[2022-10-31, 18:11:51 UTC] {pod_launcher.py:159} INFO - at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1307) ~[spring-beans-5.2.10.RELEASE.jar!/:5.2.10.RELEASE]
[2022-10-31, 18:11:51 UTC] {pod_launcher.py:159} INFO - at org.springframework.beans.factory.support.DefaultListableBeanFactory$DependencyObjectProvider.getObject(DefaultListableBeanFactory.java:1926) ~[spring-beans-5.2.10.RELEASE.jar!/:5.2.10.RELEASE]
[2022-10-31, 18:11:51 UTC] {pod_launcher.py:159} INFO - at org.opengroup.osdu.csvparser.ingestion.IngestionService.ingest(IngestionService.java:31) ~[csv-parser-core-0.17.1-SNAPSHOT.jar!/:0.17.1-SNAPSHOT]
[2022-10-31, 18:11:51 UTC] {pod_launcher.py:159} INFO - at org.opengroup.osdu.csvparser.CsvIngestionRunner.run(CsvIngestionRunner.java:52) ~[csv-parser-core-0.17.1-SNAPSHOT.jar!/:0.17.1-SNAPSHOT]
[2022-10-31, 18:11:51 UTC] {pod_launcher.py:159} INFO - at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:784) ~[spring-boot-2.2.11.RELEASE.jar!/:2.2.11.RELEASE]
[2022-10-31, 18:11:51 UTC] {pod_launcher.py:159} INFO - ... 11 common frames omitted
[2022-10-31, 18:11:51 UTC] {pod_launcher.py:159} INFO - Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.opengroup.osdu.csvparser.ingestion.IngestionContext]: Factory method 'getContext' threw exception; nested exception is java.lang.IllegalArgumentException: Not enough variable values available to expand '{csvRecordId'
[2022-10-31, 18:11:51 UTC] {pod_launcher.py:159} INFO - at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:185) ~[spring-beans-5.2.10.RELEASE.jar!/:5.2.10.RELEASE]
[2022-10-31, 18:11:51 UTC] {pod_launcher.py:159} INFO - at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:650) ~[spring-beans-5.2.10.RELEASE.jar!/:5.2.10.RELEASE]
[2022-10-31, 18:11:51 UTC] {pod_launcher.py:159} INFO - ... 24 common frames omitted
[2022-10-31, 18:11:51 UTC] {pod_launcher.py:159} INFO - Caused by: java.lang.IllegalArgumentException: Not enough variable values available to expand '{csvRecordId'
[2022-10-31, 18:11:51 UTC] {pod_launcher.py:159} INFO - at org.springframework.web.util.UriComponents$VarArgsTemplateVariables.getValue(UriComponents.java:367) ~[spring-web-5.2.8.RELEASE.jar!/:5.2.8.RELEASE]
[2022-10-31, 18:11:51 UTC] {pod_launcher.py:159} INFO - at org.springframework.web.util.UriComponents.expandUriComponent(UriComponents.java:262) ~[spring-web-5.2.8.RELEASE.jar!/:5.2.8.RELEASE]
[2022-10-31, 18:11:51 UTC] {pod_launcher.py:159} INFO - at org.springframework.web.util.HierarchicalUriComponents$PathSegmentComponent.expand(HierarchicalUriComponents.java:960) ~[spring-web-5.2.8.RELEASE.jar!/:5.2.8.RELEASE]
[2022-10-31, 18:11:51 UTC] {pod_launcher.py:159} INFO - at org.springframework.web.util.HierarchicalUriComponents.expandInternal(HierarchicalUriComponents.java:434) ~[spring-web-5.2.8.RELEASE.jar!/:5.2.8.RELEASE]
[2022-10-31, 18:11:51 UTC] {pod_launcher.py:159} INFO - at org.springframework.web.util.HierarchicalUriComponents.expandInternal(HierarchicalUriComponents.java:52) ~[spring-web-5.2.8.RELEASE.jar!/:5.2.8.RELEASE]
[2022-10-31, 18:11:51 UTC] {pod_launcher.py:159} INFO - at org.springframework.web.util.UriComponents.expand(UriComponents.java:172) ~[spring-web-5.2.8.RELEASE.jar!/:5.2.8.RELEASE]
[2022-10-31, 18:11:51 UTC] {pod_launcher.py:159} INFO - at org.springframework.web.util.DefaultUriBuilderFactory$DefaultUriBuilder.build(DefaultUriBuilderFactory.java:396) ~[spring-web-5.2.8.RELEASE.jar!/:5.2.8.RELEASE]
[2022-10-31, 18:11:51 UTC] {pod_launcher.py:159} INFO - at org.springframework.web.util.DefaultUriBuilderFactory.expand(DefaultUriBuilderFactory.java:153) ~[spring-web-5.2.8.RELEASE.jar!/:5.2.8.RELEASE]
[2022-10-31, 18:11:51 UTC] {pod_launcher.py:159} INFO - at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:673) ~[spring-web-5.2.8.RELEASE.jar!/:5.2.8.RELEASE]
[2022-10-31, 18:11:51 UTC] {pod_launcher.py:159} INFO - at org.springframework.web.client.RestTemplate.exchange(RestTemplate.java:583) ~[spring-web-5.2.8.RELEASE.jar!/:5.2.8.RELEASE]
[2022-10-31, 18:11:51 UTC] {pod_launcher.py:159} INFO - at org.opengroup.osdu.csvparser.file.FileService.lambda$getMetadata$1(FileService.java:100) ~[csv-parser-core-0.17.1-SNAPSHOT.jar!/:0.17.1-SNAPSHOT]
[2022-10-31, 18:11:51 UTC] {pod_launcher.py:159} INFO - at org.opengroup.osdu.csvparser.util.Util.calculateAndLogLatency(Util.java:30) ~[csv-parser-core-0.17.1-SNAPSHOT.jar!/:0.17.1-SNAPSHOT]
[2022-10-31, 18:11:51 UTC] {pod_launcher.py:159} INFO - at org.opengroup.osdu.csvparser.file.FileService.getMetadata(FileService.java:116) ~[csv-parser-core-0.17.1-SNAPSHOT.jar!/:0.17.1-SNAPSHOT]
[2022-10-31, 18:11:51 UTC] {pod_launcher.py:159} INFO - at org.opengroup.osdu.csvparser.file.FileServiceFastClassBySpringCGLIB
89742346.invoke() ~[csv-parser-core-0.17.1-SNAPSHOT.jar!/:0.17.1-SNAPSHOT]
[2022-10-31, 18:11:51 UTC] {pod_launcher.py:159} INFO - at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) ~[spring-core-5.3.23.jar!/:5.3.23]
[2022-10-31, 18:11:51 UTC] {pod_launcher.py:159} INFO - at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:771) ~[spring-aop-5.2.10.RELEASE.jar!/:5.2.10.RELEASE]
[2022-10-31, 18:11:51 UTC] {pod_launcher.py:159} INFO - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) ~[spring-aop-5.2.10.RELEASE.jar!/:5.2.10.RELEASE]
[2022-10-31, 18:11:51 UTC] {pod_launcher.py:159} INFO - at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:749) ~[spring-aop-5.2.10.RELEASE.jar!/:5.2.10.RELEASE]
[2022-10-31, 18:11:51 UTC] {pod_launcher.py:159} INFO - at org.springframework.retry.interceptor.RetryOperationsInterceptor$1.doWithRetry(RetryOperationsInterceptor.java:91) ~[spring-retry-1.2.5.RELEASE.jar!/:na]
[2022-10-31, 18:11:51 UTC] {pod_launcher.py:159} INFO - at org.springframework.retry.support.RetryTemplate.doExecute(RetryTemplate.java:287) ~[spring-retry-1.2.5.RELEASE.jar!/:na]
[2022-10-31, 18:11:51 UTC] {pod_launcher.py:159} INFO - at org.springframework.retry.support.RetryTemplate.execute(RetryTemplate.java:164) ~[spring-retry-1.2.5.RELEASE.jar!/:na]
[2022-10-31, 18:11:51 UTC] {pod_launcher.py:159} INFO - at org.springframework.retry.interceptor.RetryOperationsInterceptor.invoke(RetryOperationsInterceptor.java:118) ~[spring-retry-1.2.5.RELEASE.jar!/:na]
[2022-10-31, 18:11:51 UTC] {pod_launcher.py:159} INFO - at org.springframework.retry.annotation.AnnotationAwareRetryOperationsInterceptor.invoke(AnnotationAwareRetryOperationsInterceptor.java:153) ~[spring-retry-1.2.5.RELEASE.jar!/:na]
[2022-10-31, 18:11:51 UTC] {pod_launcher.py:159} INFO - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.2.10.RELEASE.jar!/:5.2.10.RELEASE]
[2022-10-31, 18:11:51 UTC] {pod_launcher.py:159} INFO - at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:749) ~[spring-aop-5.2.10.RELEASE.jar!/:5.2.10.RELEASE]
[2022-10-31, 18:11:51 UTC] {pod_launcher.py:159} INFO - at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:691) ~[spring-aop-5.2.10.RELEASE.jar!/:5.2.10.RELEASE]
[2022-10-31, 18:11:51 UTC] {pod_launcher.py:159} INFO - at org.opengroup.osdu.csvparser.file.FileServiceEnhancerBySpringCGLIB
b7ea8534.getMetadata() ~[csv-parser-core-0.17.1-SNAPSHOT.jar!/:0.17.1-SNAPSHOT]
[2022-10-31, 18:11:51 UTC] {pod_launcher.py:159} INFO - at org.opengroup.osdu.csvparser.descriptor.DescriptorService.getDescriptor(DescriptorService.java:26) ~[csv-parser-core-0.17.1-SNAPSHOT.jar!/:0.17.1-SNAPSHOT]
[2022-10-31, 18:11:51 UTC] {pod_launcher.py:159} INFO - at org.opengroup.osdu.csvparser.ingestion.IngestionContext.getDescriptor(IngestionContext.java:79) ~[csv-parser-core-0.17.1-SNAPSHOT.jar!/:0.17.1-SNAPSHOT]
[2022-10-31, 18:11:51 UTC] {pod_launcher.py:159} INFO - at org.opengroup.osdu.csvparser.ingestion.IngestionContext.(IngestionContext.java:45) ~[csv-parser-core-0.17.1-SNAPSHOT.jar!/:0.17.1-SNAPSHOT]
[2022-10-31, 18:11:51 UTC] {pod_launcher.py:159} INFO - at org.opengroup.osdu.csvparser.ingestion.IngestionConfig.getContext(IngestionConfig.java:25) ~[csv-parser-core-0.17.1-SNAPSHOT.jar!/:0.17.1-SNAPSHOT]
[2022-10-31, 18:11:51 UTC] {pod_launcher.py:159} INFO - at org.opengroup.osdu.csvparser.ingestion.IngestionConfigEnhancerBySpringCGLIB
27f557f0.CGLIB$getContext$0() ~[csv-parser-core-0.17.1-SNAPSHOT.jar!/:0.17.1-SNAPSHOT]
[2022-10-31, 18:11:51 UTC] {pod_launcher.py:159} INFO - at org.opengroup.osdu.csvparser.ingestion.IngestionConfigEnhancerBySpringCGLIB
27f557f0FastClassBySpringCGLIB
92b385dc.invoke() ~[csv-parser-core-0.17.1-SNAPSHOT.jar!/:0.17.1-SNAPSHOT]
[2022-10-31, 18:11:51 UTC] {pod_launcher.py:159} INFO - at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:244) ~[spring-core-5.3.23.jar!/:5.3.23]
[2022-10-31, 18:11:51 UTC] {pod_launcher.py:159} INFO - at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:331) ~[spring-context-5.2.10.RELEASE.jar!/:5.2.10.RELEASE]
[2022-10-31, 18:11:51 UTC] {pod_launcher.py:159} INFO - at org.opengroup.osdu.csvparser.ingestion.IngestionConfigEnhancerBySpringCGLIB
27f557f0.getContext() ~[csv-parser-core-0.17.1-SNAPSHOT.jar!/:0.17.1-SNAPSHOT]
[2022-10-31, 18:11:51 UTC] {pod_launcher.py:159} INFO - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_342]
[2022-10-31, 18:11:51 UTC] {pod_launcher.py:159} INFO - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_342]
[2022-10-31, 18:11:51 UTC] {pod_launcher.py:159} INFO - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_342]
[2022-10-31, 18:11:51 UTC] {pod_launcher.py:159} INFO - at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_342]
[2022-10-31, 18:11:51 UTC] {pod_launcher.py:159} INFO - at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:154) ~[spring-beans-5.2.10.RELEASE.jar!/:5.2.10.RELEASE]
[2022-10-31, 18:11:51 UTC] {pod_launcher.py:159} INFO - ... 25 common frames omitted
[2022-10-31, 18:11:51 UTC] {pod_launcher.py:159} INFO -
[2022-10-31, 18:11:51 UTC] {pod_launcher.py:159} INFO - Killing istio result:
[2022-10-31, 18:11:51 UTC] {pod_launcher.py:159} INFO - (200, 'OK')
[2022-10-31, 18:11:53 UTC] {pod_launcher.py:216} INFO - Event: csv-parser.cfd31463506d42af8983b0190995c8d8 had an event of type Running
[2022-10-31, 18:11:53 UTC] {pod_launcher.py:189} INFO - Pod csv-parser.cfd31463506d42af8983b0190995c8d8 has state running
[2022-10-31, 18:11:55 UTC] {pod_launcher.py:216} INFO - Event: csv-parser.cfd31463506d42af8983b0190995c8d8 had an event of type Running
[2022-10-31, 18:11:55 UTC] {pod_launcher.py:189} INFO - Pod csv-parser.cfd31463506d42af8983b0190995c8d8 has state running
[2022-10-31, 18:11:57 UTC] {pod_launcher.py:216} INFO - Event: csv-parser.cfd31463506d42af8983b0190995c8d8 had an event of type Succeeded
[2022-10-31, 18:11:57 UTC] {pod_launcher.py:333} INFO - Event with job id csv-parser.cfd31463506d42af8983b0190995c8d8 Succeeded
[2022-10-31, 18:11:57 UTC] {pod_launcher.py:216} INFO - Event: csv-parser.cfd31463506d42af8983b0190995c8d8 had an event of type Succeeded
[2022-10-31, 18:11:57 UTC] {pod_launcher.py:333} INFO - Event with job id csv-parser.cfd31463506d42af8983b0190995c8d8 Succeeded
[2022-10-31, 18:11:57 UTC] {taskinstance.py:1277} INFO - Marking task as SUCCESS. dag_id=csv_ingestion_all_steps, task_id=csv-parser, execution_date=20221031T181138, start_date=20221031T181144, end_date=20221031T181157
[2022-10-31, 18:11:57 UTC] {local_task_job.py:154} INFO - Task exited with return code 0
[2022-10-31, 18:11:57 UTC] {local_task_job.py:264} INFO - 1 downstream tasks scheduled from follow-on schedule check