Skip to content
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

chore(robot-server): Experiments with hanging robot-server tests in CI #16306

Closed
wants to merge 9 commits into from

Conversation

SyntaxColoring
Copy link
Contributor

@SyntaxColoring SyntaxColoring commented Sep 19, 2024

Experiments to fix the robot-server tests hanging in CI. See EXEC-714.

sanni-t and others added 2 commits September 19, 2024 15:05
…tocols (#16171)

Closes RQA-3118

# Overview

The check for matching RTPs had a bug where if a protocol had no RTPs,
it would deem that protocol to have 'no previously matching analyses'
and hence would always re-analyze the protocol, even when the protocol
has not changed.

This PR fixes that check and adds tests so that we'll know if it happens
again.

Fixing this bug revealed another bug that the legacy context plugin task
being created while setting up the protocol runner, was never being
stopped/ cancelled, hence preventing the server from shutting down. To
fix that, I am stopping the orchestrator when the analyzer's destructor
is called.

## Test Plan and Hands on Testing

Follow the instructions in the RQA ticket above and see that the
erroneous behavior is not seen.

## Review requests

- check that the tests cover all cases of analyzing RTP & non-RTP
protocols with various combinations of new and previous parameters (if
any)

## Risk assessment

Medium. Bug fix, but need to make sure that all combinations of possible
protocol analysis params are covered. Also affects server shutdown.

---------

Co-authored-by: Josh McVey <[email protected]>
(cherry picked from commit b0b8221)
@SyntaxColoring SyntaxColoring changed the title chore(robot-server): Cherry-pick fix for hanging server shutdown chore(robot-server): Try to fix hanging robot-server tests in CI. Sep 19, 2024
@SyntaxColoring SyntaxColoring changed the title chore(robot-server): Try to fix hanging robot-server tests in CI. chore(robot-server): Try to fix hanging robot-server tests in CI Sep 19, 2024
@SyntaxColoring SyntaxColoring changed the title chore(robot-server): Try to fix hanging robot-server tests in CI chore(robot-server): Experiments with hanging robot-server tests in CI Sep 20, 2024
@SyntaxColoring SyntaxColoring added the DO NOT MERGE Indicates a PR should not be merged, even if there's a shiny green merge button available label Sep 20, 2024
@SyntaxColoring SyntaxColoring deleted the cherry_pick_hang_fix branch October 3, 2024 14:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DO NOT MERGE Indicates a PR should not be merged, even if there's a shiny green merge button available
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants