diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 49dd9fa25350..dc4ba67d60f0 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -1,5 +1,5 @@ { - "image": "ghcr.io/dfinity/ic-build@sha256:efe6edcd9a9e169843a02f91af98b29514c00cda858ad6612cda28b231b80896", + "image": "ghcr.io/dfinity/ic-build@sha256:797497ee4e9e5f06466eafa85cf8882ad9522d4fe27e9d97bfccee98e346065e", "remoteUser": "ubuntu", "privileged": true, "runArgs": [ diff --git a/.github/workflows-source/ci-main.yml b/.github/workflows-source/ci-main.yml index 65d69530aeac..f727008b27c3 100644 --- a/.github/workflows-source/ci-main.yml +++ b/.github/workflows-source/ci-main.yml @@ -34,7 +34,7 @@ env: anchors: image: &image - image: ghcr.io/dfinity/ic-build@sha256:efe6edcd9a9e169843a02f91af98b29514c00cda858ad6612cda28b231b80896 + image: ghcr.io/dfinity/ic-build@sha256:797497ee4e9e5f06466eafa85cf8882ad9522d4fe27e9d97bfccee98e346065e dind-large-setup: &dind-large-setup runs-on: labels: dind-large diff --git a/.github/workflows-source/ci-pr-only.yml b/.github/workflows-source/ci-pr-only.yml index 5e11039d9e1d..ef79437618c6 100644 --- a/.github/workflows-source/ci-pr-only.yml +++ b/.github/workflows-source/ci-pr-only.yml @@ -17,7 +17,7 @@ env: anchors: image: &image - image: ghcr.io/dfinity/ic-build@sha256:efe6edcd9a9e169843a02f91af98b29514c00cda858ad6612cda28b231b80896 + image: ghcr.io/dfinity/ic-build@sha256:797497ee4e9e5f06466eafa85cf8882ad9522d4fe27e9d97bfccee98e346065e dind-small-setup: &dind-small-setup timeout-minutes: 30 runs-on: @@ -109,7 +109,7 @@ jobs: runs-on: labels: dind-small container: - image: ghcr.io/dfinity/ic-build@sha256:994bfcba2fa5efbb52c515bb01e6e8a5828878d6528603e7133fb195bd2a6c89 + image: ghcr.io/dfinity/ic-build@sha256:797497ee4e9e5f06466eafa85cf8882ad9522d4fe27e9d97bfccee98e346065e options: >- -e NODE_NAME if: ${{ github.event_name != 'merge_group' }} diff --git a/.github/workflows-source/release-testing.yml b/.github/workflows-source/release-testing.yml index c9e021b27856..9ae4cd1094a6 100644 --- a/.github/workflows-source/release-testing.yml +++ b/.github/workflows-source/release-testing.yml @@ -25,7 +25,7 @@ env: anchors: image: &image - image: ghcr.io/dfinity/ic-build@sha256:efe6edcd9a9e169843a02f91af98b29514c00cda858ad6612cda28b231b80896 + image: ghcr.io/dfinity/ic-build@sha256:797497ee4e9e5f06466eafa85cf8882ad9522d4fe27e9d97bfccee98e346065e dind-large-setup: &dind-large-setup runs-on: group: zh1 diff --git a/.github/workflows-source/schedule-daily.yml b/.github/workflows-source/schedule-daily.yml index dc433feccb20..c5005055b0ac 100644 --- a/.github/workflows-source/schedule-daily.yml +++ b/.github/workflows-source/schedule-daily.yml @@ -14,7 +14,7 @@ env: anchors: image: &image - image: ghcr.io/dfinity/ic-build@sha256:efe6edcd9a9e169843a02f91af98b29514c00cda858ad6612cda28b231b80896 + image: ghcr.io/dfinity/ic-build@sha256:797497ee4e9e5f06466eafa85cf8882ad9522d4fe27e9d97bfccee98e346065e dind-large-setup: &dind-large-setup runs-on: group: zh1 diff --git a/.github/workflows-source/schedule-hourly.yml b/.github/workflows-source/schedule-hourly.yml index 7096113cccb0..88c60a95adc9 100644 --- a/.github/workflows-source/schedule-hourly.yml +++ b/.github/workflows-source/schedule-hourly.yml @@ -14,7 +14,7 @@ env: anchors: image: &image - image: ghcr.io/dfinity/ic-build@sha256:efe6edcd9a9e169843a02f91af98b29514c00cda858ad6612cda28b231b80896 + image: ghcr.io/dfinity/ic-build@sha256:797497ee4e9e5f06466eafa85cf8882ad9522d4fe27e9d97bfccee98e346065e dind-large-setup: &dind-large-setup runs-on: labels: dind-large diff --git a/.github/workflows/ci-main.yml b/.github/workflows/ci-main.yml index 9f9c493a092c..9c01cceaf3ec 100644 --- a/.github/workflows/ci-main.yml +++ b/.github/workflows/ci-main.yml @@ -106,7 +106,7 @@ jobs: name: Bazel Test All needs: [config] container: - image: ghcr.io/dfinity/ic-build@sha256:efe6edcd9a9e169843a02f91af98b29514c00cda858ad6612cda28b231b80896 + image: ghcr.io/dfinity/ic-build@sha256:797497ee4e9e5f06466eafa85cf8882ad9522d4fe27e9d97bfccee98e346065e options: >- -e NODE_NAME --privileged --cgroupns host -v /cache:/cache timeout-minutes: 90 @@ -284,7 +284,7 @@ jobs: runs-on: labels: dind-large container: - image: ghcr.io/dfinity/ic-build@sha256:efe6edcd9a9e169843a02f91af98b29514c00cda858ad6612cda28b231b80896 + image: ghcr.io/dfinity/ic-build@sha256:797497ee4e9e5f06466eafa85cf8882ad9522d4fe27e9d97bfccee98e346065e options: >- -e NODE_NAME --privileged --cgroupns host -v /cache:/cache timeout-minutes: 90 @@ -324,7 +324,7 @@ jobs: runs-on: labels: dind-large container: - image: ghcr.io/dfinity/ic-build@sha256:efe6edcd9a9e169843a02f91af98b29514c00cda858ad6612cda28b231b80896 + image: ghcr.io/dfinity/ic-build@sha256:797497ee4e9e5f06466eafa85cf8882ad9522d4fe27e9d97bfccee98e346065e options: >- -e NODE_NAME --privileged --cgroupns host -v /cache:/cache timeout-minutes: 90 @@ -345,7 +345,7 @@ jobs: runs-on: labels: dind-large container: - image: ghcr.io/dfinity/ic-build@sha256:efe6edcd9a9e169843a02f91af98b29514c00cda858ad6612cda28b231b80896 + image: ghcr.io/dfinity/ic-build@sha256:797497ee4e9e5f06466eafa85cf8882ad9522d4fe27e9d97bfccee98e346065e options: >- -e NODE_NAME --privileged --cgroupns host -v /cache:/cache timeout-minutes: 90 @@ -366,7 +366,7 @@ jobs: runs-on: labels: dind-small container: - image: ghcr.io/dfinity/ic-build@sha256:efe6edcd9a9e169843a02f91af98b29514c00cda858ad6612cda28b231b80896 + image: ghcr.io/dfinity/ic-build@sha256:797497ee4e9e5f06466eafa85cf8882ad9522d4fe27e9d97bfccee98e346065e timeout-minutes: 30 steps: - name: Checkout @@ -397,7 +397,7 @@ jobs: needs: [config] name: Build IC container: - image: ghcr.io/dfinity/ic-build@sha256:efe6edcd9a9e169843a02f91af98b29514c00cda858ad6612cda28b231b80896 + image: ghcr.io/dfinity/ic-build@sha256:797497ee4e9e5f06466eafa85cf8882ad9522d4fe27e9d97bfccee98e346065e options: >- -e NODE_NAME --privileged --cgroupns host -v /cache:/cache timeout-minutes: 90 @@ -478,7 +478,7 @@ jobs: runs-on: labels: dind-small container: - image: ghcr.io/dfinity/ic-build@sha256:efe6edcd9a9e169843a02f91af98b29514c00cda858ad6612cda28b231b80896 + image: ghcr.io/dfinity/ic-build@sha256:797497ee4e9e5f06466eafa85cf8882ad9522d4fe27e9d97bfccee98e346065e timeout-minutes: 30 steps: - name: Checkout @@ -513,7 +513,7 @@ jobs: runs-on: labels: dind-small container: - image: ghcr.io/dfinity/ic-build@sha256:efe6edcd9a9e169843a02f91af98b29514c00cda858ad6612cda28b231b80896 + image: ghcr.io/dfinity/ic-build@sha256:797497ee4e9e5f06466eafa85cf8882ad9522d4fe27e9d97bfccee98e346065e timeout-minutes: 30 steps: - name: Checkout diff --git a/.github/workflows/ci-pr-only.yml b/.github/workflows/ci-pr-only.yml index 8c9c989f90f6..85db322d9bad 100644 --- a/.github/workflows/ci-pr-only.yml +++ b/.github/workflows/ci-pr-only.yml @@ -20,7 +20,7 @@ jobs: runs-on: labels: dind-large container: - image: ghcr.io/dfinity/ic-build@sha256:efe6edcd9a9e169843a02f91af98b29514c00cda858ad6612cda28b231b80896 + image: ghcr.io/dfinity/ic-build@sha256:797497ee4e9e5f06466eafa85cf8882ad9522d4fe27e9d97bfccee98e346065e options: >- -e NODE_NAME if: ${{ github.event_name != 'merge_group' }} @@ -50,7 +50,7 @@ jobs: runs-on: labels: dind-small container: - image: ghcr.io/dfinity/ic-build@sha256:efe6edcd9a9e169843a02f91af98b29514c00cda858ad6612cda28b231b80896 + image: ghcr.io/dfinity/ic-build@sha256:797497ee4e9e5f06466eafa85cf8882ad9522d4fe27e9d97bfccee98e346065e options: >- -e NODE_NAME if: ${{ github.event_name != 'merge_group' }} @@ -93,7 +93,7 @@ jobs: runs-on: labels: dind-small container: - image: ghcr.io/dfinity/ic-build@sha256:994bfcba2fa5efbb52c515bb01e6e8a5828878d6528603e7133fb195bd2a6c89 + image: ghcr.io/dfinity/ic-build@sha256:797497ee4e9e5f06466eafa85cf8882ad9522d4fe27e9d97bfccee98e346065e options: >- -e NODE_NAME if: ${{ github.event_name != 'merge_group' }} @@ -128,7 +128,7 @@ jobs: runs-on: labels: dind-small container: - image: ghcr.io/dfinity/ic-build@sha256:efe6edcd9a9e169843a02f91af98b29514c00cda858ad6612cda28b231b80896 + image: ghcr.io/dfinity/ic-build@sha256:797497ee4e9e5f06466eafa85cf8882ad9522d4fe27e9d97bfccee98e346065e options: >- -e NODE_NAME if: ${{ github.event_name != 'merge_group' }} @@ -189,7 +189,7 @@ jobs: runs-on: labels: dind-large container: - image: ghcr.io/dfinity/ic-build@sha256:efe6edcd9a9e169843a02f91af98b29514c00cda858ad6612cda28b231b80896 + image: ghcr.io/dfinity/ic-build@sha256:797497ee4e9e5f06466eafa85cf8882ad9522d4fe27e9d97bfccee98e346065e options: >- -e NODE_NAME if: contains(github.event.pull_request.labels.*.name, 'CI_COVERAGE') diff --git a/.github/workflows/pocket-ic-tests-windows.yml b/.github/workflows/pocket-ic-tests-windows.yml index 61de00b511fb..d70f628b512b 100644 --- a/.github/workflows/pocket-ic-tests-windows.yml +++ b/.github/workflows/pocket-ic-tests-windows.yml @@ -17,7 +17,7 @@ jobs: bazel-build-pocket-ic: name: Bazel Build PocketIC container: - image: ghcr.io/dfinity/ic-build@sha256:994bfcba2fa5efbb52c515bb01e6e8a5828878d6528603e7133fb195bd2a6c89 + image: ghcr.io/dfinity/ic-build@sha256:797497ee4e9e5f06466eafa85cf8882ad9522d4fe27e9d97bfccee98e346065e options: >- -e NODE_NAME --privileged --cgroupns host -v /cache:/cache timeout-minutes: 90 diff --git a/.github/workflows/rate-limits-backend-release.yml b/.github/workflows/rate-limits-backend-release.yml index b6f87f429f7c..09aaf8300a17 100644 --- a/.github/workflows/rate-limits-backend-release.yml +++ b/.github/workflows/rate-limits-backend-release.yml @@ -33,7 +33,7 @@ jobs: labels: dind-large container: - image: ghcr.io/dfinity/ic-build@sha256:efe6edcd9a9e169843a02f91af98b29514c00cda858ad6612cda28b231b80896 + image: ghcr.io/dfinity/ic-build@sha256:797497ee4e9e5f06466eafa85cf8882ad9522d4fe27e9d97bfccee98e346065e options: >- -e NODE_NAME --privileged --cgroupns host -v /cache:/cache -v /var/sysimage:/var/sysimage -v /var/tmp:/var/tmp -v /ceph-s3-info:/ceph-s3-info diff --git a/.github/workflows/release-testing.yml b/.github/workflows/release-testing.yml index 06365ee72fd0..859d43fc4738 100644 --- a/.github/workflows/release-testing.yml +++ b/.github/workflows/release-testing.yml @@ -29,7 +29,7 @@ jobs: group: zh1 labels: dind-large container: - image: ghcr.io/dfinity/ic-build@sha256:efe6edcd9a9e169843a02f91af98b29514c00cda858ad6612cda28b231b80896 + image: ghcr.io/dfinity/ic-build@sha256:797497ee4e9e5f06466eafa85cf8882ad9522d4fe27e9d97bfccee98e346065e options: >- -e NODE_NAME --privileged --cgroupns host -v /cache:/cache timeout-minutes: 180 # 3 hours @@ -51,7 +51,7 @@ jobs: group: zh1 labels: dind-large container: - image: ghcr.io/dfinity/ic-build@sha256:efe6edcd9a9e169843a02f91af98b29514c00cda858ad6612cda28b231b80896 + image: ghcr.io/dfinity/ic-build@sha256:797497ee4e9e5f06466eafa85cf8882ad9522d4fe27e9d97bfccee98e346065e options: >- -e NODE_NAME --privileged --cgroupns host -v /cache:/cache timeout-minutes: 180 # 3 hours @@ -73,7 +73,7 @@ jobs: group: zh1 labels: dind-large container: - image: ghcr.io/dfinity/ic-build@sha256:efe6edcd9a9e169843a02f91af98b29514c00cda858ad6612cda28b231b80896 + image: ghcr.io/dfinity/ic-build@sha256:797497ee4e9e5f06466eafa85cf8882ad9522d4fe27e9d97bfccee98e346065e options: >- -e NODE_NAME --privileged --cgroupns host -v /cache:/cache timeout-minutes: 90 @@ -95,7 +95,7 @@ jobs: group: zh1 labels: dind-large container: - image: ghcr.io/dfinity/ic-build@sha256:efe6edcd9a9e169843a02f91af98b29514c00cda858ad6612cda28b231b80896 + image: ghcr.io/dfinity/ic-build@sha256:797497ee4e9e5f06466eafa85cf8882ad9522d4fe27e9d97bfccee98e346065e options: >- -e NODE_NAME --privileged --cgroupns host -v /cache:/cache timeout-minutes: 60 @@ -137,7 +137,7 @@ jobs: group: zh1 labels: dind-large container: - image: ghcr.io/dfinity/ic-build@sha256:efe6edcd9a9e169843a02f91af98b29514c00cda858ad6612cda28b231b80896 + image: ghcr.io/dfinity/ic-build@sha256:797497ee4e9e5f06466eafa85cf8882ad9522d4fe27e9d97bfccee98e346065e options: >- -e NODE_NAME --privileged --cgroupns host -v /cache:/cache timeout-minutes: 180 # 3 hours @@ -165,7 +165,7 @@ jobs: group: zh1 labels: dind-large container: - image: ghcr.io/dfinity/ic-build@sha256:efe6edcd9a9e169843a02f91af98b29514c00cda858ad6612cda28b231b80896 + image: ghcr.io/dfinity/ic-build@sha256:797497ee4e9e5f06466eafa85cf8882ad9522d4fe27e9d97bfccee98e346065e options: >- -e NODE_NAME --privileged --cgroupns host -v /cache:/cache timeout-minutes: 180 # 3 hours diff --git a/.github/workflows/rosetta-release.yml b/.github/workflows/rosetta-release.yml index 8fb2651b69d9..4c5a9cb38214 100644 --- a/.github/workflows/rosetta-release.yml +++ b/.github/workflows/rosetta-release.yml @@ -22,7 +22,7 @@ jobs: runs-on: labels: dind-large container: - image: ghcr.io/dfinity/ic-build@sha256:efe6edcd9a9e169843a02f91af98b29514c00cda858ad6612cda28b231b80896 + image: ghcr.io/dfinity/ic-build@sha256:797497ee4e9e5f06466eafa85cf8882ad9522d4fe27e9d97bfccee98e346065e steps: - name: Checkout uses: actions/checkout@v4 diff --git a/.github/workflows/salt-sharing-canister-release.yml b/.github/workflows/salt-sharing-canister-release.yml index 845e156e0abd..1018dc66c1d7 100644 --- a/.github/workflows/salt-sharing-canister-release.yml +++ b/.github/workflows/salt-sharing-canister-release.yml @@ -33,7 +33,7 @@ jobs: labels: dind-large container: - image: ghcr.io/dfinity/ic-build@sha256:efe6edcd9a9e169843a02f91af98b29514c00cda858ad6612cda28b231b80896 + image: ghcr.io/dfinity/ic-build@sha256:797497ee4e9e5f06466eafa85cf8882ad9522d4fe27e9d97bfccee98e346065e options: >- -e NODE_NAME --privileged --cgroupns host -v /cache:/cache -v /var/sysimage:/var/sysimage -v /var/tmp:/var/tmp -v /ceph-s3-info:/ceph-s3-info diff --git a/.github/workflows/schedule-daily.yml b/.github/workflows/schedule-daily.yml index 8eba417153a9..354c5714fc7f 100644 --- a/.github/workflows/schedule-daily.yml +++ b/.github/workflows/schedule-daily.yml @@ -13,7 +13,7 @@ jobs: bazel-test-bare-metal: name: Bazel Test Bare Metal container: - image: ghcr.io/dfinity/ic-build@sha256:efe6edcd9a9e169843a02f91af98b29514c00cda858ad6612cda28b231b80896 + image: ghcr.io/dfinity/ic-build@sha256:797497ee4e9e5f06466eafa85cf8882ad9522d4fe27e9d97bfccee98e346065e options: >- -e NODE_NAME --privileged --cgroupns host -v /cache:/cache timeout-minutes: 120 @@ -62,7 +62,7 @@ jobs: group: zh1 labels: dind-large container: - image: ghcr.io/dfinity/ic-build@sha256:efe6edcd9a9e169843a02f91af98b29514c00cda858ad6612cda28b231b80896 + image: ghcr.io/dfinity/ic-build@sha256:797497ee4e9e5f06466eafa85cf8882ad9522d4fe27e9d97bfccee98e346065e options: >- -e NODE_NAME --privileged --cgroupns host -v /cache:/cache timeout-minutes: 720 # 12 hours @@ -83,7 +83,7 @@ jobs: group: zh1 labels: dind-large container: - image: ghcr.io/dfinity/ic-build@sha256:efe6edcd9a9e169843a02f91af98b29514c00cda858ad6612cda28b231b80896 + image: ghcr.io/dfinity/ic-build@sha256:797497ee4e9e5f06466eafa85cf8882ad9522d4fe27e9d97bfccee98e346065e options: >- -e NODE_NAME --privileged --cgroupns host -v /cache:/cache timeout-minutes: 20 @@ -104,7 +104,7 @@ jobs: group: zh1 labels: dind-large container: - image: ghcr.io/dfinity/ic-build@sha256:efe6edcd9a9e169843a02f91af98b29514c00cda858ad6612cda28b231b80896 + image: ghcr.io/dfinity/ic-build@sha256:797497ee4e9e5f06466eafa85cf8882ad9522d4fe27e9d97bfccee98e346065e options: >- -e NODE_NAME --privileged --cgroupns host -v /cache:/cache timeout-minutes: 480 @@ -139,7 +139,7 @@ jobs: group: zh1 labels: dind-large container: - image: ghcr.io/dfinity/ic-build@sha256:efe6edcd9a9e169843a02f91af98b29514c00cda858ad6612cda28b231b80896 + image: ghcr.io/dfinity/ic-build@sha256:797497ee4e9e5f06466eafa85cf8882ad9522d4fe27e9d97bfccee98e346065e options: >- -e NODE_NAME --privileged --cgroupns host -v /cache:/cache timeout-minutes: 60 @@ -191,7 +191,7 @@ jobs: group: zh1 labels: dind-large container: - image: ghcr.io/dfinity/ic-build@sha256:efe6edcd9a9e169843a02f91af98b29514c00cda858ad6612cda28b231b80896 + image: ghcr.io/dfinity/ic-build@sha256:797497ee4e9e5f06466eafa85cf8882ad9522d4fe27e9d97bfccee98e346065e options: >- -e NODE_NAME --privileged --cgroupns host -v /cache:/cache timeout-minutes: 120 diff --git a/.github/workflows/schedule-hourly.yml b/.github/workflows/schedule-hourly.yml index 037e46231ecd..126f59442c37 100644 --- a/.github/workflows/schedule-hourly.yml +++ b/.github/workflows/schedule-hourly.yml @@ -15,7 +15,7 @@ jobs: runs-on: labels: dind-large container: - image: ghcr.io/dfinity/ic-build@sha256:efe6edcd9a9e169843a02f91af98b29514c00cda858ad6612cda28b231b80896 + image: ghcr.io/dfinity/ic-build@sha256:797497ee4e9e5f06466eafa85cf8882ad9522d4fe27e9d97bfccee98e346065e options: >- -e NODE_NAME --privileged --cgroupns host -v /cache:/cache timeout-minutes: 120 @@ -35,7 +35,7 @@ jobs: bazel-system-test-hourly: name: Bazel System Tests Hourly container: - image: ghcr.io/dfinity/ic-build@sha256:efe6edcd9a9e169843a02f91af98b29514c00cda858ad6612cda28b231b80896 + image: ghcr.io/dfinity/ic-build@sha256:797497ee4e9e5f06466eafa85cf8882ad9522d4fe27e9d97bfccee98e346065e options: >- -e NODE_NAME --privileged --cgroupns host -v /cache:/cache timeout-minutes: 120 @@ -58,7 +58,7 @@ jobs: bazel-run-fuzzers-hourly: name: Bazel Run Fuzzers Hourly container: - image: ghcr.io/dfinity/ic-build@sha256:efe6edcd9a9e169843a02f91af98b29514c00cda858ad6612cda28b231b80896 + image: ghcr.io/dfinity/ic-build@sha256:797497ee4e9e5f06466eafa85cf8882ad9522d4fe27e9d97bfccee98e346065e options: >- -e NODE_NAME --privileged --cgroupns host -v /cache:/cache timeout-minutes: 120 diff --git a/.github/workflows/schedule-rust-bench.yml b/.github/workflows/schedule-rust-bench.yml index efe04b7f37d9..b41e725ac12f 100644 --- a/.github/workflows/schedule-rust-bench.yml +++ b/.github/workflows/schedule-rust-bench.yml @@ -25,7 +25,7 @@ jobs: # see linux-x86-64 runner group labels: rust-benchmarks container: - image: ghcr.io/dfinity/ic-build@sha256:efe6edcd9a9e169843a02f91af98b29514c00cda858ad6612cda28b231b80896 + image: ghcr.io/dfinity/ic-build@sha256:797497ee4e9e5f06466eafa85cf8882ad9522d4fe27e9d97bfccee98e346065e # running on bare metal machine using ubuntu user options: --user ubuntu -v /cache:/cache timeout-minutes: 720 # 12 hours diff --git a/.github/workflows/schedule-weekly.yml b/.github/workflows/schedule-weekly.yml index dd4cf371aae5..90a6d9c9ffaf 100644 --- a/.github/workflows/schedule-weekly.yml +++ b/.github/workflows/schedule-weekly.yml @@ -14,7 +14,7 @@ jobs: runs-on: labels: dind-large container: - image: ghcr.io/dfinity/ic-build@sha256:efe6edcd9a9e169843a02f91af98b29514c00cda858ad6612cda28b231b80896 + image: ghcr.io/dfinity/ic-build@sha256:797497ee4e9e5f06466eafa85cf8882ad9522d4fe27e9d97bfccee98e346065e options: >- -e NODE_NAME -v /cache:/cache diff --git a/.github/workflows/system-tests-k8s.yml b/.github/workflows/system-tests-k8s.yml index 802b2b8ec540..4254e566bbf4 100644 --- a/.github/workflows/system-tests-k8s.yml +++ b/.github/workflows/system-tests-k8s.yml @@ -50,7 +50,7 @@ jobs: group: ln1 labels: dind-large container: - image: ghcr.io/dfinity/ic-build@sha256:efe6edcd9a9e169843a02f91af98b29514c00cda858ad6612cda28b231b80896 + image: ghcr.io/dfinity/ic-build@sha256:797497ee4e9e5f06466eafa85cf8882ad9522d4fe27e9d97bfccee98e346065e options: >- -e NODE_NAME -e KUBECONFIG --privileged --cgroupns host @@ -106,7 +106,7 @@ jobs: group: ln1 labels: dind-large container: - image: ghcr.io/dfinity/ic-build@sha256:efe6edcd9a9e169843a02f91af98b29514c00cda858ad6612cda28b231b80896 + image: ghcr.io/dfinity/ic-build@sha256:797497ee4e9e5f06466eafa85cf8882ad9522d4fe27e9d97bfccee98e346065e options: >- -e NODE_NAME -e KUBECONFIG --privileged --cgroupns host -v /cache:/cache timeout-minutes: 150 diff --git a/.github/workflows/update-mainnet-revisions.yaml b/.github/workflows/update-mainnet-revisions.yaml index 9d5a3be88f0b..3f3a91357368 100644 --- a/.github/workflows/update-mainnet-revisions.yaml +++ b/.github/workflows/update-mainnet-revisions.yaml @@ -40,7 +40,7 @@ jobs: labels: dind-small environment: CREATE_PR container: - image: ghcr.io/dfinity/ic-build@sha256:efe6edcd9a9e169843a02f91af98b29514c00cda858ad6612cda28b231b80896 + image: ghcr.io/dfinity/ic-build@sha256:797497ee4e9e5f06466eafa85cf8882ad9522d4fe27e9d97bfccee98e346065e options: >- -e NODE_NAME --privileged --cgroupns host -v /cache:/cache -v /var/sysimage:/var/sysimage -v /var/tmp:/var/tmp -v /ceph-s3-info:/ceph-s3-info steps: diff --git a/Cargo.Bazel.Fuzzing.json.lock b/Cargo.Bazel.Fuzzing.json.lock index 23ff62290788..0ffe82f68759 100644 --- a/Cargo.Bazel.Fuzzing.json.lock +++ b/Cargo.Bazel.Fuzzing.json.lock @@ -1,5 +1,5 @@ { - "checksum": "64c49509d47ed140ddc08b3efc7bfa814c2266d019d75d0e2e5c8b07861b577e", + "checksum": "810e1cedfbe2974258947d7bdf173d3438cadc60f0abeb72e51f1435f17fe842", "crates": { "abnf 0.12.0": { "name": "abnf", @@ -31506,6 +31506,15 @@ "selects": {} }, "edition": "2018", + "rustc_flags": { + "common": [], + "selects": { + "x86_64-apple-darwin": [ + "-C", + "opt-level=0" + ] + } + }, "version": "0.14.27" }, "license": "MIT", @@ -31612,6 +31621,15 @@ "selects": {} }, "edition": "2021", + "rustc_flags": { + "common": [], + "selects": { + "x86_64-apple-darwin": [ + "-C", + "opt-level=0" + ] + } + }, "version": "1.6.0" }, "license": "MIT", diff --git a/Cargo.Bazel.json.lock b/Cargo.Bazel.json.lock index f302e6ce75f8..6963d8e99124 100644 --- a/Cargo.Bazel.json.lock +++ b/Cargo.Bazel.json.lock @@ -1,5 +1,5 @@ { - "checksum": "21430b16e8a299a0a20d265771513910a8fa53d6b3b1030a86ad10485eda72d8", + "checksum": "5063d0cb0c55333e16aad0a7cf3d2fee586026f58e4483b205c4598585892172", "crates": { "abnf 0.12.0": { "name": "abnf", @@ -31354,6 +31354,15 @@ "selects": {} }, "edition": "2018", + "rustc_flags": { + "common": [], + "selects": { + "x86_64-apple-darwin": [ + "-C", + "opt-level=0" + ] + } + }, "version": "0.14.27" }, "license": "MIT", @@ -31460,6 +31469,15 @@ "selects": {} }, "edition": "2021", + "rustc_flags": { + "common": [], + "selects": { + "x86_64-apple-darwin": [ + "-C", + "opt-level=0" + ] + } + }, "version": "1.6.0" }, "license": "MIT", diff --git a/WORKSPACE.bazel b/WORKSPACE.bazel index 6bf2a9ba4bf9..787f7e3ca0ab 100644 --- a/WORKSPACE.bazel +++ b/WORKSPACE.bazel @@ -135,7 +135,7 @@ rust_register_toolchains( # The nightly version is required to compile fuzz tests from Bazel. # The version below is chosen so that it is in sync with the non-nightly version. versions = [ - "1.85.1", + "1.86.0", # Use the nightly version from the day before the branch. "nightly/2025-03-08", ], diff --git a/bazel/external_crates.bzl b/bazel/external_crates.bzl index f37676ce1915..6bcaf424f3c5 100644 --- a/bazel/external_crates.bzl +++ b/bazel/external_crates.bzl @@ -24,6 +24,20 @@ BUILD_INFO_REV = "701a696844fba5c87df162fbbc1ccef96f27c9d7" def external_crates_repository(name, cargo_lockfile, lockfile, sanitizers_enabled): CRATE_ANNOTATIONS = { + # The upgrade to rust-1.86.0 in https://github.com/dfinity/ic/commit/d1dc4c2dc813c70611425749551c5ac40c8d5e40 + # was initially reverted since it caused the `//rs/pocket_ic_server:...` and `//packages/pocket-ic:...` tests + # to fail on x86_64-apple-darwin. + # + # We have now debugged this failure and it turns out this is due to a bug in the apple linker that causes bad + # code to be generated for the `hyper` HTTP client crate used in both the pocket-ic library and server. + # (Full context [here](https://github.com/rust-lang/rust/issues/140686#issuecomment-2869525604)). + # LLVM has a [workaround](https://github.com/rust-lang/llvm-project/pull/181) that they merged and + # rustc will integrate it soon. + # + # Until then, it appears that the bug is only triggered when building with the default `opt-level=2`. + # Until we’ve upgraded to the newest rustc (for which we’ll probably need to wait for a new rules_rust version) + # we will build the `hyper` crate with `opt-level=0` (I tried `opt-level=1` but that results in the same failure). + "hyper": [crate.annotation(rustc_flags = crate.select([], {"x86_64-apple-darwin": ["-C", "opt-level=0"]}))], "openssl-sys": [crate.annotation( build_script_data = [ "@openssl//:gen_dir", diff --git a/ci/container/TAG b/ci/container/TAG index 2dc90b5edbe7..d6834c440e00 100644 --- a/ci/container/TAG +++ b/ci/container/TAG @@ -1 +1 @@ -3426fa29677ab9de5778c28c093194f9a45946bfaa7b910d0fc0bfa893e2a13a +b0af592b06662401f438b8c9a84bf68cdb1a28ab8a534717a43cf00447e62df9 diff --git a/rs/ledger_suite/icrc1/ledger/canbench_results/canbench_u256.yml b/rs/ledger_suite/icrc1/ledger/canbench_results/canbench_u256.yml index 527323a8cacb..cace26b5988d 100644 --- a/rs/ledger_suite/icrc1/ledger/canbench_results/canbench_u256.yml +++ b/rs/ledger_suite/icrc1/ledger/canbench_results/canbench_u256.yml @@ -2,70 +2,70 @@ benches: bench_icrc1_transfers: total: calls: 1 - instructions: 54208424997 - heap_increase: 264 + instructions: 53957592938 + heap_increase: 262 stable_memory_increase: 256 scopes: icrc103_get_allowances: calls: 1 - instructions: 6483457 + instructions: 6461504 heap_increase: 0 stable_memory_increase: 0 icrc1_transfer: calls: 1 - instructions: 12963223748 + instructions: 12893898527 heap_increase: 31 stable_memory_increase: 0 icrc2_approve: calls: 1 - instructions: 19300687184 - heap_increase: 29 + instructions: 19152557060 + heap_increase: 28 stable_memory_increase: 128 icrc2_transfer_from: calls: 1 - instructions: 21236203907 - heap_increase: 4 + instructions: 21201605303 + heap_increase: 3 stable_memory_increase: 0 icrc3_get_blocks: calls: 1 - instructions: 9190204 + instructions: 9165418 heap_increase: 0 stable_memory_increase: 0 post_upgrade: calls: 1 - instructions: 352007549 + instructions: 352112436 heap_increase: 71 stable_memory_increase: 0 pre_upgrade: calls: 1 - instructions: 149185789 + instructions: 148162008 heap_increase: 129 stable_memory_increase: 128 upgrade: calls: 1 - instructions: 501196007 + instructions: 500277250 heap_increase: 200 stable_memory_increase: 128 bench_upgrade_baseline: total: calls: 1 - instructions: 8682162 + instructions: 8684853 heap_increase: 129 stable_memory_increase: 128 scopes: post_upgrade: calls: 1 - instructions: 8603917 + instructions: 8605945 heap_increase: 0 stable_memory_increase: 0 pre_upgrade: calls: 1 - instructions: 75356 + instructions: 76034 heap_increase: 129 stable_memory_increase: 128 upgrade: calls: 1 - instructions: 8681238 + instructions: 8683934 heap_increase: 129 stable_memory_increase: 128 version: 0.1.15 diff --git a/rs/ledger_suite/icrc1/ledger/canbench_results/canbench_u64.yml b/rs/ledger_suite/icrc1/ledger/canbench_results/canbench_u64.yml index fed3330fcf8a..fb1b31f892fb 100644 --- a/rs/ledger_suite/icrc1/ledger/canbench_results/canbench_u64.yml +++ b/rs/ledger_suite/icrc1/ledger/canbench_results/canbench_u64.yml @@ -2,70 +2,70 @@ benches: bench_icrc1_transfers: total: calls: 1 - instructions: 52219592379 + instructions: 52171062385 heap_increase: 264 stable_memory_increase: 256 scopes: icrc103_get_allowances: calls: 1 - instructions: 5777551 + instructions: 5829030 heap_increase: 0 stable_memory_increase: 0 icrc1_transfer: calls: 1 - instructions: 12317346166 - heap_increase: 31 + instructions: 12300532105 + heap_increase: 34 stable_memory_increase: 0 icrc2_approve: calls: 1 - instructions: 18526480608 - heap_increase: 29 + instructions: 18485004502 + heap_increase: 25 stable_memory_increase: 128 icrc2_transfer_from: calls: 1 - instructions: 20671784720 - heap_increase: 3 + instructions: 20677961391 + heap_increase: 4 stable_memory_increase: 0 icrc3_get_blocks: calls: 1 - instructions: 8587147 + instructions: 8531422 heap_increase: 0 stable_memory_increase: 0 post_upgrade: calls: 1 - instructions: 352225413 + instructions: 356188654 heap_increase: 72 stable_memory_increase: 0 pre_upgrade: calls: 1 - instructions: 149186048 + instructions: 149066669 heap_increase: 129 stable_memory_increase: 128 upgrade: calls: 1 - instructions: 501414271 + instructions: 505258055 heap_increase: 201 stable_memory_increase: 128 bench_upgrade_baseline: total: calls: 1 - instructions: 8683032 + instructions: 8688159 heap_increase: 129 stable_memory_increase: 128 scopes: post_upgrade: calls: 1 - instructions: 8603759 + instructions: 8608230 heap_increase: 0 stable_memory_increase: 0 pre_upgrade: calls: 1 - instructions: 76384 + instructions: 77055 heap_increase: 129 stable_memory_increase: 128 upgrade: calls: 1 - instructions: 8682108 + instructions: 8687240 heap_increase: 129 stable_memory_increase: 128 version: 0.1.15 diff --git a/rs/nns/governance/canbench/canbench_results.yml b/rs/nns/governance/canbench/canbench_results.yml index e9046265f4d4..b7f4c1188655 100644 --- a/rs/nns/governance/canbench/canbench_results.yml +++ b/rs/nns/governance/canbench/canbench_results.yml @@ -2,150 +2,150 @@ benches: add_neuron_active_maximum_stable: total: calls: 1 - instructions: 61868406 + instructions: 61314505 heap_increase: 0 stable_memory_increase: 0 scopes: {} add_neuron_active_typical_stable: total: calls: 1 - instructions: 4434418 + instructions: 4394702 heap_increase: 0 stable_memory_increase: 0 scopes: {} add_neuron_inactive_maximum: total: calls: 1 - instructions: 61868519 + instructions: 61314618 heap_increase: 0 stable_memory_increase: 0 scopes: {} add_neuron_inactive_typical: total: calls: 1 - instructions: 4434531 + instructions: 4394815 heap_increase: 0 stable_memory_increase: 0 scopes: {} cascading_vote_stable_everything: total: calls: 1 - instructions: 108525112 + instructions: 108033346 heap_increase: 0 stable_memory_increase: 128 scopes: {} centralized_following_all_stable: total: calls: 1 - instructions: 42002784 + instructions: 41876993 heap_increase: 0 stable_memory_increase: 128 scopes: {} compute_ballots_for_new_proposal_with_stable_neurons: total: calls: 1 - instructions: 1781426 + instructions: 1845820 heap_increase: 0 stable_memory_increase: 0 scopes: {} distribute_rewards_with_stable_neurons: total: calls: 1 - instructions: 2769799 + instructions: 2813921 heap_increase: 0 stable_memory_increase: 256 scopes: {} draw_maturity_from_neurons_fund_stable: total: calls: 1 - instructions: 7576878 + instructions: 7547321 heap_increase: 0 stable_memory_increase: 0 scopes: {} list_active_neurons_fund_neurons_stable: total: calls: 1 - instructions: 2243478 + instructions: 2252766 heap_increase: 0 stable_memory_increase: 0 scopes: {} list_neurons_by_subaccount_stable: total: calls: 1 - instructions: 66319497 + instructions: 65853191 heap_increase: 5 stable_memory_increase: 0 scopes: {} list_neurons_stable: total: calls: 1 - instructions: 67632700 + instructions: 66811976 heap_increase: 9 stable_memory_increase: 0 scopes: {} list_proposals: total: calls: 1 - instructions: 75889 + instructions: 78145 heap_increase: 0 stable_memory_increase: 0 scopes: {} list_ready_to_spawn_neuron_ids_stable: total: calls: 1 - instructions: 37436771 + instructions: 37693856 heap_increase: 0 stable_memory_increase: 0 scopes: {} neuron_data_validation_stable: total: calls: 1 - instructions: 207749441 + instructions: 207728828 heap_increase: 0 stable_memory_increase: 0 scopes: {} neuron_metrics_calculation_stable: total: calls: 1 - instructions: 2718705 + instructions: 2727791 heap_increase: 0 stable_memory_increase: 0 scopes: {} range_neurons_performance: total: calls: 1 - instructions: 55414913 + instructions: 55016409 heap_increase: 0 stable_memory_increase: 0 scopes: {} single_vote_all_stable: total: calls: 1 - instructions: 279950 + instructions: 278977 heap_increase: 0 stable_memory_increase: 128 scopes: {} unstake_maturity_of_dissolved_neurons_stable: total: calls: 1 - instructions: 64676407 + instructions: 64951686 heap_increase: 0 stable_memory_increase: 0 scopes: list_neuron_ids: calls: 1 - instructions: 38802158 + instructions: 39071820 heap_increase: 0 stable_memory_increase: 0 unstake_maturity: calls: 1 - instructions: 25872066 + instructions: 25877683 heap_increase: 0 stable_memory_increase: 0 update_recent_ballots_stable_memory: total: calls: 1 - instructions: 143951 + instructions: 143444 heap_increase: 0 stable_memory_increase: 0 scopes: {} @@ -159,28 +159,28 @@ benches: with_neuron_mut_all_sections_maximum_stable: total: calls: 1 - instructions: 4469524 + instructions: 4436380 heap_increase: 0 stable_memory_increase: 0 scopes: {} with_neuron_mut_all_sections_typical_stable: total: calls: 1 - instructions: 855886 + instructions: 851438 heap_increase: 0 stable_memory_increase: 0 scopes: {} with_neuron_mut_main_section_maximum_stable: total: calls: 1 - instructions: 2448005 + instructions: 2431630 heap_increase: 0 stable_memory_increase: 0 scopes: {} with_neuron_mut_main_section_typical_stable: total: calls: 1 - instructions: 410342 + instructions: 408945 heap_increase: 0 stable_memory_increase: 0 scopes: {} diff --git a/rs/sns/governance/canbench/canbench_results.yml b/rs/sns/governance/canbench/canbench_results.yml index a9c567e968f8..02508154c4b6 100644 --- a/rs/sns/governance/canbench/canbench_results.yml +++ b/rs/sns/governance/canbench/canbench_results.yml @@ -1,8 +1,9 @@ benches: bench_example: total: - instructions: 4738 + calls: 1 + instructions: 5640 heap_increase: 0 stable_memory_increase: 0 scopes: {} -version: 0.1.8 +version: 0.1.15 diff --git a/rs/sns/init/src/lib.rs b/rs/sns/init/src/lib.rs index 09e9a9178e31..aba2e3710a07 100644 --- a/rs/sns/init/src/lib.rs +++ b/rs/sns/init/src/lib.rs @@ -918,6 +918,7 @@ impl SnsInitPayload { self.join_validation_results(&validation_fns) } + #[allow(clippy::manual_ok_err)] fn join_validation_results( &self, validation_fns: &[Result<(), String>], diff --git a/rs/tests/driver/src/driver/constants.rs b/rs/tests/driver/src/driver/constants.rs index 6765130f1308..592ce878850d 100644 --- a/rs/tests/driver/src/driver/constants.rs +++ b/rs/tests/driver/src/driver/constants.rs @@ -1,5 +1,6 @@ use std::time::Duration; +#[allow(clippy::doc_overindented_list_items)] /// New directory structure: /// /// - dependencies/ diff --git a/rust-toolchain.toml b/rust-toolchain.toml index d9ccfb3fccb8..57a2a3be179d 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,5 +1,5 @@ [toolchain] -channel = "1.85.1" +channel = "1.86.0" targets = ["wasm32-unknown-unknown"] profile = "default" components = ["rls"]