Skip to content

Add Logging and Debugging to Investigate RBE Failures #9104

Add Logging and Debugging to Investigate RBE Failures

Add Logging and Debugging to Investigate RBE Failures #9104

Workflow file for this run

name: CI - RBE
on:
pull_request:
push:
branches:
- trunk
workflow_dispatch:
env:
BAZEL_LOG_FILE: bazel-logs/bazel_${{ github.workflow }}_${{ github.run_id }}.log
jobs:
format:
name: Format
if: github.repository_owner == 'seleniumhq' && startsWith(github.head_ref, 'renovate/') != true
uses: ./.github/workflows/bazel.yml
with:
name: Check format script run
caching: false
ruby-version: jruby-9.4.12.0
run: ./scripts/github-actions/check-format.sh
test:
name: Test
if: github.repository_owner == 'seleniumhq' && startsWith(github.head_ref, 'renovate/') != true
uses: ./.github/workflows/bazel.yml
with:
name: All RBE tests
caching: false
ruby-version: jruby-9.4.12.0
upload-name: bazel-logs
upload-path: ${{ env.BAZEL_LOG_FILE }}

Check failure on line 33 in .github/workflows/ci-rbe.yml

View workflow run for this annotation

GitHub Actions / CI - RBE

Invalid workflow file

The workflow is not valid. .github/workflows/ci-rbe.yml (Line: 33, Col: 20): Unrecognized named-value: 'env'. Located at position 1 within expression: env.BAZEL_LOG_FILE
run: ./scripts/github-actions/ci-build.sh
retry-remote:
name: Retry Failed Tests on RBE
needs: test
if: always() && needs.test.result == 'failure' && github.repository_owner == 'seleniumhq' && startsWith(github.head_ref, 'renovate/') != true
uses: ./.github/workflows/bazel.yml
with:
name: Retry failed tests
caching: false
ruby-version: jruby-9.4.12.0
download-name: bazel-logs
download-path: bazel-logs
upload-name: remote-retry-logs
upload-path: bazel-logs
run: |
./go retry_failed_tests "${BAZEL_LOG_FILE}" true
retry-local:
name: Retry Failed Tests on Local
needs: test
if: always() && needs.test.result == 'failure' && github.repository_owner == 'seleniumhq' && startsWith(github.head_ref, 'renovate/') != true
uses: ./.github/workflows/bazel.yml
with:
name: Retry failed tests
caching: false
ruby-version: jruby-9.4.12.0
download-name: bazel-logs
download-path: bazel-logs
upload-name: remote-local-logs
upload-path: bazel-logs
run: |
./go retry_failed_tests "${BAZEL_LOG_FILE}" false