Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-11863

main.mysql_client_test_nonblock fails with non-default build options

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Won't Fix
    • 10.1(EOL)
    • N/A
    • Tests
    • None

    Description

      cmake . -DBUILD_CONFIG=mysql_release \
       -DFEATURE_SET="community" \
       -DWITH_XTRADB=1 \
       -DWITH_PARTITION=1 \
       -DWITHOUT_ARCHIVE=1 \
       -DWITHOUT_BLACKHOLE=1 \
       -DWITHOUT_CASSANDRA=1 \
       -DWITHOUT_MROONGA=1 \
       -DWITHOUT_OQGRAPH=1 \
       -DWITHOUT_PERFSCHEMA=1 \
       -DWITHOUT_SPHINX=1 \
       -DWITHOUT_SPIDER=1 \
       -DENABLED_PROFILING=OFF \
       -DENABLE_DTRACE=OFF \
       -DENABLE_DEBUG_SYNC=OFF \
       -DWITHOUT_TOKUDB=ON \
       -DWITH_VALGRIND=OFF \
       -DWITH_SAFEMALLOC=OFF \
       -DWITH_EMBEDDED_SERVER=OFF \
       -DWITH_FEEDBACK=OFF \
       -DWITH_INNODB_DISALLOW_WRITES=OFF \
       -DWITH_LIBWRAP=OFF \
       -DWITH_READLINE=OFF \
       -DWITH_WSREP=OFF \
       -DUSE_NEW_READLINE_INTERFACE=ON \
       -DENABLED_LOCAL_INFILE=ON \
       -DNOT_FOR_DISTRIBUTION=ON \
       -DWITH_ATOMIC_OPS=smp \
       -DWITHOUT_DYNAMIC_PLUGINS=ON \
       -DWITH_PIC=ON \
       -DWITH_JEMALLOC=system \
       -DWITH_SSL=system \
       -DWITH_ZLIB=system
      

      perl ./mtr main.mysql_client_test_nonblock
       
      main.mysql_client_test_nonblock          [ fail ]
              Test ended at 2017-01-21 17:08:39
       
      CURRENT_TEST: main.mysql_client_test_nonblock
      mysqltest: At line 18: exec of '/data/src/10.1-bug/tests/mysql_client_test --defaults-file=/data/src/10.1-bug/mysql-test/var/my.cnf --testcase --vardir=/data/src/10.1-bug/mysql-test/var --non-blocking-api --getopt-ll-test=25600M >> /data/src/10.1-bug/mysql-test/var/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'");
      

      Attachments

        1. ci.debian.net.png
          140 kB
          Otto Kekäläinen

        Activity

          alice Alice Sherepa added a comment -

          on 10.2, p8-rhel7-bintar, http://buildbot.askmonty.org/buildbot/builders/p8-rhel7-bintar/builds/2739/steps/test/logs/stdio

          main.mysql_client_test_nonblock          w2 [ fail ]
                  Test ended at 2017-10-11 06:21:05
           
          CURRENT_TEST: main.mysql_client_test_nonblock
          sh: line 1:  5580 Aborted                 /home/buildbot/maria-slave/power8-vlp03-bintar/build/tests/mysql_client_test --defaults-file=/home/buildbot/maria-slave/power8-vlp03-bintar/build/mysql-test/var/2/my.cnf --testcase --vardir=/home/buildbot/maria-slave/power8-vlp03-bintar/build/mysql-test/var/2 --non-blocking-api --getopt-ll-test=25600M >> /home/buildbot/maria-slave/power8-vlp03-bintar/build/mysql-test/var/2/log/mysql_client_test.out.log 2>&1
          mysqltest: At line 18: exec of '/home/buildbot/maria-slave/power8-vlp03-bintar/build/tests/mysql_client_test --defaults-file=/home/buildbot/maria-slave/power8-vlp03-bintar/build/mysql-test/var/2/my.cnf --testcase --vardir=/home/buildbot/maria-slave/power8-vlp03-bintar/build/mysql-test/var/2 --non-blocking-api --getopt-ll-test=25600M >> /home/buildbot/maria-slave/power8-vlp03-bintar/build/mysql-test/var/2/log/mysql_client_test.out.log 2>&1' failed, error: 34304, status: 134, errno: 11
          Output from before failure:
          call mtr.add_suppression(" Error reading file './client_test_db/test_frm_bug.frm'");
           
          The result from queries just before the failure was:
          SET @old_general_log= @@global.general_log;
          SET @old_slow_query_log= @@global.slow_query_log;
          call mtr.add_suppression(" Error reading file './client_test_db/test_frm_bug.frm'");
          
          

          alice Alice Sherepa added a comment - on 10.2, p8-rhel7-bintar, http://buildbot.askmonty.org/buildbot/builders/p8-rhel7-bintar/builds/2739/steps/test/logs/stdio main.mysql_client_test_nonblock w2 [ fail ] Test ended at 2017-10-11 06:21:05   CURRENT_TEST: main.mysql_client_test_nonblock sh: line 1: 5580 Aborted /home/buildbot/maria-slave/power8-vlp03-bintar/build/tests/mysql_client_test --defaults-file=/home/buildbot/maria-slave/power8-vlp03-bintar/build/mysql-test/var/2/my.cnf --testcase --vardir=/home/buildbot/maria-slave/power8-vlp03-bintar/build/mysql-test/var/2 --non-blocking-api --getopt-ll-test=25600M >> /home/buildbot/maria-slave/power8-vlp03-bintar/build/mysql-test/var/2/log/mysql_client_test.out.log 2>&1 mysqltest: At line 18: exec of '/home/buildbot/maria-slave/power8-vlp03-bintar/build/tests/mysql_client_test --defaults-file=/home/buildbot/maria-slave/power8-vlp03-bintar/build/mysql-test/var/2/my.cnf --testcase --vardir=/home/buildbot/maria-slave/power8-vlp03-bintar/build/mysql-test/var/2 --non-blocking-api --getopt-ll-test=25600M >> /home/buildbot/maria-slave/power8-vlp03-bintar/build/mysql-test/var/2/log/mysql_client_test.out.log 2>&1' failed, error: 34304, status: 134, errno: 11 Output from before failure: call mtr.add_suppression(" Error reading file './client_test_db/test_frm_bug.frm'");   The result from queries just before the failure was: SET @old_general_log= @@global.general_log; SET @old_slow_query_log= @@global.slow_query_log; call mtr.add_suppression(" Error reading file './client_test_db/test_frm_bug.frm'");
          otto Otto Kekäläinen added a comment - - edited

          The Debian Continuous Integration is currently (MariaDB 1:10.1.35-1) failing on this same test with the identical error message.

          }}
          main.mysql_client_test_nonblock          w1 [ fail ]
                  Test ended at 2018-08-28 02:37:39
           
          CURRENT_TEST: main.mysql_client_test_nonblock
          mysqltest: At line 18: exec of '/usr/bin/mysql_client_test --defaults-file=/tmp/tmp.qUj37LebVe/var/1/my.cnf --testcase --vardir=/tmp/tmp.qUj37LebVe/var/1 --non-blocking-api --getopt-ll-test=25600M >> /tmp/tmp.qUj37LebVe/var/1/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'");
           
          The result from queries just before the failure was:
          SET @old_general_log= @@global.general_log;
          SET @old_slow_query_log= @@global.slow_query_log;
          call mtr.add_suppression(" Error reading file './client_test_db/test_frm_bug.frm'");
          {{

          Is there any suggested fix or work-around at the moment? cvicentiu ?

          otto Otto Kekäläinen added a comment - - edited The Debian Continuous Integration is currently (MariaDB 1:10.1.35-1) failing on this same test with the identical error message. }} main.mysql_client_test_nonblock w1 [ fail ] Test ended at 2018-08-28 02:37:39   CURRENT_TEST: main.mysql_client_test_nonblock mysqltest: At line 18: exec of '/usr/bin/mysql_client_test --defaults-file=/tmp/tmp.qUj37LebVe/var/1/my.cnf --testcase --vardir=/tmp/tmp.qUj37LebVe/var/1 --non-blocking-api --getopt-ll-test=25600M >> /tmp/tmp.qUj37LebVe/var/1/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'");   The result from queries just before the failure was: SET @old_general_log= @@global.general_log; SET @old_slow_query_log= @@global.slow_query_log; call mtr.add_suppression(" Error reading file './client_test_db/test_frm_bug.frm'"); {{ Is there any suggested fix or work-around at the moment? cvicentiu ?

          I also encountered this on Debian Gitlab CI: https://salsa.debian.org/mariadb-team/mariadb-10.1/-/jobs/43186/raw

          Probably related to something how the test is run in containers.

          otto Otto Kekäläinen added a comment - I also encountered this on Debian Gitlab CI: https://salsa.debian.org/mariadb-team/mariadb-10.1/-/jobs/43186/raw Probably related to something how the test is run in containers.
          otto Otto Kekäläinen added a comment - - edited

          Hello!

          I would like to remind that this still affects Debian: every single Debian CI build of MariaDB since about a month have been failing due this single failure:

          See https://ci.debian.net/data/autopkgtest/testing/amd64/m/mariadb-10.1/1270687/log.gz for latest 1:10.1.37-1 test log.

          Ping ratzpo cvicentiu faust

          otto Otto Kekäläinen added a comment - - edited Hello! I would like to remind that this still affects Debian: every single Debian CI build of MariaDB since about a month have been failing due this single failure: See https://ci.debian.net/data/autopkgtest/testing/amd64/m/mariadb-10.1/1270687/log.gz for latest 1:10.1.37-1 test log. Ping ratzpo cvicentiu faust

          otto, a side question (not meaning that it doesn't need to be fixed) – I see that the command line points at some /tmp/skip-test.lst, is it not based on mysql-test/unstable-tests list? If it were, the test would have been skipped. I'm asking because if distributions are not using the list that we provide, we'll be happy to stop maintaining it.

          elenst Elena Stepanova added a comment - otto , a side question (not meaning that it doesn't need to be fixed) – I see that the command line points at some /tmp/skip-test.lst , is it not based on mysql-test/unstable-tests list? If it were, the test would have been skipped. I'm asking because if distributions are not using the list that we provide, we'll be happy to stop maintaining it.

          That /tmp/skip-test.lst is just a very small skip-list necessary due to restrictions in the Debian CI environment (authored by Christian Ehrhardt ): https://salsa.debian.org/mariadb-team/mariadb-10.1/blob/master/debian/tests/upstream#L23-28

          The rules file uses the unstable-tests you provide is still used as part of the actual build + test run: https://salsa.debian.org/mariadb-team/mariadb-10.1/blob/master/debian/rules#L105

          otto Otto Kekäläinen added a comment - That /tmp/skip-test.lst is just a very small skip-list necessary due to restrictions in the Debian CI environment (authored by Christian Ehrhardt ): https://salsa.debian.org/mariadb-team/mariadb-10.1/blob/master/debian/tests/upstream#L23-28 The rules file uses the unstable-tests you provide is still used as part of the actual build + test run: https://salsa.debian.org/mariadb-team/mariadb-10.1/blob/master/debian/rules#L105

          OK, I see now that the way Christian implemented the additional skiplist ignores the original skiplist. The correct behaviour would be to skip everything deemed unstable.

          Fixed in https://salsa.debian.org/mariadb-team/mariadb-10.1/commit/33d85312840a625c1d607601b77c45f138405cfe and https://salsa.debian.org/mariadb-team/mariadb-10.1/commit/18480afc86838a28cd9ba89e942330c2038011e2

          Now Debian-CI passes: https://ci.debian.net/packages/m/mariadb-10.1/

          otto Otto Kekäläinen added a comment - OK, I see now that the way Christian implemented the additional skiplist ignores the original skiplist. The correct behaviour would be to skip everything deemed unstable. Fixed in https://salsa.debian.org/mariadb-team/mariadb-10.1/commit/33d85312840a625c1d607601b77c45f138405cfe and https://salsa.debian.org/mariadb-team/mariadb-10.1/commit/18480afc86838a28cd9ba89e942330c2038011e2 Now Debian-CI passes: https://ci.debian.net/packages/m/mariadb-10.1/

          People

            cvicentiu Vicențiu Ciorbaru
            elenst Elena Stepanova
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.