GLOB sdist-make: /tmp/tmp_cm101py/pytest-cpp-1.4.0/setup.py py37 create: /tmp/tmp_cm101py/pytest-cpp-1.4.0/.tox/py37 py37 installdeps: pytest-mock, coverage py37 inst: /tmp/tmp_cm101py/pytest-cpp-1.4.0/.tox/.tmp/package/1/pytest-cpp-1.4.0.zip py37 installed: attrs==20.3.0,colorama==0.4.4,coverage==5.3,importlib-metadata==2.0.0,iniconfig==1.1.1,packaging==20.4,pluggy==0.13.1,py==1.9.0,pyparsing==2.4.7,pytest==6.1.2,pytest-cpp @ file:///tmp/tmp_cm101py/pytest-cpp-1.4.0/.tox/.tmp/package/1/pytest-cpp-1.4.0.zip,pytest-mock==3.3.1,six==1.15.0,toml==0.10.2,zipp==3.4.0 py37 run-test-pre: PYTHONHASHSEED='387801280' py37 run-test: commands[0] | coverage run --source=pytest_cpp -m pytest tests ============================= test session starts ============================== platform linux -- Python 3.7.1, pytest-6.1.2, py-1.9.0, pluggy-0.13.1 cachedir: .tox/py37/.pytest_cache rootdir: /tmp/tmp_cm101py/pytest-cpp-1.4.0 plugins: cpp-1.4.0, mock-3.3.1 collected 64 items tests/test_pytest_cpp.py FFFFFFFFFFFFFFFFFFFF.FFFFFFFsFFFFsF..FF.. [ 64%] tests/acceptance/test_boosttest_samples.py FFFFFFFFFFFFF [ 84%] 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 0x7f0889012b38> @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/tmp_cm101py/pytest-cpp-1.4.0/tests/test_pytest_cpp.py:55: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/conftest.py:24: in get shutil.copy(str(source), str(dest)) /opt/python/3.7.1/lib/python3.7/shutil.py:241: in copy copyfile(src, dst, follow_symlinks=follow_symlinks) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src = '/tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/gtest' dst = '/tmp/pytest-of-travis/pytest-4/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/tmp_cm101py/pytest-cpp-1.4.0/tests/gtest' /opt/python/3.7.1/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 0x7f0888ea6a58> @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/tmp_cm101py/pytest-cpp-1.4.0/tests/test_pytest_cpp.py:55: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/conftest.py:24: in get shutil.copy(str(source), str(dest)) /opt/python/3.7.1/lib/python3.7/shutil.py:241: in copy copyfile(src, dst, follow_symlinks=follow_symlinks) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src = '/tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/boost_success' dst = '/tmp/pytest-of-travis/pytest-4/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/tmp_cm101py/pytest-cpp-1.4.0/tests/boost_success' /opt/python/3.7.1/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 0x7f0888ead5c0> @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/tmp_cm101py/pytest-cpp-1.4.0/tests/test_pytest_cpp.py:55: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/conftest.py:24: in get shutil.copy(str(source), str(dest)) /opt/python/3.7.1/lib/python3.7/shutil.py:241: in copy copyfile(src, dst, follow_symlinks=follow_symlinks) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src = '/tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/boost_error' dst = '/tmp/pytest-of-travis/pytest-4/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/tmp_cm101py/pytest-cpp-1.4.0/tests/boost_error' /opt/python/3.7.1/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 0x7f0888ea2b70> @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/tmp_cm101py/pytest-cpp-1.4.0/tests/test_pytest_cpp.py:55: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/conftest.py:24: in get shutil.copy(str(source), str(dest)) /opt/python/3.7.1/lib/python3.7/shutil.py:241: in copy copyfile(src, dst, follow_symlinks=follow_symlinks) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src = '/tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/boost_fixture_setup_error' dst = '/tmp/pytest-of-travis/pytest-4/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/tmp_cm101py/pytest-cpp-1.4.0/tests/boost_fixture_setup_error' /opt/python/3.7.1/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 0x7f0889011390> tmpdir = local('/tmp/pytest-of-travis/pytest-4/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/tmp_cm101py/pytest-cpp-1.4.0/tests/test_pytest_cpp.py:67: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/conftest.py:24: in get shutil.copy(str(source), str(dest)) /opt/python/3.7.1/lib/python3.7/shutil.py:241: in copy copyfile(src, dst, follow_symlinks=follow_symlinks) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src = '/tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/gtest' dst = '/tmp/pytest-of-travis/pytest-4/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/tmp_cm101py/pytest-cpp-1.4.0/tests/gtest' /opt/python/3.7.1/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 0x7f0888ead2b0> tmpdir = local('/tmp/pytest-of-travis/pytest-4/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/tmp_cm101py/pytest-cpp-1.4.0/tests/test_pytest_cpp.py:67: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/conftest.py:24: in get shutil.copy(str(source), str(dest)) /opt/python/3.7.1/lib/python3.7/shutil.py:241: in copy copyfile(src, dst, follow_symlinks=follow_symlinks) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src = '/tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/boost_success' dst = '/tmp/pytest-of-travis/pytest-4/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/tmp_cm101py/pytest-cpp-1.4.0/tests/boost_success' /opt/python/3.7.1/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 0x7f0888ea4748> @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)[0] is None /tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/test_pytest_cpp.py:81: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/conftest.py:24: in get shutil.copy(str(source), str(dest)) /opt/python/3.7.1/lib/python3.7/shutil.py:241: in copy copyfile(src, dst, follow_symlinks=follow_symlinks) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src = '/tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/gtest' dst = '/tmp/pytest-of-travis/pytest-4/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/tmp_cm101py/pytest-cpp-1.4.0/tests/gtest' /opt/python/3.7.1/lib/python3.7/shutil.py:120: FileNotFoundError _________________ test_success[facade1-boost_success-] _________________ facade = name = 'boost_success', test_id = '' exes = .Executables object at 0x7f0888f17550> @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)[0] is None /tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/test_pytest_cpp.py:81: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/conftest.py:24: in get shutil.copy(str(source), str(dest)) /opt/python/3.7.1/lib/python3.7/shutil.py:241: in copy copyfile(src, dst, follow_symlinks=follow_symlinks) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src = '/tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/boost_success' dst = '/tmp/pytest-of-travis/pytest-4/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/tmp_cm101py/pytest-cpp-1.4.0/tests/boost_success' /opt/python/3.7.1/lib/python3.7/shutil.py:120: FileNotFoundError _____________________________ test_google_failure ______________________________ exes = .Executables object at 0x7f0888dbe898> def test_google_failure(exes): facade = GoogleTestFacade() > failures, _ = facade.run_test(exes.get("gtest"), "FooTest.test_failure") /tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/test_pytest_cpp.py:86: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/conftest.py:24: in get shutil.copy(str(source), str(dest)) /opt/python/3.7.1/lib/python3.7/shutil.py:241: in copy copyfile(src, dst, follow_symlinks=follow_symlinks) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src = '/tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/gtest' dst = '/tmp/pytest-of-travis/pytest-4/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/tmp_cm101py/pytest-cpp-1.4.0/tests/gtest' /opt/python/3.7.1/lib/python3.7/shutil.py:120: FileNotFoundError ______________________________ test_google_error _______________________________ exes = .Executables object at 0x7f0888eadd68> def test_google_error(exes): facade = GoogleTestFacade() > failures, _ = facade.run_test(exes.get("gtest"), "FooTest.test_error") /tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/test_pytest_cpp.py:106: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/conftest.py:24: in get shutil.copy(str(source), str(dest)) /opt/python/3.7.1/lib/python3.7/shutil.py:241: in copy copyfile(src, dst, follow_symlinks=follow_symlinks) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src = '/tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/gtest' dst = '/tmp/pytest-of-travis/pytest-4/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/tmp_cm101py/pytest-cpp-1.4.0/tests/gtest' /opt/python/3.7.1/lib/python3.7/shutil.py:120: FileNotFoundError _____________________________ test_google_disabled _____________________________ exes = .Executables object at 0x7f0888f1ea20> def test_google_disabled(exes): facade = GoogleTestFacade() with pytest.raises(pytest.skip.Exception): > facade.run_test(exes.get("gtest"), "FooTest.DISABLED_test_disabled") /tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/test_pytest_cpp.py:122: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/conftest.py:24: in get shutil.copy(str(source), str(dest)) /opt/python/3.7.1/lib/python3.7/shutil.py:241: in copy copyfile(src, dst, follow_symlinks=follow_symlinks) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src = '/tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/gtest' dst = '/tmp/pytest-of-travis/pytest-4/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/tmp_cm101py/pytest-cpp-1.4.0/tests/gtest' /opt/python/3.7.1/lib/python3.7/shutil.py:120: FileNotFoundError ______________________________ test_boost_failure ______________________________ exes = .Executables object at 0x7f0888f0f390> def test_boost_failure(exes): facade = BoostTestFacade() > failures, _ = facade.run_test(exes.get("boost_failure"), "") /tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/test_pytest_cpp.py:127: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/conftest.py:24: in get shutil.copy(str(source), str(dest)) /opt/python/3.7.1/lib/python3.7/shutil.py:241: in copy copyfile(src, dst, follow_symlinks=follow_symlinks) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src = '/tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/boost_failure' dst = '/tmp/pytest-of-travis/pytest-4/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/tmp_cm101py/pytest-cpp-1.4.0/tests/boost_failure' /opt/python/3.7.1/lib/python3.7/shutil.py:120: FileNotFoundError ____________________________ test_boost_fatal_error ____________________________ exes = .Executables object at 0x7f0888dbe6d8> def test_boost_fatal_error(exes): facade = BoostTestFacade() > failures, _ = facade.run_test(exes.get("boost_fatal_error"), "") /tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/test_pytest_cpp.py:141: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/conftest.py:24: in get shutil.copy(str(source), str(dest)) /opt/python/3.7.1/lib/python3.7/shutil.py:241: in copy copyfile(src, dst, follow_symlinks=follow_symlinks) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src = '/tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/boost_fatal_error' dst = '/tmp/pytest-of-travis/pytest-4/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/tmp_cm101py/pytest-cpp-1.4.0/tests/boost_fatal_error' /opt/python/3.7.1/lib/python3.7/shutil.py:120: FileNotFoundError _______________________________ test_boost_error _______________________________ exes = .Executables object at 0x7f0888f02470> def test_boost_error(exes): facade = BoostTestFacade() > failures, _ = facade.run_test(exes.get("boost_error"), "") /tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/test_pytest_cpp.py:152: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/conftest.py:24: in get shutil.copy(str(source), str(dest)) /opt/python/3.7.1/lib/python3.7/shutil.py:241: in copy copyfile(src, dst, follow_symlinks=follow_symlinks) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src = '/tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/boost_error' dst = '/tmp/pytest-of-travis/pytest-4/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/tmp_cm101py/pytest-cpp-1.4.0/tests/boost_error' /opt/python/3.7.1/lib/python3.7/shutil.py:120: FileNotFoundError ________________________ test_boost_fixture_setup_error ________________________ exes = .Executables object at 0x7f0888debcc0> def test_boost_fixture_setup_error(exes): facade = BoostTestFacade() > failures, _ = facade.run_test(exes.get("boost_fixture_setup_error"), "") /tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/test_pytest_cpp.py:168: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/conftest.py:24: in get shutil.copy(str(source), str(dest)) /opt/python/3.7.1/lib/python3.7/shutil.py:241: in copy copyfile(src, dst, follow_symlinks=follow_symlinks) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src = '/tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/boost_fixture_setup_error' dst = '/tmp/pytest-of-travis/pytest-4/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/tmp_cm101py/pytest-cpp-1.4.0/tests/boost_fixture_setup_error' /opt/python/3.7.1/lib/python3.7/shutil.py:120: FileNotFoundError _______________________________ test_google_run ________________________________ testdir = exes = .Executables object at 0x7f0888ea27f0> def test_google_run(testdir, exes): > result = testdir.inline_run("-v", exes.get("gtest", "test_gtest")) /tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/test_pytest_cpp.py:183: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/conftest.py:24: in get shutil.copy(str(source), str(dest)) /opt/python/3.7.1/lib/python3.7/shutil.py:241: in copy copyfile(src, dst, follow_symlinks=follow_symlinks) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src = '/tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/gtest' dst = '/tmp/pytest-of-travis/pytest-4/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/tmp_cm101py/pytest-cpp-1.4.0/tests/gtest' /opt/python/3.7.1/lib/python3.7/shutil.py:120: FileNotFoundError ______________________________ test_unknown_error ______________________________ testdir = exes = .Executables object at 0x7f0888f1eef0> 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/tmp_cm101py/pytest-cpp-1.4.0/tests/test_pytest_cpp.py:199: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/conftest.py:24: in get shutil.copy(str(source), str(dest)) /opt/python/3.7.1/lib/python3.7/shutil.py:241: in copy copyfile(src, dst, follow_symlinks=follow_symlinks) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src = '/tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/gtest' dst = '/tmp/pytest-of-travis/pytest-4/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/tmp_cm101py/pytest-cpp-1.4.0/tests/gtest' /opt/python/3.7.1/lib/python3.7/shutil.py:120: FileNotFoundError _________________________ test_google_internal_errors __________________________ mocker = testdir = exes = .Executables object at 0x7f0888dbe588> tmpdir = local('/tmp/pytest-of-travis/pytest-4/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/tmp_cm101py/pytest-cpp-1.4.0/tests/test_pytest_cpp.py:217: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/conftest.py:24: in get shutil.copy(str(source), str(dest)) /opt/python/3.7.1/lib/python3.7/shutil.py:241: in copy copyfile(src, dst, follow_symlinks=follow_symlinks) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src = '/tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/gtest' dst = '/tmp/pytest-of-travis/pytest-4/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/tmp_cm101py/pytest-cpp-1.4.0/tests/gtest' /opt/python/3.7.1/lib/python3.7/shutil.py:120: FileNotFoundError ________________________________ test_boost_run ________________________________ testdir = exes = .Executables object at 0x7f0888a39278> 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/tmp_cm101py/pytest-cpp-1.4.0/tests/test_pytest_cpp.py:240: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/test_pytest_cpp.py:240: in all_files = [exes.get(n, "test_" + n) for n in all_names] /tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/conftest.py:24: in get shutil.copy(str(source), str(dest)) /opt/python/3.7.1/lib/python3.7/shutil.py:241: in copy copyfile(src, dst, follow_symlinks=follow_symlinks) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src = '/tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/boost_success' dst = '/tmp/pytest-of-travis/pytest-4/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/tmp_cm101py/pytest-cpp-1.4.0/tests/boost_success' /opt/python/3.7.1/lib/python3.7/shutil.py:120: FileNotFoundError __________________________ test_boost_internal_error ___________________________ testdir = exes = .Executables object at 0x7f0888f0f2b0> mocker = def test_boost_internal_error(testdir, exes, mocker): > exe = exes.get("boost_success", "test_boost_success") /tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/test_pytest_cpp.py:264: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/conftest.py:24: in get shutil.copy(str(source), str(dest)) /opt/python/3.7.1/lib/python3.7/shutil.py:241: in copy copyfile(src, dst, follow_symlinks=follow_symlinks) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src = '/tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/boost_success' dst = '/tmp/pytest-of-travis/pytest-4/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/tmp_cm101py/pytest-cpp-1.4.0/tests/boost_success' /opt/python/3.7.1/lib/python3.7/shutil.py:120: FileNotFoundError ____________________________ test_cpp_files_option _____________________________ testdir = exes = .Executables object at 0x7f0888afdb00> def test_cpp_files_option(testdir, exes): > exes.get("boost_success") /tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/test_pytest_cpp.py:283: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/conftest.py:24: in get shutil.copy(str(source), str(dest)) /opt/python/3.7.1/lib/python3.7/shutil.py:241: in copy copyfile(src, dst, follow_symlinks=follow_symlinks) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src = '/tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/boost_success' dst = '/tmp/pytest-of-travis/pytest-4/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/tmp_cm101py/pytest-cpp-1.4.0/tests/boost_success' /opt/python/3.7.1/lib/python3.7/shutil.py:120: FileNotFoundError ___________________________ test_cpp_ignore_py_files ___________________________ testdir = exes = .Executables object at 0x7f0888b12f98> @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/tmp_cm101py/pytest-cpp-1.4.0/tests/test_pytest_cpp.py:307: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/conftest.py:24: in get shutil.copy(str(source), str(dest)) /opt/python/3.7.1/lib/python3.7/shutil.py:241: in copy copyfile(src, dst, follow_symlinks=follow_symlinks) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src = '/tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/gtest' dst = '/tmp/pytest-of-travis/pytest-4/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/tmp_cm101py/pytest-cpp-1.4.0/tests/gtest' /opt/python/3.7.1/lib/python3.7/shutil.py:120: FileNotFoundError ___________________________ test_google_one_argument ___________________________ testdir = exes = .Executables object at 0x7f0888f22d68> 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/tmp_cm101py/pytest-cpp-1.4.0/tests/test_pytest_cpp.py:339: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/conftest.py:24: in get shutil.copy(str(source), str(dest)) /opt/python/3.7.1/lib/python3.7/shutil.py:241: in copy copyfile(src, dst, follow_symlinks=follow_symlinks) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src = '/tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/gtest_args' dst = '/tmp/pytest-of-travis/pytest-4/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/tmp_cm101py/pytest-cpp-1.4.0/tests/gtest_args' /opt/python/3.7.1/lib/python3.7/shutil.py:120: FileNotFoundError __________________________ test_google_two_arguments ___________________________ testdir = exes = .Executables object at 0x7f0888f1f4a8> 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/tmp_cm101py/pytest-cpp-1.4.0/tests/test_pytest_cpp.py:351: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/conftest.py:24: in get shutil.copy(str(source), str(dest)) /opt/python/3.7.1/lib/python3.7/shutil.py:241: in copy copyfile(src, dst, follow_symlinks=follow_symlinks) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src = '/tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/gtest_args' dst = '/tmp/pytest-of-travis/pytest-4/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/tmp_cm101py/pytest-cpp-1.4.0/tests/gtest_args' /opt/python/3.7.1/lib/python3.7/shutil.py:120: FileNotFoundError _____________________ test_google_one_argument_via_option ______________________ testdir = exes = .Executables object at 0x7f0888f17cc0> 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/tmp_cm101py/pytest-cpp-1.4.0/tests/test_pytest_cpp.py:357: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/conftest.py:24: in get shutil.copy(str(source), str(dest)) /opt/python/3.7.1/lib/python3.7/shutil.py:241: in copy copyfile(src, dst, follow_symlinks=follow_symlinks) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src = '/tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/gtest_args' dst = '/tmp/pytest-of-travis/pytest-4/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/tmp_cm101py/pytest-cpp-1.4.0/tests/gtest_args' /opt/python/3.7.1/lib/python3.7/shutil.py:120: FileNotFoundError _____________________ test_google_two_arguments_via_option _____________________ testdir = exes = .Executables object at 0x7f0888debcf8> 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/tmp_cm101py/pytest-cpp-1.4.0/tests/test_pytest_cpp.py:368: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/conftest.py:24: in get shutil.copy(str(source), str(dest)) /opt/python/3.7.1/lib/python3.7/shutil.py:241: in copy copyfile(src, dst, follow_symlinks=follow_symlinks) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src = '/tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/gtest_args' dst = '/tmp/pytest-of-travis/pytest-4/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/tmp_cm101py/pytest-cpp-1.4.0/tests/gtest_args' /opt/python/3.7.1/lib/python3.7/shutil.py:120: FileNotFoundError ________________________ test_argument_option_priority _________________________ testdir = exes = .Executables object at 0x7f0888f1e208> 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/tmp_cm101py/pytest-cpp-1.4.0/tests/test_pytest_cpp.py:385: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/conftest.py:24: in get shutil.copy(str(source), str(dest)) /opt/python/3.7.1/lib/python3.7/shutil.py:241: in copy copyfile(src, dst, follow_symlinks=follow_symlinks) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src = '/tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/gtest_args' dst = '/tmp/pytest-of-travis/pytest-4/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/tmp_cm101py/pytest-cpp-1.4.0/tests/gtest_args' /opt/python/3.7.1/lib/python3.7/shutil.py:120: FileNotFoundError ___________________________ test_boost_one_argument ____________________________ testdir = exes = .Executables object at 0x7f088902a1d0> def test_boost_one_argument(testdir, exes): testdir.makeini( """ [pytest] cpp_arguments = argument1 """ ) > result = testdir.inline_run(exes.get("boost_one_argument")) /tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/test_pytest_cpp.py:417: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/conftest.py:24: in get shutil.copy(str(source), str(dest)) /opt/python/3.7.1/lib/python3.7/shutil.py:241: in copy copyfile(src, dst, follow_symlinks=follow_symlinks) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src = '/tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/boost_one_argument' dst = '/tmp/pytest-of-travis/pytest-4/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/tmp_cm101py/pytest-cpp-1.4.0/tests/boost_one_argument' /opt/python/3.7.1/lib/python3.7/shutil.py:120: FileNotFoundError ___________________________ test_boost_two_arguments ___________________________ testdir = exes = .Executables object at 0x7f0888ea6b70> def test_boost_two_arguments(testdir, exes): testdir.makeini( """ [pytest] cpp_arguments = argument1 argument2 """ ) > result = testdir.inline_run(exes.get("boost_two_arguments")) /tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/test_pytest_cpp.py:429: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/conftest.py:24: in get shutil.copy(str(source), str(dest)) /opt/python/3.7.1/lib/python3.7/shutil.py:241: in copy copyfile(src, dst, follow_symlinks=follow_symlinks) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src = '/tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/boost_two_arguments' dst = '/tmp/pytest-of-travis/pytest-4/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/tmp_cm101py/pytest-cpp-1.4.0/tests/boost_two_arguments' /opt/python/3.7.1/lib/python3.7/shutil.py:120: FileNotFoundError ______________________ test_boost_one_argument_via_option ______________________ testdir = exes = .Executables object at 0x7f0888a48198> def test_boost_one_argument_via_option(testdir, exes): result = testdir.inline_run( > exes.get("boost_one_argument"), "-o", "cpp_arguments=argument1" ) /tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/test_pytest_cpp.py:435: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/conftest.py:24: in get shutil.copy(str(source), str(dest)) /opt/python/3.7.1/lib/python3.7/shutil.py:241: in copy copyfile(src, dst, follow_symlinks=follow_symlinks) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src = '/tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/boost_one_argument' dst = '/tmp/pytest-of-travis/pytest-4/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/tmp_cm101py/pytest-cpp-1.4.0/tests/boost_one_argument' /opt/python/3.7.1/lib/python3.7/shutil.py:120: FileNotFoundError _____________________ test_boost_two_arguments_via_option ______________________ testdir = exes = .Executables object at 0x7f0888b01e48> def test_boost_two_arguments_via_option(testdir, exes): result = testdir.inline_run( > exes.get("boost_two_arguments"), "-o", "cpp_arguments=argument1 argument2" ) /tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/test_pytest_cpp.py:442: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/conftest.py:24: in get shutil.copy(str(source), str(dest)) /opt/python/3.7.1/lib/python3.7/shutil.py:241: in copy copyfile(src, dst, follow_symlinks=follow_symlinks) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src = '/tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/boost_two_arguments' dst = '/tmp/pytest-of-travis/pytest-4/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/tmp_cm101py/pytest-cpp-1.4.0/tests/boost_two_arguments' /opt/python/3.7.1/lib/python3.7/shutil.py:120: FileNotFoundError _________________ test_passing_files_directly_in_command_line __________________ testdir = exes = .Executables object at 0x7f0888b0d320> def test_passing_files_directly_in_command_line(testdir, exes): > f = exes.get("boost_success") /tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/test_pytest_cpp.py:464: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/conftest.py:24: in get shutil.copy(str(source), str(dest)) /opt/python/3.7.1/lib/python3.7/shutil.py:241: in copy copyfile(src, dst, follow_symlinks=follow_symlinks) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src = '/tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/boost_success' dst = '/tmp/pytest-of-travis/pytest-4/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/tmp_cm101py/pytest-cpp-1.4.0/tests/boost_success' /opt/python/3.7.1/lib/python3.7/shutil.py:120: FileNotFoundError _____________________________ test_output_section ______________________________ testdir = exes = .Executables object at 0x7f0888de28d0> def test_output_section(testdir, exes): > exes.get("boost_failure") /tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/test_pytest_cpp.py:505: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/conftest.py:24: in get shutil.copy(str(source), str(dest)) /opt/python/3.7.1/lib/python3.7/shutil.py:241: in copy copyfile(src, dst, follow_symlinks=follow_symlinks) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src = '/tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/boost_failure' dst = '/tmp/pytest-of-travis/pytest-4/test_output_section0/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/tmp_cm101py/pytest-cpp-1.4.0/tests/boost_failure' /opt/python/3.7.1/lib/python3.7/shutil.py:120: FileNotFoundError _______________________________ test_cpp_verbose _______________________________ testdir = exes = .Executables object at 0x7f0888e37cc0> def test_cpp_verbose(testdir, exes): > exes.get("boost_success") /tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/test_pytest_cpp.py:525: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/conftest.py:24: in get shutil.copy(str(source), str(dest)) /opt/python/3.7.1/lib/python3.7/shutil.py:241: in copy copyfile(src, dst, follow_symlinks=follow_symlinks) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src = '/tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/boost_success' dst = '/tmp/pytest-of-travis/pytest-4/test_cpp_verbose0/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/tmp_cm101py/pytest-cpp-1.4.0/tests/boost_success' /opt/python/3.7.1/lib/python3.7/shutil.py:120: FileNotFoundError ____________________ test_samples[unit_test_example_01-0-1] ____________________ exes = .Executables object at 0x7f0888a57390> 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/tmp_cm101py/pytest-cpp-1.4.0/tests/acceptance/test_boosttest_samples.py:22: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/conftest.py:24: in get shutil.copy(str(source), str(dest)) /opt/python/3.7.1/lib/python3.7/shutil.py:241: in copy copyfile(src, dst, follow_symlinks=follow_symlinks) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src = '/tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/acceptance/boosttest-samples/unit_test_example_01' dst = '/tmp/pytest-of-travis/pytest-4/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/tmp_cm101py/pytest-cpp-1.4.0/tests/acceptance/boosttest-samples/unit_test_example_01' /opt/python/3.7.1/lib/python3.7/shutil.py:120: FileNotFoundError ____________________ test_samples[unit_test_example_02-0-1] ____________________ exes = .Executables object at 0x7f0888deb1d0> 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/tmp_cm101py/pytest-cpp-1.4.0/tests/acceptance/test_boosttest_samples.py:22: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/conftest.py:24: in get shutil.copy(str(source), str(dest)) /opt/python/3.7.1/lib/python3.7/shutil.py:241: in copy copyfile(src, dst, follow_symlinks=follow_symlinks) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src = '/tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/acceptance/boosttest-samples/unit_test_example_02' dst = '/tmp/pytest-of-travis/pytest-4/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/tmp_cm101py/pytest-cpp-1.4.0/tests/acceptance/boosttest-samples/unit_test_example_02' /opt/python/3.7.1/lib/python3.7/shutil.py:120: FileNotFoundError ____________________ test_samples[unit_test_example_03-0-1] ____________________ exes = .Executables object at 0x7f0888aea3c8> 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/tmp_cm101py/pytest-cpp-1.4.0/tests/acceptance/test_boosttest_samples.py:22: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/conftest.py:24: in get shutil.copy(str(source), str(dest)) /opt/python/3.7.1/lib/python3.7/shutil.py:241: in copy copyfile(src, dst, follow_symlinks=follow_symlinks) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src = '/tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/acceptance/boosttest-samples/unit_test_example_03' dst = '/tmp/pytest-of-travis/pytest-4/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/tmp_cm101py/pytest-cpp-1.4.0/tests/acceptance/boosttest-samples/unit_test_example_03' /opt/python/3.7.1/lib/python3.7/shutil.py:120: FileNotFoundError ____________________ test_samples[unit_test_example_04-0-1] ____________________ exes = .Executables object at 0x7f0888a64cf8> 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/tmp_cm101py/pytest-cpp-1.4.0/tests/acceptance/test_boosttest_samples.py:22: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/conftest.py:24: in get shutil.copy(str(source), str(dest)) /opt/python/3.7.1/lib/python3.7/shutil.py:241: in copy copyfile(src, dst, follow_symlinks=follow_symlinks) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src = '/tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/acceptance/boosttest-samples/unit_test_example_04' dst = '/tmp/pytest-of-travis/pytest-4/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/tmp_cm101py/pytest-cpp-1.4.0/tests/acceptance/boosttest-samples/unit_test_example_04' /opt/python/3.7.1/lib/python3.7/shutil.py:120: FileNotFoundError ____________________ test_samples[unit_test_example_05-0-1] ____________________ exes = .Executables object at 0x7f0888ea21d0> 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/tmp_cm101py/pytest-cpp-1.4.0/tests/acceptance/test_boosttest_samples.py:22: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/conftest.py:24: in get shutil.copy(str(source), str(dest)) /opt/python/3.7.1/lib/python3.7/shutil.py:241: in copy copyfile(src, dst, follow_symlinks=follow_symlinks) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src = '/tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/acceptance/boosttest-samples/unit_test_example_05' dst = '/tmp/pytest-of-travis/pytest-4/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/tmp_cm101py/pytest-cpp-1.4.0/tests/acceptance/boosttest-samples/unit_test_example_05' /opt/python/3.7.1/lib/python3.7/shutil.py:120: FileNotFoundError ____________________ test_samples[unit_test_example_06-0-1] ____________________ exes = .Executables object at 0x7f0888a50780> 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/tmp_cm101py/pytest-cpp-1.4.0/tests/acceptance/test_boosttest_samples.py:22: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/conftest.py:24: in get shutil.copy(str(source), str(dest)) /opt/python/3.7.1/lib/python3.7/shutil.py:241: in copy copyfile(src, dst, follow_symlinks=follow_symlinks) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src = '/tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/acceptance/boosttest-samples/unit_test_example_06' dst = '/tmp/pytest-of-travis/pytest-4/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/tmp_cm101py/pytest-cpp-1.4.0/tests/acceptance/boosttest-samples/unit_test_example_06' /opt/python/3.7.1/lib/python3.7/shutil.py:120: FileNotFoundError ____________________ test_samples[unit_test_example_07-1-0] ____________________ exes = .Executables object at 0x7f0888ea4518> 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/tmp_cm101py/pytest-cpp-1.4.0/tests/acceptance/test_boosttest_samples.py:22: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/conftest.py:24: in get shutil.copy(str(source), str(dest)) /opt/python/3.7.1/lib/python3.7/shutil.py:241: in copy copyfile(src, dst, follow_symlinks=follow_symlinks) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src = '/tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/acceptance/boosttest-samples/unit_test_example_07' dst = '/tmp/pytest-of-travis/pytest-4/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/tmp_cm101py/pytest-cpp-1.4.0/tests/acceptance/boosttest-samples/unit_test_example_07' /opt/python/3.7.1/lib/python3.7/shutil.py:120: FileNotFoundError ____________________ test_samples[unit_test_example_08-0-1] ____________________ exes = .Executables object at 0x7f0888afbf28> 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/tmp_cm101py/pytest-cpp-1.4.0/tests/acceptance/test_boosttest_samples.py:22: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/conftest.py:24: in get shutil.copy(str(source), str(dest)) /opt/python/3.7.1/lib/python3.7/shutil.py:241: in copy copyfile(src, dst, follow_symlinks=follow_symlinks) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src = '/tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/acceptance/boosttest-samples/unit_test_example_08' dst = '/tmp/pytest-of-travis/pytest-4/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/tmp_cm101py/pytest-cpp-1.4.0/tests/acceptance/boosttest-samples/unit_test_example_08' /opt/python/3.7.1/lib/python3.7/shutil.py:120: FileNotFoundError ___________________ test_samples[unit_test_example_09_1-1-0] ___________________ exes = .Executables object at 0x7f0888ff57b8> 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/tmp_cm101py/pytest-cpp-1.4.0/tests/acceptance/test_boosttest_samples.py:22: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/conftest.py:24: in get shutil.copy(str(source), str(dest)) /opt/python/3.7.1/lib/python3.7/shutil.py:241: in copy copyfile(src, dst, follow_symlinks=follow_symlinks) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src = '/tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/acceptance/boosttest-samples/unit_test_example_09_1' dst = '/tmp/pytest-of-travis/pytest-4/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/tmp_cm101py/pytest-cpp-1.4.0/tests/acceptance/boosttest-samples/unit_test_example_09_1' /opt/python/3.7.1/lib/python3.7/shutil.py:120: FileNotFoundError ___________________ test_samples[unit_test_example_09_2-1-0] ___________________ exes = .Executables object at 0x7f0888a48780> 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/tmp_cm101py/pytest-cpp-1.4.0/tests/acceptance/test_boosttest_samples.py:22: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/conftest.py:24: in get shutil.copy(str(source), str(dest)) /opt/python/3.7.1/lib/python3.7/shutil.py:241: in copy copyfile(src, dst, follow_symlinks=follow_symlinks) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src = '/tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/acceptance/boosttest-samples/unit_test_example_09_2' dst = '/tmp/pytest-of-travis/pytest-4/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/tmp_cm101py/pytest-cpp-1.4.0/tests/acceptance/boosttest-samples/unit_test_example_09_2' /opt/python/3.7.1/lib/python3.7/shutil.py:120: FileNotFoundError ____________________ test_samples[unit_test_example_13-1-0] ____________________ exes = .Executables object at 0x7f0888de4eb8> 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/tmp_cm101py/pytest-cpp-1.4.0/tests/acceptance/test_boosttest_samples.py:22: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/conftest.py:24: in get shutil.copy(str(source), str(dest)) /opt/python/3.7.1/lib/python3.7/shutil.py:241: in copy copyfile(src, dst, follow_symlinks=follow_symlinks) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src = '/tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/acceptance/boosttest-samples/unit_test_example_13' dst = '/tmp/pytest-of-travis/pytest-4/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/tmp_cm101py/pytest-cpp-1.4.0/tests/acceptance/boosttest-samples/unit_test_example_13' /opt/python/3.7.1/lib/python3.7/shutil.py:120: FileNotFoundError ________________ test_samples[utest_case_template_example-0-1] _________________ exes = .Executables object at 0x7f0888ea40b8> 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/tmp_cm101py/pytest-cpp-1.4.0/tests/acceptance/test_boosttest_samples.py:22: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/conftest.py:24: in get shutil.copy(str(source), str(dest)) /opt/python/3.7.1/lib/python3.7/shutil.py:241: in copy copyfile(src, dst, follow_symlinks=follow_symlinks) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src = '/tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/acceptance/boosttest-samples/utest_case_template_example' dst = '/tmp/pytest-of-travis/pytest-4/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/tmp_cm101py/pytest-cpp-1.4.0/tests/acceptance/boosttest-samples/utest_case_template_example' /opt/python/3.7.1/lib/python3.7/shutil.py:120: FileNotFoundError _______________________________ test_example_11 ________________________________ exes = .Executables object at 0x7f0888f086a0> 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/tmp_cm101py/pytest-cpp-1.4.0/tests/acceptance/test_boosttest_samples.py:39: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/conftest.py:24: in get shutil.copy(str(source), str(dest)) /opt/python/3.7.1/lib/python3.7/shutil.py:241: in copy copyfile(src, dst, follow_symlinks=follow_symlinks) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src = '/tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/acceptance/boosttest-samples/unit_test_example_11' dst = '/tmp/pytest-of-travis/pytest-4/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/tmp_cm101py/pytest-cpp-1.4.0/tests/acceptance/boosttest-samples/unit_test_example_11' /opt/python/3.7.1/lib/python3.7/shutil.py:120: FileNotFoundError ______________________ test_samples[sample1_unittest-6-0] ______________________ exes = .Executables object at 0x7f0888dbeb00> 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/tmp_cm101py/pytest-cpp-1.4.0/tests/acceptance/test_googletest_samples.py:20: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/conftest.py:24: in get shutil.copy(str(source), str(dest)) /opt/python/3.7.1/lib/python3.7/shutil.py:241: in copy copyfile(src, dst, follow_symlinks=follow_symlinks) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src = '/tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/acceptance/googletest-samples/sample1_unittest' dst = '/tmp/pytest-of-travis/pytest-4/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/tmp_cm101py/pytest-cpp-1.4.0/tests/acceptance/googletest-samples/sample1_unittest' /opt/python/3.7.1/lib/python3.7/shutil.py:120: FileNotFoundError ______________________ test_samples[sample2_unittest-4-0] ______________________ exes = .Executables object at 0x7f0888f22828> 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/tmp_cm101py/pytest-cpp-1.4.0/tests/acceptance/test_googletest_samples.py:20: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/conftest.py:24: in get shutil.copy(str(source), str(dest)) /opt/python/3.7.1/lib/python3.7/shutil.py:241: in copy copyfile(src, dst, follow_symlinks=follow_symlinks) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src = '/tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/acceptance/googletest-samples/sample2_unittest' dst = '/tmp/pytest-of-travis/pytest-4/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/tmp_cm101py/pytest-cpp-1.4.0/tests/acceptance/googletest-samples/sample2_unittest' /opt/python/3.7.1/lib/python3.7/shutil.py:120: FileNotFoundError ______________________ test_samples[sample3_unittest-3-0] ______________________ exes = .Executables object at 0x7f0888ae9cf8> 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/tmp_cm101py/pytest-cpp-1.4.0/tests/acceptance/test_googletest_samples.py:20: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/conftest.py:24: in get shutil.copy(str(source), str(dest)) /opt/python/3.7.1/lib/python3.7/shutil.py:241: in copy copyfile(src, dst, follow_symlinks=follow_symlinks) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src = '/tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/acceptance/googletest-samples/sample3_unittest' dst = '/tmp/pytest-of-travis/pytest-4/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/tmp_cm101py/pytest-cpp-1.4.0/tests/acceptance/googletest-samples/sample3_unittest' /opt/python/3.7.1/lib/python3.7/shutil.py:120: FileNotFoundError ______________________ test_samples[sample4_unittest-1-0] ______________________ exes = .Executables object at 0x7f0888de5c18> 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/tmp_cm101py/pytest-cpp-1.4.0/tests/acceptance/test_googletest_samples.py:20: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/conftest.py:24: in get shutil.copy(str(source), str(dest)) /opt/python/3.7.1/lib/python3.7/shutil.py:241: in copy copyfile(src, dst, follow_symlinks=follow_symlinks) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src = '/tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/acceptance/googletest-samples/sample4_unittest' dst = '/tmp/pytest-of-travis/pytest-4/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/tmp_cm101py/pytest-cpp-1.4.0/tests/acceptance/googletest-samples/sample4_unittest' /opt/python/3.7.1/lib/python3.7/shutil.py:120: FileNotFoundError ______________________ test_samples[sample5_unittest-4-0] ______________________ exes = .Executables object at 0x7f0888f08080> 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/tmp_cm101py/pytest-cpp-1.4.0/tests/acceptance/test_googletest_samples.py:20: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/conftest.py:24: in get shutil.copy(str(source), str(dest)) /opt/python/3.7.1/lib/python3.7/shutil.py:241: in copy copyfile(src, dst, follow_symlinks=follow_symlinks) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src = '/tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/acceptance/googletest-samples/sample5_unittest' dst = '/tmp/pytest-of-travis/pytest-4/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/tmp_cm101py/pytest-cpp-1.4.0/tests/acceptance/googletest-samples/sample5_unittest' /opt/python/3.7.1/lib/python3.7/shutil.py:120: FileNotFoundError _____________________ test_samples[sample6_unittest-12-0] ______________________ exes = .Executables object at 0x7f0888ead3c8> 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/tmp_cm101py/pytest-cpp-1.4.0/tests/acceptance/test_googletest_samples.py:20: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/conftest.py:24: in get shutil.copy(str(source), str(dest)) /opt/python/3.7.1/lib/python3.7/shutil.py:241: in copy copyfile(src, dst, follow_symlinks=follow_symlinks) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src = '/tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/acceptance/googletest-samples/sample6_unittest' dst = '/tmp/pytest-of-travis/pytest-4/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/tmp_cm101py/pytest-cpp-1.4.0/tests/acceptance/googletest-samples/sample6_unittest' /opt/python/3.7.1/lib/python3.7/shutil.py:120: FileNotFoundError ______________________ test_samples[sample7_unittest-6-0] ______________________ exes = .Executables object at 0x7f0888ef1cc0> 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/tmp_cm101py/pytest-cpp-1.4.0/tests/acceptance/test_googletest_samples.py:20: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/conftest.py:24: in get shutil.copy(str(source), str(dest)) /opt/python/3.7.1/lib/python3.7/shutil.py:241: in copy copyfile(src, dst, follow_symlinks=follow_symlinks) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src = '/tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/acceptance/googletest-samples/sample7_unittest' dst = '/tmp/pytest-of-travis/pytest-4/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/tmp_cm101py/pytest-cpp-1.4.0/tests/acceptance/googletest-samples/sample7_unittest' /opt/python/3.7.1/lib/python3.7/shutil.py:120: FileNotFoundError _____________________ test_samples[sample8_unittest-12-0] ______________________ exes = .Executables object at 0x7f0888a38748> 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/tmp_cm101py/pytest-cpp-1.4.0/tests/acceptance/test_googletest_samples.py:20: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/conftest.py:24: in get shutil.copy(str(source), str(dest)) /opt/python/3.7.1/lib/python3.7/shutil.py:241: in copy copyfile(src, dst, follow_symlinks=follow_symlinks) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src = '/tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/acceptance/googletest-samples/sample8_unittest' dst = '/tmp/pytest-of-travis/pytest-4/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/tmp_cm101py/pytest-cpp-1.4.0/tests/acceptance/googletest-samples/sample8_unittest' /opt/python/3.7.1/lib/python3.7/shutil.py:120: FileNotFoundError ______________________ test_samples[sample9_unittest-2-1] ______________________ exes = .Executables object at 0x7f0888f02668> 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/tmp_cm101py/pytest-cpp-1.4.0/tests/acceptance/test_googletest_samples.py:20: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/conftest.py:24: in get shutil.copy(str(source), str(dest)) /opt/python/3.7.1/lib/python3.7/shutil.py:241: in copy copyfile(src, dst, follow_symlinks=follow_symlinks) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src = '/tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/acceptance/googletest-samples/sample9_unittest' dst = '/tmp/pytest-of-travis/pytest-4/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/tmp_cm101py/pytest-cpp-1.4.0/tests/acceptance/googletest-samples/sample9_unittest' /opt/python/3.7.1/lib/python3.7/shutil.py:120: FileNotFoundError _____________________ test_samples[sample10_unittest-2-0] ______________________ exes = .Executables object at 0x7f0888ead978> 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/tmp_cm101py/pytest-cpp-1.4.0/tests/acceptance/test_googletest_samples.py:20: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/conftest.py:24: in get shutil.copy(str(source), str(dest)) /opt/python/3.7.1/lib/python3.7/shutil.py:241: in copy copyfile(src, dst, follow_symlinks=follow_symlinks) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src = '/tmp/tmp_cm101py/pytest-cpp-1.4.0/tests/acceptance/googletest-samples/sample10_unittest' dst = '/tmp/pytest-of-travis/pytest-4/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/tmp_cm101py/pytest-cpp-1.4.0/tests/acceptance/googletest-samples/sample10_unittest' /opt/python/3.7.1/lib/python3.7/shutil.py:120: FileNotFoundError =========================== short test summary info ============================ FAILED tests/test_pytest_cpp.py::test_list_tests[facade0-gtest-expected0] - F... FAILED tests/test_pytest_cpp.py::test_list_tests[facade1-boost_success-expected1] FAILED tests/test_pytest_cpp.py::test_list_tests[facade2-boost_error-expected2] FAILED tests/test_pytest_cpp.py::test_list_tests[facade3-boost_fixture_setup_error-expected3] FAILED tests/test_pytest_cpp.py::test_is_test_suite[facade0-gtest-boost_success] FAILED tests/test_pytest_cpp.py::test_is_test_suite[facade1-boost_success-gtest] FAILED tests/test_pytest_cpp.py::test_success[facade0-gtest-FooTest.test_success] FAILED tests/test_pytest_cpp.py::test_success[facade1-boost_success-] FAILED tests/test_pytest_cpp.py::test_google_failure - FileNotFoundError: [Er... FAILED tests/test_pytest_cpp.py::test_google_error - FileNotFoundError: [Errn... FAILED tests/test_pytest_cpp.py::test_google_disabled - FileNotFoundError: [E... FAILED tests/test_pytest_cpp.py::test_boost_failure - FileNotFoundError: [Err... FAILED tests/test_pytest_cpp.py::test_boost_fatal_error - FileNotFoundError: ... FAILED tests/test_pytest_cpp.py::test_boost_error - FileNotFoundError: [Errno... FAILED tests/test_pytest_cpp.py::test_boost_fixture_setup_error - FileNotFoun... FAILED tests/test_pytest_cpp.py::test_google_run - FileNotFoundError: [Errno ... FAILED tests/test_pytest_cpp.py::test_unknown_error - FileNotFoundError: [Err... FAILED tests/test_pytest_cpp.py::test_google_internal_errors - FileNotFoundEr... FAILED tests/test_pytest_cpp.py::test_boost_run - FileNotFoundError: [Errno 2... FAILED tests/test_pytest_cpp.py::test_boost_internal_error - FileNotFoundErro... FAILED tests/test_pytest_cpp.py::test_cpp_files_option - FileNotFoundError: [... FAILED tests/test_pytest_cpp.py::test_cpp_ignore_py_files - FileNotFoundError... FAILED tests/test_pytest_cpp.py::test_google_one_argument - FileNotFoundError... FAILED tests/test_pytest_cpp.py::test_google_two_arguments - FileNotFoundErro... FAILED tests/test_pytest_cpp.py::test_google_one_argument_via_option - FileNo... FAILED tests/test_pytest_cpp.py::test_google_two_arguments_via_option - FileN... FAILED tests/test_pytest_cpp.py::test_argument_option_priority - FileNotFound... FAILED tests/test_pytest_cpp.py::test_boost_one_argument - FileNotFoundError:... FAILED tests/test_pytest_cpp.py::test_boost_two_arguments - FileNotFoundError... FAILED tests/test_pytest_cpp.py::test_boost_one_argument_via_option - FileNot... FAILED tests/test_pytest_cpp.py::test_boost_two_arguments_via_option - FileNo... FAILED tests/test_pytest_cpp.py::test_passing_files_directly_in_command_line FAILED tests/test_pytest_cpp.py::test_output_section - FileNotFoundError: [Er... FAILED tests/test_pytest_cpp.py::test_cpp_verbose - FileNotFoundError: [Errno... FAILED tests/acceptance/test_boosttest_samples.py::test_samples[unit_test_example_01-0-1] FAILED tests/acceptance/test_boosttest_samples.py::test_samples[unit_test_example_02-0-1] FAILED tests/acceptance/test_boosttest_samples.py::test_samples[unit_test_example_03-0-1] FAILED tests/acceptance/test_boosttest_samples.py::test_samples[unit_test_example_04-0-1] FAILED tests/acceptance/test_boosttest_samples.py::test_samples[unit_test_example_05-0-1] FAILED tests/acceptance/test_boosttest_samples.py::test_samples[unit_test_example_06-0-1] FAILED tests/acceptance/test_boosttest_samples.py::test_samples[unit_test_example_07-1-0] FAILED tests/acceptance/test_boosttest_samples.py::test_samples[unit_test_example_08-0-1] FAILED tests/acceptance/test_boosttest_samples.py::test_samples[unit_test_example_09_1-1-0] FAILED tests/acceptance/test_boosttest_samples.py::test_samples[unit_test_example_09_2-1-0] FAILED tests/acceptance/test_boosttest_samples.py::test_samples[unit_test_example_13-1-0] FAILED tests/acceptance/test_boosttest_samples.py::test_samples[utest_case_template_example-0-1] FAILED tests/acceptance/test_boosttest_samples.py::test_example_11 - FileNotF... FAILED tests/acceptance/test_googletest_samples.py::test_samples[sample1_unittest-6-0] FAILED tests/acceptance/test_googletest_samples.py::test_samples[sample2_unittest-4-0] FAILED tests/acceptance/test_googletest_samples.py::test_samples[sample3_unittest-3-0] FAILED tests/acceptance/test_googletest_samples.py::test_samples[sample4_unittest-1-0] FAILED tests/acceptance/test_googletest_samples.py::test_samples[sample5_unittest-4-0] FAILED tests/acceptance/test_googletest_samples.py::test_samples[sample6_unittest-12-0] FAILED tests/acceptance/test_googletest_samples.py::test_samples[sample7_unittest-6-0] FAILED tests/acceptance/test_googletest_samples.py::test_samples[sample8_unittest-12-0] FAILED tests/acceptance/test_googletest_samples.py::test_samples[sample9_unittest-2-1] FAILED tests/acceptance/test_googletest_samples.py::test_samples[sample10_unittest-2-0] =================== 57 failed, 5 passed, 2 skipped in 20.83s =================== ERROR: InvocationError for command /tmp/tmp_cm101py/pytest-cpp-1.4.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/tmp_cm101py/pytest-cpp-1.4.0/result.json Time: 63.0 seconds