[CONC-181] mysql_client_test fails on Ubuntu quantal builder (bb-10.2-connector-c-integ repo) Created: 2016-05-12  Updated: 2016-06-02  Resolved: 2016-06-02

Status: Closed
Project: MariaDB Connector/C
Component/s: None
Affects Version/s: None
Fix Version/s: 3.0.0

Type: Bug Priority: Major
Reporter: Vladislav Vaintroub Assignee: Vladislav Vaintroub
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Blocks
blocks MDEV-9293 change clients to use Connector/C Closed

 Description   

http://buildbot.askmonty.org/buildbot/builders/kvm-bintar-quantal-x86/builds/4102/steps/test/logs/stdio

main.mysql_client_test w2 [ fail ]
Test ended at 2016-05-12 01:53:33

CURRENT_TEST: main.mysql_client_test
mysqltest: At line 19: exec of '/usr/local/mariadb-10.2.0-linux-i686/bin/mysql_client_test --defaults-file=/usr/local/mariadb-10.2.0-linux-i686/mysql-test/var/2/my.cnf --testcase --vardir=/usr/local/mariadb-10.2.0-linux-i686/mysql-test/var/2 --getopt-ll-test=25600M >> /usr/local/mariadb-10.2.0-linux-i686/mysql-test/var/2/log/mysql_client_test.out.log 2>&1' failed, error: 256, status: 1, errno: 2
Output from before failure:
call mtr.add_suppression(" Error reading file './client_test_db/test_frm_bug.frm'");



 Comments   
Comment by Vladislav Vaintroub [ 2016-05-12 ]

Note that this failure seems specific to Ubuntu x86 quantal builder, it does not occur elsewhere. It does not occur for example on quantal x64

Comment by Vladislav Vaintroub [ 2016-05-31 ]

Tried on quantal builder
The test_truncation fails with

#####################################
153 of (1/1): test_truncation
#####################################
/home/buildbot/wlad/tests/mysql_client_test.c:12721: check failed: '*my_bind->error'
MySQL error 0:

The corresponding place in the source file is
https://github.com/MariaDB/server/blob/bb-10.2-connector-c-integ/tests/mysql_client_test.c#L12721

I believe that happens when trying to fetch integer 1073741825 as float, there should be an error because this int cannot be represented exactly.

Comment by Vladislav Vaintroub [ 2016-06-02 ]

Fix : https://github.com/MariaDB/mariadb-connector-c/commit/8ca494e3ff5ee2b5f86ab956ac5dc54e65fe3734

Generated at Thu Feb 08 03:03:27 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.