Fix Container Scanning for Kubernetes Runners

closes gitlab-ee#6636
closes gitlab-ee#5763
150 jobs for fix-container-scanning-on-k8s in 77 minutes and 46 seconds (queued for 5 seconds)
Status Job ID Name Coverage
  Build
manual #187515451
gitlab-org allowed to fail manual
review-docs-deploy-manual
 
  Prepare
passed #187515455
gitlab-org docker
build-qa-image

00:05:09

passed #187515453
gitlab-org
compile-assets

00:07:00

passed #187515452
gitlab-org
retrieve-tests-metadata

00:02:00

passed #187515454
gitlab-org
setup-test-env

00:04:43

 
  Test
passed #187515456
allowed to fail
code_quality

00:12:54

passed #187515458
danger-review

00:02:52

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

00:02:12

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

00:03:57

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

00:02:51

passed #187515576
gitlab-org
db:rollback-mysql

00:04:08

passed #187515575
gitlab-org
db:rollback-pg

00:04:41

failed #187518019
allowed to fail
dependency_scanning

00:02:40

passed #187515567
gitlab-org
docs lint

00:01:52

passed #187515568
gitlab-org
downtime_check

00:01:55

passed #187515569
gitlab-org
ee_compat_check

00:03:12

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

00:16:57

passed #187518211
gitlab-org
gitlab:setup-mysql

00:08:53

passed #187515577
gitlab-org
gitlab:setup-pg

00:04:15

passed #187515590
gitlab-org
gitlab_git_test

00:00:33

passed #187515581
gitlab-org
jest

00:12:27

passed #187515580
gitlab-org
karma

00:10:28

58.13%
passed #187515574
gitlab-org
migration:path-mysql

00:15:14

passed #187515573
gitlab-org
migration:path-pg

00:11:37

passed #187515591
gitlab-org
no_ee_check

00:00:23

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

00:11:28

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

00:13:08

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

00:12:33

passed #187515584
gitlab-org
qa:internal

00:02:56

passed #187515585
gitlab-org
qa:selectors

00:03:05

passed #187515592
review-build-cng

00:33:59

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

00:35:40

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

00:38:32

manual #187515595
gitlab-org docker allowed to fail manual
review-qa-all
passed #187515594
gitlab-org docker allowed to fail
review-qa-smoke

00:39:00

manual #187515598
gitlab-org allowed to fail manual
review-stop
passed #187515509
gitlab-org
rspec-mysql 1/50

00:19:51

passed #187515518
gitlab-org
rspec-mysql 10/50

00:17:23

passed #187528853
gitlab-org
rspec-mysql 11/50

00:17:53

passed #187515520
gitlab-org
rspec-mysql 12/50

00:25:01

passed #187515521
gitlab-org
rspec-mysql 13/50

00:14:23

passed #187515522
gitlab-org
rspec-mysql 14/50

00:14:44

passed #187515523
gitlab-org
rspec-mysql 15/50

00:19:48

passed #187515524
gitlab-org
rspec-mysql 16/50

00:16:51

passed #187515525
gitlab-org
rspec-mysql 17/50

00:18:27

passed #187515527
gitlab-org
rspec-mysql 18/50

00:20:46

passed #187515529
gitlab-org
rspec-mysql 19/50

00:20:16

passed #187515510
gitlab-org
rspec-mysql 2/50

00:23:20

passed #187515530
gitlab-org
rspec-mysql 20/50

00:18:10

passed #187515531
gitlab-org
rspec-mysql 21/50

00:17:59

passed #187515532
gitlab-org
rspec-mysql 22/50

00:17:21

passed #187515534
gitlab-org
rspec-mysql 23/50

00:25:25

passed #187515535
gitlab-org
rspec-mysql 24/50

00:22:02

passed #187515537
gitlab-org
rspec-mysql 25/50

00:17:06

passed #187515538
gitlab-org
rspec-mysql 26/50

00:20:03

passed #187515539
gitlab-org
rspec-mysql 27/50

00:22:59

passed #187515540
gitlab-org
rspec-mysql 28/50

00:22:09

passed #187515541
gitlab-org
rspec-mysql 29/50

00:21:25

passed #187515511
gitlab-org
rspec-mysql 3/50

00:14:52

passed #187515542
gitlab-org
rspec-mysql 30/50

00:19:30

passed #187515543
gitlab-org
rspec-mysql 31/50

00:22:08

passed #187515544
gitlab-org
rspec-mysql 32/50

00:18:39

passed #187515545
gitlab-org
rspec-mysql 33/50

00:19:57

passed #187515546
gitlab-org
rspec-mysql 34/50

