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

    • Icon: Bug Bug
    • Resolution: Deferred
    • Icon: Minor Minor
    • None
    • 3.11.4
    • Unit tests
    • MOODLE_311_STABLE

      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
      

            Unassigned Unassigned
            pholden Paul Holden
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.