py38 create: /tmp/tmprhq4wk8a/pytest_docker_postgresql-0.1.0-py3-none-any/.tox/py38 py38 installdeps: pytest==6.0.1, pip py38 installed: attrs==20.1.0,iniconfig==1.0.1,more-itertools==8.5.0,packaging==20.4,pluggy==0.13.1,py==1.9.0,pyparsing==2.4.7,pytest==6.0.1,six==1.15.0,toml==0.10.1 py38 run-test-pre: PYTHONHASHSEED='1001978205' py38 run-test: commands[0] | pip install ../pytest_docker_postgresql-0.1.0-py3-none-any.whl Processing /tmp/tmprhq4wk8a/pytest_docker_postgresql-0.1.0-py3-none-any.whl Requirement already satisfied: pytest>=3.5.0 in ./.tox/py38/lib/python3.8/site-packages (from pytest-docker-postgresql==0.1.0) (6.0.1) Collecting urllib3<1.25,>=1.21.1 Downloading urllib3-1.24.3-py2.py3-none-any.whl (118 kB) Collecting backoff>=1.8.0 Downloading backoff-1.10.0-py2.py3-none-any.whl (31 kB) Collecting docker-compose<=1.24.0 Downloading docker_compose-1.24.0-py2.py3-none-any.whl (134 kB) Collecting pg8000>=1.13.2 Using cached pg8000-1.16.5-py3-none-any.whl (24 kB) Collecting lovely-pytest-docker<=0.0.5 Downloading lovely-pytest-docker-0.0.5.tar.gz (5.7 kB) Collecting requests<2.21 Downloading requests-2.20.1-py2.py3-none-any.whl (57 kB) Requirement already satisfied: py>=1.8.2 in ./.tox/py38/lib/python3.8/site-packages (from pytest>=3.5.0->pytest-docker-postgresql==0.1.0) (1.9.0) Requirement already satisfied: pluggy<1.0,>=0.12 in ./.tox/py38/lib/python3.8/site-packages (from pytest>=3.5.0->pytest-docker-postgresql==0.1.0) (0.13.1) Requirement already satisfied: packaging in ./.tox/py38/lib/python3.8/site-packages (from pytest>=3.5.0->pytest-docker-postgresql==0.1.0) (20.4) Requirement already satisfied: more-itertools>=4.0.0 in ./.tox/py38/lib/python3.8/site-packages (from pytest>=3.5.0->pytest-docker-postgresql==0.1.0) (8.5.0) Requirement already satisfied: attrs>=17.4.0 in ./.tox/py38/lib/python3.8/site-packages (from pytest>=3.5.0->pytest-docker-postgresql==0.1.0) (20.1.0) Requirement already satisfied: iniconfig in ./.tox/py38/lib/python3.8/site-packages (from pytest>=3.5.0->pytest-docker-postgresql==0.1.0) (1.0.1) Requirement already satisfied: toml in ./.tox/py38/lib/python3.8/site-packages (from pytest>=3.5.0->pytest-docker-postgresql==0.1.0) (0.10.1) Collecting websocket-client<1.0,>=0.32.0 Using cached websocket_client-0.57.0-py2.py3-none-any.whl (200 kB) Processing /home/travis/.cache/pip/wheels/56/ea/58/ead137b087d9e326852a851351d1debf4ada529b6ac0ec4e8c/docopt-0.6.2-py2.py3-none-any.whl Collecting cached-property<2,>=1.2.0 Using cached cached_property-1.5.1-py2.py3-none-any.whl (6.0 kB) Collecting docker[ssh]<4.0,>=3.7.0 Downloading docker-3.7.3-py2.py3-none-any.whl (134 kB) Collecting PyYAML<4.3,>=3.10 Downloading PyYAML-3.13.tar.gz (270 kB) Requirement already satisfied: six<2,>=1.3.0 in ./.tox/py38/lib/python3.8/site-packages (from docker-compose<=1.24.0->pytest-docker-postgresql==0.1.0) (1.15.0) Collecting jsonschema<3,>=2.5.1 Downloading jsonschema-2.6.0-py2.py3-none-any.whl (39 kB) Processing /home/travis/.cache/pip/wheels/1a/58/0d/9916bf3c72e224e038beb88f669f68b61d2f274df498ff87c6/dockerpty-0.4.1-py3-none-any.whl Collecting texttable<0.10,>=0.9.0 Downloading texttable-0.9.1.tar.gz (11 kB) Collecting scramp==1.2.0 Using cached scramp-1.2.0-py3-none-any.whl (6.3 kB) Collecting certifi>=2017.4.17 Using cached certifi-2020.6.20-py2.py3-none-any.whl (156 kB) Collecting idna<2.8,>=2.5 Downloading idna-2.7-py2.py3-none-any.whl (58 kB) Collecting chardet<3.1.0,>=3.0.2 Using cached chardet-3.0.4-py2.py3-none-any.whl (133 kB) Requirement already satisfied: pyparsing>=2.0.2 in ./.tox/py38/lib/python3.8/site-packages (from packaging->pytest>=3.5.0->pytest-docker-postgresql==0.1.0) (2.4.7) Collecting docker-pycreds>=0.4.0 Using cached docker_pycreds-0.4.0-py2.py3-none-any.whl (9.0 kB) Collecting paramiko>=2.4.2; extra == "ssh" Using cached paramiko-2.7.1-py2.py3-none-any.whl (206 kB) Collecting bcrypt>=3.1.3 Using cached bcrypt-3.2.0-cp36-abi3-manylinux2010_x86_64.whl (63 kB) Collecting pynacl>=1.0.1 Using cached PyNaCl-1.4.0-cp35-abi3-manylinux1_x86_64.whl (961 kB) Collecting cryptography>=2.5 Using cached cryptography-3.1-cp35-abi3-manylinux2010_x86_64.whl (2.6 MB) Collecting cffi>=1.1 Using cached cffi-1.14.2-cp38-cp38-manylinux1_x86_64.whl (410 kB) Collecting pycparser Using cached pycparser-2.20-py2.py3-none-any.whl (112 kB) Building wheels for collected packages: lovely-pytest-docker, PyYAML, texttable Building wheel for lovely-pytest-docker (setup.py): started Building wheel for lovely-pytest-docker (setup.py): finished with status 'done' Created wheel for lovely-pytest-docker: filename=lovely_pytest_docker-0.0.5-py3-none-any.whl size=6642 sha256=f46bd4b82555666243c2ba2bb70d040134186df30bca2bad0fd97fba2d1abb12 Stored in directory: /home/travis/.cache/pip/wheels/7e/5d/bb/c09909d4d7c238db85e7cf86f72b16b83aee40bc8872a8b3c8 Building wheel for PyYAML (setup.py): started Building wheel for PyYAML (setup.py): finished with status 'done' Created wheel for PyYAML: filename=PyYAML-3.13-cp38-cp38-linux_x86_64.whl size=442509 sha256=b8643f53771f69ba6c415b8c0ca8b764a1d18d3091e0f85773ceb86272236fa5 Stored in directory: /home/travis/.cache/pip/wheels/db/f2/07/5e58b12bc11255c3fc0a0aca89849050a8ec203d8b4a3c52c0 Building wheel for texttable (setup.py): started Building wheel for texttable (setup.py): finished with status 'done' Created wheel for texttable: filename=texttable-0.9.1-py3-none-any.whl size=9971 sha256=58b883688e1dce64c1365acf088d0aa922c5c8abc0dad576676bbea4504e09a1 Stored in directory: /home/travis/.cache/pip/wheels/00/e7/db/d9accae7aab35a72b359422e4a77fbcd4c8b58f41ad5ee0c3d Successfully built lovely-pytest-docker PyYAML texttable Installing collected packages: urllib3, backoff, websocket-client, certifi, idna, chardet, requests, docopt, cached-property, docker-pycreds, pycparser, cffi, bcrypt, pynacl, cryptography, paramiko, docker, PyYAML, jsonschema, dockerpty, texttable, docker-compose, scramp, pg8000, lovely-pytest-docker, pytest-docker-postgresql Successfully installed PyYAML-3.13 backoff-1.10.0 bcrypt-3.2.0 cached-property-1.5.1 certifi-2020.6.20 cffi-1.14.2 chardet-3.0.4 cryptography-3.1 docker-3.7.3 docker-compose-1.24.0 docker-pycreds-0.4.0 dockerpty-0.4.1 docopt-0.6.2 idna-2.7 jsonschema-2.6.0 lovely-pytest-docker-0.0.5 paramiko-2.7.1 pg8000-1.16.5 pycparser-2.20 pynacl-1.4.0 pytest-docker-postgresql-0.1.0 requests-2.20.1 scramp-1.2.0 texttable-0.9.1 urllib3-1.24.3 websocket-client-0.57.0 py38 run-test: commands[1] | pytest --trace-config --help PLUGIN registered: <_pytest.config.PytestPluginManager object at 0x7f69bae7c7f0> PLUGIN registered: <_pytest.config.Config object at 0x7f69ba7f6760> PLUGIN registered: PLUGIN registered: PLUGIN registered: PLUGIN registered: PLUGIN registered: PLUGIN registered: PLUGIN registered: PLUGIN registered: PLUGIN registered: PLUGIN registered: PLUGIN registered: PLUGIN registered: PLUGIN registered: PLUGIN registered: PLUGIN registered: PLUGIN registered: PLUGIN registered: PLUGIN registered: PLUGIN registered: PLUGIN registered: PLUGIN registered: PLUGIN registered: PLUGIN registered: PLUGIN registered: PLUGIN registered: PLUGIN registered: PLUGIN registered: PLUGIN registered: PLUGIN registered: PLUGIN registered: PLUGIN registered: PLUGIN registered: > err=> in_=> _state='suspended' _in_suspended=False> _capture_fixture=None> PLUGIN registered: <_pytest.cacheprovider.LFPlugin object at 0x7f69b8ab99d0> PLUGIN registered: <_pytest.cacheprovider.NFPlugin object at 0x7f69b8ab9a30> PLUGIN registered: <_pytest.faulthandler.FaultHandlerHooks object at 0x7f69b8ab9a60> PLUGIN registered: <_pytest.stepwise.StepwisePlugin object at 0x7f69b8ab98b0> PLUGIN registered: <_pytest.terminal.TerminalReporter object at 0x7f69b8f76280> PLUGIN registered: <_pytest.logging.LoggingPlugin object at 0x7f69b8a76790> usage: pytest [options] [file_or_dir] [file_or_dir] [...] positional arguments: file_or_dir general: -k EXPRESSION only run tests which match the given substring expression. An expression is a python evaluatable expression where all names are substring-matched against test names and their parent classes. Example: -k 'test_method or test_other' matches all test functions and classes whose name contains 'test_method' or 'test_other', while -k 'not test_method' matches those that don't contain 'test_method' in their names. -k 'not test_method and not test_other' will eliminate the matches. Additionally keywords are matched to classes and functions containing extra names in their 'extra_keyword_matches' set, as well as functions which have names assigned directly to them. The matching is case-insensitive. -m MARKEXPR only run tests matching given mark expression. For example: -m 'mark1 and not mark2'. --markers show markers (builtin, plugin and per-project ones). -x, --exitfirst exit instantly on first error or failed test. --maxfail=num exit after first num failures or errors. --strict-config any warnings encountered while parsing the `pytest` section of the configuration file raise errors. --strict-markers, --strict markers not registered in the `markers` section of the configuration file raise errors. -c file load configuration from `file` instead of trying to locate one of the implicit configuration files. --continue-on-collection-errors Force test execution even if collection errors occur. --rootdir=ROOTDIR Define root directory for tests. Can be relative path: 'root_dir', './root_dir', 'root_dir/another_dir/'; absolute path: '/home/user/root_dir'; path with variables: '$HOME/root_dir'. --fixtures, --funcargs show available fixtures, sorted by plugin appearance (fixtures with leading '_' are only shown with '-v') --fixtures-per-test show fixtures per test --pdb start the interactive Python debugger on errors or KeyboardInterrupt. --pdbcls=modulename:classname start a custom interactive Python debugger on errors. For example: --pdbcls=IPython.terminal.debugger:TerminalPdb --trace Immediately break when running each test. --capture=method per-test capturing method: one of fd|sys|no|tee-sys. -s shortcut for --capture=no. --runxfail report the results of xfail tests as if they were not marked --lf, --last-failed rerun only the tests that failed at the last run (or all if none failed) --ff, --failed-first run all tests, but run the last failures first. This may re-order tests and thus lead to repeated fixture setup/teardown. --nf, --new-first run tests from new files first, then the rest of the tests sorted by file mtime --cache-show=[CACHESHOW] show cache contents, don't perform collection or tests. Optional argument: glob (default: '*'). --cache-clear remove all cache contents at start of test run. --lfnf={all,none}, --last-failed-no-failures={all,none} which tests to run with no previously (known) failures. --sw, --stepwise exit on test failure and continue from last failing test next time --stepwise-skip ignore the first failing test but stop on the next failing test reporting: --durations=N show N slowest setup/test durations (N=0 for all). -v, --verbose increase verbosity. --no-header disable header --no-summary disable summary -q, --quiet decrease verbosity. --verbosity=VERBOSE set verbosity. Default is 0. -r chars show extra test summary info as specified by chars: (f)ailed, (E)rror, (s)kipped, (x)failed, (X)passed, (p)assed, (P)assed with output, (a)ll except passed (p/P), or (A)ll. (w)arnings are enabled by default (see --disable-warnings), 'N' can be used to reset the list. (default: 'fE'). --disable-warnings, --disable-pytest-warnings disable warnings summary -l, --showlocals show locals in tracebacks (disabled by default). --tb=style traceback print mode (auto/long/short/line/native/no). --show-capture={no,stdout,stderr,log,all} Controls how captured stdout/stderr/log is shown on failed tests. Default is 'all'. --full-trace don't cut any tracebacks (default is to cut). --color=color color terminal output (yes/no/auto). --code-highlight={yes,no} Whether code should be highlighted (only if --color is also enabled) --pastebin=mode send failed|all info to bpaste.net pastebin service. --junit-xml=path create junit-xml style report file at given path. --junit-prefix=str prepend prefix to classnames in junit-xml output --result-log=path DEPRECATED path for machine-readable result log. collection: --collect-only, --co only collect tests, don't execute them. --pyargs try to interpret all arguments as python packages. --ignore=path ignore path during collection (multi-allowed). --ignore-glob=path ignore path pattern during collection (multi-allowed). --deselect=nodeid_prefix deselect item (via node id prefix) during collection (multi-allowed). --confcutdir=dir only load conftest.py's relative to specified dir. --noconftest Don't load any conftest.py files. --keep-duplicates Keep duplicate tests. --collect-in-virtualenv Don't ignore tests in a local virtualenv directory --import-mode={prepend,append,importlib} prepend/append to sys.path when importing test modules and conftest files, default is to prepend. --doctest-modules run doctests in all .py modules --doctest-report={none,cdiff,ndiff,udiff,only_first_failure} choose another output format for diffs on doctest failure --doctest-glob=pat doctests file matching pattern, default: test*.txt --doctest-ignore-import-errors ignore doctest ImportErrors --doctest-continue-on-failure for a given doctest, continue to run after the first failure test session debugging and configuration: --basetemp=dir base temporary directory for this test run.(warning: this directory is removed if it exists) -V, --version display pytest version and information about plugins.When given twice, also display information about plugins. -h, --help show help message and configuration info -p name early-load given plugin module name or entry point (multi-allowed). To avoid loading of plugins, use the `no:` prefix, e.g. `no:doctest`. --trace-config trace considerations of conftest.py files. --debug store internal tracing debug information in 'pytestdebug.log'. -o OVERRIDE_INI, --override-ini=OVERRIDE_INI override ini option with "option=value" style, e.g. `-o xfail_strict=True -o cache_dir=cache`. --assert=MODE Control assertion debugging tools. 'plain' performs no assertion debugging. 'rewrite' (the default) rewrites assert statements in test modules on import to provide assert expression information. --setup-only only setup fixtures, do not execute tests. --setup-show show setup of fixtures while executing tests. --setup-plan show what fixtures and tests would be executed but don't execute anything. pytest-warnings: -W PYTHONWARNINGS, --pythonwarnings=PYTHONWARNINGS set which warnings to report, see -W option of python itself. logging: --log-level=LEVEL level of messages to catch/display. Not set by default, so it depends on the root/parent log handler's effective level, where it is "WARNING" by default. --log-format=LOG_FORMAT log format as used by the logging module. --log-date-format=LOG_DATE_FORMAT log date format as used by the logging module. --log-cli-level=LOG_CLI_LEVEL cli logging level. --log-cli-format=LOG_CLI_FORMAT log format as used by the logging module. --log-cli-date-format=LOG_CLI_DATE_FORMAT log date format as used by the logging module. --log-file=LOG_FILE path to a file when logging will be written to. --log-file-level=LOG_FILE_LEVEL log file logging level. --log-file-format=LOG_FILE_FORMAT log format as used by the logging module. --log-file-date-format=LOG_FILE_DATE_FORMAT log date format as used by the logging module. --log-auto-indent=LOG_AUTO_INDENT Auto-indent multiline messages passed to the logging module. Accepts true|on, false|off or an integer. custom options: -K, --keepalive Keep docker containers alive [pytest] ini-options in the first pytest.ini|tox.ini|setup.cfg file found: markers (linelist): markers for test functions empty_parameter_set_mark (string): default marker for empty parametersets norecursedirs (args): directory patterns to avoid for recursion testpaths (args): directories to search for tests when no files or directories are given in the command line. usefixtures (args): list of default fixtures to be used with this project python_files (args): glob-style file patterns for Python test module discovery python_classes (args): prefixes or glob names for Python test class discovery python_functions (args): prefixes or glob names for Python test function and method discovery disable_test_id_escaping_and_forfeit_all_rights_to_community_support (bool): disable string escape non-ascii characters, might cause unwanted side effects(use at your own risk) console_output_style (string): console output: "classic", or with additional progress information ("progress" (percentage) | "count"). xfail_strict (bool): default for the strict parameter of xfail markers when not given explicitly (default: False) enable_assertion_pass_hook (bool): Enables the pytest_assertion_pass hook.Make sure to delete any previously generated pyc cache files. junit_suite_name (string): Test suite name for JUnit report junit_logging (string): Write captured log messages to JUnit report: one of no|log|system-out|system-err|out-err|all junit_log_passing_tests (bool): Capture log information for passing tests to JUnit report: junit_duration_report (string): Duration time to report: one of total|call junit_family (string): Emit XML for schema: one of legacy|xunit1|xunit2 doctest_optionflags (args): option flags for doctests doctest_encoding (string): encoding used for doctest files cache_dir (string): cache directory path. filterwarnings (linelist): Each line specifies a pattern for warnings.filterwarnings. Processed after -W/--pythonwarnings. log_level (string): default value for --log-level log_format (string): default value for --log-format log_date_format (string): default value for --log-date-format log_cli (bool): enable log display during test run (also known as "live logging"). log_cli_level (string): default value for --log-cli-level log_cli_format (string): default value for --log-cli-format log_cli_date_format (string): default value for --log-cli-date-format log_file (string): default value for --log-file log_file_level (string): default value for --log-file-level log_file_format (string): default value for --log-file-format log_file_date_format (string): default value for --log-file-date-format log_auto_indent (string): default value for --log-auto-indent faulthandler_timeout (string): Dump the traceback of all threads if a test takes more than TIMEOUT seconds to finish. addopts (args): extra command line options minversion (string): minimally required pytest version required_plugins (args): plugins that must be present for pytest to run environment variables: PYTEST_ADDOPTS extra command line options PYTEST_PLUGINS comma-separated plugins to load during startup PYTEST_DISABLE_PLUGIN_AUTOLOAD set to disable plugin auto-loading PYTEST_DEBUG set to enable debug tracing of pytest's internals to see available markers type: pytest --markers to see available fixtures type: pytest --fixtures (shown according to specified file_or_dir or current dir if not specified; fixtures with leading '_' are only shown with the '-v' option ___________________________________ summary ____________________________________ py38: commands succeeded congratulations :) write json report at: /tmp/tmprhq4wk8a/pytest_docker_postgresql-0.1.0-py3-none-any/result.json Time: 105.3 seconds