NO-JIRA fix ownership of sq files #729
+30
−15
Open
Cirrus CI / multi_arch_build_10_x tag:$NEXT_VERSION-enterprise version:10/enterprise
failed
Dec 11, 2024 in 40m 19s
Task Summary
Instruction build failed in 39:00
Details
✅ 00:01 clone
✅ 00:06 login
✅ 01:04 setup
❌ 39:00 build
#13 648.0 + break
#13 648.1 + mkdir --parents /opt
#13 648.2 + cd /opt
#13 648.2 + curl --fail --location --output sonarqube.zip --silent --show-error https://binaries.sonarsource.com/CommercialDistribution/sonarqube-enterprise/sonarqube-enterprise-10.8.0.100206.zip
#13 680.6 curl: (55) Send failure: Broken pipe
#13 ERROR: process "/bin/sh -c set -eux; deluser ubuntu; useradd --system --uid 1000 --gid 0 sonarqube; apt-get update; apt-get --no-install-recommends -y install bash curl fonts-dejavu gnupg unzip; echo \"networkaddress.cache.ttl=5\" >> \"${JAVA_HOME}/conf/security/java.security\"; sed --in-place --expression=\"s?securerandom.source=file:/dev/random?securerandom.source=file:/dev/urandom?g\" \"${JAVA_HOME}/conf/security/java.security\"; for server in $(shuf -e hkps://keys.openpgp.org hkps://keyserver.ubuntu.com) ; do gpg --batch --keyserver \"${server}\" --recv-keys 679F1EE92B19609DE816FDE81DB198F93525EC1A && break || : ; done; mkdir --parents /opt; cd /opt; curl --fail --location --output sonarqube.zip --silent --show-error \"${SONARQUBE_ZIP_URL}\"; curl --fail --location --output sonarqube.zip.asc --silent --show-error \"${SONARQUBE_ZIP_URL}.asc\"; gpg --batch --verify sonarqube.zip.asc sonarqube.zip; unzip -q sonarqube.zip; mv \"sonarqube-${SONARQUBE_VERSION}\" sonarqube; rm sonarqube.zip*; rm -rf ${SONARQUBE_HOME}/bin/*; ln -s \"${SONARQUBE_HOME}/lib/sonar-application-${SONARQUBE_VERSION}.jar\" \"${SONARQUBE_HOME}/lib/sonarqube.jar\";" did not complete successfully: exit code: 55
------
> [linux/arm64 2/5] RUN set -eux; deluser ubuntu; useradd --system --uid 1000 --gid 0 sonarqube; apt-get update; apt-get --no-install-recommends -y install bash curl fonts-dejavu gnupg unzip; echo "networkaddress.cache.ttl=5" >> "/opt/java/openjdk/conf/security/java.security"; sed --in-place --expression="s?securerandom.source=file:/dev/random?securerandom.source=file:/dev/urandom?g" "/opt/java/openjdk/conf/security/java.security"; for server in $(shuf -e hkps://keys.openpgp.org hkps://keyserver.ubuntu.com) ; do gpg --batch --keyserver "${server}" --recv-keys 679F1EE92B19609DE816FDE81DB198F93525EC1A && break || : ; done; mkdir --parents /opt; cd /opt; curl --fail --location --output sonarqube.zip --silent --show-error "https://binaries.sonarsource.com/CommercialDistribution/sonarqube-enterprise/sonarqube-enterprise-10.8.0.100206.zip"; curl --fail --location --output sonarqube.zip.asc --silent --show-error "https://binaries.sonarsource.com/CommercialDistribution/sonarqube-enterprise/sonarqube-enterprise-10.8.0.100206.zip.asc"; gpg --batch --verify sonarqube.zip.asc sonarqube.zip; unzip -q sonarqube.zip; mv "sonarqube-10.8.0.100206" sonarqube; rm sonarqube.zip*; rm -rf /opt/sonarqube/bin/*; ln -s "/opt/sonarqube/lib/sonar-application-10.8.0.100206.jar" "/opt/sonarqube/lib/sonarqube.jar";:
636.5 gpg: keybox '/root/.gnupg/pubring.kbx' created
: trustdb created
647.4 gpg: key 1DB198F93525EC1A: public key "SonarSource S.A. <[email protected]>" imported
648.0 gpg: imported: 1
648.0 + break
648.1 + mkdir --parents /opt
cd /opt
648.2 + curl --fail --location --output sonarqube.zip --silent --show-error https://binaries.sonarsource.com/CommercialDistribution/sonarqube-enterprise/sonarqube-enterprise-10.8.0.100206.zip
url: (55) Send failure: Broken pipe
------
Dockerfile:31
--------------------
30 |
31 | >>> RUN set -eux; \
32 | >>> deluser ubuntu; \
33 | >>> useradd --system --uid 1000 --gid 0 sonarqube; \
34 | >>> apt-get update; \
35 | >>> apt-get --no-install-recommends -y install \
36 | >>> bash \
37 | >>> curl \
38 | >>> fonts-dejavu \
39 | >>> gnupg \
40 | >>> unzip; \
41 | >>> echo "networkaddress.cache.ttl=5" >> "${JAVA_HOME}/conf/security/java.security"; \
42 | >>> sed --in-place --expression="s?securerandom.source=file:/dev/random?securerandom.source=file:/dev/urandom?g" "${JAVA_HOME}/conf/security/java.security"; \
43 | >>> # pub 2048R/D26468DE 2015-05-25
44 | >>> # Key fingerprint = F118 2E81 C792 9289 21DB CAB4 CFCA 4A29 D264 68DE
45 | >>> # uid sonarsource_deployer (Sonarsource Deployer) <[email protected]>
46 | >>> # sub 2048R/06855C1D 2015-05-25
47 | >>> for server in $(shuf -e hkps://keys.openpgp.org \
48 | >>> hkps://keyserver.ubuntu.com) ; do \
49 | >>> gpg --batch --keyserver "${server}" --recv-keys 679F1EE92B19609DE816FDE81DB198F93525EC1A && break || : ; \
50 | >>> done; \
51 | >>> mkdir --parents /opt; \
52 | >>> cd /opt; \
53 | >>> curl --fail --location --output sonarqube.zip --silent --show-error "${SONARQUBE_ZIP_URL}"; \
54 | >>> curl --fail --location --output sonarqube.zip.asc --silent --show-error "${SONARQUBE_ZIP_URL}.asc"; \
55 | >>> gpg --batch --verify sonarqube.zip.asc sonarqube.zip; \
56 | >>> unzip -q sonarqube.zip; \
57 | >>> mv "sonarqube-${SONARQUBE_VERSION}" sonarqube; \
58 | >>> rm sonarqube.zip*; \
59 | >>> rm -rf ${SONARQUBE_HOME}/bin/*; \
60 | >>> ln -s "${SONARQUBE_HOME}/lib/sonar-application-${SONARQUBE_VERSION}.jar" "${SONARQUBE_HOME}/lib/sonarqube.jar";
61 |
--------------------
ERROR: failed to solve: process "/bin/sh -c set -eux; deluser ubuntu; useradd --system --uid 1000 --gid 0 sonarqube; apt-get update; apt-get --no-install-recommends -y install bash curl fonts-dejavu gnupg unzip; echo \"networkaddress.cache.ttl=5\" >> \"${JAVA_HOME}/conf/security/java.security\"; sed --in-place --expression=\"s?securerandom.source=file:/dev/random?securerandom.source=file:/dev/urandom?g\" \"${JAVA_HOME}/conf/security/java.security\"; for server in $(shuf -e hkps://keys.openpgp.org hkps://keyserver.ubuntu.com) ; do gpg --batch --keyserver \"${server}\" --recv-keys 679F1EE92B19609DE816FDE81DB198F93525EC1A && break || : ; done; mkdir --parents /opt; cd /opt; curl --fail --location --output sonarqube.zip --silent --show-error \"${SONARQUBE_ZIP_URL}\"; curl --fail --location --output sonarqube.zip.asc --silent --show-error \"${SONARQUBE_ZIP_URL}.asc\"; gpg --batch --verify sonarqube.zip.asc sonarqube.zip; unzip -q sonarqube.zip; mv \"sonarqube-${SONARQUBE_VERSION}\" sonarqube; rm sonarqube.zip*; rm -rf ${SONARQUBE_HOME}/bin/*; ln -s \"${SONARQUBE_HOME}/lib/sonar-application-${SONARQUBE_VERSION}.jar\" \"${SONARQUBE_HOME}/lib/sonarqube.jar\";" did not complete successfully: exit code: 55
[Error]: Context Deadline Exceeded - Buildx
Loading