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

Adding ending / to a directory can fail when the directory ends with 0

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Fixed
    • 10.0.3
    • 10.0.6
    • None

    Description

      The rpl_binlog_index.test fails to clean up $tmpdir because files still exist. The files aren't cleaned up due to a missing slash in the tmpdir path.

      Logging: ./mysql-test-run  rpl_binlog_index
      vardir: /home/ebergen/bzr/maria/trunk/mysql-test/var
      Checking leftover processes...
      Removing old var directory...
      Creating var directory '/home/ebergen/bzr/maria/trunk/mysql-test/var'...
      Checking supported features...
      MariaDB Version 10.0.3-MariaDB
      Installing system database...
       - skipping SSL, mysqld not compiled with SSL
      Collecting tests...
      Using server port 36585
       
      ==============================================================================
       
      TEST                                      RESULT   TIME (ms) or COMMENT
      --------------------------------------------------------------------------
       
      worker[1] Using MTR_BUILD_THREAD 300, with reserved ports 16000..16019
      rpl.rpl_binlog_index 'row'               [ fail ]
              Test ended at 2013-06-29 15:46:08
       
      CURRENT_TEST: rpl.rpl_binlog_index
      /home/ebergen/bzr/maria/trunk/client/mysqltest: Error on delete of '/home/ebergen/bzr/maria/trunk/mysql-test/var/mysqld.2/data//slave-relay-bin.index' (Errcode: 2 "No such file or directory")
      /home/ebergen/bzr/maria/trunk/client/mysqltest: Error on delete of '/home/ebergen/bzr/maria/trunk/mysql-test/var/mysqld.2/data//relay-log.info' (Errcode: 2 "No such file or directory")
      /home/ebergen/bzr/maria/trunk/client/mysqltest: Can't get stat of '/home/ebergen/bzr/maria/trunk/mysql-test/var/tmp/833775f7-e0f4-11e2-bb3f-00224d9f45a0master-bin.state' (Errcode: 2 "No such file or directory")
      /home/ebergen/bzr/maria/trunk/client/mysqltest: Can't get stat of '/home/ebergen/bzr/maria/trunk/mysql-test/var/tmp/833775f7-e0f4-11e2-bb3f-00224d9f45a0slave-bin.000003' (Errcode: 2 "No such file or directory")
      /home/ebergen/bzr/maria/trunk/client/mysqltest: Can't get stat of '/home/ebergen/bzr/maria/trunk/mysql-test/var/tmp/833775f7-e0f4-11e2-bb3f-00224d9f45a0slave-bin.000002' (Errcode: 2 "No such file or directory")
      /home/ebergen/bzr/maria/trunk/client/mysqltest: Can't get stat of '/home/ebergen/bzr/maria/trunk/mysql-test/var/tmp/833775f7-e0f4-11e2-bb3f-00224d9f45a0slave-bin.state' (Errcode: 2 "No such file or directory")
      mysqltest: At line 193: command "rmdir" failed with error: 1  my_errno: 2  errno: 39

      Attachments

        Activity

          People

            serg Sergei Golubchik
            ebergen Eric Bergen
            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.