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

Test main.large_pages fails in Ubuntu autopkgtest with "Out of memory"

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      While reviewing at https://ubuntu-archive-team.ubuntu.com/proposed-migration/resolute/update_excuses.html#mariadb why MariaDB wasn't migrating from Ubuntu resolute-proposed to the proposed pocket, I noticed that the autopkgtest in Ubuntu were failing with:

      4730s main.large_pages                         w4 [ fail ]  Found warnings/errors in server log file!
      4730s         Test ended at 2026-03-07 15:07:15
      4730s line
      4730s 2026-03-07 15:07:15 0 [ERROR] mariadbd: Out of memory (Needed 8388608 bytes)
      4730s 2026-03-07 15:07:15 0 [ERROR] mariadbd: Out of memory (Needed 6291456 bytes)
      4730s 2026-03-07 15:07:15 0 [ERROR] mariadbd: Out of memory (Needed 6291456 bytes)
      4730s 2026-03-07 15:07:15 0 [ERROR] mariadbd: Out of memory (Needed 4194304 bytes)
      4730s 2026-03-07 15:07:15 0 [ERROR] mariadbd: Out of memory (Needed 4194304 bytes)
      4730s 2026-03-07 15:07:15 0 [ERROR] InnoDB: Cannot allocate memory; too large innodb_log_buffer_size?
      4730s 2026-03-07 15:07:15 0 [ERROR] InnoDB: Plugin initialization aborted with error Generic error
      4730s 2026-03-07 15:07:15 0 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
      

      Example full log at https://objectstorage.prodstack5.canonical.com/swift/v1/AUTH_0f9aae918d5b4744bf7b827671c86842/autopkgtest-resolute/resolute/amd64/m/mariadb/20260307_151052_0a1b0@/log.gz

      This is surely due to the autopkgtest host machine having too little memory or something.

      I wonder if the minimum memory requirement for the MariaDB 'main' test suite is documented somewhere? Could tests that have large memory requirements be moved to the `--big` suite/flag, or could they be automatically skipped on hosts that aren't compatible?

      Attachments

        Activity

          People

            Unassigned Unassigned
            otto Otto Kekäläinen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Git Integration

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