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

Flaky test failure in blacklist(?) - investigation needed #1781

Closed
ghost opened this issue Apr 4, 2019 · 1 comment
Closed

Flaky test failure in blacklist(?) - investigation needed #1781

ghost opened this issue Apr 4, 2019 · 1 comment

Comments

@ghost
Copy link

ghost commented Apr 4, 2019

There appears to be a flaky build failure in the blacklist test:

============================ test session starts ==============================
platform linux2 -- Python 2.7.6, pytest-4.4.0, py-1.8.0, pluggy-0.9.0
cachedir: .tox/py27/.pytest_cache
rootdir: /home/travis/build/kivy/python-for-android
collected 37 items                                                             
tests/test_androidmodule_ctypes_finder.py ...                            [  8%]
tests/test_graph.py ..........F.................                         [ 83%]
tests/test_logger.py .                                                   [ 86%]
tests/test_recipe.py ...                                                 [ 94%]
tests/recipes/test_gevent.py .                                           [ 97%]
tests/recipes/test_reportlab.py .                                        [100%]
=================================== FAILURES ===================================
________________________________ test_blacklist ________________________________
    def test_blacklist():
        # First, get order without blacklist:
        build_order, python_modules, bs = get_recipe_order_and_bootstrap(
            ctx, ["python3", "kivy"], None
        )
        # Now, obtain again with blacklist:
        build_order_2, python_modules_2, bs_2 = get_recipe_order_and_bootstrap(
            ctx, ["python3", "kivy"], None, blacklist=["libffi"]
        )
        assert "libffi" not in build_order_2
>       assert set(build_order_2).union({"libffi"}) == set(build_order)
E       AssertionError: assert set(['android...yjnius', ...]) == set(['android'...penssl', ...])
E         Extra items in the right set:
E         'genericndkbuild'
E         Use -v to get the full diff

My guess is that get_recipe_order_and_bootstrap sometimes picks another bootstrap as default even though it shouldn't. I'll have to look into it, I'm making this ticket mainly so I don't forget

@ghost ghost self-assigned this Apr 4, 2019
@Julian-O
Copy link
Contributor

Closing as believed fixed.

If it still happens, please let us know.

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

No branches or pull requests

1 participant