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

Investigate failing test tests/remote/test_firefox.py::test_tinderbox_scraper #625

Closed
salilmishra23 opened this issue Sep 27, 2022 · 2 comments · Fixed by #627
Closed

Investigate failing test tests/remote/test_firefox.py::test_tinderbox_scraper #625

salilmishra23 opened this issue Sep 27, 2022 · 2 comments · Fixed by #627
Milestone

Comments

@salilmishra23
Copy link
Contributor

salilmishra23 commented Sep 27, 2022

The test is currently skipped as for some arguments the request timeout (Given enough time it returns HTTP 504).

Logs - https://github.com/mozilla/mozdownload/actions/runs/3041139681/jobs/4897959420#step:5:362

Failing arguments -

{'branch': 'mozilla-central', 'platform': 'linux64'},
{'branch': 'mozilla-central', 'platform': 'win32'},
{'branch': 'mozilla-central', 'platform': 'win64'},

Link to the test -

@pytest.mark.skip(reason="https://github.com/mozilla/mozdownload/issues/625")

@whimboo whimboo added this to the 1.27.0 milestone Sep 27, 2022
@whimboo
Copy link
Contributor

whimboo commented Sep 27, 2022

The problem can be seen as well when manually opening the affected folders:

It's happening because there are basically too many builds in those directories. And at the end cloudflare fails with a 504 ERROR. As such I would suggest that we use beta or even release tinderbox builds instead for which the number of builds is way lesser.

@whimboo
Copy link
Contributor

whimboo commented Sep 27, 2022

I've done some testing locally with the following results:

When using mozilla-beta:

tests/remote/test_firefox.py::test_tinderbox_scraper[args0] PASSED                                                                                            [  2%]
tests/remote/test_firefox.py::test_tinderbox_scraper[args1] PASSED                                                                                            [  4%]
tests/remote/test_firefox.py::test_tinderbox_scraper[args2] PASSED                                                                                            [  6%]
tests/remote/test_firefox.py::test_tinderbox_scraper[args3] PASSED                                                                                            [  8%]
tests/remote/test_firefox.py::test_tinderbox_scraper[args4] FAILED                                                                                            [ 10%]
tests/remote/test_firefox.py::test_tinderbox_scraper[args5] PASSED                                                                                            [ 12%]
tests/remote/test_firefox.py::test_tinderbox_scraper[args6] PASSED                                                                                            [ 14%]
tests/remote/test_firefox.py::test_tinderbox_scraper[args7] FAILED

When using mozilla-release:

tests/remote/test_firefox.py::test_tinderbox_scraper[args0] PASSED                                                                                            [  2%]
tests/remote/test_firefox.py::test_tinderbox_scraper[args1] PASSED                                                                                            [  4%]
tests/remote/test_firefox.py::test_tinderbox_scraper[args2] PASSED                                                                                            [  6%]
tests/remote/test_firefox.py::test_tinderbox_scraper[args3] PASSED                                                                                            [  8%]
tests/remote/test_firefox.py::test_tinderbox_scraper[args4] PASSED                                                                                            [ 10%]
tests/remote/test_firefox.py::test_tinderbox_scraper[args5] PASSED                                                                                            [ 12%]
tests/remote/test_firefox.py::test_tinderbox_scraper[args6] PASSED                                                                                            [ 14%]
tests/remote/test_firefox.py::test_tinderbox_scraper[args7] PASSED

I do not really see a benefit in having to use mozilla-central builds here given that we haven't had a naming change of binaries for a very long time. Also if one would come up we will be informed right in time.

As such I will provide a patch that changes the parameterization of the tests from mozilla-central to mozilla-release.

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

Successfully merging a pull request may close this issue.

2 participants