Skip to content

psycopg2 tests are failing in CI #718

@kuisathaverat

Description

@kuisathaverat

Today a bunch of psycopg and psycopg2 start failing, There are no changes since The lastest successful build so I am not sure what it is the cause, I check psycopg2 just in case there is a new version but is not.

[2020-02-17T09:01:05.498Z] self = <elasticapm.instrumentation.packages.pyodbc.PyODBCInstrumentation object at 0x7efc8c001950>
[2020-02-17T09:01:05.498Z] module = 'pyodbc', method = 'connect', wrapped = <built-in function connect>
[2020-02-17T09:01:05.498Z] instance = None
[2020-02-17T09:01:05.498Z] args = ('DRIVER={PostgreSQL Unicode};DATABASE=elasticapm_test;UID=postgres;SERVER=postgres;PORT=5432;',)
[2020-02-17T09:01:05.498Z] kwargs = {}
[2020-02-17T09:01:05.498Z] 
[2020-02-17T09:01:05.498Z]     def call(self, module, method, wrapped, instance, args, kwargs):
[2020-02-17T09:01:05.498Z] >       return PyODBCConnectionProxy(wrapped(*args, **kwargs))
[2020-02-17T09:01:05.498Z] E       OperationalError: ('08001', u'[08001] could not translate host name "postgres" to address: Name or service not known\n (101) (SQLDriverConnect)')
[2020-02-17T09:01:05.498Z] 
[2020-02-17T09:01:05.498Z] elasticapm/instrumentation/packages/pyodbc.py:56: OperationalError
[2020-02-17T09:01:05.498Z] =============================== warnings summary ===============================
[2020-02-17T09:01:05.498Z] /usr/local/lib/python2.7/site-packages/_pytest/mark/structures.py:334
[2020-02-17T09:01:05.498Z]   /usr/local/lib/python2.7/site-packages/_pytest/mark/structures.py:334: PytestUnknownMarkWarning: Unknown pytest.mark.pyodbc - is this a typo?  You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/latest/mark.html
[2020-02-17T09:01:05.498Z]     PytestUnknownMarkWarning,

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions