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

CI failing with test_get_task_stream_save #6312

Open
jakirkham opened this issue May 10, 2022 · 1 comment
Open

CI failing with test_get_task_stream_save #6312

jakirkham opened this issue May 10, 2022 · 1 comment
Labels
flaky test Intermittent failures on CI.

Comments

@jakirkham
Copy link
Member

Seeing a CI failure with test_get_task_stream_save.

@jakirkham jakirkham added the flaky test Intermittent failures on CI. label May 10, 2022
@gjoseph92
Copy link
Collaborator

An example:

__________________________ test_get_task_stream_save ___________________________
client = <Client: 'tcp://127.0.0.1:55878' processes=2 threads=2, memory=28.00 GiB>
tmpdir = '/private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pytest-of-runner/pytest-0/test_get_task_stream_save0'
deftest_get_task_stream_save(client, tmpdir):
        bokeh = pytest.importorskip("bokeh")
        tmpdir = str(tmpdir)
        fn = os.path.join(tmpdir, "foo.html")
with get_task_stream(plot="save", filename=fn) as ts:
            wait(client.map(inc, range(10)))
withopen(fn) as f:
            data = f.read()
>       assert"inc"in data
E       assert 'inc' in '<!DOCTYPE html>\n<html lang="en">\n  <head>\n    <meta charset="utf-8">\n    <title>Dask Task Stream</title>\n    <script type="text/javascript" src="https://cdn.bokeh.org/bokeh/release/bokeh-2.4.3.min.js"></script>\n    <script type="text/javascript">\n        Bokeh.set_log_level("info");\n    </script>\n  </head>\n  <body>\n    <div class="bk-root" id="0ea9f38a-3f95-4a32-b6a0-5f1a945bd183" data-root-id="bk-task-stream-plot"></div>\n  \n    <script type="application/json" id="25003">\n      {"efbd615e-4fa5-4aa1-92fa-dec944bb026b":{"defs":[],"roots":{"references":[{"attributes":{"callback":{"id":"24705"}},"id":"24706","type":"TapTool"},{"attributes":{},"id":"24721","type":"UnionRenderers"},{"attributes":{"data":{"alpha":[],"color":[],"duration":[],"duration_text":[],"key":[],"name":[],"start":[],"worker":[],"worker_thread":[],"y":[]},"selected":{"id":"24722"},"selection_policy":{"id":"24721"}},"id":"24677","type":"ColumnDataSource"},{"attributes":{"callback":null,"point_policy":"follow_mouse","tooltips":"\\n            &lt;div&gt;\\n                &lt;span style=\\"font-size: 12px; font-weight: bold;\\"&gt;@name:&lt;/span&gt;&amp;nbsp;\\n                &lt;span style=\\"font-s...t;\n              const render_items = [{"docid":"efbd615e-4fa5-4aa1-92fa-dec944bb026b","root_ids":["bk-task-stream-plot"],"roots":{"bk-task-stream-plot":"0ea9f38a-3f95-4a32-b6a0-5f1a945bd183"}}];\n              root.Bokeh.embed.embed_items(docs_json, render_items);\n              }\n              if (root.Bokeh !== undefined) {\n                embed_document(root);\n              } else {\n                let attempts = 0;\n                const timer = setInterval(function(root) {\n                  if (root.Bokeh !== undefined) {\n                    clearInterval(timer);\n                    embed_document(root);\n                  } else {\n                    attempts++;\n                    if (attempts > 100) {\n                      clearInterval(timer);\n                      console.log("Bokeh: ERROR: Unable to run BokehJS code because BokehJS library is missing");\n                    }\n                  }\n                }, 10, root)\n              }\n            })(window);\n          });\n        };\n        if (document.readyState != "loading") fn();\n        else document.addEventListener("DOMContentLoaded", fn);\n      })();\n    </script>\n  </body>\n</html>'
distributed/diagnostics/tests/test_task_stream.py:155: AssertionError

https://github.com/dask/distributed/runs/7249316319?check_suite_focus=true#step:11:1871

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

No branches or pull requests

2 participants