ansys / pyedb

pyedb is a Python library to use the EDB client library.
https://edb.docs.pyansys.com/
MIT License
7 stars 4 forks source link

test_nets_dc_shorts is failing randomly in unittest #644

Open ring630 opened 2 months ago

ring630 commented 2 months ago

Before submitting the issue

Description of the bug

test_nets_dc_shorts is failing randomly in unittest. @svandenb-dev @SMoraisAnsys

Steps To Reproduce

run uniitest test_nets_dc_shorts

Which Operating System are you using?

Windows

Which Python version are you using?

3.7

Installed packages

all

SMoraisAnsys commented 2 months ago

@ring630 Can you link a CI failure so that we can see if there are any external stuff involved ?

ring630 commented 2 months ago

@ring630 Can you link a CI failure so that we can see if there are any external stuff involved ?

@SMoraisAnsys Ok. I will do it when it happens again.

ring630 commented 1 month ago

@SMoraisAnsys here is an example

=========================== short test summary info =========================== FAILED tests/legacy/system/test_edb_nets.py::TestClass::test_nets_dc_shorts = 1 failed, 279 passed, 6 skipped, 1 xpassed, 1 warning in 604.06s (0:10:04) == Warning: Attempt 1 failed. Reason: Child_process exited with error code 1 ============================= test session starts =============================

https://github.com/ansys/pyedb/actions/runs/9857904581/job/27218002403

ring630 commented 1 month ago

================================== FAILURES =================================== ____ tests/legacy/system/test_edbnets.py ____ [gw5] win32 -- Python 3.10.11 C:\actions-runner_work\pyedb\pyedb.venv\Scripts\python.exe worker 'gw5' crashed while running 'tests/legacy/system/test_edb_nets.py::TestClass::test_nets_dc_shorts'

@SMoraisAnsys, worker crashed. Lack of memory maybe?

https://github.com/ansys/pyedb/actions/runs/10244201740/job/28336767363

SMoraisAnsys commented 1 month ago

================================== FAILURES =================================== ____ tests/legacy/system/test_edbnets.py ____ [gw5] win32 -- Python 3.10.11 C:\actions-runner_work\pyedb\pyedb.venv\Scripts\python.exe worker 'gw5' crashed while running 'tests/legacy/system/test_edb_nets.py::TestClass::test_nets_dc_shorts'

@SMoraisAnsys, worker crashed. Lack of memory maybe?

https://github.com/ansys/pyedb/actions/runs/10244201740/job/28336767363

I'll have a look but I just installed 24.2 and we had plenty of memory space, I cleared the VMs