Skip to content

Re-factor and stabilize the grpc system test#1862

Open
gabordozsa wants to merge 2 commits intoskupperproject:mainfrom
gabordozsa:gabor_grpc_test_1861
Open

Re-factor and stabilize the grpc system test#1862
gabordozsa wants to merge 2 commits intoskupperproject:mainfrom
gabordozsa:gabor_grpc_test_1861

Conversation

@gabordozsa
Copy link
Copy Markdown
Collaborator

The CI failure is related to the grpcio module which can have problem with fork() support in older python versions (python 3.9 in this case). The suggested fix is to disable fork support with a grpcio specific env var.

I also realized that the test launches duplicate router and grpc server instances for the TLS runs because of the inheritance structure between the two test classes. I factored-out. a common base class to fix that.

Fixes #1861

- Create a common base class for the non-TLS and TLS tests in order to avoid launching
  duplicate router and grpc server instances for the TLS tests

- Disable fork support for grpcio in order to stabilize the test on CentOS 9 (python 3.9)
@github-advanced-security
Copy link
Copy Markdown

You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool.

What Enabling Code Scanning Means:

  • The 'Security' tab will display more code scanning analysis results (e.g., for the default branch).
  • Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results.
  • You will be able to see the analysis results for the pull request's branch on this overview once the scans have completed and the checks have passed.

For more information about GitHub Code Scanning, check out the documentation.

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.

system_tests_grpc is failing on CentOS 9 proton main

2 participants