Skip to content

Instantly share code, notes, and snippets.

@vchrombie
Created February 20, 2020 09:21
Show Gist options
  • Save vchrombie/135da00879e5f7c554a3e38de6c4234f to your computer and use it in GitHub Desktop.
Save vchrombie/135da00879e5f7c554a3e38de6c4234f to your computer and use it in GitHub Desktop.
log and reports of grimoirela-elk tests

grimoirelab_elk/tests

p0tt3r@wand ~/chaoss/grimoirelab-elk/tests [14:23:29]  
> $ sudo python3 -m coverage run run_tests.py --source=grimoire_elk 2> run_tests_log
p0tt3r@wand ~/chaoss/grimoirelab-elk/tests [14:39:09]  
> $ sudo python3 -m coverage report -m > run_tests_result
......EE.......EE........EE.E....E..........EE........EE.......EE.........EE.E............................................EE........EE..E....EE..E.E..E...EE...E.....EE...E.....EE.......EE...............EE.......EE..........EE........EE.......EE.E.......EE......E...EE........EE........EE.......EE........EE.......EE.......EE.......EE.......EE.......EE.......EE.......EE........EE........EE.......EE.......EE.
======================================================================
ERROR: test_raw_to_enrich_sorting_hat (test_askbot.TestAskbot)
Test enrich with SortingHat
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
pymysql.err.InternalError: (3822, "Duplicate check constraint name 'top_domain_check'.")
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/test_askbot.py", line 72, in test_raw_to_enrich_sorting_hat
result = self._test_raw_to_enrich(sortinghat=True)
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/base.py", line 178, in _test_raw_to_enrich
db_password=self.db_password)
File "../grimoire_elk/enriched/enrich.py", line 122, in __init__
Enrich.sh_db = Database(db_user, db_password, db_sortinghat, db_host)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 58, in __init__
self.__create_schema(self._engine)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 170, in __create_schema
ModelBase.metadata.create_all(engine)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/schema.py", line 4304, in create_all
ddl.SchemaGenerator, self, checkfirst=checkfirst, tables=tables
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 2046, in _run_visitor
conn._run_visitor(visitorcallable, element, **kwargs)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1615, in _run_visitor
visitorcallable(self.dialect, self, **kwargs).traverse_single(element)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 781, in visit_metadata
_is_metadata_operation=True,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 826, in visit_table
include_foreign_key_constraints,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 988, in execute
return meth(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 72, in _execute_on_connection
return connection._execute_ddl(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1050, in _execute_ddl
compiled,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1253, in _execute_context
e, statement, parameters, cursor, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1473, in _handle_dbapi_exception
util.raise_from_cause(sqlalchemy_exception, exc_info)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 398, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb, cause=cause)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 152, in reraise
raise value.with_traceback(tb)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
sqlalchemy.exc.InternalError: (pymysql.err.InternalError) (3822, "Duplicate check constraint name 'top_domain_check'.")
[SQL:
CREATE TABLE domains_organizations (
id INTEGER NOT NULL AUTO_INCREMENT,
domain VARCHAR(128) NOT NULL,
is_top_domain BOOL,
organization_id INTEGER NOT NULL,
PRIMARY KEY (id),
CONSTRAINT _domain_unique UNIQUE (domain),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
FOREIGN KEY(organization_id) REFERENCES organizations (id) ON DELETE CASCADE ON UPDATE CASCADE
)DEFAULT CHARSET=utf8mb4 COLLATE utf8mb4_unicode_520_ci
]
(Background on this error at: http://sqlalche.me/e/2j85)
======================================================================
ERROR: test_refresh_identities (test_askbot.TestAskbot)
Test refresh identities
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
pymysql.err.InternalError: (3822, "Duplicate check constraint name 'top_domain_check'.")
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/test_askbot.py", line 86, in test_refresh_identities
result = self._test_refresh_identities()
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/base.py", line 230, in _test_refresh_identities
db_password=self.db_password)
File "../grimoire_elk/enriched/enrich.py", line 122, in __init__
Enrich.sh_db = Database(db_user, db_password, db_sortinghat, db_host)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 58, in __init__
self.__create_schema(self._engine)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 170, in __create_schema
ModelBase.metadata.create_all(engine)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/schema.py", line 4304, in create_all
ddl.SchemaGenerator, self, checkfirst=checkfirst, tables=tables
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 2046, in _run_visitor
conn._run_visitor(visitorcallable, element, **kwargs)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1615, in _run_visitor
visitorcallable(self.dialect, self, **kwargs).traverse_single(element)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 781, in visit_metadata
_is_metadata_operation=True,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 826, in visit_table
include_foreign_key_constraints,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 988, in execute
return meth(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 72, in _execute_on_connection
return connection._execute_ddl(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1050, in _execute_ddl
compiled,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1253, in _execute_context
e, statement, parameters, cursor, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1473, in _handle_dbapi_exception
util.raise_from_cause(sqlalchemy_exception, exc_info)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 398, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb, cause=cause)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 152, in reraise
raise value.with_traceback(tb)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
sqlalchemy.exc.InternalError: (pymysql.err.InternalError) (3822, "Duplicate check constraint name 'top_domain_check'.")
[SQL:
CREATE TABLE domains_organizations (
id INTEGER NOT NULL AUTO_INCREMENT,
domain VARCHAR(128) NOT NULL,
is_top_domain BOOL,
organization_id INTEGER NOT NULL,
PRIMARY KEY (id),
CONSTRAINT _domain_unique UNIQUE (domain),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
FOREIGN KEY(organization_id) REFERENCES organizations (id) ON DELETE CASCADE ON UPDATE CASCADE
)DEFAULT CHARSET=utf8mb4 COLLATE utf8mb4_unicode_520_ci
]
(Background on this error at: http://sqlalche.me/e/2j85)
======================================================================
ERROR: test_raw_to_enrich_sorting_hat (test_bugzilla.TestBugzilla)
Test enrich with SortingHat
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
pymysql.err.InternalError: (3822, "Duplicate check constraint name 'top_domain_check'.")
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/test_bugzilla.py", line 79, in test_raw_to_enrich_sorting_hat
result = self._test_raw_to_enrich(sortinghat=True)
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/base.py", line 178, in _test_raw_to_enrich
db_password=self.db_password)
File "../grimoire_elk/enriched/enrich.py", line 122, in __init__
Enrich.sh_db = Database(db_user, db_password, db_sortinghat, db_host)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 58, in __init__
self.__create_schema(self._engine)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 170, in __create_schema
ModelBase.metadata.create_all(engine)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/schema.py", line 4304, in create_all
ddl.SchemaGenerator, self, checkfirst=checkfirst, tables=tables
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 2046, in _run_visitor
conn._run_visitor(visitorcallable, element, **kwargs)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1615, in _run_visitor
visitorcallable(self.dialect, self, **kwargs).traverse_single(element)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 781, in visit_metadata
_is_metadata_operation=True,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 826, in visit_table
include_foreign_key_constraints,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 988, in execute
return meth(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 72, in _execute_on_connection
return connection._execute_ddl(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1050, in _execute_ddl
compiled,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1253, in _execute_context
e, statement, parameters, cursor, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1473, in _handle_dbapi_exception
util.raise_from_cause(sqlalchemy_exception, exc_info)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 398, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb, cause=cause)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 152, in reraise
raise value.with_traceback(tb)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
sqlalchemy.exc.InternalError: (pymysql.err.InternalError) (3822, "Duplicate check constraint name 'top_domain_check'.")
[SQL:
CREATE TABLE domains_organizations (
id INTEGER NOT NULL AUTO_INCREMENT,
domain VARCHAR(128) NOT NULL,
is_top_domain BOOL,
organization_id INTEGER NOT NULL,
PRIMARY KEY (id),
CONSTRAINT _domain_unique UNIQUE (domain),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
FOREIGN KEY(organization_id) REFERENCES organizations (id) ON DELETE CASCADE ON UPDATE CASCADE
)DEFAULT CHARSET=utf8mb4 COLLATE utf8mb4_unicode_520_ci
]
(Background on this error at: http://sqlalche.me/e/2j85)
======================================================================
ERROR: test_refresh_identities (test_bugzilla.TestBugzilla)
Test refresh identities
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
pymysql.err.InternalError: (3822, "Duplicate check constraint name 'top_domain_check'.")
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/test_bugzilla.py", line 93, in test_refresh_identities
result = self._test_refresh_identities()
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/base.py", line 230, in _test_refresh_identities
db_password=self.db_password)
File "../grimoire_elk/enriched/enrich.py", line 122, in __init__
Enrich.sh_db = Database(db_user, db_password, db_sortinghat, db_host)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 58, in __init__
self.__create_schema(self._engine)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 170, in __create_schema
ModelBase.metadata.create_all(engine)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/schema.py", line 4304, in create_all
ddl.SchemaGenerator, self, checkfirst=checkfirst, tables=tables
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 2046, in _run_visitor
conn._run_visitor(visitorcallable, element, **kwargs)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1615, in _run_visitor
visitorcallable(self.dialect, self, **kwargs).traverse_single(element)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 781, in visit_metadata
_is_metadata_operation=True,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 826, in visit_table
include_foreign_key_constraints,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 988, in execute
return meth(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 72, in _execute_on_connection
return connection._execute_ddl(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1050, in _execute_ddl
compiled,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1253, in _execute_context
e, statement, parameters, cursor, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1473, in _handle_dbapi_exception
util.raise_from_cause(sqlalchemy_exception, exc_info)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 398, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb, cause=cause)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 152, in reraise
raise value.with_traceback(tb)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
sqlalchemy.exc.InternalError: (pymysql.err.InternalError) (3822, "Duplicate check constraint name 'top_domain_check'.")
[SQL:
CREATE TABLE domains_organizations (
id INTEGER NOT NULL AUTO_INCREMENT,
domain VARCHAR(128) NOT NULL,
is_top_domain BOOL,
organization_id INTEGER NOT NULL,
PRIMARY KEY (id),
CONSTRAINT _domain_unique UNIQUE (domain),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
FOREIGN KEY(organization_id) REFERENCES organizations (id) ON DELETE CASCADE ON UPDATE CASCADE
)DEFAULT CHARSET=utf8mb4 COLLATE utf8mb4_unicode_520_ci
]
(Background on this error at: http://sqlalche.me/e/2j85)
======================================================================
ERROR: test_raw_to_enrich_sorting_hat (test_bugzillarest.TestBugzillaRest)
Test enrich with SortingHat
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
pymysql.err.InternalError: (3822, "Duplicate check constraint name 'top_domain_check'.")
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/test_bugzillarest.py", line 83, in test_raw_to_enrich_sorting_hat
result = self._test_raw_to_enrich(sortinghat=True)
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/base.py", line 178, in _test_raw_to_enrich
db_password=self.db_password)
File "../grimoire_elk/enriched/enrich.py", line 122, in __init__
Enrich.sh_db = Database(db_user, db_password, db_sortinghat, db_host)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 58, in __init__
self.__create_schema(self._engine)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 170, in __create_schema
ModelBase.metadata.create_all(engine)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/schema.py", line 4304, in create_all
ddl.SchemaGenerator, self, checkfirst=checkfirst, tables=tables
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 2046, in _run_visitor
conn._run_visitor(visitorcallable, element, **kwargs)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1615, in _run_visitor
visitorcallable(self.dialect, self, **kwargs).traverse_single(element)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 781, in visit_metadata
_is_metadata_operation=True,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 826, in visit_table
include_foreign_key_constraints,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 988, in execute
return meth(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 72, in _execute_on_connection
return connection._execute_ddl(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1050, in _execute_ddl
compiled,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1253, in _execute_context
e, statement, parameters, cursor, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1473, in _handle_dbapi_exception
util.raise_from_cause(sqlalchemy_exception, exc_info)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 398, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb, cause=cause)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 152, in reraise
raise value.with_traceback(tb)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
sqlalchemy.exc.InternalError: (pymysql.err.InternalError) (3822, "Duplicate check constraint name 'top_domain_check'.")
[SQL:
CREATE TABLE domains_organizations (
id INTEGER NOT NULL AUTO_INCREMENT,
domain VARCHAR(128) NOT NULL,
is_top_domain BOOL,
organization_id INTEGER NOT NULL,
PRIMARY KEY (id),
CONSTRAINT _domain_unique UNIQUE (domain),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
FOREIGN KEY(organization_id) REFERENCES organizations (id) ON DELETE CASCADE ON UPDATE CASCADE
)DEFAULT CHARSET=utf8mb4 COLLATE utf8mb4_unicode_520_ci
]
(Background on this error at: http://sqlalche.me/e/2j85)
======================================================================
ERROR: test_refresh_identities (test_bugzillarest.TestBugzillaRest)
Test refresh identities
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
pymysql.err.InternalError: (3822, "Duplicate check constraint name 'top_domain_check'.")
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/test_bugzillarest.py", line 108, in test_refresh_identities
result = self._test_refresh_identities()
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/base.py", line 230, in _test_refresh_identities
db_password=self.db_password)
File "../grimoire_elk/enriched/enrich.py", line 122, in __init__
Enrich.sh_db = Database(db_user, db_password, db_sortinghat, db_host)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 58, in __init__
self.__create_schema(self._engine)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 170, in __create_schema
ModelBase.metadata.create_all(engine)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/schema.py", line 4304, in create_all
ddl.SchemaGenerator, self, checkfirst=checkfirst, tables=tables
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 2046, in _run_visitor
conn._run_visitor(visitorcallable, element, **kwargs)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1615, in _run_visitor
visitorcallable(self.dialect, self, **kwargs).traverse_single(element)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 781, in visit_metadata
_is_metadata_operation=True,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 826, in visit_table
include_foreign_key_constraints,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 988, in execute
return meth(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 72, in _execute_on_connection
return connection._execute_ddl(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1050, in _execute_ddl
compiled,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1253, in _execute_context
e, statement, parameters, cursor, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1473, in _handle_dbapi_exception
util.raise_from_cause(sqlalchemy_exception, exc_info)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 398, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb, cause=cause)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 152, in reraise
raise value.with_traceback(tb)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
sqlalchemy.exc.InternalError: (pymysql.err.InternalError) (3822, "Duplicate check constraint name 'top_domain_check'.")
[SQL:
CREATE TABLE domains_organizations (
id INTEGER NOT NULL AUTO_INCREMENT,
domain VARCHAR(128) NOT NULL,
is_top_domain BOOL,
organization_id INTEGER NOT NULL,
PRIMARY KEY (id),
CONSTRAINT _domain_unique UNIQUE (domain),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
FOREIGN KEY(organization_id) REFERENCES organizations (id) ON DELETE CASCADE ON UPDATE CASCADE
)DEFAULT CHARSET=utf8mb4 COLLATE utf8mb4_unicode_520_ci
]
(Background on this error at: http://sqlalche.me/e/2j85)
======================================================================
ERROR: test_cocom_analysis_study (test_cocom.TestCoCom)
Test that the cocom analysis study works correctly
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
pymysql.err.InternalError: (3822, "Duplicate check constraint name 'top_domain_check'.")
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/test_cocom.py", line 128, in test_cocom_analysis_study
study, ocean_backend, enrich_backend = self._test_study('enrich_cocom_analysis')
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/base.py", line 275, in _test_study
db_password=self.db_password)
File "../grimoire_elk/enriched/cocom.py", line 115, in __init__
db_user, db_password, db_host)
File "../grimoire_elk/enriched/enrich.py", line 122, in __init__
Enrich.sh_db = Database(db_user, db_password, db_sortinghat, db_host)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 58, in __init__
self.__create_schema(self._engine)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 170, in __create_schema
ModelBase.metadata.create_all(engine)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/schema.py", line 4304, in create_all
ddl.SchemaGenerator, self, checkfirst=checkfirst, tables=tables
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 2046, in _run_visitor
conn._run_visitor(visitorcallable, element, **kwargs)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1615, in _run_visitor
visitorcallable(self.dialect, self, **kwargs).traverse_single(element)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 781, in visit_metadata
_is_metadata_operation=True,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 826, in visit_table
include_foreign_key_constraints,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 988, in execute
return meth(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 72, in _execute_on_connection
return connection._execute_ddl(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1050, in _execute_ddl
compiled,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1253, in _execute_context
e, statement, parameters, cursor, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1473, in _handle_dbapi_exception
util.raise_from_cause(sqlalchemy_exception, exc_info)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 398, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb, cause=cause)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 152, in reraise
raise value.with_traceback(tb)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
sqlalchemy.exc.InternalError: (pymysql.err.InternalError) (3822, "Duplicate check constraint name 'top_domain_check'.")
[SQL:
CREATE TABLE domains_organizations (
id INTEGER NOT NULL AUTO_INCREMENT,
domain VARCHAR(128) NOT NULL,
is_top_domain BOOL,
organization_id INTEGER NOT NULL,
PRIMARY KEY (id),
CONSTRAINT _domain_unique UNIQUE (domain),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
FOREIGN KEY(organization_id) REFERENCES organizations (id) ON DELETE CASCADE ON UPDATE CASCADE
)DEFAULT CHARSET=utf8mb4 COLLATE utf8mb4_unicode_520_ci
]
(Background on this error at: http://sqlalche.me/e/2j85)
======================================================================
ERROR: test_colic_analysis_study (test_colic.TestCoLic)
Test that the colic analysis study works correctly
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
pymysql.err.InternalError: (3822, "Duplicate check constraint name 'top_domain_check'.")
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/test_colic.py", line 118, in test_colic_analysis_study
study, ocean_backend, enrich_backend = self._test_study('enrich_colic_analysis')
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/base.py", line 275, in _test_study
db_password=self.db_password)
File "../grimoire_elk/enriched/colic.py", line 90, in __init__
db_user, db_password, db_host)
File "../grimoire_elk/enriched/enrich.py", line 122, in __init__
Enrich.sh_db = Database(db_user, db_password, db_sortinghat, db_host)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 58, in __init__
self.__create_schema(self._engine)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 170, in __create_schema
ModelBase.metadata.create_all(engine)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/schema.py", line 4304, in create_all
ddl.SchemaGenerator, self, checkfirst=checkfirst, tables=tables
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 2046, in _run_visitor
conn._run_visitor(visitorcallable, element, **kwargs)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1615, in _run_visitor
visitorcallable(self.dialect, self, **kwargs).traverse_single(element)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 781, in visit_metadata
_is_metadata_operation=True,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 826, in visit_table
include_foreign_key_constraints,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 988, in execute
return meth(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 72, in _execute_on_connection
return connection._execute_ddl(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1050, in _execute_ddl
compiled,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1253, in _execute_context
e, statement, parameters, cursor, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1473, in _handle_dbapi_exception
util.raise_from_cause(sqlalchemy_exception, exc_info)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 398, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb, cause=cause)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 152, in reraise
raise value.with_traceback(tb)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
sqlalchemy.exc.InternalError: (pymysql.err.InternalError) (3822, "Duplicate check constraint name 'top_domain_check'.")
[SQL:
CREATE TABLE domains_organizations (
id INTEGER NOT NULL AUTO_INCREMENT,
domain VARCHAR(128) NOT NULL,
is_top_domain BOOL,
organization_id INTEGER NOT NULL,
PRIMARY KEY (id),
CONSTRAINT _domain_unique UNIQUE (domain),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
FOREIGN KEY(organization_id) REFERENCES organizations (id) ON DELETE CASCADE ON UPDATE CASCADE
)DEFAULT CHARSET=utf8mb4 COLLATE utf8mb4_unicode_520_ci
]
(Background on this error at: http://sqlalche.me/e/2j85)
======================================================================
ERROR: test_raw_to_enrich_sorting_hat (test_confluence.TestConfluence)
Test enrich with SortingHat
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
pymysql.err.InternalError: (3822, "Duplicate check constraint name 'top_domain_check'.")
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/test_confluence.py", line 100, in test_raw_to_enrich_sorting_hat
result = self._test_raw_to_enrich(sortinghat=True)
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/base.py", line 178, in _test_raw_to_enrich
db_password=self.db_password)
File "../grimoire_elk/enriched/enrich.py", line 122, in __init__
Enrich.sh_db = Database(db_user, db_password, db_sortinghat, db_host)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 58, in __init__
self.__create_schema(self._engine)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 170, in __create_schema
ModelBase.metadata.create_all(engine)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/schema.py", line 4304, in create_all
ddl.SchemaGenerator, self, checkfirst=checkfirst, tables=tables
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 2046, in _run_visitor
conn._run_visitor(visitorcallable, element, **kwargs)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1615, in _run_visitor
visitorcallable(self.dialect, self, **kwargs).traverse_single(element)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 781, in visit_metadata
_is_metadata_operation=True,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 826, in visit_table
include_foreign_key_constraints,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 988, in execute
return meth(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 72, in _execute_on_connection
return connection._execute_ddl(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1050, in _execute_ddl
compiled,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1253, in _execute_context
e, statement, parameters, cursor, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1473, in _handle_dbapi_exception
util.raise_from_cause(sqlalchemy_exception, exc_info)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 398, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb, cause=cause)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 152, in reraise
raise value.with_traceback(tb)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
sqlalchemy.exc.InternalError: (pymysql.err.InternalError) (3822, "Duplicate check constraint name 'top_domain_check'.")
[SQL:
CREATE TABLE domains_organizations (
id INTEGER NOT NULL AUTO_INCREMENT,
domain VARCHAR(128) NOT NULL,
is_top_domain BOOL,
organization_id INTEGER NOT NULL,
PRIMARY KEY (id),
CONSTRAINT _domain_unique UNIQUE (domain),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
FOREIGN KEY(organization_id) REFERENCES organizations (id) ON DELETE CASCADE ON UPDATE CASCADE
)DEFAULT CHARSET=utf8mb4 COLLATE utf8mb4_unicode_520_ci
]
(Background on this error at: http://sqlalche.me/e/2j85)
======================================================================
ERROR: test_refresh_identities (test_confluence.TestConfluence)
Test refresh identities
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
pymysql.err.InternalError: (3822, "Duplicate check constraint name 'top_domain_check'.")
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/test_confluence.py", line 114, in test_refresh_identities
result = self._test_refresh_identities()
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/base.py", line 230, in _test_refresh_identities
db_password=self.db_password)
File "../grimoire_elk/enriched/enrich.py", line 122, in __init__
Enrich.sh_db = Database(db_user, db_password, db_sortinghat, db_host)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 58, in __init__
self.__create_schema(self._engine)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 170, in __create_schema
ModelBase.metadata.create_all(engine)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/schema.py", line 4304, in create_all
ddl.SchemaGenerator, self, checkfirst=checkfirst, tables=tables
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 2046, in _run_visitor
conn._run_visitor(visitorcallable, element, **kwargs)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1615, in _run_visitor
visitorcallable(self.dialect, self, **kwargs).traverse_single(element)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 781, in visit_metadata
_is_metadata_operation=True,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 826, in visit_table
include_foreign_key_constraints,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 988, in execute
return meth(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 72, in _execute_on_connection
return connection._execute_ddl(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1050, in _execute_ddl
compiled,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1253, in _execute_context
e, statement, parameters, cursor, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1473, in _handle_dbapi_exception
util.raise_from_cause(sqlalchemy_exception, exc_info)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 398, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb, cause=cause)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 152, in reraise
raise value.with_traceback(tb)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
sqlalchemy.exc.InternalError: (pymysql.err.InternalError) (3822, "Duplicate check constraint name 'top_domain_check'.")
[SQL:
CREATE TABLE domains_organizations (
id INTEGER NOT NULL AUTO_INCREMENT,
domain VARCHAR(128) NOT NULL,
is_top_domain BOOL,
organization_id INTEGER NOT NULL,
PRIMARY KEY (id),
CONSTRAINT _domain_unique UNIQUE (domain),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
FOREIGN KEY(organization_id) REFERENCES organizations (id) ON DELETE CASCADE ON UPDATE CASCADE
)DEFAULT CHARSET=utf8mb4 COLLATE utf8mb4_unicode_520_ci
]
(Background on this error at: http://sqlalche.me/e/2j85)
======================================================================
ERROR: test_raw_to_enrich_sorting_hat (test_crates.TestCrates)
Test enrich with SortingHat
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
pymysql.err.InternalError: (3822, "Duplicate check constraint name 'top_domain_check'.")
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/test_crates.py", line 72, in test_raw_to_enrich_sorting_hat
result = self._test_raw_to_enrich(sortinghat=True)
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/base.py", line 178, in _test_raw_to_enrich
db_password=self.db_password)
File "../grimoire_elk/enriched/enrich.py", line 122, in __init__
Enrich.sh_db = Database(db_user, db_password, db_sortinghat, db_host)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 58, in __init__
self.__create_schema(self._engine)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 170, in __create_schema
ModelBase.metadata.create_all(engine)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/schema.py", line 4304, in create_all
ddl.SchemaGenerator, self, checkfirst=checkfirst, tables=tables
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 2046, in _run_visitor
conn._run_visitor(visitorcallable, element, **kwargs)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1615, in _run_visitor
visitorcallable(self.dialect, self, **kwargs).traverse_single(element)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 781, in visit_metadata
_is_metadata_operation=True,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 826, in visit_table
include_foreign_key_constraints,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 988, in execute
return meth(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 72, in _execute_on_connection
return connection._execute_ddl(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1050, in _execute_ddl
compiled,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1253, in _execute_context
e, statement, parameters, cursor, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1473, in _handle_dbapi_exception
util.raise_from_cause(sqlalchemy_exception, exc_info)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 398, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb, cause=cause)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 152, in reraise
raise value.with_traceback(tb)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
sqlalchemy.exc.InternalError: (pymysql.err.InternalError) (3822, "Duplicate check constraint name 'top_domain_check'.")
[SQL:
CREATE TABLE domains_organizations (
id INTEGER NOT NULL AUTO_INCREMENT,
domain VARCHAR(128) NOT NULL,
is_top_domain BOOL,
organization_id INTEGER NOT NULL,
PRIMARY KEY (id),
CONSTRAINT _domain_unique UNIQUE (domain),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
FOREIGN KEY(organization_id) REFERENCES organizations (id) ON DELETE CASCADE ON UPDATE CASCADE
)DEFAULT CHARSET=utf8mb4 COLLATE utf8mb4_unicode_520_ci
]
(Background on this error at: http://sqlalche.me/e/2j85)
======================================================================
ERROR: test_refresh_identities (test_crates.TestCrates)
Test refresh identities
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
pymysql.err.InternalError: (3822, "Duplicate check constraint name 'top_domain_check'.")
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/test_crates.py", line 86, in test_refresh_identities
result = self._test_refresh_identities()
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/base.py", line 230, in _test_refresh_identities
db_password=self.db_password)
File "../grimoire_elk/enriched/enrich.py", line 122, in __init__
Enrich.sh_db = Database(db_user, db_password, db_sortinghat, db_host)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 58, in __init__
self.__create_schema(self._engine)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 170, in __create_schema
ModelBase.metadata.create_all(engine)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/schema.py", line 4304, in create_all
ddl.SchemaGenerator, self, checkfirst=checkfirst, tables=tables
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 2046, in _run_visitor
conn._run_visitor(visitorcallable, element, **kwargs)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1615, in _run_visitor
visitorcallable(self.dialect, self, **kwargs).traverse_single(element)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 781, in visit_metadata
_is_metadata_operation=True,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 826, in visit_table
include_foreign_key_constraints,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 988, in execute
return meth(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 72, in _execute_on_connection
return connection._execute_ddl(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1050, in _execute_ddl
compiled,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1253, in _execute_context
e, statement, parameters, cursor, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1473, in _handle_dbapi_exception
util.raise_from_cause(sqlalchemy_exception, exc_info)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 398, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb, cause=cause)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 152, in reraise
raise value.with_traceback(tb)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
sqlalchemy.exc.InternalError: (pymysql.err.InternalError) (3822, "Duplicate check constraint name 'top_domain_check'.")
[SQL:
CREATE TABLE domains_organizations (
id INTEGER NOT NULL AUTO_INCREMENT,
domain VARCHAR(128) NOT NULL,
is_top_domain BOOL,
organization_id INTEGER NOT NULL,
PRIMARY KEY (id),
CONSTRAINT _domain_unique UNIQUE (domain),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
FOREIGN KEY(organization_id) REFERENCES organizations (id) ON DELETE CASCADE ON UPDATE CASCADE
)DEFAULT CHARSET=utf8mb4 COLLATE utf8mb4_unicode_520_ci
]
(Background on this error at: http://sqlalche.me/e/2j85)
======================================================================
ERROR: test_raw_to_enrich_sorting_hat (test_discourse.TestDiscourse)
Test enrich with SortingHat
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
pymysql.err.InternalError: (3822, "Duplicate check constraint name 'top_domain_check'.")
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/test_discourse.py", line 78, in test_raw_to_enrich_sorting_hat
result = self._test_raw_to_enrich(sortinghat=True)
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/base.py", line 178, in _test_raw_to_enrich
db_password=self.db_password)
File "../grimoire_elk/enriched/discourse.py", line 65, in __init__
db_user, db_password, db_host)
File "../grimoire_elk/enriched/enrich.py", line 122, in __init__
Enrich.sh_db = Database(db_user, db_password, db_sortinghat, db_host)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 58, in __init__
self.__create_schema(self._engine)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 170, in __create_schema
ModelBase.metadata.create_all(engine)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/schema.py", line 4304, in create_all
ddl.SchemaGenerator, self, checkfirst=checkfirst, tables=tables
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 2046, in _run_visitor
conn._run_visitor(visitorcallable, element, **kwargs)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1615, in _run_visitor
visitorcallable(self.dialect, self, **kwargs).traverse_single(element)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 781, in visit_metadata
_is_metadata_operation=True,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 826, in visit_table
include_foreign_key_constraints,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 988, in execute
return meth(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 72, in _execute_on_connection
return connection._execute_ddl(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1050, in _execute_ddl
compiled,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1253, in _execute_context
e, statement, parameters, cursor, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1473, in _handle_dbapi_exception
util.raise_from_cause(sqlalchemy_exception, exc_info)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 398, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb, cause=cause)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 152, in reraise
raise value.with_traceback(tb)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
sqlalchemy.exc.InternalError: (pymysql.err.InternalError) (3822, "Duplicate check constraint name 'top_domain_check'.")
[SQL:
CREATE TABLE domains_organizations (
id INTEGER NOT NULL AUTO_INCREMENT,
domain VARCHAR(128) NOT NULL,
is_top_domain BOOL,
organization_id INTEGER NOT NULL,
PRIMARY KEY (id),
CONSTRAINT _domain_unique UNIQUE (domain),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
FOREIGN KEY(organization_id) REFERENCES organizations (id) ON DELETE CASCADE ON UPDATE CASCADE
)DEFAULT CHARSET=utf8mb4 COLLATE utf8mb4_unicode_520_ci
]
(Background on this error at: http://sqlalche.me/e/2j85)
======================================================================
ERROR: test_refresh_identities (test_discourse.TestDiscourse)
Test refresh identities
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
pymysql.err.InternalError: (3822, "Duplicate check constraint name 'top_domain_check'.")
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/test_discourse.py", line 92, in test_refresh_identities
result = self._test_refresh_identities()
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/base.py", line 230, in _test_refresh_identities
db_password=self.db_password)
File "../grimoire_elk/enriched/discourse.py", line 65, in __init__
db_user, db_password, db_host)
File "../grimoire_elk/enriched/enrich.py", line 122, in __init__
Enrich.sh_db = Database(db_user, db_password, db_sortinghat, db_host)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 58, in __init__
self.__create_schema(self._engine)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 170, in __create_schema
ModelBase.metadata.create_all(engine)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/schema.py", line 4304, in create_all
ddl.SchemaGenerator, self, checkfirst=checkfirst, tables=tables
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 2046, in _run_visitor
conn._run_visitor(visitorcallable, element, **kwargs)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1615, in _run_visitor
visitorcallable(self.dialect, self, **kwargs).traverse_single(element)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 781, in visit_metadata
_is_metadata_operation=True,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 826, in visit_table
include_foreign_key_constraints,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 988, in execute
return meth(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 72, in _execute_on_connection
return connection._execute_ddl(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1050, in _execute_ddl
compiled,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1253, in _execute_context
e, statement, parameters, cursor, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1473, in _handle_dbapi_exception
util.raise_from_cause(sqlalchemy_exception, exc_info)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 398, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb, cause=cause)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 152, in reraise
raise value.with_traceback(tb)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
sqlalchemy.exc.InternalError: (pymysql.err.InternalError) (3822, "Duplicate check constraint name 'top_domain_check'.")
[SQL:
CREATE TABLE domains_organizations (
id INTEGER NOT NULL AUTO_INCREMENT,
domain VARCHAR(128) NOT NULL,
is_top_domain BOOL,
organization_id INTEGER NOT NULL,
PRIMARY KEY (id),
CONSTRAINT _domain_unique UNIQUE (domain),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
FOREIGN KEY(organization_id) REFERENCES organizations (id) ON DELETE CASCADE ON UPDATE CASCADE
)DEFAULT CHARSET=utf8mb4 COLLATE utf8mb4_unicode_520_ci
]
(Background on this error at: http://sqlalche.me/e/2j85)
======================================================================
ERROR: test_raw_to_enrich_sorting_hat (test_dockerhub.TestDockerhub)
Test enrich with SortingHat
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
pymysql.err.InternalError: (3822, "Duplicate check constraint name 'top_domain_check'.")
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/test_dockerhub.py", line 76, in test_raw_to_enrich_sorting_hat
result = self._test_raw_to_enrich(sortinghat=True)
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/base.py", line 178, in _test_raw_to_enrich
db_password=self.db_password)
File "../grimoire_elk/enriched/enrich.py", line 122, in __init__
Enrich.sh_db = Database(db_user, db_password, db_sortinghat, db_host)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 58, in __init__
self.__create_schema(self._engine)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 170, in __create_schema
ModelBase.metadata.create_all(engine)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/schema.py", line 4304, in create_all
ddl.SchemaGenerator, self, checkfirst=checkfirst, tables=tables
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 2046, in _run_visitor
conn._run_visitor(visitorcallable, element, **kwargs)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1615, in _run_visitor
visitorcallable(self.dialect, self, **kwargs).traverse_single(element)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 781, in visit_metadata
_is_metadata_operation=True,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 826, in visit_table
include_foreign_key_constraints,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 988, in execute
return meth(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 72, in _execute_on_connection
return connection._execute_ddl(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1050, in _execute_ddl
compiled,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1253, in _execute_context
e, statement, parameters, cursor, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1473, in _handle_dbapi_exception
util.raise_from_cause(sqlalchemy_exception, exc_info)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 398, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb, cause=cause)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 152, in reraise
raise value.with_traceback(tb)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
sqlalchemy.exc.InternalError: (pymysql.err.InternalError) (3822, "Duplicate check constraint name 'top_domain_check'.")
[SQL:
CREATE TABLE domains_organizations (
id INTEGER NOT NULL AUTO_INCREMENT,
domain VARCHAR(128) NOT NULL,
is_top_domain BOOL,
organization_id INTEGER NOT NULL,
PRIMARY KEY (id),
CONSTRAINT _domain_unique UNIQUE (domain),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
FOREIGN KEY(organization_id) REFERENCES organizations (id) ON DELETE CASCADE ON UPDATE CASCADE
)DEFAULT CHARSET=utf8mb4 COLLATE utf8mb4_unicode_520_ci
]
(Background on this error at: http://sqlalche.me/e/2j85)
======================================================================
ERROR: test_refresh_identities (test_dockerhub.TestDockerhub)
Test refresh identities
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
pymysql.err.InternalError: (3822, "Duplicate check constraint name 'top_domain_check'.")
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/test_dockerhub.py", line 90, in test_refresh_identities
result = self._test_refresh_identities()
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/base.py", line 230, in _test_refresh_identities
db_password=self.db_password)
File "../grimoire_elk/enriched/enrich.py", line 122, in __init__
Enrich.sh_db = Database(db_user, db_password, db_sortinghat, db_host)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 58, in __init__
self.__create_schema(self._engine)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 170, in __create_schema
ModelBase.metadata.create_all(engine)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/schema.py", line 4304, in create_all
ddl.SchemaGenerator, self, checkfirst=checkfirst, tables=tables
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 2046, in _run_visitor
conn._run_visitor(visitorcallable, element, **kwargs)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1615, in _run_visitor
visitorcallable(self.dialect, self, **kwargs).traverse_single(element)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 781, in visit_metadata
_is_metadata_operation=True,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 826, in visit_table
include_foreign_key_constraints,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 988, in execute
return meth(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 72, in _execute_on_connection
return connection._execute_ddl(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1050, in _execute_ddl
compiled,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1253, in _execute_context
e, statement, parameters, cursor, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1473, in _handle_dbapi_exception
util.raise_from_cause(sqlalchemy_exception, exc_info)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 398, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb, cause=cause)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 152, in reraise
raise value.with_traceback(tb)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
sqlalchemy.exc.InternalError: (pymysql.err.InternalError) (3822, "Duplicate check constraint name 'top_domain_check'.")
[SQL:
CREATE TABLE domains_organizations (
id INTEGER NOT NULL AUTO_INCREMENT,
domain VARCHAR(128) NOT NULL,
is_top_domain BOOL,
organization_id INTEGER NOT NULL,
PRIMARY KEY (id),
CONSTRAINT _domain_unique UNIQUE (domain),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
FOREIGN KEY(organization_id) REFERENCES organizations (id) ON DELETE CASCADE ON UPDATE CASCADE
)DEFAULT CHARSET=utf8mb4 COLLATE utf8mb4_unicode_520_ci
]
(Background on this error at: http://sqlalche.me/e/2j85)
======================================================================
ERROR: test_elastic (unittest.loader._FailedTest)
----------------------------------------------------------------------
ImportError: Failed to import test module: test_elastic
Traceback (most recent call last):
File "/usr/lib/python3.6/unittest/loader.py", line 428, in _find_test_path
module = self._get_module_from_name(name)
File "/usr/lib/python3.6/unittest/loader.py", line 369, in _get_module_from_name
__import__(name)
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/test_elastic.py", line 30, in <module>
import httpretty
ModuleNotFoundError: No module named 'httpretty'
======================================================================
ERROR: test_raw_to_enrich_sorting_hat (test_finosmeetings.TestFinosMeetings)
Test enrich with SortingHat
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
pymysql.err.InternalError: (3822, "Duplicate check constraint name 'top_domain_check'.")
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/test_finosmeetings.py", line 89, in test_raw_to_enrich_sorting_hat
result = self._test_raw_to_enrich(sortinghat=True)
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/base.py", line 178, in _test_raw_to_enrich
db_password=self.db_password)
File "../grimoire_elk/enriched/enrich.py", line 122, in __init__
Enrich.sh_db = Database(db_user, db_password, db_sortinghat, db_host)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 58, in __init__
self.__create_schema(self._engine)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 170, in __create_schema
ModelBase.metadata.create_all(engine)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/schema.py", line 4304, in create_all
ddl.SchemaGenerator, self, checkfirst=checkfirst, tables=tables
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 2046, in _run_visitor
conn._run_visitor(visitorcallable, element, **kwargs)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1615, in _run_visitor
visitorcallable(self.dialect, self, **kwargs).traverse_single(element)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 781, in visit_metadata
_is_metadata_operation=True,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 826, in visit_table
include_foreign_key_constraints,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 988, in execute
return meth(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 72, in _execute_on_connection
return connection._execute_ddl(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1050, in _execute_ddl
compiled,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1253, in _execute_context
e, statement, parameters, cursor, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1473, in _handle_dbapi_exception
util.raise_from_cause(sqlalchemy_exception, exc_info)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 398, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb, cause=cause)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 152, in reraise
raise value.with_traceback(tb)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
sqlalchemy.exc.InternalError: (pymysql.err.InternalError) (3822, "Duplicate check constraint name 'top_domain_check'.")
[SQL:
CREATE TABLE domains_organizations (
id INTEGER NOT NULL AUTO_INCREMENT,
domain VARCHAR(128) NOT NULL,
is_top_domain BOOL,
organization_id INTEGER NOT NULL,
PRIMARY KEY (id),
CONSTRAINT _domain_unique UNIQUE (domain),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
FOREIGN KEY(organization_id) REFERENCES organizations (id) ON DELETE CASCADE ON UPDATE CASCADE
)DEFAULT CHARSET=utf8mb4 COLLATE utf8mb4_unicode_520_ci
]
(Background on this error at: http://sqlalche.me/e/2j85)
======================================================================
ERROR: test_refresh_identities (test_finosmeetings.TestFinosMeetings)
Test refresh identities
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
pymysql.err.InternalError: (3822, "Duplicate check constraint name 'top_domain_check'.")
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/test_finosmeetings.py", line 157, in test_refresh_identities
result = self._test_refresh_identities()
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/base.py", line 230, in _test_refresh_identities
db_password=self.db_password)
File "../grimoire_elk/enriched/enrich.py", line 122, in __init__
Enrich.sh_db = Database(db_user, db_password, db_sortinghat, db_host)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 58, in __init__
self.__create_schema(self._engine)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 170, in __create_schema
ModelBase.metadata.create_all(engine)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/schema.py", line 4304, in create_all
ddl.SchemaGenerator, self, checkfirst=checkfirst, tables=tables
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 2046, in _run_visitor
conn._run_visitor(visitorcallable, element, **kwargs)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1615, in _run_visitor
visitorcallable(self.dialect, self, **kwargs).traverse_single(element)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 781, in visit_metadata
_is_metadata_operation=True,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 826, in visit_table
include_foreign_key_constraints,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 988, in execute
return meth(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 72, in _execute_on_connection
return connection._execute_ddl(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1050, in _execute_ddl
compiled,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1253, in _execute_context
e, statement, parameters, cursor, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1473, in _handle_dbapi_exception
util.raise_from_cause(sqlalchemy_exception, exc_info)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 398, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb, cause=cause)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 152, in reraise
raise value.with_traceback(tb)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
sqlalchemy.exc.InternalError: (pymysql.err.InternalError) (3822, "Duplicate check constraint name 'top_domain_check'.")
[SQL:
CREATE TABLE domains_organizations (
id INTEGER NOT NULL AUTO_INCREMENT,
domain VARCHAR(128) NOT NULL,
is_top_domain BOOL,
organization_id INTEGER NOT NULL,
PRIMARY KEY (id),
CONSTRAINT _domain_unique UNIQUE (domain),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
FOREIGN KEY(organization_id) REFERENCES organizations (id) ON DELETE CASCADE ON UPDATE CASCADE
)DEFAULT CHARSET=utf8mb4 COLLATE utf8mb4_unicode_520_ci
]
(Background on this error at: http://sqlalche.me/e/2j85)
======================================================================
ERROR: test_raw_to_enrich_sorting_hat (test_functest.TestFunctest)
Test enrich with SortingHat
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
pymysql.err.InternalError: (3822, "Duplicate check constraint name 'top_domain_check'.")
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/test_functest.py", line 98, in test_raw_to_enrich_sorting_hat
result = self._test_raw_to_enrich(sortinghat=True)
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/base.py", line 178, in _test_raw_to_enrich
db_password=self.db_password)
File "../grimoire_elk/enriched/enrich.py", line 122, in __init__
Enrich.sh_db = Database(db_user, db_password, db_sortinghat, db_host)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 58, in __init__
self.__create_schema(self._engine)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 170, in __create_schema
ModelBase.metadata.create_all(engine)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/schema.py", line 4304, in create_all
ddl.SchemaGenerator, self, checkfirst=checkfirst, tables=tables
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 2046, in _run_visitor
conn._run_visitor(visitorcallable, element, **kwargs)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1615, in _run_visitor
visitorcallable(self.dialect, self, **kwargs).traverse_single(element)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 781, in visit_metadata
_is_metadata_operation=True,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 826, in visit_table
include_foreign_key_constraints,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 988, in execute
return meth(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 72, in _execute_on_connection
return connection._execute_ddl(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1050, in _execute_ddl
compiled,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1253, in _execute_context
e, statement, parameters, cursor, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1473, in _handle_dbapi_exception
util.raise_from_cause(sqlalchemy_exception, exc_info)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 398, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb, cause=cause)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 152, in reraise
raise value.with_traceback(tb)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
sqlalchemy.exc.InternalError: (pymysql.err.InternalError) (3822, "Duplicate check constraint name 'top_domain_check'.")
[SQL:
CREATE TABLE domains_organizations (
id INTEGER NOT NULL AUTO_INCREMENT,
domain VARCHAR(128) NOT NULL,
is_top_domain BOOL,
organization_id INTEGER NOT NULL,
PRIMARY KEY (id),
CONSTRAINT _domain_unique UNIQUE (domain),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
FOREIGN KEY(organization_id) REFERENCES organizations (id) ON DELETE CASCADE ON UPDATE CASCADE
)DEFAULT CHARSET=utf8mb4 COLLATE utf8mb4_unicode_520_ci
]
(Background on this error at: http://sqlalche.me/e/2j85)
======================================================================
ERROR: test_refresh_identities (test_functest.TestFunctest)
Test refresh identities
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
pymysql.err.InternalError: (3822, "Duplicate check constraint name 'top_domain_check'.")
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/test_functest.py", line 112, in test_refresh_identities
result = self._test_refresh_identities()
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/base.py", line 230, in _test_refresh_identities
db_password=self.db_password)
File "../grimoire_elk/enriched/enrich.py", line 122, in __init__
Enrich.sh_db = Database(db_user, db_password, db_sortinghat, db_host)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 58, in __init__
self.__create_schema(self._engine)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 170, in __create_schema
ModelBase.metadata.create_all(engine)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/schema.py", line 4304, in create_all
ddl.SchemaGenerator, self, checkfirst=checkfirst, tables=tables
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 2046, in _run_visitor
conn._run_visitor(visitorcallable, element, **kwargs)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1615, in _run_visitor
visitorcallable(self.dialect, self, **kwargs).traverse_single(element)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 781, in visit_metadata
_is_metadata_operation=True,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 826, in visit_table
include_foreign_key_constraints,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 988, in execute
return meth(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 72, in _execute_on_connection
return connection._execute_ddl(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1050, in _execute_ddl
compiled,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1253, in _execute_context
e, statement, parameters, cursor, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1473, in _handle_dbapi_exception
util.raise_from_cause(sqlalchemy_exception, exc_info)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 398, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb, cause=cause)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 152, in reraise
raise value.with_traceback(tb)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
sqlalchemy.exc.InternalError: (pymysql.err.InternalError) (3822, "Duplicate check constraint name 'top_domain_check'.")
[SQL:
CREATE TABLE domains_organizations (
id INTEGER NOT NULL AUTO_INCREMENT,
domain VARCHAR(128) NOT NULL,
is_top_domain BOOL,
organization_id INTEGER NOT NULL,
PRIMARY KEY (id),
CONSTRAINT _domain_unique UNIQUE (domain),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
FOREIGN KEY(organization_id) REFERENCES organizations (id) ON DELETE CASCADE ON UPDATE CASCADE
)DEFAULT CHARSET=utf8mb4 COLLATE utf8mb4_unicode_520_ci
]
(Background on this error at: http://sqlalche.me/e/2j85)
======================================================================
ERROR: test_demography_study (test_gerrit.TestGerrit)
Test that the demography study works correctly
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
pymysql.err.InternalError: (3822, "Duplicate check constraint name 'top_domain_check'.")
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/test_gerrit.py", line 204, in test_demography_study
study, ocean_backend, enrich_backend = self._test_study('enrich_demography')
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/base.py", line 275, in _test_study
db_password=self.db_password)
File "../grimoire_elk/enriched/gerrit.py", line 90, in __init__
db_user, db_password, db_host)
File "../grimoire_elk/enriched/enrich.py", line 122, in __init__
Enrich.sh_db = Database(db_user, db_password, db_sortinghat, db_host)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 58, in __init__
self.__create_schema(self._engine)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 170, in __create_schema
ModelBase.metadata.create_all(engine)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/schema.py", line 4304, in create_all
ddl.SchemaGenerator, self, checkfirst=checkfirst, tables=tables
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 2046, in _run_visitor
conn._run_visitor(visitorcallable, element, **kwargs)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1615, in _run_visitor
visitorcallable(self.dialect, self, **kwargs).traverse_single(element)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 781, in visit_metadata
_is_metadata_operation=True,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 826, in visit_table
include_foreign_key_constraints,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 988, in execute
return meth(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 72, in _execute_on_connection
return connection._execute_ddl(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1050, in _execute_ddl
compiled,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1253, in _execute_context
e, statement, parameters, cursor, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1473, in _handle_dbapi_exception
util.raise_from_cause(sqlalchemy_exception, exc_info)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 398, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb, cause=cause)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 152, in reraise
raise value.with_traceback(tb)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
sqlalchemy.exc.InternalError: (pymysql.err.InternalError) (3822, "Duplicate check constraint name 'top_domain_check'.")
[SQL:
CREATE TABLE domains_organizations (
id INTEGER NOT NULL AUTO_INCREMENT,
domain VARCHAR(128) NOT NULL,
is_top_domain BOOL,
organization_id INTEGER NOT NULL,
PRIMARY KEY (id),
CONSTRAINT _domain_unique UNIQUE (domain),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
FOREIGN KEY(organization_id) REFERENCES organizations (id) ON DELETE CASCADE ON UPDATE CASCADE
)DEFAULT CHARSET=utf8mb4 COLLATE utf8mb4_unicode_520_ci
]
(Background on this error at: http://sqlalche.me/e/2j85)
======================================================================
ERROR: test_raw_to_enrich_sorting_hat (test_gerrit.TestGerrit)
Test enrich with SortingHat
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
pymysql.err.InternalError: (3822, "Duplicate check constraint name 'top_domain_check'.")
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/test_gerrit.py", line 236, in test_raw_to_enrich_sorting_hat
result = self._test_raw_to_enrich(sortinghat=True)
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/base.py", line 178, in _test_raw_to_enrich
db_password=self.db_password)
File "../grimoire_elk/enriched/gerrit.py", line 90, in __init__
db_user, db_password, db_host)
File "../grimoire_elk/enriched/enrich.py", line 122, in __init__
Enrich.sh_db = Database(db_user, db_password, db_sortinghat, db_host)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 58, in __init__
self.__create_schema(self._engine)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 170, in __create_schema
ModelBase.metadata.create_all(engine)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/schema.py", line 4304, in create_all
ddl.SchemaGenerator, self, checkfirst=checkfirst, tables=tables
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 2046, in _run_visitor
conn._run_visitor(visitorcallable, element, **kwargs)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1615, in _run_visitor
visitorcallable(self.dialect, self, **kwargs).traverse_single(element)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 781, in visit_metadata
_is_metadata_operation=True,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 826, in visit_table
include_foreign_key_constraints,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 988, in execute
return meth(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 72, in _execute_on_connection
return connection._execute_ddl(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1050, in _execute_ddl
compiled,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1253, in _execute_context
e, statement, parameters, cursor, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1473, in _handle_dbapi_exception
util.raise_from_cause(sqlalchemy_exception, exc_info)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 398, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb, cause=cause)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 152, in reraise
raise value.with_traceback(tb)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
sqlalchemy.exc.InternalError: (pymysql.err.InternalError) (3822, "Duplicate check constraint name 'top_domain_check'.")
[SQL:
CREATE TABLE domains_organizations (
id INTEGER NOT NULL AUTO_INCREMENT,
domain VARCHAR(128) NOT NULL,
is_top_domain BOOL,
organization_id INTEGER NOT NULL,
PRIMARY KEY (id),
CONSTRAINT _domain_unique UNIQUE (domain),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
FOREIGN KEY(organization_id) REFERENCES organizations (id) ON DELETE CASCADE ON UPDATE CASCADE
)DEFAULT CHARSET=utf8mb4 COLLATE utf8mb4_unicode_520_ci
]
(Background on this error at: http://sqlalche.me/e/2j85)
======================================================================
ERROR: test_refresh_identities (test_gerrit.TestGerrit)
Test refresh identities
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
pymysql.err.InternalError: (3822, "Duplicate check constraint name 'top_domain_check'.")
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/test_gerrit.py", line 295, in test_refresh_identities
result = self._test_refresh_identities()
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/base.py", line 230, in _test_refresh_identities
db_password=self.db_password)
File "../grimoire_elk/enriched/gerrit.py", line 90, in __init__
db_user, db_password, db_host)
File "../grimoire_elk/enriched/enrich.py", line 122, in __init__
Enrich.sh_db = Database(db_user, db_password, db_sortinghat, db_host)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 58, in __init__
self.__create_schema(self._engine)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 170, in __create_schema
ModelBase.metadata.create_all(engine)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/schema.py", line 4304, in create_all
ddl.SchemaGenerator, self, checkfirst=checkfirst, tables=tables
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 2046, in _run_visitor
conn._run_visitor(visitorcallable, element, **kwargs)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1615, in _run_visitor
visitorcallable(self.dialect, self, **kwargs).traverse_single(element)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 781, in visit_metadata
_is_metadata_operation=True,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 826, in visit_table
include_foreign_key_constraints,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 988, in execute
return meth(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 72, in _execute_on_connection
return connection._execute_ddl(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1050, in _execute_ddl
compiled,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1253, in _execute_context
e, statement, parameters, cursor, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1473, in _handle_dbapi_exception
util.raise_from_cause(sqlalchemy_exception, exc_info)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 398, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb, cause=cause)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 152, in reraise
raise value.with_traceback(tb)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
sqlalchemy.exc.InternalError: (pymysql.err.InternalError) (3822, "Duplicate check constraint name 'top_domain_check'.")
[SQL:
CREATE TABLE domains_organizations (
id INTEGER NOT NULL AUTO_INCREMENT,
domain VARCHAR(128) NOT NULL,
is_top_domain BOOL,
organization_id INTEGER NOT NULL,
PRIMARY KEY (id),
CONSTRAINT _domain_unique UNIQUE (domain),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
FOREIGN KEY(organization_id) REFERENCES organizations (id) ON DELETE CASCADE ON UPDATE CASCADE
)DEFAULT CHARSET=utf8mb4 COLLATE utf8mb4_unicode_520_ci
]
(Background on this error at: http://sqlalche.me/e/2j85)
======================================================================
ERROR: test_demography_study (test_git.TestGit)
Test that the demography study works correctly
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
pymysql.err.InternalError: (3822, "Duplicate check constraint name 'top_domain_check'.")
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/test_git.py", line 165, in test_demography_study
study, ocean_backend, enrich_backend = self._test_study('enrich_demography')
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/base.py", line 275, in _test_study
db_password=self.db_password)
File "../grimoire_elk/enriched/git.py", line 89, in __init__
db_user, db_password, db_host)
File "../grimoire_elk/enriched/enrich.py", line 122, in __init__
Enrich.sh_db = Database(db_user, db_password, db_sortinghat, db_host)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 58, in __init__
self.__create_schema(self._engine)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 170, in __create_schema
ModelBase.metadata.create_all(engine)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/schema.py", line 4304, in create_all
ddl.SchemaGenerator, self, checkfirst=checkfirst, tables=tables
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 2046, in _run_visitor
conn._run_visitor(visitorcallable, element, **kwargs)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1615, in _run_visitor
visitorcallable(self.dialect, self, **kwargs).traverse_single(element)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 781, in visit_metadata
_is_metadata_operation=True,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 826, in visit_table
include_foreign_key_constraints,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 988, in execute
return meth(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 72, in _execute_on_connection
return connection._execute_ddl(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1050, in _execute_ddl
compiled,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1253, in _execute_context
e, statement, parameters, cursor, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1473, in _handle_dbapi_exception
util.raise_from_cause(sqlalchemy_exception, exc_info)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 398, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb, cause=cause)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 152, in reraise
raise value.with_traceback(tb)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
sqlalchemy.exc.InternalError: (pymysql.err.InternalError) (3822, "Duplicate check constraint name 'top_domain_check'.")
[SQL:
CREATE TABLE domains_organizations (
id INTEGER NOT NULL AUTO_INCREMENT,
domain VARCHAR(128) NOT NULL,
is_top_domain BOOL,
organization_id INTEGER NOT NULL,
PRIMARY KEY (id),
CONSTRAINT _domain_unique UNIQUE (domain),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
FOREIGN KEY(organization_id) REFERENCES organizations (id) ON DELETE CASCADE ON UPDATE CASCADE
)DEFAULT CHARSET=utf8mb4 COLLATE utf8mb4_unicode_520_ci
]
(Background on this error at: http://sqlalche.me/e/2j85)
======================================================================
ERROR: test_extra_study (test_git.TestGit)
Test that the extra study works correctly
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
pymysql.err.InternalError: (3822, "Duplicate check constraint name 'top_domain_check'.")
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/test_git.py", line 191, in test_extra_study
study, ocean_backend, enrich_backend = self._test_study('enrich_extra_data')
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/base.py", line 275, in _test_study
db_password=self.db_password)
File "../grimoire_elk/enriched/git.py", line 89, in __init__
db_user, db_password, db_host)
File "../grimoire_elk/enriched/enrich.py", line 122, in __init__
Enrich.sh_db = Database(db_user, db_password, db_sortinghat, db_host)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 58, in __init__
self.__create_schema(self._engine)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 170, in __create_schema
ModelBase.metadata.create_all(engine)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/schema.py", line 4304, in create_all
ddl.SchemaGenerator, self, checkfirst=checkfirst, tables=tables
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 2046, in _run_visitor
conn._run_visitor(visitorcallable, element, **kwargs)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1615, in _run_visitor
visitorcallable(self.dialect, self, **kwargs).traverse_single(element)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 781, in visit_metadata
_is_metadata_operation=True,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 826, in visit_table
include_foreign_key_constraints,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 988, in execute
return meth(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 72, in _execute_on_connection
return connection._execute_ddl(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1050, in _execute_ddl
compiled,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1253, in _execute_context
e, statement, parameters, cursor, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1473, in _handle_dbapi_exception
util.raise_from_cause(sqlalchemy_exception, exc_info)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 398, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb, cause=cause)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 152, in reraise
raise value.with_traceback(tb)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
sqlalchemy.exc.InternalError: (pymysql.err.InternalError) (3822, "Duplicate check constraint name 'top_domain_check'.")
[SQL:
CREATE TABLE domains_organizations (
id INTEGER NOT NULL AUTO_INCREMENT,
domain VARCHAR(128) NOT NULL,
is_top_domain BOOL,
organization_id INTEGER NOT NULL,
PRIMARY KEY (id),
CONSTRAINT _domain_unique UNIQUE (domain),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
FOREIGN KEY(organization_id) REFERENCES organizations (id) ON DELETE CASCADE ON UPDATE CASCADE
)DEFAULT CHARSET=utf8mb4 COLLATE utf8mb4_unicode_520_ci
]
(Background on this error at: http://sqlalche.me/e/2j85)
======================================================================
ERROR: test_onion_study (test_git.TestGit)
Test that the onion study works correctly
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
pymysql.err.InternalError: (3822, "Duplicate check constraint name 'top_domain_check'.")
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/test_git.py", line 207, in test_onion_study
study, ocean_backend, enrich_backend = self._test_study('enrich_onion')
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/base.py", line 275, in _test_study
db_password=self.db_password)
File "../grimoire_elk/enriched/git.py", line 89, in __init__
db_user, db_password, db_host)
File "../grimoire_elk/enriched/enrich.py", line 122, in __init__
Enrich.sh_db = Database(db_user, db_password, db_sortinghat, db_host)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 58, in __init__
self.__create_schema(self._engine)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 170, in __create_schema
ModelBase.metadata.create_all(engine)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/schema.py", line 4304, in create_all
ddl.SchemaGenerator, self, checkfirst=checkfirst, tables=tables
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 2046, in _run_visitor
conn._run_visitor(visitorcallable, element, **kwargs)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1615, in _run_visitor
visitorcallable(self.dialect, self, **kwargs).traverse_single(element)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 781, in visit_metadata
_is_metadata_operation=True,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 826, in visit_table
include_foreign_key_constraints,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 988, in execute
return meth(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 72, in _execute_on_connection
return connection._execute_ddl(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1050, in _execute_ddl
compiled,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1253, in _execute_context
e, statement, parameters, cursor, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1473, in _handle_dbapi_exception
util.raise_from_cause(sqlalchemy_exception, exc_info)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 398, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb, cause=cause)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 152, in reraise
raise value.with_traceback(tb)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
sqlalchemy.exc.InternalError: (pymysql.err.InternalError) (3822, "Duplicate check constraint name 'top_domain_check'.")
[SQL:
CREATE TABLE domains_organizations (
id INTEGER NOT NULL AUTO_INCREMENT,
domain VARCHAR(128) NOT NULL,
is_top_domain BOOL,
organization_id INTEGER NOT NULL,
PRIMARY KEY (id),
CONSTRAINT _domain_unique UNIQUE (domain),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
FOREIGN KEY(organization_id) REFERENCES organizations (id) ON DELETE CASCADE ON UPDATE CASCADE
)DEFAULT CHARSET=utf8mb4 COLLATE utf8mb4_unicode_520_ci
]
(Background on this error at: http://sqlalche.me/e/2j85)
======================================================================
ERROR: test_raw_to_enrich_sorting_hat (test_git.TestGit)
Test enrich with SortingHat
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
pymysql.err.InternalError: (3822, "Duplicate check constraint name 'top_domain_check'.")
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/test_git.py", line 125, in test_raw_to_enrich_sorting_hat
result = self._test_raw_to_enrich(sortinghat=True)
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/base.py", line 178, in _test_raw_to_enrich
db_password=self.db_password)
File "../grimoire_elk/enriched/git.py", line 89, in __init__
db_user, db_password, db_host)
File "../grimoire_elk/enriched/enrich.py", line 122, in __init__
Enrich.sh_db = Database(db_user, db_password, db_sortinghat, db_host)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 58, in __init__
self.__create_schema(self._engine)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 170, in __create_schema
ModelBase.metadata.create_all(engine)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/schema.py", line 4304, in create_all
ddl.SchemaGenerator, self, checkfirst=checkfirst, tables=tables
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 2046, in _run_visitor
conn._run_visitor(visitorcallable, element, **kwargs)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1615, in _run_visitor
visitorcallable(self.dialect, self, **kwargs).traverse_single(element)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 781, in visit_metadata
_is_metadata_operation=True,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 826, in visit_table
include_foreign_key_constraints,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 988, in execute
return meth(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 72, in _execute_on_connection
return connection._execute_ddl(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1050, in _execute_ddl
compiled,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1253, in _execute_context
e, statement, parameters, cursor, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1473, in _handle_dbapi_exception
util.raise_from_cause(sqlalchemy_exception, exc_info)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 398, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb, cause=cause)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 152, in reraise
raise value.with_traceback(tb)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
sqlalchemy.exc.InternalError: (pymysql.err.InternalError) (3822, "Duplicate check constraint name 'top_domain_check'.")
[SQL:
CREATE TABLE domains_organizations (
id INTEGER NOT NULL AUTO_INCREMENT,
domain VARCHAR(128) NOT NULL,
is_top_domain BOOL,
organization_id INTEGER NOT NULL,
PRIMARY KEY (id),
CONSTRAINT _domain_unique UNIQUE (domain),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
FOREIGN KEY(organization_id) REFERENCES organizations (id) ON DELETE CASCADE ON UPDATE CASCADE
)DEFAULT CHARSET=utf8mb4 COLLATE utf8mb4_unicode_520_ci
]
(Background on this error at: http://sqlalche.me/e/2j85)
======================================================================
ERROR: test_refresh_identities (test_git.TestGit)
Test refresh identities
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
pymysql.err.InternalError: (3822, "Duplicate check constraint name 'top_domain_check'.")
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/test_git.py", line 153, in test_refresh_identities
result = self._test_refresh_identities()
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/base.py", line 230, in _test_refresh_identities
db_password=self.db_password)
File "../grimoire_elk/enriched/git.py", line 89, in __init__
db_user, db_password, db_host)
File "../grimoire_elk/enriched/enrich.py", line 122, in __init__
Enrich.sh_db = Database(db_user, db_password, db_sortinghat, db_host)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 58, in __init__
self.__create_schema(self._engine)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 170, in __create_schema
ModelBase.metadata.create_all(engine)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/schema.py", line 4304, in create_all
ddl.SchemaGenerator, self, checkfirst=checkfirst, tables=tables
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 2046, in _run_visitor
conn._run_visitor(visitorcallable, element, **kwargs)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1615, in _run_visitor
visitorcallable(self.dialect, self, **kwargs).traverse_single(element)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 781, in visit_metadata
_is_metadata_operation=True,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 826, in visit_table
include_foreign_key_constraints,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 988, in execute
return meth(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 72, in _execute_on_connection
return connection._execute_ddl(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1050, in _execute_ddl
compiled,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1253, in _execute_context
e, statement, parameters, cursor, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1473, in _handle_dbapi_exception
util.raise_from_cause(sqlalchemy_exception, exc_info)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 398, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb, cause=cause)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 152, in reraise
raise value.with_traceback(tb)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
sqlalchemy.exc.InternalError: (pymysql.err.InternalError) (3822, "Duplicate check constraint name 'top_domain_check'.")
[SQL:
CREATE TABLE domains_organizations (
id INTEGER NOT NULL AUTO_INCREMENT,
domain VARCHAR(128) NOT NULL,
is_top_domain BOOL,
organization_id INTEGER NOT NULL,
PRIMARY KEY (id),
CONSTRAINT _domain_unique UNIQUE (domain),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
FOREIGN KEY(organization_id) REFERENCES organizations (id) ON DELETE CASCADE ON UPDATE CASCADE
)DEFAULT CHARSET=utf8mb4 COLLATE utf8mb4_unicode_520_ci
]
(Background on this error at: http://sqlalche.me/e/2j85)
======================================================================
ERROR: test_geolocation_study (test_github.TestGit)
Test that the geolocation study works correctly
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
pymysql.err.InternalError: (3822, "Duplicate check constraint name 'top_domain_check'.")
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/test_github.py", line 178, in test_geolocation_study
study, ocean_backend, enrich_backend = self._test_study('enrich_geolocation')
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/base.py", line 275, in _test_study
db_password=self.db_password)
File "../grimoire_elk/enriched/github.py", line 90, in __init__
db_user, db_password, db_host)
File "../grimoire_elk/enriched/enrich.py", line 122, in __init__
Enrich.sh_db = Database(db_user, db_password, db_sortinghat, db_host)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 58, in __init__
self.__create_schema(self._engine)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 170, in __create_schema
ModelBase.metadata.create_all(engine)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/schema.py", line 4304, in create_all
ddl.SchemaGenerator, self, checkfirst=checkfirst, tables=tables
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 2046, in _run_visitor
conn._run_visitor(visitorcallable, element, **kwargs)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1615, in _run_visitor
visitorcallable(self.dialect, self, **kwargs).traverse_single(element)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 781, in visit_metadata
_is_metadata_operation=True,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 826, in visit_table
include_foreign_key_constraints,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 988, in execute
return meth(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 72, in _execute_on_connection
return connection._execute_ddl(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1050, in _execute_ddl
compiled,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1253, in _execute_context
e, statement, parameters, cursor, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1473, in _handle_dbapi_exception
util.raise_from_cause(sqlalchemy_exception, exc_info)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 398, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb, cause=cause)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 152, in reraise
raise value.with_traceback(tb)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
sqlalchemy.exc.InternalError: (pymysql.err.InternalError) (3822, "Duplicate check constraint name 'top_domain_check'.")
[SQL:
CREATE TABLE domains_organizations (
id INTEGER NOT NULL AUTO_INCREMENT,
domain VARCHAR(128) NOT NULL,
is_top_domain BOOL,
organization_id INTEGER NOT NULL,
PRIMARY KEY (id),
CONSTRAINT _domain_unique UNIQUE (domain),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
FOREIGN KEY(organization_id) REFERENCES organizations (id) ON DELETE CASCADE ON UPDATE CASCADE
)DEFAULT CHARSET=utf8mb4 COLLATE utf8mb4_unicode_520_ci
]
(Background on this error at: http://sqlalche.me/e/2j85)
======================================================================
ERROR: test_raw_to_enrich_sorting_hat (test_github.TestGit)
Test enrich with SortingHat
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
pymysql.err.InternalError: (3822, "Duplicate check constraint name 'top_domain_check'.")
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/test_github.py", line 135, in test_raw_to_enrich_sorting_hat
result = self._test_raw_to_enrich(sortinghat=True)
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/base.py", line 178, in _test_raw_to_enrich
db_password=self.db_password)
File "../grimoire_elk/enriched/github.py", line 90, in __init__
db_user, db_password, db_host)
File "../grimoire_elk/enriched/enrich.py", line 122, in __init__
Enrich.sh_db = Database(db_user, db_password, db_sortinghat, db_host)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 58, in __init__
self.__create_schema(self._engine)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 170, in __create_schema
ModelBase.metadata.create_all(engine)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/schema.py", line 4304, in create_all
ddl.SchemaGenerator, self, checkfirst=checkfirst, tables=tables
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 2046, in _run_visitor
conn._run_visitor(visitorcallable, element, **kwargs)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1615, in _run_visitor
visitorcallable(self.dialect, self, **kwargs).traverse_single(element)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 781, in visit_metadata
_is_metadata_operation=True,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 826, in visit_table
include_foreign_key_constraints,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 988, in execute
return meth(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 72, in _execute_on_connection
return connection._execute_ddl(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1050, in _execute_ddl
compiled,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1253, in _execute_context
e, statement, parameters, cursor, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1473, in _handle_dbapi_exception
util.raise_from_cause(sqlalchemy_exception, exc_info)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 398, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb, cause=cause)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 152, in reraise
raise value.with_traceback(tb)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
sqlalchemy.exc.InternalError: (pymysql.err.InternalError) (3822, "Duplicate check constraint name 'top_domain_check'.")
[SQL:
CREATE TABLE domains_organizations (
id INTEGER NOT NULL AUTO_INCREMENT,
domain VARCHAR(128) NOT NULL,
is_top_domain BOOL,
organization_id INTEGER NOT NULL,
PRIMARY KEY (id),
CONSTRAINT _domain_unique UNIQUE (domain),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
FOREIGN KEY(organization_id) REFERENCES organizations (id) ON DELETE CASCADE ON UPDATE CASCADE
)DEFAULT CHARSET=utf8mb4 COLLATE utf8mb4_unicode_520_ci
]
(Background on this error at: http://sqlalche.me/e/2j85)
======================================================================
ERROR: test_refresh_identities (test_github.TestGit)
Test refresh identities
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
pymysql.err.InternalError: (3822, "Duplicate check constraint name 'top_domain_check'.")
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/test_github.py", line 147, in test_refresh_identities
result = self._test_refresh_identities()
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/base.py", line 230, in _test_refresh_identities
db_password=self.db_password)
File "../grimoire_elk/enriched/github.py", line 90, in __init__
db_user, db_password, db_host)
File "../grimoire_elk/enriched/enrich.py", line 122, in __init__
Enrich.sh_db = Database(db_user, db_password, db_sortinghat, db_host)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 58, in __init__
self.__create_schema(self._engine)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 170, in __create_schema
ModelBase.metadata.create_all(engine)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/schema.py", line 4304, in create_all
ddl.SchemaGenerator, self, checkfirst=checkfirst, tables=tables
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 2046, in _run_visitor
conn._run_visitor(visitorcallable, element, **kwargs)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1615, in _run_visitor
visitorcallable(self.dialect, self, **kwargs).traverse_single(element)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 781, in visit_metadata
_is_metadata_operation=True,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 826, in visit_table
include_foreign_key_constraints,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 988, in execute
return meth(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 72, in _execute_on_connection
return connection._execute_ddl(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1050, in _execute_ddl
compiled,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1253, in _execute_context
e, statement, parameters, cursor, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1473, in _handle_dbapi_exception
util.raise_from_cause(sqlalchemy_exception, exc_info)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 398, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb, cause=cause)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 152, in reraise
raise value.with_traceback(tb)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
sqlalchemy.exc.InternalError: (pymysql.err.InternalError) (3822, "Duplicate check constraint name 'top_domain_check'.")
[SQL:
CREATE TABLE domains_organizations (
id INTEGER NOT NULL AUTO_INCREMENT,
domain VARCHAR(128) NOT NULL,
is_top_domain BOOL,
organization_id INTEGER NOT NULL,
PRIMARY KEY (id),
CONSTRAINT _domain_unique UNIQUE (domain),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
FOREIGN KEY(organization_id) REFERENCES organizations (id) ON DELETE CASCADE ON UPDATE CASCADE
)DEFAULT CHARSET=utf8mb4 COLLATE utf8mb4_unicode_520_ci
]
(Background on this error at: http://sqlalche.me/e/2j85)
======================================================================
ERROR: test_geolocation_study (test_github2.TestGitHub2)
Test that the geolocation study works correctly
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
pymysql.err.InternalError: (3822, "Duplicate check constraint name 'top_domain_check'.")
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/test_github2.py", line 195, in test_geolocation_study
study, ocean_backend, enrich_backend = self._test_study('enrich_geolocation')
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/base.py", line 275, in _test_study
db_password=self.db_password)
File "../grimoire_elk/enriched/github2.py", line 107, in __init__
db_user, db_password, db_host)
File "../grimoire_elk/enriched/enrich.py", line 122, in __init__
Enrich.sh_db = Database(db_user, db_password, db_sortinghat, db_host)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 58, in __init__
self.__create_schema(self._engine)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 170, in __create_schema
ModelBase.metadata.create_all(engine)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/schema.py", line 4304, in create_all
ddl.SchemaGenerator, self, checkfirst=checkfirst, tables=tables
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 2046, in _run_visitor
conn._run_visitor(visitorcallable, element, **kwargs)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1615, in _run_visitor
visitorcallable(self.dialect, self, **kwargs).traverse_single(element)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 781, in visit_metadata
_is_metadata_operation=True,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 826, in visit_table
include_foreign_key_constraints,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 988, in execute
return meth(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 72, in _execute_on_connection
return connection._execute_ddl(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1050, in _execute_ddl
compiled,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1253, in _execute_context
e, statement, parameters, cursor, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1473, in _handle_dbapi_exception
util.raise_from_cause(sqlalchemy_exception, exc_info)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 398, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb, cause=cause)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 152, in reraise
raise value.with_traceback(tb)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
sqlalchemy.exc.InternalError: (pymysql.err.InternalError) (3822, "Duplicate check constraint name 'top_domain_check'.")
[SQL:
CREATE TABLE domains_organizations (
id INTEGER NOT NULL AUTO_INCREMENT,
domain VARCHAR(128) NOT NULL,
is_top_domain BOOL,
organization_id INTEGER NOT NULL,
PRIMARY KEY (id),
CONSTRAINT _domain_unique UNIQUE (domain),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
FOREIGN KEY(organization_id) REFERENCES organizations (id) ON DELETE CASCADE ON UPDATE CASCADE
)DEFAULT CHARSET=utf8mb4 COLLATE utf8mb4_unicode_520_ci
]
(Background on this error at: http://sqlalche.me/e/2j85)
======================================================================
ERROR: test_raw_to_enrich_sorting_hat (test_github2.TestGitHub2)
Test enrich with SortingHat
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
pymysql.err.InternalError: (3822, "Duplicate check constraint name 'top_domain_check'.")
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/test_github2.py", line 152, in test_raw_to_enrich_sorting_hat
result = self._test_raw_to_enrich(sortinghat=True)
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/base.py", line 178, in _test_raw_to_enrich
db_password=self.db_password)
File "../grimoire_elk/enriched/github2.py", line 107, in __init__
db_user, db_password, db_host)
File "../grimoire_elk/enriched/enrich.py", line 122, in __init__
Enrich.sh_db = Database(db_user, db_password, db_sortinghat, db_host)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 58, in __init__
self.__create_schema(self._engine)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 170, in __create_schema
ModelBase.metadata.create_all(engine)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/schema.py", line 4304, in create_all
ddl.SchemaGenerator, self, checkfirst=checkfirst, tables=tables
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 2046, in _run_visitor
conn._run_visitor(visitorcallable, element, **kwargs)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1615, in _run_visitor
visitorcallable(self.dialect, self, **kwargs).traverse_single(element)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 781, in visit_metadata
_is_metadata_operation=True,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 826, in visit_table
include_foreign_key_constraints,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 988, in execute
return meth(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 72, in _execute_on_connection
return connection._execute_ddl(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1050, in _execute_ddl
compiled,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1253, in _execute_context
e, statement, parameters, cursor, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1473, in _handle_dbapi_exception
util.raise_from_cause(sqlalchemy_exception, exc_info)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 398, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb, cause=cause)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 152, in reraise
raise value.with_traceback(tb)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
sqlalchemy.exc.InternalError: (pymysql.err.InternalError) (3822, "Duplicate check constraint name 'top_domain_check'.")
[SQL:
CREATE TABLE domains_organizations (
id INTEGER NOT NULL AUTO_INCREMENT,
domain VARCHAR(128) NOT NULL,
is_top_domain BOOL,
organization_id INTEGER NOT NULL,
PRIMARY KEY (id),
CONSTRAINT _domain_unique UNIQUE (domain),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
FOREIGN KEY(organization_id) REFERENCES organizations (id) ON DELETE CASCADE ON UPDATE CASCADE
)DEFAULT CHARSET=utf8mb4 COLLATE utf8mb4_unicode_520_ci
]
(Background on this error at: http://sqlalche.me/e/2j85)
======================================================================
ERROR: test_refresh_identities (test_github2.TestGitHub2)
Test refresh identities
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
pymysql.err.InternalError: (3822, "Duplicate check constraint name 'top_domain_check'.")
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/test_github2.py", line 164, in test_refresh_identities
result = self._test_refresh_identities()
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/base.py", line 230, in _test_refresh_identities
db_password=self.db_password)
File "../grimoire_elk/enriched/github2.py", line 107, in __init__
db_user, db_password, db_host)
File "../grimoire_elk/enriched/enrich.py", line 122, in __init__
Enrich.sh_db = Database(db_user, db_password, db_sortinghat, db_host)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 58, in __init__
self.__create_schema(self._engine)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 170, in __create_schema
ModelBase.metadata.create_all(engine)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/schema.py", line 4304, in create_all
ddl.SchemaGenerator, self, checkfirst=checkfirst, tables=tables
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 2046, in _run_visitor
conn._run_visitor(visitorcallable, element, **kwargs)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1615, in _run_visitor
visitorcallable(self.dialect, self, **kwargs).traverse_single(element)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 781, in visit_metadata
_is_metadata_operation=True,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 826, in visit_table
include_foreign_key_constraints,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 988, in execute
return meth(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 72, in _execute_on_connection
return connection._execute_ddl(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1050, in _execute_ddl
compiled,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1253, in _execute_context
e, statement, parameters, cursor, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1473, in _handle_dbapi_exception
util.raise_from_cause(sqlalchemy_exception, exc_info)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 398, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb, cause=cause)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 152, in reraise
raise value.with_traceback(tb)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
sqlalchemy.exc.InternalError: (pymysql.err.InternalError) (3822, "Duplicate check constraint name 'top_domain_check'.")
[SQL:
CREATE TABLE domains_organizations (
id INTEGER NOT NULL AUTO_INCREMENT,
domain VARCHAR(128) NOT NULL,
is_top_domain BOOL,
organization_id INTEGER NOT NULL,
PRIMARY KEY (id),
CONSTRAINT _domain_unique UNIQUE (domain),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
FOREIGN KEY(organization_id) REFERENCES organizations (id) ON DELETE CASCADE ON UPDATE CASCADE
)DEFAULT CHARSET=utf8mb4 COLLATE utf8mb4_unicode_520_ci
]
(Background on this error at: http://sqlalche.me/e/2j85)
======================================================================
ERROR: test_raw_to_enrich_sorting_hat (test_gitlab.TestGitLab)
Test enrich with SortingHat
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
pymysql.err.InternalError: (3822, "Duplicate check constraint name 'top_domain_check'.")
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/test_gitlab.py", line 160, in test_raw_to_enrich_sorting_hat
result = self._test_raw_to_enrich(sortinghat=True)
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/base.py", line 178, in _test_raw_to_enrich
db_password=self.db_password)
File "../grimoire_elk/enriched/gitlab.py", line 80, in __init__
db_user, db_password, db_host)
File "../grimoire_elk/enriched/enrich.py", line 122, in __init__
Enrich.sh_db = Database(db_user, db_password, db_sortinghat, db_host)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 58, in __init__
self.__create_schema(self._engine)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 170, in __create_schema
ModelBase.metadata.create_all(engine)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/schema.py", line 4304, in create_all
ddl.SchemaGenerator, self, checkfirst=checkfirst, tables=tables
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 2046, in _run_visitor
conn._run_visitor(visitorcallable, element, **kwargs)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1615, in _run_visitor
visitorcallable(self.dialect, self, **kwargs).traverse_single(element)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 781, in visit_metadata
_is_metadata_operation=True,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 826, in visit_table
include_foreign_key_constraints,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 988, in execute
return meth(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 72, in _execute_on_connection
return connection._execute_ddl(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1050, in _execute_ddl
compiled,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1253, in _execute_context
e, statement, parameters, cursor, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1473, in _handle_dbapi_exception
util.raise_from_cause(sqlalchemy_exception, exc_info)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 398, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb, cause=cause)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 152, in reraise
raise value.with_traceback(tb)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
sqlalchemy.exc.InternalError: (pymysql.err.InternalError) (3822, "Duplicate check constraint name 'top_domain_check'.")
[SQL:
CREATE TABLE domains_organizations (
id INTEGER NOT NULL AUTO_INCREMENT,
domain VARCHAR(128) NOT NULL,
is_top_domain BOOL,
organization_id INTEGER NOT NULL,
PRIMARY KEY (id),
CONSTRAINT _domain_unique UNIQUE (domain),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
FOREIGN KEY(organization_id) REFERENCES organizations (id) ON DELETE CASCADE ON UPDATE CASCADE
)DEFAULT CHARSET=utf8mb4 COLLATE utf8mb4_unicode_520_ci
]
(Background on this error at: http://sqlalche.me/e/2j85)
======================================================================
ERROR: test_refresh_identities (test_gitlab.TestGitLab)
Test refresh identities
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
pymysql.err.InternalError: (3822, "Duplicate check constraint name 'top_domain_check'.")
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/test_gitlab.py", line 172, in test_refresh_identities
result = self._test_refresh_identities()
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/base.py", line 230, in _test_refresh_identities
db_password=self.db_password)
File "../grimoire_elk/enriched/gitlab.py", line 80, in __init__
db_user, db_password, db_host)
File "../grimoire_elk/enriched/enrich.py", line 122, in __init__
Enrich.sh_db = Database(db_user, db_password, db_sortinghat, db_host)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 58, in __init__
self.__create_schema(self._engine)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 170, in __create_schema
ModelBase.metadata.create_all(engine)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/schema.py", line 4304, in create_all
ddl.SchemaGenerator, self, checkfirst=checkfirst, tables=tables
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 2046, in _run_visitor
conn._run_visitor(visitorcallable, element, **kwargs)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1615, in _run_visitor
visitorcallable(self.dialect, self, **kwargs).traverse_single(element)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 781, in visit_metadata
_is_metadata_operation=True,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 826, in visit_table
include_foreign_key_constraints,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 988, in execute
return meth(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 72, in _execute_on_connection
return connection._execute_ddl(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1050, in _execute_ddl
compiled,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1253, in _execute_context
e, statement, parameters, cursor, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1473, in _handle_dbapi_exception
util.raise_from_cause(sqlalchemy_exception, exc_info)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 398, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb, cause=cause)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 152, in reraise
raise value.with_traceback(tb)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
sqlalchemy.exc.InternalError: (pymysql.err.InternalError) (3822, "Duplicate check constraint name 'top_domain_check'.")
[SQL:
CREATE TABLE domains_organizations (
id INTEGER NOT NULL AUTO_INCREMENT,
domain VARCHAR(128) NOT NULL,
is_top_domain BOOL,
organization_id INTEGER NOT NULL,
PRIMARY KEY (id),
CONSTRAINT _domain_unique UNIQUE (domain),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
FOREIGN KEY(organization_id) REFERENCES organizations (id) ON DELETE CASCADE ON UPDATE CASCADE
)DEFAULT CHARSET=utf8mb4 COLLATE utf8mb4_unicode_520_ci
]
(Background on this error at: http://sqlalche.me/e/2j85)
======================================================================
ERROR: test_raw_to_enrich_sorting_hat (test_groupsio.TestGrousio)
Test enrich with SortingHat
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
pymysql.err.InternalError: (3822, "Duplicate check constraint name 'top_domain_check'.")
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/test_groupsio.py", line 77, in test_raw_to_enrich_sorting_hat
result = self._test_raw_to_enrich(sortinghat=True)
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/base.py", line 178, in _test_raw_to_enrich
db_password=self.db_password)
File "../grimoire_elk/enriched/mbox.py", line 72, in __init__
db_user, db_password, db_host)
File "../grimoire_elk/enriched/enrich.py", line 122, in __init__
Enrich.sh_db = Database(db_user, db_password, db_sortinghat, db_host)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 58, in __init__
self.__create_schema(self._engine)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 170, in __create_schema
ModelBase.metadata.create_all(engine)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/schema.py", line 4304, in create_all
ddl.SchemaGenerator, self, checkfirst=checkfirst, tables=tables
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 2046, in _run_visitor
conn._run_visitor(visitorcallable, element, **kwargs)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1615, in _run_visitor
visitorcallable(self.dialect, self, **kwargs).traverse_single(element)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 781, in visit_metadata
_is_metadata_operation=True,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 826, in visit_table
include_foreign_key_constraints,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 988, in execute
return meth(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 72, in _execute_on_connection
return connection._execute_ddl(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1050, in _execute_ddl
compiled,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1253, in _execute_context
e, statement, parameters, cursor, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1473, in _handle_dbapi_exception
util.raise_from_cause(sqlalchemy_exception, exc_info)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 398, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb, cause=cause)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 152, in reraise
raise value.with_traceback(tb)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
sqlalchemy.exc.InternalError: (pymysql.err.InternalError) (3822, "Duplicate check constraint name 'top_domain_check'.")
[SQL:
CREATE TABLE domains_organizations (
id INTEGER NOT NULL AUTO_INCREMENT,
domain VARCHAR(128) NOT NULL,
is_top_domain BOOL,
organization_id INTEGER NOT NULL,
PRIMARY KEY (id),
CONSTRAINT _domain_unique UNIQUE (domain),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
FOREIGN KEY(organization_id) REFERENCES organizations (id) ON DELETE CASCADE ON UPDATE CASCADE
)DEFAULT CHARSET=utf8mb4 COLLATE utf8mb4_unicode_520_ci
]
(Background on this error at: http://sqlalche.me/e/2j85)
======================================================================
ERROR: test_refresh_identities (test_groupsio.TestGrousio)
Test refresh identities
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
pymysql.err.InternalError: (3822, "Duplicate check constraint name 'top_domain_check'.")
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/test_groupsio.py", line 91, in test_refresh_identities
result = self._test_refresh_identities()
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/base.py", line 230, in _test_refresh_identities
db_password=self.db_password)
File "../grimoire_elk/enriched/mbox.py", line 72, in __init__
db_user, db_password, db_host)
File "../grimoire_elk/enriched/enrich.py", line 122, in __init__
Enrich.sh_db = Database(db_user, db_password, db_sortinghat, db_host)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 58, in __init__
self.__create_schema(self._engine)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 170, in __create_schema
ModelBase.metadata.create_all(engine)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/schema.py", line 4304, in create_all
ddl.SchemaGenerator, self, checkfirst=checkfirst, tables=tables
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 2046, in _run_visitor
conn._run_visitor(visitorcallable, element, **kwargs)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1615, in _run_visitor
visitorcallable(self.dialect, self, **kwargs).traverse_single(element)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 781, in visit_metadata
_is_metadata_operation=True,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 826, in visit_table
include_foreign_key_constraints,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 988, in execute
return meth(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 72, in _execute_on_connection
return connection._execute_ddl(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1050, in _execute_ddl
compiled,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1253, in _execute_context
e, statement, parameters, cursor, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1473, in _handle_dbapi_exception
util.raise_from_cause(sqlalchemy_exception, exc_info)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 398, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb, cause=cause)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 152, in reraise
raise value.with_traceback(tb)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
sqlalchemy.exc.InternalError: (pymysql.err.InternalError) (3822, "Duplicate check constraint name 'top_domain_check'.")
[SQL:
CREATE TABLE domains_organizations (
id INTEGER NOT NULL AUTO_INCREMENT,
domain VARCHAR(128) NOT NULL,
is_top_domain BOOL,
organization_id INTEGER NOT NULL,
PRIMARY KEY (id),
CONSTRAINT _domain_unique UNIQUE (domain),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
FOREIGN KEY(organization_id) REFERENCES organizations (id) ON DELETE CASCADE ON UPDATE CASCADE
)DEFAULT CHARSET=utf8mb4 COLLATE utf8mb4_unicode_520_ci
]
(Background on this error at: http://sqlalche.me/e/2j85)
======================================================================
ERROR: test_raw_to_enrich_sorting_hat (test_hyperkitty.TestHyperkitty)
Test enrich with SortingHat
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
pymysql.err.InternalError: (3822, "Duplicate check constraint name 'top_domain_check'.")
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/test_hyperkitty.py", line 86, in test_raw_to_enrich_sorting_hat
result = self._test_raw_to_enrich(sortinghat=True)
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/base.py", line 178, in _test_raw_to_enrich
db_password=self.db_password)
File "../grimoire_elk/enriched/mbox.py", line 72, in __init__
db_user, db_password, db_host)
File "../grimoire_elk/enriched/enrich.py", line 122, in __init__
Enrich.sh_db = Database(db_user, db_password, db_sortinghat, db_host)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 58, in __init__
self.__create_schema(self._engine)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 170, in __create_schema
ModelBase.metadata.create_all(engine)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/schema.py", line 4304, in create_all
ddl.SchemaGenerator, self, checkfirst=checkfirst, tables=tables
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 2046, in _run_visitor
conn._run_visitor(visitorcallable, element, **kwargs)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1615, in _run_visitor
visitorcallable(self.dialect, self, **kwargs).traverse_single(element)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 781, in visit_metadata
_is_metadata_operation=True,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 826, in visit_table
include_foreign_key_constraints,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 988, in execute
return meth(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 72, in _execute_on_connection
return connection._execute_ddl(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1050, in _execute_ddl
compiled,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1253, in _execute_context
e, statement, parameters, cursor, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1473, in _handle_dbapi_exception
util.raise_from_cause(sqlalchemy_exception, exc_info)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 398, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb, cause=cause)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 152, in reraise
raise value.with_traceback(tb)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
sqlalchemy.exc.InternalError: (pymysql.err.InternalError) (3822, "Duplicate check constraint name 'top_domain_check'.")
[SQL:
CREATE TABLE domains_organizations (
id INTEGER NOT NULL AUTO_INCREMENT,
domain VARCHAR(128) NOT NULL,
is_top_domain BOOL,
organization_id INTEGER NOT NULL,
PRIMARY KEY (id),
CONSTRAINT _domain_unique UNIQUE (domain),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
FOREIGN KEY(organization_id) REFERENCES organizations (id) ON DELETE CASCADE ON UPDATE CASCADE
)DEFAULT CHARSET=utf8mb4 COLLATE utf8mb4_unicode_520_ci
]
(Background on this error at: http://sqlalche.me/e/2j85)
======================================================================
ERROR: test_refresh_identities (test_hyperkitty.TestHyperkitty)
Test refresh identities
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
pymysql.err.InternalError: (3822, "Duplicate check constraint name 'top_domain_check'.")
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/test_hyperkitty.py", line 100, in test_refresh_identities
result = self._test_refresh_identities()
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/base.py", line 230, in _test_refresh_identities
db_password=self.db_password)
File "../grimoire_elk/enriched/mbox.py", line 72, in __init__
db_user, db_password, db_host)
File "../grimoire_elk/enriched/enrich.py", line 122, in __init__
Enrich.sh_db = Database(db_user, db_password, db_sortinghat, db_host)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 58, in __init__
self.__create_schema(self._engine)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 170, in __create_schema
ModelBase.metadata.create_all(engine)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/schema.py", line 4304, in create_all
ddl.SchemaGenerator, self, checkfirst=checkfirst, tables=tables
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 2046, in _run_visitor
conn._run_visitor(visitorcallable, element, **kwargs)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1615, in _run_visitor
visitorcallable(self.dialect, self, **kwargs).traverse_single(element)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 781, in visit_metadata
_is_metadata_operation=True,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 826, in visit_table
include_foreign_key_constraints,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 988, in execute
return meth(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 72, in _execute_on_connection
return connection._execute_ddl(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1050, in _execute_ddl
compiled,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1253, in _execute_context
e, statement, parameters, cursor, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1473, in _handle_dbapi_exception
util.raise_from_cause(sqlalchemy_exception, exc_info)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 398, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb, cause=cause)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 152, in reraise
raise value.with_traceback(tb)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
sqlalchemy.exc.InternalError: (pymysql.err.InternalError) (3822, "Duplicate check constraint name 'top_domain_check'.")
[SQL:
CREATE TABLE domains_organizations (
id INTEGER NOT NULL AUTO_INCREMENT,
domain VARCHAR(128) NOT NULL,
is_top_domain BOOL,
organization_id INTEGER NOT NULL,
PRIMARY KEY (id),
CONSTRAINT _domain_unique UNIQUE (domain),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
FOREIGN KEY(organization_id) REFERENCES organizations (id) ON DELETE CASCADE ON UPDATE CASCADE
)DEFAULT CHARSET=utf8mb4 COLLATE utf8mb4_unicode_520_ci
]
(Background on this error at: http://sqlalche.me/e/2j85)
======================================================================
ERROR: test_raw_to_enrich_sorting_hat (test_jenkins.TestJenkins)
Test enrich with SortingHat
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
pymysql.err.InternalError: (3822, "Duplicate check constraint name 'top_domain_check'.")
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/test_jenkins.py", line 90, in test_raw_to_enrich_sorting_hat
result = self._test_raw_to_enrich(sortinghat=True)
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/base.py", line 178, in _test_raw_to_enrich
db_password=self.db_password)
File "../grimoire_elk/enriched/jenkins.py", line 67, in __init__
db_user, db_password, db_host)
File "../grimoire_elk/enriched/enrich.py", line 122, in __init__
Enrich.sh_db = Database(db_user, db_password, db_sortinghat, db_host)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 58, in __init__
self.__create_schema(self._engine)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 170, in __create_schema
ModelBase.metadata.create_all(engine)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/schema.py", line 4304, in create_all
ddl.SchemaGenerator, self, checkfirst=checkfirst, tables=tables
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 2046, in _run_visitor
conn._run_visitor(visitorcallable, element, **kwargs)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1615, in _run_visitor
visitorcallable(self.dialect, self, **kwargs).traverse_single(element)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 781, in visit_metadata
_is_metadata_operation=True,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 826, in visit_table
include_foreign_key_constraints,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 988, in execute
return meth(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 72, in _execute_on_connection
return connection._execute_ddl(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1050, in _execute_ddl
compiled,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1253, in _execute_context
e, statement, parameters, cursor, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1473, in _handle_dbapi_exception
util.raise_from_cause(sqlalchemy_exception, exc_info)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 398, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb, cause=cause)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 152, in reraise
raise value.with_traceback(tb)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
sqlalchemy.exc.InternalError: (pymysql.err.InternalError) (3822, "Duplicate check constraint name 'top_domain_check'.")
[SQL:
CREATE TABLE domains_organizations (
id INTEGER NOT NULL AUTO_INCREMENT,
domain VARCHAR(128) NOT NULL,
is_top_domain BOOL,
organization_id INTEGER NOT NULL,
PRIMARY KEY (id),
CONSTRAINT _domain_unique UNIQUE (domain),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
FOREIGN KEY(organization_id) REFERENCES organizations (id) ON DELETE CASCADE ON UPDATE CASCADE
)DEFAULT CHARSET=utf8mb4 COLLATE utf8mb4_unicode_520_ci
]
(Background on this error at: http://sqlalche.me/e/2j85)
======================================================================
ERROR: test_refresh_identities (test_jenkins.TestJenkins)
Test refresh identities
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
pymysql.err.InternalError: (3822, "Duplicate check constraint name 'top_domain_check'.")
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/test_jenkins.py", line 104, in test_refresh_identities
result = self._test_refresh_identities()
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/base.py", line 230, in _test_refresh_identities
db_password=self.db_password)
File "../grimoire_elk/enriched/jenkins.py", line 67, in __init__
db_user, db_password, db_host)
File "../grimoire_elk/enriched/enrich.py", line 122, in __init__
Enrich.sh_db = Database(db_user, db_password, db_sortinghat, db_host)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 58, in __init__
self.__create_schema(self._engine)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 170, in __create_schema
ModelBase.metadata.create_all(engine)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/schema.py", line 4304, in create_all
ddl.SchemaGenerator, self, checkfirst=checkfirst, tables=tables
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 2046, in _run_visitor
conn._run_visitor(visitorcallable, element, **kwargs)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1615, in _run_visitor
visitorcallable(self.dialect, self, **kwargs).traverse_single(element)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 781, in visit_metadata
_is_metadata_operation=True,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 826, in visit_table
include_foreign_key_constraints,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 988, in execute
return meth(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 72, in _execute_on_connection
return connection._execute_ddl(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1050, in _execute_ddl
compiled,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1253, in _execute_context
e, statement, parameters, cursor, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1473, in _handle_dbapi_exception
util.raise_from_cause(sqlalchemy_exception, exc_info)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 398, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb, cause=cause)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 152, in reraise
raise value.with_traceback(tb)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
sqlalchemy.exc.InternalError: (pymysql.err.InternalError) (3822, "Duplicate check constraint name 'top_domain_check'.")
[SQL:
CREATE TABLE domains_organizations (
id INTEGER NOT NULL AUTO_INCREMENT,
domain VARCHAR(128) NOT NULL,
is_top_domain BOOL,
organization_id INTEGER NOT NULL,
PRIMARY KEY (id),
CONSTRAINT _domain_unique UNIQUE (domain),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
FOREIGN KEY(organization_id) REFERENCES organizations (id) ON DELETE CASCADE ON UPDATE CASCADE
)DEFAULT CHARSET=utf8mb4 COLLATE utf8mb4_unicode_520_ci
]
(Background on this error at: http://sqlalche.me/e/2j85)
======================================================================
ERROR: test_raw_to_enrich_sorting_hat (test_jira.TestJira)
Test enrich with SortingHat
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
pymysql.err.InternalError: (3822, "Duplicate check constraint name 'top_domain_check'.")
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/test_jira.py", line 133, in test_raw_to_enrich_sorting_hat
result = self._test_raw_to_enrich(sortinghat=True)
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/base.py", line 178, in _test_raw_to_enrich
db_password=self.db_password)
File "../grimoire_elk/enriched/enrich.py", line 122, in __init__
Enrich.sh_db = Database(db_user, db_password, db_sortinghat, db_host)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 58, in __init__
self.__create_schema(self._engine)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 170, in __create_schema
ModelBase.metadata.create_all(engine)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/schema.py", line 4304, in create_all
ddl.SchemaGenerator, self, checkfirst=checkfirst, tables=tables
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 2046, in _run_visitor
conn._run_visitor(visitorcallable, element, **kwargs)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1615, in _run_visitor
visitorcallable(self.dialect, self, **kwargs).traverse_single(element)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 781, in visit_metadata
_is_metadata_operation=True,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 826, in visit_table
include_foreign_key_constraints,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 988, in execute
return meth(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 72, in _execute_on_connection
return connection._execute_ddl(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1050, in _execute_ddl
compiled,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1253, in _execute_context
e, statement, parameters, cursor, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1473, in _handle_dbapi_exception
util.raise_from_cause(sqlalchemy_exception, exc_info)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 398, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb, cause=cause)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 152, in reraise
raise value.with_traceback(tb)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
sqlalchemy.exc.InternalError: (pymysql.err.InternalError) (3822, "Duplicate check constraint name 'top_domain_check'.")
[SQL:
CREATE TABLE domains_organizations (
id INTEGER NOT NULL AUTO_INCREMENT,
domain VARCHAR(128) NOT NULL,
is_top_domain BOOL,
organization_id INTEGER NOT NULL,
PRIMARY KEY (id),
CONSTRAINT _domain_unique UNIQUE (domain),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
FOREIGN KEY(organization_id) REFERENCES organizations (id) ON DELETE CASCADE ON UPDATE CASCADE
)DEFAULT CHARSET=utf8mb4 COLLATE utf8mb4_unicode_520_ci
]
(Background on this error at: http://sqlalche.me/e/2j85)
======================================================================
ERROR: test_refresh_identities (test_jira.TestJira)
Test refresh identities
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
pymysql.err.InternalError: (3822, "Duplicate check constraint name 'top_domain_check'.")
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/test_jira.py", line 171, in test_refresh_identities
result = self._test_refresh_identities()
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/base.py", line 230, in _test_refresh_identities
db_password=self.db_password)
File "../grimoire_elk/enriched/enrich.py", line 122, in __init__
Enrich.sh_db = Database(db_user, db_password, db_sortinghat, db_host)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 58, in __init__
self.__create_schema(self._engine)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 170, in __create_schema
ModelBase.metadata.create_all(engine)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/schema.py", line 4304, in create_all
ddl.SchemaGenerator, self, checkfirst=checkfirst, tables=tables
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 2046, in _run_visitor
conn._run_visitor(visitorcallable, element, **kwargs)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1615, in _run_visitor
visitorcallable(self.dialect, self, **kwargs).traverse_single(element)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 781, in visit_metadata
_is_metadata_operation=True,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 826, in visit_table
include_foreign_key_constraints,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 988, in execute
return meth(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 72, in _execute_on_connection
return connection._execute_ddl(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1050, in _execute_ddl
compiled,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1253, in _execute_context
e, statement, parameters, cursor, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1473, in _handle_dbapi_exception
util.raise_from_cause(sqlalchemy_exception, exc_info)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 398, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb, cause=cause)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 152, in reraise
raise value.with_traceback(tb)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
sqlalchemy.exc.InternalError: (pymysql.err.InternalError) (3822, "Duplicate check constraint name 'top_domain_check'.")
[SQL:
CREATE TABLE domains_organizations (
id INTEGER NOT NULL AUTO_INCREMENT,
domain VARCHAR(128) NOT NULL,
is_top_domain BOOL,
organization_id INTEGER NOT NULL,
PRIMARY KEY (id),
CONSTRAINT _domain_unique UNIQUE (domain),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
FOREIGN KEY(organization_id) REFERENCES organizations (id) ON DELETE CASCADE ON UPDATE CASCADE
)DEFAULT CHARSET=utf8mb4 COLLATE utf8mb4_unicode_520_ci
]
(Background on this error at: http://sqlalche.me/e/2j85)
======================================================================
ERROR: test_raw_to_enrich_sorting_hat (test_kitsune.TestKitsune)
Test enrich with SortingHat
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
pymysql.err.InternalError: (3822, "Duplicate check constraint name 'top_domain_check'.")
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/test_kitsune.py", line 71, in test_raw_to_enrich_sorting_hat
result = self._test_raw_to_enrich(sortinghat=True)
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/base.py", line 178, in _test_raw_to_enrich
db_password=self.db_password)
File "../grimoire_elk/enriched/enrich.py", line 122, in __init__
Enrich.sh_db = Database(db_user, db_password, db_sortinghat, db_host)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 58, in __init__
self.__create_schema(self._engine)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 170, in __create_schema
ModelBase.metadata.create_all(engine)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/schema.py", line 4304, in create_all
ddl.SchemaGenerator, self, checkfirst=checkfirst, tables=tables
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 2046, in _run_visitor
conn._run_visitor(visitorcallable, element, **kwargs)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1615, in _run_visitor
visitorcallable(self.dialect, self, **kwargs).traverse_single(element)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 781, in visit_metadata
_is_metadata_operation=True,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 826, in visit_table
include_foreign_key_constraints,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 988, in execute
return meth(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 72, in _execute_on_connection
return connection._execute_ddl(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1050, in _execute_ddl
compiled,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1253, in _execute_context
e, statement, parameters, cursor, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1473, in _handle_dbapi_exception
util.raise_from_cause(sqlalchemy_exception, exc_info)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 398, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb, cause=cause)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 152, in reraise
raise value.with_traceback(tb)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
sqlalchemy.exc.InternalError: (pymysql.err.InternalError) (3822, "Duplicate check constraint name 'top_domain_check'.")
[SQL:
CREATE TABLE domains_organizations (
id INTEGER NOT NULL AUTO_INCREMENT,
domain VARCHAR(128) NOT NULL,
is_top_domain BOOL,
organization_id INTEGER NOT NULL,
PRIMARY KEY (id),
CONSTRAINT _domain_unique UNIQUE (domain),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
FOREIGN KEY(organization_id) REFERENCES organizations (id) ON DELETE CASCADE ON UPDATE CASCADE
)DEFAULT CHARSET=utf8mb4 COLLATE utf8mb4_unicode_520_ci
]
(Background on this error at: http://sqlalche.me/e/2j85)
======================================================================
ERROR: test_refresh_identities (test_kitsune.TestKitsune)
Test refresh identities
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
pymysql.err.InternalError: (3822, "Duplicate check constraint name 'top_domain_check'.")
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/test_kitsune.py", line 85, in test_refresh_identities
result = self._test_refresh_identities()
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/base.py", line 230, in _test_refresh_identities
db_password=self.db_password)
File "../grimoire_elk/enriched/enrich.py", line 122, in __init__
Enrich.sh_db = Database(db_user, db_password, db_sortinghat, db_host)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 58, in __init__
self.__create_schema(self._engine)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 170, in __create_schema
ModelBase.metadata.create_all(engine)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/schema.py", line 4304, in create_all
ddl.SchemaGenerator, self, checkfirst=checkfirst, tables=tables
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 2046, in _run_visitor
conn._run_visitor(visitorcallable, element, **kwargs)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1615, in _run_visitor
visitorcallable(self.dialect, self, **kwargs).traverse_single(element)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 781, in visit_metadata
_is_metadata_operation=True,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 826, in visit_table
include_foreign_key_constraints,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 988, in execute
return meth(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 72, in _execute_on_connection
return connection._execute_ddl(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1050, in _execute_ddl
compiled,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1253, in _execute_context
e, statement, parameters, cursor, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1473, in _handle_dbapi_exception
util.raise_from_cause(sqlalchemy_exception, exc_info)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 398, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb, cause=cause)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 152, in reraise
raise value.with_traceback(tb)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
sqlalchemy.exc.InternalError: (pymysql.err.InternalError) (3822, "Duplicate check constraint name 'top_domain_check'.")
[SQL:
CREATE TABLE domains_organizations (
id INTEGER NOT NULL AUTO_INCREMENT,
domain VARCHAR(128) NOT NULL,
is_top_domain BOOL,
organization_id INTEGER NOT NULL,
PRIMARY KEY (id),
CONSTRAINT _domain_unique UNIQUE (domain),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
FOREIGN KEY(organization_id) REFERENCES organizations (id) ON DELETE CASCADE ON UPDATE CASCADE
)DEFAULT CHARSET=utf8mb4 COLLATE utf8mb4_unicode_520_ci
]
(Background on this error at: http://sqlalche.me/e/2j85)
======================================================================
ERROR: test_load_identities (test_load_identities.TestLoadIdentities)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
pymysql.err.InternalError: (3822, "Duplicate check constraint name 'top_domain_check'.")
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/test_load_identities.py", line 78, in setUp
db_password=self.db_password)
File "../grimoire_elk/enriched/github.py", line 90, in __init__
db_user, db_password, db_host)
File "../grimoire_elk/enriched/enrich.py", line 122, in __init__
Enrich.sh_db = Database(db_user, db_password, db_sortinghat, db_host)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 58, in __init__
self.__create_schema(self._engine)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 170, in __create_schema
ModelBase.metadata.create_all(engine)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/schema.py", line 4304, in create_all
ddl.SchemaGenerator, self, checkfirst=checkfirst, tables=tables
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 2046, in _run_visitor
conn._run_visitor(visitorcallable, element, **kwargs)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1615, in _run_visitor
visitorcallable(self.dialect, self, **kwargs).traverse_single(element)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 781, in visit_metadata
_is_metadata_operation=True,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 826, in visit_table
include_foreign_key_constraints,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 988, in execute
return meth(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 72, in _execute_on_connection
return connection._execute_ddl(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1050, in _execute_ddl
compiled,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1253, in _execute_context
e, statement, parameters, cursor, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1473, in _handle_dbapi_exception
util.raise_from_cause(sqlalchemy_exception, exc_info)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 398, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb, cause=cause)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 152, in reraise
raise value.with_traceback(tb)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
sqlalchemy.exc.InternalError: (pymysql.err.InternalError) (3822, "Duplicate check constraint name 'top_domain_check'.")
[SQL:
CREATE TABLE domains_organizations (
id INTEGER NOT NULL AUTO_INCREMENT,
domain VARCHAR(128) NOT NULL,
is_top_domain BOOL,
organization_id INTEGER NOT NULL,
PRIMARY KEY (id),
CONSTRAINT _domain_unique UNIQUE (domain),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
FOREIGN KEY(organization_id) REFERENCES organizations (id) ON DELETE CASCADE ON UPDATE CASCADE
)DEFAULT CHARSET=utf8mb4 COLLATE utf8mb4_unicode_520_ci
]
(Background on this error at: http://sqlalche.me/e/2j85)
======================================================================
ERROR: test_raw_to_enrich_sorting_hat (test_mattermost.TestMattermost)
Test enrich with SortingHat
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
pymysql.err.InternalError: (3822, "Duplicate check constraint name 'top_domain_check'.")
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/test_mattermost.py", line 77, in test_raw_to_enrich_sorting_hat
result = self._test_raw_to_enrich(sortinghat=True)
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/base.py", line 178, in _test_raw_to_enrich
db_password=self.db_password)
File "../grimoire_elk/enriched/enrich.py", line 122, in __init__
Enrich.sh_db = Database(db_user, db_password, db_sortinghat, db_host)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 58, in __init__
self.__create_schema(self._engine)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 170, in __create_schema
ModelBase.metadata.create_all(engine)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/schema.py", line 4304, in create_all
ddl.SchemaGenerator, self, checkfirst=checkfirst, tables=tables
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 2046, in _run_visitor
conn._run_visitor(visitorcallable, element, **kwargs)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1615, in _run_visitor
visitorcallable(self.dialect, self, **kwargs).traverse_single(element)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 781, in visit_metadata
_is_metadata_operation=True,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 826, in visit_table
include_foreign_key_constraints,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 988, in execute
return meth(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 72, in _execute_on_connection
return connection._execute_ddl(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1050, in _execute_ddl
compiled,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1253, in _execute_context
e, statement, parameters, cursor, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1473, in _handle_dbapi_exception
util.raise_from_cause(sqlalchemy_exception, exc_info)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 398, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb, cause=cause)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 152, in reraise
raise value.with_traceback(tb)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
sqlalchemy.exc.InternalError: (pymysql.err.InternalError) (3822, "Duplicate check constraint name 'top_domain_check'.")
[SQL:
CREATE TABLE domains_organizations (
id INTEGER NOT NULL AUTO_INCREMENT,
domain VARCHAR(128) NOT NULL,
is_top_domain BOOL,
organization_id INTEGER NOT NULL,
PRIMARY KEY (id),
CONSTRAINT _domain_unique UNIQUE (domain),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
FOREIGN KEY(organization_id) REFERENCES organizations (id) ON DELETE CASCADE ON UPDATE CASCADE
)DEFAULT CHARSET=utf8mb4 COLLATE utf8mb4_unicode_520_ci
]
(Background on this error at: http://sqlalche.me/e/2j85)
======================================================================
ERROR: test_refresh_identities (test_mattermost.TestMattermost)
Test refresh identities
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
pymysql.err.InternalError: (3822, "Duplicate check constraint name 'top_domain_check'.")
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/test_mattermost.py", line 95, in test_refresh_identities
result = self._test_refresh_identities()
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/base.py", line 230, in _test_refresh_identities
db_password=self.db_password)
File "../grimoire_elk/enriched/enrich.py", line 122, in __init__
Enrich.sh_db = Database(db_user, db_password, db_sortinghat, db_host)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 58, in __init__
self.__create_schema(self._engine)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 170, in __create_schema
ModelBase.metadata.create_all(engine)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/schema.py", line 4304, in create_all
ddl.SchemaGenerator, self, checkfirst=checkfirst, tables=tables
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 2046, in _run_visitor
conn._run_visitor(visitorcallable, element, **kwargs)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1615, in _run_visitor
visitorcallable(self.dialect, self, **kwargs).traverse_single(element)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 781, in visit_metadata
_is_metadata_operation=True,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 826, in visit_table
include_foreign_key_constraints,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 988, in execute
return meth(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 72, in _execute_on_connection
return connection._execute_ddl(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1050, in _execute_ddl
compiled,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1253, in _execute_context
e, statement, parameters, cursor, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1473, in _handle_dbapi_exception
util.raise_from_cause(sqlalchemy_exception, exc_info)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 398, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb, cause=cause)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 152, in reraise
raise value.with_traceback(tb)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
sqlalchemy.exc.InternalError: (pymysql.err.InternalError) (3822, "Duplicate check constraint name 'top_domain_check'.")
[SQL:
CREATE TABLE domains_organizations (
id INTEGER NOT NULL AUTO_INCREMENT,
domain VARCHAR(128) NOT NULL,
is_top_domain BOOL,
organization_id INTEGER NOT NULL,
PRIMARY KEY (id),
CONSTRAINT _domain_unique UNIQUE (domain),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
FOREIGN KEY(organization_id) REFERENCES organizations (id) ON DELETE CASCADE ON UPDATE CASCADE
)DEFAULT CHARSET=utf8mb4 COLLATE utf8mb4_unicode_520_ci
]
(Background on this error at: http://sqlalche.me/e/2j85)
======================================================================
ERROR: test_kafka_kip_study (test_mbox.TestMbox)
Test that the kafka kip study works correctly
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
pymysql.err.InternalError: (3822, "Duplicate check constraint name 'top_domain_check'.")
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/test_mbox.py", line 148, in test_kafka_kip_study
study, ocean_backend, enrich_backend = self._test_study('kafka_kip')
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/base.py", line 275, in _test_study
db_password=self.db_password)
File "../grimoire_elk/enriched/mbox.py", line 72, in __init__
db_user, db_password, db_host)
File "../grimoire_elk/enriched/enrich.py", line 122, in __init__
Enrich.sh_db = Database(db_user, db_password, db_sortinghat, db_host)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 58, in __init__
self.__create_schema(self._engine)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 170, in __create_schema
ModelBase.metadata.create_all(engine)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/schema.py", line 4304, in create_all
ddl.SchemaGenerator, self, checkfirst=checkfirst, tables=tables
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 2046, in _run_visitor
conn._run_visitor(visitorcallable, element, **kwargs)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1615, in _run_visitor
visitorcallable(self.dialect, self, **kwargs).traverse_single(element)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 781, in visit_metadata
_is_metadata_operation=True,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 826, in visit_table
include_foreign_key_constraints,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 988, in execute
return meth(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 72, in _execute_on_connection
return connection._execute_ddl(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1050, in _execute_ddl
compiled,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1253, in _execute_context
e, statement, parameters, cursor, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1473, in _handle_dbapi_exception
util.raise_from_cause(sqlalchemy_exception, exc_info)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 398, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb, cause=cause)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 152, in reraise
raise value.with_traceback(tb)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
sqlalchemy.exc.InternalError: (pymysql.err.InternalError) (3822, "Duplicate check constraint name 'top_domain_check'.")
[SQL:
CREATE TABLE domains_organizations (
id INTEGER NOT NULL AUTO_INCREMENT,
domain VARCHAR(128) NOT NULL,
is_top_domain BOOL,
organization_id INTEGER NOT NULL,
PRIMARY KEY (id),
CONSTRAINT _domain_unique UNIQUE (domain),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
FOREIGN KEY(organization_id) REFERENCES organizations (id) ON DELETE CASCADE ON UPDATE CASCADE
)DEFAULT CHARSET=utf8mb4 COLLATE utf8mb4_unicode_520_ci
]
(Background on this error at: http://sqlalche.me/e/2j85)
======================================================================
ERROR: test_raw_to_enrich_sorting_hat (test_mbox.TestMbox)
Test enrich with SortingHat
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
pymysql.err.InternalError: (3822, "Duplicate check constraint name 'top_domain_check'.")
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/test_mbox.py", line 111, in test_raw_to_enrich_sorting_hat
result = self._test_raw_to_enrich(sortinghat=True)
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/base.py", line 178, in _test_raw_to_enrich
db_password=self.db_password)
File "../grimoire_elk/enriched/mbox.py", line 72, in __init__
db_user, db_password, db_host)
File "../grimoire_elk/enriched/enrich.py", line 122, in __init__
Enrich.sh_db = Database(db_user, db_password, db_sortinghat, db_host)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 58, in __init__
self.__create_schema(self._engine)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 170, in __create_schema
ModelBase.metadata.create_all(engine)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/schema.py", line 4304, in create_all
ddl.SchemaGenerator, self, checkfirst=checkfirst, tables=tables
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 2046, in _run_visitor
conn._run_visitor(visitorcallable, element, **kwargs)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1615, in _run_visitor
visitorcallable(self.dialect, self, **kwargs).traverse_single(element)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 781, in visit_metadata
_is_metadata_operation=True,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 826, in visit_table
include_foreign_key_constraints,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 988, in execute
return meth(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 72, in _execute_on_connection
return connection._execute_ddl(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1050, in _execute_ddl
compiled,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1253, in _execute_context
e, statement, parameters, cursor, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1473, in _handle_dbapi_exception
util.raise_from_cause(sqlalchemy_exception, exc_info)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 398, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb, cause=cause)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 152, in reraise
raise value.with_traceback(tb)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
sqlalchemy.exc.InternalError: (pymysql.err.InternalError) (3822, "Duplicate check constraint name 'top_domain_check'.")
[SQL:
CREATE TABLE domains_organizations (
id INTEGER NOT NULL AUTO_INCREMENT,
domain VARCHAR(128) NOT NULL,
is_top_domain BOOL,
organization_id INTEGER NOT NULL,
PRIMARY KEY (id),
CONSTRAINT _domain_unique UNIQUE (domain),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
FOREIGN KEY(organization_id) REFERENCES organizations (id) ON DELETE CASCADE ON UPDATE CASCADE
)DEFAULT CHARSET=utf8mb4 COLLATE utf8mb4_unicode_520_ci
]
(Background on this error at: http://sqlalche.me/e/2j85)
======================================================================
ERROR: test_refresh_identities (test_mbox.TestMbox)
Test refresh identities
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
pymysql.err.InternalError: (3822, "Duplicate check constraint name 'top_domain_check'.")
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/test_mbox.py", line 125, in test_refresh_identities
result = self._test_refresh_identities()
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/base.py", line 230, in _test_refresh_identities
db_password=self.db_password)
File "../grimoire_elk/enriched/mbox.py", line 72, in __init__
db_user, db_password, db_host)
File "../grimoire_elk/enriched/enrich.py", line 122, in __init__
Enrich.sh_db = Database(db_user, db_password, db_sortinghat, db_host)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 58, in __init__
self.__create_schema(self._engine)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 170, in __create_schema
ModelBase.metadata.create_all(engine)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/schema.py", line 4304, in create_all
ddl.SchemaGenerator, self, checkfirst=checkfirst, tables=tables
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 2046, in _run_visitor
conn._run_visitor(visitorcallable, element, **kwargs)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1615, in _run_visitor
visitorcallable(self.dialect, self, **kwargs).traverse_single(element)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 781, in visit_metadata
_is_metadata_operation=True,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 826, in visit_table
include_foreign_key_constraints,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 988, in execute
return meth(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 72, in _execute_on_connection
return connection._execute_ddl(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1050, in _execute_ddl
compiled,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1253, in _execute_context
e, statement, parameters, cursor, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1473, in _handle_dbapi_exception
util.raise_from_cause(sqlalchemy_exception, exc_info)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 398, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb, cause=cause)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 152, in reraise
raise value.with_traceback(tb)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
sqlalchemy.exc.InternalError: (pymysql.err.InternalError) (3822, "Duplicate check constraint name 'top_domain_check'.")
[SQL:
CREATE TABLE domains_organizations (
id INTEGER NOT NULL AUTO_INCREMENT,
domain VARCHAR(128) NOT NULL,
is_top_domain BOOL,
organization_id INTEGER NOT NULL,
PRIMARY KEY (id),
CONSTRAINT _domain_unique UNIQUE (domain),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
FOREIGN KEY(organization_id) REFERENCES organizations (id) ON DELETE CASCADE ON UPDATE CASCADE
)DEFAULT CHARSET=utf8mb4 COLLATE utf8mb4_unicode_520_ci
]
(Background on this error at: http://sqlalche.me/e/2j85)
======================================================================
ERROR: test_raw_to_enrich_sorting_hat (test_mediawiki.TestMediawiki)
Test enrich with SortingHat
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
pymysql.err.InternalError: (3822, "Duplicate check constraint name 'top_domain_check'.")
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/test_mediawiki.py", line 173, in test_raw_to_enrich_sorting_hat
result = self._test_raw_to_enrich(sortinghat=True)
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/base.py", line 178, in _test_raw_to_enrich
db_password=self.db_password)
File "../grimoire_elk/enriched/enrich.py", line 122, in __init__
Enrich.sh_db = Database(db_user, db_password, db_sortinghat, db_host)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 58, in __init__
self.__create_schema(self._engine)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 170, in __create_schema
ModelBase.metadata.create_all(engine)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/schema.py", line 4304, in create_all
ddl.SchemaGenerator, self, checkfirst=checkfirst, tables=tables
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 2046, in _run_visitor
conn._run_visitor(visitorcallable, element, **kwargs)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1615, in _run_visitor
visitorcallable(self.dialect, self, **kwargs).traverse_single(element)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 781, in visit_metadata
_is_metadata_operation=True,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 826, in visit_table
include_foreign_key_constraints,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 988, in execute
return meth(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 72, in _execute_on_connection
return connection._execute_ddl(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1050, in _execute_ddl
compiled,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1253, in _execute_context
e, statement, parameters, cursor, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1473, in _handle_dbapi_exception
util.raise_from_cause(sqlalchemy_exception, exc_info)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 398, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb, cause=cause)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 152, in reraise
raise value.with_traceback(tb)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
sqlalchemy.exc.InternalError: (pymysql.err.InternalError) (3822, "Duplicate check constraint name 'top_domain_check'.")
[SQL:
CREATE TABLE domains_organizations (
id INTEGER NOT NULL AUTO_INCREMENT,
domain VARCHAR(128) NOT NULL,
is_top_domain BOOL,
organization_id INTEGER NOT NULL,
PRIMARY KEY (id),
CONSTRAINT _domain_unique UNIQUE (domain),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
FOREIGN KEY(organization_id) REFERENCES organizations (id) ON DELETE CASCADE ON UPDATE CASCADE
)DEFAULT CHARSET=utf8mb4 COLLATE utf8mb4_unicode_520_ci
]
(Background on this error at: http://sqlalche.me/e/2j85)
======================================================================
ERROR: test_refresh_identities (test_mediawiki.TestMediawiki)
Test refresh identities
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
pymysql.err.InternalError: (3822, "Duplicate check constraint name 'top_domain_check'.")
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/test_mediawiki.py", line 210, in test_refresh_identities
result = self._test_refresh_identities()
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/base.py", line 230, in _test_refresh_identities
db_password=self.db_password)
File "../grimoire_elk/enriched/enrich.py", line 122, in __init__
Enrich.sh_db = Database(db_user, db_password, db_sortinghat, db_host)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 58, in __init__
self.__create_schema(self._engine)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 170, in __create_schema
ModelBase.metadata.create_all(engine)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/schema.py", line 4304, in create_all
ddl.SchemaGenerator, self, checkfirst=checkfirst, tables=tables
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 2046, in _run_visitor
conn._run_visitor(visitorcallable, element, **kwargs)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1615, in _run_visitor
visitorcallable(self.dialect, self, **kwargs).traverse_single(element)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 781, in visit_metadata
_is_metadata_operation=True,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 826, in visit_table
include_foreign_key_constraints,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 988, in execute
return meth(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 72, in _execute_on_connection
return connection._execute_ddl(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1050, in _execute_ddl
compiled,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1253, in _execute_context
e, statement, parameters, cursor, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1473, in _handle_dbapi_exception
util.raise_from_cause(sqlalchemy_exception, exc_info)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 398, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb, cause=cause)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 152, in reraise
raise value.with_traceback(tb)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
sqlalchemy.exc.InternalError: (pymysql.err.InternalError) (3822, "Duplicate check constraint name 'top_domain_check'.")
[SQL:
CREATE TABLE domains_organizations (
id INTEGER NOT NULL AUTO_INCREMENT,
domain VARCHAR(128) NOT NULL,
is_top_domain BOOL,
organization_id INTEGER NOT NULL,
PRIMARY KEY (id),
CONSTRAINT _domain_unique UNIQUE (domain),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
FOREIGN KEY(organization_id) REFERENCES organizations (id) ON DELETE CASCADE ON UPDATE CASCADE
)DEFAULT CHARSET=utf8mb4 COLLATE utf8mb4_unicode_520_ci
]
(Background on this error at: http://sqlalche.me/e/2j85)
======================================================================
ERROR: test_raw_to_enrich_sorting_hat (test_meetup.TestMeetup)
Test enrich with SortingHat
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
pymysql.err.InternalError: (3822, "Duplicate check constraint name 'top_domain_check'.")
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/test_meetup.py", line 80, in test_raw_to_enrich_sorting_hat
result = self._test_raw_to_enrich(sortinghat=True)
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/base.py", line 178, in _test_raw_to_enrich
db_password=self.db_password)
File "../grimoire_elk/enriched/enrich.py", line 122, in __init__
Enrich.sh_db = Database(db_user, db_password, db_sortinghat, db_host)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 58, in __init__
self.__create_schema(self._engine)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 170, in __create_schema
ModelBase.metadata.create_all(engine)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/schema.py", line 4304, in create_all
ddl.SchemaGenerator, self, checkfirst=checkfirst, tables=tables
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 2046, in _run_visitor
conn._run_visitor(visitorcallable, element, **kwargs)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1615, in _run_visitor
visitorcallable(self.dialect, self, **kwargs).traverse_single(element)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 781, in visit_metadata
_is_metadata_operation=True,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 826, in visit_table
include_foreign_key_constraints,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 988, in execute
return meth(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 72, in _execute_on_connection
return connection._execute_ddl(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1050, in _execute_ddl
compiled,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1253, in _execute_context
e, statement, parameters, cursor, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1473, in _handle_dbapi_exception
util.raise_from_cause(sqlalchemy_exception, exc_info)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 398, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb, cause=cause)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 152, in reraise
raise value.with_traceback(tb)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
sqlalchemy.exc.InternalError: (pymysql.err.InternalError) (3822, "Duplicate check constraint name 'top_domain_check'.")
[SQL:
CREATE TABLE domains_organizations (
id INTEGER NOT NULL AUTO_INCREMENT,
domain VARCHAR(128) NOT NULL,
is_top_domain BOOL,
organization_id INTEGER NOT NULL,
PRIMARY KEY (id),
CONSTRAINT _domain_unique UNIQUE (domain),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
FOREIGN KEY(organization_id) REFERENCES organizations (id) ON DELETE CASCADE ON UPDATE CASCADE
)DEFAULT CHARSET=utf8mb4 COLLATE utf8mb4_unicode_520_ci
]
(Background on this error at: http://sqlalche.me/e/2j85)
======================================================================
ERROR: test_refresh_identities (test_meetup.TestMeetup)
Test refresh identities
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
pymysql.err.InternalError: (3822, "Duplicate check constraint name 'top_domain_check'.")
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/test_meetup.py", line 94, in test_refresh_identities
result = self._test_refresh_identities()
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/base.py", line 230, in _test_refresh_identities
db_password=self.db_password)
File "../grimoire_elk/enriched/enrich.py", line 122, in __init__
Enrich.sh_db = Database(db_user, db_password, db_sortinghat, db_host)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 58, in __init__
self.__create_schema(self._engine)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 170, in __create_schema
ModelBase.metadata.create_all(engine)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/schema.py", line 4304, in create_all
ddl.SchemaGenerator, self, checkfirst=checkfirst, tables=tables
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 2046, in _run_visitor
conn._run_visitor(visitorcallable, element, **kwargs)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1615, in _run_visitor
visitorcallable(self.dialect, self, **kwargs).traverse_single(element)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 781, in visit_metadata
_is_metadata_operation=True,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 826, in visit_table
include_foreign_key_constraints,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 988, in execute
return meth(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 72, in _execute_on_connection
return connection._execute_ddl(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1050, in _execute_ddl
compiled,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1253, in _execute_context
e, statement, parameters, cursor, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1473, in _handle_dbapi_exception
util.raise_from_cause(sqlalchemy_exception, exc_info)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 398, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb, cause=cause)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 152, in reraise
raise value.with_traceback(tb)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
sqlalchemy.exc.InternalError: (pymysql.err.InternalError) (3822, "Duplicate check constraint name 'top_domain_check'.")
[SQL:
CREATE TABLE domains_organizations (
id INTEGER NOT NULL AUTO_INCREMENT,
domain VARCHAR(128) NOT NULL,
is_top_domain BOOL,
organization_id INTEGER NOT NULL,
PRIMARY KEY (id),
CONSTRAINT _domain_unique UNIQUE (domain),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
FOREIGN KEY(organization_id) REFERENCES organizations (id) ON DELETE CASCADE ON UPDATE CASCADE
)DEFAULT CHARSET=utf8mb4 COLLATE utf8mb4_unicode_520_ci
]
(Background on this error at: http://sqlalche.me/e/2j85)
======================================================================
ERROR: test_raw_to_enrich_sorting_hat (test_mozillaclub.TestMozillaClub)
Test enrich with SortingHat
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
pymysql.err.InternalError: (3822, "Duplicate check constraint name 'top_domain_check'.")
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/test_mozillaclub.py", line 90, in test_raw_to_enrich_sorting_hat
result = self._test_raw_to_enrich(sortinghat=True)
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/base.py", line 178, in _test_raw_to_enrich
db_password=self.db_password)
File "../grimoire_elk/enriched/enrich.py", line 122, in __init__
Enrich.sh_db = Database(db_user, db_password, db_sortinghat, db_host)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 58, in __init__
self.__create_schema(self._engine)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 170, in __create_schema
ModelBase.metadata.create_all(engine)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/schema.py", line 4304, in create_all
ddl.SchemaGenerator, self, checkfirst=checkfirst, tables=tables
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 2046, in _run_visitor
conn._run_visitor(visitorcallable, element, **kwargs)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1615, in _run_visitor
visitorcallable(self.dialect, self, **kwargs).traverse_single(element)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 781, in visit_metadata
_is_metadata_operation=True,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 826, in visit_table
include_foreign_key_constraints,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 988, in execute
return meth(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 72, in _execute_on_connection
return connection._execute_ddl(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1050, in _execute_ddl
compiled,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1253, in _execute_context
e, statement, parameters, cursor, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1473, in _handle_dbapi_exception
util.raise_from_cause(sqlalchemy_exception, exc_info)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 398, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb, cause=cause)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 152, in reraise
raise value.with_traceback(tb)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
sqlalchemy.exc.InternalError: (pymysql.err.InternalError) (3822, "Duplicate check constraint name 'top_domain_check'.")
[SQL:
CREATE TABLE domains_organizations (
id INTEGER NOT NULL AUTO_INCREMENT,
domain VARCHAR(128) NOT NULL,
is_top_domain BOOL,
organization_id INTEGER NOT NULL,
PRIMARY KEY (id),
CONSTRAINT _domain_unique UNIQUE (domain),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
FOREIGN KEY(organization_id) REFERENCES organizations (id) ON DELETE CASCADE ON UPDATE CASCADE
)DEFAULT CHARSET=utf8mb4 COLLATE utf8mb4_unicode_520_ci
]
(Background on this error at: http://sqlalche.me/e/2j85)
======================================================================
ERROR: test_refresh_identities (test_mozillaclub.TestMozillaClub)
Test refresh identities
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
pymysql.err.InternalError: (3822, "Duplicate check constraint name 'top_domain_check'.")
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/test_mozillaclub.py", line 112, in test_refresh_identities
result = self._test_refresh_identities()
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/base.py", line 230, in _test_refresh_identities
db_password=self.db_password)
File "../grimoire_elk/enriched/enrich.py", line 122, in __init__
Enrich.sh_db = Database(db_user, db_password, db_sortinghat, db_host)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 58, in __init__
self.__create_schema(self._engine)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 170, in __create_schema
ModelBase.metadata.create_all(engine)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/schema.py", line 4304, in create_all
ddl.SchemaGenerator, self, checkfirst=checkfirst, tables=tables
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 2046, in _run_visitor
conn._run_visitor(visitorcallable, element, **kwargs)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1615, in _run_visitor
visitorcallable(self.dialect, self, **kwargs).traverse_single(element)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 781, in visit_metadata
_is_metadata_operation=True,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 826, in visit_table
include_foreign_key_constraints,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 988, in execute
return meth(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 72, in _execute_on_connection
return connection._execute_ddl(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1050, in _execute_ddl
compiled,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1253, in _execute_context
e, statement, parameters, cursor, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1473, in _handle_dbapi_exception
util.raise_from_cause(sqlalchemy_exception, exc_info)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 398, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb, cause=cause)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 152, in reraise
raise value.with_traceback(tb)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
sqlalchemy.exc.InternalError: (pymysql.err.InternalError) (3822, "Duplicate check constraint name 'top_domain_check'.")
[SQL:
CREATE TABLE domains_organizations (
id INTEGER NOT NULL AUTO_INCREMENT,
domain VARCHAR(128) NOT NULL,
is_top_domain BOOL,
organization_id INTEGER NOT NULL,
PRIMARY KEY (id),
CONSTRAINT _domain_unique UNIQUE (domain),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
FOREIGN KEY(organization_id) REFERENCES organizations (id) ON DELETE CASCADE ON UPDATE CASCADE
)DEFAULT CHARSET=utf8mb4 COLLATE utf8mb4_unicode_520_ci
]
(Background on this error at: http://sqlalche.me/e/2j85)
======================================================================
ERROR: test_raw_to_enrich_sorting_hat (test_nntp.TestNNTP)
Test enrich with SortingHat
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
pymysql.err.InternalError: (3822, "Duplicate check constraint name 'top_domain_check'.")
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/test_nntp.py", line 96, in test_raw_to_enrich_sorting_hat
result = self._test_raw_to_enrich(sortinghat=True)
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/base.py", line 178, in _test_raw_to_enrich
db_password=self.db_password)
File "../grimoire_elk/enriched/mbox.py", line 72, in __init__
db_user, db_password, db_host)
File "../grimoire_elk/enriched/enrich.py", line 122, in __init__
Enrich.sh_db = Database(db_user, db_password, db_sortinghat, db_host)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 58, in __init__
self.__create_schema(self._engine)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 170, in __create_schema
ModelBase.metadata.create_all(engine)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/schema.py", line 4304, in create_all
ddl.SchemaGenerator, self, checkfirst=checkfirst, tables=tables
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 2046, in _run_visitor
conn._run_visitor(visitorcallable, element, **kwargs)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1615, in _run_visitor
visitorcallable(self.dialect, self, **kwargs).traverse_single(element)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 781, in visit_metadata
_is_metadata_operation=True,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 826, in visit_table
include_foreign_key_constraints,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 988, in execute
return meth(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 72, in _execute_on_connection
return connection._execute_ddl(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1050, in _execute_ddl
compiled,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1253, in _execute_context
e, statement, parameters, cursor, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1473, in _handle_dbapi_exception
util.raise_from_cause(sqlalchemy_exception, exc_info)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 398, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb, cause=cause)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 152, in reraise
raise value.with_traceback(tb)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
sqlalchemy.exc.InternalError: (pymysql.err.InternalError) (3822, "Duplicate check constraint name 'top_domain_check'.")
[SQL:
CREATE TABLE domains_organizations (
id INTEGER NOT NULL AUTO_INCREMENT,
domain VARCHAR(128) NOT NULL,
is_top_domain BOOL,
organization_id INTEGER NOT NULL,
PRIMARY KEY (id),
CONSTRAINT _domain_unique UNIQUE (domain),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
FOREIGN KEY(organization_id) REFERENCES organizations (id) ON DELETE CASCADE ON UPDATE CASCADE
)DEFAULT CHARSET=utf8mb4 COLLATE utf8mb4_unicode_520_ci
]
(Background on this error at: http://sqlalche.me/e/2j85)
======================================================================
ERROR: test_refresh_identities (test_nntp.TestNNTP)
Test refresh identities
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
pymysql.err.InternalError: (3822, "Duplicate check constraint name 'top_domain_check'.")
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/test_nntp.py", line 110, in test_refresh_identities
result = self._test_refresh_identities()
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/base.py", line 230, in _test_refresh_identities
db_password=self.db_password)
File "../grimoire_elk/enriched/mbox.py", line 72, in __init__
db_user, db_password, db_host)
File "../grimoire_elk/enriched/enrich.py", line 122, in __init__
Enrich.sh_db = Database(db_user, db_password, db_sortinghat, db_host)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 58, in __init__
self.__create_schema(self._engine)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 170, in __create_schema
ModelBase.metadata.create_all(engine)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/schema.py", line 4304, in create_all
ddl.SchemaGenerator, self, checkfirst=checkfirst, tables=tables
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 2046, in _run_visitor
conn._run_visitor(visitorcallable, element, **kwargs)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1615, in _run_visitor
visitorcallable(self.dialect, self, **kwargs).traverse_single(element)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 781, in visit_metadata
_is_metadata_operation=True,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 826, in visit_table
include_foreign_key_constraints,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 988, in execute
return meth(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 72, in _execute_on_connection
return connection._execute_ddl(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1050, in _execute_ddl
compiled,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1253, in _execute_context
e, statement, parameters, cursor, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1473, in _handle_dbapi_exception
util.raise_from_cause(sqlalchemy_exception, exc_info)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 398, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb, cause=cause)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 152, in reraise
raise value.with_traceback(tb)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
sqlalchemy.exc.InternalError: (pymysql.err.InternalError) (3822, "Duplicate check constraint name 'top_domain_check'.")
[SQL:
CREATE TABLE domains_organizations (
id INTEGER NOT NULL AUTO_INCREMENT,
domain VARCHAR(128) NOT NULL,
is_top_domain BOOL,
organization_id INTEGER NOT NULL,
PRIMARY KEY (id),
CONSTRAINT _domain_unique UNIQUE (domain),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
FOREIGN KEY(organization_id) REFERENCES organizations (id) ON DELETE CASCADE ON UPDATE CASCADE
)DEFAULT CHARSET=utf8mb4 COLLATE utf8mb4_unicode_520_ci
]
(Background on this error at: http://sqlalche.me/e/2j85)
======================================================================
ERROR: test_raw_to_enrich_sorting_hat (test_phabricator.TestPhabricator)
Test enrich with SortingHat
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
pymysql.err.InternalError: (3822, "Duplicate check constraint name 'top_domain_check'.")
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/test_phabricator.py", line 71, in test_raw_to_enrich_sorting_hat
result = self._test_raw_to_enrich(sortinghat=True)
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/base.py", line 178, in _test_raw_to_enrich
db_password=self.db_password)
File "../grimoire_elk/enriched/phabricator.py", line 79, in __init__
super().__init__(db_sortinghat, db_projects_map, json_projects_map, db_user, db_password, db_host)
File "../grimoire_elk/enriched/enrich.py", line 122, in __init__
Enrich.sh_db = Database(db_user, db_password, db_sortinghat, db_host)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 58, in __init__
self.__create_schema(self._engine)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 170, in __create_schema
ModelBase.metadata.create_all(engine)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/schema.py", line 4304, in create_all
ddl.SchemaGenerator, self, checkfirst=checkfirst, tables=tables
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 2046, in _run_visitor
conn._run_visitor(visitorcallable, element, **kwargs)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1615, in _run_visitor
visitorcallable(self.dialect, self, **kwargs).traverse_single(element)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 781, in visit_metadata
_is_metadata_operation=True,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 826, in visit_table
include_foreign_key_constraints,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 988, in execute
return meth(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 72, in _execute_on_connection
return connection._execute_ddl(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1050, in _execute_ddl
compiled,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1253, in _execute_context
e, statement, parameters, cursor, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1473, in _handle_dbapi_exception
util.raise_from_cause(sqlalchemy_exception, exc_info)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 398, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb, cause=cause)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 152, in reraise
raise value.with_traceback(tb)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
sqlalchemy.exc.InternalError: (pymysql.err.InternalError) (3822, "Duplicate check constraint name 'top_domain_check'.")
[SQL:
CREATE TABLE domains_organizations (
id INTEGER NOT NULL AUTO_INCREMENT,
domain VARCHAR(128) NOT NULL,
is_top_domain BOOL,
organization_id INTEGER NOT NULL,
PRIMARY KEY (id),
CONSTRAINT _domain_unique UNIQUE (domain),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
FOREIGN KEY(organization_id) REFERENCES organizations (id) ON DELETE CASCADE ON UPDATE CASCADE
)DEFAULT CHARSET=utf8mb4 COLLATE utf8mb4_unicode_520_ci
]
(Background on this error at: http://sqlalche.me/e/2j85)
======================================================================
ERROR: test_refresh_identities (test_phabricator.TestPhabricator)
Test refresh identities
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
pymysql.err.InternalError: (3822, "Duplicate check constraint name 'top_domain_check'.")
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/test_phabricator.py", line 85, in test_refresh_identities
result = self._test_refresh_identities()
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/base.py", line 230, in _test_refresh_identities
db_password=self.db_password)
File "../grimoire_elk/enriched/phabricator.py", line 79, in __init__
super().__init__(db_sortinghat, db_projects_map, json_projects_map, db_user, db_password, db_host)
File "../grimoire_elk/enriched/enrich.py", line 122, in __init__
Enrich.sh_db = Database(db_user, db_password, db_sortinghat, db_host)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 58, in __init__
self.__create_schema(self._engine)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 170, in __create_schema
ModelBase.metadata.create_all(engine)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/schema.py", line 4304, in create_all
ddl.SchemaGenerator, self, checkfirst=checkfirst, tables=tables
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 2046, in _run_visitor
conn._run_visitor(visitorcallable, element, **kwargs)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1615, in _run_visitor
visitorcallable(self.dialect, self, **kwargs).traverse_single(element)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 781, in visit_metadata
_is_metadata_operation=True,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 826, in visit_table
include_foreign_key_constraints,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 988, in execute
return meth(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 72, in _execute_on_connection
return connection._execute_ddl(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1050, in _execute_ddl
compiled,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1253, in _execute_context
e, statement, parameters, cursor, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1473, in _handle_dbapi_exception
util.raise_from_cause(sqlalchemy_exception, exc_info)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 398, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb, cause=cause)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 152, in reraise
raise value.with_traceback(tb)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
sqlalchemy.exc.InternalError: (pymysql.err.InternalError) (3822, "Duplicate check constraint name 'top_domain_check'.")
[SQL:
CREATE TABLE domains_organizations (
id INTEGER NOT NULL AUTO_INCREMENT,
domain VARCHAR(128) NOT NULL,
is_top_domain BOOL,
organization_id INTEGER NOT NULL,
PRIMARY KEY (id),
CONSTRAINT _domain_unique UNIQUE (domain),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
FOREIGN KEY(organization_id) REFERENCES organizations (id) ON DELETE CASCADE ON UPDATE CASCADE
)DEFAULT CHARSET=utf8mb4 COLLATE utf8mb4_unicode_520_ci
]
(Background on this error at: http://sqlalche.me/e/2j85)
======================================================================
ERROR: test_raw_to_enrich_sorting_hat (test_pipermail.TestPipermail)
Test enrich with SortingHat
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
pymysql.err.InternalError: (3822, "Duplicate check constraint name 'top_domain_check'.")
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/test_pipermail.py", line 81, in test_raw_to_enrich_sorting_hat
result = self._test_raw_to_enrich(sortinghat=True)
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/base.py", line 178, in _test_raw_to_enrich
db_password=self.db_password)
File "../grimoire_elk/enriched/mbox.py", line 72, in __init__
db_user, db_password, db_host)
File "../grimoire_elk/enriched/enrich.py", line 122, in __init__
Enrich.sh_db = Database(db_user, db_password, db_sortinghat, db_host)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 58, in __init__
self.__create_schema(self._engine)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 170, in __create_schema
ModelBase.metadata.create_all(engine)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/schema.py", line 4304, in create_all
ddl.SchemaGenerator, self, checkfirst=checkfirst, tables=tables
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 2046, in _run_visitor
conn._run_visitor(visitorcallable, element, **kwargs)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1615, in _run_visitor
visitorcallable(self.dialect, self, **kwargs).traverse_single(element)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 781, in visit_metadata
_is_metadata_operation=True,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 826, in visit_table
include_foreign_key_constraints,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 988, in execute
return meth(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 72, in _execute_on_connection
return connection._execute_ddl(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1050, in _execute_ddl
compiled,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1253, in _execute_context
e, statement, parameters, cursor, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1473, in _handle_dbapi_exception
util.raise_from_cause(sqlalchemy_exception, exc_info)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 398, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb, cause=cause)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 152, in reraise
raise value.with_traceback(tb)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
sqlalchemy.exc.InternalError: (pymysql.err.InternalError) (3822, "Duplicate check constraint name 'top_domain_check'.")
[SQL:
CREATE TABLE domains_organizations (
id INTEGER NOT NULL AUTO_INCREMENT,
domain VARCHAR(128) NOT NULL,
is_top_domain BOOL,
organization_id INTEGER NOT NULL,
PRIMARY KEY (id),
CONSTRAINT _domain_unique UNIQUE (domain),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
FOREIGN KEY(organization_id) REFERENCES organizations (id) ON DELETE CASCADE ON UPDATE CASCADE
)DEFAULT CHARSET=utf8mb4 COLLATE utf8mb4_unicode_520_ci
]
(Background on this error at: http://sqlalche.me/e/2j85)
======================================================================
ERROR: test_refresh_identities (test_pipermail.TestPipermail)
Test refresh identities
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
pymysql.err.InternalError: (3822, "Duplicate check constraint name 'top_domain_check'.")
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/test_pipermail.py", line 95, in test_refresh_identities
result = self._test_refresh_identities()
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/base.py", line 230, in _test_refresh_identities
db_password=self.db_password)
File "../grimoire_elk/enriched/mbox.py", line 72, in __init__
db_user, db_password, db_host)
File "../grimoire_elk/enriched/enrich.py", line 122, in __init__
Enrich.sh_db = Database(db_user, db_password, db_sortinghat, db_host)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 58, in __init__
self.__create_schema(self._engine)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 170, in __create_schema
ModelBase.metadata.create_all(engine)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/schema.py", line 4304, in create_all
ddl.SchemaGenerator, self, checkfirst=checkfirst, tables=tables
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 2046, in _run_visitor
conn._run_visitor(visitorcallable, element, **kwargs)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1615, in _run_visitor
visitorcallable(self.dialect, self, **kwargs).traverse_single(element)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 781, in visit_metadata
_is_metadata_operation=True,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 826, in visit_table
include_foreign_key_constraints,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 988, in execute
return meth(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 72, in _execute_on_connection
return connection._execute_ddl(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1050, in _execute_ddl
compiled,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1253, in _execute_context
e, statement, parameters, cursor, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1473, in _handle_dbapi_exception
util.raise_from_cause(sqlalchemy_exception, exc_info)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 398, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb, cause=cause)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 152, in reraise
raise value.with_traceback(tb)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
sqlalchemy.exc.InternalError: (pymysql.err.InternalError) (3822, "Duplicate check constraint name 'top_domain_check'.")
[SQL:
CREATE TABLE domains_organizations (
id INTEGER NOT NULL AUTO_INCREMENT,
domain VARCHAR(128) NOT NULL,
is_top_domain BOOL,
organization_id INTEGER NOT NULL,
PRIMARY KEY (id),
CONSTRAINT _domain_unique UNIQUE (domain),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
FOREIGN KEY(organization_id) REFERENCES organizations (id) ON DELETE CASCADE ON UPDATE CASCADE
)DEFAULT CHARSET=utf8mb4 COLLATE utf8mb4_unicode_520_ci
]
(Background on this error at: http://sqlalche.me/e/2j85)
======================================================================
ERROR: test_raw_to_enrich_sorting_hat (test_puppetforge.TestPuppetForge)
Test enrich with SortingHat
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
pymysql.err.InternalError: (3822, "Duplicate check constraint name 'top_domain_check'.")
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/test_puppetforge.py", line 71, in test_raw_to_enrich_sorting_hat
result = self._test_raw_to_enrich(sortinghat=True)
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/base.py", line 178, in _test_raw_to_enrich
db_password=self.db_password)
File "../grimoire_elk/enriched/enrich.py", line 122, in __init__
Enrich.sh_db = Database(db_user, db_password, db_sortinghat, db_host)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 58, in __init__
self.__create_schema(self._engine)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 170, in __create_schema
ModelBase.metadata.create_all(engine)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/schema.py", line 4304, in create_all
ddl.SchemaGenerator, self, checkfirst=checkfirst, tables=tables
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 2046, in _run_visitor
conn._run_visitor(visitorcallable, element, **kwargs)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1615, in _run_visitor
visitorcallable(self.dialect, self, **kwargs).traverse_single(element)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 781, in visit_metadata
_is_metadata_operation=True,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 826, in visit_table
include_foreign_key_constraints,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 988, in execute
return meth(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 72, in _execute_on_connection
return connection._execute_ddl(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1050, in _execute_ddl
compiled,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1253, in _execute_context
e, statement, parameters, cursor, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1473, in _handle_dbapi_exception
util.raise_from_cause(sqlalchemy_exception, exc_info)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 398, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb, cause=cause)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 152, in reraise
raise value.with_traceback(tb)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
sqlalchemy.exc.InternalError: (pymysql.err.InternalError) (3822, "Duplicate check constraint name 'top_domain_check'.")
[SQL:
CREATE TABLE domains_organizations (
id INTEGER NOT NULL AUTO_INCREMENT,
domain VARCHAR(128) NOT NULL,
is_top_domain BOOL,
organization_id INTEGER NOT NULL,
PRIMARY KEY (id),
CONSTRAINT _domain_unique UNIQUE (domain),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
FOREIGN KEY(organization_id) REFERENCES organizations (id) ON DELETE CASCADE ON UPDATE CASCADE
)DEFAULT CHARSET=utf8mb4 COLLATE utf8mb4_unicode_520_ci
]
(Background on this error at: http://sqlalche.me/e/2j85)
======================================================================
ERROR: test_refresh_identities (test_puppetforge.TestPuppetForge)
Test refresh identities
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
pymysql.err.InternalError: (3822, "Duplicate check constraint name 'top_domain_check'.")
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/test_puppetforge.py", line 85, in test_refresh_identities
result = self._test_refresh_identities()
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/base.py", line 230, in _test_refresh_identities
db_password=self.db_password)
File "../grimoire_elk/enriched/enrich.py", line 122, in __init__
Enrich.sh_db = Database(db_user, db_password, db_sortinghat, db_host)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 58, in __init__
self.__create_schema(self._engine)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 170, in __create_schema
ModelBase.metadata.create_all(engine)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/schema.py", line 4304, in create_all
ddl.SchemaGenerator, self, checkfirst=checkfirst, tables=tables
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 2046, in _run_visitor
conn._run_visitor(visitorcallable, element, **kwargs)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1615, in _run_visitor
visitorcallable(self.dialect, self, **kwargs).traverse_single(element)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 781, in visit_metadata
_is_metadata_operation=True,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 826, in visit_table
include_foreign_key_constraints,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 988, in execute
return meth(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 72, in _execute_on_connection
return connection._execute_ddl(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1050, in _execute_ddl
compiled,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1253, in _execute_context
e, statement, parameters, cursor, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1473, in _handle_dbapi_exception
util.raise_from_cause(sqlalchemy_exception, exc_info)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 398, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb, cause=cause)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 152, in reraise
raise value.with_traceback(tb)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
sqlalchemy.exc.InternalError: (pymysql.err.InternalError) (3822, "Duplicate check constraint name 'top_domain_check'.")
[SQL:
CREATE TABLE domains_organizations (
id INTEGER NOT NULL AUTO_INCREMENT,
domain VARCHAR(128) NOT NULL,
is_top_domain BOOL,
organization_id INTEGER NOT NULL,
PRIMARY KEY (id),
CONSTRAINT _domain_unique UNIQUE (domain),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
FOREIGN KEY(organization_id) REFERENCES organizations (id) ON DELETE CASCADE ON UPDATE CASCADE
)DEFAULT CHARSET=utf8mb4 COLLATE utf8mb4_unicode_520_ci
]
(Background on this error at: http://sqlalche.me/e/2j85)
======================================================================
ERROR: test_raw_to_enrich_sorting_hat (test_redmine.TestRedmine)
Test enrich with SortingHat
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
pymysql.err.InternalError: (3822, "Duplicate check constraint name 'top_domain_check'.")
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/test_redmine.py", line 85, in test_raw_to_enrich_sorting_hat
result = self._test_raw_to_enrich(sortinghat=True)
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/base.py", line 178, in _test_raw_to_enrich
db_password=self.db_password)
File "../grimoire_elk/enriched/enrich.py", line 122, in __init__
Enrich.sh_db = Database(db_user, db_password, db_sortinghat, db_host)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 58, in __init__
self.__create_schema(self._engine)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 170, in __create_schema
ModelBase.metadata.create_all(engine)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/schema.py", line 4304, in create_all
ddl.SchemaGenerator, self, checkfirst=checkfirst, tables=tables
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 2046, in _run_visitor
conn._run_visitor(visitorcallable, element, **kwargs)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1615, in _run_visitor
visitorcallable(self.dialect, self, **kwargs).traverse_single(element)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 781, in visit_metadata
_is_metadata_operation=True,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 826, in visit_table
include_foreign_key_constraints,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 988, in execute
return meth(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 72, in _execute_on_connection
return connection._execute_ddl(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1050, in _execute_ddl
compiled,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1253, in _execute_context
e, statement, parameters, cursor, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1473, in _handle_dbapi_exception
util.raise_from_cause(sqlalchemy_exception, exc_info)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 398, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb, cause=cause)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 152, in reraise
raise value.with_traceback(tb)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
sqlalchemy.exc.InternalError: (pymysql.err.InternalError) (3822, "Duplicate check constraint name 'top_domain_check'.")
[SQL:
CREATE TABLE domains_organizations (
id INTEGER NOT NULL AUTO_INCREMENT,
domain VARCHAR(128) NOT NULL,
is_top_domain BOOL,
organization_id INTEGER NOT NULL,
PRIMARY KEY (id),
CONSTRAINT _domain_unique UNIQUE (domain),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
FOREIGN KEY(organization_id) REFERENCES organizations (id) ON DELETE CASCADE ON UPDATE CASCADE
)DEFAULT CHARSET=utf8mb4 COLLATE utf8mb4_unicode_520_ci
]
(Background on this error at: http://sqlalche.me/e/2j85)
======================================================================
ERROR: test_refresh_identities (test_redmine.TestRedmine)
Test refresh identities
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
pymysql.err.InternalError: (3822, "Duplicate check constraint name 'top_domain_check'.")
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/test_redmine.py", line 107, in test_refresh_identities
result = self._test_refresh_identities()
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/base.py", line 230, in _test_refresh_identities
db_password=self.db_password)
File "../grimoire_elk/enriched/enrich.py", line 122, in __init__
Enrich.sh_db = Database(db_user, db_password, db_sortinghat, db_host)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 58, in __init__
self.__create_schema(self._engine)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 170, in __create_schema
ModelBase.metadata.create_all(engine)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/schema.py", line 4304, in create_all
ddl.SchemaGenerator, self, checkfirst=checkfirst, tables=tables
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 2046, in _run_visitor
conn._run_visitor(visitorcallable, element, **kwargs)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1615, in _run_visitor
visitorcallable(self.dialect, self, **kwargs).traverse_single(element)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 781, in visit_metadata
_is_metadata_operation=True,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 826, in visit_table
include_foreign_key_constraints,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 988, in execute
return meth(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 72, in _execute_on_connection
return connection._execute_ddl(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1050, in _execute_ddl
compiled,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1253, in _execute_context
e, statement, parameters, cursor, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1473, in _handle_dbapi_exception
util.raise_from_cause(sqlalchemy_exception, exc_info)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 398, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb, cause=cause)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 152, in reraise
raise value.with_traceback(tb)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
sqlalchemy.exc.InternalError: (pymysql.err.InternalError) (3822, "Duplicate check constraint name 'top_domain_check'.")
[SQL:
CREATE TABLE domains_organizations (
id INTEGER NOT NULL AUTO_INCREMENT,
domain VARCHAR(128) NOT NULL,
is_top_domain BOOL,
organization_id INTEGER NOT NULL,
PRIMARY KEY (id),
CONSTRAINT _domain_unique UNIQUE (domain),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
FOREIGN KEY(organization_id) REFERENCES organizations (id) ON DELETE CASCADE ON UPDATE CASCADE
)DEFAULT CHARSET=utf8mb4 COLLATE utf8mb4_unicode_520_ci
]
(Background on this error at: http://sqlalche.me/e/2j85)
======================================================================
ERROR: test_raw_to_enrich_sorting_hat (test_remo.TestRemo)
Test enrich with SortingHat
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
pymysql.err.InternalError: (3822, "Duplicate check constraint name 'top_domain_check'.")
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/test_remo.py", line 71, in test_raw_to_enrich_sorting_hat
result = self._test_raw_to_enrich(sortinghat=True)
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/base.py", line 178, in _test_raw_to_enrich
db_password=self.db_password)
File "../grimoire_elk/enriched/remo.py", line 64, in __init__
db_user, db_password, db_host)
File "../grimoire_elk/enriched/enrich.py", line 122, in __init__
Enrich.sh_db = Database(db_user, db_password, db_sortinghat, db_host)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 58, in __init__
self.__create_schema(self._engine)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 170, in __create_schema
ModelBase.metadata.create_all(engine)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/schema.py", line 4304, in create_all
ddl.SchemaGenerator, self, checkfirst=checkfirst, tables=tables
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 2046, in _run_visitor
conn._run_visitor(visitorcallable, element, **kwargs)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1615, in _run_visitor
visitorcallable(self.dialect, self, **kwargs).traverse_single(element)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 781, in visit_metadata
_is_metadata_operation=True,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 826, in visit_table
include_foreign_key_constraints,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 988, in execute
return meth(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 72, in _execute_on_connection
return connection._execute_ddl(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1050, in _execute_ddl
compiled,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1253, in _execute_context
e, statement, parameters, cursor, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1473, in _handle_dbapi_exception
util.raise_from_cause(sqlalchemy_exception, exc_info)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 398, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb, cause=cause)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 152, in reraise
raise value.with_traceback(tb)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
sqlalchemy.exc.InternalError: (pymysql.err.InternalError) (3822, "Duplicate check constraint name 'top_domain_check'.")
[SQL:
CREATE TABLE domains_organizations (
id INTEGER NOT NULL AUTO_INCREMENT,
domain VARCHAR(128) NOT NULL,
is_top_domain BOOL,
organization_id INTEGER NOT NULL,
PRIMARY KEY (id),
CONSTRAINT _domain_unique UNIQUE (domain),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
FOREIGN KEY(organization_id) REFERENCES organizations (id) ON DELETE CASCADE ON UPDATE CASCADE
)DEFAULT CHARSET=utf8mb4 COLLATE utf8mb4_unicode_520_ci
]
(Background on this error at: http://sqlalche.me/e/2j85)
======================================================================
ERROR: test_refresh_identities (test_remo.TestRemo)
Test refresh identities
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
pymysql.err.InternalError: (3822, "Duplicate check constraint name 'top_domain_check'.")
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/test_remo.py", line 85, in test_refresh_identities
result = self._test_refresh_identities()
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/base.py", line 230, in _test_refresh_identities
db_password=self.db_password)
File "../grimoire_elk/enriched/remo.py", line 64, in __init__
db_user, db_password, db_host)
File "../grimoire_elk/enriched/enrich.py", line 122, in __init__
Enrich.sh_db = Database(db_user, db_password, db_sortinghat, db_host)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 58, in __init__
self.__create_schema(self._engine)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 170, in __create_schema
ModelBase.metadata.create_all(engine)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/schema.py", line 4304, in create_all
ddl.SchemaGenerator, self, checkfirst=checkfirst, tables=tables
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 2046, in _run_visitor
conn._run_visitor(visitorcallable, element, **kwargs)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1615, in _run_visitor
visitorcallable(self.dialect, self, **kwargs).traverse_single(element)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 781, in visit_metadata
_is_metadata_operation=True,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 826, in visit_table
include_foreign_key_constraints,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 988, in execute
return meth(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 72, in _execute_on_connection
return connection._execute_ddl(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1050, in _execute_ddl
compiled,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1253, in _execute_context
e, statement, parameters, cursor, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1473, in _handle_dbapi_exception
util.raise_from_cause(sqlalchemy_exception, exc_info)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 398, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb, cause=cause)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 152, in reraise
raise value.with_traceback(tb)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
sqlalchemy.exc.InternalError: (pymysql.err.InternalError) (3822, "Duplicate check constraint name 'top_domain_check'.")
[SQL:
CREATE TABLE domains_organizations (
id INTEGER NOT NULL AUTO_INCREMENT,
domain VARCHAR(128) NOT NULL,
is_top_domain BOOL,
organization_id INTEGER NOT NULL,
PRIMARY KEY (id),
CONSTRAINT _domain_unique UNIQUE (domain),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
FOREIGN KEY(organization_id) REFERENCES organizations (id) ON DELETE CASCADE ON UPDATE CASCADE
)DEFAULT CHARSET=utf8mb4 COLLATE utf8mb4_unicode_520_ci
]
(Background on this error at: http://sqlalche.me/e/2j85)
======================================================================
ERROR: test_raw_to_enrich_sorting_hat (test_rss.TestRSS)
Test enrich with SortingHat
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
pymysql.err.InternalError: (3822, "Duplicate check constraint name 'top_domain_check'.")
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/test_rss.py", line 71, in test_raw_to_enrich_sorting_hat
result = self._test_raw_to_enrich(sortinghat=True)
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/base.py", line 178, in _test_raw_to_enrich
db_password=self.db_password)
File "../grimoire_elk/enriched/enrich.py", line 122, in __init__
Enrich.sh_db = Database(db_user, db_password, db_sortinghat, db_host)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 58, in __init__
self.__create_schema(self._engine)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 170, in __create_schema
ModelBase.metadata.create_all(engine)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/schema.py", line 4304, in create_all
ddl.SchemaGenerator, self, checkfirst=checkfirst, tables=tables
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 2046, in _run_visitor
conn._run_visitor(visitorcallable, element, **kwargs)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1615, in _run_visitor
visitorcallable(self.dialect, self, **kwargs).traverse_single(element)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 781, in visit_metadata
_is_metadata_operation=True,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 826, in visit_table
include_foreign_key_constraints,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 988, in execute
return meth(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 72, in _execute_on_connection
return connection._execute_ddl(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1050, in _execute_ddl
compiled,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1253, in _execute_context
e, statement, parameters, cursor, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1473, in _handle_dbapi_exception
util.raise_from_cause(sqlalchemy_exception, exc_info)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 398, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb, cause=cause)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 152, in reraise
raise value.with_traceback(tb)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
sqlalchemy.exc.InternalError: (pymysql.err.InternalError) (3822, "Duplicate check constraint name 'top_domain_check'.")
[SQL:
CREATE TABLE domains_organizations (
id INTEGER NOT NULL AUTO_INCREMENT,
domain VARCHAR(128) NOT NULL,
is_top_domain BOOL,
organization_id INTEGER NOT NULL,
PRIMARY KEY (id),
CONSTRAINT _domain_unique UNIQUE (domain),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
FOREIGN KEY(organization_id) REFERENCES organizations (id) ON DELETE CASCADE ON UPDATE CASCADE
)DEFAULT CHARSET=utf8mb4 COLLATE utf8mb4_unicode_520_ci
]
(Background on this error at: http://sqlalche.me/e/2j85)
======================================================================
ERROR: test_refresh_identities (test_rss.TestRSS)
Test refresh identities
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
pymysql.err.InternalError: (3822, "Duplicate check constraint name 'top_domain_check'.")
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/test_rss.py", line 85, in test_refresh_identities
result = self._test_refresh_identities()
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/base.py", line 230, in _test_refresh_identities
db_password=self.db_password)
File "../grimoire_elk/enriched/enrich.py", line 122, in __init__
Enrich.sh_db = Database(db_user, db_password, db_sortinghat, db_host)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 58, in __init__
self.__create_schema(self._engine)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 170, in __create_schema
ModelBase.metadata.create_all(engine)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/schema.py", line 4304, in create_all
ddl.SchemaGenerator, self, checkfirst=checkfirst, tables=tables
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 2046, in _run_visitor
conn._run_visitor(visitorcallable, element, **kwargs)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1615, in _run_visitor
visitorcallable(self.dialect, self, **kwargs).traverse_single(element)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 781, in visit_metadata
_is_metadata_operation=True,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 826, in visit_table
include_foreign_key_constraints,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 988, in execute
return meth(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 72, in _execute_on_connection
return connection._execute_ddl(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1050, in _execute_ddl
compiled,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1253, in _execute_context
e, statement, parameters, cursor, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1473, in _handle_dbapi_exception
util.raise_from_cause(sqlalchemy_exception, exc_info)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 398, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb, cause=cause)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 152, in reraise
raise value.with_traceback(tb)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
sqlalchemy.exc.InternalError: (pymysql.err.InternalError) (3822, "Duplicate check constraint name 'top_domain_check'.")
[SQL:
CREATE TABLE domains_organizations (
id INTEGER NOT NULL AUTO_INCREMENT,
domain VARCHAR(128) NOT NULL,
is_top_domain BOOL,
organization_id INTEGER NOT NULL,
PRIMARY KEY (id),
CONSTRAINT _domain_unique UNIQUE (domain),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
FOREIGN KEY(organization_id) REFERENCES organizations (id) ON DELETE CASCADE ON UPDATE CASCADE
)DEFAULT CHARSET=utf8mb4 COLLATE utf8mb4_unicode_520_ci
]
(Background on this error at: http://sqlalche.me/e/2j85)
======================================================================
ERROR: test_raw_to_enrich_sorting_hat (test_slack.TestSlack)
Test enrich with SortingHat
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
pymysql.err.InternalError: (3822, "Duplicate check constraint name 'top_domain_check'.")
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/test_slack.py", line 88, in test_raw_to_enrich_sorting_hat
result = self._test_raw_to_enrich(sortinghat=True)
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/base.py", line 178, in _test_raw_to_enrich
db_password=self.db_password)
File "../grimoire_elk/enriched/enrich.py", line 122, in __init__
Enrich.sh_db = Database(db_user, db_password, db_sortinghat, db_host)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 58, in __init__
self.__create_schema(self._engine)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 170, in __create_schema
ModelBase.metadata.create_all(engine)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/schema.py", line 4304, in create_all
ddl.SchemaGenerator, self, checkfirst=checkfirst, tables=tables
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 2046, in _run_visitor
conn._run_visitor(visitorcallable, element, **kwargs)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1615, in _run_visitor
visitorcallable(self.dialect, self, **kwargs).traverse_single(element)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 781, in visit_metadata
_is_metadata_operation=True,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 826, in visit_table
include_foreign_key_constraints,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 988, in execute
return meth(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 72, in _execute_on_connection
return connection._execute_ddl(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1050, in _execute_ddl
compiled,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1253, in _execute_context
e, statement, parameters, cursor, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1473, in _handle_dbapi_exception
util.raise_from_cause(sqlalchemy_exception, exc_info)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 398, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb, cause=cause)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 152, in reraise
raise value.with_traceback(tb)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
sqlalchemy.exc.InternalError: (pymysql.err.InternalError) (3822, "Duplicate check constraint name 'top_domain_check'.")
[SQL:
CREATE TABLE domains_organizations (
id INTEGER NOT NULL AUTO_INCREMENT,
domain VARCHAR(128) NOT NULL,
is_top_domain BOOL,
organization_id INTEGER NOT NULL,
PRIMARY KEY (id),
CONSTRAINT _domain_unique UNIQUE (domain),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
FOREIGN KEY(organization_id) REFERENCES organizations (id) ON DELETE CASCADE ON UPDATE CASCADE
)DEFAULT CHARSET=utf8mb4 COLLATE utf8mb4_unicode_520_ci
]
(Background on this error at: http://sqlalche.me/e/2j85)
======================================================================
ERROR: test_refresh_identities (test_slack.TestSlack)
Test refresh identities
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
pymysql.err.InternalError: (3822, "Duplicate check constraint name 'top_domain_check'.")
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/test_slack.py", line 127, in test_refresh_identities
result = self._test_refresh_identities()
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/base.py", line 230, in _test_refresh_identities
db_password=self.db_password)
File "../grimoire_elk/enriched/enrich.py", line 122, in __init__
Enrich.sh_db = Database(db_user, db_password, db_sortinghat, db_host)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 58, in __init__
self.__create_schema(self._engine)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 170, in __create_schema
ModelBase.metadata.create_all(engine)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/schema.py", line 4304, in create_all
ddl.SchemaGenerator, self, checkfirst=checkfirst, tables=tables
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 2046, in _run_visitor
conn._run_visitor(visitorcallable, element, **kwargs)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1615, in _run_visitor
visitorcallable(self.dialect, self, **kwargs).traverse_single(element)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 781, in visit_metadata
_is_metadata_operation=True,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 826, in visit_table
include_foreign_key_constraints,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 988, in execute
return meth(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 72, in _execute_on_connection
return connection._execute_ddl(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1050, in _execute_ddl
compiled,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1253, in _execute_context
e, statement, parameters, cursor, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1473, in _handle_dbapi_exception
util.raise_from_cause(sqlalchemy_exception, exc_info)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 398, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb, cause=cause)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 152, in reraise
raise value.with_traceback(tb)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
sqlalchemy.exc.InternalError: (pymysql.err.InternalError) (3822, "Duplicate check constraint name 'top_domain_check'.")
[SQL:
CREATE TABLE domains_organizations (
id INTEGER NOT NULL AUTO_INCREMENT,
domain VARCHAR(128) NOT NULL,
is_top_domain BOOL,
organization_id INTEGER NOT NULL,
PRIMARY KEY (id),
CONSTRAINT _domain_unique UNIQUE (domain),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
FOREIGN KEY(organization_id) REFERENCES organizations (id) ON DELETE CASCADE ON UPDATE CASCADE
)DEFAULT CHARSET=utf8mb4 COLLATE utf8mb4_unicode_520_ci
]
(Background on this error at: http://sqlalche.me/e/2j85)
======================================================================
ERROR: test_raw_to_enrich_sorting_hat (test_stackexchange.TestStackexchange)
Test enrich with SortingHat
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
pymysql.err.InternalError: (3822, "Duplicate check constraint name 'top_domain_check'.")
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/test_stackexchange.py", line 70, in test_raw_to_enrich_sorting_hat
result = self._test_raw_to_enrich(sortinghat=True)
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/base.py", line 178, in _test_raw_to_enrich
db_password=self.db_password)
File "../grimoire_elk/enriched/enrich.py", line 122, in __init__
Enrich.sh_db = Database(db_user, db_password, db_sortinghat, db_host)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 58, in __init__
self.__create_schema(self._engine)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 170, in __create_schema
ModelBase.metadata.create_all(engine)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/schema.py", line 4304, in create_all
ddl.SchemaGenerator, self, checkfirst=checkfirst, tables=tables
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 2046, in _run_visitor
conn._run_visitor(visitorcallable, element, **kwargs)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1615, in _run_visitor
visitorcallable(self.dialect, self, **kwargs).traverse_single(element)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 781, in visit_metadata
_is_metadata_operation=True,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 826, in visit_table
include_foreign_key_constraints,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 988, in execute
return meth(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 72, in _execute_on_connection
return connection._execute_ddl(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1050, in _execute_ddl
compiled,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1253, in _execute_context
e, statement, parameters, cursor, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1473, in _handle_dbapi_exception
util.raise_from_cause(sqlalchemy_exception, exc_info)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 398, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb, cause=cause)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 152, in reraise
raise value.with_traceback(tb)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
sqlalchemy.exc.InternalError: (pymysql.err.InternalError) (3822, "Duplicate check constraint name 'top_domain_check'.")
[SQL:
CREATE TABLE domains_organizations (
id INTEGER NOT NULL AUTO_INCREMENT,
domain VARCHAR(128) NOT NULL,
is_top_domain BOOL,
organization_id INTEGER NOT NULL,
PRIMARY KEY (id),
CONSTRAINT _domain_unique UNIQUE (domain),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
FOREIGN KEY(organization_id) REFERENCES organizations (id) ON DELETE CASCADE ON UPDATE CASCADE
)DEFAULT CHARSET=utf8mb4 COLLATE utf8mb4_unicode_520_ci
]
(Background on this error at: http://sqlalche.me/e/2j85)
======================================================================
ERROR: test_refresh_identities (test_stackexchange.TestStackexchange)
Test refresh identities
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
pymysql.err.InternalError: (3822, "Duplicate check constraint name 'top_domain_check'.")
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/test_stackexchange.py", line 84, in test_refresh_identities
result = self._test_refresh_identities()
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/base.py", line 230, in _test_refresh_identities
db_password=self.db_password)
File "../grimoire_elk/enriched/enrich.py", line 122, in __init__
Enrich.sh_db = Database(db_user, db_password, db_sortinghat, db_host)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 58, in __init__
self.__create_schema(self._engine)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 170, in __create_schema
ModelBase.metadata.create_all(engine)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/schema.py", line 4304, in create_all
ddl.SchemaGenerator, self, checkfirst=checkfirst, tables=tables
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 2046, in _run_visitor
conn._run_visitor(visitorcallable, element, **kwargs)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1615, in _run_visitor
visitorcallable(self.dialect, self, **kwargs).traverse_single(element)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 781, in visit_metadata
_is_metadata_operation=True,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 826, in visit_table
include_foreign_key_constraints,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 988, in execute
return meth(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 72, in _execute_on_connection
return connection._execute_ddl(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1050, in _execute_ddl
compiled,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1253, in _execute_context
e, statement, parameters, cursor, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1473, in _handle_dbapi_exception
util.raise_from_cause(sqlalchemy_exception, exc_info)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 398, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb, cause=cause)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 152, in reraise
raise value.with_traceback(tb)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
sqlalchemy.exc.InternalError: (pymysql.err.InternalError) (3822, "Duplicate check constraint name 'top_domain_check'.")
[SQL:
CREATE TABLE domains_organizations (
id INTEGER NOT NULL AUTO_INCREMENT,
domain VARCHAR(128) NOT NULL,
is_top_domain BOOL,
organization_id INTEGER NOT NULL,
PRIMARY KEY (id),
CONSTRAINT _domain_unique UNIQUE (domain),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
FOREIGN KEY(organization_id) REFERENCES organizations (id) ON DELETE CASCADE ON UPDATE CASCADE
)DEFAULT CHARSET=utf8mb4 COLLATE utf8mb4_unicode_520_ci
]
(Background on this error at: http://sqlalche.me/e/2j85)
======================================================================
ERROR: test_raw_to_enrich_sorting_hat (test_supybot.TestSupybot)
Test enrich with SortingHat
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
pymysql.err.InternalError: (3822, "Duplicate check constraint name 'top_domain_check'.")
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/test_supybot.py", line 70, in test_raw_to_enrich_sorting_hat
result = self._test_raw_to_enrich(sortinghat=True)
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/base.py", line 178, in _test_raw_to_enrich
db_password=self.db_password)
File "../grimoire_elk/enriched/enrich.py", line 122, in __init__
Enrich.sh_db = Database(db_user, db_password, db_sortinghat, db_host)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 58, in __init__
self.__create_schema(self._engine)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 170, in __create_schema
ModelBase.metadata.create_all(engine)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/schema.py", line 4304, in create_all
ddl.SchemaGenerator, self, checkfirst=checkfirst, tables=tables
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 2046, in _run_visitor
conn._run_visitor(visitorcallable, element, **kwargs)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1615, in _run_visitor
visitorcallable(self.dialect, self, **kwargs).traverse_single(element)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 781, in visit_metadata
_is_metadata_operation=True,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 826, in visit_table
include_foreign_key_constraints,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 988, in execute
return meth(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 72, in _execute_on_connection
return connection._execute_ddl(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1050, in _execute_ddl
compiled,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1253, in _execute_context
e, statement, parameters, cursor, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1473, in _handle_dbapi_exception
util.raise_from_cause(sqlalchemy_exception, exc_info)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 398, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb, cause=cause)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 152, in reraise
raise value.with_traceback(tb)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
sqlalchemy.exc.InternalError: (pymysql.err.InternalError) (3822, "Duplicate check constraint name 'top_domain_check'.")
[SQL:
CREATE TABLE domains_organizations (
id INTEGER NOT NULL AUTO_INCREMENT,
domain VARCHAR(128) NOT NULL,
is_top_domain BOOL,
organization_id INTEGER NOT NULL,
PRIMARY KEY (id),
CONSTRAINT _domain_unique UNIQUE (domain),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
FOREIGN KEY(organization_id) REFERENCES organizations (id) ON DELETE CASCADE ON UPDATE CASCADE
)DEFAULT CHARSET=utf8mb4 COLLATE utf8mb4_unicode_520_ci
]
(Background on this error at: http://sqlalche.me/e/2j85)
======================================================================
ERROR: test_refresh_identities (test_supybot.TestSupybot)
Test refresh identities
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
pymysql.err.InternalError: (3822, "Duplicate check constraint name 'top_domain_check'.")
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/test_supybot.py", line 84, in test_refresh_identities
result = self._test_refresh_identities()
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/base.py", line 230, in _test_refresh_identities
db_password=self.db_password)
File "../grimoire_elk/enriched/enrich.py", line 122, in __init__
Enrich.sh_db = Database(db_user, db_password, db_sortinghat, db_host)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 58, in __init__
self.__create_schema(self._engine)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 170, in __create_schema
ModelBase.metadata.create_all(engine)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/schema.py", line 4304, in create_all
ddl.SchemaGenerator, self, checkfirst=checkfirst, tables=tables
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 2046, in _run_visitor
conn._run_visitor(visitorcallable, element, **kwargs)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1615, in _run_visitor
visitorcallable(self.dialect, self, **kwargs).traverse_single(element)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 781, in visit_metadata
_is_metadata_operation=True,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 826, in visit_table
include_foreign_key_constraints,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 988, in execute
return meth(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 72, in _execute_on_connection
return connection._execute_ddl(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1050, in _execute_ddl
compiled,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1253, in _execute_context
e, statement, parameters, cursor, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1473, in _handle_dbapi_exception
util.raise_from_cause(sqlalchemy_exception, exc_info)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 398, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb, cause=cause)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 152, in reraise
raise value.with_traceback(tb)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
sqlalchemy.exc.InternalError: (pymysql.err.InternalError) (3822, "Duplicate check constraint name 'top_domain_check'.")
[SQL:
CREATE TABLE domains_organizations (
id INTEGER NOT NULL AUTO_INCREMENT,
domain VARCHAR(128) NOT NULL,
is_top_domain BOOL,
organization_id INTEGER NOT NULL,
PRIMARY KEY (id),
CONSTRAINT _domain_unique UNIQUE (domain),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
FOREIGN KEY(organization_id) REFERENCES organizations (id) ON DELETE CASCADE ON UPDATE CASCADE
)DEFAULT CHARSET=utf8mb4 COLLATE utf8mb4_unicode_520_ci
]
(Background on this error at: http://sqlalche.me/e/2j85)
======================================================================
ERROR: test_raw_to_enrich_sorting_hat (test_telegram.TestTelegram)
Test enrich with SortingHat
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
pymysql.err.InternalError: (3822, "Duplicate check constraint name 'top_domain_check'.")
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/test_telegram.py", line 71, in test_raw_to_enrich_sorting_hat
result = self._test_raw_to_enrich(sortinghat=True)
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/base.py", line 178, in _test_raw_to_enrich
db_password=self.db_password)
File "../grimoire_elk/enriched/enrich.py", line 122, in __init__
Enrich.sh_db = Database(db_user, db_password, db_sortinghat, db_host)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 58, in __init__
self.__create_schema(self._engine)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 170, in __create_schema
ModelBase.metadata.create_all(engine)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/schema.py", line 4304, in create_all
ddl.SchemaGenerator, self, checkfirst=checkfirst, tables=tables
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 2046, in _run_visitor
conn._run_visitor(visitorcallable, element, **kwargs)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1615, in _run_visitor
visitorcallable(self.dialect, self, **kwargs).traverse_single(element)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 781, in visit_metadata
_is_metadata_operation=True,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 826, in visit_table
include_foreign_key_constraints,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 988, in execute
return meth(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 72, in _execute_on_connection
return connection._execute_ddl(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1050, in _execute_ddl
compiled,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1253, in _execute_context
e, statement, parameters, cursor, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1473, in _handle_dbapi_exception
util.raise_from_cause(sqlalchemy_exception, exc_info)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 398, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb, cause=cause)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 152, in reraise
raise value.with_traceback(tb)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
sqlalchemy.exc.InternalError: (pymysql.err.InternalError) (3822, "Duplicate check constraint name 'top_domain_check'.")
[SQL:
CREATE TABLE domains_organizations (
id INTEGER NOT NULL AUTO_INCREMENT,
domain VARCHAR(128) NOT NULL,
is_top_domain BOOL,
organization_id INTEGER NOT NULL,
PRIMARY KEY (id),
CONSTRAINT _domain_unique UNIQUE (domain),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
FOREIGN KEY(organization_id) REFERENCES organizations (id) ON DELETE CASCADE ON UPDATE CASCADE
)DEFAULT CHARSET=utf8mb4 COLLATE utf8mb4_unicode_520_ci
]
(Background on this error at: http://sqlalche.me/e/2j85)
======================================================================
ERROR: test_refresh_identities (test_telegram.TestTelegram)
Test refresh identities
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
pymysql.err.InternalError: (3822, "Duplicate check constraint name 'top_domain_check'.")
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/test_telegram.py", line 85, in test_refresh_identities
result = self._test_refresh_identities()
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/base.py", line 230, in _test_refresh_identities
db_password=self.db_password)
File "../grimoire_elk/enriched/enrich.py", line 122, in __init__
Enrich.sh_db = Database(db_user, db_password, db_sortinghat, db_host)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 58, in __init__
self.__create_schema(self._engine)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 170, in __create_schema
ModelBase.metadata.create_all(engine)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/schema.py", line 4304, in create_all
ddl.SchemaGenerator, self, checkfirst=checkfirst, tables=tables
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 2046, in _run_visitor
conn._run_visitor(visitorcallable, element, **kwargs)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1615, in _run_visitor
visitorcallable(self.dialect, self, **kwargs).traverse_single(element)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 781, in visit_metadata
_is_metadata_operation=True,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 826, in visit_table
include_foreign_key_constraints,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 988, in execute
return meth(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 72, in _execute_on_connection
return connection._execute_ddl(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1050, in _execute_ddl
compiled,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1253, in _execute_context
e, statement, parameters, cursor, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1473, in _handle_dbapi_exception
util.raise_from_cause(sqlalchemy_exception, exc_info)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 398, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb, cause=cause)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 152, in reraise
raise value.with_traceback(tb)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
sqlalchemy.exc.InternalError: (pymysql.err.InternalError) (3822, "Duplicate check constraint name 'top_domain_check'.")
[SQL:
CREATE TABLE domains_organizations (
id INTEGER NOT NULL AUTO_INCREMENT,
domain VARCHAR(128) NOT NULL,
is_top_domain BOOL,
organization_id INTEGER NOT NULL,
PRIMARY KEY (id),
CONSTRAINT _domain_unique UNIQUE (domain),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
FOREIGN KEY(organization_id) REFERENCES organizations (id) ON DELETE CASCADE ON UPDATE CASCADE
)DEFAULT CHARSET=utf8mb4 COLLATE utf8mb4_unicode_520_ci
]
(Background on this error at: http://sqlalche.me/e/2j85)
======================================================================
ERROR: test_raw_to_enrich_sorting_hat (test_twitter.TestTwitter)
Test enrich with SortingHat
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
pymysql.err.InternalError: (3822, "Duplicate check constraint name 'top_domain_check'.")
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/test_twitter.py", line 71, in test_raw_to_enrich_sorting_hat
result = self._test_raw_to_enrich(sortinghat=True)
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/base.py", line 178, in _test_raw_to_enrich
db_password=self.db_password)
File "../grimoire_elk/enriched/enrich.py", line 122, in __init__
Enrich.sh_db = Database(db_user, db_password, db_sortinghat, db_host)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 58, in __init__
self.__create_schema(self._engine)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 170, in __create_schema
ModelBase.metadata.create_all(engine)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/schema.py", line 4304, in create_all
ddl.SchemaGenerator, self, checkfirst=checkfirst, tables=tables
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 2046, in _run_visitor
conn._run_visitor(visitorcallable, element, **kwargs)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1615, in _run_visitor
visitorcallable(self.dialect, self, **kwargs).traverse_single(element)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 781, in visit_metadata
_is_metadata_operation=True,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 826, in visit_table
include_foreign_key_constraints,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 988, in execute
return meth(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 72, in _execute_on_connection
return connection._execute_ddl(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1050, in _execute_ddl
compiled,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1253, in _execute_context
e, statement, parameters, cursor, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1473, in _handle_dbapi_exception
util.raise_from_cause(sqlalchemy_exception, exc_info)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 398, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb, cause=cause)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 152, in reraise
raise value.with_traceback(tb)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
sqlalchemy.exc.InternalError: (pymysql.err.InternalError) (3822, "Duplicate check constraint name 'top_domain_check'.")
[SQL:
CREATE TABLE domains_organizations (
id INTEGER NOT NULL AUTO_INCREMENT,
domain VARCHAR(128) NOT NULL,
is_top_domain BOOL,
organization_id INTEGER NOT NULL,
PRIMARY KEY (id),
CONSTRAINT _domain_unique UNIQUE (domain),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
FOREIGN KEY(organization_id) REFERENCES organizations (id) ON DELETE CASCADE ON UPDATE CASCADE
)DEFAULT CHARSET=utf8mb4 COLLATE utf8mb4_unicode_520_ci
]
(Background on this error at: http://sqlalche.me/e/2j85)
======================================================================
ERROR: test_refresh_identities (test_twitter.TestTwitter)
Test refresh identities
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
pymysql.err.InternalError: (3822, "Duplicate check constraint name 'top_domain_check'.")
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/test_twitter.py", line 85, in test_refresh_identities
result = self._test_refresh_identities()
File "/home/p0tt3r/chaoss/grimoirelab-elk/tests/base.py", line 230, in _test_refresh_identities
db_password=self.db_password)
File "../grimoire_elk/enriched/enrich.py", line 122, in __init__
Enrich.sh_db = Database(db_user, db_password, db_sortinghat, db_host)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 58, in __init__
self.__create_schema(self._engine)
File "/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py", line 170, in __create_schema
ModelBase.metadata.create_all(engine)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/schema.py", line 4304, in create_all
ddl.SchemaGenerator, self, checkfirst=checkfirst, tables=tables
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 2046, in _run_visitor
conn._run_visitor(visitorcallable, element, **kwargs)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1615, in _run_visitor
visitorcallable(self.dialect, self, **kwargs).traverse_single(element)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 781, in visit_metadata
_is_metadata_operation=True,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py", line 138, in traverse_single
return meth(obj, **kw)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 826, in visit_table
include_foreign_key_constraints,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 988, in execute
return meth(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 72, in _execute_on_connection
return connection._execute_ddl(self, multiparams, params)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1050, in _execute_ddl
compiled,
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1253, in _execute_context
e, statement, parameters, cursor, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1473, in _handle_dbapi_exception
util.raise_from_cause(sqlalchemy_exception, exc_info)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 398, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb, cause=cause)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 152, in reraise
raise value.with_traceback(tb)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 732, in _read_query_result
result.read()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 1075, in read
first_packet = self.connection._read_packet()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py", line 684, in _read_packet
packet.check_error()
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py", line 220, in check_error
err.raise_mysql_exception(self._data)
File "/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
sqlalchemy.exc.InternalError: (pymysql.err.InternalError) (3822, "Duplicate check constraint name 'top_domain_check'.")
[SQL:
CREATE TABLE domains_organizations (
id INTEGER NOT NULL AUTO_INCREMENT,
domain VARCHAR(128) NOT NULL,
is_top_domain BOOL,
organization_id INTEGER NOT NULL,
PRIMARY KEY (id),
CONSTRAINT _domain_unique UNIQUE (domain),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
CONSTRAINT top_domain_check CHECK (is_top_domain IN (0, 1)),
FOREIGN KEY(organization_id) REFERENCES organizations (id) ON DELETE CASCADE ON UPDATE CASCADE
)DEFAULT CHARSET=utf8mb4 COLLATE utf8mb4_unicode_520_ci
]
(Background on this error at: http://sqlalche.me/e/2j85)
----------------------------------------------------------------------
Ran 408 tests in 1066.219s
FAILED (errors=83)
Name Stmts Miss Cover Missing
---------------------------------------------------------------------------------------------------------------------------------------------
/home/p0tt3r/.local/lib/python3.6/site-packages/bs4/__init__.py 307 259 16% 150-341, 345-354, 358-361, 370-385, 397-403, 409-416, 421-422, 431-434, 440, 446, 450-456, 461-466, 473-508, 512-536, 541-576, 589-604, 624-642, 651-652, 656, 669-681, 692-696, 712-714
/home/p0tt3r/.local/lib/python3.6/site-packages/bs4/builder/__init__.py 164 84 49% 57-92, 149-158, 166, 174, 195-197, 208, 235, 251, 263, 278-301, 311, 314, 317-319, 323, 327, 331, 336, 341, 344, 347, 350, 411-440, 463-466, 476, 482
/home/p0tt3r/.local/lib/python3.6/site-packages/bs4/builder/_html5lib.py 263 256 3% 21-453
/home/p0tt3r/.local/lib/python3.6/site-packages/bs4/builder/_htmlparser.py 185 143 23% 62-71, 84, 98-99, 111-139, 150-157, 161, 173-200, 209-219, 226-228, 235-238, 245-252, 259-261, 288-295, 318-327, 335-345, 353-439
/home/p0tt3r/.local/lib/python3.6/site-packages/bs4/builder/_lxml.py 161 154 4% 11-12, 17-332
/home/p0tt3r/.local/lib/python3.6/site-packages/bs4/dammit.py 273 199 27% 24-27, 35-43, 117-118, 124-125, 146-162, 178-183, 200-205, 221, 256-264, 273-280, 288-316, 325-346, 364-387, 425-471, 476-488, 495-519, 526, 533-535, 543-551, 554-562, 892-938
/home/p0tt3r/.local/lib/python3.6/site-packages/bs4/element.py 843 655 22% 6-7, 13-15, 38, 42, 52-67, 80-82, 88, 103-110, 113-115, 144-164, 172-177, 189-197, 207-220, 232-244, 252-261, 272-274, 281-306, 315-323, 336-407, 414, 421-422, 432-444, 455-470, 486, 504, 522, 542, 561, 581, 600, 620, 641-645, 662, 674, 683, 688-692, 697-744, 754-757, 766-769, 777-780, 789-792, 800-803, 808, 811, 814, 817, 820, 846-851, 857, 860, 866-869, 878-879, 889, 894, 920-922, 967-975, 1020-1083, 1091-1103, 1120, 1137-1142, 1147-1148, 1164-1174, 1184-1185, 1204, 1215-1221, 1230-1238, 1251-1276, 1286-1289, 1295, 1306-1309, 1313, 1316, 1321, 1325, 1329, 1332, 1336, 1341, 1345, 1351, 1356-1368, 1374-1386, 1391, 1400-1407, 1411, 1419-1422, 1448-1449, 1473-1550, 1558, 1576-1579, 1602-1625, 1643-1644, 1650-1652, 1675-1679, 1700-1703, 1715, 1724-1730, 1749-1752, 1774-1788, 1793, 1797, 1805-1807, 1832-1856, 1861-1886, 1890-1893, 1908-1945, 1959-1981, 1985-2063, 2075-2076, 2080
/home/p0tt3r/.local/lib/python3.6/site-packages/bs4/formatter.py 44 9 80% 43, 84-93, 102, 111
/home/p0tt3r/.local/lib/python3.6/site-packages/certifi/__init__.py 2 0 100%
/home/p0tt3r/.local/lib/python3.6/site-packages/certifi/core.py 5 0 100%
/home/p0tt3r/.local/lib/python3.6/site-packages/chardet/__init__.py 11 7 36% 31-39
/home/p0tt3r/.local/lib/python3.6/site-packages/chardet/big5freq.py 3 0 100%
/home/p0tt3r/.local/lib/python3.6/site-packages/chardet/big5prober.py 14 6 57% 36-39, 43, 47
/home/p0tt3r/.local/lib/python3.6/site-packages/chardet/chardistribution.py 117 83 29% 49-59, 65-68, 72-82, 88-98, 103, 110, 115-118, 125-129, 134-137, 144-148, 153-156, 163-167, 172-175, 182-189, 194-197, 204-214, 219-222, 229-233
/home/p0tt3r/.local/lib/python3.6/site-packages/chardet/charsetgroupprober.py 70 61 13% 34-37, 40-47, 51-55, 59-63, 66-83, 86-106
/home/p0tt3r/.local/lib/python3.6/site-packages/chardet/charsetprober.py 50 36 28% 40-42, 45, 49, 52, 56, 59, 63-64, 81-101, 115-145
/home/p0tt3r/.local/lib/python3.6/site-packages/chardet/codingstatemachine.py 27 18 33% 56-61, 64, 69-78, 81, 84, 88
/home/p0tt3r/.local/lib/python3.6/site-packages/chardet/compat.py 10 4 60% 26-29
/home/p0tt3r/.local/lib/python3.6/site-packages/chardet/cp949prober.py 14 6 57% 36-41, 45, 49
/home/p0tt3r/.local/lib/python3.6/site-packages/chardet/enums.py 34 1 97% 62
/home/p0tt3r/.local/lib/python3.6/site-packages/chardet/escprober.py 56 45 20% 43-56, 59-67, 71, 75, 78-81, 84-101
/home/p0tt3r/.local/lib/python3.6/site-packages/chardet/escsm.py 17 0 100%
/home/p0tt3r/.local/lib/python3.6/site-packages/chardet/eucjpprober.py 47 34 28% 38-42, 45-46, 50, 54, 57-87, 90-92
/home/p0tt3r/.local/lib/python3.6/site-packages/chardet/euckrfreq.py 3 0 100%
/home/p0tt3r/.local/lib/python3.6/site-packages/chardet/euckrprober.py 14 6 57% 36-39, 43, 47
/home/p0tt3r/.local/lib/python3.6/site-packages/chardet/euctwfreq.py 3 0 100%
/home/p0tt3r/.local/lib/python3.6/site-packages/chardet/euctwprober.py 14 6 57% 35-38, 42, 46
/home/p0tt3r/.local/lib/python3.6/site-packages/chardet/gb2312freq.py 3 0 100%
/home/p0tt3r/.local/lib/python3.6/site-packages/chardet/gb2312prober.py 14 6 57% 35-38, 42, 46
/home/p0tt3r/.local/lib/python3.6/site-packages/chardet/hebrewprober.py 74 48 35% 155-162, 165-171, 175-176, 179, 193, 223-253, 259-280, 284, 289-292
/home/p0tt3r/.local/lib/python3.6/site-packages/chardet/jisfreq.py 3 0 100%
/home/p0tt3r/.local/lib/python3.6/site-packages/chardet/jpcntx.py 80 61 24% 124-129, 132-141, 144-168, 171, 175-178, 181, 185-186, 190, 193-210, 214-231
/home/p0tt3r/.local/lib/python3.6/site-packages/chardet/langbulgarianmodel.py 5 0 100%
/home/p0tt3r/.local/lib/python3.6/site-packages/chardet/langcyrillicmodel.py 13 0 100%
/home/p0tt3r/.local/lib/python3.6/site-packages/chardet/langgreekmodel.py 5 0 100%
/home/p0tt3r/.local/lib/python3.6/site-packages/chardet/langhebrewmodel.py 3 0 100%
/home/p0tt3r/.local/lib/python3.6/site-packages/chardet/langthaimodel.py 3 0 100%
/home/p0tt3r/.local/lib/python3.6/site-packages/chardet/langturkishmodel.py 3 0 100%
/home/p0tt3r/.local/lib/python3.6/site-packages/chardet/latin1prober.py 50 29 42% 98-101, 104-106, 110, 114, 117-128, 131-145
/home/p0tt3r/.local/lib/python3.6/site-packages/chardet/mbcharsetprober.py 42 33 21% 40-43, 46-51, 55, 59, 62-88, 91
/home/p0tt3r/.local/lib/python3.6/site-packages/chardet/mbcsgroupprober.py 14 3 79% 43-54
/home/p0tt3r/.local/lib/python3.6/site-packages/chardet/mbcssm.py 41 0 100%
/home/p0tt3r/.local/lib/python3.6/site-packages/chardet/sbcharsetprober.py 73 60 18% 40-51, 54-61, 65-68, 72-75, 78-122, 125-132
/home/p0tt3r/.local/lib/python3.6/site-packages/chardet/sbcsgroupprober.py 19 8 58% 45-73
/home/p0tt3r/.local/lib/python3.6/site-packages/chardet/sjisprober.py 47 34 28% 38-42, 45-46, 50, 54, 57-87, 90-92
/home/p0tt3r/.local/lib/python3.6/site-packages/chardet/universaldetector.py 124 104 16% 82-92, 100-109, 125-218, 229-286
/home/p0tt3r/.local/lib/python3.6/site-packages/chardet/utf8prober.py 41 29 29% 39-42, 45-47, 51, 55, 58-74, 77-82
/home/p0tt3r/.local/lib/python3.6/site-packages/chardet/version.py 2 0 100%
/home/p0tt3r/.local/lib/python3.6/site-packages/cryptography/__about__.py 10 0 100%
/home/p0tt3r/.local/lib/python3.6/site-packages/cryptography/__init__.py 3 0 100%
/home/p0tt3r/.local/lib/python3.6/site-packages/cryptography/exceptions.py 35 4 89% 27-28, 53-54
/home/p0tt3r/.local/lib/python3.6/site-packages/cryptography/hazmat/__init__.py 2 0 100%
/home/p0tt3r/.local/lib/python3.6/site-packages/cryptography/hazmat/_oid.py 32 12 62% 23-24, 29, 34, 39, 44-47, 50, 53, 64-65
/home/p0tt3r/.local/lib/python3.6/site-packages/cryptography/hazmat/backends/__init__.py 7 4 43% 14-18
/home/p0tt3r/.local/lib/python3.6/site-packages/cryptography/hazmat/backends/interfaces.py 85 0 100%
/home/p0tt3r/.local/lib/python3.6/site-packages/cryptography/hazmat/primitives/__init__.py 1 0 100%
/home/p0tt3r/.local/lib/python3.6/site-packages/cryptography/hazmat/primitives/asymmetric/__init__.py 11 0 100%
/home/p0tt3r/.local/lib/python3.6/site-packages/cryptography/hazmat/primitives/asymmetric/dsa.py 106 48 55% 123, 127, 131-137, 141-147, 152-163, 170, 173-176, 179, 182, 191-200, 206, 209-212, 218, 221, 229-237, 243, 246-249, 254
/home/p0tt3r/.local/lib/python3.6/site-packages/cryptography/hazmat/primitives/asymmetric/ec.py 224 62 72% 157-169, 321, 327, 331-340, 345-356, 359, 362-372, 379-400, 407-410, 418, 421, 424, 432-442, 445, 451-454, 460, 463, 494-497
/home/p0tt3r/.local/lib/python3.6/site-packages/cryptography/hazmat/primitives/asymmetric/ed25519.py 30 12 60% 22-29, 48-55, 59-66
/home/p0tt3r/.local/lib/python3.6/site-packages/cryptography/hazmat/primitives/asymmetric/padding.py 46 20 57% 37-46, 54-59, 66-69, 73-79
/home/p0tt3r/.local/lib/python3.6/site-packages/cryptography/hazmat/primitives/asymmetric/rsa.py 162 102 37% 11-12, 112-119, 123-130, 135-169, 173-180, 187-193, 200, 208, 216, 231-265, 271-296, 307, 310-313, 324, 327, 340-347, 353, 356, 359-362, 365, 368
/home/p0tt3r/.local/lib/python3.6/site-packages/cryptography/hazmat/primitives/hashes.py 146 37 75% 70-85, 90-93, 96-98, 103-107, 189-195, 206-212, 233-236, 250-253
/home/p0tt3r/.local/lib/python3.6/site-packages/cryptography/hazmat/primitives/serialization/__init__.py 5 0 100%
/home/p0tt3r/.local/lib/python3.6/site-packages/cryptography/hazmat/primitives/serialization/base.py 48 9 81% 16, 20, 24, 28, 32, 36, 74-77
/home/p0tt3r/.local/lib/python3.6/site-packages/cryptography/hazmat/primitives/serialization/ssh.py 79 63 20% 18-53, 57-63, 67-78, 82-104, 108-113, 122-129, 138-140, 146, 150-153
/home/p0tt3r/.local/lib/python3.6/site-packages/cryptography/utils.py 106 56 47% 30-31, 35-38, 54-59, 65-69, 74-84, 94, 100, 109, 120, 125-127, 132, 135-139, 142, 145-149, 152, 156-159, 163-173
/home/p0tt3r/.local/lib/python3.6/site-packages/elasticsearch/__init__.py 15 3 80% 13-15
/home/p0tt3r/.local/lib/python3.6/site-packages/elasticsearch/client/__init__.py 235 150 36% 26-60, 188-199, 202-211, 215-222, 230-233, 241, 275-278, 315-318, 353-356, 388-391, 426-429, 462-465, 496-498, 543-546, 654-659, 750-752, 780-782, 795, 882-885, 913, 952, 991-994, 1008-1015, 1029-1036, 1066-1069, 1108-1111, 1151-1153, 1184-1186, 1230-1233, 1285, 1297-1300, 1311-1313, 1324-1326, 1337, 1361-1363, 1387
/home/p0tt3r/.local/lib/python3.6/site-packages/elasticsearch/client/cat.py 64 22 66% 22, 48, 71, 94, 107, 136, 156, 179, 201, 225, 245, 267, 292, 317, 337, 357, 377, 400-402, 428, 448
/home/p0tt3r/.local/lib/python3.6/site-packages/elasticsearch/client/cluster.py 31 13 58% 33, 48, 74-76, 94-97, 120, 137, 153, 168
/home/p0tt3r/.local/lib/python3.6/site-packages/elasticsearch/client/indices.py 152 78 49% 18, 39, 69, 85-87, 110-112, 134-136, 159-161, 182-184, 207-209, 233-236, 262-265, 288, 314-316, 333-336, 359, 382, 395-397, 414-417, 438-441, 457-459, 475, 488-490, 517, 544-546, 575, 598, 640, 669, 687, 712, 732, 752, 780, 816, 842-845, 872-874
/home/p0tt3r/.local/lib/python3.6/site-packages/elasticsearch/client/ingest.py 21 11 48% 13, 27-30, 43-45, 58-60
/home/p0tt3r/.local/lib/python3.6/site-packages/elasticsearch/client/nodes.py 16 6 62% 20, 57, 83-85, 104
/home/p0tt3r/.local/lib/python3.6/site-packages/elasticsearch/client/remote.py 5 1 80% 9
/home/p0tt3r/.local/lib/python3.6/site-packages/elasticsearch/client/snapshot.py 48 28 42% 18-21, 35-38, 56-59, 73-75, 90, 106-109, 126-129, 147, 162-164
/home/p0tt3r/.local/lib/python3.6/site-packages/elasticsearch/client/tasks.py 11 3 73% 24, 43, 56
/home/p0tt3r/.local/lib/python3.6/site-packages/elasticsearch/client/utils.py 51 32 37% 18-40, 48, 63-76, 83, 87, 92-94
/home/p0tt3r/.local/lib/python3.6/site-packages/elasticsearch/client/xpack/__init__.py 27 11 59% 16-24, 37, 46
/home/p0tt3r/.local/lib/python3.6/site-packages/elasticsearch/client/xpack/deprecation.py 5 1 80% 11
/home/p0tt3r/.local/lib/python3.6/site-packages/elasticsearch/client/xpack/graph.py 5 1 80% 17
/home/p0tt3r/.local/lib/python3.6/site-packages/elasticsearch/client/xpack/license.py 11 3 73% 10, 22, 35
/home/p0tt3r/.local/lib/python3.6/site-packages/elasticsearch/client/xpack/migration.py 10 4 60% 20, 33-35
/home/p0tt3r/.local/lib/python3.6/site-packages/elasticsearch/client/xpack/ml.py 159 93 42% 12, 23, 34, 57-59, 76-79, 94-96, 107, 114, 126-129, 138-140, 158-160, 181-183, 196-199, 209-212, 224-227, 238-240, 262-264, 278-280, 291-293, 305-307, 320-322, 335-338, 348-350, 359-361, 376-378, 401-403, 416-419, 431-433, 444, 459-462, 483-485, 498-501
/home/p0tt3r/.local/lib/python3.6/site-packages/elasticsearch/client/xpack/monitoring.py 7 3 57% 17-19
/home/p0tt3r/.local/lib/python3.6/site-packages/elasticsearch/client/xpack/security.py 78 42 46% 17-19, 30, 47-50, 59, 76-79, 92-94, 111-113, 125, 136-138, 154-156, 171-173, 188, 203, 213, 223-225, 235-237, 253-256
/home/p0tt3r/.local/lib/python3.6/site-packages/elasticsearch/client/xpack/watcher.py 48 24 50% 10, 24-26, 39, 48, 61-63, 76-78, 93-96, 109-111, 122-124, 137, 146
/home/p0tt3r/.local/lib/python3.6/site-packages/elasticsearch/compat.py 12 5 58% 6-10
/home/p0tt3r/.local/lib/python3.6/site-packages/elasticsearch/connection/__init__.py 3 0 100%
/home/p0tt3r/.local/lib/python3.6/site-packages/elasticsearch/connection/base.py 68 49 28% 34-44, 47, 51-55, 58-70, 78-88, 93-110, 114-125
/home/p0tt3r/.local/lib/python3.6/site-packages/elasticsearch/connection/http_requests.py 64 52 19% 6-7, 32-61, 65-94, 100
/home/p0tt3r/.local/lib/python3.6/site-packages/elasticsearch/connection/http_urllib3.py 95 75 21% 19-20, 35-36, 74-137, 141-191, 197
/home/p0tt3r/.local/lib/python3.6/site-packages/elasticsearch/connection_pool.py 98 67 32% 37, 45, 53, 61-62, 65-67, 105-125, 135-146, 158-162, 176-204, 217-229, 235-236, 240-246, 249, 255, 258
/home/p0tt3r/.local/lib/python3.6/site-packages/elasticsearch/exceptions.py 32 12 62% 39, 44, 52, 55-61, 71, 82
/home/p0tt3r/.local/lib/python3.6/site-packages/elasticsearch/helpers/__init__.py 167 148 11% 17, 22-23, 32-49, 56-84, 91-137, 176-219, 250-266, 291-313, 357-403, 438-457
/home/p0tt3r/.local/lib/python3.6/site-packages/elasticsearch/serializer.py 56 34 39% 16, 19-22, 28-34, 37-40, 44-55, 64-68, 71-81
/home/p0tt3r/.local/lib/python3.6/site-packages/elasticsearch/transport.py 143 125 13% 26-28, 82-122, 130-131, 142-162, 169-172, 186-210, 213-223, 235-244, 254-256, 279-350, 356
/home/p0tt3r/.local/lib/python3.6/site-packages/elasticsearch_dsl/__init__.py 15 0 100%
/home/p0tt3r/.local/lib/python3.6/site-packages/elasticsearch_dsl/aggs.py 198 65 67% 3-4, 10-45, 53, 56-59, 62, 70, 73-82, 85, 88, 91-98, 101, 104, 107, 110, 115-117, 120-123, 133-135, 138-140, 160, 180, 207, 227
/home/p0tt3r/.local/lib/python3.6/site-packages/elasticsearch_dsl/analysis.py 107 48 55% 13-21, 26-28, 32, 35-38, 42-58, 63-64, 68, 76, 97-120, 128
/home/p0tt3r/.local/lib/python3.6/site-packages/elasticsearch_dsl/connections.py 45 27 40% 32-37, 43, 50-58, 65-67, 80-94
/home/p0tt3r/.local/lib/python3.6/site-packages/elasticsearch_dsl/document.py 192 126 34% 3-4, 22, 39-41, 47-62, 78-79, 84-85, 90, 94, 104-106, 115, 120, 124, 128, 135-138, 141-149, 152, 164, 183-192, 214-261, 274-282, 300-317, 347-405, 424-447
/home/p0tt3r/.local/lib/python3.6/site-packages/elasticsearch_dsl/exceptions.py 8 0 100%
/home/p0tt3r/.local/lib/python3.6/site-packages/elasticsearch_dsl/faceted_search.py 183 121 34% 24-28, 34-37, 43-49, 55, 61, 67, 73-75, 83-91, 99-100, 107-113, 116-119, 122-129, 137, 156-157, 160-168, 171, 182-184, 187, 190-192, 197, 201-208, 264-271, 274, 277-278, 281, 288-301, 310-311, 319-321, 328-335, 346-352, 358, 365-367, 373-379, 385-387
/home/p0tt3r/.local/lib/python3.6/site-packages/elasticsearch_dsl/field.py 290 144 50% 6-7, 24-45, 65, 68, 71, 74, 77-79, 82-84, 87-98, 101-105, 108-111, 118-123, 142-158, 161, 164, 167, 170, 173-175, 178-181, 184, 188-194, 197-204, 207-215, 218-222, 228-229, 242, 246-262, 286-288, 291-295, 302, 311, 321, 338, 341-343, 352, 355, 358-360, 380, 383-385, 392-395, 398-402
/home/p0tt3r/.local/lib/python3.6/site-packages/elasticsearch_dsl/function.py 59 34 42% 3-4, 10-43, 56-61, 70-75
/home/p0tt3r/.local/lib/python3.6/site-packages/elasticsearch_dsl/index.py 213 148 31% 13-21, 24, 27-29, 32-33, 41-49, 52-56, 59-61, 67, 70-76, 79-85, 88, 105-115, 118, 128-132, 155-162, 175-176, 185-186, 206-213, 216-232, 240, 255, 268, 271-272, 283-322, 332, 341, 350, 359, 368, 377, 386, 395, 404, 413, 422, 431, 440, 449, 458, 467, 476, 485, 494, 504, 513, 522, 532, 541, 550, 560, 572, 588, 605
/home/p0tt3r/.local/lib/python3.6/site-packages/elasticsearch_dsl/mapping.py 156 114 27% 3-4, 25, 28, 31, 35, 38-39, 43-52, 55-65, 74, 77-79, 83-85, 88-98, 101-107, 110-130, 133-136, 139-142, 145-155, 158-171, 174, 177, 180, 184, 187-188, 191-198, 201-212
/home/p0tt3r/.local/lib/python3.6/site-packages/elasticsearch_dsl/query.py 252 89 65% 3-4, 14-34, 44-46, 49, 54-56, 61-63, 69, 73, 77, 83, 87, 91, 103-111, 115-125, 130, 133-145, 148-179, 191-198
/home/p0tt3r/.local/lib/python3.6/site-packages/elasticsearch_dsl/response/__init__.py 63 41 35% 7-9, 12, 15-18, 21, 25, 28, 31, 34-36, 39, 43-56, 60, 64-69, 73-74, 77-81, 84-85, 91-93
/home/p0tt3r/.local/lib/python3.6/site-packages/elasticsearch_dsl/response/aggs.py 39 22 44% 6, 10-12, 17, 21, 24, 27-29, 33-43, 50-51
/home/p0tt3r/.local/lib/python3.6/site-packages/elasticsearch_dsl/response/hit.py 14 9 36% 5-13, 17, 20
/home/p0tt3r/.local/lib/python3.6/site-packages/elasticsearch_dsl/search.py 374 299 20% 5-6, 27-29, 32, 36-47, 50, 53-56, 59, 62, 77, 80-81, 87-88, 91, 95-114, 117, 126, 140-142, 155-170, 176, 179-184, 187-205, 208-227, 246-254, 265-267, 274-278, 281-286, 304-316, 319, 322, 328, 343-360, 380-382, 390-406, 412-414, 421-450, 472-477, 501-522, 547-555, 565-567, 603-606, 620-623, 635-667, 674-681, 695-707, 719-728, 735-737, 753-754, 757, 760, 763-765, 775-777, 780-792, 798-820
/home/p0tt3r/.local/lib/python3.6/site-packages/elasticsearch_dsl/serializer.py 10 5 50% 7-11
/home/p0tt3r/.local/lib/python3.6/site-packages/elasticsearch_dsl/update_by_query.py 57 40 30% 24-27, 30, 33, 53-55, 63-68, 74-76, 83-89, 107-111, 120-130, 137-148
/home/p0tt3r/.local/lib/python3.6/site-packages/elasticsearch_dsl/utils.py 312 221 29% 5-6, 28-32, 37-40, 43, 46-49, 52, 55-58, 61, 64, 67, 70, 74, 77, 80, 91, 94, 97, 102, 105-108, 111, 114-117, 120, 123, 126-129, 133-136, 140, 143, 146, 149-153, 156, 159, 192-195, 218-221, 226-228, 232, 240, 246, 249, 254, 258-282, 285-308, 314-348, 351-354, 358-362, 366-373, 382-394, 398-406, 410-425, 428, 431-433, 436-446, 449-467, 470-485, 488, 491-492, 495-506
/home/p0tt3r/.local/lib/python3.6/site-packages/elasticsearch_dsl/wrappers.py 39 28 28% 16-34, 37, 40-46, 50-54, 58-62
/home/p0tt3r/.local/lib/python3.6/site-packages/geopy/__init__.py 6 0 100%
/home/p0tt3r/.local/lib/python3.6/site-packages/geopy/compat.py 30 14 53% 47-50, 133, 141-152, 160-164
/home/p0tt3r/.local/lib/python3.6/site-packages/geopy/exc.py 11 0 100%
/home/p0tt3r/.local/lib/python3.6/site-packages/geopy/format.py 45 7 84% 72-81, 99-100
/home/p0tt3r/.local/lib/python3.6/site-packages/geopy/geocoders/__init__.py 33 4 88% 187-190
/home/p0tt3r/.local/lib/python3.6/site-packages/geopy/geocoders/arcgis.py 110 89 19% 103-141, 149-155, 185-220, 258-306, 312-337
/home/p0tt3r/.local/lib/python3.6/site-packages/geopy/geocoders/azure.py 12 3 75% 56, 68, 75
/home/p0tt3r/.local/lib/python3.6/site-packages/geopy/geocoders/baidu.py 84 67 20% 79-89, 96, 123-132, 159-168, 176-190, 197-215, 222-270, 273-280
/home/p0tt3r/.local/lib/python3.6/site-packages/geopy/geocoders/banfrance.py 43 30 30% 56-69, 103-113, 144-156, 163-167, 171-179
/home/p0tt3r/.local/lib/python3.6/site-packages/geopy/geocoders/base.py 119 88 26% 223-251, 259-273, 288-292, 304, 319-410, 413-418, 424, 430
/home/p0tt3r/.local/lib/python3.6/site-packages/geopy/geocoders/bing.py 82 67 18% 72-83, 135-163, 202-214, 224-270
/home/p0tt3r/.local/lib/python3.6/site-packages/geopy/geocoders/databc.py 37 26 30% 55-64, 102-133, 137-139
/home/p0tt3r/.local/lib/python3.6/site-packages/geopy/geocoders/geocodeearth.py 6 1 83% 73
/home/p0tt3r/.local/lib/python3.6/site-packages/geopy/geocoders/geocodefarm.py 71 56 21% 64-77, 98-105, 130-142, 150-165, 168-180, 188-201
/home/p0tt3r/.local/lib/python3.6/site-packages/geopy/geocoders/geolake.py 43 31 28% 74-85, 128-152, 159-170, 178-182
/home/p0tt3r/.local/lib/python3.6/site-packages/geopy/geocoders/geonames.py 123 101 18% 93-128, 169-190, 251-293, 299-306, 309-316, 339-355, 360-371, 374-385, 391-421
/home/p0tt3r/.local/lib/python3.6/site-packages/geopy/geocoders/googlev3.py 143 115 20% 93-125, 132-146, 155, 224-272, 314-337, 381-390, 420-435, 440-451, 454-473, 478-493, 500-516
/home/p0tt3r/.local/lib/python3.6/site-packages/geopy/geocoders/here.py 108 92 15% 100-131, 204-237, 295-317, 327-374
/home/p0tt3r/.local/lib/python3.6/site-packages/geopy/geocoders/ignfrance.py 156 135 13% 107-140, 185-243, 295-348, 358-402, 414-436, 449-527, 534-545, 553-577
/home/p0tt3r/.local/lib/python3.6/site-packages/geopy/geocoders/mapbox.py 52 40 23% 58-68, 72-84, 140-164, 198-207
/home/p0tt3r/.local/lib/python3.6/site-packages/geopy/geocoders/opencage.py 65 51 22% 69-80, 140-172, 211-228, 235-250, 257-274
/home/p0tt3r/.local/lib/python3.6/site-packages/geopy/geocoders/openmapquest.py 15 6 60% 101-115, 128-129
/home/p0tt3r/.local/lib/python3.6/site-packages/geopy/geocoders/osm.py 114 96 16% 131-193, 208, 317-405, 450-467, 475-481, 484-491
/home/p0tt3r/.local/lib/python3.6/site-packages/geopy/geocoders/pelias.py 73 59 19% 89-123, 172-211, 249-268, 276-279, 282-290
/home/p0tt3r/.local/lib/python3.6/site-packages/geopy/geocoders/photon.py 67 53 21% 62-72, 115-144, 184-200, 211-214, 221-234
/home/p0tt3r/.local/lib/python3.6/site-packages/geopy/geocoders/pickpoint.py 12 4 67% 94-106, 119-120
/home/p0tt3r/.local/lib/python3.6/site-packages/geopy/geocoders/smartystreets.py 48 34 29% 81-111, 143-162, 169-170, 176-181, 188-190
/home/p0tt3r/.local/lib/python3.6/site-packages/geopy/geocoders/tomtom.py 61 43 30% 57-67, 107-124, 162-173, 179, 182, 187, 192-198, 202-204, 208-214, 218-219
/home/p0tt3r/.local/lib/python3.6/site-packages/geopy/geocoders/what3words.py 59 42 29% 74-91, 97-100, 136-149, 160-191, 225-236, 245
/home/p0tt3r/.local/lib/python3.6/site-packages/geopy/geocoders/yandex.py 68 55 19% 80-99, 118-130, 172-196, 205-237
/home/p0tt3r/.local/lib/python3.6/site-packages/geopy/location.py 53 31 42% 10, 25-40, 50, 59, 68, 77, 87, 97, 103, 106, 111-118, 123, 126, 129-130, 133, 141, 144
/home/p0tt3r/.local/lib/python3.6/site-packages/geopy/point.py 151 116 23% 49-55, 59-83, 150-184, 187, 190-192, 196, 199, 202, 205, 211-232, 238-247, 253, 256, 259, 264-266, 269, 276-293, 300-318, 359-390, 401-405, 413
/home/p0tt3r/.local/lib/python3.6/site-packages/geopy/timezone.py 46 25 46% 7-8, 17-18, 26-39, 43-45, 59-60, 69, 79, 82, 87, 90, 93, 96, 103
/home/p0tt3r/.local/lib/python3.6/site-packages/geopy/units.py 78 60 23% 14-21, 28-32, 39-43, 50-54, 63-71, 78, 85-93, 100-108, 115-123
/home/p0tt3r/.local/lib/python3.6/site-packages/geopy/util.py 22 11 50% 29-30, 37, 47-55, 59
/home/p0tt3r/.local/lib/python3.6/site-packages/idna/__init__.py 2 0 100%
/home/p0tt3r/.local/lib/python3.6/site-packages/idna/core.py 280 242 14% 37-41, 44, 47, 50, 55-57, 62-64, 70-124, 129-131, 136-140, 145-146, 151-190, 195-231, 236-263, 268-288, 293-309, 314-335, 342-368, 373-396
/home/p0tt3r/.local/lib/python3.6/site-packages/idna/idnadata.py 4 0 100%
/home/p0tt3r/.local/lib/python3.6/site-packages/idna/intranges.py 29 24 17% 18-29, 32, 35, 40-53
/home/p0tt3r/.local/lib/python3.6/site-packages/idna/package_data.py 1 0 100%
/home/p0tt3r/.local/lib/python3.6/site-packages/lizard.py 555 427 23% 33, 37-39, 46-47, 60-62, 66-72, 76, 89-246, 255, 264, 268, 274-287, 291, 299, 308-309, 312-315, 318-323, 329-332, 347-348, 354-356, 359, 362, 365-366, 369, 372-376, 379-381, 385, 389-390, 402-408, 412, 415-416, 419-426, 429-434, 437-441, 444-445, 448-449, 452, 455, 458, 461, 464, 467-470, 474-476, 480-490, 494-506, 510-514, 518-522, 531-544, 547-554, 558-559, 563-568, 572-605, 628-648, 651-656, 659, 662, 665-668, 674-675, 679, 682, 685, 690, 695, 702, 711, 721-735, 739-742, 747-748, 752, 755, 758, 765-769, 782-804, 808-813, 817-821, 828-830, 834-838, 842-846, 850-857, 862-874, 881-910, 914-952, 956-964, 968-973, 981-985, 1009-1035, 1039-1041, 1045
/home/p0tt3r/.local/lib/python3.6/site-packages/lizard_ext/__init__.py 12 4 67% 12-13, 17-18
/home/p0tt3r/.local/lib/python3.6/site-packages/lizard_ext/auto_open.py 17 12 29% 21-26, 30-36
/home/p0tt3r/.local/lib/python3.6/site-packages/lizard_ext/csvoutput.py 9 8 11% 21-30
/home/p0tt3r/.local/lib/python3.6/site-packages/lizard_ext/htmloutput.py 33 26 21% 14-45, 50
/home/p0tt3r/.local/lib/python3.6/site-packages/lizard_ext/version.py 1 0 100%
/home/p0tt3r/.local/lib/python3.6/site-packages/lizard_ext/xmloutput.py 108 100 7% 9-26, 30-56, 60-98, 102-105, 109-113, 117-138, 142-145, 149-167
/home/p0tt3r/.local/lib/python3.6/site-packages/lizard_languages/__init__.py 20 4 80% 20, 39-41
/home/p0tt3r/.local/lib/python3.6/site-packages/lizard_languages/clike.py 194 147 24% 14-15, 27-28, 34-52, 59-62, 66-68, 72-73, 96-105, 108, 112-116, 121-123, 129, 134, 144-146, 149-152, 155-156, 159-167, 171, 174-176, 179-182, 185-187, 191-201, 204-228, 232, 235-239, 243-244, 247-262, 265-267, 271-275, 279, 283, 286-287, 291, 296
/home/p0tt3r/.local/lib/python3.6/site-packages/lizard_languages/code_reader.py 102 70 31% 14-20, 23-25, 28-30, 33, 36-38, 41-47, 50, 56-60, 68-72, 89-91, 95-98, 102-148, 151-156, 159
/home/p0tt3r/.local/lib/python3.6/site-packages/lizard_languages/csharp.py 8 1 88% 19
/home/p0tt3r/.local/lib/python3.6/site-packages/lizard_languages/gdscript.py 12 4 67% 16-17, 22-23
/home/p0tt3r/.local/lib/python3.6/site-packages/lizard_languages/go.py 28 15 46% 16-17, 22-24, 27-30, 34, 38-39, 42, 46-47
/home/p0tt3r/.local/lib/python3.6/site-packages/lizard_languages/java.py 23 13 43% 15-16, 23-24, 27-30, 33, 36-40
/home/p0tt3r/.local/lib/python3.6/site-packages/lizard_languages/javascript.py 15 4 73% 20-24, 27-28
/home/p0tt3r/.local/lib/python3.6/site-packages/lizard_languages/js_style_language_states.py 50 42 16% 10-15, 18-34, 37-40, 43-52, 55-56, 59-64
/home/p0tt3r/.local/lib/python3.6/site-packages/lizard_languages/js_style_regex_expression.py 16 12 25% 10-22
/home/p0tt3r/.local/lib/python3.6/site-packages/lizard_languages/lua.py 13 4 69% 17, 21, 29-30
/home/p0tt3r/.local/lib/python3.6/site-packages/lizard_languages/objc.py 46 32 30% 12-13, 18, 21, 26-28, 31-37, 40-46, 49-58, 61-63, 66
/home/p0tt3r/.local/lib/python3.6/site-packages/lizard_languages/php.py 25 14 44% 21-35, 38-39
/home/p0tt3r/.local/lib/python3.6/site-packages/lizard_languages/python.py 71 49 31% 8, 13-14, 17-22, 25, 36-37, 41, 46-63, 68-69, 72-73, 76-80, 83-88, 91-94, 97-100
/home/p0tt3r/.local/lib/python3.6/site-packages/lizard_languages/ruby.py 42 29 31% 12, 15-16, 26, 31-67
/home/p0tt3r/.local/lib/python3.6/site-packages/lizard_languages/rubylike.py 74 56 24% 10-11, 18-19, 22, 25, 28-47, 50-51, 54-56, 59-68, 71-72, 75-80, 83-87, 90-93, 104-105
/home/p0tt3r/.local/lib/python3.6/site-packages/lizard_languages/scala.py 16 6 62% 18-19, 24-27
/home/p0tt3r/.local/lib/python3.6/site-packages/lizard_languages/script_language.py 9 4 56% 12-13, 17-18
/home/p0tt3r/.local/lib/python3.6/site-packages/lizard_languages/swift.py 61 42 31% 18-19, 23, 31-42, 47-57, 60-61, 64-66, 69-70, 73-76, 79-81, 85-86, 90-91
/home/p0tt3r/.local/lib/python3.6/site-packages/lizard_languages/ttcn.py 38 22 42% 18-19, 25, 38-46, 49-56, 59-62
/home/p0tt3r/.local/lib/python3.6/site-packages/numpy/__config__.py 28 14 50% 12-13, 24-25, 28-37
/home/p0tt3r/.local/lib/python3.6/site-packages/numpy/__init__.py 64 9 86% 123, 127-131, 163, 209-216
/home/p0tt3r/.local/lib/python3.6/site-packages/numpy/_distributor_init.py 0 0 100%
/home/p0tt3r/.local/lib/python3.6/site-packages/numpy/_globals.py 20 2 90% 28, 75
/home/p0tt3r/.local/lib/python3.6/site-packages/numpy/_pytesttester.py 48 39 19% 40-44, 122-209
/home/p0tt3r/.local/lib/python3.6/site-packages/numpy/compat/__init__.py 8 0 100%
/home/p0tt3r/.local/lib/python3.6/site-packages/numpy/compat/_inspect.py 68 17 75% 77, 88, 109, 124-125, 128-131, 138, 184-193
/home/p0tt3r/.local/lib/python3.6/site-packages/numpy/compat/py3k.py 121 81 33% 17-18, 35-37, 40-42, 45-47, 50, 53, 56, 61-84, 87, 90-93, 96-99, 107, 122, 125, 128, 152-186, 193, 201-245
/home/p0tt3r/.local/lib/python3.6/site-packages/numpy/core/__init__.py 83 14 83% 18-47, 61-67, 124-125, 128-130, 137
/home/p0tt3r/.local/lib/python3.6/site-packages/numpy/core/_add_newdocs.py 298 2 99% 1477-1495
/home/p0tt3r/.local/lib/python3.6/site-packages/numpy/core/_asarray.py 41 27 34% 85, 138, 179, 220, 291-324
/home/p0tt3r/.local/lib/python3.6/site-packages/numpy/core/_dtype.py 154 124 19% 30, 39-40, 47-54, 58-61, 72, 77, 107-112, 116-168, 175-187, 192-198, 203-242, 257-265, 269-291, 298-308, 312-313, 324, 335, 339
/home/p0tt3r/.local/lib/python3.6/site-packages/numpy/core/_dtype_ctypes.py 53 34 36% 32, 36-66, 82-90, 102, 104, 106, 108, 112
/home/p0tt3r/.local/lib/python3.6/site-packages/numpy/core/_exceptions.py 71 32 55% 11-14, 37, 44-46, 49, 60-61, 64, 77-80, 87-88, 92-93, 105-106, 110-111, 130-140, 147-148, 151
/home/p0tt3r/.local/lib/python3.6/site-packages/numpy/core/_internal.py 430 325 24% 17-18, 25, 28-53, 59-78, 91-135, 143, 160-204, 208, 210, 212, 214, 216, 221, 223-224, 228, 231-234, 243, 247, 260, 264-271, 278-287, 292-308, 320, 327-329, 336-338, 356, 368, 379, 388, 402-418, 433-436, 459-468, 492-497, 563-564, 567-569, 572-575, 578-587, 591, 594, 599-601, 604-746, 750-761, 765-783, 786-789, 793-795, 798, 802-807, 814-815, 834, 838, 873, 909, 911
/home/p0tt3r/.local/lib/python3.6/site-packages/numpy/core/_methods.py 138 106 23% 30, 34, 38, 42, 45, 48, 51-58, 65-71, 74-76, 80-95, 98-131, 135-165, 168-213, 216-226, 229, 236-241, 244
/home/p0tt3r/.local/lib/python3.6/site-packages/numpy/core/_string_helpers.py 15 1 93% 100
/home/p0tt3r/.local/lib/python3.6/site-packages/numpy/core/_type_aliases.py 152 19 88% 39-41, 44-46, 69-74, 129, 211, 221, 259-265, 274
/home/p0tt3r/.local/lib/python3.6/site-packages/numpy/core/_ufunc_config.py 86 25 71% 12-13, 201-212, 226, 312-319, 365, 444, 449
/home/p0tt3r/.local/lib/python3.6/site-packages/numpy/core/arrayprint.py 550 427 22% 33-39, 74-95, 240-258, 288, 318-323, 333-343, 348-352, 355, 358, 361-411, 417-449, 469, 487-508, 517, 670-700, 704-714, 726-833, 836-840, 847-869, 873-953, 956-975, 987-989, 994-996, 1060-1063, 1136-1139, 1147-1152, 1155, 1162, 1165, 1173-1183, 1187-1194, 1199-1202, 1206-1209, 1214-1225, 1229, 1232-1235, 1242-1256, 1259-1261, 1264, 1272, 1277, 1280-1282, 1294, 1302-1308, 1311-1318, 1325-1328, 1337, 1342, 1344, 1372-1380, 1393-1405, 1412-1452, 1457, 1505, 1518, 1529, 1534, 1573, 1637-1640
/home/p0tt3r/.local/lib/python3.6/site-packages/numpy/core/defchararray.py 422 250 41% 49-50, 65-69, 76, 87-92, 100-102, 106, 132, 158, 185, 211, 237, 263, 267, 288, 312-316, 320, 344-349, 354, 381, 420-421, 425, 456-461, 466, 512, 516, 561, 597, 602, 645, 650, 685, 721, 750, 777, 803, 829, 856, 883, 909, 936, 940, 965, 971, 1001-1006, 1041-1042, 1046, 1100-1101, 1105, 1140, 1145, 1176, 1210, 1240, 1271-1276, 1312, 1317, 1354, 1359, 1403-1404, 1438, 1443, 1472, 1477, 1508, 1553-1554, 1591-1592, 1631-1632, 1636, 1667-1672, 1707-1708, 1712, 1739-1742, 1773-1775, 1805-1807, 1955-1984, 1988-1989, 1992-2001, 2016, 2026, 2036, 2046, 2056, 2066, 2077, 2088, 2099, 2110, 2122, 2125, 2145, 2158, 2169, 2181, 2192, 2203, 2215, 2227, 2239, 2250, 2263, 2276, 2288, 2301, 2314, 2326, 2339, 2351, 2363, 2375, 2387, 2397, 2409, 2422, 2434, 2446, 2456, 2468, 2480, 2492, 2504, 2516, 2528, 2540, 2553, 2567, 2579, 2591, 2603, 2615, 2680-2767, 2818
/home/p0tt3r/.local/lib/python3.6/site-packages/numpy/core/einsumfunc.py 408 386 5% 51-56, 81-84, 130-144, 178-215, 250-272, 293-312, 350-412, 459-522, 552-691, 701, 816-992, 998-1000, 1352-1432
/home/p0tt3r/.local/lib/python3.6/site-packages/numpy/core/fromnumeric.py 356 217 39% 43-52, 56-70, 74-90, 94, 194, 198, 301, 305-308, 432, 436, 481, 485, 539-545, 549, 596, 600, 650, 654, 739-746, 750, 819, 823, 964-971, 975, 1084, 1088, 1153, 1157, 1222, 1226, 1296, 1300, 1355-1374, 1378, 1431-1438, 1442, 1568-1572, 1577, 1637-1641, 1645, 1749-1752, 1756, 1849, 1853, 1895-1899, 1903, 1967, 1971, 2037, 2042, 2168-2181, 2186, 2270, 2274, 2351, 2355, 2423, 2427, 2486-2496, 2501, 2620, 2626, 2745, 2750, 2781-2784, 2789, 2910, 2915, 2979, 2983, 3018-3021, 3025, 3063-3072, 3076, 3146, 3150, 3245-3256, 3262, 3368-3380, 3386, 3492-3505, 3521, 3533, 3545, 3559, 3571, 3594-3598
/home/p0tt3r/.local/lib/python3.6/site-packages/numpy/core/function_base.py 109 78 28% 21-29, 34, 128-179, 184, 277-280, 285, 389-430, 468-470
/home/p0tt3r/.local/lib/python3.6/site-packages/numpy/core/getlimits.py 196 74 62% 262-279, 285-286, 366-396, 399-420, 423-434, 437-440, 500-501, 506, 512, 536-543, 546
/home/p0tt3r/.local/lib/python3.6/site-packages/numpy/core/info.py 3 0 100%
/home/p0tt3r/.local/lib/python3.6/site-packages/numpy/core/machar.py 189 178 6% 115-116, 119-327, 330-340, 344
/home/p0tt3r/.local/lib/python3.6/site-packages/numpy/core/memmap.py 91 73 20% 210-283, 286-295, 312-313, 316-328, 331-334
/home/p0tt3r/.local/lib/python3.6/site-packages/numpy/core/multiarray.py 102 27 74% 45, 142, 230-231, 309, 384, 463-466, 632, 704, 792, 850, 926, 987, 1037-1040, 1120, 1178, 1262, 1306, 1347, 1401, 1495, 1563, 1631
/home/p0tt3r/.local/lib/python3.6/site-packages/numpy/core/numeric.py 479 342 29% 25, 44, 53-56, 78, 94, 159-163, 220, 285-287, 330-334, 338, 400-402, 406, 458-469, 537, 541, 583, 587, 628, 637-639, 643, 711-712, 716, 808-816, 820, 903-905, 909, 1038-1099, 1103, 1177-1204, 1208, 1255-1270, 1317-1329, 1333, 1386-1405, 1410, 1414, 1531-1612, 1703-1718, 1773-1775, 1779, 1854, 1931-1967, 2009-2024, 2042-2048, 2056-2063, 2100, 2171-2172, 2176, 2256-2292, 2296, 2333-2339, 2343, 2382-2391
/home/p0tt3r/.local/lib/python3.6/site-packages/numpy/core/numerictypes.py 161 83 48% 129, 182-190, 228-236, 279-290, 362, 395-414, 439, 503-509, 569-575, 579-591, 654-675
/home/p0tt3r/.local/lib/python3.6/site-packages/numpy/core/overrides.py 52 9 83% 85, 90, 146-152
/home/p0tt3r/.local/lib/python3.6/site-packages/numpy/core/records.py 361 312 14% 85, 88, 93, 161-164, 169-185, 191-221, 224-232, 244-246, 249-251, 254-275, 279-289, 293-300, 305-309, 433-444, 447-450, 456-480, 490-516, 519-533, 537-567, 570-584, 602-647, 679-715, 723-736, 739-745, 772-819, 826-887
/home/p0tt3r/.local/lib/python3.6/site-packages/numpy/core/shape_base.py 192 154 20% 21, 64-75, 79, 120-133, 137, 190-205, 209-216, 220, 276-282, 333-344, 348-353, 415-432, 447-448, 482-524, 530, 536-541, 581-599, 629-652, 664-671, 678-683, 835-854, 866-875, 879-894, 898-905
/home/p0tt3r/.local/lib/python3.6/site-packages/numpy/core/umath.py 4 0 100%
/home/p0tt3r/.local/lib/python3.6/site-packages/numpy/ctypeslib.py 214 176 18% 65-66, 69-85, 121-157, 163-166, 171-176, 182-197, 213, 222-225, 285-346, 352-356, 378-392, 396-398, 403-448, 456-461, 502, 514-523, 529-544
/home/p0tt3r/.local/lib/python3.6/site-packages/numpy/fft/__init__.py 6 0 100%
/home/p0tt3r/.local/lib/python3.6/site-packages/numpy/fft/_pocketfft.py 155 113 27% 52-82, 86-90, 95, 182-189, 277-285, 368-375, 468-475, 562-566, 622-627, 631-646, 650-656, 660, 758, 856, 947, 1035, 1122-1127, 1165, 1264-1269, 1307
/home/p0tt3r/.local/lib/python3.6/site-packages/numpy/fft/helper.py 48 33 31% 19, 67-76, 114-123, 163-172, 219-224
/home/p0tt3r/.local/lib/python3.6/site-packages/numpy/lib/__init__.py 44 0 100%
/home/p0tt3r/.local/lib/python3.6/site-packages/numpy/lib/_datasource.py 219 174 21% 65-72, 89-98, 116-136, 174-204, 222-223, 226-227, 268-269, 324-330, 334-335, 341-342, 348-352, 362-365, 369-374, 380-392, 402-425, 440-456, 482-501, 507-515, 549-575, 611-623, 668-669, 672, 676-681, 685, 708, 742, 773, 790-794
/home/p0tt3r/.local/lib/python3.6/site-packages/numpy/lib/_iotools.py 387 334 14% 17, 37-43, 50-54, 61-65, 82-99, 123-126, 162-173, 210, 214-239, 244-249, 253-260, 264-269, 273, 335-357, 386-427, 431, 461-467, 554, 567, 573, 583-585, 613-627, 633-711, 715-718, 722-744, 748, 772-794, 797-824, 857-881, 922-958
/home/p0tt3r/.local/lib/python3.6/site-packages/numpy/lib/_version.py 77 61 21% 60-80, 84-101, 105-116, 119-138, 141, 144, 147, 150, 153, 156, 159
/home/p0tt3r/.local/lib/python3.6/site-packages/numpy/lib/arraypad.py 218 199 9% 31-32, 57, 83-85, 111-128, 148-153, 177-185, 210-232, 262-291, 319-376, 399-449, 480-516, 520, 734-874
/home/p0tt3r/.local/lib/python3.6/site-packages/numpy/lib/arraysetops.py 185 154 17% 47, 95-135, 140-143, 148, 260-294, 302-327, 332, 396-429, 433, 466-476, 480, 550-593, 597, 694-695, 700, 737, 741, 781-786
/home/p0tt3r/.local/lib/python3.6/site-packages/numpy/lib/arrayterator.py 73 60 18% 89-94, 97, 105-129, 136-138, 165-167, 177, 182-224
/home/p0tt3r/.local/lib/python3.6/site-packages/numpy/lib/financial.py 140 102 27% 39-44, 48, 133-138, 142, 229-236, 240, 295-310, 314, 401-411, 421, 425, 454-455, 459, 549-553, 561-563, 570, 624-650, 654, 726-735, 739, 785-786, 790, 815-830
/home/p0tt3r/.local/lib/python3.6/site-packages/numpy/lib/format.py 262 231 12% 191-193, 211-218, 232-240, 265-272, 283-312, 328-340, 347-365, 372-389, 406-417, 429, 445, 476, 509, 529-550, 559-604, 642-675, 710-770, 823-871, 883-899
/home/p0tt3r/.local/lib/python3.6/site-packages/numpy/lib/function_base.py 1183 1024 13% 7-8, 43-44, 69, 127-156, 160, 244-254, 286, 290, 387-429, 493-497, 501-505, 596-627, 631-634, 676-738, 742, 790, 796-798, 976-1140, 1144, 1230-1275, 1279, 1379-1412, 1416, 1453-1464, 1468, 1513-1525, 1529, 1556-1566, 1570, 1607-1622, 1625, 1677, 1681, 1721-1725, 1760-1767, 1793-1796, 1814-1832, 1853-1861, 1866, 1872-1875, 2041, 2044-2046, 2048, 2050, 2059, 2068-2091, 2096-2152, 2156-2174, 2178-2237, 2242, 2364-2456, 2460, 2522-2544, 2639-2644, 2748-2753, 2852-2857, 2952-2957, 3024-3032, 3036, 3040, 3044, 3105-3107, 3233-3238, 3242, 3321-3323, 3327, 3354-3356, 3385-3411, 3416, 3501-3506, 3511-3561, 3566, 3708-3712, 3718, 3821-3824, 3831-3837, 3842-3850, 3855-3980, 3984, 4050-4075, 4079, 4188-4218, 4222, 4285-4429, 4433, 4525-4640, 4644, 4694-4700, 4704, 4798-4815
/home/p0tt3r/.local/lib/python3.6/site-packages/numpy/lib/histograms.py 283 249 12% 42-43, 65-66, 89-90, 111-112, 139-154, 175-189, 217-219, 256-263, 278-294, 302-324, 335-350, 375-444, 453, 460, 660-662, 667, 783-921, 926-932, 1006-1113
/home/p0tt3r/.local/lib/python3.6/site-packages/numpy/lib/index_tricks.py 257 184 28% 33, 94-108, 149-207, 320-413, 416, 583, 597, 600, 637-641, 645, 653, 667-668, 732-735, 748, 862-880, 948-949, 953, 977-984
/home/p0tt3r/.local/lib/python3.6/site-packages/numpy/lib/info.py 3 0 100%
/home/p0tt3r/.local/lib/python3.6/site-packages/numpy/lib/mixins.py 63 13 79% 14-17, 23-25, 33-35, 43, 58, 159
/home/p0tt3r/.local/lib/python3.6/site-packages/numpy/lib/nanfunctions.py 278 217 22% 63-68, 98-111, 136-140, 165-181, 210-222, 226, 314-337, 341, 429-452, 456, 495-501, 505, 545-551, 555, 648-649, 653, 718-719, 723, 788-789, 793, 855-856, 860, 938-958, 966-971, 981-997, 1007-1015, 1020, 1108-1119, 1124, 1240-1244, 1250, 1353-1357, 1366-1376, 1386-1400, 1408-1413, 1419, 1513-1562, 1567, 1665-1671
/home/p0tt3r/.local/lib/python3.6/site-packages/numpy/lib/npyio.py 874 808 8% 34-35, 41-44, 90, 93-96, 104, 115-119, 193-208, 211, 214, 221-227, 230, 234, 237, 248-266, 276-280, 284-288, 403-466, 470, 523-545, 549-552, 632, 636-639, 704, 710-771, 777-803, 925-1189, 1195, 1322-1446, 1509-1540, 1731-2240, 2262-2268, 2290-2296, 2320-2328, 2354-2366
/home/p0tt3r/.local/lib/python3.6/site-packages/numpy/lib/polynomial.py 426 346 19% 43, 134-161, 165, 219-251, 255, 326-350, 354, 410-424, 428, 591-660, 664, 729-737, 741, 789-803, 837-851, 903-908, 912, 961-979, 983-1006, 1115, 1120-1121, 1126, 1132, 1137, 1143, 1146, 1154-1178, 1181-1184, 1187-1189, 1192, 1195-1249, 1252, 1255, 1258, 1261-1265, 1268-1272, 1275-1276, 1279-1280, 1283-1288, 1291-1292, 1295-1296, 1299-1303, 1308-1312, 1317-1321, 1324-1326, 1330-1335, 1338-1346, 1349, 1362, 1375
/home/p0tt3r/.local/lib/python3.6/site-packages/numpy/lib/scimath.py 62 38 39% 92-96, 121-124, 148-151, 175-178, 182, 225-226, 273-274, 323-324, 328, 362-364, 411-412, 416, 459-461, 505-506, 551-552, 602-603
/home/p0tt3r/.local/lib/python3.6/site-packages/numpy/lib/shape_base.py 252 205 19% 33-51, 55, 163-172, 176, 253-262, 266, 361-414, 418, 487-505, 509, 571-587, 594, 631-641, 645, 699-706, 710-715, 719, 749-775, 779, 849-858, 862, 921-926, 973-975, 1018-1020, 1027-1032, 1039-1044, 1048, 1120-1148, 1152, 1222-1244
/home/p0tt3r/.local/lib/python3.6/site-packages/numpy/lib/stride_tricks.py 65 50 23% 22-23, 27-36, 96-113, 117-136, 140, 182, 191-199, 203, 258-270
/home/p0tt3r/.local/lib/python3.6/site-packages/numpy/lib/twodim_base.py 161 107 34% 35-41, 45, 93-96, 148-151, 203, 207, 213, 271-285, 328-345, 386-395, 399, 435-438, 464-467, 471, 548-563, 568-581, 705-716, 785-787, 868, 872, 899-901, 984, 1015-1017
/home/p0tt3r/.local/lib/python3.6/site-packages/numpy/lib/type_check.py 132 92 30% 71-80, 84, 115-117, 121, 160-163, 167, 203-206, 210, 243-247, 279, 315-320, 356, 361-363, 367, 456-479, 484, 531-540, 545-547, 575, 653, 670, 710-726
/home/p0tt3r/.local/lib/python3.6/site-packages/numpy/lib/ufunclike.py 56 28 50% 26-38, 52-55, 67, 72, 112-119, 181-188, 251-258
/home/p0tt3r/.local/lib/python3.6/site-packages/numpy/lib/utils.py 531 431 19% 42-50, 87-88, 100-101, 106, 120, 126-127, 143, 238-255, 307-357, 369-385, 393-409, 430-460, 515-666, 710-715, 775-855, 879-995, 998-1004, 1037, 1041-1043, 1046, 1050, 1053, 1056, 1059, 1062, 1066, 1069, 1072-1078, 1081-1088, 1091, 1138-1139, 1162-1178
/home/p0tt3r/.local/lib/python3.6/site-packages/numpy/linalg/__init__.py 6 0 100%
/home/p0tt3r/.local/lib/python3.6/site-packages/numpy/linalg/info.py 2 0 100%
/home/p0tt3r/.local/lib/python3.6/site-packages/numpy/linalg/linalg.py 674 572 15% 97, 100, 103, 106, 109, 112-114, 117-119, 122, 135, 138, 142, 146-166, 174-183, 186-195, 198-200, 204-206, 210-213, 216-218, 222, 225-227, 244, 249, 300-320, 324, 388-405, 409, 466-477, 483, 544-552, 556, 624-672, 752-760, 766, 887-979, 1055-1073, 1077, 1154-1171, 1174-1176, 1302-1321, 1439-1459, 1465, 1598-1650, 1654, 1737-1772, 1776, 1873-1881, 1887, 1963-1979, 2060-2069, 2120-2127, 2133, 2228-2290, 2316-2318, 2322, 2466-2563, 2569, 2649-2681, 2692-2702, 2722-2743, 2748-2751
/home/p0tt3r/.local/lib/python3.6/site-packages/numpy/ma/__init__.py 11 0 100%
/home/p0tt3r/.local/lib/python3.6/site-packages/numpy/ma/core.py 2416 1789 26% 35, 108-119, 128, 130, 214-222, 227-232, 280-287, 292-302, 353, 404, 425-436, 450-480, 543-545, 554-558, 586-590, 628-636, 646-663, 708-714, 768-776, 779, 804, 812-813, 831-832, 848-853, 868-869, 884-885, 895, 928-969, 1011-1050, 1057-1080, 1087-1105, 1112-1116, 1155-1192, 1284-1291, 1295-1297, 1305, 1466-1469, 1534-1537, 1544-1547, 1621-1636, 1682-1686, 1726-1753, 1788-1810, 1815-1818, 1925-1940, 1966, 1992, 2018, 2044, 2070, 2098-2100, 2136-2140, 2176-2180, 2241-2248, 2320-2328, 2358-2370, 2397, 2404, 2411, 2418, 2421, 2436-2444, 2486-2492, 2522-2548, 2579-2588, 2645-2651, 2654, 2657-2668, 2672-2674, 2696-2703, 2790, 2796, 2801-2803, 2811-2837, 2842, 2844, 2850-2851, 2855-2864, 2870-2887, 2893, 2898, 2911, 2967, 2985-2997, 3002, 3009-3013, 3017, 3020, 3029-3076, 3127-3130, 3137-3141, 3151-3157, 3172-3279, 3289-3344, 3353-3361, 3369-3373, 3380-3442, 3454, 3458, 3474-3477, 3481, 3495-3496, 3510-3511, 3516, 3531-3534, 3539, 3569-3570, 3575, 3592, 3600, 3604-3605, 3637-3646, 3650-3657, 3704-3737, 3761-3764, 3826-3836, 3843-3867, 3870, 3873-3874, 3881-3958, 3963-3972, 3985-4036, 4049, 4062, 4069-4071, 4080, 4087-4089, 4096, 4100-4102, 4111, 4118-4120, 4127-4129, 4136, 4143-4145, 4152, 4159-4161, 4168, 4175-4185, 4192-4201, 4208-4217, 4224-4235, 4242-4253, 4260-4271, 4278-4292, 4299-4305, 4312-4317, 4323-4328, 4350-4352, 4377-4379, 4440-4481, 4528-4534, 4595-4601, 4616-4619, 4682-4704, 4728-4730, 4758, 4784-4798, 4814-4828, 4926, 4933-4940, 4980, 5021-5042, 5076-5083, 5103-5124, 5149-5156, 5184-5204, 5237-5244, 5261-5307, 5324-5332, 5345-5357, 5423-5437, 5479-5482, 5516-5519, 5592-5602, 5632-5664, 5728-5732, 5762-5795, 5821-5832, 5835-5838, 5841-5844, 5849-5870, 5909-5931, 5939, 5979, 5994, 6041-6053, 6062-6064, 6078-6081, 6087, 6092-6099, 6107-6109, 6119-6135, 6140, 6147-6162, 6165-6169, 6172-6180, 6186-6195, 6198, 6220, 6233-6243, 6299, 6339-6346, 6349, 6352, 6355, 6358-6359, 6362-6366, 6371, 6376, 6390, 6393, 6396, 6402-6408, 6425, 6477-6482, 6506-6513, 6517-6547, 6551-6563, 6566-6573, 6578-6585, 6591-6597, 6634-6645, 6680-6681, 6701-6733, 6740-6750, 6755-6765, 6782, 6826-6842, 6857-6860, 6875-6881, 6896-6902, 6918-6921, 6942-6960, 6995-6998, 7013-7017, 7075-7081, 7093-7096, 7106, 7113, 7119, 7184-7216, 7264-7291, 7318-7324, 7403-7416, 7481-7501, 7512-7518, 7526-7536, 7546-7558, 7586, 7614, 7659-7672, 7747-7775, 7822-7823, 7871-7873, 7882, 7903-7908, 7924-7925, 7948-7953, 7972-7973, 7977, 8042, 8076-8087, 8146
/home/p0tt3r/.local/lib/python3.6/site-packages/numpy/ma/extras.py 556 464 17% 50, 103-104, 154-156, 209-211, 266, 269, 279-287, 297-300, 313-325, 340-348, 371-376, 383-458, 466-484, 591-635, 704-718, 723-803, 827-846, 898-900, 915-918, 932-935, 979, 1022, 1041-1055, 1070-1079, 1105-1111, 1125-1138, 1160-1180, 1201-1202, 1217, 1240-1245, 1259-1293, 1350-1366, 1417-1453, 1478-1479, 1483-1486, 1561-1568, 1613-1618, 1666-1676, 1736-1752, 1761-1781, 1817-1820, 1856-1859, 1872-1876, 1886-1913
/home/p0tt3r/.local/lib/python3.6/site-packages/numpy/matrixlib/__init__.py 6 0 100%
/home/p0tt3r/.local/lib/python3.6/site-packages/numpy/matrixlib/defmatrix.py 234 178 24% 17-35, 71, 118-167, 170-189, 192-215, 218-223, 226, 229-230, 233, 236-237, 240, 246-253, 259-262, 286, 321, 374, 413, 447, 481, 515, 548, 571, 611, 646, 685, 720, 759, 792, 832-837, 867, 896, 935, 968, 1000-1003, 1013-1034, 1091-1113
/home/p0tt3r/.local/lib/python3.6/site-packages/numpy/polynomial/__init__.py 10 0 100%
/home/p0tt3r/.local/lib/python3.6/site-packages/numpy/polynomial/_polybase.py 368 267 27% 75, 80, 85, 90, 95, 100, 105, 110, 115, 120, 125, 130, 135, 140, 145, 150, 168-173, 191, 209, 227, 255-263, 266-279, 282-287, 290-293, 297-302, 310, 314-367, 374-378, 381, 386-388, 391, 394, 399, 402, 405-410, 413-418, 421-426, 430, 436-439, 442-445, 448-451, 454-463, 466-468, 471-475, 478-482, 485-489, 493, 498, 501-504, 507-510, 513-521, 524-529, 532, 547, 560, 585, 607-608, 630-637, 671-677, 706, 733-739, 759-761, 775-776, 804-808, 883-898, 926-939, 966-972, 1003-1011, 1049-1053
/home/p0tt3r/.local/lib/python3.6/site-packages/numpy/polynomial/chebyshev.py 361 295 18% 135-138, 160-163, 190, 226-257, 285-289, 316-323, 372-377, 424-438, 489-492, 543, 585, 629, 663-675, 719-724, 774-791, 832-849, 912-941, 1029-1069, 1134-1156, 1205, 1258, 1309, 1365, 1403-1418, 1471, 1525, 1647, 1677-1692, 1739-1749, 1800-1816, 1854-1861, 1888-1889, 1919-1926, 1952-1959, 2038-2042
/home/p0tt3r/.local/lib/python3.6/site-packages/numpy/polynomial/hermite.py 270 214 21% 120-125, 166-183, 233-236, 288, 328, 368, 410-421, 463-487, 535, 572, 630-655, 741-777, 849-873, 922, 975, 1026, 1082, 1129-1143, 1196, 1250, 1377, 1407-1422, 1472-1482, 1514-1525, 1564-1592, 1619-1620
/home/p0tt3r/.local/lib/python3.6/site-packages/numpy/polynomial/hermite_e.py 267 211 21% 121-126, 167-183, 234-237, 289, 329, 369, 407-418, 460-484, 530, 567, 625-650, 736-772, 844-867, 916, 969, 1020, 1076, 1123-1136, 1189, 1243, 1371, 1402-1417, 1467-1477, 1509-1520, 1559-1587, 1613-1614
/home/p0tt3r/.local/lib/python3.6/site-packages/numpy/polynomial/laguerre.py 256 201 21% 120-125, 166-180, 230-233, 285, 326, 366, 408-420, 462-486, 532, 569, 627-655, 742-779, 851-874, 923, 976, 1027, 1083, 1130-1143, 1196, 1250, 1377, 1406-1421, 1471-1481, 1520-1545, 1571-1572
/home/p0tt3r/.local/lib/python3.6/site-packages/numpy/polynomial/legendre.py 264 209 21% 145-150, 198-212, 262-265, 316, 358, 402, 444-458, 502-526, 575, 609, 672-701, 789-829, 894-917, 966, 1019, 1070, 1126, 1164-1179, 1232, 1286, 1410, 1440-1454, 1501-1511, 1550-1579, 1606-1607
/home/p0tt3r/.local/lib/python3.6/site-packages/numpy/polynomial/polynomial.py 217 164 24% 127-130, 191, 227, 264, 296-304, 340-342, 379-400, 439, 494-521, 602-640, 724-736, 814-824, 874, 927, 978, 1034, 1075-1088, 1136, 1190, 1336, 1365-1376, 1425-1435, 1486-1493
/home/p0tt3r/.local/lib/python3.6/site-packages/numpy/polynomial/polyutils.py 232 202 13% 118-124, 177-200, 247-255, 295-301, 344-348, 413-415, 429-438, 452-462, 478-492, 506-524, 538-540, 558-576, 582-589, 595-603, 617-691, 708-724, 743-762
/home/p0tt3r/.local/lib/python3.6/site-packages/numpy/random/__init__.py 19 1 95% 211
/home/p0tt3r/.local/lib/python3.6/site-packages/numpy/random/_pickle.py 22 12 45% 30-36, 53-59, 76-82
/home/p0tt3r/.local/lib/python3.6/site-packages/numpy/testing/__init__.py 9 0 100%
/home/p0tt3r/.local/lib/python3.6/site-packages/numpy/testing/_private/__init__.py 0 0 100%
/home/p0tt3r/.local/lib/python3.6/site-packages/numpy/testing/_private/decorators.py 72 58 19% 22-23, 63-64, 94-97, 131-171, 206-228, 255-273, 288-290
/home/p0tt3r/.local/lib/python3.6/site-packages/numpy/testing/_private/nosetester.py 184 165 10% 39-61, 99-112, 167-196, 215-233, 236-253, 262-263, 279-327, 400-480, 540-553, 557-561
/home/p0tt3r/.local/lib/python3.6/site-packages/numpy/testing/_private/utils.py 811 716 12% 29, 62-78, 92-98, 112-116, 130-135, 149-154, 164-170, 175-204, 214-227, 240-265, 270-293, 342-434, 465-475, 546-600, 661-699, 705-849, 916-917, 996-1027, 1105-1106, 1113, 1143-1183, 1208-1229, 1266-1267, 1277, 1306-1307, 1330-1338, 1364-1385, 1421-1433, 1441-1457, 1505-1514, 1567-1578, 1617-1623, 1652-1677, 1685-1692, 1698-1706, 1711-1717, 1754-1760, 1765-1771, 1801-1807, 1835-1875, 1892-1896, 1913-1918, 1966-1968, 1971-1976, 1979-1984, 2062-2069, 2072-2081, 2084-2106, 2128, 2158, 2162-2191, 2194-2199, 2203-2251, 2258-2263, 2268-2300, 2344-2350, 2361-2366
/home/p0tt3r/.local/lib/python3.6/site-packages/numpy/version.py 7 1 86% 12
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/__init__.py 39 3 92% 14-15, 18
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/_libs/__init__.py 1 0 100%
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/_libs/tslibs/__init__.py 0 0 100%
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/_version.py 7 0 100%
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/api/__init__.py 0 0 100%
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/api/types/__init__.py 4 0 100%
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/compat/__init__.py 232 132 43% 50-55, 68, 71, 74, 79-101, 105, 126, 129, 132-185, 189-198, 204, 207, 232, 264-268, 272, 278-281, 285-286, 300-355, 363-365, 375, 383-388, 406, 412-415, 423, 427, 431, 435, 439
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/compat/chainmap.py 21 15 29% 3-4, 10-14, 17-21, 25-27
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/compat/numpy/__init__.py 33 15 55% 20, 31-36, 46-48, 59-68
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/compat/numpy/function.py 165 79 52% 40-56, 68-72, 84-86, 98-100, 128-133, 149-154, 179-184, 254-259, 268-281, 285-295, 299-309, 313-323, 333-339, 355-362
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/compat/openpyxl_compat.py 11 7 36% 27-34
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/compat/pickle_compat.py 82 63 23% 14-54, 115-130, 137-146, 153-162, 167-168, 186-196
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/core/__init__.py 0 0 100%
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/core/accessor.py 64 24 62% 17, 21-28, 35-37, 51-54, 57, 60, 68, 73, 77, 80, 101, 104, 115
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/core/algorithms.py 598 541 10% 65-129, 147-161, 168-177, 203-214, 219-231, 258-273, 351-374, 394-435, 463-490, 518-564, 579-607, 632-634, 650-677, 705-716, 747-804, 861-899, 909-914, 917, 920, 928, 949-987, 1007-1011, 1015-1078, 1088-1094, 1100-1104, 1110-1127, 1131-1143, 1255-1284, 1318-1387, 1398-1458, 1494-1554
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/core/api.py 40 11 72% 54-59, 63-69, 76-81
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/core/base.py 411 301 27% 48, 58-60, 69-72, 80, 90, 100, 106-111, 118-126, 142, 149-153, 204-207, 211-214, 219-222, 226, 230-237, 240-260, 276, 279, 291-309, 330-548, 551-611, 615-624, 628, 635, 646-649, 668-683, 696-697, 705, 712, 718-722, 728, 733, 738, 743, 748, 753, 760, 765, 769, 773, 783, 787, 797, 812-815, 825, 830, 835-839, 869-872, 899-907, 924-928, 939, 953-954, 970-971, 996-1002, 1020-1021, 1099, 1120-1130, 1151-1157, 1164
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/core/categorical.py 737 595 19% 56-123, 136-140, 263-374, 404, 408-413, 418, 423, 427, 431, 451-455, 460, 465, 470, 480-482, 499-508, 513, 535-566, 584-586, 612-624, 637-639, 645, 655-657, 682-692, 719-732, 746-748, 762-767, 779-780, 792-793, 846-864, 924-942, 979-983, 1018-1033, 1066-1084, 1108-1122, 1140-1146, 1167, 1184-1194, 1208-1211, 1215-1241, 1245, 1249, 1274, 1281-1294, 1315-1323, 1344, 1351, 1365-1368, 1390-1409, 1423-1425, 1429-1430, 1454-1458, 1533-1563, 1578-1593, 1604, 1616, 1627, 1655-1692, 1703-1708, 1720-1727, 1732, 1736, 1742-1751, 1755-1768, 1773-1799, 1803, 1807-1811, 1815-1824, 1828-1830, 1834-1841, 1857-1917, 1949-1956, 1962-1966, 1982-1991, 2007-2016, 2029-2034, 2080-2090, 2104, 2121-2124, 2134-2142, 2153-2155, 2185-2188, 2191, 2194, 2198-2199, 2202-2206, 2210-2213, 2234-2243, 2267-2275, 2279-2290, 2311-2327, 2349-2352
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/core/common.py 329 240 27% 37-41, 62-67, 76-79, 96, 99-100, 119-124, 128-132, 136-147, 152-157, 163-167, 173-178, 185-204, 213-222, 227, 232-235, 243, 248-251, 256-259, 264, 268-272, 291-295, 304-314, 318-321, 333-335, 350, 354-359, 363, 367-372, 376-404, 408-419, 423-425, 430, 438, 443, 449-461, 476-479, 483-492, 508, 535-545, 549-552, 564-572, 582-591, 601-610, 617-623, 644-651, 660-666, 693-701
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/core/computation/__init__.py 0 0 100%
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/core/computation/align.py 95 77 19% 18-28, 32-35, 40, 48-57, 63-113, 118-134, 156-179
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/core/computation/api.py 6 4 33% 8-14
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/core/computation/common.py 14 7 50% 8-10, 16-20
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/core/computation/engines.py 63 34 46% 31-36, 50-52, 59, 72-77, 82, 98, 107, 110, 113-130, 142, 145, 148
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/core/computation/eval.py 101 87 14% 33-56, 71-74, 79-83, 100-101, 127-129, 133-149, 258-342
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/core/computation/expr.py 383 244 36% 34-36, 53-54, 71-78, 100-103, 131-132, 203, 243, 301-305, 308-314, 317-320, 323, 327-351, 354-360, 363-373, 382, 389-415, 418-420, 423-424, 427-429, 432, 435, 438, 441-442, 445-446, 452, 455-468, 472-482, 495-513, 516-532, 539-584, 589-636, 639, 642-659, 662-664, 667-676, 685, 699, 706, 726-732, 736, 739, 742, 745, 749, 754-756
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/core/computation/ops.py 275 179 35% 37-41, 47-49, 52-59, 63, 66, 69, 72, 75-81, 93-99, 103, 107-116, 122, 128-133, 137, 141, 145, 149, 153, 159, 163, 167, 172, 184-186, 189, 195-197, 202-204, 208-210, 214, 218, 222-227, 234-242, 249-257, 299-308, 312, 327-340, 356-363, 381-400, 405-431, 434-438, 442, 459-470, 496-502, 506-507, 510, 514-520, 526-527, 530-532, 535-536, 542-546, 549
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/core/computation/pytables.py 332 254 23% 25-27, 33-35, 38, 42-52, 56, 62, 66, 74-78, 81, 85-126, 130-134, 139, 145, 150, 155, 160, 164-165, 171-219, 223, 229, 234-238, 242, 246-280, 283-286, 292, 295, 301, 309, 314, 318-343, 349-352, 359-373, 384-387, 392-397, 400, 403-405, 410-420, 424-446, 450, 453, 475-479, 513-545, 548-550, 555-568, 576-578, 583-591, 596-601
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/core/computation/scope.py 102 73 28% 24, 34-40, 46-47, 75-77, 104-135, 138-141, 156, 174-194, 208-218, 231-240, 249-259, 274-284, 289, 301-302
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/core/config.py 301 147 51% 81-83, 85, 106-134, 139-150, 155-167, 183-192, 195-203, 206, 228-230, 389-393, 396-403, 406-408, 439-440, 442-443, 454, 456, 462, 468, 520-521, 540-544, 558-559, 576, 598, 614-628, 635-656, 662-686, 760-761, 784, 788-789, 803-808, 836-838
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/core/config_init.py 130 13 90% 29-30, 42-43, 306-307, 411-412, 496-502
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/core/dtypes/__init__.py 0 0 100%
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/core/dtypes/api.py 13 4 69% 71-76
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/core/dtypes/cast.py 559 505 10% 42-49, 61-66, 74-164, 187-249, 255-334, 349-351, 366-426, 464-483, 510-516, 530-542, 546-550, 560-562, 571-576, 584-590, 595-602, 610-637, 643-704, 712-767, 774-823, 831-835, 857, 859-860, 865, 872-932, 943-1021, 1031-1037, 1067-1096, 1116-1124
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/core/dtypes/common.py 398 291 27% 50-52, 79-82, 113, 182-188, 294, 325-331, 368, 400-406, 437-439, 473-475, 507, 541-547, 574-578, 605-609, 651, 684-692, 721-726, 771-774, 817-820, 866-869, 907-910, 955-958, 1002-1005, 1043-1045, 1086-1095, 1127-1133, 1171-1174, 1194-1199, 1243-1254, 1302-1314, 1361-1367, 1405-1407, 1449-1452, 1484-1490, 1522-1525, 1539-1542, 1576-1593, 1647, 1649, 1651, 1684-1687, 1707-1719, 1742-1770, 1790, 1792, 1794, 1796, 1798, 1800, 1802-1810, 1813-1814, 1839, 1841, 1843, 1852-1869, 1893-1896, 1916-1965
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/core/dtypes/concat.py 231 215 7% 36-63, 72-86, 95-99, 121-168, 188-211, 316-378, 398-452, 462-467, 476-487, 506-558, 570-611
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/core/dtypes/dtypes.py 360 216 40% 31, 41-43, 52-55, 63, 66, 70, 74, 78, 83, 91, 95, 97, 158-160, 164-170, 175, 180, 187-188, 193-199, 202-220, 223-228, 232-267, 275-277, 299, 316-332, 339, 344, 382, 387, 394-396, 400-428, 442, 446, 450, 453-456, 491-508, 512-522, 530-537, 540, 544, 548, 551-554, 563-576, 609-643, 651-656, 659-661, 665, 669, 672-675, 685-696
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/core/dtypes/generic.py 30 1 97% 62
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/core/dtypes/inference.py 61 29 52% 48, 72, 98, 130-138, 172-178, 202, 226-231, 310, 335, 362, 389-394, 423-424
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/core/dtypes/missing.py 162 139 14% 45, 52-64, 78-90, 115-120, 125-160, 164-189, 212-215, 224-234, 248-252, 286-336, 346-357, 364-366, 381-392, 399
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/core/frame.py 2054 1813 12% 305, 313-314, 318-406, 413-461, 466-533, 541, 548, 554-555, 568-608, 612-613, 623-638, 651-671, 683-684, 696-701, 745-749, 791-813, 819, 833-861, 888-900, 978-1005, 1057-1058, 1092-1186, 1205-1233, 1261-1288, 1294-1295, 1351-1358, 1376-1377, 1396-1431, 1505-1527, 1536-1543, 1604-1610, 1624-1625, 1647-1648, 1664-1679, 1717-1737, 1770-1869, 1899-1904, 1908-1909, 1969-1973, 1977-1992, 2016-2020, 2023-2038, 2048-2113, 2116-2139, 2145-2153, 2156, 2160-2178, 2181-2214, 2217-2219, 2291-2309, 2355-2366, 2444-2491, 2494-2498, 2502, 2506-2519, 2522-2523, 2527-2544, 2549-2554, 2562-2570, 2584-2592, 2610-2612, 2680-2695, 2717-2794, 2798-2802, 2830-2853, 2860-2872, 2876-2879, 2885-2888, 2895-2905, 2914, 2929-2935, 2940, 3022-3027, 3032, 3039, 3107-3167, 3305-3383, 3390, 3394, 3398, 3402, 3473-3511, 3534-3542, 3565-3585, 3593-3643, 3653-3707, 3737-3739, 3774, 3811, 3835-3842, 3861-3872, 3879-3927, 3932-3942, 3948-3956, 3962-3967, 3973-3982, 3985-3988, 3992-4013, 4016-4019, 4023-4025, 4062-4135, 4168-4182, 4258-4290, 4296-4297, 4302-4306, 4311-4315, 4381-4382, 4464-4465, 4503-4508, 4568-4569, 4670-4671, 4695-4697, 4715-4719, 4759-4770, 4836-4879, 4882-4893, 4896-4905, 4911-5002, 5005-5023, 5063-5068, 5160-5193, 5315, 5320-5358, 5366-5367, 5426-5460, 5484-5519, 5540-5556, 5575-5606, 5630-5650, 5653-5691, 5695-5772, 5803, 5835-5839, 5871-5875, 5879-5884, 5917-5922, 5973-5995, 6017-6029, 6048-6060, 6111-6132, 6162-6173, 6177-6225, 6229-6259, 6266-6305, 6313-6343, 6348-6353, 6357-6362, 6367-6395, 6399-6409, 6414-6431, 6435-6449, 6453-6481, 6486-6491, 6495
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/core/generic.py 1985 1581 20% 74-95, 124-131, 142-146, 151-160, 164-177, 187, 192-193, 197-199, 206, 213, 276-277, 281-283, 288-290, 294-297, 307-332, 337-344, 347-356, 360-369, 373-374, 378-382, 386-412, 415-418, 422, 426, 431, 438, 443, 448, 453, 458, 461-470, 535-556, 559-560, 586-604, 614-630, 673-680, 697-704, 725-729, 844-890, 940-952, 995-1002, 1008, 1012-1017, 1020-1029, 1036-1038, 1044, 1049, 1058, 1066-1067, 1071, 1075, 1116, 1119, 1132-1139, 1142, 1145, 1151, 1154-1155, 1168, 1174-1175, 1180-1215, 1225-1228, 1407-1412, 1470-1471, 1490-1491, 1531-1532, 1562-1563, 1588-1589, 1677-1694, 1762-1791, 1805-1809, 1829-1832, 1835, 1839-1849, 1855, 1859-1860, 1864-1870, 1873, 1878, 1883, 1887-1890, 1895, 1911-1929, 1932-1935, 1943-1951, 1954-1955, 1958-1964, 1977-1985, 2018-2068, 2074-2102, 2143-2158, 2240-2248, 2319-2378, 2398-2413, 2442-2446, 2512-2535, 2552-2584, 2599-2602, 2616-2617, 2631-2632, 2728, 2763-2778, 2987-3022, 3028-3043, 3047, 3051, 3111-3121, 3129-3150, 3153-3159, 3221-3248, 3265, 3282-3284, 3367-3442, 3497, 3595-3598, 3612-3614, 3627, 3634, 3638-3653, 3665-3669, 3674-3677, 3693-3699, 3706-3708, 3712-3713, 3717-3718, 3722-3723, 3728-3741, 3744, 3748, 3790-3793, 3811, 3816, 3821, 3825, 3829-3830, 3834-3835, 3840-3841, 3850-3851, 3872-3875, 3884, 3893, 3976-4005, 4026-4027, 4030, 4033-4035, 4063, 4102-4109, 4157, 4261-4357, 4363, 4370, 4475-4621, 4711-4767, 4808-4878, 4895, 4899, 4914, 4918, 4921-4942, 4946-4967, 5022-5055, 5078, 5102, 5155-5160, 5259-5260, 5275-5279, 5297-5303, 5516-5523, 5545-5562, 5581-5593, 5627-5653, 5694-5727, 5738-5779, 5785-5856, 5864-5992, 6117-6129, 6138-6152, 6181-6190, 6212-6226, 6252-6283, 6354-6382, 6406-6434, 6474-6502, 6515, 6747-6838, 6843-6852, 6884-6895, 6898-6904, 6928-6941, 6970-6972, 7041-7043, 7063-7064, 7073-7074, 7083-7084, 7092-7097, 7286-7294, 7306-7314, 7326-7334, 7347-7370, 7381-7392
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/core/groupby.py 2036 1679 18% 354-357, 360-369, 373, 388-394, 408-446, 450, 453-458, 467, 470-473, 476-480, 491-524, 527, 531, 538, 543-544, 548-549, 554-555, 563-605, 609, 614-619, 626-629, 636-646, 654-662, 665, 668-675, 681-741, 760-767, 778, 785-805, 808-811, 817, 820, 834-852, 860-869, 880-889, 892-909, 913-929, 932-959, 962, 965-1022, 1025-1038, 1116, 1126-1130, 1144-1147, 1173-1174, 1189-1195, 1211, 1217-1221, 1237-1252, 1260-1271, 1275-1286, 1305, 1310-1314, 1323-1324, 1334-1335, 1345-1346, 1364, 1383, 1459-1539, 1602-1608, 1660-1664, 1670-1674, 1680-1684, 1690-1693, 1699-1702, 1718-1731, 1756-1758, 1783-1785, 1833, 1841-1848, 1852-1855, 1859-1866, 1894-1900, 1904, 1907, 1911, 1922-1925, 1928-1929, 1932-1938, 1944-1974, 1979-1985, 1989, 1993, 1997, 2004-2007, 2018-2021, 2026-2031, 2036, 2040-2044, 2049-2053, 2056-2063, 2067, 2071-2073, 2078-2081, 2087-2097, 2142, 2146-2183, 2186-2310, 2313, 2317, 2321-2334, 2339-2353, 2356-2359, 2362-2378, 2382-2401, 2423-2453, 2489-2493, 2501-2505, 2509, 2520-2535, 2539-2547, 2551-2561, 2566, 2570-2573, 2577, 2581, 2585, 2589-2591, 2628-2723, 2726, 2729, 2736, 2741-2745, 2749-2751, 2755-2757, 2760-2770, 2774, 2799-2967, 2971, 2976-2988, 3035-3041, 3067-3070, 3112, 3119-3149, 3154-3207, 3211-3219, 3222, 3227, 3232-3259, 3263-3272, 3277-3316, 3323-3331, 3363-3382, 3386-3435, 3441-3445, 3450-3566, 3570-3577, 3584, 3590-3604, 3608-3610, 3613-3631, 3640-3706, 3709-3713, 3717-3719, 3723-3750, 3755-3779, 3782, 3787-3814, 3817-3830, 3833-4004, 4008-4055, 4062-4082, 4090-4102, 4106-4114, 4117-4134, 4138-4154, 4192-4217, 4291, 4309-4322, 4325-4331, 4335-4339, 4343-4350, 4353-4369, 4372, 4375-4390, 4401-4443, 4446-4447, 4453-4454, 4461-4475, 4524-4540, 4548, 4553-4567, 4584-4587, 4590-4607, 4610-4626, 4629, 4643-4647, 4652, 4657, 4660-4676, 4679, 4682, 4685, 4695, 4701, 4705-4714, 4717-4720, 4726-4728, 4732-4738, 4741, 4745-4752
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/core/index.py 2 0 100%
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/core/indexes/__init__.py 0 0 100%
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/core/indexes/accessors.py 94 61 35% 27-32, 52-81, 88-92, 95-120, 123, 128-143, 161, 165, 192, 205, 209, 255-258
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/core/indexes/api.py 83 64 23% 39-42, 47-58, 62-100, 104-118, 125-129, 133-137
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/core/indexes/base.py 1798 1420 21% 80-83, 100-103, 184-375, 404-418, 435-439, 454-464, 484-491, 495, 499, 523-529, 548, 561, 565, 571-576, 581, 586, 591, 595, 599-603, 616-617, 634-653, 663, 687-704, 708, 714, 723-731, 735, 741-747, 757-764, 788-799, 802, 805-807, 814-826, 835-849, 859, 866, 872-977, 983-990, 1002-1003, 1023-1028, 1037, 1059, 1064, 1073-1083, 1086-1088, 1091-1096, 1100, 1104-1106, 1110, 1113, 1116-1119, 1159-1180, 1197, 1206, 1212, 1215-1231, 1235, 1244, 1261, 1278, 1294, 1310, 1313, 1318, 1322, 1325, 1328, 1331, 1334, 1337, 1340, 1343, 1346, 1349, 1362-1394, 1410-1474, 1489-1495, 1512-1513, 1530, 1548-1569, 1573, 1579-1583, 1588, 1592, 1597, 1607-1616, 1620-1621, 1626, 1630, 1633, 1637-1639, 1642-1644, 1649-1669, 1674, 1694-1698, 1714-1718, 1721, 1724, 1739-1758, 1773-1787, 1791-1795, 1802, 1828-1841, 1846-1860, 1865-1871, 1875-1879, 1884-1887, 1904, 1922, 1933-1942, 1948-1957, 1960-1982, 2005-2008, 2012-2019, 2025-2039, 2045, 2059-2066, 2074-2082, 2088-2097, 2100, 2121, 2132, 2148-2151, 2154, 2157, 2162, 2166, 2169, 2172, 2180-2187, 2210-2270, 2273-2274, 2300-2330, 2357-2377, 2412-2441, 2456-2471, 2520-2535, 2545-2581, 2588, 2613-2614, 2664-2704, 2708-2712, 2715-2725, 2732-2755, 2763-2776, 2779-2781, 2805-2817, 2824-2827, 2831-2837, 2856-2865, 2883-2891, 2923-2925, 2943-2944, 2965-3001, 3023-3062, 3090-3184, 3187-3226, 3230-3248, 3259-3378, 3381-3423, 3426-3427, 3432, 3456-3465, 3473-3480, 3488-3496, 3521-3537, 3540-3550, 3557, 3573-3616, 3650-3693, 3703, 3719-3722, 3738-3746, 3750-3751, 3755, 3759, 3781-3788, 3806-3811, 3814, 3817, 3820, 3828-3855, 3872, 3887, 3898, 3906, 3911-3912, 3927-3963, 3971-3989, 4016-4018, 4038-4041, 4076-4080, 4100, 4145-4152, 4185-4212, 4216-4218, 4224-4229, 4236-4239, 4243-4244
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/core/indexes/category.py 360 256 29% 61-88, 109-118, 139-159, 164-174, 183-197, 212-228, 234-246, 250, 256-269, 273, 278, 282, 285, 289, 293, 297, 300, 304-309, 313-318, 322, 326-329, 334, 338-339, 342, 348, 353, 357, 361, 365-368, 373-375, 379, 409-412, 419-428, 432, 436-444, 460-508, 514-528, 532-557, 561-568, 572-575, 583-594, 598-603, 607, 612-618, 621, 641, 651, 672-679, 683, 690-695, 699, 710-728, 741-747
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/core/indexes/datetimelike.py 449 356 21% 43, 86-109, 114, 118, 122, 132-154, 157, 165-174, 186-208, 227-231, 238, 244, 247, 251-255, 265-304, 311-313, 322-325, 338-346, 351-362, 368-389, 394-408, 411-412, 422, 431-432, 435-439, 458-464, 470, 481-497, 509-518, 529-545, 557-566, 570, 576-583, 587, 594, 607-619, 623, 628, 631, 641-656, 663-687, 693, 700, 706-711, 718-729, 744-750, 766-789, 795-800, 805-810, 817-833, 839-850, 855-869
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/core/indexes/datetimes.py 1046 858 18% 66-95, 108-137, 143-145, 157-162, 276-415, 420-550, 554, 558-560, 563-573, 583-603, 610, 615, 618-625, 630-690, 694, 698-699, 703-705, 712-714, 718-746, 751-753, 759-783, 787-796, 800-804, 807-825, 828-841, 844-847, 853, 857-873, 876-879, 908-909, 919-924, 934, 940-952, 960-976, 992-1010, 1028, 1035-1060, 1067-1076, 1080-1093, 1096-1105, 1108-1138, 1141-1166, 1180-1191, 1194-1197, 1212-1253, 1271-1318, 1321-1359, 1362-1364, 1372-1397, 1401-1407, 1418-1451, 1472-1492, 1495-1500, 1519-1552, 1556, 1559, 1628, 1638, 1649-1650, 1657-1662, 1665, 1671, 1675-1677, 1681, 1688, 1692, 1710-1738, 1754-1770, 1793-1801, 1847-1860, 1874-1889, 1913-1938, 1948-1954, 1975-2013, 2055, 2115-2127, 2178-2186, 2195-2199, 2209-2214, 2218, 2222, 2228-2229
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/core/indexes/frozen.py 70 39 44% 28-30, 36, 40-42, 45-47, 50-52, 57, 62, 65, 69, 73, 77, 88-91, 95, 102, 106-107, 116-118, 137-141, 146-150
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/core/indexes/interval.py 565 445 21% 51-61, 66-76, 85-90, 98, 172-192, 198-227, 231-252, 258-269, 274, 279-281, 285, 289, 304-311, 328-332, 368-369, 408-410, 452-454, 489-506, 509, 513, 518, 522, 526, 529, 537-548, 552, 556, 559, 562-565, 569-573, 577-586, 590, 594, 600, 607-612, 616, 620, 624, 628, 638-644, 649-652, 655, 663-669, 676-689, 692-700, 703-721, 724-733, 736-759, 797-827, 830-851, 856-881, 889-952, 956-957, 961-964, 967-969, 972-980, 983-988, 995-999, 1004-1030, 1033-1044, 1049, 1053-1054, 1062-1090, 1093-1097, 1100, 1103, 1107-1117, 1123-1128, 1145, 1153-1155, 1236-1296
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/core/indexes/multi.py 1201 1037 14% 115-143, 163-175, 181, 188-215, 261-280, 290, 295-317, 362-380, 412-426, 432, 436-438, 443-447, 451-456, 462-468, 472, 476-478, 485, 490, 504-513, 519-528, 531, 535, 538, 541, 553-570, 580, 583-603, 607-634, 638, 642, 647, 650-670, 681-685, 689-707, 712, 716, 721, 729, 739-747, 756, 760, 765, 770, 775-776, 797-811, 815-821, 827, 831-840, 844-899, 917-922, 956-958, 962-1018, 1022, 1040-1048, 1081-1086, 1090, 1096, 1100-1111, 1144-1154, 1186-1201, 1237-1242, 1277-1302, 1341-1375, 1379, 1383, 1387-1390, 1395-1411, 1414-1436, 1443-1449, 1456-1472, 1486-1505, 1508, 1512-1513, 1519, 1536-1578, 1581-1588, 1607-1633, 1655-1666, 1676-1685, 1689, 1699-1705, 1731-1776, 1791-1809, 1813-1852, 1856, 1873-1919, 1923-1925, 1981, 1984-2011, 2053-2121, 2165-2283, 2290-2370, 2408-2491, 2508-2520, 2532-2570, 2577-2583, 2599-2606, 2621-2635, 2646-2664, 2669-2674, 2677-2692, 2710-2731, 2742-2743, 2756-2760, 2763-2764, 2768-2781, 2790-2814, 2818
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/core/indexes/numeric.py 217 125 42% 38-55, 59-62, 67-72, 75-88, 97, 153, 158, 162-167, 171-172, 179-181, 212, 217, 221-226, 234-237, 244-246, 249-250, 257-259, 289, 293-306, 310-315, 320-328, 332-337, 341-348, 354-371, 374-386, 390-403, 408, 412-414
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/core/indexes/period.py 632 491 22% 56-58, 65-70, 84-115, 121-123, 206-276, 280-295, 303-309, 318-327, 331, 334-338, 349, 353-364, 370, 374, 378, 382, 385-388, 397-422, 426, 432, 436, 444-456, 460-474, 480-488, 492, 499-504, 545-565, 574-576, 600, 604, 608, 612, 629-641, 644-680, 683-684, 687-691, 694-705, 720-723, 727, 733, 740-775, 780-791, 798-801, 811-838, 860-874, 877-899, 903-914, 918-923, 926-931, 938-947, 950-957, 960-963, 966-969, 974-989, 994-1015, 1039, 1063, 1072-1112, 1117-1149, 1153-1164, 1169-1174, 1225-1229
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/core/indexes/range.py 323 221 32% 60, 66-68, 76, 81-82, 88-89, 91, 95-96, 101-104, 111-117, 127, 130-134, 141, 150, 155, 159, 163, 167, 172-174, 180-183, 187, 196, 222, 226, 231, 235, 239, 243, 246, 250-255, 259-262, 266-273, 277, 281, 296-301, 307-317, 332-370, 374-375, 379-380, 389-397, 411-453, 458-463, 467, 477, 483-544, 547-560, 583-633, 656-660
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/core/indexes/timedeltas.py 511 398 22% 41-52, 65-98, 190-259, 263-299, 303, 307-318, 322-323, 327-330, 335-339, 342-354, 359-374, 378-387, 390-395, 399-400, 426-444, 452, 463, 467-486, 502-517, 524-530, 535-541, 544-568, 571-593, 596-597, 612-639, 642-644, 652-669, 672-675, 685-712, 730-743, 746-752, 757-760, 803-808, 811, 815, 819, 823, 842-870, 886-900, 912-918, 922, 930-935, 939-957, 1017
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/core/indexing.py 1113 995 11% 78, 94-96, 100-105, 108, 111-127, 130-145, 148-150, 153-155, 158-185, 188-194, 197, 201-205, 213-221, 224-226, 229-244, 248, 252-256, 260-261, 264, 270-291, 294-640, 664-765, 768-847, 851-853, 857-880, 883-901, 907-914, 917-941, 946-961, 966-1022, 1031-1070, 1074-1108, 1111-1165, 1182-1280, 1283-1285, 1288-1300, 1326-1336, 1339-1352, 1359-1373, 1376, 1379, 1382, 1385-1393, 1397-1411, 1444-1516, 1523-1540, 1545-1546, 1551-1570, 1573-1627, 1659-1675, 1678, 1685-1699, 1704-1705, 1710-1714, 1722-1733, 1737-1762, 1765-1776, 1791-1797, 1800-1832, 1836-1849, 1857, 1860-1869, 1872-1886, 1905-1918, 1932, 1936-1940, 1950-1972, 1978-1996, 2000-2009, 2018-2035, 2043-2052, 2058-2062, 2091-2104, 2112-2120, 2125-2134, 2139, 2145, 2149, 2155-2169, 2181-2199, 2207-2212
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/core/internals.py 2846 2385 16% 109, 111, 118, 124, 128, 133, 138, 145-153, 157, 163, 167, 174-176, 179, 183, 187, 198, 205-210, 216, 221-223, 236-247, 250, 253, 256-258, 262, 275, 285-297, 301, 305, 309, 313, 316, 322-324, 332-339, 342, 352, 358-359, 365-371, 378-422, 441-485, 491-498, 504-540, 543, 558-642, 650, 654-658, 664-691, 696-703, 707, 710-712, 718-729, 734-737, 747-769, 775, 785-906, 930-1021, 1033-1082, 1089-1131, 1138-1157, 1165-1198, 1210-1236, 1240-1241, 1248-1271, 1291-1408, 1432-1517, 1520-1522, 1541-1551, 1568-1652, 1664-1666, 1670, 1674, 1677, 1692-1705, 1709-1711, 1715-1718, 1722-1730, 1733, 1736-1737, 1758-1772, 1776, 1779, 1800-1811, 1824-1827, 1836-1840, 1850-1873, 1878, 1887-1891, 1898, 1907-1913, 1916, 1923, 1927, 1933-1936, 1947, 1950-1953, 1960-1962, 1979-2004, 2008-2015, 2018, 2024-2042, 2051-2054, 2057, 2061-2065, 2078-2081, 2089, 2099-2141, 2153-2169, 2173-2177, 2181, 2186-2190, 2193, 2200-2239, 2246-2318, 2332, 2339, 2342, 2345, 2352, 2359, 2366-2370, 2375-2382, 2387-2388, 2394, 2401-2418, 2427-2435, 2440-2449, 2455-2458, 2469-2472, 2482-2492, 2495-2500, 2520-2544, 2548-2556, 2560, 2566-2576, 2579, 2590-2594, 2606-2619, 2624-2627, 2633, 2637-2641, 2645-2650, 2665-2697, 2701-2712, 2716, 2724-2739, 2746-2749, 2766, 2770, 2775, 2779, 2782, 2786, 2791, 2798, 2802, 2806-2809, 2813-2816, 2819, 2828-2855, 2861-2863, 2869-2874, 2879-2893, 2901-2907, 2914-2917, 2928, 2931-2954, 3018-3037, 3041-3050, 3053, 3060, 3064, 3067-3076, 3090-3092, 3095-3096, 3099-3100, 3104-3111, 3118-3132, 3136, 3142-3147, 3150, 3153, 3156-3157, 3160-3161, 3164-3178, 3181-3217, 3220-3222, 3225, 3228-3237, 3240-3246, 3273-3337, 3361-3422, 3429, 3432, 3435, 3438, 3441, 3444, 3447, 3450, 3453, 3456, 3459, 3462, 3465, 3468, 3474-3518, 3522, 3528-3530, 3533-3535, 3540-3541, 3546-3547, 3552-3553, 3558-3568, 3577-3578, 3587-3588, 3592-3610, 3613-3630, 3633, 3637, 3655-3663, 3667-3678, 3685-3711, 3729-3735, 3739-3779, 3789-3811, 3821-3827, 3830-3834, 3840-3861, 3871-3877, 3887-3896, 3902-3934, 3945-4046, 4061-4099, 4106-4110, 4126-4154, 4168-4228, 4233-4241, 4247-4263, 4267-4285, 4291-4297, 4300-4319, 4334-4352, 4366-4369, 4377-4398, 4407, 4411, 4415, 4420, 4425, 4430-4461, 4464-4467, 4472, 4476-4477, 4481, 4485, 4489, 4492, 4495, 4498, 4501, 4504, 4507, 4511, 4515, 4523, 4527, 4531, 4534, 4537, 4540, 4548-4550, 4557, 4576-4596, 4601-4607, 4612-4631, 4636-4642, 4648-4752, 4759-4766, 4773-4783, 4791-4798, 4804-4825, 4829-4838, 4847-4855, 4860-4882, 4887-4899, 4904-4908, 4914-4919, 4924-4948, 4952, 4957-4977, 4985-4986, 5006-5010, 5020-5038, 5057-5061, 5072-5081, 5108-5167, 5182-5207, 5217, 5242-5317, 5324-5342, 5361-5421, 5430-5484, 5494-5512, 5520-5524, 5527, 5532-5537, 5541-5547, 5552-5577, 5580-5634, 5639-5645, 5649-5659
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/core/missing.py 344 312 9% 31-70, 75-94, 98-110, 125-238, 248-309, 347-363, 402-413, 422-449, 454-455, 468-490, 494-517, 521-548, 552-579, 586-587, 591, 604-645, 662-683, 698-700
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/core/nanops.py 515 411 20% 30-35, 52, 65, 71-85, 105-142, 149-163, 167-176, 181-199, 208-244, 248-253, 257, 261-263, 269-285, 304-315, 319-320, 324-325, 331-340, 346-366, 373-408, 412-426, 432-433, 440-474, 479-487, 493-507, 522-525, 533-536, 549-595, 607-663, 668-673, 678-692, 696-706, 710-727, 732-736, 744-759, 763-783, 788-802, 806-826, 833-845
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/core/ops.py 608 455 25% 155, 158-163, 166-167, 223-230, 243, 290, 322-329, 342-349, 360-386, 392-455, 461-525, 528-619, 623-628, 638-649, 653, 659-660, 673-695, 698-711, 715-740, 752-764, 777-825, 829-888, 900-926, 929-953, 1067-1080, 1155-1193, 1199-1239, 1257-1267, 1278-1299, 1305-1315, 1325-1336, 1356-1369, 1373-1378, 1386-1408, 1413-1423
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/core/panel.py 708 579 18% 54-62, 104-107, 131, 138-149, 157-191, 194-234, 237, 263-280, 283-289, 292-305, 308-325, 331-340, 353-370, 378-390, 398, 410, 451-462, 465-466, 490-494, 497-516, 541-545, 549-581, 585-595, 598-616, 649-650, 653, 656, 679-684, 688, 691, 712-732, 735-742, 747-750, 753-768, 772-783, 808, 833, 858-868, 878-897, 913-915, 933-988, 1034-1055, 1059-1114, 1119-1139, 1143-1158, 1162-1191, 1195-1200, 1204-1224, 1228-1232, 1238, 1247-1259, 1264, 1280-1286, 1306-1309, 1312, 1338-1360, 1384-1392, 1396-1406, 1412, 1418, 1425-1438, 1456-1483, 1488-1522, 1545-1558, 1589, 1593, 1620-1623, 1630-1633
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/core/panel4d.py 22 12 45% 50-58, 68-95
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/core/panelnd.py 57 34 40% 35-39, 55-72, 80-89, 94-96, 103-115, 124
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/core/reshape/__init__.py 0 0 100%
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/core/reshape/api.py 5 0 100%
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/core/reshape/concat.py 251 232 8% 208-213, 224-363, 368-413, 417-420, 423-444, 447-453, 460-502, 505-508, 513, 518-615
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/core/reshape/merge.py 630 562 11% 53-58, 81-139, 147-149, 234-253, 485-493, 510-575, 578-606, 610-630, 634-646, 650-720, 724, 730-767, 783-878, 887-933, 938-978, 983-1021, 1041-1066, 1077-1078, 1087-1118, 1122-1123, 1127-1129, 1155-1159, 1164-1169, 1184-1191, 1198-1240, 1246, 1251-1296, 1301-1366, 1373-1404, 1408-1415, 1419-1441, 1445-1446, 1458-1502, 1506-1517, 1523-1547, 1551-1554, 1558
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/core/reshape/pivot.py 303 279 8% 29-140, 145-209, 215-232, 238-294, 300-332, 336-344, 437-473, 478-546, 550-563
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/core/reshape/reshape.py 555 509 8% 78-116, 119-133, 136-160, 165-187, 190-252, 255-277, 281-291, 296-370, 377-389, 419-429, 448-455, 459-475, 479-489, 502-547, 553-586, 590-700, 710-767, 803-836, 1023-1069, 1162-1216, 1222-1299, 1323-1335
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/core/reshape/tile.py 154 136 12% 94-138, 197-210, 218-268, 272-276, 285-294, 311-323, 330-355, 364-374, 384-390, 397-405, 411-415
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/core/reshape/util.py 31 19 39% 11-13, 41-63
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/core/series.py 1067 804 25% 100-102, 109-111, 162-167, 172, 175, 177, 180, 184-188, 190, 192-198, 200-223, 227-230, 233-235, 240, 242, 248, 252, 257-261, 277-281, 286, 290-291, 296, 304, 308-318, 324, 328, 334, 343, 350, 355, 360, 365, 398, 403, 409, 413, 422, 433, 443-444, 470, 481, 487, 490, 497, 503, 512-519, 524, 528, 532, 536, 544-570, 576, 590-609, 613, 616-618, 621-664, 668-714, 718-726, 730-734, 737-795, 798-804, 808-837, 840-848, 851-854, 866-869, 886-901, 920-924, 927-929, 956-960, 963-973, 1028-1050, 1059-1069, 1105-1125, 1131, 1140, 1173-1174, 1190-1195, 1210-1211, 1224-1227, 1248-1266, 1279, 1283-1292, 1296, 1300, 1332-1336, 1368-1372, 1409-1413, 1455-1465, 1486-1489, 1508-1511, 1527-1528, 1543, 1558-1583, 1591-1593, 1673-1679, 1701-1734, 1767-1781, 1810-1816, 1865-1869, 1878-1934, 1942-1980, 2003-2014, 2063, 2110, 2134-2136, 2158-2159, 2180-2182, 2223-2224, 2322-2356, 2372, 2400-2422, 2524-2557, 2569-2579, 2584-2591, 2597, 2603, 2670-2677, 2681, 2686, 2693, 2697-2703, 2729-2732, 2736-2751, 2803-2804, 2822-2829, 2886-2895, 2932-2941, 2948-2949, 2958, 2962, 2966, 2970, 2982-3001, 3009-3017, 3022-3030, 3051-3056, 3072-3077, 3117-3133, 3143, 3146-3151, 3157-3158, 3164-3171, 3177-3198, 3201-3205, 3208-3220, 3224-3226, 3233-3243, 3249-3262, 3270-3277, 3282
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/core/sorting.py 222 195 12% 47-95, 115-116, 120-124, 129-144, 157-169, 173-181, 185-227, 238-261, 271-279, 282-283, 286, 292-293, 298-310, 330-340, 350-361, 366-381, 422-485
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/core/sparse/__init__.py 0 0 100%
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/core/sparse/api.py 4 0 100%
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/core/sparse/array.py 432 345 20% 54-68, 82-85, 90-149, 154-160, 193-232, 236-261, 265, 270-273, 292-301, 309-310, 314-317, 321-326, 329-332, 335, 341, 352, 359-363, 368, 372, 376-384, 388, 404-408, 411-422, 429-445, 448-453, 456-467, 479-522, 530, 534-547, 551-562, 570-574, 587-592, 596, 600-602, 606-615, 630-637, 651-658, 668-675, 695-703, 714-723, 738-759, 764-766, 771-773, 782-800, 818-852, 857-864
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/core/sparse/frame.py 472 394 17% 59-122, 126, 132-170, 174-177, 182-207, 210-222, 246-263, 266, 273, 279-300, 310-311, 316-320, 325, 331-334, 338, 342, 350-353, 357-371, 391-420, 426-432, 452-456, 459-464, 492-496, 499-501, 506-513, 528-534, 541-578, 585-610, 621-637, 642, 646-681, 687-701, 708-732, 737-740, 743-759, 762-783, 789-790, 799-802, 817-822, 826, 831, 851-869, 886, 895-897, 905-932, 953-977
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/core/sparse/list.py 70 48 31% 27-34, 37-38, 42, 45-55, 58, 62, 66, 83-93, 96-100, 110-112, 122-123, 133-138, 142-152
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/core/sparse/scipy_sparse.py 68 61 10% 12-18, 26-95, 105-122, 129-138
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/core/sparse/series.py 340 248 27% 56-65, 81-87, 116-216, 221, 225, 229, 233, 237, 241, 245, 249, 253, 261, 266, 270-271, 275-278, 283-287, 291, 295, 299-302, 310-318, 328-329, 334, 338, 343-364, 368, 371-374, 388-392, 396, 399-419, 423-427, 430, 441, 460-464, 483-488, 491-492, 522-526, 529-540, 549-556, 574-582, 587-588, 595-599, 606, 622-627, 633-643, 662-668, 674-677, 682-685, 693-702, 706-731, 746-750, 801-804, 846
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/core/strings.py 655 475 27% 38-46, 97-138, 142-151, 156, 160-197, 214-216, 245-265, 284-285, 304-305, 402-429, 446-465, 494-513, 517-520, 525-537, 548-570, 580-593, 678-693, 768-805, 840-856, 873, 896-897, 921-937, 941-957, 979-999, 1023-1038, 1061-1065, 1082-1084, 1103-1119, 1136-1144, 1203-1207, 1236-1246, 1263-1264, 1282-1288, 1305-1311, 1316-1317, 1323, 1330-1331, 1334-1335, 1338-1339, 1374-1378, 1381-1384, 1387-1392, 1397-1470, 1474-1476, 1480-1481, 1485-1486, 1539-1541, 1550-1552, 1556-1557, 1561-1562, 1566-1568, 1572-1574, 1578-1580, 1584-1585, 1589-1590, 1612, 1616, 1620, 1637-1638, 1642-1643, 1647-1648, 1652-1653, 1657-1658, 1672-1673, 1678-1679, 1684-1685, 1689-1690, 1696-1698, 1703-1704, 1713, 1717, 1746-1747, 1753-1754, 1770-1773, 1803-1804, 1810-1811, 1899-1927
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/core/tools/__init__.py 0 0 100%
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/core/tools/datetimes.py 276 253 8% 34-36, 198-384, 430-493, 507-543, 555-565, 595-668, 673, 681-689
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/core/tools/numeric.py 67 60 10% 95-177
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/core/tools/timedeltas.py 62 52 16% 70-96, 130-135, 142-155, 161-191
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/core/util/__init__.py 0 0 100%
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/core/util/hashing.py 121 106 12% 32-48, 76-120, 139-167, 185-190, 208-227, 254-304, 316-331
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/core/window.py 858 603 30% 69-86, 90, 94, 98, 102, 105-112, 118-130, 135-146, 163-170, 173-178, 182, 185, 189, 194-197, 209-213, 217-243, 248-266, 279-312, 316-328, 331-334, 512-531, 539-568, 587-619, 664-670, 678-679, 685-686, 693-700, 713-721, 728, 752-814, 824-838, 851-861, 865-866, 878-881, 893-896, 899-900, 912-914, 926-935, 948-949, 956, 962, 974-989, 1011-1035, 1054-1069, 1077, 1085-1092, 1097-1128, 1133-1135, 1140-1144, 1205, 1215-1218, 1224, 1230-1231, 1237-1238, 1244-1245, 1251-1252, 1258, 1264-1265, 1271-1272, 1278, 1284, 1290, 1296, 1303, 1316, 1323-1326, 1335, 1394, 1399, 1402-1406, 1453, 1461, 1467, 1473-1474, 1480-1481, 1487-1488, 1494-1495, 1501, 1507-1508, 1514-1515, 1521, 1527, 1533, 1539, 1546, 1559, 1683-1690, 1694, 1738, 1758-1784, 1790-1791, 1798-1799, 1808-1815, 1822-1836, 1844-1869, 1877-1974, 1978-2003, 2007-2013, 2017-2023, 2027-2030, 2034-2045, 2049-2056, 2063-2069, 2076-2079, 2086-2089
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/errors/__init__.py 10 0 100%
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/io/__init__.py 0 0 100%
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/io/api.py 19 4 79% 24-32
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/io/clipboards.py 2 0 100%
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/io/common.py 236 189 20% 40-53, 66, 69, 73, 88-91, 96-99, 115-117, 121-122, 150-168, 187-213, 228, 264-288, 317-418, 435, 438, 441, 444-457, 461, 471, 474, 477, 480-561
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/io/date_converters.py 40 31 22% 8-10, 14-17, 22-28, 34-41, 45-47, 51-63
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/io/excel.py 700 578 17% 165, 172-174, 178-184, 188-207, 221-232, 258-296, 300, 314, 331-360, 369-556, 560, 564-565, 568, 571, 575-587, 593-595, 615-626, 633-641, 646-657, 709-728, 738, 743, 762, 769, 774-792, 795, 798-803, 809-817, 821, 824, 828, 837-856, 862, 867-927, 939-949, 972-1031, 1056-1070, 1093-1098, 1127-1146, 1163, 1189-1227, 1245-1262, 1288-1305, 1326-1328, 1344-1350, 1366-1368, 1384-1443, 1455-1463, 1469, 1475-1516, 1537-1554, 1565-1575, 1588-1595, 1602, 1607-1646, 1660-1692
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/io/feather_format.py 35 28 20% 13-34, 47-83, 106-112
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/io/formats/__init__.py 0 0 100%
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/io/formats/common.py 18 16 11% 22-44
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/io/formats/console.py 33 19 42% 24-25, 29-32, 36, 51-84
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/io/formats/format.py 1412 1267 10% 106-110, 113-127, 130, 134-153, 161-176, 179-193, 196-232, 235-244, 247-248, 252-287, 293, 296, 299, 302, 309-313, 316, 321-329, 333-337, 346, 350-358, 379-419, 426-496, 502-579, 585-640, 644-675, 683-699, 703-706, 727-738, 742-781, 785, 789, 794-823, 826-833, 856-863, 871-990, 1002-1028, 1040-1054, 1060-1065, 1074-1091, 1094-1095, 1098-1103, 1106, 1109-1121, 1126-1144, 1150-1184, 1187-1229, 1232-1364, 1367-1389, 1392-1418, 1422-1520, 1534-1619, 1623-1656, 1660-1736, 1740-1754, 1758-1780, 1790-1822, 1830-1839, 1842-1843, 1846-1890, 1899-1906, 1913-1947, 1955-2023, 2027-2030, 2036-2038, 2044-2046, 2051-2064, 2070, 2073-2075, 2081-2090, 2096, 2099-2103, 2139-2166, 2171-2182, 2186-2192, 2196-2205, 2210-2214, 2219-2222, 2230-2237, 2243-2245, 2248-2252, 2263-2291, 2296-2319, 2326-2337, 2341-2350, 2362-2365, 2397-2398, 2421-2464, 2476-2477, 2481-2483, 2487-2503
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/io/formats/printing.py 113 86 24% 28-44, 51-56, 60-64, 104-126, 134-155, 194-196, 200-204, 208, 213, 216, 220, 224-228, 236-237, 241-268
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/io/formats/terminal.py 76 66 13% 30-48, 52-73, 80-94, 98-122, 126-127
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/io/gbq.py 12 9 25% 7-21, 92-93, 104-105
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/io/html.py 317 242 24% 37-60, 88, 109-115, 130-145, 191-194, 197-198, 220-222, 237, 251, 278, 293, 308, 323, 338, 347, 350-353, 356-364, 367-371, 375-381, 399-402, 405, 408, 411, 414, 417, 420, 423, 426-444, 447-451, 454-455, 474-478, 504, 507, 510, 513-514, 517-534, 552-589, 592, 595, 598, 601-611, 614-615, 620-626, 630-646, 674-698, 702, 706-729, 733-757, 902-910
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/io/json/__init__.py 4 0 100%
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/io/json/json.py 402 333 17% 33-66, 73-86, 89, 92, 107-108, 117-123, 138-173, 176-179, 350-366, 381-404, 414-419, 432-449, 453-454, 458-469, 473-491, 498-502, 505-517, 532-558, 562-565, 571-583, 587-592, 595, 602-669, 678-705, 708, 717-727, 732-745, 749-754, 763-782, 788-805, 811-829, 832-837, 841-865
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/io/json/normalize.py 96 88 8% 17-21, 59-91, 174-274
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/io/json/table_schema.py 72 66 8% 44-60, 65-75, 79-103, 152-182
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/io/msgpack/__init__.py 24 10 58% 12-18, 32-33, 42
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/io/msgpack/_version.py 1 0 100%
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/io/msgpack/exceptions.py 18 3 83% 20-21, 24
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/io/packers.py 327 277 15% 78-81, 97-98, 101, 138-160, 183-219, 238-240, 257-258, 264-299, 304-357, 364-543, 551-680, 690, 706, 723, 737, 755-756, 760-792
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/io/parquet.py 103 80 22% 14-40, 50-64, 67, 70, 78-103, 107-119, 124-129, 135-159, 171-190, 193-199, 203-205, 226-227, 256-257
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/io/parsers.py 1565 1416 10% 383-394, 414-420, 425-458, 630-709, 726-741, 753-818, 821, 824-860, 864-877, 880-1038, 1041-1045, 1048-1059, 1062, 1065-1093, 1096-1097, 1100-1106, 1110, 1121-1124, 1149-1155, 1183-1195, 1204-1216, 1222-1288, 1291-1292, 1296, 1302-1315, 1322-1372, 1380-1396, 1400-1404, 1407-1430, 1435-1455, 1458-1485, 1488-1514, 1518-1572, 1591-1619, 1638-1659, 1664-1669, 1678-1768, 1771-1778, 1787-1832, 1835, 1838-1922, 1926-1930, 1933-1940, 1943-1945, 2002-2003, 2007, 2018-2126, 2132-2163, 2166-2232, 2235-2275, 2278-2292, 2296-2298, 2302-2336, 2341-2351, 2354-2503, 2511-2530, 2536-2539, 2551-2600, 2615, 2618-2667, 2684-2688, 2703-2727, 2730-2745, 2763-2770, 2773-2776, 2781-2794, 2797-2800, 2805, 2821-2870, 2873-2933, 2936-3006, 3011-3044, 3050-3108, 3112-3127, 3132-3158, 3162-3191, 3195-3227, 3232-3240, 3245-3265, 3269-3275, 3279-3286, 3290-3302, 3311-3329, 3356-3367, 3371-3387, 3390-3399, 3411-3412, 3415
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/io/pickle.py 48 39 19% 37-48, 75-114, 121-126, 130-138
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/io/pytables.py 2374 1905 20% 64-66, 71-74, 84-86, 102-113, 246-263, 272-283, 320-378, 383-392, 444-467, 470, 475-476, 480, 483, 486, 489, 493-497, 504-509, 512, 515, 518, 521, 529, 532, 538-539, 552-613, 619-621, 628-630, 648-654, 668-671, 697-717, 731-732, 753, 779-836, 863-866, 889-916, 953-962, 988-1045, 1060-1068, 1074-1076, 1086-1092, 1096-1101, 1120-1152, 1160-1185, 1189-1190, 1194-1203, 1209-1289, 1293-1344, 1347-1349, 1355-1362, 1388-1415, 1420-1431, 1434-1435, 1440-1459, 1515-1517, 1523, 1527-1528, 1531-1538, 1542, 1546, 1551-1554, 1557-1558, 1562-1567, 1573-1595, 1599-1600, 1604, 1608, 1613, 1618, 1621, 1627-1633, 1637, 1640, 1643-1648, 1654-1667, 1671-1674, 1681-1707, 1711-1713, 1717, 1721, 1725, 1729-1734, 1739-1740, 1749, 1754-1755, 1758, 1761, 1786-1801, 1816-1823, 1827, 1833-1838, 1842-1843, 1848, 1854-1877, 1883-1929, 1932, 1938-1979, 1983-1990, 1993, 1996-2000, 2003-2005, 2011-2030, 2033, 2036-2040, 2044-2056, 2059, 2062-2066, 2070, 2075, 2079-2089, 2098-2168, 2172-2175, 2179-2182, 2191-2192, 2195, 2198, 2201, 2204, 2212, 2233-2236, 2240, 2245-2252, 2256, 2261, 2265-2271, 2275-2277, 2280-2281, 2285, 2289, 2293, 2297, 2301, 2305, 2309, 2313, 2317, 2321, 2325, 2330, 2334, 2338, 2342-2344, 2348, 2354-2358, 2361, 2365, 2373-2377, 2390, 2396, 2399-2412, 2419-2431, 2435, 2439, 2443-2445, 2448, 2452-2481, 2484-2494, 2499-2526, 2529-2531, 2534-2537, 2540-2541, 2544-2546, 2549-2568, 2571-2587, 2591-2625, 2631-2634, 2638, 2641-2725, 2731-2734, 2740-2743, 2749-2753, 2762-2765, 2768-2771, 2774-2777, 2786-2790, 2798-2802, 2808-2814, 2822-2830, 2836-2847, 2856-2883, 2888-2909, 2912-2931, 2945-2946, 2981-2989, 2993, 2997, 3001-3009, 3016-3019, 3023-3044, 3051, 3055, 3062-3067, 3073, 3078, 3082, 3087, 3091, 3095, 3099, 3104, 3108, 3113, 3120, 3130, 3134, 3138, 3151-3152, 3157-3159, 3163, 3167-3176, 3180-3197, 3202-3207, 3213-3225, 3232-3256, 3277-3325, 3333-3348, 3352, 3359-3385, 3409-3596, 3602-3656, 3663-3681, 3689-3706, 3714-3742, 3756, 3763, 3783, 3790-3870, 3881, 3901-3937, 3943-4008, 4025-4058, 4063-4118, 4131, 4135-4137, 4141-4185, 4198, 4201, 4205-4209, 4214-4228, 4238-4243, 4255, 4259, 4263-4271, 4276-4289, 4292, 4305, 4308-4316, 4321-4329, 4341-4343, 4347, 4359-4376, 4381-4385, 4392-4395, 4411-4424, 4428-4504, 4513-4536, 4540-4549, 4569-4578, 4596-4619, 4623-4627, 4631-4637, 4643-4646, 4663-4706, 4710-4719, 4734-4740, 4746-4764, 4770-4777
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/io/sas/__init__.py 1 0 100%
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/io/sas/sasreader.py 29 26 10% 34-70
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/io/sql.py 617 519 16% 50-58, 64-88, 93-99, 103-119, 128-149, 156-164, 187-192, 250-270, 329-330, 394-413, 460-471, 500-501, 513-522, 531-541, 557-575, 578, 581-582, 586-587, 590-602, 605, 608-641, 644-645, 648-670, 676-689, 694-720, 724-750, 753-768, 771-794, 809-847, 855-861, 865-905, 908-928, 937, 941, 966-971, 975-979, 983, 1029-1030, 1039-1044, 1090-1105, 1142-1173, 1177, 1180, 1187-1199, 1202-1206, 1209-1211, 1229-1233, 1244-1251, 1268-1272, 1275, 1278-1280, 1283-1295, 1298-1299, 1307-1342, 1345-1368, 1383-1386, 1390-1398, 1401-1421, 1428-1436, 1443-1459, 1462-1465, 1499-1512, 1519-1523, 1526, 1529-1530, 1533-1535, 1563-1564
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/io/stata.py 1165 1018 13% 167-183, 242-354, 369-451, 522-581, 608-644, 650-653, 670-706, 790-793, 802, 806, 809, 814-826, 833-936, 957-1005, 1009, 1013, 1017-1020, 1023-1033, 1037-1097, 1102-1129, 1132-1137, 1142-1151, 1156-1162, 1166-1175, 1178-1182, 1186-1196, 1199-1208, 1211-1221, 1224-1302, 1306-1319, 1322, 1326-1327, 1330-1339, 1342-1397, 1400-1428, 1434-1441, 1444, 1459-1461, 1472-1617, 1622-1651, 1654-1661, 1665-1692, 1699-1726, 1730, 1736, 1742-1745, 1749-1752, 1756-1761, 1768, 1775-1779, 1783-1794, 1814-1832, 1851-1869, 1939-1952, 1958-1962, 1968-2000, 2006-2015, 2030-2088, 2094-2142, 2145-2159, 2162-2163, 2167-2201, 2205-2234, 2238-2258, 2261-2292, 2295-2296, 2299-2305
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/plotting/__init__.py 9 2 78% 19-20
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/plotting/_compat.py 50 40 20% 9-14, 18-25, 29-34, 38-43, 47-51, 55-59, 63-67, 71-75
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/plotting/_converter.py 689 591 14% 111-121, 127-137, 141-143, 147-154, 161-169, 173-178, 182, 189, 192-204, 214-219, 223-238, 242-252, 261-266, 275-281, 285-319, 329-336, 343-353, 360-376, 379, 387-388, 391, 395-398, 402-459, 462, 468-493, 497-514, 527-542, 556-558, 569-574, 578-800, 804-870, 874-916, 920-936, 940-951, 977-986, 991-998, 1003-1019, 1027-1034, 1058-1068, 1073-1083, 1089-1099, 1102-1108, 1121-1131, 1134-1139
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/plotting/_core.py 1375 1128 18% 46-47, 54, 58-60, 64-65, 81, 100-182, 185-214, 221-236, 240-243, 246, 249-259, 262, 266, 271-291, 294-318, 325-338, 341-367, 370, 373-380, 385-412, 419, 423-467, 470-475, 479-487, 490-495, 498-526, 529-538, 542-543, 547, 551, 556-582, 586-607, 610-621, 626-629, 633-642, 645-649, 656-672, 675-678, 696-757, 760-777, 780-781, 785-793, 804-817, 821, 824-826, 833-840, 843-889, 897-900, 903-919, 922, 931-936, 940, 943-944, 947-983, 990-995, 999-1019, 1022-1025, 1029-1036, 1040-1051, 1058-1063, 1066-1081, 1088-1097, 1103-1134, 1137-1144, 1147-1153, 1164-1191, 1194-1197, 1201, 1205, 1208-1258, 1261-1270, 1273-1277, 1287, 1291, 1295-1299, 1306-1309, 1312-1324, 1329-1339, 1342-1360, 1365-1367, 1370-1373, 1377-1380, 1388-1390, 1393, 1396-1403, 1408-1424, 1427-1429, 1432, 1440-1443, 1446-1449, 1452, 1455-1498, 1511-1516, 1519-1525, 1529-1544, 1547-1574, 1577, 1580-1597, 1600-1629, 1632-1635, 1638, 1641, 1645-1648, 1652-1655, 1677-1731, 1893, 1915-1919, 1983-2056, 2063-2069, 2092-2116, 2160-2191, 2228-2265, 2294-2310, 2359-2389, 2395-2421, 2428-2462, 2468, 2471, 2496, 2521, 2538, 2555, 2572, 2591, 2608, 2627, 2644, 2669, 2697, 2716, 2735, 2754, 2775, 2792, 2813, 2832, 2855, 2882-2886
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/plotting/_misc.py 277 258 7% 56-136, 140-146, 170-231, 270-322, 341-383, 438-500, 517-530, 547-573
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/plotting/_style.py 105 80 24% 19-104, 125-126, 131-135, 138-140, 143-146, 149-150, 160-161, 164, 172-178
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/plotting/_tools.py 179 161 10% 18-23, 46-66, 70-110, 191-276, 280-295, 299-337, 341-345, 349-357, 361-366, 371-382
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/stats/__init__.py 0 0 100%
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/stats/api.py 1 0 100%
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/stats/moments.py 185 95 49% 187-244, 278, 286-293, 307-314, 333, 352, 373, 398-406, 430-437, 469, 533, 585, 660-661, 679, 729, 760, 774-781, 796-803, 846
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/testing.py 2 0 100%
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/tools/__init__.py 0 0 100%
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/tools/plotting.py 11 2 82% 14-17
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/tseries/__init__.py 0 0 100%
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/tseries/api.py 2 0 100%
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/tseries/frequencies.py 489 358 27% 123, 138, 150, 162, 174, 189, 219-230, 254-258, 273-283, 299-302, 306-309, 325-326, 379, 435-499, 506, 517-537, 548-551, 576-607, 624-638, 643, 647, 651, 655, 658-691, 695, 699, 703, 707, 711-748, 752-753, 757, 760-794, 797-804, 808-815, 819-822, 827-835, 844-858, 864-872, 876-879, 896-899, 919-952, 971-1008, 1015-1016, 1020-1022, 1026-1027, 1031-1032, 1036-1037, 1049
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/tseries/offsets.py 1669 1262 24% 37-43, 47-50, 56-104, 111-114, 119-122, 211-216, 223-245, 265-301, 306, 309, 312, 315-323, 326-338, 344-363, 367, 370-381, 384, 387, 390, 393-400, 403, 406-409, 415-417, 421, 425, 428, 432-435, 439-442, 445-456, 462-475, 480-493, 498, 502, 506-523, 526, 530, 538-540, 550, 553-560, 564-575, 579-592, 609-637, 641-673, 678-687, 690-692, 699-703, 706-720, 723-728, 738-745, 753-760, 767-776, 781-789, 794-799, 804-873, 877-886, 896-904, 907-913, 928-930, 935-939, 984-1007, 1011, 1014-1017, 1033-1043, 1048-1052, 1063-1066, 1075-1082, 1086-1087, 1090-1093, 1103-1108, 1112-1113, 1116-1118, 1129-1139, 1143, 1147-1148, 1152-1168, 1172, 1177-1198, 1206, 1210, 1230-1233, 1237-1250, 1253-1265, 1268-1269, 1288-1290, 1294-1309, 1312-1324, 1327, 1335-1348, 1358-1375, 1378-1386, 1415-1426, 1430-1431, 1435-1438, 1442-1459, 1486-1499, 1503-1504, 1508-1511, 1515-1533, 1549-1558, 1561, 1565-1587, 1591-1595, 1598-1600, 1606-1609, 1613-1617, 1665-1680, 1684-1704, 1707-1714, 1717-1720, 1724-1725, 1733-1740, 1763-1774, 1778-1793, 1797-1802, 1805-1807, 1811-1812, 1819-1824, 1839-1845, 1848, 1852-1858, 1862-1863, 1880-1903, 1906-1909, 1926-1950, 1965-1979, 1983, 1986-1989, 2000-2014, 2018-2020, 2028-2034, 2038-2041, 2045-2046, 2057-2082, 2093-2113, 2124-2166, 2171, 2174-2177, 2187-2216, 2220-2222, 2225-2227, 2275-2289, 2294-2298, 2302-2306, 2310-2313, 2316, 2321-2331, 2335-2398, 2401-2404, 2407-2410, 2413-2423, 2426-2428, 2432-2434, 2437, 2440-2443, 2446-2449, 2454-2465, 2473, 2525-2538, 2542, 2548, 2552-2589, 2592-2599, 2602-2611, 2614-2628, 2632-2634, 2639, 2654-2674, 2677-2679, 2687, 2703-2715, 2719-2727, 2732, 2735-2743, 2747, 2751, 2755-2774, 2780, 2784-2800, 2857-2865, 2878, 2889-2896, 2905-2910, 2941-2985
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/util/__init__.py 2 0 100%
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/util/_decorators.py 115 52 55% 35-36, 83, 89-118, 127, 183, 198, 208-210, 250, 267-281, 301-304, 311-315, 318, 322-326
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/util/_depr_module.py 46 30 35% 39-40, 43-44, 49-94, 97-103
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/util/_print_versions.py 72 60 17% 14-56, 60-137, 141-154, 158
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/util/_tester.py 17 12 29% 11-22
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/util/_validators.py 82 72 12% 17-25, 41-66, 105-111, 121-125, 155-157, 205-218, 223-227, 266-322
/home/p0tt3r/.local/lib/python3.6/site-packages/pandas/util/testing.py 1066 866 19% 66, 71-73, 84, 104-108, 130-137, 158-165, 187-221, 245-252, 258-259, 263, 274-279, 284-289, 299, 309, 313-319, 323-325, 329-332, 336-343, 347-351, 355-358, 362-363, 367-374, 378-380, 384-386, 390-394, 398-402, 406-413, 420-424, 428-432, 436-443, 447-448, 475-486, 490-495, 527-553, 573-588, 604-610, 629-634, 677-685, 725-733, 740-748, 752-753, 757-762, 781-813, 821-823, 832, 863-940, 947-968, 986-1008, 1012-1019, 1026, 1030-1033, 1055-1071, 1075-1093, 1120-1168, 1212-1284, 1340-1390, 1433-1460, 1486-1502, 1526-1541, 1563-1590, 1594-1597, 1604-1605, 1617-1622, 1626, 1630, 1635, 1639, 1644-1645, 1650-1651, 1655-1659, 1663, 1667, 1671, 1675-1676, 1680-1682, 1686, 1690-1692, 1703-1708, 1719-1721, 1726-1727, 1731-1732, 1736-1739, 1743-1744, 1748-1750, 1754-1756, 1760, 1764, 1769-1770, 1774-1775, 1779-1788, 1792, 1796-1797, 1801-1804, 1808-1811, 1815-1818, 1845-1914, 1976-1998, 2002-2025, 2045-2056, 2060-2064, 2068-2073, 2077-2080, 2086, 2121-2142, 2157-2166, 2228-2234, 2327-2364, 2387-2393, 2396-2398, 2415-2420, 2460-2465, 2485-2490, 2493, 2496-2502, 2530-2543, 2574-2616, 2638, 2642-2643, 2647, 2652-2662, 2685-2709, 2717, 2721, 2729, 2733, 2741, 2745, 2753, 2757, 2764, 2807-2816, 2841-2863, 2881-2891
/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/__init__.py 57 14 75% 40, 51-54, 57-60, 63, 82-85, 98, 118, 125
/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/_auth.py 161 130 19% 15-16, 36-45, 49-56, 68-70, 73-75, 80-98, 102-114, 121-124, 128-133, 141-145, 156-183, 192-205, 210-265
/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/_compat.py 18 6 67% 10-15
/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/charset.py 176 6 97% 15, 23, 27, 210-212
/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/connections.py 816 355 56% 34-36, 42-44, 51, 54-57, 60, 68-71, 103, 106-113, 204, 208, 211-214, 217-245, 250, 260, 265, 268, 271, 320, 323, 329, 337, 339, 353-364, 369, 376-377, 396, 409-410, 419-420, 434-437, 445-446, 454, 456-459, 467, 470-473, 476-479, 490, 495-498, 502-505, 513, 521-522, 525, 528-530, 540-544, 548-553, 557-562, 569-574, 578, 585-588, 602-603, 606-609, 613-635, 663-669, 679, 693-703, 705-706, 714-716, 723-729, 739-742, 750, 756-757, 759, 778-784, 792, 813-814, 816-817, 821-823, 826-834, 838-839, 866-876, 878-886, 891-944, 947-958, 962, 968, 971, 1002-1004, 1037, 1071, 1080, 1091-1109, 1121-1135, 1156-1170, 1176-1180, 1200-1203, 1233, 1237, 1244, 1258-1259, 1263-1279
/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/constants/CLIENT.py 25 0 100%
/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/constants/COMMAND.py 32 0 100%
/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/constants/CR.py 64 0 100%
/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/constants/ER.py 472 0 100%
/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/constants/FIELD_TYPE.py 30 0 100%
/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/constants/FLAG.py 15 0 100%
/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/constants/SERVER_STATUS.py 10 0 100%
/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/constants/__init__.py 0 0 100%
/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/converters.py 186 122 34% 19-22, 25, 31-35, 38-42, 45, 51, 54, 57, 73, 76-99, 111, 114, 118, 121, 124, 127-134, 137-141, 144-148, 151-152, 155, 158-162, 183-195, 217-238, 265-279, 296-301, 325-336, 339-341, 345
/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/cursors.py 321 178 45% 57, 60, 65, 68-69, 73, 78, 81, 95, 100-104, 110-114, 120-122, 125, 131-133, 144, 166, 186-200, 203-236, 266-278, 284, 291-297, 303, 305, 312-322, 357, 361-369, 372, 391-402, 405-407, 433, 436-447, 452-457, 460, 464, 468-474, 482, 490, 493, 497-509, 512-532
/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/err.py 31 1 97% 107
/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/optionfile.py 17 10 41% 4, 11-12, 15-19, 22-23
/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/protocol.py 177 46 74% 67-73, 90, 97, 109, 112-115, 128-130, 133-135, 138-140, 143-148, 161-166, 205-206, 223, 271, 285, 310, 320, 331-338, 341
/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/times.py 12 3 75% 12, 16, 20
/home/p0tt3r/.local/lib/python3.6/site-packages/pymysql/util.py 7 1 86% 6
/home/p0tt3r/.local/lib/python3.6/site-packages/pytz/__init__.py 196 123 37% 56-75, 87-108, 113-117, 160-183, 188, 197-199, 219-221, 224, 227, 230, 233, 237-239, 243-247, 250, 253, 288, 300, 340, 343-359, 372-383, 396-399, 402, 405, 408, 411, 414, 418-420, 424-428, 484-495, 502-505, 509
/home/p0tt3r/.local/lib/python3.6/site-packages/pytz/exceptions.py 6 0 100%
/home/p0tt3r/.local/lib/python3.6/site-packages/pytz/lazy.py 100 59 41% 4-8, 21-28, 31-38, 41-48, 51-58, 61-68, 87, 98-106, 142, 151-160
/home/p0tt3r/.local/lib/python3.6/site-packages/pytz/tzfile.py 77 66 14% 22, 26-124, 127-134
/home/p0tt3r/.local/lib/python3.6/site-packages/pytz/tzinfo.py 178 126 29% 7-8, 33-40, 47-56, 63, 73, 84-86, 94, 102, 110, 114-116, 141-145, 148, 153, 180-191, 195-201, 248-256, 317-394, 419-425, 458-464, 496-502, 505-514, 521, 539-577
/home/p0tt3r/.local/lib/python3.6/site-packages/redis/__init__.py 7 0 100%
/home/p0tt3r/.local/lib/python3.6/site-packages/redis/_compat.py 105 78 26% 9-65, 71, 74, 77-116, 123, 126, 129, 132, 135, 150-151
/home/p0tt3r/.local/lib/python3.6/site-packages/redis/client.py 1521 1175 23% 33-45, 50-56, 74-85, 90-92, 97-126, 157-165, 169, 173-177, 181, 185, 190-196, 200-211, 219-223, 231-234, 238-240, 244-246, 250, 254, 258-260, 264-269, 273-275, 279-282, 291-292, 296-298, 302, 306-308, 312-316, 320-321, 325-326, 330-331, 335-338, 342, 351-352, 356-370, 374-378, 382-407, 413, 582-583, 596-643, 646, 650, 660, 672-686, 733-735, 745, 750-763, 767-775, 780, 787, 791, 801-808, 812, 816, 820, 829-832, 839-841, 845, 849, 853, 857, 861, 865, 869, 878-881, 890-893, 897, 909-912, 919, 940-953, 958, 969-972, 976, 980, 987, 991, 996, 1001, 1005, 1009, 1013, 1017, 1021, 1025, 1034-1046, 1054-1057, 1064-1067, 1071, 1075, 1082, 1091, 1100, 1107-1114, 1121, 1128, 1137-1148, 1157, 1164, 1168, 1171, 1178, 1182, 1190-1192, 1199-1201, 1207, 1214-1217, 1221, 1228, 1235, 1242, 1251, 1258, 1262, 1268-1272, 1280-1283, 1292-1295, 1299, 1303, 1311-1313, 1321-1324, 1332-1334, 1338, 1342, 1348, 1352, 1359-1362, 1378-1394, 1397, 1404-1405, 1413-1415, 1419, 1432, 1436, 1443, 1450, 1454, 1458, 1464, 1470, 1475, 1489-1493, 1506-1510, 1521-1523, 1532, 1542, 1546, 1550, 1554, 1558, 1568, 1580, 1584, 1594, 1598, 1605, 1609, 1613, 1641-1680, 1692-1697, 1708-1712, 1723-1728, 1739-1744, 1755-1760, 1771-1776, 1790-1796, 1810-1816, 1821, 1825, 1829-1830, 1837-1838, 1842-1843, 1850-1851, 1855, 1859, 1863, 1867-1868, 1878-1879, 1883, 1887-1888, 1895-1896, 1906, 1918-1931, 1958-1991, 1999, 2008-2011, 2022, 2031, 2040, 2048, 2055, 2062, 2068, 2076, 2092-2106, 2119-2126, 2137-2154, 2168-2185, 2198-2205, 2214-2218, 2245-2266, 2270, 2277, 2281, 2289, 2296, 2303-2307, 2314-2318, 2331-2335, 2348-2352, 2369-2379, 2389-2395, 2405-2411, 2427-2439, 2446, 2450, 2459, 2468, 2475, 2490-2497, 2513-2525, 2532, 2536, 2544, 2547-2559, 2564, 2571, 2575, 2580, 2584, 2588, 2592, 2596, 2602, 2606, 2610, 2617, 2624, 2631-2636, 2640-2641, 2645, 2652, 2659, 2665, 2671, 2678, 2681, 2692, 2704, 2712, 2716, 2720, 2724, 2733, 2743-2746, 2755-2760, 2767, 2775, 2808, 2824, 2832-2862, 2881-2888, 2891-2897, 2900-2906, 2909, 2916-2925, 2930, 2939-2948, 2951-2963, 2967-2974, 2982-2984, 2994-3003, 3010-3012, 3022-3031, 3038-3040, 3044-3047, 3057-3060, 3066-3067, 3075-3126, 3129-3140, 3145-3149, 3152-3161, 3167-3168, 3194-3201, 3204, 3207, 3210-3213, 3216, 3219-3239, 3246-3251, 3254-3257, 3266-3289, 3303-3304, 3307-3369, 3373-3386, 3389-3392, 3395-3398, 3401-3407, 3411-3420, 3424-3460, 3464-3466, 3470, 3477-3486, 3490-3504, 3512-3515, 3521-3523, 3532-3536, 3552-3556, 3568-3569, 3582-3583, 3587-3590, 3599-3601
/home/p0tt3r/.local/lib/python3.6/site-packages/redis/connection.py 632 525 17% 14-15, 36-52, 77-82, 85-88, 91, 94, 101-103, 107-127, 131-133, 149-156, 161-167, 171, 174-197, 201-215, 218-234, 237-240, 243-254, 260-263, 266-269, 273-275, 279-285, 288, 291-334, 340-345, 348-351, 354-367, 370-372, 375-380, 383-432, 436, 451-471, 474, 477-480, 483, 486, 490-511, 518-551, 556-560, 565-577, 581-589, 593-615, 619, 623-627, 632-639, 643-673, 677-698, 706-727, 731-737, 748-761, 765-768, 773-777, 785-789, 849-916, 930-938, 941, 947-951, 954-961, 965-971, 975-976, 984-987, 991-995, 999-1002, 1042-1044, 1050-1063, 1067-1069, 1084-1101, 1106-1116, 1120-1121
/home/p0tt3r/.local/lib/python3.6/site-packages/redis/exceptions.py 28 0 100%
/home/p0tt3r/.local/lib/python3.6/site-packages/redis/lock.py 85 64 25% 104-115, 118-123, 128-130, 133, 146-163, 166-173, 176-177, 181-185, 188-191, 200-204, 207-212
/home/p0tt3r/.local/lib/python3.6/site-packages/redis/utils.py 15 6 60% 6, 18-19, 24-26
/home/p0tt3r/.local/lib/python3.6/site-packages/requests/__init__.py 55 13 76% 55, 76-83, 88-89, 96-100
/home/p0tt3r/.local/lib/python3.6/site-packages/requests/__version__.py 10 0 100%
/home/p0tt3r/.local/lib/python3.6/site-packages/requests/_internal_utils.py 16 5 69% 22-25, 41-42
/home/p0tt3r/.local/lib/python3.6/site-packages/requests/adapters.py 222 107 52% 47, 77, 81, 132, 137-143, 178-201, 217-235, 242-252, 279, 304-310, 327, 349-350, 354, 385-392, 413-414, 423-431, 433, 454-531
/home/p0tt3r/.local/lib/python3.6/site-packages/requests/api.py 22 7 68% 87-88, 100-101, 116, 131, 146
/home/p0tt3r/.local/lib/python3.6/site-packages/requests/auth.py 174 141 19% 38-69, 76, 83-84, 87, 93, 96-97, 104-105, 112-115, 119-125, 132-227, 231-232, 243-276, 280-296, 299, 305
/home/p0tt3r/.local/lib/python3.6/site-packages/requests/certs.py 4 1 75% 18
/home/p0tt3r/.local/lib/python3.6/site-packages/requests/compat.py 38 13 66% 38-54
/home/p0tt3r/.local/lib/python3.6/site-packages/requests/cookies.py 238 150 37% 21-22, 43, 46, 49, 54-60, 66, 69, 72, 76, 79, 86, 90, 94, 115, 127, 151-162, 196-199, 207-216, 224-225, 233, 241-242, 250, 258-259, 268, 272-276, 280-284, 292-297, 306-313, 316-319, 328, 335, 341, 344-346, 352-354, 368-374, 388-399, 403-406, 410-412, 416-419, 423, 427-438, 447-474, 480-491, 523-524, 537, 540, 545-547
/home/p0tt3r/.local/lib/python3.6/site-packages/requests/exceptions.py 35 0 100%
/home/p0tt3r/.local/lib/python3.6/site-packages/requests/hooks.py 15 6 60% 28-33
/home/p0tt3r/.local/lib/python3.6/site-packages/requests/models.py 446 209 53% 71, 94, 98-102, 107, 119-171, 179, 182, 191-195, 239, 252, 256-269, 326, 329-337, 347-353, 363, 374-375, 380-381, 384-387, 390, 397-400, 402, 407, 417-426, 429, 433-436, 465-468, 477-478, 481-500, 504, 511, 517, 543-554, 570, 574, 644, 647, 652-655, 658-663, 666, 676, 686, 690, 701-705, 717, 722, 727, 752-764, 769, 771, 780, 792-813, 822, 826, 853, 857, 862-869, 885-896, 903-915, 926-929, 937, 948-953
/home/p0tt3r/.local/lib/python3.6/site-packages/requests/packages.py 6 0 100%
/home/p0tt3r/.local/lib/python3.6/site-packages/requests/sessions.py 284 132 54% 41-44, 75, 89-92, 106-115, 120-141, 152-254, 261-274, 288-315, 321-337, 556-557, 567-568, 605, 632, 659-660, 673-676, 680-683, 702, 731, 750-751, 754-755, 770
/home/p0tt3r/.local/lib/python3.6/site-packages/requests/status_codes.py 15 0 100%
/home/p0tt3r/.local/lib/python3.6/site-packages/requests/structures.py 39 10 74% 55, 65, 72-77, 84, 95, 100, 103
/home/p0tt3r/.local/lib/python3.6/site-packages/requests/utils.py 443 289 35% 47-95, 101-104, 114-128, 139-160, 163, 179-183, 186-187, 193-216, 221-224, 232-256, 275-281, 300, 303, 335-340, 366-375, 387-401, 411-416, 427, 435-445, 485, 492-493, 499-511, 516-521, 536-557, 573-585, 604-608, 619-623, 633-634, 641-645, 654-669, 682-683, 688-691, 713, 718-740, 746-747, 750, 762, 776, 787-788, 822-848, 864-886, 895-903, 937, 942-944, 954-962, 969-977
/home/p0tt3r/.local/lib/python3.6/site-packages/soupsieve/__init__.py 47 26 45% 47-63, 69, 75, 81, 87, 94, 101-102, 108, 114, 120-121, 127
/home/p0tt3r/.local/lib/python3.6/site-packages/soupsieve/__meta__.py 67 34 49% 89, 92, 96-101, 105-108, 113, 115, 144, 148, 150, 152, 160-186
/home/p0tt3r/.local/lib/python3.6/site-packages/soupsieve/css_match.py 931 794 15% 69, 74, 85-86, 92-93, 99-100, 106-107, 120-121, 134-135, 141-142, 148, 154, 160, 165, 175-179, 183-185, 190-204, 209-235, 240-243, 249, 255, 261, 267-270, 276-279, 290-291, 297, 303-314, 320-321, 327-330, 335, 347-352, 358-361, 367, 373, 379, 385, 391-438, 447-477, 482, 487-494, 499, 504-505, 510-511, 516-547, 552-598, 603-646, 651-667, 672-687, 692-693, 701-708, 713-732, 737-743, 748-762, 767-774, 779-784, 789-795, 800-821, 826, 831, 839-935, 940-948, 953-957, 962-974, 979-1013, 1018-1074, 1079-1160, 1166-1223, 1235-1269, 1285-1286, 1300-1305, 1310-1389, 1394-1403, 1408-1415, 1420, 1425, 1438-1439, 1444-1453, 1464, 1475, 1480, 1494-1497, 1503, 1509-1510, 1515-1516, 1521, 1526-1527
/home/p0tt3r/.local/lib/python3.6/site-packages/soupsieve/css_parser.py 573 208 64% 203-204, 216, 222-231, 244-256, 264-286, 395, 469-470, 493, 496, 499, 504-505, 508, 554-572, 585, 587-588, 590, 592, 594, 598, 600, 604, 606, 608, 610, 613-635, 642-656, 667, 674-676, 679-681, 688, 690, 695, 703-712, 716-717, 728, 737-774, 783, 792, 809-815, 820-833, 838-854, 859-862, 907, 915, 917, 921, 923, 927, 929-931, 934, 943, 950, 961, 967-968, 975, 984, 986-987, 994, 1041-1055
/home/p0tt3r/.local/lib/python3.6/site-packages/soupsieve/css_types.py 120 36 70% 51, 56, 64, 77, 95-104, 109, 114, 118, 123, 142-149, 161-168, 206, 247, 278, 285, 315, 320, 325, 329
/home/p0tt3r/.local/lib/python3.6/site-packages/soupsieve/util.py 81 45 44% 25-32, 67-68, 80-82, 91-100, 136-170
/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/__init__.py 122 0 100%
/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/connectors/__init__.py 2 0 100%
/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/connectors/pyodbc.py 89 69 22% 31-33, 37, 40-111, 114-119, 125-127, 130-136, 142-151, 157-164
/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/connectors/zxJDBC.py 30 12 60% 29-31, 35, 39, 47-49, 60-63, 68
/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/dialects/__init__.py 23 6 74% 38-43, 46-47, 54
/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/dialects/mysql/__init__.py 47 0 100%
/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/dialects/mysql/base.py 923 484 48% 1188-1191, 1203, 1206, 1209, 1215, 1221-1271, 1274, 1280, 1286, 1292, 1294-1297, 1299, 1309, 1315-1324, 1329-1333, 1337-1342, 1355, 1358, 1371, 1373, 1378-1385, 1396-1399, 1410-1439, 1442-1446, 1449, 1457, 1461-1464, 1472, 1478, 1515, 1519, 1523-1526, 1549, 1571, 1607-1616, 1621-1679, 1687, 1691-1693, 1699-1718, 1726, 1733, 1741, 1746, 1760-1764, 1778, 1780, 1785, 1787, 1793, 1804-1812, 1819-1827, 1834-1841, 1844-1851, 1854-1867, 1871, 1880-1887, 1890-1897, 1900-1905, 1908-1915, 1918-1921, 1924-1927, 1930, 1933-1936, 1939-1942, 1945-1948, 1951-1954, 1957, 1960, 1963, 1969, 1984-1991, 1998-2005, 2008, 2011, 2014, 2017-2020, 2023-2026, 2029, 2032, 2035, 2038-2041, 2046, 2051, 2067, 2152-2155, 2169-2177, 2180-2189, 2196, 2200, 2213, 2223-2228, 2240-2247, 2254-2259, 2262, 2265-2266, 2271-2273, 2278-2280, 2283-2284, 2304, 2310, 2316-2320, 2330, 2333, 2368, 2381, 2395-2397, 2419, 2429-2433, 2444-2445, 2450-2470, 2478-2489, 2498-2501, 2505-2508, 2512-2520, 2525-2563, 2579-2644, 2650-2654, 2661-2664, 2669-2706, 2712-2716, 2729-2736, 2741, 2756-2761, 2765-2781, 2784, 2801, 2806, 2808, 2820-2828, 2837-2841, 2850, 2852-2853, 2865-2884, 2889-2914, 2945, 2948, 2953-2959
/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/dialects/mysql/cymysql.py 35 16 54% 34-42, 57, 60, 63, 66-79
/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/dialects/mysql/dml.py 36 19 47% 39, 43, 89-106, 118-132
/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/dialects/mysql/enumerated.py 112 88 21% 19-48, 52-58, 121-123, 131-133, 136-137, 144-147, 150, 223-239, 242-247, 250-276, 279-310, 313-314
/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/dialects/mysql/gaerdbms.py 34 21 38% 44, 51-77, 82, 85-91, 94-99
/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/dialects/mysql/json.py 32 20 38% 33, 36-44, 47-55, 60-64, 69
/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/dialects/mysql/mysqlconnector.py 126 77 39% 37, 42-49, 56-59, 62-65, 71, 75, 78-82, 89, 111-115, 122, 127, 131, 135-137, 140-148, 151-189, 193-196, 200, 203, 206, 209-218, 221, 224, 237-241
/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/dialects/mysql/mysqldb.py 120 34 72% 64-67, 105, 109-114, 118, 125, 139-143, 148-150, 177, 207-209, 211, 222-223, 228, 237-244, 259-263
/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/dialects/mysql/oursql.py 104 62 40% 43, 49, 56-57, 71, 77-80, 83, 86-94, 104, 107-108, 113-115, 120-122, 127, 135, 144, 153, 161, 168, 175, 182, 193-200, 203-240, 243, 248, 252, 256, 259
/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/dialects/mysql/pymysql.py 33 5 85% 57-58, 68, 72, 78
/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/dialects/mysql/pyodbc.py 43 22 49% 37-41, 46-50, 62-63, 74-84, 87-92
/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/dialects/mysql/reflection.py 222 193 13% 24-29, 37-39, 42-71, 80-121, 129-132, 140-161, 171-256, 270-300, 314, 319-485, 493-497, 504-508, 511-516, 531, 537
/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/dialects/mysql/types.py 173 60 65% 24-26, 29, 36-47, 50, 57-58, 61, 91, 99-100, 124, 150, 184, 218, 244, 249, 270, 291, 312, 333, 354, 374, 384-394, 418-419, 422-439, 465-466, 502, 570, 602, 634, 666, 695, 732-733, 758-759
/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/dialects/mysql/zxjdbc.py 59 37 37% 43-54, 59-63, 84-94, 98, 103-106, 109-117
/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/__init__.py 37 5 86% 514-522
/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py 762 458 40% 92-98, 125, 143-146, 165, 340, 353, 383-390, 423-426, 455, 458-469, 477, 499, 514, 517, 558-567, 594, 631-638, 658-665, 687-698, 701, 704, 707, 714-727, 733, 737, 740-741, 750, 753-770, 773-783, 786-793, 796-803, 806-817, 820-827, 830-846, 849-863, 889-895, 898-899, 985-986, 993, 998-1028, 1034-1035, 1052-1054, 1059-1111, 1116-1136, 1142-1143, 1158, 1172-1175, 1177, 1180-1181, 1198-1199, 1209-1215, 1222-1228, 1232-1238, 1243-1246, 1257, 1267, 1272-1274, 1277, 1284-1289, 1304-1305, 1310-1311, 1318-1319, 1322-1323, 1328, 1339-1341, 1375, 1407, 1417-1457, 1471, 1475, 1480-1485, 1487, 1491-1546, 1590-1597, 1612, 1634-1642, 1683-1685, 1689, 1702-1705, 1711-1714, 1717, 1722-1725, 1728, 1731, 1734-1741, 1746-1747, 1750-1751, 1754-1755, 1769-1770, 1773-1774, 1779-1780, 1797-1800, 1808-1811, 1814, 1817, 1872, 1877, 1879, 1883, 1902-1904, 1972, 1983, 1990, 1997, 2002, 2026-2028, 2031-2032, 2040, 2050-2052, 2055, 2058-2063, 2096-2102, 2143-2144, 2159-2160, 2178-2179, 2182, 2185-2186, 2189-2190, 2232, 2253-2256, 2270, 2276-2282, 2314-2337, 2340, 2343, 2348, 2353
/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py 674 391 42% 104-107, 216, 227, 231, 233, 238, 240, 246-250, 257, 263, 267, 279, 283, 287, 294-295, 300-301, 307-308, 316, 321, 327, 345, 361, 366, 379-386, 410, 419-435, 457-458, 467, 475, 484-486, 489-503, 507, 510-511, 514-522, 527, 530, 533, 536, 540, 543-556, 565, 568, 571, 574, 577, 583, 586, 592, 647-648, 651-652, 660, 672-780, 787-890, 909, 912-923, 932-933, 944-950, 954, 958, 962-967, 971, 990, 1002-1023, 1027, 1030, 1034, 1037, 1066-1067, 1073, 1079, 1117, 1124, 1130, 1133, 1136, 1140-1149, 1154-1162, 1164-1167, 1173-1174, 1178-1201, 1207-1210, 1215-1222, 1231, 1247-1319, 1324-1340, 1397-1422, 1425-1428, 1431-1434, 1437-1471, 1474-1493
/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/interfaces.py 156 61 61% 165, 180, 197, 219, 252, 265, 282, 308, 313, 321, 330, 338, 348, 367, 391, 413, 431, 441, 451, 462, 472, 483, 495, 518, 529, 540, 552, 562, 572, 582, 591, 601, 611, 626, 642, 652, 658, 664, 675, 681, 698, 723, 748, 778, 921, 1039, 1049, 1059, 1067, 1073, 1079, 1086, 1096, 1146, 1149, 1163, 1177, 1181, 1188, 1191, 1194
/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/reflection.py 268 223 17% 42-58, 101-114, 135-137, 141, 152, 158-162, 201-214, 240-267, 281, 294, 312-316, 326, 338, 372-380, 395, 419, 454, 494, 519, 539, 572, 605-706, 714-765, 768-776, 781-796, 809-860, 888-928, 947-982, 996-1003, 1008-1013
/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/result.py 576 381 34% 34-42, 49-115, 131, 134, 137-140, 145, 152, 155, 158, 161, 164, 167, 170, 175, 180, 185, 188, 191, 198-199, 223-226, 251-253, 277-315, 330, 404-407, 425, 431, 489, 492, 495, 499, 506-535, 538-557, 570-584, 587-633, 636-639, 642-656, 659, 673-681, 723-728, 731-736, 745-748, 754, 760-763, 806-809, 829-832, 846, 860, 891, 896, 943-948, 956-960, 991-1006, 1017-1028, 1039-1050, 1068, 1078, 1092-1101, 1115-1124, 1133, 1142, 1147-1148, 1151-1157, 1160-1163, 1166-1174, 1182-1187, 1210-1215, 1238-1244, 1270-1273, 1287, 1291-1292, 1300, 1317, 1351-1355, 1373-1379, 1382-1383, 1386-1392, 1395-1403, 1406-1411, 1424-1425, 1428, 1431-1432, 1435-1438, 1441-1449, 1452-1456, 1462-1470, 1492-1507, 1512-1518, 1523-1531
/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/strategies.py 154 46 70% 46, 66-70, 79, 86, 92, 108-113, 120, 142, 146-151, 164, 188, 211, 214, 251-264, 268-269, 278, 281, 284, 287, 292-295, 300-303, 310-311, 316
/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/threadlocal.py 82 56 32% 24-25, 28-29, 32-34, 37-38, 58-59, 62, 65-80, 83-88, 91-96, 99-102, 105, 108-111, 114-119, 122-128, 131-137, 140-141, 145, 152-157, 160
/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/url.py 135 77 43% 73, 78-103, 106, 109, 112, 115, 127, 132, 138, 141-144, 147-150, 169, 181, 189-191, 211, 229, 235-290, 296, 300, 304-310
/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/engine/util.py 33 28 15% 18-27, 31-74, 79-80
/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/event/__init__.py 10 0 100%
/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/event/api.py 25 3 88% 29, 203, 213
/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/event/attr.py 236 86 64% 55, 58, 61, 64, 67, 100, 102-107, 111-116, 119-137, 145, 164, 177-184, 189-193, 247, 251, 264, 287-289, 298-299, 320, 325, 357, 378-392, 395-397, 402, 405-407, 410-412, 419-423, 427, 430, 433-434, 437, 440, 443, 446
/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/event/base.py 131 26 80% 42-48, 99-100, 141, 146-149, 154-155, 202-205, 228, 249, 253, 269-272, 276, 280
/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/event/legacy.py 56 18 68% 27-56
/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/event/registry.py 136 59 57% 56, 76, 87-100, 104-122, 126-138, 182-185, 214, 226-239, 244, 255, 272, 275-276, 279-283
/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/events.py 107 35 67% 331-334, 336, 600-647, 1196-1199, 1203-1211, 1294
/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/exc.py 160 37 77% 32, 58, 65, 68-73, 79, 99, 138-144, 147, 167, 246-247, 250, 260-262, 265, 352, 355, 372, 379-385, 433, 439, 453, 487, 509-510
/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/ext/__init__.py 2 0 100%
/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/ext/associationproxy.py 739 517 30% 186, 189-198, 201-202, 205-206, 241, 244-262, 268-277, 280-296, 299, 336-342, 355-380, 388-404, 409, 415, 419-422, 426, 442, 456, 474, 481-484, 488, 496, 499-503, 506-522, 526, 529-551, 554-573, 576-583, 586-626, 634-643, 649-662, 665-691, 702-709, 722-729, 734, 745, 759-762, 765, 768, 771, 774, 781, 784-804, 807-820, 846-867, 872-878, 883, 900-906, 909, 916-917, 920, 923, 926-927, 956-960, 965, 968, 973, 976-978, 981-982, 989, 992, 995, 998-1001, 1004-1031, 1034, 1037-1041, 1044, 1047-1048, 1051, 1061-1063, 1066-1068, 1071, 1081-1082, 1085, 1088, 1091-1095, 1100, 1105, 1108, 1111, 1114, 1117, 1120, 1123, 1126, 1129, 1132-1136, 1139-1143, 1146-1148, 1153-1154, 1161-1167, 1170, 1173, 1176, 1179, 1199, 1202, 1205, 1208, 1211-1214, 1217, 1221, 1225, 1228, 1231, 1234, 1237, 1240, 1243, 1246, 1249, 1252, 1255, 1258-1261, 1264-1268, 1271, 1275-1288, 1293, 1296, 1299-1303, 1306-1307, 1310-1333, 1336-1348, 1351, 1354, 1371, 1374, 1377, 1380-1383, 1388-1392, 1401-1403, 1406-1407, 1412-1415, 1418-1422, 1425-1428, 1431-1432, 1435-1450, 1453-1457, 1460, 1463, 1468, 1473-1474, 1477-1481, 1484, 1489-1496, 1499-1509, 1512, 1517-1524, 1527-1537, 1540, 1543, 1546, 1549, 1552, 1555, 1558, 1561, 1564, 1567, 1570, 1573
/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/ext/baked.py 261 194 26% 48-49, 52, 61-65, 75, 78-83, 86, 89-93, 96-99, 108-110, 119, 128, 131, 153-158, 171, 176-178, 190-207, 216-222, 225-246, 285-298, 301-305, 316-324, 334-342, 357-360, 365-373, 376-378, 399, 402-405, 408, 411-434, 448-450, 462-468, 476-485, 493-502, 513-521, 531, 540-541, 546-609, 622, 637, 648, 658, 670
/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/ext/declarative/__init__.py 12 0 100%
/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/ext/declarative/api.py 183 102 44% 44-50, 66-69, 119-122, 144-147, 197-199, 202-217, 221, 282, 287, 290-292, 295, 373, 389, 423-428, 478, 488-495, 619, 623-669, 673, 756-770, 776-781, 789-790, 794, 804, 820-821
/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/ext/declarative/base.py 416 157 62% 40, 43, 50, 53-58, 62, 77, 80-82, 99, 116, 129, 137-143, 156, 204-206, 210-212, 236-247, 264, 269, 271-279, 285, 287, 294-341, 349, 357, 371-389, 408-416, 425-426, 433-438, 453, 472-477, 492, 513, 528, 532, 541-545, 563, 569, 572-576, 586, 592-624, 629, 637-638, 645, 652-681, 689, 706, 710, 714-715, 719, 728-731, 739, 743-761, 764-765, 778-780, 782-786, 788, 794-795, 816, 823, 838-842
/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/ext/declarative/clsregistry.py 187 62 67% 40-42, 89, 92-104, 107-111, 117-131, 154, 157, 160-163, 166, 178-179, 193-204, 220, 229, 231, 248-249, 252, 257, 274-290, 300-301, 354
/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/ext/orderinglist.py 102 59 42% 171, 177, 183-190, 202-207, 281, 284, 293-294, 300-308, 311-312, 317, 322-323, 326-330, 333-335, 338-351, 354-355, 358-359, 362-363, 366, 386-389
/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/inspection.py 29 3 90% 65, 70, 81
/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/interfaces.py 82 59 28% 89-113, 212-299, 306, 313, 318, 323, 328, 333, 338, 343, 348, 353, 358, 363
/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/log.py 79 33 58% 34-38, 91-97, 105, 110, 115, 123, 128-129, 134, 148-156, 161-163, 168-171, 178, 199, 216-219
/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/orm/__init__.py 116 23 80% 94-97, 106, 125-126, 168, 181-183, 205, 228-238, 264, 269
/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/orm/attributes.py 731 390 47% 100-103, 111, 114, 120, 161, 173, 177, 186, 191, 194-195, 204, 214, 217, 220, 223, 226-229, 241, 272, 282, 295-402, 448, 456, 459, 548, 557, 580, 585, 588, 608-611, 628-652, 655, 673, 680-682, 693, 702, 705, 707-708, 715, 717-721, 727, 739, 744, 764, 769-776, 781-783, 803-819, 822-831, 849, 856-860, 863-864, 868, 887-916, 919-928, 931-958, 995-998, 1007-1013, 1022, 1102-1108, 1114-1118, 1123-1158, 1161-1169, 1180, 1183-1189, 1192-1202, 1222-1230, 1233-1241, 1244-1250, 1269, 1275-1281, 1289, 1291-1294, 1307, 1311, 1328-1329, 1334-1356, 1366-1371, 1389, 1404, 1412-1425, 1444, 1468-1497, 1500-1536, 1604, 1614, 1619, 1626, 1631, 1636, 1639, 1656-1683, 1687-1713, 1717-1741, 1785-1798, 1802, 1807-1809, 1813-1818, 1844, 1859, 1881, 1902-1904, 1910-1912, 1930-1931, 1959-1960, 1973-1974, 1987-1988, 2008-2011, 2034-2035
/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/orm/base.py 158 57 64% 217-221, 240, 246-249, 257-260, 264, 268, 287, 307-311, 321, 327-331, 339-343, 360-363, 367-371, 375-376, 386-401, 414, 420, 443-447, 556
/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/orm/collections.py 679 336 51% 138-139, 142, 145, 148-159, 170-171, 174, 177-188, 204-205, 208, 212-219, 222-229, 245-250, 255-256, 259, 262, 278-279, 295, 406-407, 449-450, 497-498, 539-544, 563-567, 585-589, 628, 633, 643, 651, 655, 659-661, 664, 668, 672, 677-679, 684-686, 695, 711-718, 728-731, 742-744, 749, 758-764, 797-800, 804, 828-829, 848-858, 868, 916-918, 922, 956, 963, 966, 973, 976, 1018-1022, 1026-1058, 1062, 1075-1079, 1091-1094, 1099-1101, 1113-1114, 1121-1123, 1130-1131, 1138-1173, 1180-1190, 1197-1214, 1218-1219, 1228-1230, 1237-1240, 1249-1251, 1277-1280, 1287-1289, 1296-1298, 1305-1313, 1320-1323, 1330-1334, 1341-1352, 1369, 1374, 1391-1394, 1402-1405, 1413-1416, 1423-1428, 1435-1436, 1443-1444, 1451-1455, 1462-1463, 1470-1474, 1481-1487, 1494-1503, 1510-1516, 1523-1532, 1601, 1608-1609, 1616-1626
/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/orm/dependency.py 496 405 18% 38, 44, 48, 64, 73, 76-93, 112-204, 216, 219, 222, 225, 228-243, 250-277, 291, 294-300, 303-308, 311, 314, 328-347, 371-422, 430-449, 454-507, 522-550, 560-589, 596-606, 617, 639-659, 680-724, 727-748, 751-769, 772-788, 793-808, 819-840, 864-874, 877-879, 882, 885, 888-891, 894-898, 901, 908-909, 912-923, 926-952, 963, 980, 1008-1018, 1025-1030, 1035-1066, 1069-1104, 1109-1176, 1183-1239, 1246-1272, 1275
/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/orm/deprecated_interfaces.py 91 53 42% 62, 66, 85-159, 176, 189, 203, 223, 244, 254, 286, 296, 311, 321, 354-377, 510-539, 555, 563, 572
/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/orm/descriptor_props.py 275 216 21% 35-83, 158-172, 175-176, 183, 191-242, 246, 250-265, 269, 276-281, 286-335, 343, 348-375, 378, 382-383, 388-393, 418, 421, 426, 431-441, 445-451, 454-463, 466, 469, 491-498, 501-523, 636-646, 653-662, 665-671, 674-675, 678-710, 789-795, 798
/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/orm/dynamic.py 211 149 29% 33-51, 80-90, 93-98, 107-111, 115, 119, 124-133, 138-147, 151-159, 172-207, 216, 219, 224-225, 230-231, 234-242, 247-248, 253-254, 259, 266-285, 288-299, 304-313, 316-323, 326-335, 341-361, 364-365, 373, 381, 395-396, 403-413, 417, 421, 428-438, 441, 444, 447-450
/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/orm/evaluator.py 93 73 22% 56, 59-64, 67, 70, 73, 76, 79-105, 108-138, 141-169, 172-182, 188-192
/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/orm/events.py 298 140 53% 55-58, 62-88, 94-95, 124, 180-193, 201-204, 209-210, 214-215, 430, 434, 443-462, 467-471, 477-485, 494, 578-590, 596-640, 644-645, 1186, 1225-1247, 1960, 1977, 1981-1994, 1999-2006, 2485-2499
/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/orm/exc.py 67 38 43% 72-89, 92, 99-101, 104, 129-135, 138, 164-171, 186-192, 197-206
/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/orm/identity.py 231 172 26% 18-20, 23, 26, 29, 34, 37, 40, 43-46, 49-51, 54, 61, 64, 67, 70, 73, 76, 79, 82, 85, 90-94, 97-106, 109-115, 118-134, 137-159, 163-164, 167-178, 181-187, 190-197, 200, 204-208, 211-214, 219-226, 229, 232-241, 244, 262-266, 269, 272, 275, 278, 281, 284, 287, 290, 296-308, 311-323, 327-328, 333-340, 343, 346-351, 356-366
/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/orm/instrumentation.py 262 101 61% 76, 84, 89, 97, 100, 108, 112, 118, 129, 155-159, 180-183, 196-198, 213, 217, 228, 232, 236-237, 245-246, 249-255, 263-276, 281-288, 292, 299, 303, 311-313, 326-329, 336, 341-345, 348-350, 353, 356, 365, 372, 381, 385, 394, 410-412, 415-432, 466-471, 504, 515, 546-547, 561
/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/orm/interfaces.py 169 50 70% 120, 154, 223, 266, 369, 372, 375, 381, 387, 398, 402, 406, 410, 414, 436, 454, 472, 502, 508, 517-534, 547-552, 559-564, 602-614, 647, 697, 742, 770
/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/orm/loading.py 417 380 9% 38-105, 112-159, 167-188, 196-202, 223-284, 300-334, 357-642, 646-674, 688-728, 738-765, 770-782, 804-844, 855-857, 864, 867-878, 882-885, 889, 898-902, 909-985
/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/orm/mapper.py 1053 607 42% 618, 625-626, 630, 634, 665, 670, 691, 694, 698, 747, 987, 991, 1001-1115, 1125, 1129, 1136, 1138-1143, 1145, 1150, 1160, 1166, 1169-1173, 1182-1202, 1205-1206, 1211-1212, 1224-1225, 1229, 1241-1242, 1259-1268, 1271-1273, 1304, 1313, 1316-1317, 1319-1327, 1337, 1341-1353, 1384-1387, 1394, 1402, 1416, 1421, 1435, 1475-1479, 1485, 1495, 1501, 1521-1620, 1632-1650, 1654-1677, 1687-1690, 1694-1703, 1707, 1710-1728, 1748-1758, 1763-1771, 1781, 1805-1806, 1823-1829, 1837, 1855, 1863-1893, 1901-1910, 1920, 1960-1961, 1972-1973, 1998, 2001, 2004, 2013-2030, 2040, 2044-2045, 2053, 2058-2060, 2070-2094, 2102-2121, 2125-2130, 2134-2138, 2142-2149, 2161, 2173, 2190, 2202, 2209, 2219, 2235-2245, 2249, 2273, 2278-2289, 2293, 2302-2325, 2361-2363, 2423, 2436, 2461, 2474, 2477-2479, 2525-2533, 2537, 2554, 2573-2577, 2584-2585, 2591-2592, 2603-2607, 2612-2615, 2650, 2660, 2663-2670, 2683-2687, 2700, 2715-2716, 2721-2723, 2744-2748, 2752-2767, 2775-2778, 2782-2785, 2789, 2794-2795, 2798-2799, 2802-2803, 2806-2808, 2816-2817, 2831-2907, 2910-2920, 2923-2942, 2952-3001, 3005, 3032-3075, 3086, 3090-3137, 3140-3144, 3151-3164, 3203, 3209, 3215, 3228-3231, 3233, 3236-3244, 3253-3257, 3290-3291, 3329-3340, 3344-3346, 3375, 3377, 3389-3396
/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/orm/path_registry.py 162 97 40% 24, 61, 64-65, 68-69, 72-76, 79, 83, 86-88, 91-95, 98, 101, 105, 114-129, 133, 144, 150-151, 155-158, 162, 166, 169-174, 177, 180, 195, 203-206, 213-224, 227, 234-255, 258, 262, 266, 270, 274, 277-280, 288-311, 315, 318, 323-326, 329-330
/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/orm/persistence.py 693 615 11% 43-109, 118-173, 196-248, 275-305, 323-358, 373-431, 451, 462-475, 489-555, 581-741, 760-805, 814-844, 859-1033, 1052-1166, 1175-1277, 1290-1369, 1383-1443, 1451-1479, 1504-1574, 1586-1587, 1601-1613, 1618, 1626-1639, 1649-1651, 1654-1668, 1675, 1679-1687, 1690-1695, 1698-1699, 1702, 1706-1737, 1740, 1743, 1750, 1753-1775, 1790-1796, 1805-1807, 1811, 1824-1828, 1832-1848, 1852-1871, 1874-1886, 1889-1890, 1897, 1901, 1912-1916, 1919-1921, 1924-1925, 1933-1936, 1941-1965, 1973, 1983-2005, 2013-2022
/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/orm/properties.py 90 33 63% 150, 153, 158-159, 164, 178, 189, 196, 200, 215, 226, 236, 251-262, 289, 301-305, 312, 315, 318-319, 322
/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/orm/query.py 1256 978 22% 166-168, 171-200, 203-231, 234-237, 240-284, 287-290, 293-308, 311, 320, 324, 330-369, 373, 377, 384, 392-394, 397, 400-406, 409-414, 417-423, 426-429, 432, 437, 440-452, 458-462, 465-472, 475-478, 487-490, 506-516, 519-522, 534-538, 561-568, 625, 638, 648, 659, 662, 672, 690, 693, 725, 747, 758, 770, 793-799, 871-872, 959, 1010-1013, 1017-1069, 1092-1096, 1110, 1124, 1135, 1164-1189, 1196-1201, 1222, 1393-1403, 1407, 1411-1435, 1441-1447, 1454-1457, 1483, 1490-1496, 1511, 1527, 1530, 1536-1546, 1565, 1588-1591, 1609, 1620, 1638, 1671, 1709, 1728-1736, 1763-1771, 1798-1802, 1816-1830, 1846-1857, 1877-1892, 1895, 1936, 1945, 1954, 1963, 1972, 1981, 2228-2238, 2253-2262, 2271-2280, 2289-2421, 2434-2496, 2519-2596, 2623-2662, 2674-2825, 2828-2829, 2842, 2890, 2994, 2997-3023, 3056-3069, 3077, 3085, 3110-3117, 3145-3148, 3167-3170, 3186, 3206-3216, 3237-3244, 3269-3277, 3299-3308, 3329-3335, 3338-3342, 3345-3354, 3357-3360, 3363-3368, 3371-3375, 3378, 3422, 3456-3460, 3486, 3490, 3502-3503, 3544, 3604-3605, 3726-3728, 3858-3863, 3866-3915, 3922-3988, 3991-4018, 4031-4052, 4060-4076, 4083-4093, 4096-4098, 4105-4110, 4117-4128, 4140-4157, 4164, 4168, 4171, 4174, 4178-4194, 4197-4229, 4232-4246, 4259, 4310-4316, 4347-4349, 4352, 4356, 4361-4363, 4375-4380, 4387-4400, 4404-4408, 4412-4415, 4419-4424, 4429, 4433-4438, 4441-4447, 4450-4451, 4454-4455, 4458-4467, 4474-4590, 4596-4601, 4604-4607, 4610-4614, 4617-4623, 4628-4642, 4645-4655, 4658, 4695-4733, 4770, 4773-4777
/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/orm/relationships.py 884 436 51% 65, 85, 876, 892, 943, 946, 965, 976, 980, 983-986, 989-1010, 1018, 1030, 1076-1091, 1098-1179, 1222-1228, 1258-1262, 1320-1334, 1337-1378, 1419-1436, 1440-1442, 1445-1451, 1465-1513, 1558-1607, 1610-1625, 1628, 1642-1713, 1726-1736, 1744-1792, 1800, 1811, 1836-1837, 1842, 1960, 1982, 1986, 1996, 2003, 2012, 2028, 2043, 2047, 2055, 2069, 2084-2088, 2099, 2139-2140, 2154-2188, 2199-2207, 2255, 2262, 2314, 2327, 2341-2349, 2363-2399, 2411, 2415, 2430-2442, 2446, 2455, 2474, 2477, 2482-2490, 2496, 2503, 2507-2511, 2517, 2526, 2536, 2559, 2578, 2581, 2583, 2585, 2589, 2599-2606, 2616-2629, 2639-2659, 2671-2706, 2729, 2747, 2750, 2766, 2780, 2806, 2818-2855, 2863, 2884-2919, 2934, 2974-2975, 2997, 3018-3057, 3076, 3110-3167, 3182-3185, 3217-3222, 3236, 3239
/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/orm/scoping.py 64 32 50% 49-54, 67-78, 93-95, 105-112, 139-153, 162, 173, 176, 198
/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/orm/session.py 902 748 17% 51-54, 71, 81, 91, 221-235, 253, 265, 274-304, 308, 311-313, 316-317, 321-335, 338-351, 359-383, 391-405, 408-449, 452-457, 460-489, 492-507, 510-568, 571-590, 593, 596-606, 826-862, 882, 936-946, 971, 988-991, 1021-1027, 1040-1046, 1118-1121, 1128-1136, 1261-1268, 1275, 1289, 1322, 1325-1328, 1338-1343, 1346-1363, 1390, 1415, 1488-1535, 1544, 1567-1572, 1575-1588, 1641-1675, 1709-1710, 1747-1751, 1754-1765, 1770-1774, 1793, 1802-1814, 1817-1827, 1839-1911, 1914-1919, 1922-1939, 1951-1959, 1964-1968, 1971-1978, 1986-1994, 1998-2028, 2085-2107, 2117-2256, 2259-2260, 2266-2278, 2281-2316, 2319-2322, 2379-2383, 2386-2398, 2401-2409, 2418-2422, 2429, 2434, 2463-2472, 2475, 2483, 2491-2608, 2696-2704, 2802, 2859, 2873-2901, 2963-2984, 3042, 3066, 3092, 3104, 3110, 3201, 3218-3225, 3236, 3239, 3260-3261, 3310-3325, 3359-3366, 3377-3382
/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/orm/state.py 358 232 35% 116, 129, 141, 171, 195, 216, 227, 232, 245-247, 269, 286-289, 303, 311, 316, 326, 330-367, 370-373, 376-377, 393-407, 410, 425-429, 439-441, 444, 447, 450-452, 455-478, 481-536, 542-547, 550-551, 555-573, 576-615, 618-646, 655-668, 674, 679, 693, 707, 715, 729, 731, 738-739, 746, 754, 761, 764, 781-798, 816, 822-836, 855-856, 866, 877, 906, 932, 945-946, 949-952, 955-958
/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/orm/strategies.py 940 730 22% 61, 64-65, 139-140, 152-155, 160, 187-195, 220-228, 235, 249-260, 267-278, 281-283, 301-307, 317-323, 326-328, 350-382, 385-424, 431, 434-439, 479-481, 491-497, 567-568, 599-624, 627-656, 659, 674-729, 734-743, 750, 779-889, 894-923, 930-931, 934-939, 947, 962, 967-970, 979-980, 983, 999-1084, 1087-1108, 1120-1173, 1177-1220, 1226-1272, 1277-1282, 1285-1296, 1308, 1311-1313, 1316, 1322-1323, 1328-1365, 1372-1390, 1395-1417, 1455-1529, 1538-1581, 1589-1607, 1614-1642, 1655-1706, 1720-1847, 1855-1919, 1922-1947, 1952-1982, 1989-2028, 2033-2065, 2097-2122, 2125-2144, 2147-2158, 2163-2174, 2177, 2183, 2188-2225, 2239-2379, 2382-2421, 2424-2464, 2470-2491
/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/orm/strategy_options.py 551 430 22% 73-80, 84-89, 92-159, 162-164, 172, 175, 178-185, 190-316, 319, 322-324, 327, 364-372, 378-385, 389-402, 406-414, 418-426, 429-441, 444-458, 466-471, 474-476, 479-505, 520-522, 527-543, 546, 549-581, 584-597, 600-602, 605-621, 624-628, 637-663, 666-690, 693-710, 748-841, 844-869, 872-903, 914, 1010-1023, 1028, 1067-1073, 1078, 1167-1170, 1175, 1180, 1213, 1218, 1223, 1257, 1262, 1267, 1285, 1290, 1295, 1317-1318, 1323, 1342, 1347, 1382, 1389, 1426, 1431, 1492, 1499-1505, 1554, 1561-1567, 1603, 1610, 1640-1642, 1649, 1670-1678, 1683-1687
/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/orm/sync.py 70 59 16% 27-58, 63-74, 78-92, 96-107, 111-119, 127-138, 144-153
/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/orm/unitofwork.py 354 267 25% 36-52, 55-86, 92, 97-122, 132-174, 178, 184-190, 196, 199-203, 208-210, 218-257, 260, 263-265, 276-299, 302-305, 308-319, 331, 340-341, 344-348, 358-398, 403-422, 432-443, 448-455, 467-470, 473-505, 512-518, 521, 528-531, 536-540, 547, 550, 557-561, 568-569, 572-575, 582-583, 586, 593-607, 610, 617-618, 621, 628-642, 645, 652-654, 657-672, 675, 687-688, 691-697, 702, 712-713, 716-723, 728
/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/orm/util.py 373 272 27% 73, 88, 100, 106, 119-177, 202-250, 316-353, 370-380, 391-392, 468-491, 494-520, 523, 529, 581-621, 630, 634-637, 640, 654, 668, 673-684, 688-689, 699, 702-706, 709-715, 722-732, 819-826, 910-926, 943, 979-1049, 1057-1072, 1088, 1091, 1136, 1147, 1176-1182, 1197-1198, 1214-1215, 1224-1235, 1258-1267, 1278-1285, 1315-1319
/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/pool/__init__.py 17 0 100%
/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/pool/base.py 351 160 54% 42, 45, 48, 51, 196, 221, 225-226, 228-229, 248-249, 259-264, 267-272, 290, 321-325, 337, 352, 365-373, 383-386, 392, 397, 400, 472, 488, 495-497, 507, 513-514, 518-519, 524-525, 527, 532, 536, 539-540, 563-587, 592-593, 598-601, 603-608, 610-615, 618-621, 625-629, 642-644, 664-667, 671, 684-694, 766, 769, 775, 787, 793-799, 805-835, 838, 856, 859, 865, 868-878, 882, 907, 922-925, 949-956, 983-994
/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/pool/dbapi_proxy.py 54 38 30% 47-50, 59-61, 86-90, 93-94, 97, 100, 103-119, 135, 140-144, 147-150
/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/pool/impl.py 201 121 40% 106-110, 124-127, 137-141, 145-146, 152, 155-160, 163-164, 179-187, 190, 203, 206, 209, 212, 215, 232, 235, 238, 241-243, 255, 290-294, 297-298, 313-321, 324-326, 329, 335, 338-349, 353-361, 364-368, 384, 388, 391, 394-396, 399-400, 412, 415, 418, 433-437, 440, 443-446, 449-451, 454-455, 464-479
/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/processors.py 86 65 24% 24-60, 64-138, 153, 158-161, 169-173
/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/schema.py 48 0 100%
/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/__init__.py 84 0 100%
/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/annotation.py 100 27 73% 48-49, 73-76, 79, 83, 93-94, 97, 106, 123-139, 161, 176-178
/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/base.py 267 115 57% 29, 32, 46-48, 63-64, 73-74, 79-86, 89-90, 93, 122, 125, 137, 193-201, 238, 248, 287, 295-303, 309, 325-327, 375-387, 398, 402-411, 418, 430-440, 481, 484, 504-507, 510, 514, 528, 534, 537, 546-562, 568, 571-572, 577-582, 594-599, 603, 607, 610-611, 630, 633-634, 637, 641-646, 653-670
/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/compiler.py 1534 918 40% 310, 331, 334-337, 347, 365, 370, 375-382, 388, 417, 424, 554-555, 576, 579, 583, 593-597, 602-618, 624-625, 631, 644, 648, 653-704, 710, 715, 732-757, 766-785, 810, 831-834, 839, 848, 852, 855, 869-881, 887, 890, 893-894, 897-899, 907-918, 929-955, 958, 961-964, 967-970, 975, 987, 991-1007, 1013, 1020, 1042-1053, 1070, 1076, 1082-1083, 1089-1108, 1121, 1124, 1130, 1135-1181, 1192-1218, 1223-1229, 1232-1238, 1241, 1246, 1255-1260, 1263-1268, 1271, 1286, 1291, 1295-1296, 1301, 1304-1311, 1318-1319, 1324, 1329, 1351, 1355, 1358, 1362, 1365-1368, 1371-1374, 1377-1380, 1383-1386, 1389-1392, 1395-1398, 1401-1404, 1414-1415, 1425-1426, 1436-1437, 1447-1448, 1453-1454, 1472-1473, 1483, 1491-1517, 1540, 1545-1555, 1559, 1564-1570, 1577, 1588-1597, 1608-1718, 1729-1751, 1754-1755, 1758-1768, 1771, 1794-1804, 1810, 1813, 1815-1820, 1823, 1834, 1851-1860, 1869-1872, 1875, 1878, 1881, 1884, 1893-1977, 1982-1988, 2002-2020, 2043-2046, 2066, 2072, 2075-2079, 2091-2093, 2098, 2123-2133, 2143-2149, 2152, 2155, 2162, 2167-2179, 2186, 2216-2228, 2238-2240, 2243, 2246-2248, 2251, 2257, 2260, 2265-2272, 2275-2283, 2286-2289, 2296, 2301-2305, 2310-2314, 2317, 2320, 2326-2333, 2345-2362, 2365-2371, 2380-2391, 2394-2503, 2507, 2516-2517, 2528, 2534-2633, 2637, 2650, 2656, 2659-2730, 2733, 2736, 2741, 2765, 2768, 2774, 2777, 2780, 2783-2788, 2793, 2801, 2814, 2817, 2821-2836, 2839-2840, 2843-2847, 2855, 2860, 2880-2881, 2902, 2909, 2927, 2955, 2958, 2961-2962, 2969-2987, 2990-2991, 2996-3009, 3012, 3018, 3026, 3031, 3041, 3046-3067, 3070, 3073-3084, 3091-3104, 3110, 3114-3119, 3138-3147, 3151, 3154-3156, 3173-3175, 3200, 3226-3229, 3231, 3237-3240, 3245, 3248, 3251-3256, 3262-3267, 3273, 3276, 3279, 3282, 3285, 3288, 3291, 3294, 3297, 3301-3306, 3309, 3312, 3315, 3318, 3321, 3324, 3327, 3330, 3333, 3336, 3342, 3345, 3348, 3351, 3354, 3360, 3363, 3366, 3372, 3375, 3378, 3381, 3384, 3394, 3399-3402, 3405, 3457-3460, 3481, 3495, 3527, 3552-3564, 3592, 3611-3614, 3620, 3623-3633, 3639, 3645-3648, 3659, 3667, 3674, 3681, 3693, 3699, 3715, 3728-3737, 3746-3754, 3758-3772, 3777-3778
/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/crud.py 309 275 11% 40-67, 81-183, 189-197, 201-233, 248-279, 296-371, 388-419, 439-460, 464-466, 470-472, 479-483, 486, 495-508, 523-545, 552-572, 577-587, 596-617, 631-681, 685-713, 719-734, 738-772, 781-799
/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py 316 161 49% 96-102, 139-145, 151, 218-220, 223-239, 242-249, 254-255, 262, 269-270, 278-280, 395-406, 409, 447, 462-463, 478-480, 662-663, 674-676, 729, 735-737, 749, 773, 784-787, 803, 819, 831-843, 852-854, 857-859, 862, 869-874, 877-958, 967-971, 976-977, 988, 991-1013, 1022-1024, 1028-1030, 1074-1086, 1142, 1148-1149, 1152-1156, 1174-1188
/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/default_comparator.py 132 65 51% 60-99, 108, 118-124, 130-142, 146-151, 155, 162, 170, 174, 178-192, 203-204, 210, 216, 233-237, 241, 248-251, 256, 262, 276, 283, 301, 362-363, 365-375
/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/dml.py 187 123 34% 48-80, 90, 101, 104, 161, 194-197, 213-218, 346-398, 466, 542-549, 552-555, 601-613, 617-619, 757-767, 770-773, 777-778, 786-791, 795-804, 860-872, 875-878, 884-889, 893-902, 906
/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/elements.py 1240 626 50% 37, 129-130, 150, 163, 174, 230, 250-252, 266, 283, 286-289, 299, 314, 317-331, 344, 397, 455-461, 471-474, 488, 500, 503-506, 509, 516, 521-525, 687, 689, 694-697, 701, 707-708, 728, 747, 761, 771-774, 786, 800-821, 841, 867, 877, 894, 1151-1152, 1159, 1196, 1198, 1207-1209, 1215-1221, 1234, 1239-1244, 1247-1249, 1267-1273, 1276, 1326, 1330, 1336, 1347-1356, 1492-1500, 1567-1589, 1685-1695, 1703, 1707, 1710-1713, 1716, 1721, 1724, 1739, 1745, 1748, 1763, 1766, 1804, 1807, 1822, 1825, 1829-1832, 1870, 1873, 1899, 1903, 1906, 1910, 1913-1918, 1921, 1928, 1934, 1941-1966, 1975, 1990, 1992, 1998-2012, 2085, 2089, 2092-2095, 2098, 2132-2139, 2143, 2146, 2311-2342, 2345-2349, 2352-2358, 2362, 2486-2487, 2490, 2584-2585, 2592, 2597-2599, 2617-2619, 2622, 2625, 2629, 2648, 2651, 2655, 2662, 2666, 2694-2701, 2741, 2784, 2825, 2865, 2907-2908, 2917-2920, 2924, 2927, 2930, 2936, 2944-2962, 2965-2968, 3002-3007, 3035-3039, 3050-3055, 3059-3060, 3067-3073, 3076, 3079-3082, 3113, 3131, 3137, 3170, 3175-3185, 3199-3202, 3205-3206, 3230, 3234, 3238, 3241, 3248, 3251, 3254, 3257-3258, 3261, 3373-3397, 3400-3429, 3444, 3448, 3451, 3458-3462, 3466, 3534-3536, 3549, 3559-3563, 3566, 3569-3571, 3575, 3634-3635, 3649-3657, 3677, 3686-3689, 3693, 3696, 3699-3701, 3705, 3742-3759, 3762, 3766, 3770, 3774, 3778, 3784, 3787, 3790, 3793-3797, 3801, 3805, 3808, 3811-3819, 3823, 3826-3834, 3969-3987, 4002, 4011, 4015-4018, 4022, 4026, 4029-4065, 4068, 4092-4118, 4136, 4212, 4219, 4223, 4228-4231, 4234-4237, 4252, 4255, 4316, 4318, 4323, 4348, 4355, 4364, 4378-4381, 4385-4391, 4417-4418, 4424-4425, 4435, 4449-4451, 4466-4473, 4478, 4484-4490, 4494-4506, 4516-4523, 4537, 4541-4543, 4558, 4569-4579, 4589-4592, 4599, 4608, 4610-4613, 4624-4642, 4646-4655, 4659-4663, 4667-4676, 4685, 4695, 4700, 4705, 4709, 4713
/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/expression.py 153 0 100%
/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/functions.py 287 118 59% 64-84, 89-101, 136-138, 143, 164, 172, 192, 213, 240-242, 307, 311, 314, 317-319, 331, 363, 374-377, 391, 405, 408, 422-427, 432-439, 448, 452, 456, 460, 463-465, 477-487, 490-511, 614-619, 622, 640, 722-731, 754-758, 762, 767, 774-777, 808, 839-841, 903-914, 925-930
/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/naming.py 106 59 44% 33-37, 40, 43-47, 50-58, 64, 67, 70, 73-79, 82-86, 89-118, 134, 136, 146, 156, 161, 171, 182
/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/operators.py 296 123 58% 37, 81, 105, 122, 182-187, 204, 230, 238, 278-283, 288, 291, 294, 346, 354, 374, 385, 396, 404, 412, 420, 423, 432, 441, 450, 459, 484, 513, 628, 641, 654, 667, 680, 768, 856, 945, 963, 968, 973, 978, 983, 994, 1002, 1010, 1018, 1026, 1034, 1041, 1048, 1073, 1098, 1110, 1118, 1126, 1134, 1142, 1150, 1158, 1166-1167, 1176, 1181, 1185, 1189, 1193, 1197, 1202, 1207, 1212, 1217, 1221, 1225, 1230, 1235, 1240, 1245, 1250, 1255, 1265, 1269, 1273, 1277, 1281-1297, 1302, 1307, 1312, 1317, 1322, 1327, 1332, 1337, 1341, 1346, 1351, 1355, 1359, 1363, 1367, 1371, 1375, 1379, 1383, 1395, 1399, 1422, 1499
/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/schema.py 1212 608 50% 77, 83-93, 109-110, 121, 124, 141, 153, 156-159, 162, 455, 459-460, 465-466, 470-473, 476-477, 482-493, 496, 504-506, 521, 543-547, 558, 576, 578-580, 590, 612-630, 661-712, 718, 721, 741, 749, 755, 769, 791, 812, 825-828, 831-832, 842-845, 850-853, 868-870, 882-884, 957-1020, 1304-1308, 1314, 1320, 1322, 1350, 1357, 1360-1361, 1369-1372, 1376, 1381-1384, 1392, 1405, 1410-1412, 1425, 1428-1441, 1458, 1463, 1467, 1473-1481, 1488, 1497-1503, 1505-1513, 1526-1528, 1532, 1544-1571, 1584-1624, 1628, 1762-1775, 1796, 1800, 1818-1830, 1841-1844, 1846-1850, 1852, 1861, 1865-1868, 1879, 1898, 1902-1903, 1918, 1925, 1931, 1947, 1953, 1962, 1970-1971, 1973-1976, 1982, 1996, 2003-2004, 2025-2056, 2060, 2068-2070, 2073-2078, 2109-2111, 2113-2118, 2123, 2152-2154, 2157, 2162-2165, 2218, 2222, 2227, 2231, 2235, 2244-2247, 2256-2270, 2277, 2284, 2464-2485, 2489, 2493, 2502, 2505-2506, 2509, 2512-2513, 2517-2520, 2525-2527, 2532-2534, 2537, 2571, 2574-2577, 2580-2584, 2587-2591, 2594, 2622-2627, 2630, 2643, 2707, 2718-2720, 2730, 2734-2738, 2743, 2745, 2747-2748, 2776-2791, 2803-2822, 2830-2833, 2897-2903, 2913, 2997, 3003, 3008-3022, 3141-3151, 3180-3182, 3207, 3211-3214, 3233-3234, 3253-3256, 3263, 3270-3271, 3279, 3284-3307, 3404-3416, 3419-3420, 3445-3451, 3464, 3472-3478, 3483, 3485, 3490, 3497-3498, 3506-3519, 3641-3675, 3678-3692, 3701, 3713-3716, 3728-3730, 3733, 3944, 3951-3956, 3973, 3976-3978, 3984, 3987-3993, 4002, 4012-4018, 4023, 4042, 4049, 4058-4060, 4065, 4102, 4193-4261, 4275-4279, 4302, 4327-4329, 4353-4355, 4364, 4370-4382, 4388, 4396-4398, 4423-4434, 4444-4447
/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/selectable.py 1050 606 42% 56-63, 67-72, 78, 88-96, 107-117, 133, 145, 183-188, 191, 229-234, 237, 288, 310-314, 331, 374, 417, 437, 452, 467, 489, 498, 505-511, 532-537, 552-594, 604, 609, 625-626, 634-636, 643-645, 654-660, 664, 699-704, 735-744, 769, 818, 822, 830, 837, 841-851, 856-866, 869-872, 875, 878-882, 932, 937-944, 954, 958-970, 980, 988, 991-995, 1007, 1010-1014, 1029-1045, 1071-1073, 1077, 1180-1197, 1201, 1207, 1234, 1248-1250, 1296, 1299-1311, 1314-1321, 1325-1328, 1331-1334, 1339-1341, 1344-1345, 1348-1355, 1361-1368, 1371-1374, 1378, 1382, 1426, 1488, 1493-1495, 1499-1502, 1523, 1536-1541, 1544-1547, 1553-1558, 1573, 1582, 1591, 1765, 1774, 1777, 1781, 1785, 1789, 1792, 1795, 1799, 1802, 1805, 1809, 1812, 1815, 1818, 1885, 1888, 1895, 1898-1899, 1903, 1920, 1937, 1958, 1962, 1988-2001, 2005-2012, 2015, 2025, 2028-2029, 2045-2054, 2078, 2089, 2105, 2113-2116, 2120, 2161, 2164-2169, 2173, 2175, 2179, 2184, 2193-2196, 2200, 2258, 2277, 2287, 2294, 2301, 2311, 2331, 2353, 2373, 2394, 2410-2415, 2434-2439, 2445, 2448-2451, 2487-2515, 2519-2520, 2540, 2560, 2577, 2594, 2611, 2628, 2631, 2634, 2637-2640, 2643-2666, 2671-2677, 2684-2695, 2698, 2705-2712, 2715, 2956-2959, 2964, 2972-2973, 2983, 2986, 2989, 2996, 3003, 3006, 3027-3035, 3059-3067, 3070-3072, 3086, 3104-3112, 3124-3126, 3132, 3156, 3192-3195, 3199, 3215-3216, 3224, 3228-3242, 3245-3251, 3254-3311, 3316, 3346, 3370, 3447-3454, 3463, 3471, 3483-3490, 3524, 3567-3571, 3602-3606, 3620-3621, 3642-3648, 3659-3660, 3674-3675, 3688-3689, 3700-3702, 3707-3720, 3731-3742, 3745-3758, 3761, 3776-3781, 3787, 3794, 3800, 3807, 3814, 3821, 3824-3839, 3842, 3853-3854, 3858, 3872, 3875, 3904-3911, 3920, 3923-3925, 3928-3930, 3938-3940, 3947-3949, 3978-3980, 3984, 3988, 3991-3992, 3995-3996, 3999, 4006-4007
/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/sqltypes.py 847 495 42% 44, 58, 64-73, 85-91, 110, 113-118, 234, 246-254, 257-293, 296-316, 320-323, 326, 330, 450-452, 455, 465, 469, 481, 624-629, 632, 635-638, 642-645, 648-651, 654-680, 684, 755-762, 802, 806, 814, 827, 831, 838, 868, 872, 879, 893-897, 901, 906-917, 924-937, 942-947, 952-955, 958, 992, 1027-1042, 1049, 1056-1057, 1063-1096, 1106, 1109-1112, 1123, 1128-1132, 1137-1141, 1144-1149, 1152-1157, 1160-1165, 1168-1173, 1180-1186, 1373, 1377-1380, 1390-1425, 1436-1450, 1453-1459, 1468-1471, 1475, 1478-1494, 1500-1507, 1512-1515, 1520, 1527-1538, 1541-1542, 1545-1547, 1553-1569, 1572-1580, 1583-1590, 1593-1602, 1605, 1609-1612, 1647-1650, 1653, 1656-1673, 1676-1693, 1696-1699, 1744, 1753, 1770, 1775-1782, 1785-1792, 1795-1807, 1810-1813, 1822, 1837, 1841, 1889, 1892, 1895-1911, 1914-1931, 2166, 2175, 2178, 2181-2191, 2194-2204, 2227-2247, 2253, 2258, 2262, 2266, 2269-2286, 2289-2299, 2410-2442, 2445, 2479-2480, 2514-2515, 2556-2566, 2570, 2574, 2577, 2582-2583, 2588-2591, 2670, 2673, 2802-2805, 2809-2814, 2857-2858, 2868-2879
/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/type_api.py 357 157 56% 71-72, 100, 103, 215-217, 220, 247, 250, 263, 277, 315, 355, 373, 378, 387, 406, 434, 448, 486-491, 507-513, 568, 587-590, 594-599, 602-607, 610, 672-681, 698, 733-740, 745, 765, 890, 928-929, 934-935, 942, 954-970, 977, 1009, 1011, 1062, 1086, 1113, 1125, 1137, 1163-1188, 1209-1224, 1235, 1260-1275, 1279, 1285, 1296, 1302, 1320, 1332-1334, 1343, 1358, 1362, 1365, 1387-1388, 1391-1395, 1398-1401, 1406-1410, 1415-1419, 1434-1441, 1446, 1450, 1465, 1469, 1480-1482
/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/util.py 429 304 29% 66-72, 82-114, 129-166, 210, 225-226, 245, 248, 251, 254, 260-263, 275-294, 298-302, 312-319, 335-339, 348, 350, 354-364, 372-383, 406-412, 416-420, 431-443, 452-453, 456-457, 474-476, 479-509, 512-533, 536-550, 559-577, 581-602, 636-656, 660-675, 688-740, 779-787, 792-806, 809-820, 865-880, 884-885, 888-895, 898-905, 908, 915-927, 930-932, 935-936
/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/sql/visitors.py 140 37 74% 89-90, 102-103, 145, 150, 154-159, 176-178, 196, 201, 222, 227-233, 287-298, 378, 410, 457
/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/types.py 58 0 100%
/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/__init__.py 138 0 100%
/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/_collections.py 627 316 50% 39, 75-81, 94, 97, 106, 113, 119, 124-126, 131, 149, 153, 156, 160-162, 165, 183, 188, 197, 200, 203, 206, 209-212, 220, 223, 229, 232, 235, 238, 241, 244, 269, 275-277, 280-281, 284, 287, 295-296, 299, 301, 304-308, 311, 314, 324-331, 337-340, 348-352, 355-357, 376-377, 380-382, 385-387, 390-391, 394, 400, 403, 408-412, 417-419, 430-433, 444-447, 452-455, 481, 484, 487, 490, 493-496, 499-503, 506, 509, 512-515, 518-521, 524-532, 535-537, 540-542, 545-554, 557-559, 562-564, 567-572, 575-577, 580, 583-586, 597-599, 602, 605-608, 619-621, 624, 627-630, 633-640, 646-648, 651, 654-657, 660, 665, 671, 674, 684, 687, 690, 698-703, 715-719, 761, 776-783, 786-789, 792, 797, 823, 827-832, 839, 861-862, 887-888, 891-896, 899-901, 904, 907-911, 914-920, 924, 927-945, 952-974, 1003-1005, 1008-1012, 1017, 1022, 1027-1030, 1040-1041, 1044-1048, 1051, 1054, 1057-1060, 1067, 1080-1086
/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py 240 115 52% 49-50, 57, 66, 70, 133, 136, 139, 142, 145, 153, 156, 159, 165-261, 304, 320, 323-327, 334, 338-347, 355, 369-390, 395
/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/deprecations.py 101 13 87% 22, 26, 67, 119, 124, 166, 171, 185-189, 236-237
/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/langhelpers.py 827 353 57% 29-33, 68-79, 83, 94-99, 115, 121-124, 132, 218, 230-239, 244-250, 256-262, 337, 340-341, 352-378, 433, 449, 475, 479-485, 497-503, 512-515, 523-587, 599, 606-608, 633-668, 697-747, 753, 791-838, 876-884, 1054, 1070, 1075-1076, 1085-1093, 1103-1106, 1114-1116, 1133-1136, 1161-1165, 1178-1183, 1193-1200, 1207-1213, 1222-1245, 1260-1261, 1264, 1272-1277, 1287-1290, 1306, 1309, 1377, 1379, 1383-1386, 1410-1413, 1417-1423, 1438-1443, 1446, 1449, 1459, 1467-1469, 1486-1489, 1511-1517, 1545-1546, 1550-1553, 1564-1577, 1598-1621, 1646
/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/queue.py 91 39 57% 69-72, 78-81, 87-90, 109-121, 133, 151-162, 176, 188, 206
/home/p0tt3r/.local/lib/python3.6/site-packages/sqlalchemy/util/topological.py 47 23 51% 34, 60-93, 97
/home/p0tt3r/.local/lib/python3.6/site-packages/urllib3/__init__.py 33 7 79% 61-67
/home/p0tt3r/.local/lib/python3.6/site-packages/urllib3/_collections.py 181 91 50% 4-5, 8-14, 68, 71, 74-78, 81-82, 85, 98-99, 141, 145, 148-149, 156, 159, 162-166, 170, 173-174, 179, 193-201, 204-207, 223, 231, 236-237, 239-240, 242-243, 249, 254-261, 272, 275-280, 283-285, 289-292, 296-298, 301, 309-329
/home/p0tt3r/.local/lib/python3.6/site-packages/urllib3/connection.py 165 65 61% 15-19, 25-27, 152, 161-167, 176-178, 189-220, 245-254, 286-289, 305-313, 317, 321, 347, 355-364, 373-383, 391
/home/p0tt3r/.local/lib/python3.6/site-packages/urllib3/connectionpool.py 314 118 62% 66, 73, 77, 80-82, 88, 197, 228-236, 240-246, 267-278, 288, 293, 300, 305-317, 344-347, 352, 367, 370, 381-387, 397-398, 405, 412, 430-444, 541, 544, 551, 594, 621-642, 650-651, 657, 661-663, 670-676, 681-699, 710-725, 771, 804-805, 816, 822-823, 870-875, 893
/home/p0tt3r/.local/lib/python3.6/site-packages/urllib3/contrib/__init__.py 0 0 100%
/home/p0tt3r/.local/lib/python3.6/site-packages/urllib3/contrib/_appengine_environ.py 11 0 100%
/home/p0tt3r/.local/lib/python3.6/site-packages/urllib3/contrib/pyopenssl.py 238 236 1% 47-469
/home/p0tt3r/.local/lib/python3.6/site-packages/urllib3/contrib/socks.py 75 66 12% 41-192
/home/p0tt3r/.local/lib/python3.6/site-packages/urllib3/exceptions.py 96 21 78% 21-22, 26, 32-33, 37, 77-82, 89-91, 144-147, 216, 219, 233-234, 240-241
/home/p0tt3r/.local/lib/python3.6/site-packages/urllib3/fields.py 69 56 19% 17-19, 35-47, 64-69, 89-103, 114, 127-136, 142-155, 171-178
/home/p0tt3r/.local/lib/python3.6/site-packages/urllib3/filepost.py 43 30 30% 19-22, 33-42, 57-60, 74-98
/home/p0tt3r/.local/lib/python3.6/site-packages/urllib3/packages/__init__.py 3 0 100%
/home/p0tt3r/.local/lib/python3.6/site-packages/urllib3/packages/six.py 444 207 53% 49-72, 98-99, 112, 120-121, 131-133, 145, 154-157, 192-193, 222-223, 304, 480, 488, 493-499, 511-517, 522-524, 530-532, 537, 542, 546-560, 575, 581, 584, 592-608, 620, 623, 636-637, 642-661, 667, 671, 675, 682-701, 707, 717-718, 723-775, 777-784, 789-795, 805-809, 814-825, 836-843, 864-865
/home/p0tt3r/.local/lib/python3.6/site-packages/urllib3/packages/ssl_match_hostname/__init__.py 11 6 45% 7, 10-16
/home/p0tt3r/.local/lib/python3.6/site-packages/urllib3/poolmanager.py 170 76 55% 87, 93, 165, 168-170, 184, 220, 293-300, 312-362, 395-412, 416-420, 428-436, 440-449, 453
/home/p0tt3r/.local/lib/python3.6/site-packages/urllib3/request.py 39 27 31% 47, 61-70, 80-89, 129-150
/home/p0tt3r/.local/lib/python3.6/site-packages/urllib3/response.py 353 138 61% 25-27, 30, 33-52, 78-85, 89-90, 103, 106, 109-111, 116, 121, 169, 187, 209, 219-222, 226, 234-238, 242, 245, 253, 266-271, 281, 284-285, 288, 294-295, 299, 313-318, 327-329, 334, 347, 364-380, 392-399, 429, 432, 440-441, 453-461, 471, 516, 532, 539, 543-547, 552, 555-558, 561-566, 570-571, 575, 579-584, 599, 604-607, 612-615, 617-619, 621-624, 648, 652, 659-660, 665, 683, 690, 704-707
/home/p0tt3r/.local/lib/python3.6/site-packages/urllib3/util/__init__.py 10 0 100%
/home/p0tt3r/.local/lib/python3.6/site-packages/urllib3/util/connection.py 66 18 73% 19, 21, 25-26, 49, 69, 73-82, 87, 114, 126-127
/home/p0tt3r/.local/lib/python3.6/site-packages/urllib3/util/queue.py 14 1 93% 7
/home/p0tt3r/.local/lib/python3.6/site-packages/urllib3/util/request.py 45 33 27% 47-74, 83, 85-90, 106-117
/home/p0tt3r/.local/lib/python3.6/site-packages/urllib3/util/response.py 35 14 60% 19-35, 55, 72, 86
/home/p0tt3r/.local/lib/python3.6/site-packages/urllib3/util/retry.py 150 94 37% 171-172, 186-198, 204, 209-212, 220-226, 230-242, 247-252, 255-260, 263-266, 277-282, 288, 294, 301, 313, 316, 323-328, 342-403, 406
/home/p0tt3r/.local/lib/python3.6/site-packages/urllib3/util/ssl_.py 146 75 49% 34-37, 48-49, 54-56, 65-75, 114-158, 171-184, 200, 205, 208, 218-224, 314, 318-327, 333, 336, 347-358, 369, 381
/home/p0tt3r/.local/lib/python3.6/site-packages/urllib3/util/timeout.py 59 25 58% 100, 115, 120-138, 178, 190-193, 208-211, 235-237, 240
/home/p0tt3r/.local/lib/python3.6/site-packages/urllib3/util/url.py 107 38 64% 29, 40, 45-50, 55-57, 78-97, 100, 160, 189, 193-194, 207, 210-214, 224, 237-238
/home/p0tt3r/.local/lib/python3.6/site-packages/urllib3/util/wait.py 77 38 51% 7-8, 45-65, 69-84, 89, 94, 108, 118-119, 132-135, 150
/home/p0tt3r/chaoss/grimoirelab-elk/grimoire_elk/__init__.py 4 0 100%
/home/p0tt3r/chaoss/grimoirelab-elk/grimoire_elk/_version.py 1 0 100%
/home/p0tt3r/chaoss/grimoirelab-elk/grimoire_elk/elastic.py 262 132 50% 83-89, 118-120, 126-132, 158-160, 164-170, 184-189, 196-199, 206-208, 216-229, 238-241, 252-253, 289-292, 300, 312, 329, 338-344, 376-377, 405-406, 414-416, 424-426, 435-492, 500-533, 538-556
/home/p0tt3r/chaoss/grimoirelab-elk/grimoire_elk/elastic_items.py 179 18 90% 181, 191-193, 209-220, 246, 360
/home/p0tt3r/chaoss/grimoirelab-elk/grimoire_elk/elastic_mapping.py 4 0 100%
/home/p0tt3r/chaoss/grimoirelab-elk/grimoire_elk/elk.py 482 422 12% 57-77, 84-102, 110-242, 246-257, 275-323, 334, 351-356, 380-387, 393-435, 447-470, 490-612, 623-747, 759-795, 809-817, 823-831, 840-905
/home/p0tt3r/chaoss/grimoirelab-elk/grimoire_elk/enriched/__init__.py 0 0 100%
/home/p0tt3r/chaoss/grimoirelab-elk/grimoire_elk/enriched/askbot.py 211 36 83% 98, 101, 107-112, 141, 151, 167, 189, 207-209, 218-221, 227, 235-241, 245, 280, 283-286, 304, 336-338, 345-346
/home/p0tt3r/chaoss/grimoirelab-elk/grimoire_elk/enriched/bugzilla.py 108 10 91% 68, 89, 121-122, 149, 151, 172-174, 194
/home/p0tt3r/chaoss/grimoirelab-elk/grimoire_elk/enriched/bugzillarest.py 85 9 89% 68, 85, 96-97, 144, 153, 161-164
/home/p0tt3r/chaoss/grimoirelab-elk/grimoire_elk/enriched/ceres_base.py 133 102 23% 43, 46, 49, 52, 72-74, 81-118, 136, 150-157, 160, 170-176, 187-204, 211-226, 235-246, 256-283, 291, 296, 303, 312-331, 347-354
/home/p0tt3r/chaoss/grimoirelab-elk/grimoire_elk/enriched/cocom.py 156 63 60% 56-106, 122-124, 193, 234-236, 243-244, 256-359
/home/p0tt3r/chaoss/grimoirelab-elk/grimoire_elk/enriched/colic.py 178 64 64% 53-82, 97-99, 114-143, 150-184, 191-225, 327, 353-355, 362-363, 373-472
/home/p0tt3r/chaoss/grimoirelab-elk/grimoire_elk/enriched/confluence.py 91 7 92% 75-80, 95, 119, 169
/home/p0tt3r/chaoss/grimoirelab-elk/grimoire_elk/enriched/crates.py 79 16 80% 85, 97, 110-125, 149, 164
/home/p0tt3r/chaoss/grimoirelab-elk/grimoire_elk/enriched/discourse.py 185 18 90% 85, 93, 100-102, 131, 165, 178, 212, 229, 240-241, 268, 298-300, 307-308
/home/p0tt3r/chaoss/grimoirelab-elk/grimoire_elk/enriched/dockerhub.py 85 14 84% 70, 104, 109, 145-150, 165-170, 177
/home/p0tt3r/chaoss/grimoirelab-elk/grimoire_elk/enriched/enrich.py 685 392 43% 51-53, 63-65, 118, 123, 135, 172-190, 196, 221, 228-234, 241-295, 320, 329, 334, 338, 341, 370-382, 423, 427, 431, 442-444, 457, 461-463, 467-469, 492-493, 522, 544, 557-559, 562, 564, 579, 623-625, 632-635, 639-646, 649-653, 658-671, 729, 755-786, 790-796, 805-851, 855, 859, 864, 869-871, 877-925, 931-985, 1051-1155, 1168-1194, 1207-1233, 1276-1352, 1371-1423, 1439-1465, 1480-1499
/home/p0tt3r/chaoss/grimoirelab-elk/grimoire_elk/enriched/finosmeetings.py 61 2 97% 79, 127
/home/p0tt3r/chaoss/grimoirelab-elk/grimoire_elk/enriched/functest.py 97 11 89% 50, 56, 103, 113, 131, 140, 171-175
/home/p0tt3r/chaoss/grimoirelab-elk/grimoire_elk/enriched/gerrit.py 414 45 89% 99, 113, 115, 168, 262-265, 316-330, 402-405, 473-486, 507-515, 626, 668-669, 678, 690
/home/p0tt3r/chaoss/grimoirelab-elk/grimoire_elk/enriched/git.py 462 267 42% 104, 110, 115, 120-133, 143-146, 154-157, 162-165, 213, 220, 272, 278-280, 299, 303-305, 308, 318-319, 325, 338-341, 345-385, 411-427, 430-441, 452-489, 496, 499-500, 507, 514-560, 572, 586-641, 653-678, 687-710, 719-754, 766-794, 797-837, 840-855
/home/p0tt3r/chaoss/grimoirelab-elk/grimoire_elk/enriched/github.py 342 91 73% 102, 106, 134, 137, 177, 184, 189-192, 197-198, 211, 231-241, 273-409, 426, 506, 511-512, 531, 590-591, 601, 612-613
/home/p0tt3r/chaoss/grimoirelab-elk/grimoire_elk/enriched/github2.py 430 24 94% 117, 121, 157, 159, 162, 199, 206, 227, 288, 362, 398-400, 407-408, 447, 533, 541-542, 561, 626, 635, 649-650
/home/p0tt3r/chaoss/grimoirelab-elk/grimoire_elk/enriched/gitlab.py 247 40 84% 90, 94, 111, 114, 120, 151, 183, 185, 187, 202, 204, 206, 236, 246-247, 271, 281, 283, 285-291, 300, 302, 304-310, 352, 357-358, 396-403
/home/p0tt3r/chaoss/grimoirelab-elk/grimoire_elk/enriched/google_hits.py 24 2 92% 34-36
/home/p0tt3r/chaoss/grimoirelab-elk/grimoire_elk/enriched/graal_study_evolution.py 24 18 25% 29-43, 51-77, 85-116, 124-169, 174-192
/home/p0tt3r/chaoss/grimoirelab-elk/grimoire_elk/enriched/groupsio.py 4 0 100%
/home/p0tt3r/chaoss/grimoirelab-elk/grimoire_elk/enriched/hyperkitty.py 4 0 100%
/home/p0tt3r/chaoss/grimoirelab-elk/grimoire_elk/enriched/jenkins.py 115 35 70% 83-85, 89-103, 107, 149, 153-155, 160-162, 167-170, 183-185, 207, 210, 213
/home/p0tt3r/chaoss/grimoirelab-elk/grimoire_elk/enriched/jira.py 276 50 82% 80, 87, 89, 92, 105, 112-133, 144-148, 160, 239, 277, 291-294, 302, 306, 310, 338, 343-354, 409, 453-455, 462-463
/home/p0tt3r/chaoss/grimoirelab-elk/grimoire_elk/enriched/kitsune.py 138 16 88% 45-59, 67, 74, 77, 115, 126, 154, 157, 206-208, 228-230, 245
/home/p0tt3r/chaoss/grimoirelab-elk/grimoire_elk/enriched/mattermost.py 115 29 75% 78-79, 142, 146-150, 153-161, 169, 172, 174, 176, 178, 180-182, 192, 208-211
/home/p0tt3r/chaoss/grimoirelab-elk/grimoire_elk/enriched/mbox.py 131 36 73% 77, 140, 149, 176-177, 183, 203-204, 209-243, 248-250
/home/p0tt3r/chaoss/grimoirelab-elk/grimoire_elk/enriched/mbox_study_kip.py 260 253 3% 39-447
/home/p0tt3r/chaoss/grimoirelab-elk/grimoire_elk/enriched/mediawiki.py 151 18 88% 76, 78, 102-105, 116-120, 131, 139, 146, 160, 176, 218, 258-260
/home/p0tt3r/chaoss/grimoirelab-elk/grimoire_elk/enriched/meetup.py 225 35 84% 75, 103, 107, 124-125, 185, 196-201, 219-221, 231, 259, 271-289, 315, 345, 361, 378-380, 387-388
/home/p0tt3r/chaoss/grimoirelab-elk/grimoire_elk/enriched/mozillaclub.py 82 6 93% 93, 124, 157, 182-184
/home/p0tt3r/chaoss/grimoirelab-elk/grimoire_elk/enriched/nntp.py 4 0 100%
/home/p0tt3r/chaoss/grimoirelab-elk/grimoire_elk/enriched/phabricator.py 221 78 65% 84, 87, 108, 112, 115, 126-131, 145-230, 238, 272, 281, 362, 375-376
/home/p0tt3r/chaoss/grimoirelab-elk/grimoire_elk/enriched/pipermail.py 4 0 100%
/home/p0tt3r/chaoss/grimoirelab-elk/grimoire_elk/enriched/puppetforge.py 101 6 94% 31-41, 94, 124, 168-169
/home/p0tt3r/chaoss/grimoirelab-elk/grimoire_elk/enriched/redmine.py 82 5 94% 80, 91, 163-165, 171
/home/p0tt3r/chaoss/grimoirelab-elk/grimoire_elk/enriched/remo.py 124 47 62% 68, 78-79, 81-82, 94, 98, 114-119, 133, 135, 150, 157-203, 206-208, 225, 251-252
/home/p0tt3r/chaoss/grimoirelab-elk/grimoire_elk/enriched/rss.py 53 1 98% 120
/home/p0tt3r/chaoss/grimoirelab-elk/grimoire_elk/enriched/slack.py 115 15 87% 132-144, 147-155, 196
/home/p0tt3r/chaoss/grimoirelab-elk/grimoire_elk/enriched/sortinghat_gelk.py 72 42 42% 37-45, 56-62, 65, 67, 69, 76-82, 98-100, 111-119, 128-136, 144-148
/home/p0tt3r/chaoss/grimoirelab-elk/grimoire_elk/enriched/stackexchange.py 152 16 89% 64, 71, 74, 77, 122, 138, 153, 165, 212-214, 252-254, 261-262
/home/p0tt3r/chaoss/grimoirelab-elk/grimoire_elk/enriched/study_ceres_aoc.py 81 62 23% 48-50, 61-63, 74-80, 91-110, 118-144, 163-166, 178-216, 228-231
/home/p0tt3r/chaoss/grimoirelab-elk/grimoire_elk/enriched/study_ceres_onion.py 168 138 18% 65-70, 81-133, 140-186, 196-219, 227-246, 256-266, 269-292, 302-335, 350-353, 361-377, 388-390
/home/p0tt3r/chaoss/grimoirelab-elk/grimoire_elk/enriched/supybot.py 54 5 91% 62, 77, 81, 106, 118
/home/p0tt3r/chaoss/grimoirelab-elk/grimoire_elk/enriched/telegram.py 82 21 74% 60, 67, 92, 114, 128, 133-147, 150
/home/p0tt3r/chaoss/grimoirelab-elk/grimoire_elk/enriched/twitter.py 85 7 92% 78, 111-112, 143, 156, 167, 176
/home/p0tt3r/chaoss/grimoirelab-elk/grimoire_elk/enriched/utils.py 111 47 58% 131-200, 204-209, 213-215, 225-226
/home/p0tt3r/chaoss/grimoirelab-elk/grimoire_elk/errors.py 11 0 100%
/home/p0tt3r/chaoss/grimoirelab-elk/grimoire_elk/raw/__init__.py 0 0 100%
/home/p0tt3r/chaoss/grimoirelab-elk/grimoire_elk/raw/askbot.py 8 0 100%
/home/p0tt3r/chaoss/grimoirelab-elk/grimoire_elk/raw/bugzilla.py 12 0 100%
/home/p0tt3r/chaoss/grimoirelab-elk/grimoire_elk/raw/bugzillarest.py 9 0 100%
/home/p0tt3r/chaoss/grimoirelab-elk/grimoire_elk/raw/confluence.py 8 0 100%
/home/p0tt3r/chaoss/grimoirelab-elk/grimoire_elk/raw/crates.py 11 0 100%
/home/p0tt3r/chaoss/grimoirelab-elk/grimoire_elk/raw/discourse.py 8 0 100%
/home/p0tt3r/chaoss/grimoirelab-elk/grimoire_elk/raw/dockerhub.py 15 0 100%
/home/p0tt3r/chaoss/grimoirelab-elk/grimoire_elk/raw/elastic.py 157 68 57% 52-56, 77, 89-92, 113-114, 134, 161-235, 241, 256, 258-259, 264, 283, 294-301
/home/p0tt3r/chaoss/grimoirelab-elk/grimoire_elk/raw/finosmeetings.py 8 0 100%
/home/p0tt3r/chaoss/grimoirelab-elk/grimoire_elk/raw/functest.py 13 0 100%
/home/p0tt3r/chaoss/grimoirelab-elk/grimoire_elk/raw/gerrit.py 9 0 100%
/home/p0tt3r/chaoss/grimoirelab-elk/grimoire_elk/raw/git.py 14 0 100%
/home/p0tt3r/chaoss/grimoirelab-elk/grimoire_elk/raw/github.py 21 0 100%
/home/p0tt3r/chaoss/grimoirelab-elk/grimoire_elk/raw/gitlab.py 29 0 100%
/home/p0tt3r/chaoss/grimoirelab-elk/grimoire_elk/raw/google_hits.py 5 0 100%
/home/p0tt3r/chaoss/grimoirelab-elk/grimoire_elk/raw/graal.py 14 0 100%
/home/p0tt3r/chaoss/grimoirelab-elk/grimoire_elk/raw/groupsio.py 6 0 100%
/home/p0tt3r/chaoss/grimoirelab-elk/grimoire_elk/raw/hyperkitty.py 10 0 100%
/home/p0tt3r/chaoss/grimoirelab-elk/grimoire_elk/raw/jenkins.py 30 0 100%
/home/p0tt3r/chaoss/grimoirelab-elk/grimoire_elk/raw/jira.py 18 0 100%
/home/p0tt3r/chaoss/grimoirelab-elk/grimoire_elk/raw/kitsune.py 3 0 100%
/home/p0tt3r/chaoss/grimoirelab-elk/grimoire_elk/raw/mattermost.py 18 0 100%
/home/p0tt3r/chaoss/grimoirelab-elk/grimoire_elk/raw/mbox.py 22 0 100%
/home/p0tt3r/chaoss/grimoirelab-elk/grimoire_elk/raw/mediawiki.py 16 0 100%
/home/p0tt3r/chaoss/grimoirelab-elk/grimoire_elk/raw/meetup.py 17 0 100%
/home/p0tt3r/chaoss/grimoirelab-elk/grimoire_elk/raw/mozillaclub.py 8 0 100%
/home/p0tt3r/chaoss/grimoirelab-elk/grimoire_elk/raw/nntp.py 20 0 100%
/home/p0tt3r/chaoss/grimoirelab-elk/grimoire_elk/raw/phabricator.py 14 0 100%
/home/p0tt3r/chaoss/grimoirelab-elk/grimoire_elk/raw/pipermail.py 6 0 100%
/home/p0tt3r/chaoss/grimoirelab-elk/grimoire_elk/raw/puppetforge.py 3 0 100%
/home/p0tt3r/chaoss/grimoirelab-elk/grimoire_elk/raw/redmine.py 8 0 100%
/home/p0tt3r/chaoss/grimoirelab-elk/grimoire_elk/raw/remo.py 8 0 100%
/home/p0tt3r/chaoss/grimoirelab-elk/grimoire_elk/raw/rss.py 9 0 100%
/home/p0tt3r/chaoss/grimoirelab-elk/grimoire_elk/raw/slack.py 14 0 100%
/home/p0tt3r/chaoss/grimoirelab-elk/grimoire_elk/raw/stackexchange.py 27 0 100%
/home/p0tt3r/chaoss/grimoirelab-elk/grimoire_elk/raw/supybot.py 9 0 100%
/home/p0tt3r/chaoss/grimoirelab-elk/grimoire_elk/raw/telegram.py 5 0 100%
/home/p0tt3r/chaoss/grimoirelab-elk/grimoire_elk/raw/twitter.py 11 0 100%
/home/p0tt3r/chaoss/grimoirelab-elk/grimoire_elk/utils.py 255 99 61% 159-167, 180, 187-201, 264-267, 279-294, 299-307, 318-382, 388-397, 403-414
/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-cereslib/cereslib/__init__.py 0 0 100%
/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-cereslib/cereslib/dfutils/__init__.py 0 0 100%
/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-cereslib/cereslib/dfutils/filter.py 13 9 31% 52, 65-75
/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-cereslib/cereslib/enrich/__init__.py 0 0 100%
/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-cereslib/cereslib/enrich/enrich.py 286 229 20% 65, 82-95, 110, 124-135, 153, 171-207, 222, 238-243, 257-278, 289, 307-321, 343-358, 369, 387-401, 413-416, 427, 441-445, 456-467, 473-478, 487, 498-506, 519-522, 531, 546-551, 567, 594-622, 638, 650-665, 685-707, 734-772, 788, 807-812, 836-848, 863-870, 892, 911-931
/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-cereslib/cereslib/events/__init__.py 0 0 100%
/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-cereslib/cereslib/events/events.py 467 374 20% 66-67, 70-89, 95-97, 102-127, 131-148, 151-153, 157-173, 207, 226-270, 296, 315-370, 416, 420-440, 458-578, 608, 626-738, 767, 785-833
/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-graal/graal/_version.py 1 0 100%
/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-graal/graal/backends/core/__init__.py 2 0 100%
/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-graal/graal/backends/core/analyzers/__init__.py 0 0 100%
/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-graal/graal/backends/core/analyzers/analyzer.py 4 1 75% 37
/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-graal/graal/backends/core/analyzers/cloc.py 54 44 19% 42, 52-72, 82-105, 116-133
/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-graal/graal/backends/core/analyzers/lizard.py 45 36 20% 63-95, 109-137, 149-157
/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-graal/graal/backends/core/analyzers/nomos.py 27 19 30% 41-45, 54-73
/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-graal/graal/backends/core/analyzers/scancode.py 58 46 21% 45-53, 60-77, 85-116, 126-131
/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-graal/graal/backends/core/analyzers/scc.py 56 47 16% 37, 45-67, 76-100, 109-130
/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-graal/graal/backends/core/cocom.py 127 92 28% 94-99, 106-125, 137-146, 155-163, 171-215, 222-227, 238-245, 266-284, 294-300, 321-330, 342-344
/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-graal/graal/backends/core/colic.py 99 71 28% 73-82, 89-104, 115-122, 131-139, 147-176, 183-187, 198-204, 218-225, 237-239
/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-graal/graal/graal.py 260 198 24% 98-111, 151-155, 165-196, 209-224, 233, 242, 250, 257, 260-269, 283-284, 293-306, 313-320, 327-333, 342-351, 361-368, 377-383, 392-397, 406, 415-419, 425-426, 434-439, 447-456, 467-474, 480-512, 529-554, 567-580, 585-589, 607-624, 639-644, 648-657, 661-674
/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-kingarthur/arthur/__init__.py 4 0 100%
/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-kingarthur/arthur/_version.py 1 0 100%
/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-kingarthur/arthur/common.py 10 0 100%
/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-perceval-finos/perceval/backends/finos/__init__.py 0 0 100%
/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-perceval-finos/perceval/backends/finos/finosmeetings.py 94 60 36% 70-71, 80-83, 93-128, 137, 145, 154-157, 166, 179, 184, 188-194, 206-212, 217-223, 235-242
/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-perceval-mozilla/perceval/backends/mozilla/__init__.py 0 0 100%
/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-perceval-mozilla/perceval/backends/mozilla/crates.py 146 101 31% 65-70, 82-90, 100-105, 113, 121, 127-132, 146-153, 161-164, 169, 174-178, 183-203, 208-212, 217-221, 226-230, 235-239, 244-247, 265, 272-275, 280-283, 288-291, 296-299, 304-329, 334-336, 348-360
/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-perceval-mozilla/perceval/backends/mozilla/kitsune.py 132 92 30% 67, 82-88, 98-163, 174-177, 185, 193, 199, 213, 222, 227, 247, 252-272, 277-293, 298-303, 315-325
/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-perceval-mozilla/perceval/backends/mozilla/mozillaclub.py 112 78 30% 83-87, 100-103, 113-124, 132, 140, 146, 155, 169-170, 175, 192, 197-201, 266-268, 273-299, 304-325, 329-348, 360-369
/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-perceval-mozilla/perceval/backends/mozilla/remo.py 131 95 27% 64-72, 84-90, 100-136, 147-150, 158, 166, 171, 184-196, 206-215, 220, 242-248, 253-288, 293-295, 307-316
/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-perceval-opnfv/perceval/backends/opnfv/__init__.py 0 0 100%
/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-perceval-opnfv/perceval/backends/opnfv/functest.py 85 50 41% 62-66, 80-86, 96-114, 122, 130, 136, 150-153, 162, 175-176, 181, 209, 216-239, 251-261
/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-perceval-puppet/perceval/backends/puppet/__init__.py 0 0 100%
/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-perceval-puppet/perceval/backends/puppet/puppetforge.py 137 92 33% 64-70, 86-94, 104-139, 147, 155, 161-162, 175-178, 187, 200-205, 210, 213-223, 226-236, 267-268, 273-281, 286-296, 301-306, 320-343, 355-366
/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-perceval/perceval/_version.py 1 0 100%
/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-perceval/perceval/archive.py 192 159 17% 84-98, 101-103, 121-149, 166-190, 206-231, 244-262, 277-282, 290-300, 306-327, 332-344, 362-365, 380-393, 406-411, 432-437, 442-456, 461-464
/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-perceval/perceval/backend.py 400 261 35% 146, 150, 154, 159-161, 167, 171, 175-176, 179, 205-228, 240-250, 262-275, 287-311, 323-338, 342, 346, 350, 354, 358, 361, 364-372, 376-385, 389-400, 447, 455, 459, 464-465, 505, 510, 512, 516-518, 528-530, 578-588, 601-625, 629, 633, 638-650, 655-688, 692, 723-737, 740, 743-744, 750, 773-789, 804-817, 834-843, 849, 856-868, 886-899, 923-946, 968-985, 1000-1005, 1009-1018, 1022-1035
/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-perceval/perceval/backends/core/__init__.py 2 0 100%
/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-perceval/perceval/backends/core/askbot.py 230 182 21% 64-69, 82-88, 99-115, 123, 131, 140, 146, 160, 165, 177-196, 208-212, 226-246, 271-272, 279-309, 317-324, 331-355, 379-394, 408-466, 476-482, 497-517, 521-525, 537-546
/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-perceval/perceval/backends/core/bugzilla.py 230 162 30% 74-82, 95-101, 112-135, 144, 152, 158, 173-177, 186, 199-202, 222-229, 249-306, 311, 316-329, 332-335, 338-340, 343-346, 358-377, 434-440, 448-468, 474-481, 487-493, 500-519, 526-534, 541-547, 556-563, 576-585, 588-598
/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-perceval/perceval/backends/core/bugzillarest.py 187 121 35% 73-81, 94-100, 111-121, 129, 137, 143, 157-160, 169, 174, 178-210, 213-215, 218-220, 223-225, 229-231, 235-237, 241-243, 303-308, 316-329, 340-355, 363-371, 378-386, 393-402, 414-431, 444-453, 465-482
/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-perceval/perceval/backends/core/confluence.py 164 110 33% 66-70, 82-101, 121-132, 143-166, 175, 183, 196-199, 212-215, 224, 237-241, 254-255, 260, 263-266, 269-313, 325-334, 373, 388-405, 413-423, 432-449
/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-perceval/perceval/backends/core/discourse.py 160 112 30% 74-86, 99-107, 118-132, 141, 149, 155, 169-172, 181, 186, 191-226, 229-250, 253-256, 269-282, 325-331, 341-349, 357-359, 367-369, 374-380, 390-400, 412-434
/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-perceval/perceval/backends/core/dockerhub.py 67 34 49% 70-78, 91-94, 104-114, 122, 130, 136, 150, 159, 172-173, 178, 194, 199-205, 217-227
/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-perceval/perceval/backends/core/gerrit.py 258 209 19% 75-85, 98-104, 114-122, 130, 138, 144, 157, 166, 173-182, 186, 198-240, 243-268, 271-276, 307-328, 334-359, 364-370, 375-392, 403-405, 410-415, 420-426, 431-453, 457-490, 502-524
/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-perceval/perceval/backends/core/git.py 533 434 19% 117-131, 141-162, 171, 179, 185, 199-202, 211, 229-234, 249-252, 255, 258-260, 265-274, 277-303, 306-314, 317-321, 332-341, 347-376, 508-516, 527-544, 547-558, 561-569, 572-588, 591-605, 608-632, 635-656, 659-671, 674-685, 688-694, 697-701, 715-726, 742, 748, 751-754, 782-796, 820-831, 842-861, 874-883, 895, 908-911, 930-944, 965-983, 1015-1042, 1067-1082, 1088-1119, 1124-1137, 1142-1169, 1174-1204, 1209-1224, 1240-1269, 1283-1295, 1314-1335
/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-perceval/perceval/backends/core/github.py 472 389 18% 122-142, 153-159, 175-196, 206-216, 224, 232, 238-241, 255-261, 271-278, 283, 291-318, 323-349, 354-360, 365-378, 383-395, 400-413, 418-420, 425-429, 434-452, 457-466, 471-490, 495-509, 514-527, 532-541, 546-550, 555-560, 594-615, 622-625, 630-637, 642-649, 654-661, 673-683, 695-708, 713-718, 723-724, 729-734, 739-746, 751-758, 763-770, 774-787, 791-808, 822-833, 838-865, 870-879, 884-895, 901-915, 920-941, 946-960, 965-967, 979-1018
/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-perceval/perceval/backends/core/gitlab.py 323 235 27% 104-124, 138-153, 166-174, 184-191, 199, 207, 213, 227-230, 239-244, 249, 258-276, 281-293, 298-312, 315-348, 353-364, 369-382, 387-395, 400-415, 420-421, 426-428, 477-501, 506-516, 521-532, 537-543, 548-555, 560-566, 571-579, 584-592, 597-606, 613-618, 631-639, 644-677, 690-698, 703-713, 718-726
/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-perceval/perceval/backends/core/googlehits.py 85 52 39% 72-82, 94-97, 107-114, 122, 130, 136, 150, 159, 164, 171-199, 219, 226-237, 249-266
/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-perceval/perceval/backends/core/groupsio.py 133 95 29% 73-77, 88-95, 108-110, 120-134, 142, 150, 172-178, 195-214, 223-241, 244-258, 262-263, 268-276, 281-287, 295-303, 315-321, 327-341
/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-perceval/perceval/backends/core/hyperkitty.py 104 73 30% 62-63, 82-84, 94-107, 115, 123, 142-143, 162-201, 211-219, 222-235, 238-249, 260-266, 272-285
/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-perceval/perceval/backends/core/jenkins.py 135 98 27% 74-88, 101-104, 114-149, 157, 165, 170, 184, 193, 196-199, 202-232, 237, 270-278, 285-288, 296-304, 316-338
/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-perceval/perceval/backends/core/jira.py 169 122 28% 53-56, 71-78, 117-126, 139-147, 157-177, 185, 193, 199, 213-216, 225, 238-241, 246, 253-261, 291-299, 308-330, 337-340, 347-350, 355-358, 361-379, 382-392, 395-399, 402-410, 422-442
/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-perceval/perceval/backends/core/mattermost.py 153 105 31% 85-97, 110-118, 128-169, 177, 185, 191, 205-207, 216, 229-230, 235, 246-251, 254-263, 298-305, 311-319, 324-335, 340-343, 357-365, 373-379, 388-395, 400-403, 415-442
/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-perceval/perceval/backends/core/mbox.py 183 138 25% 73-77, 90-96, 106-118, 126, 134, 140, 154-157, 166, 180-184, 187, 192-235, 241-247, 255-282, 290-297, 306-323, 335-345, 357-358, 362, 366-377, 381, 384, 397-398, 408-423
/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-perceval/perceval/backends/core/mediawiki.py 250 208 17% 79-83, 97-105, 115-132, 140, 148, 153, 167, 176, 181, 185-191, 196-200, 211-243, 246-248, 259-368, 371-384, 402-403, 411-415, 420-427, 430-451, 455-465, 470-482, 487-501, 505-528, 540-554
/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-perceval/perceval/backends/core/meetup.py 178 109 39% 117-127, 137-173, 181, 189, 195, 209-212, 221, 234-235, 240, 245-256, 259-270, 282-308, 353-359, 364-365, 370-399, 404-411, 416-428, 439-442, 456-480
/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-perceval/perceval/backends/core/nntp.py 151 105 30% 64-69, 82-88, 98-133, 144-147, 155, 163, 169, 182-189, 198, 213-218, 223, 226-237, 240-243, 260-265, 268-269, 276, 283, 290, 298-303, 310-317, 325-339, 347-355, 358, 370-380
/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-perceval/perceval/backends/core/phabricator.py 273 205 25% 66-77, 91-97, 107-117, 125, 133, 139, 153, 162, 175-179, 192-193, 206-210, 224-225, 230, 235-264, 267-287, 290-301, 304-335, 338-342, 345-353, 356-362, 365-380, 383-391, 394-403, 406-413, 416-419, 422-431, 480-483, 494-517, 524-530, 537-543, 550-556, 569-574, 585-608, 620-639
/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-perceval/perceval/backends/core/pipermail.py 126 90 29% 71-72, 85-87, 97-110, 118, 126, 137-143, 149-162, 177-179, 200-233, 243-251, 254-278, 281-294, 297-313, 317-318
/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-perceval/perceval/backends/core/redmine.py 170 110 35% 70-78, 92-99, 109-136, 144, 152, 158, 171-174, 183, 196-200, 213-214, 227-228, 233, 236-247, 251-268, 271-276, 279-281, 284-286, 298-314, 353-354, 365-384, 391-401, 408-414, 427-430, 439-449
/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-perceval/perceval/backends/core/rss.py 55 29 47% 55-59, 70-73, 83-93, 97, 105, 113, 118, 132-134, 143, 148, 166, 171-172, 184-192
/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-perceval/perceval/backends/core/slack.py 182 126 31% 71-79, 92-101, 111-156, 164, 172, 184-191, 204-206, 215, 228-229, 245-246, 259-260, 265, 269-278, 315-317, 325-343, 348-356, 361-377, 382-390, 403-406, 415-431, 446-455, 467-487
/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-perceval/perceval/backends/core/stackexchange.py 113 76 33% 67-75, 87-95, 105-115, 123, 131, 137, 151, 160, 173-176, 181, 213-218, 226-258, 274-277, 280-291, 295-302, 314-331
/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-perceval/perceval/backends/core/supybot.py 158 102 35% 68-72, 85-93, 103-125, 134, 142, 154, 168-171, 180, 198-207, 210, 215-230, 235-242, 245-258, 270-283, 341-342, 355-374, 379-388, 393-405, 408
/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-perceval/perceval/backends/core/telegram.py 116 79 32% 74-80, 101-107, 117-152, 166-169, 177, 185, 191, 205-208, 217, 230-243, 248, 262-267, 279-303, 324-325, 337-344, 357-359, 368-375
/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-perceval/perceval/backends/core/twitter.py 140 99 29% 84-98, 109-117, 136-144, 154-184, 193, 201, 207, 220-223, 232, 237, 262-267, 274-277, 290-293, 309-336, 350-359, 371-408
/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-perceval/perceval/client.py 130 88 32% 92-122, 125, 139-144, 158, 162-168, 172-190, 195-213, 218-219, 247-260, 266-278, 283, 291-301
/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-perceval/perceval/errors.py 28 6 79% 31-32, 35, 74-75, 79
/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-perceval/perceval/utils.py 109 90 17% 60-75, 91-101, 124-188, 204-220, 242-269
/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/__init__.py 1 0 100%
/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/_version.py 1 0 100%
/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/api.py 388 353 9% 69-73, 117-137, 156-160, 198-215, 247-276, 294-298, 325-336, 357-363, 383-389, 407-413, 430-443, 471-506, 523-530, 560-629, 660-703, 729-742, 765-786, 808-833, 851-881, 904-939, 954-959, 975-980, 995-1008, 1028-1045, 1069-1107, 1137-1169, 1204-1253, 1273-1290
/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/__init__.py 0 0 100%
/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/api.py 194 169 13% 53-56, 72-75, 91-94, 110-113, 130-133, 156-167, 180-181, 211-230, 243-247, 266-275, 288-294, 319-331, 342-343, 373-393, 421-450, 461-465, 496-551, 572-587, 608-622, 639-647, 659-660
/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/database.py 138 85 38% 60, 64-72, 75-80, 84-86, 90-92, 96-105, 112-113, 119-126, 132-152, 158-167, 202-206, 214-218, 224-227, 233-255, 261-264
/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/db/model.py 172 50 71% 57-65, 87, 112, 119, 133, 140, 169, 176, 202, 232, 244, 278, 298, 302, 323, 326-332, 335-339, 343-345, 349-351, 355-357, 361-363, 367, 371, 374, 379-385
/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/exceptions.py 56 7 88% 50-51, 54, 57, 67-69
/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-sortinghat/sortinghat/utils.py 51 40 22% 60-84, 101-107, 112-119, 152-167
/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-toolkit/grimoirelab_toolkit/__init__.py 4 0 100%
/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-toolkit/grimoirelab_toolkit/_version.py 1 0 100%
/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-toolkit/grimoirelab_toolkit/datetime.py 67 25 63% 52-53, 56, 81-82, 85, 89-92, 119, 132-143, 150-153, 157-158, 178-179
/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-toolkit/grimoirelab_toolkit/introspect.py 30 24 20% 51-59, 81-102, 116-121
/home/p0tt3r/chaoss/grimoirelab-elk/src/grimoirelab-toolkit/grimoirelab_toolkit/uris.py 4 0 100%
__init__.py 0 0 100%
base.py 170 44 74% 48-51, 67-68, 77-78, 86-98, 127-130, 189, 200-212, 231-236, 277-285
model.py 95 73 23% 65-66, 74-77, 95-100, 117, 134-159, 182-203, 238-290, 296-300, 305-315
run_tests.py 6 0 100%
test_askbot.py 50 6 88% 73-74, 106-109
test_bugzilla.py 54 6 89% 80-81, 112-115
test_bugzillarest.py 71 14 80% 84-96, 143-146
test_cocom.py 99 9 91% 130-136, 156-159
test_colic.py 88 9 90% 120-126, 146-149
test_confluence.py 67 6 91% 101-102, 133-136
test_crates.py 51 6 88% 73-74, 114-117
test_discourse.py 54 6 89% 79-80, 111-114
test_dockerhub.py 54 6 89% 77-78, 120-123
test_elastic.py 354 346 2% 31-769
test_elastic_items.py 232 2 99% 499-500
test_elastic_ocean.py 20 1 95% 61
test_enrich.py 313 11 96% 105, 192, 265, 283, 336, 374, 396, 459, 520, 559, 616
test_enrich_jira.py 27 3 89% 29, 58-59
test_errors.py 26 1 96% 84
test_finosmeetings.py 104 35 66% 90-124, 168-171
test_functest.py 59 6 90% 99-100, 131-134
test_gerrit.py 205 58 72% 206-231, 237-283, 314-317
test_git.py 141 44 69% 126-141, 167-186, 193-202, 208-222, 251-254
test_github.py 114 14 88% 180-197, 201-204
test_github2.py 132 14 89% 197-214, 218-221
test_gitlab.py 127 4 97% 198-201
test_google_hits.py 46 4 91% 99-102
test_groupsio.py 53 6 89% 78-79, 110-113
test_hyperkitty.py 59 6 90% 87-88, 120-123
test_jenkins.py 79 6 92% 91-92, 171-174
test_jira.py 126 26 79% 134-159, 198-201
test_kitsune.py 49 6 88% 72-73, 104-107
test_load_identities.py 67 40 40% 31, 43-53, 68-71, 83-113, 116-119, 123, 127-130
test_mattermost.py 59 6 90% 78-79, 126-129
test_mbox.py 92 10 89% 112-113, 149-152, 176-179
test_mediawiki.py 157 6 96% 174-175, 239-242
test_meetup.py 59 6 90% 81-82, 125-128
test_mozillaclub.py 69 10 86% 66, 69, 72, 75, 91-92, 133-136
test_nntp.py 70 6 91% 97-98, 141-144
test_phabricator.py 49 6 88% 72-73, 104-107
test_pipermail.py 56 6 89% 82-83, 114-117
test_puppetforge.py 49 6 88% 72-73, 104-107
test_redmine.py 64 6 91% 86-87, 126-129
test_remo.py 49 6 88% 72-73, 104-107
test_rss.py 49 6 88% 72-73, 104-107
test_slack.py 81 23 72% 89-111, 146-149
test_stackexchange.py 51 6 88% 71-72, 116-119
test_supybot.py 51 6 88% 71-72, 115-118
test_telegram.py 49 6 88% 72-73, 104-107
test_twitter.py 47 6 87% 72-73, 105-108
/usr/lib/python3/dist-packages/cycler.py 175 107 39% 73, 110, 118, 122, 127, 131, 157-178, 185-189, 218-223, 229, 240-243, 255-262, 265, 268-273, 284-292, 303-311, 317-322, 325-333, 337-347, 396-397, 425, 454-465, 509, 513-516, 519-526, 548-556
/usr/lib/python3/dist-packages/matplotlib/__init__.py 782 492 37% 160, 168, 170, 175, 180-181, 185, 191-192, 195, 201, 207, 235-240, 250, 252, 265-272, 281-282, 317-326, 330-348, 357-367, 371-381, 385-399, 405-417, 424-451, 458-481, 492, 497-501, 509-511, 537-542, 550-556, 572-579, 613, 620, 629-633, 640-667, 680-692, 732-733, 799-803, 805, 808-811, 813-815, 818-819, 821-822, 829-832, 835-838, 841-843, 847, 852-858, 861, 882-884, 896-901, 916-917, 923-925, 930, 955-957, 962, 965-971, 977-985, 991, 995-1005, 1033, 1047, 1068-1075, 1089, 1142-1161, 1176-1177, 1183, 1190, 1227-1236, 1275-1306, 1317, 1326, 1338-1340, 1351-1393, 1399-1441, 1452-1459, 1510-1740
/usr/lib/python3/dist-packages/matplotlib/_color_data.py 9 0 100%
/usr/lib/python3/dist-packages/matplotlib/_version.py 5 0 100%
/usr/lib/python3/dist-packages/matplotlib/cbook/__init__.py 1211 948 22% 49-64, 74-75, 78-80, 83, 90, 98-99, 102-105, 113-114, 117-120, 127-128, 131-133, 140, 143-145, 162-181, 184, 187-191, 194-199, 202-206, 216-228, 235-241, 247, 250, 254, 314-317, 328, 331, 336-349, 352-360, 365-376, 385-397, 407-409, 412, 415, 419, 422-423, 470-479, 484-488, 505, 508, 515, 520-524, 531, 537-548, 553-557, 562, 570-575, 581, 586, 595-615, 620, 625-631, 648-669, 687-692, 716-720, 723-732, 735-736, 765, 769, 773, 781-802, 810, 813, 816, 819, 823-826, 829, 832, 835, 847-854, 862-872, 881-885, 892-893, 899-900, 904, 908-912, 916, 919, 932-938, 944-960, 988-1008, 1017-1036, 1045-1055, 1061-1067, 1072-1079, 1088-1095, 1104-1109, 1118-1123, 1131, 1146-1151, 1162-1163, 1167-1170, 1173, 1176, 1180-1183, 1187-1189, 1196-1199, 1203-1206, 1209, 1213-1214, 1222-1234, 1238-1246, 1255-1262, 1268, 1277, 1282-1323, 1331-1335, 1342-1345, 1349-1362, 1378-1429, 1469-1471, 1474, 1480-1484, 1491-1506, 1512-1518, 1521-1526, 1534-1547, 1553-1556, 1560-1577, 1582-1592, 1627-1670, 1753-1878, 1915-1930, 1948-1980, 1986-1996, 2004-2007, 2015-2022, 2037-2045, 2089-2116, 2127-2136, 2146-2151, 2154, 2184-2191, 2221-2226, 2256-2262, 2293-2297, 2301-2313, 2318, 2365-2426, 2430-2433, 2463-2467, 2470-2489, 2492-2497, 2547, 2569, 2591, 2659-2663, 2673-2689, 2697, 2705, 2713, 2722, 2725-2753, 2766
/usr/lib/python3/dist-packages/matplotlib/cbook/_backports.py 57 49 14% 23-70, 75-84, 89-105, 147
/usr/lib/python3/dist-packages/matplotlib/cbook/deprecation.py 61 13 79% 30, 103-106, 177-180, 186-192, 207-208
/usr/lib/python3/dist-packages/matplotlib/colors.py 810 650 20% 69-70, 73-74, 95, 113-114, 127-130, 137-138, 151, 168-172, 176-178, 185, 189, 195, 208-234, 240, 249-252, 264, 272, 305, 318, 330, 359-392, 417-431, 457-524, 529-534, 539-541, 547-549, 555-557, 560-568, 572, 575-577, 584, 603, 661-664, 667-678, 684-685, 698-716, 722, 739-756, 789-811, 814-818, 824-825, 842-846, 873-875, 894-906, 916-946, 949-958, 964-966, 970-974, 978, 986-1020, 1023-1031, 1037-1039, 1043-1049, 1078-1082, 1085-1108, 1114-1120, 1126-1132, 1138-1140, 1143-1147, 1153-1155, 1159-1166, 1175-1176, 1179-1206, 1209-1218, 1224-1229, 1233-1241, 1283-1292, 1295-1317, 1327, 1337, 1340, 1359-1397, 1415-1486, 1497-1500, 1508-1511, 1549-1554, 1562-1565, 1610-1622, 1650-1668, 1731-1744, 1795-1819, 1861-1901, 1920, 1938-1940, 1967-2008
/usr/lib/python3/dist-packages/matplotlib/compat/__init__.py 0 0 100%
/usr/lib/python3/dist-packages/matplotlib/compat/subprocess.py 24 11 54% 22-25, 42-51
/usr/lib/python3/dist-packages/matplotlib/dates.py 603 454 25% 163, 166, 169, 179-183, 221-239, 256-273, 287, 293, 308-309, 318-319, 339-348, 371-377, 394-396, 413-415, 442-450, 454, 476-482, 491-508, 531-534, 537-543, 546, 558-571, 584-628, 640-649, 662-666, 670-676, 745-749, 761-775, 781-783, 786-787, 790-792, 795, 811-813, 819, 825-829, 835-839, 846, 852, 860-865, 872-873, 877-882, 885-904, 911-912, 916-932, 935, 941-970, 1027-1056, 1061-1062, 1065, 1070-1073, 1076-1077, 1081-1082, 1085-1088, 1092-1094, 1098-1189, 1209-1211, 1221-1226, 1229-1238, 1244-1253, 1268-1278, 1298-1306, 1321-1333, 1348-1353, 1368-1373, 1389-1393, 1407-1409, 1412-1413, 1416-1417, 1420-1421, 1425-1430, 1433-1438, 1445, 1451, 1458-1460, 1468-1469, 1477, 1484, 1492-1500, 1509-1543, 1550, 1557, 1564, 1571, 1591-1598, 1609-1611, 1618-1630
/usr/lib/python3/dist-packages/matplotlib/fontconfig_pattern.py 74 23 69% 31-32, 134-135, 148, 154, 161-162, 170-172, 188-200
/usr/lib/python3/dist-packages/matplotlib/path.py 361 288 20% 136-168, 186-202, 205-212, 219, 223-226, 238, 242-245, 253, 257, 264, 271, 275, 282, 289-290, 299-303, 324-336, 342-361, 364, 367, 414-439, 457-465, 478, 490-499, 511-514, 523-525, 536-543, 553, 566, 574-584, 606-627, 638-645, 656-674, 685-705, 714, 726-729, 756-800, 815-848, 868-927, 943, 954-965, 978-980, 1010-1013, 1030-1033
/usr/lib/python3/dist-packages/matplotlib/rcsetup.py 474 196 59% 69, 76-85, 98, 121, 138-147, 154-156, 163-164, 176, 179-180, 187-190, 201, 209-212, 220-221, 227, 230-233, 245-249, 253, 265, 297-298, 303, 310-311, 321-322, 327, 331-332, 344, 352-354, 359, 369-370, 374-376, 382-399, 403-406, 422-425, 435-438, 469, 473, 478-479, 488, 502, 504, 507-510, 537, 545-550, 555, 576, 582, 593, 596, 620, 623-627, 631, 634-640, 655-656, 659, 662, 666, 669, 683-688, 761-790, 796-816, 823, 827, 835, 838, 860, 863-871, 879, 886, 907-935, 1421-1425
/usr/lib/python3/dist-packages/matplotlib/ticker.py 1239 1026 17% 202-206, 210, 215-217, 220, 223, 226, 229, 232, 236, 243, 246-247, 250, 253, 256-257, 273, 280, 288, 291, 294, 310, 318-319, 328-332, 343, 355-356, 367-370, 373, 376, 388, 396, 407, 415, 427, 436, 451-454, 462-487, 507-521, 524, 527-532, 537, 540-543, 548, 551-554, 562-565, 571-575, 583, 600-602, 608-611, 617-622, 628-654, 660-667, 670-707, 715-735, 739-770, 773-779, 783-808, 873-882, 892, 904, 913-964, 967-973, 979-999, 1002-1006, 1012, 1017-1044, 1052-1060, 1070-1073, 1082-1128, 1140-1149, 1158-1171, 1175, 1232-1234, 1237-1241, 1261-1301, 1324-1327, 1333-1336, 1363-1383, 1386, 1397-1406, 1410, 1443, 1450, 1457, 1462-1467, 1476, 1480, 1484-1497, 1502-1506, 1510, 1522-1523, 1527-1530, 1534-1535, 1538, 1554-1557, 1561-1562, 1565, 1577-1585, 1594, 1605, 1622-1626, 1630-1633, 1637-1638, 1641-1655, 1658, 1663-1678, 1682-1685, 1691-1693, 1697-1700, 1704-1708, 1712-1716, 1720-1723, 1726, 1736, 1740-1741, 1745-1746, 1749-1755, 1762-1772, 1776-1783, 1835-1841, 1845-1860, 1867-1868, 1872-1898, 1901-1945, 1949, 1952-1953, 1956-1970, 1973-1983, 1988-1991, 1996-1999, 2003-2008, 2012-2017, 2021-2023, 2050-2058, 2062-2069, 2078, 2084-2092, 2096-2097, 2100-2178, 2182-2196, 2199-2218, 2230-2243, 2247-2250, 2255-2256, 2259-2359, 2363-2388, 2400, 2404-2405, 2409-2410, 2414-2450, 2453-2480, 2485-2491, 2507, 2511-2548, 2551, 2562, 2566-2567, 2570, 2575-2578, 2583-2585, 2589-2613
/usr/lib/python3/dist-packages/matplotlib/transforms.py 1229 859 30% 92-97, 100-102, 105-109, 112-115, 119, 130-133, 150-159, 172-173, 176-181, 190, 193-248, 266-273, 276, 280, 287, 296, 305, 314, 323, 332, 341, 348, 355, 362, 369, 376, 383, 391, 400, 408-409, 417-418, 426-427, 435-436, 444, 447, 453-454, 460-461, 467, 473-483, 489-490, 496-497, 503, 510-520, 527-530, 537, 570-578, 589-590, 603-614, 625-628, 639-642, 652-656, 665, 674-679, 686-687, 694, 703-704, 712-716, 723-729, 737-741, 757-768, 770-778, 786, 794, 804, 814-815, 818, 823, 826, 841, 859-864, 884-900, 919-923, 928-929, 933-934, 938-939, 943-944, 948-949, 953-954, 958-959, 963-964, 968-972, 976, 980, 984, 991-992, 1000-1002, 1009-1011, 1015, 1019, 1024, 1040-1054, 1057, 1060-1086, 1090-1095, 1125-1134, 1138, 1141-1147, 1151-1156, 1163-1166, 1170-1172, 1179-1182, 1186-1188, 1195-1198, 1202-1204, 1211-1214, 1218-1220, 1271-1273, 1281-1283, 1291-1292, 1305, 1319, 1332-1339, 1352-1357, 1382-1400, 1408, 1422-1437, 1459, 1478, 1487, 1493, 1501, 1512-1515, 1526, 1538, 1550-1551, 1581-1611, 1623, 1647-1652, 1655-1659, 1662, 1666-1667, 1673, 1684-1690, 1694, 1697, 1701-1711, 1724-1735, 1738, 1742, 1746, 1758-1759, 1763, 1771, 1774-1776, 1779, 1783, 1788, 1792, 1796, 1801, 1805, 1831, 1835-1836, 1843-1844, 1856, 1859-1863, 1866-1867, 1871-1882, 1886-1893, 1912-1919, 1922, 1936, 1949-1950, 1962-1963, 1970-1975, 1986, 1992-1994, 2004-2010, 2020, 2030, 2041-2042, 2052-2056, 2069-2075, 2088-2094, 2107, 2110-2111, 2123, 2127, 2130, 2134, 2144, 2154, 2187-2191, 2195-2200, 2204, 2208, 2212, 2215, 2219, 2223, 2227, 2230-2254, 2258, 2262-2274, 2302-2316, 2320-2325, 2329, 2332, 2335-2347, 2359-2362, 2385-2395, 2400-2404, 2413-2419, 2423-2426, 2429-2432, 2436, 2439, 2443, 2447-2448, 2451, 2454, 2458-2463, 2468-2473, 2478-2481, 2486, 2490, 2513-2526, 2529-2530, 2534, 2537-2540, 2543, 2546-2552, 2574-2580, 2595-2604, 2607, 2610-2623, 2640-2647, 2650, 2653-2663, 2674, 2677-2687, 2699-2706, 2709, 2712-2724, 2734-2739, 2742, 2745-2753, 2775-2785, 2789-2799, 2809-2810, 2818-2819, 2825-2826, 2829, 2843-2851, 2854-2869, 2900-2923, 2942-2943, 2962-2963, 2986-2995
/usr/lib/python3/dist-packages/matplotlib/units.py 56 39 30% 66-71, 82, 87, 96, 109-113, 127-171
/usr/lib/python3/dist-packages/pyparsing.py 2522 1495 41% 82-83, 87-91, 128-158, 166-170, 189-190, 203, 211-218, 221, 224, 229-234, 236, 286, 289, 297, 299, 358, 362, 369, 371, 375, 378, 383-386, 395, 401-406, 411-429, 432, 440-443, 446, 449, 462-481, 522-538, 557-560, 576-580, 594, 609-612, 618-619, 624-633, 636-638, 657-662, 665, 668, 671-679, 695, 716-730, 736-741, 747-802, 805-809, 833-846, 866-891, 914, 918, 925-935, 938, 941, 955-956, 968, 973-978, 981, 984, 987, 991, 1030-1035, 1052-1067, 1074-1075, 1098, 1119, 1178, 1203-1204, 1214-1225, 1296-1297, 1312-1313, 1316-1326, 1330, 1336, 1341, 1352-1370, 1390-1402, 1414-1415, 1420-1423, 1426-1431, 1435-1453, 1458-1511, 1521-1541, 1578-1584, 1618, 1624-1632, 1666-1705, 1724-1748, 1768-1775, 1790-1797, 1814-1816, 1826-1828, 1835-1841, 1847-1853, 1880, 1882-1887, 1892-1894, 1897, 1899, 1901, 1910-1913, 1918, 1924, 1931, 1933-1935, 1942-1948, 1954-1960, 1966-1972, 1978-1984, 1990-1996, 2054-2055, 2070-2078, 2084-2088, 2125-2129, 2135, 2143, 2149, 2157-2169, 2172-2177, 2180, 2183, 2186, 2189, 2204-2208, 2297-2339, 2366-2370, 2373, 2396-2399, 2437-2455, 2458-2469, 2472-2474, 2480, 2494-2498, 2501-2503, 2515, 2518-2521, 2549-2555, 2558-2581, 2636, 2649, 2654, 2671, 2679, 2682-2683, 2687-2692, 2704, 2710, 2712-2713, 2718, 2763, 2772-2784, 2800-2801, 2842-2904, 2907-2939, 2942-2950, 2970-2991, 2994-3008, 3011-3022, 3051, 3056-3057, 3060-3072, 3087-3088, 3091-3097, 3100-3105, 3134-3136, 3148-3156, 3167-3171, 3183, 3186-3189, 3200-3202, 3205-3209, 3220-3223, 3226-3231, 3241, 3244, 3249, 3252-3255, 3259, 3262-3264, 3276-3285, 3288-3295, 3336-3339, 3364-3366, 3382-3383, 3385-3393, 3401-3403, 3406-3410, 3414, 3437-3441, 3444-3478, 3482-3484, 3487-3493, 3496-3498, 3523, 3536-3539, 3547, 3550-3552, 3556, 3564-3566, 3624-3627, 3630-3676, 3679-3685, 3688-3690, 3703, 3719, 3729-3738, 3747-3751, 3754-3757, 3788-3789, 3792-3793, 3815-3817, 3821, 3834, 3842, 3847, 3853, 3855, 3894, 3925, 3934, 3937, 3986-3990, 3997, 4060-4070, 4073-4117, 4139, 4142-4152, 4155, 4158-4159, 4162-4166, 4169-4173, 4176-4190, 4193-4198, 4202, 4240-4244, 4247-4254, 4318-4339, 4365, 4373-4374, 4376-4380, 4382, 4405-4423, 4443, 4465-4476, 4479-4485, 4500-4513, 4529-4541, 4574-4622, 4657, 4683-4694, 4701, 4723-4724, 4762-4763, 4770-4773, 4787, 4801, 4836, 4841-4842, 4856-4857, 4863-4864, 4908, 4960-4972, 5007-5008, 5075-5124, 5193-5223, 5303-5337, 5347, 5585-5590, 5607-5612, 5637, 5653-5718
/usr/local/lib/python3.6/dist-packages/dateutil/__init__.py 5 2 60% 4-5
/usr/local/lib/python3.6/dist-packages/dateutil/_common.py 25 15 40% 14-17, 20-25, 28, 34, 37-41
/usr/local/lib/python3.6/dist-packages/dateutil/_version.py 1 0 100%
/usr/local/lib/python3.6/dist-packages/dateutil/easter.py 27 20 26% 52-89
/usr/local/lib/python3.6/dist-packages/dateutil/parser/__init__.py 32 4 88% 31-32, 47-48
/usr/local/lib/python3.6/dist-packages/dateutil/parser/_parser.py 807 389 52% 66-67, 70, 74-75, 98, 114, 139-140, 158-166, 173-174, 181-185, 188, 203, 232-237, 244, 362, 377-382, 418, 421-432, 451, 454-456, 459, 496, 499-511, 515-526, 531-535, 537-544, 548-553, 561, 566, 649, 652, 656-657, 663, 714, 761-769, 775-784, 788-796, 809-814, 831-836, 855, 869-870, 873, 876-877, 886-887, 899-903, 907-919, 923-933, 937-942, 967-972, 979, 990-992, 998-1008, 1019, 1025, 1032, 1039, 1048-1060, 1076-1096, 1099-1103, 1114, 1122-1133, 1153-1156, 1166-1181, 1185-1187, 1190-1198, 1210-1219, 1234-1239, 1244, 1249-1254, 1263-1270, 1372, 1389, 1392-1394, 1397-1585, 1592, 1598-1604
/usr/local/lib/python3.6/dist-packages/dateutil/parser/isoparser.py 176 145 18% 26-37, 51-55, 134-146, 159-163, 176-179, 199, 207-210, 213-251, 254-295, 316-328, 331-376, 379-407
/usr/local/lib/python3.6/dist-packages/dateutil/relativedelta.py 239 206 14% 112-229, 232-262, 266, 270, 273-280, 294-308, 318-402, 405, 408, 411-413, 440, 458, 476, 496-501, 521-531, 548, 568, 571-576, 581-592, 597
/usr/local/lib/python3.6/dist-packages/dateutil/rrule.py 974 863 11% 16-17, 71, 85-87, 94-101, 104-109, 112-120, 123-145, 148-167, 170-178, 184-187, 193-208, 214-226, 247-267, 274-300, 432-696, 705-758, 763-772, 775-1028, 1060-1075, 1101-1107, 1117-1119, 1123-1249, 1252, 1255-1259, 1263-1274, 1277-1280, 1283-1290, 1293-1298, 1301, 1315-1321, 1324-1331, 1336, 1339, 1342, 1345, 1348-1352, 1358, 1364, 1372, 1379, 1382-1411, 1473, 1476, 1491, 1495-1502, 1505, 1511-1531, 1540-1559, 1564-1611, 1623-1723, 1730
/usr/local/lib/python3.6/dist-packages/dateutil/tz/__init__.py 4 0 100%
/usr/local/lib/python3.6/dist-packages/dateutil/tz/_common.py 155 119 23% 20-28, 55-129, 140, 142, 169-177, 196-202, 205, 222-242, 258-264, 290, 293-300, 303-310, 314-317, 321-350, 366-372, 375-393, 396-405, 409, 414, 417
/usr/local/lib/python3.6/dist-packages/dateutil/tz/_factories.py 49 10 80% 35, 64-79
/usr/local/lib/python3.6/dist-packages/dateutil/tz/tz.py 795 627 21% 82, 98, 109-112, 118, 121, 162, 166, 180, 183-186, 191, 194, 206-216, 219-225, 228-234, 238, 254-255, 259-260, 287-300, 303-315, 320, 323, 333-334, 337-342, 345-348, 359, 362-365, 368-370, 382-383, 459-480, 485-486, 489-710, 714-725, 729-736, 739-741, 763-777, 793-806, 809-819, 822-828, 831-844, 848-850, 853-855, 862, 865, 868, 871, 954-994, 1010-1018, 1021-1024, 1033, 1081-1109, 1112-1150, 1153, 1159-1164, 1169-1175, 1178-1220, 1223-1228, 1231-1234, 1237-1241, 1245, 1248, 1266-1279, 1285, 1305-1312, 1315-1328, 1331-1453, 1456, 1466-1467, 1473, 1553-1577, 1580-1583, 1586-1588, 1593-1674, 1702-1714, 1737-1760, 1799-1806, 1814, 1821-1828, 1841, 1844, 1847
/usr/local/lib/python3.6/dist-packages/dateutil/tz/win.py 151 147 3% 14-370
/usr/local/lib/python3.6/dist-packages/dulwich/__init__.py 2 0 100%
/usr/local/lib/python3.6/dist-packages/dulwich/client.py 780 657 16% 51, 58, 112, 117-125, 139-142, 150-168, 179-190, 194-209, 227-229, 232-233, 238-241, 246-247, 250-251, 254-255, 258-259, 262-265, 283-292, 300, 309, 331, 344-369, 384, 391, 394-426, 439-448, 460-488, 491-497, 506-520, 523-539, 552-575, 588-612, 621-622, 636, 658-712, 727-753, 758-762, 766-782, 792-796, 800, 803-806, 809-846, 853-858, 861-866, 869-873, 879-888, 895-900, 904, 909-920, 934, 938, 942, 946-949, 971-1004, 1017-1018, 1034-1045, 1050-1051, 1063-1067, 1080, 1087, 1095-1106, 1110-1115, 1126-1134, 1137-1144, 1148, 1152-1154, 1157-1167, 1175, 1179-1200, 1207-1219, 1222, 1226-1235, 1239, 1243-1248, 1252-1273, 1276-1313, 1316-1330, 1352-1384, 1396-1423, 1427-1430, 1443-1456, 1470-1495
/usr/local/lib/python3.6/dist-packages/dulwich/diff_tree.py 338 281 17% 61, 65, 69-74, 88-112, 116-119, 139-153, 157-159, 175-209, 213-216, 220, 243-277, 291-315, 327-334, 348-359, 364-370, 396-401, 404-406, 409-414, 417-432, 435-438, 441-442, 446-476, 479, 482-491, 494-521, 526-545, 548-563, 566-571, 574-576, 581-589, 599-600
/usr/local/lib/python3.6/dist-packages/dulwich/errors.py 64 25 61% 31-43, 58, 89-90, 97, 104, 111, 118, 125, 132-133, 140, 148-152
/usr/local/lib/python3.6/dist-packages/dulwich/file.py 98 78 20% 32-36, 41-66, 81-90, 97-99, 120-135, 142-152, 165-180, 183, 186, 190-192
/usr/local/lib/python3.6/dist-packages/dulwich/hooks.py 59 42 29% 43, 72-84, 89-108, 115-117, 124-126, 137-155
/usr/local/lib/python3.6/dist-packages/dulwich/lru_cache.py 187 154 18% 32-40, 43-47, 51-55, 62-67, 70, 73-101, 104, 108-135, 148-162, 166, 169-173, 184, 188, 197-198, 202, 207-228, 231-246, 254, 259-260, 264, 268-274, 302-307, 320-344, 353-354, 357-358, 362-364, 367-371
/usr/local/lib/python3.6/dist-packages/dulwich/object_store.py 622 502 19% 76, 86, 90, 94, 101, 106, 114, 118-119, 123, 129, 136, 147-149, 163-165, 182-184, 192-199, 208, 218-223, 238-250, 260, 264, 271-274, 281-286, 290, 296-300, 303-307, 310, 315-318, 322-324, 328, 331, 334, 337, 344-350, 358-379, 383-385, 392, 400-423, 432-442, 453-458, 461, 465-470, 473-487, 493-512, 515-541, 544-549, 553, 556-560, 563-569, 572, 575-576, 579-582, 595-645, 661-667, 677-693, 702-718, 725-735, 739-746, 753-754, 757-762, 766, 770, 774, 779, 787-788, 791, 795, 801, 808-809, 820-830, 838-853, 867-878, 889, 893, 897, 904, 916-918, 922-923, 927-928, 932-936, 947, 956, 960, 971-974, 984-989, 1006-1028, 1047-1093, 1096, 1100-1121, 1139-1141, 1145-1167, 1171-1178, 1205-1228
/usr/local/lib/python3.6/dist-packages/dulwich/objects.py 736 545 26% 75, 79-82, 87-89, 94-100, 104-111, 119-124, 130-137, 142, 150-151, 154, 165, 175-176, 187-193, 205-206, 212, 221-226, 230, 234, 245-262, 266-270, 277-281, 286, 293-297, 304, 308, 312, 316, 320-322, 326-332, 337-341, 347-353, 357-360, 364-371, 375-377, 380, 383, 388-389, 394-399, 409-411, 421-423, 428-430, 440-441, 454-462, 465, 469-472, 476-483, 487-488, 496, 500, 504, 510, 513, 521, 524-526, 529-531, 534-536, 548-550, 553, 556, 562, 565, 568, 571, 579-582, 589, 596-616, 627-669, 683-687, 691-694, 701-727, 730-746, 750-772, 779, 782-783, 807-809, 819-837, 846-847, 860-867, 875-878, 883, 894-898, 912-913, 917-920, 923, 926, 936-938, 941-942, 945, 948, 958-964, 973, 980, 984-991, 998-1019, 1022, 1025-1028, 1037-1047, 1061-1072, 1083-1090, 1102-1114, 1124-1154, 1171-1178, 1182-1185, 1188-1193, 1201-1232, 1237-1278, 1285, 1289-1290, 1297, 1364-1365
/usr/local/lib/python3.6/dist-packages/dulwich/pack.py 1061 848 20% 66-67, 73, 105-111, 141-156, 160-162, 166, 172-175, 178-183, 186, 189-190, 218-254, 263-266, 275-276, 280-298, 308-317, 329-339, 350-357, 360, 364, 368, 376, 383, 392-394, 401, 408, 412, 424-428, 431, 434, 437, 440, 443, 464-474, 478, 482-486, 489-491, 495, 503, 507, 511, 516, 519-520, 528-529, 532-537, 541-544, 551, 558, 565, 572-582, 589-591, 594-596, 599-600, 603-604, 608, 615-626, 630, 634-635, 638-645, 648, 659-668, 672-675, 702-738, 743-746, 757-767, 779-797, 800-805, 809, 813-818, 822-828, 831, 851-880, 901-903, 907-909, 917-922, 927-934, 947-961, 1000-1010, 1014, 1018, 1022, 1026, 1029, 1032, 1035, 1038-1045, 1049, 1056, 1061-1073, 1082-1115, 1118-1128, 1133-1145, 1154-1162, 1171-1172, 1181-1183, 1192-1194, 1204-1209, 1213-1214, 1218-1221, 1230-1237, 1265-1271, 1275-1279, 1282-1290, 1293, 1296-1301, 1304-1305, 1308-1328, 1331, 1334-1346, 1351-1358, 1363, 1366, 1375, 1382, 1389-1390, 1393-1395, 1398-1400, 1403, 1406, 1413-1415, 1418-1420, 1423-1427, 1430-1432, 1435, 1438, 1449-1468, 1479-1491, 1504-1509, 1514-1516, 1527-1552, 1566-1573, 1585-1601, 1613-1627, 1631-1639, 1649-1659, 1668-1702, 1711-1769, 1781-1806, 1816-1823, 1829-1832, 1837-1840, 1844, 1849-1853, 1861-1863, 1866-1869, 1872, 1875, 1878, 1882, 1885, 1889, 1893-1897, 1905-1908, 1912, 1916-1920, 1923-1926, 1930-1931, 1935, 1944-1955, 1964-1969, 1974-1975
/usr/local/lib/python3.6/dist-packages/dulwich/protocol.py 273 190 30% 96, 100, 104, 108, 112-115, 119, 134-135, 138, 141, 151-153, 169-173, 176-177, 180, 183, 193-218, 228-233, 244-246, 254-257, 265-271, 276-292, 303-305, 315, 324-328, 347-351, 364-412, 415-435, 444-447, 461-464, 469-473, 490-493, 497-508, 512-516, 524-525, 530-545, 549
/usr/local/lib/python3.6/dist-packages/dulwich/refs.py 439 365 17% 56-58, 74-91, 103, 113, 123, 126-127, 131, 140-143, 152-157, 163-175, 188-191, 200-203, 212, 220-232, 235-242, 245-247, 254-257, 272, 276, 290, 304, 318, 325-333, 344-345, 348, 351, 354, 357, 360-366, 369-372, 375-381, 384, 390, 394, 401-413, 416, 419, 422, 425-428, 435-438, 441, 444-458, 461-474, 480-490, 501-525, 535-543, 556-569, 572-590, 598-609, 623-650, 662-681, 694-715, 720-728, 737-744, 755-775, 785-792, 796-800, 805-817, 821
/usr/local/lib/python3.6/dist-packages/dulwich/repo.py 524 428 18% 122-136, 151-157, 178-182, 189, 193-207, 219, 227, 235, 246-251, 268-302, 317-319, 326, 330, 333-347, 356, 369-374, 381, 389, 396, 407-409, 419-422, 449-458, 467-478, 485-488, 496-504, 511-514, 519-520, 530-534, 541-542, 567-653, 664-667, 680-727, 738-745, 751, 761, 768-781, 789-791, 807-815, 819, 827-830, 836, 844-881, 894-926, 933-947, 957-966, 973-980, 983, 991, 995-1001, 1011-1016, 1029-1058, 1069-1071, 1077, 1080, 1083, 1094-1099, 1102, 1105, 1112, 1120, 1132-1135, 1142, 1149, 1160-1166
/usr/local/lib/python3.6/dist-packages/feedparser.py 2395 1907 20% 82-84, 89-90, 101-107, 151-155, 162-163, 166-167, 176-184, 188-189, 205, 207-249, 263-264, 312-356, 359-369, 377-380, 383-386, 389-392, 397-400, 403, 437-446, 525-576, 579-588, 592-676, 680-720, 724-735, 739-754, 759-763, 767, 771, 774, 778-792, 795-802, 805-821, 824, 827, 830, 833, 836-989, 992-1000, 1003-1006, 1015-1026, 1029-1035, 1038, 1041-1049, 1052-1063, 1066-1070, 1073-1088, 1091-1092, 1095-1102, 1105-1115, 1118, 1122-1127, 1130-1131, 1134-1138, 1142-1143, 1147-1152, 1159-1161, 1168-1169, 1172-1174, 1177-1181, 1184-1185, 1188-1192, 1195-1196, 1199, 1203-1212, 1216, 1219-1226, 1229, 1232-1239, 1242, 1247-1251, 1256, 1260-1266, 1270-1280, 1283-1288, 1291-1293, 1296-1330, 1333, 1338, 1343, 1348, 1353-1363, 1367-1368, 1372, 1376, 1380, 1384-1385, 1389, 1392-1400, 1403, 1409-1410, 1416, 1423-1425, 1432, 1436-1437, 1441, 1444, 1449-1451, 1459-1460, 1463-1465, 1468-1470, 1473-1476, 1479-1481, 1484-1486, 1490-1497, 1500-1502, 1505-1507, 1510-1511, 1514, 1517-1518, 1521, 1524-1534, 1537, 1540-1551, 1554-1555, 1563, 1569-1575, 1578, 1582-1589, 1593-1599, 1605, 1608-1609, 1612-1616, 1621-1622, 1625-1627, 1630-1632, 1635-1636, 1639-1647, 1654, 1657-1675, 1678, 1681-1682, 1686-1691, 1695-1697, 1702-1707, 1711-1713, 1716-1721, 1726, 1729-1733, 1739, 1743, 1747-1752, 1755-1758, 1761-1766, 1769-1773, 1776-1782, 1786-1790, 1794-1797, 1800-1805, 1808-1813, 1816-1820, 1823, 1827, 1831-1834, 1842-1846, 1850-1851, 1854-1858, 1862, 1865-1867, 1870-1873, 1876-1879, 1882-1885, 1888-1890, 1893-1896, 1899-1901, 1904-1907, 1910-1912, 1915-1918, 1921-1925, 1928-1929, 1932-1934, 1937, 1940-1945, 1948-1952, 1956, 1959-1964, 1970-1974, 1977-1983, 1986-2031, 2034, 2037-2052, 2055-2056, 2062-2063, 2075-2077, 2080-2081, 2084-2088, 2096, 2100, 2104-2108, 2111-2124, 2127-2133, 2139-2162, 2167-2168, 2173-2182, 2187-2190, 2196, 2201, 2206, 2213, 2217-2231, 2234, 2237, 2241, 2244-2249, 2253-2256, 2259-2279, 2282, 2316-2317, 2320, 2323-2325, 2328-2333, 2337-2352, 2611-2614, 2617-2677, 2680-2692, 2695, 2698, 2701-2702, 2706-2731, 2734-2743, 2747-2754, 2760-2761, 2764-2768, 2787-2797, 2833-2885, 2892-2909, 2912-2947, 2950-2958, 3005-3079, 3097-3104, 3109-3123, 3166-3175, 3200-3214, 3233-3300, 3314-3395, 3412-3423, 3431-3442, 3447-3459, 3526-3688, 3715-3745, 3752-3758, 3763-3769, 3774-3778, 3784-3788, 3795-3801, 3808-3812, 3826-3968
/usr/local/lib/python3.6/dist-packages/pkg_resources/__init__.py 1553 825 47% 48-50, 54-55, 65-67, 76-77, 92, 96-97, 128-131, 143-147, 151-154, 158, 162-163, 167, 171, 193-197, 255, 270, 274, 277, 284-287, 300, 311, 315, 319-321, 324, 327, 356-364, 368-380, 384, 397-407, 424-460, 465-469, 478-484, 489, 494, 499, 582-587, 596-609, 628, 640-644, 653, 662-666, 678, 698, 701, 712, 742-805, 843-889, 900-905, 914, 918-919, 923, 926, 932-936, 952-956, 981-984, 993-998, 1002, 1012-1017, 1027-1028, 1033-1037, 1053-1065, 1076-1077, 1081-1083, 1087-1095, 1099-1102, 1134, 1138, 1144, 1150, 1156, 1162, 1169-1192, 1207-1217, 1229-1243, 1260-1263, 1284-1289, 1311, 1343, 1351, 1359-1365, 1376-1380, 1391-1392, 1395, 1398, 1401, 1404, 1411, 1418, 1422, 1425-1429, 1435, 1438, 1441, 1444-1446, 1449-1469, 1472, 1477, 1482, 1490, 1553-1561, 1568-1570, 1582-1583, 1596-1597, 1607, 1610, 1613, 1638, 1641, 1704-1705, 1712, 1715, 1722-1725, 1734-1744, 1748-1753, 1757-1808, 1814-1824, 1827-1833, 1857, 1860, 1863, 1866, 1888, 1895, 1906-1908, 1948, 1981, 1988-1998, 2097, 2100, 2109-2121, 2129, 2143-2147, 2155-2161, 2207-2209, 2211, 2215-2218, 2227-2253, 2270, 2273-2274, 2297, 2312, 2323, 2371-2375, 2387-2389, 2411-2417, 2420-2425, 2428, 2434-2443, 2449-2453, 2456-2466, 2488-2495, 2499-2504, 2509-2517, 2522-2536, 2540-2545, 2600, 2610, 2613, 2616, 2619, 2622, 2625-2628, 2631, 2647-2650, 2653-2676, 2680-2691, 2699-2703, 2712-2725, 2728-2732, 2736-2746, 2752-2763, 2789-2796, 2799-2802, 2805-2810, 2819, 2829, 2840-2845, 2849-2852, 2856-2864, 2868, 2892, 2901, 2911-2936, 2939-2955, 2961-2966, 2970-2974, 2978, 3011-3016, 3020-3024, 3028-3047, 3058-3067, 3072, 3081-3094, 3100-3117, 3120, 3126, 3129-3138, 3141, 3144, 3148-3149, 3158, 3172-3173, 3178-3186, 3197-3212, 3216-3223
/usr/local/lib/python3.6/dist-packages/pkg_resources/_vendor/__init__.py 0 0 100%
/usr/local/lib/python3.6/dist-packages/pkg_resources/_vendor/appdirs.py 250 218 13% 29-39, 77-97, 131-163, 195-203, 236-254, 290-311, 345-353, 388-404, 411-415, 419, 424, 429, 434, 439, 444, 449, 460-476, 480-503, 507-530, 533-556, 559-571, 577-608
/usr/local/lib/python3.6/dist-packages/pkg_resources/_vendor/packaging/__about__.py 10 0 100%
/usr/local/lib/python3.6/dist-packages/pkg_resources/_vendor/packaging/__init__.py 3 0 100%
/usr/local/lib/python3.6/dist-packages/pkg_resources/_vendor/packaging/_compat.py 12 1 92% 17
/usr/local/lib/python3.6/dist-packages/pkg_resources/_vendor/packaging/_structures.py 41 17 59% 10, 13, 16, 19, 22, 25, 28, 31, 42, 45, 48, 51, 54, 57, 60, 63, 66
/usr/local/lib/python3.6/dist-packages/pkg_resources/_vendor/packaging/markers.py 130 73 44% 47, 50, 53, 56, 62, 68, 74, 142-145, 149-168, 184-197, 204-211, 215-238, 242-246, 250-257, 275-280, 283, 286, 297-301
/usr/local/lib/python3.6/dist-packages/pkg_resources/_vendor/packaging/requirements.py 72 25 65% 89-107, 110-124, 127
/usr/local/lib/python3.6/dist-packages/pkg_resources/_vendor/packaging/specifiers.py 284 202 29% 83-93, 96-102, 109, 112, 115-123, 126-134, 137, 140-142, 146, 150, 154, 158, 161, 165-180, 183-211, 243-245, 248, 251, 254, 257, 260, 263, 269-271, 397-410, 416-446, 450, 454, 458, 464-483, 489-514, 517, 523-541, 545, 552-559, 563-583, 594-610, 613-619, 622, 625, 628-648, 651-658, 661-668, 671, 674, 680-691, 695, 698, 702-724, 733-774
/usr/local/lib/python3.6/dist-packages/pkg_resources/_vendor/packaging/version.py 150 46 69% 45, 51, 57, 60, 63, 67, 79, 82, 86, 90, 94, 98, 102, 146, 150, 234, 241, 248, 252, 256, 268, 272-281, 285-287, 291, 295, 302-320, 324-326, 363
/usr/local/lib/python3.6/dist-packages/pkg_resources/_vendor/pyparsing.py 2528 1423 44% 96-97, 103-106, 110-114, 151-181, 189-193, 212-213, 226, 234-241, 244, 247, 252-257, 259, 309, 312, 320, 322, 381, 385, 392, 394, 398, 401, 406-409, 418, 424-429, 434-452, 455, 463-466, 469, 472, 485-504, 545-561, 580-583, 599-603, 617, 632-635, 641-642, 647-656, 659-661, 680-685, 688, 691, 694-702, 718, 739-753, 759-764, 770-825, 828-832, 856-869, 889-914, 937, 941, 948-958, 961, 964, 978-979, 991, 996-1001, 1004, 1007, 1010, 1014, 1053-1058, 1075-1090, 1097-1098, 1121, 1142, 1201, 1226-1227, 1237-1248, 1319-1320, 1335-1336, 1339-1349, 1353, 1359, 1364, 1375-1393, 1404, 1413-1425, 1436-1437, 1442-1445, 1448-1453, 1457-1475, 1480-1533, 1543-1563, 1600-1606, 1640, 1646-1654, 1688-1727, 1746-1770, 1790-1797, 1812-1819, 1836-1838, 1848-1850, 1857-1863, 1869-1875, 1902, 1904-1909, 1914-1916, 1919, 1921, 1923, 1932-1935, 1940, 1946, 1953, 1955-1957, 1964-1970, 1977, 1979-1981, 1988-1994, 2000-2006, 2012-2018, 2076-2077, 2092-2100, 2106-2110, 2147-2151, 2157, 2165, 2171, 2179-2191, 2194-2199, 2202, 2205, 2208, 2211, 2226-2230, 2319-2361, 2388-2392, 2395, 2418-2421, 2459-2477, 2480-2491, 2494-2496, 2502, 2516-2520, 2523-2525, 2537, 2540-2543, 2571-2577, 2580-2603, 2658, 2671, 2676, 2693, 2701, 2704-2705, 2709-2714, 2726, 2732, 2734-2735, 2740, 2785, 2794-2806, 2822-2823, 2869-2870, 2875-2878, 2891-2892, 2903, 2909, 2911-2912, 2918-2921, 2929-2961, 2997, 3002, 3019-3030, 3040, 3073, 3078-3079, 3082-3094, 3109-3110, 3113-3119, 3122-3127, 3156-3158, 3170-3178, 3189-3193, 3204-3211, 3222-3224, 3227-3231, 3242-3245, 3248-3253, 3263, 3266, 3271, 3274-3277, 3281, 3284-3286, 3298-3307, 3310-3317, 3358-3361, 3386-3388, 3404-3405, 3407-3415, 3423-3425, 3428-3432, 3436, 3463, 3466-3500, 3504-3506, 3509-3515, 3518-3520, 3545, 3558-3561, 3569, 3572-3574, 3578, 3586-3588, 3646-3649, 3652-3698, 3701-3707, 3710-3712, 3725, 3741, 3751-3760, 3769-3773, 3776-3779, 3810-3811, 3814-3815, 3837-3839, 3843, 3856, 3864, 3869, 3875, 3877, 3916, 3940-3943, 3946-3952, 3956, 3959, 4008-4012, 4019, 4082-4092, 4095-4139, 4165, 4177, 4180-4181, 4184-4188, 4191-4195, 4198-4212, 4218-4220, 4224, 4262-4266, 4269-4276, 4340-4361, 4387, 4395-4396, 4398-4402, 4404, 4427-4445, 4465, 4487-4498, 4501-4507, 4522-4535, 4551-4563, 4596-4644, 4679, 4712-4713, 4723, 4745-4746, 4784-4785, 4792-4795, 4809, 4823, 4858, 4863-4864, 4878-4879, 4885-4886, 4930, 4982-4994, 5029-5030, 5097-5146, 5215-5245, 5325-5359, 5369, 5607-5612, 5629-5634, 5659, 5675-5740
/usr/local/lib/python3.6/dist-packages/pkg_resources/_vendor/six.py 444 209 53% 49-72, 98-99, 112, 118-121, 131-133, 145, 154-157, 192-193, 203, 222-223, 304, 480, 488, 493-499, 511-517, 522-524, 530-532, 537, 542, 546-560, 575, 578, 581, 584, 592-608, 620, 623, 636-637, 642-661, 667, 671, 675, 682-701, 707, 717-718, 723-775, 777-784, 789-795, 805-809, 814-825, 836-843
/usr/local/lib/python3.6/dist-packages/pkg_resources/extern/__init__.py 35 5 86% 21, 32, 54-57
/usr/local/lib/python3.6/dist-packages/pkg_resources/py31compat.py 12 5 58% 9-13
/usr/local/lib/python3.6/dist-packages/six.py 478 227 53% 49-72, 98-99, 112, 118-121, 131-133, 145, 154-157, 192-193, 203, 222-223, 308, 488, 496, 501-507, 519-525, 530-532, 538-540, 545, 550, 554-568, 592, 600-616, 628, 631, 645-646, 651-670, 676, 680, 684, 691-714, 723, 739-740, 745-797, 799-806, 811-817, 827-843, 852-855, 875-880, 894-900, 914-919, 931-938, 959-960
---------------------------------------------------------------------------------------------------------------------------------------------
TOTAL 175870 117482 33%
@valeriocos
Copy link

ehehe sorry for not being clear! I thought you were using the info at https://github.com/chaoss/grimoirelab-elk/pull/784/files. Once that PR is accepted (please provide feedback in that PR if you want), you could add a part about how to run coverage from pycharm.

@vchrombie
Copy link
Author

vchrombie commented Feb 20, 2020

Hi @valeriocos

ehehe sorry for not being clear! I thought you were using the info at https://github.com/chaoss/grimoirelab-elk/pull/784/files.

Yes, I was using that. I was thinking to submit a PR to your fork, valeriocos/GrimoireELK. 😁

I will comment on the PR maybe.

Once that PR is accepted (please provide feedback in that PR if you want)

Okay.

you could add a part about how to run coverage from pycharm.

Sure, I will do that once the PR is merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment