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

The test test_create_torrent_two_files freezes the test suite on Ubuntu #7508

Closed
drew2a opened this issue Jun 27, 2023 · 3 comments
Closed

Comments

@drew2a
Copy link
Contributor

drew2a commented Jun 27, 2023

See: https://github.com/Tribler/tribler/actions/runs/5388219592/jobs/9780578427?pr=7507#step:6:942

09:39:19.820 Starting "test_get_stats_zero_hop_session"...
src/tribler/core/components/libtorrent/restapi/tests/test_libtorrent_endpoint.py::test_get_stats_zero_hop_session PASSED [ 36%] in 0.034s (37 seconds in total)
09:39:19.854 Starting "test_commonprefix"...
src/tribler/core/utilities/tests/test_torrent_utils.py::test_commonprefix PASSED [ 36%] in 0.014s (37 seconds in total)
09:39:19.868 Starting "test_create_torrent_two_files"...
Error: The action has timed out.

This issue is a part of #7495

@drew2a drew2a changed the title The test test_create_torrent_two_files freezes the test suite The test test_create_torrent_two_files freezes the test suite on Ubuntu Jun 27, 2023
@drew2a
Copy link
Contributor Author

drew2a commented Jun 27, 2023

I can not reproduce the issue on macOS.

@drew2a
Copy link
Contributor Author

drew2a commented Jun 27, 2023

@xoriole, would you be able to execute this test on Ubuntu, perhaps between 100 and 1000 times, to see if it hangs? Your assistance would be much appreciated.

@xoriole
Copy link
Contributor

xoriole commented Jun 27, 2023

@drew2a I just ran the test 1000 times. It passes successfully on my Ubuntu 22.04 machine. I also executed the test on a docker container to emulate Github actions machine and it passes successfully there too.

Here is the summary for 100 executions.

