Skip to content
Snippets Groups Projects

Add ability to run E2E tests against gitlab foss

Merged Andrejs Cunskis requested to merge andrey-add-ce-assets-canonical into master

What does this MR do and why?

Add ability to run E2E tests in gitlab CE mode

Closes #398206 (closed)

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • A deleted user added frontend label

    added frontend label

  • 2 Warnings
    :warning: 93edfa04: The commit subject must contain at least 3 words. For more information, take a look at our Commit message guidelines.
    :warning: e48abd04: The commit subject must contain at least 3 words. For more information, take a look at our Commit message guidelines.

    Pipeline Changes

    This merge request contains changes to the pipeline configuration for the GitLab project.

    Please consider the effect of the changes in this merge request on the following:

    Please consider communicating these changes to the broader team following the communication guideline for pipeline changes

    Reviewer roulette

    Changes that require review have been detected!

    Please refer to the table below for assigning reviewers and maintainers suggested by Danger in the specified category:

    Category Reviewer Maintainer
    frontend Ammar Alakkad current availability (@aalakkad) (UTC+3, 4 hours behind @acunskis) Miguel Rincon current availability (@mrincon) (UTC+2, 5 hours behind @acunskis)
    maintenanceworkflow / maintenancepipelines for CI, Danger Jerry Seto current availability (@j.seto) (UTC-4, 11 hours behind @acunskis) Stan Hu current availability (@stanhu) (UTC-7, 14 hours behind @acunskis)
    Engineering Productivity Reviewer review is optional for Engineering Productivity Jennifer Li current availability (@jennli) (UTC-7, 14 hours behind @acunskis)

    To spread load more evenly across eligible reviewers, Danger has picked a candidate for each review slot, based on their timezone. Feel free to override these selections if you think someone else would be better-suited or use the GitLab Review Workload Dashboard to find other available reviewers.

    To read more on how to use the reviewer roulette, please take a look at the Engineering workflow and code review guidelines. Please consider assigning a reviewer or maintainer who is a domain expert in the area of the merge request.

    Once you've decided who will review this merge request, assign them as a reviewer! Danger does not automatically notify them for you.

    If needed, you can retry the :repeat: danger-review job that generated this comment.

    Generated by :no_entry_sign: Danger

    Edited by Ghost User
  • Andrejs Cunskis changed milestone to %15.11

    changed milestone to %15.11

  • Andrejs Cunskis marked this merge request as draft

    marked this merge request as draft

  • Andrejs Cunskis added 1 commit

    added 1 commit

    • df893d07 - Add package-and-test CE trigger job

    Compare with previous version

  • Andrejs Cunskis changed title from Draft: Add assets build in ce mode to Draft: Add ability to run E2E tests using CE mode of gitlab

    changed title from Draft: Add assets build in ce mode to Draft: Add ability to run E2E tests using CE mode of gitlab

  • Andrejs Cunskis changed title from Draft: Add ability to run E2E tests using CE mode of gitlab to Draft: Add ability to run E2E tests agains gitlab foss

    changed title from Draft: Add ability to run E2E tests using CE mode of gitlab to Draft: Add ability to run E2E tests agains gitlab foss

  • Allure report

    allure-report-publisher generated test report!

    e2e-review-qa: :white_check_mark: test report for 93edfa04

    expand test summary
    +-----------------------------------------------------------------------+
    |                            suites summary                             |
    +------------------+--------+--------+---------+-------+-------+--------+
    |                  | passed | failed | skipped | flaky | total | result |
    +------------------+--------+--------+---------+-------+-------+--------+
    | Framework sanity | 9      | 0      | 1       | 0     | 10    | ✅     |
    | Data Stores      | 22     | 0      | 0       | 0     | 22    | ✅     |
    | Plan             | 49     | 0      | 1       | 0     | 50    | ✅     |
    | Create           | 28     | 0      | 1       | 0     | 29    | ✅     |
    | Govern           | 26     | 0      | 0       | 0     | 26    | ✅     |
    | Manage           | 8      | 0      | 3       | 0     | 11    | ✅     |
    | Verify           | 10     | 0      | 0       | 0     | 10    | ✅     |
    | Monitor          | 4      | 0      | 0       | 0     | 4     | ✅     |
    | Package          | 0      | 0      | 1       | 0     | 1     | ➖     |
    +------------------+--------+--------+---------+-------+-------+--------+
    | Total            | 156    | 0      | 7       | 0     | 163   | ✅     |
    +------------------+--------+--------+---------+-------+-------+--------+

    e2e-package-and-test: :x: test report for 93edfa04

    expand test summary
    +-----------------------------------------------------------------------+
    |                            suites summary                             |
    +------------------+--------+--------+---------+-------+-------+--------+
    |                  | passed | failed | skipped | flaky | total | result |
    +------------------+--------+--------+---------+-------+-------+--------+
    | Package          | 126    | 0      | 59      | 61    | 185   | ❗     |
    | Manage           | 203    | 1      | 32      | 60    | 236   | ❌     |
    | Systems          | 19     | 0      | 0       | 0     | 19    | ✅     |
    | Create           | 749    | 0      | 112     | 291   | 861   | ❗     |
    | GitLab Metrics   | 2      | 0      | 1       | 0     | 3     | ✅     |
    | Analytics        | 11     | 0      | 0       | 8     | 11    | ❗     |
    | Verify           | 270    | 0      | 20      | 237   | 290   | ❗     |
    | Plan             | 312    | 0      | 0       | 95    | 312   | ❗     |
    | Fulfillment      | 12     | 0      | 110     | 0     | 122   | ✅     |
    | Secure           | 20     | 0      | 40      | 15    | 60    | ❗     |
    | Release          | 30     | 0      | 0       | 22    | 30    | ❗     |
    | Govern           | 235    | 0      | 0       | 201   | 235   | ❗     |
    | Data Stores      | 185    | 0      | 3       | 56    | 188   | ❗     |
    | Configure        | 1      | 0      | 15      | 0     | 16    | ✅     |
    | Monitor          | 61     | 1      | 1       | 52    | 63    | ❌     |
    | Growth           | 0      | 0      | 10      | 0     | 10    | ➖     |
    | Framework sanity | 0      | 0      | 7       | 0     | 7     | ➖     |
    | ModelOps         | 0      | 0      | 5       | 0     | 5     | ➖     |
    +------------------+--------+--------+---------+-------+-------+--------+
    | Total            | 2236   | 2      | 415     | 1098  | 2653  | ❌     |
    +------------------+--------+--------+---------+-------+-------+--------+

    e2e-package-and-test-ce: :x: test report for 928b7e9d

    expand test summary
    +-----------------------------------------------------------------------+
    |                            suites summary                             |
    +------------------+--------+--------+---------+-------+-------+--------+
    |                  | passed | failed | skipped | flaky | total | result |
    +------------------+--------+--------+---------+-------+-------+--------+
    | Verify           | 230    | 0      | 10      | 0     | 240   | ✅     |
    | Create           | 502    | 10     | 85      | 0     | 597   | ❌     |
    | Manage           | 125    | 1      | 32      | 0     | 158   | ❌     |
    | Data Stores      | 155    | 0      | 0       | 0     | 155   | ✅     |
    | Monitor          | 44     | 10     | 0       | 0     | 54    | ❌     |
    | Plan             | 124    | 0      | 0       | 0     | 124   | ✅     |
    | Release          | 25     | 0      | 0       | 0     | 25    | ✅     |
    | Analytics        | 11     | 0      | 0       | 0     | 11    | ✅     |
    | Configure        | 1      | 0      | 10      | 0     | 11    | ✅     |
    | Package          | 125    | 0      | 59      | 0     | 184   | ✅     |
    | Framework sanity | 0      | 0      | 5       | 0     | 5     | ➖     |
    | Systems          | 19     | 0      | 0       | 0     | 19    | ✅     |
    | GitLab Metrics   | 2      | 0      | 1       | 0     | 3     | ✅     |
    +------------------+--------+--------+---------+-------+-------+--------+
    | Total            | 1363   | 21     | 202     | 0     | 1586  | ❌     |
    +------------------+--------+--------+---------+-------+-------+--------+
    Edited by Ghost User
  • Andrejs Cunskis added 3 commits

    added 3 commits

    • c6ed8925 - Add package-and-test CE trigger job
    • a06585ff - Add custom name for package and test pipelines
    • d84bad00 - Fetch correct assets hash

    Compare with previous version

  • Andrejs Cunskis added 1 commit

    added 1 commit

    Compare with previous version

  • Andrejs Cunskis added 1 commit

    added 1 commit

    Compare with previous version

    • Resolved by Rémy Coutable

      @balasankarc Do You have any idea how hard it would be to adjust omnibus project to be able to build CE image using the code from gitlab-org/gitlab? Right now it seems it will always default to trying to fetch code from foss project if we pass ee: false.

      We would like to add ability to run tests against CE instance from mr and also move nightly e2e test runs in to gitlab project given it already has a nightly schedule as well.

  • Andrejs Cunskis changed title from Draft: Add ability to run E2E tests agains gitlab foss to Draft: Add ability to run E2E tests against gitlab foss

    changed title from Draft: Add ability to run E2E tests agains gitlab foss to Draft: Add ability to run E2E tests against gitlab foss

  • cc: @rymai This would work and we could move nightly e2e jobs in to gitlab but we need to figure out how to build ce images on omnibus side, it currently doesn't support it properly (it will fetch correct frontend assets but it is not fetching backend code from this project)

  • Andrejs Cunskis added 1 commit

    added 1 commit

    • 43548bfc - Override gitlab repo when building CE image

    Compare with previous version

  • Andrejs Cunskis added 244 commits

    added 244 commits

    • 43548bfc...1b254a78 - 237 commits from branch master
    • 14f2d188 - Add assets build in ce mode
    • c50eb19d - Add package-and-test CE trigger job
    • 7a6012f4 - Add custom name for package and test pipelines
    • 75a16738 - Fetch correct assets hash
    • f70353da - Override gitlab repo when building CE image
    • d745db1d - Add missing dependency on trigger omnibus
    • dcc7f99b - Remove needs block from qa jobs

    Compare with previous version

  • mentioned in merge request omnibus-gitlab!6803 (merged)

  • Andrejs Cunskis added 1 commit

    added 1 commit

    Compare with previous version

  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading