From c08c8b5628107ac7e0e1a2a0f848afe78b08c486 Mon Sep 17 00:00:00 2001 From: Alessio Gravili Date: Mon, 15 Apr 2024 12:38:38 -0400 Subject: [PATCH] ci: add weird tune linux network step which seems to reduce flakes (#5857) --- .github/workflows/main.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ba2453120c..57ed35b2fe 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -15,6 +15,10 @@ jobs: needs_build: ${{ steps.filter.outputs.needs_build }} templates: ${{ steps.filter.outputs.templates }} steps: + # https://github.com/actions/virtual-environments/issues/1187 + - name: tune linux network + run: sudo ethtool -K eth0 tx off rx off + - uses: actions/checkout@v4 with: fetch-depth: 25 @@ -45,6 +49,10 @@ jobs: with: fetch-depth: 25 + # https://github.com/actions/virtual-environments/issues/1187 + - name: tune linux network + run: sudo ethtool -K eth0 tx off rx off + - name: Use Node.js 18 uses: actions/setup-node@v3 with: @@ -96,6 +104,10 @@ jobs: AWS_REGION: us-east-1 steps: + # https://github.com/actions/virtual-environments/issues/1187 + - name: tune linux network + run: sudo ethtool -K eth0 tx off rx off + - name: Use Node.js 18 uses: actions/setup-node@v3 with: @@ -177,6 +189,10 @@ jobs: part: [ 1/8, 2/8, 3/8, 4/8, 5/8, 6/8, 7/8, 8/8 ] steps: + # https://github.com/actions/virtual-environments/issues/1187 + - name: tune linux network + run: sudo ethtool -K eth0 tx off rx off + - name: Use Node.js 18 uses: actions/setup-node@v3 with: @@ -214,6 +230,10 @@ jobs: needs: core-build steps: + # https://github.com/actions/virtual-environments/issues/1187 + - name: tune linux network + run: sudo ethtool -K eth0 tx off rx off + - name: Use Node.js 18 uses: actions/setup-node@v3 with: @@ -254,6 +274,10 @@ jobs: - live-preview-react steps: + # https://github.com/actions/virtual-environments/issues/1187 + - name: tune linux network + run: sudo ethtool -K eth0 tx off rx off + - name: Use Node.js 18 uses: actions/setup-node@v3 with: @@ -291,6 +315,10 @@ jobs: - plugin-seo steps: + # https://github.com/actions/virtual-environments/issues/1187 + - name: tune linux network + run: sudo ethtool -K eth0 tx off rx off + - name: Use Node.js 18 uses: actions/setup-node@v3 with: @@ -329,6 +357,10 @@ jobs: with: fetch-depth: 25 + # https://github.com/actions/virtual-environments/issues/1187 + - name: tune linux network + run: sudo ethtool -K eth0 tx off rx off + - name: Use Node.js 18 uses: actions/setup-node@v3 with: