Closed Bug 1938705 Opened 2 months ago Closed 1 month ago

Perma [clang trunk] 1 out of 2 hunks FAILED -- saving rejects to file llvm/lib/Transforms/Vectorize/VectorCombine.cpp.rej

Categories

(Firefox Build System :: Toolchains, defect)

defect

Tracking

(firefox136 fixed)

RESOLVED FIXED
136 Branch
Tracking Status
firefox136 --- fixed

People

(Reporter: amarc, Assigned: glandium)

Details

Attachments

(1 file)

Parsed log: https://treeherder.mozilla.org/logviewer?job_id=487853728&repo=mozilla-central
Full log: https://firefoxci.taskcluster-artifacts.net/O3kf5qPXQJ2xj6rEi7CgZg/0/public/logs/live_backing.log

[vcs 2024-12-21T02:11:28.890Z] 139528 files updated, 0 files merged, 0 files removed, 0 files unresolved
[vcs 2024-12-21T02:11:28.990Z] updated to 92dd3425067a91fb007ba63e3facfb2a26b690dd
[vcs 2024-12-21T02:11:28.992Z] PERFHERDER_DATA: {"framework": {"name": "vcs"}, "suites": [{"extraOptions": ["projects/970387039909/machineTypes/n2-standard-64"], "hgVersion": "6.8.1", "lowerIsBetter": true, "name": "clone", "serverUrl": "hg.mozilla.org", "shouldAlert": false, "subtests": [], "value": 100.23740839958191}, {"extraOptions": ["projects/970387039909/machineTypes/n2-standard-64"], "hgVersion": "6.8.1", "lowerIsBetter": true, "name": "sparse_update_config", "serverUrl": "hg.mozilla.org", "shouldAlert": false, "subtests": [], "value": 0.01623821258544922}, {"extraOptions": ["projects/970387039909/machineTypes/n2-standard-64"], "hgVersion": "6.8.1", "lowerIsBetter": true, "name": "update_sparse", "serverUrl": "hg.mozilla.org", "shouldAlert": false, "subtests": [], "value": 14.240822792053223}, {"extraOptions": ["projects/970387039909/machineTypes/n2-standard-64"], "hgVersion": "6.8.1", "lowerIsBetter": true, "name": "overall", "serverUrl": "hg.mozilla.org", "shouldAlert": false, "subtests": [], "value": 115.56890511512756}, {"extraOptions": ["projects/970387039909/machineTypes/n2-standard-64"], "hgVersion": "6.8.1", "lowerIsBetter": true, "name": "overall_pull", "serverUrl": "hg.mozilla.org", "shouldAlert": false, "subtests": [], "value": 115.56890511512756}, {"extraOptions": ["projects/970387039909/machineTypes/n2-standard-64"], "hgVersion": "6.8.1", "lowerIsBetter": true, "name": "overall_pull_fullcheckout", "serverUrl": "hg.mozilla.org", "shouldAlert": false, "subtests": [], "value": 115.56890511512756}, {"extraOptions": ["projects/970387039909/machineTypes/n2-standard-64"], "hgVersion": "6.8.1", "lowerIsBetter": true, "name": "overall_pull_emptywdir", "serverUrl": "hg.mozilla.org", "shouldAlert": false, "subtests": [], "value": 115.56890511512756}]}
[vcs 2024-12-21T02:11:29.322Z] TinderboxPrint:<a href=https://hg.mozilla.org/mozilla-central/rev/92dd3425067a91fb007ba63e3facfb2a26b690dd title='Built from mozilla-central revision 92dd3425067a91fb007ba63e3facfb2a26b690dd'>92dd3425067a91fb007ba63e3facfb2a26b690dd</a>
[setup 2024-12-21T02:11:29.322Z] GECKO_PATH is /builds/worker/workspace/build/src
[setup 2024-12-21T02:11:29.322Z] MOZ_FETCHES_DIR is /builds/worker/fetches
[setup 2024-12-21T02:11:29.322Z] UPLOAD_DIR is /builds/worker/artifacts
[fetches 2024-12-21T02:11:29.322Z] fetching artifacts
[fetches 2024-12-21T02:11:29.322Z] executing ['/usr/bin/python3', '-u', '/builds/worker/workspace/build/src/third_party/python/taskcluster_taskgraph/taskgraph/run-task/fetch-content', 'task-artifacts']
[fetches 2024-12-21T02:11:29.403Z] attempt 1/5
[fetches 2024-12-21T02:11:29.403Z] Downloading https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/R7K-LJLLQdqxbeLhcdOjqA/artifacts/public/build/sysroot.tar.zst to /builds/worker/fetches/sysroot.tar.zst
[fetches 2024-12-21T02:11:29.403Z] attempt 1/5Downloading https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/R7K-LJLLQdqxbeLhcdOjqA/artifacts/public/build/sysroot.tar.zst
[fetches 2024-12-21T02:11:29.404Z] 
[fetches 2024-12-21T02:11:29.404Z] /builds/worker/workspace/build/src/third_party/python/taskcluster_taskgraph/taskgraph/run-task/fetch-content:193: DeprecationWarning: cafile, capath and cadefault are deprecated, use a custom context instead.
[fetches 2024-12-21T02:11:29.404Z]   with urllib.request.urlopen(
[fetches 2024-12-21T02:11:29.404Z] Downloading https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/JdYuQaS_RVOQ9OeyLLa_-Q/artifacts/public/llvm-project.tar.zst to /builds/worker/fetches/llvm-project.tar.zst
[fetches 2024-12-21T02:11:29.404Z] Downloading https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/JdYuQaS_RVOQ9OeyLLa_-Q/artifacts/public/llvm-project.tar.zst
[fetches 2024-12-21T02:11:31.096Z] https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/JdYuQaS_RVOQ9OeyLLa_-Q/artifacts/public/llvm-project.tar.zst resolved to 216109228 bytes with sha256 066b853e9185d7b946dfeb52e7e323d000afdab49a828b0ae23da43125b08234 in 1.691s
[fetches 2024-12-21T02:11:31.096Z] Verified size of https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/JdYuQaS_RVOQ9OeyLLa_-Q/artifacts/public/llvm-project.tar.zst
[fetches 2024-12-21T02:11:31.097Z] Extracting /builds/worker/fetches/llvm-project.tar.zst to /builds/worker/fetches
[fetches 2024-12-21T02:11:32.174Z] https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/R7K-LJLLQdqxbeLhcdOjqA/artifacts/public/build/sysroot.tar.zst resolved to 105037304 bytes with sha256 6df7cfe7dbca4187e9c6f7b103b85735145109bfc13f1767e5477a9052c40251 in 2.771s
[fetches 2024-12-21T02:11:32.174Z] Verified size of https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/R7K-LJLLQdqxbeLhcdOjqA/artifacts/public/build/sysroot.tar.zst
[fetches 2024-12-21T02:11:32.174Z] Extracting /builds/worker/fetches/sysroot.tar.zst to /builds/worker/fetches
[fetches 2024-12-21T02:11:33.222Z] /builds/worker/fetches/sysroot.tar.zst extracted in 1.047s
[fetches 2024-12-21T02:11:33.222Z] Removing /builds/worker/fetches/sysroot.tar.zst
[fetches 2024-12-21T02:11:38.685Z] /builds/worker/fetches/llvm-project.tar.zst extracted in 7.588s
[fetches 2024-12-21T02:11:38.686Z] Removing /builds/worker/fetches/llvm-project.tar.zst
[fetches 2024-12-21T02:11:38.714Z] PERFHERDER_DATA: {"framework": {"name": "build_metrics"}, "suites": [{"name": "fetch_content", "value": 9.31235334599998, "lowerIsBetter": true, "shouldAlert": false, "subtests": []}]}
[fetches 2024-12-21T02:11:38.735Z] finished fetching artifacts
[task 2024-12-21T02:11:38.735Z] executing ['workspace/build/src/taskcluster/scripts/misc/build-clang.sh', 'build/build-clang/use-system-clang.json', 'build/build-clang/clang-trunk.json', 'build/build-clang/stage-1.json']in /builds/worker
[task 2024-12-21T02:11:38.737Z] 
[task 2024-12-21T02:11:38.737Z] # This script is for building clang.
[task 2024-12-21T02:11:38.737Z] 
[task 2024-12-21T02:11:38.737Z] ORIGPWD="$PWD"
[task 2024-12-21T02:11:38.737Z] + ORIGPWD=/builds/worker
[task 2024-12-21T02:11:38.737Z] CONFIGS=$(for c; do echo -n " -c $GECKO_PATH/$c"; done)
[task 2024-12-21T02:11:38.737Z] ++ for c in "$@"
[task 2024-12-21T02:11:38.737Z] ++ echo -n ' -c /builds/worker/workspace/build/src/build/build-clang/use-system-clang.json'
[task 2024-12-21T02:11:38.737Z] ++ for c in "$@"
[task 2024-12-21T02:11:38.737Z] ++ echo -n ' -c /builds/worker/workspace/build/src/build/build-clang/clang-trunk.json'
[task 2024-12-21T02:11:38.737Z] ++ for c in "$@"
[task 2024-12-21T02:11:38.737Z] ++ echo -n ' -c /builds/worker/workspace/build/src/build/build-clang/stage-1.json'
[task 2024-12-21T02:11:38.737Z] + CONFIGS=' -c /builds/worker/workspace/build/src/build/build-clang/use-system-clang.json -c /builds/worker/workspace/build/src/build/build-clang/clang-trunk.json -c /builds/worker/workspace/build/src/build/build-clang/stage-1.json'
[task 2024-12-21T02:11:38.737Z] 
[task 2024-12-21T02:11:38.737Z] cd $GECKO_PATH
[task 2024-12-21T02:11:38.737Z] + cd /builds/worker/workspace/build/src
[task 2024-12-21T02:11:38.738Z] 
[task 2024-12-21T02:11:38.738Z] if [ -d "$MOZ_FETCHES_DIR/binutils/bin" ]; then
[task 2024-12-21T02:11:38.738Z]   export PATH="$MOZ_FETCHES_DIR/binutils/bin:$PATH"
[task 2024-12-21T02:11:38.738Z] fi
[task 2024-12-21T02:11:38.738Z] + '[' -d /builds/worker/fetches/binutils/bin ']'
[task 2024-12-21T02:11:38.738Z] 
[task 2024-12-21T02:11:38.738Z] # Make the installed compiler-rt(s) available to clang.
[task 2024-12-21T02:11:38.738Z] UPLOAD_DIR= taskcluster/scripts/misc/repack-clang.sh
[task 2024-12-21T02:11:38.738Z] + UPLOAD_DIR=
[task 2024-12-21T02:11:38.738Z] + taskcluster/scripts/misc/repack-clang.sh
[task 2024-12-21T02:11:38.739Z] 
[task 2024-12-21T02:11:38.739Z] shopt -s nullglob
[task 2024-12-21T02:11:38.739Z] + shopt -s nullglob
[task 2024-12-21T02:11:38.739Z] 
[task 2024-12-21T02:11:38.739Z] # This script is for repacking clang for cross targets on a Linux host.
[task 2024-12-21T02:11:38.739Z] 
[task 2024-12-21T02:11:38.739Z] cd $MOZ_FETCHES_DIR
[task 2024-12-21T02:11:38.739Z] + cd /builds/worker/fetches
[task 2024-12-21T02:11:38.739Z] 
[task 2024-12-21T02:11:38.739Z] # We have a clang toolchain in $MOZ_FETCHES_DIR/clang
[task 2024-12-21T02:11:38.739Z] # We have some compiler-rts in $MOZ_FETCHES_DIR/compiler-rt*
[task 2024-12-21T02:11:38.739Z] # We have some libunwinds in $MOZ_FETCHES_DIR/libunwind*
[task 2024-12-21T02:11:38.739Z] # We copy everything from the compiler-rts into clang/lib/clang/$version/
[task 2024-12-21T02:11:38.739Z] # and everything from the libunwinds into clang/
[task 2024-12-21T02:11:38.739Z] clang_ver_dir=$(echo clang/lib/clang/*/include)
[task 2024-12-21T02:11:38.740Z] ++ echo
[task 2024-12-21T02:11:38.740Z] + clang_ver_dir=
[task 2024-12-21T02:11:38.740Z] clang_ver_dir=${clang_ver_dir%/include}
[task 2024-12-21T02:11:38.740Z] + clang_ver_dir=
[task 2024-12-21T02:11:38.740Z] [ -n "$clang_ver_dir" ] && for c in compiler-rt* libunwind*; do
[task 2024-12-21T02:11:38.740Z]   case $c in
[task 2024-12-21T02:11:38.740Z]   compiler-rt*)
[task 2024-12-21T02:11:38.740Z]     clang_dir=$clang_ver_dir
[task 2024-12-21T02:11:38.740Z]     ;;
[task 2024-12-21T02:11:38.740Z]   libunwind*)
[task 2024-12-21T02:11:38.740Z]     clang_dir=clang
[task 2024-12-21T02:11:38.740Z]     ;;
[task 2024-12-21T02:11:38.740Z]   esac
[task 2024-12-21T02:11:38.740Z]   find $c -mindepth 1 -type d | while read d; do
[task 2024-12-21T02:11:38.740Z]     mkdir -p "$clang_dir/${d#$c/}"
[task 2024-12-21T02:11:38.740Z]     find $d -mindepth 1 -maxdepth 1 -not -type d | while read f; do
[task 2024-12-21T02:11:38.740Z]       target_file="$clang_dir/${f#$c/}"
[task 2024-12-21T02:11:38.740Z]       case $d in
[task 2024-12-21T02:11:38.740Z]       compiler-rt-*/lib/darwin)
[task 2024-12-21T02:11:38.740Z]         if [ -f "$target_file" ]; then
[task 2024-12-21T02:11:38.740Z]           # Unify overlapping files for darwin/
[task 2024-12-21T02:11:38.740Z]           $MOZ_FETCHES_DIR/cctools/bin/lipo -create "$f" "$target_file" -output "$target_file.new"
[task 2024-12-21T02:11:38.740Z]           mv "$target_file.new" "$target_file"
[task 2024-12-21T02:11:38.740Z]           continue
[task 2024-12-21T02:11:38.740Z]         fi
[task 2024-12-21T02:11:38.740Z]         ;;
[task 2024-12-21T02:11:38.740Z]       esac
[task 2024-12-21T02:11:38.740Z]       if [ -f "$target_file" ] && ! diff -q "$f" "$target_file" 2>/dev/null; then
[task 2024-12-21T02:11:38.740Z]         echo "Cannot copy $f because it is already in ${target_file%/*}" >&2 && exit 1
[task 2024-12-21T02:11:38.740Z]       fi
[task 2024-12-21T02:11:38.740Z]       cp "$f" "$target_file"
[task 2024-12-21T02:11:38.740Z]     done
[task 2024-12-21T02:11:38.740Z]   done
[task 2024-12-21T02:11:38.740Z] done
[task 2024-12-21T02:11:38.740Z] + '[' -n '' ']'
[task 2024-12-21T02:11:38.740Z] 
[task 2024-12-21T02:11:38.740Z] if [ -n "$UPLOAD_DIR" ]; then
[task 2024-12-21T02:11:38.740Z]   tar caf clang.tar.zst clang
[task 2024-12-21T02:11:38.740Z]   mkdir -p $UPLOAD_DIR
[task 2024-12-21T02:11:38.740Z]   mv clang.tar.zst $UPLOAD_DIR
[task 2024-12-21T02:11:38.740Z] fi
[task 2024-12-21T02:11:38.740Z] + '[' -n '' ']'
[task 2024-12-21T02:11:38.740Z] 
[task 2024-12-21T02:11:38.740Z] case "$CONFIGS" in
[task 2024-12-21T02:11:38.740Z] *macosx64*)
[task 2024-12-21T02:11:38.740Z]   # cmake makes decisions based on the output of the mac-only sw_vers, which is
[task 2024-12-21T02:11:38.740Z]   # obviously missing when cross-compiling, so create a fake one. The exact
[task 2024-12-21T02:11:38.740Z]   # version doesn't really matter: as of writing, cmake checks at most for 10.5.
[task 2024-12-21T02:11:38.740Z]   mkdir -p $ORIGPWD/bin
[task 2024-12-21T02:11:38.740Z]   echo "#!/bin/sh" > $ORIGPWD/bin/sw_vers
[task 2024-12-21T02:11:38.740Z]   echo echo 10.12 >> $ORIGPWD/bin/sw_vers
[task 2024-12-21T02:11:38.740Z]   chmod +x $ORIGPWD/bin/sw_vers
[task 2024-12-21T02:11:38.740Z]   # these variables are used in build-clang.py
[task 2024-12-21T02:11:38.740Z]   export OSX_SYSROOT=$(ls -d $MOZ_FETCHES_DIR/MacOSX1*.sdk)
[task 2024-12-21T02:11:38.740Z]   export PATH=$PATH:$ORIGPWD/bin
[task 2024-12-21T02:11:38.740Z]   ;;
[task 2024-12-21T02:11:38.740Z] *win64*)
[task 2024-12-21T02:11:38.740Z]   case "$(uname -s)" in
[task 2024-12-21T02:11:38.740Z]   MINGW*|MSYS*)
[task 2024-12-21T02:11:38.740Z]     export UPLOAD_DIR=$ORIGPWD/public/build
[task 2024-12-21T02:11:38.740Z]     # Set up all the Visual Studio paths.
[task 2024-12-21T02:11:38.740Z]     . taskcluster/scripts/misc/vs-setup.sh
[task 2024-12-21T02:11:38.740Z] 
[task 2024-12-21T02:11:38.740Z]     # LLVM_ENABLE_DIA_SDK is set if the directory "$ENV{VSINSTALLDIR}DIA SDK"
[task 2024-12-21T02:11:38.740Z]     # exists.
[task 2024-12-21T02:11:38.740Z]     export VSINSTALLDIR="${VSPATH}/"
[task 2024-12-21T02:11:38.740Z]     ;;
[task 2024-12-21T02:11:38.740Z]   *)
[task 2024-12-21T02:11:38.740Z]     export VSINSTALLDIR="$MOZ_FETCHES_DIR/vs"
[task 2024-12-21T02:11:38.740Z]     ;;
[task 2024-12-21T02:11:38.740Z]   esac
[task 2024-12-21T02:11:38.740Z]   ;;
[task 2024-12-21T02:11:38.740Z] esac
[task 2024-12-21T02:11:38.740Z] + case "$CONFIGS" in
[task 2024-12-21T02:11:38.740Z] 
[task 2024-12-21T02:11:38.740Z] if test -d "$MOZ_FETCHES_DIR/cmake"; then
[task 2024-12-21T02:11:38.740Z]     export PATH="$(cd $MOZ_FETCHES_DIR/cmake && pwd)/bin:${PATH}"
[task 2024-12-21T02:11:38.740Z] fi
[task 2024-12-21T02:11:38.740Z] + test -d /builds/worker/fetches/cmake
[task 2024-12-21T02:11:38.740Z] if test -d "$MOZ_FETCHES_DIR/ninja"; then
[task 2024-12-21T02:11:38.740Z]     export PATH="$(cd $MOZ_FETCHES_DIR/ninja && pwd)/bin:${PATH}"
[task 2024-12-21T02:11:38.740Z] fi
[task 2024-12-21T02:11:38.740Z] + test -d /builds/worker/fetches/ninja
[task 2024-12-21T02:11:38.740Z] 
[task 2024-12-21T02:11:38.740Z] # gets a bit too verbose here
[task 2024-12-21T02:11:38.740Z] set +x
[task 2024-12-21T02:11:38.740Z] + set +x
[task 2024-12-21T02:11:38.740Z] 
[task 2024-12-21T02:11:38.740Z] cd $MOZ_FETCHES_DIR/llvm-project
[task 2024-12-21T02:11:38.740Z] python3 $GECKO_PATH/build/build-clang/build-clang.py $CONFIGS
[task 2024-12-21T02:11:38.781Z] patch -d /builds/worker/fetches/llvm-project -p1 -i /builds/worker/workspace/build/src/build/build-clang/allow-unversioned-android.patch --fuzz=0 -s
[task 2024-12-21T02:11:38.783Z] patch -d /builds/worker/fetches/llvm-project -p1 -i /builds/worker/workspace/build/src/build/build-clang/find_symbolizer_linux_clang_15.patch --fuzz=0 -s
[task 2024-12-21T02:11:38.784Z] patch -d /builds/worker/fetches/llvm-project -p1 -i /builds/worker/workspace/build/src/build/build-clang/android-mangling-error_clang_12.patch --fuzz=0 -s
[task 2024-12-21T02:11:38.786Z] patch -d /builds/worker/fetches/llvm-project -p1 -i /builds/worker/workspace/build/src/build/build-clang/unpoison-thread-stacks_clang_10.patch --fuzz=0 -s
[task 2024-12-21T02:11:38.787Z] patch -d /builds/worker/fetches/llvm-project -p1 -i /builds/worker/workspace/build/src/build/build-clang/downgrade-mangling-error_clang_12.patch --fuzz=0 -s
[task 2024-12-21T02:11:38.789Z] patch -d /builds/worker/fetches/llvm-project -p1 -i /builds/worker/workspace/build/src/build/build-clang/fuzzing_ccov_build_clang_12.patch --fuzz=0 -s
[task 2024-12-21T02:11:38.790Z] patch -d /builds/worker/fetches/llvm-project -p1 -i /builds/worker/workspace/build/src/build/build-clang/revert-llvmorg-16-init-11301-g163bb6d64e5f_clang_20.patch --fuzz=0 -s
[task 2024-12-21T02:11:38.792Z] 1 out of 2 hunks FAILED -- saving rejects to file llvm/lib/Transforms/Vectorize/VectorCombine.cpp.rej
[task 2024-12-21T02:11:38.793Z] Traceback (most recent call last):
[task 2024-12-21T02:11:38.793Z]   File "/builds/worker/workspace/build/src/build/build-clang/build-clang.py", line 893, in <module>
[task 2024-12-21T02:11:38.793Z]     main()
[task 2024-12-21T02:11:38.793Z]   File "/builds/worker/workspace/build/src/build/build-clang/build-clang.py", line 675, in main
[task 2024-12-21T02:11:38.793Z]     patch(p, source_dir)
[task 2024-12-21T02:11:38.793Z]   File "/builds/worker/workspace/build/src/build/build-clang/build-clang.py", line 95, in patch
[task 2024-12-21T02:11:38.793Z]     check_run(["patch", "-d", srcdir, "-p1", "-i", patch, "--fuzz=0", "-s"])
[task 2024-12-21T02:11:38.793Z]   File "/builds/worker/workspace/build/src/build/build-clang/build-clang.py", line 73, in check_run
[task 2024-12-21T02:11:38.794Z]     assert r == 0
[task 2024-12-21T02:11:38.794Z]            ^^^^^^
[task 2024-12-21T02:11:38.794Z] AssertionError
[taskcluster 2024-12-21 02:11:49.847Z] === Task Finished ===
[taskcluster 2024-12-21 02:11:49.860Z] Artifact "public/build" not found at "/builds/worker/artifacts/": (HTTP code 404) no such container - Could not find the file /builds/worker/artifacts/ in container 3bc99a318be0852f563dbdcdf4d451ca1c758c221d02d92a722719fcf9ee22a5 
[taskcluster 2024-12-21 02:11:49.927Z] Unsuccessful task run with exit code: 1 completed in 170.327 seconds
Flags: needinfo?(mh+mozilla)
Flags: needinfo?(mh+mozilla)
Assignee: nobody → mh+mozilla
Status: NEW → ASSIGNED

The severity field is not set for this bug.
:glandium, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(mh+mozilla)
Flags: needinfo?(mh+mozilla)
Pushed by mh@glandium.org: https://hg.mozilla.org/integration/autoland/rev/6a4a59f6bf28 Adjust revert-llvmorg-16-init-11301-g163bb6d64e5f patch for clang trunk again. r=firefox-build-system-reviewers,sergesanspaille
Status: ASSIGNED → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 136 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: