rspec-ee unit pg11 2/10
Passed Started
by
@ayufan
Kamil Trzciński
1Running with gitlab-runner 13.3.0-rc1 (669fc507)2 on docker-auto-scale-com 1d6b581d4Using Docker executor with image registry.gitlab.com/gitlab-org/gitlab-build-images:ruby-2.6.6-golang-1.14-git-2.28-lfs-2.9-chrome-84-node-12.x-yarn-1.21-postgresql-11-graphicsmagick-1.3.34 ...5Starting service postgres:11.6 ...6Pulling docker image postgres:11.6 ...7Using docker image sha256:2c963c0eb8c6efa49bb8352ea446f248d208d674cfc34fc9ea275b5f99f8dedd for postgres:11.6 ...8Starting service redis:4.0-alpine ...9Pulling docker image redis:4.0-alpine ...10Using docker image sha256:e3dd0e49bca555d559ca2e97f06a1efa108ebd230fddcb17606723994f18ae3b for redis:4.0-alpine ...11Starting service elasticsearch:6.4.2 ...12Pulling docker image elasticsearch:6.4.2 ...13Using docker image sha256:e47ebd7ec3eef5e48746af2ae376f180bbfbd23c7514b5b18a116f8349eb4c34 for elasticsearch:6.4.2 ...14Waiting for services to be up and running...15Authenticating with credentials from job payload (GitLab Registry)16Pulling docker image registry.gitlab.com/gitlab-org/gitlab-build-images:ruby-2.6.6-golang-1.14-git-2.28-lfs-2.9-chrome-84-node-12.x-yarn-1.21-postgresql-11-graphicsmagick-1.3.34 ...17Using docker image sha256:cd688957c9207f55272d81be6d4908692d78233833e3f09a9c0899b2f24eb3ff for registry.gitlab.com/gitlab-org/gitlab-build-images:ruby-2.6.6-golang-1.14-git-2.28-lfs-2.9-chrome-84-node-12.x-yarn-1.21-postgresql-11-graphicsmagick-1.3.34 ...19Running on runner-1d6b581d-project-278964-concurrent-0 via runner-1d6b581d-gsrm-1598364852-85a1b8ad...21$ eval "$CI_PRE_CLONE_SCRIPT"22Downloading archived master...23Connecting to storage.googleapis.com (172.217.204.128:443)24saving to '/tmp/gitlab.tar.gz'25gitlab.tar.gz 20% |****** | 205M 0:00:03 ETA26gitlab.tar.gz 56% |****************** | 565M 0:00:01 ETA27gitlab.tar.gz 88% |**************************** | 892M 0:00:00 ETA28gitlab.tar.gz 100% |********************************| 1004M 0:00:00 ETA29'/tmp/gitlab.tar.gz' saved30Extracting tarball into /builds/gitlab-org/gitlab...31Fetching changes with git depth set to 20...32Reinitialized existing Git repository in /builds/gitlab-org/gitlab/.git/33Created fresh repository.34Checking out dbc1a472 as master...35Skipping Git submodules setup37Checking cache for rails-v2-3...38cache.zip is up to date 39Successfully extracted cache41Downloading artifacts for compile-test-assets (702959600)...42Downloading artifacts from coordinator... ok id=702959600 responseStatus=200 OK token=efr6uzds43Downloading artifacts for retrieve-tests-metadata (702959602)...44Downloading artifacts from coordinator... ok id=702959602 responseStatus=200 OK token=VgekGNeS45Downloading artifacts for setup-test-env (702959601)...46Downloading artifacts from coordinator... ok id=702959601 responseStatus=200 OK token=Fwwkf6XV47WARNING: tmp/tests/gitlab-shell/.gitlab_shell_secret: chmod tmp/tests/gitlab-shell/.gitlab_shell_secret: no such file or directory (suppressing repeats) 49$ [ "$FOSS_ONLY" = "1" ] && rm -rf ee/ qa/spec/ee/ qa/qa/specs/features/ee/ qa/qa/ee/ qa/qa/ee.rb50$ export GOPATH=$CI_PROJECT_DIR/.go51$ mkdir -p $GOPATH52$ source scripts/utils.sh53$ source scripts/prepare_build.sh54Bundler version 1.17.255$ bundle install --clean --without=production --without=development --jobs=2 --path=vendor --retry=3 --quiet56==> 'bundle install --clean --without=production --without=development --jobs=2 --path=vendor --retry=3 --quiet' succeeded in 1 seconds.57$ bundle check58Warning: 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`.59The Gemfile's dependencies are satisfied60==> 'bundle check' succeeded in 0 seconds.61$ bundle pristine pg62Warning: 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`.63Installing pg 1.2.2 with native extensions64==> 'bundle pristine pg' succeeded in 11 seconds.65$ gem install knapsack --no-document66Successfully installed knapsack-1.18.0671 gem installed68==> 'gem install knapsack --no-document' succeeded in 0 seconds.69$ setup_db_user_only70CREATE ROLE71GRANT72==> 'setup_db_user_only' succeeded in 1 seconds.73$ bundle exec rake db:drop db:create db:structure:load db:migrate gitlab:db:setup_ee74Dropped database 'gitlabhq_test'75Created database 'gitlabhq_test'76Dropped database 'gitlabhq_geo_test'77Created database 'gitlabhq_geo_test'78==> 'bundle exec rake db:drop db:create db:structure:load db:migrate gitlab:db:setup_ee' succeeded in 29 seconds.79$ run_timed_command "scripts/gitaly-test-build"80$ scripts/gitaly-test-build81Settings are listed in order of priority. The top value will be used.82retry83Set for your local app (/builds/gitlab-org/gitlab/tmp/tests/gitaly/ruby/.bundle/config/config): 384path85Set for your local app (/builds/gitlab-org/gitlab/tmp/tests/gitaly/ruby/.bundle/config/config): "/builds/gitlab-org/gitlab/vendor/gitaly-ruby"86jobs87Set for your local app (/builds/gitlab-org/gitlab/tmp/tests/gitaly/ruby/.bundle/config/config): 488app_config89Set via BUNDLE_APP_CONFIG: "/builds/gitlab-org/gitlab/tmp/tests/gitaly/ruby/.bundle/config"90gemfile91Set via BUNDLE_GEMFILE: "/builds/gitlab-org/gitlab/tmp/tests/gitaly/ruby/Gemfile"92flags93Set via BUNDLE_FLAGS: "--jobs=4 --retry=3 --quiet --path=/builds/gitlab-org/gitlab/vendor/gitaly-ruby"94silence_root_warning95Set via BUNDLE_SILENCE_ROOT_WARNING: true96go install -ldflags '-X gitlab.com/gitlab-org/gitaly/internal/version.version=13.3.0-rc5 -X gitlab.com/gitlab-org/gitaly/internal/version.buildtime=20200825.153245' -tags "tracer_static,tracer_static_jaeger,continuous_profiler_stackdriver" gitlab.com/gitlab-org/gitaly/cmd/praefect gitlab.com/gitlab-org/gitaly/cmd/gitaly-hooks gitlab.com/gitlab-org/gitaly/cmd/gitaly-blackbox gitlab.com/gitlab-org/gitaly/cmd/gitaly gitlab.com/gitlab-org/gitaly/cmd/gitaly-debug gitlab.com/gitlab-org/gitaly/cmd/gitaly-ssh gitlab.com/gitlab-org/gitaly/cmd/gitaly-wrapper97install /builds/gitlab-org/gitlab/tmp/tests/gitaly/_build/bin/praefect /builds/gitlab-org/gitlab/tmp/tests/gitaly/_build/bin/gitaly-hooks /builds/gitlab-org/gitlab/tmp/tests/gitaly/_build/bin/gitaly-blackbox /builds/gitlab-org/gitlab/tmp/tests/gitaly/_build/bin/gitaly /builds/gitlab-org/gitlab/tmp/tests/gitaly/_build/bin/gitaly-debug /builds/gitlab-org/gitlab/tmp/tests/gitaly/_build/bin/gitaly-ssh /builds/gitlab-org/gitlab/tmp/tests/gitaly/_build/bin/gitaly-wrapper /builds/gitlab-org/gitlab/tmp/tests/gitaly98Checking gitaly-ruby Gemfile...99Checking gitaly-ruby bundle...100Warning: 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`.101The Gemfile's dependencies are satisfied102Trying to connect to gitaly: ........ OK103Trying to connect to praefect: ....... OK104==> 'scripts/gitaly-test-build' succeeded in 42 seconds.105$ run_timed_command "scripts/gitaly-test-spawn"106$ scripts/gitaly-test-spawn107Checking gitaly-ruby Gemfile...108Checking gitaly-ruby bundle...109Warning: 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`.110The Gemfile's dependencies are satisfied111Trying to connect to gitaly: ........ OK112Trying to connect to praefect: ....... OK113==> 'scripts/gitaly-test-spawn' succeeded in 2 seconds.114$ source scripts/rspec_helpers.sh115$ rspec_paralellized_job "--tag ~quarantine --tag ~geo --tag ~level:migration"116KNAPSACK_TEST_FILE_PATTERN: ee/spec/{bin,channels,config,db,dependencies,factories,finders,frontend,graphql,haml_lint,helpers,initializers,javascripts,lib,models,policies,presenters,rack_servers,replicators,routing,rubocop,serializers,services,sidekiq,support_specs,tasks,uploaders,validators,views,workers,elastic_integration,tooling}{,/**/}*_spec.rb117RSpec'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:12:in `block in <top (required)>')118Knapsack report generator started!119Run options:120 include {:focus=>true}121 exclude {:quarantine=>true, :geo=>true, :level=>"migration"}122All examples were filtered out; ignoring {:focus=>true}123==> Setting up gitlab-test bare repository in /builds/gitlab-org/gitlab/tmp/tests/gitlab-test_bare...124 /builds/gitlab-org/gitlab/tmp/tests/gitlab-test_bare set up in 0.036125925 seconds...125Search::GlobalService126 behaves like EE search service shared examples127 #use_elasticsearch?128 delegates to Gitlab::CurrentSettings.search_using_elasticsearch?129 when requesting basic_search130 returns false131 #execute132 returns an Elastic result object when elasticsearch is enabled133 returns an ordinary result object when elasticsearch is disabled134 advanced syntax queries for all scopes135 with query "display bug" and scope merge_requests136 allows advanced query137 with query "display bug" and scope notes138 allows advanced query139 with query "display bug" and scope commits140 allows advanced query141 with query "display bug" and scope blobs142 allows advanced query143 with query "display bug" and scope projects144 allows advanced query145 with query "display bug" and scope issues146 allows advanced query147 with query "display bug" and scope wiki_blobs148 allows advanced query149 with query "display bug" and scope milestones150 allows advanced query151 with query bug -display and scope merge_requests152 allows advanced query153 with query bug -display and scope notes154 allows advanced query155 with query bug -display and scope commits156 allows advanced query157 with query bug -display and scope blobs158 allows advanced query159 with query bug -display and scope projects160 allows advanced query161 with query bug -display and scope issues162 allows advanced query163 with query bug -display and scope wiki_blobs164 allows advanced query165 with query bug -display and scope milestones166 allows advanced query167 with query bug display | sound and scope merge_requests168 allows advanced query169 with query bug display | sound and scope notes170 allows advanced query171 with query bug display | sound and scope commits172 allows advanced query173 with query bug display | sound and scope blobs174 allows advanced query175 with query bug display | sound and scope projects176 allows advanced query177 with query bug display | sound and scope issues178 allows advanced query179 with query bug display | sound and scope wiki_blobs180 allows advanced query181 with query bug display | sound and scope milestones182 allows advanced query183 with query bug | (display +sound) and scope merge_requests184 allows advanced query185 with query bug | (display +sound) and scope notes186 allows advanced query187 with query bug | (display +sound) and scope commits188 allows advanced query189 with query bug | (display +sound) and scope blobs190 allows advanced query191 with query bug | (display +sound) and scope projects192 allows advanced query193 with query bug | (display +sound) and scope issues194 allows advanced query195 with query bug | (display +sound) and scope wiki_blobs196 allows advanced query197 with query bug | (display +sound) and scope milestones198 allows advanced query199 with query bug find_by_* and scope merge_requests200 allows advanced query201 with query bug find_by_* and scope notes202 allows advanced query203 with query bug find_by_* and scope commits204 allows advanced query205 with query bug find_by_* and scope blobs206 allows advanced query207 with query bug find_by_* and scope projects208 allows advanced query209 with query bug find_by_* and scope issues210 allows advanced query211 with query bug find_by_* and scope wiki_blobs212 allows advanced query213 with query bug find_by_* and scope milestones214 allows advanced query215 with query argument \-last and scope merge_requests216 allows advanced query217 with query argument \-last and scope notes218 allows advanced query219 with query argument \-last and scope commits220 allows advanced query221 with query argument \-last and scope blobs222 allows advanced query223 with query argument \-last and scope projects224 allows advanced query225 with query argument \-last and scope issues226 allows advanced query227 with query argument \-last and scope wiki_blobs228 allows advanced query229 with query argument \-last and scope milestones230 allows advanced query231 visibility232 merge request233 project_level: :public, feature_access_level: :enabled, membership: :admin, expected_count: 1234 respects visibility235 project_level: :public, feature_access_level: :enabled, membership: :reporter, expected_count: 1236 respects visibility237 project_level: :public, feature_access_level: :enabled, membership: :guest, expected_count: 1238 respects visibility239 project_level: :public, feature_access_level: :enabled, membership: :non_member, expected_count: 1240 respects visibility241 project_level: :public, feature_access_level: :enabled, membership: :anonymous, expected_count: 1242 respects visibility243 project_level: :public, feature_access_level: :private, membership: :admin, expected_count: 1244 respects visibility245 project_level: :public, feature_access_level: :private, membership: :reporter, expected_count: 1246 respects visibility247 project_level: :public, feature_access_level: :private, membership: :guest, expected_count: 0248 respects visibility249 project_level: :public, feature_access_level: :private, membership: :non_member, expected_count: 0250 respects visibility251 project_level: :public, feature_access_level: :private, membership: :anonymous, expected_count: 0252 respects visibility253 project_level: :public, feature_access_level: :disabled, membership: :reporter, expected_count: 0254 respects visibility255 project_level: :public, feature_access_level: :disabled, membership: :guest, expected_count: 0256 respects visibility257 project_level: :public, feature_access_level: :disabled, membership: :non_member, expected_count: 0258 respects visibility259 project_level: :public, feature_access_level: :disabled, membership: :anonymous, expected_count: 0260 respects visibility261 project_level: :internal, feature_access_level: :enabled, membership: :admin, expected_count: 1262 respects visibility263 project_level: :internal, feature_access_level: :enabled, membership: :reporter, expected_count: 1264 respects visibility265 project_level: :internal, feature_access_level: :enabled, membership: :guest, expected_count: 1266 respects visibility267 project_level: :internal, feature_access_level: :enabled, membership: :non_member, expected_count: 1268 respects visibility269 project_level: :internal, feature_access_level: :enabled, membership: :anonymous, expected_count: 0270 respects visibility271 project_level: :internal, feature_access_level: :private, membership: :admin, expected_count: 1272 respects visibility273 project_level: :internal, feature_access_level: :private, membership: :reporter, expected_count: 1274 respects visibility275 project_level: :internal, feature_access_level: :private, membership: :guest, expected_count: 0276 respects visibility277 project_level: :internal, feature_access_level: :private, membership: :non_member, expected_count: 0278 respects visibility279 project_level: :internal, feature_access_level: :private, membership: :anonymous, expected_count: 0280 respects visibility281 project_level: :internal, feature_access_level: :disabled, membership: :reporter, expected_count: 0282 respects visibility283 project_level: :internal, feature_access_level: :disabled, membership: :guest, expected_count: 0284 respects visibility285 project_level: :internal, feature_access_level: :disabled, membership: :non_member, expected_count: 0286 respects visibility287 project_level: :internal, feature_access_level: :disabled, membership: :anonymous, expected_count: 0288 respects visibility289 project_level: :private, feature_access_level: :private, membership: :admin, expected_count: 1290 respects visibility291 project_level: :private, feature_access_level: :private, membership: :reporter, expected_count: 1292 respects visibility293 project_level: :private, feature_access_level: :private, membership: :guest, expected_count: 0294 respects visibility295 project_level: :private, feature_access_level: :private, membership: :non_member, expected_count: 0296 respects visibility297 project_level: :private, feature_access_level: :private, membership: :anonymous, expected_count: 0298 respects visibility299 project_level: :private, feature_access_level: :disabled, membership: :reporter, expected_count: 0300 respects visibility301 project_level: :private, feature_access_level: :disabled, membership: :guest, expected_count: 0302 respects visibility303 project_level: :private, feature_access_level: :disabled, membership: :non_member, expected_count: 0304 respects visibility305 project_level: :private, feature_access_level: :disabled, membership: :anonymous, expected_count: 0306 respects visibility307 code308 project_level: :public, feature_access_level: :enabled, membership: :admin, expected_count: 1309 respects visibility310 project_level: :public, feature_access_level: :enabled, membership: :reporter, expected_count: 1311 respects visibility312 project_level: :public, feature_access_level: :enabled, membership: :guest, expected_count: 1313 respects visibility314 project_level: :public, feature_access_level: :enabled, membership: :non_member, expected_count: 1315 respects visibility316 project_level: :public, feature_access_level: :enabled, membership: :anonymous, expected_count: 1317 respects visibility318 project_level: :public, feature_access_level: :private, membership: :admin, expected_count: 1319 respects visibility320 project_level: :public, feature_access_level: :private, membership: :reporter, expected_count: 1321 respects visibility322 project_level: :public, feature_access_level: :private, membership: :guest, expected_count: 1323 respects visibility324 project_level: :public, feature_access_level: :private, membership: :non_member, expected_count: 0325 respects visibility326 project_level: :public, feature_access_level: :private, membership: :anonymous, expected_count: 0327 respects visibility328 project_level: :public, feature_access_level: :disabled, membership: :reporter, expected_count: 0329 respects visibility330 project_level: :public, feature_access_level: :disabled, membership: :guest, expected_count: 0331 respects visibility332 project_level: :public, feature_access_level: :disabled, membership: :non_member, expected_count: 0333 respects visibility334 project_level: :public, feature_access_level: :disabled, membership: :anonymous, expected_count: 0335 respects visibility336 project_level: :internal, feature_access_level: :enabled, membership: :admin, expected_count: 1337 respects visibility338 project_level: :internal, feature_access_level: :enabled, membership: :reporter, expected_count: 1339 respects visibility340 project_level: :internal, feature_access_level: :enabled, membership: :guest, expected_count: 1341 respects visibility342 project_level: :internal, feature_access_level: :enabled, membership: :non_member, expected_count: 1343 respects visibility344 project_level: :internal, feature_access_level: :enabled, membership: :anonymous, expected_count: 0345 respects visibility346 project_level: :internal, feature_access_level: :private, membership: :admin, expected_count: 1347 respects visibility348 project_level: :internal, feature_access_level: :private, membership: :reporter, expected_count: 1349 respects visibility350 project_level: :internal, feature_access_level: :private, membership: :guest, expected_count: 1351 respects visibility352 project_level: :internal, feature_access_level: :private, membership: :non_member, expected_count: 0353 respects visibility354 project_level: :internal, feature_access_level: :private, membership: :anonymous, expected_count: 0355 respects visibility356 project_level: :internal, feature_access_level: :disabled, membership: :reporter, expected_count: 0357 respects visibility358 project_level: :internal, feature_access_level: :disabled, membership: :guest, expected_count: 0359 respects visibility360 project_level: :internal, feature_access_level: :disabled, membership: :non_member, expected_count: 0361 respects visibility362 project_level: :internal, feature_access_level: :disabled, membership: :anonymous, expected_count: 0363 respects visibility364 project_level: :private, feature_access_level: :private, membership: :admin, expected_count: 1365 respects visibility366 project_level: :private, feature_access_level: :private, membership: :reporter, expected_count: 1367 respects visibility368 project_level: :private, feature_access_level: :private, membership: :guest, expected_count: 0369 respects visibility370 project_level: :private, feature_access_level: :private, membership: :non_member, expected_count: 0371 respects visibility372 project_level: :private, feature_access_level: :private, membership: :anonymous, expected_count: 0373 respects visibility374 project_level: :private, feature_access_level: :disabled, membership: :reporter, expected_count: 0375 respects visibility376 project_level: :private, feature_access_level: :disabled, membership: :guest, expected_count: 0377 respects visibility378 project_level: :private, feature_access_level: :disabled, membership: :non_member, expected_count: 0379 respects visibility380 project_level: :private, feature_access_level: :disabled, membership: :anonymous, expected_count: 0381 respects visibility382 issue383 project_level: :public, feature_access_level: :enabled, membership: :admin, expected_count: 1384 respects visibility385 project_level: :public, feature_access_level: :enabled, membership: :reporter, expected_count: 1386 respects visibility387 project_level: :public, feature_access_level: :enabled, membership: :guest, expected_count: 1388 respects visibility389 project_level: :public, feature_access_level: :enabled, membership: :non_member, expected_count: 1390 respects visibility391 project_level: :public, feature_access_level: :enabled, membership: :anonymous, expected_count: 1392 respects visibility393 project_level: :public, feature_access_level: :private, membership: :admin, expected_count: 1394 respects visibility395 project_level: :public, feature_access_level: :private, membership: :reporter, expected_count: 1396 respects visibility397 project_level: :public, feature_access_level: :private, membership: :guest, expected_count: 1398 respects visibility399 project_level: :public, feature_access_level: :private, membership: :non_member, expected_count: 0400 respects visibility401 project_level: :public, feature_access_level: :private, membership: :anonymous, expected_count: 0402 respects visibility403 project_level: :public, feature_access_level: :disabled, membership: :reporter, expected_count: 0404 respects visibility405 project_level: :public, feature_access_level: :disabled, membership: :guest, expected_count: 0406 respects visibility407 project_level: :public, feature_access_level: :disabled, membership: :non_member, expected_count: 0408 respects visibility409 project_level: :public, feature_access_level: :disabled, membership: :anonymous, expected_count: 0410 respects visibility411 project_level: :internal, feature_access_level: :enabled, membership: :admin, expected_count: 1412 respects visibility413 project_level: :internal, feature_access_level: :enabled, membership: :reporter, expected_count: 1414 respects visibility415 project_level: :internal, feature_access_level: :enabled, membership: :guest, expected_count: 1416 respects visibility417 project_level: :internal, feature_access_level: :enabled, membership: :non_member, expected_count: 1418 respects visibility419 project_level: :internal, feature_access_level: :enabled, membership: :anonymous, expected_count: 0420 respects visibility421 project_level: :internal, feature_access_level: :private, membership: :admin, expected_count: 1422 respects visibility423 project_level: :internal, feature_access_level: :private, membership: :reporter, expected_count: 1424 respects visibility425 project_level: :internal, feature_access_level: :private, membership: :guest, expected_count: 1426 respects visibility427 project_level: :internal, feature_access_level: :private, membership: :non_member, expected_count: 0428 respects visibility429 project_level: :internal, feature_access_level: :private, membership: :anonymous, expected_count: 0430 respects visibility431 project_level: :internal, feature_access_level: :disabled, membership: :reporter, expected_count: 0432 respects visibility433 project_level: :internal, feature_access_level: :disabled, membership: :guest, expected_count: 0434 respects visibility435 project_level: :internal, feature_access_level: :disabled, membership: :non_member, expected_count: 0436 respects visibility437 project_level: :internal, feature_access_level: :disabled, membership: :anonymous, expected_count: 0438 respects visibility439 project_level: :private, feature_access_level: :private, membership: :admin, expected_count: 1440 respects visibility441 project_level: :private, feature_access_level: :private, membership: :reporter, expected_count: 1442 respects visibility443 project_level: :private, feature_access_level: :private, membership: :guest, expected_count: 1444 respects visibility445 project_level: :private, feature_access_level: :private, membership: :non_member, expected_count: 0446 respects visibility447 project_level: :private, feature_access_level: :private, membership: :anonymous, expected_count: 0448 respects visibility449 project_level: :private, feature_access_level: :disabled, membership: :reporter, expected_count: 0450 respects visibility451 project_level: :private, feature_access_level: :disabled, membership: :guest, expected_count: 0452 respects visibility453 project_level: :private, feature_access_level: :disabled, membership: :non_member, expected_count: 0454 respects visibility455 project_level: :private, feature_access_level: :disabled, membership: :anonymous, expected_count: 0456 respects visibility457 wiki458 project_level: :public, feature_access_level: :enabled, membership: :admin, expected_count: 1459 respects visibility460 project_level: :public, feature_access_level: :enabled, membership: :reporter, expected_count: 1461 respects visibility462 project_level: :public, feature_access_level: :enabled, membership: :guest, expected_count: 1463 respects visibility464 project_level: :public, feature_access_level: :enabled, membership: :non_member, expected_count: 1465 respects visibility466 project_level: :public, feature_access_level: :enabled, membership: :anonymous, expected_count: 1467 respects visibility468 project_level: :public, feature_access_level: :private, membership: :admin, expected_count: 1469 respects visibility470 project_level: :public, feature_access_level: :private, membership: :reporter, expected_count: 1471 respects visibility472 project_level: :public, feature_access_level: :private, membership: :guest, expected_count: 1473 respects visibility474 project_level: :public, feature_access_level: :private, membership: :non_member, expected_count: 0475 respects visibility476 project_level: :public, feature_access_level: :private, membership: :anonymous, expected_count: 0477 respects visibility478 project_level: :public, feature_access_level: :disabled, membership: :reporter, expected_count: 0479 respects visibility480 project_level: :public, feature_access_level: :disabled, membership: :guest, expected_count: 0481 respects visibility482 project_level: :public, feature_access_level: :disabled, membership: :non_member, expected_count: 0483 respects visibility484 project_level: :public, feature_access_level: :disabled, membership: :anonymous, expected_count: 0485 respects visibility486 project_level: :internal, feature_access_level: :enabled, membership: :admin, expected_count: 1487 respects visibility488 project_level: :internal, feature_access_level: :enabled, membership: :reporter, expected_count: 1489 respects visibility490 project_level: :internal, feature_access_level: :enabled, membership: :guest, expected_count: 1491 respects visibility492 project_level: :internal, feature_access_level: :enabled, membership: :non_member, expected_count: 1493 respects visibility494 project_level: :internal, feature_access_level: :enabled, membership: :anonymous, expected_count: 0495 respects visibility496 project_level: :internal, feature_access_level: :private, membership: :admin, expected_count: 1497 respects visibility498 project_level: :internal, feature_access_level: :private, membership: :reporter, expected_count: 1499 respects visibility500 project_level: :internal, feature_access_level: :private, membership: :guest, expected_count: 1501 respects visibility502 project_level: :internal, feature_access_level: :private, membership: :non_member, expected_count: 0503 respects visibility504 project_level: :internal, feature_access_level: :private, membership: :anonymous, expected_count: 0505 respects visibility506 project_level: :internal, feature_access_level: :disabled, membership: :reporter, expected_count: 0507 respects visibility508 project_level: :internal, feature_access_level: :disabled, membership: :guest, expected_count: 0509 respects visibility510 project_level: :internal, feature_access_level: :disabled, membership: :non_member, expected_count: 0511 respects visibility512 project_level: :internal, feature_access_level: :disabled, membership: :anonymous, expected_count: 0513 respects visibility514 project_level: :private, feature_access_level: :private, membership: :admin, expected_count: 1515 respects visibility516 project_level: :private, feature_access_level: :private, membership: :reporter, expected_count: 1517 respects visibility518 project_level: :private, feature_access_level: :private, membership: :guest, expected_count: 1519 respects visibility520 project_level: :private, feature_access_level: :private, membership: :non_member, expected_count: 0521 respects visibility522 project_level: :private, feature_access_level: :private, membership: :anonymous, expected_count: 0523 respects visibility524 project_level: :private, feature_access_level: :disabled, membership: :reporter, expected_count: 0525 respects visibility526 project_level: :private, feature_access_level: :disabled, membership: :guest, expected_count: 0527 respects visibility528 project_level: :private, feature_access_level: :disabled, membership: :non_member, expected_count: 0529 respects visibility530 project_level: :private, feature_access_level: :disabled, membership: :anonymous, expected_count: 0531 respects visibility532 milestone533 project_level: :public, issues_access_level: :enabled, merge_requests_access_level: :enabled, membership: :admin, expected_count: 1534 respects visibility535 project_level: :public, issues_access_level: :enabled, merge_requests_access_level: :enabled, membership: :reporter, expected_count: 1536 respects visibility537 project_level: :public, issues_access_level: :enabled, merge_requests_access_level: :enabled, membership: :guest, expected_count: 1538 respects visibility539 project_level: :public, issues_access_level: :enabled, merge_requests_access_level: :enabled, membership: :non_member, expected_count: 1540 respects visibility541 project_level: :public, issues_access_level: :enabled, merge_requests_access_level: :enabled, membership: :anonymous, expected_count: 1542 respects visibility543 project_level: :public, issues_access_level: :enabled, merge_requests_access_level: :private, membership: :admin, expected_count: 1544 respects visibility545 project_level: :public, issues_access_level: :enabled, merge_requests_access_level: :private, membership: :reporter, expected_count: 1546 respects visibility547 project_level: :public, issues_access_level: :enabled, merge_requests_access_level: :private, membership: :guest, expected_count: 1548 respects visibility549 project_level: :public, issues_access_level: :enabled, merge_requests_access_level: :private, membership: :non_member, expected_count: 1550 respects visibility551 project_level: :public, issues_access_level: :enabled, merge_requests_access_level: :private, membership: :anonymous, expected_count: 1552 respects visibility553 project_level: :public, issues_access_level: :enabled, merge_requests_access_level: :disabled, membership: :admin, expected_count: 1554 respects visibility555 project_level: :public, issues_access_level: :enabled, merge_requests_access_level: :disabled, membership: :reporter, expected_count: 1556 respects visibility557 project_level: :public, issues_access_level: :enabled, merge_requests_access_level: :disabled, membership: :guest, expected_count: 1558 respects visibility559 project_level: :public, issues_access_level: :enabled, merge_requests_access_level: :disabled, membership: :non_member, expected_count: 1560 respects visibility561 project_level: :public, issues_access_level: :enabled, merge_requests_access_level: :disabled, membership: :anonymous, expected_count: 1562 respects visibility563 project_level: :public, issues_access_level: :private, merge_requests_access_level: :enabled, membership: :admin, expected_count: 1564 respects visibility565 project_level: :public, issues_access_level: :private, merge_requests_access_level: :enabled, membership: :reporter, expected_count: 1566 respects visibility567 project_level: :public, issues_access_level: :private, merge_requests_access_level: :enabled, membership: :guest, expected_count: 1568 respects visibility569 project_level: :public, issues_access_level: :private, merge_requests_access_level: :enabled, membership: :non_member, expected_count: 1570 respects visibility571 project_level: :public, issues_access_level: :private, merge_requests_access_level: :enabled, membership: :anonymous, expected_count: 1572 respects visibility573 project_level: :public, issues_access_level: :private, merge_requests_access_level: :private, membership: :admin, expected_count: 1574 respects visibility575 project_level: :public, issues_access_level: :private, merge_requests_access_level: :private, membership: :reporter, expected_count: 1576 respects visibility577 project_level: :public, issues_access_level: :private, merge_requests_access_level: :private, membership: :guest, expected_count: 1578 respects visibility579 project_level: :public, issues_access_level: :private, merge_requests_access_level: :private, membership: :non_member, expected_count: 0580 respects visibility581 project_level: :public, issues_access_level: :private, merge_requests_access_level: :private, membership: :anonymous, expected_count: 0582 respects visibility583 project_level: :public, issues_access_level: :private, merge_requests_access_level: :disabled, membership: :admin, expected_count: 1584 respects visibility585 project_level: :public, issues_access_level: :private, merge_requests_access_level: :disabled, membership: :reporter, expected_count: 1586 respects visibility587 project_level: :public, issues_access_level: :private, merge_requests_access_level: :disabled, membership: :guest, expected_count: 1588 respects visibility589 project_level: :public, issues_access_level: :private, merge_requests_access_level: :disabled, membership: :non_member, expected_count: 0590 respects visibility591 project_level: :public, issues_access_level: :private, merge_requests_access_level: :disabled, membership: :anonymous, expected_count: 0592 respects visibility593 project_level: :public, issues_access_level: :disabled, merge_requests_access_level: :enabled, membership: :admin, expected_count: 1594 respects visibility595 project_level: :public, issues_access_level: :disabled, merge_requests_access_level: :enabled, membership: :reporter, expected_count: 1596 respects visibility597 project_level: :public, issues_access_level: :disabled, merge_requests_access_level: :enabled, membership: :guest, expected_count: 1598 respects visibility599 project_level: :public, issues_access_level: :disabled, merge_requests_access_level: :enabled, membership: :non_member, expected_count: 1600 respects visibility601 project_level: :public, issues_access_level: :disabled, merge_requests_access_level: :enabled, membership: :anonymous, expected_count: 1602 respects visibility603 project_level: :public, issues_access_level: :disabled, merge_requests_access_level: :private, membership: :admin, expected_count: 1604 respects visibility605 project_level: :public, issues_access_level: :disabled, merge_requests_access_level: :private, membership: :reporter, expected_count: 1606 respects visibility607 project_level: :public, issues_access_level: :disabled, merge_requests_access_level: :private, membership: :guest, expected_count: 0608 respects visibility609 project_level: :public, issues_access_level: :disabled, merge_requests_access_level: :private, membership: :non_member, expected_count: 0610 respects visibility611 project_level: :public, issues_access_level: :disabled, merge_requests_access_level: :private, membership: :anonymous, expected_count: 0612 respects visibility613 project_level: :public, issues_access_level: :disabled, merge_requests_access_level: :disabled, membership: :reporter, expected_count: 0614 respects visibility615 project_level: :public, issues_access_level: :disabled, merge_requests_access_level: :disabled, membership: :guest, expected_count: 0616 respects visibility617 project_level: :public, issues_access_level: :disabled, merge_requests_access_level: :disabled, membership: :non_member, expected_count: 0618 respects visibility619 project_level: :public, issues_access_level: :disabled, merge_requests_access_level: :disabled, membership: :anonymous, expected_count: 0620 respects visibility621 project_level: :internal, issues_access_level: :enabled, merge_requests_access_level: :enabled, membership: :admin, expected_count: 1622 respects visibility623 project_level: :internal, issues_access_level: :enabled, merge_requests_access_level: :enabled, membership: :reporter, expected_count: 1624 respects visibility625 project_level: :internal, issues_access_level: :enabled, merge_requests_access_level: :enabled, membership: :guest, expected_count: 1626 respects visibility627 project_level: :internal, issues_access_level: :enabled, merge_requests_access_level: :enabled, membership: :non_member, expected_count: 1628 respects visibility629 project_level: :internal, issues_access_level: :enabled, merge_requests_access_level: :enabled, membership: :anonymous, expected_count: 0630 respects visibility631 project_level: :internal, issues_access_level: :enabled, merge_requests_access_level: :private, membership: :admin, expected_count: 1632 respects visibility633 project_level: :internal, issues_access_level: :enabled, merge_requests_access_level: :private, membership: :reporter, expected_count: 1634 respects visibility635 project_level: :internal, issues_access_level: :enabled, merge_requests_access_level: :private, membership: :guest, expected_count: 1636 respects visibility637 project_level: :internal, issues_access_level: :enabled, merge_requests_access_level: :private, membership: :non_member, expected_count: 1638 respects visibility639 project_level: :internal, issues_access_level: :enabled, merge_requests_access_level: :private, membership: :anonymous, expected_count: 0640 respects visibility641 project_level: :internal, issues_access_level: :enabled, merge_requests_access_level: :disabled, membership: :admin, expected_count: 1642 respects visibility643 project_level: :internal, issues_access_level: :enabled, merge_requests_access_level: :disabled, membership: :reporter, expected_count: 1644 respects visibility645 project_level: :internal, issues_access_level: :enabled, merge_requests_access_level: :disabled, membership: :guest, expected_count: 1646 respects visibility647 project_level: :internal, issues_access_level: :enabled, merge_requests_access_level: :disabled, membership: :non_member, expected_count: 1648 respects visibility649 project_level: :internal, issues_access_level: :enabled, merge_requests_access_level: :disabled, membership: :anonymous, expected_count: 0650 respects visibility651 project_level: :internal, issues_access_level: :private, merge_requests_access_level: :enabled, membership: :admin, expected_count: 1652 respects visibility653 project_level: :internal, issues_access_level: :private, merge_requests_access_level: :enabled, membership: :reporter, expected_count: 1654 respects visibility655 project_level: :internal, issues_access_level: :private, merge_requests_access_level: :enabled, membership: :guest, expected_count: 1656 respects visibility657 project_level: :internal, issues_access_level: :private, merge_requests_access_level: :enabled, membership: :non_member, expected_count: 1658 respects visibility659 project_level: :internal, issues_access_level: :private, merge_requests_access_level: :enabled, membership: :anonymous, expected_count: 0660 respects visibility661 project_level: :internal, issues_access_level: :private, merge_requests_access_level: :private, membership: :admin, expected_count: 1662 respects visibility663 project_level: :internal, issues_access_level: :private, merge_requests_access_level: :private, membership: :reporter, expected_count: 1664 respects visibility665 project_level: :internal, issues_access_level: :private, merge_requests_access_level: :private, membership: :guest, expected_count: 1666 respects visibility667 project_level: :internal, issues_access_level: :private, merge_requests_access_level: :private, membership: :non_member, expected_count: 0668 respects visibility669 project_level: :internal, issues_access_level: :private, merge_requests_access_level: :private, membership: :anonymous, expected_count: 0670 respects visibility671 project_level: :internal, issues_access_level: :private, merge_requests_access_level: :disabled, membership: :admin, expected_count: 1672 respects visibility673 project_level: :internal, issues_access_level: :private, merge_requests_access_level: :disabled, membership: :reporter, expected_count: 1674 respects visibility675 project_level: :internal, issues_access_level: :private, merge_requests_access_level: :disabled, membership: :guest, expected_count: 1676 respects visibility677 project_level: :internal, issues_access_level: :private, merge_requests_access_level: :disabled, membership: :non_member, expected_count: 0678 respects visibility679 project_level: :internal, issues_access_level: :private, merge_requests_access_level: :disabled, membership: :anonymous, expected_count: 0680 respects visibility681 project_level: :internal, issues_access_level: :disabled, merge_requests_access_level: :enabled, membership: :admin, expected_count: 1682 respects visibility683 project_level: :internal, issues_access_level: :disabled, merge_requests_access_level: :enabled, membership: :reporter, expected_count: 1684 respects visibility685 project_level: :internal, issues_access_level: :disabled, merge_requests_access_level: :enabled, membership: :guest, expected_count: 1686 respects visibility687 project_level: :internal, issues_access_level: :disabled, merge_requests_access_level: :enabled, membership: :non_member, expected_count: 1688 respects visibility689 project_level: :internal, issues_access_level: :disabled, merge_requests_access_level: :enabled, membership: :anonymous, expected_count: 0690 respects visibility691 project_level: :internal, issues_access_level: :disabled, merge_requests_access_level: :private, membership: :admin, expected_count: 1692 respects visibility693 project_level: :internal, issues_access_level: :disabled, merge_requests_access_level: :private, membership: :reporter, expected_count: 1694 respects visibility695 project_level: :internal, issues_access_level: :disabled, merge_requests_access_level: :private, membership: :guest, expected_count: 0696 respects visibility697 project_level: :internal, issues_access_level: :disabled, merge_requests_access_level: :private, membership: :non_member, expected_count: 0698 respects visibility699 project_level: :internal, issues_access_level: :disabled, merge_requests_access_level: :private, membership: :anonymous, expected_count: 0700 respects visibility701 project_level: :internal, issues_access_level: :disabled, merge_requests_access_level: :disabled, membership: :reporter, expected_count: 0702 respects visibility703 project_level: :internal, issues_access_level: :disabled, merge_requests_access_level: :disabled, membership: :guest, expected_count: 0704 respects visibility705 project_level: :internal, issues_access_level: :disabled, merge_requests_access_level: :disabled, membership: :non_member, expected_count: 0706 respects visibility707 project_level: :internal, issues_access_level: :disabled, merge_requests_access_level: :disabled, membership: :anonymous, expected_count: 0708 respects visibility709 project_level: :private, issues_access_level: :private, merge_requests_access_level: :private, membership: :admin, expected_count: 1710 respects visibility711 project_level: :private, issues_access_level: :private, merge_requests_access_level: :private, membership: :reporter, expected_count: 1712 respects visibility713 project_level: :private, issues_access_level: :private, merge_requests_access_level: :private, membership: :guest, expected_count: 1714 respects visibility715 project_level: :private, issues_access_level: :private, merge_requests_access_level: :private, membership: :non_member, expected_count: 0716 respects visibility717 project_level: :private, issues_access_level: :private, merge_requests_access_level: :private, membership: :anonymous, expected_count: 0718 respects visibility719 project_level: :private, issues_access_level: :private, merge_requests_access_level: :disabled, membership: :admin, expected_count: 1720 respects visibility721 project_level: :private, issues_access_level: :private, merge_requests_access_level: :disabled, membership: :reporter, expected_count: 1722 respects visibility723 project_level: :private, issues_access_level: :private, merge_requests_access_level: :disabled, membership: :guest, expected_count: 1724 respects visibility725 project_level: :private, issues_access_level: :private, merge_requests_access_level: :disabled, membership: :non_member, expected_count: 0726 respects visibility727 project_level: :private, issues_access_level: :private, merge_requests_access_level: :disabled, membership: :anonymous, expected_count: 0728 respects visibility729 project_level: :private, issues_access_level: :disabled, merge_requests_access_level: :private, membership: :admin, expected_count: 1730 respects visibility731 project_level: :private, issues_access_level: :disabled, merge_requests_access_level: :private, membership: :reporter, expected_count: 1732 respects visibility733 project_level: :private, issues_access_level: :disabled, merge_requests_access_level: :private, membership: :guest, expected_count: 0734 respects visibility735 project_level: :private, issues_access_level: :disabled, merge_requests_access_level: :private, membership: :non_member, expected_count: 0736 respects visibility737 project_level: :private, issues_access_level: :disabled, merge_requests_access_level: :private, membership: :anonymous, expected_count: 0738 respects visibility739 project_level: :private, issues_access_level: :disabled, merge_requests_access_level: :disabled, membership: :reporter, expected_count: 0740 respects visibility741 project_level: :private, issues_access_level: :disabled, merge_requests_access_level: :disabled, membership: :guest, expected_count: 0742 respects visibility743 project_level: :private, issues_access_level: :disabled, merge_requests_access_level: :disabled, membership: :non_member, expected_count: 0744 respects visibility745 project_level: :private, issues_access_level: :disabled, merge_requests_access_level: :disabled, membership: :anonymous, expected_count: 0746 respects visibility747 project748 project_level: :public, membership: :reporter, expected_count: 1749 respects visibility750 project_level: :public, membership: :guest, expected_count: 1751 respects visibility752 project_level: :public, membership: :non_member, expected_count: 1753 respects visibility754 project_level: :public, membership: :anonymous, expected_count: 1755 respects visibility756 project_level: :internal, membership: :reporter, expected_count: 1757 respects visibility758 project_level: :internal, membership: :guest, expected_count: 1759 respects visibility760 project_level: :internal, membership: :non_member, expected_count: 1761 respects visibility762 project_level: :internal, membership: :anonymous, expected_count: 0763 respects visibility764 project_level: :private, membership: :reporter, expected_count: 1765 respects visibility766 project_level: :private, membership: :guest, expected_count: 1767 respects visibility768 project_level: :private, membership: :non_member, expected_count: 0769 respects visibility770 project_level: :private, membership: :anonymous, expected_count: 0771 respects visibility772 #allowed_scopes773 when ES is used774 includes ES-specific scopes775 when ES is not used776 does not include ES-specific scopes777 confidential notes778 with notes on issues779 behaves like search notes shared examples780 notes confidentiality781 for anonymous user782 filters confidential notes783 when user cannot read confidential notes784 filters confidential notes785 when user can read confidential notes786 does not filter confidental notes787 with additional notes on a confidential issue788 when user cannot read confidential789 filters all notes from confidential issue790 when user can read confidential791 when user is project reporter792 does not filter confidential issue notes793 when user is a participant794 as issue author795 does not filter confidential issue notes796 as issue assignee797 does not filter confidential issue notes798 with notes on merge requests799 behaves like search notes shared examples800 notes confidentiality801 for anonymous user802 filters confidential notes803 when user cannot read confidential notes804 filters confidential notes805 when user can read confidential notes806 does not filter confidental notes807 with additional notes on a confidential issue808 when user cannot read confidential809 filters all notes from confidential issue810 when user can read confidential811 when user is project reporter812 does not filter confidential issue notes813 when user is a participant814 as issue author815 does not filter confidential issue notes816 as issue assignee817 does not filter confidential issue notes818 with notes on commits819 behaves like search notes shared examples820 notes confidentiality821 for anonymous user822 filters confidential notes823 when user cannot read confidential notes824 filters confidential notes825 when user can read confidential notes826 does not filter confidental notes827 with additional notes on a confidential issue828 when user cannot read confidential829 filters all notes from confidential issue830 when user can read confidential831 when user is project reporter832 does not filter confidential issue notes833 when user is a participant834 as issue author835 does not filter confidential issue notes836 as issue assignee837 does not filter confidential issue notes838MergeRequests::RefreshService839 #execute840 checks merge train status841 when branch is deleted842 does not check merge train status843 #update_approvers_for_target_branch_merge_requests844 when the feature flags are enabled845 when the branch is protected846 when code owners file is updated847 when not on the merge train848 refreshes the code owner rules for all relevant merge requests849 when on the merge train850 behaves like does not refresh the code owner rules851 is expected not to receive new(*(any args)) 0 times852 when code owners file is not updated853 behaves like does not refresh the code owner rules854 is expected not to receive new(*(any args)) 0 times855 when the branch is not protected856 behaves like does not refresh the code owner rules857 is expected not to receive new(*(any args)) 0 times858 when update_target_approvers is disabled859 behaves like does not refresh the code owner rules860 is expected not to receive new(*(any args)) 0 times861 when code_owners is disabled862 behaves like does not refresh the code owner rules863 is expected not to receive new(*(any args)) 0 times864 #update_approvers_for_source_branch_merge_requests865 gets called in a specific order866 creating approval_rules867 with a non-sectional codeowners file868 behaves like creates an approval rule based on current diff869 creates expected approval rules870 with a sectional codeowners file871 behaves like creates an approval rule based on current diff872 creates expected approval rules873 when code owners disabled874 does nothing875 when code owners enabled876 refreshes the code owner rules for all relevant merge requests877 when report_approver_rules enabled, with approval_rule enabled878 refreshes the report_approver rules for all relevant merge requests879 Pipelines for merge requests880 creates a merge request pipeline881 when MergeRequestUpdateWorker is retried by an exception882 does not re-create a duplicate merge request pipeline883 when user is approver884 push to origin repo source branch885 resets approvals886 push to origin repo target branch887 when all MRs to the target branch had diffs888 does not reset approvals889 push to fork repo source branch890 open fork merge request891 resets approvals892 closed fork merge request893 resets approvals894 push to fork repo target branch895 changes to merge requests896 does not reset approvals897 push to origin repo target branch after fork project was removed898 does not reset approvals899 resetting approvals if they are enabled900 when approvals_before_merge is disabled901 resets approvals902 when reset_approvals_on_push is disabled903 does not reset approvals904 when the rebase_commit_sha on the MR matches the pushed SHA905 does not reset approvals906 when there are approvals907 closed merge request908 resets the approvals909 opened merge request910 resets the approvals911 #abort_ff_merge_requests_with_when_pipeline_succeeds912 with add to merge train when pipeline succeeds strategy913 behaves like maintained merge requests for MWPS914 does not cancel auto merge915 does not change merge_user916 does not add todos917 with merge train strategy918 behaves like maintained merge requests for MWPS919 does not cancel auto merge920 does not change merge_user921 does not add todos922Dependency-Scanning.gitlab-ci.yml923 the created pipeline924 when project has no license925 includes no jobs926 when project has Ultimate license927 when DS_DISABLE_DIND=false928 includes orchestrator job929 when DEPENDENCY_SCANNING_DISABLED=1930 includes no jobs931 by default932 language detection933 Go934 with file at root935 creates a pipeline with the expected jobs936 with file at depth 1937 creates a pipeline with the expected jobs938 with file at depth 2939 creates a pipeline with the expected jobs940 with file at depth > 2941 includes no job942 Java943 with file at root944 creates a pipeline with the expected jobs945 with file at depth 1946 creates a pipeline with the expected jobs947 with file at depth 2948 creates a pipeline with the expected jobs949 with file at depth > 2950 includes no job951 Java Gradle952 with file at root953 creates a pipeline with the expected jobs954 with file at depth 1955 creates a pipeline with the expected jobs956 with file at depth 2957 creates a pipeline with the expected jobs958 with file at depth > 2959 includes no job960 Java Gradle Kotlin DSL961 with file at root962 creates a pipeline with the expected jobs963 with file at depth 1964 creates a pipeline with the expected jobs965 with file at depth 2966 creates a pipeline with the expected jobs967 with file at depth > 2968 includes no job969 Javascript970 with file at root971 creates a pipeline with the expected jobs972 with file at depth 1973 creates a pipeline with the expected jobs974 with file at depth 2975 creates a pipeline with the expected jobs976 with file at depth > 2977 includes no job978 Javascript package-lock.json979 with file at root980 creates a pipeline with the expected jobs981 with file at depth 1982 creates a pipeline with the expected jobs983 with file at depth 2984 creates a pipeline with the expected jobs985 with file at depth > 2986 includes no job987 Javascript yarn.lock988 with file at root989 creates a pipeline with the expected jobs990 with file at depth 1991 creates a pipeline with the expected jobs992 with file at depth 2993 creates a pipeline with the expected jobs994 with file at depth > 2995 includes no job996 Javascript npm-shrinkwrap.json997 with file at root998 creates a pipeline with the expected jobs999 with file at depth 11000 creates a pipeline with the expected jobs1001 with file at depth 21002 creates a pipeline with the expected jobs1003 with file at depth > 21004 includes no job1005 Multiple languages1006 with file at root1007 creates a pipeline with the expected jobs1008 with file at depth 11009 creates a pipeline with the expected jobs1010 with file at depth 21011 creates a pipeline with the expected jobs1012 with file at depth > 21013 includes no job1014 NuGet1015 with file at root1016 creates a pipeline with the expected jobs1017 with file at depth 11018 creates a pipeline with the expected jobs1019 with file at depth 21020 creates a pipeline with the expected jobs1021 with file at depth > 21022 includes no job1023 PHP1024 with file at root1025 creates a pipeline with the expected jobs1026 with file at depth 11027 creates a pipeline with the expected jobs1028 with file at depth 21029 creates a pipeline with the expected jobs1030 with file at depth > 21031 includes no job1032 Python requirements.txt1033 with file at root1034 creates a pipeline with the expected jobs1035 with file at depth 11036 creates a pipeline with the expected jobs1037 with file at depth 21038 creates a pipeline with the expected jobs1039 with file at depth > 21040 includes no job1041 Python requirements.pip1042 with file at root1043 creates a pipeline with the expected jobs1044 with file at depth 11045 creates a pipeline with the expected jobs1046 with file at depth 21047 creates a pipeline with the expected jobs1048 with file at depth > 21049 includes no job1050 Python Pipfile1051 with file at root1052 creates a pipeline with the expected jobs1053 with file at depth 11054 creates a pipeline with the expected jobs1055 with file at depth 21056 creates a pipeline with the expected jobs1057 with file at depth > 21058 includes no job1059 Python requires.txt1060 with file at root1061 creates a pipeline with the expected jobs1062 with file at depth 11063 creates a pipeline with the expected jobs1064 with file at depth 21065 creates a pipeline with the expected jobs1066 with file at depth > 21067 includes no job1068 Python with setup.py1069 with file at root1070 creates a pipeline with the expected jobs1071 with file at depth 11072 creates a pipeline with the expected jobs1073 with file at depth 21074 creates a pipeline with the expected jobs1075 with file at depth > 21076 includes no job1077 Ruby Gemfile.lock1078 with file at root1079 creates a pipeline with the expected jobs1080 with file at depth 11081 creates a pipeline with the expected jobs1082 with file at depth 21083 creates a pipeline with the expected jobs1084 with file at depth > 21085 includes no job1086 Ruby gems.locked1087 with file at root1088 creates a pipeline with the expected jobs1089 with file at depth 11090 creates a pipeline with the expected jobs1091 with file at depth 21092 creates a pipeline with the expected jobs1093 with file at depth > 21094 includes no job1095 Scala1096 with file at root1097 creates a pipeline with the expected jobs1098 with file at depth 11099 creates a pipeline with the expected jobs1100 with file at depth 21101 creates a pipeline with the expected jobs1102 with file at depth > 21103 includes no job1104 when PIP_REQUIREMENTS_FILE is defined1105 creates a pipeline with the expected jobs1106Projects::CreateFromTemplateService1107 #execute1108 does not create project from custom template1109 when use_custom_template is not present or false1110 creates an empty project1111 when custom_project_templates feature is not enabled1112 creates an empty project1113 when custom_project_template does not exist1114 does not attempt to import a project1115 use_template_name: true1116 returns the created project1117 the result project1118 overrides template description1119 overrides template visibility_level1120 creating project from a Group project template1121 when the namespace is not a descendant of the Group owning the template1122 when project is created under a group that is outside the hierarchy its root ancestor group1123 behaves like a project that isn't persisted1124 isn't persisted1125 when project is created under a group that is a descendant of its root ancestor group1126 behaves like a project that isn't persisted1127 isn't persisted1128 when project is created under a subgroup that is a descendant of its root ancestor group1129 behaves like a project that isn't persisted1130 isn't persisted1131 when project is created outside of group hierarchy1132 behaves like a project that isn't persisted1133 isn't persisted1134 when the namespace is inside the hierarchy of the Group owning the template1135 when project is created under its parent group1136 behaves like a persisted project1137 is persisted1138 when project is created under the same group1139 behaves like a persisted project1140 is persisted1141 when project is created under its descendant group1142 behaves like a persisted project1143 is persisted1144 when project is created under a group that is a descendant of its parent group1145 behaves like a persisted project1146 is persisted1147 when project is created under a subgroup that is a descendant of its parent group1148 behaves like a persisted project1149 is persisted1150 use_template_name: false1151 returns the created project1152 the result project1153 overrides template description1154 overrides template visibility_level1155 creating project from a Group project template1156 when the namespace is not a descendant of the Group owning the template1157 when project is created under a group that is outside the hierarchy its root ancestor group1158 behaves like a project that isn't persisted1159 isn't persisted1160 when project is created under a group that is a descendant of its root ancestor group1161 behaves like a project that isn't persisted1162 isn't persisted1163 when project is created under a subgroup that is a descendant of its root ancestor group1164 behaves like a project that isn't persisted1165 isn't persisted1166 when project is created outside of group hierarchy1167 behaves like a project that isn't persisted1168 isn't persisted1169 when the namespace is inside the hierarchy of the Group owning the template1170 when project is created under its parent group1171 behaves like a persisted project1172 is persisted1173 when project is created under the same group1174 behaves like a persisted project1175 is persisted1176 when project is created under its descendant group1177 behaves like a persisted project1178 is persisted1179 when project is created under a group that is a descendant of its parent group1180 behaves like a persisted project1181 is persisted1182 when project is created under a subgroup that is a descendant of its parent group1183 behaves like a persisted project1184 is persisted1185EpicLinks::CreateService1186 #execute1187 when subepics feature is disabled1188/builds/gitlab-org/gitlab/vendor/ruby/2.6.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/mutate_const.rb:234: warning: already initialized constant Epic::Metrics1189/builds/gitlab-org/gitlab/ee/app/models/epic/metrics.rb:3: warning: previous definition of Metrics was here1190/builds/gitlab-org/gitlab/vendor/ruby/2.6.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/mutate_const.rb:234: warning: already initialized constant Epic::NotesAssociationExtension1191/builds/gitlab-org/gitlab/vendor/ruby/2.6.0/gems/activerecord-6.0.3.1/lib/active_record/associations/builder/collection_association.rb:27: warning: previous definition of NotesAssociationExtension was here1192 returns an error1193 no relationship is created1194 when subepics feature is enabled1195 when an error occurs1196 when a single epic is given1197 when a user does not have permissions to add an epic1198 returns an error1199 no relationship is created1200 when a user has permissions to add an epic1201 when an epic from another group is given1202 returns an error1203 no relationship is created1204 when hierarchy is cyclic1205 when given child epic is the same as given parent1206 returns an error1207 no relationship is created1208 when given child epic is parent of the given parent1209 returns an error1210 no relationship is created1211 when new child epic is an ancestor of the given parent1212 returns an error1213 no relationship is created1214 when adding an epic that is already a child of the parent epic1215 returns an error1216 no relationship is created1217 when adding to an Epic that is already at maximum depth1218 returns an error1219 no relationship is created1220 when total depth after adding would exceed depth limit1221 returns an error1222 no relationship is created1223 when multiple epics are given1224 when a user dos not have permissions to add an epic1225 returns an error1226 no relationship is created1227 when a user has permissions to add an epic1228 when adding epics that are already a child of the parent epic1229 returns an error1230 no relationship is created1231 when total depth after adding would exceed limit1232 returns an error1233 no relationship is created1234 when an epic from a another group is given1235 returns an error1236 no relationship is created1237 when hierarchy is cyclic1238 when given child epic is the same as given parent1239 returns an error1240 no relationship is created1241 when given child epic is parent of the given parent1242 returns an error1243 no relationship is created1244 when the reference list is empty1245 returns an error1246 no relationship is created1247 when there are invalid references1248 adds only valid references1249 returns error status1250 when everything is ok1251 when a correct reference is given1252 creates a new relationship and updates epic1253 moves the new child epic to the top and moves the existing ones down1254 returns success status1255 creates system notes1256 when an epic from a subgroup is given1257 creates a new relationship and updates epic1258 moves the new child epic to the top and moves the existing ones down1259 returns success status1260 creates system notes1261 when multiple valid epics are given1262 creates new relationships1263 creates system notes1264 returns success status1265 avoids un-necessary database queries1266 when at least one epic is still not assigned to the parent epic1267 creates new relationships1268 creates system notes1269 returns success status1270 when adding an Epic that has existing children1271 when Epic to add has more than 5 children1272 creates a new relationship and updates epic1273 moves the new child epic to the top and moves the existing ones down1274 returns success status1275 creates system notes1276 when an epic is already assigned to another epic1277 creates a new relationship and updates epic1278 moves the new child epic to the top and moves the existing ones down1279 returns success status1280 creates system notes1281MergeRequests::ByApproversFinder1282 filter by no approvers1283 returns merge requests without approvers1284 filter by any approver1285 returns only merge requests with approvers1286 filter by second approver1287 returns only merge requests with the second approver1288 filter by both approvers1289 returns only merge requests with both approvers1290 pass empty params1291 returns all merge requests1292 filter by an approver from group1293 returns only merge requests with the approver from group1294 filter by an overridden approver from project1295 returns only merge requests with the project approver1296 filter by approvers1297 can be ordered by popularity1298 can be ordered by priority1299Gitlab::Analytics::CycleAnalytics::Summary::Group::StageSummary1300 #new_issues1301 with from date1302 finds the number of issues created after it1303 returns the localized title1304 with subgroups1305 finds issues from them1306 with projects specified in options1307 finds issues from those projects1308 with `assignee_username` filter1309 finds issues from those projects1310 with `author_username` filter1311 finds issues from those projects1312 with `label_name` filter1313 finds issue with two labels1314 when `from` and `to` parameters are provided1315 finds issues from 5 days ago1316 with other projects1317 doesn't find issues from them1318 #deploys1319 with from date1320 finds the number of deploys made created after it1321 returns the localized title1322 with subgroups1323 finds deploys from them1324 with projects specified in options1325 shows deploys from those projects1326 when `from` and `to` parameters are provided1327 finds deployments from 5 days ago1328 with other projects1329 doesn't find deploys from them1330 #deployment_frequency1331 includes the unit: `per day`1332 when `to` is nil1333 includes range until now1334 when `to` is given1335 returns deployment frequency within `from` and `to` range1336Ci::Build1337 .license_scan1338 with old license_management artifact1339 is expected to eq "license_management"1340 with new license_scanning artifact1341 is expected to eq "license_scanning"1342 associations1343 is expected to have many security_scans1344 #shared_runners_minutes_limit_enabled?1345 behaves like depends on runner presence and type1346 for shared runner1347 when project#shared_runners_minutes_limit_enabled? is true1348 is expected to be truthy1349 when project#shared_runners_minutes_limit_enabled? is false1350 is expected to be falsey1351 with specific runner1352 is expected to be falsey1353 without runner1354 is expected to be falsey1355 updates pipeline minutes1356 for event success1357 for event drop1358 for event cancel1359 #stick_build_if_status_changed1360 sticks the build if the status changed1361 #variables1362 when environment specific variable is defined1363 when there is a plan for the group1364 GITLAB_FEATURES should include the features for that plan1365 variable CI_HAS_OPEN_REQUIREMENTS1366 is included with value 'true' if there are open requirements1367 is not included if there are no open requirements1368 #collect_security_reports!1369 when build has a security report1370 when there is a sast report1371 parses blobs and add the results to the report1372 adds the created date to the report1373 when there are multiple reports1374 parses blobs and adds the results to the reports1375 when there is a corrupted sast report1376 stores an error1377 when there is unsupported file type1378 stores an error1379 #collect_license_scanning_reports!1380 is expected to eq 01381 when build has a license scanning report1382 when there is a new type report1383 parses blobs and add the results to the report1384 when there is an old type report1385 parses blobs and add the results to the report1386 when there is a corrupted report1387 returns an empty report1388 when Feature flag is disabled for License Scanning reports parsing1389 does NOT parse license scanning report1390 when the license scanning feature is disabled1391 does NOT parse license scanning report1392 #collect_dependency_list_reports!1393 with available licensed feature1394 parses blobs and add the results to the report1395 with different report format1396 parses blobs and add the results to the report1397 with disabled licensed feature1398 does NOT parse dependency list report1399 #collect_licenses_for_dependency_list!1400 with available licensed feature1401 parses blobs and add found license1402 with unavailable licensed feature1403 does not add licenses1404 #collect_metrics_reports!1405 when there is a metrics report1406 when license has metrics_reports1407 parses blobs and add the results to the report1408 when license does not have metrics_reports1409 does not parse metrics report1410 #collect_requirements_reports!1411 when there is a requirements report1412 when requirements are available1413 parses blobs and adds the results to the report1414 when requirements are not available1415 does not parse requirements report1416 #retryable?1417 with pipeline for merged results1418 is expected to equal true1419 with pipeline for merge train1420 is expected to equal false1421 .license_scan1422 returns only license artifacts1423 ci_secrets_management_available?1424 when secrets management feature is available1425 is expected to equal true1426 when secrets management feature is not available1427 is expected to equal false1428 #runner_required_feature_names1429 when secrets management feature is available1430 when there are secrets defined1431 is expected to include :vault_secrets1432 when there are no secrets defined1433 is expected not to include :vault_secrets1434 when secrets management feature is not available1435 when there are secrets defined1436 is expected not to include :vault_secrets1437 when there are no secrets defined1438 is expected not to include :vault_secrets1439ProtectedBranch1440 behaves like uniqueness validation1441 while checking uniqueness of a role-based merge access level1442 allows a single merge access level for a role (per protected branch)1443 does not count a user-based merge access level with an `access_level` set1444 does not count a group-based merge access level with an `access_level` set1445 while checking uniqueness of a user-based merge access level1446 allows a single merge access level for a user (per protected branch)1447 ignores the `access_level` while validating a user-based merge access level1448 while checking uniqueness of a group-based merge access level1449 allows a single merge access level for a group (per protected branch)1450 ignores the `access_level` while validating a group-based merge access level1451 behaves like uniqueness validation1452 while checking uniqueness of a role-based push access level1453 allows a single push access level for a role (per protected branch)1454 does not count a user-based push access level with an `access_level` set1455 does not count a group-based push access level with an `access_level` set1456 while checking uniqueness of a user-based push access level1457 allows a single push access level for a user (per protected branch)1458 ignores the `access_level` while validating a user-based push access level1459 while checking uniqueness of a group-based push access level1460 allows a single push access level for a group (per protected branch)1461 ignores the `access_level` while validating a group-based push access level1462 #code_owner_approval_required1463 when the attr code_owner_approval_required is true1464 returns true1465 returns false when the project doesn't require approvals1466 when the attr code_owner_approval_required is false1467 returns false1468 #can_unprotect?1469 without unprotect_access_levels1470 doesn't add any additional restriction1471 with access level set to MAINTAINER1472 defaults to requiring maintainer access1473 with access level set to ADMIN1474 prevents access to maintainers1475 grants access to admins1476 multiple access levels1477 grants access if any grant access1478Security::PipelineVulnerabilitiesFinder1479 #execute1480 findings1481 assigns commit sha to findings1482 by order1483 orders by severity and confidence1484 by report type1485 when sast1486 includes only sast1487 when dependency_scanning1488 includes only dependency_scanning1489 when dast1490 includes only dast1491 when container_scanning1492 includes only container_scanning1493 by scope1494 when unscoped1495 returns non-dismissed vulnerabilities1496 when `dismissed`1497 returns non-dismissed vulnerabilities1498 when `all`1499 returns all vulnerabilities1500 by severity1501 when unscoped1502 returns all vulnerability severity levels1503 when `low`1504 returns only low-severity vulnerabilities1505 by confidence1506 when unscoped1507 returns all vulnerability confidence levels1508 when `medium`1509 returns only medium-confidence vulnerabilities1510 by scanner1511 when unscoped1512 returns all vulnerabilities with all scanners available1513 when `zaproxy`1514 returns only vulnerabilities with selected scanner external id1515 by all filters1516 with found entity1517 filters by all params1518 without found entity1519 did not find anything1520 without params1521 returns all report_types1522 when matching vulnerability records exist1523 assigns vulnerability records to findings providing them with computed state1524 when being tested for sort stability1525 maintains the order of the findings having the same severity and confidence1526 when scanner is not provided in the report findings1527 sets empty scanner1528Gitlab::Elastic::Indexer1529 empty project1530 updates the index status without running the indexing command1531 when indexing an unborn head1532 updates the index status without running the indexing command1533 #find_indexable_commit1534 is truthy for reachable commits1535 is falsey for unreachable commits1536 with an indexed project1537 when indexing a HEAD commit1538 runs the indexing command1539 behaves like index up to the specified commit1540 updates the index status when the indexing is a success1541 leaves the index status untouched when the indexing fails1542 when IndexStatus exists1543 when last_commit exists1544 uses last_commit as from_sha1545 when indexing a non-HEAD commit1546 behaves like index up to the specified commit1547 updates the index status when the indexing is a success1548 leaves the index status untouched when the indexing fails1549 after reverting a change1550 when IndexStatus#last_commit is no longer in repository1551 reindexes from scratch1552 when branch is reset to an earlier commit1553 reverses already indexed commits1554 when indexing a project's wiki1555 runs the indexer with the right flags1556 when IndexStatus#last_wiki_commit is no longer in repository1557 reindexes from scratch1558 when SSL env vars are not set explicitly1559 they will be set to default values determined by Ruby1560 when SSL env vars are set1561 when building env vars for child process1562 SSL env vars will be included1563 when no aws credentials available1564 credentials env vars will not be included1565 when aws credentials are available1566 when AWS config is not enabled1567 credentials env vars will not be included1568 when AWS config is enabled1569 credentials env vars will be included1570 when a file is larger than elasticsearch_indexed_file_size_limit_kb1571 does not index that file1572 when a file path is larger than elasticsearch max size of 512 bytes1573 indexes the file1574Epics::UpdateService1575 #execute1576 multiple values update1577 updates the epic correctly1578 updates the last_edited_at value1579 when confidential_epics is disabled1580 ignores confidential attribute on update1581 when title has changed1582 creates system note about title change1583 when description has changed1584 creates system note about description change1585 after_save callback to store_mentions1586 when mentionable attributes change1587 saves mentions1588 when mentionable attributes do not change1589 does not call store_mentions!1590 when save fails1591 does not call store_mentions!1592 todos1593 creating todos1594 creates todos for only newly mentioned users1595 adding a label1596 marks todo as done for a user who added a label1597 does not mark todos as done for other users1598 mentioning a group in epic description1599 when the group is public1600 creates todos for only newly mentioned users1601 when the group is private1602 creates todos for only newly mentioned users that are group members1603 when Epic has tasks1604 is expected to eq true1605 behaves like updating a single task1606 when a task is marked as completed1607 creates system note about task status change1608 when a task is marked as incomplete1609 creates system note about task status change1610 when the task position has been modified1611 raises an exception1612 when the content changes but not task line number1613 creates system note about task status change1614 when tasks are marked as completed1615 creates system note about task status change1616 when tasks are marked as incomplete1617 creates system note about task status change1618 filter out start_date and end_date1619 ignores start_date and end_date1620 refresh epic dates1621 date fields are updated1622 calls UpdateDatesService1623 date fields are not updated1624 does not call UpdateDatesService1625 behaves like existing issuable with scoped labels1626 when scoped labels are available1627 when using label_ids parameter1628 adds only last selected exclusive scoped label1629 when using label_ids parameter1630 adds only last selected exclusive scoped label1631 when only removing labels1632 preserves multiple exclusive scoped labels1633 when scoped labels are not available1634 adds all scoped labels1635 with quick actions in the description1636 adds labels to the epic1637MergeRequestWidgetEntity1638 avoids N+1 queries1639 has vulnerability feedback paths1640 has can_read_vulnerability_feedback property1641 has pipeline id1642 test report artifacts1643 json_entry: :codeclimate, artifact_type: :codequality, exposures: []1644 when feature is available1645 with new report artifacts1646 has data entry1647 without artifacts1648 does not have data entry1649 json_entry: :browser_performance, artifact_type: :browser_performance, exposures: [:degradation_threshold, :head_path, :base_path]1650 when feature is available1651 with new report artifacts1652 has data entry1653 without artifacts1654 does not have data entry1655 json_entry: :browser_performance, artifact_type: :performance, exposures: [:degradation_threshold, :head_path, :base_path]1656 when feature is available1657 with new report artifacts1658 has data entry1659 without artifacts1660 does not have data entry1661 json_entry: :load_performance, artifact_type: :load_performance, exposures: [:head_path, :base_path]1662 when feature is available1663 with new report artifacts1664 has data entry1665 without artifacts1666 does not have data entry1667 degradation_threshold1668 with browser_performance artifact1669 when head pipeline's browser performance build has the threshold variable defined1670 returns the value of the variable1671 when head pipeline's browser performance build has no threshold variable defined1672 returns nil1673 with performance artifact1674 when head pipeline's browser performance build has the threshold variable defined1675 returns the value of the variable1676 when head pipeline's browser performance build has no threshold variable defined1677 returns nil1678 #license_scanning1679 is not included, if missing artifacts1680 when report artifact is defined1681 is included1682 #settings_path should not be included for developers1683 when feature is not licensed1684 is not included1685 when user is maintainer1686 #settings_path should be included for maintainers1687 #managed_licenses_path1688 is a path for target project1689 with fork1690 is a path for target project1691 #can_read_vulnerability_feedback1692 when user has permissions to read vulnerability feedback1693 is set to true1694 when user has no permissions to read vulnerability feedback1695 is set to false1696 blocking merge requests1697 feature disabled1698 does not have the blocking_merge_requests member1699 feature enabled1700 shows the blocking merge request if visible1701 hides the blocking merge request if not visible1702 does not count a merged and hidden blocking MR1703Ci::RunDastScanService1704 .ci_template1705 builds a hash1706 has only one stage1707 has has no rules1708 #execute1709 when a user does not have access to the project1710 returns an error status1711 populates message1712 when the user can run a dast scan1713 returns a success status1714 returns a pipeline1715 creates a pipeline1716 sets the pipeline ref to the branch1717 sets the source to indicate an ondemand scan1718 creates a stage1719 creates a build1720 sets the build name to indicate a DAST scan1721 creates a build with appropriate options1722 creates a build with appropriate variables1723 enqueues a build1724 when the pipeline fails to save1725 returns an error status1726 populates message1727 when on demand scan feature is disabled1728 returns an error status1729 populates message1730 when on demand scan licensed feature is not available1731 returns an error status1732 populates message1733ProductivityAnalytics1734 metrics data1735 #histogram_data1736 metric: "days_to_merge", expected_result: {3=>2, 14=>1, 30=>1}1737 calculates correctly1738 metric: "time_to_first_comment", expected_result: {0=>3, 24=>1}1739 calculates correctly1740 metric: "time_to_last_commit", expected_result: {312=>1, 696=>1, 48=>2}1741 calculates correctly1742 metric: "time_to_merge", expected_result: {24=>3, 0=>1}1743 calculates correctly1744 metric: "commits_count", expected_result: {1=>2, 5=>1, 20=>1}1745 calculates correctly1746 metric: "loc_per_commit", expected_result: {15=>1, 16=>1, 14=>1, 5=>1}1747 calculates correctly1748 metric: "files_touched", expected_result: {15=>1, 3=>2, 1=>1}1749 calculates correctly1750 metric: "something_invalid", expected_result: nil1751 calculates correctly1752 for multiple labeled mrs1753 returns aggregated data1754 #scatterplot_data1755 returns metric values for each MR1756 for multiple labeled mrs1757 properly returns MRs with metrics calculated1758 #merge_requests_extended1759 returns MRs data with all the metrics calculated1760 with custom sorting1761 reorders MRs according to custom sorting1762 with unknown sorting1763 sorts by id desc1764 for multiple labeled mrs1765 properly returns MRs with metrics calculated1766 .start_date1767 delegates to ApplicationSetting1768Analytics::CycleAnalytics::GroupLevel1769 #permissions1770 returns true for all stages1771 #stats1772 returns medians for each stage for a specific group1773 #summary1774 returns medians for each stage for a specific group1775 #time_summary1776 returns medians for lead time and cycle type1777GithubService1778 Associations1779 is expected to belong to project required:1780 Validations1781 when base_url is a localhost url1782 #valid?1783 is not valid1784 #owner1785 is determined from the repo URL1786 #repository_name1787 is determined from the repo URL1788 #api_url1789 uses github.com by default1790 with GitHub Enterprise repo URL1791 is set to the Enterprise API URL1792 #detailed_description1793 links to mirroring settings1794 #properties1795 does not overwrite existing integrations1796 when initialized without properties1797 static_context defaults to true1798 when initialized with static_context as false1799 static_context remains false1800 when initialized with static_context as false1801 static_context remains false1802 #execute1803 notifies GitHub of a status change1804 uses StatusMessage to build message1805 uses GitHub API to update status1806 the service is invalid1807 does not notify GitHub of a status change1808 passes StatusMessage values to StatusNotifier1809 sha1810 status1811 context1812 target_url1813 description1814 with custom api endpoint1815 hands custom api url to StatusNotifier1816 when an external pull request pipeline exists1817 does not send notification1818 sends notification if the sha is not present1819 when the pipeline is an external pull request pipeline1820 sends notification1821 without a license1822 does nothing1823 #can_test?1824 is false if there are no pipelines1825 is true if the project has a pipeline1826 #test1827 mentions creator in success message1828 forwards failure message on error1829 without a license1830 fails gracefully1831Epics::UpdateDatesService1832 #execute1833 fixed date is set1834 updates to fixed date1835 fixed date is not set1836 multiple milestones1837 complete start and due dates1838 updates to milestone dates1839 without due date1840 updates to milestone dates1841 without any dates1842 updates to milestone dates1843 without milestone1844 updates to milestone dates1845 single milestone1846 complete start and due dates1847 updates to milestone dates1848 without due date1849 updates to milestone dates1850 without any dates1851 updates to milestone dates1852 #when updating multiple epics1853 updates in bulk1854 query count check1855 does not increase query count when adding epics without milestones1856 does not increase query count when adding epics belongs to same milestones1857 when epic dates are inherited1858 when epic has no issues1859 epic dates are nil1860 when epic has issues assigned to milestones1861 returns inherited milestone dates1862 when epic has child epics1863 returns inherited dates from child epics and milestones1864 when epic dates are propagated upwards1865 propagates date changes to parent epics1866Issue1867 searches issues1868 searches by iid and scopes to type: issue only1869 returns json with all needed elements1870 when limited indexing is on1871 when the project is not enabled specifically1872 #searchable?1873 returns false1874 when a project is enabled specifically1875 #searchable?1876 returns true1877 when a group is enabled1878 #searchable?1879 returns true1880 field length limits1881 when there is an elasticsearch_indexed_field_length limit1882 truncates to the default plan limit1883 when the elasticsearch_indexed_field_length limit is 01884 does not truncate the fields1885 behaves like no results when the user cannot read cross project1886 returns the record if a single project was passed1887 does not return anything when trying to search cross project1888StartPullMirroringService1889 when pause_on_hard_failure is false1890 when retried more than 14 times1891 resets the import state retry_count1892 behaves like pull mirroring has started1893 behaves like force mirror update1894 enqueues UpdateAllMirrorsWorker1895 when project mirror has been updated in the last 5 minutes1896 schedules next execution1897 when project mirror has been updated more than 5 minutes ago1898 behaves like force mirror update1899 enqueues UpdateAllMirrorsWorker1900 when project mirror has been updated in the last 5 minutes but has never been successfully updated1901 behaves like force mirror update1902 enqueues UpdateAllMirrorsWorker1903 when mirror is due to be updated1904 behaves like pull mirroring has started1905 behaves like force mirror update1906 enqueues UpdateAllMirrorsWorker1907 when project mirror has been updated in the last 5 minutes1908 schedules next execution1909 when project mirror has been updated more than 5 minutes ago1910 behaves like force mirror update1911 enqueues UpdateAllMirrorsWorker1912 when project mirror has been updated in the last 5 minutes but has never been successfully updated1913 behaves like force mirror update1914 enqueues UpdateAllMirrorsWorker1915 when does not reach the max retry limit yet1916 behaves like pull mirroring has started1917 behaves like force mirror update1918 enqueues UpdateAllMirrorsWorker1919 when project mirror has been updated in the last 5 minutes1920 schedules next execution1921 when project mirror has been updated more than 5 minutes ago1922 behaves like force mirror update1923 enqueues UpdateAllMirrorsWorker1924 when project mirror has been updated in the last 5 minutes but has never been successfully updated1925 behaves like force mirror update1926 enqueues UpdateAllMirrorsWorker1927 behaves like retry count did not reset1928 does not reset import state retry_count1929 when mirror is due to be updated1930 behaves like pull mirroring has not started1931 does not start pull mirroring1932 when pause_on_hard_failure is true1933 when retried more than 14 times1934 behaves like retry count did not reset1935 does not reset import state retry_count1936 behaves like pull mirroring has not started1937 does not start pull mirroring1938 when does not reach the max retry limit yet1939 behaves like pull mirroring has started1940 behaves like force mirror update1941 enqueues UpdateAllMirrorsWorker1942 when project mirror has been updated in the last 5 minutes1943 schedules next execution1944 when project mirror has been updated more than 5 minutes ago1945 behaves like force mirror update1946 enqueues UpdateAllMirrorsWorker1947 when project mirror has been updated in the last 5 minutes but has never been successfully updated1948 behaves like force mirror update1949 enqueues UpdateAllMirrorsWorker1950 behaves like retry count did not reset1951 does not reset import state retry_count1952 when mirror is due to be updated1953 behaves like pull mirroring has not started1954 does not start pull mirroring1955Gitlab::Audit::Events::Preloader1956 .preload!1957 returns an ActiveRecord::Relation1958 preloads associated records1959Types::VulnerabilityLocation::DependencyScanningType1960 is expected to have graphql fields :dependency and :file1961Knapsack report was generated. Preview:1962{1963 "ee/spec/services/search/global_service_spec.rb": 257.22861981391907,1964 "ee/spec/services/ee/merge_requests/refresh_service_spec.rb": 85.18544244766235,1965 "ee/spec/lib/gitlab/ci/templates/dependency_scanning_gitlab_ci_yaml_spec.rb": 61.46160650253296,1966 "ee/spec/services/projects/create_from_template_service_spec.rb": 45.30336380004883,1967 "ee/spec/services/epic_links/create_service_spec.rb": 30.724669218063354,1968 "ee/spec/finders/merge_requests/by_approvers_finder_spec.rb": 29.66958785057068,1969 "ee/spec/lib/gitlab/analytics/cycle_analytics/summary/group/stage_summary_spec.rb": 20.18067741394043,1970 "ee/spec/models/ci/build_spec.rb": 15.18816590309143,1971 "ee/spec/models/ee/protected_branch_spec.rb": 14.63595724105835,1972 "ee/spec/finders/security/pipeline_vulnerabilities_finder_spec.rb": 10.941903114318848,1973 "ee/spec/lib/gitlab/elastic/indexer_spec.rb": 14.318929672241211,1974 "ee/spec/services/epics/update_service_spec.rb": 13.577711820602417,1975 "ee/spec/serializers/merge_request_widget_entity_spec.rb": 15.320286273956299,1976 "ee/spec/services/ci/run_dast_scan_service_spec.rb": 9.862709760665894,1977 "ee/spec/models/productivity_analytics_spec.rb": 9.741788387298584,1978 "ee/spec/models/analytics/cycle_analytics/group_level_spec.rb": 5.974640846252441,1979 "ee/spec/models/project_services/github_service_spec.rb": 7.819803953170776,1980 "ee/spec/services/epics/update_dates_service_spec.rb": 9.343238353729248,1981 "ee/spec/models/concerns/elastic/issue_spec.rb": 5.848159551620483,1982 "ee/spec/services/start_pull_mirroring_service_spec.rb": 7.472895383834839,1983 "ee/spec/lib/gitlab/audit/events/preloader_spec.rb": 0.06613373756408691,1984 "ee/spec/graphql/types/vulnerability_location/dependency_scanning_type_spec.rb": 0.0030462741851806641985}1986Knapsack global time execution for tests: 11m 09s1987Finished in 13 minutes 2 seconds (files took 53.17 seconds to load)1988853 examples, 0 failures1989Tue Aug 25 15:47:39 UTC 20201991Not uploading cache rails-v2-3 due to policy1993Uploading artifacts...1994coverage/: found 5 matching files and directories 1995knapsack/: found 3 matching files and directories 1996rspec_flaky/: found 4 matching files and directories 1997rspec_profiling/: found 2 matching files and directories 1998WARNING: tmp/capybara/: no matching files 1999tmp/memory_test/: found 2 matching files and directories 2000log/*.log: found 12 matching files and directories 2001Uploading artifacts as "archive" to coordinator... ok id=702959735 responseStatus=201 Created token=9NXoySp12002Uploading artifacts...2003junit_rspec.xml: found 1 matching files and directories 2004Uploading artifacts as "junit" to coordinator... ok id=702959735 responseStatus=201 Created token=9NXoySp12005Job succeeded