{"action":"opened","issue":{"url":"https://api.github.com/repos/ClearcodeHQ/pytest-postgresql/issues/162","repository_url":"https://api.github.com/repos/ClearcodeHQ/pytest-postgresql","labels_url":"https://api.github.com/repos/ClearcodeHQ/pytest-postgresql/issues/162/labels{/name}","comments_url":"https://api.github.com/repos/ClearcodeHQ/pytest-postgresql/issues/162/comments","events_url":"https://api.github.com/repos/ClearcodeHQ/pytest-postgresql/issues/162/events","html_url":"https://github.com/ClearcodeHQ/pytest-postgresql/issues/162","id":374574144,"node_id":"MDU6SXNzdWUzNzQ1NzQxNDQ=","number":162,"title":"TravisCI, made no code changes. Build started failing.","user":{"login":"nackjicholson","id":365247,"node_id":"MDQ6VXNlcjM2NTI0Nw==","avatar_url":"https://avatars1.githubusercontent.com/u/365247?v=4","gravatar_id":"","url":"https://api.github.com/users/nackjicholson","html_url":"https://github.com/nackjicholson","followers_url":"https://api.github.com/users/nackjicholson/followers","following_url":"https://api.github.com/users/nackjicholson/following{/other_user}","gists_url":"https://api.github.com/users/nackjicholson/gists{/gist_id}","starred_url":"https://api.github.com/users/nackjicholson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nackjicholson/subscriptions","organizations_url":"https://api.github.com/users/nackjicholson/orgs","repos_url":"https://api.github.com/users/nackjicholson/repos","events_url":"https://api.github.com/users/nackjicholson/events{/privacy}","received_events_url":"https://api.github.com/users/nackjicholson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-26T22:59:52Z","updated_at":"2018-10-26T22:59:52Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"### What action do you want to perform\r\n\r\nRun tests in travis ci\r\n\r\n### What are the results\r\n\r\n```\r\n==================================== ERRORS ====================================\r\n____________ ERROR at setup of TestPutSeries.test_create_new_source ____________\r\nrequest = <SubRequest 'postgresql' for <Function 'test_create_new_source'>>\r\n    @pytest.fixture\r\n    def postgresql_factory(request):\r\n        \"\"\"\r\n            Fixture factory for PostgreSQL.\r\n    \r\n            :param FixtureRequest request: fixture request object\r\n            :rtype: psycopg2.connection\r\n            :returns: postgresql client\r\n            \"\"\"\r\n>       proc_fixture = request.getfixturevalue(process_fixture_name)\r\n../../../virtualenv/python3.6.3/lib/python3.6/site-packages/pytest_postgresql/factories.py:259: \r\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \r\n../../../virtualenv/python3.6.3/lib/python3.6/site-packages/pytest_postgresql/factories.py:211: in postgresql_proc_fixture\r\n    postgresql_ctl, pg_user, datadir\r\n../../../virtualenv/python3.6.3/lib/python3.6/site-packages/pytest_postgresql/factories.py:101: in init_postgresql_directory\r\n    subprocess.check_output(' '.join(init_directory), shell=True)\r\n/opt/python/3.6.3/lib/python3.6/subprocess.py:336: in check_output\r\n    **kwargs).stdout\r\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \r\ninput = None, timeout = None, check = True\r\npopenargs = ('/usr/lib/postgresql/11/bin/pg_ctl initdb -o \"--auth=trust --username=postgres\" -D /tmp/postgresqldata.21515',)\r\nkwargs = {'shell': True, 'stdout': -1}\r\nprocess = <subprocess.Popen object at 0x2ae2978fca90>, stdout = b''\r\nstderr = None, retcode = 127\r\n    def run(*popenargs, input=None, timeout=None, check=False, **kwargs):\r\n        \"\"\"Run command with arguments and return a CompletedProcess instance.\r\n    \r\n        The returned instance will have attributes args, returncode, stdout and\r\n        stderr. By default, stdout and stderr are not captured, and those attributes\r\n        will be None. Pass stdout=PIPE and/or stderr=PIPE in order to capture them.\r\n    \r\n        If check is True and the exit code was non-zero, it raises a\r\n        CalledProcessError. The CalledProcessError object will have the return code\r\n        in the returncode attribute, and output & stderr attributes if those streams\r\n        were captured.\r\n    \r\n        If timeout is given, and the process takes too long, a TimeoutExpired\r\n        exception will be raised.\r\n    \r\n        There is an optional argument \"input\", allowing you to\r\n        pass a string to the subprocess's stdin.  If you use this argument\r\n        you may not also use the Popen constructor's \"stdin\" argument, as\r\n        it will be used internally.\r\n    \r\n        The other arguments are the same as for the Popen constructor.\r\n    \r\n        If universal_newlines=True is passed, the \"input\" argument must be a\r\n        string and stdout/stderr in the returned object will be strings rather than\r\n        bytes.\r\n        \"\"\"\r\n        if input is not None:\r\n            if 'stdin' in kwargs:\r\n                raise ValueError('stdin and input arguments may not both be used.')\r\n            kwargs['stdin'] = PIPE\r\n    \r\n        with Popen(*popenargs, **kwargs) as process:\r\n            try:\r\n                stdout, stderr = process.communicate(input, timeout=timeout)\r\n            except TimeoutExpired:\r\n                process.kill()\r\n                stdout, stderr = process.communicate()\r\n                raise TimeoutExpired(process.args, timeout, output=stdout,\r\n                                     stderr=stderr)\r\n            except:\r\n                process.kill()\r\n                process.wait()\r\n                raise\r\n            retcode = process.poll()\r\n            if check and retcode:\r\n                raise CalledProcessError(retcode, process.args,\r\n>                                        output=stdout, stderr=stderr)\r\nE               subprocess.CalledProcessError: Command '/usr/lib/postgresql/11/bin/pg_ctl initdb -o \"--auth=trust --username=postgres\" -D /tmp/postgresqldata.21515' returned non-zero exit status 127.\r\n```\r\n\r\n### What are the expected results\r\n\r\nTests to pass."}}
{"actor":{"display_login":"nackjicholson"}}