Re: pytest: 3 minutes gap or long single test runtime

2023-09-14 Thread Rainer Jung

Am 14.09.23 um 07:44 schrieb Stefan Eissing via dev:




Am 13.09.2023 um 22:14 schrieb Rainer Jung :

Hi all,

when running the current pytest, I see a gap between two specific test outputs 
of more than three minutes:

...
13.09.2023 21:47:46.220943 
modules/http2/test_712_buffering.py::TestBuffering::test_h2_712_03 PASSED [ 39%]
13.09.2023 21:50:55.456457 
modules/md/test_001_store.py::TestStore::test_md_001_001 PASSED [ 39%]
...

I assume the lines are written at the end of the respective test, so either 
modules/md/test_001_store.py::TestStore::test_md_001_001 takes so long, or the 
teardown after the test before it or startup befor thos test.

Before I try to investigate more: is this happening only here, or does someone 
else also see this?


I do not see any noticeable delay in starting the mod_md tests on my machine. 
The gap you see indicate to a startup problem, maybe until pebble starts 
responding?


Thank you very much for checking. I will investigate.




Re: pytest: 3 minutes gap or long single test runtime

2023-09-13 Thread Stefan Eissing via dev



> Am 13.09.2023 um 22:14 schrieb Rainer Jung :
> 
> Hi all,
> 
> when running the current pytest, I see a gap between two specific test 
> outputs of more than three minutes:
> 
> ...
> 13.09.2023 21:47:46.220943 
> modules/http2/test_712_buffering.py::TestBuffering::test_h2_712_03 PASSED [ 
> 39%]
> 13.09.2023 21:50:55.456457 
> modules/md/test_001_store.py::TestStore::test_md_001_001 PASSED [ 39%]
> ...
> 
> I assume the lines are written at the end of the respective test, so either 
> modules/md/test_001_store.py::TestStore::test_md_001_001 takes so long, or 
> the teardown after the test before it or startup befor thos test.
> 
> Before I try to investigate more: is this happening only here, or does 
> someone else also see this?

I do not see any noticeable delay in starting the mod_md tests on my machine. 
The gap you see indicate to a startup problem, maybe until pebble starts 
responding?

> 
> Thanks and regards,
> 
> Rainer



pytest: 3 minutes gap or long single test runtime

2023-09-13 Thread Rainer Jung

Hi all,

when running the current pytest, I see a gap between two specific test 
outputs of more than three minutes:


...
13.09.2023 21:47:46.220943 
modules/http2/test_712_buffering.py::TestBuffering::test_h2_712_03 
PASSED [ 39%]
13.09.2023 21:50:55.456457 
modules/md/test_001_store.py::TestStore::test_md_001_001 PASSED 
[ 39%]

...

I assume the lines are written at the end of the respective test, so 
either modules/md/test_001_store.py::TestStore::test_md_001_001 takes so 
long, or the teardown after the test before it or startup befor thos test.


Before I try to investigate more: is this happening only here, or does 
someone else also see this?


Thanks and regards,

Rainer