Remove old index after executing a query in stages migration

This makes it possible to heavily optimize this migration, because we
need an outdated index to remove redundant stages faster.
89 jobs for fix/gb/fix-redundant-pipeline-stages in 26 minutes and 4 seconds (queued for 7 seconds)
Status Job ID Name Coverage
  Build
manual #51429283
gitlab-org allowed to fail manual
package-qa
manual #51429284
gitlab-org allowed to fail manual
review-docs-deploy
 
  Prepare
passed #51429286
gitlab-org
compile-assets

00:08:24

passed #51429285
gitlab-org
retrieve-tests-metadata

00:03:08

passed #51429287
gitlab-org
setup-test-env

00:04:10

 
  Test
passed #51429371
codequality

00:16:58

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

00:04:27

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

00:06:53

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

00:04:47

passed #51429366
gitlab-org
db:rollback-mysql

00:02:24

passed #51429365
gitlab-org
db:rollback-pg

00:02:29

passed #51429355
gitlab-org
docs lint

00:00:42

passed #51429356
gitlab-org
downtime_check

00:03:52

failed #51429358
gitlab-org
ee_compat_check

00:04:52

passed #51429369
gitlab-org
gitlab:assets:compile

00:10:41

passed #51429368
gitlab-org
gitlab:setup-mysql

00:05:23

passed #51429367
gitlab-org
gitlab:setup-pg

00:08:58

passed #51429379
gitlab-org
gitlab_git_test

00:01:20

passed #51429370
gitlab-org
karma

00:09:54

53.65%
passed #51429363
gitlab-org
migration:path-mysql

00:15:16

passed #51429362
gitlab-org
migration:path-pg

00:15:20

passed #51429374
gitlab-org
qa:internal

00:12:33

passed #51429377
gitlab-org
qa:selectors

00:06:56

passed #51429317
gitlab-org
rspec-mysql 0 27

00:13:59

passed #51429318
gitlab-org
rspec-mysql 1 27

00:07:50

passed #51429329
gitlab-org
rspec-mysql 10 27

00:16:14

passed #51429330
gitlab-org
rspec-mysql 11 27

00:16:09

passed #51429331
gitlab-org
rspec-mysql 12 27

00:15:16

passed #51429332
gitlab-org
rspec-mysql 13 27

00:13:23

passed #51429333
gitlab-org
rspec-mysql 14 27

00:10:20

passed #51429334
gitlab-org
rspec-mysql 15 27

00:17:03

passed #51429335
gitlab-org
rspec-mysql 16 27

00:14:46

passed #51429336
gitlab-org
rspec-mysql 17 27

00:13:28

passed #51429338
gitlab-org
rspec-mysql 18 27

00:14:36

passed #51429339
gitlab-org
rspec-mysql 19 27

00:08:11

passed #51429319
gitlab-org
rspec-mysql 2 27

00:13:02

passed #51429340
gitlab-org
rspec-mysql 20 27

00:15:04

passed #51429341
gitlab-org
rspec-mysql 21 27

00:12:56

passed #51429342
gitlab-org
rspec-mysql 22 27

00:14:27

passed #51429343
gitlab-org
rspec-mysql 23 27

00:15:12

passed #51429344
gitlab-org
rspec-mysql 24 27

00:14:30

passed #51429345
gitlab-org
rspec-mysql 25 27

00:14:33

passed #51429347
gitlab-org
rspec-mysql 26 27

00:13:20

passed #51429321
gitlab-org
rspec-mysql 3 27

00:11:36

passed #51429322
gitlab-org
rspec-mysql 4 27

00:08:08

passed #51429323
gitlab-org
rspec-mysql 5 27

00:14:21

passed #51429324
gitlab-org
rspec-mysql 6 27

00:09:38

passed #51429325
gitlab-org
rspec-mysql 7 27

00:13:32

passed #51429326
gitlab-org
rspec-mysql 8 27

00:09:23

passed #51429328
gitlab-org
rspec-mysql 9 27

00:16:38

passed #51429288
gitlab-org
rspec-pg 0 27

00:12:39

passed #51429289
gitlab-org
rspec-pg 1 27

00:10:35

passed #51429300
gitlab-org
rspec-pg 10 27

00:09:36

passed #51429301
gitlab-org
rspec-pg 11 27

00:11:07

passed #51429302
gitlab-org
rspec-pg 12 27

00:13:31

passed #51429303
gitlab-org
rspec-pg 13 27

00:09:48

passed #51429304
gitlab-org
rspec-pg 14 27

00:09:30

passed #51429305
gitlab-org
rspec-pg 15 27

00:13:46

passed #51429306
gitlab-org
rspec-pg 16 27

00:12:59

passed #51429307
gitlab-org
rspec-pg 17 27

00:09:49

passed #51429308
gitlab-org
rspec-pg 18 27

00:11:43

passed #51429309
gitlab-org
rspec-pg 19 27

00:15:19

passed #51429290
gitlab-org
rspec-pg 2 27

00:09:18

passed #51429310
gitlab-org
rspec-pg 20 27

00:14:46

passed #51429311
gitlab-org
rspec-pg 21 27

00:10:22

passed #51429312
gitlab-org
rspec-pg 22 27

00:12:02

passed #51429313
gitlab-org
rspec-pg 23 27

00:10:07

passed #51429314
gitlab-org
rspec-pg 24 27

00:09:34

passed #51429315
gitlab-org
rspec-pg 25 27

00:12:49

passed #51429316
gitlab-org
rspec-pg 26 27

00:17:26

passed #51429291
gitlab-org
rspec-pg 3 27

00:11:12

passed #51429292
gitlab-org
rspec-pg 4 27

00:09:49

passed #51429293
gitlab-org
rspec-pg 5 27

00:14:16

passed #51429294
gitlab-org
rspec-pg 6 27

00:12:18

passed #51429295
gitlab-org
rspec-pg 7 27

00:13:40

passed #51429298
gitlab-org
rspec-pg 8 27

00:13:04

passed #51429299
gitlab-org
rspec-pg 9 27

00:11:46

passed #51429372
sast

00:03:44

passed #51429351
gitlab-org
spinach-mysql 0 3

00:12:12

passed #51429352
gitlab-org
spinach-mysql 1 3

00:09:15

passed #51429353
gitlab-org
spinach-mysql 2 3

00:12:03

passed #51429348
gitlab-org
spinach-pg 0 3

00:11:43

passed #51429349
gitlab-org
spinach-pg 1 3

00:10:49

passed #51429350
gitlab-org
spinach-pg 2 3

00:09:25

passed #51429354
gitlab-org
static-analysis

00:07:42

 
  Post Test
skipped #51429383
gitlab-org
coverage
skipped #51429382
gitlab-org allowed to fail
flaky-examples-check
skipped #51429384
gitlab-org
lint:javascript:report
 
  Post Cleanup
skipped #51429385
gitlab-org allowed to fail manual
review-docs-cleanup
 
Name Stage Failure
failed
ee_compat_check Test
      ==================== THANKS FOR READING ====================
============================================================



Uploading artifacts...
ee_compat_check/patches/*.patch: found 1 matching files
Uploading artifacts to coordinator... ok
id=51429358 responseStatus=201 Created token=SqiMJouE
ERROR: Job failed: exit code 1