Closed spaulaus closed 5 years ago
Thanks for the error report. I just double checked and this all worked for me, so I'm guessing it's either your machine (maybe not enough memory or something?) or an environment setup issue.
First, to double-check, run docker-compose pull cpu
to make sure you have the latest image.
Next, can you run the tests with pytest tests -vvs
and paste the output of logs to a gist?
Yep! I'll do that first thing tomorrow. Thanks! The host machine should have plenty of resources (64 GB RAM and 12 cores). I confirmed that the container was set to use "unlimited".
@willcrichton : I've uploaded the results to a gist. I ensured that the docker image was updated. Here's the image that the container built from :
scannerresearch/scannertools:cpu-latest@sha256:6ff1e13a3e2a3877ab3543eff07c71c97d61a335a1901816113e68e227efc416
Thanks @spaulaus. Does this machine have any kind of proxy or firewall?
@willcrichton: It is. I verified that I'm able to connect through the proxy. I'm able to execute wget and git pulls without issues. I'll verify that there's not a certificate issue.
We use gRPC to connect the various processes, which we've seen issues with in the past around proxies. If I remember correctly, try unset http_proxy
and re-running the example.
@willcrichton : I confirmed that clearing the proxy environment variables results in a successful conversion to greyscale. It's had the side-effect of causing all the unittests to fail. This is outside the scope of the original problem statement.
Thanks for your assistance!
Background
I'm attempting to run the walkthrough on a Docker CPU instance. I haven't made any changes or updates to the image. I've tried providing the input file as a positional argument, and received the same result.
Steps to reproduce:
wget https://raw.githubusercontent.com/scanner-research/scanner/master/docker/docker-compose.yml
docker-compose run --service-ports cpu /bin/bash
cd /opt/scanner/examples/apps/walkthroughs
wget https://storage.googleapis.com/scanner-data/public/sample-clip.mp4
python3 grayscale_conversion.py
The error
Additional Information
I ran
ctest
from the build directory at/opt/scanner/build
and received an error on the python tests. Runningpytest
in the tests directory shows a number of failing tests.Test Results: