From 76322606f21c809f84d183ebb100be03def2ce5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Test=C3=A9?= Date: Tue, 23 Jan 2024 09:41:48 +0100 Subject: [PATCH] chore(ci): set rustbacktrace var to full to ease debug on failure --- .github/workflows/aws_tfhe_fast_tests.yml | 1 + .github/workflows/aws_tfhe_gpu_tests.yml | 1 + .github/workflows/aws_tfhe_integer_tests.yml | 1 + .github/workflows/aws_tfhe_signed_integer_tests.yml | 1 + .github/workflows/aws_tfhe_tests.yml | 1 + .github/workflows/aws_tfhe_wasm_tests.yml | 1 + .github/workflows/boolean_benchmark.yml | 1 + .github/workflows/cargo_build.yml | 1 + .github/workflows/code_coverage.yml | 1 + .github/workflows/csprng_randomness_testing.yml | 1 + .github/workflows/integer_benchmark.yml | 1 + .github/workflows/integer_full_benchmark.yml | 1 + .github/workflows/integer_gpu_benchmark.yml | 1 + .github/workflows/integer_gpu_full_benchmark.yml | 1 + .github/workflows/integer_multi_bit_benchmark.yml | 1 + .github/workflows/integer_multi_bit_gpu_benchmark.yml | 1 + .github/workflows/m1_tests.yml | 1 + .github/workflows/pbs_benchmark.yml | 1 + .github/workflows/shortint_benchmark.yml | 1 + .github/workflows/shortint_full_benchmark.yml | 1 + .github/workflows/signed_integer_benchmark.yml | 1 + .github/workflows/signed_integer_full_benchmark.yml | 1 + .github/workflows/signed_integer_multi_bit_benchmark.yml | 1 + .github/workflows/wasm_client_benchmark.yml | 1 + 24 files changed, 24 insertions(+) diff --git a/.github/workflows/aws_tfhe_fast_tests.yml b/.github/workflows/aws_tfhe_fast_tests.yml index 81bf6136c..a239c5e9e 100644 --- a/.github/workflows/aws_tfhe_fast_tests.yml +++ b/.github/workflows/aws_tfhe_fast_tests.yml @@ -5,6 +5,7 @@ env: CARGO_TERM_COLOR: always ACTION_RUN_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} RUSTFLAGS: "-C target-cpu=native" + RUST_BACKTRACE: "full" on: # Allows you to run this workflow manually from the Actions tab as an alternative. diff --git a/.github/workflows/aws_tfhe_gpu_tests.yml b/.github/workflows/aws_tfhe_gpu_tests.yml index 768ef0112..7022fbe8a 100644 --- a/.github/workflows/aws_tfhe_gpu_tests.yml +++ b/.github/workflows/aws_tfhe_gpu_tests.yml @@ -5,6 +5,7 @@ env: CARGO_TERM_COLOR: always ACTION_RUN_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} RUSTFLAGS: "-C target-cpu=native" + RUST_BACKTRACE: "full" on: # Allows you to run this workflow manually from the Actions tab as an alternative. diff --git a/.github/workflows/aws_tfhe_integer_tests.yml b/.github/workflows/aws_tfhe_integer_tests.yml index f0921f0d3..f7b765a5b 100644 --- a/.github/workflows/aws_tfhe_integer_tests.yml +++ b/.github/workflows/aws_tfhe_integer_tests.yml @@ -4,6 +4,7 @@ env: CARGO_TERM_COLOR: always ACTION_RUN_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} RUSTFLAGS: "-C target-cpu=native" + RUST_BACKTRACE: "full" on: # Allows you to run this workflow manually from the Actions tab as an alternative. diff --git a/.github/workflows/aws_tfhe_signed_integer_tests.yml b/.github/workflows/aws_tfhe_signed_integer_tests.yml index fe8558987..5bf6225b0 100644 --- a/.github/workflows/aws_tfhe_signed_integer_tests.yml +++ b/.github/workflows/aws_tfhe_signed_integer_tests.yml @@ -4,6 +4,7 @@ env: CARGO_TERM_COLOR: always ACTION_RUN_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} RUSTFLAGS: "-C target-cpu=native" + RUST_BACKTRACE: "full" on: # Allows you to run this workflow manually from the Actions tab as an alternative. diff --git a/.github/workflows/aws_tfhe_tests.yml b/.github/workflows/aws_tfhe_tests.yml index c8c7f9dca..647684b22 100644 --- a/.github/workflows/aws_tfhe_tests.yml +++ b/.github/workflows/aws_tfhe_tests.yml @@ -4,6 +4,7 @@ env: CARGO_TERM_COLOR: always ACTION_RUN_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} RUSTFLAGS: "-C target-cpu=native" + RUST_BACKTRACE: "full" on: # Allows you to run this workflow manually from the Actions tab as an alternative. diff --git a/.github/workflows/aws_tfhe_wasm_tests.yml b/.github/workflows/aws_tfhe_wasm_tests.yml index 8e78b9dd9..f174fa960 100644 --- a/.github/workflows/aws_tfhe_wasm_tests.yml +++ b/.github/workflows/aws_tfhe_wasm_tests.yml @@ -4,6 +4,7 @@ env: CARGO_TERM_COLOR: always ACTION_RUN_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} RUSTFLAGS: "-C target-cpu=native" + RUST_BACKTRACE: "full" on: # Allows you to run this workflow manually from the Actions tab as an alternative. diff --git a/.github/workflows/boolean_benchmark.yml b/.github/workflows/boolean_benchmark.yml index ff704da9a..2ac68c9d9 100644 --- a/.github/workflows/boolean_benchmark.yml +++ b/.github/workflows/boolean_benchmark.yml @@ -32,6 +32,7 @@ env: CARGO_TERM_COLOR: always RESULTS_FILENAME: parsed_benchmark_results_${{ github.sha }}.json ACTION_RUN_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} + RUST_BACKTRACE: "full" jobs: run-boolean-benchmarks: diff --git a/.github/workflows/cargo_build.yml b/.github/workflows/cargo_build.yml index 177e1c680..68e23c1bd 100644 --- a/.github/workflows/cargo_build.yml +++ b/.github/workflows/cargo_build.yml @@ -6,6 +6,7 @@ on: env: CARGO_TERM_COLOR: always RUSTFLAGS: "-C target-cpu=native" + RUST_BACKTRACE: "full" concurrency: group: ${{ github.workflow }}-${{ github.head_ref }} diff --git a/.github/workflows/code_coverage.yml b/.github/workflows/code_coverage.yml index ad5b31fe3..00b1b1ec9 100644 --- a/.github/workflows/code_coverage.yml +++ b/.github/workflows/code_coverage.yml @@ -4,6 +4,7 @@ env: CARGO_TERM_COLOR: always ACTION_RUN_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} RUSTFLAGS: "-C target-cpu=native" + RUST_BACKTRACE: "full" on: # Allows you to run this workflow manually from the Actions tab as an alternative. diff --git a/.github/workflows/csprng_randomness_testing.yml b/.github/workflows/csprng_randomness_testing.yml index e47570da7..5109b2b3f 100644 --- a/.github/workflows/csprng_randomness_testing.yml +++ b/.github/workflows/csprng_randomness_testing.yml @@ -4,6 +4,7 @@ env: CARGO_TERM_COLOR: always ACTION_RUN_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} RUSTFLAGS: "-C target-cpu=native" + RUST_BACKTRACE: "full" on: # Allows you to run this workflow manually from the Actions tab as an alternative. diff --git a/.github/workflows/integer_benchmark.yml b/.github/workflows/integer_benchmark.yml index f327f7338..2ef97a298 100644 --- a/.github/workflows/integer_benchmark.yml +++ b/.github/workflows/integer_benchmark.yml @@ -25,6 +25,7 @@ env: RESULTS_FILENAME: parsed_benchmark_results_${{ github.sha }}.json PARSE_INTEGER_BENCH_CSV_FILE: tfhe_rs_integer_benches_${{ github.sha }}.csv ACTION_RUN_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} + RUST_BACKTRACE: "full" jobs: run-integer-benchmarks: diff --git a/.github/workflows/integer_full_benchmark.yml b/.github/workflows/integer_full_benchmark.yml index 0e9a1e4b0..3f00010e4 100644 --- a/.github/workflows/integer_full_benchmark.yml +++ b/.github/workflows/integer_full_benchmark.yml @@ -28,6 +28,7 @@ env: CARGO_TERM_COLOR: always RESULTS_FILENAME: parsed_benchmark_results_${{ github.sha }}.json ACTION_RUN_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} + RUST_BACKTRACE: "full" jobs: prepare-matrix: diff --git a/.github/workflows/integer_gpu_benchmark.yml b/.github/workflows/integer_gpu_benchmark.yml index 52bbf1014..572337d11 100644 --- a/.github/workflows/integer_gpu_benchmark.yml +++ b/.github/workflows/integer_gpu_benchmark.yml @@ -25,6 +25,7 @@ env: RESULTS_FILENAME: parsed_benchmark_results_${{ github.sha }}.json PARSE_INTEGER_BENCH_CSV_FILE: tfhe_rs_integer_benches_${{ github.sha }}.csv ACTION_RUN_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} + RUST_BACKTRACE: "full" jobs: run-integer-benchmarks: diff --git a/.github/workflows/integer_gpu_full_benchmark.yml b/.github/workflows/integer_gpu_full_benchmark.yml index 632350ef4..e4e8b980d 100644 --- a/.github/workflows/integer_gpu_full_benchmark.yml +++ b/.github/workflows/integer_gpu_full_benchmark.yml @@ -24,6 +24,7 @@ env: CARGO_TERM_COLOR: always RESULTS_FILENAME: parsed_benchmark_results_${{ github.sha }}.json ACTION_RUN_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} + RUST_BACKTRACE: "full" jobs: integer-benchmarks: diff --git a/.github/workflows/integer_multi_bit_benchmark.yml b/.github/workflows/integer_multi_bit_benchmark.yml index 2b338cd0e..29f448c97 100644 --- a/.github/workflows/integer_multi_bit_benchmark.yml +++ b/.github/workflows/integer_multi_bit_benchmark.yml @@ -25,6 +25,7 @@ env: RESULTS_FILENAME: parsed_benchmark_results_${{ github.sha }}.json PARSE_INTEGER_BENCH_CSV_FILE: tfhe_rs_integer_benches_${{ github.sha }}.csv ACTION_RUN_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} + RUST_BACKTRACE: "full" jobs: run-integer-benchmarks: diff --git a/.github/workflows/integer_multi_bit_gpu_benchmark.yml b/.github/workflows/integer_multi_bit_gpu_benchmark.yml index 440596232..daa63f0b1 100644 --- a/.github/workflows/integer_multi_bit_gpu_benchmark.yml +++ b/.github/workflows/integer_multi_bit_gpu_benchmark.yml @@ -25,6 +25,7 @@ env: RESULTS_FILENAME: parsed_benchmark_results_${{ github.sha }}.json PARSE_INTEGER_BENCH_CSV_FILE: tfhe_rs_integer_benches_${{ github.sha }}.csv ACTION_RUN_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} + RUST_BACKTRACE: "full" jobs: run-integer-benchmarks: diff --git a/.github/workflows/m1_tests.yml b/.github/workflows/m1_tests.yml index 90914488c..2cd98e15b 100644 --- a/.github/workflows/m1_tests.yml +++ b/.github/workflows/m1_tests.yml @@ -14,6 +14,7 @@ on: env: CARGO_TERM_COLOR: always RUSTFLAGS: "-C target-cpu=native" + RUST_BACKTRACE: "full" ACTION_RUN_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} FAST_TESTS: "TRUE" diff --git a/.github/workflows/pbs_benchmark.yml b/.github/workflows/pbs_benchmark.yml index 7f3f0a0ef..c155b717d 100644 --- a/.github/workflows/pbs_benchmark.yml +++ b/.github/workflows/pbs_benchmark.yml @@ -32,6 +32,7 @@ env: CARGO_TERM_COLOR: always RESULTS_FILENAME: parsed_benchmark_results_${{ github.sha }}.json ACTION_RUN_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} + RUST_BACKTRACE: "full" jobs: run-pbs-benchmarks: diff --git a/.github/workflows/shortint_benchmark.yml b/.github/workflows/shortint_benchmark.yml index 1bc178635..adbf92bbe 100644 --- a/.github/workflows/shortint_benchmark.yml +++ b/.github/workflows/shortint_benchmark.yml @@ -24,6 +24,7 @@ env: CARGO_TERM_COLOR: always RESULTS_FILENAME: parsed_benchmark_results_${{ github.sha }}.json ACTION_RUN_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} + RUST_BACKTRACE: "full" jobs: run-shortint-benchmarks: diff --git a/.github/workflows/shortint_full_benchmark.yml b/.github/workflows/shortint_full_benchmark.yml index a182e2f27..29a651a26 100644 --- a/.github/workflows/shortint_full_benchmark.yml +++ b/.github/workflows/shortint_full_benchmark.yml @@ -32,6 +32,7 @@ env: CARGO_TERM_COLOR: always RESULTS_FILENAME: parsed_benchmark_results_${{ github.sha }}.json ACTION_RUN_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} + RUST_BACKTRACE: "full" jobs: shortint-benchmarks: diff --git a/.github/workflows/signed_integer_benchmark.yml b/.github/workflows/signed_integer_benchmark.yml index 6843c7fe4..26d41887d 100644 --- a/.github/workflows/signed_integer_benchmark.yml +++ b/.github/workflows/signed_integer_benchmark.yml @@ -25,6 +25,7 @@ env: RESULTS_FILENAME: parsed_benchmark_results_${{ github.sha }}.json PARSE_INTEGER_BENCH_CSV_FILE: tfhe_rs_integer_benches_${{ github.sha }}.csv ACTION_RUN_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} + RUST_BACKTRACE: "full" jobs: run-integer-benchmarks: diff --git a/.github/workflows/signed_integer_full_benchmark.yml b/.github/workflows/signed_integer_full_benchmark.yml index 533dac22e..a44a0d6c6 100644 --- a/.github/workflows/signed_integer_full_benchmark.yml +++ b/.github/workflows/signed_integer_full_benchmark.yml @@ -28,6 +28,7 @@ env: CARGO_TERM_COLOR: always RESULTS_FILENAME: parsed_benchmark_results_${{ github.sha }}.json ACTION_RUN_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} + RUST_BACKTRACE: "full" jobs: integer-benchmarks: diff --git a/.github/workflows/signed_integer_multi_bit_benchmark.yml b/.github/workflows/signed_integer_multi_bit_benchmark.yml index 403ff5e23..479e8cb63 100644 --- a/.github/workflows/signed_integer_multi_bit_benchmark.yml +++ b/.github/workflows/signed_integer_multi_bit_benchmark.yml @@ -25,6 +25,7 @@ env: RESULTS_FILENAME: parsed_benchmark_results_${{ github.sha }}.json PARSE_INTEGER_BENCH_CSV_FILE: tfhe_rs_integer_benches_${{ github.sha }}.csv ACTION_RUN_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} + RUST_BACKTRACE: "full" jobs: run-integer-benchmarks: diff --git a/.github/workflows/wasm_client_benchmark.yml b/.github/workflows/wasm_client_benchmark.yml index fe7201a34..b645d2779 100644 --- a/.github/workflows/wasm_client_benchmark.yml +++ b/.github/workflows/wasm_client_benchmark.yml @@ -32,6 +32,7 @@ env: CARGO_TERM_COLOR: always RESULTS_FILENAME: parsed_benchmark_results_${{ github.sha }}.json ACTION_RUN_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} + RUST_BACKTRACE: "full" jobs: run-wasm-client-benchmarks: