potiuk commented on issue #4938: [AIRFLOW-4117] Multi-staging Image - Travis CI 
tests [Step 3/3]
URL: https://github.com/apache/airflow/pull/4938#issuecomment-489404566
 
 
   FYI: @Fokko @ashb -> It looks have to bring back the MySQL oracle libraries. 
With the mariadb ones from debian I got this error (which indicates an error in 
client implementation).
   
   ======================================================================
   48) ERROR: test_mysql_hook_test_bulk_load 
(tests.operators.test_operators.MySqlTest)
   ----------------------------------------------------------------------
      Traceback (most recent call last):
       tests/operators/test_operators.py line 104 in 
test_mysql_hook_test_bulk_load
         h.bulk_load("test_airflow", t.name)
       airflow/hooks/mysql_hook.py line 116 in bulk_load
         """.format(tmp_file=tmp_file, table=table))
       /usr/local/lib/python3.6/site-packages/MySQLdb/cursors.py line 255 in 
execute
         self.errorhandler(self, exc, value)
       /usr/local/lib/python3.6/site-packages/MySQLdb/connections.py line 50 in 
defaulterrorhandler
         raise errorvalue
       /usr/local/lib/python3.6/site-packages/MySQLdb/cursors.py line 252 in 
execute
         res = self._query(query)
       /usr/local/lib/python3.6/site-packages/MySQLdb/cursors.py line 378 in 
_query
         db.query(q)
       /usr/local/lib/python3.6/site-packages/MySQLdb/connections.py line 280 
in query
         _mysql.connection.query(self, query)
      OperationalError: (2027, 'Malformed packet')
      -------------------- >> begin captured logging << --------------------
      airflow.utils.log.logging_mixin.LoggingMixin: INFO: Using connection to: 
id: airflow_db. Host: mysql, Port: None, Schema: airflow, Login: root, 
Password: None, extra: {}
      airflow.utils.log.logging_mixin.LoggingMixin: INFO: Using connection to: 
id: airflow_db. Host: mysql, Port: None, Schema: airflow, Login: root, 
Password: None, extra: {}
      airflow.utils.log.logging_mixin.LoggingMixin: INFO: Using connection to: 
id: mysql_default. Host: mysql, Port: None, Schema: airflow, Login: root, 
Password: None, extra: {}
      --------------------- >> end captured logging << ---------------------

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to