rspec-ee unit pg9 6/10
Passed Started
by
@gitlab-bot

🤖 GitLab Bot 🤖
1Running with gitlab-runner 12.8.0 (1b659122)2 on docker-auto-scale-com d5ae8d25 3 Using Docker executor with image registry.gitlab.com/gitlab-org/gitlab-build-images:ruby-2.6.5-golang-1.12-git-2.24-lfs-2.9-chrome-73.0-node-12.x-yarn-1.21-postgresql-9.6-graphicsmagick-1.3.34 ...
00:23
4Starting service postgres:9.6.17 ...5Pulling docker image postgres:9.6.17 ...6Using docker image sha256:16f0ba6ed8573409271c409348548ecbefb874f39717d70ea34f3d888631dbb8 for postgres:9.6.17 ...7Starting service redis:alpine ...8Pulling docker image redis:alpine ...9Using docker image sha256:b68707e68547e636f2544e9283f02beed46d536f644573c8b35c368f9abbe078 for redis:alpine ...10Starting service elasticsearch:6.4.2 ...11Pulling docker image elasticsearch:6.4.2 ...12Using docker image sha256:e47ebd7ec3eef5e48746af2ae376f180bbfbd23c7514b5b18a116f8349eb4c34 for elasticsearch:6.4.2 ...13Waiting for services to be up and running...14Authenticating with credentials from job payload (GitLab Registry)15Pulling docker image registry.gitlab.com/gitlab-org/gitlab-build-images:ruby-2.6.5-golang-1.12-git-2.24-lfs-2.9-chrome-73.0-node-12.x-yarn-1.21-postgresql-9.6-graphicsmagick-1.3.34 ...16Using docker image sha256:0f9ca78298a31444537de457edb9067ada5eff69e276ed8949386f35b3760183 for registry.gitlab.com/gitlab-org/gitlab-build-images:ruby-2.6.5-golang-1.12-git-2.24-lfs-2.9-chrome-73.0-node-12.x-yarn-1.21-postgresql-9.6-graphicsmagick-1.3.34 ... 17 Running on runner-d5ae8d25-project-278964-concurrent-0 via runner-d5ae8d25-gsrm-1583375109-6b5daee1...
00:02
19Downloading archived master...20Connecting to storage.googleapis.com (173.194.214.128:443)21gitlab.tar.gz 28% |********* | 241M 0:00:02 ETA22gitlab.tar.gz 66% |********************* | 562M 0:00:01 ETA23gitlab.tar.gz 100% |********************************| 845M 0:00:00 ETA24Extracting tarball into /builds/gitlab-org/gitlab...25Fetching changes with git depth set to 20...26Reinitialized existing Git repository in /builds/gitlab-org/gitlab/.git/27Created fresh repository.29 * [new ref] refs/pipelines/123433062 -> refs/pipelines/12343306230 * [new branch] master -> origin/master31Checking out 2e08c928 as master...32Skipping Git submodules setup34Downloading cache.zip from https://storage.googleapis.com/gitlab-com-runners-cache/project/278964/debian-stretch-ruby-2.6.5-pg9.6-node-12.x-3 35Successfully extracted cache37Downloading artifacts from coordinator... ok id=460116507 responseStatus=200 OK token=QUYyHTsa38Downloading artifacts for retrieve-tests-metadata (460116515)...39Downloading artifacts from coordinator... ok id=460116515 responseStatus=200 OK token=wqtvmKyQ40Downloading artifacts for setup-test-env (460116509)...41Downloading artifacts from coordinator... ok id=460116509 responseStatus=200 OK token=sAvRzHNN42WARNING: tmp/tests/gitlab-shell/.gitlab_shell_secret: chmod tmp/tests/gitlab-shell/.gitlab_shell_secret: no such file or directory (suppressing repeats) 44$ date45Thu Mar 5 04:27:07 UTC 202046$ [ "$FOSS_ONLY" = "1" ] && rm -rf ee/ qa/spec/ee/ qa/qa/specs/features/ee/ qa/qa/ee/ qa/qa/ee.rb47$ export GOPATH=$CI_PROJECT_DIR/.go48$ mkdir -p $GOPATH49$ source scripts/utils.sh50$ source scripts/prepare_build.sh51Bundler version 1.17.252Warning: 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`.53The Gemfile's dependencies are satisfied54Successfully installed knapsack-1.18.0551 gem installed56CREATE ROLE57GRANT58Dropped database 'gitlabhq_test'59Created database 'gitlabhq_test'60Dropped database 'gitlabhq_geo_test'61Created database 'gitlabhq_geo_test'62$ date63Thu Mar 5 04:28:00 UTC 202064$ source scripts/rspec_helpers.sh65$ rspec_paralellized_job "--tag ~quarantine --tag ~geo --tag ~level:migration"66KNAPSACK_TEST_FILE_PATTERN: ee/spec/{bin,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}{,/**/}*_spec.rb67Checking gitaly-ruby Gemfile...68Checking gitaly-ruby bundle...69Warning: 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`.70The Gemfile's dependencies are satisfied71Trying to connect to gitaly: ....... OK72Report specs:73ee/spec/lib/ee/gitlab/usage_data_spec.rb74ee/spec/lib/gitlab/git_access_spec.rb75ee/spec/models/namespace_spec.rb76ee/spec/models/productivity_analytics_spec.rb77ee/spec/services/projects/update_mirror_service_spec.rb78ee/spec/lib/gitlab/ci/reports/security/vulnerability_reports_comparer_spec.rb79ee/spec/models/merge_request/blocking_spec.rb80ee/spec/models/ee/protected_ref_access_spec.rb81ee/spec/models/sca/license_compliance_spec.rb82ee/spec/services/design_management/save_designs_service_spec.rb83ee/spec/models/merge_request_block_spec.rb84ee/spec/services/ee/merge_requests/refresh_service_spec.rb85ee/spec/services/ee/issues/move_service_spec.rb86ee/spec/services/dashboard/projects/list_service_spec.rb87ee/spec/services/merge_trains/create_pipeline_service_spec.rb88ee/spec/services/merge_trains/refresh_merge_request_service_spec.rb89ee/spec/services/ci/create_pipeline_service/cross_needs_artifacts_spec.rb90ee/spec/models/operations/feature_flag_spec.rb91ee/spec/services/dashboard/operations/list_service_spec.rb92ee/spec/finders/geo/design_unsynced_finder_spec.rb93ee/spec/services/ee/boards/lists/create_service_spec.rb94ee/spec/services/geo/repository_verification_secondary_service_spec.rb95ee/spec/services/geo/repository_sync_service_spec.rb96ee/spec/services/ci/compare_container_scanning_reports_service_spec.rb97ee/spec/lib/gitlab/email/handler/create_note_handler_spec.rb98ee/spec/helpers/ee/environments_helper_spec.rb99ee/spec/services/approval_rules/params_filtering_service_spec.rb100ee/spec/services/epic_issues/destroy_service_spec.rb101ee/spec/services/boards/create_service_spec.rb102ee/spec/services/packages/conan/search_service_spec.rb103ee/spec/models/instance_security_dashboard_spec.rb104ee/spec/models/path_lock_spec.rb105ee/spec/services/geo/repository_verification_reset_spec.rb106ee/spec/graphql/mutations/design_management/delete_spec.rb107ee/spec/services/epics/close_service_spec.rb108ee/spec/lib/ee/gitlab/background_migration/prune_orphaned_geo_events_spec.rb109ee/spec/lib/ee/gitlab/background_migration/move_epic_issues_after_epics_spec.rb110ee/spec/lib/gitlab/auth/ldap/access_spec.rb111ee/spec/views/shared/issuable/_approvals.html.haml_spec.rb112ee/spec/lib/gitlab/ci/parsers/security/dependency_scanning_spec.rb113ee/spec/uploaders/packages/package_file_uploader_spec.rb114ee/spec/serializers/vulnerabilities/feedback_entity_spec.rb115ee/spec/services/feature_flags/destroy_service_spec.rb116ee/spec/services/geo/project_housekeeping_service_spec.rb117ee/spec/services/ee/system_notes/merge_train_service_spec.rb118ee/spec/views/clusters/clusters/show.html.haml_spec.rb119ee/spec/lib/banzai/reference_parser/epic_parser_spec.rb120ee/spec/services/ee/notification_recipient_service_spec.rb121ee/spec/helpers/ee/lock_helper_spec.rb122ee/spec/lib/gitlab/auth/group_saml/identity_linker_spec.rb123ee/spec/models/draft_note_spec.rb124ee/spec/models/project_services/github_service/status_message_spec.rb125ee/spec/services/vulnerability_feedback/destroy_service_spec.rb126ee/spec/services/dashboard/environments/list_service_spec.rb127ee/spec/bin/sidekiq_cluster_spec.rb128ee/spec/models/ee/label_spec.rb129ee/spec/lib/gitlab/geo/replication/blob_downloader_spec.rb130ee/spec/policies/approval_merge_request_rule_policy_spec.rb131ee/spec/services/draft_notes/destroy_service_spec.rb132ee/spec/views/shared/_mirror_status.html.haml_spec.rb133ee/spec/lib/gitlab/git_access_wiki_spec.rb134ee/spec/services/ci/process_build_service_spec.rb135ee/spec/services/projects/hashed_storage/rollback_repository_service_spec.rb136ee/spec/models/ci/subscriptions/project_spec.rb137ee/spec/services/packages/nuget/metadata_extraction_service_spec.rb138ee/spec/models/ee/project_authorization_spec.rb139ee/spec/services/packages/create_dependency_service_spec.rb140ee/spec/helpers/ee/labels_helper_spec.rb141ee/spec/services/geo/rename_repository_service_spec.rb142ee/spec/serializers/managed_license_entity_spec.rb143ee/spec/workers/geo/secondary/registry_consistency_worker_spec.rb144ee/spec/services/protected_environments/destroy_service_spec.rb145ee/spec/services/protected_environments/search_service_spec.rb146ee/spec/lib/ee/gitlab/checks/push_rules/file_size_check_spec.rb147ee/spec/services/projects/prometheus/metrics/update_service_spec.rb148ee/spec/services/epics/create_service_spec.rb149ee/spec/services/clusters/applications/schedule_update_service_spec.rb150ee/spec/lib/gitlab/insights/reducers/label_count_per_period_reducers_spec.rb151ee/spec/services/packages/create_package_file_service_spec.rb152ee/spec/models/ee/event_spec.rb153ee/spec/lib/gitlab/checks/change_access_spec.rb154ee/spec/services/dashboard/projects/create_service_spec.rb155ee/spec/services/projects/group_links/destroy_service_spec.rb156ee/spec/lib/gitlab/auth/smartcard/certificate_spec.rb157ee/spec/models/geo/push_user_spec.rb158ee/spec/serializers/feature_flag_serializer_spec.rb159ee/spec/lib/gitlab/ci/pipeline/chain/limit/size_spec.rb160ee/spec/services/merge_trains/check_status_service_spec.rb161ee/spec/workers/adjourned_project_deletion_worker_spec.rb162ee/spec/services/ci_cd/github_setup_service_spec.rb163ee/spec/models/ee/plan_limits_spec.rb164ee/spec/services/ci_cd/github_integration_setup_service_spec.rb165ee/spec/models/concerns/ee/usage_statistics_spec.rb166ee/spec/elastic_integration/repository_index_spec.rb167ee/spec/lib/banzai/filter/label_reference_filter_spec.rb168ee/spec/services/ee/users/create_service_spec.rb169ee/spec/services/security/store_scans_service_spec.rb170ee/spec/services/ee/event_create_service_spec.rb171ee/spec/lib/ee/api/helpers/issues_helpers_spec.rb172ee/spec/lib/ee/gitlab/repo_path_spec.rb173ee/spec/lib/gitlab/geo/log_cursor/events/event_spec.rb174ee/spec/services/clusters/applications/prometheus_config_service_spec.rb175ee/spec/lib/ee/gitlab/cleanup/orphan_job_artifact_files_batch_spec.rb176ee/spec/workers/store_security_scans_worker_spec.rb177ee/spec/lib/gitlab/geo/log_cursor/events/hashed_storage_attachments_event_spec.rb178ee/spec/lib/gitlab/geo/oauth/session_spec.rb179ee/spec/services/ci/web_ide_config_service_spec.rb180ee/spec/services/ee/ip_restrictions/update_service_spec.rb181ee/spec/models/ee/description_version_spec.rb182ee/spec/services/jira_connect/sync_service_spec.rb183ee/spec/lib/ee/gitlab/background_migration/populate_any_approval_rule_for_projects_spec.rb184ee/spec/serializers/dashboard_environments_project_entity_spec.rb185ee/spec/models/namespace_statistics_spec.rb186ee/spec/lib/ee/gitlab/url_builder_spec.rb187ee/spec/workers/cluster_wait_for_app_update_worker_spec.rb188ee/spec/services/ee/commits/create_service_spec.rb189ee/spec/lib/gitlab/group_plans_preloader_spec.rb190ee/spec/lib/ee/gitlab/ci/config_spec.rb191ee/spec/models/project_feature_spec.rb192ee/spec/lib/gitlab/auth_spec.rb193ee/spec/serializers/vulnerable_project_serializer_spec.rb194ee/spec/lib/gitlab/elastic/group_search_results_spec.rb195ee/spec/models/audit_event_spec.rb196ee/spec/workers/geo/design_repository_sync_worker_spec.rb197ee/spec/helpers/audit_logs_helper_spec.rb198ee/spec/workers/geo/container_repository_sync_worker_spec.rb199ee/spec/lib/ee/gitlab/gl_repository_spec.rb200ee/spec/lib/gitlab/auth/smartcard/session_enforcer_spec.rb201ee/spec/serializers/vulnerabilities/scanner_entity_spec.rb202ee/spec/lib/gitlab/kerberos/authentication_spec.rb203ee/spec/routing/analytics_routing_spec.rb204ee/spec/lib/gitlab/regex_spec.rb205ee/spec/services/dependency_proxy/find_or_create_blob_service_spec.rb206ee/spec/views/registrations/welcome.html.haml_spec.rb207ee/spec/models/user_preference_spec.rb208ee/spec/models/geo/repository_renamed_event_spec.rb209ee/spec/models/packages/dependency_spec.rb210ee/spec/lib/system_check/geo/fdw_schema_up_to_date_check_spec.rb211ee/spec/finders/audit_log_finder_spec.rb212ee/spec/lib/gitlab/geo/geo_tasks_spec.rb213ee/spec/models/broadcast_message_spec.rb214ee/spec/services/personal_access_tokens/revoke_invalid_tokens_spec.rb215ee/spec/lib/gitlab/geo/base_request_spec.rb216ee/spec/lib/gitlab/ci/config/required/processor_spec.rb217ee/spec/lib/gitlab/vulnerabilities/standard_vulnerability_spec.rb218ee/spec/lib/gitlab/geo/oauth/logout_state_spec.rb219ee/spec/lib/gitlab/database/load_balancing/sticking_spec.rb220ee/spec/lib/gitlab/graphql/loaders/batch_epic_issues_loader_spec.rb221ee/spec/models/geo/upload_deleted_event_spec.rb222ee/spec/models/geo/repository_created_event_spec.rb223ee/spec/services/applications/create_service_spec.rbRSpec's reporter has already been initialized with #<IO:<STDERR>> as the deprecation stream, so your change to `deprecation_stream` will be ignored. You should configure it earlier for it to take effect, or use the `--deprecation-out` CLI option. (Called from /builds/gitlab-org/gitlab/spec/support/rspec.rb:10:in `block in <top (required)>')224Knapsack report generator started!225Run options:226 include {:focus=>true}227 exclude {:quarantine=>true, :geo=>true, :level=>"migration"}228All examples were filtered out; ignoring {:focus=>true}229==> Setting up Gitaly...230 Gitaly set up in 0.0411849 seconds...231==> Setting up GitLab Elasticsearch Indexer...232 GitLab Elasticsearch Indexer set up in 0.000337752 seconds...233Gitlab::UsageData234 when the feature flag usage_ping_batch_counter is set to true235 .uncached_data236 when on Gitlab.com237unknown OID 28: failed to recognize type of 'relfrozenxid'. It will be treated as String.238unknown OID 1034: failed to recognize type of 'relacl'. It will be treated as String.239 does include usage_activity_by_stage data240 when feature is enabled241 does include usage_activity_by_stage data242 when the :usage_activity_by_stage_monthly feature is disabled243 does not include usage_activity_by_stage data244 when the :usage_activity_by_stage feature is not enabled245 does not include usage_activity_by_stage data246 when not on Gitlab.com247 includes usage_activity_by_stage data248 for configure249 includes accurate usage_activity_by_stage data250 for create251 includes accurate usage_activity_by_stage data252 for manage253 includes accurate usage_activity_by_stage data254 for monitor255 includes accurate usage_activity_by_stage data256 for package257 includes accurate usage_activity_by_stage data258 for plan259 includes accurate usage_activity_by_stage data260 for release261 includes accurate usage_activity_by_stage data262 for secure263 includes accurate usage_activity_by_stage data264 combines license_scanning into license_management265 has to resort to 0 for counting license scan266 for verify267 includes accurate usage_activity_by_stage data268 when the feature flag usage_ping_batch_counter is set to false269 .uncached_data270 when on Gitlab.com271 does not include usage_activity_by_stage data272 when feature is enabled273 does not include usage_activity_by_stage data274 when the :usage_activity_by_stage_monthly feature is disabled275 does not include usage_activity_by_stage data276 when the :usage_activity_by_stage feature is not enabled277 does not include usage_activity_by_stage data278 when not on Gitlab.com279 includes usage_activity_by_stage data280 for configure281 includes accurate usage_activity_by_stage data282 for create283 includes accurate usage_activity_by_stage data284 for manage285 includes accurate usage_activity_by_stage data286 for monitor287 includes accurate usage_activity_by_stage data288 for package289 includes accurate usage_activity_by_stage data290 for plan291 includes accurate usage_activity_by_stage data292 for release293 includes accurate usage_activity_by_stage data294 for secure295 includes accurate usage_activity_by_stage data296 combines license_scanning into license_management297 has to resort to 0 for counting license scan298 for verify299 includes accurate usage_activity_by_stage data300Gitlab::GitAccess301 when in a read-only GitLab instance302 behaves like a read-only GitLab instance303 denies push access304 for a Geo setup305 that is incorrectly set up306 denies push access with primary present307 that is correctly set up308 attempts to proxy to the primary309 push_rule_check310 author email check311 returns true312 returns false when a commit message is missing required matches (positive regex match)313 returns false when a commit message contains forbidden characters (negative regex match)314 returns true for tags315 allows githook for new branch with an old bad commit316 allows githook for any change with an old bad commit317 does not allow any change from Web UI with bad commit318 member_check319 returns false for non-member user320 returns true if committer is a gitlab member321 file names check322 returns false when filename is prohibited323 returns true if file name is allowed324 max file size check325 returns false when size is too large326 returns true when size is allowed327 repository size restrictions328 when GIT_OBJECT_DIRECTORY_RELATIVE env var is set329 when repository size is over limit330 behaves like a push to repository over the limit331 rejects the push332 when deleting a branch333 accepts the operation334 when repository size is below the limit335 behaves like a push to repository below the limit336 when trying to authenticate the user337 does not raise an error338 when pushing a new branch339 accepts the push340 when object directory (quarantine) size exceeds the limit341 rejects the push342 when object directory (quarantine) size does not exceed the limit343 accepts the push344 when GIT_OBJECT_DIRECTORY_RELATIVE env var is not set345 behaves like a push to repository using git-rev-list for checking against repository size limit346 when repository size is over limit347 behaves like a push to repository over the limit348 rejects the push349 when deleting a branch350 accepts the operation351 when repository size is below the limit352 behaves like a push to repository below the limit353 when trying to authenticate the user354 does not raise an error355 when pushing a new branch356 accepts the push357 when new change exceeds the limit358 rejects the push359 when new change does not exceed the limit360 accepts the push361 Geo362 git pull363 is expected not to raise Exception364 for a secondary365 that has no DB replication lag366 does not return a replication lag message in the console messages367 that has DB replication lag > 0368 returns a replication lag message in the console messages369 git push370 is expected to raise Gitlab::GitAccess::ForbiddenError with "You are not allowed to upload code for this project."371 #check_push_access!372 user-specific access control373 when a specific user is allowed to push into the exact protected branch374 has the correct permissions for admins375 has the correct permissions for maintainers376 has the correct permissions for developers377 has the correct permissions for reporters378 has the correct permissions for guests379 when a specific user is allowed to merge into the exact protected branch380 has the correct permissions for admins381 has the correct permissions for maintainers382 has the correct permissions for developers383 has the correct permissions for reporters384 has the correct permissions for guests385 when a specific user is allowed to push & merge into the exact protected branch386 has the correct permissions for admins387 has the correct permissions for maintainers388 has the correct permissions for developers389 has the correct permissions for reporters390 has the correct permissions for guests391 group-specific access control392 when a specific group is allowed to push into the exact protected branch393 has the correct permissions for group maintainers394 has the correct permissions for group developers395 has the correct permissions for group reporters396 has the correct permissions for group guests397 when a specific group is allowed to merge into the exact protected branch398 has the correct permissions for group maintainers399 has the correct permissions for group developers400 has the correct permissions for group reporters401 has the correct permissions for group guests402 when a specific group is allowed to push & merge into the exact protected branch403 has the correct permissions for group maintainers404 has the correct permissions for group developers405 has the correct permissions for group reporters406 has the correct permissions for group guests407 user-specific access control408 when a specific user is allowed to push into the wildcard protected branch409 has the correct permissions for admins410 has the correct permissions for maintainers411 has the correct permissions for developers412 has the correct permissions for reporters413 has the correct permissions for guests414 when a specific user is allowed to merge into the wildcard protected branch415 has the correct permissions for admins416 has the correct permissions for maintainers417 has the correct permissions for developers418 has the correct permissions for reporters419 has the correct permissions for guests420 when a specific user is allowed to push & merge into the wildcard protected branch421 has the correct permissions for admins422 has the correct permissions for maintainers423 has the correct permissions for developers424 has the correct permissions for reporters425 has the correct permissions for guests426 group-specific access control427 when a specific group is allowed to push into the wildcard protected branch428 has the correct permissions for group maintainers429 has the correct permissions for group developers430 has the correct permissions for group reporters431 has the correct permissions for group guests432 when a specific group is allowed to merge into the wildcard protected branch433 has the correct permissions for group maintainers434 has the correct permissions for group developers435 has the correct permissions for group reporters436 has the correct permissions for group guests437 when a specific group is allowed to push & merge into the wildcard protected branch438 has the correct permissions for group maintainers439 has the correct permissions for group developers440 has the correct permissions for group reporters441 has the correct permissions for group guests442 #check_smartcard_access!443 user with a smartcard session444 allows pull changes445 allows push changes446 user without a smartcard session447 does not allow pull changes448 does not allow push changes449 with the setting off450 allows pull changes451 allows push changes452Namespace453 is expected to have one namespace_statistics454 is expected to have one gitlab_subscription dependent => destroy455 is expected to belong to plan required:456 is expected to delegate #extra_shared_runners_minutes to the #namespace_statistics object457 is expected to delegate #shared_runners_minutes to the #namespace_statistics object458 is expected to delegate #shared_runners_seconds to the #namespace_statistics object459 is expected to delegate #shared_runners_seconds_last_reset to the #namespace_statistics object460 is expected to delegate #trial? to the #gitlab_subscription object461 is expected to delegate #trial_ends_on to the #gitlab_subscription object462 is expected to delegate #upgradable? to the #gitlab_subscription object463 scopes464 .with_plan465 plan is set466 returns namespaces with plan467 plan is not set468 plan is empty string469 returns no namespace470 plan is nil471 returns no namespace472 .with_feature_available_in_plan473 plan is nil474 returns no namespace475 plan is set476 returns namespaces with plan477 .join_gitlab_subscription478 when there is no subscription479 returns namespace with nil subscription480 when there is a subscription481 returns namespace with subscription set482 validation483 ensures max_pages_size is an integer greater than 0 (or equal to 0 to indicate unlimited/maximum)484 custom validations485 #validate_plan_name486 with a valid plan name487 is valid488 with an invalid plan name489 is invalid when `unknown`490 is valid for blank strings491 #validate_shared_runner_minutes_support492 when changing :shared_runners_minutes_limit493 when group is subgroup494 is invalid495 when group is root496 is valid497 #move_dir498 when running on a primary node499 logs the Geo::RepositoryRenamedEvent for each project inside namespace500 properly builds old_path_with_namespace501 #feature_available?502 uses the global setting when running on premise503 only checks the plan once504 when checking namespace plan505 combines the global setting with the group setting when not running on premise506 when feature available on the plan507 when feature available for current group508 returns true509 when license is applied to parent group510 child group has feature available511 when feature not available in the plan512 returns false513 when the feature is temporarily available on the entire instance514 returns true when the feature is available globally515 returns `false` when the feature is not included in the global license516 when feature is disabled by a feature flag517 returns false518 when feature is enabled by a feature flag519 returns true520 #actual_limits521 when no limits are defined in the system522 behaves like uses an implied configuration523 is a non persisted PlanLimits524 has all limits disabled525 when "default" plan is defined in the system526 when no limits are set527 behaves like uses an implied configuration528 is a non persisted PlanLimits529 has all limits disabled530 when limits are set for the default plan531 is expected to eq #<PlanLimits id: 1, plan_id: 138, ci_active_pipelines: 1, ci_pipeline_size: 2, ci_active_jobs: 3, project_hooks: [FILTERED], group_hooks: [FILTERED]>532 when "free" plan is defined in the system533 when no limits are set534 behaves like uses an implied configuration535 is a non persisted PlanLimits536 has all limits disabled537 when limits are set for the free plan538 is expected to eq #<PlanLimits id: 2, plan_id: 153, ci_active_pipelines: 3, ci_pipeline_size: 4, ci_active_jobs: 5, project_hooks: [FILTERED], group_hooks: [FILTERED]>539 when subscription plan is defined in the system540 when limits are not set for the plan541 behaves like uses an implied configuration542 is a non persisted PlanLimits543 has all limits disabled544 when limits are set for the plan545 is expected to eq #<PlanLimits id: 3, plan_id: 166, ci_active_pipelines: 5, ci_pipeline_size: 6, ci_active_jobs: 7, project_hooks: [FILTERED], group_hooks: [FILTERED]>546 #shared_runners_enabled?547 without projects548 is expected to be falsey549 with project550 and disabled shared runners551 is expected to be falsey552 and enabled shared runners553 is expected to be truthy554 #actual_shared_runners_minutes_limit555 when no limit defined556 is expected to be zero557 when application settings limit is set558 returns global limit559 when namespace limit is set560 returns namespace limit561 when extra minutes limit is set562 returns the extra minutes by default563 can exclude the extra minutes if required564 #shared_runner_minutes_supported?565 when is subgroup566 returns false567 when is root568 returns true569 #shared_runners_minutes_limit_enabled?570 with project571 when no limit defined572 is expected to be falsey573 when limit is defined574 is expected to be truthy575 when is subgroup576 is expected to be falsey577 without project578 is expected to be falsey579 #shared_runners_enabled?580 subgroup with shared runners enabled project581 returns true582 group with shared runners enabled project583 returns true584 group without projects585 returns false586 #extra_shared_runners_minutes_used?587 with project588 shared_runners_minutes_limit is not enabled589 is expected to be falsey590 shared_runners_minutes_limit is enabled591 when limit is defined592 when usage is below the quota593 is expected to be falsey594 when usage is above the quota595 is expected to be truthy596 and main limit is unlimited597 and it's above the quota598 is expected to be falsey599 without limit600 when main usage is above the quota601 is expected to be falsey602 without project603 is expected to be falsey604 #shared_runners_minutes_used?605 with project606 when limit is defined607 when limit is used608 is expected to be truthy609 when limit not yet used610 is expected to be falsey611 when minutes are not yet set612 is expected to be falsey613 without limit614 is expected to be falsey615 without project616 is expected to be falsey617 #shared_runners_remaining_minutes_percent618 returns the minutes left as a percent of the limit619 returns 100 when minutes used are 0620 returns 0 when the limit is 0621 returns 0 when the limit is nil622 returns 0 when minutes used are over the limit623 returns 0 when minutes used are equal to the limit624 #shared_runners_remaining_minutes_below_threshold?625 is true when minutes left is below the notification level626 is false when minutes left is not below the notification level627 #actual_plan628 when namespace has a plan associated629 generates a subscription with that plan code630 when namespace has a subscription associated631 returns the plan from the subscription632 when namespace does not have a subscription associated633 generates a subscription without a plan634 when free plan does exist635 generates a subscription636 when default plan does exist637 generates a subscription638 when namespace is a subgroup with a parent639 when free plan does exist640 does not generates a subscription641 when namespace has a subscription associated642 returns the plan from the subscription643 #actual_plan_name644 when namespace has a subscription associated645 returns an associated plan name646 when namespace does not have subscription associated647 returns a free plan name648 when namespace is a subgroup with a parent649 when namespace has a subscription associated650 returns an associated plan name651 when namespace does not have subscription associated652 returns a free plan name653 #billed_user_ids654 with a user namespace655 returns 1656 with a group namespace657 with a gold plan658 does not include guest users and only active users659 when group has a project and users are invited to it660 includes invited active users except guests to the group661 when group is invited to the project662 includes the only active users except guests of the invited groups663 when group has been shared with another group664 when feature is not enabled665 does not include users coming from the shared groups666 when feature is enabled667 includes active users from the shared group to the billed members count668 with other plans669 includes active guest users670 includes active guest users671 when group has a project and users invited to it672 includes invited active users to the group673 when group is invited to the project674 includes the unique active users and guests of the invited groups675 when group has been shared with another group676 when feature is not enabled677 does not include users coming from the shared groups678 when feature is enabled679 includes active users from the shared group including guests680 when group has a project and users invited to it681 includes invited active users to the group682 when group is invited to the project683 includes the unique active users and guests of the invited groups684 when group has been shared with another group685 when feature is not enabled686 does not include users coming from the shared groups687 when feature is enabled688 includes active users from the shared group including guests689 #billable_members_count690 with a user namespace691 returns 1692 with a group namespace693 with a gold plan694 does not count guest users and counts only active users695 when group has a project and users invited to it696 includes invited active users except guests to the group697 when group is invited to the project698 counts the only active users except guests of the invited groups699 when group has been shared with another group700 when feature is not enabled701 does not include users coming from the shared groups702 when feature is enabled703 includes active users from the shared group to the billed members count704 with other plans705 counts active guest users706 counts active guest users707 when group has a project and users invited to it708 includes invited active users to the group709 when group is invited to the project710 counts the unique active users including guests of the invited groups711 when group has been shared with another group712 when feature is not enabled713 does not include users coming from the shared groups714 when feature is enabled715 includes active users from the shared group including guests to the billed members count716 when group has a project and users invited to it717 includes invited active users to the group718 when group is invited to the project719 counts the unique active users including guests of the invited groups720 when group has been shared with another group721 when feature is not enabled722 does not include users coming from the shared groups723 when feature is enabled724 includes active users from the shared group including guests to the billed members count725 #file_template_project_id726 is cleared before validation727 #checked_file_template_project728 is always nil729 #checked_file_template_project_id730 is always nil731 #store_security_reports_available?732 when at least one security report feature is enabled733 report_type: :sast734 is expected to equal true735 report_type: :dast736 is expected to equal true737 report_type: :dependency_scanning738 is expected to equal true739 report_type: :container_scanning740 is expected to equal true741 when no security report feature is available742 is expected to equal false743 #actual_size_limit744 returns the correct size limit745 #membership_lock with subgroups746 when creating a subgroup747 under a parent with "Membership lock" enabled748 enables "Membership lock" on the subgroup749 under a parent with "Membership lock" disabled750 does not enable "Membership lock" on the subgroup751 when enabling the parent group "Membership lock"752 the subgroup "Membership lock" not changed753 when disabling the parent group "Membership lock" (which was already enabled)754 and the subgroup "Membership lock" is enabled755 the subgroup "Membership lock" does not change756 but the subgroup "Membership lock" is disabled757 the subgroup "Membership lock" does not change758 when a group is transferred into a root group759 when the root group "Membership lock" is enabled760 when the subgroup "Membership lock" is enabled761 the subgroup "Membership lock" does not change762 when the subgroup "Membership lock" is disabled763 the subgroup "Membership lock" not changed764 when the root group "Membership lock" is disabled765 when the subgroup "Membership lock" is enabled766 the subgroup "Membership lock" does not change767 when the subgroup "Membership lock" is disabled768 the subgroup "Membership lock" does not change769ProductivityAnalytics770 metrics data771 #histogram_data772 metric: "days_to_merge", expected_result: {3=>2, 14=>1, 30=>1}773 calculates correctly774 metric: "time_to_first_comment", expected_result: {0=>3, 24=>1}775 calculates correctly776 metric: "time_to_last_commit", expected_result: {312=>1, 696=>1, 48=>2}777 calculates correctly778 metric: "time_to_merge", expected_result: {24=>3, 0=>1}779 calculates correctly780 metric: "commits_count", expected_result: {1=>2, 5=>1, 20=>1}781 calculates correctly782 metric: "loc_per_commit", expected_result: {15=>1, 16=>1, 14=>1, 5=>1}783 calculates correctly784 metric: "files_touched", expected_result: {15=>1, 3=>2, 1=>1}785 calculates correctly786 metric: "something_invalid", expected_result: nil787 calculates correctly788 for multiple labeled mrs789 returns aggregated data790 #scatterplot_data791 returns metric values for each MR792 for multiple labeled mrs793 properly returns MRs with metrics calculated794 #merge_requests_extended795 returns MRs data with all the metrics calculated796 with custom sorting797 reorders MRs according to custom sorting798 with unknown sorting799 sorts by id desc800 for multiple labeled mrs801 properly returns MRs with metrics calculated802 .start_date803 delegates to ApplicationSetting804Projects::UpdateMirrorService805 #execute806 fetches the upstream repository807 rescues exceptions from Repository#ff_merge808 returns success when updated succeeds809 disables mirroring protected branches only by default810 fails when the mirror user doesn't have access811 fails when no user is present812 returns success when there is no mirror813 unlicensed814 does nothing815 when mirror user is blocked816 fails and returns error status817 updating tags818 creates new tags819 only invokes Git::TagPushService for tags pointing to commits820 when repository is in read-only mode821 does not run if repository is set to read-only822 when tags on mirror are modified823 when mirror_overwrites_diverged_branches is true824 updates the tag825 updates the modified branch826 returns success827 when mirror_overwrites_diverged_branches is false828 updates the tag829 does not update the modified branch830 returns success831 updating branches832 when pull_mirror_branch_prefix is set833 doesn't create unprefixed branches834 behaves like a working pull mirror835 when the mirror has a repository836 creates new branches837 updates existing branches838 when mirror only protected branches option is set839 creates a new protected branch840 does not create an unprotected branch841 updates existing protected branches842 does not update unprotected branches843 with diverged branches844 when mirror_overwrites_diverged_branches is true845 update diverged branches846 when mirror_overwrites_diverged_branches is false847 doesn't update diverged branches848 when mirror_overwrites_diverged_branches is nil849 doesn't update diverged branches850 when project is empty851 does not add a default master branch852 when pull_mirror_branch_prefix feature flag is disabled853 doesn't create prefixed branches854 behaves like a working pull mirror855 when the mirror has a repository856 creates new branches857 updates existing branches858 when mirror only protected branches option is set859 creates a new protected branch860 does not create an unprotected branch861 updates existing protected branches862 does not update unprotected branches863 with diverged branches864 when mirror_overwrites_diverged_branches is true865 update diverged branches866 when mirror_overwrites_diverged_branches is false867 doesn't update diverged branches868 when mirror_overwrites_diverged_branches is nil869 doesn't update diverged branches870 when project is empty871 does not add a default master branch872 behaves like a working pull mirror873 when the mirror has a repository874 creates new branches875 updates existing branches876 when mirror only protected branches option is set877 creates a new protected branch878 does not create an unprotected branch879 updates existing protected branches880 does not update unprotected branches881 with diverged branches882 when mirror_overwrites_diverged_branches is true883 update diverged branches884 when mirror_overwrites_diverged_branches is false885 doesn't update diverged branches886 when mirror_overwrites_diverged_branches is nil887 doesn't update diverged branches888 when project is empty889 does not add a default master branch890 updating LFS objects891 when repository does not change892 does not attempt to update LFS objects893 when repository changes894 when Lfs is disabled in the project895 does not update LFS objects896 when Lfs is enabled in the project897 updates LFS objects898 when Lfs import fails899 does not fail mirror operation900 logs the error901Gitlab::Ci::Reports::Security::VulnerabilityReportsComparer902 #base_report_out_of_date903 no base report904 is not out of date905 base report older than one week906 is not out of date907 base report less than one week old908 is not out of date909 #existing910 with existing reports911 points to source tree912 when comparing reports with different fingerprints913 does not find any overlap914 new vulnerabilities915 does not change order916 #added917 with new vulnerability918 points to source tree919 when comparing reports with different fingerprints920 does not find any overlap921 order922 does not change923 #fixed924 with fixed vulnerability925 points to base tree926 when comparing reports with different fingerprints927 does not find any overlap928 order929 does not change930 with empty vulnerabilities931 returns empty array when reports are not present932 returns added vulnerability when base is empty and head is not empty933 returns fixed vulnerability when head is empty and base is not empty934MergeRequest935 associations936 is expected to contain exactly #<MergeRequestBlock id: 1, blocking_merge_request_id: 121, blocked_merge_request_id: 122, created_at: "2020-03-05 04:35:47", updated_at: "2020-03-05 04:35:47">937 is expected to be empty938 is expected to be empty939 is expected to contain exactly #<MergeRequestBlock id: 4, blocking_merge_request_id: 127, blocked_merge_request_id: 128, created_at: "2020-03-05 04:35:49", updated_at: "2020-03-05 04:35:49">940 is expected to be empty941 is expected to contain exactly #<MergeRequest id:132 namespace691/project578!1>942 is expected to contain exactly #<MergeRequest id:133 namespace692/project579!1>943 is expected to be empty944 #mergeable? (blocking MRs)945 checks MergeRequest#merge_blocked_by_other_mrs?946 #merge_blocked_by_other_mrs?947 licensed948 is false for the blocking MR949 is true for the blocked MR when the blocking MR is open950 is true for the blocked MR when the blocking MR is closed951 is false for the blocked MR when the blocking MR is merged952 unlicensed953 is false for the blocked MR954 #visible_blocking_merge_requests955 shows blocking MR to developer956 hides block from guest957 hides block from anonymous user958 #visible_blocking_merge_request_refs959 returns the references for the result of #visible_blocking_merge_requests960 #hidden_blocking_merge_requests_count961 returns 0 when all MRs are visible962 MR is hidden963 returns 1 when MR is unmerged by default964 MR is merged965 returns 0 by default966 returns 1 when include_merged: true967EE::ProtectedRefAccess968 in ProtectedBranch::MergeAccessLevel969 ProtectedBranch::MergeAccessLevel includes {described_class}970 requires access_level if no user or group is specified971 doesn't require access_level if user specified972 doesn't require access_level if group specified973 with the `protected_refs_for_users` feature disabled974 does not allow to create an ProtectedBranch::MergeAccessLevel with a group975 does not allow to create an ProtectedBranch::MergeAccessLevel with a user976 with the `protected_refs_for_users` feature enabled977 allows creating an ProtectedBranch::MergeAccessLevel with a group978 does not allow to add non member groups979 allows creating an ProtectedBranch::MergeAccessLevel with a user980 does not allow to add non member users981 allows users with access through group982 in ProtectedBranch::PushAccessLevel983 ProtectedBranch::PushAccessLevel includes {described_class}984 requires access_level if no user or group is specified985 doesn't require access_level if user specified986 doesn't require access_level if group specified987 with the `protected_refs_for_users` feature disabled988 does not allow to create an ProtectedBranch::PushAccessLevel with a group989 does not allow to create an ProtectedBranch::PushAccessLevel with a user990 with the `protected_refs_for_users` feature enabled991 allows creating an ProtectedBranch::PushAccessLevel with a group992 does not allow to add non member groups993 allows creating an ProtectedBranch::PushAccessLevel with a user994 does not allow to add non member users995 allows users with access through group996 in ProtectedTag::CreateAccessLevel997 ProtectedTag::CreateAccessLevel includes {described_class}998 requires access_level if no user or group is specified999 doesn't require access_level if user specified1000 doesn't require access_level if group specified1001 with the `protected_refs_for_users` feature disabled1002 does not allow to create an ProtectedTag::CreateAccessLevel with a group1003 does not allow to create an ProtectedTag::CreateAccessLevel with a user1004 with the `protected_refs_for_users` feature enabled1005 allows creating an ProtectedTag::CreateAccessLevel with a group1006 does not allow to add non member groups1007 allows creating an ProtectedTag::CreateAccessLevel with a user1008 does not allow to add non member users1009 allows users with access through group1010SCA::LicenseCompliance1011 #policies1012 when a pipeline has not been run for this project1013 is expected to be zero1014 when the project has policies configured1015 includes an a policy for a classified license that was not detected in the scan report1016 when a pipeline has run1017 when a license scan job is not configured1018 is expected to be empty1019 when the license scan job has not finished1020 is expected to be empty1021 when the license scan produces a poorly formatted report1022 is expected to be empty1023 when the dependency scan produces a poorly formatted report1024 is expected to contain exactly "BSD-3-Clause", "MIT", and nil1025 when a pipeline has successfully produced a v2.0 license scan report1026 includes a policy for each detected license and classified license1027 includes a policy for a detected license that is unclassified1028 includes a policy for a classified license that was also detected in the scan report1029 includes a policy for a classified license that was not detected in the scan report1030 includes a policy for an unclassified and unknown license that was detected in the scan report1031 when a pipeline has successfully produced a v1.1 license scan report1032 includes a policy for an unclassified license detected in the scan report1033 includes a policy for a denied license found in the scan report1034 includes a policy for an allowed license NOT found in the scan report1035 includes a policy for an unclassified and unknown license found in the scan report1036 #find_policies1037 when searching for policies for licenses that were detected in a scan report1038 only includes licenses that appear in the latest license scan report1039 includes a policy for an unclassified and known license that was detected in the scan report1040 includes an entry for a denied license found in the scan report1041 includes an entry for an allowed license found in the scan report1042 when searching for policies with a specific classification1043 includes an entry for each `allowed` licensed1044 when searching for policies by multiple classifications1045 includes an entry for each `allowed` and `denied` licensed1046 when searching for detected policies matching a classification1047 includes an entry for each entry that was detected in the report and matches a classification1048 #latest_build_for_default_branch1049 when a pipeline has never been completed for the project1050 is expected to be nil1051 when a pipeline has completed successfully and produced a license scan report1052 is expected to eq #<Ci::Build id: 68, status: "success", finished_at: "2020-03-05 08:53:29", trace: nil, created_at: "2...up_id: nil, waiting_for_resource_at: nil, processed: false, scheduling_type: "stage", tag_list: nil>1053 when a pipeline has completed but does not contain a license scan report1054 is expected to be nil1055 when latest pipeline doesn't contain license job1056 is expected to eq #<Ci::Build id: 70, status: "success", finished_at: "2020-03-05 08:53:29", trace: nil, created_at: "2...up_id: nil, waiting_for_resource_at: nil, processed: false, scheduling_type: "stage", tag_list: nil>1057DesignManagement::SaveDesignsService1058 #execute1059 when the feature is not available1060 behaves like a service error1061 returns an error1062 when the feature is available1063 when LFS is not enabled1064 behaves like a service error1065 returns an error1066 when LFS is enabled1067 updates the creation count1068 creates a commit in the repository1069 causes diff_refs not to be nil1070 creates a design & a version for the filename if it did not exist1071 saves the user as the author1072 repository existence1073 creates a design repository when it did not exist1074 saving the file to LFS1075 saves the design to LFS1076 saves the repository_type of the LfsObjectsProject as design1077 when a design is being updated1078 creates a new version for the existing design and updates the file1079 increments the update counter1080 calls repository#log_geo_updated_event1081 when uploading a new design1082 does not link the new version to the existing design1083 when a design has not changed since its previous version1084 does not create a new version1085 returns the design in `skipped_designs` instead of `designs`1086 when doing a mixture of updates and creations1087 counts one creation and one update1088 creates a single commit1089 enqueues just one new version worker1090 when uploading multiple files1091 returns information about both designs in the response1092 creates 2 designs with a single version1093 increments the creation count by 21094 enqueues a new version worker1095 creates a single commit1096 only does 5 gitaly calls1097 when uploading too many files1098 returns the correct error1099 when the user is not allowed to upload designs1100 behaves like a service error1101 returns an error1102 failure modes1103 when creating the commit fails1104 behaves like an execution error1105 returns an error1106 when creating the versions fails1107 behaves like a service error1108 returns an error1109 when a design already existed in the repo but we didn't know about it in the database1110 creates the design and a new version for it1111 scalability1112 runs the same queries for all requests, regardless of number of files1113MergeRequestBlock1114 associations1115 is expected to belong to blocking_merge_request class_name => MergeRequest required:1116 is expected to belong to blocked_merge_request class_name => MergeRequest required:1117 validations1118 is expected to validate that :blocking_merge_request cannot be empty/falsy1119 is expected to validate that :blocked_merge_request cannot be empty/falsy1120 forbids the blocking MR from being the blocked MR1121 allows an MR to block multiple MRs1122 allows an MR to be blocked by multiple MRs1123 allows blocks to be intra-project1124 forbids duplicate blocks1125 forbids blocking MR from becoming blocked1126 forbids blocked MR from becoming a blocker1127 .with_blocking_mr_ids1128 returns blocks with a matching blocking_merge_request_id1129 eager-loads the blocking MRs1130MergeRequests::RefreshService1131 #execute1132 checks merge train status1133 when branch is deleted1134 does not check merge train status1135 #update_approvers1136 when code owners disabled1137 does nothing1138 when code owners enabled1139 refreshes the code owner rules for all relevant merge requests1140 when report_approver_rules enabled, with approval_rule enabled1141 refreshes the report_approver rules for all relevant merge requests1142 Pipelines for merge requests1143DEPRECATION WARNING: Class level methods will no longer inherit scoping from `match_id_and_lock_version` in Rails 6.1. To continue using the scoped relation, pass it into the block directly. To instead access the full set of models, as Rails 6.1 will, use `CommitStatus.unscoped`, or `CommitStatus.default_scoped` if a model has default scopes. (called from block (2 levels) in <class:CommitStatus> at /builds/gitlab-org/gitlab/app/models/commit_status.rb:69)1144 creates a merge request pipeline1145 when MergeRequestUpdateWorker is retried by an exception1146DEPRECATION WARNING: Class level methods will no longer inherit scoping from `match_id_and_lock_version` in Rails 6.1. To continue using the scoped relation, pass it into the block directly. To instead access the full set of models, as Rails 6.1 will, use `CommitStatus.unscoped`, or `CommitStatus.default_scoped` if a model has default scopes. (called from block (2 levels) in <class:CommitStatus> at /builds/gitlab-org/gitlab/app/models/commit_status.rb:69)1147 does not re-create a duplicate merge request pipeline1148 #abort_ff_merge_requests_with_when_pipeline_succeeds1149 with add to merge train when pipeline succeeds strategy1150 behaves like maintained merge requests for MWPS1151 does not cancel auto merge1152 does not change merge_user1153 does not add todos1154 with merge train strategy1155 behaves like maintained merge requests for MWPS1156 does not cancel auto merge1157 does not change merge_user1158 does not add todos1159Issues::MoveService1160 #execute1161 group issue hooks1162 executes group issue hooks1163 resource weight events1164 creates expected resource weight events1165 #rewrite_related_issues1166 multiple related issues1167 moves all related issues and retains permissions1168 #rewrite_epic_issue1169 issue assigned to epic1170 updates epic issue reference1171 ignores epic issue reference if user can not update the epic1172 updating sent notifications1173 when issue is from service desk1174 updates moved issue sent notifications1175 does not update other issues sent notifications1176 when issue is not from service desk1177 does not update sent notifications1178Dashboard::Projects::ListService1179 #execute1180 when passing a project id1181 behaves like project found1182 returns the project1183 when passing a project record1184 behaves like project found1185 returns the project1186 when passing invalid project id1187 behaves like project not found1188 returns an empty list1189 with insufficient access1190 behaves like project not found1191 returns an empty list1192 checking license1193 plan: "ultimate", trial: false, expired: false, available: true1194 behaves like project found1195 returns the project1196 plan: "ultimate", trial: false, expired: true, available: true1197 behaves like project found1198 returns the project1199 plan: "ultimate", trial: true, expired: false, available: false1200 behaves like project not found1201 returns an empty list1202 plan: "ultimate", trial: true, expired: true, available: false1203 behaves like project not found1204 returns an empty list1205 plan: "premium", trial: false, expired: false, available: true1206 behaves like project found1207 returns the project1208 plan: nil, trial: false, expired: false, available: false1209 behaves like project not found1210 returns an empty list1211 checking plans1212 check_namespace_plan: true, plan: :gold, available: true1213 behaves like project found1214 returns the project1215 if :include_unavailable option is provided1216 behaves like project found1217 returns the project1218 check_namespace_plan: true, plan: :silver, available: true1219 behaves like project found1220 returns the project1221 if :include_unavailable option is provided1222 behaves like project found1223 returns the project1224 check_namespace_plan: true, plan: nil, available: false1225 behaves like project not found1226 returns an empty list1227 if :include_unavailable option is provided1228 behaves like project found1229 returns the project1230 check_namespace_plan: false, plan: :gold, available: true1231 behaves like project found1232 returns the project1233 if :include_unavailable option is provided1234 behaves like project found1235 returns the project1236 check_namespace_plan: false, plan: :silver, available: true1237 behaves like project found1238 returns the project1239 if :include_unavailable option is provided1240 behaves like project found1241 returns the project1242 check_namespace_plan: false, plan: nil, available: true1243 behaves like project found1244 returns the project1245 if :include_unavailable option is provided1246 behaves like project found1247 returns the project1248 checking availability of public projects on GitLab.com1249 check_namespace_plan: true, project_visibility: 20, namespace_visibility: 20, available: true1250 behaves like project found1251 returns the project1252 check_namespace_plan: true, project_visibility: 0, namespace_visibility: 20, available: false1253 behaves like project not found1254 returns an empty list1255 check_namespace_plan: true, project_visibility: 20, namespace_visibility: 0, available: false1256 behaves like project not found1257 returns an empty list1258 check_namespace_plan: true, project_visibility: 0, namespace_visibility: 0, available: false1259 behaves like project not found1260 returns an empty list1261 check_namespace_plan: false, project_visibility: 20, namespace_visibility: 20, available: true1262 behaves like project found1263 returns the project1264 check_namespace_plan: false, project_visibility: 0, namespace_visibility: 20, available: true1265 behaves like project found1266 returns the project1267 check_namespace_plan: false, project_visibility: 20, namespace_visibility: 0, available: true1268 behaves like project found1269 returns the project1270 check_namespace_plan: false, project_visibility: 0, namespace_visibility: 0, available: true1271 behaves like project found1272 returns the project1273 when the user is an auditor1274 behaves like project found1275 returns the project1276MergeTrains::CreatePipelineService1277 #execute1278 when merge trains option is disabled1279 behaves like returns an error1280 is expected to eq "merge trains is disabled"1281 when merge request is not on a merge train1282 behaves like returns an error1283 is expected to eq "merge request is not on a merge train"1284 when merge request is submitted from a forked project1285 behaves like returns an error1286 is expected to eq "fork merge request is not supported"1287 when prepared merge ref successfully1288 when .gitlab-ci.yml has only: [merge_requests] specification1289DEPRECATION WARNING: Class level methods will no longer inherit scoping from `match_id_and_lock_version` in Rails 6.1. To continue using the scoped relation, pass it into the block directly. To instead access the full set of models, as Rails 6.1 will, use `CommitStatus.unscoped`, or `CommitStatus.default_scoped` if a model has default scopes. (called from block (2 levels) in <class:CommitStatus> at /builds/gitlab-org/gitlab/app/models/commit_status.rb:69)1290 creates train ref1291DEPRECATION WARNING: Class level methods will no longer inherit scoping from `match_id_and_lock_version` in Rails 6.1. To continue using the scoped relation, pass it into the block directly. To instead access the full set of models, as Rails 6.1 will, use `CommitStatus.unscoped`, or `CommitStatus.default_scoped` if a model has default scopes. (called from block (2 levels) in <class:CommitStatus> at /builds/gitlab-org/gitlab/app/models/commit_status.rb:69)1292 calls Ci::CreatePipelineService for creating pipeline on train ref1293 when previous_ref is a train ref1294 when previous_ref exists1295DEPRECATION WARNING: Class level methods will no longer inherit scoping from `match_id_and_lock_version` in Rails 6.1. To continue using the scoped relation, pass it into the block directly. To instead access the full set of models, as Rails 6.1 will, use `CommitStatus.unscoped`, or `CommitStatus.default_scoped` if a model has default scopes. (called from block (2 levels) in <class:CommitStatus> at /builds/gitlab-org/gitlab/app/models/commit_status.rb:69)1296 creates train ref with the specified ref1297 when previous_ref does not exist1298 behaves like returns an error1299 is expected to eq "3:Invalid merge source"1300 when previous_ref is nil1301 behaves like returns an error1302 is expected to eq "previous ref is not specified"1303 when .gitlab-ci.yml does not have only: [merge_requests] specification1304 behaves like returns an error1305 is expected to eq "No stages / jobs for this pipeline."1306 when failed to prepare merge ref1307 behaves like returns an error1308 is expected to eq "Merge ref was not found"1309MergeTrains::RefreshMergeRequestService1310 #execute1311 when merge pipelines project configuration is disabled1312 behaves like drops the merge request from the merge train1313 is expected to receive abort(#<MergeRequest id:220 namespace951/project845!1>, "project disabled merge trains", hash_including(:process_next=>false)) 1 time1314 when merge request is not under a mergeable state1315 behaves like drops the merge request from the merge train1316 is expected to receive abort(#<MergeRequest id:221 namespace951/project845!1>, "merge request is not mergeable", hash_including(:process_next=>false)) 1 time1317 when pipeline for merge train failed1318 behaves like drops the merge request from the merge train1319 is expected to receive abort(#<MergeRequest id:222 namespace951/project845!1>, "pipeline did not succeed", hash_including(:process_next=>false)) 1 time1320 when merge request is to be squashed1321 behaves like creates a pipeline for merge train1322 is expected to be fresh1323 when previous ref is not found1324 behaves like drops the merge request from the merge train1325 is expected to receive abort(#<MergeRequest id:224 namespace951/project845!1>, "previous ref does not exist", hash_including(:process_next=>false)) 1 time1326 when pipeline has not been created yet1327 when the merge request is the first queue1328 behaves like creates a pipeline for merge train1329 is expected to be fresh1330 when it failed to create a pipeline1331 behaves like drops the merge request from the merge train1332 is expected to receive abort(#<MergeRequest id:226 namespace951/project845!1>, "failed to create pipeline", hash_including(:process_next=>false)) 1 time1333 when pipeline for merge train is running1334 when the pipeline is not stale1335 behaves like does not create a pipeline1336 is expected to be falsy1337 when the pipeline is stale1338 behaves like cancels and recreates a pipeline for the merge train13392020-03-05T04:38:20.376Z 115 TID-gnat5ifpf WARN: {:class=>"ArchiveTraceWorker", :message=>"The job does not have live trace but going to be archived.", :job_id=>78}1340DEPRECATION WARNING: Class level methods will no longer inherit scoping from `match_id_and_lock_version` in Rails 6.1. To continue using the scoped relation, pass it into the block directly. To instead access the full set of models, as Rails 6.1 will, use `CommitStatus.unscoped`, or `CommitStatus.default_scoped` if a model has default scopes. (called from block (2 levels) in <class:CommitStatus> at /builds/gitlab-org/gitlab/app/models/commit_status.rb:69)1341 cancels and recreates a pipeline for the merge train1342 when the pipeline is required to be recreated1343 behaves like cancels and recreates a pipeline for the merge train13442020-03-05T04:38:21.369Z 115 TID-gnat5ifpf WARN: {:class=>"ArchiveTraceWorker", :message=>"The job does not have live trace but going to be archived.", :job_id=>79}1345DEPRECATION WARNING: Class level methods will no longer inherit scoping from `match_id_and_lock_version` in Rails 6.1. To continue using the scoped relation, pass it into the block directly. To instead access the full set of models, as Rails 6.1 will, use `CommitStatus.unscoped`, or `CommitStatus.default_scoped` if a model has default scopes. (called from block (2 levels) in <class:CommitStatus> at /builds/gitlab-org/gitlab/app/models/commit_status.rb:69)1346 cancels and recreates a pipeline for the merge train1347 when pipeline for merge train succeeded1348 when the merge request is the first queue1349 merges the merge request1350 when it failed to merge the merge request1351 does not finish merge and drops the merge request from train1352 behaves like drops the merge request from the merge train1353 is expected to receive abort(#<MergeRequest id:232 namespace951/project845!1>, "failed to merge. Branch has been updated since the merge was requested.", hash_including(:process_next=>false)) 1 time1354 when the merge request is not the first queue1355 does not merge the merge request1356Ci::CreatePipelineService1357 with license1358 behaves like supported cross project artifacts definitions1359DEPRECATION WARNING: Class level methods will no longer inherit scoping from `match_id_and_lock_version` in Rails 6.1. To continue using the scoped relation, pass it into the block directly. To instead access the full set of models, as Rails 6.1 will, use `CommitStatus.unscoped`, or `CommitStatus.default_scoped` if a model has default scopes. (called from block (2 levels) in <class:CommitStatus> at /builds/gitlab-org/gitlab/app/models/commit_status.rb:69)1360 persists pipeline1361DEPRECATION WARNING: Class level methods will no longer inherit scoping from `match_id_and_lock_version` in Rails 6.1. To continue using the scoped relation, pass it into the block directly. To instead access the full set of models, as Rails 6.1 will, use `CommitStatus.unscoped`, or `CommitStatus.default_scoped` if a model has default scopes. (called from block (2 levels) in <class:CommitStatus> at /builds/gitlab-org/gitlab/app/models/commit_status.rb:69)1362 persists job1363DEPRECATION WARNING: Class level methods will no longer inherit scoping from `match_id_and_lock_version` in Rails 6.1. To continue using the scoped relation, pass it into the block directly. To instead access the full set of models, as Rails 6.1 will, use `CommitStatus.unscoped`, or `CommitStatus.default_scoped` if a model has default scopes. (called from block (2 levels) in <class:CommitStatus> at /builds/gitlab-org/gitlab/app/models/commit_status.rb:69)1364 persists cross_dependencies1365DEPRECATION WARNING: Class level methods will no longer inherit scoping from `match_id_and_lock_version` in Rails 6.1. To continue using the scoped relation, pass it into the block directly. To instead access the full set of models, as Rails 6.1 will, use `CommitStatus.unscoped`, or `CommitStatus.default_scoped` if a model has default scopes. (called from block (2 levels) in <class:CommitStatus> at /builds/gitlab-org/gitlab/app/models/commit_status.rb:69)1366 returns empty dependencies with non existing projects1367 behaves like broken artifacts definitions1368 persists pipeline1369 has errors1370 behaves like mixed artifacts definitions1371DEPRECATION WARNING: Class level methods will no longer inherit scoping from `match_id_and_lock_version` in Rails 6.1. To continue using the scoped relation, pass it into the block directly. To instead access the full set of models, as Rails 6.1 will, use `CommitStatus.unscoped`, or `CommitStatus.default_scoped` if a model has default scopes. (called from block (2 levels) in <class:CommitStatus> at /builds/gitlab-org/gitlab/app/models/commit_status.rb:69)1372DEPRECATION WARNING: Class level methods will no longer inherit scoping from `match_id_and_lock_version` in Rails 6.1. To continue using the scoped relation, pass it into the block directly. To instead access the full set of models, as Rails 6.1 will, use `CommitStatus.unscoped`, or `CommitStatus.default_scoped` if a model has default scopes. (called from block (2 levels) in <class:CommitStatus> at /builds/gitlab-org/gitlab/app/models/commit_status.rb:69)1373DEPRECATION WARNING: Class level methods will no longer inherit scoping from `match_id_and_lock_version` in Rails 6.1. To continue using the scoped relation, pass it into the block directly. To instead access the full set of models, as Rails 6.1 will, use `CommitStatus.unscoped`, or `CommitStatus.default_scoped` if a model has default scopes. (called from block (2 levels) in <class:CommitStatus> at /builds/gitlab-org/gitlab/app/models/commit_status.rb:69)1374 persists pipeline1375DEPRECATION WARNING: Class level methods will no longer inherit scoping from `match_id_and_lock_version` in Rails 6.1. To continue using the scoped relation, pass it into the block directly. To instead access the full set of models, as Rails 6.1 will, use `CommitStatus.unscoped`, or `CommitStatus.default_scoped` if a model has default scopes. (called from block (2 levels) in <class:CommitStatus> at /builds/gitlab-org/gitlab/app/models/commit_status.rb:69)1376DEPRECATION WARNING: Class level methods will no longer inherit scoping from `match_id_and_lock_version` in Rails 6.1. To continue using the scoped relation, pass it into the block directly. To instead access the full set of models, as Rails 6.1 will, use `CommitStatus.unscoped`, or `CommitStatus.default_scoped` if a model has default scopes. (called from block (2 levels) in <class:CommitStatus> at /builds/gitlab-org/gitlab/app/models/commit_status.rb:69)1377DEPRECATION WARNING: Class level methods will no longer inherit scoping from `match_id_and_lock_version` in Rails 6.1. To continue using the scoped relation, pass it into the block directly. To instead access the full set of models, as Rails 6.1 will, use `CommitStatus.unscoped`, or `CommitStatus.default_scoped` if a model has default scopes. (called from block (2 levels) in <class:CommitStatus> at /builds/gitlab-org/gitlab/app/models/commit_status.rb:69)1378 persists jobs1379DEPRECATION WARNING: Class level methods will no longer inherit scoping from `match_id_and_lock_version` in Rails 6.1. To continue using the scoped relation, pass it into the block directly. To instead access the full set of models, as Rails 6.1 will, use `CommitStatus.unscoped`, or `CommitStatus.default_scoped` if a model has default scopes. (called from block (2 levels) in <class:CommitStatus> at /builds/gitlab-org/gitlab/app/models/commit_status.rb:69)1380DEPRECATION WARNING: Class level methods will no longer inherit scoping from `match_id_and_lock_version` in Rails 6.1. To continue using the scoped relation, pass it into the block directly. To instead access the full set of models, as Rails 6.1 will, use `CommitStatus.unscoped`, or `CommitStatus.default_scoped` if a model has default scopes. (called from block (2 levels) in <class:CommitStatus> at /builds/gitlab-org/gitlab/app/models/commit_status.rb:69)1381DEPRECATION WARNING: Class level methods will no longer inherit scoping from `match_id_and_lock_version` in Rails 6.1. To continue using the scoped relation, pass it into the block directly. To instead access the full set of models, as Rails 6.1 will, use `CommitStatus.unscoped`, or `CommitStatus.default_scoped` if a model has default scopes. (called from block (2 levels) in <class:CommitStatus> at /builds/gitlab-org/gitlab/app/models/commit_status.rb:69)1382 persists needs1383DEPRECATION WARNING: Class level methods will no longer inherit scoping from `match_id_and_lock_version` in Rails 6.1. To continue using the scoped relation, pass it into the block directly. To instead access the full set of models, as Rails 6.1 will, use `CommitStatus.unscoped`, or `CommitStatus.default_scoped` if a model has default scopes. (called from block (2 levels) in <class:CommitStatus> at /builds/gitlab-org/gitlab/app/models/commit_status.rb:69)1384DEPRECATION WARNING: Class level methods will no longer inherit scoping from `match_id_and_lock_version` in Rails 6.1. To continue using the scoped relation, pass it into the block directly. To instead access the full set of models, as Rails 6.1 will, use `CommitStatus.unscoped`, or `CommitStatus.default_scoped` if a model has default scopes. (called from block (2 levels) in <class:CommitStatus> at /builds/gitlab-org/gitlab/app/models/commit_status.rb:69)1385DEPRECATION WARNING: Class level methods will no longer inherit scoping from `match_id_and_lock_version` in Rails 6.1. To continue using the scoped relation, pass it into the block directly. To instead access the full set of models, as Rails 6.1 will, use `CommitStatus.unscoped`, or `CommitStatus.default_scoped` if a model has default scopes. (called from block (2 levels) in <class:CommitStatus> at /builds/gitlab-org/gitlab/app/models/commit_status.rb:69)1386 persists cross_dependencies1387DEPRECATION WARNING: Class level methods will no longer inherit scoping from `match_id_and_lock_version` in Rails 6.1. To continue using the scoped relation, pass it into the block directly. To instead access the full set of models, as Rails 6.1 will, use `CommitStatus.unscoped`, or `CommitStatus.default_scoped` if a model has default scopes. (called from block (2 levels) in <class:CommitStatus> at /builds/gitlab-org/gitlab/app/models/commit_status.rb:69)1388DEPRECATION WARNING: Class level methods will no longer inherit scoping from `match_id_and_lock_version` in Rails 6.1. To continue using the scoped relation, pass it into the block directly. To instead access the full set of models, as Rails 6.1 will, use `CommitStatus.unscoped`, or `CommitStatus.default_scoped` if a model has default scopes. (called from block (2 levels) in <class:CommitStatus> at /builds/gitlab-org/gitlab/app/models/commit_status.rb:69)1389DEPRECATION WARNING: Class level methods will no longer inherit scoping from `match_id_and_lock_version` in Rails 6.1. To continue using the scoped relation, pass it into the block directly. To instead access the full set of models, as Rails 6.1 will, use `CommitStatus.unscoped`, or `CommitStatus.default_scoped` if a model has default scopes. (called from block (2 levels) in <class:CommitStatus> at /builds/gitlab-org/gitlab/app/models/commit_status.rb:69)1390 returns dependencies1391 without license1392 behaves like supported cross project artifacts definitions1393DEPRECATION WARNING: Class level methods will no longer inherit scoping from `match_id_and_lock_version` in Rails 6.1. To continue using the scoped relation, pass it into the block directly. To instead access the full set of models, as Rails 6.1 will, use `CommitStatus.unscoped`, or `CommitStatus.default_scoped` if a model has default scopes. (called from block (2 levels) in <class:CommitStatus> at /builds/gitlab-org/gitlab/app/models/commit_status.rb:69)1394 persists pipeline1395DEPRECATION WARNING: Class level methods will no longer inherit scoping from `match_id_and_lock_version` in Rails 6.1. To continue using the scoped relation, pass it into the block directly. To instead access the full set of models, as Rails 6.1 will, use `CommitStatus.unscoped`, or `CommitStatus.default_scoped` if a model has default scopes. (called from block (2 levels) in <class:CommitStatus> at /builds/gitlab-org/gitlab/app/models/commit_status.rb:69)1396 persists job1397DEPRECATION WARNING: Class level methods will no longer inherit scoping from `match_id_and_lock_version` in Rails 6.1. To continue using the scoped relation, pass it into the block directly. To instead access the full set of models, as Rails 6.1 will, use `CommitStatus.unscoped`, or `CommitStatus.default_scoped` if a model has default scopes. (called from block (2 levels) in <class:CommitStatus> at /builds/gitlab-org/gitlab/app/models/commit_status.rb:69)1398 persists cross_dependencies1399DEPRECATION WARNING: Class level methods will no longer inherit scoping from `match_id_and_lock_version` in Rails 6.1. To continue using the scoped relation, pass it into the block directly. To instead access the full set of models, as Rails 6.1 will, use `CommitStatus.unscoped`, or `CommitStatus.default_scoped` if a model has default scopes. (called from block (2 levels) in <class:CommitStatus> at /builds/gitlab-org/gitlab/app/models/commit_status.rb:69)1400 returns empty dependencies with non existing projects1401 behaves like broken artifacts definitions1402 persists pipeline1403 has errors1404 behaves like mixed artifacts definitions1405DEPRECATION WARNING: Class level methods will no longer inherit scoping from `match_id_and_lock_version` in Rails 6.1. To continue using the scoped relation, pass it into the block directly. To instead access the full set of models, as Rails 6.1 will, use `CommitStatus.unscoped`, or `CommitStatus.default_scoped` if a model has default scopes. (called from block (2 levels) in <class:CommitStatus> at /builds/gitlab-org/gitlab/app/models/commit_status.rb:69)1406DEPRECATION WARNING: Class level methods will no longer inherit scoping from `match_id_and_lock_version` in Rails 6.1. To continue using the scoped relation, pass it into the block directly. To instead access the full set of models, as Rails 6.1 will, use `CommitStatus.unscoped`, or `CommitStatus.default_scoped` if a model has default scopes. (called from block (2 levels) in <class:CommitStatus> at /builds/gitlab-org/gitlab/app/models/commit_status.rb:69)1407DEPRECATION WARNING: Class level methods will no longer inherit scoping from `match_id_and_lock_version` in Rails 6.1. To continue using the scoped relation, pass it into the block directly. To instead access the full set of models, as Rails 6.1 will, use `CommitStatus.unscoped`, or `CommitStatus.default_scoped` if a model has default scopes. (called from block (2 levels) in <class:CommitStatus> at /builds/gitlab-org/gitlab/app/models/commit_status.rb:69)1408 persists pipeline1409DEPRECATION WARNING: Class level methods will no longer inherit scoping from `match_id_and_lock_version` in Rails 6.1. To continue using the scoped relation, pass it into the block directly. To instead access the full set of models, as Rails 6.1 will, use `CommitStatus.unscoped`, or `CommitStatus.default_scoped` if a model has default scopes. (called from block (2 levels) in <class:CommitStatus> at /builds/gitlab-org/gitlab/app/models/commit_status.rb:69)1410DEPRECATION WARNING: Class level methods will no longer inherit scoping from `match_id_and_lock_version` in Rails 6.1. To continue using the scoped relation, pass it into the block directly. To instead access the full set of models, as Rails 6.1 will, use `CommitStatus.unscoped`, or `CommitStatus.default_scoped` if a model has default scopes. (called from block (2 levels) in <class:CommitStatus> at /builds/gitlab-org/gitlab/app/models/commit_status.rb:69)1411DEPRECATION WARNING: Class level methods will no longer inherit scoping from `match_id_and_lock_version` in Rails 6.1. To continue using the scoped relation, pass it into the block directly. To instead access the full set of models, as Rails 6.1 will, use `CommitStatus.unscoped`, or `CommitStatus.default_scoped` if a model has default scopes. (called from block (2 levels) in <class:CommitStatus> at /builds/gitlab-org/gitlab/app/models/commit_status.rb:69)1412 persists jobs1413DEPRECATION WARNING: Class level methods will no longer inherit scoping from `match_id_and_lock_version` in Rails 6.1. To continue using the scoped relation, pass it into the block directly. To instead access the full set of models, as Rails 6.1 will, use `CommitStatus.unscoped`, or `CommitStatus.default_scoped` if a model has default scopes. (called from block (2 levels) in <class:CommitStatus> at /builds/gitlab-org/gitlab/app/models/commit_status.rb:69)1414DEPRECATION WARNING: Class level methods will no longer inherit scoping from `match_id_and_lock_version` in Rails 6.1. To continue using the scoped relation, pass it into the block directly. To instead access the full set of models, as Rails 6.1 will, use `CommitStatus.unscoped`, or `CommitStatus.default_scoped` if a model has default scopes. (called from block (2 levels) in <class:CommitStatus> at /builds/gitlab-org/gitlab/app/models/commit_status.rb:69)1415DEPRECATION WARNING: Class level methods will no longer inherit scoping from `match_id_and_lock_version` in Rails 6.1. To continue using the scoped relation, pass it into the block directly. To instead access the full set of models, as Rails 6.1 will, use `CommitStatus.unscoped`, or `CommitStatus.default_scoped` if a model has default scopes. (called from block (2 levels) in <class:CommitStatus> at /builds/gitlab-org/gitlab/app/models/commit_status.rb:69)1416 persists needs1417DEPRECATION WARNING: Class level methods will no longer inherit scoping from `match_id_and_lock_version` in Rails 6.1. To continue using the scoped relation, pass it into the block directly. To instead access the full set of models, as Rails 6.1 will, use `CommitStatus.unscoped`, or `CommitStatus.default_scoped` if a model has default scopes. (called from block (2 levels) in <class:CommitStatus> at /builds/gitlab-org/gitlab/app/models/commit_status.rb:69)1418DEPRECATION WARNING: Class level methods will no longer inherit scoping from `match_id_and_lock_version` in Rails 6.1. To continue using the scoped relation, pass it into the block directly. To instead access the full set of models, as Rails 6.1 will, use `CommitStatus.unscoped`, or `CommitStatus.default_scoped` if a model has default scopes. (called from block (2 levels) in <class:CommitStatus> at /builds/gitlab-org/gitlab/app/models/commit_status.rb:69)1419DEPRECATION WARNING: Class level methods will no longer inherit scoping from `match_id_and_lock_version` in Rails 6.1. To continue using the scoped relation, pass it into the block directly. To instead access the full set of models, as Rails 6.1 will, use `CommitStatus.unscoped`, or `CommitStatus.default_scoped` if a model has default scopes. (called from block (2 levels) in <class:CommitStatus> at /builds/gitlab-org/gitlab/app/models/commit_status.rb:69)1420 persists cross_dependencies1421DEPRECATION WARNING: Class level methods will no longer inherit scoping from `match_id_and_lock_version` in Rails 6.1. To continue using the scoped relation, pass it into the block directly. To instead access the full set of models, as Rails 6.1 will, use `CommitStatus.unscoped`, or `CommitStatus.default_scoped` if a model has default scopes. (called from block (2 levels) in <class:CommitStatus> at /builds/gitlab-org/gitlab/app/models/commit_status.rb:69)1422DEPRECATION WARNING: Class level methods will no longer inherit scoping from `match_id_and_lock_version` in Rails 6.1. To continue using the scoped relation, pass it into the block directly. To instead access the full set of models, as Rails 6.1 will, use `CommitStatus.unscoped`, or `CommitStatus.default_scoped` if a model has default scopes. (called from block (2 levels) in <class:CommitStatus> at /builds/gitlab-org/gitlab/app/models/commit_status.rb:69)1423DEPRECATION WARNING: Class level methods will no longer inherit scoping from `match_id_and_lock_version` in Rails 6.1. To continue using the scoped relation, pass it into the block directly. To instead access the full set of models, as Rails 6.1 will, use `CommitStatus.unscoped`, or `CommitStatus.default_scoped` if a model has default scopes. (called from block (2 levels) in <class:CommitStatus> at /builds/gitlab-org/gitlab/app/models/commit_status.rb:69)1424 returns dependencies1425Operations::FeatureFlag1426 associations1427 is expected to belong to project required:1428 is expected to have many scopes1429 validations1430 is expected to validate that :project cannot be empty/falsy1431 is expected to validate that :name cannot be empty/falsy1432 is expected to validate that :name is case-sensitively unique within the scope of :project_id1433 is expected to define :version as an enum, backed by an integer, with possible values ‹{legacy_flag: 1, new_version_flag: 2}›1434 a version 1 feature flag1435 is valid if associated with Operations::FeatureFlagScope models1436 is invalid if associated with Operations::FeatureFlags::Strategy models1437 a version 2 feature flag1438 is invalid if associated with Operations::FeatureFlagScope models1439 is valid if associated with Operations::FeatureFlags::Strategy models1440 behaves like AtomicInternalId1441 .has_internal_id1442 Module inclusion1443 is expected to includes the AtomicInternalId module1444 Validation1445 when presence validation is required1446 validates presence (PENDING: No reason given)1447 when presence validation is not required1448 does not validate presence1449 Creating an instance1450 saves a new instance properly1451 internal id generation1452 calls InternalId.generate_next and sets internal id attribute1453 does not overwrite an existing internal id1454 when the instance has an internal ID set1455 calls InternalId.update_last_value and sets the `last_value` to that of the instance1456 #reset_scope_internal_id_attribute1457 rewinds the allocated IID1458 allocates the same IID1459 feature flag version1460 defaults to 1 if unspecified1461 Scope creation1462 is expected to be valid1463 when the first scope is not wildcard1464 is expected not to be valid1465 the default scope1466 with a version 1 feature flag1467 creates a default scope1468 allows specifying the default scope in the parameters1469 with a version 2 feature flag1470 does not create a default scope1471 .enabled1472 when the feature flag is active1473 returns the flag1474 when the feature flag is active and all scopes are inactive1475 returns the flag1476 when the feature flag is inactive1477 does not return the flag1478 when the feature flag is inactive and all scopes are active1479 does not return the flag1480 .disabled1481 when the feature flag is active1482 does not return the flag1483 when the feature flag is active and all scopes are inactive1484 does not return the flag1485 when the feature flag is inactive1486 returns the flag1487 when the feature flag is inactive and all scopes are active1488 returns the flag1489Dashboard::Operations::ListService1490 #execute1491 with added projects1492 returns a list of projects1493 has some project information1494 behaves like no deployment information1495 has no information1496 with `production` deployment1497 provides information about the `production` deployment1498 with alerts1499 provides information about alerts1500 behaves like avoiding N+1 queries1501 ensures a fixed amount of queries1502 with more projects1503 behaves like avoiding N+1 queries1504 ensures a fixed amount of queries1505 without any `production` deployments1506 behaves like no deployment information1507 has no information1508 without deployments1509 behaves like no deployment information1510 has no information1511 without added projects1512 behaves like no projects1513 returns an empty list1514 ensures only a single query1515Boards::Lists::CreateService1516 #execute1517 when assignee_id param is sent1518 creates a new assignee list1519 when milestone_id param is sent1520 creates a milestone list when param is valid1521 max limits1522 #create_list_attributes1523 behaves like attribute provider for list creation1524 params: {:max_issue_count=>0}, expected_max_issue_count: 0, expected_max_issue_weight: 01525 contains the expected max limits1526 params: {:max_issue_count=>nil}, expected_max_issue_count: 0, expected_max_issue_weight: 01527 contains the expected max limits1528 params: {:max_issue_count=>1}, expected_max_issue_count: 1, expected_max_issue_weight: 01529 contains the expected max limits1530 params: {:max_issue_weight=>0}, expected_max_issue_count: 0, expected_max_issue_weight: 01531 contains the expected max limits1532 params: {:max_issue_weight=>nil}, expected_max_issue_count: 0, expected_max_issue_weight: 01533 contains the expected max limits1534 params: {:max_issue_weight=>1}, expected_max_issue_count: 0, expected_max_issue_weight: 11535 contains the expected max limits1536 params: {:max_issue_count=>1, :max_issue_weight=>0}, expected_max_issue_count: 1, expected_max_issue_weight: 01537 contains the expected max limits1538 params: {:max_issue_count=>0, :max_issue_weight=>1}, expected_max_issue_count: 0, expected_max_issue_weight: 11539 contains the expected max limits1540 params: {:max_issue_count=>1, :max_issue_weight=>1}, expected_max_issue_count: 1, expected_max_issue_weight: 11541 contains the expected max limits1542 params: {:max_issue_count=>nil, :max_issue_weight=>1}, expected_max_issue_count: 0, expected_max_issue_weight: 11543 contains the expected max limits1544 params: {:max_issue_count=>1, :max_issue_weight=>nil}, expected_max_issue_count: 1, expected_max_issue_weight: 01545 contains the expected max limits1546 params: {:max_issue_count=>nil, :max_issue_weight=>nil}, expected_max_issue_count: 0, expected_max_issue_weight: 01547 contains the expected max limits1548 behaves like attribute provider for list creation1549 params: {:max_issue_count=>0}, expected_max_issue_count: 0, expected_max_issue_weight: 01550 contains the expected max limits1551 params: {:max_issue_count=>nil}, expected_max_issue_count: 0, expected_max_issue_weight: 01552 contains the expected max limits1553 params: {:max_issue_count=>1}, expected_max_issue_count: 1, expected_max_issue_weight: 01554 contains the expected max limits1555 params: {:max_issue_weight=>0}, expected_max_issue_count: 0, expected_max_issue_weight: 01556 contains the expected max limits1557 params: {:max_issue_weight=>nil}, expected_max_issue_count: 0, expected_max_issue_weight: 01558 contains the expected max limits1559 params: {:max_issue_weight=>1}, expected_max_issue_count: 0, expected_max_issue_weight: 11560 contains the expected max limits1561 params: {:max_issue_count=>1, :max_issue_weight=>0}, expected_max_issue_count: 1, expected_max_issue_weight: 01562 contains the expected max limits1563 params: {:max_issue_count=>0, :max_issue_weight=>1}, expected_max_issue_count: 0, expected_max_issue_weight: 11564 contains the expected max limits1565 params: {:max_issue_count=>1, :max_issue_weight=>1}, expected_max_issue_count: 1, expected_max_issue_weight: 11566 contains the expected max limits1567 params: {:max_issue_count=>nil, :max_issue_weight=>1}, expected_max_issue_count: 0, expected_max_issue_weight: 11568 contains the expected max limits1569 params: {:max_issue_count=>1, :max_issue_weight=>nil}, expected_max_issue_count: 1, expected_max_issue_weight: 01570 contains the expected max limits1571 params: {:max_issue_count=>nil, :max_issue_weight=>nil}, expected_max_issue_count: 0, expected_max_issue_weight: 01572 contains the expected max limits1573Ci::CompareContainerScanningReportsService1574 #execute1575 when head pipeline has container scanning reports1576 reports new, existing and fixed vulnerabilities1577 when base and head pipelines have container scanning reports1578 reports status as parsed1579 populates fields based on current_user1580 reports new vulnerability1581 reports existing container vulnerabilities1582 reports fixed container scanning vulnerabilities1583 when head pipeline has corrupted container scanning vulnerability reports1584 returns status and error message1585 returns status and error message when pipeline is nil1586Gitlab::Email::Handler::CreateNoteHandler1587 when the note could not be saved1588 raises an InvalidNoteError1589 when the note contains quick actions1590 and current user cannot update the noteable1591 only executes the commands that the user can perform1592 and current user can update noteable1593 posts a note and updates the noteable1594 when the reply is blank1595 raises an EmptyEmailError1596 when everything is fine1597 creates a comment1598 adds all attachments1599 when sub-addressing is not supported1600 mail key is in the References header1601 behaves like an email that contains a mail key1602 fetches the mail key from the References header and creates a comment1603 mail key is in the References header with a comma1604 behaves like an email that contains a mail key1605 fetches the mail key from the References header and creates a comment1606 when the service desk1607 is enabled1608 when issues are enabled for everyone1609 creates a comment1610 when quick actions are present1611 encloses quick actions with code span markdown1612 when issues are protected members only1613 creates a comment1614 when issues are disabled1615 does not create a comment1616 is disabled1617 does not create a comment1618EnvironmentsHelper1619 #metrics_data1620 user has all accesses1621 returns additional configuration1622 user does not have access to pod logs1623 returns additional configuration1624 #environment_logs_data1625 returns environment parameters data1626 returns parameters for forming the pod logs API URL1627 #custom_metrics_available?1628 returns true1629ApprovalRules::ParamsFilteringService1630 #execute1631 create1632 behaves like assigning_users_and_groups1633 user can update approvers1634 only assigns eligible users and groups1635 user cannot update approvers1636 deletes the approval_rules_attributes from params1637 any approver rule1638 sets rule type for the rules attributes1639 update1640 behaves like assigning_users_and_groups1641 user can update approvers1642 only assigns eligible users and groups1643 user cannot update approvers1644 deletes the approval_rules_attributes from params1645 with remove_hidden_groups being true1646 behaves like assigning_users_and_groups1647 user can update approvers1648 only assigns eligible users and groups1649 user cannot update approvers1650 deletes the approval_rules_attributes from params1651EpicIssues::DestroyService1652 #execute1653 when epics feature is disabled1654 returns an error1655 when epics feature is enabled1656 when user has permissions to remove associations1657 removes related issue1658 returns success message1659 creates 2 system notes1660 creates a note for epic correctly1661 creates a note for issue correctly1662 user does not have permissions to remove associations1663 does not remove relation1664 returns error message1665 refresh epic dates1666 calls UpdateDatesService1667Boards::CreateService1668 #execute1669 behaves like boards create service1670 With the feature available1671 with valid params1672 creates a new board1673 creates the default lists1674 with invalid params1675 does not create a new parent board1676 does not create board's default lists1677 without params1678 creates a new parent board1679 creates board's default lists1680 behaves like boards create service1681 skips creating a second board when the feature is not available1682 With the feature available1683 with valid params1684 creates a new board1685 creates the default lists1686 with invalid params1687 does not create a new parent board1688 does not create board's default lists1689 without params1690 creates a new parent board1691 creates board's default lists1692 behaves like setting a milestone scope1693 for a group board1694 behaves like an invalid milestone1695 when milestone is from another project / group1696 is expected to be nil1697 behaves like a predefined milestone1698 Upcoming1699 is expected to eq #<struct Milestone::MilestoneStruct title="Upcoming", name="#upcoming", id=-2>1700 Started1701 is expected to eq #<struct Milestone::MilestoneStruct title="Started", name="#started", id=-3>1702 behaves like a group milestone1703 when milestone is a group milestone1704 is expected to eq #<Milestone id:7 %"My title 383">1705 when milestone is an an ancestor group milestone1706 is expected to eq #<Milestone id:8 %"My title 384">1707 for a project board1708 behaves like an invalid milestone1709 when milestone is from another project / group1710 is expected to be nil1711 behaves like a predefined milestone1712 Upcoming1713 is expected to eq #<struct Milestone::MilestoneStruct title="Upcoming", name="#upcoming", id=-2>1714 Started1715 is expected to eq #<struct Milestone::MilestoneStruct title="Started", name="#started", id=-3>1716 behaves like a group milestone1717 when milestone is a group milestone1718 is expected to eq #<Milestone id:10 %"My title 386">1719 when milestone is an an ancestor group milestone1720 is expected to eq #<Milestone id:11 %"My title 387">1721 when milestone is a project milestone1722 is expected to eq #<Milestone id:12 group251/group252/project991%"My title 388">1723Packages::Conan::SearchService1724 #execute1725 with wildcard1726 makes a wildcard query1727 with only wildcard1728 returns empty1729 with no wildcard1730 makes a search using the beginning of the recipe1731 with full recipe match1732 makes an exact search1733 with malicious query1734 returns empty1735InstanceSecurityDashboard1736 #all_pipelines1737 returns pipelines for the projects with security reports1738 #project_ids_with_security_reports1739 when given project IDs1740 returns the project IDs that are also on the user's security dashboard1741 when not given project IDs1742 returns the security dashboard projects' IDs1743 when the user cannot read all resources1744 only includes projects they can read1745 when the user can read all resources1746 includes all dashboard projects1747 #feature_available?1748 when the feature is available for the instance's license1749 returns true1750 when the feature is not available for the instance's license1751 returns false1752 #projects1753 when the user cannot read all resources1754 returns only projects on their dashboard that they can read1755 when the user can read all resources1756 returns all projects on the user's dashboard1757PathLock1758 Relations1759 is expected to belong to project required:1760 is expected to belong to user required:1761 Validations1762 is expected to validate that :user cannot be empty/falsy1763 is expected to validate that :project cannot be empty/falsy1764 is expected to validate that :path cannot be empty/falsy1765 is expected to validate that :path is case-sensitively unique within the scope of :project_id1766 #path_unique_validation1767 is not valid because of upstream lock1768 is not valid because of downstream lock1769 downstream?1770 returns true1771 returns false1772 returns false1773 upstream?1774 returns true1775 returns false1776 returns false1777 exact?1778 returns true1779 returns false1780Mutations::DesignManagement::Delete1781 #resolve1782 when the feature is not available1783 behaves like resource not available1784 behaves like failures1785 raises Gitlab::Graphql::Errors::ResourceNotAvailable1786 when the feature is available1787 when the user is not allowed to delete designs1788 behaves like resource not available1789 behaves like failures1790 raises Gitlab::Graphql::Errors::ResourceNotAvailable1791 deleting an already deleted file1792 fails with an argument error1793 when deleting all the designs1794 returns a new version, and no errors1795 runs no more than 28 queries1796 the current designs1797 is empty1798 when deleting a design1799 returns the expected response1800 the current designs1801 does contain designs b and c1802Epics::CloseService1803 #execute1804 when epics are disabled1805 does not close the epic1806 when epics are enabled1807 when a user has permissions to update the epic1808 when closing an opened epic1809 closes the epic1810 changes closed_by1811 changes closed_at1812 creates a system note about epic close1813 notifies the subscribers1814 creates new event1815 when trying to close a closed epic1816 does not change the epic state1817 does not change closed_at1818 does not change closed_by1819 does not create a system note1820 does not send any emails1821 does not create an event1822 when a user does not have permissions to update epic1823 does not close the epic1824Gitlab::Auth::LDAP::Access1825 #allowed?1826 LDAP user1827Deprecation warning: Net::LDAP::ConnectionRefused will be deprecated. Use Errno::ECONNREFUSED instead.1828Deprecation warning: Net::LDAP::ConnectionRefused will be deprecated. Use Errno::ECONNREFUSED instead.1829 finds a user by dn first1830 finds a user by email if not found by dn1831 returns false if user cannot be found1832 when exists in LDAP/AD1833 user blocked in LDAP/AD1834 blocks user in GitLab1835 on a read-only instance1836 does not block user in GitLab1837 user unblocked in LDAP/AD1838 unblocks user in GitLab1839 on a read-only instance1840 does not unblock user in GitLab1841 when no longer exist in LDAP/AD1842 blocks user in GitLab1843 on a read-only instance1844 does not block user in GitLab1845 #update_user1846 email address1847 does not update email if email attribute is not set1848 does not update the email if the user has the same email in GitLab and in LDAP1849 does not update the email if the user has the same email GitLab and in LDAP, but with upper case in LDAP1850 when mail is different1851 does not update the email when in a read-only GitLab instance1852 updates the email if the user email is different1853 does not update the name if the user email is different1854 name1855 does not update name if name attribute is not set1856 does not update the name if the user has the same name in GitLab and in LDAP1857 when cn is different1858 does not update the name when in a read-only GitLab instance1859 updates the name if the user name is different1860 does not update the email if the user name is different1861 group memberships1862 doesn't continue when there is no `memberOf` param1863 when there is `memberof` param1864 triggers a sync for all groups found in `memberof` for new users1865 doesn't trigger a sync when in a read-only GitLab instance1866 doesn't trigger a sync when there are no links for the provider1867 does not performs the membership update for existing users1868 SSH keys1869 adds a SSH key if it is in LDAP but not in gitlab1870 adds a SSH key and give it a proper name1871 does not add a SSH key if it is invalid1872 does not add a SSH key when in a read-only GitLab instance1873 user has at least one LDAPKey1874 removes a SSH key if it is no longer in LDAP1875 removes a SSH key if the ldap attribute was removed1876 kerberos identity1877 adds a Kerberos identity if it is in Active Directory but not in GitLab1878 updates existing Kerberos identity in GitLab if Active Directory has a different one1879 does not remove Kerberos identities from GitLab if they are none in the LDAP provider1880 does not modify identities in GitLab if they are no kerberos principal in the LDAP provider1881 does not add a Kerberos identity when in a read-only GitLab instance1882 LDAP entity1883 whent external UID changed in the entry1884 updates the external UID1885 does not update the external UID when in a read-only GitLab instance1886shared/issuable/_approvals.html.haml1887 has no approvers1888 can override approvers1889 shows suggested approvers1890 can not override approvers1891 hides suggested approvers1892 hides select approvers field1893 hides select approver groups field1894 has approvers1895 shows approver in table1896 can not override approvers1897 hides remove button1898Gitlab::Ci::Parsers::Security::DependencyScanning1899 #parse!1900 report_format: :dependency_scanning, occurrence_count: 4, identifier_count: 7, scanner_count: 2, file_path: "app/pom.xml", package_name: "io.netty/netty", package_version: "3.9.1.Final", version: "1.3"1901 parses all identifiers and occurrences1902 generates expected location1903 generates expected metadata_version1904 report_format: :dependency_scanning_deprecated, occurrence_count: 4, identifier_count: 7, scanner_count: 2, file_path: "app/pom.xml", package_name: "io.netty/netty", package_version: "3.9.1.Final", version: "1.3"1905 parses all identifiers and occurrences1906 generates expected location1907 generates expected metadata_version1908 report_format: :dependency_scanning_remediation, occurrence_count: 2, identifier_count: 3, scanner_count: 1, file_path: "yarn.lock", package_name: "debug", package_version: "1.0.5", version: "2.0"1909 parses all identifiers and occurrences1910 generates expected location1911 generates expected metadata_version1912 when parsing a vulnerability with a missing location1913 is expected not to raise Exception1914 when parsing a vulnerability with a missing cve1915 is expected not to raise Exception1916 when vulnerabilities have remediations1917 generates occurrence with expected remediation1918Packages::PackageFileUploader1919 behaves like builds correct paths1920 #store_dir1921 behaves like matches the method pattern1922 is expected to match /\h{2}\/\h{2}/1923 #cache_dir1924 behaves like matches the method pattern1925 is expected to match /\/packages\/tmp\/cache/1926 #work_dir1927 behaves like matches the method pattern1928 is expected to match /\/packages\/tmp\/work/1929 #upload_path1930 behaves like matches the method pattern1931 example at ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:8 (PENDING: No pattern provided, skipping.)1932 #relative_path1933 is relative (PENDING: Path not set, skipping.)1934 .absolute_path1935 behaves like matches the method pattern1936 example at ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:8 (PENDING: No pattern provided, skipping.)1937 .base_dir1938 behaves like matches the method pattern1939 example at ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:8 (PENDING: No pattern provided, skipping.)1940 object store is remote1941 behaves like builds correct paths1942 #store_dir1943 behaves like matches the method pattern1944 is expected to match /\h{2}\/\h{2}/1945 #cache_dir1946 behaves like matches the method pattern1947 example at ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:8 (PENDING: No pattern provided, skipping.)1948 #work_dir1949 behaves like matches the method pattern1950 example at ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:8 (PENDING: No pattern provided, skipping.)1951 #upload_path1952 behaves like matches the method pattern1953 example at ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:8 (PENDING: No pattern provided, skipping.)1954 #relative_path1955 is relative (PENDING: Path not set, skipping.)1956 .absolute_path1957 behaves like matches the method pattern1958 example at ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:8 (PENDING: No pattern provided, skipping.)1959 .base_dir1960 behaves like matches the method pattern1961 example at ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:8 (PENDING: No pattern provided, skipping.)1962 remote file1963 with object storage enabled1964 can store file remotely1965Vulnerabilities::FeedbackEntity1966 #as_json1967 is expected to include :created_at, :project_id, :author, :category, and :feedback_type1968 feedback type is issue1969 when issue is present1970 exposes the issue iid1971 when user can view issues1972 exposes issue url1973 when user cannot view issues1974 does not expose issue url1975 when there is no current user1976 does not include fields related to current user1977 when issue is not present1978 does not expose issue information1979 when allowed to destroy vulnerability feedback1980 does not contain destroy vulnerability feedback dismissal path1981 feedback type is merge_request1982 when merge request is present1983 exposes the merge request iid1984 when user can view merge requests1985 exposes merge request url1986 when user cannot view merge requests1987 does not expose merge request url1988 when merge request is not present1989 does not expose merge request information1990 when allowed to destroy vulnerability feedback1991 does not contain destroy vulnerability feedback dismissal path1992 feedback type is dismissal1993 when not allowed to destroy vulnerability feedback1994 does not contain destroy vulnerability feedback dismissal path1995 when allowed to destroy vulnerability feedback1996 contains destroy vulnerability feedback dismissal path1997 when comment is not present1998 is expected not to include :comment_details1999 when comment is present2000 exposes comment information2001FeatureFlags::DestroyService2002 #execute2003 returns status success2004 destroys feature flag2005 creates audit log2006 when user is reporter2007 returns error status2008 when feature flag can not be destroyed2009 returns status error2010 does not create audit log2011EE::SystemNotes::MergeTrainService2012 #enqueue2013 posts the 'merge train' system note2014 behaves like a system note2015 has the correct attributes2016 when index of the merge request is not zero2017 posts the 'merge train' system note2018 #cancel2019 posts the 'merge train' system note2020 behaves like a system note2021 has the correct attributes2022 #abort2023 posts the 'merge train' system note2024 behaves like a system note2025 has the correct attributes2026 #add_when_pipeline_succeeds2027 posts the 'add to merge train when pipeline succeeds' system note2028 behaves like a system note2029 has the correct attributes2030 #cancel_add_when_pipeline_succeeds2031 posts the 'add to merge train when pipeline succeeds' system note2032 behaves like a system note2033 has the correct attributes2034 #abort_add_when_pipeline_succeeds2035 posts the 'add to merge train when pipeline succeeds' system note2036 behaves like a system note2037 has the correct attributes2038clusters/clusters/show2039 when the cluster details page is opened2040 with project level cluster2041 behaves like cluster health section2042 with feature cluster_health available2043 displays the Cluster health section2044 without feature cluster_health available2045 does not show the Cluster health section2046 with group level cluster2047 behaves like cluster health section2048 with feature cluster_health available2049 displays the Cluster health section2050 without feature cluster_health available2051 does not show the Cluster health section2052Banzai::ReferenceParser::EpicParser2053 #nodes_visible_to_user2054 when the epics feature is enabled2055 returns the nodes the user can read for valid epic nodes2056 returns an empty array for nodes without required data-attributes2057 when the epics feature is disabled2058 returns an empty array2059 #referenced_by2060 when using an existing epics IDs2061 returns an Array of epics2062 returns an empty Array for empty list of nodes2063 when epic with given ID does not exist2064 returns an empty Array2065 #records_for_nodes2066 returns a Hash containing the epics for a list of nodes2067NotificationRecipientService2068 #build_new_review_recipients2069 when there are multiple watchers2070 avoids N+1 queries2071 when there are multiple subscribers2072 avoids N+1 queries2073 when the project is private2074 avoids N+1 queries2075EE::LockHelper2076 #lock_file_link2077 there is no locks2078 returns Lock with no toltip2079 returns Lock button with tooltip2080 exact lock2081 returns Unlock with no toltip2082 returns Lock button with tooltip2083 upstream lock2084 returns Lock with no toltip2085 returns Lock button with tooltip2086 downstream lock2087 returns Lock with no toltip2088 returns Lock button with tooltip2089Gitlab::Auth::GroupSaml::IdentityLinker2090 linked identity exists2091 doesn't create new identity2092 sets #changed? to false2093 adds user to group2094 identity needs to be created2095 with identity provider initiated request2096 attempting to link accounts raises an exception2097 with valid gitlab initiated request2098 creates linked identity2099 sets identity provider2100 sets saml provider2101 sets identity extern_uid2102 sets #changed? to true2103 adds user to group2104DraftNote2105 validations2106 behaves like a valid diff positionable note2107 for commit2108 position diff refs matches commit diff refs2109 is valid2110 position diff refs does not match commit diff refs2111 is invalid2112 commit does not exist2113 is invalid2114GithubService::StatusMessage2115 #description2116 includes human readable gitlab status2117 gets truncated to 140 chars2118 #status2119 gitlab_status: "pending", github_status: :pending2120 transforms status2121 gitlab_status: "created", github_status: :pending2122 transforms status2123 gitlab_status: "running", github_status: :pending2124 transforms status2125 gitlab_status: "manual", github_status: :pending2126 transforms status2127 gitlab_status: "success", github_status: :success2128 transforms status2129 gitlab_status: "skipped", github_status: :success2130 transforms status2131 gitlab_status: "failed", github_status: :failure2132 transforms status2133 gitlab_status: "canceled", github_status: :error2134 transforms status2135 #status_options2136 includes context2137 includes target_url2138 includes description2139 #context2140 when status context is supposed to be dynamic2141 appends pipeline reference to the status context2142 when status context is supposed to be static2143 appends instance hostname to the status context2144 .from_pipeline_data2145 builds an instance of GithubService::StatusMessage2146 builds an object with2147 sha2148 status2149 target_url2150 description2151 context2152 when pipeline is blocked2153 uses human readable status which can be used in a sentence2154 when static context has been configured2155 appends instance name to the context name2156VulnerabilityFeedback::DestroyService#execute2157 when feedback_type is dismissal2158 destroys the feedback2159 when user is not authorized2160 raise error if permission is denied2161 when feedback_type is issue2162 raise error as this type of feedback can not be destroyed2163 when feedback_type is merge_request2164 raise error as this type of feedback can not be destroyed2165Dashboard::Environments::ListService2166 #execute2167 returns a list of projects2168 preloads only relevant ci_builds2169 when unlicensed2170 returns an empty array2171ee/bin/sidekiq-cluster2172 args: ["--negate", "cronjob"], included: "-qdefault,1", excluded: "-qcronjob,1"2173 runs successfully2174 args: ["--experimental-queue-selector", "resource_boundary=cpu"], included: "-qupdate_merge_requests,1", excluded: "-qdefault,1"2175 runs successfully2176Label2177 #scoped_label?2178 with scoped_labels available2179 returns false for unscoped labels2180 returns true for scoped labels2181 splitting scoped labels2182 title: "key1::key 2::some value", key: "key1::key 2", value: "some value"2183 #scoped_label_key returns key for scoped labels2184 #scoped_label_value returns title without the key2185 title: "key1::some value", key: "key1", value: "some value"2186 #scoped_label_key returns key for scoped labels2187 #scoped_label_value returns title without the key2188 title: "::some value", key: "", value: "some value"2189 #scoped_label_key returns key for scoped labels2190 #scoped_label_value returns title without the key2191 title: "some value", key: nil, value: "some value"2192 #scoped_label_key returns key for scoped labels2193 #scoped_label_value returns title without the key2194ApprovalMergeRequestRulePolicy2195 when user can update merge request2196 allows updating approval rule2197 when rule is any-approval2198 allows updating approval rule2199 when rule is not user editable2200 disallows updating approval rule2201 when user cannot update merge request2202 disallows updating approval rule2203DraftNotes::DestroyService2204 destroys a single draft note2205 destroys all draft notes for a user in a merge request2206 diff highlight cache clearing2207 when destroying all draft notes of a user2208 clears highlighting cache if unfold required for any2209 when destroying one draft note2210 clears highlighting cache if unfold required2211shared/_mirror_status.html.haml2212 when mirror has not updated yet2213 does not render anything2214 when mirror successful2215 renders success message2216 when mirror failed2217 renders failure message2218 renders failure message with icon2219 with a previous successful update2220 renders failure message2221 with a hard failed mirror2222 renders hard failed message2223Gitlab::GitAccessWiki2224 when in a read-only GitLab instance2225 behaves like a read-only GitLab instance2226 denies push access2227 for a Geo setup2228 that is incorrectly set up2229 denies push access with primary present2230 that is correctly set up2231 attempts to proxy to the primary2232 when wiki is disabled2233 allows code download for geo2234Ci::ProcessBuildService#execute2235 when related to a protected environment2236 when Protected Environments feature is not available on project2237 enqueues the build2238 when Protected Environments feature is available on project2239 when user does not have access to the environment2240 fails the build2241 when user has access to the environment2242 enqueues the build2243Projects::HashedStorage::RollbackRepositoryService2244 #execute2245 when succeeds2246 renames project, wiki and design repositories2247 updates project to be legacy and not read-only2248 move operation is called for each repository2249 when one move fails2250 rolls repositories back to original name2251 when rollback fails2252 does not try to move nil repository over existing2253Ci::Subscriptions::Project2254 Relations2255 is expected to belong to downstream_project required: true2256 is expected to belong to upstream_project required: true2257 Validations2258 is expected to validate that :upstream_project_id is case-sensitively unique within the scope of :downstream_project_id2259 validates that upstream project is public2260Packages::Nuget::MetadataExtractionService2261 #execute2262 with valid package file id2263 is expected to eq {:package_name=>"DummyProject.DummyPackage", :package_version=>"1.0.0"}2264 with invalid package file id2265 is expected to raise Packages::Nuget::MetadataExtractionService::ExtractionError with "invalid package file"2266 linked to a non nuget package2267 is expected to raise Packages::Nuget::MetadataExtractionService::ExtractionError with "invalid package file"2268 with a 0 byte package file id2269 is expected to raise Packages::Nuget::MetadataExtractionService::ExtractionError with "invalid package file"2270 without the nuspec file2271 is expected to raise Packages::Nuget::MetadataExtractionService::ExtractionError with "nuspec file not found"2272 with a too big nuspec file2273 is expected to raise Packages::Nuget::MetadataExtractionService::ExtractionError with "nuspec file too big"2274ProjectAuthorization2275 .roles_stats2276 is expected to eq 22277 .visible_to_user_and_access_level2278 returns the records for given user that have at least the given access2279Packages::CreateDependencyService2280 #execute2281 when packages are published2282 creates dependencies and links2283 with repeated packages2284 creates dependencies and links2285 with dependencies bulk insert conflicts2286 creates dependences and links2287 with existing dependencies2288 reuses them2289 with a dependency not described with a hash2290 creates dependencies and links2291LabelsHelper2292 #render_label2293 with scoped labels enabled2294 includes link to scoped labels documentation2295 does not include link to scoped label documentation for common labels2296 right text span does not have .gl-label-text-dark class if label color is dark2297 right text span has .gl-label-text-dark class if label color is light2298 with scoped labels disabled2299 does not include link to scoped documentation2300 #label_dropdown_data2301 when edit_context is a project2302 is expected to eq {:default_label=>"Labels", :field_name=>"label_name[]", :namespace_path=>"namespace1303", :project_id.../project/labels.md#scoped-labels-premium", :show_any=>"true", :show_no=>"true", :toggle=>"dropdown"}2303 when edit_context is a group2304 is expected to eq {:default_label=>"Labels", :field_name=>"label_name[]", :group_id=>2498, :scoped_labels=>"false", :sc.../project/labels.md#scoped-labels-premium", :show_any=>"true", :show_no=>"true", :toggle=>"dropdown"}2305ManagedLicenseEntity2306 #as_json2307 contains required fields2308 #approval_status2309 classification: "allowed", approval_status: "approved"2310 is expected to eql "approved"2311 classification: "denied", approval_status: "blacklisted"2312 is expected to eql "blacklisted"2313ProtectedEnvironments::DestroyService#execute2314 when the Protected Environment is deleted2315 is expected to be truthy2316 deletes the requested ProtectedEnvironment2317 deletes the related DeployAccessLevel2318 when the Protected Environment can not be deleted2319 is expected to be falsy2320ProtectedEnvironments::SearchService#execute2321 with empty search2322 returns unfiltered unprotected environments2323 with specific search2324 returns specific unprotected environemtns2325 when no match2326 returns an empty array2327EE::Gitlab::Checks::PushRules::FileSizeCheck2328 #validate!2329 returns an error if file exceeds the maximum file size2330 behaves like check ignored when push rule unlicensed2331 is expected to be truthy2332Projects::Prometheus::Metrics::UpdateService2333 updates the prometheus metric2334 when metric has a prometheus alert associated2335 does not schedule a prometheus alert update without title nor query being changed2336 when updating title2337 schedules a prometheus alert update2338 when updating query2339 schedules a prometheus alert update2340Epics::CreateService2341 #execute2342 creates one epic correctly2343 handling fixed dates2344 sets the fixed date correctly2345 after_save callback to store_mentions2346 when mentionable attributes change2347 when content has no mentions2348 calls store_mentions! and saves no mentions2349 when content has mentions2350 calls store_mentions! and saves mentions2351 when mentionable.save fails2352 does not call store_mentions and saves no mentions2353Clusters::Applications::ScheduleUpdateService2354 #execute2355 when application is able to be updated2356 when the application was recently scheduled2357 schedules worker with a backoff delay2358 when the application has not been recently updated2359 schedules worker2360Gitlab::Insights::Reducers::LabelCountPerPeriodReducer2361 returns issuables with only the needed fields2362 avoids N + 1 queries2363Packages::CreatePackageFileService2364 #execute2365 with valid params2366 creates a new package file2367 file is missing2368 raises an error2369Event2370 #visible_to_user?2371 epic event2372 on public group2373 behaves like visible to everybody2374 is visible to other users2375 on private group2376 behaves like visible to group members only2377 is not visible to other users2378 epic note event2379 on public group2380 behaves like visible to everybody2381 is visible to other users2382 private group2383 behaves like visible to group members only2384 is not visible to other users2385Gitlab::Checks::ChangeAccess2386 #exec2387 calls push rules validators2388 behaves like check ignored when push rule unlicensed2389 is expected to be truthy2390Dashboard::Projects::CreateService2391 #execute2392 with projects2393 with integer id2394 adds a project2395 with string id2396 adds a project2397 with repeating project id2398 adds a project only once2399 with already added project2400 does not add duplicates2401 with invalid project ids2402 does not add invalid project ids2403Projects::GroupLinks::DestroyService2404 audit events2405 when licensed2406 does not log audit event if operation fails2407 when operation succeeds2408 logs an audit event2409 logs the audit event info2410 when not licensed2411 does not log audit event2412Gitlab::Auth::Smartcard::Certificate2413 #find_or_create_user2414 user and smartcard identity already exist2415 behaves like an existing user2416 finds existing user2417 does not create new user2418 user exists but smartcard identity does not2419 associates the new smartcard identity with the user2420 behaves like an existing user2421 finds existing user2422 does not create new user2423 behaves like a new smartcard identity2424 creates smartcard identity2425 user exists but it is using a new smartcard2426 keeps both identities for the user2427 behaves like an existing user2428 finds existing user2429 does not create new user2430 behaves like a new smartcard identity2431 creates smartcard identity2432 user and smartcard identity do not exist2433 calls Users::BuildService with correct params2434 behaves like creates user2435 is expected to eql "gitlab-user@random-corp.org"2436 when the current minimum password length is different from the default minimum password length2437 behaves like creates user2438 is expected to eql "gitlab-user@random-corp.org"2439 behaves like a new smartcard identity2440 creates smartcard identity2441 username generation2442 uses CN from certificate2443 creates user with correct username2444 avoids conflicting namespaces2445 creates user with correct usnername2446 san email defined2447 creates user2448 behaves like a valid certificate is required2449 invalid certificate2450 returns nil2451 incorrect certificate2452 returns nil2453 behaves like a certificate store2454 .store2455 file does not exist2456 raises error2457 smartcard ca_file is not a valid certificate2458 raises error2459FeatureFlagSerializer2460 #represent2461 includes feature flag attributes2462Gitlab::Ci::Pipeline::Chain::Limit::Size2463 when pipeline size limit is exceeded2464 when saving incomplete pipelines2465 drops the pipeline2466 persists the pipeline2467 breaks the chain2468 sets a valid failure reason2469 appends validation error2470 logs the error2471 when not saving incomplete pipelines2472 does not drop the pipeline2473 breaks the chain2474 when pipeline size limit is not exceeded2475 does not break the chain2476 does not persist the pipeline2477 does not log any error2478MergeTrains::CheckStatusService2479 #execute2480 when there is at least one merge request on the train2481 when new revision is included in merge train history2482 does not outdate the merge train pipeline2483 when new revision is not included in merge train history2484 outdates the merge train pipeline2485 when there are no merge requests on train2486 does not raise error2487 when merge train is disabled on the project2488 does not check history2489AdjournedProjectDeletionWorker2490 #perform2491 executes destroying project2492 stops execution if user was deleted2493CiCd::GithubSetupService2494 #execute2495 creates the webhook in the background2496 sets up GithubService project integration2497PlanLimits2498 without plan limits configured2499 #exceeded?2500 does not exceed any relation offset2501 with plan limits configured2502 #exceeded?2503 does not exceed the relation offset2504 with boundary values2505 #exceeded?2506 does exceed the relation offset2507CiCd::GithubIntegrationSetupService2508 sets up GitHub service integration2509 with API token2510 with repo URL2511 with static_context2512EE::UsageStatistics2513 .distinct_count_by2514 two records created by the same user2515 returns a count of 12516 when given no colum to count2517 counts by :id and returns a count of 22518 one record created by each user2519 returns a count of 22520 the count query times out2521 does not raise an error2522 returns -12523Repository index2524 when fresh master branch is first pushed, followed by another update, then indexed2525 indexes initial push2526Banzai::Filter::LabelReferenceFilter2527 with scoped labels enabled2528 includes link to scoped documentation2529 does not include link to scoped documentation for common labels2530 with scoped labels disabled2531 renders label as a common label2532Users::CreateService2533 #execute2534 audit events2535 when licensed2536 does not log audit event if operation fails2537 when operation succeeds2538 logs an audit event2539 logs the audit event info2540 when not licensed2541 does not log audit event2542 when audit is not required2543 does not log any audit event2544Security::StoreScansService2545 build has security reports2546 saves security scans2547 scan already exists2548 does not save2549EventCreateService2550 Epics2551 #open_epic2552 creates new event2553 #close_epic2554 creates new event2555 #reopen_epic2556 creates new event2557 #leave_note2558 creates new event2559API::Helpers::IssuesHelpers2560 find_issues2561 with epics2562 returns results2563 avoids N+1 queries2564Gitlab::RepoPath2565 .find_project2566 without premium license2567 project_path matches a project alias2568 does not return a project2569 with premium license2570 project_path matches a project alias2571 returns the project2572 project_path does not match a project alias2573 project path matches project full path2574 returns the project2575 project path does not match an existing project full path2576 returns nil2577Clusters::Applications::PrometheusConfigService2578 #execute2579 with alerts2580 enables alertmanager2581 alertmanagerFiles2582 contains receivers and route2583 receivers2584 sets receiver2585 sets webhook_config2586 route2587 sets route2588 serverFiles2589 sets the alerts2590 with parameterized queries2591 substitutes query variables2592 with multiple environments2593 sets alerts for multiple environment2594 substitutes query variables once per environment2595 without alerts2596 disables alertmanager2597 removes alertmanagerFiles2598 removes alerts2599Gitlab::Cleanup::OrphanJobArtifactFilesBatch2600 Geo secondary2601 no dry run2602 deletes registries for the found artifacts2603 with dry run2604 does not remove registries2605StoreSecurityScansWorker2606 #perform2607 build has security reports2608 stores security scans2609 build does not have security reports2610 does not store security scans2611 build does not exist2612 does not store security scans2613Ci::WebIdeConfigService2614 #execute2615 when insufficient permission2616 returns an error2617 for developer2618 when file is missing2619 returns an error2620 when file is present2621 content is not valid2622 returns an error2623 content is valid, but terminal not defined2624 returns success2625 content is valid, with enabled terminal2626 returns success2627 content is valid, with custom terminal2628 returns success2629EE::IpRestrictions::UpdateService2630 #execute2631 for a group that has no ip restriction2632 with valid IP subnets2633 builds new ip_restriction records2634 builds new ip_restriction records with the provided ranges2635 for a group that already has ip restriction2636 with empty range2637 marks all existing ip_restriction records for destruction2638 with valid IP subnets2639 with an entirely new set of ranges2640 each range in the list is unique2641 builds new ip_restriction records with all of the specified ranges2642 behaves like removes all existing ip_restriction records2643 marks all the existing ip_restriction records for destruction2644 ranges in the list repeats2645 builds new ip_restriction records with only the unique ranges in the specified ranges2646 behaves like removes all existing ip_restriction records2647 marks all the existing ip_restriction records for destruction2648 replacing one of the existing range with another2649 marks the ip_restriction record of the replaced range for destruction2650 retains the ip_restriction record of the other existing range2651 builds a new ip_restriction record with the newly specified range2652DescriptionVersion2653 associations2654 is expected to belong to epic required:2655 validations2656 is valid when epic_id is set2657 #previous_version2658 returns the previous version for the same issuable2659 #delete!2660 expires issuable etag cache2661 when start_id is not present2662 only soft deletes description_version2663 when start_id is present2664 soft deletes description versions of same issuable up to start_id2665JiraConnect::SyncService2666 #execute2667 calls Atlassian::JiraConnect::Client#store_dev_info and logs the response2668 when request returns an error2669 logs the response as an error2670DashboardEnvironmentsProjectEntity2671 .as_json2672 includes project attributes2673NamespaceStatistics2674 is expected to belong to namespace required:2675 is expected to validate that :namespace cannot be empty/falsy2676 #shared_runners_minutes2677 is expected to eq 22678 #extra_shared_runners_minutes2679 when limit is defined2680 when usage is above the main quota2681 is expected to eq 12682 when usage is below the main quota2683 is expected to eq 02684 without limit2685 is expected to eq 02686 when limit is defined globally2687 when usage is above the main quota2688 and extra CI minutes have been assigned2689 is expected to eq 12690 and extra CI minutes have not been assigned2691 is expected to eq 02692 when usage is below the main quota2693 and extra CI minutes have been assigned2694 is expected to eq 02695Gitlab::UrlBuilder2696 .build2697 when passing a DesignManagement::Design2698 returns a proper URL2699 when passing an epic2700 returns a proper URL2701 when passing an epic note2702 returns a proper URL2703ClusterWaitForAppUpdateWorker2704 runs CheckUpgradeProgressService when application is found2705 does not run CheckUpgradeProgressService when application is not found2706Commits::CreateService2707 #execute2708 raises an error if the repositoy exceeds the size limit2709Gitlab::GroupPlansPreloader2710 #preload2711 only executes three SQL queries to preload the data2712 associates the correct plans with the correct groups2713 does not execute any queries for preloaded plans2714Gitlab::Ci::Config2715 processes the required includes2716ProjectFeature2717 #feature_available?2718 when features are enabled only for team members2719 returns true if user is an auditor2720Gitlab::Auth2721 with kerberos2722 finds user2723 #build_access_token_check2724 for running build2725 executes query using primary database2726VulnerableProjectSerializer2727 #represent2728 includes counts for each severity of vulnerability2729Gitlab::Elastic::GroupSearchResults2730 user search2731 is expected to eq [#<User id:2408 @user2326>]2732 is expected to eq 12733AuditEvent2734 relationships2735 is expected to belong to user required:2736 validations2737 is expected to validate that :author_id cannot be empty/falsy2738 is expected to validate that :entity_id cannot be empty/falsy2739 is expected to validate that :entity_type cannot be empty/falsy2740 #author_name2741 when user exists2742 returns user name2743 when user does not exists anymore2744 when details contains author_name2745 returns author_name2746 when details does not contains author_name2747 returns nil2748 when authored by an unauthenticated user2749 returns `An unauthenticated user`2750 #entity2751 when entity exists2752 returns the entity object2753 when entity does not exist2754 returns nil2755 #present2756 returns a presenter2757 #formatted_details2758 converts value of `to` and `from` in `details` to string2759AuditLogsHelper2760 #audit_entity_type_label2761 label: nil, result: "All Events"2762 is expected to eq "All Events"2763 label: "All", result: "All Events"2764 is expected to eq "All Events"2765 label: "User", result: "User Events"2766 is expected to eq "User Events"2767 label: "Group", result: "Group Events"2768 is expected to eq "Group Events"2769 label: "Project", result: "Project Events"2770 is expected to eq "Project Events"2771EE::Gitlab::GlRepository2772 DESIGN2773 uses the design access checker2774 builds a design repository2775Gitlab::Auth::Smartcard::SessionEnforcer2776 #update_session2777 stores the time of last sign-in in session2778 #access_restricted?2779 with a smartcard session2780 is expected to be falsey2781 without any session2782 is expected to be truthy2783 with the setting off2784 is expected to be falsey2785 with smartcard auth disabled2786 is expected to be falsey2787 without a license2788 is expected to be falsey2789Vulnerabilities::ScannerEntity2790 #as_json2791 contains required fields2792Gitlab::Kerberos::Authentication2793 .kerberos_default_realm2794 returns the default realm exposed by the Kerberos library2795 .login2796 finds the user if authentication is successful (login without kerberos realm)2797 finds the user if authentication is successful (login with a kerberos realm)2798 returns false if there is no such user in kerberos2799Analytics2800 redirects to sign_in if user is not authenticated2801 when user is logged in2802 productivity_analytics feature flag is enabled by default2803 succeeds2804 cycle_analytics feature flag is enabled by default2805 succeeds2806 productivity_analytics feature flag is disabled2807 routes to `not_found`2808Gitlab::Regex2809 .conan_file_name_regex2810 is expected to match "conanfile.py"2811 is expected to match "conan_package.tgz"2812 is expected not to match "foo.txt"2813 is expected not to match "!!()()"2814 .conan_package_reference_regex2815 is expected to match "123456789"2816 is expected to match "asdf1234"2817 is expected not to match "@foo"2818 is expected not to match "0/pack+age/1@1/0"2819 is expected not to match "!!()()"2820 .conan_revision_regex2821 is expected to match "0"2822 is expected not to match "foo"2823 is expected not to match "!!()()"2824 .conan_recipe_component_regex2825 is expected to match "foobar"2826 is expected to match "foo_bar"2827 is expected to match "foo+bar"2828 is expected to match "1.0.0"2829 is expected not to match "foo@bar"2830 is expected not to match "foo/bar"2831 is expected not to match "!!()()"2832 .feature_flag_regex2833 is expected to match "foo"2834 is expected to match "f_feature_flag"2835 is expected not to match "MY_FEATURE_FLAG"2836 is expected not to match "my feature flag"2837 is expected not to match "!!()()"2838 .package_name_regex2839 is expected to match "123"2840 is expected to match "foo"2841 is expected to match "foo/bar"2842 is expected to match "@foo/bar"2843 is expected to match "com/mycompany/app/my-app"2844 is expected to match "my-package/1.0.0@my+project+path/beta"2845 is expected not to match "my-package/1.0.0@@@@@my+project+path/beta"2846 is expected not to match "$foo/bar"2847 is expected not to match "@foo/@/bar"2848 is expected not to match "@@foo/bar"2849 is expected not to match "my package name"2850 is expected not to match "!!()()"2851 is expected not to match "..\n..\foo"2852 .maven_file_name_regex2853 is expected to match "123"2854 is expected to match "foo"2855 is expected to match "foo+bar-2_0.pom"2856 is expected to match "foo.bar.baz-2.0-20190901.47283-1.jar"2857 is expected to match "maven-metadata.xml"2858 is expected to match "1.0-SNAPSHOT"2859 is expected not to match "../../foo"2860 is expected not to match "..\\..\\foo"2861 is expected not to match "%2f%2e%2e%2f%2essh%2fauthorized_keys"2862 is expected not to match "$foo/bar"2863 is expected not to match "my file name"2864 is expected not to match "!!()()"2865 .maven_path_regex2866 is expected to match "123"2867 is expected to match "foo"2868 is expected to match "foo/bar"2869 is expected to match "@foo/bar"2870 is expected to match "com/mycompany/app/my-app"2871 is expected to match "com/mycompany/app/my-app/1.0-SNAPSHOT"2872 is expected to match "com/mycompany/app/my-app/1.0-SNAPSHOT+debian64"2873 is expected not to match "com/mycompany/app/my+app/1.0-SNAPSHOT"2874 is expected not to match "$foo/bar"2875 is expected not to match "@foo/@/bar"2876 is expected not to match "my package name"2877 is expected not to match "!!()()"2878DependencyProxy::FindOrCreateBlobService2879 no cache2880 downloads blob from remote registry if there is no cached one2881 cached blob2882 uses cached blob instead of downloading one2883 no such blob exists remotely2884 returns error message and http status2885registrations/welcome2886 in subscription flow2887 is expected to have visible button "Continue" that is not disabled2888 is expected to have visible css "#progress-bar"2889 is expected to have visible css "label[for=\"user_setup_for_company\"]" with text "Who will be using this GitLab subscription?"2890 in trial flow2891 is expected to have visible button "Continue" that is not disabled2892 is expected not to have visible css "#progress-bar"2893 is expected to have visible css "label[for=\"user_setup_for_company\"]" with text "Who will be using this GitLab trial?"2894 neither in subscription nor in trial flow2895 is expected to have visible button "Get started!" that is not disabled2896 is expected not to have visible css "#progress-bar"2897 is expected to have visible css "label[for=\"user_setup_for_company\"]" with text "Who will be using GitLab?"2898UserPreference2899 roadmap_epics_state2900 when set to open epics2901 behaves like updates roadmap_epics_state2902 saves roadmap_epics_state in user_preference2903 when set to closed epics2904 behaves like updates roadmap_epics_state2905 saves roadmap_epics_state in user_preference2906 when reset to all epics2907 behaves like updates roadmap_epics_state2908 saves roadmap_epics_state in user_preference2909Packages::Dependency2910 relationships2911 is expected to have many dependency_links2912 validations2913 is expected to validate that :name cannot be empty/falsy2914 is expected to validate that :version_pattern cannot be empty/falsy2915 is expected to validate that :name is case-sensitively unique within the scope of :version_pattern2916 .ids_for_package_names_and_version_patterns2917 is expected to contain exactly 13 and 142918 with unknown names2919 is expected to be empty2920 with unknown version patterns2921 is expected to be empty2922 with a name bigger than column size2923 is expected to contain exactly 13 and 142924 with a version pattern bigger than column size2925 is expected to contain exactly 13 and 142926 with too big parameter2927 is expected to raise ArgumentError with "Too many names_and_version_patterns"2928 with parameters size2929 above the chunk size2930 is expected to contain exactly 13, 14, 15, 16, 17, 18, and 192931 selecting too many rows2932 is expected to raise ArgumentError with "Too many Dependencies selected"2933 .for_package_names_and_version_patterns2934 is expected to contain exactly #<Packages::Dependency id: 20, name: "foo", version_pattern: "~1.0.0"> and #<Packages::Dependency id: 21, name: "bar", version_pattern: "~2.5.0">2935 with unknown names2936 is expected to be empty2937 with unknown version patterns2938 is expected to be empty2939AuditLogFinder2940 #execute2941 no filtering2942 finds all the events2943 filtering by entity_id2944 no entity_type provided2945 ignores entity_id and returns all events2946 User Event2947 behaves like finds the right event2948 finds the right event2949 Project Event2950 behaves like finds the right event2951 finds the right event2952 Group Event2953 behaves like finds the right event2954 finds the right event2955 filtering by entity_type2956 User Event2957 finds the right user event2958 Project Event2959 finds the right project event2960 Group Event2961 finds the right group event2962 invalid entity types2963 blank entity_type2964 finds all the events with blank entity_type2965 invalid entity_type2966 finds all the events with invalid entity_type2967 filtering by created_at2968 through created_after2969 returns events created on or after the given date2970 through created_before2971 returns events created on or before the given date2972 through created_after and created_before2973 returns events created between the given dates2974 filtering by id2975 non-existent id provided2976 returns nil2977 existent id provided2978 returns the specific audit events with the id2979BroadcastMessage2980 .current2981 without Geo2982 caches the output of the query for two weeks2983 with Geo2984 on the primary2985 caches the output of the query for two weeks2986 on a secondary2987 caches the output for a short time2988PersonalAccessTokens::RevokeInvalidTokens2989 #execute2990 with a valid user and expiration date2991 with user tokens that will be revoked2992 calls mailer to send an email notifying the user2993 revokes invalid user's tokens2994 user optout for notifications2995 doesn't call mailer to send a notification2996 with no user2997 doesn't call mailer to send an email notifying the user2998 doesn't revoke user's tokens2999 with no expiration date3000 doesn't call mailer to send an email notifying the user3001 doesn't revoke user's tokens3002 when the feature flag for personal access token policy is disabled3003 doesn't call mailer to send an email notifying the user3004 doesn't revoke user's tokens3005Gitlab::Ci::Config::Required::Processor3006 when feature is available3007 when template is set3008 when template can not be found3009 raises an error3010 when template can be found3011 merges the template content with the config3012 when template is not set3013 returns the unmodified config3014 when template is empty string3015 returns the unmodified config3016 when feature is not available3017 returns the unmodified config3018Gitlab::Vulnerabilities::StandardVulnerability3019 inherits from Gitlab::Vulnerabilities::BaseVulnerability3020 #severity3021 when severity is present3022 returns severity3023 when severity is not set3024 returns nil3025 #confidence3026 when confidence is present3027 returns confidence3028 when confidence is not set3029 returns nil3030 #solution3031 when solution is present3032 returns solution3033 when solution is not set3034 returns nil3035 #identifiers3036 when identifiers is present3037 returns identifiers3038 when identifiers is not set3039 returns nil3040 #links3041 when links is present3042 returns links3043 when links is not set3044 returns nil3045 #title3046 when title is present3047 returns title3048 when title is not set3049 fallbacks to name3050 when title and name are not set3051 returns nil3052 #description3053 when description is present3054 returns description3055 when description is not set3056 fallbacks to title3057 when description and title are not set3058 fallbacks to name3059 when title, name and description are not set3060 returns nil3061 #file3062 when file is present3063 returns file3064 when file is not set3065 fallbacks to location3066 when file and location are not set3067 returns nil3068 #line3069 when line is present3070 returns line3071 when line is not set3072 fallbacks to location3073 when line and location are not set3074 returns nil3075 #location_text3076 when line is nil3077 returns a string with file3078 when line is present3079 returns a string with file and line3080 #location_link3081 when line is nil3082 returns a string with file3083 when line is present3084 returns a string with file and line3085Gitlab::Database::LoadBalancing::Sticking3086 .stick_if_necessary3087 when sticking is disabled3088 does not perform any sticking3089 when sticking is enabled3090 does not stick if no write was performed3091 sticks to the primary if a write was performed3092 .all_caught_up?3093 returns true if no write location could be found3094 returns true, and unsticks if all secondaries have caught up3095 return false if the secondaries have not yet caught up3096 .unstick_or_continue_sticking3097 simply returns if no write location could be found3098 unsticks if all secondaries have caught up3099 continues using the primary if the secondaries have not yet caught up3100 .stick3101 when sticking is disabled3102 does not perform any sticking3103 when sticking is enabled3104 sticks an entity to the primary3105 .unstick3106 removes the sticking data from Redis3107 .last_write_location_for3108 returns the last WAL write location for a user3109 .redis_key_for3110 returns a String3111 .load_balancer3112 returns a the load balancer3113Gitlab::Graphql::Loaders::BatchEpicIssuesLoader3114 #find3115 only queries once for epic issues3116 returns all epic issues ordered by relative position3117 returns an instance of FilterableArray3118 raises an error if too many issues are loaded3119Applications::CreateService3120 creates an audit log3121Packages::PackageFileFinder3122 #execute3123 behaves like package file finder examples3124 is expected to eq #<Packages::PackageFile id: 134, package_id: 56, created_at: "2020-03-05 04:43:54", updated_at: "2020...1bdc80de64953b6876f5a8c644f20204011b0", file_name: "maven-metadata.xml", file: "maven-metadata.xml">3125 with conan_file_type3126 is expected to eq "recipe_file"3127 with file_name_like3128 is expected to eq #<Packages::PackageFile id: 134, package_id: 56, created_at: "2020-03-05 04:43:54", updated_at: "2020...1bdc80de64953b6876f5a8c644f20204011b0", file_name: "maven-metadata.xml", file: "maven-metadata.xml">3129 with unknown file_name3130 is expected to be nil3131 #execute!3132 behaves like package file finder examples3133 is expected to eq #<Packages::PackageFile id: 134, package_id: 56, created_at: "2020-03-05 04:43:54", updated_at: "2020...1bdc80de64953b6876f5a8c644f20204011b0", file_name: "maven-metadata.xml", file: "maven-metadata.xml">3134 with conan_file_type3135 is expected to eq "recipe_file"3136 with file_name_like3137 is expected to eq #<Packages::PackageFile id: 134, package_id: 56, created_at: "2020-03-05 04:43:54", updated_at: "2020...1bdc80de64953b6876f5a8c644f20204011b0", file_name: "maven-metadata.xml", file: "maven-metadata.xml">3138 with unknown file_name3139 is expected to raise ActiveRecord::RecordNotFound3140Keys::LastUsedService3141 does not run on read-only GitLab instances3142Gitlab::WebIde::Config::Entry::Terminal3143 .nodes3144 when filtering all the entry/node names3145 is expected to contain exactly :before_script, :script, :image, :services, and :variables3146 validations3147 when entry config value is correct3148 #valid?3149 is valid3150 when the same port is not duplicated3151 #valid?3152 is valid3153 when unknown port keys detected3154 is not valid3155 when entry value is not correct3156 incorrect config value type3157 #errors3158 reports error about a config type3159 when config is empty3160 #valid3161 is valid3162 when unknown keys detected3163 #valid3164 is not valid3165 when the same port is duplicated3166 #valid?3167 is invalid3168 #relevant?3169 is a relevant entry3170 when composed3171 #value3172 when entry is correct3173 returns correct value3174DesignManagement::DesignAction3175 validations3176 the design3177 must not be nil3178 the action3179 must not be nil3180 must be a known action3181 the content3182 content is necesary3183 must not be nil if the action is create3184 must not be nil if the action is update3185 content is forbidden3186 must not be nil if the action is delete3187 #gitaly_action3188 the action needs content3189 produces a good gitaly action3190 the action forbids content3191 produces a good gitaly action3192 #issue_id3193 delegates to the design3194 #performed3195 calls design#clear_version_cache when the action has been performed3196Gitlab::Kubernetes::RolloutStatus3197 #has_legacy_app_label?3198 no legacy deployments3199 is expected not to be has legacy app label3200 with legacy deployment3201 is expected to be has legacy app label3202 #deployments3203 stores the deployments3204 #instances3205 for stable track3206 stores the union of deployment instances3207 for stable track3208 stores the union of deployment instances3209 #completion3210 when all instances are finished3211 is expected to eq 1003212 when half of the instances are finished3213 is expected to eq 503214 #complete?3215 when all instances are finished3216 is expected to be truthy3217 when half of the instances are finished3218 is expected to be falsy3219 #not_found?3220 when the specs are passed3221 is expected not to be not found3222 when list of specs is empty3223 is expected to be not found3224 #found?3225 when the specs are passed3226 is expected to be found3227 when list of specs is empty3228 is expected not to be found3229 .loading3230 is expected to be loading3231Packages::Conan::CreatePackageService3232 #execute3233 valid params3234 creates a new package3235 invalid params3236 fails3237Gitlab::Ci::Reports::DependencyList::Report3238 #add_dependency3239 stores given dependency params in the map3240 #apply_license3241 with matching dependency3242 with empty license list3243 applies license3244 with full license list3245 does not apply the license a second time3246 without matching dependency3247 does not apply the license at all3248 #dependencies_with_licenses3249 with found dependencies3250 with existing license3251 returns only dependency with license3252 without existing license3253 returns empty array3254 without found dependencies3255 returns empty array3256Gitlab::UsageDataCounters::LicensesList3257 behaves like a redis usage counter3258 .count(views)3259 increments the LicensesList views counter by 13260 .read(views)3261 returns the total number of views events3262 behaves like a redis usage counter with totals3263 totals3264 can report all totals3265 unknown events3266 cannot increment3267 cannot read3268StatusPage::IncidentSerializer3269 .represent_list3270 returns a list with one entity3271 does not contain comments3272 behaves like valid JSON schema3273 matches JSON schema3274 .represent_details3275 behaves like valid JSON schema3276 matches JSON schema3277Gitlab::Metrics::Dashboard::Url3278 #clusters_regex3279 behaves like regex which matches url when expected3280 is expected to be a kind of Regexp3281 matches a metrics dashboard link with named params3282 does not match other gitlab urls that contain the term metrics3283 does not match other gitlab urls3284 does not match non-gitlab urls3285 #alert_regex3286 behaves like regex which matches url when expected3287 is expected to be a kind of Regexp3288 matches a metrics dashboard link with named params3289 does not match other gitlab urls that contain the term metrics3290 does not match other gitlab urls3291 does not match non-gitlab urls3292CredentialsInventoryHelper3293 #credentials_inventory_feature_available?3294 when credentials inventory feature is enabled3295 is expected to be truthy3296 when credentials inventory feature is disabled3297 is expected to be falsey3298 #show_ssh_keys?3299 when filtering by ssh_keys3300 is expected to be truthy3301 when filtering by a different, existent credential type3302 is expected to be falsey3303 when filtering by a different, non-existent credential type3304 is expected to be falsey3305 #show_personal_access_tokens?3306 when filtering by personal_access_tokens3307 is expected to be truthy3308 when filtering by a different, existent credential type3309 is expected to be falsey3310 when filtering by a different, non-existent credential type3311 is expected to be truthy3312Elastic::MultiVersionClassProxy3313 #version3314 returns class proxy in specified version3315 repository3316 returns class proxy in specified version3317 method forwarding3318 forwards methods which should touch all write targets3319 forwards read methods to only reading target3320 does not forward write methods which should touch specific version3321AuditEventsHelper3322 #human_text3323 when message consist of hash keys3324 ignores keys that start with start with author_, or target_3325 when details contain custom message3326 returns custom message3327 #select_keys3328 returns empty string if key starts with author_3329 returns empty string if key starts with target_3330 returns empty string if key is ip_address and the value is blank3331 returns formatted text if key is ip_address and the value is not blank3332 returns formatted text if key does not start with author_, or target_3333 returns formatted text with `never expires` if key is expiry_from and the value is blank3334 returns formatted text with `never expires` if key is expiry_to and the value is blank3335Gitlab::Analytics::CycleAnalytics::StageEvents::IssueLabelAdded3336 behaves like cycle analytics event3337 is expected to be a kind of String3338 is expected to be a kind of Symbol3339 is expected to include ApplicationRecord(abstract)3340 is expected to respond to #timestamp_projection3341 #apply_query_customization3342 expects an ActiveRecord::Relation object as argument and returns a modified version of it3343Gitlab::Ci::Reports::Security::Locations::DependencyScanning3344 behaves like vulnerability location3345 #initialize3346 when all params are given3347 initializes an instance3348 param: :file_path3349 when param file_path is missing3350 raises an error3351 param: :package_name3352 when param package_name is missing3353 raises an error3354 #fingerprint3355 generates expected fingerprint3356 #==3357 returns true when fingerprints are equal3358 returns false when fingerprints are different3359EE::Gitlab::Scim::Conflict3360 contains the schemas3361 contains the detail3362 contains the status3363PerformanceMonitoring::PrometheusDashboard3364 .from_json3365 creates a PrometheusDashboard object3366 validations3367 when dashboard is missing3368 is expected to raise ActiveModel::ValidationError3369 when panel groups are missing3370 is expected to raise ActiveModel::ValidationError3371 #to_yaml3372 is expected to eq "---\npanel_groups:\n- panels:\n - metrics:\n - id: metric_of_ages\n unit: count\n labe... y_label: Y-Axis\n weight: \n group: Group Title\n priority: \ndashboard: Dashboard Title\n"3373Gitlab::Analytics::CycleAnalytics::StageEvents::IssueClosed3374 behaves like cycle analytics event3375 is expected to be a kind of String3376 is expected to be a kind of Symbol3377 is expected to include ApplicationRecord(abstract)3378 is expected to respond to #timestamp_projection3379 #apply_query_customization3380 expects an ActiveRecord::Relation object as argument and returns a modified version of it3381KerberosSpnegoHelper3382 #spnego_credentials!3383 with Kerberos service_principal_name present3384 behaves like a method that decodes a spnego token3385 decodes the given spnego token3386 when gss_result is not true3387 behaves like a method that decodes a spnego token3388 decodes the given spnego token3389 with Kerberos service_principal_name missing3390 behaves like a method that decodes a spnego token3391 decodes the given spnego token3392Gitlab::Auth::GroupSaml::ResponseStore3393 #set_raw3394 stores values in Redis3395 sets a redis expiry time3396 #get_raw3397 retrives a value set by set_response3398 prevents memory bloat by deleting the value3399Gitlab::Analytics::CycleAnalytics::StageEvents::MergeRequestLastEdited3400 behaves like cycle analytics event3401 is expected to be a kind of String3402 is expected to be a kind of Symbol3403 is expected to include ApplicationRecord(abstract)3404 is expected to respond to #timestamp_projection3405 #apply_query_customization3406 expects an ActiveRecord::Relation object as argument and returns a modified version of it3407FetchSubscriptionPlansService3408 #execute3409 when successully fetching plans data3410 returns parsed JSON3411 when failing to fetch plans data3412 logs failure3413 returns nil3414Gitlab::Ci::Reports::LicenseScanning::ReportsComparer3415 #new_licenses3416 is expected to contain exactly "Apache 2.0"3417 #existing_licenses3418 is expected to contain exactly "MIT" and "BSD"3419 #removed_licenses3420 is expected to contain exactly "WTFPL"3421Gitlab::CodeOwners::ReferenceExtractor3422 #emails3423 includes all mentioned email adresses3424 #names3425 includes all mentioned usernames and groupnames3426 #references3427 includes all user-references once3428Elastic::IndexProjectsByIdService3429 #execute3430 schedules index workers3431EpicDescendantCount3432 is expected to eq "EpicDescendantCount"3433 has specific fields3434Elastic::Latest::ProjectWikiInstanceProxy3435 #elastic_search_as_wiki_page3436 provides repository_id if not provided3437 uses provided repository_id3438DesignCollection3439 is expected to require graphql authorizations :read_design3440 has the expected fields3441HealthStatus3442 is expected to eq "HealthStatus"3443 exposes all the existing epic sort orders3444InvitedGroupSerializer3445 #represent3446 includes the id, name, and avatar URL3447ElasticIndexBulkCronWorker3448 .perform3449 executes the service under an exclusive lease3450EE::API::Entities::DesignManagement::Design3451 has the correct attributes3452MergeRequestDiff3453 is expected to respond to #log_geo_deleted_event3454ProtectedEnvironments::EnvironmentDropdownService#roles3455 #roles3456 returns a hash with access levels for allowed to deploy option3457Knapsack report was generated. Preview:3458{3459 "ee/spec/lib/ee/gitlab/usage_data_spec.rb": 161.4498519897461,3460 "ee/spec/lib/gitlab/git_access_spec.rb": 67.82946372032166,3461 "ee/spec/models/namespace_spec.rb": 43.28679609298706,3462 "ee/spec/models/productivity_analytics_spec.rb": 32.47835826873779,3463 "ee/spec/services/projects/update_mirror_service_spec.rb": 30.20150899887085,3464 "ee/spec/lib/gitlab/ci/reports/security/vulnerability_reports_comparer_spec.rb": 27.42857003211975,3465 "ee/spec/models/merge_request/blocking_spec.rb": 20.126006841659546,3466 "ee/spec/models/ee/protected_ref_access_spec.rb": 14.649344444274902,3467 "ee/spec/models/sca/license_compliance_spec.rb": 15.218724966049194,3468 "ee/spec/services/design_management/save_designs_service_spec.rb": 16.20692229270935,3469 "ee/spec/models/merge_request_block_spec.rb": 12.619289875030518,3470 "ee/spec/services/ee/merge_requests/refresh_service_spec.rb": 11.504479169845581,3471 "ee/spec/services/ee/issues/move_service_spec.rb": 10.5256507396698,3472 "ee/spec/services/dashboard/projects/list_service_spec.rb": 11.128876209259033,3473 "ee/spec/services/merge_trains/create_pipeline_service_spec.rb": 9.543805122375488,3474 "ee/spec/services/merge_trains/refresh_merge_request_service_spec.rb": 8.964238166809082,3475 "ee/spec/services/ci/create_pipeline_service/cross_needs_artifacts_spec.rb": 8.11081838607788,3476 "ee/spec/models/operations/feature_flag_spec.rb": 6.924064636230469,3477 "ee/spec/services/dashboard/operations/list_service_spec.rb": 6.468124866485596,3478 "ee/spec/services/ee/boards/lists/create_service_spec.rb": 6.933570146560669,3479 "ee/spec/services/ci/compare_container_scanning_reports_service_spec.rb": 6.494008779525757,3480 "ee/spec/lib/gitlab/email/handler/create_note_handler_spec.rb": 6.4455907344818115,3481 "ee/spec/helpers/ee/environments_helper_spec.rb": 1.4120867252349854,3482 "ee/spec/services/approval_rules/params_filtering_service_spec.rb": 5.568467378616333,3483 "ee/spec/services/epic_issues/destroy_service_spec.rb": 4.909407377243042,3484 "ee/spec/services/boards/create_service_spec.rb": 4.702134132385254,3485 "ee/spec/services/packages/conan/search_service_spec.rb": 4.574361562728882,3486 "ee/spec/models/instance_security_dashboard_spec.rb": 4.851046085357666,3487 "ee/spec/models/path_lock_spec.rb": 4.367633581161499,3488 "ee/spec/graphql/mutations/design_management/delete_spec.rb": 4.2479212284088135,3489 "ee/spec/services/epics/close_service_spec.rb": 3.951977252960205,3490 "ee/spec/lib/gitlab/auth/ldap/access_spec.rb": 3.5467100143432617,3491 "ee/spec/views/shared/issuable/_approvals.html.haml_spec.rb": 3.205108165740967,3492 "ee/spec/lib/gitlab/ci/parsers/security/dependency_scanning_spec.rb": 3.255873680114746,3493 "ee/spec/uploaders/packages/package_file_uploader_spec.rb": 3.2384042739868164,3494 "ee/spec/serializers/vulnerabilities/feedback_entity_spec.rb": 2.9282262325286865,3495 "ee/spec/services/feature_flags/destroy_service_spec.rb": 2.9146392345428467,3496 "ee/spec/services/ee/system_notes/merge_train_service_spec.rb": 2.546391725540161,3497 "ee/spec/views/clusters/clusters/show.html.haml_spec.rb": 1.5607025623321533,3498 "ee/spec/lib/banzai/reference_parser/epic_parser_spec.rb": 2.092543840408325,3499 "ee/spec/services/ee/notification_recipient_service_spec.rb": 2.792572021484375,3500 "ee/spec/helpers/ee/lock_helper_spec.rb": 2.148184299468994,3501 "ee/spec/lib/gitlab/auth/group_saml/identity_linker_spec.rb": 1.9645426273345947,3502 "ee/spec/models/draft_note_spec.rb": 2.046494245529175,3503 "ee/spec/models/project_services/github_service/status_message_spec.rb": 2.394737720489502,3504 "ee/spec/services/vulnerability_feedback/destroy_service_spec.rb": 1.878364086151123,3505 "ee/spec/services/dashboard/environments/list_service_spec.rb": 2.2066073417663574,3506 "ee/spec/bin/sidekiq_cluster_spec.rb": 2.0907914638519287,3507 "ee/spec/models/ee/label_spec.rb": 2.1458652019500732,3508 "ee/spec/policies/approval_merge_request_rule_policy_spec.rb": 1.7493703365325928,3509 "ee/spec/services/draft_notes/destroy_service_spec.rb": 1.8026237487792969,3510 "ee/spec/views/shared/_mirror_status.html.haml_spec.rb": 1.6447513103485107,3511 "ee/spec/lib/gitlab/git_access_wiki_spec.rb": 1.300694227218628,3512 "ee/spec/services/ci/process_build_service_spec.rb": 1.947782039642334,3513 "ee/spec/services/projects/hashed_storage/rollback_repository_service_spec.rb": 1.5856499671936035,3514 "ee/spec/models/ci/subscriptions/project_spec.rb": 1.8016371726989746,3515 "ee/spec/services/packages/nuget/metadata_extraction_service_spec.rb": 1.11383056640625,3516 "ee/spec/models/ee/project_authorization_spec.rb": 1.3764712810516357,3517 "ee/spec/services/packages/create_dependency_service_spec.rb": 1.4872596263885498,3518 "ee/spec/helpers/ee/labels_helper_spec.rb": 1.2696595191955566,3519 "ee/spec/serializers/managed_license_entity_spec.rb": 0.6375758647918701,3520 "ee/spec/services/protected_environments/destroy_service_spec.rb": 1.1014878749847412,3521 "ee/spec/services/protected_environments/search_service_spec.rb": 1.412461280822754,3522 "ee/spec/lib/ee/gitlab/checks/push_rules/file_size_check_spec.rb": 1.0988390445709229,3523 "ee/spec/services/projects/prometheus/metrics/update_service_spec.rb": 0.9660491943359375,3524 "ee/spec/services/epics/create_service_spec.rb": 1.3475067615509033,3525 "ee/spec/services/clusters/applications/schedule_update_service_spec.rb": 1.1503641605377197,3526 "ee/spec/lib/gitlab/insights/reducers/label_count_per_period_reducers_spec.rb": 1.6945180892944336,3527 "ee/spec/services/packages/create_package_file_service_spec.rb": 1.6541109085083008,3528 "ee/spec/models/ee/event_spec.rb": 1.133387565612793,3529 "ee/spec/lib/gitlab/checks/change_access_spec.rb": 1.055919885635376,3530 "ee/spec/services/dashboard/projects/create_service_spec.rb": 1.0914514064788818,3531 "ee/spec/services/projects/group_links/destroy_service_spec.rb": 1.1764297485351562,3532 "ee/spec/lib/gitlab/auth/smartcard/certificate_spec.rb": 1.0920560359954834,3533 "ee/spec/serializers/feature_flag_serializer_spec.rb": 0.9666473865509033,3534 "ee/spec/lib/gitlab/ci/pipeline/chain/limit/size_spec.rb": 0.8980233669281006,3535 "ee/spec/services/merge_trains/check_status_service_spec.rb": 1.0320744514465332,3536 "ee/spec/workers/adjourned_project_deletion_worker_spec.rb": 0.6359302997589111,3537 "ee/spec/services/ci_cd/github_setup_service_spec.rb": 0.5351994037628174,3538 "ee/spec/models/ee/plan_limits_spec.rb": 0.8858869075775146,3539 "ee/spec/services/ci_cd/github_integration_setup_service_spec.rb": 0.7872569561004639,3540 "ee/spec/models/concerns/ee/usage_statistics_spec.rb": 0.7442953586578369,3541 "ee/spec/elastic_integration/repository_index_spec.rb": 2.5723445415496826,3542 "ee/spec/lib/banzai/filter/label_reference_filter_spec.rb": 0.932103157043457,3543 "ee/spec/services/ee/users/create_service_spec.rb": 0.4607510566711426,3544 "ee/spec/services/security/store_scans_service_spec.rb": 0.6454088687896729,3545 "ee/spec/services/ee/event_create_service_spec.rb": 0.6776318550109863,3546 "ee/spec/lib/ee/api/helpers/issues_helpers_spec.rb": 0.9447762966156006,3547 "ee/spec/lib/ee/gitlab/repo_path_spec.rb": 0.7433500289916992,3548 "ee/spec/services/clusters/applications/prometheus_config_service_spec.rb": 0.6416482925415039,3549 "ee/spec/lib/ee/gitlab/cleanup/orphan_job_artifact_files_batch_spec.rb": 0.5698220729827881,3550 "ee/spec/workers/store_security_scans_worker_spec.rb": 0.530266284942627,3551 "ee/spec/services/ci/web_ide_config_service_spec.rb": 0.7690596580505371,3552 "ee/spec/services/ee/ip_restrictions/update_service_spec.rb": 0.45406270027160645,3553 "ee/spec/models/ee/description_version_spec.rb": 0.6315445899963379,3554 "ee/spec/services/jira_connect/sync_service_spec.rb": 0.5127134323120117,3555 "ee/spec/serializers/dashboard_environments_project_entity_spec.rb": 0.44431352615356445,3556 "ee/spec/models/namespace_statistics_spec.rb": 0.7362239360809326,3557 "ee/spec/lib/ee/gitlab/url_builder_spec.rb": 0.45511412620544434,3558 "ee/spec/workers/cluster_wait_for_app_update_worker_spec.rb": 0.37917351722717285,3559 "ee/spec/services/ee/commits/create_service_spec.rb": 0.34561848640441895,3560 "ee/spec/lib/gitlab/group_plans_preloader_spec.rb": 0.3251769542694092,3561 "ee/spec/lib/ee/gitlab/ci/config_spec.rb": 0.30449414253234863,3562 "ee/spec/models/project_feature_spec.rb": 0.345081090927124,3563 "ee/spec/lib/gitlab/auth_spec.rb": 0.3970465660095215,3564 "ee/spec/serializers/vulnerable_project_serializer_spec.rb": 0.32448363304138184,3565 "ee/spec/lib/gitlab/elastic/group_search_results_spec.rb": 0.09691119194030762,3566 "ee/spec/models/audit_event_spec.rb": 0.28017449378967285,3567 "ee/spec/helpers/audit_logs_helper_spec.rb": 0.021427154541015625,3568 "ee/spec/lib/ee/gitlab/gl_repository_spec.rb": 0.23148083686828613,3569 "ee/spec/lib/gitlab/auth/smartcard/session_enforcer_spec.rb": 0.2672269344329834,3570 "ee/spec/serializers/vulnerabilities/scanner_entity_spec.rb": 0.2243647575378418,3571 "ee/spec/lib/gitlab/kerberos/authentication_spec.rb": 0.2837181091308594,3572 "ee/spec/routing/analytics_routing_spec.rb": 0.17277836799621582,3573 "ee/spec/lib/gitlab/regex_spec.rb": 0.1769120693206787,3574 "ee/spec/services/dependency_proxy/find_or_create_blob_service_spec.rb": 0.4327869415283203,3575 "ee/spec/views/registrations/welcome.html.haml_spec.rb": 0.2500138282775879,3576 "ee/spec/models/user_preference_spec.rb": 0.1827712059020996,3577 "ee/spec/models/packages/dependency_spec.rb": 0.120513916015625,3578 "ee/spec/finders/audit_log_finder_spec.rb": 0.10140204429626465,3579 "ee/spec/models/broadcast_message_spec.rb": 0.09195756912231445,3580 "ee/spec/services/personal_access_tokens/revoke_invalid_tokens_spec.rb": 0.08262085914611816,3581 "ee/spec/lib/gitlab/ci/config/required/processor_spec.rb": 0.07907652854919434,3582 "ee/spec/lib/gitlab/vulnerabilities/standard_vulnerability_spec.rb": 0.32435035705566406,3583 "ee/spec/lib/gitlab/database/load_balancing/sticking_spec.rb": 0.08724355697631836,3584 "ee/spec/lib/gitlab/graphql/loaders/batch_epic_issues_loader_spec.rb": 0.08411741256713867,3585 "ee/spec/services/applications/create_service_spec.rb": 0.0715627670288086,3586 "ee/spec/finders/packages/package_file_finder_spec.rb": 0.06465649604797363,3587 "ee/spec/services/keys/last_used_service_spec.rb": 0.04618549346923828,3588 "ee/spec/lib/gitlab/web_ide/config/entry/terminal_spec.rb": 0.04422950744628906,3589 "ee/spec/models/design_management/design_action_spec.rb": 0.03967547416687012,3590 "ee/spec/lib/gitlab/kubernetes/rollout_status_spec.rb": 0.06516361236572266,3591 "ee/spec/services/packages/conan/create_package_service_spec.rb": 0.03685784339904785,3592 "ee/spec/lib/gitlab/ci/reports/dependency_list/report_spec.rb": 0.033362388610839844,3593 "ee/spec/lib/gitlab/usage_data_counters/licenses_list_spec.rb": 0.04258918762207031,3594 "ee/spec/serializers/status_page/incident_serializer_spec.rb": 0.046590566635131836,3595 "ee/spec/lib/ee/gitlab/metrics/dashboard/url_spec.rb": 0.03386855125427246,3596 "ee/spec/helpers/credentials_inventory_helper_spec.rb": 0.026737213134765625,3597 "ee/spec/lib/elastic/multi_version_class_proxy_spec.rb": 0.020937681198120117,3598 "ee/spec/helpers/audit_events_helper_spec.rb": 0.028140544891357422,3599 "ee/spec/lib/gitlab/analytics/cycle_analytics/stage_events/issue_label_added_spec.rb": 0.01921701431274414,3600 "ee/spec/lib/gitlab/ci/reports/security/locations/dependency_scanning_spec.rb": 0.021184444427490234,3601 "ee/spec/lib/ee/gitlab/scim/conflict_spec.rb": 0.00875544548034668,3602 "ee/spec/models/performance_monitoring/prometheus_dashboard_spec.rb": 0.01875901222229004,3603 "ee/spec/lib/gitlab/analytics/cycle_analytics/stage_events/issue_closed_spec.rb": 0.014425992965698242,3604 "ee/spec/helpers/kerberos_spnego_helper_spec.rb": 0.01293492317199707,3605 "ee/spec/lib/gitlab/auth/group_saml/response_store_spec.rb": 0.020634889602661133,3606 "ee/spec/lib/gitlab/analytics/cycle_analytics/stage_events/merge_request_last_edited_spec.rb": 0.02220606803894043,3607 "ee/spec/services/fetch_subscription_plans_service_spec.rb": 0.014861106872558594,3608 "ee/spec/lib/gitlab/ci/reports/license_scanning/reports_comparer_spec.rb": 0.01671767234802246,3609 "ee/spec/lib/gitlab/code_owners/reference_extractor_spec.rb": 0.01155400276184082,3610 "ee/spec/services/elastic/index_projects_by_id_service_spec.rb": 0.008919954299926758,3611 "ee/spec/graphql/types/epic_descendant_count_type_spec.rb": 0.007054567337036133,3612 "ee/spec/lib/elastic/latest/project_wiki_instance_proxy_spec.rb": 0.0077016353607177734,3613 "ee/spec/graphql/types/design_management/design_collection_type_spec.rb": 0.006970405578613281,3614 "ee/spec/graphql/types/health_status_enum_spec.rb": 0.006957530975341797,3615 "ee/spec/serializers/invited_group_serializer_spec.rb": 0.005110025405883789,3616 "ee/spec/workers/elastic_index_bulk_cron_worker_spec.rb": 0.0050542354583740234,3617 "ee/spec/lib/ee/api/entities/design_management/design_spec.rb": 0.0038924217224121094,3618 "ee/spec/models/ee/merge_request_diff_spec.rb": 0.003473043441772461,3619 "ee/spec/services/protected_environments/environment_dropdown_service_spec.rb": 0.0033264160156253620}3621Knapsack global time execution for tests: 11m 17s3622Pending: (Failures listed here are expected and do not affect your suite's status)3623 1) Operations::FeatureFlag validations behaves like AtomicInternalId .has_internal_id Validation when presence validation is required validates presence3624 # No reason given3625 # ./spec/support/shared_examples/models/atomic_internal_id_shared_examples.rb:233626 2) Packages::PackageFileUploader behaves like builds correct paths #upload_path behaves like matches the method pattern 3627 # No pattern provided, skipping.3628 # ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:83629 3) Packages::PackageFileUploader behaves like builds correct paths #relative_path is relative3630 # Path not set, skipping.3631 # ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:393632 4) Packages::PackageFileUploader behaves like builds correct paths .absolute_path behaves like matches the method pattern 3633 # No pattern provided, skipping.3634 # ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:83635 5) Packages::PackageFileUploader behaves like builds correct paths .base_dir behaves like matches the method pattern 3636 # No pattern provided, skipping.3637 # ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:83638 6) Packages::PackageFileUploader object store is remote behaves like builds correct paths #cache_dir behaves like matches the method pattern 3639 # No pattern provided, skipping.3640 # ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:83641 7) Packages::PackageFileUploader object store is remote behaves like builds correct paths #work_dir behaves like matches the method pattern 3642 # No pattern provided, skipping.3643 # ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:83644 8) Packages::PackageFileUploader object store is remote behaves like builds correct paths #upload_path behaves like matches the method pattern 3645 # No pattern provided, skipping.3646 # ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:83647 9) Packages::PackageFileUploader object store is remote behaves like builds correct paths #relative_path is relative3648 # Path not set, skipping.3649 # ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:393650 10) Packages::PackageFileUploader object store is remote behaves like builds correct paths .absolute_path behaves like matches the method pattern 3651 # No pattern provided, skipping.3652 # ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:83653 11) Packages::PackageFileUploader object store is remote behaves like builds correct paths .base_dir behaves like matches the method pattern 3654 # No pattern provided, skipping.3655 # ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:83656Finished in 15 minutes 26 seconds (files took 57.03 seconds to load)36571535 examples, 0 failures, 11 pending3658Thu Mar 5 04:44:36 UTC 20203661coverage/: found 5 matching files 3662knapsack/: found 6 matching files 3663rspec_flaky/: found 4 matching files 3664rspec_profiling/: found 2 matching files 3665WARNING: tmp/capybara/: no matching files 3666tmp/memory_test/: found 2 matching files 3667junit_rspec.xml: found 1 matching files 3668Uploading artifacts to coordinator... ok id=460116833 responseStatus=201 Created token=2H665-_13669Uploading artifacts...3670junit_rspec.xml: found 1 matching files 3671Uploading artifacts to coordinator... ok id=460116833 responseStatus=201 Created token=2H665-_13672Job succeeded