[clang] [Clang] Evaluate dependent indexes of pack indexing in a constant context (PR #106054)

LLVM Continuous Integration via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 26 08:54:31 PDT 2024


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `libc-x86_64-debian-fullbuild-dbg` running on `libc-x86_64-debian-fullbuild` while building `clang` at step 4 "annotate".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/179/builds/4976

<details>
<summary>Here is the relevant piece of the build log for the reference</summary>

```
Step 4 (annotate) failure: 'python ../llvm-zorg/zorg/buildbot/builders/annotated/libc-linux.py ...' (failure)
...
[       OK ] LlvmLibcFILETest.FFlush (82 us)
[ RUN      ] LlvmLibcFILETest.FOpenFWriteSizeGreaterThanOne
[       OK ] LlvmLibcFILETest.FOpenFWriteSizeGreaterThanOne (90 us)
Ran 3 tests.  PASS: 3  FAIL: 0
[827/1074] Running unit test libc.test.src.stdio.vfprintf_test.__unit__
[==========] Running 1 test from 1 test suite.
[ RUN      ] LlvmLibcVFPrintfTest.WriteToFile
[       OK ] LlvmLibcVFPrintfTest.WriteToFile (192 us)
Ran 1 tests.  PASS: 1  FAIL: 0
[828/1074] Running unit test libc.test.src.stdio.fscanf_test.__unit__
FAILED: projects/libc/test/src/stdio/CMakeFiles/libc.test.src.stdio.fscanf_test.__unit__ /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg/build/projects/libc/test/src/stdio/CMakeFiles/libc.test.src.stdio.fscanf_test.__unit__ 
cd /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg/build/projects/libc/test/src/stdio && /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg/build/projects/libc/test/src/stdio/libc.test.src.stdio.fscanf_test.__unit__.__build__
[==========] Running 1 test from 1 test suite.
[ RUN      ] LlvmLibcFScanfTest.WriteToFile
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg/llvm-project/libc/test/src/stdio/fscanf_test.cpp:73: FAILURE
      Expected: read
      Which is: 0
To be equal to: 1
      Which is: 1
[  FAILED  ] LlvmLibcFScanfTest.WriteToFile
Ran 1 tests.  PASS: 0  FAIL: 1
[829/1074] Running unit test libc.test.src.stdio.vfscanf_test.__unit__
[==========] Running 1 test from 1 test suite.
[ RUN      ] LlvmLibcFScanfTest.WriteToFile
[       OK ] LlvmLibcFScanfTest.WriteToFile (203 us)
Ran 1 tests.  PASS: 1  FAIL: 0
[830/1074] Running unit test libc.test.src.stdio.fopen_test.__unit__
[==========] Running 1 test from 1 test suite.
[ RUN      ] LlvmLibcFOpenTest.PrintToFile
[       OK ] LlvmLibcFOpenTest.PrintToFile (158 us)
Ran 1 tests.  PASS: 1  FAIL: 0
[831/1074] Running unit test libc.test.src.stdio.putc_test.__unit__
[==========] Running 1 test from 1 test suite.
[ RUN      ] LlvmLibcPutcTest.WriteToFile
[       OK ] LlvmLibcPutcTest.WriteToFile (182 us)
Ran 1 tests.  PASS: 1  FAIL: 0
[832/1074] Running unit test libc.test.src.stdio.fdopen_test.__unit__
[==========] Running 3 tests from 1 test suite.
[ RUN      ] LlvmLibcStdioFdopenTest.WriteAppendRead
[       OK ] LlvmLibcStdioFdopenTest.WriteAppendRead (174 us)
[ RUN      ] LlvmLibcStdioFdopenTest.InvalidFd
[       OK ] LlvmLibcStdioFdopenTest.InvalidFd (12 us)
[ RUN      ] LlvmLibcStdioFdopenTest.InvalidMode
[       OK ] LlvmLibcStdioFdopenTest.InvalidMode (11 us)
Ran 3 tests.  PASS: 3  FAIL: 0
[833/1074] Running unit test libc.test.src.stdio.fgetc_test.__unit__
[==========] Running 2 tests from 1 test suite.
[ RUN      ] LlvmLibcGetcTest.WriteAndReadCharactersWithFgetc
[       OK ] LlvmLibcGetcTest.WriteAndReadCharactersWithFgetc (150 us)
Step 8 (libc-unit-tests) failure: libc-unit-tests (failure)
...
[       OK ] LlvmLibcFILETest.FFlush (82 us)
[ RUN      ] LlvmLibcFILETest.FOpenFWriteSizeGreaterThanOne
[       OK ] LlvmLibcFILETest.FOpenFWriteSizeGreaterThanOne (90 us)
Ran 3 tests.  PASS: 3  FAIL: 0
[827/1074] Running unit test libc.test.src.stdio.vfprintf_test.__unit__
[==========] Running 1 test from 1 test suite.
[ RUN      ] LlvmLibcVFPrintfTest.WriteToFile
[       OK ] LlvmLibcVFPrintfTest.WriteToFile (192 us)
Ran 1 tests.  PASS: 1  FAIL: 0
[828/1074] Running unit test libc.test.src.stdio.fscanf_test.__unit__
FAILED: projects/libc/test/src/stdio/CMakeFiles/libc.test.src.stdio.fscanf_test.__unit__ /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg/build/projects/libc/test/src/stdio/CMakeFiles/libc.test.src.stdio.fscanf_test.__unit__ 
cd /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg/build/projects/libc/test/src/stdio && /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg/build/projects/libc/test/src/stdio/libc.test.src.stdio.fscanf_test.__unit__.__build__
[==========] Running 1 test from 1 test suite.
[ RUN      ] LlvmLibcFScanfTest.WriteToFile
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg/llvm-project/libc/test/src/stdio/fscanf_test.cpp:73: FAILURE
      Expected: read
      Which is: 0
To be equal to: 1
      Which is: 1
[  FAILED  ] LlvmLibcFScanfTest.WriteToFile
Ran 1 tests.  PASS: 0  FAIL: 1
[829/1074] Running unit test libc.test.src.stdio.vfscanf_test.__unit__
[==========] Running 1 test from 1 test suite.
[ RUN      ] LlvmLibcFScanfTest.WriteToFile
[       OK ] LlvmLibcFScanfTest.WriteToFile (203 us)
Ran 1 tests.  PASS: 1  FAIL: 0
[830/1074] Running unit test libc.test.src.stdio.fopen_test.__unit__
[==========] Running 1 test from 1 test suite.
[ RUN      ] LlvmLibcFOpenTest.PrintToFile
[       OK ] LlvmLibcFOpenTest.PrintToFile (158 us)
Ran 1 tests.  PASS: 1  FAIL: 0
[831/1074] Running unit test libc.test.src.stdio.putc_test.__unit__
[==========] Running 1 test from 1 test suite.
[ RUN      ] LlvmLibcPutcTest.WriteToFile
[       OK ] LlvmLibcPutcTest.WriteToFile (182 us)
Ran 1 tests.  PASS: 1  FAIL: 0
[832/1074] Running unit test libc.test.src.stdio.fdopen_test.__unit__
[==========] Running 3 tests from 1 test suite.
[ RUN      ] LlvmLibcStdioFdopenTest.WriteAppendRead
[       OK ] LlvmLibcStdioFdopenTest.WriteAppendRead (174 us)
[ RUN      ] LlvmLibcStdioFdopenTest.InvalidFd
[       OK ] LlvmLibcStdioFdopenTest.InvalidFd (12 us)
[ RUN      ] LlvmLibcStdioFdopenTest.InvalidMode
[       OK ] LlvmLibcStdioFdopenTest.InvalidMode (11 us)
Ran 3 tests.  PASS: 3  FAIL: 0
[833/1074] Running unit test libc.test.src.stdio.fgetc_test.__unit__
[==========] Running 2 tests from 1 test suite.
[ RUN      ] LlvmLibcGetcTest.WriteAndReadCharactersWithFgetc
[       OK ] LlvmLibcGetcTest.WriteAndReadCharactersWithFgetc (150 us)

```

</details>

https://github.com/llvm/llvm-project/pull/106054


More information about the cfe-commits mailing list