I screwed this up merging s3mock upgrade when I thought tests pass. The
change has already been reverted and being looked at here:
https://github.com/apache/solr/pull/1535

Kevin Risden


On Mon, Apr 3, 2023 at 11:03 AM Apache Jenkins Server <
jenk...@builds.apache.org> wrote:

> Build: https://ci-builds.apache.org/job/Solr/job/Solr-Check-main/6522/
>
> 6 tests failed.
> FAILED:  org.apache.solr.s3.S3BackupRepositoryTest.classMethod
>
> Error Message:
> org.springframework.beans.factory.UnsatisfiedDependencyException: Error
> creating bean with name 'bucketService' defined in class path resource
> [com/adobe/testing/s3mock/service/ServiceConfiguration.class]: Unsatisfied
> dependency expressed through method 'bucketService' parameter 0; nested
> exception is org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'bucketStore' defined in class path resource
> [com/adobe/testing/s3mock/store/StoreConfiguration.class]: Bean
> instantiation via factory method failed; nested exception is
> org.springframework.beans.BeanInstantiationException: Failed to instantiate
> [com.adobe.testing.s3mock.store.BucketStore]: Factory method 'bucketStore'
> threw exception; nested exception is java.lang.IllegalStateException: Could
> not write bucket metadata-file
>
> Stack Trace:
> org.springframework.beans.factory.UnsatisfiedDependencyException: Error
> creating bean with name 'bucketService' defined in class path resource
> [com/adobe/testing/s3mock/service/ServiceConfiguration.class]: Unsatisfied
> dependency expressed through method 'bucketService' parameter 0; nested
> exception is org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'bucketStore' defined in class path resource
> [com/adobe/testing/s3mock/store/StoreConfiguration.class]: Bean
> instantiation via factory method failed; nested exception is
> org.springframework.beans.BeanInstantiationException: Failed to instantiate
> [com.adobe.testing.s3mock.store.BucketStore]: Factory method 'bucketStore'
> threw exception; nested exception is java.lang.IllegalStateException: Could
> not write bucket metadata-file
>         at __randomizedtesting.SeedInfo.seed([6A05204B69D20B8]:0)
>         at
> app//org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:800)
>         at
> app//org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:541)
>         at
> app//org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1352)
>         at
> app//org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1195)
>         at
> app//org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:582)
>         at
> app//org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542)
>         at
> app//org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335)
>         at
> app//org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
>         at
> app//org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333)
>         at
> app//org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
>         at
> app//org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:955)
>         at
> app//org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:920)
>         at
> app//org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:583)
>         at
> app//org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:147)
>         at
> app//org.springframework.boot.SpringApplication.refresh(SpringApplication.java:731)
>         at
> app//org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:408)
>         at
> app//org.springframework.boot.SpringApplication.run(SpringApplication.java:307)
>         at
> app//org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:164)
>         at
> app//com.adobe.testing.s3mock.S3MockApplication.start(S3MockApplication.java:181)
>         at
> app//com.adobe.testing.s3mock.testsupport.common.S3MockStarter.start(S3MockStarter.java:173)
>         at
> app//com.adobe.testing.s3mock.junit4.S3MockRule.access$000(S3MockRule.java:42)
>         at
> app//com.adobe.testing.s3mock.junit4.S3MockRule$1.evaluate(S3MockRule.java:64)
>         at
> app//com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
>         at
> app//com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
>         at
> app//org.apache.lucene.tests.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:43)
>         at
> app//org.apache.lucene.tests.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:43)
>         at
> app//com.carrotsearch.randomizedtesting.rules.SystemPropertiesRestoreRule$1.evaluate(SystemPropertiesRestoreRule.java:80)
>         at app//org.junit.rules.RunRules.evaluate(RunRules.java:20)
>         at
> app//org.apache.lucene.tests.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:43)
>         at
> app//com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
>         at
> app//org.apache.lucene.tests.util.TestRuleStoreClassName$1.evaluate(TestRuleStoreClassName.java:38)
>         at
> app//com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:40)
>         at
> app//com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:40)
>         at
> app//com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
>         at
> app//com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
>         at
> app//org.apache.lucene.tests.util.TestRuleAssertionsRequired$1.evaluate(TestRuleAssertionsRequired.java:53)
>         at
> app//org.apache.lucene.tests.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:43)
>         at
> app//org.apache.lucene.tests.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:44)
>         at
> app//org.apache.lucene.tests.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:60)
>         at
> app//org.apache.lucene.tests.util.TestRuleIgnoreTestSuites$1.evaluate(TestRuleIgnoreTestSuites.java:47)
>         at app//org.junit.rules.RunRules.evaluate(RunRules.java:20)
>         at
> app//com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
>         at
> app//com.carrotsearch.randomizedtesting.ThreadLeakControl$StatementRunner.run(ThreadLeakControl.java:390)
>         at
> app//com.carrotsearch.randomizedtesting.ThreadLeakControl.lambda$forkTimeoutingTask$0(ThreadLeakControl.java:850)
>         at java.base@11.0.16.1/java.lang.Thread.run(Thread.java:829)
> Caused by: org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'bucketStore' defined in class path resource
> [com/adobe/testing/s3mock/store/StoreConfiguration.class]: Bean
> instantiation via factory method failed; nested exception is
> org.springframework.beans.BeanInstantiationException: Failed to instantiate
> [com.adobe.testing.s3mock.store.BucketStore]: Factory method 'bucketStore'
> threw exception; nested exception is java.lang.IllegalStateException: Could
> not write bucket metadata-file
>         at
> app//org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:658)
>         at
> app//org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:638)
>         at
> app//org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1352)
>         at
> app//org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1195)
>         at
> app//org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:582)
>         at
> app//org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542)
>         at
> app//org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335)
>         at
> app//org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
>         at
> app//org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333)
>         at
> app//org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
>         at
> app//org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276)
>         at
> app//org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1391)
>         at
> app//org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1311)
>         at
> app//org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:887)
>         at
> app//org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:791)
>         ... 44 more
> Caused by: org.springframework.beans.BeanInstantiationException: Failed to
> instantiate [com.adobe.testing.s3mock.store.BucketStore]: Factory method
> 'bucketStore' threw exception; nested exception is
> java.lang.IllegalStateException: Could not write bucket metadata-file
>         at
> app//org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:185)
>         at
> app//org.springframework.beans.factory.support.ConstructorResolver.lambda$instantiate$2(ConstructorResolver.java:648)
>         at
> java.base@11.0.16.1/java.security.AccessController.doPrivileged(Native
> Method)
>         at
> app//org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:647)
>         ... 58 more
> Caused by: java.lang.IllegalStateException: Could not write bucket
> metadata-file
>         at
> com.adobe.testing.s3mock.store.BucketStore.writeToDisk(BucketStore.java:313)
>         at
> com.adobe.testing.s3mock.store.BucketStore.createBucket(BucketStore.java:217)
>         at
> com.adobe.testing.s3mock.store.StoreConfiguration.lambda$bucketStore$0(StoreConfiguration.java:70)
>         at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)
>         at
> com.adobe.testing.s3mock.store.StoreConfiguration.bucketStore(StoreConfiguration.java:69)
>         at
> com.adobe.testing.s3mock.store.StoreConfiguration$$EnhancerBySpringCGLIB$$2d0ca894.CGLIB$bucketStore$3(<generated>)
>         at
> com.adobe.testing.s3mock.store.StoreConfiguration$$EnhancerBySpringCGLIB$$2d0ca894$$FastClassBySpringCGLIB$$d4e5c394.invoke(<generated>)
>         at
> org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:244)
>         at
> org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:331)
>         at
> com.adobe.testing.s3mock.store.StoreConfiguration$$EnhancerBySpringCGLIB$$2d0ca894.bucketStore(<generated>)
>         at
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
>         at
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>         at
> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.base/java.lang.reflect.Method.invoke(Method.java:566)
>         at
> org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:154)
>         ... 61 more
> Caused by: com.fasterxml.jackson.databind.JsonMappingException: access
> denied ("java.lang.RuntimePermission" "accessClassInPackage.sun.nio.fs")
> (through reference chain:
> com.adobe.testing.s3mock.store.BucketMetadata["path"])
>         at
> app//com.fasterxml.jackson.databind.JsonMappingException.wrapWithPath(JsonMappingException.java:402)
>         at
> app//com.fasterxml.jackson.databind.JsonMappingException.wrapWithPath(JsonMappingException.java:361)
>         at
> app//com.fasterxml.jackson.databind.ser.std.StdSerializer.wrapAndThrow(StdSerializer.java:316)
>         at
> app//com.fasterxml.jackson.databind.ser.std.BeanSerializerBase.serializeFields(BeanSerializerBase.java:782)
>         at
> app//com.fasterxml.jackson.databind.ser.BeanSerializer.serialize(BeanSerializer.java:178)
>         at
> app//com.fasterxml.jackson.databind.ser.DefaultSerializerProvider._serialize(DefaultSerializerProvider.java:480)
>         at
> app//com.fasterxml.jackson.databind.ser.DefaultSerializerProvider.serializeValue(DefaultSerializerProvider.java:319)
>         at
> app//com.fasterxml.jackson.databind.ObjectMapper._writeValueAndClose(ObjectMapper.java:4624)
>         at
> app//com.fasterxml.jackson.databind.ObjectMapper.writeValue(ObjectMapper.java:3811)
>         at
> app//com.adobe.testing.s3mock.store.BucketStore.writeToDisk(BucketStore.java:310)
>         ... 75 more
> Caused by: java.security.AccessControlException: access denied
> ("java.lang.RuntimePermission" "accessClassInPackage.sun.nio.fs")
>         at
> java.base/java.security.AccessControlContext.checkPermission(AccessControlContext.java:472)
>         at
> java.base/java.security.AccessController.checkPermission(AccessController.java:897)
>         at
> java.base/java.lang.SecurityManager.checkPermission(SecurityManager.java:322)
>         at
> java.base/java.lang.SecurityManager.checkPackageAccess(SecurityManager.java:1238)
>         at java.base/java.lang.Class.checkPackageAccess(Class.java:2869)
>         at java.base/java.lang.Class.checkMemberAccess(Class.java:2850)
>         at java.base/java.lang.Class.getDeclaredFields(Class.java:2246)
>         at
> com.fasterxml.jackson.databind.introspect.AnnotatedFieldCollector._findFields(AnnotatedFieldCollector.java:73)
>         at
> com.fasterxml.jackson.databind.introspect.AnnotatedFieldCollector.collect(AnnotatedFieldCollector.java:48)
>         at
> com.fasterxml.jackson.databind.introspect.AnnotatedFieldCollector.collectFields(AnnotatedFieldCollector.java:43)
>         at
> com.fasterxml.jackson.databind.introspect.AnnotatedClass._fields(AnnotatedClass.java:371)
>         at
> com.fasterxml.jackson.databind.introspect.AnnotatedClass.fields(AnnotatedClass.java:343)
>         at
> com.fasterxml.jackson.databind.introspect.POJOPropertiesCollector._addFields(POJOPropertiesCollector.java:499)
>         at
> com.fasterxml.jackson.databind.introspect.POJOPropertiesCollector.collectAll(POJOPropertiesCollector.java:426)
>         at
> com.fasterxml.jackson.databind.introspect.POJOPropertiesCollector.getJsonValueAccessor(POJOPropertiesCollector.java:272)
>         at
> com.fasterxml.jackson.databind.introspect.BasicBeanDescription.findJsonValueAccessor(BasicBeanDescription.java:258)
>         at
> com.fasterxml.jackson.databind.ser.BasicSerializerFactory.findSerializerByAnnotations(BasicSerializerFactory.java:391)
>         at
> com.fasterxml.jackson.databind.ser.BeanSerializerFactory._createSerializer2(BeanSerializerFactory.java:225)
>         at
> com.fasterxml.jackson.databind.ser.BeanSerializerFactory.createSerializer(BeanSerializerFactory.java:174)
>         at
> com.fasterxml.jackson.databind.SerializerProvider._createUntypedSerializer(SerializerProvider.java:1501)
>         at
> com.fasterxml.jackson.databind.SerializerProvider._createAndCacheUntypedSerializer(SerializerProvider.java:1449)
>         at
> com.fasterxml.jackson.databind.SerializerProvider.findPrimaryPropertySerializer(SerializerProvider.java:711)
>         at
> com.fasterxml.jackson.databind.ser.impl.PropertySerializerMap.findAndAddPrimarySerializer(PropertySerializerMap.java:64)
>         at
> com.fasterxml.jackson.databind.ser.BeanPropertyWriter._findAndAddDynamic(BeanPropertyWriter.java:902)
>         at
> com.fasterxml.jackson.databind.ser.BeanPropertyWriter.serializeAsField(BeanPropertyWriter.java:711)
>         at
> com.fasterxml.jackson.databind.ser.std.BeanSerializerBase.serializeFields(BeanSerializerBase.java:774)
>         ... 81 more
>
>
> FAILED:  org.apache.solr.s3.S3IncrementalBackupTest.classMethod
>
> Error Message:
> org.springframework.beans.factory.UnsatisfiedDependencyException: Error
> creating bean with name 'bucketService' defined in class path resource
> [com/adobe/testing/s3mock/service/ServiceConfiguration.class]: Unsatisfied
> dependency expressed through method 'bucketService' parameter 0; nested
> exception is org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'bucketStore' defined in class path resource
> [com/adobe/testing/s3mock/store/StoreConfiguration.class]: Bean
> instantiation via factory method failed; nested exception is
> org.springframework.beans.BeanInstantiationException: Failed to instantiate
> [com.adobe.testing.s3mock.store.BucketStore]: Factory method 'bucketStore'
> threw exception; nested exception is java.lang.IllegalStateException: Could
> not write bucket metadata-file
>
> Stack Trace:
> org.springframework.beans.factory.UnsatisfiedDependencyException: Error
> creating bean with name 'bucketService' defined in class path resource
> [com/adobe/testing/s3mock/service/ServiceConfiguration.class]: Unsatisfied
> dependency expressed through method 'bucketService' parameter 0; nested
> exception is org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'bucketStore' defined in class path resource
> [com/adobe/testing/s3mock/store/StoreConfiguration.class]: Bean
> instantiation via factory method failed; nested exception is
> org.springframework.beans.BeanInstantiationException: Failed to instantiate
> [com.adobe.testing.s3mock.store.BucketStore]: Factory method 'bucketStore'
> threw exception; nested exception is java.lang.IllegalStateException: Could
> not write bucket metadata-file
>         at __randomizedtesting.SeedInfo.seed([6A05204B69D20B8]:0)
>         at
> app//org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:800)
>         at
> app//org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:541)
>         at
> app//org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1352)
>         at
> app//org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1195)
>         at
> app//org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:582)
>         at
> app//org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542)
>         at
> app//org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335)
>         at
> app//org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
>         at
> app//org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333)
>         at
> app//org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
>         at
> app//org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:955)
>         at
> app//org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:920)
>         at
> app//org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:583)
>         at
> app//org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:147)
>         at
> app//org.springframework.boot.SpringApplication.refresh(SpringApplication.java:731)
>         at
> app//org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:408)
>         at
> app//org.springframework.boot.SpringApplication.run(SpringApplication.java:307)
>         at
> app//org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:164)
>         at
> app//com.adobe.testing.s3mock.S3MockApplication.start(S3MockApplication.java:181)
>         at
> app//com.adobe.testing.s3mock.testsupport.common.S3MockStarter.start(S3MockStarter.java:173)
>         at
> app//com.adobe.testing.s3mock.junit4.S3MockRule.access$000(S3MockRule.java:42)
>         at
> app//com.adobe.testing.s3mock.junit4.S3MockRule$1.evaluate(S3MockRule.java:64)
>         at
> app//com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
>         at
> app//com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
>         at
> app//org.apache.lucene.tests.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:43)
>         at
> app//org.apache.lucene.tests.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:43)
>         at
> app//com.carrotsearch.randomizedtesting.rules.SystemPropertiesRestoreRule$1.evaluate(SystemPropertiesRestoreRule.java:80)
>         at app//org.junit.rules.RunRules.evaluate(RunRules.java:20)
>         at
> app//org.apache.lucene.tests.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:43)
>         at
> app//com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
>         at
> app//org.apache.lucene.tests.util.TestRuleStoreClassName$1.evaluate(TestRuleStoreClassName.java:38)
>         at
> app//com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:40)
>         at
> app//com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:40)
>         at
> app//com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
>         at
> app//com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
>         at
> app//org.apache.lucene.tests.util.TestRuleAssertionsRequired$1.evaluate(TestRuleAssertionsRequired.java:53)
>         at
> app//org.apache.lucene.tests.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:43)
>         at
> app//org.apache.lucene.tests.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:44)
>         at
> app//org.apache.lucene.tests.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:60)
>         at
> app//org.apache.lucene.tests.util.TestRuleIgnoreTestSuites$1.evaluate(TestRuleIgnoreTestSuites.java:47)
>         at app//org.junit.rules.RunRules.evaluate(RunRules.java:20)
>         at
> app//com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
>         at
> app//com.carrotsearch.randomizedtesting.ThreadLeakControl$StatementRunner.run(ThreadLeakControl.java:390)
>         at
> app//com.carrotsearch.randomizedtesting.ThreadLeakControl.lambda$forkTimeoutingTask$0(ThreadLeakControl.java:850)
>         at java.base@11.0.16.1/java.lang.Thread.run(Thread.java:829)
> Caused by: org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'bucketStore' defined in class path resource
> [com/adobe/testing/s3mock/store/StoreConfiguration.class]: Bean
> instantiation via factory method failed; nested exception is
> org.springframework.beans.BeanInstantiationException: Failed to instantiate
> [com.adobe.testing.s3mock.store.BucketStore]: Factory method 'bucketStore'
> threw exception; nested exception is java.lang.IllegalStateException: Could
> not write bucket metadata-file
>         at
> app//org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:658)
>         at
> app//org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:638)
>         at
> app//org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1352)
>         at
> app//org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1195)
>         at
> app//org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:582)
>         at
> app//org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542)
>         at
> app//org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335)
>         at
> app//org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
>         at
> app//org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333)
>         at
> app//org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
>         at
> app//org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276)
>         at
> app//org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1391)
>         at
> app//org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1311)
>         at
> app//org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:887)
>         at
> app//org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:791)
>         ... 44 more
> Caused by: org.springframework.beans.BeanInstantiationException: Failed to
> instantiate [com.adobe.testing.s3mock.store.BucketStore]: Factory method
> 'bucketStore' threw exception; nested exception is
> java.lang.IllegalStateException: Could not write bucket metadata-file
>         at
> app//org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:185)
>         at
> app//org.springframework.beans.factory.support.ConstructorResolver.lambda$instantiate$2(ConstructorResolver.java:648)
>         at
> java.base@11.0.16.1/java.security.AccessController.doPrivileged(Native
> Method)
>         at
> app//org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:647)
>         ... 58 more
> Caused by: java.lang.IllegalStateException: Could not write bucket
> metadata-file
>         at
> com.adobe.testing.s3mock.store.BucketStore.writeToDisk(BucketStore.java:313)
>         at
> com.adobe.testing.s3mock.store.BucketStore.createBucket(BucketStore.java:217)
>         at
> com.adobe.testing.s3mock.store.StoreConfiguration.lambda$bucketStore$0(StoreConfiguration.java:70)
>         at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)
>         at
> com.adobe.testing.s3mock.store.StoreConfiguration.bucketStore(StoreConfiguration.java:69)
>         at
> com.adobe.testing.s3mock.store.StoreConfiguration$$EnhancerBySpringCGLIB$$1beb8723.CGLIB$bucketStore$2(<generated>)
>         at
> com.adobe.testing.s3mock.store.StoreConfiguration$$EnhancerBySpringCGLIB$$1beb8723$$FastClassBySpringCGLIB$$5d8839cb.invoke(<generated>)
>         at
> org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:244)
>         at
> org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:331)
>         at
> com.adobe.testing.s3mock.store.StoreConfiguration$$EnhancerBySpringCGLIB$$1beb8723.bucketStore(<generated>)
>         at
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
>         at
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>         at
> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.base/java.lang.reflect.Method.invoke(Method.java:566)
>         at
> org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:154)
>         ... 61 more
> Caused by: com.fasterxml.jackson.databind.JsonMappingException: access
> denied ("java.lang.RuntimePermission" "accessClassInPackage.sun.nio.fs")
> (through reference chain:
> com.adobe.testing.s3mock.store.BucketMetadata["path"])
>         at
> app//com.fasterxml.jackson.databind.JsonMappingException.wrapWithPath(JsonMappingException.java:402)
>         at
> app//com.fasterxml.jackson.databind.JsonMappingException.wrapWithPath(JsonMappingException.java:361)
>         at
> app//com.fasterxml.jackson.databind.ser.std.StdSerializer.wrapAndThrow(StdSerializer.java:316)
>         at
> app//com.fasterxml.jackson.databind.ser.std.BeanSerializerBase.serializeFields(BeanSerializerBase.java:782)
>         at
> app//com.fasterxml.jackson.databind.ser.BeanSerializer.serialize(BeanSerializer.java:178)
>         at
> app//com.fasterxml.jackson.databind.ser.DefaultSerializerProvider._serialize(DefaultSerializerProvider.java:480)
>         at
> app//com.fasterxml.jackson.databind.ser.DefaultSerializerProvider.serializeValue(DefaultSerializerProvider.java:319)
>         at
> app//com.fasterxml.jackson.databind.ObjectMapper._writeValueAndClose(ObjectMapper.java:4624)
>         at
> app//com.fasterxml.jackson.databind.ObjectMapper.writeValue(ObjectMapper.java:3811)
>         at
> app//com.adobe.testing.s3mock.store.BucketStore.writeToDisk(BucketStore.java:310)
>         ... 75 more
> Caused by: java.security.AccessControlException: access denied
> ("java.lang.RuntimePermission" "accessClassInPackage.sun.nio.fs")
>         at
> java.base/java.security.AccessControlContext.checkPermission(AccessControlContext.java:472)
>         at
> java.base/java.security.AccessController.checkPermission(AccessController.java:897)
>         at
> java.base/java.lang.SecurityManager.checkPermission(SecurityManager.java:322)
>         at
> java.base/java.lang.SecurityManager.checkPackageAccess(SecurityManager.java:1238)
>         at java.base/java.lang.Class.checkPackageAccess(Class.java:2869)
>         at java.base/java.lang.Class.checkMemberAccess(Class.java:2850)
>         at java.base/java.lang.Class.getDeclaredFields(Class.java:2246)
>         at
> com.fasterxml.jackson.databind.introspect.AnnotatedFieldCollector._findFields(AnnotatedFieldCollector.java:73)
>         at
> com.fasterxml.jackson.databind.introspect.AnnotatedFieldCollector.collect(AnnotatedFieldCollector.java:48)
>         at
> com.fasterxml.jackson.databind.introspect.AnnotatedFieldCollector.collectFields(AnnotatedFieldCollector.java:43)
>         at
> com.fasterxml.jackson.databind.introspect.AnnotatedClass._fields(AnnotatedClass.java:371)
>         at
> com.fasterxml.jackson.databind.introspect.AnnotatedClass.fields(AnnotatedClass.java:343)
>         at
> com.fasterxml.jackson.databind.introspect.POJOPropertiesCollector._addFields(POJOPropertiesCollector.java:499)
>         at
> com.fasterxml.jackson.databind.introspect.POJOPropertiesCollector.collectAll(POJOPropertiesCollector.java:426)
>         at
> com.fasterxml.jackson.databind.introspect.POJOPropertiesCollector.getJsonValueAccessor(POJOPropertiesCollector.java:272)
>         at
> com.fasterxml.jackson.databind.introspect.BasicBeanDescription.findJsonValueAccessor(BasicBeanDescription.java:258)
>         at
> com.fasterxml.jackson.databind.ser.BasicSerializerFactory.findSerializerByAnnotations(BasicSerializerFactory.java:391)
>         at
> com.fasterxml.jackson.databind.ser.BeanSerializerFactory._createSerializer2(BeanSerializerFactory.java:225)
>         at
> com.fasterxml.jackson.databind.ser.BeanSerializerFactory.createSerializer(BeanSerializerFactory.java:174)
>         at
> com.fasterxml.jackson.databind.SerializerProvider._createUntypedSerializer(SerializerProvider.java:1501)
>         at
> com.fasterxml.jackson.databind.SerializerProvider._createAndCacheUntypedSerializer(SerializerProvider.java:1449)
>         at
> com.fasterxml.jackson.databind.SerializerProvider.findPrimaryPropertySerializer(SerializerProvider.java:711)
>         at
> com.fasterxml.jackson.databind.ser.impl.PropertySerializerMap.findAndAddPrimarySerializer(PropertySerializerMap.java:64)
>         at
> com.fasterxml.jackson.databind.ser.BeanPropertyWriter._findAndAddDynamic(BeanPropertyWriter.java:902)
>         at
> com.fasterxml.jackson.databind.ser.BeanPropertyWriter.serializeAsField(BeanPropertyWriter.java:711)
>         at
> com.fasterxml.jackson.databind.ser.std.BeanSerializerBase.serializeFields(BeanSerializerBase.java:774)
>         ... 81 more
>
>
> FAILED:  org.apache.solr.s3.S3InstallShardTest.classMethod
>
> Error Message:
> org.springframework.beans.factory.UnsatisfiedDependencyException: Error
> creating bean with name 'bucketService' defined in class path resource
> [com/adobe/testing/s3mock/service/ServiceConfiguration.class]: Unsatisfied
> dependency expressed through method 'bucketService' parameter 0; nested
> exception is org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'bucketStore' defined in class path resource
> [com/adobe/testing/s3mock/store/StoreConfiguration.class]: Bean
> instantiation via factory method failed; nested exception is
> org.springframework.beans.BeanInstantiationException: Failed to instantiate
> [com.adobe.testing.s3mock.store.BucketStore]: Factory method 'bucketStore'
> threw exception; nested exception is java.lang.IllegalStateException: Could
> not write bucket metadata-file
>
> Stack Trace:
> org.springframework.beans.factory.UnsatisfiedDependencyException: Error
> creating bean with name 'bucketService' defined in class path resource
> [com/adobe/testing/s3mock/service/ServiceConfiguration.class]: Unsatisfied
> dependency expressed through method 'bucketService' parameter 0; nested
> exception is org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'bucketStore' defined in class path resource
> [com/adobe/testing/s3mock/store/StoreConfiguration.class]: Bean
> instantiation via factory method failed; nested exception is
> org.springframework.beans.BeanInstantiationException: Failed to instantiate
> [com.adobe.testing.s3mock.store.BucketStore]: Factory method 'bucketStore'
> threw exception; nested exception is java.lang.IllegalStateException: Could
> not write bucket metadata-file
>         at __randomizedtesting.SeedInfo.seed([6A05204B69D20B8]:0)
>         at
> app//org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:800)
>         at
> app//org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:541)
>         at
> app//org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1352)
>         at
> app//org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1195)
>         at
> app//org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:582)
>         at
> app//org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542)
>         at
> app//org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335)
>         at
> app//org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
>         at
> app//org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333)
>         at
> app//org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
>         at
> app//org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:955)
>         at
> app//org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:920)
>         at
> app//org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:583)
>         at
> app//org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:147)
>         at
> app//org.springframework.boot.SpringApplication.refresh(SpringApplication.java:731)
>         at
> app//org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:408)
>         at
> app//org.springframework.boot.SpringApplication.run(SpringApplication.java:307)
>         at
> app//org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:164)
>         at
> app//com.adobe.testing.s3mock.S3MockApplication.start(S3MockApplication.java:181)
>         at
> app//com.adobe.testing.s3mock.testsupport.common.S3MockStarter.start(S3MockStarter.java:173)
>         at
> app//com.adobe.testing.s3mock.junit4.S3MockRule.access$000(S3MockRule.java:42)
>         at
> app//com.adobe.testing.s3mock.junit4.S3MockRule$1.evaluate(S3MockRule.java:64)
>         at
> app//com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
>         at
> app//com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
>         at
> app//org.apache.lucene.tests.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:43)
>         at
> app//org.apache.lucene.tests.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:43)
>         at
> app//com.carrotsearch.randomizedtesting.rules.SystemPropertiesRestoreRule$1.evaluate(SystemPropertiesRestoreRule.java:80)
>         at app//org.junit.rules.RunRules.evaluate(RunRules.java:20)
>         at
> app//org.apache.lucene.tests.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:43)
>         at
> app//com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
>         at
> app//org.apache.lucene.tests.util.TestRuleStoreClassName$1.evaluate(TestRuleStoreClassName.java:38)
>         at
> app//com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:40)
>         at
> app//com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:40)
>         at
> app//com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
>         at
> app//com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
>         at
> app//org.apache.lucene.tests.util.TestRuleAssertionsRequired$1.evaluate(TestRuleAssertionsRequired.java:53)
>         at
> app//org.apache.lucene.tests.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:43)
>         at
> app//org.apache.lucene.tests.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:44)
>         at
> app//org.apache.lucene.tests.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:60)
>         at
> app//org.apache.lucene.tests.util.TestRuleIgnoreTestSuites$1.evaluate(TestRuleIgnoreTestSuites.java:47)
>         at app//org.junit.rules.RunRules.evaluate(RunRules.java:20)
>         at
> app//com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
>         at
> app//com.carrotsearch.randomizedtesting.ThreadLeakControl$StatementRunner.run(ThreadLeakControl.java:390)
>         at
> app//com.carrotsearch.randomizedtesting.ThreadLeakControl.lambda$forkTimeoutingTask$0(ThreadLeakControl.java:850)
>         at java.base@11.0.16.1/java.lang.Thread.run(Thread.java:829)
> Caused by: org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'bucketStore' defined in class path resource
> [com/adobe/testing/s3mock/store/StoreConfiguration.class]: Bean
> instantiation via factory method failed; nested exception is
> org.springframework.beans.BeanInstantiationException: Failed to instantiate
> [com.adobe.testing.s3mock.store.BucketStore]: Factory method 'bucketStore'
> threw exception; nested exception is java.lang.IllegalStateException: Could
> not write bucket metadata-file
>         at
> app//org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:658)
>         at
> app//org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:638)
>         at
> app//org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1352)
>         at
> app//org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1195)
>         at
> app//org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:582)
>         at
> app//org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542)
>         at
> app//org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335)
>         at
> app//org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
>         at
> app//org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333)
>         at
> app//org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
>         at
> app//org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276)
>         at
> app//org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1391)
>         at
> app//org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1311)
>         at
> app//org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:887)
>         at
> app//org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:791)
>         ... 44 more
> Caused by: org.springframework.beans.BeanInstantiationException: Failed to
> instantiate [com.adobe.testing.s3mock.store.BucketStore]: Factory method
> 'bucketStore' threw exception; nested exception is
> java.lang.IllegalStateException: Could not write bucket metadata-file
>         at
> app//org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:185)
>         at
> app//org.springframework.beans.factory.support.ConstructorResolver.lambda$instantiate$2(ConstructorResolver.java:648)
>         at
> java.base@11.0.16.1/java.security.AccessController.doPrivileged(Native
> Method)
>         at
> app//org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:647)
>         ... 58 more
> Caused by: java.lang.IllegalStateException: Could not write bucket
> metadata-file
>         at
> com.adobe.testing.s3mock.store.BucketStore.writeToDisk(BucketStore.java:313)
>         at
> com.adobe.testing.s3mock.store.BucketStore.createBucket(BucketStore.java:217)
>         at
> com.adobe.testing.s3mock.store.StoreConfiguration.lambda$bucketStore$0(StoreConfiguration.java:70)
>         at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)
>         at
> com.adobe.testing.s3mock.store.StoreConfiguration.bucketStore(StoreConfiguration.java:69)
>         at
> com.adobe.testing.s3mock.store.StoreConfiguration$$EnhancerBySpringCGLIB$$e9b5f63a.CGLIB$bucketStore$3(<generated>)
>         at
> com.adobe.testing.s3mock.store.StoreConfiguration$$EnhancerBySpringCGLIB$$e9b5f63a$$FastClassBySpringCGLIB$$f6e213c2.invoke(<generated>)
>         at
> org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:244)
>         at
> org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:331)
>         at
> com.adobe.testing.s3mock.store.StoreConfiguration$$EnhancerBySpringCGLIB$$e9b5f63a.bucketStore(<generated>)
>         at
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
>         at
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>         at
> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.base/java.lang.reflect.Method.invoke(Method.java:566)
>         at
> org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:154)
>         ... 61 more
> Caused by: com.fasterxml.jackson.databind.JsonMappingException: access
> denied ("java.lang.RuntimePermission" "accessClassInPackage.sun.nio.fs")
> (through reference chain:
> com.adobe.testing.s3mock.store.BucketMetadata["path"])
>         at
> app//com.fasterxml.jackson.databind.JsonMappingException.wrapWithPath(JsonMappingException.java:402)
>         at
> app//com.fasterxml.jackson.databind.JsonMappingException.wrapWithPath(JsonMappingException.java:361)
>         at
> app//com.fasterxml.jackson.databind.ser.std.StdSerializer.wrapAndThrow(StdSerializer.java:316)
>         at
> app//com.fasterxml.jackson.databind.ser.std.BeanSerializerBase.serializeFields(BeanSerializerBase.java:782)
>         at
> app//com.fasterxml.jackson.databind.ser.BeanSerializer.serialize(BeanSerializer.java:178)
>         at
> app//com.fasterxml.jackson.databind.ser.DefaultSerializerProvider._serialize(DefaultSerializerProvider.java:480)
>         at
> app//com.fasterxml.jackson.databind.ser.DefaultSerializerProvider.serializeValue(DefaultSerializerProvider.java:319)
>         at
> app//com.fasterxml.jackson.databind.ObjectMapper._writeValueAndClose(ObjectMapper.java:4624)
>         at
> app//com.fasterxml.jackson.databind.ObjectMapper.writeValue(ObjectMapper.java:3811)
>         at
> app//com.adobe.testing.s3mock.store.BucketStore.writeToDisk(BucketStore.java:310)
>         ... 75 more
> Caused by: java.security.AccessControlException: access denied
> ("java.lang.RuntimePermission" "accessClassInPackage.sun.nio.fs")
>         at
> java.base/java.security.AccessControlContext.checkPermission(AccessControlContext.java:472)
>         at
> java.base/java.security.AccessController.checkPermission(AccessController.java:897)
>         at
> java.base/java.lang.SecurityManager.checkPermission(SecurityManager.java:322)
>         at
> java.base/java.lang.SecurityManager.checkPackageAccess(SecurityManager.java:1238)
>         at java.base/java.lang.Class.checkPackageAccess(Class.java:2869)
>         at java.base/java.lang.Class.checkMemberAccess(Class.java:2850)
>         at java.base/java.lang.Class.getDeclaredFields(Class.java:2246)
>         at
> com.fasterxml.jackson.databind.introspect.AnnotatedFieldCollector._findFields(AnnotatedFieldCollector.java:73)
>         at
> com.fasterxml.jackson.databind.introspect.AnnotatedFieldCollector.collect(AnnotatedFieldCollector.java:48)
>         at
> com.fasterxml.jackson.databind.introspect.AnnotatedFieldCollector.collectFields(AnnotatedFieldCollector.java:43)
>         at
> com.fasterxml.jackson.databind.introspect.AnnotatedClass._fields(AnnotatedClass.java:371)
>         at
> com.fasterxml.jackson.databind.introspect.AnnotatedClass.fields(AnnotatedClass.java:343)
>         at
> com.fasterxml.jackson.databind.introspect.POJOPropertiesCollector._addFields(POJOPropertiesCollector.java:499)
>         at
> com.fasterxml.jackson.databind.introspect.POJOPropertiesCollector.collectAll(POJOPropertiesCollector.java:426)
>         at
> com.fasterxml.jackson.databind.introspect.POJOPropertiesCollector.getJsonValueAccessor(POJOPropertiesCollector.java:272)
>         at
> com.fasterxml.jackson.databind.introspect.BasicBeanDescription.findJsonValueAccessor(BasicBeanDescription.java:258)
>         at
> com.fasterxml.jackson.databind.ser.BasicSerializerFactory.findSerializerByAnnotations(BasicSerializerFactory.java:391)
>         at
> com.fasterxml.jackson.databind.ser.BeanSerializerFactory._createSerializer2(BeanSerializerFactory.java:225)
>         at
> com.fasterxml.jackson.databind.ser.BeanSerializerFactory.createSerializer(BeanSerializerFactory.java:174)
>         at
> com.fasterxml.jackson.databind.SerializerProvider._createUntypedSerializer(SerializerProvider.java:1501)
>         at
> com.fasterxml.jackson.databind.SerializerProvider._createAndCacheUntypedSerializer(SerializerProvider.java:1449)
>         at
> com.fasterxml.jackson.databind.SerializerProvider.findPrimaryPropertySerializer(SerializerProvider.java:711)
>         at
> com.fasterxml.jackson.databind.ser.impl.PropertySerializerMap.findAndAddPrimarySerializer(PropertySerializerMap.java:64)
>         at
> com.fasterxml.jackson.databind.ser.BeanPropertyWriter._findAndAddDynamic(BeanPropertyWriter.java:902)
>         at
> com.fasterxml.jackson.databind.ser.BeanPropertyWriter.serializeAsField(BeanPropertyWriter.java:711)
>         at
> com.fasterxml.jackson.databind.ser.std.BeanSerializerBase.serializeFields(BeanSerializerBase.java:774)
>         ... 81 more
>
>
> FAILED:  org.apache.solr.s3.S3OutputStreamTest.classMethod
>
> Error Message:
> org.springframework.beans.factory.UnsatisfiedDependencyException: Error
> creating bean with name 'bucketService' defined in class path resource
> [com/adobe/testing/s3mock/service/ServiceConfiguration.class]: Unsatisfied
> dependency expressed through method 'bucketService' parameter 0; nested
> exception is org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'bucketStore' defined in class path resource
> [com/adobe/testing/s3mock/store/StoreConfiguration.class]: Bean
> instantiation via factory method failed; nested exception is
> org.springframework.beans.BeanInstantiationException: Failed to instantiate
> [com.adobe.testing.s3mock.store.BucketStore]: Factory method 'bucketStore'
> threw exception; nested exception is java.lang.IllegalStateException: Could
> not write bucket metadata-file
>
> Stack Trace:
> org.springframework.beans.factory.UnsatisfiedDependencyException: Error
> creating bean with name 'bucketService' defined in class path resource
> [com/adobe/testing/s3mock/service/ServiceConfiguration.class]: Unsatisfied
> dependency expressed through method 'bucketService' parameter 0; nested
> exception is org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'bucketStore' defined in class path resource
> [com/adobe/testing/s3mock/store/StoreConfiguration.class]: Bean
> instantiation via factory method failed; nested exception is
> org.springframework.beans.BeanInstantiationException: Failed to instantiate
> [com.adobe.testing.s3mock.store.BucketStore]: Factory method 'bucketStore'
> threw exception; nested exception is java.lang.IllegalStateException: Could
> not write bucket metadata-file
>         at __randomizedtesting.SeedInfo.seed([6A05204B69D20B8]:0)
>         at
> app//org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:800)
>         at
> app//org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:541)
>         at
> app//org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1352)
>         at
> app//org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1195)
>         at
> app//org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:582)
>         at
> app//org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542)
>         at
> app//org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335)
>         at
> app//org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
>         at
> app//org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333)
>         at
> app//org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
>         at
> app//org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:955)
>         at
> app//org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:920)
>         at
> app//org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:583)
>         at
> app//org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:147)
>         at
> app//org.springframework.boot.SpringApplication.refresh(SpringApplication.java:731)
>         at
> app//org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:408)
>         at
> app//org.springframework.boot.SpringApplication.run(SpringApplication.java:307)
>         at
> app//org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:164)
>         at
> app//com.adobe.testing.s3mock.S3MockApplication.start(S3MockApplication.java:181)
>         at
> app//com.adobe.testing.s3mock.testsupport.common.S3MockStarter.start(S3MockStarter.java:173)
>         at
> app//com.adobe.testing.s3mock.junit4.S3MockRule.access$000(S3MockRule.java:42)
>         at
> app//com.adobe.testing.s3mock.junit4.S3MockRule$1.evaluate(S3MockRule.java:64)
>         at
> app//com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
>         at
> app//com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
>         at
> app//org.apache.lucene.tests.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:43)
>         at
> app//org.apache.lucene.tests.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:43)
>         at
> app//com.carrotsearch.randomizedtesting.rules.SystemPropertiesRestoreRule$1.evaluate(SystemPropertiesRestoreRule.java:80)
>         at app//org.junit.rules.RunRules.evaluate(RunRules.java:20)
>         at
> app//org.apache.lucene.tests.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:43)
>         at
> app//com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
>         at
> app//org.apache.lucene.tests.util.TestRuleStoreClassName$1.evaluate(TestRuleStoreClassName.java:38)
>         at
> app//com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:40)
>         at
> app//com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:40)
>         at
> app//com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
>         at
> app//com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
>         at
> app//org.apache.lucene.tests.util.TestRuleAssertionsRequired$1.evaluate(TestRuleAssertionsRequired.java:53)
>         at
> app//org.apache.lucene.tests.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:43)
>         at
> app//org.apache.lucene.tests.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:44)
>         at
> app//org.apache.lucene.tests.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:60)
>         at
> app//org.apache.lucene.tests.util.TestRuleIgnoreTestSuites$1.evaluate(TestRuleIgnoreTestSuites.java:47)
>         at app//org.junit.rules.RunRules.evaluate(RunRules.java:20)
>         at
> app//com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
>         at
> app//com.carrotsearch.randomizedtesting.ThreadLeakControl$StatementRunner.run(ThreadLeakControl.java:390)
>         at
> app//com.carrotsearch.randomizedtesting.ThreadLeakControl.lambda$forkTimeoutingTask$0(ThreadLeakControl.java:850)
>         at java.base@11.0.16.1/java.lang.Thread.run(Thread.java:829)
> Caused by: org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'bucketStore' defined in class path resource
> [com/adobe/testing/s3mock/store/StoreConfiguration.class]: Bean
> instantiation via factory method failed; nested exception is
> org.springframework.beans.BeanInstantiationException: Failed to instantiate
> [com.adobe.testing.s3mock.store.BucketStore]: Factory method 'bucketStore'
> threw exception; nested exception is java.lang.IllegalStateException: Could
> not write bucket metadata-file
>         at
> app//org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:658)
>         at
> app//org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:638)
>         at
> app//org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1352)
>         at
> app//org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1195)
>         at
> app//org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:582)
>         at
> app//org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542)
>         at
> app//org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335)
>         at
> app//org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
>         at
> app//org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333)
>         at
> app//org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
>         at
> app//org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276)
>         at
> app//org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1391)
>         at
> app//org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1311)
>         at
> app//org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:887)
>         at
> app//org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:791)
>         ... 44 more
> Caused by: org.springframework.beans.BeanInstantiationException: Failed to
> instantiate [com.adobe.testing.s3mock.store.BucketStore]: Factory method
> 'bucketStore' threw exception; nested exception is
> java.lang.IllegalStateException: Could not write bucket metadata-file
>         at
> app//org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:185)
>         at
> app//org.springframework.beans.factory.support.ConstructorResolver.lambda$instantiate$2(ConstructorResolver.java:648)
>         at
> java.base@11.0.16.1/java.security.AccessController.doPrivileged(Native
> Method)
>         at
> app//org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:647)
>         ... 58 more
> Caused by: java.lang.IllegalStateException: Could not write bucket
> metadata-file
>         at
> com.adobe.testing.s3mock.store.BucketStore.writeToDisk(BucketStore.java:313)
>         at
> com.adobe.testing.s3mock.store.BucketStore.createBucket(BucketStore.java:217)
>         at
> com.adobe.testing.s3mock.store.StoreConfiguration.lambda$bucketStore$0(StoreConfiguration.java:70)
>         at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)
>         at
> com.adobe.testing.s3mock.store.StoreConfiguration.bucketStore(StoreConfiguration.java:69)
>         at
> com.adobe.testing.s3mock.store.StoreConfiguration$$EnhancerBySpringCGLIB$$2d0ca894.CGLIB$bucketStore$3(<generated>)
>         at
> com.adobe.testing.s3mock.store.StoreConfiguration$$EnhancerBySpringCGLIB$$2d0ca894$$FastClassBySpringCGLIB$$d4e5c394.invoke(<generated>)
>         at
> org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:244)
>         at
> org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:331)
>         at
> com.adobe.testing.s3mock.store.StoreConfiguration$$EnhancerBySpringCGLIB$$2d0ca894.bucketStore(<generated>)
>         at
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
>         at
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>         at
> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.base/java.lang.reflect.Method.invoke(Method.java:566)
>         at
> org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:154)
>         ... 61 more
> Caused by: com.fasterxml.jackson.databind.JsonMappingException: access
> denied ("java.lang.RuntimePermission" "accessClassInPackage.sun.nio.fs")
> (through reference chain:
> com.adobe.testing.s3mock.store.BucketMetadata["path"])
>         at
> app//com.fasterxml.jackson.databind.JsonMappingException.wrapWithPath(JsonMappingException.java:402)
>         at
> app//com.fasterxml.jackson.databind.JsonMappingException.wrapWithPath(JsonMappingException.java:361)
>         at
> app//com.fasterxml.jackson.databind.ser.std.StdSerializer.wrapAndThrow(StdSerializer.java:316)
>         at
> app//com.fasterxml.jackson.databind.ser.std.BeanSerializerBase.serializeFields(BeanSerializerBase.java:782)
>         at
> app//com.fasterxml.jackson.databind.ser.BeanSerializer.serialize(BeanSerializer.java:178)
>         at
> app//com.fasterxml.jackson.databind.ser.DefaultSerializerProvider._serialize(DefaultSerializerProvider.java:480)
>         at
> app//com.fasterxml.jackson.databind.ser.DefaultSerializerProvider.serializeValue(DefaultSerializerProvider.java:319)
>         at
> app//com.fasterxml.jackson.databind.ObjectMapper._writeValueAndClose(ObjectMapper.java:4624)
>         at
> app//com.fasterxml.jackson.databind.ObjectMapper.writeValue(ObjectMapper.java:3811)
>         at
> app//com.adobe.testing.s3mock.store.BucketStore.writeToDisk(BucketStore.java:310)
>         ... 75 more
> Caused by: java.security.AccessControlException: access denied
> ("java.lang.RuntimePermission" "accessClassInPackage.sun.nio.fs")
>         at
> java.base/java.security.AccessControlContext.checkPermission(AccessControlContext.java:472)
>         at
> java.base/java.security.AccessController.checkPermission(AccessController.java:897)
>         at
> java.base/java.lang.SecurityManager.checkPermission(SecurityManager.java:322)
>         at
> java.base/java.lang.SecurityManager.checkPackageAccess(SecurityManager.java:1238)
>         at java.base/java.lang.Class.checkPackageAccess(Class.java:2869)
>         at java.base/java.lang.Class.checkMemberAccess(Class.java:2850)
>         at java.base/java.lang.Class.getDeclaredFields(Class.java:2246)
>         at
> com.fasterxml.jackson.databind.introspect.AnnotatedFieldCollector._findFields(AnnotatedFieldCollector.java:73)
>         at
> com.fasterxml.jackson.databind.introspect.AnnotatedFieldCollector.collect(AnnotatedFieldCollector.java:48)
>         at
> com.fasterxml.jackson.databind.introspect.AnnotatedFieldCollector.collectFields(AnnotatedFieldCollector.java:43)
>         at
> com.fasterxml.jackson.databind.introspect.AnnotatedClass._fields(AnnotatedClass.java:371)
>         at
> com.fasterxml.jackson.databind.introspect.AnnotatedClass.fields(AnnotatedClass.java:343)
>         at
> com.fasterxml.jackson.databind.introspect.POJOPropertiesCollector._addFields(POJOPropertiesCollector.java:499)
>         at
> com.fasterxml.jackson.databind.introspect.POJOPropertiesCollector.collectAll(POJOPropertiesCollector.java:426)
>         at
> com.fasterxml.jackson.databind.introspect.POJOPropertiesCollector.getJsonValueAccessor(POJOPropertiesCollector.java:272)
>         at
> com.fasterxml.jackson.databind.introspect.BasicBeanDescription.findJsonValueAccessor(BasicBeanDescription.java:258)
>         at
> com.fasterxml.jackson.databind.ser.BasicSerializerFactory.findSerializerByAnnotations(BasicSerializerFactory.java:391)
>         at
> com.fasterxml.jackson.databind.ser.BeanSerializerFactory._createSerializer2(BeanSerializerFactory.java:225)
>         at
> com.fasterxml.jackson.databind.ser.BeanSerializerFactory.createSerializer(BeanSerializerFactory.java:174)
>         at
> com.fasterxml.jackson.databind.SerializerProvider._createUntypedSerializer(SerializerProvider.java:1501)
>         at
> com.fasterxml.jackson.databind.SerializerProvider._createAndCacheUntypedSerializer(SerializerProvider.java:1449)
>         at
> com.fasterxml.jackson.databind.SerializerProvider.findPrimaryPropertySerializer(SerializerProvider.java:711)
>         at
> com.fasterxml.jackson.databind.ser.impl.PropertySerializerMap.findAndAddPrimarySerializer(PropertySerializerMap.java:64)
>         at
> com.fasterxml.jackson.databind.ser.BeanPropertyWriter._findAndAddDynamic(BeanPropertyWriter.java:902)
>         at
> com.fasterxml.jackson.databind.ser.BeanPropertyWriter.serializeAsField(BeanPropertyWriter.java:711)
>         at
> com.fasterxml.jackson.databind.ser.std.BeanSerializerBase.serializeFields(BeanSerializerBase.java:774)
>         ... 81 more
>
>
> FAILED:  org.apache.solr.s3.S3PathsTest.classMethod
>
> Error Message:
> org.springframework.beans.factory.UnsatisfiedDependencyException: Error
> creating bean with name 'bucketService' defined in class path resource
> [com/adobe/testing/s3mock/service/ServiceConfiguration.class]: Unsatisfied
> dependency expressed through method 'bucketService' parameter 0; nested
> exception is org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'bucketStore' defined in class path resource
> [com/adobe/testing/s3mock/store/StoreConfiguration.class]: Bean
> instantiation via factory method failed; nested exception is
> org.springframework.beans.BeanInstantiationException: Failed to instantiate
> [com.adobe.testing.s3mock.store.BucketStore]: Factory method 'bucketStore'
> threw exception; nested exception is java.lang.IllegalStateException: Could
> not write bucket metadata-file
>
> Stack Trace:
> org.springframework.beans.factory.UnsatisfiedDependencyException: Error
> creating bean with name 'bucketService' defined in class path resource
> [com/adobe/testing/s3mock/service/ServiceConfiguration.class]: Unsatisfied
> dependency expressed through method 'bucketService' parameter 0; nested
> exception is org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'bucketStore' defined in class path resource
> [com/adobe/testing/s3mock/store/StoreConfiguration.class]: Bean
> instantiation via factory method failed; nested exception is
> org.springframework.beans.BeanInstantiationException: Failed to instantiate
> [com.adobe.testing.s3mock.store.BucketStore]: Factory method 'bucketStore'
> threw exception; nested exception is java.lang.IllegalStateException: Could
> not write bucket metadata-file
>         at __randomizedtesting.SeedInfo.seed([6A05204B69D20B8]:0)
>         at
> app//org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:800)
>         at
> app//org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:541)
>         at
> app//org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1352)
>         at
> app//org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1195)
>         at
> app//org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:582)
>         at
> app//org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542)
>         at
> app//org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335)
>         at
> app//org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
>         at
> app//org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333)
>         at
> app//org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
>         at
> app//org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:955)
>         at
> app//org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:920)
>         at
> app//org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:583)
>         at
> app//org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:147)
>         at
> app//org.springframework.boot.SpringApplication.refresh(SpringApplication.java:731)
>         at
> app//org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:408)
>         at
> app//org.springframework.boot.SpringApplication.run(SpringApplication.java:307)
>         at
> app//org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:164)
>         at
> app//com.adobe.testing.s3mock.S3MockApplication.start(S3MockApplication.java:181)
>         at
> app//com.adobe.testing.s3mock.testsupport.common.S3MockStarter.start(S3MockStarter.java:173)
>         at
> app//com.adobe.testing.s3mock.junit4.S3MockRule.access$000(S3MockRule.java:42)
>         at
> app//com.adobe.testing.s3mock.junit4.S3MockRule$1.evaluate(S3MockRule.java:64)
>         at
> app//com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
>         at
> app//com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
>         at
> app//org.apache.lucene.tests.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:43)
>         at
> app//org.apache.lucene.tests.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:43)
>         at
> app//com.carrotsearch.randomizedtesting.rules.SystemPropertiesRestoreRule$1.evaluate(SystemPropertiesRestoreRule.java:80)
>         at app//org.junit.rules.RunRules.evaluate(RunRules.java:20)
>         at
> app//org.apache.lucene.tests.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:43)
>         at
> app//com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
>         at
> app//org.apache.lucene.tests.util.TestRuleStoreClassName$1.evaluate(TestRuleStoreClassName.java:38)
>         at
> app//com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:40)
>         at
> app//com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:40)
>         at
> app//com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
>         at
> app//com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
>         at
> app//org.apache.lucene.tests.util.TestRuleAssertionsRequired$1.evaluate(TestRuleAssertionsRequired.java:53)
>         at
> app//org.apache.lucene.tests.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:43)
>         at
> app//org.apache.lucene.tests.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:44)
>         at
> app//org.apache.lucene.tests.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:60)
>         at
> app//org.apache.lucene.tests.util.TestRuleIgnoreTestSuites$1.evaluate(TestRuleIgnoreTestSuites.java:47)
>         at app//org.junit.rules.RunRules.evaluate(RunRules.java:20)
>         at
> app//com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
>         at
> app//com.carrotsearch.randomizedtesting.ThreadLeakControl$StatementRunner.run(ThreadLeakControl.java:390)
>         at
> app//com.carrotsearch.randomizedtesting.ThreadLeakControl.lambda$forkTimeoutingTask$0(ThreadLeakControl.java:850)
>         at java.base@11.0.16.1/java.lang.Thread.run(Thread.java:829)
> Caused by: org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'bucketStore' defined in class path resource
> [com/adobe/testing/s3mock/store/StoreConfiguration.class]: Bean
> instantiation via factory method failed; nested exception is
> org.springframework.beans.BeanInstantiationException: Failed to instantiate
> [com.adobe.testing.s3mock.store.BucketStore]: Factory method 'bucketStore'
> threw exception; nested exception is java.lang.IllegalStateException: Could
> not write bucket metadata-file
>         at
> app//org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:658)
>         at
> app//org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:638)
>         at
> app//org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1352)
>         at
> app//org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1195)
>         at
> app//org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:582)
>         at
> app//org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542)
>         at
> app//org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335)
>         at
> app//org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
>         at
> app//org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333)
>         at
> app//org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
>         at
> app//org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276)
>         at
> app//org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1391)
>         at
> app//org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1311)
>         at
> app//org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:887)
>         at
> app//org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:791)
>         ... 44 more
> Caused by: org.springframework.beans.BeanInstantiationException: Failed to
> instantiate [com.adobe.testing.s3mock.store.BucketStore]: Factory method
> 'bucketStore' threw exception; nested exception is
> java.lang.IllegalStateException: Could not write bucket metadata-file
>         at
> app//org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:185)
>         at
> app//org.springframework.beans.factory.support.ConstructorResolver.lambda$instantiate$2(ConstructorResolver.java:648)
>         at
> java.base@11.0.16.1/java.security.AccessController.doPrivileged(Native
> Method)
>         at
> app//org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:647)
>         ... 58 more
> Caused by: java.lang.IllegalStateException: Could not write bucket
> metadata-file
>         at
> com.adobe.testing.s3mock.store.BucketStore.writeToDisk(BucketStore.java:313)
>         at
> com.adobe.testing.s3mock.store.BucketStore.createBucket(BucketStore.java:217)
>         at
> com.adobe.testing.s3mock.store.StoreConfiguration.lambda$bucketStore$0(StoreConfiguration.java:70)
>         at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)
>         at
> com.adobe.testing.s3mock.store.StoreConfiguration.bucketStore(StoreConfiguration.java:69)
>         at
> com.adobe.testing.s3mock.store.StoreConfiguration$$EnhancerBySpringCGLIB$$1beb8723.CGLIB$bucketStore$2(<generated>)
>         at
> com.adobe.testing.s3mock.store.StoreConfiguration$$EnhancerBySpringCGLIB$$1beb8723$$FastClassBySpringCGLIB$$5d8839cb.invoke(<generated>)
>         at
> org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:244)
>         at
> org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:331)
>         at
> com.adobe.testing.s3mock.store.StoreConfiguration$$EnhancerBySpringCGLIB$$1beb8723.bucketStore(<generated>)
>         at
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
>         at
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>         at
> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.base/java.lang.reflect.Method.invoke(Method.java:566)
>         at
> org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:154)
>         ... 61 more
> Caused by: com.fasterxml.jackson.databind.JsonMappingException: access
> denied ("java.lang.RuntimePermission" "accessClassInPackage.sun.nio.fs")
> (through reference chain:
> com.adobe.testing.s3mock.store.BucketMetadata["path"])
>         at
> app//com.fasterxml.jackson.databind.JsonMappingException.wrapWithPath(JsonMappingException.java:402)
>         at
> app//com.fasterxml.jackson.databind.JsonMappingException.wrapWithPath(JsonMappingException.java:361)
>         at
> app//com.fasterxml.jackson.databind.ser.std.StdSerializer.wrapAndThrow(StdSerializer.java:316)
>         at
> app//com.fasterxml.jackson.databind.ser.std.BeanSerializerBase.serializeFields(BeanSerializerBase.java:782)
>         at
> app//com.fasterxml.jackson.databind.ser.BeanSerializer.serialize(BeanSerializer.java:178)
>         at
> app//com.fasterxml.jackson.databind.ser.DefaultSerializerProvider._serialize(DefaultSerializerProvider.java:480)
>         at
> app//com.fasterxml.jackson.databind.ser.DefaultSerializerProvider.serializeValue(DefaultSerializerProvider.java:319)
>         at
> app//com.fasterxml.jackson.databind.ObjectMapper._writeValueAndClose(ObjectMapper.java:4624)
>         at
> app//com.fasterxml.jackson.databind.ObjectMapper.writeValue(ObjectMapper.java:3811)
>         at
> app//com.adobe.testing.s3mock.store.BucketStore.writeToDisk(BucketStore.java:310)
>         ... 75 more
> Caused by: java.security.AccessControlException: access denied
> ("java.lang.RuntimePermission" "accessClassInPackage.sun.nio.fs")
>         at
> java.base/java.security.AccessControlContext.checkPermission(AccessControlContext.java:472)
>         at
> java.base/java.security.AccessController.checkPermission(AccessController.java:897)
>         at
> java.base/java.lang.SecurityManager.checkPermission(SecurityManager.java:322)
>         at
> java.base/java.lang.SecurityManager.checkPackageAccess(SecurityManager.java:1238)
>         at java.base/java.lang.Class.checkPackageAccess(Class.java:2869)
>         at java.base/java.lang.Class.checkMemberAccess(Class.java:2850)
>         at java.base/java.lang.Class.getDeclaredFields(Class.java:2246)
>         at
> com.fasterxml.jackson.databind.introspect.AnnotatedFieldCollector._findFields(AnnotatedFieldCollector.java:73)
>         at
> com.fasterxml.jackson.databind.introspect.AnnotatedFieldCollector.collect(AnnotatedFieldCollector.java:48)
>         at
> com.fasterxml.jackson.databind.introspect.AnnotatedFieldCollector.collectFields(AnnotatedFieldCollector.java:43)
>         at
> com.fasterxml.jackson.databind.introspect.AnnotatedClass._fields(AnnotatedClass.java:371)
>         at
> com.fasterxml.jackson.databind.introspect.AnnotatedClass.fields(AnnotatedClass.java:343)
>         at
> com.fasterxml.jackson.databind.introspect.POJOPropertiesCollector._addFields(POJOPropertiesCollector.java:499)
>         at
> com.fasterxml.jackson.databind.introspect.POJOPropertiesCollector.collectAll(POJOPropertiesCollector.java:426)
>         at
> com.fasterxml.jackson.databind.introspect.POJOPropertiesCollector.getJsonValueAccessor(POJOPropertiesCollector.java:272)
>         at
> com.fasterxml.jackson.databind.introspect.BasicBeanDescription.findJsonValueAccessor(BasicBeanDescription.java:258)
>         at
> com.fasterxml.jackson.databind.ser.BasicSerializerFactory.findSerializerByAnnotations(BasicSerializerFactory.java:391)
>         at
> com.fasterxml.jackson.databind.ser.BeanSerializerFactory._createSerializer2(BeanSerializerFactory.java:225)
>         at
> com.fasterxml.jackson.databind.ser.BeanSerializerFactory.createSerializer(BeanSerializerFactory.java:174)
>         at
> com.fasterxml.jackson.databind.SerializerProvider._createUntypedSerializer(SerializerProvider.java:1501)
>         at
> com.fasterxml.jackson.databind.SerializerProvider._createAndCacheUntypedSerializer(SerializerProvider.java:1449)
>         at
> com.fasterxml.jackson.databind.SerializerProvider.findPrimaryPropertySerializer(SerializerProvider.java:711)
>         at
> com.fasterxml.jackson.databind.ser.impl.PropertySerializerMap.findAndAddPrimarySerializer(PropertySerializerMap.java:64)
>         at
> com.fasterxml.jackson.databind.ser.BeanPropertyWriter._findAndAddDynamic(BeanPropertyWriter.java:902)
>         at
> com.fasterxml.jackson.databind.ser.BeanPropertyWriter.serializeAsField(BeanPropertyWriter.java:711)
>         at
> com.fasterxml.jackson.databind.ser.std.BeanSerializerBase.serializeFields(BeanSerializerBase.java:774)
>         ... 81 more
>
>
> FAILED:  org.apache.solr.s3.S3ReadWriteTest.classMethod
>
> Error Message:
> org.springframework.beans.factory.UnsatisfiedDependencyException: Error
> creating bean with name 'bucketService' defined in class path resource
> [com/adobe/testing/s3mock/service/ServiceConfiguration.class]: Unsatisfied
> dependency expressed through method 'bucketService' parameter 0; nested
> exception is org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'bucketStore' defined in class path resource
> [com/adobe/testing/s3mock/store/StoreConfiguration.class]: Bean
> instantiation via factory method failed; nested exception is
> org.springframework.beans.BeanInstantiationException: Failed to instantiate
> [com.adobe.testing.s3mock.store.BucketStore]: Factory method 'bucketStore'
> threw exception; nested exception is java.lang.IllegalStateException: Could
> not write bucket metadata-file
>
> Stack Trace:
> org.springframework.beans.factory.UnsatisfiedDependencyException: Error
> creating bean with name 'bucketService' defined in class path resource
> [com/adobe/testing/s3mock/service/ServiceConfiguration.class]: Unsatisfied
> dependency expressed through method 'bucketService' parameter 0; nested
> exception is org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'bucketStore' defined in class path resource
> [com/adobe/testing/s3mock/store/StoreConfiguration.class]: Bean
> instantiation via factory method failed; nested exception is
> org.springframework.beans.BeanInstantiationException: Failed to instantiate
> [com.adobe.testing.s3mock.store.BucketStore]: Factory method 'bucketStore'
> threw exception; nested exception is java.lang.IllegalStateException: Could
> not write bucket metadata-file
>         at __randomizedtesting.SeedInfo.seed([6A05204B69D20B8]:0)
>         at
> app//org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:800)
>         at
> app//org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:541)
>         at
> app//org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1352)
>         at
> app//org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1195)
>         at
> app//org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:582)
>         at
> app//org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542)
>         at
> app//org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335)
>         at
> app//org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
>         at
> app//org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333)
>         at
> app//org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
>         at
> app//org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:955)
>         at
> app//org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:920)
>         at
> app//org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:583)
>         at
> app//org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:147)
>         at
> app//org.springframework.boot.SpringApplication.refresh(SpringApplication.java:731)
>         at
> app//org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:408)
>         at
> app//org.springframework.boot.SpringApplication.run(SpringApplication.java:307)
>         at
> app//org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:164)
>         at
> app//com.adobe.testing.s3mock.S3MockApplication.start(S3MockApplication.java:181)
>         at
> app//com.adobe.testing.s3mock.testsupport.common.S3MockStarter.start(S3MockStarter.java:173)
>         at
> app//com.adobe.testing.s3mock.junit4.S3MockRule.access$000(S3MockRule.java:42)
>         at
> app//com.adobe.testing.s3mock.junit4.S3MockRule$1.evaluate(S3MockRule.java:64)
>         at
> app//com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
>         at
> app//com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
>         at
> app//org.apache.lucene.tests.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:43)
>         at
> app//org.apache.lucene.tests.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:43)
>         at
> app//com.carrotsearch.randomizedtesting.rules.SystemPropertiesRestoreRule$1.evaluate(SystemPropertiesRestoreRule.java:80)
>         at app//org.junit.rules.RunRules.evaluate(RunRules.java:20)
>         at
> app//org.apache.lucene.tests.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:43)
>         at
> app//com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
>         at
> app//org.apache.lucene.tests.util.TestRuleStoreClassName$1.evaluate(TestRuleStoreClassName.java:38)
>         at
> app//com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:40)
>         at
> app//com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:40)
>         at
> app//com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
>         at
> app//com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
>         at
> app//org.apache.lucene.tests.util.TestRuleAssertionsRequired$1.evaluate(TestRuleAssertionsRequired.java:53)
>         at
> app//org.apache.lucene.tests.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:43)
>         at
> app//org.apache.lucene.tests.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:44)
>         at
> app//org.apache.lucene.tests.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:60)
>         at
> app//org.apache.lucene.tests.util.TestRuleIgnoreTestSuites$1.evaluate(TestRuleIgnoreTestSuites.java:47)
>         at app//org.junit.rules.RunRules.evaluate(RunRules.java:20)
>         at
> app//com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
>         at
> app//com.carrotsearch.randomizedtesting.ThreadLeakControl$StatementRunner.run(ThreadLeakControl.java:390)
>         at
> app//com.carrotsearch.randomizedtesting.ThreadLeakControl.lambda$forkTimeoutingTask$0(ThreadLeakControl.java:850)
>         at java.base@11.0.16.1/java.lang.Thread.run(Thread.java:829)
> Caused by: org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'bucketStore' defined in class path resource
> [com/adobe/testing/s3mock/store/StoreConfiguration.class]: Bean
> instantiation via factory method failed; nested exception is
> org.springframework.beans.BeanInstantiationException: Failed to instantiate
> [com.adobe.testing.s3mock.store.BucketStore]: Factory method 'bucketStore'
> threw exception; nested exception is java.lang.IllegalStateException: Could
> not write bucket metadata-file
>         at
> app//org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:658)
>         at
> app//org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:638)
>         at
> app//org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1352)
>         at
> app//org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1195)
>         at
> app//org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:582)
>         at
> app//org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542)
>         at
> app//org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335)
>         at
> app//org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
>         at
> app//org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333)
>         at
> app//org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
>         at
> app//org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276)
>         at
> app//org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1391)
>         at
> app//org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1311)
>         at
> app//org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:887)
>         at
> app//org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:791)
>         ... 44 more
> Caused by: org.springframework.beans.BeanInstantiationException: Failed to
> instantiate [com.adobe.testing.s3mock.store.BucketStore]: Factory method
> 'bucketStore' threw exception; nested exception is
> java.lang.IllegalStateException: Could not write bucket metadata-file
>         at
> app//org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:185)
>         at
> app//org.springframework.beans.factory.support.ConstructorResolver.lambda$instantiate$2(ConstructorResolver.java:648)
>         at
> java.base@11.0.16.1/java.security.AccessController.doPrivileged(Native
> Method)
>         at
> app//org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:647)
>         ... 58 more
> Caused by: java.lang.IllegalStateException: Could not write bucket
> metadata-file
>         at
> com.adobe.testing.s3mock.store.BucketStore.writeToDisk(BucketStore.java:313)
>         at
> com.adobe.testing.s3mock.store.BucketStore.createBucket(BucketStore.java:217)
>         at
> com.adobe.testing.s3mock.store.StoreConfiguration.lambda$bucketStore$0(StoreConfiguration.java:70)
>         at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)
>         at
> com.adobe.testing.s3mock.store.StoreConfiguration.bucketStore(StoreConfiguration.java:69)
>         at
> com.adobe.testing.s3mock.store.StoreConfiguration$$EnhancerBySpringCGLIB$$4bdf50c4.CGLIB$bucketStore$2(<generated>)
>         at
> com.adobe.testing.s3mock.store.StoreConfiguration$$EnhancerBySpringCGLIB$$4bdf50c4$$FastClassBySpringCGLIB$$93add459.invoke(<generated>)
>         at
> org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:244)
>         at
> org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:331)
>         at
> com.adobe.testing.s3mock.store.StoreConfiguration$$EnhancerBySpringCGLIB$$4bdf50c4.bucketStore(<generated>)
>         at
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
>         at
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>         at
> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.base/java.lang.reflect.Method.invoke(Method.java:566)
>         at
> org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:154)
>         ... 61 more
> Caused by: com
>
> [...truncated too long message...]
>
>
> er.impl.PropertySerializerMap.findAndAddPrimarySerializer(PropertySerializerMap.java:64)
>         at
> com.fasterxml.jackson.databind.ser.BeanPropertyWriter._findAndAddDynamic(BeanPropertyWriter.java:902)
>         at
> com.fasterxml.jackson.databind.ser.BeanPropertyWriter.serializeAsField(BeanPropertyWriter.java:711)
>         at
> com.fasterxml.jackson.databind.ser.std.BeanSerializerBase.serializeFields(BeanSerializerBase.java:774)
>         ... 81 more
>
>
>
>
> Build Log:
> [...truncated 4250 lines...]
> ERROR: The following test(s) have failed:
>   - org.apache.solr.s3.S3BackupRepositoryTest.classMethod
> (:solr:modules:s3-repository)
>     Test output:
> /home/jenkins/jenkins-slave/workspace/Solr/Solr-Check-main/solr/modules/s3-repository/build/test-results/test/outputs/OUTPUT-org.apache.solr.s3.S3BackupRepositoryTest.txt
>     Reproduce with: gradlew :solr:modules:s3-repository:test --tests
> "org.apache.solr.s3.S3BackupRepositoryTest.classMethod" -Ptests.jvms=4
> -Ptests.haltonfailure=false "-Ptests.jvmargs=-XX:TieredStopAtLevel=1
> -XX:+UseParallelGC -XX:ActiveProcessorCount=1
> -XX:ReservedCodeCacheSize=120m" -Ptests.seed=6A05204B69D20B8
> -Ptests.multiplier=2 -Ptests.badapples=false -Ptests.file.encoding=US-ASCII
>
>   - org.apache.solr.s3.S3IncrementalBackupTest.classMethod
> (:solr:modules:s3-repository)
>     Test output:
> /home/jenkins/jenkins-slave/workspace/Solr/Solr-Check-main/solr/modules/s3-repository/build/test-results/test/outputs/OUTPUT-org.apache.solr.s3.S3IncrementalBackupTest.txt
>     Reproduce with: gradlew :solr:modules:s3-repository:test --tests
> "org.apache.solr.s3.S3IncrementalBackupTest.classMethod" -Ptests.jvms=4
> -Ptests.haltonfailure=false "-Ptests.jvmargs=-XX:TieredStopAtLevel=1
> -XX:+UseParallelGC -XX:ActiveProcessorCount=1
> -XX:ReservedCodeCacheSize=120m" -Ptests.seed=6A05204B69D20B8
> -Ptests.multiplier=2 -Ptests.badapples=false -Ptests.file.encoding=US-ASCII
>
>   - org.apache.solr.s3.S3InstallShardTest.classMethod
> (:solr:modules:s3-repository)
>     Test output:
> /home/jenkins/jenkins-slave/workspace/Solr/Solr-Check-main/solr/modules/s3-repository/build/test-results/test/outputs/OUTPUT-org.apache.solr.s3.S3InstallShardTest.txt
>     Reproduce with: gradlew :solr:modules:s3-repository:test --tests
> "org.apache.solr.s3.S3InstallShardTest.classMethod" -Ptests.jvms=4
> -Ptests.haltonfailure=false "-Ptests.jvmargs=-XX:TieredStopAtLevel=1
> -XX:+UseParallelGC -XX:ActiveProcessorCount=1
> -XX:ReservedCodeCacheSize=120m" -Ptests.seed=6A05204B69D20B8
> -Ptests.multiplier=2 -Ptests.badapples=false -Ptests.file.encoding=US-ASCII
>
>   - org.apache.solr.s3.S3ReadWriteTest.classMethod
> (:solr:modules:s3-repository)
>     Test output:
> /home/jenkins/jenkins-slave/workspace/Solr/Solr-Check-main/solr/modules/s3-repository/build/test-results/test/outputs/OUTPUT-org.apache.solr.s3.S3ReadWriteTest.txt
>     Reproduce with: gradlew :solr:modules:s3-repository:test --tests
> "org.apache.solr.s3.S3ReadWriteTest.classMethod" -Ptests.jvms=4
> -Ptests.haltonfailure=false "-Ptests.jvmargs=-XX:TieredStopAtLevel=1
> -XX:+UseParallelGC -XX:ActiveProcessorCount=1
> -XX:ReservedCodeCacheSize=120m" -Ptests.seed=6A05204B69D20B8
> -Ptests.multiplier=2 -Ptests.badapples=false -Ptests.file.encoding=US-ASCII
>
>   - org.apache.solr.s3.S3PathsTest.classMethod
> (:solr:modules:s3-repository)
>     Test output:
> /home/jenkins/jenkins-slave/workspace/Solr/Solr-Check-main/solr/modules/s3-repository/build/test-results/test/outputs/OUTPUT-org.apache.solr.s3.S3PathsTest.txt
>     Reproduce with: gradlew :solr:modules:s3-repository:test --tests
> "org.apache.solr.s3.S3PathsTest.classMethod" -Ptests.jvms=4
> -Ptests.haltonfailure=false "-Ptests.jvmargs=-XX:TieredStopAtLevel=1
> -XX:+UseParallelGC -XX:ActiveProcessorCount=1
> -XX:ReservedCodeCacheSize=120m" -Ptests.seed=6A05204B69D20B8
> -Ptests.multiplier=2 -Ptests.badapples=false -Ptests.file.encoding=US-ASCII
>
>   - org.apache.solr.s3.S3OutputStreamTest.classMethod
> (:solr:modules:s3-repository)
>     Test output:
> /home/jenkins/jenkins-slave/workspace/Solr/Solr-Check-main/solr/modules/s3-repository/build/test-results/test/outputs/OUTPUT-org.apache.solr.s3.S3OutputStreamTest.txt
>     Reproduce with: gradlew :solr:modules:s3-repository:test --tests
> "org.apache.solr.s3.S3OutputStreamTest.classMethod" -Ptests.jvms=4
> -Ptests.haltonfailure=false "-Ptests.jvmargs=-XX:TieredStopAtLevel=1
> -XX:+UseParallelGC -XX:ActiveProcessorCount=1
> -XX:ReservedCodeCacheSize=120m" -Ptests.seed=6A05204B69D20B8
> -Ptests.multiplier=2 -Ptests.badapples=false -Ptests.file.encoding=US-ASCII
>
>
> Deprecated Gradle features were used in this build, making it incompatible
> with Gradle 8.0.
>
> You can use '--warning-mode all' to show the individual deprecation
> warnings and determine if they come from your own scripts or plugins.
>
> See
> https://docs.gradle.org/7.6/userguide/command_line_interface.html#sec:command_line_warnings
>
> BUILD SUCCESSFUL in 53m 41s
> 632 actionable tasks: 632 executed
> Build step 'Invoke Gradle script' changed build result to SUCCESS
> Archiving artifacts
> hudson.FilePath$ValidateAntFileMask$1Cancel
>         at
> hudson.FilePath$ValidateAntFileMask$1.isCaseSensitive(FilePath.java:3300)
>         at
> org.apache.tools.ant.DirectoryScanner.isIncluded(DirectoryScanner.java:1370)
>         at
> org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1241)
>         at
> org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1267)
>         at
> org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1267)
>         at
> org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1267)
>         at
> org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1267)
>         at
> org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1267)
>         at
> org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1267)
>         at
> org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1267)
>         at
> org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1267)
>         at
> org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1267)
>         at
> org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1194)
>         at
> org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1156)
>         at
> org.apache.tools.ant.DirectoryScanner.checkIncludePatterns(DirectoryScanner.java:954)
>         at
> org.apache.tools.ant.DirectoryScanner.scan(DirectoryScanner.java:912)
>         at hudson.FilePath$ValidateAntFileMask.hasMatch(FilePath.java:3313)
> Caused: hudson.FilePath$FileMaskNoMatchesFoundException: no matches found
> within 10000
>         at hudson.FilePath$ValidateAntFileMask.hasMatch(FilePath.java:3318)
>         at hudson.FilePath$ValidateAntFileMask.invoke(FilePath.java:3196)
>         at hudson.FilePath$ValidateAntFileMask.invoke(FilePath.java:3174)
>         at hudson.FilePath$FileCallableWrapper.call(FilePath.java:3578)
> Also:   hudson.remoting.Channel$CallSiteStackTrace: Remote call to
> lucene-solr-1
>                 at
> hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1784)
>                 at
> hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:356)
>                 at hudson.remoting.Channel.call(Channel.java:1000)
>                 at hudson.FilePath.act(FilePath.java:1192)
>                 at hudson.FilePath.act(FilePath.java:1181)
>                 at hudson.FilePath.validateAntFileMask(FilePath.java:3171)
>                 at
> hudson.tasks.ArtifactArchiver.perform(ArtifactArchiver.java:271)
>                 at
> hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:80)
>                 at
> hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
>                 at
> hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:818)
>                 at
> hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:767)
>                 at hudson.model.Build$BuildExecution.post2(Build.java:179)
>                 at
> hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:711)
>                 at hudson.model.Run.execute(Run.java:1925)
>                 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:44)
>                 at
> hudson.model.ResourceController.execute(ResourceController.java:101)
>                 at hudson.model.Executor.run(Executor.java:442)
> Caused: hudson.FilePath$TunneledInterruptedException
>         at hudson.FilePath$FileCallableWrapper.call(FilePath.java:3580)
>         at hudson.remoting.UserRequest.perform(UserRequest.java:211)
>         at hudson.remoting.UserRequest.perform(UserRequest.java:54)
>         at hudson.remoting.Request$2.run(Request.java:377)
>         at
> hudson.remoting.InterceptingExecutorService.lambda$wrap$0(InterceptingExecutorService.java:78)
>         at
> java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
>         at
> java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
>         at
> java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
>         at java.base/java.lang.Thread.run(Thread.java:829)
> Caused: java.lang.InterruptedException:
> hudson.FilePath$FileMaskNoMatchesFoundException: no matches found within
> 10000
>         at hudson.FilePath.act(FilePath.java:1194)
>         at hudson.FilePath.act(FilePath.java:1181)
>         at hudson.FilePath.validateAntFileMask(FilePath.java:3171)
>         at hudson.tasks.ArtifactArchiver.perform(ArtifactArchiver.java:271)
>         at
> hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:80)
>         at
> hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
>         at
> hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:818)
>         at
> hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:767)
>         at hudson.model.Build$BuildExecution.post2(Build.java:179)
>         at
> hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:711)
>         at hudson.model.Run.execute(Run.java:1925)
>         at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:44)
>         at
> hudson.model.ResourceController.execute(ResourceController.java:101)
>         at hudson.model.Executor.run(Executor.java:442)
> No artifacts found that match the file pattern
> "**/*.events,heapdumps/**,**/hs_err_pid*". Configuration error?
> Recording test results
> [Checks API] No suitable checks publisher found.
> Build step 'Publish JUnit test result report' changed build result to
> UNSTABLE
> Email was triggered for: Unstable (Test Failures)
> Sending email for trigger: Unstable (Test Failures)
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: builds-unsubscr...@solr.apache.org
> For additional commands, e-mail: builds-h...@solr.apache.org

Reply via email to