Skip to content

Fix CI to make the sqllogic testing result consistent #15058

Closed

Description

@zhuqi-lucas

Describe the bug

The cargo testing for CI will use backtrace and the result is different when using backtrace or not using backtrace.

  macos-aarch64:
    name: cargo test (macos-aarch64)
    runs-on: macos-14
    steps:
      - uses: actions/checkout@v4
        with:
          submodules: true
          fetch-depth: 1
      - name: Setup Rust toolchain
        uses: ./.github/actions/setup-macos-aarch64-builder
      - name: Run tests (excluding doctests)
        shell: bash
        run: cargo test --profile ci --lib --tests --bins --features avro,json,backtrace,integration-tests

But the CI is checking it with no backtrace for other places, it will cause the testing files always failed for some cases.

To Reproduce

It is finding in my testing for the following PR:

https://github.com/apache/datafusion/actions/runs/13715688421/job/38360254057?pr=14922

Expected behavior

No response

Additional context

No response

Activity

  1. zhuqi-lucas commented on Mar 7, 2025

    @zhuqi-lucas
    ContributorAuthor

    take

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions