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

Random behat failures with tool_customlang scenarios (timeout)

    XMLWordPrintable

    Details

    • Affected Branches:
      MOODLE_310_STABLE, MOODLE_311_STABLE, MOODLE_400_STABLE

      Description

      There is a variété of scenarios, all them related with the tool_customlang plugin that have started to fail recently (310_STABLE and up). It's specially noticeable with MSSQL / Oracle databases and/or when the worker is busy / slow.

      All them come from the new export () and import () language strings features.

      The error seems to be that the "load lang" intermediate step that happens in some of those scenarios takes too long and selenium/behat timeouts.

      It affects a number of scenarios (sometimes only 1 fails, other they are 9...).

      Some links:

      And the output for the failure (apart from the scenario information that is varying):

      001 Scenario: Import a PHP file to add a new core lang customization # /var/www/html/admin/tool/customlang/tests/behat/import_files.feature:15
            And I click on "Import custom strings" "button"                # /var/www/html/admin/tool/customlang/tests/behat/import_files.feature:11
              timeout
                (Session info: chrome=79.0.3945.117)
                (Driver info: chromedriver=79.0.3945.36 (3582db32b33893869b8c1339e8f4d9ed1816f143-refs/branch-heads/3945@{#614}),platform=Linux 4.15.0-120-generic x86_64) (WebDriver\Exception\Timeout)
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              stronk7 Eloy Lafuente (stronk7)
              Participants:
              Component watchers:
              Andrew Nicols, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, David Mudrák (@mudrd8mz), Helen Foster, Víctor Déniz Falcón
              Votes:
              2 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated: