vvysotskyi commented on pull request #2290:
URL: https://github.com/apache/drill/pull/2290#issuecomment-917670913


   @Leon-WTF, looks like this PR breaks Travis CI, could you please fix it?
   ```
   [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 
144.758 s <<< FAILURE! - in 
org.apache.drill.exec.store.jdbc.TestJdbcPluginWithClickhouse
   3883[ERROR] org.apache.drill.exec.store.jdbc.TestJdbcPluginWithClickhouse  
Time elapsed: 144.758 s  <<< ERROR!
   3884org.testcontainers.containers.ContainerLaunchException: Container 
startup failed
   3885 at 
org.apache.drill.exec.store.jdbc.TestJdbcPluginWithClickhouse.initClickhouse(TestJdbcPluginWithClickhouse.java:58)
   3886Caused by: org.rnorth.ducttape.RetryCountExceededException: Retry limit 
hit with exception
   3887 at 
org.apache.drill.exec.store.jdbc.TestJdbcPluginWithClickhouse.initClickhouse(TestJdbcPluginWithClickhouse.java:58)
   3888Caused by: org.testcontainers.containers.ContainerLaunchException: Could 
not create/start container
   3889 at 
org.apache.drill.exec.store.jdbc.TestJdbcPluginWithClickhouse.initClickhouse(TestJdbcPluginWithClickhouse.java:58)
   3890Caused by: 
org.testcontainers.ext.ScriptUtils$UncategorizedScriptException: 
   3891Failed to execute database script from resource [create table person (
   3892  person_id       Int32,
   3893
   3894  first_name      Nullable(String),
   3895  last_name       Nullable(String),
   3896  address         Nullable(String),
   3897  city            Nullable(String),
   3898  state           Nullable(String),
   3899  zip             Nullable(Int32),
   3900
   3901  json            Nullable(String),
   3902
   3903  bigint_field    Nullable(Int64),
   3904  smallint_field  Nullable(Int16),
   3905  decimal_field   Nullable(DECIMAL(15, 2)),
   3906  boolean_field   Nullable(UInt8),
   3907  double_field    Nullable(Float64),
   3908  float_field     Nullable(Float32),
   3909
   3910  date_field      Nullable(Date),
   3911  datetime_field  Nullable(Datetime),
   3912  enum_field      Enum('XXX'=1, 'YYY'=2, 'ZZZ'=3)
   3913) ENGINE = MergeTree() order by person_id;
   3914
   3915insert into person (person_id, first_name, last_name, address, city, 
state, zip, json,
   3916                    bigint_field, smallint_field, decimal_field, 
boolean_field, double_field,
   3917                    float_field, date_field, datetime_field, enum_field)
   3918values (1, 'first_name_1', 'last_name_1', '1401 John F Kennedy Blvd', 
'Philadelphia', 'PA',
   3919        19107, '{ a : 5, b : 6 }', 123456789, 1, 123.321, 0, 1.0, 1.1, 
'2012-02-29',
   3920        '2012-02-29 13:00:01', 'XXX');
   3921
   3922insert into person (person_id, first_name, last_name, address, city, 
state, zip, json,
   3923                    bigint_field, smallint_field, boolean_field, 
double_field,
   3924                    float_field, date_field, datetime_field, enum_field)
   3925values (2, 'first_name_2', 'last_name_2', 'One Ferry Building', 'San 
Francisco', 'CA', 94111,
   3926        '{ z : [ 1, 2, 3 ] }', 45456767, 3, 1, 3.0, 3.1, '2011-10-30',
   3927        '2011-10-30 11:34:21', 'YYY');
   3928
   3929insert into person (person_id, first_name, last_name, address, city, 
state, zip, json,
   3930                    bigint_field, smallint_field, boolean_field, 
double_field,
   3931                    float_field, date_field, datetime_field, enum_field)
   3932values (3, 'first_name_3', 'last_name_3', '176 Bowery', 'New York', 
'NY', 10012, '{ [ a, b, c ] }',
   3933        123090, -3, 0, 5.0, 5.1, '2015-06-01', '2015-09-22 15:46:10', 
'ZZZ');
   3934
   3935insert into person (person_id) values (4);
   3936
   3937create view person_view as select * from person;
   3938]
   3939 at 
org.apache.drill.exec.store.jdbc.TestJdbcPluginWithClickhouse.initClickhouse(TestJdbcPluginWithClickhouse.java:58)
   3940Caused by: org.testcontainers.exception.ConnectionCreationException: 
Could not obtain JDBC connection
   3941 at 
org.apache.drill.exec.store.jdbc.TestJdbcPluginWithClickhouse.initClickhouse(TestJdbcPluginWithClickhouse.java:58)
   3942Caused by: java.sql.SQLException: Could not create new connection
   3943 at 
org.apache.drill.exec.store.jdbc.TestJdbcPluginWithClickhouse.initClickhouse(TestJdbcPluginWithClickhouse.java:58)
   ```


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to