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

Use exttests repo in travis

XMLWordPrintable

    • MOODLE_36_STABLE, MOODLE_37_STABLE
    • MOODLE_35_STABLE, MOODLE_37_STABLE, MOODLE_38_STABLE, MOODLE_39_STABLE
    • m40_MDL-66322_Travis_Run_Using_Docker_ExtTests
    • Hide

      (difficulty: easy, just look at the logs of the Travis CI run of each branch in this issue) 

      1. you should open the logs of one of the build jobs related to TASK=PHPUNIT and read the number of hits, >>1, reported at the end of the PHPUnit run as Test local resources number of hits e.g.:

        ...
        Moodle 4.0dev (Build: 20200704), 3ce1eba18030bc44fa75108af2e5ae7680954c34
         
        Php: 7.4.7, mysqli: 5.7.25-0ubuntu0.16.04.2, OS: Linux 4.15.0-1028-gcp x86_64
         
        PHPUnit 7.5.20 by Sebastian Bergmann and contributors.
         
        Runtime:       PHP 7.4.7
         
        Configuration: /home/travis/build/scara/moodle/phpunit.xml
         
        ...........................................................    59 / 15783 (  0%)
        [cut]
        ..............................                              15783 / 15783 (100%)
         
        Time: 27.34 minutes, Memory: 698.00 MB
        [cut]
        OK, but incomplete, skipped, or risky tests!
         
        Tests: 15783, Assertions: 134268, Skipped: 111.
         
        Test local resources number of hits: 111.
         
        The command "if [ "$TASK" = 'PHPUNIT' ]; then
        ...
        

      Show
      (difficulty: easy, just look at the logs of the Travis CI run of each branch in this issue)  you should open the logs of one of the build jobs related to TASK=PHPUNIT and read the number of hits, >>1 , reported at the end of the PHPUnit run as Test local resources number of hits e.g.: ... Moodle 4.0dev (Build: 20200704), 3ce1eba18030bc44fa75108af2e5ae7680954c34   Php: 7.4.7, mysqli: 5.7.25-0ubuntu0.16.04.2, OS: Linux 4.15.0-1028-gcp x86_64   PHPUnit 7.5.20 by Sebastian Bergmann and contributors.   Runtime: PHP 7.4.7   Configuration: /home/travis/build/scara/moodle/phpunit.xml   ........................................................... 59 / 15783 ( 0%) [cut] .............................. 15783 / 15783 (100%)   Time: 27.34 minutes, Memory: 698.00 MB [cut] OK, but incomplete, skipped, or risky tests!   Tests: 15783, Assertions: 134268, Skipped: 111.   Test local resources number of hits: 111.   The command "if [ "$TASK" = 'PHPUNIT' ]; then ...
    • 2
    • Internationals - 3.8 Sprint 6, Internationals - 3.8 Sprint 7

      Travis supports docker.
      We have an exttests Docker repo for our external HTTP tests
      We should combine the two! Start the exttests docker image when we run tests to reduce the random phpunit fails due to connectivity failures.

            matteo Matteo Scaramuccia
            dobedobedoh Andrew Lyons
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Andrew Lyons Andrew Lyons
            Andrew Lyons Andrew Lyons
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour, 45 minutes
                1h 45m

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