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

MariaRocks produces numerous (spurious?) valgrind failures

Details

    Description

      Any test with MariaRocks produces a lot of valgrind failures.

      • A lot are probably harmless ("still reachable" failures for objects that are allocated once and then never freed)
      • However we should have suppressions for them
      • There are also "blocks are indirectly lost" and "blocks are definitely lost" failures. These are do not look harmless, and they come from upstream: https://github.com/facebook/mysql-5.6/issues/586 .

      Attachments

        Issue Links

          Activity

            Ran upstream test under valgrind (3.13). Some tests hang/timeout but I dont get any valgrind errors.

            psergei Sergei Petrunia added a comment - Ran upstream test under valgrind (3.13). Some tests hang/timeout but I dont get any valgrind errors.
            psergei Sergei Petrunia added a comment - Examples: https://gist.github.com/spetrunia/bf52c59e8fa6dc45d6aae2302db5d006 https://gist.github.com/spetrunia/3981596638ce90169fe0162f2fae5e30

            > Ran upstream test under valgrind (3.13). Some tests hang/timeout but I dont get any valgrind errors.

            However if I run valgrind tests on the revision of the upstream that we have merged from, I do see errors:
            https://gist.github.com/spetrunia/d6125021b35850d5ab7da111d77e6352

            So the [first part of the] solution is to wait for the merge from the upstream.

            psergei Sergei Petrunia added a comment - > Ran upstream test under valgrind (3.13). Some tests hang/timeout but I dont get any valgrind errors. However if I run valgrind tests on the revision of the upstream that we have merged from, I do see errors: https://gist.github.com/spetrunia/d6125021b35850d5ab7da111d77e6352 So the [first part of the] solution is to wait for the merge from the upstream.

            After fixing MDEV-20315 (rocksdb_sys_vars testsuite and relevant tests in mariabackup test suite), enabled Valgrind for for rocksdb test suite and ran tests:

            ...
            valgrind_report                          w0 [ pass ]       
            --------------------------------------------------------------------------
            The servers were restarted 117 times
            Spent 44520.265 of 15806 seconds executing testcases
            

            I got no failures.

            psergei Sergei Petrunia added a comment - After fixing MDEV-20315 ( rocksdb_sys_vars testsuite and relevant tests in mariabackup test suite), enabled Valgrind for for rocksdb test suite and ran tests: ... valgrind_report w0 [ pass ] -------------------------------------------------------------------------- The servers were restarted 117 times Spent 44520.265 of 15806 seconds executing testcases I got no failures.

            Enabled the valgrind back for rocksdb testsuite

            psergei Sergei Petrunia added a comment - Enabled the valgrind back for rocksdb testsuite

            People

              psergei Sergei Petrunia
              psergei Sergei Petrunia
              Votes:
              0 Vote for this issue
              Watchers:
              1 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.