Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 897758 - dev-python/qiskit-aer: test failures with GLIBCXX_ASSERTIONS
Summary: dev-python/qiskit-aer: test failures with GLIBCXX_ASSERTIONS
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gábor Oszkár Dénes
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 884417
  Show dependency tree
 
Reported: 2023-02-26 00:00 UTC by Sam James
Modified: 2023-02-26 00:00 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-02-26 00:00:44 UTC
```
test/terra/backends/aer_simulator/test_options.py::TestOptions::test_mps_options /usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/bits/stl_vector.h:1123: std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::operator[](size_type) [with _Tp = double; _Alloc = std::allocator<double>; reference = double&; size_type = long unsigned int]: Assertion '__n < this->size()' failed.
Fatal Python error: Aborted

Current thread 0x00007f25c13f86c0 (most recent call first):
  File "/var/tmp/portage/dev-python/qiskit-aer-0.11.2-r1/work/qiskit-aer-0.11.2-python3_9/install/usr/lib/python3.9/site-packages/qiskit_aer/backends/backend_utils.py", line 117 in cpp_execute
  File "/var/tmp/portage/dev-python/qiskit-aer-0.11.2-r1/work/qiskit-aer-0.11.2-python3_9/install/usr/lib/python3.9/site-packages/qiskit_aer/backends/aer_simulator.py", line 711 in _execute
  File "/var/tmp/portage/dev-python/qiskit-aer-0.11.2-r1/work/qiskit-aer-0.11.2-python3_9/install/usr/lib/python3.9/site-packages/qiskit_aer/backends/aerbackend.py", line 305 in _run
  File "/usr/lib/python3.9/concurrent/futures/thread.py", line 58 in run
  File "/usr/lib/python3.9/concurrent/futures/thread.py", line 83 in _worker
  File "/usr/lib/python3.9/threading.py", line 917 in run
  File "/usr/lib/python3.9/threading.py", line 980 in _bootstrap_inner
  File "/usr/lib/python3.9/threading.py", line 937 in _bootstrap

Thread 0x00007f2dd78c66c0 (most recent call first):
  File "/usr/lib/python3.9/site-packages/execnet/gateway_base.py", line 400 in read
  File "/usr/lib/python3.9/site-packages/execnet/gateway_base.py", line 432 in from_io
  File "/usr/lib/python3.9/site-packages/execnet/gateway_base.py", line 967 in _thread_receiver
  File "/usr/lib/python3.9/site-packages/execnet/gateway_base.py", line 220 in run
  File "/usr/lib/python3.9/site-packages/execnet/gateway_base.py", line 285 in _perform_spawn

Thread 0x00007f2dd842de40 (most recent call first):
  File "/usr/lib/python3.9/threading.py", line 312 in wait
  File "/usr/lib/python3.9/concurrent/futures/_base.py", line 441 in result
  File "/var/tmp/portage/dev-python/qiskit-aer-0.11.2-r1/work/qiskit-aer-0.11.2-python3_9/install/usr/lib/python3.9/site-packages/qiskit_aer/jobs/aerjob.py", line 78 in result
  File "/var/tmp/portage/dev-python/qiskit-aer-0.11.2-r1/work/qiskit-aer-0.11.2-python3_9/install/usr/lib/python3.9/site-packages/qiskit_aer/jobs/utils.py", line 41 in _wrapper
  File "/var/tmp/portage/dev-python/qiskit-aer-0.11.2-r1/work/qiskit-aer-0.11.2/test/terra/backends/aer_simulator/test_options.py", line 179 in test_mps_options
  File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 702 in _run_test_method
  File "/usr/lib/python3.9/site-packages/testtools/runtest.py", line 193 in _run_user
  File "/usr/lib/python3.9/site-packages/testtools/runtest.py", line 145 in _run_core
  File "/usr/lib/python3.9/site-packages/testtools/runtest.py", line 108 in _run_prepared_result
  File "/usr/lib/python3.9/site-packages/testtools/runtest.py", line 94 in _run_one
  File "/usr/lib/python3.9/site-packages/testtools/runtest.py", line 80 in run
  File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 654 in run
  File "/usr/lib/python3.9/unittest/case.py", line 651 in __call__
  File "/usr/lib/python3.9/site-packages/_pytest/unittest.py", line 330 in runtest
  File "/usr/lib/python3.9/site-packages/_pytest/runner.py", line 167 in pytest_runtest_call
  File "/usr/lib/python3.9/site-packages/pluggy/_callers.py", line 39 in _multicall
  File "/usr/lib/python3.9/site-packages/pluggy/_manager.py", line 80 in _hookexec
  File "/usr/lib/python3.9/site-packages/pluggy/_hooks.py", line 265 in __call__
  File "/usr/lib/python3.9/site-packages/_pytest/runner.py", line 260 in <lambda>
  File "/usr/lib/python3.9/site-packages/_pytest/runner.py", line 339 in from_call
  File "/usr/lib/python3.9/site-packages/_pytest/runner.py", line 259 in call_runtest_hook
  File "/usr/lib/python3.9/site-packages/_pytest/runner.py", line 220 in call_and_report
  File "/usr/lib/python3.9/site-packages/_pytest/runner.py", line 131 in runtestprotocol
  File "/usr/lib/python3.9/site-packages/_pytest/runner.py", line 112 in pytest_runtest_protocol
  File "/usr/lib/python3.9/site-packages/pluggy/_callers.py", line 39 in _multicall
  File "/usr/lib/python3.9/site-packages/pluggy/_manager.py", line 80 in _hookexec
  File "/usr/lib/python3.9/site-packages/pluggy/_hooks.py", line 265 in __call__
  File "/usr/lib/python3.9/site-packages/xdist/remote.py", line 161 in run_one_test
  File "/usr/lib/python3.9/site-packages/xdist/remote.py", line 146 in pytest_runtestloop
  File "/usr/lib/python3.9/site-packages/pluggy/_callers.py", line 39 in _multicall
  File "/usr/lib/python3.9/site-packages/pluggy/_manager.py", line 80 in _hookexec
  File "/usr/lib/python3.9/site-packages/pluggy/_hooks.py", line 265 in __call__
  File "/usr/lib/python3.9/site-packages/_pytest/main.py", line 324 in _main
  File "/usr/lib/python3.9/site-packages/_pytest/main.py", line 270 in wrap_session
  File "/usr/lib/python3.9/site-packages/_pytest/main.py", line 317 in pytest_cmdline_main
  File "/usr/lib/python3.9/site-packages/pluggy/_callers.py", line 39 in _multicall
  File "/usr/lib/python3.9/site-packages/pluggy/_manager.py", line 80 in _hookexec
  File "/usr/lib/python3.9/site-packages/pluggy/_hooks.py", line 265 in __call__
  File "/usr/lib/python3.9/site-packages/xdist/remote.py", line 342 in <module>
  File "/usr/lib/python3.9/site-packages/execnet/gateway_base.py", line 1084 in executetask
  File "/usr/lib/python3.9/site-packages/execnet/gateway_base.py", line 220 in run
  File "/usr/lib/python3.9/site-packages/execnet/gateway_base.py", line 285 in _perform_spawn
  File "/usr/lib/python3.9/site-packages/execnet/gateway_base.py", line 267 in integrate_as_primary_thread
  File "/usr/lib/python3.9/site-packages/execnet/gateway_base.py", line 1060 in serve
  File "/usr/lib/python3.9/site-packages/execnet/gateway_base.py", line 1554 in serve
  File "<string>", line 8 in <module>
  File "<string>", line 1 in <module>

[gw3] node down: Not properly terminated
[gw3] FAILED test/terra/backends/aer_simulator/test_options.py::TestOptions::test_mps_options
```