diff --git a/.github/workflows/robustness-nightly.yaml b/.github/workflows/robustness-nightly.yaml index 9a9a99708fd..bc941cdd752 100644 --- a/.github/workflows/robustness-nightly.yaml +++ b/.github/workflows/robustness-nightly.yaml @@ -21,6 +21,7 @@ jobs: artifactName: main runs-on: "['ubuntu-latest-8-cores']" scenario: TestRobustnessExploratory + lazyfsEnabled: true main-arm64: uses: ./.github/workflows/robustness-template.yaml with: @@ -30,6 +31,7 @@ jobs: artifactName: main-arm64 runs-on: "['actuated-arm64-8cpu-8gb']" scenario: TestRobustnessExploratory + lazyfsEnabled: false release-35: uses: ./.github/workflows/robustness-template.yaml with: @@ -39,6 +41,7 @@ jobs: artifactName: release-35 runs-on: "['ubuntu-latest-8-cores']" scenario: TestRobustnessExploratory + lazyfsEnabled: true release-35-arm64: uses: ./.github/workflows/robustness-template.yaml with: @@ -48,6 +51,7 @@ jobs: artifactName: release-35-arm64 runs-on: "['actuated-arm64-8cpu-8gb']" scenario: TestRobustnessExploratory + lazyfsEnabled: false release-34: uses: ./.github/workflows/robustness-template.yaml with: @@ -57,3 +61,4 @@ jobs: artifactName: release-34 runs-on: "['ubuntu-latest-8-cores']" scenario: TestRobustnessExploratory + lazyfsEnabled: true diff --git a/.github/workflows/robustness-template.yaml b/.github/workflows/robustness-template.yaml index 03110c0cf81..231517eae99 100644 --- a/.github/workflows/robustness-template.yaml +++ b/.github/workflows/robustness-template.yaml @@ -23,6 +23,9 @@ on: scenario: required: true type: string + lazyfsEnabled: + required: true + type: boolean permissions: read-all jobs: @@ -36,6 +39,12 @@ jobs: - uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0 with: go-version: ${{ steps.goversion.outputs.goversion }} + - name: install-lazyfs + if: ${{ inputs.lazyfsEnabled }} + run: | + sudo apt update && sudo apt-get --yes install cmake libfuse3-dev libfuse3-3 fuse3 + sudo sed -i 's/#user_allow_other/user_allow_other/g' /etc/fuse.conf + make install-lazyfs - name: test-robustness env: ETCD_BRANCH: "${{ inputs.etcdBranch }}" @@ -43,10 +52,6 @@ jobs: set -euo pipefail go clean -testcache - # Build LazyFS - sudo apt update && sudo apt-get --yes install cmake libfuse3-dev libfuse3-3 fuse3 - sudo sed -i 's/#user_allow_other/user_allow_other/g' /etc/fuse.conf - make install-lazyfs # Use --failfast to avoid overriding report generated by failed test GO_TEST_FLAGS="-v --count ${{ inputs.count }} --timeout ${{ inputs.testTimeout }} --failfast --run ${{ inputs.scenario }}" case "${ETCD_BRANCH}" in diff --git a/.github/workflows/robustness.yaml b/.github/workflows/robustness.yaml index c137b3743d9..63df430c2a9 100644 --- a/.github/workflows/robustness.yaml +++ b/.github/workflows/robustness.yaml @@ -12,6 +12,7 @@ jobs: artifactName: main runs-on: "['ubuntu-latest-8-cores']" scenario: TestRobustness + lazyfsEnabled: true main-arm64: uses: ./.github/workflows/robustness-template.yaml with: @@ -21,3 +22,4 @@ jobs: artifactName: main-arm64 runs-on: "['actuated-arm64-8cpu-8gb']" scenario: TestRobustness + lazyfsEnabled: false