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

Multiple warnings in CI running tests (Warning: is_file(): Unable to find the wrapper "phpvfs1")

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.11.4
    • None
    • Unit tests
    • MOODLE_311_STABLE

    Description

      Example (from https://github.com/paulholden/moodle/runs/4666343704?check_suite_focus=true):

      42) analytics_model_testcase::test_get_samples
       
      Warning: is_file(): Unable to find the wrapper "phpvfs1" - did you forget to enable it when you configured PHP? in /home/runner/work/moodle/moodle/vendor/phpunit/phpunit/src/Util/Filter.php on line 92
       
      Warning: is_file(): Unable to find the wrapper "phpvfs1" - did you forget to enable it when you configured PHP? in /home/runner/work/moodle/moodle/vendor/phpunit/phpunit/src/Util/Filter.php on line 92
      PHPUNIT_LONGTEST is not defined
       
      /home/runner/work/moodle/moodle/analytics/tests/model_test.php:517
      /home/runner/work/moodle/moodle/lib/phpunit/classes/advanced_testcase.php:80
      

      We also see the same on Workplace CI:

      $ . check vendor/bin/phpunit --fail-on-risky --disallow-test-output --filter tool_dataprivacy_metadata_registry_testcase
      Moodle 3.11.4 (Build: 20211108), 99ce942893d1cade3b877942bb833afcfa62927d
      Php: 7.3.33, pgsql: 9.6.24, OS: Linux 4.4.0-1052-aws x86_64
      Warning: is_file(): Unable to find the wrapper "phpvfs1" - did you forget to enable it when you configured PHP? in /builds/workplace/moodle/vendor/phpunit/phpunit/src/Util/Filter.php on line 92
      Warning: is_file(): Unable to find the wrapper "phpvfs1" - did you forget to enable it when you configured PHP? in /builds/workplace/moodle/vendor/phpunit/phpunit/src/Util/Filter.php on line 92
      PHP Warning:  is_file(): Unable to find the wrapper "phpvfs1" - did you forget to enable it when you configured PHP? in /builds/workplace/moodle/vendor/phpunit/phpunit/src/Util/Filter.php on line 92
      PHP Warning:  is_file(): Unable to find the wrapper "phpvfs1" - did you forget to enable it when you configured PHP? in /builds/workplace/moodle/vendor/phpunit/phpunit/src/Util/Filter.php on line 92
      Warning: is_file(): Unable to find the wrapper "phpvfs1" - did you forget to enable it when you configured PHP? in /builds/workplace/moodle/vendor/phpunit/phpunit/src/Util/Filter.php on line 92
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              pholden Paul Holden
              Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Stevani Andolo
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: