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

Behat A non-numeric value encountered during parallel init

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. Switch to PHP7.1
      2. Run:

        php admin/tool/behat/cli/util.php -j=3 --install
        

        1. Confirm there are no warnings in the top of the output

      Example of warnings:

      2019 sm:MDL-60695-master> php admin/tool/behat/cli/util.php -j=3 --install
      Installing behat site for 3 parallel behat run
      PHP Warning:  A non-numeric value encountered in /Users/nicols/Sites/moodles/sm/moodle/admin/tool/behat/cli/util.php on line 401
       
      Warning: A non-numeric value encountered in /Users/nicols/Sites/moodles/sm/moodle/admin/tool/behat/cli/util.php on line 401
      PHP Warning:  A non-numeric value encountered in /Users/nicols/Sites/moodles/sm/moodle/admin/tool/behat/cli/util.php on line 401
       
      Warning: A non-numeric value encountered in /Users/nicols/Sites/moodles/sm/moodle/admin/tool/behat/cli/util.php on line 401
      PHP Warning:  A non-numeric value encountered in /Users/nicols/Sites/moodles/sm/moodle/admin/tool/behat/cli/util.php on line 401
       
      Warning: A non-numeric value encountered in /Users/nicols/Sites/moodles/sm/moodle/admin/tool/behat/cli/util.php on line 401
      [behatrun1]                [behatrun2]                [behatrun3]
      |-->System                 |-->System                 |
      

      Show
      Switch to PHP7.1 Run: php admin/tool/behat/cli/util.php -j=3 --install Confirm there are no warnings in the top of the output Example of warnings: 2019 sm:MDL-60695-master> php admin/tool/behat/cli/util.php -j=3 --install Installing behat site for 3 parallel behat run PHP Warning: A non-numeric value encountered in /Users/nicols/Sites/moodles/sm/moodle/admin/tool/behat/cli/util.php on line 401   Warning: A non-numeric value encountered in /Users/nicols/Sites/moodles/sm/moodle/admin/tool/behat/cli/util.php on line 401 PHP Warning: A non-numeric value encountered in /Users/nicols/Sites/moodles/sm/moodle/admin/tool/behat/cli/util.php on line 401   Warning: A non-numeric value encountered in /Users/nicols/Sites/moodles/sm/moodle/admin/tool/behat/cli/util.php on line 401 PHP Warning: A non-numeric value encountered in /Users/nicols/Sites/moodles/sm/moodle/admin/tool/behat/cli/util.php on line 401   Warning: A non-numeric value encountered in /Users/nicols/Sites/moodles/sm/moodle/admin/tool/behat/cli/util.php on line 401 [behatrun1] [behatrun2] [behatrun3] |-->System |-->System |
    • Affected Branches:
      MOODLE_33_STABLE, MOODLE_34_STABLE
    • Fixed Branches:
      MOODLE_33_STABLE, MOODLE_34_STABLE
    • Pull Master Branch:
      MDL-60965-master

      Description

      With PHP7.1 onwards:

      Warning: A non-numeric value encountered in /var/www/html/admin/tool/behat/cli/util.php on line 401
       
      Warning: A non-numeric value encountered in /var/www/html/admin/tool/behat/cli/util.php on line 401
       
      Warning: A non-numeric value encountered in /var/www/html/admin/tool/behat/cli/util.php on line 401
      

        Attachments

          Activity

            People

            Assignee:
            dobedobedoh Andrew Nicols
            Reporter:
            dobedobedoh Andrew Nicols
            Peer reviewer:
            Jun Pataleta
            Integrator:
            Damyon Wiese
            Tester:
            Marina Glancy
            Participants:
            Component watchers:
            Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              15/Jan/18