flake8 pytest -vx -n auto --stage test_examples ============================= test session starts ============================== platform linux -- Python 3.7.3, pytest-4.5.0, py-1.8.0, pluggy-0.11.0 -- /opt/conda/bin/python cachedir: .pytest_cache rootdir: /home/pyromancer/workspace/pyro, inifile: setup.cfg plugins: xdist-1.28.0, forked-1.0.2, nbval-0.9.1 gw0 I / gw1 I [gw0] linux Python 3.7.3 cwd: /home/pyromancer/workspace/pyro [gw1] linux Python 3.7.3 cwd: /home/pyromancer/workspace/pyro [gw0] Python 3.7.3 (default, Mar 27 2019, 22:11:17) -- [GCC 7.3.0] [gw1] Python 3.7.3 (default, Mar 27 2019, 22:11:17) -- [GCC 7.3.0] gw0 [95] / gw1 [95] scheduling tests via LoadScheduling tests/test_examples.py::test_cpu[air/main.py --num-steps=1] tests/test_examples.py::test_coverage [gw0] [ 1%] PASSED tests/test_examples.py::test_coverage tests/test_examples.py::test_cpu[air/main.py --num-steps=1 --no-baseline] [gw1] [ 2%] FAILED tests/test_examples.py::test_cpu[air/main.py --num-steps=1] =================================== FAILURES =================================== _____________________ test_cpu[air/main.py --num-steps=1] ______________________ [gw1] linux -- Python 3.7.3 /opt/conda/bin/python example = ['air/main.py', '--num-steps=1'] @pytest.mark.parametrize('example', CPU_EXAMPLES) def test_cpu(example): logger.info('Running:\npython examples/{}'.format(example)) example = example.split() filename, args = example[0], example[1:] filename = os.path.join(EXAMPLES_DIR, filename) > check_call([sys.executable, filename] + args) tests/test_examples.py:153: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ popenargs = (['/opt/conda/bin/python', '/home/pyromancer/workspace/pyro/examples/air/main.py', '--num-steps=1'],) kwargs = {}, retcode = 1 cmd = ['/opt/conda/bin/python', '/home/pyromancer/workspace/pyro/examples/air/main.py', '--num-steps=1'] def check_call(*popenargs, **kwargs): """Run command with arguments. Wait for command to complete. If the exit code was zero then return, otherwise raise CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute. The arguments are the same as for the call function. Example: check_call(["ls", "-l"]) """ retcode = call(*popenargs, **kwargs) if retcode: cmd = kwargs.get("args") if cmd is None: cmd = popenargs[0] > raise CalledProcessError(retcode, cmd) E subprocess.CalledProcessError: Command '['/opt/conda/bin/python', '/home/pyromancer/workspace/pyro/examples/air/main.py', '--num-steps=1']' returned non-zero exit status 1. /opt/conda/lib/python3.7/subprocess.py:347: CalledProcessError ----------------------------- Captured stdout call ----------------------------- >> Downloading /home/pyromancer/workspace/pyro/examples/air/.data/train-images-idx3-ubyte.gz.part >> [1.0 MB/9.5 MB] 10% @1.3 MB/s,[7s remaining, 0s elapsed] >> [2.0 MB/9.5 MB] 21% @1.9 MB/s,[4s remaining, 1s elapsed] >> [3.0 MB/9.5 MB] 31% @2.4 MB/s,[3s remaining, 1s elapsed] >> [4.0 MB/9.5 MB] 42% @2.6 MB/s,[3s remaining, 1s elapsed] >> [5.0 MB/9.5 MB] 52% @2.8 MB/s,[2s remaining, 1s elapsed] >> [6.0 MB/9.5 MB] 63% @2.9 MB/s,[2s remaining, 2s elapsed] >> [7.0 MB/9.5 MB] 74% @3.0 MB/s,[1s remaining, 2s elapsed] >> [8.0 MB/9.5 MB] 84% @3.1 MB/s,[1s remaining, 2s elapsed] >> [9.0 MB/9.5 MB] 95% @3.2 MB/s,[1s remaining, 2s elapsed] >> [9.5 MB/9.5 MB] 105% @3.4 MB/s,[0s remaining, 2s elapsed] ----------------------------- Captured stderr call ----------------------------- I Running: python examples/air/main.py --num-steps=1 Traceback (most recent call last): File "/home/pyromancer/workspace/pyro/examples/air/main.py", line 332, in main(**vars(parser.parse_args())) File "/home/pyromancer/workspace/pyro/examples/air/main.py", line 137, in main X, true_counts = load_data() File "/home/pyromancer/workspace/pyro/examples/air/main.py", line 116, in load_data (X_np, Y), _ = multi_mnist(inpath, max_digits=2, canvas_size=50, seed=42) File "/opt/conda/lib/python3.7/site-packages/observations/multi_mnist.py", line 81, in multi_mnist (x_train, y_train), (x_test, y_test) = mnist(path) File "/opt/conda/lib/python3.7/site-packages/observations/mnist.py", line 34, in mnist maybe_download_and_extract(path, url + train_images + '.gz') File "/opt/conda/lib/python3.7/site-packages/observations/util.py", line 604, in maybe_download_and_extract if tarfile.is_tarfile(filepath): File "/opt/conda/lib/python3.7/tarfile.py", line 2442, in is_tarfile t = open(name) File "/opt/conda/lib/python3.7/tarfile.py", line 1573, in open return func(name, "r", fileobj, **kwargs) File "/opt/conda/lib/python3.7/tarfile.py", line 1638, in gzopen fileobj = gzip.GzipFile(name, mode + "b", compresslevel, fileobj) File "/opt/conda/lib/python3.7/gzip.py", line 163, in __init__ fileobj = self.myfileobj = builtins.open(filename, mode or 'rb') FileNotFoundError: [Errno 2] No such file or directory: '/home/pyromancer/workspace/pyro/examples/air/.data/train-images-idx3-ubyte.gz' ------------------------------ Captured log call ------------------------------- INFO tests.test_examples:test_examples.py:149 Running: python examples/air/main.py --num-steps=1 !!!!!!!!!!!! xdist.dsession.Interrupted: stopping after 1 failures !!!!!!!!!!!!! ===================== 1 failed, 1 passed in 23.86 seconds ====================== Makefile:42: recipe for target 'test-examples' failed make: *** [test-examples] Error 2