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

Unstable 232 retro tests #2090

Open
3 tasks done
PProfizi opened this issue Feb 17, 2025 · 0 comments
Open
3 tasks done

Unstable 232 retro tests #2090

PProfizi opened this issue Feb 17, 2025 · 0 comments
Assignees
Labels
bug Something isn't working CI/CD Related to CI/CD

Comments

@PProfizi
Copy link
Contributor

Before submitting the issue

  • I have checked for Compatibility issues
  • I have searched among the existing issues
  • I am using a Python virtual environment

Description of the bug

Several PRs have seen failures on 232 ubuntu due to bad port in use detection.
It is a known issue that is some specific contexts (for example on Ubuntu for 232), the automatic free port detection fails due to ports used by a server shutting down being reported as free while they are not yet free.
It is not usually an issue, but during testing as in the pipelines, this creates random failures such as here:
#1944

We need to improve stability of the test job by adding fixtures in dedicated test modules to improve server port management. Basically handling port assignment manually rather than automatically.

Steps To Reproduce

E0108 13:38:01.093852653    7465 server_chttp2.cc:40]        {"created":"@1736343481.093828528","description":"No address added out of total 1 resolved","file":"/home/staff/kkripa/tfsagent/_work/20/b/.conan/data/grpc_base/1.25.0/thirdparty/stable/build/1036933dfdff90461d4bf4154f59e6aa78392d87/grpc/src/core/ext/transport/chttp2/server/chttp2_server.cc","file_line":394,"referenced_errors":[{"created":"@1736343481.093822727","description":"Unable to configure socket","fd":25,"file":"/home/staff/kkripa/tfsagent/_work/20/b/.conan/data/grpc_base/1.25.0/thirdparty/stable/build/1036933dfdff90461d4bf4154f59e6aa78392d87/grpc/src/core/lib/iomgr/tcp_server_utils_posix_common.cc","file_line":208,"referenced_errors":[{"created":"@1736343481.093818479","description":"Address already in use","errno":98,"file":"/home/staff/kkripa/tfsagent/_work/20/b/.conan/data/grpc_base/1.25.0/thirdparty/stable/build/1036933dfdff90461d4bf4154f59e6aa78392d87/grpc/src/core/lib/iomgr/tcp_server_utils_posix_common.cc","file_line":181,"os_error":"Address already in use","syscall":"bind"}]}]}
Fatal Python error: Segmentation fault

Which Operating System causes the issue?

Linux

Which DPF/Ansys version are you using?

Ansys 2023 R2

Which Python version causes the issue?

3.9

Installed packages

NA

@PProfizi PProfizi added the bug Something isn't working label Feb 17, 2025
@PProfizi PProfizi self-assigned this Feb 17, 2025
@PProfizi PProfizi added the CI/CD Related to CI/CD label Feb 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working CI/CD Related to CI/CD
Projects
None yet
Development

No branches or pull requests

1 participant