Merge branch 'feature/gb/speed-up-gitlab-qa-docker-image-builds' into 'master'

Speed up GitLab QA docker image builds

Closes gitlab-qa#33

See merge request !10000
57 jobs for master in 133 minutes and 7 seconds (queued for 1 minute and 23 seconds)
Status Job ID Name Coverage
  Prepare
passed #12395031
gitlab-org
knapsack

00:03:35

passed #12395033
gitlab-org
setup-test-env

00:21:32

 
  Test
passed #12395123
gitlab-org
bundler:audit

00:09:02

passed #12395122
gitlab-org
bundler:check

00:08:31

passed #12395141
gitlab-org
cache gems

00:09:48

passed #12395102
gitlab-org
license_finder

00:12:11

passed #12395120
gitlab-org
lint-doc

00:04:49

passed #12395131
gitlab-org
lint:javascript

00:01:18

failed #12395128
gitlab-org
migration paths

00:12:56

passed #12395100
gitlab-org
rake brakeman

00:10:09

passed #12395096
gitlab-org
rake config_lint

00:01:41

passed #12395109
gitlab-org
rake db:migrate:reset

00:10:23

passed #12395111
gitlab-org
rake db:rollback

00:11:21

failed #12395112
gitlab-org
rake db:seed_fu

00:07:04

passed #12395106
gitlab-org
rake downtime_check

00:09:51

passed #12395101
gitlab-org
rake flay

00:08:59

passed #12395116
gitlab-org
rake gitlab:assets:compile

00:17:48

passed #12395089
gitlab-org
rake haml_lint

00:02:03

passed #12395119
gitlab-org
rake karma

00:21:05

passed #12395092
gitlab-org
rake scss_lint

00:09:03

passed #12395039
gitlab-org
rspec 0 20

00:43:38

passed #12395040
gitlab-org
rspec 1 20

00:30:50

passed #12395058
gitlab-org
rspec 10 20

00:39:20

passed #12395060
gitlab-org
rspec 11 20

00:41:16

passed #12395062
gitlab-org
rspec 12 20

00:27:53

passed #12395063
gitlab-org
rspec 13 20

00:28:23

failed #12395064
gitlab-org
rspec 14 20

00:25:56

passed #12395065
gitlab-org
rspec 15 20

01:01:45

passed #12395066
gitlab-org
rspec 16 20

00:24:40

passed #12395068
gitlab-org
rspec 17 20

00:23:17

passed #12395070
gitlab-org
rspec 18 20

00:34:01

passed #12395071
gitlab-org
rspec 19 20

01:10:28

failed #12395041
gitlab-org
rspec 2 20

01:46:50

passed #12395042
gitlab-org
rspec 3 20

00:55:48

passed #12395043
gitlab-org
rspec 4 20

00:51:40

passed #12395046
gitlab-org
rspec 5 20

01:09:24

passed #12395048
gitlab-org
rspec 6 20

00:45:29

passed #12395049
gitlab-org
rspec 7 20

00:36:41

passed #12395050
gitlab-org
rspec 8 20

00:37:45

failed #12395051
gitlab-org
rspec 9 20

00:21:49

passed #12395088
gitlab-org
rubocop

00:12:02

passed #12395072
gitlab-org
spinach 0 10

00:14:14

passed #12395075
gitlab-org
spinach 1 10

00:18:26

passed #12395076
gitlab-org
spinach 2 10

00:09:52

passed #12395077
gitlab-org
spinach 3 10

00:08:55

passed #12395078
gitlab-org
spinach 4 10

00:15:41

passed #12395080
gitlab-org
spinach 5 10

00:32:04

passed #12395081
gitlab-org
spinach 6 10

00:11:47

passed #12395082
gitlab-org
spinach 7 10

00:15:20

passed #12395084
gitlab-org
spinach 8 10

00:13:28

passed #12395085
gitlab-org
spinach 9 10

00:18:11

 
  Post Test
skipped #12395147
gitlab-org
coverage
skipped #12395148
gitlab-org
lint:javascript:report
passed #12395150
gitlab-org
notify:slack

00:04:41

skipped #12395149
gitlab-org
trigger_docs
skipped #12395145
gitlab-org
update-knapsack
 
  Pages
skipped #12395152
gitlab-org
pages
 
Name Stage Failure
failed
rspec 2 20 Test There is an unknown failure, please try again
          emails the participant
it should behave like participating by author notification
emails the participant
it should behave like participating by assignee notification
emails the participant
#merged_merge_request
should be falsey
notifies the merger when the pipeline succeeds is true
ERROR: Job failed: execution took longer than 5400 seconds
failed
rspec 9 20 Test There is an unknown failure, please try again

rspec ./spec/requests/api/commits_spec.rb:243 # API::Commits Create a commit with multiple files and actions create with project path in URL a new file in project repo

Uploading artifacts...
coverage/: found 5 matching files

knapsack/: found 4 matching files

WARNING: tmp/capybara/: no matching files
Uploading artifacts to coordinator... ok
id=12395051 responseStatus=201 Created token=5XyLVMix
ERROR: Job failed: exit code 1
failed
rake db:seed_fu Test There is an unknown failure, please try again
$ [ "$SETUP_DB" != "true" ] || bundle exec rake db:drop db:create db:schema:load db:migrate add_limits_mysql
$ git clone https://gitlab.com/gitlab-org/gitlab-test.git /home/git/repositories/gitlab-org/gitlab-test.git
Cloning into '/home/git/repositories/gitlab-org/gitlab-test.git'...
error: RPC failed; HTTP 502 curl 22 The requested URL returned error: 502 Bad Gateway
fatal: The remote end hung up unexpectedly
Uploading artifacts...
WARNING: log/development.log: no matching files
Uploading artifacts to coordinator... ok
id=12395112 responseStatus=201 Created token=nVTiLzDp
ERROR: Job failed: exit code 1
failed
migration paths Test There is an unknown failure, please try again
/builds/gitlab-org/gitlab-ce/vendor/ruby/2.3.0/gems/activerecord-4.2.5.2/lib/active_record/migration.rb:823:in `up'
/builds/gitlab-org/gitlab-ce/vendor/ruby/2.3.0/gems/activerecord-4.2.5.2/lib/active_record/migration.rb:801:in `migrate'
/builds/gitlab-org/gitlab-ce/vendor/ruby/2.3.0/gems/activerecord-4.2.5.2/lib/active_record/tasks/database_tasks.rb:137:in `migrate'
/builds/gitlab-org/gitlab-ce/vendor/ruby/2.3.0/gems/activerecord-4.2.5.2/lib/active_record/railties/databases.rake:44:in `block (2 levels) in <top (required)>'
/usr/local/bin/bundle:22:in `load'
/usr/local/bin/bundle:22:in `<main>'
Tasks: TOP => db:migrate
(See full trace by running task with --trace)
ERROR: Build failed: exit code 1
failed
rspec 14 20 Test There is an unknown failure, please try again

rspec ./spec/requests/api/v3/commits_spec.rb:153 # API::V3::Commits Create a commit with multiple files and actions create with project path in URL a new file in project repo

Uploading artifacts...
coverage/: found 5 matching files

knapsack/: found 4 matching files

WARNING: tmp/capybara/: no matching files
Uploading artifacts to coordinator... ok
id=12395064 responseStatus=201 Created token=LUxtPniH
ERROR: Build failed: exit code 1