Refactor operations controller spec

- Move specs into a shared_context so that they can be reused.
- Move common specs out of a more specific context.
98 jobs for <span class="ref-name">57171-operations-controller-spec-refactor</span> in 82 minutes and 41 seconds (queued for 5 seconds)
Status Job ID Name Coverage
  Build
manual #200409266
gitlab-org allowed to fail manual
review-docs-deploy-manual
 
  Prepare
passed #200412964
gitlab-org docker
build-qa-image

00:04:54

passed #200409267
gitlab-org
compile-assets

00:07:08

passed #200409277
gitlab-org
retrieve-tests-metadata

00:00:30

passed #200409268
gitlab-org
setup-test-env

00:06:13

failed #200409270
docker gitlab-org
build-qa-image

00:05:34

 
  Test
passed #200409292
allowed to fail
code_quality

00:13:26

passed #200409374
gitlab-org
danger-review

00:02:57

passed #200409358
gitlab-org
db:check-schema-pg

00:02:45

passed #200409357
gitlab-org
db:migrate:reset-mysql

00:04:49

passed #200409356
gitlab-org
db:migrate:reset-pg

00:03:31

passed #200409362
gitlab-org
db:rollback-mysql

00:06:51

passed #200409361
gitlab-org
db:rollback-pg

00:03:24

passed #200409294
allowed to fail
dependency_scanning

00:30:48

passed #200409281
gitlab-org
docs lint

00:02:42

passed #200409354
gitlab-org
downtime_check

00:02:42

passed #200409355
gitlab-org
ee_compat_check

00:03:28

passed #200409282
gitlab-org docker
gitlab:assets:compile

00:18:35

passed #200409364
gitlab-org
gitlab:setup-mysql

00:07:44

passed #200409363
gitlab-org
gitlab:setup-pg

00:07:35

failed #200409283
gitlab-org allowed to fail
gitlab:ui:visual

00:08:38

passed #200409375
gitlab-org
gitlab_git_test

00:00:36

passed #200409285
gitlab-org
jest

00:14:36

passed #200409284
gitlab-org
karma

00:13:34

57.56%
passed #200409360
gitlab-org
migration:path-mysql

00:15:17

passed #200409359
gitlab-org
migration:path-pg

00:12:39

passed #200409376
gitlab-org
no_ee_check

00:00:28

manual #200409291
allowed to fail manual
package-and-qa
passed #200409289
gitlab-org
qa-frontend-node:10

00:12:15

passed #200409288
gitlab-org
qa-frontend-node:8

00:11:38

passed #200409290
gitlab-org allowed to fail
qa-frontend-node:latest

00:11:19

passed #200409286
gitlab-org
qa:internal

00:05:56

passed #200409287
gitlab-org
qa:selectors

00:05:52

passed #200409365
review-build-cng

00:35:51

passed #200409366
gitlab-org allowed to fail
review-deploy

00:41:09

passed #200409369
docker gitlab-org allowed to fail
review-performance

00:43:21

manual #200409368
docker gitlab-org allowed to fail manual
review-qa-all
passed #200409367
docker gitlab-org allowed to fail
review-qa-smoke

00:43:45

manual #200409373
gitlab-org allowed to fail manual
review-stop
passed #200409352
gitlab-org
rspec-fast-spec-helper

00:05:53

passed #200409295
gitlab-org
rspec-pg 1/50

00:22:37

passed #200409305
gitlab-org
rspec-pg 10/50

00:18:14

passed #200409306
gitlab-org
rspec-pg 11/50

00:17:43

passed #200409307
gitlab-org
rspec-pg 12/50

00:19:55

passed #200409308
gitlab-org
rspec-pg 13/50

00:19:57

passed #200409309
gitlab-org
rspec-pg 14/50

00:21:54

passed #200409310
gitlab-org
rspec-pg 15/50

00:18:29

passed #200409311
gitlab-org
rspec-pg 16/50

00:18:52

passed #200409312
gitlab-org
rspec-pg 17/50

00:15:05

passed #200409313
gitlab-org
rspec-pg 18/50

00:19:36

passed #200409314
gitlab-org
rspec-pg 19/50

00:16:31

passed #200409296
gitlab-org
rspec-pg 2/50

00:22:17

