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

mod/quiz/tests/behat/manually_mark_question.feature failure in CI server

    XMLWordPrintable

    Details

      Description

      Nightly CI server reported a failure (firefox - linux), opening this issue to investigate it.

      Link to the nightly job: http://nightly.test.in.moodle.com:8080/view/Master/job/M.17%20Run%20all%20behat%20features%20in%20firefox-linux%20(Single%20run)/235/console

      Moodle 3.1dev (Build: 20160422), 6c1342d7e5ca909a0ddd60661b59ba11f9ea4d4d
      Php: 5.5.9.1.4.14, Postgres: 9.3.10, OS: Linux 3.13.0-24-generic x86_64
      Server OS "Linux", Browser: "firefox"
      Started at 23-04-2016, 17:04
      ..............................F--------------------------------------- 70
      -------
       
      --- Failed steps:
       
          And I switch to the main window # /store/moodle/behat_whole_suite_m/mod/quiz/tests/behat/manually_mark_question.feature:57
            exception 'WebDriver\Exception\NoSuchWindow' with message 'Window not found. The browser window may have been closed.
            Build info: version: '2.53.0', revision: '35ae25b', time: '2016-03-15 17:00:58'
            System info: host: 'nightly', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'amd64', os.version: '3.13.0-24-generic', java.version: '1.8.0_66'
            Driver info: driver.version: unknown' in /store/moodle/behat_whole_suite_m/vendor/instaclick/php-webdriver/lib/WebDriver/Exception.php:155
            Stack trace:
            #0 /store/moodle/behat_whole_suite_m/vendor/instaclick/php-webdriver/lib/WebDriver/AbstractWebDriver.php(140): WebDriver\Exception::factory(23, 'Window not foun...')
            #1 /store/moodle/behat_whole_suite_m/vendor/instaclick/php-webdriver/lib/WebDriver/AbstractWebDriver.php(200): WebDriver\AbstractWebDriver->curl('POST', '/execute', Array)
            #2 /store/moodle/behat_whole_suite_m/vendor/instaclick/php-webdriver/lib/WebDriver/Container.php(218): WebDriver\AbstractWebDriver->__call('execute', Array)
            #3 /store/moodle/behat_whole_suite_m/vendor/behat/mink-selenium2-driver/src/Selenium2Driver.php(911): WebDriver\Container->__call('execute', Array)
            #4 /store/moodle/behat_whole_suite_m/vendor/behat/mink-selenium2-driver/src/Selenium2Driver.php(911): WebDriver\Session->execute(Array)
            #5 /store/moodle/behat_whole_suite_m/vendor/behat/mink/src/Session.php(336): Behat\Mink\Driver\Selenium2Driver->evaluateScript('?              ...')
            #6 /store/moodle/behat_whole_suite_m/lib/behat/behat_base.php(690): Behat\Mink\Session->evaluateScript('?              ...')
            #7 /store/moodle/behat_whole_suite_m/lib/tests/behat/behat_hooks.php(319): behat_base->wait_for_pending_js()
            #8 [internal function]: behat_hooks->before_step_javascript(Object(Behat\Behat\Hook\Scope\BeforeStepScope))
            #9 /store/moodle/behat_whole_suite_m/vendor/behat/behat/src/Behat/Testwork/Call/Handler/RuntimeCallHandler.php(104): call_user_func_array(Array, Array)
            #10 /store/moodle/behat_whole_suite_m/vendor/behat/behat/src/Behat/Testwork/Call/Handler/RuntimeCallHandler.php(60): Behat\Testwork\Call\Handler\RuntimeCallHandler->executeCall(Object(Behat\Testwork\Hook\Call\HookCall))
            #11 /store/moodle/behat_whole_suite_m/vendor/behat/behat/src/Behat/Testwork/Call/CallCenter.php(129): Behat\Testwork\Call\Handler\RuntimeCallHandler->handleCall(Object(Behat\Testwork\Hook\Call\HookCall))
            #12 /store/moodle/behat_whole_suite_m/vendor/behat/behat/src/Behat/Testwork/Call/CallCenter.php(82): Behat\Testwork\Call\CallCenter->handleCall(Object(Behat\Testwork\Hook\Call\HookCall))
            #13 /store/moodle/behat_whole_suite_m/vendor/behat/behat/src/Behat/Testwork/Hook/HookDispatcher.php(74): Behat\Testwork\Call\CallCenter->makeCall(Object(Behat\Testwork\Hook\Call\HookCall))
            #14 /store/moodle/behat_whole_suite_m/vendor/behat/behat/src/Behat/Testwork/Hook/HookDispatcher.php(58): Behat\Testwork\Hook\HookDispatcher->dispatchHook(Object(Behat\Behat\Hook\Scope\BeforeStepScope), Object(Behat\Behat\Hook\Call\BeforeStep))
            #15 /store/moodle/behat_whole_suite_m/vendor/behat/behat/src/Behat/Behat/Hook/Tester/HookableStepTester.php(64): Behat\Testwork\Hook\HookDispatcher->dispatchScopeHooks(Object(Behat\Behat\Hook\Scope\BeforeStepScope))
            #16 /store/moodle/behat_whole_suite_m/vendor/moodlehq/behat-extension/src/Moodle/BehatExtension/EventDispatcher/Tester/ChainedStepTester.php(95): Behat\Behat\Hook\Tester\HookableStepTester->setUp(Object(Behat\Behat\Context\Environment\InitializedContextEnvironment), Object(Behat\Gherkin\Node\FeatureNode), Object(Behat\Gherkin\Node\StepNode), false)
            #17 /store/moodle/behat_whole_suite_m/vendor/moodlehq/behat-extension/src/Moodle/BehatExtension/EventDispatcher/Tester/MoodleEventDispatchingStepTester.php(75): Moodle\BehatExtension\EventDispatcher\Tester\ChainedStepTester->setUp(Object(Behat\Behat\Context\Environment\InitializedContextEnvironment), Object(Behat\Gherkin\Node\FeatureNode), Object(Behat\Gherkin\Node\StepNode), false)
            #18 /store/moodle/behat_whole_suite_m/vendor/behat/behat/src/Behat/Behat/Tester/StepContainerTester.php(56): Moodle\BehatExtension\EventDispatcher\Tester\MoodleEventDispatchingStepTester->setUp(Object(Behat\Behat\Context\Environment\InitializedContextEnvironment), Object(Behat\Gherkin\Node\FeatureNode), Object(Behat\Gherkin\Node\StepNode), false)
            #19 /store/moodle/behat_whole_suite_m/vendor/behat/behat/src/Behat/Behat/Tester/Runtime/RuntimeScenarioTester.php(76): Behat\Behat\Tester\StepContainerTester->test(Object(Behat\Behat\Context\Environment\InitializedContextEnvironment), Object(Behat\Gherkin\Node\FeatureNode), Object(Behat\Gherkin\Node\ScenarioNode), false)
            #20 /store/moodle/behat_whole_suite_m/vendor/behat/behat/src/Behat/Behat/Hook/Tester/HookableScenarioTester.php(74): Behat\Behat\Tester\Runtime\RuntimeScenarioTester->test(Object(Behat\Behat\Context\Environment\InitializedContextEnvironment), Object(Behat\Gherkin\Node\FeatureNode), Object(Behat\Gherkin\Node\ScenarioNode), false)
            #21 /store/moodle/behat_whole_suite_m/vendor/behat/behat/src/Behat/Behat/EventDispatcher/Tester/EventDispatchingScenarioTester.php(103): Behat\Behat\Hook\Tester\HookableScenarioTester->test(Object(Behat\Behat\Context\Environment\InitializedContextEnvironment), Object(Behat\Gherkin\Node\FeatureNode), Object(Behat\Gherkin\Node\ScenarioNode), false)
            #22 /store/moodle/behat_whole_suite_m/vendor/behat/behat/src/Behat/Behat/Tester/Runtime/RuntimeFeatureTester.php(83): Behat\Behat\EventDispatcher\Tester\EventDispatchingScenarioTester->test(Object(Behat\Behat\Context\Environment\InitializedContextEnvironment), Object(Behat\Gherkin\Node\FeatureNode), Object(Behat\Gherkin\Node\ScenarioNode), false)
            #23 /store/moodle/behat_whole_suite_m/vendor/behat/behat/src/Behat/Behat/Hook/Tester/HookableFeatureTester.php(72): Behat\Behat\Tester\Runtime\RuntimeFeatureTester->test(Object(Behat\Behat\Context\Environment\UninitializedContextEnvironment), Object(Behat\Gherkin\Node\FeatureNode), false)
            #24 /store/moodle/behat_whole_suite_m/vendor/behat/behat/src/Behat/Behat/EventDispatcher/Tester/EventDispatchingFeatureTester.php(71): Behat\Behat\Hook\Tester\HookableFeatureTester->test(Object(Behat\Behat\Context\Environment\UninitializedContextEnvironment), Object(Behat\Gherkin\Node\FeatureNode), false)
            #25 /store/moodle/behat_whole_suite_m/vendor/behat/behat/src/Behat/Testwork/Tester/Runtime/RuntimeSuiteTester.php(63): Behat\Behat\EventDispatcher\Tester\EventDispatchingFeatureTester->test(Object(Behat\Behat\Context\Environment\UninitializedContextEnvironment), Object(Behat\Gherkin\Node\FeatureNode), false)
            #26 /store/moodle/behat_whole_suite_m/vendor/behat/behat/src/Behat/Testwork/Hook/Tester/HookableSuiteTester.php(73): Behat\Testwork\Tester\Runtime\RuntimeSuiteTester->test(Object(Behat\Behat\Context\Environment\UninitializedContextEnvironment), Object(Behat\Testwork\Specification\GroupedSpecificationIterator), false)
            #27 /store/moodle/behat_whole_suite_m/vendor/behat/behat/src/Behat/Testwork/EventDispatcher/Tester/EventDispatchingSuiteTester.php(72): Behat\Testwork\Hook\Tester\HookableSuiteTester->test(Object(Behat\Behat\Context\Environment\UninitializedContextEnvironment), Object(Behat\Testwork\Specification\GroupedSpecificationIterator), false)
            #28 /store/moodle/behat_whole_suite_m/vendor/behat/behat/src/Behat/Testwork/Tester/Runtime/RuntimeExercise.php(71): Behat\Testwork\EventDispatcher\Tester\EventDispatchingSuiteTester->test(Object(Behat\Behat\Context\Environment\UninitializedContextEnvironment), Object(Behat\Testwork\Specification\GroupedSpecificationIterator), false)
            #29 /store/moodle/behat_whole_suite_m/vendor/behat/behat/src/Behat/Testwork/EventDispatcher/Tester/EventDispatchingExercise.php(70): Behat\Testwork\Tester\Runtime\RuntimeExercise->test(Array, false)
            #30 /store/moodle/behat_whole_suite_m/vendor/behat/behat/src/Behat/Testwork/Ordering/OrderedExercise.php(80): Behat\Testwork\EventDispatcher\Tester\EventDispatchingExercise->test(Array, false)
            #31 /store/moodle/behat_whole_suite_m/vendor/behat/behat/src/Behat/Testwork/Tester/Cli/ExerciseController.php(146): Behat\Testwork\Ordering\OrderedExercise->test(Array, false)
            #32 /store/moodle/behat_whole_suite_m/vendor/behat/behat/src/Behat/Testwork/Tester/Cli/ExerciseController.php(108): Behat\Testwork\Tester\Cli\ExerciseController->testSpecifications(Object(Symfony\Component\Console\Input\ArgvInput), Array)
            #33 /store/moodle/behat_whole_suite_m/vendor/behat/behat/src/Behat/Testwork/Cli/Command.php(63): Behat\Testwork\Tester\Cli\ExerciseController->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
            #34 /store/moodle/behat_whole_suite_m/vendor/symfony/console/Command/Command.php(259): Behat\Testwork\Cli\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
            #35 /store/moodle/behat_whole_suite_m/vendor/symfony/console/Application.php(844): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
            #36 /store/moodle/behat_whole_suite_m/vendor/symfony/console/Application.php(192): Symfony\Component\Console\Application->doRunCommand(Object(Behat\Testwork\Cli\Command), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
            #37 /store/moodle/behat_whole_suite_m/vendor/behat/behat/src/Behat/Testwork/Cli/Application.php(121): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
            #38 /store/moodle/behat_whole_suite_m/vendor/symfony/console/Application.php(123): Behat\Testwork\Cli\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
            #39 /store/moodle/behat_whole_suite_m/vendor/behat/behat/bin/behat(32): Symfony\Component\Console\Application->run()
            #40 {main}
       
      5 scenarios (1 failed, 4 skipped)
      77 steps (30 passed, 1 failed, 46 skipped)
      1m8.68s (98.18Mb)
      

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                11/Jul/16