GLOB sdist-make: /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/setup.py py37 create: /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/.tox/py37 py37 installdeps: pytest==5.2.4, pytest-mock, pytest-xdist, coverage py37 inst: /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/.tox/.tmp/package/1/pytest-cpp-1.2.0.zip py37 installed: apipkg==1.5,atomicwrites==1.3.0,attrs==19.3.0,colorama==0.4.1,coverage==4.5.4,execnet==1.7.1,importlib-metadata==1.1.0,more-itertools==8.0.0,packaging==19.2,pluggy==0.13.1,py==1.8.0,pyparsing==2.4.5,pytest==5.2.4,pytest-cpp==1.2.0,pytest-forked==1.1.3,pytest-mock==1.12.1,pytest-xdist==1.30.0,six==1.13.0,wcwidth==0.1.7,zipp==0.6.0 py37 run-test-pre: PYTHONHASHSEED='1108595013' py37 run-test: commands[0] | coverage run --source=pytest_cpp -m pytest tests ============================= test session starts ============================== platform linux -- Python 3.7.1, pytest-5.2.4, py-1.8.0, pluggy-0.13.1 cachedir: .tox/py37/.pytest_cache rootdir: /tmp/tmpbdvvik9x/pytest-cpp-1.2.0 plugins: cpp-1.2.0, forked-1.1.3, mock-1.12.1, xdist-1.30.0 collected 59 items tests/test_pytest_cpp.py FFFFFFFFFFFFFFFFFFFF.FFFFFFFFFFFF... [ 61%] tests/acceptance/test_boosttest_samples.py FFFFFFFFFFFFF [ 83%] tests/acceptance/test_googletest_samples.py FFFFFFFFFF [100%] =================================== FAILURES =================================== ___________________ test_list_tests[facade0-gtest-expected0] ___________________ facade = name = 'gtest' expected = ['FooTest.test_success', 'FooTest.test_failure', 'FooTest.test_error', 'FooTest.DISABLED_test_disabled'] exes = .Executables object at 0x7f80873738d0> @pytest.mark.parametrize('facade, name, expected', [ (GoogleTestFacade(), 'gtest', [ 'FooTest.test_success', 'FooTest.test_failure', 'FooTest.test_error', 'FooTest.DISABLED_test_disabled' ]), (BoostTestFacade(), 'boost_success', ['boost_success']), (BoostTestFacade(), 'boost_error', ['boost_error']), (BoostTestFacade(), 'boost_fixture_setup_error', ['boost_fixture_setup_error']), ]) def test_list_tests(facade, name, expected, exes): > obtained = facade.list_tests(exes.get(name)) /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/test_pytest_cpp.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/conftest.py:26: in get shutil.copy(str(source), str(dest)) /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/.tox/py37/lib/python3.7/shutil.py:241: in copy copyfile(src, dst, follow_symlinks=follow_symlinks) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src = '/tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/gtest' dst = '/tmp/pytest-of-travis/pytest-12/test_list_tests0/gtest' def copyfile(src, dst, *, follow_symlinks=True): """Copy data from src to dst. If follow_symlinks is not set and src is a symbolic link, a new symlink will be created instead of copying the file it points to. """ if _samefile(src, dst): raise SameFileError("{!r} and {!r} are the same file".format(src, dst)) for fn in [src, dst]: try: st = os.stat(fn) except OSError: # File most likely does not exist pass else: # XXX What about other special files? (sockets, devices...) if stat.S_ISFIFO(st.st_mode): raise SpecialFileError("`%s` is a named pipe" % fn) if not follow_symlinks and os.path.islink(src): os.symlink(os.readlink(src), dst) else: > with open(src, 'rb') as fsrc: E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/gtest' /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/.tox/py37/lib/python3.7/shutil.py:120: FileNotFoundError _______________ test_list_tests[facade1-boost_success-expected1] _______________ facade = name = 'boost_success', expected = ['boost_success'] exes = .Executables object at 0x7f808723c550> @pytest.mark.parametrize('facade, name, expected', [ (GoogleTestFacade(), 'gtest', [ 'FooTest.test_success', 'FooTest.test_failure', 'FooTest.test_error', 'FooTest.DISABLED_test_disabled' ]), (BoostTestFacade(), 'boost_success', ['boost_success']), (BoostTestFacade(), 'boost_error', ['boost_error']), (BoostTestFacade(), 'boost_fixture_setup_error', ['boost_fixture_setup_error']), ]) def test_list_tests(facade, name, expected, exes): > obtained = facade.list_tests(exes.get(name)) /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/test_pytest_cpp.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/conftest.py:26: in get shutil.copy(str(source), str(dest)) /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/.tox/py37/lib/python3.7/shutil.py:241: in copy copyfile(src, dst, follow_symlinks=follow_symlinks) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src = '/tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/boost_success' dst = '/tmp/pytest-of-travis/pytest-12/test_list_tests1/boost_success' def copyfile(src, dst, *, follow_symlinks=True): """Copy data from src to dst. If follow_symlinks is not set and src is a symbolic link, a new symlink will be created instead of copying the file it points to. """ if _samefile(src, dst): raise SameFileError("{!r} and {!r} are the same file".format(src, dst)) for fn in [src, dst]: try: st = os.stat(fn) except OSError: # File most likely does not exist pass else: # XXX What about other special files? (sockets, devices...) if stat.S_ISFIFO(st.st_mode): raise SpecialFileError("`%s` is a named pipe" % fn) if not follow_symlinks and os.path.islink(src): os.symlink(os.readlink(src), dst) else: > with open(src, 'rb') as fsrc: E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/boost_success' /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/.tox/py37/lib/python3.7/shutil.py:120: FileNotFoundError ________________ test_list_tests[facade2-boost_error-expected2] ________________ facade = name = 'boost_error', expected = ['boost_error'] exes = .Executables object at 0x7f80871fbe10> @pytest.mark.parametrize('facade, name, expected', [ (GoogleTestFacade(), 'gtest', [ 'FooTest.test_success', 'FooTest.test_failure', 'FooTest.test_error', 'FooTest.DISABLED_test_disabled' ]), (BoostTestFacade(), 'boost_success', ['boost_success']), (BoostTestFacade(), 'boost_error', ['boost_error']), (BoostTestFacade(), 'boost_fixture_setup_error', ['boost_fixture_setup_error']), ]) def test_list_tests(facade, name, expected, exes): > obtained = facade.list_tests(exes.get(name)) /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/test_pytest_cpp.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/conftest.py:26: in get shutil.copy(str(source), str(dest)) /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/.tox/py37/lib/python3.7/shutil.py:241: in copy copyfile(src, dst, follow_symlinks=follow_symlinks) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src = '/tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/boost_error' dst = '/tmp/pytest-of-travis/pytest-12/test_list_tests2/boost_error' def copyfile(src, dst, *, follow_symlinks=True): """Copy data from src to dst. If follow_symlinks is not set and src is a symbolic link, a new symlink will be created instead of copying the file it points to. """ if _samefile(src, dst): raise SameFileError("{!r} and {!r} are the same file".format(src, dst)) for fn in [src, dst]: try: st = os.stat(fn) except OSError: # File most likely does not exist pass else: # XXX What about other special files? (sockets, devices...) if stat.S_ISFIFO(st.st_mode): raise SpecialFileError("`%s` is a named pipe" % fn) if not follow_symlinks and os.path.islink(src): os.symlink(os.readlink(src), dst) else: > with open(src, 'rb') as fsrc: E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/boost_error' /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/.tox/py37/lib/python3.7/shutil.py:120: FileNotFoundError _________ test_list_tests[facade3-boost_fixture_setup_error-expected3] _________ facade = name = 'boost_fixture_setup_error', expected = ['boost_fixture_setup_error'] exes = .Executables object at 0x7f80871ffcc0> @pytest.mark.parametrize('facade, name, expected', [ (GoogleTestFacade(), 'gtest', [ 'FooTest.test_success', 'FooTest.test_failure', 'FooTest.test_error', 'FooTest.DISABLED_test_disabled' ]), (BoostTestFacade(), 'boost_success', ['boost_success']), (BoostTestFacade(), 'boost_error', ['boost_error']), (BoostTestFacade(), 'boost_fixture_setup_error', ['boost_fixture_setup_error']), ]) def test_list_tests(facade, name, expected, exes): > obtained = facade.list_tests(exes.get(name)) /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/test_pytest_cpp.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/conftest.py:26: in get shutil.copy(str(source), str(dest)) /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/.tox/py37/lib/python3.7/shutil.py:241: in copy copyfile(src, dst, follow_symlinks=follow_symlinks) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src = '/tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/boost_fixture_setup_error' dst = '/tmp/pytest-of-travis/pytest-12/test_list_tests3/boost_fixture_setup_error' def copyfile(src, dst, *, follow_symlinks=True): """Copy data from src to dst. If follow_symlinks is not set and src is a symbolic link, a new symlink will be created instead of copying the file it points to. """ if _samefile(src, dst): raise SameFileError("{!r} and {!r} are the same file".format(src, dst)) for fn in [src, dst]: try: st = os.stat(fn) except OSError: # File most likely does not exist pass else: # XXX What about other special files? (sockets, devices...) if stat.S_ISFIFO(st.st_mode): raise SpecialFileError("`%s` is a named pipe" % fn) if not follow_symlinks and os.path.islink(src): os.symlink(os.readlink(src), dst) else: > with open(src, 'rb') as fsrc: E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/boost_fixture_setup_error' /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/.tox/py37/lib/python3.7/shutil.py:120: FileNotFoundError _______________ test_is_test_suite[facade0-gtest-boost_success] ________________ facade = name = 'gtest', other_name = 'boost_success' exes = .Executables object at 0x7f80873c61d0> tmpdir = local('/tmp/pytest-of-travis/pytest-12/test_is_test_suite_facade0_gte0') @pytest.mark.parametrize('facade, name, other_name', [ (GoogleTestFacade(), 'gtest', 'boost_success'), (BoostTestFacade(), 'boost_success', 'gtest'), ]) def test_is_test_suite(facade, name, other_name, exes, tmpdir): > assert facade.is_test_suite(exes.get(name)) /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/test_pytest_cpp.py:58: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/conftest.py:26: in get shutil.copy(str(source), str(dest)) /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/.tox/py37/lib/python3.7/shutil.py:241: in copy copyfile(src, dst, follow_symlinks=follow_symlinks) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src = '/tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/gtest' dst = '/tmp/pytest-of-travis/pytest-12/test_is_test_suite0/gtest' def copyfile(src, dst, *, follow_symlinks=True): """Copy data from src to dst. If follow_symlinks is not set and src is a symbolic link, a new symlink will be created instead of copying the file it points to. """ if _samefile(src, dst): raise SameFileError("{!r} and {!r} are the same file".format(src, dst)) for fn in [src, dst]: try: st = os.stat(fn) except OSError: # File most likely does not exist pass else: # XXX What about other special files? (sockets, devices...) if stat.S_ISFIFO(st.st_mode): raise SpecialFileError("`%s` is a named pipe" % fn) if not follow_symlinks and os.path.islink(src): os.symlink(os.readlink(src), dst) else: > with open(src, 'rb') as fsrc: E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/gtest' /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/.tox/py37/lib/python3.7/shutil.py:120: FileNotFoundError _______________ test_is_test_suite[facade1-boost_success-gtest] ________________ facade = name = 'boost_success', other_name = 'gtest' exes = .Executables object at 0x7f8087238860> tmpdir = local('/tmp/pytest-of-travis/pytest-12/test_is_test_suite_facade1_boo0') @pytest.mark.parametrize('facade, name, other_name', [ (GoogleTestFacade(), 'gtest', 'boost_success'), (BoostTestFacade(), 'boost_success', 'gtest'), ]) def test_is_test_suite(facade, name, other_name, exes, tmpdir): > assert facade.is_test_suite(exes.get(name)) /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/test_pytest_cpp.py:58: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/conftest.py:26: in get shutil.copy(str(source), str(dest)) /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/.tox/py37/lib/python3.7/shutil.py:241: in copy copyfile(src, dst, follow_symlinks=follow_symlinks) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src = '/tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/boost_success' dst = '/tmp/pytest-of-travis/pytest-12/test_is_test_suite1/boost_success' def copyfile(src, dst, *, follow_symlinks=True): """Copy data from src to dst. If follow_symlinks is not set and src is a symbolic link, a new symlink will be created instead of copying the file it points to. """ if _samefile(src, dst): raise SameFileError("{!r} and {!r} are the same file".format(src, dst)) for fn in [src, dst]: try: st = os.stat(fn) except OSError: # File most likely does not exist pass else: # XXX What about other special files? (sockets, devices...) if stat.S_ISFIFO(st.st_mode): raise SpecialFileError("`%s` is a named pipe" % fn) if not follow_symlinks and os.path.islink(src): os.symlink(os.readlink(src), dst) else: > with open(src, 'rb') as fsrc: E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/boost_success' /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/.tox/py37/lib/python3.7/shutil.py:120: FileNotFoundError _______________ test_success[facade0-gtest-FooTest.test_success] _______________ facade = name = 'gtest', test_id = 'FooTest.test_success' exes = .Executables object at 0x7f8087221be0> @pytest.mark.parametrize('facade, name, test_id', [ (GoogleTestFacade(), 'gtest', 'FooTest.test_success'), (BoostTestFacade(), 'boost_success', ''), ]) def test_success(facade, name, test_id, exes): > assert facade.run_test(exes.get(name), test_id) is None /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/test_pytest_cpp.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/conftest.py:26: in get shutil.copy(str(source), str(dest)) /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/.tox/py37/lib/python3.7/shutil.py:241: in copy copyfile(src, dst, follow_symlinks=follow_symlinks) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src = '/tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/gtest' dst = '/tmp/pytest-of-travis/pytest-12/test_success0/gtest' def copyfile(src, dst, *, follow_symlinks=True): """Copy data from src to dst. If follow_symlinks is not set and src is a symbolic link, a new symlink will be created instead of copying the file it points to. """ if _samefile(src, dst): raise SameFileError("{!r} and {!r} are the same file".format(src, dst)) for fn in [src, dst]: try: st = os.stat(fn) except OSError: # File most likely does not exist pass else: # XXX What about other special files? (sockets, devices...) if stat.S_ISFIFO(st.st_mode): raise SpecialFileError("`%s` is a named pipe" % fn) if not follow_symlinks and os.path.islink(src): os.symlink(os.readlink(src), dst) else: > with open(src, 'rb') as fsrc: E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/gtest' /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/.tox/py37/lib/python3.7/shutil.py:120: FileNotFoundError _________________ test_success[facade1-boost_success-] _________________ facade = name = 'boost_success', test_id = '' exes = .Executables object at 0x7f80872a5240> @pytest.mark.parametrize('facade, name, test_id', [ (GoogleTestFacade(), 'gtest', 'FooTest.test_success'), (BoostTestFacade(), 'boost_success', ''), ]) def test_success(facade, name, test_id, exes): > assert facade.run_test(exes.get(name), test_id) is None /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/test_pytest_cpp.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/conftest.py:26: in get shutil.copy(str(source), str(dest)) /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/.tox/py37/lib/python3.7/shutil.py:241: in copy copyfile(src, dst, follow_symlinks=follow_symlinks) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src = '/tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/boost_success' dst = '/tmp/pytest-of-travis/pytest-12/test_success1/boost_success' def copyfile(src, dst, *, follow_symlinks=True): """Copy data from src to dst. If follow_symlinks is not set and src is a symbolic link, a new symlink will be created instead of copying the file it points to. """ if _samefile(src, dst): raise SameFileError("{!r} and {!r} are the same file".format(src, dst)) for fn in [src, dst]: try: st = os.stat(fn) except OSError: # File most likely does not exist pass else: # XXX What about other special files? (sockets, devices...) if stat.S_ISFIFO(st.st_mode): raise SpecialFileError("`%s` is a named pipe" % fn) if not follow_symlinks and os.path.islink(src): os.symlink(os.readlink(src), dst) else: > with open(src, 'rb') as fsrc: E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/boost_success' /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/.tox/py37/lib/python3.7/shutil.py:120: FileNotFoundError _____________________________ test_google_failure ______________________________ exes = .Executables object at 0x7f80872db9b0> def test_google_failure(exes): facade = GoogleTestFacade() > failures = facade.run_test(exes.get('gtest'), 'FooTest.test_failure') /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/test_pytest_cpp.py:74: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/conftest.py:26: in get shutil.copy(str(source), str(dest)) /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/.tox/py37/lib/python3.7/shutil.py:241: in copy copyfile(src, dst, follow_symlinks=follow_symlinks) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src = '/tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/gtest' dst = '/tmp/pytest-of-travis/pytest-12/test_google_failure0/gtest' def copyfile(src, dst, *, follow_symlinks=True): """Copy data from src to dst. If follow_symlinks is not set and src is a symbolic link, a new symlink will be created instead of copying the file it points to. """ if _samefile(src, dst): raise SameFileError("{!r} and {!r} are the same file".format(src, dst)) for fn in [src, dst]: try: st = os.stat(fn) except OSError: # File most likely does not exist pass else: # XXX What about other special files? (sockets, devices...) if stat.S_ISFIFO(st.st_mode): raise SpecialFileError("`%s` is a named pipe" % fn) if not follow_symlinks and os.path.islink(src): os.symlink(os.readlink(src), dst) else: > with open(src, 'rb') as fsrc: E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/gtest' /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/.tox/py37/lib/python3.7/shutil.py:120: FileNotFoundError ______________________________ test_google_error _______________________________ exes = .Executables object at 0x7f808724e4e0> def test_google_error(exes): facade = GoogleTestFacade() > failures = facade.run_test(exes.get('gtest'), 'FooTest.test_error') /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/test_pytest_cpp.py:94: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/conftest.py:26: in get shutil.copy(str(source), str(dest)) /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/.tox/py37/lib/python3.7/shutil.py:241: in copy copyfile(src, dst, follow_symlinks=follow_symlinks) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src = '/tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/gtest' dst = '/tmp/pytest-of-travis/pytest-12/test_google_error0/gtest' def copyfile(src, dst, *, follow_symlinks=True): """Copy data from src to dst. If follow_symlinks is not set and src is a symbolic link, a new symlink will be created instead of copying the file it points to. """ if _samefile(src, dst): raise SameFileError("{!r} and {!r} are the same file".format(src, dst)) for fn in [src, dst]: try: st = os.stat(fn) except OSError: # File most likely does not exist pass else: # XXX What about other special files? (sockets, devices...) if stat.S_ISFIFO(st.st_mode): raise SpecialFileError("`%s` is a named pipe" % fn) if not follow_symlinks and os.path.islink(src): os.symlink(os.readlink(src), dst) else: > with open(src, 'rb') as fsrc: E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/gtest' /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/.tox/py37/lib/python3.7/shutil.py:120: FileNotFoundError _____________________________ test_google_disabled _____________________________ exes = .Executables object at 0x7f80873f2748> def test_google_disabled(exes): facade = GoogleTestFacade() with pytest.raises(pytest.skip.Exception): > facade.run_test(exes.get('gtest'), 'FooTest.DISABLED_test_disabled') /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/test_pytest_cpp.py:106: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/conftest.py:26: in get shutil.copy(str(source), str(dest)) /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/.tox/py37/lib/python3.7/shutil.py:241: in copy copyfile(src, dst, follow_symlinks=follow_symlinks) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src = '/tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/gtest' dst = '/tmp/pytest-of-travis/pytest-12/test_google_disabled0/gtest' def copyfile(src, dst, *, follow_symlinks=True): """Copy data from src to dst. If follow_symlinks is not set and src is a symbolic link, a new symlink will be created instead of copying the file it points to. """ if _samefile(src, dst): raise SameFileError("{!r} and {!r} are the same file".format(src, dst)) for fn in [src, dst]: try: st = os.stat(fn) except OSError: # File most likely does not exist pass else: # XXX What about other special files? (sockets, devices...) if stat.S_ISFIFO(st.st_mode): raise SpecialFileError("`%s` is a named pipe" % fn) if not follow_symlinks and os.path.islink(src): os.symlink(os.readlink(src), dst) else: > with open(src, 'rb') as fsrc: E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/gtest' /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/.tox/py37/lib/python3.7/shutil.py:120: FileNotFoundError ______________________________ test_boost_failure ______________________________ exes = .Executables object at 0x7f80871fbba8> def test_boost_failure(exes): facade = BoostTestFacade() > failures = facade.run_test(exes.get('boost_failure'), '') /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/test_pytest_cpp.py:111: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/conftest.py:26: in get shutil.copy(str(source), str(dest)) /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/.tox/py37/lib/python3.7/shutil.py:241: in copy copyfile(src, dst, follow_symlinks=follow_symlinks) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src = '/tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/boost_failure' dst = '/tmp/pytest-of-travis/pytest-12/test_boost_failure0/boost_failure' def copyfile(src, dst, *, follow_symlinks=True): """Copy data from src to dst. If follow_symlinks is not set and src is a symbolic link, a new symlink will be created instead of copying the file it points to. """ if _samefile(src, dst): raise SameFileError("{!r} and {!r} are the same file".format(src, dst)) for fn in [src, dst]: try: st = os.stat(fn) except OSError: # File most likely does not exist pass else: # XXX What about other special files? (sockets, devices...) if stat.S_ISFIFO(st.st_mode): raise SpecialFileError("`%s` is a named pipe" % fn) if not follow_symlinks and os.path.islink(src): os.symlink(os.readlink(src), dst) else: > with open(src, 'rb') as fsrc: E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/boost_failure' /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/.tox/py37/lib/python3.7/shutil.py:120: FileNotFoundError ____________________________ test_boost_fatal_error ____________________________ exes = .Executables object at 0x7f8087346b00> def test_boost_fatal_error(exes): facade = BoostTestFacade() > failures = facade.run_test(exes.get('boost_fatal_error'), '') /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/test_pytest_cpp.py:125: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/conftest.py:26: in get shutil.copy(str(source), str(dest)) /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/.tox/py37/lib/python3.7/shutil.py:241: in copy copyfile(src, dst, follow_symlinks=follow_symlinks) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src = '/tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/boost_fatal_error' dst = '/tmp/pytest-of-travis/pytest-12/test_boost_fatal_error0/boost_fatal_error' def copyfile(src, dst, *, follow_symlinks=True): """Copy data from src to dst. If follow_symlinks is not set and src is a symbolic link, a new symlink will be created instead of copying the file it points to. """ if _samefile(src, dst): raise SameFileError("{!r} and {!r} are the same file".format(src, dst)) for fn in [src, dst]: try: st = os.stat(fn) except OSError: # File most likely does not exist pass else: # XXX What about other special files? (sockets, devices...) if stat.S_ISFIFO(st.st_mode): raise SpecialFileError("`%s` is a named pipe" % fn) if not follow_symlinks and os.path.islink(src): os.symlink(os.readlink(src), dst) else: > with open(src, 'rb') as fsrc: E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/boost_fatal_error' /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/.tox/py37/lib/python3.7/shutil.py:120: FileNotFoundError _______________________________ test_boost_error _______________________________ exes = .Executables object at 0x7f8087254240> def test_boost_error(exes): facade = BoostTestFacade() > failures = facade.run_test(exes.get('boost_error'), '') /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/test_pytest_cpp.py:136: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/conftest.py:26: in get shutil.copy(str(source), str(dest)) /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/.tox/py37/lib/python3.7/shutil.py:241: in copy copyfile(src, dst, follow_symlinks=follow_symlinks) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src = '/tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/boost_error' dst = '/tmp/pytest-of-travis/pytest-12/test_boost_error0/boost_error' def copyfile(src, dst, *, follow_symlinks=True): """Copy data from src to dst. If follow_symlinks is not set and src is a symbolic link, a new symlink will be created instead of copying the file it points to. """ if _samefile(src, dst): raise SameFileError("{!r} and {!r} are the same file".format(src, dst)) for fn in [src, dst]: try: st = os.stat(fn) except OSError: # File most likely does not exist pass else: # XXX What about other special files? (sockets, devices...) if stat.S_ISFIFO(st.st_mode): raise SpecialFileError("`%s` is a named pipe" % fn) if not follow_symlinks and os.path.islink(src): os.symlink(os.readlink(src), dst) else: > with open(src, 'rb') as fsrc: E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/boost_error' /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/.tox/py37/lib/python3.7/shutil.py:120: FileNotFoundError ________________________ test_boost_fixture_setup_error ________________________ exes = .Executables object at 0x7f80872a5208> def test_boost_fixture_setup_error(exes): facade = BoostTestFacade() > failures = facade.run_test(exes.get('boost_fixture_setup_error'), '') /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/test_pytest_cpp.py:152: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/conftest.py:26: in get shutil.copy(str(source), str(dest)) /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/.tox/py37/lib/python3.7/shutil.py:241: in copy copyfile(src, dst, follow_symlinks=follow_symlinks) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src = '/tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/boost_fixture_setup_error' dst = '/tmp/pytest-of-travis/pytest-12/test_boost_fixture_setup_error0/boost_fixture_setup_error' def copyfile(src, dst, *, follow_symlinks=True): """Copy data from src to dst. If follow_symlinks is not set and src is a symbolic link, a new symlink will be created instead of copying the file it points to. """ if _samefile(src, dst): raise SameFileError("{!r} and {!r} are the same file".format(src, dst)) for fn in [src, dst]: try: st = os.stat(fn) except OSError: # File most likely does not exist pass else: # XXX What about other special files? (sockets, devices...) if stat.S_ISFIFO(st.st_mode): raise SpecialFileError("`%s` is a named pipe" % fn) if not follow_symlinks and os.path.islink(src): os.symlink(os.readlink(src), dst) else: > with open(src, 'rb') as fsrc: E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/boost_fixture_setup_error' /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/.tox/py37/lib/python3.7/shutil.py:120: FileNotFoundError _______________________________ test_google_run ________________________________ testdir = exes = .Executables object at 0x7f80872f2470> def test_google_run(testdir, exes): > result = testdir.inline_run('-v', exes.get('gtest', 'test_gtest')) /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/test_pytest_cpp.py:163: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/conftest.py:26: in get shutil.copy(str(source), str(dest)) /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/.tox/py37/lib/python3.7/shutil.py:241: in copy copyfile(src, dst, follow_symlinks=follow_symlinks) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src = '/tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/gtest' dst = '/tmp/pytest-of-travis/pytest-12/test_google_run0/test_gtest' def copyfile(src, dst, *, follow_symlinks=True): """Copy data from src to dst. If follow_symlinks is not set and src is a symbolic link, a new symlink will be created instead of copying the file it points to. """ if _samefile(src, dst): raise SameFileError("{!r} and {!r} are the same file".format(src, dst)) for fn in [src, dst]: try: st = os.stat(fn) except OSError: # File most likely does not exist pass else: # XXX What about other special files? (sockets, devices...) if stat.S_ISFIFO(st.st_mode): raise SpecialFileError("`%s` is a named pipe" % fn) if not follow_symlinks and os.path.islink(src): os.symlink(os.readlink(src), dst) else: > with open(src, 'rb') as fsrc: E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/gtest' /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/.tox/py37/lib/python3.7/shutil.py:120: FileNotFoundError ______________________________ test_unknown_error ______________________________ testdir = exes = .Executables object at 0x7f8087291710> mocker = def test_unknown_error(testdir, exes, mocker): mocker.patch.object(GoogleTestFacade, 'run_test', side_effect=RuntimeError('unknown error')) > result = testdir.inline_run('-v', exes.get('gtest', 'test_gtest')) /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/test_pytest_cpp.py:174: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/conftest.py:26: in get shutil.copy(str(source), str(dest)) /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/.tox/py37/lib/python3.7/shutil.py:241: in copy copyfile(src, dst, follow_symlinks=follow_symlinks) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src = '/tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/gtest' dst = '/tmp/pytest-of-travis/pytest-12/test_unknown_error0/test_gtest' def copyfile(src, dst, *, follow_symlinks=True): """Copy data from src to dst. If follow_symlinks is not set and src is a symbolic link, a new symlink will be created instead of copying the file it points to. """ if _samefile(src, dst): raise SameFileError("{!r} and {!r} are the same file".format(src, dst)) for fn in [src, dst]: try: st = os.stat(fn) except OSError: # File most likely does not exist pass else: # XXX What about other special files? (sockets, devices...) if stat.S_ISFIFO(st.st_mode): raise SpecialFileError("`%s` is a named pipe" % fn) if not follow_symlinks and os.path.islink(src): os.symlink(os.readlink(src), dst) else: > with open(src, 'rb') as fsrc: E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/gtest' /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/.tox/py37/lib/python3.7/shutil.py:120: FileNotFoundError _________________________ test_google_internal_errors __________________________ mocker = testdir = exes = .Executables object at 0x7f8087342dd8> tmpdir = local('/tmp/pytest-of-travis/pytest-12/test_google_internal_errors1') def test_google_internal_errors(mocker, testdir, exes, tmpdir): mocker.patch.object(GoogleTestFacade, 'is_test_suite', return_value=True) mocker.patch.object(GoogleTestFacade, 'list_tests', return_value=['FooTest.test_success']) mocked = mocker.patch.object(subprocess, 'check_output', autospec=True, return_value='') def raise_error(*args, **kwargs): raise subprocess.CalledProcessError(returncode=100, cmd='') mocked.side_effect = raise_error > result = testdir.inline_run('-v', exes.get('gtest', 'test_gtest')) /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/test_pytest_cpp.py:189: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/conftest.py:26: in get shutil.copy(str(source), str(dest)) /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/.tox/py37/lib/python3.7/shutil.py:241: in copy copyfile(src, dst, follow_symlinks=follow_symlinks) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src = '/tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/gtest' dst = '/tmp/pytest-of-travis/pytest-12/test_google_internal_errors0/test_gtest' def copyfile(src, dst, *, follow_symlinks=True): """Copy data from src to dst. If follow_symlinks is not set and src is a symbolic link, a new symlink will be created instead of copying the file it points to. """ if _samefile(src, dst): raise SameFileError("{!r} and {!r} are the same file".format(src, dst)) for fn in [src, dst]: try: st = os.stat(fn) except OSError: # File most likely does not exist pass else: # XXX What about other special files? (sockets, devices...) if stat.S_ISFIFO(st.st_mode): raise SpecialFileError("`%s` is a named pipe" % fn) if not follow_symlinks and os.path.islink(src): os.symlink(os.readlink(src), dst) else: > with open(src, 'rb') as fsrc: E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/gtest' /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/.tox/py37/lib/python3.7/shutil.py:120: FileNotFoundError ________________________________ test_boost_run ________________________________ testdir = exes = .Executables object at 0x7f80872db5f8> def test_boost_run(testdir, exes): all_names = ['boost_success', 'boost_error', 'boost_fixture_setup_error', 'boost_failure'] > all_files = [exes.get(n, 'test_' + n) for n in all_names] /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/test_pytest_cpp.py:208: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/test_pytest_cpp.py:208: in all_files = [exes.get(n, 'test_' + n) for n in all_names] /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/conftest.py:26: in get shutil.copy(str(source), str(dest)) /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/.tox/py37/lib/python3.7/shutil.py:241: in copy copyfile(src, dst, follow_symlinks=follow_symlinks) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src = '/tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/boost_success' dst = '/tmp/pytest-of-travis/pytest-12/test_boost_run0/test_boost_success' def copyfile(src, dst, *, follow_symlinks=True): """Copy data from src to dst. If follow_symlinks is not set and src is a symbolic link, a new symlink will be created instead of copying the file it points to. """ if _samefile(src, dst): raise SameFileError("{!r} and {!r} are the same file".format(src, dst)) for fn in [src, dst]: try: st = os.stat(fn) except OSError: # File most likely does not exist pass else: # XXX What about other special files? (sockets, devices...) if stat.S_ISFIFO(st.st_mode): raise SpecialFileError("`%s` is a named pipe" % fn) if not follow_symlinks and os.path.islink(src): os.symlink(os.readlink(src), dst) else: > with open(src, 'rb') as fsrc: E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/boost_success' /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/.tox/py37/lib/python3.7/shutil.py:120: FileNotFoundError __________________________ test_boost_internal_error ___________________________ testdir = exes = .Executables object at 0x7f8086fa75f8> mocker = def test_boost_internal_error(testdir, exes, mocker): > exe = exes.get('boost_success', 'test_boost_success') /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/test_pytest_cpp.py:229: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/conftest.py:26: in get shutil.copy(str(source), str(dest)) /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/.tox/py37/lib/python3.7/shutil.py:241: in copy copyfile(src, dst, follow_symlinks=follow_symlinks) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src = '/tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/boost_success' dst = '/tmp/pytest-of-travis/pytest-12/test_boost_internal_error0/test_boost_success' def copyfile(src, dst, *, follow_symlinks=True): """Copy data from src to dst. If follow_symlinks is not set and src is a symbolic link, a new symlink will be created instead of copying the file it points to. """ if _samefile(src, dst): raise SameFileError("{!r} and {!r} are the same file".format(src, dst)) for fn in [src, dst]: try: st = os.stat(fn) except OSError: # File most likely does not exist pass else: # XXX What about other special files? (sockets, devices...) if stat.S_ISFIFO(st.st_mode): raise SpecialFileError("`%s` is a named pipe" % fn) if not follow_symlinks and os.path.islink(src): os.symlink(os.readlink(src), dst) else: > with open(src, 'rb') as fsrc: E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/boost_success' /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/.tox/py37/lib/python3.7/shutil.py:120: FileNotFoundError ____________________________ test_cpp_files_option _____________________________ testdir = exes = .Executables object at 0x7f808727a240> def test_cpp_files_option(testdir, exes): > exes.get('boost_success') /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/test_pytest_cpp.py:247: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/conftest.py:26: in get shutil.copy(str(source), str(dest)) /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/.tox/py37/lib/python3.7/shutil.py:241: in copy copyfile(src, dst, follow_symlinks=follow_symlinks) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src = '/tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/boost_success' dst = '/tmp/pytest-of-travis/pytest-12/test_cpp_files_option0/boost_success' def copyfile(src, dst, *, follow_symlinks=True): """Copy data from src to dst. If follow_symlinks is not set and src is a symbolic link, a new symlink will be created instead of copying the file it points to. """ if _samefile(src, dst): raise SameFileError("{!r} and {!r} are the same file".format(src, dst)) for fn in [src, dst]: try: st = os.stat(fn) except OSError: # File most likely does not exist pass else: # XXX What about other special files? (sockets, devices...) if stat.S_ISFIFO(st.st_mode): raise SpecialFileError("`%s` is a named pipe" % fn) if not follow_symlinks and os.path.islink(src): os.symlink(os.readlink(src), dst) else: > with open(src, 'rb') as fsrc: E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/boost_success' /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/.tox/py37/lib/python3.7/shutil.py:120: FileNotFoundError ___________________________ test_cpp_ignore_py_files ___________________________ testdir = exes = .Executables object at 0x7f80873f2cf8> @pytest.mark.skipif(sys.platform.startswith('win'), reason='This is not a problem on Windows') def test_cpp_ignore_py_files(testdir, exes): file_name = 'cpptest_success.py' > exes.get('gtest', 'cpptest_success.py') /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/test_pytest_cpp.py:268: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/conftest.py:26: in get shutil.copy(str(source), str(dest)) /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/.tox/py37/lib/python3.7/shutil.py:241: in copy copyfile(src, dst, follow_symlinks=follow_symlinks) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src = '/tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/gtest' dst = '/tmp/pytest-of-travis/pytest-12/test_cpp_ignore_py_files0/cpptest_success.py' def copyfile(src, dst, *, follow_symlinks=True): """Copy data from src to dst. If follow_symlinks is not set and src is a symbolic link, a new symlink will be created instead of copying the file it points to. """ if _samefile(src, dst): raise SameFileError("{!r} and {!r} are the same file".format(src, dst)) for fn in [src, dst]: try: st = os.stat(fn) except OSError: # File most likely does not exist pass else: # XXX What about other special files? (sockets, devices...) if stat.S_ISFIFO(st.st_mode): raise SpecialFileError("`%s` is a named pipe" % fn) if not follow_symlinks and os.path.islink(src): os.symlink(os.readlink(src), dst) else: > with open(src, 'rb') as fsrc: E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/gtest' /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/.tox/py37/lib/python3.7/shutil.py:120: FileNotFoundError ___________________________ test_google_one_argument ___________________________ testdir = exes = .Executables object at 0x7f80872f2ac8> def test_google_one_argument(testdir, exes): testdir.makeini(''' [pytest] cpp_arguments = argument1 ''') > result = testdir.inline_run(exes.get('gtest_args'), '-k', 'ArgsTest.one_argument') /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/test_pytest_cpp.py:294: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/conftest.py:26: in get shutil.copy(str(source), str(dest)) /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/.tox/py37/lib/python3.7/shutil.py:241: in copy copyfile(src, dst, follow_symlinks=follow_symlinks) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src = '/tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/gtest_args' dst = '/tmp/pytest-of-travis/pytest-12/test_google_one_argument0/gtest_args' def copyfile(src, dst, *, follow_symlinks=True): """Copy data from src to dst. If follow_symlinks is not set and src is a symbolic link, a new symlink will be created instead of copying the file it points to. """ if _samefile(src, dst): raise SameFileError("{!r} and {!r} are the same file".format(src, dst)) for fn in [src, dst]: try: st = os.stat(fn) except OSError: # File most likely does not exist pass else: # XXX What about other special files? (sockets, devices...) if stat.S_ISFIFO(st.st_mode): raise SpecialFileError("`%s` is a named pipe" % fn) if not follow_symlinks and os.path.islink(src): os.symlink(os.readlink(src), dst) else: > with open(src, 'rb') as fsrc: E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/gtest_args' /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/.tox/py37/lib/python3.7/shutil.py:120: FileNotFoundError __________________________ test_google_two_arguments ___________________________ testdir = exes = .Executables object at 0x7f80872388d0> def test_google_two_arguments(testdir, exes): testdir.makeini(''' [pytest] cpp_arguments = argument1 argument2 ''') > result = testdir.inline_run(exes.get('gtest_args'), '-k', 'ArgsTest.two_arguments') /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/test_pytest_cpp.py:307: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/conftest.py:26: in get shutil.copy(str(source), str(dest)) /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/.tox/py37/lib/python3.7/shutil.py:241: in copy copyfile(src, dst, follow_symlinks=follow_symlinks) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src = '/tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/gtest_args' dst = '/tmp/pytest-of-travis/pytest-12/test_google_two_arguments0/gtest_args' def copyfile(src, dst, *, follow_symlinks=True): """Copy data from src to dst. If follow_symlinks is not set and src is a symbolic link, a new symlink will be created instead of copying the file it points to. """ if _samefile(src, dst): raise SameFileError("{!r} and {!r} are the same file".format(src, dst)) for fn in [src, dst]: try: st = os.stat(fn) except OSError: # File most likely does not exist pass else: # XXX What about other special files? (sockets, devices...) if stat.S_ISFIFO(st.st_mode): raise SpecialFileError("`%s` is a named pipe" % fn) if not follow_symlinks and os.path.islink(src): os.symlink(os.readlink(src), dst) else: > with open(src, 'rb') as fsrc: E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/gtest_args' /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/.tox/py37/lib/python3.7/shutil.py:120: FileNotFoundError _____________________ test_google_one_argument_via_option ______________________ testdir = exes = .Executables object at 0x7f80871e0860> def test_google_one_argument_via_option(testdir, exes): > result = testdir.inline_run(exes.get('gtest_args'), '-k', 'ArgsTest.one_argument', '-o', 'cpp_arguments=argument1') /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/test_pytest_cpp.py:315: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/conftest.py:26: in get shutil.copy(str(source), str(dest)) /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/.tox/py37/lib/python3.7/shutil.py:241: in copy copyfile(src, dst, follow_symlinks=follow_symlinks) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src = '/tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/gtest_args' dst = '/tmp/pytest-of-travis/pytest-12/test_google_one_argument_via_option0/gtest_args' def copyfile(src, dst, *, follow_symlinks=True): """Copy data from src to dst. If follow_symlinks is not set and src is a symbolic link, a new symlink will be created instead of copying the file it points to. """ if _samefile(src, dst): raise SameFileError("{!r} and {!r} are the same file".format(src, dst)) for fn in [src, dst]: try: st = os.stat(fn) except OSError: # File most likely does not exist pass else: # XXX What about other special files? (sockets, devices...) if stat.S_ISFIFO(st.st_mode): raise SpecialFileError("`%s` is a named pipe" % fn) if not follow_symlinks and os.path.islink(src): os.symlink(os.readlink(src), dst) else: > with open(src, 'rb') as fsrc: E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/gtest_args' /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/.tox/py37/lib/python3.7/shutil.py:120: FileNotFoundError _____________________ test_google_two_arguments_via_option _____________________ testdir = exes = .Executables object at 0x7f80873c44a8> def test_google_two_arguments_via_option(testdir, exes): > result = testdir.inline_run(exes.get('gtest_args'), '-k', 'ArgsTest.two_arguments', '-o', 'cpp_arguments=argument1 argument2') /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/test_pytest_cpp.py:324: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/conftest.py:26: in get shutil.copy(str(source), str(dest)) /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/.tox/py37/lib/python3.7/shutil.py:241: in copy copyfile(src, dst, follow_symlinks=follow_symlinks) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src = '/tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/gtest_args' dst = '/tmp/pytest-of-travis/pytest-12/test_google_two_arguments_via_option0/gtest_args' def copyfile(src, dst, *, follow_symlinks=True): """Copy data from src to dst. If follow_symlinks is not set and src is a symbolic link, a new symlink will be created instead of copying the file it points to. """ if _samefile(src, dst): raise SameFileError("{!r} and {!r} are the same file".format(src, dst)) for fn in [src, dst]: try: st = os.stat(fn) except OSError: # File most likely does not exist pass else: # XXX What about other special files? (sockets, devices...) if stat.S_ISFIFO(st.st_mode): raise SpecialFileError("`%s` is a named pipe" % fn) if not follow_symlinks and os.path.islink(src): os.symlink(os.readlink(src), dst) else: > with open(src, 'rb') as fsrc: E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/gtest_args' /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/.tox/py37/lib/python3.7/shutil.py:120: FileNotFoundError ________________________ test_argument_option_priority _________________________ testdir = exes = .Executables object at 0x7f8086e87d68> def test_argument_option_priority(testdir, exes): testdir.makeini(''' [pytest] cpp_arguments = argument2 ''') > result = testdir.inline_run(exes.get('gtest_args'), '-k', 'ArgsTest.one_argument', '-o', 'cpp_arguments=argument1') /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/test_pytest_cpp.py:337: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/conftest.py:26: in get shutil.copy(str(source), str(dest)) /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/.tox/py37/lib/python3.7/shutil.py:241: in copy copyfile(src, dst, follow_symlinks=follow_symlinks) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src = '/tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/gtest_args' dst = '/tmp/pytest-of-travis/pytest-12/test_argument_option_priority0/gtest_args' def copyfile(src, dst, *, follow_symlinks=True): """Copy data from src to dst. If follow_symlinks is not set and src is a symbolic link, a new symlink will be created instead of copying the file it points to. """ if _samefile(src, dst): raise SameFileError("{!r} and {!r} are the same file".format(src, dst)) for fn in [src, dst]: try: st = os.stat(fn) except OSError: # File most likely does not exist pass else: # XXX What about other special files? (sockets, devices...) if stat.S_ISFIFO(st.st_mode): raise SpecialFileError("`%s` is a named pipe" % fn) if not follow_symlinks and os.path.islink(src): os.symlink(os.readlink(src), dst) else: > with open(src, 'rb') as fsrc: E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/gtest_args' /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/.tox/py37/lib/python3.7/shutil.py:120: FileNotFoundError ___________________________ test_boost_one_argument ____________________________ testdir = exes = .Executables object at 0x7f80871e0208> def test_boost_one_argument(testdir, exes): testdir.makeini(''' [pytest] cpp_arguments = argument1 ''') > result = testdir.inline_run(exes.get('boost_one_argument')) /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/test_pytest_cpp.py:351: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/conftest.py:26: in get shutil.copy(str(source), str(dest)) /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/.tox/py37/lib/python3.7/shutil.py:241: in copy copyfile(src, dst, follow_symlinks=follow_symlinks) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src = '/tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/boost_one_argument' dst = '/tmp/pytest-of-travis/pytest-12/test_boost_one_argument0/boost_one_argument' def copyfile(src, dst, *, follow_symlinks=True): """Copy data from src to dst. If follow_symlinks is not set and src is a symbolic link, a new symlink will be created instead of copying the file it points to. """ if _samefile(src, dst): raise SameFileError("{!r} and {!r} are the same file".format(src, dst)) for fn in [src, dst]: try: st = os.stat(fn) except OSError: # File most likely does not exist pass else: # XXX What about other special files? (sockets, devices...) if stat.S_ISFIFO(st.st_mode): raise SpecialFileError("`%s` is a named pipe" % fn) if not follow_symlinks and os.path.islink(src): os.symlink(os.readlink(src), dst) else: > with open(src, 'rb') as fsrc: E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/boost_one_argument' /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/.tox/py37/lib/python3.7/shutil.py:120: FileNotFoundError ___________________________ test_boost_two_arguments ___________________________ testdir = exes = .Executables object at 0x7f8086e874e0> def test_boost_two_arguments(testdir, exes): testdir.makeini(''' [pytest] cpp_arguments = argument1 argument2 ''') > result = testdir.inline_run(exes.get('boost_two_arguments')) /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/test_pytest_cpp.py:362: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/conftest.py:26: in get shutil.copy(str(source), str(dest)) /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/.tox/py37/lib/python3.7/shutil.py:241: in copy copyfile(src, dst, follow_symlinks=follow_symlinks) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src = '/tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/boost_two_arguments' dst = '/tmp/pytest-of-travis/pytest-12/test_boost_two_arguments0/boost_two_arguments' def copyfile(src, dst, *, follow_symlinks=True): """Copy data from src to dst. If follow_symlinks is not set and src is a symbolic link, a new symlink will be created instead of copying the file it points to. """ if _samefile(src, dst): raise SameFileError("{!r} and {!r} are the same file".format(src, dst)) for fn in [src, dst]: try: st = os.stat(fn) except OSError: # File most likely does not exist pass else: # XXX What about other special files? (sockets, devices...) if stat.S_ISFIFO(st.st_mode): raise SpecialFileError("`%s` is a named pipe" % fn) if not follow_symlinks and os.path.islink(src): os.symlink(os.readlink(src), dst) else: > with open(src, 'rb') as fsrc: E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/boost_two_arguments' /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/.tox/py37/lib/python3.7/shutil.py:120: FileNotFoundError ______________________ test_boost_one_argument_via_option ______________________ testdir = exes = .Executables object at 0x7f80872384a8> def test_boost_one_argument_via_option(testdir, exes): > result = testdir.inline_run(exes.get('boost_one_argument'), '-o', 'cpp_arguments=argument1') /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/test_pytest_cpp.py:368: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/conftest.py:26: in get shutil.copy(str(source), str(dest)) /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/.tox/py37/lib/python3.7/shutil.py:241: in copy copyfile(src, dst, follow_symlinks=follow_symlinks) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src = '/tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/boost_one_argument' dst = '/tmp/pytest-of-travis/pytest-12/test_boost_one_argument_via_option0/boost_one_argument' def copyfile(src, dst, *, follow_symlinks=True): """Copy data from src to dst. If follow_symlinks is not set and src is a symbolic link, a new symlink will be created instead of copying the file it points to. """ if _samefile(src, dst): raise SameFileError("{!r} and {!r} are the same file".format(src, dst)) for fn in [src, dst]: try: st = os.stat(fn) except OSError: # File most likely does not exist pass else: # XXX What about other special files? (sockets, devices...) if stat.S_ISFIFO(st.st_mode): raise SpecialFileError("`%s` is a named pipe" % fn) if not follow_symlinks and os.path.islink(src): os.symlink(os.readlink(src), dst) else: > with open(src, 'rb') as fsrc: E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/boost_one_argument' /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/.tox/py37/lib/python3.7/shutil.py:120: FileNotFoundError _____________________ test_boost_two_arguments_via_option ______________________ testdir = exes = .Executables object at 0x7f8086e87f60> def test_boost_two_arguments_via_option(testdir, exes): > result = testdir.inline_run(exes.get('boost_two_arguments'), '-o', 'cpp_arguments=argument1 argument2') /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/test_pytest_cpp.py:375: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/conftest.py:26: in get shutil.copy(str(source), str(dest)) /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/.tox/py37/lib/python3.7/shutil.py:241: in copy copyfile(src, dst, follow_symlinks=follow_symlinks) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src = '/tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/boost_two_arguments' dst = '/tmp/pytest-of-travis/pytest-12/test_boost_two_arguments_via_option0/boost_two_arguments' def copyfile(src, dst, *, follow_symlinks=True): """Copy data from src to dst. If follow_symlinks is not set and src is a symbolic link, a new symlink will be created instead of copying the file it points to. """ if _samefile(src, dst): raise SameFileError("{!r} and {!r} are the same file".format(src, dst)) for fn in [src, dst]: try: st = os.stat(fn) except OSError: # File most likely does not exist pass else: # XXX What about other special files? (sockets, devices...) if stat.S_ISFIFO(st.st_mode): raise SpecialFileError("`%s` is a named pipe" % fn) if not follow_symlinks and os.path.islink(src): os.symlink(os.readlink(src), dst) else: > with open(src, 'rb') as fsrc: E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/boost_two_arguments' /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/.tox/py37/lib/python3.7/shutil.py:120: FileNotFoundError _________________ test_passing_files_directly_in_command_line __________________ testdir = exes = .Executables object at 0x7f80871e0cc0> def test_passing_files_directly_in_command_line(testdir, exes): > f = exes.get('boost_success') /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/test_pytest_cpp.py:382: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/conftest.py:26: in get shutil.copy(str(source), str(dest)) /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/.tox/py37/lib/python3.7/shutil.py:241: in copy copyfile(src, dst, follow_symlinks=follow_symlinks) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src = '/tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/boost_success' dst = '/tmp/pytest-of-travis/pytest-12/test_passing_files_directly_in_command_line0/boost_success' def copyfile(src, dst, *, follow_symlinks=True): """Copy data from src to dst. If follow_symlinks is not set and src is a symbolic link, a new symlink will be created instead of copying the file it points to. """ if _samefile(src, dst): raise SameFileError("{!r} and {!r} are the same file".format(src, dst)) for fn in [src, dst]: try: st = os.stat(fn) except OSError: # File most likely does not exist pass else: # XXX What about other special files? (sockets, devices...) if stat.S_ISFIFO(st.st_mode): raise SpecialFileError("`%s` is a named pipe" % fn) if not follow_symlinks and os.path.islink(src): os.symlink(os.readlink(src), dst) else: > with open(src, 'rb') as fsrc: E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/boost_success' /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/.tox/py37/lib/python3.7/shutil.py:120: FileNotFoundError ____________________ test_samples[unit_test_example_01-0-1] ____________________ exes = .Executables object at 0x7f80871fb5c0> testdir = name = 'unit_test_example_01', passed = 0, failed = 1 @pytest.mark.parametrize('name, passed, failed', [ ('unit_test_example_01', 0, 1), ('unit_test_example_02', 0, 1), ('unit_test_example_03', 0, 1), ('unit_test_example_04', 0, 1), ('unit_test_example_05', 0, 1), ('unit_test_example_06', 0, 1), ('unit_test_example_07', 1, 0), ('unit_test_example_08', 0, 1), ('unit_test_example_09_1', 1, 0), ('unit_test_example_09_2', 1, 0), ('unit_test_example_13', 1, 0), ('utest_case_template_example', 0, 1), ]) def test_samples(exes, testdir, name, passed, failed): > result = testdir.runpytest(exes.get('boosttest-samples/%s' % name)) /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/acceptance/test_boosttest_samples.py:19: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/conftest.py:26: in get shutil.copy(str(source), str(dest)) /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/.tox/py37/lib/python3.7/shutil.py:241: in copy copyfile(src, dst, follow_symlinks=follow_symlinks) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src = '/tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/acceptance/boosttest-samples/unit_test_example_01' dst = '/tmp/pytest-of-travis/pytest-12/test_samples0/unit_test_example_01' def copyfile(src, dst, *, follow_symlinks=True): """Copy data from src to dst. If follow_symlinks is not set and src is a symbolic link, a new symlink will be created instead of copying the file it points to. """ if _samefile(src, dst): raise SameFileError("{!r} and {!r} are the same file".format(src, dst)) for fn in [src, dst]: try: st = os.stat(fn) except OSError: # File most likely does not exist pass else: # XXX What about other special files? (sockets, devices...) if stat.S_ISFIFO(st.st_mode): raise SpecialFileError("`%s` is a named pipe" % fn) if not follow_symlinks and os.path.islink(src): os.symlink(os.readlink(src), dst) else: > with open(src, 'rb') as fsrc: E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/acceptance/boosttest-samples/unit_test_example_01' /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/.tox/py37/lib/python3.7/shutil.py:120: FileNotFoundError ____________________ test_samples[unit_test_example_02-0-1] ____________________ exes = .Executables object at 0x7f80871beb38> testdir = name = 'unit_test_example_02', passed = 0, failed = 1 @pytest.mark.parametrize('name, passed, failed', [ ('unit_test_example_01', 0, 1), ('unit_test_example_02', 0, 1), ('unit_test_example_03', 0, 1), ('unit_test_example_04', 0, 1), ('unit_test_example_05', 0, 1), ('unit_test_example_06', 0, 1), ('unit_test_example_07', 1, 0), ('unit_test_example_08', 0, 1), ('unit_test_example_09_1', 1, 0), ('unit_test_example_09_2', 1, 0), ('unit_test_example_13', 1, 0), ('utest_case_template_example', 0, 1), ]) def test_samples(exes, testdir, name, passed, failed): > result = testdir.runpytest(exes.get('boosttest-samples/%s' % name)) /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/acceptance/test_boosttest_samples.py:19: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/conftest.py:26: in get shutil.copy(str(source), str(dest)) /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/.tox/py37/lib/python3.7/shutil.py:241: in copy copyfile(src, dst, follow_symlinks=follow_symlinks) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src = '/tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/acceptance/boosttest-samples/unit_test_example_02' dst = '/tmp/pytest-of-travis/pytest-12/test_samples1/unit_test_example_02' def copyfile(src, dst, *, follow_symlinks=True): """Copy data from src to dst. If follow_symlinks is not set and src is a symbolic link, a new symlink will be created instead of copying the file it points to. """ if _samefile(src, dst): raise SameFileError("{!r} and {!r} are the same file".format(src, dst)) for fn in [src, dst]: try: st = os.stat(fn) except OSError: # File most likely does not exist pass else: # XXX What about other special files? (sockets, devices...) if stat.S_ISFIFO(st.st_mode): raise SpecialFileError("`%s` is a named pipe" % fn) if not follow_symlinks and os.path.islink(src): os.symlink(os.readlink(src), dst) else: > with open(src, 'rb') as fsrc: E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/acceptance/boosttest-samples/unit_test_example_02' /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/.tox/py37/lib/python3.7/shutil.py:120: FileNotFoundError ____________________ test_samples[unit_test_example_03-0-1] ____________________ exes = .Executables object at 0x7f8086fa34e0> testdir = name = 'unit_test_example_03', passed = 0, failed = 1 @pytest.mark.parametrize('name, passed, failed', [ ('unit_test_example_01', 0, 1), ('unit_test_example_02', 0, 1), ('unit_test_example_03', 0, 1), ('unit_test_example_04', 0, 1), ('unit_test_example_05', 0, 1), ('unit_test_example_06', 0, 1), ('unit_test_example_07', 1, 0), ('unit_test_example_08', 0, 1), ('unit_test_example_09_1', 1, 0), ('unit_test_example_09_2', 1, 0), ('unit_test_example_13', 1, 0), ('utest_case_template_example', 0, 1), ]) def test_samples(exes, testdir, name, passed, failed): > result = testdir.runpytest(exes.get('boosttest-samples/%s' % name)) /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/acceptance/test_boosttest_samples.py:19: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/conftest.py:26: in get shutil.copy(str(source), str(dest)) /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/.tox/py37/lib/python3.7/shutil.py:241: in copy copyfile(src, dst, follow_symlinks=follow_symlinks) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src = '/tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/acceptance/boosttest-samples/unit_test_example_03' dst = '/tmp/pytest-of-travis/pytest-12/test_samples2/unit_test_example_03' def copyfile(src, dst, *, follow_symlinks=True): """Copy data from src to dst. If follow_symlinks is not set and src is a symbolic link, a new symlink will be created instead of copying the file it points to. """ if _samefile(src, dst): raise SameFileError("{!r} and {!r} are the same file".format(src, dst)) for fn in [src, dst]: try: st = os.stat(fn) except OSError: # File most likely does not exist pass else: # XXX What about other special files? (sockets, devices...) if stat.S_ISFIFO(st.st_mode): raise SpecialFileError("`%s` is a named pipe" % fn) if not follow_symlinks and os.path.islink(src): os.symlink(os.readlink(src), dst) else: > with open(src, 'rb') as fsrc: E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/acceptance/boosttest-samples/unit_test_example_03' /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/.tox/py37/lib/python3.7/shutil.py:120: FileNotFoundError ____________________ test_samples[unit_test_example_04-0-1] ____________________ exes = .Executables object at 0x7f8087321550> testdir = name = 'unit_test_example_04', passed = 0, failed = 1 @pytest.mark.parametrize('name, passed, failed', [ ('unit_test_example_01', 0, 1), ('unit_test_example_02', 0, 1), ('unit_test_example_03', 0, 1), ('unit_test_example_04', 0, 1), ('unit_test_example_05', 0, 1), ('unit_test_example_06', 0, 1), ('unit_test_example_07', 1, 0), ('unit_test_example_08', 0, 1), ('unit_test_example_09_1', 1, 0), ('unit_test_example_09_2', 1, 0), ('unit_test_example_13', 1, 0), ('utest_case_template_example', 0, 1), ]) def test_samples(exes, testdir, name, passed, failed): > result = testdir.runpytest(exes.get('boosttest-samples/%s' % name)) /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/acceptance/test_boosttest_samples.py:19: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/conftest.py:26: in get shutil.copy(str(source), str(dest)) /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/.tox/py37/lib/python3.7/shutil.py:241: in copy copyfile(src, dst, follow_symlinks=follow_symlinks) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src = '/tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/acceptance/boosttest-samples/unit_test_example_04' dst = '/tmp/pytest-of-travis/pytest-12/test_samples3/unit_test_example_04' def copyfile(src, dst, *, follow_symlinks=True): """Copy data from src to dst. If follow_symlinks is not set and src is a symbolic link, a new symlink will be created instead of copying the file it points to. """ if _samefile(src, dst): raise SameFileError("{!r} and {!r} are the same file".format(src, dst)) for fn in [src, dst]: try: st = os.stat(fn) except OSError: # File most likely does not exist pass else: # XXX What about other special files? (sockets, devices...) if stat.S_ISFIFO(st.st_mode): raise SpecialFileError("`%s` is a named pipe" % fn) if not follow_symlinks and os.path.islink(src): os.symlink(os.readlink(src), dst) else: > with open(src, 'rb') as fsrc: E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/acceptance/boosttest-samples/unit_test_example_04' /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/.tox/py37/lib/python3.7/shutil.py:120: FileNotFoundError ____________________ test_samples[unit_test_example_05-0-1] ____________________ exes = .Executables object at 0x7f8087233f60> testdir = name = 'unit_test_example_05', passed = 0, failed = 1 @pytest.mark.parametrize('name, passed, failed', [ ('unit_test_example_01', 0, 1), ('unit_test_example_02', 0, 1), ('unit_test_example_03', 0, 1), ('unit_test_example_04', 0, 1), ('unit_test_example_05', 0, 1), ('unit_test_example_06', 0, 1), ('unit_test_example_07', 1, 0), ('unit_test_example_08', 0, 1), ('unit_test_example_09_1', 1, 0), ('unit_test_example_09_2', 1, 0), ('unit_test_example_13', 1, 0), ('utest_case_template_example', 0, 1), ]) def test_samples(exes, testdir, name, passed, failed): > result = testdir.runpytest(exes.get('boosttest-samples/%s' % name)) /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/acceptance/test_boosttest_samples.py:19: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/conftest.py:26: in get shutil.copy(str(source), str(dest)) /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/.tox/py37/lib/python3.7/shutil.py:241: in copy copyfile(src, dst, follow_symlinks=follow_symlinks) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src = '/tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/acceptance/boosttest-samples/unit_test_example_05' dst = '/tmp/pytest-of-travis/pytest-12/test_samples4/unit_test_example_05' def copyfile(src, dst, *, follow_symlinks=True): """Copy data from src to dst. If follow_symlinks is not set and src is a symbolic link, a new symlink will be created instead of copying the file it points to. """ if _samefile(src, dst): raise SameFileError("{!r} and {!r} are the same file".format(src, dst)) for fn in [src, dst]: try: st = os.stat(fn) except OSError: # File most likely does not exist pass else: # XXX What about other special files? (sockets, devices...) if stat.S_ISFIFO(st.st_mode): raise SpecialFileError("`%s` is a named pipe" % fn) if not follow_symlinks and os.path.islink(src): os.symlink(os.readlink(src), dst) else: > with open(src, 'rb') as fsrc: E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/acceptance/boosttest-samples/unit_test_example_05' /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/.tox/py37/lib/python3.7/shutil.py:120: FileNotFoundError ____________________ test_samples[unit_test_example_06-0-1] ____________________ exes = .Executables object at 0x7f80873bbf28> testdir = name = 'unit_test_example_06', passed = 0, failed = 1 @pytest.mark.parametrize('name, passed, failed', [ ('unit_test_example_01', 0, 1), ('unit_test_example_02', 0, 1), ('unit_test_example_03', 0, 1), ('unit_test_example_04', 0, 1), ('unit_test_example_05', 0, 1), ('unit_test_example_06', 0, 1), ('unit_test_example_07', 1, 0), ('unit_test_example_08', 0, 1), ('unit_test_example_09_1', 1, 0), ('unit_test_example_09_2', 1, 0), ('unit_test_example_13', 1, 0), ('utest_case_template_example', 0, 1), ]) def test_samples(exes, testdir, name, passed, failed): > result = testdir.runpytest(exes.get('boosttest-samples/%s' % name)) /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/acceptance/test_boosttest_samples.py:19: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/conftest.py:26: in get shutil.copy(str(source), str(dest)) /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/.tox/py37/lib/python3.7/shutil.py:241: in copy copyfile(src, dst, follow_symlinks=follow_symlinks) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src = '/tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/acceptance/boosttest-samples/unit_test_example_06' dst = '/tmp/pytest-of-travis/pytest-12/test_samples5/unit_test_example_06' def copyfile(src, dst, *, follow_symlinks=True): """Copy data from src to dst. If follow_symlinks is not set and src is a symbolic link, a new symlink will be created instead of copying the file it points to. """ if _samefile(src, dst): raise SameFileError("{!r} and {!r} are the same file".format(src, dst)) for fn in [src, dst]: try: st = os.stat(fn) except OSError: # File most likely does not exist pass else: # XXX What about other special files? (sockets, devices...) if stat.S_ISFIFO(st.st_mode): raise SpecialFileError("`%s` is a named pipe" % fn) if not follow_symlinks and os.path.islink(src): os.symlink(os.readlink(src), dst) else: > with open(src, 'rb') as fsrc: E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/acceptance/boosttest-samples/unit_test_example_06' /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/.tox/py37/lib/python3.7/shutil.py:120: FileNotFoundError ____________________ test_samples[unit_test_example_07-1-0] ____________________ exes = .Executables object at 0x7f808723c550> testdir = name = 'unit_test_example_07', passed = 1, failed = 0 @pytest.mark.parametrize('name, passed, failed', [ ('unit_test_example_01', 0, 1), ('unit_test_example_02', 0, 1), ('unit_test_example_03', 0, 1), ('unit_test_example_04', 0, 1), ('unit_test_example_05', 0, 1), ('unit_test_example_06', 0, 1), ('unit_test_example_07', 1, 0), ('unit_test_example_08', 0, 1), ('unit_test_example_09_1', 1, 0), ('unit_test_example_09_2', 1, 0), ('unit_test_example_13', 1, 0), ('utest_case_template_example', 0, 1), ]) def test_samples(exes, testdir, name, passed, failed): > result = testdir.runpytest(exes.get('boosttest-samples/%s' % name)) /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/acceptance/test_boosttest_samples.py:19: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/conftest.py:26: in get shutil.copy(str(source), str(dest)) /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/.tox/py37/lib/python3.7/shutil.py:241: in copy copyfile(src, dst, follow_symlinks=follow_symlinks) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src = '/tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/acceptance/boosttest-samples/unit_test_example_07' dst = '/tmp/pytest-of-travis/pytest-12/test_samples6/unit_test_example_07' def copyfile(src, dst, *, follow_symlinks=True): """Copy data from src to dst. If follow_symlinks is not set and src is a symbolic link, a new symlink will be created instead of copying the file it points to. """ if _samefile(src, dst): raise SameFileError("{!r} and {!r} are the same file".format(src, dst)) for fn in [src, dst]: try: st = os.stat(fn) except OSError: # File most likely does not exist pass else: # XXX What about other special files? (sockets, devices...) if stat.S_ISFIFO(st.st_mode): raise SpecialFileError("`%s` is a named pipe" % fn) if not follow_symlinks and os.path.islink(src): os.symlink(os.readlink(src), dst) else: > with open(src, 'rb') as fsrc: E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/acceptance/boosttest-samples/unit_test_example_07' /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/.tox/py37/lib/python3.7/shutil.py:120: FileNotFoundError ____________________ test_samples[unit_test_example_08-0-1] ____________________ exes = .Executables object at 0x7f8087254898> testdir = name = 'unit_test_example_08', passed = 0, failed = 1 @pytest.mark.parametrize('name, passed, failed', [ ('unit_test_example_01', 0, 1), ('unit_test_example_02', 0, 1), ('unit_test_example_03', 0, 1), ('unit_test_example_04', 0, 1), ('unit_test_example_05', 0, 1), ('unit_test_example_06', 0, 1), ('unit_test_example_07', 1, 0), ('unit_test_example_08', 0, 1), ('unit_test_example_09_1', 1, 0), ('unit_test_example_09_2', 1, 0), ('unit_test_example_13', 1, 0), ('utest_case_template_example', 0, 1), ]) def test_samples(exes, testdir, name, passed, failed): > result = testdir.runpytest(exes.get('boosttest-samples/%s' % name)) /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/acceptance/test_boosttest_samples.py:19: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/conftest.py:26: in get shutil.copy(str(source), str(dest)) /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/.tox/py37/lib/python3.7/shutil.py:241: in copy copyfile(src, dst, follow_symlinks=follow_symlinks) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src = '/tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/acceptance/boosttest-samples/unit_test_example_08' dst = '/tmp/pytest-of-travis/pytest-12/test_samples7/unit_test_example_08' def copyfile(src, dst, *, follow_symlinks=True): """Copy data from src to dst. If follow_symlinks is not set and src is a symbolic link, a new symlink will be created instead of copying the file it points to. """ if _samefile(src, dst): raise SameFileError("{!r} and {!r} are the same file".format(src, dst)) for fn in [src, dst]: try: st = os.stat(fn) except OSError: # File most likely does not exist pass else: # XXX What about other special files? (sockets, devices...) if stat.S_ISFIFO(st.st_mode): raise SpecialFileError("`%s` is a named pipe" % fn) if not follow_symlinks and os.path.islink(src): os.symlink(os.readlink(src), dst) else: > with open(src, 'rb') as fsrc: E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/acceptance/boosttest-samples/unit_test_example_08' /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/.tox/py37/lib/python3.7/shutil.py:120: FileNotFoundError ___________________ test_samples[unit_test_example_09_1-1-0] ___________________ exes = .Executables object at 0x7f8087346da0> testdir = name = 'unit_test_example_09_1', passed = 1, failed = 0 @pytest.mark.parametrize('name, passed, failed', [ ('unit_test_example_01', 0, 1), ('unit_test_example_02', 0, 1), ('unit_test_example_03', 0, 1), ('unit_test_example_04', 0, 1), ('unit_test_example_05', 0, 1), ('unit_test_example_06', 0, 1), ('unit_test_example_07', 1, 0), ('unit_test_example_08', 0, 1), ('unit_test_example_09_1', 1, 0), ('unit_test_example_09_2', 1, 0), ('unit_test_example_13', 1, 0), ('utest_case_template_example', 0, 1), ]) def test_samples(exes, testdir, name, passed, failed): > result = testdir.runpytest(exes.get('boosttest-samples/%s' % name)) /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/acceptance/test_boosttest_samples.py:19: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/conftest.py:26: in get shutil.copy(str(source), str(dest)) /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/.tox/py37/lib/python3.7/shutil.py:241: in copy copyfile(src, dst, follow_symlinks=follow_symlinks) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src = '/tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/acceptance/boosttest-samples/unit_test_example_09_1' dst = '/tmp/pytest-of-travis/pytest-12/test_samples8/unit_test_example_09_1' def copyfile(src, dst, *, follow_symlinks=True): """Copy data from src to dst. If follow_symlinks is not set and src is a symbolic link, a new symlink will be created instead of copying the file it points to. """ if _samefile(src, dst): raise SameFileError("{!r} and {!r} are the same file".format(src, dst)) for fn in [src, dst]: try: st = os.stat(fn) except OSError: # File most likely does not exist pass else: # XXX What about other special files? (sockets, devices...) if stat.S_ISFIFO(st.st_mode): raise SpecialFileError("`%s` is a named pipe" % fn) if not follow_symlinks and os.path.islink(src): os.symlink(os.readlink(src), dst) else: > with open(src, 'rb') as fsrc: E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/acceptance/boosttest-samples/unit_test_example_09_1' /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/.tox/py37/lib/python3.7/shutil.py:120: FileNotFoundError ___________________ test_samples[unit_test_example_09_2-1-0] ___________________ exes = .Executables object at 0x7f80873c4390> testdir = name = 'unit_test_example_09_2', passed = 1, failed = 0 @pytest.mark.parametrize('name, passed, failed', [ ('unit_test_example_01', 0, 1), ('unit_test_example_02', 0, 1), ('unit_test_example_03', 0, 1), ('unit_test_example_04', 0, 1), ('unit_test_example_05', 0, 1), ('unit_test_example_06', 0, 1), ('unit_test_example_07', 1, 0), ('unit_test_example_08', 0, 1), ('unit_test_example_09_1', 1, 0), ('unit_test_example_09_2', 1, 0), ('unit_test_example_13', 1, 0), ('utest_case_template_example', 0, 1), ]) def test_samples(exes, testdir, name, passed, failed): > result = testdir.runpytest(exes.get('boosttest-samples/%s' % name)) /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/acceptance/test_boosttest_samples.py:19: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/conftest.py:26: in get shutil.copy(str(source), str(dest)) /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/.tox/py37/lib/python3.7/shutil.py:241: in copy copyfile(src, dst, follow_symlinks=follow_symlinks) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src = '/tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/acceptance/boosttest-samples/unit_test_example_09_2' dst = '/tmp/pytest-of-travis/pytest-12/test_samples9/unit_test_example_09_2' def copyfile(src, dst, *, follow_symlinks=True): """Copy data from src to dst. If follow_symlinks is not set and src is a symbolic link, a new symlink will be created instead of copying the file it points to. """ if _samefile(src, dst): raise SameFileError("{!r} and {!r} are the same file".format(src, dst)) for fn in [src, dst]: try: st = os.stat(fn) except OSError: # File most likely does not exist pass else: # XXX What about other special files? (sockets, devices...) if stat.S_ISFIFO(st.st_mode): raise SpecialFileError("`%s` is a named pipe" % fn) if not follow_symlinks and os.path.islink(src): os.symlink(os.readlink(src), dst) else: > with open(src, 'rb') as fsrc: E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/acceptance/boosttest-samples/unit_test_example_09_2' /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/.tox/py37/lib/python3.7/shutil.py:120: FileNotFoundError ____________________ test_samples[unit_test_example_13-1-0] ____________________ exes = .Executables object at 0x7f8086ea1550> testdir = name = 'unit_test_example_13', passed = 1, failed = 0 @pytest.mark.parametrize('name, passed, failed', [ ('unit_test_example_01', 0, 1), ('unit_test_example_02', 0, 1), ('unit_test_example_03', 0, 1), ('unit_test_example_04', 0, 1), ('unit_test_example_05', 0, 1), ('unit_test_example_06', 0, 1), ('unit_test_example_07', 1, 0), ('unit_test_example_08', 0, 1), ('unit_test_example_09_1', 1, 0), ('unit_test_example_09_2', 1, 0), ('unit_test_example_13', 1, 0), ('utest_case_template_example', 0, 1), ]) def test_samples(exes, testdir, name, passed, failed): > result = testdir.runpytest(exes.get('boosttest-samples/%s' % name)) /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/acceptance/test_boosttest_samples.py:19: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/conftest.py:26: in get shutil.copy(str(source), str(dest)) /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/.tox/py37/lib/python3.7/shutil.py:241: in copy copyfile(src, dst, follow_symlinks=follow_symlinks) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src = '/tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/acceptance/boosttest-samples/unit_test_example_13' dst = '/tmp/pytest-of-travis/pytest-12/test_samples10/unit_test_example_13' def copyfile(src, dst, *, follow_symlinks=True): """Copy data from src to dst. If follow_symlinks is not set and src is a symbolic link, a new symlink will be created instead of copying the file it points to. """ if _samefile(src, dst): raise SameFileError("{!r} and {!r} are the same file".format(src, dst)) for fn in [src, dst]: try: st = os.stat(fn) except OSError: # File most likely does not exist pass else: # XXX What about other special files? (sockets, devices...) if stat.S_ISFIFO(st.st_mode): raise SpecialFileError("`%s` is a named pipe" % fn) if not follow_symlinks and os.path.islink(src): os.symlink(os.readlink(src), dst) else: > with open(src, 'rb') as fsrc: E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/acceptance/boosttest-samples/unit_test_example_13' /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/.tox/py37/lib/python3.7/shutil.py:120: FileNotFoundError ________________ test_samples[utest_case_template_example-0-1] _________________ exes = .Executables object at 0x7f80872386a0> testdir = name = 'utest_case_template_example', passed = 0, failed = 1 @pytest.mark.parametrize('name, passed, failed', [ ('unit_test_example_01', 0, 1), ('unit_test_example_02', 0, 1), ('unit_test_example_03', 0, 1), ('unit_test_example_04', 0, 1), ('unit_test_example_05', 0, 1), ('unit_test_example_06', 0, 1), ('unit_test_example_07', 1, 0), ('unit_test_example_08', 0, 1), ('unit_test_example_09_1', 1, 0), ('unit_test_example_09_2', 1, 0), ('unit_test_example_13', 1, 0), ('utest_case_template_example', 0, 1), ]) def test_samples(exes, testdir, name, passed, failed): > result = testdir.runpytest(exes.get('boosttest-samples/%s' % name)) /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/acceptance/test_boosttest_samples.py:19: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/conftest.py:26: in get shutil.copy(str(source), str(dest)) /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/.tox/py37/lib/python3.7/shutil.py:241: in copy copyfile(src, dst, follow_symlinks=follow_symlinks) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src = '/tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/acceptance/boosttest-samples/utest_case_template_example' dst = '/tmp/pytest-of-travis/pytest-12/test_samples11/utest_case_template_example' def copyfile(src, dst, *, follow_symlinks=True): """Copy data from src to dst. If follow_symlinks is not set and src is a symbolic link, a new symlink will be created instead of copying the file it points to. """ if _samefile(src, dst): raise SameFileError("{!r} and {!r} are the same file".format(src, dst)) for fn in [src, dst]: try: st = os.stat(fn) except OSError: # File most likely does not exist pass else: # XXX What about other special files? (sockets, devices...) if stat.S_ISFIFO(st.st_mode): raise SpecialFileError("`%s` is a named pipe" % fn) if not follow_symlinks and os.path.islink(src): os.symlink(os.readlink(src), dst) else: > with open(src, 'rb') as fsrc: E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/acceptance/boosttest-samples/utest_case_template_example' /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/.tox/py37/lib/python3.7/shutil.py:120: FileNotFoundError _______________________________ test_example_11 ________________________________ exes = .Executables object at 0x7f80871fbe10> testdir = def test_example_11(exes, testdir): """ "unit_test_example_11" generates an invalid XML by having two XML roots: and . --' """ example = 'boosttest-samples/unit_test_example_11' > result = testdir.runpytest(exes.get(example)) /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/acceptance/test_boosttest_samples.py:36: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/conftest.py:26: in get shutil.copy(str(source), str(dest)) /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/.tox/py37/lib/python3.7/shutil.py:241: in copy copyfile(src, dst, follow_symlinks=follow_symlinks) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src = '/tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/acceptance/boosttest-samples/unit_test_example_11' dst = '/tmp/pytest-of-travis/pytest-12/test_example_110/unit_test_example_11' def copyfile(src, dst, *, follow_symlinks=True): """Copy data from src to dst. If follow_symlinks is not set and src is a symbolic link, a new symlink will be created instead of copying the file it points to. """ if _samefile(src, dst): raise SameFileError("{!r} and {!r} are the same file".format(src, dst)) for fn in [src, dst]: try: st = os.stat(fn) except OSError: # File most likely does not exist pass else: # XXX What about other special files? (sockets, devices...) if stat.S_ISFIFO(st.st_mode): raise SpecialFileError("`%s` is a named pipe" % fn) if not follow_symlinks and os.path.islink(src): os.symlink(os.readlink(src), dst) else: > with open(src, 'rb') as fsrc: E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/acceptance/boosttest-samples/unit_test_example_11' /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/.tox/py37/lib/python3.7/shutil.py:120: FileNotFoundError ______________________ test_samples[sample1_unittest-6-0] ______________________ exes = .Executables object at 0x7f8087286128> testdir = name = 'sample1_unittest', passed = 6, failed = 0 @pytest.mark.parametrize('name, passed, failed', [ ('sample1_unittest', 6, 0), ('sample2_unittest', 4, 0), ('sample3_unittest', 3, 0), ('sample4_unittest', 1, 0), ('sample5_unittest', 4, 0), ('sample6_unittest', 12, 0), ('sample7_unittest', 6, 0), ('sample8_unittest', 12, 0), ('sample9_unittest', 2, 1), ('sample10_unittest', 2, 0), ]) def test_samples(exes, testdir, name, passed, failed): > result = testdir.runpytest(exes.get('googletest-samples/%s' % name)) /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/acceptance/test_googletest_samples.py:17: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/conftest.py:26: in get shutil.copy(str(source), str(dest)) /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/.tox/py37/lib/python3.7/shutil.py:241: in copy copyfile(src, dst, follow_symlinks=follow_symlinks) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src = '/tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/acceptance/googletest-samples/sample1_unittest' dst = '/tmp/pytest-of-travis/pytest-12/test_samples12/sample1_unittest' def copyfile(src, dst, *, follow_symlinks=True): """Copy data from src to dst. If follow_symlinks is not set and src is a symbolic link, a new symlink will be created instead of copying the file it points to. """ if _samefile(src, dst): raise SameFileError("{!r} and {!r} are the same file".format(src, dst)) for fn in [src, dst]: try: st = os.stat(fn) except OSError: # File most likely does not exist pass else: # XXX What about other special files? (sockets, devices...) if stat.S_ISFIFO(st.st_mode): raise SpecialFileError("`%s` is a named pipe" % fn) if not follow_symlinks and os.path.islink(src): os.symlink(os.readlink(src), dst) else: > with open(src, 'rb') as fsrc: E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/acceptance/googletest-samples/sample1_unittest' /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/.tox/py37/lib/python3.7/shutil.py:120: FileNotFoundError ______________________ test_samples[sample2_unittest-4-0] ______________________ exes = .Executables object at 0x7f8087291a58> testdir = name = 'sample2_unittest', passed = 4, failed = 0 @pytest.mark.parametrize('name, passed, failed', [ ('sample1_unittest', 6, 0), ('sample2_unittest', 4, 0), ('sample3_unittest', 3, 0), ('sample4_unittest', 1, 0), ('sample5_unittest', 4, 0), ('sample6_unittest', 12, 0), ('sample7_unittest', 6, 0), ('sample8_unittest', 12, 0), ('sample9_unittest', 2, 1), ('sample10_unittest', 2, 0), ]) def test_samples(exes, testdir, name, passed, failed): > result = testdir.runpytest(exes.get('googletest-samples/%s' % name)) /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/acceptance/test_googletest_samples.py:17: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/conftest.py:26: in get shutil.copy(str(source), str(dest)) /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/.tox/py37/lib/python3.7/shutil.py:241: in copy copyfile(src, dst, follow_symlinks=follow_symlinks) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src = '/tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/acceptance/googletest-samples/sample2_unittest' dst = '/tmp/pytest-of-travis/pytest-12/test_samples13/sample2_unittest' def copyfile(src, dst, *, follow_symlinks=True): """Copy data from src to dst. If follow_symlinks is not set and src is a symbolic link, a new symlink will be created instead of copying the file it points to. """ if _samefile(src, dst): raise SameFileError("{!r} and {!r} are the same file".format(src, dst)) for fn in [src, dst]: try: st = os.stat(fn) except OSError: # File most likely does not exist pass else: # XXX What about other special files? (sockets, devices...) if stat.S_ISFIFO(st.st_mode): raise SpecialFileError("`%s` is a named pipe" % fn) if not follow_symlinks and os.path.islink(src): os.symlink(os.readlink(src), dst) else: > with open(src, 'rb') as fsrc: E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/acceptance/googletest-samples/sample2_unittest' /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/.tox/py37/lib/python3.7/shutil.py:120: FileNotFoundError ______________________ test_samples[sample3_unittest-3-0] ______________________ exes = .Executables object at 0x7f8086ea1d30> testdir = name = 'sample3_unittest', passed = 3, failed = 0 @pytest.mark.parametrize('name, passed, failed', [ ('sample1_unittest', 6, 0), ('sample2_unittest', 4, 0), ('sample3_unittest', 3, 0), ('sample4_unittest', 1, 0), ('sample5_unittest', 4, 0), ('sample6_unittest', 12, 0), ('sample7_unittest', 6, 0), ('sample8_unittest', 12, 0), ('sample9_unittest', 2, 1), ('sample10_unittest', 2, 0), ]) def test_samples(exes, testdir, name, passed, failed): > result = testdir.runpytest(exes.get('googletest-samples/%s' % name)) /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/acceptance/test_googletest_samples.py:17: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/conftest.py:26: in get shutil.copy(str(source), str(dest)) /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/.tox/py37/lib/python3.7/shutil.py:241: in copy copyfile(src, dst, follow_symlinks=follow_symlinks) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src = '/tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/acceptance/googletest-samples/sample3_unittest' dst = '/tmp/pytest-of-travis/pytest-12/test_samples14/sample3_unittest' def copyfile(src, dst, *, follow_symlinks=True): """Copy data from src to dst. If follow_symlinks is not set and src is a symbolic link, a new symlink will be created instead of copying the file it points to. """ if _samefile(src, dst): raise SameFileError("{!r} and {!r} are the same file".format(src, dst)) for fn in [src, dst]: try: st = os.stat(fn) except OSError: # File most likely does not exist pass else: # XXX What about other special files? (sockets, devices...) if stat.S_ISFIFO(st.st_mode): raise SpecialFileError("`%s` is a named pipe" % fn) if not follow_symlinks and os.path.islink(src): os.symlink(os.readlink(src), dst) else: > with open(src, 'rb') as fsrc: E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/acceptance/googletest-samples/sample3_unittest' /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/.tox/py37/lib/python3.7/shutil.py:120: FileNotFoundError ______________________ test_samples[sample4_unittest-1-0] ______________________ exes = .Executables object at 0x7f80872215c0> testdir = name = 'sample4_unittest', passed = 1, failed = 0 @pytest.mark.parametrize('name, passed, failed', [ ('sample1_unittest', 6, 0), ('sample2_unittest', 4, 0), ('sample3_unittest', 3, 0), ('sample4_unittest', 1, 0), ('sample5_unittest', 4, 0), ('sample6_unittest', 12, 0), ('sample7_unittest', 6, 0), ('sample8_unittest', 12, 0), ('sample9_unittest', 2, 1), ('sample10_unittest', 2, 0), ]) def test_samples(exes, testdir, name, passed, failed): > result = testdir.runpytest(exes.get('googletest-samples/%s' % name)) /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/acceptance/test_googletest_samples.py:17: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/conftest.py:26: in get shutil.copy(str(source), str(dest)) /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/.tox/py37/lib/python3.7/shutil.py:241: in copy copyfile(src, dst, follow_symlinks=follow_symlinks) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src = '/tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/acceptance/googletest-samples/sample4_unittest' dst = '/tmp/pytest-of-travis/pytest-12/test_samples15/sample4_unittest' def copyfile(src, dst, *, follow_symlinks=True): """Copy data from src to dst. If follow_symlinks is not set and src is a symbolic link, a new symlink will be created instead of copying the file it points to. """ if _samefile(src, dst): raise SameFileError("{!r} and {!r} are the same file".format(src, dst)) for fn in [src, dst]: try: st = os.stat(fn) except OSError: # File most likely does not exist pass else: # XXX What about other special files? (sockets, devices...) if stat.S_ISFIFO(st.st_mode): raise SpecialFileError("`%s` is a named pipe" % fn) if not follow_symlinks and os.path.islink(src): os.symlink(os.readlink(src), dst) else: > with open(src, 'rb') as fsrc: E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/acceptance/googletest-samples/sample4_unittest' /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/.tox/py37/lib/python3.7/shutil.py:120: FileNotFoundError ______________________ test_samples[sample5_unittest-4-0] ______________________ exes = .Executables object at 0x7f808727ad30> testdir = name = 'sample5_unittest', passed = 4, failed = 0 @pytest.mark.parametrize('name, passed, failed', [ ('sample1_unittest', 6, 0), ('sample2_unittest', 4, 0), ('sample3_unittest', 3, 0), ('sample4_unittest', 1, 0), ('sample5_unittest', 4, 0), ('sample6_unittest', 12, 0), ('sample7_unittest', 6, 0), ('sample8_unittest', 12, 0), ('sample9_unittest', 2, 1), ('sample10_unittest', 2, 0), ]) def test_samples(exes, testdir, name, passed, failed): > result = testdir.runpytest(exes.get('googletest-samples/%s' % name)) /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/acceptance/test_googletest_samples.py:17: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/conftest.py:26: in get shutil.copy(str(source), str(dest)) /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/.tox/py37/lib/python3.7/shutil.py:241: in copy copyfile(src, dst, follow_symlinks=follow_symlinks) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src = '/tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/acceptance/googletest-samples/sample5_unittest' dst = '/tmp/pytest-of-travis/pytest-12/test_samples16/sample5_unittest' def copyfile(src, dst, *, follow_symlinks=True): """Copy data from src to dst. If follow_symlinks is not set and src is a symbolic link, a new symlink will be created instead of copying the file it points to. """ if _samefile(src, dst): raise SameFileError("{!r} and {!r} are the same file".format(src, dst)) for fn in [src, dst]: try: st = os.stat(fn) except OSError: # File most likely does not exist pass else: # XXX What about other special files? (sockets, devices...) if stat.S_ISFIFO(st.st_mode): raise SpecialFileError("`%s` is a named pipe" % fn) if not follow_symlinks and os.path.islink(src): os.symlink(os.readlink(src), dst) else: > with open(src, 'rb') as fsrc: E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/acceptance/googletest-samples/sample5_unittest' /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/.tox/py37/lib/python3.7/shutil.py:120: FileNotFoundError _____________________ test_samples[sample6_unittest-12-0] ______________________ exes = .Executables object at 0x7f8087286d68> testdir = name = 'sample6_unittest', passed = 12, failed = 0 @pytest.mark.parametrize('name, passed, failed', [ ('sample1_unittest', 6, 0), ('sample2_unittest', 4, 0), ('sample3_unittest', 3, 0), ('sample4_unittest', 1, 0), ('sample5_unittest', 4, 0), ('sample6_unittest', 12, 0), ('sample7_unittest', 6, 0), ('sample8_unittest', 12, 0), ('sample9_unittest', 2, 1), ('sample10_unittest', 2, 0), ]) def test_samples(exes, testdir, name, passed, failed): > result = testdir.runpytest(exes.get('googletest-samples/%s' % name)) /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/acceptance/test_googletest_samples.py:17: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/conftest.py:26: in get shutil.copy(str(source), str(dest)) /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/.tox/py37/lib/python3.7/shutil.py:241: in copy copyfile(src, dst, follow_symlinks=follow_symlinks) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src = '/tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/acceptance/googletest-samples/sample6_unittest' dst = '/tmp/pytest-of-travis/pytest-12/test_samples17/sample6_unittest' def copyfile(src, dst, *, follow_symlinks=True): """Copy data from src to dst. If follow_symlinks is not set and src is a symbolic link, a new symlink will be created instead of copying the file it points to. """ if _samefile(src, dst): raise SameFileError("{!r} and {!r} are the same file".format(src, dst)) for fn in [src, dst]: try: st = os.stat(fn) except OSError: # File most likely does not exist pass else: # XXX What about other special files? (sockets, devices...) if stat.S_ISFIFO(st.st_mode): raise SpecialFileError("`%s` is a named pipe" % fn) if not follow_symlinks and os.path.islink(src): os.symlink(os.readlink(src), dst) else: > with open(src, 'rb') as fsrc: E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/acceptance/googletest-samples/sample6_unittest' /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/.tox/py37/lib/python3.7/shutil.py:120: FileNotFoundError ______________________ test_samples[sample7_unittest-6-0] ______________________ exes = .Executables object at 0x7f8087275978> testdir = name = 'sample7_unittest', passed = 6, failed = 0 @pytest.mark.parametrize('name, passed, failed', [ ('sample1_unittest', 6, 0), ('sample2_unittest', 4, 0), ('sample3_unittest', 3, 0), ('sample4_unittest', 1, 0), ('sample5_unittest', 4, 0), ('sample6_unittest', 12, 0), ('sample7_unittest', 6, 0), ('sample8_unittest', 12, 0), ('sample9_unittest', 2, 1), ('sample10_unittest', 2, 0), ]) def test_samples(exes, testdir, name, passed, failed): > result = testdir.runpytest(exes.get('googletest-samples/%s' % name)) /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/acceptance/test_googletest_samples.py:17: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/conftest.py:26: in get shutil.copy(str(source), str(dest)) /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/.tox/py37/lib/python3.7/shutil.py:241: in copy copyfile(src, dst, follow_symlinks=follow_symlinks) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src = '/tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/acceptance/googletest-samples/sample7_unittest' dst = '/tmp/pytest-of-travis/pytest-12/test_samples18/sample7_unittest' def copyfile(src, dst, *, follow_symlinks=True): """Copy data from src to dst. If follow_symlinks is not set and src is a symbolic link, a new symlink will be created instead of copying the file it points to. """ if _samefile(src, dst): raise SameFileError("{!r} and {!r} are the same file".format(src, dst)) for fn in [src, dst]: try: st = os.stat(fn) except OSError: # File most likely does not exist pass else: # XXX What about other special files? (sockets, devices...) if stat.S_ISFIFO(st.st_mode): raise SpecialFileError("`%s` is a named pipe" % fn) if not follow_symlinks and os.path.islink(src): os.symlink(os.readlink(src), dst) else: > with open(src, 'rb') as fsrc: E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/acceptance/googletest-samples/sample7_unittest' /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/.tox/py37/lib/python3.7/shutil.py:120: FileNotFoundError _____________________ test_samples[sample8_unittest-12-0] ______________________ exes = .Executables object at 0x7f80871e0cc0> testdir = name = 'sample8_unittest', passed = 12, failed = 0 @pytest.mark.parametrize('name, passed, failed', [ ('sample1_unittest', 6, 0), ('sample2_unittest', 4, 0), ('sample3_unittest', 3, 0), ('sample4_unittest', 1, 0), ('sample5_unittest', 4, 0), ('sample6_unittest', 12, 0), ('sample7_unittest', 6, 0), ('sample8_unittest', 12, 0), ('sample9_unittest', 2, 1), ('sample10_unittest', 2, 0), ]) def test_samples(exes, testdir, name, passed, failed): > result = testdir.runpytest(exes.get('googletest-samples/%s' % name)) /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/acceptance/test_googletest_samples.py:17: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/conftest.py:26: in get shutil.copy(str(source), str(dest)) /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/.tox/py37/lib/python3.7/shutil.py:241: in copy copyfile(src, dst, follow_symlinks=follow_symlinks) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src = '/tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/acceptance/googletest-samples/sample8_unittest' dst = '/tmp/pytest-of-travis/pytest-12/test_samples19/sample8_unittest' def copyfile(src, dst, *, follow_symlinks=True): """Copy data from src to dst. If follow_symlinks is not set and src is a symbolic link, a new symlink will be created instead of copying the file it points to. """ if _samefile(src, dst): raise SameFileError("{!r} and {!r} are the same file".format(src, dst)) for fn in [src, dst]: try: st = os.stat(fn) except OSError: # File most likely does not exist pass else: # XXX What about other special files? (sockets, devices...) if stat.S_ISFIFO(st.st_mode): raise SpecialFileError("`%s` is a named pipe" % fn) if not follow_symlinks and os.path.islink(src): os.symlink(os.readlink(src), dst) else: > with open(src, 'rb') as fsrc: E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/acceptance/googletest-samples/sample8_unittest' /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/.tox/py37/lib/python3.7/shutil.py:120: FileNotFoundError ______________________ test_samples[sample9_unittest-2-1] ______________________ exes = .Executables object at 0x7f808727bcc0> testdir = name = 'sample9_unittest', passed = 2, failed = 1 @pytest.mark.parametrize('name, passed, failed', [ ('sample1_unittest', 6, 0), ('sample2_unittest', 4, 0), ('sample3_unittest', 3, 0), ('sample4_unittest', 1, 0), ('sample5_unittest', 4, 0), ('sample6_unittest', 12, 0), ('sample7_unittest', 6, 0), ('sample8_unittest', 12, 0), ('sample9_unittest', 2, 1), ('sample10_unittest', 2, 0), ]) def test_samples(exes, testdir, name, passed, failed): > result = testdir.runpytest(exes.get('googletest-samples/%s' % name)) /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/acceptance/test_googletest_samples.py:17: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/conftest.py:26: in get shutil.copy(str(source), str(dest)) /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/.tox/py37/lib/python3.7/shutil.py:241: in copy copyfile(src, dst, follow_symlinks=follow_symlinks) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src = '/tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/acceptance/googletest-samples/sample9_unittest' dst = '/tmp/pytest-of-travis/pytest-12/test_samples20/sample9_unittest' def copyfile(src, dst, *, follow_symlinks=True): """Copy data from src to dst. If follow_symlinks is not set and src is a symbolic link, a new symlink will be created instead of copying the file it points to. """ if _samefile(src, dst): raise SameFileError("{!r} and {!r} are the same file".format(src, dst)) for fn in [src, dst]: try: st = os.stat(fn) except OSError: # File most likely does not exist pass else: # XXX What about other special files? (sockets, devices...) if stat.S_ISFIFO(st.st_mode): raise SpecialFileError("`%s` is a named pipe" % fn) if not follow_symlinks and os.path.islink(src): os.symlink(os.readlink(src), dst) else: > with open(src, 'rb') as fsrc: E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/acceptance/googletest-samples/sample9_unittest' /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/.tox/py37/lib/python3.7/shutil.py:120: FileNotFoundError _____________________ test_samples[sample10_unittest-2-0] ______________________ exes = .Executables object at 0x7f80872a8ac8> testdir = name = 'sample10_unittest', passed = 2, failed = 0 @pytest.mark.parametrize('name, passed, failed', [ ('sample1_unittest', 6, 0), ('sample2_unittest', 4, 0), ('sample3_unittest', 3, 0), ('sample4_unittest', 1, 0), ('sample5_unittest', 4, 0), ('sample6_unittest', 12, 0), ('sample7_unittest', 6, 0), ('sample8_unittest', 12, 0), ('sample9_unittest', 2, 1), ('sample10_unittest', 2, 0), ]) def test_samples(exes, testdir, name, passed, failed): > result = testdir.runpytest(exes.get('googletest-samples/%s' % name)) /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/acceptance/test_googletest_samples.py:17: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/conftest.py:26: in get shutil.copy(str(source), str(dest)) /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/.tox/py37/lib/python3.7/shutil.py:241: in copy copyfile(src, dst, follow_symlinks=follow_symlinks) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src = '/tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/acceptance/googletest-samples/sample10_unittest' dst = '/tmp/pytest-of-travis/pytest-12/test_samples21/sample10_unittest' def copyfile(src, dst, *, follow_symlinks=True): """Copy data from src to dst. If follow_symlinks is not set and src is a symbolic link, a new symlink will be created instead of copying the file it points to. """ if _samefile(src, dst): raise SameFileError("{!r} and {!r} are the same file".format(src, dst)) for fn in [src, dst]: try: st = os.stat(fn) except OSError: # File most likely does not exist pass else: # XXX What about other special files? (sockets, devices...) if stat.S_ISFIFO(st.st_mode): raise SpecialFileError("`%s` is a named pipe" % fn) if not follow_symlinks and os.path.islink(src): os.symlink(os.readlink(src), dst) else: > with open(src, 'rb') as fsrc: E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpbdvvik9x/pytest-cpp-1.2.0/tests/acceptance/googletest-samples/sample10_unittest' /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/.tox/py37/lib/python3.7/shutil.py:120: FileNotFoundError ======================== 55 failed, 4 passed in 30.18s ========================= ERROR: InvocationError for command /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/.tox/py37/bin/coverage run --source=pytest_cpp -m pytest tests (exited with code 1) ___________________________________ summary ____________________________________ ERROR: py37: commands failed write json report at: /tmp/tmpbdvvik9x/pytest-cpp-1.2.0/result.json Time: 128.2 seconds