Add tests for issue #5020: silent conversion to float #7386
Triggered via pull request
February 14, 2024 17:37
Status
Failure
Total duration
15m 51s
Artifacts
–
ci.yml
on: pull_request
π 3.10 β’ CUDA 12.2 β’ Ubuntu 22.04
6m 7s
π 3 β’ NVHPC 23.5 β’ C++17 β’ x64
13m 51s
π 3 β’ ICC latest β’ x64
8m 32s
π 3.7 β’ Debian β’ x86 β’ Install
3m 29s
Documentation build test
59s
macos-latest β’ brew install llvm
6m 44s
Matrix: centos
Matrix: clang
Matrix: deadsnakes
Matrix: gcc
Matrix: mingw
Matrix: standard
Matrix: win32-debug
Matrix: win32
Matrix: windows-2022
Matrix: windows_clang
Annotations
81 errors and 3 warnings
π 3 β’ Clang 3.6 β’ C++11 β’ x64
Process completed with exit code 2.
|
π 3 β’ Clang 3.7 β’ C++11 β’ x64
Process completed with exit code 2.
|
π 3 β’ Clang 3.9 β’ C++11 β’ x64
Process completed with exit code 2.
|
π 3.7 β’ Debian β’ x86 β’ Install
Process completed with exit code 2.
|
π 3 β’ Clang 5 β’ C++14 β’ x64
Process completed with exit code 2.
|
π 3 β’ Clang 7 β’ C++11 β’ x64
Process completed with exit code 2.
|
π 3 β’ almalinux:9 β’ x64
Process completed with exit code 2.
|
π 3 β’ Clang 16 β’ C++20 β’ x64
Process completed with exit code 2.
|
π 3 β’ almalinux:8 β’ x64
Process completed with exit code 2.
|
π 3.6 β’ ubuntu-20.04 β’ x64 -DPYBIND11_FINDPYTHON=ON -DCMAKE_CXX_FLAGS="-D_=1":
tests/test_enum.py#L249
test_enum_to_float
AssertionError: assert False
+ where False = <built-in method startswith of str object at 0x7f87ab1d4108>('TypeError: test_enum_to_float(): incompatible function arguments.')
+ where <built-in method startswith of str object at 0x7f87ab1d4108> = 'test_enum_to_float(): incompatible function arguments. The following argument types are supported:\n 1. (arg0: float) -> None\n\nInvoked with: <ScopedBoolEnum.TRUE: 1>'.startswith
+ where 'test_enum_to_float(): incompatible function arguments. The following argument types are supported:\n 1. (arg0: float) -> None\n\nInvoked with: <ScopedBoolEnum.TRUE: 1>' = str(TypeError('test_enum_to_float(): incompatible function arguments. The following argument types are supported:\n 1. (arg0: float) -> None\n\nInvoked with: <ScopedBoolEnum.TRUE: 1>',))
+ where TypeError('test_enum_to_float(): incompatible function arguments. The following argument types are supported:\n 1. (arg0: float) -> None\n\nInvoked with: <ScopedBoolEnum.TRUE: 1>',) = <ExceptionInfo TypeError('test_enum_to_float(): incompatible function arguments. The following argument types are supported:\n 1. (arg0: float) -> None\n\nInvoked with: <ScopedBoolEnum.TRUE: 1>',) tblen=1>.value
|
π 3.6 β’ ubuntu-20.04 β’ x64 -DPYBIND11_FINDPYTHON=ON -DCMAKE_CXX_FLAGS="-D_=1"
Process completed with exit code 2.
|
π 3 β’ GCC 7 β’ C++11β’ x64
Process completed with exit code 2.
|
π 3 β’ Clang 9 β’ C++11 β’ x64
Process completed with exit code 2.
|
π 3 β’ GCC 8 β’ C++14β’ x64
Process completed with exit code 2.
|
π 3 β’ GCC 7 β’ C++17β’ x64
Process completed with exit code 2.
|
π 3 β’ Clang 10 β’ C++17 β’ x64
Process completed with exit code 2.
|
π 3.12 β’ ubuntu-20.04 β’ x64:
tests/test_enum.py#L240
test_enum_overload_resolution
AssertionError: assert 'f(float, float)' == 'f(float, ScopedEnum)'
- f(float, ScopedEnum)
+ f(float, float)
|
π 3.12 β’ ubuntu-20.04 β’ x64:
tests/test_enum.py#L247
test_enum_to_float
Failed: DID NOT RAISE <class 'TypeError'>
|
π 3.12 β’ ubuntu-20.04 β’ x64
Process completed with exit code 2.
|
π 3 β’ centos:7 β’ x64
Process completed with exit code 2.
|
π 3 β’ Clang 15 β’ C++20 β’ x64
Process completed with exit code 2.
|
π 3 β’ Clang 14 β’ C++20 β’ x64
Process completed with exit code 2.
|
π 3.11 β’ ubuntu-20.04 β’ x64:
tests/test_enum.py#L240
test_enum_overload_resolution
AssertionError: assert 'f(float, float)' == 'f(float, ScopedEnum)'
- f(float, ScopedEnum)
+ f(float, float)
|
π 3.11 β’ ubuntu-20.04 β’ x64:
tests/test_enum.py#L247
test_enum_to_float
Failed: DID NOT RAISE <class 'TypeError'>
|
π 3.11 β’ ubuntu-20.04 β’ x64
Process completed with exit code 2.
|
π 3.9 β’ ubuntu-20.04 β’ x64:
tests/test_enum.py#L240
test_enum_overload_resolution
AssertionError: assert 'f(float, float)' == 'f(float, ScopedEnum)'
- f(float, ScopedEnum)
+ f(float, float)
|
π 3.9 β’ ubuntu-20.04 β’ x64:
tests/test_enum.py#L248
test_enum_to_float
Failed: DID NOT RAISE <class 'TypeError'>
|
π 3.9 β’ ubuntu-20.04 β’ x64
Process completed with exit code 2.
|
π 3 β’ Clang dev β’ C++11 β’ x64
Process completed with exit code 2.
|
π 3.10 β’ ubuntu-20.04 β’ x64:
tests/test_enum.py#L240
test_enum_overload_resolution
AssertionError: assert 'f(float, float)' == 'f(float, ScopedEnum)'
- f(float, ScopedEnum)
+ f(float, float)
|
π 3.10 β’ ubuntu-20.04 β’ x64:
tests/test_enum.py#L247
test_enum_to_float
Failed: DID NOT RAISE <class 'TypeError'>
|
π 3.10 β’ ubuntu-20.04 β’ x64
Process completed with exit code 2.
|
π 3 β’ GCC 11 β’ C++20β’ x64
Process completed with exit code 2.
|
π 3 β’ Clang 11 β’ C++20 β’ x64
Process completed with exit code 2.
|
π 3 β’ GCC 10 β’ C++17β’ x64
Process completed with exit code 2.
|
π 3 β’ Clang 13 β’ C++20 β’ x64
Process completed with exit code 2.
|
π 3 β’ GCC 8 β’ C++17β’ x64
Process completed with exit code 2.
|
π 3 β’ GCC 13 β’ C++20β’ x64
Process completed with exit code 2.
|
π 3 β’ GCC 12 β’ C++20β’ x64
Process completed with exit code 2.
|
π 3.11 (deadsnakes) β’ x64
Process completed with exit code 2.
|
π 3 β’ Clang 12 β’ C++20 β’ x64
Process completed with exit code 2.
|
π 3.9 β’ windows-2022 β’ x64
Process completed with exit code 1.
|
π 3.8 β’ MSVC 2019 β’ x86 -DCMAKE_CXX_STANDARD=17
Process completed with exit code 1.
|
π pypy-3.10 β’ ubuntu-20.04 β’ x64:
tests/test_enum.py#L249
test_enum_to_float
AssertionError: assert False
+ where False = <bound method str.startswith of 'test_enum_to_float(): incompatible function arguments. The following argument types are supported:\n 1. (arg0: float) -> None\n\nInvoked with: <ScopedBoolEnum.TRUE: 1>'>('TypeError: test_enum_to_float(): incompatible function arguments.')
+ where <bound method str.startswith of 'test_enum_to_float(): incompatible function arguments. The following argument types are supported:\n 1. (arg0: float) -> None\n\nInvoked with: <ScopedBoolEnum.TRUE: 1>'> = 'test_enum_to_float(): incompatible function arguments. The following argument types are supported:\n 1. (arg0: float) -> None\n\nInvoked with: <ScopedBoolEnum.TRUE: 1>'.startswith
+ where 'test_enum_to_float(): incompatible function arguments. The following argument types are supported:\n 1. (arg0: float) -> None\n\nInvoked with: <ScopedBoolEnum.TRUE: 1>' = str(TypeError('test_enum_to_float(): incompatible function arguments. The following argument types are supported:\n 1. (arg0: float) -> None\n\nInvoked with: <ScopedBoolEnum.TRUE: 1>'))
+ where TypeError('test_enum_to_float(): incompatible function arguments. The following argument types are supported:\n 1. (arg0: float) -> None\n\nInvoked with: <ScopedBoolEnum.TRUE: 1>') = <ExceptionInfo TypeError('test_enum_to_float(): incompatible function arguments. The following argument types are supported:\n 1. (arg0: float) -> None\n\nInvoked with: <ScopedBoolEnum.TRUE: 1>') tblen=1>.value
|
π pypy-3.10 β’ ubuntu-20.04 β’ x64
Process completed with exit code 2.
|
π 3.11 β’ macos-latest β’ x64
Process completed with exit code 2.
|
π 3.10 β’ windows-2022 β’ x64
Process completed with exit code 1.
|
π 3.12 β’ windows-2022 β’ x64
Process completed with exit code 1.
|
π 3.6 β’ windows-2019 β’ x64 -DPYBIND11_FINDPYTHON=ON
Process completed with exit code 1.
|
π pypy-3.8 β’ ubuntu-20.04 β’ x64 -DPYBIND11_FINDPYTHON=ON:
tests/test_enum.py#L240
test_enum_overload_resolution
AssertionError: assert 'f(float, float)' == 'f(float, ScopedEnum)'
- f(float, ScopedEnum)
+ f(float, float)
|
π pypy-3.8 β’ ubuntu-20.04 β’ x64 -DPYBIND11_FINDPYTHON=ON:
tests/test_enum.py#L248
test_enum_to_float
Failed: DID NOT RAISE <class 'TypeError'>
|
π pypy-3.8 β’ ubuntu-20.04 β’ x64 -DPYBIND11_FINDPYTHON=ON
Process completed with exit code 2.
|
π 3.8 β’ MSVC 2019 (Debug) β’ x86 -DCMAKE_CXX_STANDARD=17
Process completed with exit code 1.
|
π 3.9 β’ MSVC 2022 C++20 β’ x64
Process completed with exit code 1.
|
π 3.12 β’ macos-latest β’ x64
Process completed with exit code 2.
|
π 3.9 β’ windows-2019 β’ x64
Process completed with exit code 1.
|
π 3.7 β’ MSVC 2019 β’ x86 -DCMAKE_CXX_STANDARD=14
Process completed with exit code 1.
|
π pypy-3.9 β’ ubuntu-20.04 β’ x64:
tests/test_enum.py#L240
test_enum_overload_resolution
AssertionError: assert 'f(float, float)' == 'f(float, ScopedEnum)'
- f(float, ScopedEnum)
+ f(float, float)
|
π pypy-3.9 β’ ubuntu-20.04 β’ x64:
tests/test_enum.py#L248
test_enum_to_float
Failed: DID NOT RAISE <class 'TypeError'>
|
π pypy-3.9 β’ ubuntu-20.04 β’ x64
Process completed with exit code 2.
|
π 3.6 β’ MSVC 2019 β’ x86
Process completed with exit code 1.
|
π 3.6 β’ windows-2022 β’ x64
Process completed with exit code 1.
|
π 3.10 β’ CUDA 12.2 β’ Ubuntu 22.04
Process completed with exit code 2.
|
π 3 β’ windows-latest β’ mingw32
Process completed with exit code 2.
|
π 3.11 β’ windows-2022 β’ x64
Process completed with exit code 1.
|
π 3 β’ windows-latest β’ mingw64
Process completed with exit code 2.
|
π 3.9 β’ MSVC 2019 (Debug) β’ x86 -DCMAKE_CXX_STANDARD=20
Process completed with exit code 1.
|
π 3.9 β’ MSVC 2019 β’ x86 -DCMAKE_CXX_STANDARD=20
Process completed with exit code 1.
|
macos-latest β’ brew install llvm
Process completed with exit code 2.
|
π 3.10 β’ macos-latest β’ x64
Process completed with exit code 2.
|
π 3.10 β’ windows-latest β’ clang-latest
Process completed with exit code 1.
|
π pypy-3.10 β’ windows-2022 β’ x64
Process completed with exit code 1.
|
π pypy-3.8 β’ windows-2022 β’ x64
Process completed with exit code 1.
|
π pypy-3.9 β’ windows-2022 β’ x64
Process completed with exit code 1.
|
π pypy-3.9 β’ macos-latest β’ x64
Process completed with exit code 2.
|
π 3 β’ ICC latest β’ x64
Process completed with exit code 2.
|
π 3.6 β’ macos-latest β’ x64
Process completed with exit code 2.
|
π pypy-3.10 β’ macos-latest β’ x64
Process completed with exit code 2.
|
π pypy-3.8 β’ macos-latest β’ x64
Process completed with exit code 2.
|
π 3.9 β’ macos-latest β’ x64
Process completed with exit code 2.
|
π 3 β’ NVHPC 23.5 β’ C++17 β’ x64
Process completed with exit code 2.
|
π 3 β’ centos:7 β’ x64
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
π 3 β’ Clang dev β’ C++11 β’ x64
Docker pull failed with exit code 1, back off 4.458 seconds before retry.
|
π 3.10 β’ windows-latest β’ clang-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: seanmiddleditch/gha-setup-ninja@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|