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

Backup/restore broken on MSSQL

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Blocker Blocker
    • None
    • 2.6
    • Backup
    • Microsoft SQL
    • MOODLE_26_STABLE

      Running the behat suite against mssql gives many errors related to @core_backup.

      This also correlates with phpunit errors found in MDLQA-6314. All in all, looks to me like backup/restore is in a bad way on mssql:

      01. Button matching locator "'Next'" not found.
          In step `When I backup "Course 1" course using this options:'. # behat_backup::i_backup_course_using_this_options()
          From scenario `Backup a course providing options'.             # /Users/danp/moodles/im/moodle/backup/util/ui/tests/behat/backup_courses.feature:19
          Of feature `Backup Moodle courses'.                            # /Users/danp/moodles/im/moodle/backup/util/ui/tests/behat/backup_courses.feature
       
      02. Button matching locator "'Next'" not found.
          In step `When I backup "Course 1" course using this options:'. # behat_backup::i_backup_course_using_this_options()
          From scenario `Backup a course with default options'.          # /Users/danp/moodles/im/moodle/backup/util/ui/tests/behat/backup_courses.feature:28
          Of feature `Backup Moodle courses'.                            # /Users/danp/moodles/im/moodle/backup/util/ui/tests/behat/backup_courses.feature
       
      03. Button matching locator "'Next'" not found.
          In step `When I backup "Course 1" course using this options:'. # behat_backup::i_backup_course_using_this_options()
          From scenario `Backup a course without blocks'.                # /Users/danp/moodles/im/moodle/backup/util/ui/tests/behat/backup_courses.feature:45
          Of feature `Backup Moodle courses'.                            # /Users/danp/moodles/im/moodle/backup/util/ui/tests/behat/backup_courses.feature
       
      04. Button matching locator "'Next'" not found.
          In step `When I backup "Course 2" course using this options:'. # behat_backup::i_backup_course_using_this_options()
          From scenario `Backup selecting just one section'.             # /Users/danp/moodles/im/moodle/backup/util/ui/tests/behat/backup_courses.feature:51
          Of feature `Backup Moodle courses'.                            # /Users/danp/moodles/im/moodle/backup/util/ui/tests/behat/backup_courses.feature
       
      05. Button matching locator "'Next'" not found.
          In step `When I import "Course 1" course into "Course 2" course using this options:'. # behat_backup::i_import_course_into_course()
          From scenario `Import course's contents to another course'.                           # /Users/danp/moodles/im/moodle/backup/util/ui/tests/behat/import_course.feature:8
          Of feature `Import course's contents into another course'.                            # /Users/danp/moodles/im/moodle/backup/util/ui/tests/behat/import_course.feature
       
      06. Button matching locator "'Next'" not found.
          In step `When I backup "Course 1" course using this options:'.                        # behat_backup::i_backup_course_using_this_options()
          From scenario `Restore a course in another existing course'.                          # /Users/danp/moodles/im/moodle/backup/util/ui/tests/behat/restore_moodle2_courses.feature:26
          Of feature `Restore Moodle 2 course backups'.                                         # /Users/danp/moodles/im/moodle/backup/util/ui/tests/behat/restore_moodle2_courses.feature
       
      07. Button matching locator "'Next'" not found.
          In step `When I backup "Course 1" course using this options:'.                        # behat_backup::i_backup_course_using_this_options()
          From scenario `Restore a course in a new course'.                                     # /Users/danp/moodles/im/moodle/backup/util/ui/tests/behat/restore_moodle2_courses.feature:35
          Of feature `Restore Moodle 2 course backups'.                                         # /Users/danp/moodles/im/moodle/backup/util/ui/tests/behat/restore_moodle2_courses.feature
       
      08. Button matching locator "'Next'" not found.
          In step `When I backup "Course 3" course using this options:'.                        # behat_backup::i_backup_course_using_this_options()
          From scenario `Restore a backup into the same course'.                                # /Users/danp/moodles/im/moodle/backup/util/ui/tests/behat/restore_moodle2_courses.feature:51
          Of feature `Restore Moodle 2 course backups'.                                         # /Users/danp/moodles/im/moodle/backup/util/ui/tests/behat/restore_moodle2_courses.feature
       
      09. Button matching locator "'Next'" not found.
          In step `When I backup "Course 1" course using this options:'.                            # behat_backup::i_backup_course_using_this_options()
          From scenario `Restore a backup into the same course removing it's contents before that'. # /Users/danp/moodles/im/moodle/backup/util/ui/tests/behat/restore_moodle2_courses.feature:64
          Of feature `Restore Moodle 2 course backups'.                                             # /Users/danp/moodles/im/moodle/backup/util/ui/tests/behat/restore_moodle2_courses.feature
       
      10. Button matching locator "'Next'" not found.
          In step `Given I backup "Course 1" course using this options:'.                           # behat_backup::i_backup_course_using_this_options()
          From scenario `Restore a backup into a new course changing the course format afterwards'. # /Users/danp/moodles/im/moodle/backup/util/ui/tests/behat/restore_moodle2_courses.feature:82
          Of feature `Restore Moodle 2 course backups'.                                             # /Users/danp/moodles/im/moodle/backup/util/ui/tests/behat/restore_moodle2_courses.feature
       
      11. Button matching locator "'Next'" not found.
          In step `When I backup "Course 1" course using this options:'.                               # behat_backup::i_backup_course_using_this_options()
          From scenario `Restore a backup in an existing course retaining the backup course settings'. # /Users/danp/moodles/im/moodle/backup/util/ui/tests/behat/restore_moodle2_courses.feature:112
          Of feature `Restore Moodle 2 course backups'.                                                # /Users/danp/moodles/im/moodle/backup/util/ui/tests/behat/restore_moodle2_courses.feature
       
      281 scenarios (270 passed, 11 failed)
      6058 steps (5963 passed, 84 skipped, 11 failed)
      196m2.679s
      

            Unassigned Unassigned
            poltawski Dan Poltawski
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

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