Skip to content

Remove IQP classic integration tests #2265

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

kt474
Copy link
Member

@kt474 kt474 commented May 24, 2025

Summary

On 6/2 all backends will be removed from internal hubs in IQP classic so our integration tests will no longer be able to run.

Details and comments

Fixes #2257

@ElePT ElePT added this to the 0.40.0 milestone May 26, 2025
Copy link
Collaborator

@ElePT ElePT left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not sure if this is due to my environment, but when testing the integration tests locally I see quite a lot of failures that look like:

======================================================================
ERROR: setUpClass (test.integration.test_sampler_v2.TestSampler)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/ept/qiskit_workspace/qiskit-ibm-runtime/test/decorators.py", line 105, in _wrapper
    channel, token, url, instance, qpu = _get_integration_test_config()
                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/ept/qiskit_workspace/qiskit-ibm-runtime/test/decorators.py", line 64, in _get_integration_test_config
    channel: str = "ibm_cloud" if url.find("cloud") >= 0 else "ibm_quantum"
                                  ^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'find'

======================================================================
ERROR: setUpClass (test.integration.test_session.TestIntegrationSession)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/ept/qiskit_workspace/qiskit-ibm-runtime/test/decorators.py", line 105, in _wrapper
    channel, token, url, instance, qpu = _get_integration_test_config()
                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/ept/qiskit_workspace/qiskit-ibm-runtime/test/decorators.py", line 64, in _get_integration_test_config
    channel: str = "ibm_cloud" if url.find("cloud") >= 0 else "ibm_quantum"
                                  ^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'find'

I know that these are not introduced by this PR, but they might be masking other failures.

@kt474 kt474 modified the milestones: 0.40.0, 0.41.0 May 28, 2025
@kt474
Copy link
Member Author

kt474 commented May 30, 2025

I know that these are not introduced by this PR, but they might be masking other failures.

Those errors are because the credentials have not been set. I can show you how to run the tests locally

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update tests in preparation for IQP classic sunset
2 participants