Skip to content

Commit 8a1ca6c

Browse files
committed
Revert "[ci] New script to generate test reports as Buildkite Annotations (#113447)"
This reverts commit e74a002. As it is failing on Linux with "OSError: [Errno 7] Argument list too long: 'buildkite-agent'".
1 parent a552487 commit 8a1ca6c

File tree

4 files changed

+4
-345
lines changed

4 files changed

+4
-345
lines changed

.ci/generate_test_report.py

Lines changed: 0 additions & 328 deletions
This file was deleted.

.ci/monolithic-linux.sh

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,16 +28,11 @@ if [[ -n "${CLEAR_CACHE:-}" ]]; then
2828
ccache --clear
2929
fi
3030

31-
function at-exit {
31+
function show-stats {
3232
mkdir -p artifacts
3333
ccache --print-stats > artifacts/ccache_stats.txt
34-
35-
# If building fails there will be no results files.
36-
shopt -s nullglob
37-
python3 "${MONOREPO_ROOT}"/.ci/generate_test_report.py ":linux: Linux x64 Test Results" \
38-
"linux-x64-test-results" "${BUILD_DIR}"/test-results.*.xml
3934
}
40-
trap at-exit EXIT
35+
trap show-stats EXIT
4136

4237
projects="${1}"
4338
targets="${2}"
@@ -47,7 +42,6 @@ lit_args="-v --xunit-xml-output ${BUILD_DIR}/test-results.xml --use-unique-outpu
4742
echo "--- cmake"
4843
pip install -q -r "${MONOREPO_ROOT}"/mlir/python/requirements.txt
4944
pip install -q -r "${MONOREPO_ROOT}"/lldb/test/requirements.txt
50-
pip install -q -r "${MONOREPO_ROOT}"/.ci/requirements.txt
5145
cmake -S "${MONOREPO_ROOT}"/llvm -B "${BUILD_DIR}" \
5246
-D LLVM_ENABLE_PROJECTS="${projects}" \
5347
-G Ninja \

.ci/monolithic-windows.sh

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,23 +27,17 @@ if [[ -n "${CLEAR_CACHE:-}" ]]; then
2727
fi
2828

2929
sccache --zero-stats
30-
function at-exit {
30+
function show-stats {
3131
mkdir -p artifacts
3232
sccache --show-stats >> artifacts/sccache_stats.txt
33-
34-
# If building fails there will be no results files.
35-
shopt -s nullglob
36-
python "${MONOREPO_ROOT}"/.ci/generate_test_report.py ":windows: Windows x64 Test Results" \
37-
"windows-x64-test-results" "${BUILD_DIR}"/test-results.*.xml
3833
}
39-
trap at-exit EXIT
34+
trap show-stats EXIT
4035

4136
projects="${1}"
4237
targets="${2}"
4338

4439
echo "--- cmake"
4540
pip install -q -r "${MONOREPO_ROOT}"/mlir/python/requirements.txt
46-
pip install -q -r "${MONOREPO_ROOT}"/.ci/requirements.txt
4741

4842
# The CMAKE_*_LINKER_FLAGS to disable the manifest come from research
4943
# on fixing a build reliability issue on the build server, please

.ci/requirements.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)