Skip to content

IQM unit tests silently skipped in CI due to broken pip install #3880

@taalexander

Description

@taalexander

Required prerequisites

  • 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 iqm-client pip install in test_in_devenv.yml has been silently failing as the image enforces PEP 668. As a result, iqm-client is never installed, and ctest auto-skips iqm-tests and iqm-dqa-tests on every CI run.

python3 -m pip install iqm-client==28.0.0

From a recent upstream merge queue run:

python3 -m pip install iqm-client==28.0.0

error: externally-managed-environment
× This environment is externally managed

When the install is fixed (via --break-system-packages), 3 of the 8 IQM tests fail:

  • iqm_IQMTester.invalidTokenFromEnvVariable
  • iqm_IQMTester.iqmServerUrlEnvOverride
  • iqm_IQMTester.tokenFilePathEnvOverride

Steps to reproduce the bug

Run CI on main and look at logs.

Expected behavior

Run CI on main and look at the logs

Is this a regression? If it is, put the last known working version (or commit) here.

Seems to be last version before Ubuntu image migration

Environment

Docker image: Ubuntu 24.04

Suggestions

  • Add --break-system-packages
  • Fix the bugs in tests

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingcriticalThis issue or pull request needs attention

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions