TimelyDataflow/diagnostics

This tool seems to be broken

Opened this issue · 1 comments

Hi,

I have tried to use this tool with different examples and crate versions.

It always gets stuck: pressing enter has no result.

To reproduce:

FROM ubuntu:latest
RUN apt-get update
RUN apt-get install -y cargo git

RUN git clone https://github.com/TimelyDataflow/timely-dataflow
WORKDIR timely-dataflow

RUN cargo install tdiag

ENV PATH="$PATH:/root/.cargo/bin"

Run:

docker build -t foo .

And run this docker in two different shells:

docker run --name foo_container --rm -it foo tdiag --source-peers 2 graph --out graph.html
docker exec -it foo_container env TIMELY_WORKER_LOG_ADDR="127.0.0.1:51317" cargo run --example pagerank 1000 1000000 -w 2

This PR seemed to fix the hanging for me.