rspec-ee unit pg11 6/10
Passed Started
by
@nfriend
Nathan Friend
1Running with gitlab-runner 13.1.0-rc1 (b9d289ed)2 on prm-com-gitlab-org bd0915564Using Docker executor with image registry.gitlab.com/gitlab-org/gitlab-build-images:ruby-2.6.6-golang-1.14-git-2.27-lfs-2.9-chrome-83-node-12.x-yarn-1.21-postgresql-11-graphicsmagick-1.3.34 ...5Starting service postgres:11.6 ...6Pulling docker image postgres:11.6 ...7Using docker image sha256:2c963c0eb8c6efa49bb8352ea446f248d208d674cfc34fc9ea275b5f99f8dedd for postgres:11.6 ...8Starting service redis:alpine ...9Pulling docker image redis:alpine ...10Using docker image sha256:b546e82a6d0eceb411b424487643c8d5224cb12a74b6175469991ce2e78c42d1 for redis:alpine ...11Starting service elasticsearch:6.4.2 ...12Pulling docker image elasticsearch:6.4.2 ...13Using docker image sha256:e47ebd7ec3eef5e48746af2ae376f180bbfbd23c7514b5b18a116f8349eb4c34 for elasticsearch:6.4.2 ...14Waiting for services to be up and running...15Authenticating with credentials from job payload (GitLab Registry)16Pulling docker image registry.gitlab.com/gitlab-org/gitlab-build-images:ruby-2.6.6-golang-1.14-git-2.27-lfs-2.9-chrome-83-node-12.x-yarn-1.21-postgresql-11-graphicsmagick-1.3.34 ...17Using docker image sha256:55544d55bdb13be6afb83ab069b8b15d9eed014ac57db466e7586e070f0cebff for registry.gitlab.com/gitlab-org/gitlab-build-images:ruby-2.6.6-golang-1.14-git-2.27-lfs-2.9-chrome-83-node-12.x-yarn-1.21-postgresql-11-graphicsmagick-1.3.34 ...19Running on runner-bd091556-project-278964-concurrent-0 via runner-bd091556-prm-1592403654-1ddaa43c...21$ eval "$CI_PRE_CLONE_SCRIPT"22Downloading archived master...23Connecting to storage.googleapis.com (172.217.204.128:443)24gitlab.tar.gz 13% |**** | 127M 0:00:06 ETA25gitlab.tar.gz 34% |*********** | 327M 0:00:03 ETA26gitlab.tar.gz 51% |**************** | 483M 0:00:02 ETA27gitlab.tar.gz 75% |************************ | 707M 0:00:01 ETA28gitlab.tar.gz 100% |********************************| 939M 0:00:00 ETA29Extracting tarball into /builds/gitlab-org/gitlab...30Fetching changes with git depth set to 20...31Reinitialized existing Git repository in /builds/gitlab-org/gitlab/.git/32Created fresh repository.33Checking out 2d057e7a as refs/merge-requests/25668/merge...34Skipping Git submodules setup36Checking cache for rails-v1-3...37cache.zip is up to date 38Successfully extracted cache40Downloading artifacts for compile-test-assets (599847029)...41Downloading artifacts from coordinator... ok id=599847029 responseStatus=200 OK token=Nm4Zox-E42Downloading artifacts for retrieve-tests-metadata (599847034)...43Downloading artifacts from coordinator... ok id=599847034 responseStatus=200 OK token=GZ748fBo44Downloading artifacts for setup-test-env (599847031)...45Downloading artifacts from coordinator... ok id=599847031 responseStatus=200 OK token=LPfzdszg46WARNING: tmp/tests/gitlab-shell/.gitlab_shell_secret: chmod tmp/tests/gitlab-shell/.gitlab_shell_secret: no such file or directory (suppressing repeats) 48$ [ "$FOSS_ONLY" = "1" ] && rm -rf ee/ qa/spec/ee/ qa/qa/specs/features/ee/ qa/qa/ee/ qa/qa/ee.rb49$ export GOPATH=$CI_PROJECT_DIR/.go50$ mkdir -p $GOPATH51$ source scripts/utils.sh52$ source scripts/prepare_build.sh53Bundler version 1.17.254$ bundle install --clean --without=production --jobs=2 --path=vendor --retry=3 --quiet55==> 'bundle install --clean --without=production --jobs=2 --path=vendor --retry=3 --quiet' succeeded in 1 seconds.56$ bundle check57Warning: the running version of Bundler (1.17.2) is older than the version that created the lockfile (1.17.3). We suggest you upgrade to the latest version of Bundler by running `gem install bundler`.58The Gemfile's dependencies are satisfied59==> 'bundle check' succeeded in 0 seconds.60$ gem install knapsack --no-document61Successfully installed knapsack-1.18.0621 gem installed63==> 'gem install knapsack --no-document' succeeded in 2 seconds.64$ setup_db_user_only65CREATE ROLE66GRANT67==> 'setup_db_user_only' succeeded in 1 seconds.68$ bundle exec rake db:drop db:create db:structure:load db:migrate gitlab:db:setup_ee69Dropped database 'gitlabhq_test'70Created database 'gitlabhq_test'71Dropped database 'gitlabhq_geo_test'72Created database 'gitlabhq_geo_test'73==> 'bundle exec rake db:drop db:create db:structure:load db:migrate gitlab:db:setup_ee' succeeded in 24 seconds.74$ run_timed_command "scripts/gitaly-test-build"75$ scripts/gitaly-test-build76cd _build && ./makegen > Makefile77fatal: No names found, cannot describe anything.782020/06/17 17:03:59 error obtaining version from git: git describe: exit status 128792020/06/17 17:03:59 Attempting to get the version from file80cd _build && make install INSTALL_DEST_DIR=/builds/gitlab-org/gitlab/tmp/tests/gitaly81make[1]: Entering directory '/builds/gitlab-org/gitlab/tmp/tests/gitaly/_build'82cd /builds/gitlab-org/gitlab/tmp/tests/gitaly/ruby && bundle config # for debugging83Settings are listed in order of priority. The top value will be used.84retry85Set for your local app (/builds/gitlab-org/gitlab/tmp/tests/gitaly/ruby/.bundle/config/config): 386path87Set for your local app (/builds/gitlab-org/gitlab/tmp/tests/gitaly/ruby/.bundle/config/config): "/builds/gitlab-org/gitlab/vendor/gitaly-ruby"88jobs89Set for your local app (/builds/gitlab-org/gitlab/tmp/tests/gitaly/ruby/.bundle/config/config): 490app_config91Set via BUNDLE_APP_CONFIG: "/builds/gitlab-org/gitlab/tmp/tests/gitaly/ruby/.bundle/config"92gemfile93Set via BUNDLE_GEMFILE: "/builds/gitlab-org/gitlab/tmp/tests/gitaly/ruby/Gemfile"94flags95Set via BUNDLE_FLAGS: "--jobs=4 --retry=3 --quiet --path=/builds/gitlab-org/gitlab/vendor/gitaly-ruby"96silence_root_warning97Set via BUNDLE_SILENCE_ROOT_WARNING: true98cd /builds/gitlab-org/gitlab/tmp/tests/gitaly/ruby && bundle install --jobs=4 --retry=3 --quiet --path=/builds/gitlab-org/gitlab/vendor/gitaly-ruby99touch ../.ruby-bundle100# go install101mkdir -p /builds/gitlab-org/gitlab/tmp/tests/gitaly102cd bin && install gitaly gitaly-blackbox gitaly-debug gitaly-hooks gitaly-ssh gitaly-wrapper praefect /builds/gitlab-org/gitlab/tmp/tests/gitaly103make[1]: Leaving directory '/builds/gitlab-org/gitlab/tmp/tests/gitaly/_build'104Checking gitaly-ruby Gemfile...105Checking gitaly-ruby bundle...106Warning: the running version of Bundler (1.17.2) is older than the version that created the lockfile (1.17.3). We suggest you upgrade to the latest version of Bundler by running `gem install bundler`.107The Gemfile's dependencies are satisfied108Trying to connect to gitaly: ....... OK109Trying to connect to praefect: ...... OK110==> 'scripts/gitaly-test-build' succeeded in 44 seconds.111$ run_timed_command "scripts/gitaly-test-spawn"112$ scripts/gitaly-test-spawn113Checking gitaly-ruby Gemfile...114Checking gitaly-ruby bundle...115Warning: the running version of Bundler (1.17.2) is older than the version that created the lockfile (1.17.3). We suggest you upgrade to the latest version of Bundler by running `gem install bundler`.116The Gemfile's dependencies are satisfied117Trying to connect to gitaly: ....... OK118Trying to connect to praefect: ....... OK119==> 'scripts/gitaly-test-spawn' succeeded in 1 seconds.120$ source scripts/rspec_helpers.sh121$ rspec_paralellized_job "--tag ~quarantine --tag ~geo --tag ~level:migration"122KNAPSACK_TEST_FILE_PATTERN: ee/spec/{bin,channels,config,db,dependencies,factories,finders,frontend,graphql,haml_lint,helpers,initializers,javascripts,lib,models,policies,presenters,rack_servers,replicators,routing,rubocop,serializers,services,sidekiq,support_specs,tasks,uploaders,validators,views,workers,elastic_integration,tooling}{,/**/}*_spec.rb123Report specs:124ee/spec/models/approval_state_spec.rb125ee/spec/tasks/gitlab/seed/group_seed_rake_spec.rb126ee/spec/models/merge_request_spec.rb127ee/spec/serializers/ee/job_entity_spec.rb128ee/spec/models/epic_spec.rb129ee/spec/finders/geo/attachment_registry_finder_spec.rb130ee/spec/models/merge_request/blocking_spec.rb131ee/spec/views/admin/application_settings/_elasticsearch_form.html.haml_spec.rb132ee/spec/models/merge_request_block_spec.rb133ee/spec/models/ee/protected_ref_access_spec.rb134ee/spec/lib/gitlab/code_owners/loader_spec.rb135ee/spec/policies/note_policy_spec.rb136ee/spec/serializers/vulnerabilities/finding_entity_spec.rb137ee/spec/services/ee/boards/issues/list_service_spec.rb138ee/spec/finders/geo/project_registry_retrying_verification_finder_spec.rb139ee/spec/models/vulnerabilities/feedback_spec.rb140ee/spec/views/layouts/nav/sidebar/_group.html.haml_spec.rb141ee/spec/services/security/waf_anomaly_summary_service_spec.rb142ee/spec/services/geo/prune_event_log_service_spec.rb143ee/spec/lib/pseudonymizer/pager_spec.rb144ee/spec/services/geo/file_registry_removal_service_spec.rb145ee/spec/models/analytics/cycle_analytics/group_level_spec.rb146ee/spec/models/geo/container_repository_registry_spec.rb147ee/spec/services/epic_links/destroy_service_spec.rb148ee/spec/models/concerns/elastic/merge_request_spec.rb149ee/spec/lib/ee/gitlab/import_export/group/legacy_tree_restorer_spec.rb150ee/spec/graphql/mutations/merge_requests/set_assignees_spec.rb151ee/spec/services/packages/nuget/update_package_from_metadata_service_spec.rb152ee/spec/models/path_lock_spec.rb153ee/spec/models/status_page/project_setting_spec.rb154ee/spec/presenters/packages/npm/package_presenter_spec.rb155ee/spec/lib/gitlab/geo/log_cursor/events/repository_updated_event_spec.rb156ee/spec/workers/elastic_batch_project_indexer_worker_spec.rb157ee/spec/lib/ee/audit/project_changes_auditor_spec.rb158ee/spec/finders/geo/project_unsynced_finder_spec.rb159ee/spec/services/security/dependency_list_service_spec.rb160ee/spec/workers/geo/project_sync_worker_spec.rb161ee/spec/models/project_services/github_service/status_message_spec.rb162ee/spec/presenters/packages/conan/package_presenter_spec.rb163ee/spec/lib/gitlab/ci/templates/license_scanning_gitlab_ci_yaml_spec.rb164ee/spec/services/group_saml/group_managed_accounts/transfer_membership_service_spec.rb165ee/spec/services/ee/system_notes/merge_train_service_spec.rb166ee/spec/finders/packages/maven/package_finder_spec.rb167ee/spec/graphql/mutations/pipelines/run_dast_scan_spec.rb168ee/spec/services/update_build_minutes_service_spec.rb169ee/spec/serializers/vulnerability_note_entity_spec.rb170ee/spec/workers/geo/secondary/registry_consistency_worker_spec.rb171ee/spec/presenters/ee/clusters/cluster_presenter_spec.rb172ee/spec/services/security/report_summary_service_spec.rb173ee/spec/services/ee/event_create_service_spec.rb174ee/spec/services/group_saml/identity/destroy_service_spec.rb175ee/spec/services/ee/users/update_service_spec.rb176ee/spec/graphql/mutations/issues/update_spec.rb177ee/spec/lib/ee/api/helpers/scim_pagination_spec.rb178ee/spec/models/approval_wrapped_any_approver_rule_spec.rb179ee/spec/serializers/dependency_list_entity_spec.rb180ee/spec/services/projects/mark_for_deletion_service_spec.rb181ee/spec/serializers/issuable_sidebar_extras_entity_spec.rb182ee/spec/services/issues/export_csv_service_spec.rb183ee/spec/lib/gitlab/auth/smartcard/san_extension_spec.rb184ee/spec/models/historical_data_spec.rb185ee/spec/services/ci/expire_pipeline_cache_service_spec.rb186ee/spec/serializers/project_mirror_entity_spec.rb187ee/spec/models/project_feature_usage_spec.rb188ee/spec/lib/gitlab/ci/parsers/security/scanned_resources_spec.rb189ee/spec/helpers/search_helper_spec.rb190ee/spec/helpers/ee/tree_helper_spec.rb191ee/spec/lib/ee/api/helpers/notes_helpers_spec.rb192ee/spec/helpers/ee/labels_helper_spec.rb193ee/spec/policies/vulnerability_policy_spec.rb194ee/spec/services/packages/maven/create_package_service_spec.rb195ee/spec/lib/elastic/multi_version_instance_proxy_spec.rb196ee/spec/services/groups/destroy_service_spec.rb197ee/spec/services/vulnerability_issue_links/delete_service_spec.rb198ee/spec/policies/identity_provider_policy_spec.rb199ee/spec/models/concerns/ee/weight_eventable_spec.rb200ee/spec/workers/new_epic_worker_spec.rb201ee/spec/graphql/mutations/instance_security_dashboard/add_project_spec.rb202ee/spec/finders/security/vulnerability_findings_finder_spec.rb203ee/spec/models/geo/push_user_spec.rb204ee/spec/views/layouts/application.html.haml_spec.rb205ee/spec/services/ee/git/wiki_push_service_spec.rb206ee/spec/models/ee/project_group_link_spec.rb207ee/spec/lib/ee/api/entities/geo_node_status_spec.rb208ee/spec/models/jira_connect_installation_spec.rb209ee/spec/lib/gitlab/geo/database_tasks_spec.rb210ee/spec/services/ee/system_notes/vulnerabilities_service_spec.rb211ee/spec/models/project_services/hipchat_service_spec.rb212ee/spec/lib/gitlab/spdx/catalogue_gateway_spec.rb213ee/spec/lib/atlassian/jira_connect/serializers/repository_entity_spec.rb214ee/spec/lib/gitlab/geo/log_cursor/events/upload_deleted_event_spec.rb215ee/spec/policies/saml_provider_policy_spec.rb216ee/spec/lib/gitlab/user_access_spec.rb217ee/spec/lib/gitlab/ci/pipeline/chain/limit/activity_spec.rb218ee/spec/lib/audit/changes_spec.rb219ee/spec/models/ee/system_note_metadata_spec.rb220ee/spec/services/projects/hashed_storage/migrate_repository_service_spec.rb221ee/spec/services/status_page/publish_service_spec.rb222ee/spec/workers/adjourned_project_deletion_worker_spec.rb223ee/spec/uploaders/dependency_proxy/file_uploader_spec.rb224ee/spec/services/metrics/dashboard/cluster_dashboard_service_spec.rb225ee/spec/lib/ee/api/entities/scim/users_spec.rb226ee/spec/models/ci/sources/project_spec.rb227ee/spec/models/container_registry/event_spec.rb228ee/spec/serializers/feature_flag_summary_entity_spec.rb229ee/spec/lib/ee/gitlab/ci/config/entry/need_spec.rb230ee/spec/lib/atlassian/jira_connect/serializers/branch_entity_spec.rb231ee/spec/services/metrics/dashboard/clone_dashboard_service_spec.rb232ee/spec/serializers/vulnerable_project_serializer_spec.rb233ee/spec/lib/gitlab/auth/group_saml/failure_handler_spec.rb234ee/spec/lib/ee/gitlab/metrics/samplers/database_sampler_spec.rb235ee/spec/lib/gitlab/geo/registry_batcher_spec.rb236ee/spec/lib/gitlab/ci/parsers/license_compliance/license_scanning_spec.rb237ee/spec/lib/api/helpers/packages_manager_clients_helpers_spec.rb238ee/spec/models/geo/job_artifact_registry_spec.rb239ee/spec/lib/gitlab/geo/replication/job_artifact_transfer_spec.rb240ee/spec/services/security/vulnerability_counting_service_spec.rb241ee/spec/views/compliance_management/compliance_framework/_compliance_framework_badge.html.haml_spec.rb242ee/spec/workers/remove_unreferenced_lfs_objects_worker_spec.rb243ee/spec/graphql/resolvers/epic_issues_resolver_spec.rb244ee/spec/services/ee/audit_events/release_artifacts_downloaded_audit_event_service_spec.rb245ee/spec/views/layouts/nav/sidebar/_admin.html.haml_spec.rb246ee/spec/presenters/project_member_presenter_spec.rb247ee/spec/serializers/epic_entity_spec.rb248ee/spec/policies/instance_security_dashboard_policy_spec.rb249ee/spec/helpers/projects/on_demand_scans_helper_spec.rb250ee/spec/lib/gitlab/ci/reports/license_scanning/license_spec.rb251ee/spec/workers/project_cache_worker_spec.rb252ee/spec/graphql/ee/types/group_type_spec.rb253ee/spec/views/admin/groups/_form.html.haml_spec.rb254ee/spec/graphql/resolvers/vulnerabilities_history_resolver_spec.rb255ee/spec/tasks/gitlab/license_rake_spec.rb256ee/spec/services/packages/nuget/sync_metadatum_service_spec.rb257ee/spec/models/group_wiki_repository_spec.rb258ee/spec/services/ee/notes/destroy_service_spec.rb259ee/spec/services/dependency_proxy/find_or_create_blob_service_spec.rb260ee/spec/workers/geo/container_repository_sync_worker_spec.rb261ee/spec/lib/ee/gitlab/ip_restriction/enforcer_spec.rb262ee/spec/lib/gitlab/geo/replicator_spec.rb263ee/spec/workers/ldap_sync_worker_spec.rb264ee/spec/services/keys/create_service_spec.rb265ee/spec/lib/gitlab/pagination_delegate_spec.rb266ee/spec/models/packages/dependency_spec.rb267ee/spec/serializers/linked_feature_flag_issue_entity_spec.rb268ee/spec/models/scim_oauth_access_token_spec.rb269ee/spec/services/status_page/unpublish_details_service_spec.rb270ee/spec/serializers/linked_project_issue_entity_spec.rb271ee/spec/helpers/ee/recaptcha_experiment_helper_spec.rb272ee/spec/workers/status_page/publish_worker_spec.rbKnapsack report generator started!273Run options:274 include {:focus=>true}275 exclude {:quarantine=>true, :geo=>true, :level=>"migration"}276All examples were filtered out; ignoring {:focus=>true}277==> Setting up Gitaly...278 Gitaly set up in 0.045042956 seconds...279==> Setting up GitLab Workhorse...280 GitLab Workhorse set up in 0.000148983 seconds...281==> Setting up gitlab-test bare repository in /builds/gitlab-org/gitlab/tmp/tests/gitlab-test_bare...282 /builds/gitlab-org/gitlab/tmp/tests/gitlab-test_bare set up in 0.032420404 seconds...283==> Setting up GitLab Elasticsearch Indexer...284 GitLab Elasticsearch Indexer set up in 0.000291506 seconds...285ApprovalState286 #approval_rules_overwritten?287 when approval rule on the merge request does not exist288 returns false289 when merge request has any approver rule290 returns true291 when overriding approvals is not allowed292 returns true293 when multiple rules are allowed294 #wrapped_approval_rules295 returns all rules in wrapper296 when approval feature is unavailable297 returns empty array298 #approval_needed?299 when feature not available300 returns false301 when overall approvals required is not zero302 returns true303 when any rule's approvals required is not zero304 returns false305 when overall approvals required and all rule's approvals_required are zero306 returns false307 when overall approvals required is zero, and there is no rule308 returns false309 when approval feature is unavailable310 returns false311 #approved?312 when no rules313 behaves like checking any_approver rule314 when it is not met315 returns false316 when it is met317 returns true318 when only code owner rules present319 behaves like when rules are present320 when all rules are approved321 returns true322 when some rules are not approved323 returns false324 behaves like checking any_approver rule325 when it is not met326 returns false327 when it is met328 returns true329 when only report approver rules present330 behaves like when rules are present331 when all rules are approved332 returns true333 when some rules are not approved334 returns false335 behaves like checking any_approver rule336 when it is not met337 returns false338 when it is met339 returns true340 when regular rules present341 behaves like when rules are present342 when all rules are approved343 returns true344 when some rules are not approved345 returns false346 when approval feature is unavailable347 returns true348 #approvals_left349 sums approvals_left from rules350 when approval feature is unavailable351 returns 0352 #approval_rules_left353 counts approval_rules left354 when approval feature is unavailable355 returns empty array356 #approvals_required357 correctly sums the approvals358 #approvers359 includes all approvers, including code owner and group members360 behaves like filtering author and committers361 when self approval is disabled on project level362 excludes authors363 when self approval is enabled on instance level364 excludes author365 when self approval is disabled on instance level366 excludes authors367 when self approval is enabled on project level368 includes author369 when self approval is enabled on instance level370 includes author371 when self approval is disabled on instance level372 excludes authors373 when committers approval is enabled on project level374 includes committers375 when committers approval is enabled on instance level376 includes committers377 when committers approval is disabled on instance level378 excludes committers379 when committers approval is disabled on project level380 excludes committers381 when committers approval is enabled on instance level382 excludes committers383 when committers approval is disabled on instance level384 excludes committers385 #filtered_approvers386 only direct users, without code owners387 includes only rule user members388 only unactioned389 excludes approved approvers390 behaves like filtering author and committers391 when self approval is disabled on project level392 excludes authors393 when self approval is enabled on instance level394 excludes author395 when self approval is disabled on instance level396 excludes authors397 when self approval is enabled on project level398 includes author399 when self approval is enabled on instance level400 includes author401 when self approval is disabled on instance level402 excludes authors403 when committers approval is enabled on project level404 includes committers405 when committers approval is enabled on instance level406 includes committers407 when committers approval is disabled on instance level408 excludes committers409 when committers approval is disabled on project level410 excludes committers411 when committers approval is enabled on instance level412 excludes committers413 when committers approval is disabled on instance level414 excludes committers415 #unactioned_approvers416 sums approvals_left from rules417 behaves like filtering author and committers418 when self approval is disabled on project level419 excludes authors420 when self approval is enabled on instance level421 excludes author422 when self approval is disabled on instance level423 excludes authors424 when self approval is enabled on project level425 includes author426 when self approval is enabled on instance level427 includes author428 when self approval is disabled on instance level429 excludes authors430 when committers approval is enabled on project level431 includes committers432 when committers approval is enabled on instance level433 includes committers434 when committers approval is disabled on instance level435 excludes committers436 when committers approval is disabled on project level437 excludes committers438 when committers approval is enabled on instance level439 excludes committers440 when committers approval is disabled on instance level441 excludes committers442 #can_approve?443 when there are no regular approval rules444 requires one approval445 behaves like a MR that all members with write access can approve446 is expected to be truthy447 is expected to be falsey448 is expected to be falsey449 is expected to be falsey450 when authors are authorized to approve their own MRs451 allows the author to approve the MR if within the approvers list452 allows the author to approve the MR if not within the approvers list453 when the author has approved the MR already454 does not allow the author to approve the MR again455 when authors are not authorized to approve their own MRs456 allows the author to approve the MR if within the approvers list457 does not allow the author to approve the MR if not within the approvers list458 when committers are authorized to approve their own MRs459 allows the committer to approve the MR if within the approvers list460 allows the committer to approve the MR if not within the approvers list461 when the committer has approved the MR already462 does not allow the committer to approve the MR again463 when committers are not authorized to approve their own MRs464 allows the committer to approve the MR if within the approvers list465 does not allow the committer to approve the MR if not within the approvers list466 when the user is both an author and a committer467 when authors are authorized to approve their own MRs, but not committers468 allows the user to approve the MR if within the approvers list469 does not allow the user to approve the MR if not within the approvers list470 when committers are authorized to approve their own MRs, but not authors471 allows the user to approve the MR if within the approvers list472 does not allow the user to approve the MR if not within the approvers list473 when there is one approver required474 when that approver is the MR author475 does not allow a logged-out user to approve the MR476 is not approved477 behaves like authors self-approval authorization478 when authors are authorized to approve their own MRs479 allows the author to approve the MR if within the approvers list480 when authors are not authorized to approve their own MRs481 does not allow the author to approve the MR482 behaves like a MR that all members with write access can approve483 is expected to be truthy484 is expected to be falsey485 is expected to be falsey486 is expected to be falsey487 when there are multiple approvers required488 when one of those approvers is the MR author489 requires the original number of approvals490 allows any other other approver to approve the MR491 does not allow a logged-out user to approve the MR492 behaves like authors self-approval authorization493 when authors are authorized to approve their own MRs494 allows the author to approve the MR if within the approvers list495 when authors are not authorized to approve their own MRs496 does not allow the author to approve the MR497 when self-approval is disabled and all of the valid approvers have approved the MR498 requires the original number of approvals499 does not allow the author to approve the MR500 does not allow the approvers to approve the MR again501 behaves like a MR that all members with write access can approve502 is expected to be truthy503 is expected to be falsey504 is expected to be falsey505 is expected to be falsey506 when self-approval is enabled and all of the valid approvers have approved the MR507 requires the original number of approvals508 does not allow the approvers to approve the MR again509 allows any other project member with write access to approve the MR510 when all approvers have approved the MR511 is approved512 returns sum of each rule's approvals_left513 when the approvers do not contain the MR author514 requires the original number of approvals515 allows anyone with write access except for author to approve the MR516 #any_approver_rules517 a project with any_approver rule518 returns project rules519 a merge request with regular rule520 returns merge request rules521 when any_approver rule with 2 approvals required exist522 requires the 2 approvals523 behaves like a MR that all members with write access can approve524 is expected to be truthy525 is expected to be falsey526 is expected to be falsey527 is expected to be falsey528 a user approves the MR529 requires 1 approval530 another user approves the MR531 becomes approved532 #has_approved?533 returns false if user is nil534 returns true if user has approved535 #authors_can_approve?536 when project allows author approval537 returns true538 when project disallows author approval539 returns true540 #suggested_approvers541 user cannot see private group542 shows public users543 does not show users who have already approved544 user can see private group545 shows private users546 when only a single rule is allowed547 #wrapped_approval_rules548 returns one regular rule in wrapper549 #approval_needed?550 when feature not available551 returns false552 when overall approvals required is not zero553 returns true554 when any rule's approvals required is not zero555 returns false556 when overall approvals required and all rule's approvals_required are zero557 returns false558 when overall approvals required is zero, and there is no rule559 returns false560 #approved?561 when no rules562 behaves like checking any_approver rule563 when it is not met564 returns false565 when it is met566 returns true567 when only code owner rules present568 behaves like when rules are present569 when all rules are approved570 returns true571 when some rules are not approved572 returns false573 behaves like checking any_approver rule574 when it is not met575 returns false576 when it is met577 returns true578 when only report approver rules present579 behaves like when rules are present580 when all rules are approved581 returns true582 when some rules are not approved583 returns false584 behaves like checking any_approver rule585 when it is not met586 returns false587 when it is met588 returns true589 when regular rules present590 behaves like when rules are present591 when all rules are approved592 returns true593 when some rules are not approved594 returns false595 when a single project rule is present596 behaves like when rules are present597 when all rules are approved598 returns true599 when some rules are not approved600 returns false601 when the project rule is overridden by a fallback but the project does not allow overriding602 behaves like when rules are present603 when all rules are approved604 returns true605 when some rules are not approved606 returns false607 when the project rule is overridden by a fallback608 behaves like checking any_approver rule609 when it is not met610 returns false611 when it is met612 returns true613 when a single project rule is present that is overridden in the merge request614 behaves like checking any_approver rule615 when it is not met616 returns false617 when it is met618 returns true619 #approvals_left620 sums approvals_left from rules621 #approval_rules_left622 counts approval_rules left623 #approvers624 includes approvers from first rule, code owner rule, and report approver rule625 behaves like filtering author and committers626 when self approval is disabled on project level627 excludes authors628 when self approval is enabled on instance level629 excludes author630 when self approval is disabled on instance level631 excludes authors632 when self approval is enabled on project level633 includes author634 when self approval is enabled on instance level635 includes author636 when self approval is disabled on instance level637 excludes authors638 when committers approval is enabled on project level639 includes committers640 when committers approval is enabled on instance level641 includes committers642 when committers approval is disabled on instance level643 excludes committers644 when committers approval is disabled on project level645 excludes committers646 when committers approval is enabled on instance level647 excludes committers648 when committers approval is disabled on instance level649 excludes committers650 #filtered_approvers651 only direct users, without code owners652 excludes code owners653 only unactioned654 excludes approved approvers655 behaves like filtering author and committers656 when self approval is disabled on project level657 excludes authors658 when self approval is enabled on instance level659 excludes author660 when self approval is disabled on instance level661 excludes authors662 when self approval is enabled on project level663 includes author664 when self approval is enabled on instance level665 includes author666 when self approval is disabled on instance level667 excludes authors668 when committers approval is enabled on project level669 includes committers670 when committers approval is enabled on instance level671 includes committers672 when committers approval is disabled on instance level673 excludes committers674 when committers approval is disabled on project level675 excludes committers676 when committers approval is enabled on instance level677 excludes committers678 when committers approval is disabled on instance level679 excludes committers680 #unactioned_approvers681 sums approvals_left from rules682 behaves like filtering author and committers683 when self approval is disabled on project level684 excludes authors685 when self approval is enabled on instance level686 excludes author687 when self approval is disabled on instance level688 excludes authors689 when self approval is enabled on project level690 includes author691 when self approval is enabled on instance level692 includes author693 when self approval is disabled on instance level694 excludes authors695 when committers approval is enabled on project level696 includes committers697 when committers approval is enabled on instance level698 includes committers699 when committers approval is disabled on instance level700 excludes committers701 when committers approval is disabled on project level702 excludes committers703 when committers approval is enabled on instance level704 excludes committers705 when committers approval is disabled on instance level706 excludes committers707 #can_approve?708 when the user is the author709 and author is an approver710 returns true when authors can approve711 returns false when authors cannot approve712 and author is not an approver713 returns true when authors can approve714 returns false when authors cannot approve715 when user is a committer716 and committer is an approver717 return true when committers can approve718 return false when committers cannot approve719 and committer is not an approver720 return true when committers can approve721 return false when committers cannot approve722 when there is one approver required723 when that approver is the MR author724 requires one approval725 does not allow a logged-out user to approve the MR726 is not approved727 behaves like authors self-approval authorization728 when authors are authorized to approve their own MRs729 allows the author to approve the MR if within the approvers list730 when authors are not authorized to approve their own MRs731 does not allow the author to approve the MR732 behaves like a MR that all members with write access can approve733 is expected to be truthy734 is expected to be falsey735 is expected to be falsey736 is expected to be falsey737 when there are multiple approvers required738 when one of those approvers is the MR author739 requires the original number of approvals740 allows any other other approver to approve the MR741 does not allow a logged-out user to approve the MR742 behaves like authors self-approval authorization743 when authors are authorized to approve their own MRs744 allows the author to approve the MR if within the approvers list745 when authors are not authorized to approve their own MRs746 does not allow the author to approve the MR747 when self-approval is disabled and all of the valid approvers have approved the MR748 requires the original number of approvals749 does not allow the author to approve the MR750 does not allow the approvers to approve the MR again751 behaves like a MR that all members with write access can approve752 is expected to be truthy753 is expected to be falsey754 is expected to be falsey755 is expected to be falsey756 when self-approval is enabled and all of the valid approvers have approved the MR757 requires the original number of approvals758 does not allow the approvers to approve the MR again759 allows any other project member with write access to approve the MR760 when all approvers have approved the MR761 is approved762 returns sum of each rule's approvals_left763 when the approvers do not contain the MR author764 requires the original number of approvals765 allows anyone with write access except for author to approve the MR766 when an approver does not have access to the merge request767 the user cannot approver768 #has_approved?769 returns false if user is nil770 returns true if user has approved771 #authors_can_approve?772 when project allows author approval773 returns true774 when project disallows author approval775 returns true776 #user_defined_rules777 when approval rules are not overwritten778 and multiple approval rules is disabled779 returns the first rule780 and multiple approval rules is enabled781 returns the rules as is782 and rules are scoped by protected branches783 returns the rules that are applicable to the merge request target branch784 and target_branch is specified785 returns the rules that are applicable to the specified target_branch786 when approval rules are overwritten787 when multiple approval rules is disabled788 returns the first rule789 when multiple approval rules is enabled790 returns the rules as is791 and rules have source rules that are scoped by protected branches792 returns the rules that are applicable to the merge request target branch793 and target_branch is specified794 returns the rules that are applicable to the specified target_branch795 #total_approvals_count796 returns the total number of approvals (required + optional)797gitlab:seed:group_seed rake task798 performs group seed successfully799MergeRequest800 associations801 is expected to have many approvals dependent => delete_all802 is expected to have many approvers dependent => delete_all803 is expected to have many approver_users through approvers804 is expected to have many approver_groups dependent => delete_all805 is expected to have many approved_by_users806 is expected to have one merge_train807 behaves like an editable mentionable with EE-specific mentions808 creates new cross-reference notes when the mentionable text is edited809 behaves like a mentionable with EE-specific mentions810 extracts references from its reference property811 creates cross-reference notes812 #allows_multiple_assignees?813 does not allow multiple assignees without license814 allows multiple assignees when licensed815 #participants816 with approval rule817 returns only the author as a participant818 #enabled_reports819 report_type: :sast, with_reports: :with_sast_reports, feature: :sast820 when head pipeline has reports821 is expected to be truthy822 when head pipeline does not have reports823 is expected to be falsy824 report_type: :container_scanning, with_reports: :with_container_scanning_reports, feature: :container_scanning825 when head pipeline has reports826 is expected to be truthy827 when head pipeline does not have reports828 is expected to be falsy829 report_type: :dast, with_reports: :with_dast_reports, feature: :dast830 when head pipeline has reports831 is expected to be truthy832 when head pipeline does not have reports833 is expected to be falsy834 report_type: :dependency_scanning, with_reports: :with_dependency_scanning_reports, feature: :dependency_scanning835 when head pipeline has reports836 is expected to be truthy837 when head pipeline does not have reports838 is expected to be falsy839 report_type: :license_scanning, with_reports: :with_license_management_reports, feature: :license_scanning840 when head pipeline has reports841 is expected to be truthy842 when head pipeline does not have reports843 is expected to be falsy844 report_type: :license_scanning, with_reports: :with_license_scanning_reports, feature: :license_scanning845 when head pipeline has reports846 is expected to be truthy847 when head pipeline does not have reports848 is expected to be falsy849 #approvals_before_merge850 license_value: true, db_value: 5, expected: 5851 is expected to eq 5852 license_value: true, db_value: nil, expected: nil853 is expected to eq nil854 license_value: false, db_value: 5, expected: nil855 is expected to eq nil856 license_value: false, db_value: nil, expected: nil857 is expected to eq nil858 #has_license_scanning_reports?859 when head pipeline has license scanning reports860 is expected to be truthy861 when head pipeline does not have license scanning reports862 is expected to be falsey863 #has_dependency_scanning_reports?864 when head pipeline has dependency scannning reports865 is expected to be truthy866 when head pipeline does not have dependency scanning reports867 is expected to be falsey868 #has_container_scanning_reports?869 when head pipeline has container scanning reports870 is expected to be truthy871 when head pipeline does not have container scanning reports872 is expected to be falsey873 #has_sast_reports?874 when head pipeline has sast reports875 is expected to be truthy876 when head pipeline does not have sast reports877 is expected to be falsey878 #has_secret_detection_reports?879 when head pipeline has secret detection reports880 is expected to be truthy881 when head pipeline does not have secrets detection reports882 is expected to be falsey883 #has_dast_reports?884 when head pipeline has dast reports885 is expected to be truthy886 when pipeline ran for an older commit than the branch head887 is expected to be falsey888 when head pipeline does not have dast reports889 is expected to be falsey890 #has_metrics_reports?891 when head pipeline has metrics reports892 is expected to be truthy893 when head pipeline does not have license scanning reports894 is expected to be falsey895 #calculate_reactive_cache with current_user896 when given a known service class name897 does not raises a NameError exception898 #compare_container_scanning_reports899 when head pipeline has container scanning reports900 when reactive cache worker is parsing asynchronously901 returns status902 when reactive cache worker is inline903 returns status and data904 when cached results is not latest905 raises and InvalidateReactiveCache error906 #compare_secret_detection_reports907 when head pipeline has secret detection reports908 when reactive cache worker is parsing asynchronously909 returns status910 when reactive cache worker is inline911 returns status and data912 when cached results is not latest913 raises and InvalidateReactiveCache error914 #compare_sast_reports915 when head pipeline has sast reports916 when reactive cache worker is parsing asynchronously917 returns status918 when reactive cache worker is inline919 returns status and data920 when cached results is not latest921 raises and InvalidateReactiveCache error922 #compare_license_scanning_reports923 when head pipeline has license scanning reports924 when reactive cache worker is parsing asynchronously925 returns status926 when reactive cache worker is inline927 returns status and data928 cache key includes sofware license policies929 returns key with license information930 when cached results is not latest931 raises and InvalidateReactiveCache error932 when head pipeline does not have license scanning reports933 returns status and error message934 #compare_metrics_reports935 when head pipeline has metrics reports936 when reactive cache worker is parsing asynchronously937 returns status938 when reactive cache worker is inline939 returns status and data940 when cached results is not latest941 raises and InvalidateReactiveCache error942 when head pipeline does not have metrics reports943 returns status and error message944 #mergeable_with_quick_action?945 when autocomplete_precheck is set to false946 with approvals947 is not mergeable when not approved948 is mergeable when approved949 #approver_group_ids=950 create approver_groups951 #mergeable?952 when using approvals953 return false if not approved954 return true if approved955 #on_train?956 when the merge request is on a merge train957 is expected to be truthy958 when the merge request was on a merge train959 is expected to be falsy960 when the merge request is not on a merge train961 is expected to be falsy962 review time sorting963 orders by first_comment_at or first_approved_at whatever is earlier964JobEntity965 #playable?966 behaves like protected environments access967 when Protected Environments feature is not available in the project968 access_level: :guest, admin_mode: nil, result: false969 is expected to eq false970 access_level: :reporter, admin_mode: nil, result: false971 is expected to eq false972 access_level: :developer, admin_mode: nil, result: true973 is expected to eq true974 access_level: :maintainer, admin_mode: nil, result: true975 is expected to eq true976 access_level: :admin, admin_mode: false, result: false977 is expected to eq false978 access_level: :admin, admin_mode: true, result: true979 is expected to eq true980 when Protected Environments feature is available in the project981 when environment is protected982 when user does not have access to the environment983 access_level: :guest, admin_mode: nil, result: false984 is expected to eq false985 access_level: :reporter, admin_mode: nil, result: false986 is expected to eq false987 access_level: :developer, admin_mode: nil, result: false988 is expected to eq false989 access_level: :maintainer, admin_mode: nil, result: false990 is expected to eq false991 access_level: :admin, admin_mode: false, result: false992 is expected to eq false993 access_level: :admin, admin_mode: true, result: true994 is expected to eq true995 when user has access to the environment996 access_level: :guest, admin_mode: nil, result: false997 is expected to eq false998 access_level: :reporter, admin_mode: nil, result: false999 is expected to eq false1000 access_level: :developer, admin_mode: nil, result: true1001 is expected to eq true1002 access_level: :maintainer, admin_mode: nil, result: true1003 is expected to eq true1004 access_level: :admin, admin_mode: false, result: false1005 is expected to eq false1006 access_level: :admin, admin_mode: true, result: true1007 is expected to eq true1008 when environment is not protected1009 access_level: :guest, admin_mode: nil, result: false1010 is expected to eq false1011 access_level: :reporter, admin_mode: nil, result: false1012 is expected to eq false1013 access_level: :developer, admin_mode: nil, result: true1014 is expected to eq true1015 access_level: :maintainer, admin_mode: nil, result: true1016 is expected to eq true1017 access_level: :admin, admin_mode: false, result: false1018 is expected to eq false1019 access_level: :admin, admin_mode: true, result: true1020 is expected to eq true1021 #retryable?1022 behaves like protected environments access1023 when Protected Environments feature is not available in the project1024 access_level: :guest, admin_mode: nil, result: false1025 is expected to eq false1026 access_level: :reporter, admin_mode: nil, result: false1027 is expected to eq false1028 access_level: :developer, admin_mode: nil, result: true1029 is expected to eq true1030 access_level: :maintainer, admin_mode: nil, result: true1031 is expected to eq true1032 access_level: :admin, admin_mode: false, result: false1033 is expected to eq false1034 access_level: :admin, admin_mode: true, result: true1035 is expected to eq true1036 when Protected Environments feature is available in the project1037 when environment is protected1038 when user does not have access to the environment1039 access_level: :guest, admin_mode: nil, result: false1040 is expected to eq false1041 access_level: :reporter, admin_mode: nil, result: false1042 is expected to eq false1043 access_level: :developer, admin_mode: nil, result: false1044 is expected to eq false1045 access_level: :maintainer, admin_mode: nil, result: false1046 is expected to eq false1047 access_level: :admin, admin_mode: false, result: false1048 is expected to eq false1049 access_level: :admin, admin_mode: true, result: true1050 is expected to eq true1051 when user has access to the environment1052 access_level: :guest, admin_mode: nil, result: false1053 is expected to eq false1054 access_level: :reporter, admin_mode: nil, result: false1055 is expected to eq false1056 access_level: :developer, admin_mode: nil, result: true1057 is expected to eq true1058 access_level: :maintainer, admin_mode: nil, result: true1059 is expected to eq true1060 access_level: :admin, admin_mode: false, result: false1061 is expected to eq false1062 access_level: :admin, admin_mode: true, result: true1063 is expected to eq true1064 when environment is not protected1065 access_level: :guest, admin_mode: nil, result: false1066 is expected to eq false1067 access_level: :reporter, admin_mode: nil, result: false1068 is expected to eq false1069 access_level: :developer, admin_mode: nil, result: true1070 is expected to eq true1071 access_level: :maintainer, admin_mode: nil, result: true1072 is expected to eq true1073 access_level: :admin, admin_mode: false, result: false1074 is expected to eq false1075 access_level: :admin, admin_mode: true, result: true1076 is expected to eq true1077Epic1078 associations1079 is expected to belong to author class_name => User required:1080 is expected to belong to assignee class_name => User required:1081 is expected to belong to group required:1082 is expected to belong to parent required:1083 is expected to have many epic_issues1084 is expected to have many children1085 is expected to have many user_mentions class_name => EpicUserMention1086 scopes1087 .public_only1088 only returns public epics1089 .confidential1090 only returns confidential epics1091 .not_confidential_or_in_groups1092 returns only epics which are either not confidential or in the group1093 validations1094 is expected to validate that :group cannot be empty/falsy1095 is expected to validate that :author cannot be empty/falsy1096 is expected to validate that :title cannot be empty/falsy1097 is valid with a valid parent1098 is not valid with invalid parent1099 is valid if epic is confidential and has only confidential issues1100 is not valid if epic is confidential and has not-confidential issues1101 is valid if epic is confidential and has only confidential subepics1102 is not valid if epic is confidential and has not-confidential subepics1103 modules1104 behaves like AtomicInternalId1105 .has_internal_id1106 Module inclusion1107 is expected to includes the AtomicInternalId module1108 Validation1109 when presence validation is required1110 validates presence1111 when presence validation is not required1112 does not validate presence (PENDING: No reason given)1113 Creating an instance1114 saves a new instance properly1115 internal id generation1116 calls InternalId.generate_next and sets internal id attribute1117 does not overwrite an existing internal id1118 when the instance has an internal ID set1119 calls InternalId.update_last_value and sets the `last_value` to that of the instance1120 #reset_scope_internal_id_attribute1121 rewinds the allocated IID1122 allocates the same IID1123 ordering1124 orders by start_or_end_date1125 orders by start_date ASC1126 orders by start_date DESC1127 orders by end_date ASC1128 orders by end_date DESC1129 orders by updated_at ASC1130 orders by updated_at DESC1131 orders by created_at ASC1132 orders by created_at DESC1133 orders by relative_position ASC1134 #valid_parent?1135 basic checks1136 returns true without parent1137 returns true with a valid parent1138 returns false with a parent from different group1139 returns false when level is too deep1140 when adding an Epic that has existing children1141 returns true when total depth after adding will not exceed limit1142 returns false when total depth after adding would exceed limit1143 when parent has ancestors and epic has children1144 returns true when total depth after adding will not exceed limit1145 returns false when total depth after adding would exceed limit1146 when hierarchy is cyclic1147 returns false when parent is same as the epic1148 returns false when child epic is parent of the given parent1149 returns false when child epic is an ancestor of the given parent1150 hierarchy1151 #ancestors1152 returns all ancestors for an epic1153 returns an empty array if an epic does not have any parent1154 #descendants1155 returns all descendants for an epic1156 returns an empty array if an epic does not have any descendants1157 #upcoming?1158 returns true when start_date is in the future1159 returns false when start_date is in the past1160 #expired?1161 returns true when due_date is in the past1162 returns false when due_date is in the future1163 #elapsed_days1164 returns 0 if there is no start_date1165 returns elapsed_days when start_date is present1166 #start_date1167 is set1168 returns as is1169 behaves like within_timeframe scope1170 .within_timeframe1171 returns resources with start_date and/or end_date between timeframe1172 returns resources which starts before the timeframe1173 returns resources which ends after the timeframe1174 #start_date_from_milestones1175 fixed date1176 returns start date from start date sourcing milestone1177 milestone date1178 returns start_date1179 #due_date_from_milestones1180 fixed date1181 returns due date from due date sourcing milestone1182 milestone date1183 returns due_date1184 .deepest_relationship_level1185 returns the deepest relationship level between epics1186 when there are no epics1187 returns nil1188 #issues_readable_by1189 returns all issues if a user has access to them1190 does not return issues user can not see1191 #close1192 sets closed_at to Time.current when an epic is closed1193 changes the state to closed1194 #reopen1195 sets closed_at to nil when an epic is reopend1196 sets closed_by to nil when an epic is reopend1197 changes the state to opened1198 #to_reference1199 when nil argument1200 returns epic id1201 when from argument equals epic group1202 returns epic id1203 when from argument is a group different from epic group1204 returns complete path to the epic1205 when from argument is a project under the epic group1206 returns epic id1207 when from argument is a project under the epic subgroup1208 returns complete path to the epic1209 when from argument is a project in another group1210 returns complete path to the epic1211 when full is true1212 returns complete path to the epic1213 #has_children?1214 has no children1215 has child epics1216 #has_issues?1217 has no issues1218 has child issues1219 #has_parent?1220 has no parent1221 has parent1222 mentioning other objects1223 creates new system notes for cross references1224 relative positioning1225 behaves like a class that supports relative positioning1226 .move_nulls_to_end1227 moves items with null relative_position to the end1228 moves the item near the start position when there are no existing positions1229 does not perform any moves if all items have their relative_position set1230 #max_relative_position1231 returns maximum position1232 #prev_relative_position1233 returns previous position if there is an item above1234 returns nil if there is no item above1235 #next_relative_position1236 returns next position if there is an item below1237 returns nil if there is no item below1238 #move_before1239 moves item before1240 when there is no space1241 moves items correctly1242 #move_after1243 moves item after1244 when there is no space1245 moves items correctly1246 #move_to_end1247 moves item to the end1248 #move_between1249 positions item between two other1250 positions item between on top1251 positions item between to end1252 positions items even when after and before positions are the same1253 positions items between other two if distance is 11254 positions item in the middle of other two if distance is big enough1255 positions item closer to the middle if we are at the very top1256 positions item closer to the middle if we are at the very bottom1257 positions item in the middle of other two if distance is not big enough1258 positions item in the middle of other two is there is no place1259 uses rebalancing if there is no place1260 positions item right if we pass none-sequential parameters1261 avoids N+1 queries when rebalancing other items1262 #move_sequence_before1263 moves the whole sequence of items to the middle of the nearest gap1264 finds a gap if there are unused positions1265 #move_sequence_after1266 moves the whole sequence of items to the middle of the nearest gap1267 finds a gap if there are unused positions1268 .related_issues1269 returns epic issues ordered by relative position1270 behaves like versioned description1271 associations1272 is expected to have many description_versions1273 save_description_version1274 when description was changed1275 saves the old and new description for the first update1276 only saves the new description for subsequent updates1277 sets the new description version to `saved_description_version`1278 clears `saved_description_version` after another save that does not change description1279 when description was not changed1280 does not save any description version1281MergeRequest1282 associations1283 is expected to contain exactly #<MergeRequestBlock id: 1, blocking_merge_request_id: 323, blocked_merge_request_id: 324, created_at: "2020-06-17 17:11:05", updated_at: "2020-06-17 17:11:05">1284 is expected to be empty1285 is expected to be empty1286 is expected to contain exactly #<MergeRequestBlock id: 4, blocking_merge_request_id: 329, blocked_merge_request_id: 330, created_at: "2020-06-17 17:11:07", updated_at: "2020-06-17 17:11:07">1287 is expected to be empty1288 is expected to contain exactly #<MergeRequest id:334 namespace448/project448!1>1289 is expected to contain exactly #<MergeRequest id:335 namespace449/project449!1>1290 is expected to be empty1291 #mergeable? (blocking MRs)1292 checks MergeRequest#merge_blocked_by_other_mrs?1293 #merge_blocked_by_other_mrs?1294 licensed1295 is false for the blocking MR1296 is true for the blocked MR when the blocking MR is open1297 is true for the blocked MR when the blocking MR is closed1298 is false for the blocked MR when the blocking MR is merged1299 unlicensed1300 is false for the blocked MR1301 #visible_blocking_merge_requests1302 shows blocking MR to developer1303 hides block from guest1304 hides block from anonymous user1305 #visible_blocking_merge_request_refs1306 returns the references for the result of #visible_blocking_merge_requests1307 #hidden_blocking_merge_requests_count1308 returns 0 when all MRs are visible1309 MR is hidden1310 returns 1 when MR is unmerged by default1311 MR is merged1312 returns 0 by default1313 returns 1 when include_merged: true1314admin/application_settings/_elasticsearch_form1315 es indexing1316 indexing is enabled1317 hides index button when indexing is disabled1318 renders an enabled pause checkbox1319 indexing is disabled1320 shows index button when indexing is enabled1321 renders a disabled pause checkbox1322 when elasticsearch_aws_secret_access_key is not set1323 has field with "AWS Secret Access Key" label and no value1324 when elasticsearch_aws_secret_access_key is set1325 has field with "Enter new AWS Secret Access Key" label and no value1326 when there are elasticsearch indexed namespaces1327 shows the input1328 when there are too many elasticsearch indexed namespaces1329 hides the input1330 when there are elasticsearch indexed projects1331 shows the input1332 when there are too many elasticsearch indexed projects1333 hides the input1334MergeRequestBlock1335 associations1336 is expected to belong to blocking_merge_request class_name => MergeRequest required:1337 is expected to belong to blocked_merge_request class_name => MergeRequest required:1338 validations1339 is expected to validate that :blocking_merge_request cannot be empty/falsy1340 is expected to validate that :blocked_merge_request cannot be empty/falsy1341 forbids the blocking MR from being the blocked MR1342 allows an MR to block multiple MRs1343 allows an MR to be blocked by multiple MRs1344 allows blocks to be intra-project1345 forbids duplicate blocks1346 forbids blocking MR from becoming blocked1347 forbids blocked MR from becoming a blocker1348 .with_blocking_mr_ids1349 returns blocks with a matching blocking_merge_request_id1350 eager-loads the blocking MRs1351EE::ProtectedRefAccess1352 in ProtectedBranch::MergeAccessLevel1353 ProtectedBranch::MergeAccessLevel includes {described_class}1354 requires access_level if no user or group is specified1355 doesn't require access_level if user specified1356 doesn't require access_level if group specified1357 with the `protected_refs_for_users` feature disabled1358 does not allow to create an ProtectedBranch::MergeAccessLevel with a group1359 does not allow to create an ProtectedBranch::MergeAccessLevel with a user1360 with the `protected_refs_for_users` feature enabled1361 allows creating an ProtectedBranch::MergeAccessLevel with a group1362 does not allow to add non member groups1363 allows creating an ProtectedBranch::MergeAccessLevel with a user1364 does not allow to add non member users1365 allows users with access through group1366 in ProtectedBranch::PushAccessLevel1367 ProtectedBranch::PushAccessLevel includes {described_class}1368 requires access_level if no user or group is specified1369 doesn't require access_level if user specified1370 doesn't require access_level if group specified1371 with the `protected_refs_for_users` feature disabled1372 does not allow to create an ProtectedBranch::PushAccessLevel with a group1373 does not allow to create an ProtectedBranch::PushAccessLevel with a user1374 with the `protected_refs_for_users` feature enabled1375 allows creating an ProtectedBranch::PushAccessLevel with a group1376 does not allow to add non member groups1377 allows creating an ProtectedBranch::PushAccessLevel with a user1378 does not allow to add non member users1379 allows users with access through group1380 in ProtectedTag::CreateAccessLevel1381 ProtectedTag::CreateAccessLevel includes {described_class}1382 requires access_level if no user or group is specified1383 doesn't require access_level if user specified1384 doesn't require access_level if group specified1385 with the `protected_refs_for_users` feature disabled1386 does not allow to create an ProtectedTag::CreateAccessLevel with a group1387 does not allow to create an ProtectedTag::CreateAccessLevel with a user1388 with the `protected_refs_for_users` feature enabled1389 allows creating an ProtectedTag::CreateAccessLevel with a group1390 does not allow to add non member groups1391 allows creating an ProtectedTag::CreateAccessLevel with a user1392 does not allow to add non member users1393 allows users with access through group1394Gitlab::CodeOwners::Loader1395 #entries1396 returns entries for the matched line1397 loads all users that are members of the project into the entry1398 does not load non members of the project into the entry1399 loads group members of the project into the entry1400 for multiple paths1401 loads 2 entries1402 performs 6 query for users and groups1403 group as a code owner1404 loads group members as code owners1405 with the request store1406 only calls out to the repository once1407 only processes the file once1408 #members1409 when sectional_codeowners is disabled1410 behaves like returns users for passed path1411 returns users mentioned for the passed path do1412 when sectional_codeowners is enabled1413 behaves like returns users for passed path1414 returns users mentioned for the passed path do1415 #code_owners_path1416 when the file exists1417 returns the path to the code_owners file1418 when the file does not exist1419 returns nil1420 #empty_code_owners?1421 when file does not exist1422 returns true1423 when file is empty1424 returns true1425 when file content exists1426 returns false1427NotePolicy1428 #rules1429 for epics in a public group1430 with non-confidential notes1431 allows non members to read notes1432 allows guests only to read notes1433 allows reporters only to read notes1434 allows developers only to read notes1435 allows maintainers to read notes and admin them1436 allows noteable author to read notes1437 with confidential notes1438 does not allow guests to read confidential notes and replies1439 allows noteable author to read all notes1440 behaves like private notes1441 does not allow non members to read notes1442 allows reporter to read notes1443 allows developer to read notes1444 allows maintainers to read notes and admin them1445 for epics in a private group1446 does not allow guests to read notes1447 behaves like private notes1448 does not allow non members to read notes1449 allows reporter to read notes1450 allows developer to read notes1451 allows maintainers to read notes and admin them1452Vulnerabilities::FindingEntity1453 #as_json1454 contains required fields1455 when not allowed to admin vulnerability feedback1456 does not contain vulnerability feedback paths1457 when allowed to admin vulnerability feedback1458 contains vulnerability feedback dismissal path1459 contains vulnerability feedback issue path1460 contains vulnerability feedback merge_request path1461 when disallowed to create issue1462 does not contain vulnerability feedback issue path1463 contains vulnerability feedback dismissal path1464 contains vulnerability feedback merge_request path1465 when disallowed to create merge_request1466 does not contain vulnerability feedback merge_request path1467 contains vulnerability feedback issue path1468 contains vulnerability feedback dismissal path1469Boards::Issues::ListService1470 #execute1471 milestone lists1472 returns issues from milestone persisted in the list1473 backlog list context1474 returns issues without milestones and without milestones from other lists1475 #metadata1476 returns issues count and weight for list1477 returns 0 when filtering by labels and issues are not present1478 when list_id is missing1479 when board is not scoped by milestone1480 returns opened issues without board labels and assignees applied1481 when board is scoped by milestone1482 returns opened issues without board labels, assignees, or milestone applied1483 when milestone is predefined1484 as upcoming1485 returns open issue for backlog without board label or assignees1486 as started1487 returns open issue for backlog without board label or assignees1488 when search param is present1489 returns correct issues1490 returns correct issues using 2 characters1491Vulnerabilities::Feedback1492 is expected to define :feedback_type as an enum, backed by an integer, using a prefix of :for, with possible values ‹{dismissal: 0, issue: 1, merge_request: 2}›1493 is expected to define :category as an enum, backed by an integer1494 associations1495 is expected to belong to project required:1496 is expected to belong to author class_name => User required:1497 is expected to belong to comment_author class_name => User required:1498 is expected to belong to issue required:1499 is expected to belong to merge_request required:1500 is expected to belong to pipeline class_name => Ci::Pipeline required:1501 validations1502 is expected to validate that :project cannot be empty/falsy1503 is expected to validate that :author cannot be empty/falsy1504 is expected to validate that :feedback_type cannot be empty/falsy1505 is expected to validate that :category cannot be empty/falsy1506 is expected to validate that :project_fingerprint cannot be empty/falsy1507 pipeline is nil1508 is valid1509 pipeline has the same project_id1510 is valid1511 pipeline_id does not exist1512 is invalid1513 pipeline has a different project_id1514 is invalid1515 comment is set1516 validates presence of comment_timestamp1517 validates presence of comment_author1518 .with_category1519 filters by category1520 .with_feedback_type1521 filters by feedback_type1522 ::only_valid_feedback1523 filters out invalid feedback1524 #has_comment?1525 comment and comment_author are set1526 is expected to be truthy1527 comment is set and comment_author is not1528 is expected to be falsy1529 comment and comment_author are not set1530 is expected to be falsy1531 #find_or_init_for1532 when params are valid1533 inits the feedback1534 finds the existing feedback1535 when attempting to save duplicate1536 raises ActiveRecord::RecordInvalid1537 when params are invalid1538 raises ArgumentError when given a bad feedback_type value1539 raises ArgumentError when given a bad category value1540 #occurrence_key1541 is expected to eq {:category=>"sast", :project_fingerprint=>"0beec7b5ea3f0fdbc95d0dd47f3c5bc275da8a33", :project_id=>1}1542layouts/nav/sidebar/_group1543 contribution analytics tab1544 is visible1545 contribution analytics feature is available1546 is visible1547 contribution analytics feature is not available1548 we do not show promotions1549 is not visible1550 no license installed1551 is visible when there is no valid license but we show promotions1552 group issue boards link1553 when multiple issue board is disabled1554 shows link text in singular1555 when multiple issue board is enabled1556 shows link text in plural1557 security dashboard tab1558 when security dashboard feature is enabled1559 is visible1560 when compliance dashboard feature is enabled1561 when the user does not have access to Compliance dashboard1562 is not visible1563 when the user has access to Compliance dashboard1564 is visible1565 when credentials inventory feature is enabled1566 when the group does not enforce managed accounts1567 behaves like Credentials tab is not visible1568 does not show the `Credentials` tab1569 when the group enforces managed accounts1570 when the user has privileges to view Credentials1571 is visible1572 when the user does not have privileges to view Credentials1573 behaves like Credentials tab is not visible1574 does not show the `Credentials` tab1575 when security dashboard feature is disabled1576 is not visible1577 iterations link1578 with iterations licensed feature available1579 with group iterations feature flag enabled1580 is visible1581 with iterations feature flag disabled1582 is not visible1583 with iterations licensed feature disabled1584 is not visible1585Security::WafAnomalySummaryService1586 #execute1587 without cluster1588 returns no results1589 without elastic_stack1590 returns no results1591 with environment missing external_url1592 returns nil1593 with default histogram1594 no requests1595 returns results1596 when totals_only is set to true1597 returns totals only1598 no violations1599 returns results1600 when totals_only is set to true1601 returns totals only1602 with violations1603 returns results1604 when totals_only is set to true1605 returns totals only1606 with legacy es6 cluster1607 returns results1608 with review app1609 resolves transaction_id from external_url1610 with time window1611 passes time frame to ElasticSearch1612 with interval1613 passes interval to ElasticSearch1614Pseudonymizer::Pager1615 `id` column is present1616 #pages1617 delegates to #pages_per_id1618 is expected to eq 101619 `id` column is missing1620 #pages1621 delegates to #pages_per_offset1622 is expected to eq 101623Analytics::CycleAnalytics::GroupLevel1624 #permissions1625 returns true for all stages1626 #stats1627 returns medians for each stage for a specific group1628 #summary1629 returns medians for each stage for a specific group1630 #time_summary1631 returns medians for lead time and cycle type1632EpicLinks::DestroyService1633 #execute1634 when epics feature is disabled1635 returns an error1636 no relationship is created1637 does not create system notes1638 when epics feature is enabled1639 when the user has no permissions to remove epic relation1640 returns an error1641 no relationship is created1642 does not create system notes1643 when user has permissions to remove epic relation1644 when the child epic is nil1645 returns an error1646 no relationship is created1647 does not create system notes1648 when a correct reference is given1649 removes epic relationship1650 returns success status1651 creates system notes1652 when epic has no parent1653 returns an error1654 no relationship is created1655 does not create system notes1656MergeRequest1657 searches merge requests1658 searches by iid and scopes to type: merge_request only1659 returns json with all needed elements1660 behaves like limited indexing is enabled1661 when the project is not enabled specifically1662 #searchable?1663 returns false1664 when a project is enabled specifically1665 #searchable?1666 returns true1667 when a group is enabled1668 #searchable?1669 returns true1670 behaves like no results when the user cannot read cross project1671 returns the record if a single project was passed1672 does not return anything when trying to search cross project1673Gitlab::ImportExport::Group::LegacyTreeRestorer1674 restore group tree1675 epics1676 has group epics1677 has award emoji1678 preserves epic state1679 epic notes1680 has epic notes1681 has award emoji on epic notes1682 board lists1683 has milestone & assignee lists1684 boards1685 has user generated milestones1686 does not have predefined milestones1687Mutations::MergeRequests::SetAssignees1688 #resolve1689 when the user can update the merge request1690 sets merge request assignees1691 removes assignees not in the list1692 when passing "append" as true1693 does not remove assignees not in the list1694Packages::Nuget::UpdatePackageFromMetadataService1695 #execute1696 with no existing package1697 updates package and package file1698 behaves like taking the lease1699 takes the lease1700 behaves like not updating the package if the lease is taken1701 without obtaining the exclusive lease1702 does not update the package1703 with existing package1704 link existing package and updates package file1705 behaves like taking the lease1706 takes the lease1707 behaves like not updating the package if the lease is taken1708 without obtaining the exclusive lease1709 does not update the package1710 with a nuspec file with metadata1711 creates tags1712 creates nuget metadatum1713 with existing package and tags1714 creates tags and deletes those not in metadata1715 with too long url1716 behaves like raising an1717 raises an Packages::Nuget::UpdatePackageFromMetadataService::InvalidMetadataError1718 with nuspec file with dependencies1719 updates package and package file1720 with package file not containing a nuspec file1721 behaves like raising an1722 raises an Packages::Nuget::MetadataExtractionService::ExtractionError1723 with package file with a blank package name1724 behaves like raising an1725 raises an Packages::Nuget::UpdatePackageFromMetadataService::InvalidMetadataError1726 with package file with a blank package version1727 behaves like raising an1728 raises an Packages::Nuget::UpdatePackageFromMetadataService::InvalidMetadataError1729 with an invalid package version1730 raises an error for version 5551731 raises an error for version 1.21732 raises an error for version 1./2.31733 raises an error for version ../../../../../1.2.31734 raises an error for version %2e%2e%2f1.2.31735PathLock1736 Relations1737 is expected to belong to project required:1738 is expected to belong to user required:1739 Validations1740 is expected to validate that :user cannot be empty/falsy1741 is expected to validate that :project cannot be empty/falsy1742 is expected to validate that :path cannot be empty/falsy1743 is expected to validate that :path is case-sensitively unique within the scope of :project_id1744 #path_unique_validation1745 is not valid because of upstream lock1746 is not valid because of downstream lock1747 downstream?1748 returns true1749 returns false1750 returns false1751 upstream?1752 returns true1753 returns false1754 returns false1755 exact?1756 returns true1757 returns false1758 .for_paths1759 filters path locks by passed1760StatusPage::ProjectSetting1761 associations1762 is expected to belong to project required:1763 validations1764 is expected not to validate that :status_page_url cannot be empty/falsy1765 is expected to validate that :aws_s3_bucket_name cannot be empty/falsy1766 is expected to validate that the length of :aws_s3_bucket_name is between 3 and 631767 is expected to validate that :aws_region cannot be empty/falsy1768 is expected to validate that :aws_access_key cannot be empty/falsy1769 is expected to validate that :encrypted_aws_secret_key cannot be empty/falsy1770 status_page_url1771 disallows invalid urls for status_page_url1772 allows valid urls for status_page_url1773 aws_s3_bucket_name1774 is expected to allow :aws_s3_bucket_name to be ‹"bucket-name"›1775 is expected to allow :aws_s3_bucket_name to be ‹"3ucket-name"›1776 is expected to allow :aws_s3_bucket_name to be ‹"bucket.name"›1777 is expected to allow :aws_s3_bucket_name to be ‹"bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb"›1778 is expected to allow :aws_s3_bucket_name to be ‹"111111111111111111111111111111111111111111111111111111111111111"›1779 is expected not to allow :aws_s3_bucket_name to be ‹"Bucket-name"›1780 is expected not to allow :aws_s3_bucket_name to be ‹"bucKet-Name"›1781 is expected not to allow :aws_s3_bucket_name to be ‹"bb"›1782 is expected not to allow :aws_s3_bucket_name to be ‹"bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb"›1783 aws_access_key1784 is expected to allow :aws_access_key to be ‹"AAAAAAAAAAAAAAAAAAAA"›1785 is expected to allow :aws_access_key to be ‹"11111111111111111111"›1786 is expected not to allow :aws_access_key to be ‹"AAAAAAAAAAAAAAAAAAA"›1787 is expected not to allow :aws_access_key to be ‹"1111111111111111111"›1788 is expected not to allow :aws_access_key to be ‹"AAAAAAAAAAAAAAAAAAAAA"›1789 is expected not to allow :aws_access_key to be ‹"111111111111111111111"›1790 aws_secret_key1791 tests the validation1792 existing setting1793 passes validation and removes changes if setting to masked key1794 attribute encryption1795 token1796 encrypts original value into encrypted_token attribute1797 #masked_aws_secret_key1798 is expected to eq "****************************************"1799 when no secret saved1800 is expected to eq nil1801 #enabled?1802 is expected to eq true1803 when status page setting is disabled1804 is expected to eq false1805 when license is not available1806 is expected to eq false1807 #normalized_status_page_url1808 when status_page_url exists1809 is expected to eq "https://status.gitlab.com/#/"1810 when status_page_url is blank1811 is expected to be nil1812 when status_page_url is nil1813 is expected to be nil1814 when status_page_url contains trailing slash1815 is expected to eq "https://status.gitlab.com/#/"1816 when status_page_url contains trailing hash-navigator1817 is expected to eq "https://status.gitlab.com/#/"1818 when status_page_url matches expected url1819 is expected to eq "https://status.gitlab.com/#/"1820 #storage_client1821 when status page settings is enabled1822 is expected to be an instance of StatusPage::Storage::S3Client1823 when not enabled1824 is expected to be nil1825Packages::Npm::PackagePresenter1826 #versions1827 for packages without dependencies1828 is expected to be a kind of Hash1829 is expected to match schema "public_api/v4/packages/npm_package_version" and {:dir=>"ee"}1830 is expected to match schema "public_api/v4/packages/npm_package_version" and {:dir=>"ee"}1831 is expected to equal nil1832 is expected to equal nil1833 is expected to equal nil1834 is expected to equal nil1835 is expected to equal nil1836 is expected to equal nil1837 is expected to equal nil1838 is expected to equal nil1839 for packages with dependencies1840 is expected to be a kind of Hash1841 is expected to match schema "public_api/v4/packages/npm_package_version" and {:dir=>"ee"}1842 is expected to match schema "public_api/v4/packages/npm_package_version" and {:dir=>"ee"}1843 is expected to be any1844 is expected to be any1845 is expected to be any1846 is expected to be any1847 #dist_tags1848 for packages without tags1849 is expected to be a kind of Hash1850 is expected to eq "1.0.11"1851 for packages with tags1852 is expected to be a kind of Hash1853 is expected to eq "1.0.4"1854 is expected to eq "1.0.4"1855 is expected to eq "1.0.6"1856 is expected to eq "1.0.11"1857 is expected to eq "1.0.11"1858ElasticBatchProjectIndexerWorker1859 #perform1860 runs the indexer for projects in the batch range1861 skips projects not in the batch range1862 clears the "locked" state from redis when the project finishes indexing1863 reindexes projects that were already indexed1864 indexes all projects it receives even if already indexed1865 with elasticsearch only enabled for a particular project1866 only indexes the enabled project1867EE::Audit::ProjectChangesAuditor1868 .audit_changes1869 non audit changes1870 does not call the audit event service1871 audit changes1872 creates an event when the visibility change1873 creates an event when the name change1874 creates an event when the path change1875 creates an event when the namespace change1876 creates an event when the repository size limit changes1877 creates an event when the packages enabled setting changes1878 creates an event when the merge requests author approval changes1879 creates an event when the merge requests committers approval changes1880Security::DependencyListService1881 #execute1882 without params1883 returns array of dependencies1884 is sorted by names by default1885 with params1886 filtered by package_managers1887 returns filtered items1888 filtered by vulnerable1889 returns filtered items1890 sorted desc by packagers1891 returns array of data properly sorted1892 sorted asc by packagers1893 returns array of data properly sorted1894 sorted desc by names1895 returns array of data properly sorted1896 sorted by desc severity1897 returns array of data properly sorted1898GithubService::StatusMessage1899 #description1900 includes human readable gitlab status1901 gets truncated to 140 chars1902 #status1903 gitlab_status: "pending", github_status: :pending1904 transforms status1905 gitlab_status: "created", github_status: :pending1906 transforms status1907 gitlab_status: "running", github_status: :pending1908 transforms status1909 gitlab_status: "manual", github_status: :pending1910 transforms status1911 gitlab_status: "success", github_status: :success1912 transforms status1913 gitlab_status: "skipped", github_status: :success1914 transforms status1915 gitlab_status: "failed", github_status: :failure1916 transforms status1917 gitlab_status: "canceled", github_status: :error1918 transforms status1919 #status_options1920 includes context1921 includes target_url1922 includes description1923 #context1924 when status context is supposed to be dynamic1925 appends pipeline reference to the status context1926 when status context is supposed to be static1927 appends instance hostname to the status context1928 .from_pipeline_data1929 builds an instance of GithubService::StatusMessage1930 builds an object with1931 sha1932 status1933 target_url1934 description1935 context1936 when pipeline is blocked1937 uses human readable status which can be used in a sentence1938 when static context has been configured1939 appends instance name to the context name1940Packages::Conan::PackagePresenter1941 #recipe_urls1942 no existing package1943 is expected to be empty1944 existing package1945 is expected to eq {"conanfile.py"=>"http://localhost/api/v4/packages/conan/v1/files/package-1/1.0.0/namespace905+projec.../packages/conan/v1/files/package-1/1.0.0/namespace905+project846/stable/0/export/conanmanifest.txt"}1946 #recipe_snapshot1947 no existing package1948 is expected to be empty1949 existing package1950 is expected to eq {"conanfile.py"=>"12345abcde", "conanmanifest.txt"=>"12345abcde"}1951 #package_urls1952 no existing package1953 is expected to be empty1954 existing package1955 is expected to eq {"conan_package.tgz"=>"http://localhost/api/v4/packages/conan/v1/files/package-5/1.0.0/namespace905+p...an/v1/files/package-5/1.0.0/namespace905+project846/stable/0/package/123456789/0/conanmanifest.txt"}1956 multiple packages with different references1957 is expected to eq {"conan_package.tgz"=>"http://localhost/api/v4/packages/conan/v1/files/package-7/1.0.0/namespace905+p...an/v1/files/package-7/1.0.0/namespace905+project846/stable/0/package/123456789/0/conanmanifest.txt"}1958 returns empty if the reference does not exist1959 requesting the alternative reference1960 is expected to eq {"conan_package.tgz"=>"http://localhost/api/v4/packages/conan/v1/files/package-11/1.0.0/namespace905+...n/v1/files/package-11/1.0.0/namespace905+project846/stable/0/package/abcdefghi/0/conanmanifest.txt"}1961 #package_snapshot1962 no existing package1963 is expected to be empty1964 existing package1965 is expected to eq {"conan_package.tgz"=>"12345abcde", "conaninfo.txt"=>"12345abcde", "conanmanifest.txt"=>"12345abcde"}1966 when requested with invalid reference1967 is expected to eq {}1968License-Scanning.gitlab-ci.yml1969 the created pipeline1970 when project has no license1971 includes no jobs1972 when project has Ultimate license1973 by default1974 includes job1975 when LICENSE_MANAGEMENT_DISABLED=11976 includes no jobs1977GroupSaml::GroupManagedAccounts::TransferMembershipService1978 removes the current password1979 returns true1980 does not reduce the amount of memberships1981 removes previous known identities of the account1982 when remove_non_gma_memberships flag is enable1983 reduces the amount of memberships1984 when at least one non-owner member was not removed1985 returns a falsy value1986 when the user changes are not saved1987 doesn't remove account's members1988 when the user is owner of a group1989 does not reduce the amount of memberships1990 when the user changes are not saved1991 doesn't remove account's identities1992 when the email doesn't match1993 returns a falsy value1994 convert_user_to_group_managed_accounts flag is disable1995 returns a falsy value1996 doesn't remove non-owner members without dedicated accounts from the group1997 transferred account1998 doesn't allow blank passwords1999EE::SystemNotes::MergeTrainService2000 #enqueue2001 posts the 'merge train' system note2002 behaves like a system note2003 has the correct attributes2004 when index of the merge request is not zero2005 posts the 'merge train' system note2006 #cancel2007 posts the 'merge train' system note2008 behaves like a system note2009 has the correct attributes2010 #abort2011 posts the 'merge train' system note2012 behaves like a system note2013 has the correct attributes2014 #add_when_pipeline_succeeds2015 posts the 'add to merge train when pipeline succeeds' system note2016 behaves like a system note2017 has the correct attributes2018 #cancel_add_when_pipeline_succeeds2019 posts the 'add to merge train when pipeline succeeds' system note2020 behaves like a system note2021 has the correct attributes2022 #abort_add_when_pipeline_succeeds2023 posts the 'add to merge train when pipeline succeeds' system note2024 behaves like a system note2025 has the correct attributes2026Packages::Maven::PackageFinder2027 #execute!2028 within the project2029 returns a package2030 raises an error2031 across all projects2032 returns a package2033 raises an error2034 within a group2035 returns a package2036 raises an error2037Mutations::Pipelines::RunDastScan2038 #resolve2039 when on demand scan feature is not enabled2040 raises an exception2041 when on demand scan feature is enabled2042 when the project does not exist2043 raises an exception2044 when the user does not have permission to run a dast scan2045 raises an exception2046 when the user can run a dast scan2047DEPRECATION WARNING: Dangerous query method (method whose arguments are used as raw SQL) called with non-attribute argument(s): "COUNT(*) DESC". Non-attribute arguments will be disallowed in Rails 6.1. This method should not be called with user-provided values, such as request parameters or model attributes. Known-safe values can be passed by wrapping them in Arel.sql(). (called from block in <class:Stage> at /builds/gitlab-org/gitlab/app/models/ci/stage.rb:40)2048 has no errors2049DEPRECATION WARNING: Dangerous query method (method whose arguments are used as raw SQL) called with non-attribute argument(s): "COUNT(*) DESC". Non-attribute arguments will be disallowed in Rails 6.1. This method should not be called with user-provided values, such as request parameters or model attributes. Known-safe values can be passed by wrapping them in Arel.sql(). (called from block in <class:Stage> at /builds/gitlab-org/gitlab/app/models/ci/stage.rb:40)2050 returns a pipeline_url containing the correct path2051UpdateBuildMinutesService2052 #perform2053 with shared runner2054 creates a statistics and sets duration with applied cost factor2055 when statistics are created2056 updates statistics and adds duration with applied cost factor2057 when namespace is subgroup2058 creates a statistics in root namespace2059 when cost factor has non-zero fractional part2060 truncates the result product value2061 for specific runner2062 does not create statistics2063VulnerabilityNoteEntity2064 exposes vulnerability-specific elements2065 behaves like note entity2066 basic note2067 exposes correct elements2068 does not expose elements for specific notes cases2069 exposes author correctly2070 does not expose web_url for author2071 when note was edited2072 exposes last_edited_at and last_edited_by elements2073 when note is a system note2074 exposes system_note_icon_name element2075Clusters::ClusterPresenter2076 #health_data2077 with project cluster2078 behaves like cluster health data2079 is expected to match {:"clusters-path"=>"/namespace942/project887/-/clusters", :"metrics-endpoint"=>"/namespace942/project887/-/clusters/42/metrics.json", :"dashboard-endpoint"=>"/namespace942/project887/-/clusters/42/metrics_dashboard", :"documentation-path"=>"/help/user/project/clusters/index#monitoring-your-kubernetes-cluster-ultimate", :"empty-getting-started-svg-path"=>(match asset path "/assets/illustrations/monitoring/getting_started.svg"), :"empty-loading-svg-path"=>(match asset path "/assets/illustrations/monitoring/loading.svg"), :"empty-no-data-svg-path"=>(match asset path "/assets/illustrations/monitoring/no_data.svg"), :"empty-unable-to-connect-svg-path"=>(match asset path "/assets/illustrations/monitoring/unable_to_connect.svg"), :"settings-path"=>"", :"project-path"=>"", :"tags-path"=>"", :"alerts-endpoint"=>"/", :"prometheus-alerts-available"=>"true"}2080 when prometheus_computed_alerts feature is disabled2081 alerts-endpoint is nil2082 prometheus-alerts-available is nil2083 with group cluster2084 behaves like cluster health data2085 is expected to match {:"clusters-path"=>"/groups/group338/-/clusters", :"metrics-endpoint"=>"/groups/group338/-/clusters/51/metrics.json", :"dashboard-endpoint"=>"/groups/group338/-/clusters/51/metrics_dashboard", :"documentation-path"=>"/help/user/project/clusters/index#monitoring-your-kubernetes-cluster-ultimate", :"empty-getting-started-svg-path"=>(match asset path "/assets/illustrations/monitoring/getting_started.svg"), :"empty-loading-svg-path"=>(match asset path "/assets/illustrations/monitoring/loading.svg"), :"empty-no-data-svg-path"=>(match asset path "/assets/illustrations/monitoring/no_data.svg"), :"empty-unable-to-connect-svg-path"=>(match asset path "/assets/illustrations/monitoring/unable_to_connect.svg"), :"settings-path"=>"", :"project-path"=>"", :"tags-path"=>"", :"alerts-endpoint"=>"/", :"prometheus-alerts-available"=>"true"}2086 when prometheus_computed_alerts feature is disabled2087 alerts-endpoint is nil2088 prometheus-alerts-available is nil2089Security::ReportSummaryService#execute2090 Some fields are requested2091 returns only the request fields2092 When some fields are not requested2093 does not make needless queries2094 All fields are requested2095 returns the scanned_resources_count2096 returns the vulnerability count2097 When ran no security scans2098 returns 0 vulnerabilities2099 returns 0 scanned resources2100EventCreateService2101 Epics2102 #open_epic2103 creates new event2104 #close_epic2105 creates new event2106 #reopen_epic2107 creates new event2108 #leave_note2109 creates new event2110 Merge Requests2111 #approve_mr2112 is expected to be truthy2113 creates new event2114GroupSaml::Identity::DestroyService2115 prevents future Group SAML logins2116 does not use a transaction2117 uses a transaction when transactional is set2118 removes access to the group2119 doesn't remove the last group owner2120 logs an audit event2121Users::UpdateService2122 #execute2123 does not update email if an user has group managed account2124 does not update commit email if an user has group managed account2125 does not update public if an user has group managed account2126 does not update public if an user has group managed account2127 updating name2128 when `disable_name_update_for_users` feature is available2129 when the ability to update their name is not disabled for users2130 behaves like a user can update the name2131 updates the name2132 behaves like a user can update the name2133 updates the name2134 when the ability to update their name is disabled for users2135 as a regular user2136 does not update the name2137 behaves like a user can update the name2138 updates the name2139 when `disable_name_update_for_users` feature is not available2140 behaves like a user can update the name2141 updates the name2142 behaves like a user can update the name2143 updates the name2144 audit events2145 licensed2146 updating username2147 logs audit event2148 with an admin user2149 allowed params2150 with identity2151 adds identity to user2152 adds two different identities to user2153Mutations::Issues::Update2154 behaves like updating health status2155 raises an error if the resource is not accessible to the user2156 when the user has permission2157 and issuable_heath_status feature is disabled2158 does not update health status2159 and issuable_health_status feature is enabled2160 updates health status2161EE::API::Helpers::ScimPagination2162 #per_page2163 count: nil, per_page: 202164 is expected to eq 202165 count: "", per_page: 202166 is expected to eq 202167 count: "abc", per_page: 202168 is expected to eq 202169 count: 0, per_page: 202170 is expected to eq 202171 count: 999999, per_page: 1002172 is expected to eq 1002173 count: 4, per_page: 42174 is expected to eq 42175 count: "4", per_page: 42176 is expected to eq 42177 #scim_paginate2178 without pagination params2179 returns all results2180 with :count param2181 limits results to count2182 with :startIndex param2183 starts from an offset2184 uses a 1-based index2185 uses 1 when provided an index less than 12186ApprovalWrappedAnyApproverRule2187 #approved?2188 #approvals_approvers2189 contains every approved user2190 when an author and a committer approved2191 does not contain an author2192DependencyListEntity2193 behaves like report list2194 #as_json2195 with success build2196 with provided items2197 has array of items with status ok2198 with no items2199 has empty array of items with status no_items2200 with failed build2201 with authorized user2202 has job_path with status failed_job2203 without authorized user2204 has only status failed_job2205 with no build2206 has status job_not_set_up and no job_path2207Projects::MarkForDeletionService2208 with soft-delete feature turned on2209 marking project for deletion2210 marks project as archived and marked for deletion2211 marking project for deletion once again2212 does not change original date2213 audit events2214 saves audit event2215 with soft-delete feature turned off2216 marking project for deletion2217 does not change project attributes2218IssuableSidebarExtrasEntity2219 when the gitlab_employee_badge flag is off2220 does not expose the is_gitlab_employee field for assignees2221 when the gitlab_employee_badge flag is on but we are not on gitlab.com2222 does not expose the is_gitlab_employee field for assignees2223 when gitlab_employee_badge flag is on and we are on gitlab.com2224 exposes is_gitlab_employee field for assignees2225Issues::ExportCsvService2226 includes2227 handling epics2228 with epics disabled2229 does not include epics information2230 with epics enabled2231 epic ID2232 epic Title2233Gitlab::Auth::Smartcard::SANExtension2234 #alternate_emails2235 without SAN extensions2236 is expected to be empty2237 with SAN extensions2238 single extension2239 is expected to match [{6=>"https://gitlab.example.com"}]2240 multiple entries using ASN12241 is expected to match [{1=>"my@other.address", 6=>"1.2.3.4"}]2242 custom General Name2243 can't use custom alt names that are not part of general names2244 #email_identity2245 is expected to eq "singleEntryEmail@some.domain"2246 multiple email identity SAN entries2247 alternate name email for GitLab defined in the certificate2248 is expected to eq "newemail@some.domain"2249 inappropriate URI format2250 is expected to be nil2251 no alternate name defined to use with GitLab2252 is expected to be nil2253 when the host is partially matched to the URI2254 is expected to be nil2255HistoricalData2256 .during2257 returns the historical data during the specified period2258 .up_until2259 returns the historical data up until the specified date2260 .at2261 returns the historical data at the specified date2262 .track!2263 creates a new historical data record2264 .max_historical_user_count2265 with multiple historical data points for the current license2266 returns max user count for the past year2267 using parameters2268 returns max user count for the given license2269 returns max user count for the time range2270 with different plans2271 gl_plan: "starter", expected_count: 22272 does not count guest users2273 gl_plan: "premium", expected_count: 22274 does not count guest users2275 gl_plan: "ultimate", expected_count: 12276 does not count guest users2277 with data outside of the license period2278 with stats before the license period2279 ignore those records2280 with stats after the license period2281 ignore those records2282 with stats inside license period2283 returns max value for active_user_count2284Ci::ExpirePipelineCacheService2285 #perform2286 when pipeline is triggered by other pipeline2287 updates the cache of dependent pipeline2288 when pipeline triggered other pipeline2289 updates the cache of dependent pipeline2290ProjectMirrorEntity2291 pull mirror2292 password authentication2293 represents the pull mirror2294 excludes password information2295 SSH public-key authentication2296 represents the pull mirror2297ProjectFeatureUsage2298 .jira_dvcs_integrations_enabled_count2299 returns count of projects with Jira DVCS Cloud enabled2300 returns count of projects with Jira DVCS Server enabled2301 #log_jira_dvcs_integration_usage2302 logs Jira DVCS Cloud last sync2303 logs Jira DVCS Server last sync2304 when log_jira_dvcs_integration_usage is called simultaneously for the same project2305 logs the latest call2306Gitlab::Ci::Parsers::Security::ScannedResources2307 #scanned_resources_count2308 there are scanned resources2309 is expected to equal 62310 the scan key is missing2311 is expected to equal 02312 the scanned_resources key is missing2313 is expected to equal 02314 the json is invalid2315 is expected to equal 02316SearchHelper2317 #search_filter_input_options2318 with multiple issue assignees feature2319 allows multiple assignees in project context2320 allows multiple assignees in group context2321 allows multiple assignees in dashboard context2322 without multiple issue assignees feature2323 does not allow multiple assignees in project context2324 does not allow multiple assignees in group context2325 allows multiple assignees in dashboard context2326 #search_entries_info_template2327 when all requirements are met2328 returns a custom message2329 when not in Gitlab.com2330 behaves like returns old message2331 is expected to eq "Showing %{count} %{scope} for%{term_element}"2332 when flag restricted_snippet_scope_search is not enabled2333 behaves like returns old message2334 is expected to eq "Showing %{count} %{scope} for%{term_element}"2335 when elastic search is not enabled2336 behaves like returns old message2337 is expected to eq "Showing %{count} %{scope} for%{term_element}"2338 when no user is present2339 behaves like returns old message2340 is expected to eq "Showing %{count} %{scope} for%{term_element}"2341 when not searching for snippets2342 behaves like returns old message2343 is expected to eq "Showing %{count} %{scope} for%{term_element}"2344 #show_switch_to_basic_search?2345 when :switch_to_basic_search feature is disabled2346 is expected to eq false2347 when not currently using elasticsearch2348 is expected to eq false2349 when project scope2350 is expected to eq true2351 when commits tab2352 is expected to eq false2353 when issues tab2354 is expected to eq true2355TreeHelper2356 #tree_content_data2357 when file locks is available2358 returns the logs path2359 when file lock is not available2360 returns the path information2361NotesHelpers2362 #find_noteable2363 #find_noteable2364 returns the expected epic2365 raises not found exception when epic does not belong to group2366LabelsHelper2367 #render_label2368 with scoped labels enabled2369 right text span does not have .gl-label-text-dark class if label color is dark2370 right text span has .gl-label-text-dark class if label color is light2371 with scoped labels disabled2372 does not include link to scoped documentation2373 #label_dropdown_data2374 when edit_context is a project2375 is expected to eq {:default_label=>"Labels", :field_name=>"label_name[]", :namespace_path=>"namespace994", :project_id=...th=>"project945", :scoped_labels=>"false", :show_any=>"true", :show_no=>"true", :toggle=>"dropdown"}2376 when edit_context is a group2377 is expected to eq {:default_label=>"Labels", :field_name=>"label_name[]", :group_id=>3026, :scoped_labels=>"false", :show_any=>"true", :show_no=>"true", :toggle=>"dropdown"}2378VulnerabilityPolicy2379 read_vulnerability2380 when the security_dashboard feature is enabled2381 when the current user has developer access to the vulnerability's project2382 is expected to be allowed :read_vulnerability2383 when the current user does not have developer access to the vulnerability's project2384 is expected to be disallowed :read_vulnerability2385 when the security_dashboard feature is disabled2386 is expected to be disallowed :read_vulnerability2387Packages::Maven::CreatePackageService2388 #execute2389 with version2390 creates a new package with metadatum2391 behaves like assigns build to package2392 with build info2393 assigns the pipeline to the package2394 without version2395 creates a new package with metadatum2396 path is missing2397 raises an error2398Elastic::MultiVersionInstanceProxy2399 #version2400 returns instance proxy in specified version2401 repository2402 returns instance proxy in specified version2403 method forwarding2404 forwards methods which should touch all write targets2405 forwards read methods to only reading target2406 does not forward write methods which should touch specific version2407Groups::DestroyService2408 audit events2409 when licensed2410 does not log audit event if operation fails2411 when operation succeeds2412 logs an audit event2413 logs the audit event info2414 when not licensed2415 does not log audit event2416 dependency_proxy_blobs2417 destroys the dependency proxy blobs2418VulnerabilityIssueLinks::DeleteService2419 with an authorized user with proper permissions2420 with valid params2421 deletes the specified vulnerability-issue link2422 when security dashboard feature is disabled2423 raises an "access denied" error2424 permissions2425 is expected to be allowed for :admin2426 is expected to be allowed for :owner2427 is expected to be allowed for :maintainer2428 is expected to be allowed for :developer2429 is expected to be denied for :auditor2430 is expected to be denied for :reporter2431 is expected to be denied for :guest2432 is expected to be denied for :anonymous2433IdentityProviderPolicy2434 #rules2435 when user is group managed2436 is expected not to be allowed :link2437 is expected not to be allowed :unlink2438 owner is not yet group managed2439 no other owners exist2440 is expected not to be allowed :unlink2441 another group owner exists2442 without sso linked2443 is expected not to be allowed :unlink2444 with sso linked2445 is expected to be allowed :unlink2446 managed by the group2447 is expected to be allowed :unlink2448EE::WeightEventable2449 associations2450 is expected to have many resource_weight_events2451 #first_weight_event?2452 returns false as it has no weight changes2453 returns false as it has no previous weight2454 returns false as it has already a resoure_weight_event2455 returns true as the previous weight exists and there is no resoure_weight_event record2456NewEpicWorker2457 #perform2458 when an epic not found2459 does not call Services2460 logs an error2461 when a user not found2462 does not call Services2463 logs an error2464 when everything is ok2465 creates an event2466 user watches group2467 creates a notification for watcher2468 mention2469 creates a notification for the mentioned user2470Mutations::InstanceSecurityDashboard::AddProject2471 #resolve2472 when user is not logged_in2473 raises Gitlab::Graphql::Errors::ResourceNotAvailable error2474 when user is logged_in2475 when security_dashboard is not enabled2476 raises Gitlab::Graphql::Errors::ResourceNotAvailable error2477 when security_dashboard is enabled2478 when project is available to the user and can be added to the security dashboard2479 adds project to the security dashboard2480 when project is not available to the user2481 raises Gitlab::Graphql::Errors::ResourceNotAvailable error2482 when project is already added to the security dashboard2483 does not add project to the security dashboard2484Security::VulnerabilityFindingsFinder2485 #execute2486 when given a pipeline2487 returns vulnerability findings found in the pipeline2488 include_sha2489 when false2490 does not include a sha2491 when true2492 includes the sha for the latest pipeline associated with the finding2493 by report type2494 when sast2495 includes only sast2496 when dependency_scanning2497 includes only depscan2498 by severity2499 when high2500 includes only high2501 when medium2502 includes only medium2503 by confidence2504 when high2505 includes only high confidence vulnerabilities2506 when low2507 includes only low confidence vulnerabilities2508 by project2509 includes only vulnerabilities for one project2510 by all filters2511 with found entity2512 filters by all params2513 without found entity2514 did not find anything2515 by scope2516 when all2517 includes all vulnerabilities2518 when not specified2519 excludes dismissed vulnerabilities2520 when dismissed2521 excludes dismissed vulnerabilities2522 by some filters2523 with found entity2524 filters by all params2525 without found entity2526 did not find anything2527layouts/application2528 layouts/_user_notification_dot2529 when we show the notification dot2530 has the notification dot2531 when we do not show the notification dot2532 does not have the notification dot2533Git::WikiPushService2534 when elasticsearch is enabled2535 when changes include master ref2536 triggers a wiki update2537 when changes do not include master ref2538 does not trigger a wiki update2539 when elasticsearch is disabled2540 when changes include master ref2541 does nothing even if changes include master ref2542ProjectGroupLink2543 #destroy2544 protected tags2545 behaves like deleted related access levels2546 removes related ProtectedTag::CreateAccessLevel2547 protected environments2548 behaves like deleted related access levels2549 removes related ProtectedEnvironment::DeployAccessLevel2550JiraConnectInstallation2551 associations2552 is expected to have many subscriptions class_name => JiraConnectSubscription2553 validations2554 is expected to validate that :client_key cannot be empty/falsy2555 is expected to validate that :client_key is case-sensitively unique2556 is expected to validate that :shared_secret cannot be empty/falsy2557 is expected to validate that :base_url cannot be empty/falsy2558 is expected to allow :base_url to be ‹"https://test.atlassian.net"›2559 is expected not to allow :base_url to be ‹"not/a/url"›2560 .for_project2561 returns installations with subscriptions for project2562 returns distinct installations2563EE::SystemNotes::VulnerabilitiesService2564 #change_vulnerability_state2565 state changed to dismissed2566 creates the note text correctly2567 behaves like a system note2568 has the correct attributes2569 state changed to resolved2570 creates the note text correctly2571 behaves like a system note2572 has the correct attributes2573 state changed to confirmed2574 creates the note text correctly2575 behaves like a system note2576 has the correct attributes2577HipchatService2578 creates a message for approved merge requests2579Gitlab::SPDX::CatalogueGateway2580 #fetch2581 when the licenses.json endpoint is healthy2582 is expected to equal 3962583 when the licenses.json endpoint is not reachable2584 is expected to be zero2585 is expected to have received add_event(:spdx_fetch_failed, {:http_status_code=>404}) 1 time2586 when an `SocketError` is raised while trying to connect to the endpoint2587 is expected to be zero2588 is expected to have received add_event(:spdx_fetch_failed, anything) 1 time2589 when an `OpenSSL::SSL::SSLError` is raised while trying to connect to the endpoint2590 is expected to be zero2591 is expected to have received add_event(:spdx_fetch_failed, anything) 1 time2592 when an `OpenSSL::OpenSSLError` is raised while trying to connect to the endpoint2593 is expected to be zero2594 is expected to have received add_event(:spdx_fetch_failed, anything) 1 time2595 when an `Errno::ECONNRESET` is raised while trying to connect to the endpoint2596 is expected to be zero2597 is expected to have received add_event(:spdx_fetch_failed, anything) 1 time2598 when an `Errno::ECONNREFUSED` is raised while trying to connect to the endpoint2599 is expected to be zero2600 is expected to have received add_event(:spdx_fetch_failed, anything) 1 time2601 when an `Errno::EHOSTUNREACH` is raised while trying to connect to the endpoint2602 is expected to be zero2603 is expected to have received add_event(:spdx_fetch_failed, anything) 1 time2604 when an `Net::OpenTimeout` is raised while trying to connect to the endpoint2605 is expected to be zero2606 is expected to have received add_event(:spdx_fetch_failed, anything) 1 time2607 when an `Net::ReadTimeout` is raised while trying to connect to the endpoint2608 is expected to be zero2609 is expected to have received add_event(:spdx_fetch_failed, anything) 1 time2610 when an `Gitlab::HTTP::BlockedUrlError` is raised while trying to connect to the endpoint2611 is expected to be zero2612 is expected to have received add_event(:spdx_fetch_failed, anything) 1 time2613 when an `Gitlab::HTTP::RedirectionTooDeep` is raised while trying to connect to the endpoint2614 is expected to be zero2615 is expected to have received add_event(:spdx_fetch_failed, anything) 1 time2616Atlassian::JiraConnect::Serializers::RepositoryEntity2617 is expected to match schema "jira_connect/repository" and {:dir=>"ee"}2618SamlProviderPolicy2619 with a user2620 allows access to public groups2621 allows access to private groups2622 with a token actor2623 valid token2624 allows access to public groups2625 allows access to private groups2626 invalid or missing token2627 allows anonymous access to public groups2628 prevents access to private groups2629 without a user or actor2630 allows access to public groups2631 prevents access to private groups2632Gitlab::UserAccess2633 #can_push_to_branch?2634 push to empty project2635 returns false when the external service denies access2636Gitlab::Ci::Pipeline::Chain::Limit::Activity2637 when active pipelines limit is exceeded2638 drops the pipeline2639 persists the pipeline2640 breaks the chain2641 sets a valid failure reason2642 logs the error2643 when pipeline activity limit is not exceeded2644 does not break the chain2645 does not invalidate the pipeline2646 does not log any error2647Audit::Changes2648 .audit_changes2649 non audit changes2650 when audited column is not changed2651 does not call the audit event service2652 when model is newly created2653 does not call the audit event service2654 audit changes2655 calls the audit event service2656 when entity is provided2657 instantiates audit event service with the given entity2658EE::SystemNoteMetadata2659 when action type is valid2660 is expected to be valid2661 when action type is valid2662 is expected to be valid2663 when action type is valid2664 is expected to be valid2665Projects::HashedStorage::MigrateRepositoryService2666 #execute2667 when running on a Geo primary node2668 creates a Geo::HashedStorageMigratedEvent on success2669 does not create a Geo event on failure2670StatusPage::PublishService2671 #execute2672 publish details2673 when upload succeeds2674 uploads incident details and list2675 when upload fails2676 propagates the exception2677 unpublish details2678 when unpublish succeeds2679 unpublishes incident details and uploads incident list2680 when unpublish service responses with error2681 returns the response2682 publish list2683 when upload fails2684 returns error response2685 with unrelated issue2686 returns error issue not found2687 when user cannot publish2688 returns error missing publish permission2689AdjournedProjectDeletionWorker2690 #perform2691 executes destroying project2692 stops execution if user was deleted2693DependencyProxy::FileUploader2694 behaves like builds correct paths2695 #store_dir2696 behaves like matches the method pattern2697 is expected to match /\h{2}\/\h{2}/2698 #cache_dir2699 behaves like matches the method pattern2700 is expected to match /\/dependency_proxy\/tmp\/cache/2701 #work_dir2702 behaves like matches the method pattern2703 is expected to match /\/dependency_proxy\/tmp\/work/2704 #upload_path2705 behaves like matches the method pattern2706 example at ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:8 (PENDING: No pattern provided, skipping.)2707 #relative_path2708 is relative (PENDING: Path not set, skipping.)2709 .absolute_path2710 behaves like matches the method pattern2711 example at ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:8 (PENDING: No pattern provided, skipping.)2712 .base_dir2713 behaves like matches the method pattern2714 example at ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:8 (PENDING: No pattern provided, skipping.)2715 object store is remote2716 behaves like builds correct paths2717 #store_dir2718 behaves like matches the method pattern2719 is expected to match /\h{2}\/\h{2}/2720 #cache_dir2721 behaves like matches the method pattern2722 example at ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:8 (PENDING: No pattern provided, skipping.)2723 #work_dir2724 behaves like matches the method pattern2725 example at ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:8 (PENDING: No pattern provided, skipping.)2726 #upload_path2727 behaves like matches the method pattern2728 example at ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:8 (PENDING: No pattern provided, skipping.)2729 #relative_path2730 is relative (PENDING: Path not set, skipping.)2731 .absolute_path2732 behaves like matches the method pattern2733 example at ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:8 (PENDING: No pattern provided, skipping.)2734 .base_dir2735 behaves like matches the method pattern2736 example at ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:8 (PENDING: No pattern provided, skipping.)2737Metrics::Dashboard::ClusterDashboardService2738 .valid_params?2739 is expected to be truthy2740 with matching dashboard_path2741 is expected to be truthy2742 missing cluster without dashboard_path2743 is expected to be falsey2744 #get_dashboard2745 behaves like valid dashboard service response2746 behaves like valid dashboard service response for schema2747 returns a json representation of the dashboard2748 behaves like caches the unprocessed dashboard for subsequent calls2749 is expected to receive safe_load(*(any args)) 1 time2750 when called with a non-system dashboard2751 behaves like valid dashboard service response2752 behaves like valid dashboard service response for schema2753 returns a json representation of the dashboard2754EE::API::Entities::Scim::Users2755 contains the schemas2756 calculates the totalResults2757 contains the default itemsPerPage2758 contains the default startIndex2759 contains the user2760 contains the user ID2761 with configured values2762 contains the configured totalResults2763 contains the configured itemsPerPage2764 contains the configured startIndex2765Ci::Sources::Project2766 Relations2767 is expected to belong to pipeline required: true2768 is expected to belong to source_project required: true2769 Validations2770 is expected to validate that :pipeline_id is case-sensitively unique within the scope of :source_project_id2771ContainerRegistry::Event2772 #handle!2773 geo event2774 with a respository target2775 repository_path: "group/test/container", action: "push", example_name: "creating a geo event"2776 behaves like creating a geo event2777 creates geo event2778 repository_path: "group/test/container", action: "delete", example_name: "creating a geo event"2779 behaves like creating a geo event2780 creates geo event2781 repository_path: "foo/bar", action: "push", example_name: "not creating a geo event"2782 behaves like not creating a geo event2783 does not create geo event2784 repository_path: "foo/bar", action: "delete", example_name: "not creating a geo event"2785 behaves like not creating a geo event2786 does not create geo event2787 with a tag target2788 repository_path: "group/test/container", action: "push", example_name: "creating a geo event"2789 behaves like creating a geo event2790 creates geo event2791 repository_path: "group/test/container", action: "delete", example_name: "creating a geo event"2792 behaves like creating a geo event2793 creates geo event2794 repository_path: "foo/bar", action: "push", example_name: "not creating a geo event"2795 behaves like not creating a geo event2796 does not create geo event2797 repository_path: "foo/bar", action: "delete", example_name: "not creating a geo event"2798 behaves like not creating a geo event2799 does not create geo event2800FeatureFlagSummaryEntity2801 has summary information2802Gitlab::Ci::Config::Entry::Need2803 with Bridge config2804 when upstream is specified2805 #valid?2806 is expected to be valid2807 #value2808 returns job needs configuration2809 when need is empty2810 #valid?2811 is expected not to be valid2812 #errors2813 is returns an error about an empty config2814 with CrossDependency config2815 #artifacts2816 artifacts: {:artifacts=>true}, value: true, validity: true2817 #valid?2818 is expected to eq true2819 #value2820 returns job needs configuration2821 #type2822 is expected to eq :cross_dependency2823 artifacts: {:artifacts=>false}, value: false, validity: true2824 #valid?2825 is expected to eq true2826 #value2827 returns job needs configuration2828 #type2829 is expected to eq :cross_dependency2830 artifacts: {:artifacts=>nil}, value: true, validity: true2831 #valid?2832 is expected to eq true2833 #value2834 returns job needs configuration2835 #type2836 is expected to eq :cross_dependency2837 artifacts: {}, value: true, validity: true2838 #valid?2839 is expected to eq true2840 #value2841 returns job needs configuration2842 #type2843 is expected to eq :cross_dependency2844 artifacts: {:artifacts=>1}, value: 1, validity: false2845 #valid?2846 is expected to eq false2847 #value2848 returns job needs configuration2849 #type2850 is expected to eq :cross_dependency2851 artifacts: {:artifacts=>"str"}, value: "str", validity: false2852 #valid?2853 is expected to eq false2854 #value2855 returns job needs configuration2856 #type2857 is expected to eq :cross_dependency2858 behaves like required string attribute2859 #project2860 value: {}, validity: false, error: "can't be blank"2861 #valid?2862 is expected to eq false2863 #value2864 returns needs configuration2865 #type2866 is expected to eq :cross_dependency2867 #errors2868 example at ./ee/spec/lib/ee/gitlab/ci/config/entry/need_spec.rb:1222869 is expected to include "cross dependency project can't be blank"2870 value: {:project=>nil}, validity: false, error: "can't be blank"2871 #valid?2872 is expected to eq false2873 #value2874 returns needs configuration2875 #type2876 is expected to eq :cross_dependency2877 #errors2878 example at ./ee/spec/lib/ee/gitlab/ci/config/entry/need_spec.rb:1222879 is expected to include "cross dependency project can't be blank"2880 value: {:project=>"something"}, validity: true, error: ""2881 #valid?2882 is expected to eq true2883 #value2884 returns needs configuration2885 #type2886 is expected to eq :cross_dependency2887 #errors2888 is expected to be empty2889 example at ./ee/spec/lib/ee/gitlab/ci/config/entry/need_spec.rb:1232890 value: {:project=>:symbol}, validity: false, error: "should be a string"2891 #valid?2892 is expected to eq false2893 #value2894 returns needs configuration2895 #type2896 is expected to eq :cross_dependency2897 #errors2898 example at ./ee/spec/lib/ee/gitlab/ci/config/entry/need_spec.rb:1222899 is expected to include "cross dependency project should be a string"2900 value: {:project=>1}, validity: false, error: "should be a string"2901 #valid?2902 is expected to eq false2903 #value2904 returns needs configuration2905 #type2906 is expected to eq :cross_dependency2907 #errors2908 example at ./ee/spec/lib/ee/gitlab/ci/config/entry/need_spec.rb:1222909 is expected to include "cross dependency project should be a string"2910 behaves like required string attribute2911 #job2912 value: {}, validity: false, error: "can't be blank"2913 #valid?2914 is expected to eq false2915 #value2916 returns needs configuration2917 #type2918 is expected to eq :cross_dependency2919 #errors2920 example at ./ee/spec/lib/ee/gitlab/ci/config/entry/need_spec.rb:1222921 is expected to include "cross dependency job can't be blank"2922 value: {:job=>nil}, validity: false, error: "can't be blank"2923 #valid?2924 is expected to eq false2925 #value2926 returns needs configuration2927 #type2928 is expected to eq :cross_dependency2929 #errors2930 example at ./ee/spec/lib/ee/gitlab/ci/config/entry/need_spec.rb:1222931 is expected to include "cross dependency job can't be blank"2932 value: {:job=>"something"}, validity: true, error: ""2933 #valid?2934 is expected to eq true2935 #value2936 returns needs configuration2937 #type2938 is expected to eq :cross_dependency2939 #errors2940 is expected to be empty2941 example at ./ee/spec/lib/ee/gitlab/ci/config/entry/need_spec.rb:1232942 value: {:job=>:symbol}, validity: false, error: "should be a string"2943 #valid?2944 is expected to eq false2945 #value2946 returns needs configuration2947 #type2948 is expected to eq :cross_dependency2949 #errors2950 example at ./ee/spec/lib/ee/gitlab/ci/config/entry/need_spec.rb:1222951 is expected to include "cross dependency job should be a string"2952 value: {:job=>1}, validity: false, error: "should be a string"2953 #valid?2954 is expected to eq false2955 #value2956 returns needs configuration2957 #type2958 is expected to eq :cross_dependency2959 #errors2960 example at ./ee/spec/lib/ee/gitlab/ci/config/entry/need_spec.rb:1222961 is expected to include "cross dependency job should be a string"2962 behaves like required string attribute2963 #ref2964 value: {}, validity: false, error: "can't be blank"2965 #valid?2966 is expected to eq false2967 #value2968 returns needs configuration2969 #type2970 is expected to eq :cross_dependency2971 #errors2972 example at ./ee/spec/lib/ee/gitlab/ci/config/entry/need_spec.rb:1222973 is expected to include "cross dependency ref can't be blank"2974 value: {:ref=>nil}, validity: false, error: "can't be blank"2975 #valid?2976 is expected to eq false2977 #value2978 returns needs configuration2979 #type2980 is expected to eq :cross_dependency2981 #errors2982 example at ./ee/spec/lib/ee/gitlab/ci/config/entry/need_spec.rb:1222983 is expected to include "cross dependency ref can't be blank"2984 value: {:ref=>"something"}, validity: true, error: ""2985 #valid?2986 is expected to eq true2987 #value2988 returns needs configuration2989 #type2990 is expected to eq :cross_dependency2991 #errors2992 is expected to be empty2993 example at ./ee/spec/lib/ee/gitlab/ci/config/entry/need_spec.rb:1232994 value: {:ref=>:symbol}, validity: false, error: "should be a string"2995 #valid?2996 is expected to eq false2997 #value2998 returns needs configuration2999 #type3000 is expected to eq :cross_dependency3001 #errors3002 example at ./ee/spec/lib/ee/gitlab/ci/config/entry/need_spec.rb:1223003 is expected to include "cross dependency ref should be a string"3004 value: {:ref=>1}, validity: false, error: "should be a string"3005 #valid?3006 is expected to eq false3007 #value3008 returns needs configuration3009 #type3010 is expected to eq :cross_dependency3011 #errors3012 example at ./ee/spec/lib/ee/gitlab/ci/config/entry/need_spec.rb:1223013 is expected to include "cross dependency ref should be a string"3014Atlassian::JiraConnect::Serializers::BranchEntity3015 sets the hash of the branch name as the id3016Metrics::Dashboard::CloneDashboardService3017 #execute3018 with rights to push to the repository3019 valid parameters3020 behaves like valid dashboard cloning process3021 dashboard template: config/prometheus/common_metrics.yml3022 delegates commit creation to Files::CreateService3023 user has defined custom metrics3024 uses external service to includes them into new file content3025 behaves like valid dashboard cloning process3026 dashboard template: ee/config/prometheus/cluster_metrics.yml3027 delegates commit creation to Files::CreateService3028 user has defined custom metrics3029 uses external service to includes them into new file content3030VulnerableProjectSerializer3031 #represent3032 includes counts for each severity of vulnerability3033Gitlab::Auth::GroupSaml::FailureHandler3034 calls Groups::OmniauthCallbacksController#failure for GroupSaml3035 falls back to parent on_failure handler3036Gitlab::Ci::Parsers::LicenseCompliance::LicenseScanning3037 #parse!3038 when parsing a valid v1 report3039 is expected to eql "1.0"3040 is expected to eq 43041 is expected to eql "Apache 2.0"3042 is expected to eql "http://www.apache.org/licenses/LICENSE-2.0.txt"3043 is expected to equal 13044 is expected to equal 13045 is expected to eql "thread_safe"3046 is expected to eql "MIT"3047 is expected to eql "http://opensource.org/licenses/mit-license"3048 is expected to equal 523049 is expected to equal 523050 is expected to eql "actioncable"3051 is expected to eql "New BSD"3052 is expected to eql "http://opensource.org/licenses/BSD-3-Clause"3053 is expected to equal 33054 is expected to equal 33055 is expected to contain exactly "ffi", "puma", and "sqlite3"3056 is expected to eql "unknown"3057 is expected to be nil3058 is expected to equal 13059 is expected to equal 13060 is expected to eql "ruby-bundler-rails"3061 when parsing a valid v1.1 report3062 is expected to eql "1.1"3063 is expected to eq 33064 is expected to eql "BSD-4-Clause"3065 is expected to eql "BSD"3066 is expected to eql "http://spdx.org/licenses/BSD-4-Clause.json"3067 is expected to equal 23068 is expected to equal 23069 is expected to contain exactly "b" and "c"3070 is expected to eql "MIT"3071 is expected to eql "MIT"3072 is expected to eql "http://opensource.org/licenses/mit-license"3073 is expected to equal 23074 is expected to equal 23075 is expected to contain exactly "a" and "c"3076 is expected to be nil3077 is expected to eql "unknown"3078 is expected to eql ""3079 is expected to equal 13080 is expected to equal 13081 is expected to contain exactly "d"3082 when parsing a valid v2 report3083 is expected to eql "2.0"3084 is expected to eq 33085 is expected to eql "BSD-3-Clause"3086 is expected to eql "BSD 3-Clause \"New\" or \"Revised\" License"3087 is expected to eql "http://spdx.org/licenses/BSD-3-Clause.json"3088 is expected to equal 23089 is expected to equal 23090 is expected to contain exactly "b" and "c"3091 is expected to eql "MIT"3092 is expected to eql "MIT License"3093 is expected to eql "http://spdx.org/licenses/MIT.json"3094 is expected to equal 23095 is expected to equal 23096 is expected to contain exactly "a" and "c"3097 is expected to be nil3098 is expected to eql "unknown"3099 is expected to eql ""3100 is expected to equal 13101 is expected to equal 13102 is expected to contain exactly "d"3103 when parsing a valid v2.1 report3104 is expected to eql "2.1"3105 is expected to eq 33106 parses the BSD license3107 parses the MIT license3108 parses an unknown license3109 when parsing a v2 report with a missing license definition3110 is expected to equal 13111 is expected to eql "MIT"3112 is expected to eql "unknown"3113 is expected to equal 13114 is expected to eql "saml-kit"3115 when the report version is not recognized3116 is expected to raise KeyError3117 when the report version is missing3118 is expected to eq "1.0"3119 is expected to be empty3120 when the report version is nil3121 is expected to eq "1.0"3122 is expected to be empty3123 when the report version is blank3124 is expected to eq "1.0"3125 is expected to be empty3126 when the report is structured as an array3127 is expected to be empty3128 when the report is not a valid JSON document3129 is expected to eql "1.0"3130 is expected to be empty3131API::Helpers::PackagesManagerClientsHelpers3132 #find_personal_access_token_from_http_basic_auth3133 with a valid Authorization header3134 is expected to eq #<PersonalAccessToken id: 1, user_id: 2775, name: "PAT 1", revoked: false, expires_at: "2020-06-22", ... token_digest: "WtQ2R7lF3WOsu7bwd/MQHzkchNjHAVO6D4qOy77m9YM=", expire_notification_delivered: false>3135 with an invalid Authorization header3136 headers: {:Authorization=>"Invalid"}3137 is expected to equal nil3138 headers: {}3139 is expected to equal nil3140 headers: nil3141 is expected to equal nil3142 with an unknown Authorization header3143 is expected to equal nil3144 #find_job_from_http_basic_auth3145 with a valid Authorization header3146 is expected to eq #<Ci::Build id: 159, status: "pending", finished_at: nil, trace: nil, created_at: "2020-06-17 08:50:2...up_id: nil, waiting_for_resource_at: nil, processed: false, scheduling_type: "stage", tag_list: nil>3147 with an invalid Authorization header3148 headers: {:Authorization=>"Invalid"}3149 is expected to equal nil3150 headers: {}3151 is expected to equal nil3152 headers: nil3153 is expected to equal nil3154 with an unknown Authorization header3155 is expected to equal nil3156 #find_deploy_token_from_http_basic_auth3157 with a valid Authorization header3158 is expected to eq #<DeployToken id: 1, revoked: false, read_repository: true, read_registry: true, expires_at: "2020-06... "project_type", write_registry: false, read_package_registry: false, write_package_registry: false>3159 with an invalid Authorization header3160 headers: {:Authorization=>"Invalid"}3161 is expected to equal nil3162 headers: {}3163 is expected to equal nil3164 headers: nil3165 is expected to equal nil3166 with an invalid token3167 is expected to equal nil3168 #uploaded_package_file3169 with valid uploaded package file3170 is expected to equal #<Object:0x0000558c34d1df10>3171 with invalid uploaded package file3172 fails with bad_request!3173Security::VulnerabilityCountingService#execute3174 The pipeline has security builds3175 All report types are requested3176 is expected to match (a hash including {"sast" => 33, "dast" => 20, "container_scanning" => 8, "dependency_scanning" => 4})3177 Only the report type dast is requested3178 is expected to eq {"dast"=>20}3179 The Pipeline has no security builds3180 is expected to match (a hash including {"sast" => 0, "dast" => 0, "container_scanning" => 0, "dependency_scanning" => 0})3181 performance3182 performs only one query3183compliance_management/compliance_framework/_compliance_framework_badge.html.haml3184 when show3185 renders a badge3186 when not show3187 does not render any badge3188RemoveUnreferencedLfsObjectsWorker3189 #perform3190 when running in a Geo primary node3191 logs an event to the Geo event log for every unreferenced LFS objects3192Resolvers::EpicIssuesResolver3193 #resolve3194 finds all epic issues3195 finds only epic issues that user can read3196EE::AuditEvents::ReleaseArtifactsDownloadedAuditEventService3197 #security_event3198 logs the event to file3199layouts/nav/sidebar/_admin3200 on settings3201 license with custom_file_templates feature3202 includes Templates link3203 license without custom_file_templates feature3204 does not include Templates link3205ProjectMemberPresenter3206 #group_sso?3207 returns `false`3208 #group_managed_account?3209 returns `false`3210 #can_update?3211 when user cannot update_project_member but can override_project_member3212 is expected to eq true3213 when user cannot update_project_member and cannot override_project_member3214 is expected to eq false3215EpicEntity3216 has Issuable attributes3217 has epic specific attributes3218InstanceSecurityDashboardPolicy3219 read_instance_security_dashboard3220 when the user is not logged in3221 is expected not to be allowed :read_instance_security_dashboard3222 when the user is logged in3223 is expected to be allowed :read_instance_security_dashboard3224 create_vulnerability_export3225 when the user is not logged in3226 is expected not to be allowed :create_vulnerability_export3227 when the user is logged in3228 is expected to be allowed :create_vulnerability_export3229Projects::OnDemandScansHelper3230 #on_demand_scans_data3231 returns proper data3232Gitlab::Ci::Reports::LicenseScanning::License3233 equality3234 #eql?3235 is expected to be empty3236 is expected to contain exactly #<Gitlab::Ci::Reports::LicenseScanning::License:0x0000558c2aa4c9d0 @id="MIT", @name="MIT", @url="", @dependencies=#<Set: {}>>3237 is expected to be empty3238 is expected to be empty3239 is expected to be empty3240 is expected to contain exactly #<Gitlab::Ci::Reports::LicenseScanning::License:0x0000558c2acc5bf8 @id="Apache-2.0", @name="Apache 2.0", @url="", @dependencies=#<Set: {}>>3241 is expected not to eql #<Gitlab::Ci::Reports::LicenseScanning::License:0x0000558c2ad566a8 @id="MIT", @name="MIT", @url="", @dependencies=#<Set: {}>>3242 is expected not to eql #<Gitlab::Ci::Reports::LicenseScanning::License:0x0000558c2ade22c0 @id="MIT", @name="MIT", @url="", @dependencies=#<Set: {}>>3243 is expected to eql #<Gitlab::Ci::Reports::LicenseScanning::License:0x0000558c2ae650f8 @id=nil, @name=nil, @url=nil, @dependencies=#<Set: {}>>3244 is expected not to eql #<Gitlab::Ci::Reports::LicenseScanning::License:0x0000558c2aeffc98 @id=nil, @name=nil, @url=nil, @dependencies=#<Set: {}>>3245 is expected not to eql #<Gitlab::Ci::Reports::LicenseScanning::License:0x0000558c2af8df20 @id="Apache-2.0", @name="Apache 2.0", @url="", @dependencies=#<Set: {}>>3246 is expected not to eql #<Gitlab::Ci::Reports::LicenseScanning::License:0x0000558c2b00c4b0 @id="Apache-2.0", @name="Apache 2.0", @url="", @dependencies=#<Set: {}>>3247 is expected to eql #<Gitlab::Ci::Reports::LicenseScanning::License:0x0000558c2b0a5110 @id="MIT", @name="MIT", @url="", @dependencies=#<Set: {}>>3248 is expected to eql #<Gitlab::Ci::Reports::LicenseScanning::License:0x0000558c2b13dd20 @id="MIT", @name="MIT", @url="", @dependencies=#<Set: {}>>3249 is expected not to eql #<Gitlab::Ci::Reports::LicenseScanning::License:0x0000558c2b1d1bd8 @id=nil, @name=nil, @url=nil, @dependencies=#<Set: {}>>3250 is expected not to eql #<Gitlab::Ci::Reports::LicenseScanning::License:0x0000558c2b31ce98 @id="Apache-2.0", @name="Apache 2.0", @url="", @dependencies=#<Set: {}>>3251 is expected not to eql #<Gitlab::Ci::Reports::LicenseScanning::License:0x0000558c2b35eb90 @id="Apache-2.0", @name="Apache 2.0", @url="", @dependencies=#<Set: {}>>3252 is expected to eql #<Gitlab::Ci::Reports::LicenseScanning::License:0x0000558c2b390f50 @id="MIT", @name="MIT", @url="", @dependencies=#<Set: {}>>3253 is expected to eql #<Gitlab::Ci::Reports::LicenseScanning::License:0x0000558c2b3dcb58 @id="MIT", @name="MIT", @url="", @dependencies=#<Set: {}>>3254 is expected to eql #<Gitlab::Ci::Reports::LicenseScanning::License:0x0000558c2b451fc0 @id="MIT", @name="", @url="", @dependencies=#<Set: {}>>3255 #hash3256 is expected to eql 30943412554423566723257 is expected to eql 15955285305206396173258 is expected to eql 15955285305206396173259 #canonical_id3260 when the license was produced from a v1 report3261 is expected to eql "mit license"3262 when the name matches a known legacy software license name3263 name: "AGPL-1.0", spdx_id: "AGPL-1.0"3264 is expected to eql "AGPL-1.0"3265 is expected to eql "AGPL-1.0"3266 name: "AGPL-3.0", spdx_id: "AGPL-3.0"3267 is expected to eql "AGPL-3.0"3268 is expected to eql "AGPL-3.0"3269 name: "Apache 2.0", spdx_id: "Apache-2.0"3270 is expected to eql "Apache-2.0"3271 is expected to eql "Apache-2.0"3272 name: "Artistic-2.0", spdx_id: "Artistic-2.0"3273 is expected to eql "Artistic-2.0"3274 is expected to eql "Artistic-2.0"3275 name: "BSD", spdx_id: "BSD-4-Clause"3276 is expected to eql "BSD-4-Clause"3277 is expected to eql "BSD-4-Clause"3278 name: "CC0 1.0 Universal", spdx_id: "CC0-1.0"3279 is expected to eql "CC0-1.0"3280 is expected to eql "CC0-1.0"3281 name: "CDDL-1.0", spdx_id: "CDDL-1.0"3282 is expected to eql "CDDL-1.0"3283 is expected to eql "CDDL-1.0"3284 name: "CDDL-1.1", spdx_id: "CDDL-1.1"3285 is expected to eql "CDDL-1.1"3286 is expected to eql "CDDL-1.1"3287 name: "EPL-1.0", spdx_id: "EPL-1.0"3288 is expected to eql "EPL-1.0"3289 is expected to eql "EPL-1.0"3290 name: "EPL-2.0", spdx_id: "EPL-2.0"3291 is expected to eql "EPL-2.0"3292 is expected to eql "EPL-2.0"3293 name: "GPLv2", spdx_id: "GPL-2.0"3294 is expected to eql "GPL-2.0"3295 is expected to eql "GPL-2.0"3296 name: "GPLv3", spdx_id: "GPL-3.0"3297 is expected to eql "GPL-3.0"3298 is expected to eql "GPL-3.0"3299 name: "ISC", spdx_id: "ISC"3300 is expected to eql "ISC"3301 is expected to eql "ISC"3302 name: "LGPL", spdx_id: "LGPL-3.0-only"3303 is expected to eql "LGPL-3.0-only"3304 is expected to eql "LGPL-3.0-only"3305 name: "LGPL-2.1", spdx_id: "LGPL-2.1"3306 is expected to eql "LGPL-2.1"3307 is expected to eql "LGPL-2.1"3308 name: "MIT", spdx_id: "MIT"3309 is expected to eql "MIT"3310 is expected to eql "MIT"3311 name: "Mozilla Public License 2.0", spdx_id: "MPL-2.0"3312 is expected to eql "MPL-2.0"3313 is expected to eql "MPL-2.0"3314 name: "MS-PL", spdx_id: "MS-PL"3315 is expected to eql "MS-PL"3316 is expected to eql "MS-PL"3317 name: "MS-RL", spdx_id: "MS-RL"3318 is expected to eql "MS-RL"3319 is expected to eql "MS-RL"3320 name: "New BSD", spdx_id: "BSD-3-Clause"3321 is expected to eql "BSD-3-Clause"3322 is expected to eql "BSD-3-Clause"3323 name: "Python Software Foundation License", spdx_id: "Python-2.0"3324 is expected to eql "Python-2.0"3325 is expected to eql "Python-2.0"3326 name: "ruby", spdx_id: "Ruby"3327 is expected to eql "Ruby"3328 is expected to eql "Ruby"3329 name: "Simplified BSD", spdx_id: "BSD-2-Clause"3330 is expected to eql "BSD-2-Clause"3331 is expected to eql "BSD-2-Clause"3332 name: "WTFPL", spdx_id: "WTFPL"3333 is expected to eql "WTFPL"3334 is expected to eql "WTFPL"3335 name: "Zlib", spdx_id: "Zlib"3336 is expected to eql "Zlib"3337 is expected to eql "Zlib"3338 when the license was produced from a v2 report3339 is expected to eql "MIT"3340ProjectCacheWorker3341 #perform3342 with an existing project3343 when in Geo secondary node3344 updates only non database cache3345Types::GroupType3346 is expected to have graphql field :iterations3347 is expected to have graphql field :groupTimelogsEnabled3348 is expected to have graphql field :timelogs and {:complexity=>5}3349 is expected to have graphql field :vulnerabilities3350 is expected to have graphql field :vulnerabilities_count_by_day_and_severity3351 nested epic request3352 is expected to have graphql field :epicsEnabled3353 is expected to have graphql field :epics3354 is expected to have graphql field :epic3355 timelogs field3356 finds timelogs between start time and end time3357 vulnerabilities3358 returns the vulnerabilities for all projects in the group and its subgroups3359admin/groups/_form3360 when sub group is used3361 does not render shared_runners_minutes_setting3362 when root group is used3363 does not render shared_runners_minutes_setting3364Resolvers::VulnerabilitiesHistoryResolver3365 #resolve3366 fetches historical vulnerability data from the start date to the end date3367 when given more than 10 days3368 raises an error stating that no more than 10 days can be requested3369gitlab:license namespace rake tasks3370 load3371 works when no license to be installed3372 when GITLAB_LICENSE_FILE env variable is set3373 fails when the file does not exist3374 when the file does exist3375 and contains a valid license3376 succeeds in adding the license3377 but does not contain a valid license3378 fails to add the license3379 running in mode verbose3380 outputs a the help message3381Packages::Nuget::SyncMetadatumService3382 #execute3383 creates a nuget metadatum3384 behaves like saving metadatum attributes3385 saves nuget metadatum3386 with exisiting nuget metadatum3387 does not create a nuget metadatum3388 behaves like saving metadatum attributes3389 saves nuget metadatum3390 with empty metadata3391 destroys the nuget metadatum3392GroupWikiRepository3393 associations3394 is expected to belong to shard required:3395 is expected to belong to group required:3396 validations3397 is expected to validate that :shard cannot be empty/falsy3398 is expected to validate that :group cannot be empty/falsy3399 is expected to validate that :disk_path cannot be empty/falsy3400 uniqueness3401 is expected to validate that :group is case-sensitively unique3402 is expected to validate that :disk_path is case-sensitively unique3403Notes::DestroyService3404 #execute3405 refresh analytics comment data3406 invokes forced Analytics::RefreshCommentsData3407 publish to status page3408 triggers status page publish3409DependencyProxy::FindOrCreateBlobService3410 no cache3411 downloads blob from remote registry if there is no cached one3412 cached blob3413 uses cached blob instead of downloading one3414 no such blob exists remotely3415 returns error message and http status3416Gitlab::IpRestriction::Enforcer3417 #allows_current_ip?3418 without restriction3419 is expected to be truthy3420 with restriction3421 address is within one of the ranges3422 is expected to be truthy3423 address is outside all of the ranges3424 is expected to be falsey3425 feature is disabled3426 is expected to be truthy3427LdapSyncWorker3428 #perform3429 with the default license key3430 syncs all LDAP users3431 without a license key3432 does not sync LDAP users3433Keys::CreateService3434 creates3435Gitlab::PaginationDelegate3436 no data3437 shows the correct total count3438 shows the correct total pages3439 shows the correct next page3440 shows the correct previous page3441 shows the correct current page3442 shows the correct limit value3443 shows the correct first page3444 shows the correct last page3445 shows the correct offset3446 with data3447 shows the correct total count3448 shows the correct total pages3449 shows the correct next page3450 shows the correct previous page3451 shows the correct current page3452 shows the correct limit value3453 shows the correct first page3454 shows the correct last page3455 shows the correct offset3456 last page3457 shows the correct total count3458 shows the correct total pages3459 shows the correct next page3460 shows the correct previous page3461 shows the correct current page3462 shows the correct limit value3463 shows the correct first page3464 shows the correct last page3465 shows the correct offset3466 limits and defaults3467 has a maximum limit per page3468 has a default per page3469 has a maximum page3470Packages::Dependency3471 relationships3472 is expected to have many dependency_links3473 validations3474 is expected to validate that :name cannot be empty/falsy3475 is expected to validate that :version_pattern cannot be empty/falsy3476 is expected to validate that :name is case-sensitively unique within the scope of :version_pattern3477 .ids_for_package_names_and_version_patterns3478 is expected to contain exactly 38 and 393479 with unknown names3480 is expected to be empty3481 with unknown version patterns3482 is expected to be empty3483 with a name bigger than column size3484 is expected to contain exactly 38 and 393485 with a version pattern bigger than column size3486 is expected to contain exactly 38 and 393487 with too big parameter3488 is expected to raise ArgumentError with "Too many names_and_version_patterns"3489 with parameters size3490 above the chunk size3491 is expected to contain exactly 38, 39, 40, 41, 42, 43, and 443492 selecting too many rows3493 is expected to raise ArgumentError with "Too many Dependencies selected"3494 .for_package_names_and_version_patterns3495 is expected to contain exactly #<Packages::Dependency id: 45, name: "foo", version_pattern: "~1.0.0"> and #<Packages::Dependency id: 46, name: "bar", version_pattern: "~2.5.0">3496 with unknown names3497 is expected to be empty3498 with unknown version patterns3499 is expected to be empty3500LinkedFeatureFlagIssueEntity3501 #as_json3502 returns json3503ScimOauthAccessToken3504 Associations3505 is expected to belong to group required:3506 Validations3507 is expected to validate that :group cannot be empty/falsy3508 .token_matches_for_group?3509 finds the token3510 #token3511 generates a token on creation3512StatusPage::UnpublishDetailsService3513 #execute3514 when deletion succeeds3515 removes files from the CDN (incident first)3516 returns service success3517 untracks the issue3518 when delete fails due to exception3519 when json delete fails3520 propagates the exception3521 when image delete fails3522 propagates the exception3523 when status page setting is not enabled3524 returns feature not available error3525LinkedProjectIssueEntity3526 issue_link_type3527 is expected to include {:link_type => "relates_to"}3528RecaptchaExperimentHelper3529 .show_recaptcha_sign_up?3530 when reCAPTCHA is disabled3531 returns false3532 when reCAPTCHA is enabled3533 and experiment_growth_recaptcha has not been set3534 returns true3535 and experiment_growth_recaptcha has been set3536 flipper_session_id: "00687625-667c-480c-ae2a-9bf861ddd909", expected_result: true3537 returns expected_result3538 flipper_session_id: "b8b78156-f7b8-4bf4-b906-06a899b84ea3", expected_result: false3539 returns expected_result3540 flipper_session_id: "e622a262-6e48-41ba-b19f-2d91c24f17a3", expected_result: true3541 returns expected_result3542 flipper_session_id: "d2c0aae1-bc08-4000-bbb2-0dd2802f67e2", expected_result: false3543 returns expected_result3544StatusPage::PublishWorker3545 #perform3546 behaves like an idempotent worker3547 is labeled as idempotent3548 performs multiple times sequentially without raising an exception3549 when service succeeds3550 execute the service3551 with unknown project3552 does not execute the service3553 when service returns an error3554 succeeds and logs the error3555 when service raises an exception3556 re-raises exception3557Projects::Licenses::CreatePolicyService3558 #execute3559 when creating a policy for a software license by the software license database id3560 creates a new policy3561 when creating a policy for a software license by the software license SPDX identifier3562 creates a new policy3563 when the software license is not specified3564 returns an error3565 when the classification is invalid3566 returns an error3567LicenseHelper3568 #api_license_url3569 returns license API url3570 returns license API url with relative url3571 #current_active_user_count3572 when there is a license3573 returns License#current_active_users_count3574 when there is NOT a license3575 returns the number of active users3576 #guest_user_count3577 returns the number of active guest users3578 #maximum_user_count3579 when current license is set3580 returns the maximum_user_count for the current license3581 when current license is not set3582 returns 03583 #current_license_title3584 when there is a current license3585 returns the plan titleized if it has a plan associated to it3586 returns the default title if it does not have a plan associated to it3587 when there is NOT a current license3588 returns the default title3589 #seats_calculation_message3590 with a license3591 and guest are excluded from the active count3592 returns a tag with the message3593 and guest are NOT excluded from the active count3594 returns nil3595 when the license is blank3596 returns nil3597ComplianceManagement::ComplianceFramework::ProjectSettingsHelper3598 #compliance_framework_options3599 has all the options3600 #compliance_framework_checkboxes3601 has all the checkboxes3602 #compliance_framework_description3603 framework: :gdpr, description: "GDPR - General Data Protection Regulation"3604 is expected to eq "GDPR - General Data Protection Regulation"3605 framework: :hipaa, description: "HIPAA - Health Insurance Portability and Accountability Act"3606 is expected to eq "HIPAA - Health Insurance Portability and Accountability Act"3607 framework: :pci_dss, description: "PCI-DSS - Payment Card Industry-Data Security Standard"3608 is expected to eq "PCI-DSS - Payment Card Industry-Data Security Standard"3609 framework: :soc_2, description: "SOC 2 - Service Organization Control 2"3610 is expected to eq "SOC 2 - Service Organization Control 2"3611 framework: :sox, description: "SOX - Sarbanes-Oxley"3612 is expected to eq "SOX - Sarbanes-Oxley"3613 #compliance_framework_title3614 framework: :gdpr, title: "GDPR"3615 is expected to eq "GDPR"3616 framework: :hipaa, title: "HIPAA"3617 is expected to eq "HIPAA"3618 framework: :pci_dss, title: "PCI-DSS"3619 is expected to eq "PCI-DSS"3620 framework: :soc_2, title: "SOC 2"3621 is expected to eq "SOC 2"3622 framework: :sox, title: "SOX"3623 is expected to eq "SOX"3624 #compliance_framework_color3625 framework: :gdpr, color: "gl-bg-green-500"3626 is expected to eq "gl-bg-green-500"3627 framework: :hipaa, color: "gl-bg-blue-500"3628 is expected to eq "gl-bg-blue-500"3629 framework: :pci_dss, color: "gl-bg-theme-indigo-500"3630 is expected to eq "gl-bg-theme-indigo-500"3631 framework: :soc_2, color: "gl-bg-red-500"3632 is expected to eq "gl-bg-red-500"3633 framework: :sox, color: "gl-bg-orange-500"3634 is expected to eq "gl-bg-orange-500"3635 #compliance_framework_tooltip3636 framework: :gdpr, tooltip: "This project is regulated by GDPR."3637 is expected to eq "This project is regulated by GDPR."3638 framework: :hipaa, tooltip: "This project is regulated by HIPAA."3639 is expected to eq "This project is regulated by HIPAA."3640 framework: :pci_dss, tooltip: "This project is regulated by PCI-DSS."3641 is expected to eq "This project is regulated by PCI-DSS."3642 framework: :soc_2, tooltip: "This project is regulated by SOC 2."3643 is expected to eq "This project is regulated by SOC 2."3644 framework: :sox, tooltip: "This project is regulated by SOX."3645 is expected to eq "This project is regulated by SOX."3646Packages::Nuget::PackageMetadataPresenter3647 #json_url3648 is expected to end with "/api/v4/projects/1048/packages/nuget/metadata/NugetPackage23/1.0.23.json"3649 #archive_url3650 is expected to end with "/api/v4/projects/1048/packages/nuget/download/NugetPackage23/1.0.23/NugetPackage23.1.0.23.nupkg"3651 #catalog_entry3652 returns an entry structure3653Licenses::DestroyService3654 destroys a license3655 raises an error if license is nil3656 raises an error if the user is not an admin3657Gitlab::Ci::Parsers::Metrics::Generic3658 #parse!3659 when data is sample metrics report3660 parses without error3661 parses all metrics3662 when string data has comments3663 parses without error3664 does not parse comments3665 when string data has metrics with labels3666 parses without error3667 parses the metric with labels3668 stores the labels with the metric name3669 when string data has metrics with multiple values3670 parses without error3671 parses the metric with multiple values3672 stores only the first metric value3673 when string data has an incomplete metric3674 when the incomplete metric does not have a value3675 parses without error3676 does not parse the metric3677 when the incomplete metric is an empty line3678 parses without error3679 does not parse the metric3680HooksHelper3681 #link_to_test_hook3682 returns group namespaced link3683API::Helpers::PackagesHelpers3684 authorize_packages_access!3685 authorizes packages access3686 authorize_packages_feature!3687 with feature enabled3688 doesn't call forbidden!3689 with feature disabled3690 calls forbidden!3691 authorize_read_package!3692 calls authorize!3693 authorize_create_package!3694 calls authorize!3695 authorize_destroy_package!3696 calls authorize!3697 require_packages_enabled!3698 with packages enabled3699 doesn't call not_found!3700 with package disabled3701 calls not_found!3702 #authorize_workhorse!3703 authorizes workhorse3704 without length3705 authorizes workhorse3706 #authorize_upload!3707 authorizes the upload3708Gitlab::Insights::ProjectInsightsConfig3709 filtering out invalid config entries3710 does not include invalid entry3711 does not show notice text3712 when no projects.only filter present3713 does not change the config3714 clones the original config3715 when not included in the projcts.only filter3716 by project id3717 filters out the chart3718 does not have a notice text3719 by project full path3720 filters out the chart3721 when included in projects.only filter3722 by project id3723 includes the chart3724 does not have notice text3725 by project full path3726 filters out the chart3727 when all charts are excluded3728 returns an empty hash3729ClustersHelper3730 #has_multiple_clusters?3731 project level3732 behaves like feature availablilty3733 feature unavailable3734 is expected to be truthy3735 feature available3736 is expected to be falsey3737 group level3738 behaves like feature availablilty3739 feature unavailable3740 is expected to be truthy3741 feature available3742 is expected to be falsey3743 #show_cluster_health_graphs?3744 project level3745 behaves like feature availablilty3746 feature unavailable3747 is expected to be truthy3748 feature available3749 is expected to be falsey3750 group level3751 behaves like feature availablilty3752 feature unavailable3753 is expected to be truthy3754 feature available3755 is expected to be falsey3756Gitlab::Kubernetes::Deployment3757 #name3758 is expected to eq :selected3759 #labels3760 is expected to eq :selected3761 #outdated?3762 when outdated3763 is expected to be truthy3764 when up to date3765 is expected to be falsy3766 when ahead of latest3767 is expected to be falsy3768 #instances3769 when unnamed3770 returns all pods with generated names and pending3771 when number of pods is less than wanted replicas3772 returns not spawned pods as pending and unknown and running3773 when outdated3774 returns all instances as named and waiting3775 with pods of each type3776 returns all instances3777 with track label3778 when marked as stable3779 returns all instances3780 when marked as canary3781 returns all instances3782EE::PackagesHelper3783 package_registry_instance_url3784 returns conant instance url when registry_type is conant3785 returns npm instance url when registry_type is npm3786 package_registry_project_url3787 returns maven registry url when registry_type is not provided3788 returns specified registry url when registry_type is provided3789 pypi_registry_url3790 returns the pypi registry url3791 packages_coming_soon_enabled?3792 returns false when the feature flag is disabled3793 returns false when not on dev or gitlab.com3794 packages_coming_soon_data3795 returns the gitlab project on gitlab.com3796 returns the test project when not on gitlab.com3797 works correctly with a group3798Packages::SemVer3799 #parse3800 behaves like #parse with a valid semver3801 with 1.0.03802 returns v1.0.0 with prefix3803 returns 1.0.0 without prefix3804 behaves like #parse with a valid semver3805 with 1.0.0-pre3806 returns v1.0.0-pre with prefix3807 returns 1.0.0-pre without prefix3808 behaves like #parse with a valid semver3809 with 1.0.0+build3810 returns v1.0.0+build with prefix3811 returns 1.0.0+build without prefix3812 behaves like #parse with a valid semver3813 with 1.0.0-pre+build3814 returns v1.0.0-pre+build with prefix3815 returns 1.0.0-pre+build without prefix3816 behaves like #parse with an invalid semver3817 with 01.0.03818 returns nil with prefix3819 returns nil without prefix3820 behaves like #parse with an invalid semver3821 with 0.01.03822 returns nil with prefix3823 returns nil without prefix3824 behaves like #parse with an invalid semver3825 with 0.0.013826 returns nil with prefix3827 returns nil without prefix3828 behaves like #parse with an invalid semver3829 with 1.0.0asdf3830 returns nil with prefix3831 returns nil without prefix3832HistoricalDataWorker3833 #perform3834 with a trial license3835 does not track historical data3836 with a non trial license3837 tracks historical data3838 when there is not a license key3839 does not track historical data3840Gitlab::PathRegex3841 .container_image_regex3842 is expected to match "gitlab-foss"3843 is expected to match "gitlab_foss"3844 is expected to match "gitlab-org/gitlab-foss"3845 is expected to match "100px.com/100px.ruby"3846 only matches at most one slash3847 does not match other non-word characters3848 .container_image_blob_sha_regex3849 is expected to match "sha256:asdf1234567890ASDF"3850 is expected to match "foo:123"3851 is expected to match "a12bc3f590szp"3852 is expected not to match ""3853 does not match malicious characters3854Elastic::Latest::Routing3855 #search3856 calls routing_options with empty hash3857 calls routing_options with correct routing3858 #routing_options3859 returns correct options for project_id3860 returns correct options for repository_id3861 returns correct options for project_ids3862 returns empty hash when provided an empty array3863 returns empty hash when provided :any to project_ids3864 returns empty hash when public projects flag is passed3865 uses project_ids rather than repository_id when both are supplied3866 returns empty hash when there are too many project_ids3867NotificationSetting3868 .email_events3869 group3870 appends EE specific events3871 project3872 returns CE list3873 global3874 appends EE specific events3875Vulnerabilities::UserNotesCountService3876 behaves like a counter caching service3877 #count3878 caches the count3879 #refresh_cache3880 refreshes the cache3881 #delete_cache3882 removes the cache3883 #uncached_count3884 does not cache the count3885BoardLabel3886 validations3887 is expected to validate that :board cannot be empty/falsy3888 is expected to validate that :label cannot be empty/falsy3889 associations3890 is expected to belong to label required:3891LfsObject3892 #destroy3893 when running in a Geo primary node3894 logs an event to the Geo event log3895Gitlab::Auth::Ldap::Adapter3896 includes the EE module3897 #groups3898 searches with the proper options3899 returns a group object if search returns a result3900 #filter_search3901 searches with the proper options3902 errors out with an invalid filter3903 #user_by_certificate_assertion3904 searches with the proper options3905 return value3906 returns a person object3907 returns correct attributes3908ProjectRepositoryState3909 assocations3910 is expected to belong to project required: inverse_of => repository_state3911 validations3912 is expected to validate that :project cannot be empty/falsy3913 is expected to validate that :project is case-sensitively unique3914Atlassian::JiraIssueKeyExtractor3915 .has_keys?3916 when string contains Jira issue keys3917 is expected to eq true3918 when string does not contain Jira issue keys3919 is expected to eq false3920 #issue_keys3921 returns all valid Jira issue keys3922 when multiple strings are passed in3923 returns all valid Jira issue keys in any of those string3924AuditEventsHelper3925 #human_text3926 when message consist of hash keys3927 ignores keys that start with start with author_, or target_3928 when details contain custom message3929 returns custom message3930 #select_keys3931 returns empty string if key starts with author_3932 returns empty string if key starts with target_3933 returns empty string if key is ip_address and the value is blank3934 returns formatted text if key is ip_address and the value is not blank3935 returns formatted text if key does not start with author_, or target_3936 returns formatted text with `never expires` if key is expiry_from and the value is blank3937 returns formatted text with `never expires` if key is expiry_to and the value is blank3938Elastic::MultiVersionClassProxy3939 #version3940 returns class proxy in specified version3941 repository3942 returns class proxy in specified version3943 method forwarding3944 forwards methods which should touch all write targets3945 forwards read methods to only reading target3946 does not forward write methods which should touch specific version3947GithubService::RemoteProject3948 #api_url3949 uses github.com API endpoint3950 when git repo mirror URL is used3951 excludes auth token set as username3952 for a custom host3953 is extracted from the url3954 #owner3955 is extracted from the url3956 #repository_name3957 is extracted from the url3958 when https git URL is used3959 doesn't include '.git' at the end3960 when project sub-route accidentally used3961 ignores the sub-route3962BoardAssignee3963 relationships3964 is expected to belong to board required:3965 is expected to belong to assignee class_name => User required:3966 validations3967 is expected to validate that :board cannot be empty/falsy3968 is expected to validate that :assignee cannot be empty/falsy3969Gitlab::ImportExport::Project::TreeSaver3970 with JSON3971 behaves like EE saves project tree successfully3972 epics3973 has epic_issue3974 has epic3975 does not have epic_id3976 does not have issue_id3977 with NDJSON3978 behaves like EE saves project tree successfully3979 epics3980 has epic_issue3981 has epic3982 does not have epic_id3983 does not have issue_id3984Gitlab::Analytics::CycleAnalytics::StageEvents::IssueLabelRemoved3985 behaves like cycle analytics event3986 is expected to be a kind of String3987 is expected to be a kind of Symbol3988 is expected to include ApplicationRecord(abstract)3989 is expected to respond to #timestamp_projection3990 #apply_query_customization3991 expects an ActiveRecord::Relation object as argument and returns a modified version of it3992Gitlab::Auth::GroupSaml::SsoState3993 #update_active3994 updates the current sign in state3995 #active?3996 gets the current sign in state3997 #active_since?3998 is always active in a sessionless request3999 is inactive if never signed in4000 is active if signed in since the cut off4001 is inactive if signed in before the cut off4002Ci::Minutes::Context4003 delegation4004 is expected to delegate #shared_runners_remaining_minutes_below_threshold? to the #level object4005 is expected to delegate #shared_runners_minutes_used? to the #level object4006 is expected to delegate #shared_runners_minutes_limit_enabled? to the #level object4007 is expected to delegate #namespace_name to the #namespace object as #name4008 is expected to delegate #last_ci_minutes_usage_notification_level to the #namespace object4009GroupMemberPresenter4010 #group_sso?4011 calls through to User#group_sso?4012 #group_managed_account?4013 when user is part of the group managed account4014 returns `true`4015 when user is not part of the group managed account4016 returns `false`4017 #can_update?4018 when user cannot update_group_member but can override_group_member4019 is expected to eq true4020 when user cannot update_group_member and cannot override_group_member4021 is expected to eq false4022Gitlab::Template::GitlabCiYmlTemplate4023 .all4024 finds the Security Products templates4025 finds all the Verify templates4026Constraints::JiraEncodedUrlConstrainer4027 #matches?4028 when there is no /-/jira prefix and no encoded slash4029 is expected to eq false4030 when tree path contains encoded slash4031 is expected to eq false4032 when path has /-/jira prefix4033 is expected to eq true4034 when project_id has encoded slash4035 is expected to eq true4036LdapAllGroupsSyncWorker4037 #perform4038 with the default license key4039 syncs all groups when group_id is nil4040 without a license key4041 does not sync all groups4042Gitlab::Analytics::CycleAnalytics::StageEvents::IssueLastEdited4043 behaves like cycle analytics event4044 is expected to be a kind of String4045 is expected to be a kind of Symbol4046 is expected to include ApplicationRecord(abstract)4047 is expected to respond to #timestamp_projection4048 #apply_query_customization4049 expects an ActiveRecord::Relation object as argument and returns a modified version of it4050EE::FlipperSessionHelper4051 .flipper_session4052 when a FlipperSession has not be previously set4053 returns an instance of FlipperSession4054 sets a predictable FlipperSession id to session4055 when a FlipperSession has been previously set4056 returns a FlipperSession with the same ID4057Gitlab::Insights::Serializers::Chartjs::BarSerializer4058 returns the correct format4059 wrong input formats4060 input: []4061 raises an error if the input is not in the correct format4062 input: [1, 2, 3]4063 raises an error if the input is not in the correct format4064 input: {:a=>:b}4065 raises an error if the input is not in the correct format4066Packages::Pypi::PackagePresenter4067 #body4068 behaves like pypi package presenter4069 is expected to include "<a href=\"http://localhost/api/v4/projects/1057/packages/pypi/files/440e5e148a25331bbd7991575f7d5493...0ebf6cc735a18ee5066ac1381bb590\" data-requires-python=\">=2.7\">sample-project-1.0.0.tar.gz</a><br>"4070 behaves like pypi package presenter4071 is expected to include "<a href=\"http://localhost/api/v4/projects/1057/packages/pypi/files/440e5e148a25331bbd7991575f7d5493...0ebf6cc735a18ee5066ac1381bb590\" data-requires-python=\">=2.7\">sample-project-2.0.0.tar.gz</a><br>"4072Gitlab::IpAddressState4073 .with4074 saves IP address4075 clears IP address after execution4076 clears IP address after execution even when exception occurred4077 .set_address4078 saves IP address4079 .nullify_address4080 clears IP address4081Types::IssueType4082 is expected to have graphql field :epic4083 is expected to have graphql field :iteration4084 is expected to have graphql field :weight4085 is expected to have graphql field :health_status4086Gitlab::UsageCounters::PodLogs4087 behaves like a usage counter4088 .increment4089 intializes and increments the counter for the project by 14090 .usage_totals4091 when the feature has not been used4092 returns the total counts and counts per project4093 when the feature has been used in multiple projects4094 returns the total counts and counts per project4095NetworkPolicies::DeleteResourceService4096 #execute4097 deletes resource from the deployment namespace and returns success response4098 without deployment_platform4099 returns error response4100 with Kubeclient::HttpError4101 returns error response4102NotesHelper4103 #notes_url4104 for vulnerability4105 return vulnerability notes path for vulnerability4106 #discussions_path4107 for vulnerability4108 is expected to eq "/namespace1092/project1046/-/security/vulnerabilities/24/discussions.json"4109MergeRequestSerializer4110 compliance_dashboard merge request serialization4111 includes compliance_dashboard attributes4112Gitlab::Proxy4113 .detect_proxy4114 without any existing proxies4115 returns an empty array4116 with existing proxies4117 returns a list of existing proxies4118Elastic::Latest::ProjectWikiInstanceProxy4119 #elastic_search_as_wiki_page4120 provides repository_id if not provided4121 uses provided repository_id4122Types::SecurityReportSummarySectionType4123 is expected to eq "SecurityReportSummarySection"4124 has specific fields4125Gitlab::Ci::Reports::Metrics::Report4126 #add_metric4127 stores given metric4128 correctly stores metric params4129Gitlab::Audit::Levels::Instance4130 #apply4131 finds all events4132Ci::Processable4133 delegations4134 is expected to delegate #merge_train_pipeline? to the #pipeline object4135Gitlab::Insights::Serializers::Chartjs::LineSerializer4136 returns the correct format4137EE::UserProjectAccessChangedService4138 #execute4139 sticks all the updated users and returns the original result4140AuditLogsHelper4141 #admin_audit_log_token_types4142 returns the available tokens4143Types::VulnerabilityLocation::SastType4144 is expected to have graphql fields :end_line, :file, :start_line, :vulnerable_class, and :vulnerable_method4145Types::VulnerabilityLocation::SecretDetectionType4146 is expected to have graphql fields :end_line, :file, :start_line, :vulnerable_class, and :vulnerable_method4147Types::VulnerabilitiesCountByDayAndSeverityType4148 is expected to have graphql fields :count, :day, and :severity4149Resolvers::InstanceSecurityDashboardResolver4150 #resolve4151 is expected to be a kind of InstanceSecurityDashboard4152Types::BoardType4153 includes the ee specific fields4154Knapsack report was generated. Preview:4155{4156 "ee/spec/models/approval_state_spec.rb": 147.6080822944641,4157 "ee/spec/tasks/gitlab/seed/group_seed_rake_spec.rb": 76.33091950416565,4158 "ee/spec/models/merge_request_spec.rb": 34.56441378593445,4159 "ee/spec/serializers/ee/job_entity_spec.rb": 31.71428608894348,4160 "ee/spec/models/epic_spec.rb": 24.340941667556763,4161 "ee/spec/models/merge_request/blocking_spec.rb": 16.37295913696289,4162 "ee/spec/views/admin/application_settings/_elasticsearch_form.html.haml_spec.rb": 15.65917420387268,4163 "ee/spec/models/merge_request_block_spec.rb": 10.491483449935913,4164 "ee/spec/models/ee/protected_ref_access_spec.rb": 11.845224142074585,4165 "ee/spec/lib/gitlab/code_owners/loader_spec.rb": 8.100481271743774,4166 "ee/spec/policies/note_policy_spec.rb": 9.396335363388062,4167 "ee/spec/serializers/vulnerabilities/finding_entity_spec.rb": 11.519428730010986,4168 "ee/spec/services/ee/boards/issues/list_service_spec.rb": 6.747765302658081,4169 "ee/spec/models/vulnerabilities/feedback_spec.rb": 6.084867477416992,4170 "ee/spec/views/layouts/nav/sidebar/_group.html.haml_spec.rb": 5.044736623764038,4171 "ee/spec/services/security/waf_anomaly_summary_service_spec.rb": 6.322851896286011,4172 "ee/spec/lib/pseudonymizer/pager_spec.rb": 6.496468544006348,4173 "ee/spec/models/analytics/cycle_analytics/group_level_spec.rb": 5.2742087841033936,4174 "ee/spec/services/epic_links/destroy_service_spec.rb": 3.7955474853515625,4175 "ee/spec/models/concerns/elastic/merge_request_spec.rb": 9.255721807479858,4176 "ee/spec/lib/ee/gitlab/import_export/group/legacy_tree_restorer_spec.rb": 3.974954843521118,4177 "ee/spec/graphql/mutations/merge_requests/set_assignees_spec.rb": 3.7916955947875977,4178 "ee/spec/services/packages/nuget/update_package_from_metadata_service_spec.rb": 4.773845434188843,4179 "ee/spec/models/path_lock_spec.rb": 3.994401454925537,4180 "ee/spec/models/status_page/project_setting_spec.rb": 3.6434872150421143,4181 "ee/spec/presenters/packages/npm/package_presenter_spec.rb": 2.331695318222046,4182 "ee/spec/workers/elastic_batch_project_indexer_worker_spec.rb": 2.0860671997070312,4183 "ee/spec/lib/ee/audit/project_changes_auditor_spec.rb": 2.8353888988494873,4184 "ee/spec/services/security/dependency_list_service_spec.rb": 1.9515876770019531,4185 "ee/spec/models/project_services/github_service/status_message_spec.rb": 2.3348007202148438,4186 "ee/spec/presenters/packages/conan/package_presenter_spec.rb": 2.5505008697509766,4187 "ee/spec/lib/gitlab/ci/templates/license_scanning_gitlab_ci_yaml_spec.rb": 1.3426690101623535,4188 "ee/spec/services/group_saml/group_managed_accounts/transfer_membership_service_spec.rb": 2.349541187286377,4189 "ee/spec/services/ee/system_notes/merge_train_service_spec.rb": 2.0953733921051025,4190 "ee/spec/finders/packages/maven/package_finder_spec.rb": 2.122328758239746,4191 "ee/spec/graphql/mutations/pipelines/run_dast_scan_spec.rb": 1.3875699043273926,4192 "ee/spec/services/update_build_minutes_service_spec.rb": 1.407499074935913,4193 "ee/spec/serializers/vulnerability_note_entity_spec.rb": 2.148928642272949,4194 "ee/spec/presenters/ee/clusters/cluster_presenter_spec.rb": 1.8129494190216064,4195 "ee/spec/services/security/report_summary_service_spec.rb": 0.9470889568328857,4196 "ee/spec/services/ee/event_create_service_spec.rb": 1.2926597595214844,4197 "ee/spec/services/group_saml/identity/destroy_service_spec.rb": 1.8698041439056396,4198 "ee/spec/services/ee/users/update_service_spec.rb": 1.206367015838623,4199 "ee/spec/graphql/mutations/issues/update_spec.rb": 1.105715036392212,4200 "ee/spec/lib/ee/api/helpers/scim_pagination_spec.rb": 1.1254289150238037,4201 "ee/spec/models/approval_wrapped_any_approver_rule_spec.rb": 1.3517677783966064,4202 "ee/spec/serializers/dependency_list_entity_spec.rb": 1.2125933170318604,4203 "ee/spec/services/projects/mark_for_deletion_service_spec.rb": 0.8654942512512207,4204 "ee/spec/serializers/issuable_sidebar_extras_entity_spec.rb": 0.9911630153656006,4205 "ee/spec/services/issues/export_csv_service_spec.rb": 1.201899766921997,4206 "ee/spec/lib/gitlab/auth/smartcard/san_extension_spec.rb": 1.0531024932861328,4207 "ee/spec/models/historical_data_spec.rb": 1.1498048305511475,4208 "ee/spec/services/ci/expire_pipeline_cache_service_spec.rb": 0.8410656452178955,4209 "ee/spec/serializers/project_mirror_entity_spec.rb": 1.1092443466186523,4210 "ee/spec/models/project_feature_usage_spec.rb": 1.4306390285491943,4211 "ee/spec/lib/gitlab/ci/parsers/security/scanned_resources_spec.rb": 1.0225045680999756,4212 "ee/spec/helpers/search_helper_spec.rb": 1.2136180400848389,4213 "ee/spec/helpers/ee/tree_helper_spec.rb": 0.4005286693572998,4214 "ee/spec/lib/ee/api/helpers/notes_helpers_spec.rb": 0.696047306060791,4215 "ee/spec/helpers/ee/labels_helper_spec.rb": 0.8237099647521973,4216 "ee/spec/policies/vulnerability_policy_spec.rb": 0.8439109325408936,4217 "ee/spec/services/packages/maven/create_package_service_spec.rb": 1.0570790767669678,4218 "ee/spec/lib/elastic/multi_version_instance_proxy_spec.rb": 1.228924036026001,4219 "ee/spec/services/groups/destroy_service_spec.rb": 0.682856559753418,4220 "ee/spec/services/vulnerability_issue_links/delete_service_spec.rb": 1.226804494857788,4221 "ee/spec/policies/identity_provider_policy_spec.rb": 0.5614480972290039,4222 "ee/spec/models/concerns/ee/weight_eventable_spec.rb": 1.007847785949707,4223 "ee/spec/workers/new_epic_worker_spec.rb": 0.7512524127960205,4224 "ee/spec/graphql/mutations/instance_security_dashboard/add_project_spec.rb": 0.647700309753418,4225 "ee/spec/finders/security/vulnerability_findings_finder_spec.rb": 0.5470945835113525,4226 "ee/spec/views/layouts/application.html.haml_spec.rb": 1.0471320152282715,4227 "ee/spec/services/ee/git/wiki_push_service_spec.rb": 0.7653782367706299,4228 "ee/spec/models/ee/project_group_link_spec.rb": 0.6754176616668701,4229 "ee/spec/models/jira_connect_installation_spec.rb": 0.6320216655731201,4230 "ee/spec/services/ee/system_notes/vulnerabilities_service_spec.rb": 0.5069453716278076,4231 "ee/spec/models/project_services/hipchat_service_spec.rb": 0.506324291229248,4232 "ee/spec/lib/gitlab/spdx/catalogue_gateway_spec.rb": 0.4304978847503662,4233 "ee/spec/lib/atlassian/jira_connect/serializers/repository_entity_spec.rb": 0.5322976112365723,4234 "ee/spec/policies/saml_provider_policy_spec.rb": 0.46897268295288086,4235 "ee/spec/lib/gitlab/user_access_spec.rb": 0.3220405578613281,4236 "ee/spec/lib/gitlab/ci/pipeline/chain/limit/activity_spec.rb": 0.6404314041137695,4237 "ee/spec/lib/audit/changes_spec.rb": 0.35448765754699707,4238 "ee/spec/models/ee/system_note_metadata_spec.rb": 0.6834518909454346,4239 "ee/spec/services/projects/hashed_storage/migrate_repository_service_spec.rb": 0.6155011653900146,4240 "ee/spec/services/status_page/publish_service_spec.rb": 0.3460409641265869,4241 "ee/spec/workers/adjourned_project_deletion_worker_spec.rb": 0.4169938564300537,4242 "ee/spec/uploaders/dependency_proxy/file_uploader_spec.rb": 0.5357677936553955,4243 "ee/spec/services/metrics/dashboard/cluster_dashboard_service_spec.rb": 0.43791770935058594,4244 "ee/spec/lib/ee/api/entities/scim/users_spec.rb": 0.400820255279541,4245 "ee/spec/models/ci/sources/project_spec.rb": 0.404329776763916,4246 "ee/spec/models/container_registry/event_spec.rb": 0.17166519165039062,4247 "ee/spec/serializers/feature_flag_summary_entity_spec.rb": 0.3548262119293213,4248 "ee/spec/lib/ee/gitlab/ci/config/entry/need_spec.rb": 0.6658656597137451,4249 "ee/spec/lib/atlassian/jira_connect/serializers/branch_entity_spec.rb": 0.2678234577178955,4250 "ee/spec/services/metrics/dashboard/clone_dashboard_service_spec.rb": 0.5143921375274658,4251 "ee/spec/serializers/vulnerable_project_serializer_spec.rb": 0.30100226402282715,4252 "ee/spec/lib/gitlab/auth/group_saml/failure_handler_spec.rb": 0.38779401779174805,4253 "ee/spec/lib/gitlab/ci/parsers/license_compliance/license_scanning_spec.rb": 0.31710314750671387,4254 "ee/spec/lib/api/helpers/packages_manager_clients_helpers_spec.rb": 0.3004724979400635,4255 "ee/spec/services/security/vulnerability_counting_service_spec.rb": 0.34352970123291016,4256 "ee/spec/views/compliance_management/compliance_framework/_compliance_framework_badge.html.haml_spec.rb": 0.14947080612182617,4257 "ee/spec/workers/remove_unreferenced_lfs_objects_worker_spec.rb": 0.5428199768066406,4258 "ee/spec/graphql/resolvers/epic_issues_resolver_spec.rb": 0.2641267776489258,4259 "ee/spec/services/ee/audit_events/release_artifacts_downloaded_audit_event_service_spec.rb": 0.3584253787994385,4260 "ee/spec/views/layouts/nav/sidebar/_admin.html.haml_spec.rb": 0.22412467002868652,4261 "ee/spec/presenters/project_member_presenter_spec.rb": 0.011704206466674805,4262 "ee/spec/serializers/epic_entity_spec.rb": 0.31126856803894043,4263 "ee/spec/policies/instance_security_dashboard_policy_spec.rb": 0.26336002349853516,4264 "ee/spec/helpers/projects/on_demand_scans_helper_spec.rb": 0.20254015922546387,4265 "ee/spec/lib/gitlab/ci/reports/license_scanning/license_spec.rb": 0.17883968353271484,4266 "ee/spec/workers/project_cache_worker_spec.rb": 0.3471410274505615,4267 "ee/spec/graphql/ee/types/group_type_spec.rb": 0.1499173641204834,4268 "ee/spec/views/admin/groups/_form.html.haml_spec.rb": 0.14283275604248047,4269 "ee/spec/graphql/resolvers/vulnerabilities_history_resolver_spec.rb": 0.15574049949645996,4270 "ee/spec/tasks/gitlab/license_rake_spec.rb": 0.19164013862609863,4271 "ee/spec/services/packages/nuget/sync_metadatum_service_spec.rb": 0.10527324676513672,4272 "ee/spec/models/group_wiki_repository_spec.rb": 0.14010334014892578,4273 "ee/spec/services/ee/notes/destroy_service_spec.rb": 0.4302830696105957,4274 "ee/spec/services/dependency_proxy/find_or_create_blob_service_spec.rb": 0.1923658847808838,4275 "ee/spec/lib/ee/gitlab/ip_restriction/enforcer_spec.rb": 0.18992137908935547,4276 "ee/spec/workers/ldap_sync_worker_spec.rb": 0.14403867721557617,4277 "ee/spec/services/keys/create_service_spec.rb": 0.18635058403015137,4278 "ee/spec/lib/gitlab/pagination_delegate_spec.rb": 0.08001375198364258,4279 "ee/spec/models/packages/dependency_spec.rb": 0.09964346885681152,4280 "ee/spec/serializers/linked_feature_flag_issue_entity_spec.rb": 0.10146164894104004,4281 "ee/spec/models/scim_oauth_access_token_spec.rb": 0.10499906539916992,4282 "ee/spec/services/status_page/unpublish_details_service_spec.rb": 0.07878541946411133,4283 "ee/spec/serializers/linked_project_issue_entity_spec.rb": 0.10659337043762207,4284 "ee/spec/helpers/ee/recaptcha_experiment_helper_spec.rb": 0.09572553634643555,4285 "ee/spec/workers/status_page/publish_worker_spec.rb": 0.09637570381164551,4286 "ee/spec/services/projects/licenses/create_policy_service_spec.rb": 0.06273961067199707,4287 "ee/spec/helpers/license_helper_spec.rb": 0.05312776565551758,4288 "ee/spec/helpers/compliance_management/compliance_framework/project_settings_helper_spec.rb": 0.05592608451843262,4289 "ee/spec/presenters/packages/nuget/package_metadata_presenter_spec.rb": 0.044391632080078125,4290 "ee/spec/services/licenses/destroy_service_spec.rb": 0.05892443656921387,4291 "ee/spec/lib/gitlab/ci/parsers/metrics/generic_spec.rb": 0.02913212776184082,4292 "ee/spec/helpers/ee/hooks_helper_spec.rb": 0.06922149658203125,4293 "ee/spec/lib/api/helpers/packages_helpers_spec.rb": 0.03180956840515137,4294 "ee/spec/lib/gitlab/insights/project_insights_config_spec.rb": 0.023833751678466797,4295 "ee/spec/helpers/ee/clusters_helper_spec.rb": 0.026649951934814453,4296 "ee/spec/lib/gitlab/kubernetes/deployment_spec.rb": 0.045786380767822266,4297 "ee/spec/helpers/ee/packages_helper_spec.rb": 0.041754961013793945,4298 "ee/spec/models/packages/sem_ver_spec.rb": 0.03634452819824219,4299 "ee/spec/workers/historical_data_worker_spec.rb": 0.03428220748901367,4300 "ee/spec/lib/ee/gitlab/path_regex_spec.rb": 0.028737306594848633,4301 "ee/spec/lib/elastic/latest/routing_spec.rb": 0.027309417724609375,4302 "ee/spec/models/ee/notification_setting_spec.rb": 0.033676862716674805,4303 "ee/spec/services/vulnerabilities/user_notes_count_service_spec.rb": 0.025533676147460938,4304 "ee/spec/models/board_label_spec.rb": 0.03057575225830078,4305 "ee/spec/models/lfs_object_spec.rb": 0.027901887893676758,4306 "ee/spec/lib/gitlab/auth/ldap/adapter_spec.rb": 0.030176877975463867,4307 "ee/spec/models/project_repository_state_spec.rb": 0.027050018310546875,4308 "ee/spec/lib/atlassian/jira_issue_key_extractor_spec.rb": 0.012147665023803711,4309 "ee/spec/helpers/audit_events_helper_spec.rb": 0.026214122772216797,4310 "ee/spec/lib/elastic/multi_version_class_proxy_spec.rb": 0.021014928817749023,4311 "ee/spec/models/project_services/github_service/remote_project_spec.rb": 0.018839359283447266,4312 "ee/spec/models/board_assignee_spec.rb": 0.0418858528137207,4313 "ee/spec/lib/ee/gitlab/import_export/project/tree_saver_spec.rb": 0.020684480667114258,4314 "ee/spec/lib/gitlab/analytics/cycle_analytics/stage_events/issue_label_removed_spec.rb": 0.01564788818359375,4315 "ee/spec/lib/gitlab/auth/group_saml/sso_state_spec.rb": 0.015885591506958008,4316 "ee/spec/models/ci/minutes/context_spec.rb": 0.014066219329833984,4317 "ee/spec/presenters/group_member_presenter_spec.rb": 0.012917757034301758,4318 "ee/spec/lib/ee/gitlab/template/gitlab_ci_yml_template_spec.rb": 0.0121612548828125,4319 "ee/spec/lib/constraints/jira_encoded_url_constrainer_spec.rb": 0.011655807495117188,4320 "ee/spec/workers/ldap_all_groups_sync_worker_spec.rb": 0.015636444091796875,4321 "ee/spec/lib/gitlab/analytics/cycle_analytics/stage_events/issue_last_edited_spec.rb": 0.01308894157409668,4322 "ee/spec/helpers/ee/flipper_session_helper_spec.rb": 0.013565301895141602,4323 "ee/spec/lib/gitlab/insights/serializers/chartjs/bar_serializer_spec.rb": 0.010927677154541016,4324 "ee/spec/presenters/packages/pypi/package_presenter_spec.rb": 0.011653661727905273,4325 "ee/spec/lib/gitlab/ip_address_state_spec.rb": 0.011112689971923828,4326 "ee/spec/graphql/types/issue_type_spec.rb": 0.010026216506958008,4327 "ee/spec/lib/gitlab/usage_counters/pod_logs_spec.rb": 0.009164810180664062,4328 "ee/spec/services/network_policies/delete_resource_service_spec.rb": 0.009459495544433594,4329 "ee/spec/helpers/notes_helper_spec.rb": 0.009630918502807617,4330 "ee/spec/serializers/ee/merge_request_serializer_spec.rb": 0.008327722549438477,4331 "ee/spec/lib/gitlab/proxy_spec.rb": 0.008682966232299805,4332 "ee/spec/lib/elastic/latest/project_wiki_instance_proxy_spec.rb": 0.007559061050415039,4333 "ee/spec/graphql/types/security_report_summary_section_type_spec.rb": 0.00655055046081543,4334 "ee/spec/lib/gitlab/ci/reports/metrics/report_spec.rb": 0.006599903106689453,4335 "ee/spec/lib/gitlab/audit/levels/instance_spec.rb": 0.006517171859741211,4336 "ee/spec/models/ci/processable_spec.rb": 0.005349159240722656,4337 "ee/spec/lib/gitlab/insights/serializers/chartjs/line_serializer_spec.rb": 0.004828691482543945,4338 "ee/spec/services/ee/user_project_access_changed_service_spec.rb": 0.004705667495727539,4339 "ee/spec/helpers/audit_logs_helper_spec.rb": 0.0035238265991210938,4340 "ee/spec/graphql/types/vulnerability_location/sast_type_spec.rb": 0.0037162303924560547,4341 "ee/spec/graphql/types/vulnerability_location/secret_detection_type_spec.rb": 0.003979682922363281,4342 "ee/spec/graphql/types/vulnerabilities_count_by_day_and_severity_type_spec.rb": 0.003525257110595703,4343 "ee/spec/graphql/resolvers/instance_security_dashboard_resolver_spec.rb": 0.004477739334106445,4344 "ee/spec/graphql/ee/types/board_type_spec.rb": 0.0039837360382080084345}4346Knapsack global time execution for tests: 09m 08s4347Pending: (Failures listed here are expected and do not affect your suite's status)4348 1) Epic modules behaves like AtomicInternalId .has_internal_id Validation when presence validation is not required does not validate presence4349 # No reason given4350 # ./spec/support/shared_examples/models/atomic_internal_id_shared_examples.rb:334351 2) DependencyProxy::FileUploader behaves like builds correct paths #upload_path behaves like matches the method pattern 4352 # No pattern provided, skipping.4353 # ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:84354 3) DependencyProxy::FileUploader behaves like builds correct paths #relative_path is relative4355 # Path not set, skipping.4356 # ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:394357 4) DependencyProxy::FileUploader behaves like builds correct paths .absolute_path behaves like matches the method pattern 4358 # No pattern provided, skipping.4359 # ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:84360 5) DependencyProxy::FileUploader behaves like builds correct paths .base_dir behaves like matches the method pattern 4361 # No pattern provided, skipping.4362 # ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:84363 6) DependencyProxy::FileUploader object store is remote behaves like builds correct paths #cache_dir behaves like matches the method pattern 4364 # No pattern provided, skipping.4365 # ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:84366 7) DependencyProxy::FileUploader object store is remote behaves like builds correct paths #work_dir behaves like matches the method pattern 4367 # No pattern provided, skipping.4368 # ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:84369 8) DependencyProxy::FileUploader object store is remote behaves like builds correct paths #upload_path behaves like matches the method pattern 4370 # No pattern provided, skipping.4371 # ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:84372 9) DependencyProxy::FileUploader object store is remote behaves like builds correct paths #relative_path is relative4373 # Path not set, skipping.4374 # ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:394375 10) DependencyProxy::FileUploader object store is remote behaves like builds correct paths .absolute_path behaves like matches the method pattern 4376 # No pattern provided, skipping.4377 # ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:84378 11) DependencyProxy::FileUploader object store is remote behaves like builds correct paths .base_dir behaves like matches the method pattern 4379 # No pattern provided, skipping.4380 # ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:84381Finished in 11 minutes 9 seconds (files took 53 seconds to load)43821968 examples, 0 failures, 11 pending4383Wed Jun 17 17:16:59 UTC 20204385Not uploading cache rails-v1-3 due to policy4387Uploading artifacts...4388coverage/: found 5 matching files and directories 4389knapsack/: found 3 matching files and directories 4390rspec_flaky/: found 4 matching files and directories 4391rspec_profiling/: found 1 matching files and directories 4392WARNING: tmp/capybara/: no matching files 4393tmp/memory_test/: found 2 matching files and directories 4394log/*.log: found 15 matching files and directories 4395Uploading artifacts as "archive" to coordinator... ok id=599847200 responseStatus=201 Created token=CsERHPt54396Uploading artifacts...4397junit_rspec.xml: found 1 matching files and directories 4398Uploading artifacts as "junit" to coordinator... ok id=599847200 responseStatus=201 Created token=CsERHPt54399Job succeeded