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

MTR tests require perl-Env which is not always in the default installation

Details

    Description

      Some MTR tests use include/truncate_file.inc which, in turn, uses Env perl package. Apparently, it's not installed by default on some systems, e.g. on CentOS 7, so when we run MTR tests on our RPM packages, some of them fail due to the missing package.

      It's probably not very important, if nobody complained so far. For now, I've added installation of the package to the buildbot test step, but maybe it should be pulled as a dependency for MariaDB-test.

      Attachments

        Activity

          elenst Elena Stepanova created issue -
          elenst Elena Stepanova made changes -
          Field Original Value New Value
          Description Some MTR tests use {{include/truncate_file.inc}} which, in turn, uses {{Env}} perl package. Apparently, it's not installed by default on some systems, e.g. on CentOS 7, so when we run MTR tests on our RPM packages, some of them fail due to the missing package.

          It's probably not very important, if nobody complained so far. For now, I've added installation of the package to the buildbot test step, but maybe it should be pulled as a dependency.
          Some MTR tests use {{include/truncate_file.inc}} which, in turn, uses {{Env}} perl package. Apparently, it's not installed by default on some systems, e.g. on CentOS 7, so when we run MTR tests on our RPM packages, some of them fail due to the missing package.

          It's probably not very important, if nobody complained so far. For now, I've added installation of the package to the buildbot test step, but maybe it should be pulled as a dependency for MariaDB-test.

          I'd rather remove the dependency. Like

          -use Env;
          -Env::import('TRUNCATE_FILE');
          -open FILE, '>', $TRUNCATE_FILE || die "Can not open file $file";
          +open FILE, '>', $ENV{TRUNCATE_FILE} || die "Can not open file $file";
          

          serg Sergei Golubchik added a comment - I'd rather remove the dependency. Like -use Env; -Env::import('TRUNCATE_FILE'); -open FILE, '>', $TRUNCATE_FILE || die "Can not open file $file"; +open FILE, '>', $ENV{TRUNCATE_FILE} || die "Can not open file $file";
          serg Sergei Golubchik made changes -
          Fix Version/s 5.5 [ 15800 ]
          Fix Version/s 10.0 [ 16000 ]
          Fix Version/s 10.1 [ 16100 ]
          serg Sergei Golubchik made changes -
          Priority Minor [ 4 ] Major [ 3 ]

          Right, it would be much better.

          elenst Elena Stepanova added a comment - Right, it would be much better.
          serg Sergei Golubchik made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          serg Sergei Golubchik made changes -
          Status In Progress [ 3 ] Stalled [ 10000 ]
          danblack Daniel Black added a comment -

          fwiw i did notice, it was just easy enough to work around by installing the package. +1 for the dependency removal.

          danblack Daniel Black added a comment - fwiw i did notice, it was just easy enough to work around by installing the package. +1 for the dependency removal.
          serg Sergei Golubchik made changes -
          Fix Version/s 5.5.59 [ 22612 ]
          Fix Version/s 10.0.34 [ 22613 ]
          Fix Version/s 10.1.31 [ 22907 ]
          Fix Version/s 10.2.13 [ 22910 ]
          Fix Version/s 5.5 [ 15800 ]
          Fix Version/s 10.0 [ 16000 ]
          Fix Version/s 10.1 [ 16100 ]
          Fix Version/s 10.3 [ 22126 ]
          Resolution Fixed [ 1 ]
          Status Stalled [ 10000 ] Closed [ 6 ]
          serg Sergei Golubchik made changes -
          Priority Major [ 3 ] Minor [ 4 ]
          serg Sergei Golubchik made changes -
          Workflow MariaDB v3 [ 83662 ] MariaDB v4 [ 153131 ]

          People

            serg Sergei Golubchik
            elenst Elena Stepanova
            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.