You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Consult the security policy. If reporting a security vulnerability, do not report the bug using this form. Use the process described in the policy to report the issue.
Make sure you've read the documentation. Your issue may be addressed there.
Search the issue tracker to verify that this hasn't already been reported. +1 or comment there if it has.
If possible, make a PR with a failing test to give us a starting point to work on!
Describe the bug
The test throws an Unknown c++ exception instead of the runtime error. The test works in all Build and Test tasks so we suspect libc++/libstdc++ library mismatch.
#70 50.12 Note: Google Test filter = Tensor.initialization
#70 50.12 [==========] Running 1 test from 1 test suite.
#70 50.12 [----------] Global test environment set-up.
#70 50.12 [----------] 1 test from Tensor
#70 50.12 [ RUN ] Tensor.initialization
#70 50.12 /cuda-quantum/unittests/utils/Tensor.cpp:28: Failure
#70 50.12 Expected: cudaq::matrix_2 m1({1., 2., 3., 4., 5.}, {2, 3}) throws an exception of type std::runtime_error.
#70 50.12 Actual: it throws a different type.
Is this a regression? If it is, put the last known working version (or commit) here.
Not a regression
Environment
CUDA Quantum version:
Python version:
C++ compiler:
Operating system:
Suggestions
No response
The text was updated successfully, but these errors were encountered:
annagrin
changed the title
Unit test TensorTest.InvalidAccessDimensions fails in CI only in Create CUDA Quantum installer (xxx) / Build CUDA Quantum assets tasks
Tensor Unit tests for runtime errors fail in CI in Build CUDA Quantum assets tasks
Oct 30, 2024
Required prerequisites
Describe the bug
The test throws an Unknown c++ exception instead of the runtime error. The test works in all
Build and Test
tasks so we suspect libc++/libstdc++ library mismatch.Steps to reproduce the bug
PR: #2324
CI task with errors: https://github.com/NVIDIA/cuda-quantum/actions/runs/11584133910/job/32252965042?pr=2324#logs
Expected behavior
Test succeeds in all CI tasks
Is this a regression? If it is, put the last known working version (or commit) here.
Not a regression
Environment
Suggestions
No response
The text was updated successfully, but these errors were encountered: