NVIDIA / NVIDIA/cuda-quantum

Tests should shutdown cudaq-qpud on catastrophic errors

Open
#2,335 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

stale-notified testing
Dominant language
C++
Stars
1.1k
Forks
456
Avg merge
1d 22h
Merged PRs (30d)
165

Description

Some of the target tests (/targettests) run using cudaq-qpud.

When the executable crashes (say with a SIGSEGV), these tests do not shutdown the running cudaq-qpud daemon. This can lead to llvm-lit waiting for manual intervention or a system timeout to end.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in /targettests and inspect how tests launch and clean up cudaq-qpud under llvm-lit. Reproduce a catastrophic executable failure, then trace the existing shutdown path; done means the daemon is terminated automatically and llvm-lit no longer waits for manual intervention or a system timeout.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
testing-qa
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.