00:16:22

passed #187515547
gitlab-org
rspec-mysql 35/50

00:21:32

passed #187515548
gitlab-org
rspec-mysql 36/50

00:16:58

passed #187515549
gitlab-org
rspec-mysql 37/50

00:19:52

passed #187515550
gitlab-org
rspec-mysql 38/50

00:18:48

passed #187515552
gitlab-org
rspec-mysql 39/50

00:19:47

passed #187515512
gitlab-org
rspec-mysql 4/50

00:15:00

passed #187515553
gitlab-org
rspec-mysql 40/50

00:17:21

passed #187515554
gitlab-org
rspec-mysql 41/50

00:17:14

passed #187515555
gitlab-org
rspec-mysql 42/50

00:19:01

passed #187515556
gitlab-org
rspec-mysql 43/50

00:23:34

passed #187515557
gitlab-org
rspec-mysql 44/50

00:18:40

passed #187515558
gitlab-org
rspec-mysql 45/50

00:17:28

passed #187515559
gitlab-org
rspec-mysql 46/50

00:19:57

passed #187515560
gitlab-org
rspec-mysql 47/50

00:17:24

passed #187515561
gitlab-org
rspec-mysql 48/50

00:18:03

passed #187515562
gitlab-org
rspec-mysql 49/50

00:18:15

passed #187515513
gitlab-org
rspec-mysql 5/50

00:15:47

passed #187515563
gitlab-org
rspec-mysql 50/50

00:19:26

passed #187515514
gitlab-org
rspec-mysql 6/50

00:18:29

passed #187515515
gitlab-org
rspec-mysql 7/50

00:21:37

passed #187515516
gitlab-org
rspec-mysql 8/50

00:24:38

passed #187515517
gitlab-org
rspec-mysql 9/50

00:15:46

passed #187515565
gitlab-org allowed to fail
rspec-mysql-quarantine

00:08:33

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

00:22:06

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

00:13:06

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

00:21:06

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

00:23:21

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

00:14:10

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

00:16:26

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

00:14:49

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

00:16:38

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

00:18:52

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

00:17:16

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

00:18:11

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

00:19:25

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

00:15:55

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

00:16:03

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

00:15:42

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

00:19:21

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

00:17:58

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

00:17:35

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

00:17:16

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

00:19:10

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

00:20:14

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

00:16:56

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

00:13:42

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

00:15:08

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

00:17:29

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

00:18:28

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

00:15:46

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

00:16:32

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

00:24:31

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

00:17:04

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

00:18:16

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

00:17:25

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

00:18:07

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

00:13:57

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

00:17:48

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

00:17:57

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

00:16:06

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

00:21:54

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

00:20:08

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

00:15:13

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

00:17:41

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

00:17:52

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

00:16:40

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

00:18:42

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

00:17:04

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

00:17:21

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

00:15:46

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

00:18:07

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

00:18:41

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

00:19:10

passed #187515564
gitlab-org allowed to fail
rspec-pg-quarantine

00:11:58

failed #187522192
allowed to fail
sast

00:24:22

passed #187515566
gitlab-org
static-analysis

00:11:11

failed #187515583
allowed to fail
dependency_scanning

00:02:57

failed #187515578
gitlab-org
gitlab:setup-mysql

00:04:18

failed #187515519
gitlab-org
rspec-mysql 11/50

01:00:00

failed #187515582
allowed to fail
sast

00:24:45

 
  Post Test
passed #187515600
gitlab-org
coverage

00:03:24

95.22%
passed #187515599
gitlab-org allowed to fail
flaky-examples-check

00:01:50

passed #187515602
gitlab-org
jsdoc

00:01:20

passed #187515601
gitlab-org
lint:javascript:report

00:00:48

 
  Post Cleanup
manual #187515603
gitlab-org allowed to fail manual
review-docs-cleanup
 
Name Stage Failure
failed
dependency_scanning Test
2019/03/31 13:14:17 exit status 1
2019/03/31 13:14:17 Container exited with non zero status code
Running after script...
$ date
Sun Mar 31 13:14:18 UTC 2019
Uploading artifacts...
WARNING: gl-dependency-scanning-report.json: no matching files
ERROR: No files to upload
ERROR: Job failed: exit code 1
failed
sast Test
2019/03/31 13:55:04 Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
2019/03/31 13:55:04 Timeout when running the analyzer
Running after script...
$ date
Sun Mar 31 13:55:05 UTC 2019
Uploading artifacts...
WARNING: gl-sast-report.json: no matching files
ERROR: No files to upload
ERROR: Job failed: exit code 1