pytest-dev / pytest

The pytest framework makes it easy to write small tests, yet scales to support complex functional testing
https://pytest.org
MIT License
11.9k stars 2.65k forks source link

use vdbench tool run long time IO test, io break off #10153

Closed linglingfa1212 closed 1 year ago

linglingfa1212 commented 2 years ago

Hi Devs, Recently, i an in trouble. In my scenario, i got IO test break off issue. I ran 7*24 disk IO test in linux server by vdbench, and it worked well. But if i start vdbench tool commander in pytest, the IO test always break off after about 48 hours later. So what's the root issue? I troubleshoot several ways to find the root issue, but all ways not work. During IO test, i sometimes login to the server to see the io report and io process for keeping it work well. But sometimes checked the io process like flow: image Only main vdbench proces alived, slave process were dead. And then, i checked pytest process. image

Zac-HD commented 2 years ago

Can you reproduce this without vdbench? Have you reported this to vdbench?

As a volunteer open-source project, Pytest devs do not have the resources to help unless you can clearly identify a problem in pytest itself.

linglingfa1212 commented 2 years ago

Can you reproduce this without vdbench? Have you reported this to vdbench?

As a volunteer open-source project, Pytest devs do not have the resources to help unless you can clearly identify a problem in pytest itself.

Hi zac, i ran vdbench command on linux server without pytest. The IO test work well. One scenario, i run pytest commander, and code is like this: image 1658201886339 And this issue appeard. The second scenario, i directly ran vdbench command on linux server like this: /root/vdbench/vdbench -f /root/vdbench/vd_config -jn -o /root/vdbench/output -vr IO test works well during 7*24 hours. I think is there some sets like timeout or others, break off the IO?

Zac-HD commented 1 year ago

Closing as stale; maybe try StackOverflow?