From 74223a2dd9cc497973ec298e2dd5155ad0cdc184 Mon Sep 17 00:00:00 2001 From: Serge Petrenko <sergepetrenko@tarantool.org> Date: Thu, 13 Jun 2024 13:10:39 +0300 Subject: [PATCH] ci: followup fix RPM package builds on aarch64 runners Commit 715abaafea84 ("ci: fix RPM package builds on aarch64 runners") has limited number of parallel jobs to 6 on these runners to fix the OOM, but it turns out this isn't enough: almalinux_9_aarch64 workflow fails constantly even with this setting. Let's try to reduce the amount of jobs to 4. NO_CHANGELOG=ci NO_TEST=ci NO_DOC=ci --- .github/workflows/almalinux_9_aarch64.yml | 4 ++-- .github/workflows/fedora_34_aarch64.yml | 4 ++-- .github/workflows/fedora_35_aarch64.yml | 4 ++-- .github/workflows/fedora_36_aarch64.yml | 4 ++-- .github/workflows/fedora_37_aarch64.yml | 4 ++-- .github/workflows/fedora_38_aarch64.yml | 4 ++-- .github/workflows/fedora_39_aarch64.yml | 4 ++-- .github/workflows/ubuntu_22_04_aarch64.yml | 4 ++-- 8 files changed, 16 insertions(+), 16 deletions(-) diff --git a/.github/workflows/almalinux_9_aarch64.yml b/.github/workflows/almalinux_9_aarch64.yml index 532096d0f7..02821706e5 100644 --- a/.github/workflows/almalinux_9_aarch64.yml +++ b/.github/workflows/almalinux_9_aarch64.yml @@ -58,8 +58,8 @@ jobs: # We're using LXD containers as aarch64 runners. For some reason, OOM # killer just kills the compilation process when `make -j $(nproc)`. # The issue happens only with builds where LTO is enabled. It's found, - # that `-j6` works fine. The bigger value causes problems. - SMPFLAGS: '-j6' + # that `-j4` works fine. The bigger value causes problems. + SMPFLAGS: '-j4' uses: ./.github/actions/pack-and-deploy - name: Send VK Teams message on failure if: failure() diff --git a/.github/workflows/fedora_34_aarch64.yml b/.github/workflows/fedora_34_aarch64.yml index a778033992..082d8ed3de 100644 --- a/.github/workflows/fedora_34_aarch64.yml +++ b/.github/workflows/fedora_34_aarch64.yml @@ -58,8 +58,8 @@ jobs: # We're using LXD containers as aarch64 runners. For some reason, OOM # killer just kills the compilation process when `make -j $(nproc)`. # The issue happens only with builds where LTO is enabled. It's found, - # that `-j6` works fine. The bigger value causes problems. - SMPFLAGS: '-j6' + # that `-j4` works fine. The bigger value causes problems. + SMPFLAGS: '-j4' uses: ./.github/actions/pack-and-deploy - name: Send VK Teams message on failure if: failure() diff --git a/.github/workflows/fedora_35_aarch64.yml b/.github/workflows/fedora_35_aarch64.yml index c0281cfd3b..f15e7293b7 100644 --- a/.github/workflows/fedora_35_aarch64.yml +++ b/.github/workflows/fedora_35_aarch64.yml @@ -58,8 +58,8 @@ jobs: # We're using LXD containers as aarch64 runners. For some reason, OOM # killer just kills the compilation process when `make -j $(nproc)`. # The issue happens only with builds where LTO is enabled. It's found, - # that `-j6` works fine. The bigger value causes problems. - SMPFLAGS: '-j6' + # that `-j4` works fine. The bigger value causes problems. + SMPFLAGS: '-j4' uses: ./.github/actions/pack-and-deploy - name: Send VK Teams message on failure if: failure() diff --git a/.github/workflows/fedora_36_aarch64.yml b/.github/workflows/fedora_36_aarch64.yml index 83a07c7c0c..977b3acb2c 100644 --- a/.github/workflows/fedora_36_aarch64.yml +++ b/.github/workflows/fedora_36_aarch64.yml @@ -58,8 +58,8 @@ jobs: # We're using LXD containers as aarch64 runners. For some reason, OOM # killer just kills the compilation process when `make -j $(nproc)`. # The issue happens only with builds where LTO is enabled. It's found, - # that `-j6` works fine. The bigger value causes problems. - SMPFLAGS: '-j6' + # that `-j4` works fine. The bigger value causes problems. + SMPFLAGS: '-j4' uses: ./.github/actions/pack-and-deploy - name: Send VK Teams message on failure if: failure() diff --git a/.github/workflows/fedora_37_aarch64.yml b/.github/workflows/fedora_37_aarch64.yml index 0e10a81487..119058901f 100644 --- a/.github/workflows/fedora_37_aarch64.yml +++ b/.github/workflows/fedora_37_aarch64.yml @@ -58,8 +58,8 @@ jobs: # We're using LXD containers as aarch64 runners. For some reason, OOM # killer just kills the compilation process when `make -j $(nproc)`. # The issue happens only with builds where LTO is enabled. It's found, - # that `-j6` works fine. The bigger value causes problems. - SMPFLAGS: '-j6' + # that `-j4` works fine. The bigger value causes problems. + SMPFLAGS: '-j4' uses: ./.github/actions/pack-and-deploy - name: Send VK Teams message on failure if: failure() diff --git a/.github/workflows/fedora_38_aarch64.yml b/.github/workflows/fedora_38_aarch64.yml index 22afc05f2f..da9d50b81a 100644 --- a/.github/workflows/fedora_38_aarch64.yml +++ b/.github/workflows/fedora_38_aarch64.yml @@ -58,8 +58,8 @@ jobs: # We're using LXD containers as aarch64 runners. For some reason, OOM # killer just kills the compilation process when `make -j $(nproc)`. # The issue happens only with builds where LTO is enabled. It's found, - # that `-j6` works fine. The bigger value causes problems. - SMPFLAGS: '-j6' + # that `-j4` works fine. The bigger value causes problems. + SMPFLAGS: '-j4' uses: ./.github/actions/pack-and-deploy - name: Send VK Teams message on failure if: failure() diff --git a/.github/workflows/fedora_39_aarch64.yml b/.github/workflows/fedora_39_aarch64.yml index d461213177..6f551297f9 100644 --- a/.github/workflows/fedora_39_aarch64.yml +++ b/.github/workflows/fedora_39_aarch64.yml @@ -58,8 +58,8 @@ jobs: # We're using LXD containers as aarch64 runners. For some reason, OOM # killer just kills the compilation process when `make -j $(nproc)`. # The issue happens only with builds where LTO is enabled. It's found, - # that `-j6` works fine. The bigger value causes problems. - SMPFLAGS: '-j6' + # that `-j4` works fine. The bigger value causes problems. + SMPFLAGS: '-j4' uses: ./.github/actions/pack-and-deploy - name: Send VK Teams message on failure if: failure() diff --git a/.github/workflows/ubuntu_22_04_aarch64.yml b/.github/workflows/ubuntu_22_04_aarch64.yml index d33529b07e..df0e890c93 100644 --- a/.github/workflows/ubuntu_22_04_aarch64.yml +++ b/.github/workflows/ubuntu_22_04_aarch64.yml @@ -58,8 +58,8 @@ jobs: # We're using LXD containers as aarch64 runners. For some reason, OOM # killer just kills the compilation process when `make -j $(nproc)`. # The issue happens only with builds where LTO is enabled. It's found, - # that `-j6` works fine. The bigger value causes problems. - SMPFLAGS: '-j6' + # that `-j4` works fine. The bigger value causes problems. + SMPFLAGS: '-j4' uses: ./.github/actions/pack-and-deploy - name: Send VK Teams message on failure if: failure() -- GitLab