Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-54600

Windows PHPUnit errors introduced in 3.0.4 (unclosed files)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 3.0.4
    • Fix Version/s: 3.0.5
    • Component/s: Backup, Unit tests
    • Labels:
    • Environment:
      Moodle 3.0.4 (Build: 20160509), d97b3d4c81e89e7495478e40a5ff25a22d6e7a5f
      Php: 7.0.0, Postgres: 9.4.5, OS: Windows NT 10.0 AMD64
    • Database:
      PostgreSQL
    • Testing Instructions:
      Hide

      On Windows, run the following and confirm that it passes:

      vendor\bin\phpunit core_course_restore_testcase course/tests/restore_test.php

      Show
      On Windows , run the following and confirm that it passes: vendor\bin\phpunit core_course_restore_testcase course/tests/restore_test.php
    • Affected Branches:
      MOODLE_30_STABLE
    • Fixed Branches:
      MOODLE_30_STABLE

      Description

      When running the unit tests for 3.0.4 on Windows, I'm seeing thousands of failures due to permission issues when attempting to unlink / delete files in the temp directory. I have confirmed that this is not happening on 3.0.3 with exactly the same configuration, so it looks like 3.0.4 may have introduced something to cause these to fail.

      It appears to be a similar issue to MDL-54205, but that is marked as only happening in 3.1.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              maherne Michael Aherne
              Reporter:
              maherne Michael Aherne
              Peer reviewer:
              Rajesh Taneja
              Integrator:
              Andrew Nicols
              Tester:
              cameron1729
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                11/Jul/16