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

Tell MTR to not save data-dirs and core files

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Fixed
    • 5.5.61, 10.0.36
    • 10.1.46
    • Tests

    Description

      Currently there's no way of running the test suite without generating some cruft files like the var datadirs and core dumps. This turns into a problem when running in memory with --mem and /dev/shm fills up pretty quickly with no obvious way of cleaning up; besides manual removal from the shared memory directory.

      Currently --max-save-datadir and max-save-core only accept a positive numerical value or 0 which means unlimited.

      Problem encountered on normal Buildbot workers running bare bone builds that are not discardable like KVM machines or Docker images.

      Attachments

        Issue Links

          Activity

            I managed to fix this Buildbot-wise, however, is this something we'd want for other use cases? Or not worth modifying the script interface for this?

            See discussion at PR #854

            teodor Teodor Mircea Ionita (Inactive) added a comment - I managed to fix this Buildbot-wise, however, is this something we'd want for other use cases? Or not worth modifying the script interface for this? See discussion at PR #854
            danblack Daniel Black added a comment -

            Alternate PR #1633

            danblack Daniel Black added a comment - Alternate PR #1633

            People

              danblack Daniel Black
              teodor Teodor Mircea Ionita (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 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.