ni / ni/nimi-python

test_multi_threading_lock_unlock may be flaky

Open
#1,986 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

test
Dominant language
Python
Stars
128
Forks
110
Avg merge
5d 14h
Merged PRs (30d)
10

Description

Description of issue

We had an intermittent failure of test_multi_threading_lock_unlock with niscope in our Internal Suite.
All the suite tells us is AssertionError.

There is probably some flakiness due to the timing or timeouts.

System report

This occurred with an in-dev NI-SCOPE 23.5.0 (2023 Q3) and niscope 1.4.5.

Steps to reproduce issue

Run the system tests.
It's only failed once and this is an issue with flakiness, so it'll likely be hard to reproduce.

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 by locating and running the system test containing test_multi_threading_lock_unlock against niscope. Investigate the timing or timeout conditions behind the intermittent AssertionError; done means the test no longer flakes and the system test remains passing.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
testing-qa
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.