{"action":"created","issue":{"url":"https://api.github.com/repos/bokeh/bokeh/issues/4450","repository_url":"https://api.github.com/repos/bokeh/bokeh","labels_url":"https://api.github.com/repos/bokeh/bokeh/issues/4450/labels{/name}","comments_url":"https://api.github.com/repos/bokeh/bokeh/issues/4450/comments","events_url":"https://api.github.com/repos/bokeh/bokeh/issues/4450/events","html_url":"https://github.com/bokeh/bokeh/issues/4450","id":158737698,"number":4450,"title":"Test failures and error on py 3.4 with bokeh 0.11.1","user":{"login":"bsipocz","id":6788290,"avatar_url":"https://avatars.githubusercontent.com/u/6788290?v=3","gravatar_id":"","url":"https://api.github.com/users/bsipocz","html_url":"https://github.com/bsipocz","followers_url":"https://api.github.com/users/bsipocz/followers","following_url":"https://api.github.com/users/bsipocz/following{/other_user}","gists_url":"https://api.github.com/users/bsipocz/gists{/gist_id}","starred_url":"https://api.github.com/users/bsipocz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bsipocz/subscriptions","organizations_url":"https://api.github.com/users/bsipocz/orgs","repos_url":"https://api.github.com/users/bsipocz/repos","events_url":"https://api.github.com/users/bsipocz/events{/privacy}","received_events_url":"https://api.github.com/users/bsipocz/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/bokeh/bokeh/labels/tag:%20component:%20tests","name":"tag: component: tests","color":"D0CBB8"},{"url":"https://api.github.com/repos/bokeh/bokeh/labels/type:%20task","name":"type: task","color":"872A50"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-06-06T18:01:24Z","updated_at":"2016-06-06T18:23:20Z","closed_at":null,"body":"I had some problem with an old notebook of mine when running it on py3 (still works with py2). However running the tests also shows various errors and failures. I wonder whether this is something trivially wrong in my setup?\r\n\r\nDoing the same exercise on py2.7 passes the tests (though the numbers don't add up the number of items collected) except it also returns the same InternalError. \r\n\r\n```\r\nbsipocz@tegla2:~$ python3 -c 'import bokeh; bokeh.test();'\r\n============================= test session starts ==============================\r\nplatform darwin -- Python 3.4.4, pytest-2.9.1, py-1.4.31, pluggy-0.3.1\r\nrootdir: /sw/lib/python3.4/site-packages/bokeh, inifile: \r\nplugins: cov-2.2.0, html-1.8.0, selenium-1.2.1, variables-1.4, xdist-1.14\r\ncollected 652 items / 6 errors \r\n\r\napplication/handlers/tests/test_code.py ....\r\napplication/handlers/tests/test_directory.py ....\r\napplication/handlers/tests/test_function.py ..\r\napplication/handlers/tests/test_notebook.py .\r\napplication/handlers/tests/test_script.py .\r\napplication/handlers/tests/test_server_lifecycle.py ........\r\napplication/tests/test_application.py ...\r\ncharts/builders/tests/test_bar_builder.py ...\r\ncharts/builders/tests/test_boxplot_builder.py .\r\ncharts/builders/tests/test_histogram_builder.py .\r\ncharts/builders/tests/test_line_builder.py ...\r\ncharts/builders/tests/test_scatter_builder.py .\r\ncharts/tests/test_attributes.py ......\r\ncharts/tests/test_builder.py ...\r\ncharts/tests/test_chart_utils.py ........\r\ncharts/tests/test_comp_glyphs.py .......\r\ncharts/tests/test_data_source.py ..........\r\ncharts/tests/test_stats.py ...\r\ncommand/subcommands/tests/test_html.py ........\r\ncommand/subcommands/tests/test_info.py ......\r\ncommand/subcommands/tests/test_json.py ........\r\ncommand/subcommands/tests/test_sampledata.py .....\r\ncommand/subcommands/tests/test_secret.py .....\r\ncommand/subcommands/tests/test_serve.py .....\r\ncommand/subcommands/tests/test_subcommands_package.py ...\r\ncommand/tests/test_bootstrap.py ...\r\ncommand/tests/test_command_package.py .\r\ncommand/tests/test_util.py ..\r\ncore/tests/test_json_encoder.py .............\r\ncore/tests/test_properties.py ...................................................................\r\ncore/tests/test_query.py .........\r\nmodels/tests/test_annotations.py .........\r\nmodels/tests/test_callbacks.py .F\r\nmodels/tests/test_glyphs.py ..................................................................................................\r\nmodels/tests/test_ranges.py ...............\r\nmodels/tests/test_renderers.py ..\r\nmodels/tests/test_sources.py ............\r\nplotting/tests/test_figure.py ..............\r\nserver/protocol/messages/tests/test_patch_doc.py ...\r\nserver/protocol/messages/tests/test_pull_doc.py ...\r\nserver/protocol/messages/tests/test_push_doc.py ..\r\nserver/protocol/tests/test_message.py .\r\nserver/protocol/tests/test_receiver.py ..\r\nserver/protocol/tests/test_versions.py ..\r\nserver/tests/test_server.py ....................\r\nserver/tests/test_tornado.py .......\r\ntests/test_bokeh_init.py ...\r\ntests/test_client_server.py .FFFFFFFFFFFFFFFFFFFFFFFFF\r\ntests/test_colors.py ....................\r\ntests/test_document.py .........................................\r\ntests/test_driving.py ......\r\ntests/test_layouts.py ......\r\ntests/test_main_module.py F\r\ntests/test_objects.py ................................................\r\ntests/test_resources.py .............FF....\r\ntests/test_server.py FF\r\ntests/test_themes.py ..F...F.......\r\ntests/test_widgets.py ......\r\nutil/tests/test_callback_manager.py ....................\r\nutil/tests/test_dependencies.py .\r\nINTERNALERROR> Traceback (most recent call last):\r\nINTERNALERROR>   File \"/sw/lib/python3.4/site-packages/_pytest/main.py\", line 94, in wrap_session\r\nINTERNALERROR>   File \"/sw/lib/python3.4/site-packages/_pytest/main.py\", line 125, in _main\r\nINTERNALERROR>   File \"/sw/lib/python3.4/site-packages/_pytest/vendored_packages/pluggy.py\", line 724, in __call__\r\nINTERNALERROR>   File \"/sw/lib/python3.4/site-packages/_pytest/vendored_packages/pluggy.py\", line 338, in _hookexec\r\nINTERNALERROR>   File \"/sw/lib/python3.4/site-packages/_pytest/vendored_packages/pluggy.py\", line 333, in <lambda>\r\nINTERNALERROR>   File \"/sw/lib/python3.4/site-packages/_pytest/vendored_packages/pluggy.py\", line 596, in execute\r\nINTERNALERROR>   File \"/sw/lib/python3.4/site-packages/_pytest/main.py\", line 150, in pytest_runtestloop\r\nINTERNALERROR>   File \"/sw/lib/python3.4/site-packages/_pytest/vendored_packages/pluggy.py\", line 724, in __call__\r\nINTERNALERROR>   File \"/sw/lib/python3.4/site-packages/_pytest/vendored_packages/pluggy.py\", line 338, in _hookexec\r\nINTERNALERROR>   File \"/sw/lib/python3.4/site-packages/_pytest/vendored_packages/pluggy.py\", line 333, in <lambda>\r\nINTERNALERROR>   File \"/sw/lib/python3.4/site-packages/_pytest/vendored_packages/pluggy.py\", line 595, in execute\r\nINTERNALERROR>   File \"/sw/lib/python3.4/site-packages/_pytest/vendored_packages/pluggy.py\", line 253, in _wrapped_call\r\nINTERNALERROR>   File \"/sw/lib/python3.4/site-packages/_pytest/vendored_packages/pluggy.py\", line 278, in get_result\r\nINTERNALERROR>   File \"/sw/lib/python3.4/site-packages/_pytest/vendored_packages/pluggy.py\", line 264, in __init__\r\nINTERNALERROR>   File \"/sw/lib/python3.4/site-packages/_pytest/vendored_packages/pluggy.py\", line 596, in execute\r\nINTERNALERROR>   File \"/sw/lib/python3.4/site-packages/_pytest/runner.py\", line 66, in pytest_runtest_protocol\r\nINTERNALERROR>   File \"/sw/lib/python3.4/site-packages/_pytest/runner.py\", line 76, in runtestprotocol\r\nINTERNALERROR>   File \"/sw/lib/python3.4/site-packages/_pytest/runner.py\", line 122, in call_and_report\r\nINTERNALERROR>   File \"/sw/lib/python3.4/site-packages/_pytest/vendored_packages/pluggy.py\", line 724, in __call__\r\nINTERNALERROR>   File \"/sw/lib/python3.4/site-packages/_pytest/vendored_packages/pluggy.py\", line 338, in _hookexec\r\nINTERNALERROR>   File \"/sw/lib/python3.4/site-packages/_pytest/vendored_packages/pluggy.py\", line 333, in <lambda>\r\nINTERNALERROR>   File \"/sw/lib/python3.4/site-packages/_pytest/vendored_packages/pluggy.py\", line 595, in execute\r\nINTERNALERROR>   File \"/sw/lib/python3.4/site-packages/_pytest/vendored_packages/pluggy.py\", line 249, in _wrapped_call\r\nINTERNALERROR>   File \"/sw/lib/python3.4/site-packages/pytest_selenium/pytest_selenium.py\", line 137, in pytest_runtest_makereport\r\nINTERNALERROR>   File \"/sw/lib/python3.4/site-packages/_pytest/vendored_packages/pluggy.py\", line 278, in get_result\r\nINTERNALERROR>   File \"/sw/lib/python3.4/site-packages/_pytest/vendored_packages/pluggy.py\", line 264, in __init__\r\nINTERNALERROR>   File \"/sw/lib/python3.4/site-packages/_pytest/vendored_packages/pluggy.py\", line 595, in execute\r\nINTERNALERROR>   File \"/sw/lib/python3.4/site-packages/_pytest/vendored_packages/pluggy.py\", line 249, in _wrapped_call\r\nINTERNALERROR>   File \"/sw/lib/python3.4/site-packages/_pytest/skipping.py\", line 219, in pytest_runtest_makereport\r\nINTERNALERROR>   File \"/sw/lib/python3.4/site-packages/_pytest/vendored_packages/pluggy.py\", line 278, in get_result\r\nINTERNALERROR>   File \"/sw/lib/python3.4/site-packages/_pytest/vendored_packages/pluggy.py\", line 264, in __init__\r\nINTERNALERROR>   File \"/sw/lib/python3.4/site-packages/_pytest/vendored_packages/pluggy.py\", line 596, in execute\r\nINTERNALERROR>   File \"/sw/lib/python3.4/site-packages/_pytest/runner.py\", line 229, in pytest_runtest_makereport\r\nINTERNALERROR>   File \"/sw/lib/python3.4/site-packages/_pytest/python.py\", line 752, in repr_failure\r\nINTERNALERROR>   File \"/sw/lib/python3.4/site-packages/_pytest/python.py\", line 745, in _repr_failure_py\r\nINTERNALERROR>   File \"/sw/lib/python3.4/site-packages/_pytest/main.py\", line 408, in _repr_failure_py\r\nINTERNALERROR>   File \"/sw/lib/python3.4/site-packages/_pytest/_code/code.py\", line 418, in getrepr\r\nINTERNALERROR>   File \"/sw/lib/python3.4/site-packages/_pytest/_code/code.py\", line 598, in repr_excinfo\r\nINTERNALERROR>   File \"/sw/lib/python3.4/site-packages/_pytest/_code/code.py\", line 590, in repr_traceback\r\nINTERNALERROR>   File \"/sw/lib/python3.4/site-packages/_pytest/_code/code.py\", line 557, in repr_traceback_entry\r\nINTERNALERROR>   File \"/sw/lib/python3.4/site-packages/_pytest/_code/code.py\", line 171, in path\r\nINTERNALERROR>   File \"/sw/lib/python3.4/site-packages/_pytest/_code/code.py\", line 38, in path\r\nINTERNALERROR>   File \"/sw/lib/python3.4/site-packages/py/_path/local.py\", line 155, in __init__\r\nINTERNALERROR>   File \"/sw/lib/python3.4/posixpath.py\", line 361, in abspath\r\nINTERNALERROR> OSError: [Errno 24] Too many open files\r\n\r\n====== 33 failed, 576 passed, 1 pytest-warnings, 6 error in 8.89 seconds =======\r\n\r\nbsipocz@tegla2:~$ python3 -c 'import bokeh; print(bokeh.__version__);'\r\n0.11.1\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/bokeh/bokeh/issues/comments/224044287","html_url":"https://github.com/bokeh/bokeh/issues/4450#issuecomment-224044287","issue_url":"https://api.github.com/repos/bokeh/bokeh/issues/4450","id":224044287,"user":{"login":"birdsarah","id":1796208,"avatar_url":"https://avatars.githubusercontent.com/u/1796208?v=3","gravatar_id":"","url":"https://api.github.com/users/birdsarah","html_url":"https://github.com/birdsarah","followers_url":"https://api.github.com/users/birdsarah/followers","following_url":"https://api.github.com/users/birdsarah/following{/other_user}","gists_url":"https://api.github.com/users/birdsarah/gists{/gist_id}","starred_url":"https://api.github.com/users/birdsarah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/birdsarah/subscriptions","organizations_url":"https://api.github.com/users/birdsarah/orgs","repos_url":"https://api.github.com/users/birdsarah/repos","events_url":"https://api.github.com/users/birdsarah/events{/privacy}","received_events_url":"https://api.github.com/users/birdsarah/received_events","type":"User","site_admin":false},"created_at":"2016-06-06T18:23:20Z","updated_at":"2016-06-06T18:23:20Z","body":"http://bokeh.pydata.org/en/dev/docs/dev_guide/testing.html"}}
{"actor":{"display_login":"birdsarah"}}