passed #200409315
gitlab-org
rspec-pg 20/50

00:17:35

passed #200409316
gitlab-org
rspec-pg 21/50

00:16:39

passed #200409317
gitlab-org
rspec-pg 22/50

00:19:36

passed #200409318
gitlab-org
rspec-pg 23/50

00:22:50

passed #200409319
gitlab-org
rspec-pg 24/50

00:19:10

passed #200409320
gitlab-org
rspec-pg 25/50

00:18:54

passed #200409322
gitlab-org
rspec-pg 26/50

00:19:57

passed #200409325
gitlab-org
rspec-pg 27/50

00:21:30

passed #200409326
gitlab-org
rspec-pg 28/50

00:17:58

passed #200409327
gitlab-org
rspec-pg 29/50

00:20:30

passed #200409297
gitlab-org
rspec-pg 3/50

00:18:26

passed #200409328
gitlab-org
rspec-pg 30/50

00:18:13

passed #200409329
gitlab-org
rspec-pg 31/50

00:19:18

passed #200409330
gitlab-org
rspec-pg 32/50

00:20:34

passed #200409331
gitlab-org
rspec-pg 33/50

00:22:30

passed #200409332
gitlab-org
rspec-pg 34/50

00:17:02

passed #200570417
gitlab-org
rspec-pg 35/50

00:20:36

passed #200409334
gitlab-org
rspec-pg 36/50

00:20:22

passed #200409335
gitlab-org
rspec-pg 37/50

00:16:00

passed #200409336
gitlab-org
rspec-pg 38/50

00:20:38

passed #200409337
gitlab-org
rspec-pg 39/50

00:20:09

passed #200409298
gitlab-org
rspec-pg 4/50

00:20:24

passed #200409338
gitlab-org
rspec-pg 40/50

00:19:45

passed #200409339
gitlab-org
rspec-pg 41/50

00:16:51

passed #200409340
gitlab-org
rspec-pg 42/50

00:19:44

passed #200409341
gitlab-org
rspec-pg 43/50

00:16:50

passed #200409342
gitlab-org
rspec-pg 44/50

00:17:38

passed #200409343
gitlab-org
rspec-pg 45/50

00:14:39

passed #200409344
gitlab-org
rspec-pg 46/50

00:20:44

passed #200409345
gitlab-org
rspec-pg 47/50

00:16:38

passed #200409349
gitlab-org
rspec-pg 48/50

00:18:28

passed #200409350
gitlab-org
rspec-pg 49/50

00:16:18

passed #200409300
gitlab-org
rspec-pg 5/50

00:24:44

passed #200409351
gitlab-org
rspec-pg 50/50

00:16:12

passed #200409301
gitlab-org
rspec-pg 6/50

00:20:05

passed #200409302
gitlab-org
rspec-pg 7/50

00:27:37

passed #200409303
gitlab-org
rspec-pg 8/50

00:18:30

passed #200409304
gitlab-org
rspec-pg 9/50

00:18:24

failed #200409293
allowed to fail
sast

00:36:15

passed #200409353
gitlab-org
static-analysis

00:15:21

failed #200409333
gitlab-org
rspec-pg 35/50

00:14:00

 
  Post Test
passed #200409379
gitlab-org
coverage

00:06:05

95.08%
passed #200409380
gitlab-org allowed to fail
flaky-examples-check

00:01:54

passed #200409378
gitlab-org
jsdoc

00:02:20

passed #200409377
gitlab-org
lint:javascript:report

00:02:37

 
  Post Cleanup
manual #200409381
gitlab-org allowed to fail manual
review-docs-cleanup
 
Name Stage Failure
failed
sast Test
2019/04/22 19:23:03 Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
2019/04/22 19:23:03 Timeout when running the analyzer
Running after script...
$ date
Mon Apr 22 19:23:12 UTC 2019
Uploading artifacts...
WARNING: gl-sast-report.json: no matching files
ERROR: No files to upload
ERROR: Job failed: exit code 1
failed
gitlab:ui:visual Test
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Running after script...
$ date
Mon Apr 22 18:55:35 UTC 2019
Uploading artifacts...
WARNING: tests/__image_snapshots__/: no matching files
ERROR: No files to upload
ERROR: Job failed: exit code 1