Skip to content

Instantly share code, notes, and snippets.

@ssbarnea
Created November 22, 2016 18:06
Show Gist options
  • Save ssbarnea/7829537a60592ba67567a67b946df1ea to your computer and use it in GitHub Desktop.
Save ssbarnea/7829537a60592ba67567a67b946df1ea to your computer and use it in GitHub Desktop.
ERROR: FAIL could not package project - v = InvocationError('/j/.pyenv/versions/3.5.2/bin/python3.5 /j/workspace/s-7HIDJZVI2Z3HYH3C2XNHU4RSUW46UIDKOL4Z77CWCWJ373J6IGYA/setup.py sdist --formats=zip --dist-dir /j/workspace/s-7HIDJZVI2Z3HYH3C2XNHU4RSUW46UIDKOL4Z77CWCWJ373J6IGYA/.tox/dist (see /j/workspace/s-7HIDJZVI2Z3HYH3C2XNHU4RSUW46UIDKOL4Z77CWCWJ373J6IGYA/.tox/log/tox-0.log)', 1)
[Pipeline] [py27] }
12:53:27 [py35] ERROR: invocation failed (exit code 1), logfile: /j/workspace/s-7HIDJZVI2Z3HYH3C2XNHU4RSUW46UIDKOL4Z77CWCWJ373J6IGYA/.tox/log/tox-0.log
12:53:27 [py35] ERROR: actionid: tox
12:53:27 [py35] msg: packaging
12:53:27 [py35] cmdargs: ['/j/.pyenv/versions/3.5.2/bin/python3.5', local('/j/workspace/s-7HIDJZVI2Z3HYH3C2XNHU4RSUW46UIDKOL4Z77CWCWJ373J6IGYA/setup.py'), 'sdist', '--formats=zip', '--dist-dir', local('/j/workspace/s-7HIDJZVI2Z3HYH3C2XNHU4RSUW46UIDKOL4Z77CWCWJ373J6IGYA/.tox/dist')]
12:53:27 [py35] env: None
12:53:27 [py35]
12:53:27 [py35] Traceback (most recent call last):
12:53:27 [py35] File "setup.py", line 39, in <module>
12:53:27 [py35] test_suite='tests')
12:53:27 [py35] File "/j/.pyenv/versions/3.5.2/lib/python3.5/distutils/core.py", line 108, in setup
12:53:27 [py35] _setup_distribution = dist = klass(attrs)
12:53:27 [py35] File "/j/.pyenv/versions/3.5.2/lib/python3.5/site-packages/setuptools/dist.py", line 269, in __init__
12:53:27 [py35] self.fetch_build_eggs(attrs['setup_requires'])
12:53:27 [py35] File "/j/.pyenv/versions/3.5.2/lib/python3.5/site-packages/setuptools/dist.py", line 313, in fetch_build_eggs
12:53:27 [py35] replace_conflicting=True,
12:53:27 [py35] File "/j/.pyenv/versions/3.5.2/lib/python3.5/site-packages/pkg_resources/__init__.py", line 826, in resolve
12:53:27 [py35] dist = best[req.key] = env.best_match(req, ws, installer)
12:53:27 [py35] File "/j/.pyenv/versions/3.5.2/lib/python3.5/site-packages/pkg_resources/__init__.py", line 1092, in best_match
12:53:27 [py35] return self.obtain(req, installer)
12:53:27 [py35] File "/j/.pyenv/versions/3.5.2/lib/python3.5/site-packages/pkg_resources/__init__.py", line 1104, in obtain
12:53:27 [py35] return installer(requirement)
12:53:27 [py35] File "/j/.pyenv/versions/3.5.2/lib/python3.5/site-packages/setuptools/dist.py", line 380, in fetch_build_egg
12:53:27 [py35] return cmd.easy_install(req)
12:53:27 [py35] File "/j/.pyenv/versions/3.5.2/lib/python3.5/site-packages/setuptools/command/easy_install.py", line 640, in easy_install
12:53:27 [py35] return self.install_item(spec, dist.location, tmpdir, deps)
12:53:27 [py35] File "/j/.pyenv/versions/3.5.2/lib/python3.5/site-packages/setuptools/command/easy_install.py", line 670, in install_item
12:53:27 [py35] dists = self.install_eggs(spec, download, tmpdir)
12:53:27 [py35] File "/j/.pyenv/versions/3.5.2/lib/python3.5/site-packages/setuptools/command/easy_install.py", line 850, in install_eggs
12:53:27 [py35] return self.build_and_install(setup_script, setup_base)
12:53:27 [py35] File "/j/.pyenv/versions/3.5.2/lib/python3.5/site-packages/setuptools/command/easy_install.py", line 1083, in build_and_install
12:53:27 [py35] eggs.append(self.install_egg(dist.location, setup_base))
12:53:27 [py35] File "/j/.pyenv/versions/3.5.2/lib/python3.5/site-packages/setuptools/command/easy_install.py", line 893, in install_egg
12:53:27 [py35] os.path.dirname(destination)))
12:53:27 [py35] File "/j/.pyenv/versions/3.5.2/lib/python3.5/distutils/cmd.py", line 336, in execute
12:53:27 [py35] util.execute(func, args, msg, dry_run=self.dry_run)
12:53:27 [py35] File "/j/.pyenv/versions/3.5.2/lib/python3.5/distutils/util.py", line 301, in execute
12:53:27 [py35] func(*args)
12:53:27 [py35] File "/j/.pyenv/versions/3.5.2/lib/python3.5/site-packages/setuptools/command/easy_install.py", line 1171, in unpack_and_compile
12:53:27 [py35] self.byte_compile(to_compile)
12:53:27 [py35] File "/j/.pyenv/versions/3.5.2/lib/python3.5/site-packages/setuptools/command/easy_install.py", line 1188, in byte_compile
12:53:27 [py35] byte_compile(to_compile, optimize=0, force=1, dry_run=self.dry_run)
12:53:27 [py35] File "/j/.pyenv/versions/3.5.2/lib/python3.5/distutils/util.py", line 460, in byte_compile
12:53:27 [py35] compile(file, cfile, dfile)
12:53:27 [py35] File "/j/.pyenv/versions/3.5.2/lib/python3.5/py_compile.py", line 139, in compile
12:53:27 [py35] source_stats = loader.path_stats(file)
12:53:27 [py35] File "<frozen importlib._bootstrap_external>", line 828, in path_stats
12:53:27 [py35] File "<frozen importlib._bootstrap_external>", line 75, in _path_stat
12:53:27 [py35] FileNotFoundError: [Errno 2] No such file or directory: '/j/workspace/s-7HIDJZVI2Z3HYH3C2XNHU4RSUW46UIDKOL4Z77CWCWJ373J6IGYA/.eggs/pbr-1.10.0-py3.5.egg/pbr/tests/test_version.py'
12:53:27 [py35]
12:53:27 [py35] ERROR: FAIL could not package project - v = InvocationError('/j/.pyenv/versions/3.5.2/bin/python3.5 /j/workspace/s-7HIDJZVI2Z3HYH3C2XNHU4RSUW46UIDKOL4Z77CWCWJ373J6IGYA/setup.py sdist --formats=zip --dist-dir /j/workspace/s-7HIDJZVI2Z3HYH3C2XNHU4RSUW46UIDKOL4Z77CWCWJ373J6IGYA/.tox/dist (see /j/workspace/s-7HIDJZVI2Z3HYH3C2XNHU4RSUW46UIDKOL4Z77CWCWJ373J6IGYA/.tox/log/tox-0.log)', 1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment