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

Windows GHA runs are failing

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 4.5.1
    • 4.5, 5.0
    • Unit tests

      Windows PHPUnit runs on GitHub Actions seem to have been failing since 4.5.

      There are four main issues:

      1. Redis 3.0 is being used when the minimum Redis version has been bumped to 5.0 in 4.5.
        • Can be fixed by using redis with version 5.0 instead of redis-64
      2. Coding exceptions related to tests that need to be run in isolation
      3. core\dml_pgsql_read_replica_test::test_real_readreplica_connect_fail() failure
        • Affects the main branch only. Introduced by MDL-72077.
      4. core\component_test::test_composer_files() failures
        • Affects main only. Due to the leading backslash in the relative path not being trimmed for Windows.

      Here's an example run.

            jpataleta Jun Pataleta
            jpataleta Jun Pataleta
            Angelia Dela Cruz Angelia Dela Cruz
            Simey Lameze Simey Lameze
            Huong Nguyen Huong Nguyen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 days, 1 hour, 41 minutes
                2d 1h 41m

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