Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 658280 - dev-python/setuptools_scm-1.15.6-r1 fails test test_pip_download
Summary: dev-python/setuptools_scm-1.15.6-r1 fails test test_pip_download
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2018-06-17 09:10 UTC by Alexey
Modified: 2018-07-11 06:51 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,23.63 KB, text/x-log)
2018-06-17 09:10 UTC, Alexey
Details
emerge --info (file_658280.txt,19.07 KB, text/plain)
2018-06-17 09:11 UTC, Alexey
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey 2018-06-17 09:10:39 UTC
Created attachment 536080 [details]
build.log

==================================================================================================================================== FAILURES ====================================================================================================================================
_______________________________________________________________________________________________________________________________ test_pip_download ________________________________________________________________________________________________________________________________

tmpdir = local('/mnt/portagetmp/portage/dev-python/setuptools_scm-1.15.6-r1/temp/pytest-of-portage/pytest-2/test_pip_download0'), monkeypatch = <_pytest.monkeypatch.MonkeyPatch instance at 0x7f5472147248>

    @pytest.mark.issue(164)
    def test_pip_download(tmpdir, monkeypatch):
        monkeypatch.chdir(tmpdir)
        subprocess.check_call([
            sys.executable, '-c',
>           'import pip;pip.main()', 'download', 'lz4==0.9.0',
        ])

../../../../work/setuptools_scm-1.15.6/testing/test_regressions.py:57:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

popenargs = (['/usr/bin/python2.7', '-c', 'import pip;pip.main()', 'download', 'lz4==0.9.0'],), kwargs = {}, retcode = 1, cmd = ['/usr/bin/python2.7', '-c', 'import pip;pip.main()', 'download', 'lz4==0.9.0']

    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 Popen constructor.  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           CalledProcessError: Command '['/usr/bin/python2.7', '-c', 'import pip;pip.main()', 'download', 'lz4==0.9.0']' returned non-zero exit status 1

/usr/lib64/python2.7/subprocess.py:186: CalledProcessError
------------------------------------------------------------------------------------------------------------------------------ Captured stderr call ------------------------------------------------------------------------------------------------------------------------------
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: No module named pip
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: stopping after 1 failures !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Comment 1 Alexey 2018-06-17 09:11:24 UTC
Created attachment 536082 [details]
emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2018-07-11 06:51:49 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf546f97e6b434b2809231589cc5cb96d8f0cc1a

commit cf546f97e6b434b2809231589cc5cb96d8f0cc1a
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2018-07-11 06:28:57 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2018-07-11 06:51:42 +0000

    dev-python/setuptools_scm: Disarm test_pip_download
    
    Closes: https://bugs.gentoo.org/658280

 dev-python/setuptools_scm/setuptools_scm-2.1.0.ebuild | 7 +++++++
 1 file changed, 7 insertions(+)