Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-72488

durable-task-plugin's BourneShellScriptTest broken, failing with docker error

XMLWordPrintable

      For PR#199 tests and hence github checks have been failing with stack trace

      java.lang.Error: Failed to build image (1): 8668ab452d45
      	at org.jenkinsci.test.acceptance.docker.Docker.build(Docker.java:122)
      	at org.jenkinsci.test.acceptance.docker.Docker.build(Docker.java:163)
      	at org.jenkinsci.test.acceptance.docker.Docker.build(Docker.java:131)
      	at org.jenkinsci.test.acceptance.docker.DockerRule.build(DockerRule.java:67)
      	at org.jenkinsci.test.acceptance.docker.DockerRule.get(DockerRule.java:73)
      	at org.jenkinsci.plugins.durabletask.BourneShellScriptTest.prepareDockerPlatforms(BourneShellScriptTest.java:187)
      	at org.jenkinsci.plugins.durabletask.BourneShellScriptTest.prepareAgentDocker(BourneShellScriptTest.java:168)
      	at org.jenkinsci.plugins.durabletask.BourneShellScriptTest.prepareAgentForPlatform(BourneShellScriptTest.java:148)
      	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
      	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
      	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
      	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
      	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
      	at org.junit.internal.runners.statements.RunBefores.invokeMethod(RunBefores.java:33)
      	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)
      	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
      	at org.jenkinsci.test.acceptance.docker.DockerRule$1.evaluate(DockerRule.java:87)
      	at org.jenkinsci.test.acceptance.docker.DockerRule$1.evaluate(DockerRule.java:87)
      	at org.jenkinsci.test.acceptance.docker.DockerRule$1.evaluate(DockerRule.java:87)
      	at org.jenkinsci.test.acceptance.docker.DockerRule$1.evaluate(DockerRule.java:87)
      	at org.jvnet.hudson.test.JenkinsRule$1.evaluate(JenkinsRule.java:655)
      	at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:299)
      	at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:293)
      	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
      	at java.base/java.lang.Thread.run(Thread.java:1583)
      

      and stdout

      ...
      #5 [2/4] RUN apk add --update --no-cache openssh
      #5 0.196 fetch https://dl-cdn.alpinelinux.org/alpine/v3.19/main/x86_64/APKINDEX.tar.gz
      #5 0.322 fetch https://dl-cdn.alpinelinux.org/alpine/v3.19/community/x86_64/APKINDEX.tar.gz
      #5 0.613 ERROR: unable to select packages:
      #5 0.615   openssh-client-common-9.5_p1-r0:
      #5 0.615     breaks: openssh-client-default-9.6_p1-r0[openssh-client-common=9.6_p1-r0]
      #5 ERROR: process "/bin/sh -c apk add --update --no-cache openssh" did not complete successfully: exit code: 2
      ------
       > [2/4] RUN apk add --update --no-cache openssh:
      0.196 fetch https://dl-cdn.alpinelinux.org/alpine/v3.19/main/x86_64/APKINDEX.tar.gz
      0.322 fetch https://dl-cdn.alpinelinux.org/alpine/v3.19/community/x86_64/APKINDEX.tar.gz
      0.613 ERROR: unable to select packages:
      0.615   openssh-client-common-9.5_p1-r0:
      0.615     breaks: openssh-client-default-9.6_p1-r0[openssh-client-common=9.6_p1-r0]
      ------
      Dockerfile:3
      --------------------
         1 |     FROM jenkins/agent:alpine-jdk11
         2 |     USER root
         3 | >>> RUN apk add --update --no-cache openssh
         4 |     RUN ssh-keygen -A
         5 |     RUN adduser -D test -h /home/test && \
      --------------------
      ERROR: failed to solve: process "/bin/sh -c apk add --update --no-cache openssh" did not complete successfully: exit code: 2
      --->%---
      

      To double check that the issue is not related to the changes in PR#199 PR#200 has been created with no code modifications on top of master branch. BourneShellScriptTest failing there the same way with docker errors.

      The issue blocks any further pull request for durable-task-plugin.

            Unassigned Unassigned
            lne Lutz Neugebauer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: