-
Bug
-
Resolution: Fixed
-
High
-
9.5.0, 9.4.2, 9.3.6, 9.2.10
-
None
-
Severity 2 - Major
-
Issue Summary
This is reproducible on Data Center: (yes) / (no)
Steps to Reproduce
- Upgrade Docker Engine to v25 or v26
- Try to run RSS in Docker
Expected Results
RSS updates successfully
Actual Results
The below exception is thrown in the xxxxxxx.log file:
19-Jan-2024 12:18:22 Processing Specs within Docker container 19-Jan-2024 12:18:22 Unable to scan repository Purchasing / Billing API Gateway (10420332) for Bamboo Specs 19-Jan-2024 12:18:22 com.atlassian.bamboo.repository.RepositoryException: Unable to scan repository Purchasing / Billing API Gateway (10420332) for Bamboo Specs 19-Jan-2024 12:18:22 at com.atlassian.bamboo.configuration.external.rss.RepositoryStoredSpecsExecutionServiceImpl.lambda$runSpecsWithDocker$1(RepositoryStoredSpecsExecutionServiceImpl.java:285) 19-Jan-2024 12:18:22 at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) 19-Jan-2024 12:18:22 at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) 19-Jan-2024 12:18:22 at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) 19-Jan-2024 12:18:22 at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:48) 19-Jan-2024 12:18:22 at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:26) 19-Jan-2024 12:18:22 at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:17) 19-Jan-2024 12:18:22 at com.atlassian.bamboo.security.ImpersonationHelper.lambda$makeRunnableWithSystemAuthority$0(ImpersonationHelper.java:38) 19-Jan-2024 12:18:22 at java.base/java.lang.Thread.run(Thread.java:840) 19-Jan-2024 12:18:22 Caused by: com.spotify.docker.client.exceptions.DockerRequestException: Request error: GET unix://localhost:80/images/json: 200 19-Jan-2024 12:18:22 at com.spotify.docker.client.DefaultDockerClient.propagate(DefaultDockerClient.java:2840) 19-Jan-2024 12:18:22 at com.spotify.docker.client.DefaultDockerClient.request(DefaultDockerClient.java:2702) 19-Jan-2024 12:18:22 at com.spotify.docker.client.DefaultDockerClient.listImages(DefaultDockerClient.java:718) 19-Jan-2024 12:18:22 at com.atlassian.bamboo.configuration.external.rss.RepositoryStoredSpecsExecutionServiceImpl.isDockerImageInCache(RepositoryStoredSpecsExecutionServiceImpl.java:308) 19-Jan-2024 12:18:22 at com.atlassian.bamboo.configuration.external.rss.RepositoryStoredSpecsExecutionServiceImpl.updateDockerImageCache(RepositoryStoredSpecsExecutionServiceImpl.java:293) 19-Jan-2024 12:18:22 at com.atlassian.bamboo.configuration.external.rss.RepositoryStoredSpecsExecutionServiceImpl.lambda$runSpecsWithDocker$1(RepositoryStoredSpecsExecutionServiceImpl.java:228) 19-Jan-2024 12:18:22 ... 8 more 19-Jan-2024 12:18:22 Caused by: com.spotify.docker.client.shaded.javax.ws.rs.client.ResponseProcessingException: com.spotify.docker.client.shaded.com.fasterxml.jackson.databind.exc.ValueInstantiationException: Cannot construct instance of `com.spotify.docker.client.messages.Image`, problem: Null virtualSize 19-Jan-2024 12:18:22 at [Source: (com.spotify.docker.client.shaded.org.glassfish.jersey.message.internal.ReaderInterceptorExecutor$UnCloseableInputStream); line: 1, column: 439] (through reference chain: java.util.ArrayList[0]) 19-Jan-2024 12:18:22 at com.spotify.docker.client.shaded.org.glassfish.jersey.client.JerseyInvocation.translate(JerseyInvocation.java:869) 19-Jan-2024 12:18:22 at com.spotify.docker.client.shaded.org.glassfish.jersey.client.JerseyInvocation.access$800(JerseyInvocation.java:92) 19-Jan-2024 12:18:22 at com.spotify.docker.client.shaded.org.glassfish.jersey.client.JerseyInvocation$6.completed(JerseyInvocation.java:836) 19-Jan-2024 12:18:22 at com.spotify.docker.client.shaded.org.glassfish.jersey.client.ClientRuntime.processResponse(ClientRuntime.java:198) 19-Jan-2024 12:18:22 at com.spotify.docker.client.shaded.org.glassfish.jersey.client.ClientRuntime.access$300(ClientRuntime.java:79) 19-Jan-2024 12:18:22 at com.spotify.docker.client.shaded.org.glassfish.jersey.client.ClientRuntime$2.run(ClientRuntime.java:180) 19-Jan-2024 12:18:22 at com.spotify.docker.client.shaded.org.glassfish.jersey.internal.Errors$1.call(Errors.java:271) 19-Jan-2024 12:18:22 at com.spotify.docker.client.shaded.org.glassfish.jersey.internal.Errors$1.call(Errors.java:267) 19-Jan-2024 12:18:22 at com.spotify.docker.client.shaded.org.glassfish.jersey.internal.Errors.process(Errors.java:315) 19-Jan-2024 12:18:22 at com.spotify.docker.client.shaded.org.glassfish.jersey.internal.Errors.process(Errors.java:297) 19-Jan-2024 12:18:22 at com.spotify.docker.client.shaded.org.glassfish.jersey.internal.Errors.process(Errors.java:267) 19-Jan-2024 12:18:22 at com.spotify.docker.client.shaded.org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:340) 19-Jan-2024 12:18:22 at com.spotify.docker.client.shaded.org.glassfish.jersey.client.ClientRuntime$3.run(ClientRuntime.java:210) 19-Jan-2024 12:18:22 at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539) 19-Jan-2024 12:18:22 at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) 19-Jan-2024 12:18:22 at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) 19-Jan-2024 12:18:22 at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) 19-Jan-2024 12:18:22 ... 1 more 19-Jan-2024 12:18:22 Caused by: com.spotify.docker.client.shaded.com.fasterxml.jackson.databind.exc.ValueInstantiationException: Cannot construct instance of `com.spotify.docker.client.messages.Image`, problem: Null virtualSize 19-Jan-2024 12:18:22 at [Source: (com.spotify.docker.client.shaded.org.glassfish.jersey.message.internal.ReaderInterceptorExecutor$UnCloseableInputStream); line: 1, column: 439] (through reference chain: java.util.ArrayList[0]) 19-Jan-2024 12:18:22 at com.spotify.docker.client.shaded.com.fasterxml.jackson.databind.exc.ValueInstantiationException.from(ValueInstantiationException.java:47) 19-Jan-2024 12:18:22 at com.spotify.docker.client.shaded.com.fasterxml.jackson.databind.DeserializationContext.instantiationException(DeserializationContext.java:2052) 19-Jan-2024 12:18:22 at com.spotify.docker.client.shaded.com.fasterxml.jackson.databind.deser.std.StdValueInstantiator.wrapAsJsonMappingException(StdValueInstantiator.java:587) 19-Jan-2024 12:18:22 at com.spotify.docker.client.shaded.com.fasterxml.jackson.databind.deser.std.StdValueInstantiator.rewrapCtorProblem(StdValueInstantiator.java:610) 19-Jan-2024 12:18:22 at com.spotify.docker.client.shaded.com.fasterxml.jackson.databind.deser.std.StdValueInstantiator.createFromObjectWith(StdValueInstantiator.java:293) 19-Jan-2024 12:18:22 at com.spotify.docker.client.shaded.com.fasterxml.jackson.databind.deser.ValueInstantiator.createFromObjectWith(ValueInstantiator.java:288) 19-Jan-2024 12:18:22 at com.spotify.docker.client.shaded.com.fasterxml.jackson.databind.deser.impl.PropertyBasedCreator.build(PropertyBasedCreator.java:202) 19-Jan-2024 12:18:22 at com.spotify.docker.client.shaded.com.fasterxml.jackson.databind.deser.BeanDeserializer._deserializeUsingPropertyBased(BeanDeserializer.java:519) 19-Jan-2024 12:18:22 at com.spotify.docker.client.shaded.com.fasterxml.jackson.databind.deser.BeanDeserializerBase.deserializeFromObjectUsingNonDefault(BeanDeserializerBase.java:1405) 19-Jan-2024 12:18:22 at com.spotify.docker.client.shaded.com.fasterxml.jackson.databind.deser.BeanDeserializer.deserializeFromObject(BeanDeserializer.java:352) 19-Jan-2024 12:18:22 at com.spotify.docker.client.shaded.com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:185) 19-Jan-2024 12:18:22 at com.spotify.docker.client.shaded.com.fasterxml.jackson.databind.deser.std.CollectionDeserializer._deserializeFromArray(CollectionDeserializer.java:359) 19-Jan-2024 12:18:22 at com.spotify.docker.client.shaded.com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:244) 19-Jan-2024 12:18:22 at com.spotify.docker.client.shaded.com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:28) 19-Jan-2024 12:18:22 at com.spotify.docker.client.shaded.com.fasterxml.jackson.databind.deser.DefaultDeserializationContext.readRootValue(DefaultDeserializationContext.java:323) 19-Jan-2024 12:18:22 at com.spotify.docker.client.shaded.com.fasterxml.jackson.databind.ObjectReader._bind(ObjectReader.java:2079) 19-Jan-2024 12:18:22 at com.spotify.docker.client.shaded.com.fasterxml.jackson.databind.ObjectReader.readValue(ObjectReader.java:1229) 19-Jan-2024 12:18:22 at com.spotify.docker.client.shaded.com.fasterxml.jackson.jaxrs.base.ProviderBase.readFrom(ProviderBase.java:803) 19-Jan-2024 12:18:22 at com.spotify.docker.client.shaded.org.glassfish.jersey.message.internal.ReaderInterceptorExecutor$TerminalReaderInterceptor.invokeReadFrom(ReaderInterceptorExecutor.java:256) 19-Jan-2024 12:18:22 at com.spotify.docker.client.shaded.org.glassfish.jersey.message.internal.ReaderInterceptorExecutor$TerminalReaderInterceptor.aroundReadFrom(ReaderInterceptorExecutor.java:235) 19-Jan-2024 12:18:22 at com.spotify.docker.client.shaded.org.glassfish.jersey.message.internal.ReaderInterceptorExecutor.proceed(ReaderInterceptorExecutor.java:155) 19-Jan-2024 12:18:22 at com.spotify.docker.client.shaded.org.glassfish.jersey.message.internal.MessageBodyFactory.readFrom(MessageBodyFactory.java:1085) 19-Jan-2024 12:18:22 at com.spotify.docker.client.shaded.org.glassfish.jersey.message.internal.InboundMessageContext.readEntity(InboundMessageContext.java:874) 19-Jan-2024 12:18:22 at com.spotify.docker.client.shaded.org.glassfish.jersey.message.internal.InboundMessageContext.readEntity(InboundMessageContext.java:834) 19-Jan-2024 12:18:22 at com.spotify.docker.client.shaded.org.glassfish.jersey.client.ClientResponse.readEntity(ClientResponse.java:368) 19-Jan-2024 12:18:22 at com.spotify.docker.client.shaded.org.glassfish.jersey.client.JerseyInvocation.translate(JerseyInvocation.java:867) 19-Jan-2024 12:18:22 ... 17 more 19-Jan-2024 12:18:22 Caused by: java.lang.NullPointerException: Null virtualSize 19-Jan-2024 12:18:22 at com.spotify.docker.client.messages.AutoValue_Image.<init>(AutoValue_Image.java:50) 19-Jan-2024 12:18:22 at com.spotify.docker.client.messages.Image.create(Image.java:84) 19-Jan-2024 12:18:22 at jdk.internal.reflect.GeneratedMethodAccessor4227.invoke(Unknown Source) 19-Jan-2024 12:18:22 at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 19-Jan-2024 12:18:22 at java.base/java.lang.reflect.Method.invoke(Method.java:568) 19-Jan-2024 12:18:22 at com.spotify.docker.client.shaded.com.fasterxml.jackson.databind.introspect.AnnotatedMethod.call(AnnotatedMethod.java:104) 19-Jan-2024 12:18:22 at com.spotify.docker.client.shaded.com.fasterxml.jackson.databind.deser.std.StdValueInstantiator.createFromObjectWith(StdValueInstantiator.java:291) 19-Jan-2024 12:18:22 ... 38 more 19-Jan-2024 12:18:22 19-Jan-2024 12:18:22 19-Jan-2024 12:18:22 Do you need help? Please visit http://docs.atlassian.com/bamboo/docs-0906/Bamboo+Specs+troubleshooting
Workaround
Use Docker Engine 24