m-lab / traceroute-caller

A sidecar service which runs traceroute after a connection closes
Apache License 2.0
18 stars 5 forks source link

fast-mda-traceroute pycaracal build failures #152

Open stephen-soltesz opened 1 year ago

stephen-soltesz commented 1 year ago

Builds of fast-mda-traceroute have failed since 2022-12-16.

# RUN pip3 install --no-binary pycaracal --no-cache-dir --verbose fast-mda-traceroute==0.1.10

Which concludes with errors like below, but the resolution is unknown.

2022-12-17T23:45:42Z #25 173.1 pip._internal.exceptions.InstallationError: Could not build wheels for pycaracal which use PEP 517 and cannot be installed directly

The build step can be enabled once it is working as intended again and we intend to include fast mda in TRC.

matthieugouel commented 1 year ago

Hi @stephen-soltesz,

Following a conversation with @SaiedKazemi, I tried to build traceroute-caller's Dockerfile with the above command line. I used 2 Ubuntu 22.4 instances, one x86 and one ARM and both built as expected.

Do you have the information of the underlying instance that build the Docker image, for me to try reproducing the issue? Another possibility is that the python3-pip apt package has been updated in the meantime.

To be safe, we could add the following command before trying to install pycaracal/fast-mda-traceroute:

RUN pip3 install --upgrade pip setuptools wheel

Let me know if I can help with anything!

Best, Matthieu.

stephen-soltesz commented 1 year ago

Thanks, @matthieugouel I can confirm that it builds for me too this morning. I'll attribute this to transient broken dependencies.

SaiedKazemi commented 1 year ago

@matthieugouel @stephen-soltesz I also verified that it works for me (see below) so I will send a PR to re-enable building fast-mda-traceroute and including it in the container.

$ docker build -t traceroute-caller:latest .
...
$ docker run -it --entrypoint fast-mda-traceroute traceroute-caller:latest 104.133.236.89
...