[libc-commits] [libc] [libc] Enable all supported math functions on the GPU (PR #102563)

LLVM Continuous Integration via libc-commits libc-commits at lists.llvm.org
Mon Aug 12 11:16:07 PDT 2024


llvm-ci wrote:

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

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

Here is the relevant piece of the build log for the reference:
```
Step 4 (annotate) failure: 'python ../llvm-zorg/zorg/buildbot/builders/annotated/libc-linux.py ...' (failure)
...
[ RUN      ] LlvmLibcStrtoullTest.DecodeInOtherBases
[       OK ] LlvmLibcStrtoullTest.DecodeInOtherBases (547 ms)
[ RUN      ] LlvmLibcStrtoullTest.CleanBaseSixteenDecode
[       OK ] LlvmLibcStrtoullTest.CleanBaseSixteenDecode (11 us)
[ RUN      ] LlvmLibcStrtoullTest.MessyBaseSixteenDecode
[       OK ] LlvmLibcStrtoullTest.MessyBaseSixteenDecode (4 us)
[ RUN      ] LlvmLibcStrtoullTest.AutomaticBaseSelection
[       OK ] LlvmLibcStrtoullTest.AutomaticBaseSelection (6 us)
Ran 7 tests.  PASS: 7  FAIL: 0
[998/1009] Running unit test libc.test.src.math.smoke.dsubl_test.__unit__
FAILED: projects/libc/test/src/math/smoke/CMakeFiles/libc.test.src.math.smoke.dsubl_test.__unit__ /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-asan/build/projects/libc/test/src/math/smoke/CMakeFiles/libc.test.src.math.smoke.dsubl_test.__unit__ 
cd /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-asan/build/projects/libc/test/src/math/smoke && /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-asan/build/projects/libc/test/src/math/smoke/libc.test.src.math.smoke.dsubl_test.__unit__.__build__
[==========] Running 4 tests from 1 test suite.
[ RUN      ] LlvmLibcSubTest.SpecialNumbers
[       OK ] LlvmLibcSubTest.SpecialNumbers (12 us)
[ RUN      ] LlvmLibcSubTest.InvalidOperations
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-asan/llvm-project/libc/test/src/math/smoke/SubTest.h:50: FAILURE
      Expected: (func(inf, inf)) != (func(inf, inf))
      Which is: 0
To be equal to: true
      Which is: 1
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-asan/llvm-project/libc/test/src/math/smoke/SubTest.h:50: FAILURE
      Expected: __llvm_libc_19_0_0_git::fputil::test_except((0x20 | 0x04 | 0x10 | 0x08 | 0x01)) & ((0x01) ? (0x01) : (0x20 | 0x04 | 0x10 | 0x08 | 0x01))
      Which is: 0
To be equal to: (0x01)
      Which is: 1
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-asan/llvm-project/libc/test/src/math/smoke/SubTest.h:51: FAILURE
      Expected: (func(neg_inf, neg_inf)) != (func(neg_inf, neg_inf))
      Which is: 0
To be equal to: true
      Which is: 1
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-asan/llvm-project/libc/test/src/math/smoke/SubTest.h:51: FAILURE
      Expected: __llvm_libc_19_0_0_git::fputil::test_except((0x20 | 0x04 | 0x10 | 0x08 | 0x01)) & ((0x01) ? (0x01) : (0x20 | 0x04 | 0x10 | 0x08 | 0x01))
      Which is: 0
To be equal to: (0x01)
      Which is: 1
[  FAILED  ] LlvmLibcSubTest.InvalidOperations
[ RUN      ] LlvmLibcSubTest.RangeErrors
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-asan/llvm-project/libc/test/src/math/smoke/SubTest.h:59: FAILURE
Failed to match func(max_normal, neg_max_normal) against LIBC_NAMESPACE::testing::getMatcher< LIBC_NAMESPACE::testing::TestCond::EQ>(inf).
Expected floating point value: (+Infinity)
Actual floating point value: 0x0000000000000000 = (S: 0, E: 0x0000, M: 0x0000000000000000)
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-asan/llvm-project/libc/test/src/math/smoke/SubTest.h:59: FAILURE
      Expected: __llvm_libc_19_0_0_git::fputil::test_except((0x20 | 0x04 | 0x10 | 0x08 | 0x01)) & ((0x08 | 0x20) ? (0x08 | 0x20) : (0x20 | 0x04 | 0x10 | 0x08 | 0x01))
      Which is: 32
To be equal to: (0x08 | 0x20)
      Which is: 40
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-asan/llvm-project/libc/test/src/math/smoke/SubTest.h:60: FAILURE
      Expected: actual
Step 7 (libc-unit-tests) failure: libc-unit-tests (failure)
...
[ RUN      ] LlvmLibcStrtoullTest.DecodeInOtherBases
[       OK ] LlvmLibcStrtoullTest.DecodeInOtherBases (547 ms)
[ RUN      ] LlvmLibcStrtoullTest.CleanBaseSixteenDecode
[       OK ] LlvmLibcStrtoullTest.CleanBaseSixteenDecode (11 us)
[ RUN      ] LlvmLibcStrtoullTest.MessyBaseSixteenDecode
[       OK ] LlvmLibcStrtoullTest.MessyBaseSixteenDecode (4 us)
[ RUN      ] LlvmLibcStrtoullTest.AutomaticBaseSelection
[       OK ] LlvmLibcStrtoullTest.AutomaticBaseSelection (6 us)
Ran 7 tests.  PASS: 7  FAIL: 0
[998/1009] Running unit test libc.test.src.math.smoke.dsubl_test.__unit__
FAILED: projects/libc/test/src/math/smoke/CMakeFiles/libc.test.src.math.smoke.dsubl_test.__unit__ /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-asan/build/projects/libc/test/src/math/smoke/CMakeFiles/libc.test.src.math.smoke.dsubl_test.__unit__ 
cd /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-asan/build/projects/libc/test/src/math/smoke && /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-asan/build/projects/libc/test/src/math/smoke/libc.test.src.math.smoke.dsubl_test.__unit__.__build__
[==========] Running 4 tests from 1 test suite.
[ RUN      ] LlvmLibcSubTest.SpecialNumbers
[       OK ] LlvmLibcSubTest.SpecialNumbers (12 us)
[ RUN      ] LlvmLibcSubTest.InvalidOperations
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-asan/llvm-project/libc/test/src/math/smoke/SubTest.h:50: FAILURE
      Expected: (func(inf, inf)) != (func(inf, inf))
      Which is: 0
To be equal to: true
      Which is: 1
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-asan/llvm-project/libc/test/src/math/smoke/SubTest.h:50: FAILURE
      Expected: __llvm_libc_19_0_0_git::fputil::test_except((0x20 | 0x04 | 0x10 | 0x08 | 0x01)) & ((0x01) ? (0x01) : (0x20 | 0x04 | 0x10 | 0x08 | 0x01))
      Which is: 0
To be equal to: (0x01)
      Which is: 1
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-asan/llvm-project/libc/test/src/math/smoke/SubTest.h:51: FAILURE
      Expected: (func(neg_inf, neg_inf)) != (func(neg_inf, neg_inf))
      Which is: 0
To be equal to: true
      Which is: 1
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-asan/llvm-project/libc/test/src/math/smoke/SubTest.h:51: FAILURE
      Expected: __llvm_libc_19_0_0_git::fputil::test_except((0x20 | 0x04 | 0x10 | 0x08 | 0x01)) & ((0x01) ? (0x01) : (0x20 | 0x04 | 0x10 | 0x08 | 0x01))
      Which is: 0
To be equal to: (0x01)
      Which is: 1
[  FAILED  ] LlvmLibcSubTest.InvalidOperations
[ RUN      ] LlvmLibcSubTest.RangeErrors
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-asan/llvm-project/libc/test/src/math/smoke/SubTest.h:59: FAILURE
Failed to match func(max_normal, neg_max_normal) against LIBC_NAMESPACE::testing::getMatcher< LIBC_NAMESPACE::testing::TestCond::EQ>(inf).
Expected floating point value: (+Infinity)
Actual floating point value: 0x0000000000000000 = (S: 0, E: 0x0000, M: 0x0000000000000000)
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-asan/llvm-project/libc/test/src/math/smoke/SubTest.h:59: FAILURE
      Expected: __llvm_libc_19_0_0_git::fputil::test_except((0x20 | 0x04 | 0x10 | 0x08 | 0x01)) & ((0x08 | 0x20) ? (0x08 | 0x20) : (0x20 | 0x04 | 0x10 | 0x08 | 0x01))
      Which is: 32
To be equal to: (0x08 | 0x20)
      Which is: 40
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-asan/llvm-project/libc/test/src/math/smoke/SubTest.h:60: FAILURE
      Expected: actual

```

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


More information about the libc-commits mailing list