You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@solr.apache.org by ja...@apache.org on 2026/09/24 13:18:10 UTC

(solr) branch main updated: Workaround for nightly docker workflow QEmu crashes (#4940)

This is an automated email from the ASF dual-hosted git repository.

janhoy pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/solr.git


The following commit(s) were added to refs/heads/main by this push:
     new ad58350e3de Workaround for nightly docker workflow QEmu crashes (#4940)
ad58350e3de is described below

commit ad58350e3de30b52612b2c703ee0e0abeb4c6fcd
Author: Jan Høydahl <ja...@apache.org>
AuthorDate: Thu Sep 24 15:18:03 2026 +0200

    Workaround for nightly docker workflow QEmu crashes (#4940)
---
 .github/renovate.json                | 13 +++++++++++--
 .github/workflows/docker-nightly.yml |  9 +++++++++
 2 files changed, 20 insertions(+), 2 deletions(-)

diff --git a/.github/renovate.json b/.github/renovate.json
index 9d3410e7195..b2b71b6ff81 100644
--- a/.github/renovate.json
+++ b/.github/renovate.json
@@ -4,10 +4,19 @@
   "enabled": true,
   "gitIgnoredAuthors": ["renovate-bot <re...@noreply.github.com>"],
   "dependencyDashboard": false,
-  "enabledManagers": ["gradle", "github-actions"],
+  "enabledManagers": ["gradle", "github-actions", "custom.regex"],
   "labels": ["exempt-stale"],
   "milestone": 1,
    "includePaths": ["gradle/libs.versions.toml", "ui/gradle/libs.versions.toml", "versions.*", "build.gradle", ".github/workflows/*"],
+  "customManagers": [
+    {
+      "customType": "regex",
+      "description": "Bump container images pinned as action inputs (e.g. the QEMU emulator passed to docker/setup-qemu-action), which the github-actions manager does not track",
+      "managerFilePatterns": ["/^\\.github/workflows/.+\\.ya?ml$/"],
+      "matchStrings": ["image:\\s+(?<depName>[^\\s@]+)@(?<currentDigest>sha256:[a-f0-9]+)\\s+#\\s*(?<currentValue>\\S+)"],
+      "datasourceTemplate": "docker"
+    }
+  ],
   "postUpgradeTasks": {
     "commands": [
       "./gradlew resolveAndLockAll --write-locks",
@@ -194,7 +203,7 @@
     },
     {
       "description": "Group all GitHub Actions upgrades together in same PR",
-      "matchManagers": ["github-actions"],
+      "matchManagers": ["github-actions", "custom.regex"],
       "groupName": "GitHub Actions"
     }
   ],
diff --git a/.github/workflows/docker-nightly.yml b/.github/workflows/docker-nightly.yml
index e72add897c8..9ad8df4fdb9 100644
--- a/.github/workflows/docker-nightly.yml
+++ b/.github/workflows/docker-nightly.yml
@@ -120,8 +120,17 @@ jobs:
           production=true
           EOF
 
+      # qemu-user mis-maps some emulated arm64 allocations when the host randomizes them,
+      # segfaulting ldconfig during the linux/arm64 leg (tonistiigi/binfmt#298).
+      - name: Disable ASLR to work around QEMU arm64 segfaults
+        run: sudo sysctl -w kernel.randomize_va_space=0
+
       - name: Set up QEMU for multi-platform builds
         uses: docker/setup-qemu-action@96fe6ef7f33517b61c61be40b68a1882f3264fb8 # v4.2.0
+        with:
+          # Pinned; the action otherwise pulls a floating :latest, and qemu version changes
+          # have caused intermittent segfaults in the emulated linux/arm64 build.
+          image: tonistiigi/binfmt@sha256:400a4873b838d1b89194d982c45e5fb3cda4593fbfd7e08a02e76b03b21166f0 # qemu-v10.2.3
 
       - name: Set up Docker Buildx
         uses: docker/setup-buildx-action@37fe631027851001ddb9b187196cc803df7f5f0e # v4.3.0