src/tribler/core/utilities/tests/test_torrent_utils.py::test_create_torrent_two_files[49-100] PASSED in 0.029s
src/tribler/core/utilities/tests/test_torrent_utils.py::test_create_torrent_two_files[4-100] PASSED in 0.002s
src/tribler/core/utilities/tests/test_torrent_utils.py::test_create_torrent_two_files[85-100] PASSED in 0.002s
src/tribler/core/utilities/tests/test_torrent_utils.py::test_create_torrent_two_files[54-100] PASSED in 0.002s
src/tribler/core/utilities/tests/test_torrent_utils.py::test_create_torrent_two_files[23-100] PASSED in 0.001s
src/tribler/core/utilities/tests/test_torrent_utils.py::test_create_torrent_two_files[39-100] PASSED in 0.002s
src/tribler/core/utilities/tests/test_torrent_utils.py::test_create_torrent_two_files[2-100] PASSED in 0.001s
src/tribler/core/utilities/tests/test_torrent_utils.py::test_create_torrent_two_files[62-100] PASSED in 0.001s
src/tribler/core/utilities/tests/test_torrent_utils.py::test_create_torrent_two_files[61-100] PASSED in 0.001s
src/tribler/core/utilities/tests/test_torrent_utils.py::test_create_torrent_two_files[6-100] PASSED in 0.001s
src/tribler/core/utilities/tests/test_torrent_utils.py::test_create_torrent_two_files[75-100] PASSED in 0.002s
src/tribler/core/utilities/tests/test_torrent_utils.py::test_create_torrent_two_files[80-100] PASSED in 0.001s
src/tribler/core/utilities/tests/test_torrent_utils.py::test_create_torrent_two_files[90-100] PASSED in 0.002s
src/tribler/core/utilities/tests/test_torrent_utils.py::test_create_torrent_two_files[30-100] PASSED in 0.002s
src/tribler/core/utilities/tests/test_torrent_utils.py::test_create_torrent_two_files[28-100] PASSED in 0.002s
src/tribler/core/utilities/tests/test_torrent_utils.py::test_create_torrent_two_files[34-100] PASSED in 0.002s
src/tribler/core/utilities/tests/test_torrent_utils.py::test_create_torrent_two_files[96-100] PASSED in 0.002s
src/tribler/core/utilities/tests/test_torrent_utils.py::test_create_torrent_two_files[70-100] PASSED in 0.002s
src/tribler/core/utilities/tests/test_torrent_utils.py::test_create_torrent_two_files[36-100] PASSED in 0.002s
src/tribler/core/utilities/tests/test_torrent_utils.py::test_create_torrent_two_files[33-100] PASSED in 0.002s
src/tribler/core/utilities/tests/test_torrent_utils.py::test_create_torrent_two_files[73-100] PASSED in 0.002s
src/tribler/core/utilities/tests/test_torrent_utils.py::test_create_torrent_two_files[67-100] PASSED in 0.001s
src/tribler/core/utilities/tests/test_torrent_utils.py::test_create_torrent_two_files[72-100] PASSED in 0.002s
src/tribler/core/utilities/tests/test_torrent_utils.py::test_create_torrent_two_files[19-100] PASSED in 0.002s
src/tribler/core/utilities/tests/test_torrent_utils.py::test_create_torrent_two_files[20-100] PASSED in 0.002s
src/tribler/core/utilities/tests/test_torrent_utils.py::test_create_torrent_two_files[68-100] PASSED in 0.002s
src/tribler/core/utilities/tests/test_torrent_utils.py::test_create_torrent_two_files[91-100] PASSED in 0.002s
src/tribler/core/utilities/tests/test_torrent_utils.py::test_create_torrent_two_files[100-100] PASSED in 0.002s
src/tribler/core/utilities/tests/test_torrent_utils.py::test_create_torrent_two_files[93-100] PASSED in 0.001s
src/tribler/core/utilities/tests/test_torrent_utils.py::test_create_torrent_two_files[31-100] PASSED in 0.002s
src/tribler/core/utilities/tests/test_torrent_utils.py::test_create_torrent_two_files[41-100] PASSED in 0.001s
src/tribler/core/utilities/tests/test_torrent_utils.py::test_create_torrent_two_files[78-100] PASSED in 0.002s
src/tribler/core/utilities/tests/test_torrent_utils.py::test_create_torrent_two_files[64-100] PASSED in 0.002s
src/tribler/core/utilities/tests/test_torrent_utils.py::test_create_torrent_two_files[3-100] PASSED in 0.001s
src/tribler/core/utilities/tests/test_torrent_utils.py::test_create_torrent_two_files[25-100] PASSED in 0.002s
src/tribler/core/utilities/tests/test_torrent_utils.py::test_create_torrent_two_files[81-100] PASSED in 0.002s
src/tribler/core/utilities/tests/test_torrent_utils.py::test_create_torrent_two_files[55-100] PASSED in 0.002s
src/tribler/core/utilities/tests/test_torrent_utils.py::test_create_torrent_two_files[88-100] PASSED in 0.002s
src/tribler/core/utilities/tests/test_torrent_utils.py::test_create_torrent_two_files[56-100] PASSED in 0.001s
src/tribler/core/utilities/tests/test_torrent_utils.py::test_create_torrent_two_files[8-100] PASSED in 0.002s
src/tribler/core/utilities/tests/test_torrent_utils.py::test_create_torrent_two_files[47-100] PASSED in 0.002s
src/tribler/core/utilities/tests/test_torrent_utils.py::test_create_torrent_two_files[89-100] PASSED in 0.002s
src/tribler/core/utilities/tests/test_torrent_utils.py::test_create_torrent_two_files[82-100] PASSED in 0.002s
src/tribler/core/utilities/tests/test_torrent_utils.py::test_create_torrent_two_files[98-100] PASSED in 0.002s
src/tribler/core/utilities/tests/test_torrent_utils.py::test_create_torrent_two_files[86-100] PASSED in 0.002s
src/tribler/core/utilities/tests/test_torrent_utils.py::test_create_torrent_two_files[79-100] PASSED in 0.002s
src/tribler/core/utilities/tests/test_torrent_utils.py::test_create_torrent_two_files[53-100] PASSED in 0.002s
src/tribler/core/utilities/tests/test_torrent_utils.py::test_create_torrent_two_files[11-100] PASSED in 0.002s
src/tribler/core/utilities/tests/test_torrent_utils.py::test_create_torrent_two_files[76-100] PASSED in 0.002s
src/tribler/core/utilities/tests/test_torrent_utils.py::test_create_torrent_two_files[10-100] PASSED in 0.002s
src/tribler/core/utilities/tests/test_torrent_utils.py::test_create_torrent_two_files[32-100] PASSED in 0.001s
src/tribler/core/utilities/tests/test_torrent_utils.py::test_create_torrent_two_files[24-100] PASSED in 0.002s
src/tribler/core/utilities/tests/test_torrent_utils.py::test_create_torrent_two_files[63-100] PASSED in 0.001s
src/tribler/core/utilities/tests/test_torrent_utils.py::test_create_torrent_two_files[94-100] PASSED in 0.001s
src/tribler/core/utilities/tests/test_torrent_utils.py::test_create_torrent_two_files[95-100] PASSED in 0.002s
src/tribler/core/utilities/tests/test_torrent_utils.py::test_create_torrent_two_files[27-100] PASSED in 0.001s
src/tribler/core/utilities/tests/test_torrent_utils.py::test_create_torrent_two_files[51-100] PASSED in 0.002s
src/tribler/core/utilities/tests/test_torrent_utils.py::test_create_torrent_two_files[22-100] PASSED in 0.002s
src/tribler/core/utilities/tests/test_torrent_utils.py::test_create_torrent_two_files[92-100] PASSED in 0.001s
src/tribler/core/utilities/tests/test_torrent_utils.py::test_create_torrent_two_files[42-100] PASSED in 0.002s
src/tribler/core/utilities/tests/test_torrent_utils.py::test_create_torrent_two_files[74-100] PASSED in 0.002s
src/tribler/core/utilities/tests/test_torrent_utils.py::test_create_torrent_two_files[13-100] PASSED in 0.002s
src/tribler/core/utilities/tests/test_torrent_utils.py::test_create_torrent_two_files[99-100] PASSED in 0.002s
src/tribler/core/utilities/tests/test_torrent_utils.py::test_create_torrent_two_files[59-100] PASSED in 0.002s
src/tribler/core/utilities/tests/test_torrent_utils.py::test_create_torrent_two_files[84-100] PASSED in 0.001s
src/tribler/core/utilities/tests/test_torrent_utils.py::test_create_torrent_two_files[65-100] PASSED in 0.001s
src/tribler/core/utilities/tests/test_torrent_utils.py::test_create_torrent_two_files[5-100] PASSED in 0.002s
src/tribler/core/utilities/tests/test_torrent_utils.py::test_create_torrent_two_files[66-100] PASSED in 0.001s
src/tribler/core/utilities/tests/test_torrent_utils.py::test_create_torrent_two_files[1-100] PASSED in 0.002s
src/tribler/core/utilities/tests/test_torrent_utils.py::test_create_torrent_two_files[15-100] PASSED in 0.002s
src/tribler/core/utilities/tests/test_torrent_utils.py::test_create_torrent_two_files[43-100] PASSED in 0.002s
src/tribler/core/utilities/tests/test_torrent_utils.py::test_create_torrent_two_files[60-100] PASSED in 0.002s
src/tribler/core/utilities/tests/test_torrent_utils.py::test_create_torrent_two_files[50-100] PASSED in 0.002s
src/tribler/core/utilities/tests/test_torrent_utils.py::test_create_torrent_two_files[77-100] PASSED in 0.002s
src/tribler/core/utilities/tests/test_torrent_utils.py::test_create_torrent_two_files[17-100] PASSED in 0.002s
src/tribler/core/utilities/tests/test_torrent_utils.py::test_create_torrent_two_files[35-100] PASSED in 0.001s
src/tribler/core/utilities/tests/test_torrent_utils.py::test_create_torrent_two_files[40-100] PASSED in 0.002s
src/tribler/core/utilities/tests/test_torrent_utils.py::test_create_torrent_two_files[46-100] PASSED in 0.001s
src/tribler/core/utilities/tests/test_torrent_utils.py::test_create_torrent_two_files[57-100] PASSED in 0.002s
src/tribler/core/utilities/tests/test_torrent_utils.py::test_create_torrent_two_files[16-100] PASSED in 0.002s
src/tribler/core/utilities/tests/test_torrent_utils.py::test_create_torrent_two_files[44-100] PASSED in 0.002s
src/tribler/core/utilities/tests/test_torrent_utils.py::test_create_torrent_two_files[48-100] PASSED in 0.002s
src/tribler/core/utilities/tests/test_torrent_utils.py::test_create_torrent_two_files[37-100] PASSED in 0.002s
src/tribler/core/utilities/tests/test_torrent_utils.py::test_create_torrent_two_files[87-100] PASSED in 0.002s
src/tribler/core/utilities/tests/test_torrent_utils.py::test_create_torrent_two_files[12-100] PASSED in 0.002s
src/tribler/core/utilities/tests/test_torrent_utils.py::test_create_torrent_two_files[7-100] PASSED in 0.002s
src/tribler/core/utilities/tests/test_torrent_utils.py::test_create_torrent_two_files[14-100] PASSED in 0.001s
src/tribler/core/utilities/tests/test_torrent_utils.py::test_create_torrent_two_files[97-100] PASSED in 0.001s
src/tribler/core/utilities/tests/test_torrent_utils.py::test_create_torrent_two_files[83-100] PASSED in 0.002s
src/tribler/core/utilities/tests/test_torrent_utils.py::test_create_torrent_two_files[21-100] PASSED in 0.001s
src/tribler/core/utilities/tests/test_torrent_utils.py::test_create_torrent_two_files[18-100] PASSED in 0.001s
src/tribler/core/utilities/tests/test_torrent_utils.py::test_create_torrent_two_files[52-100] PASSED in 0.002s
src/tribler/core/utilities/tests/test_torrent_utils.py::test_create_torrent_two_files[58-100] PASSED in 0.002s
src/tribler/core/utilities/tests/test_torrent_utils.py::test_create_torrent_two_files[69-100] PASSED in 0.002s
src/tribler/core/utilities/tests/test_torrent_utils.py::test_create_torrent_two_files[45-100] PASSED in 0.002s
src/tribler/core/utilities/tests/test_torrent_utils.py::test_create_torrent_two_files[38-100] PASSED in 0.002s
src/tribler/core/utilities/tests/test_torrent_utils.py::test_create_torrent_two_files[29-100] PASSED in 0.002s
src/tribler/core/utilities/tests/test_torrent_utils.py::test_create_torrent_two_files[71-100] PASSED in 0.002s
src/tribler/core/utilities/tests/test_torrent_utils.py::test_create_torrent_two_files[26-100] PASSED in 0.001s
src/tribler/core/utilities/tests/test_torrent_utils.py::test_create_torrent_two_files[9-100] PASSED in 0.004s

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants