Uploaded image for project: 'MariaDB Foundation Development'
  1. MariaDB Foundation Development
  2. MDBF-124

Show tests where "Check of testcase failed for" in Grid view

    XMLWordPrintable

Details

    • Task
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None

    Description

      The log parsing function from the Buildbot does not check for the "Check of testcase failed for:" message, so it misses this case. The buildbot code should be changed to take this into account. Below, a complete extract from an MTR log can be found:

      MTR extract

      rpl.rpl_connection 'mix' w11 [ pass ] 213
      MTR's internal check of the test case 'rpl.rpl_connection' failed.
      This means that the test case does not preserve the state that existed
      before the test case was executed. Most likely the test case did not
      do a proper clean-up. It could also be caused by the previous test run
      by this thread, if the server wasn't restarted.
      This is the diff of the states of the servers before and after the
      test case was executed:
      mysqltest: Logging to '/buildbot/aarch64-fedora-32/build/mysql-test/var/11/tmp/check-mysqld_2.log'.
      mysqltest: Results saved in '/buildbot/aarch64-fedora-32/build/mysql-test/var/11/tmp/check-mysqld_2.result'.
      mysqltest: Connecting to server localhost:16281 (socket /buildbot/aarch64-fedora-32/build/mysql-test/var/tmp/11/mysqld.2.sock) as 'root', connection 'default', attempt 0 ...
      mysqltest: ... Connected.
      mysqltest: Start processing test commands from './include/check-testcase.test' ...
      mysqltest: ... Done processing test commands.
      — /buildbot/aarch64-fedora-32/build/mysql-test/var/11/tmp/check-mysqld_2.result 2020-09-02 05:46:09.639804969 +0000
      +++ /buildbot/aarch64-fedora-32/build/mysql-test/var/11/tmp/check-mysqld_2.reject 2020-09-02 05:46:09.959807638 +0000
      @@ -32,8 +32,8 @@
      Master_SSL_Key
      Seconds_Behind_Master NULL
      Master_SSL_Verify_Server_Cert No
      -Last_IO_Errno 0
      -Last_IO_Error
      +Last_IO_Errno 2013
      +Last_IO_Error error connecting to master 'root@127.0.0.1:16280' - retry-time: 1 maximum-retries: 10 message: Lost connection to server at 'waiting for initial communication packet', system error: 4 "Interrupted system call"
      Last_SQL_Errno 0
      Last_SQL_Error
      Replicate_Ignore_Server_Ids
      mysqltest: Result length mismatch
      not ok
      worker[11] > Restart - not started
      worker[11] > Restart - not started
      rpl.rpl_000010 'row' w3 [ pass ] 147

      ...

      --------------------------------------------------------------------------
      The servers were restarted 1535 times
      Spent 6133.150 of 626 seconds executing testcases
      Check of testcase failed for: rpl.rpl_connection
      Completed: All 4807 tests were successful.
      Errors/warnings were found in logfiles during server shutdown after running the
      following sequence(s) of tests:
      plugins.thread_pool_server_audit
      789 tests were skipped, 204 by the test itself.

      Attachments

        Issue Links

          Activity

            People

              vladbogo Vlad Bogolin
              vladbogo Vlad Bogolin
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0d
                  0d
                  Logged:
                  Time Spent - 0.25d
                  0.25d