1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
|
[0KRunning with gitlab-runner 10.6.0 (a3543a27)
[0;m[0K on docker-auto-scale-com 30d62d59
[0;m[0KUsing Docker executor with image dev.gitlab.org:5005/gitlab/gitlab-build-images:ruby-2.3.6-golang-1.9-git-2.16-chrome-63.0-node-8.x-yarn-1.2-postgresql-9.6 ...
[0;m[0KStarting service mysql:latest ...
[0;m[0KPulling docker image mysql:latest ...
[0;m[0KUsing docker image sha256:5195076672a7e30525705a18f7d352c920bbd07a5ae72b30e374081fe660a011 for mysql:latest ...
[0;m[0KStarting service redis:alpine ...
[0;m[0KPulling docker image redis:alpine ...
[0;m[0KUsing docker image sha256:98bd7cfc43b8ef0ff130465e3d5427c0771002c2f35a6a9b62cb2d04602bed0a for redis:alpine ...
[0;m[0KWaiting for services to be up and running...
[0;m[0KPulling docker image dev.gitlab.org:5005/gitlab/gitlab-build-images:ruby-2.3.6-golang-1.9-git-2.16-chrome-63.0-node-8.x-yarn-1.2-postgresql-9.6 ...
[0;m[0KUsing docker image sha256:1b06077bb03d9d42d801b53f45701bb6a7e862ca02e1e75f30ca7fcf1270eb02 for dev.gitlab.org:5005/gitlab/gitlab-build-images:ruby-2.3.6-golang-1.9-git-2.16-chrome-63.0-node-8.x-yarn-1.2-postgresql-9.6 ...
[0;msection_start:1522927103:prepare_script
[0KRunning on runner-30d62d59-project-13083-concurrent-0 via runner-30d62d59-prm-1522922015-ddc29478...
section_end:1522927104:prepare_script
[0Ksection_start:1522927104:get_sources
[0K[32;1mFetching changes for master with git depth set to 20...[0;m
Removing .gitlab_shell_secret
Removing .gitlab_workhorse_secret
Removing .yarn-cache/
Removing builds/2018_04/
Removing config/database.yml
Removing config/gitlab.yml
Removing config/redis.cache.yml
Removing config/redis.queues.yml
Removing config/redis.shared_state.yml
Removing config/resque.yml
Removing config/secrets.yml
Removing log/api_json.log
Removing log/application.log
Removing log/gitaly-test.log
Removing log/grpc.log
Removing log/test_json.log
Removing tmp/tests/
Removing vendor/ruby/
HEAD is now at b7cbff3d Add `direct_upload` setting for artifacts
From https://gitlab.com/gitlab-org/gitlab-foss
2dbcb9cb..641bb13b master -> origin/master
[32;1mChecking out 21488c74 as master...[0;m
[32;1mSkipping Git submodules setup[0;m
section_end:1522927113:get_sources
[0Ksection_start:1522927113:restore_cache
[0K[32;1mChecking cache for ruby-2.3.6-with-yarn...[0;m
Downloading cache.zip from http://runners-cache-5-internal.gitlab.com:444/runner/project/13083/ruby-2.3.6-with-yarn[0;m
[32;1mSuccessfully extracted cache[0;m
section_end:1522927128:restore_cache
[0Ksection_start:1522927128:download_artifacts
[0K[32;1mDownloading artifacts for retrieve-tests-metadata (61303215)...[0;m
Downloading artifacts from coordinator... ok [0;m id[0;m=61303215 responseStatus[0;m=200 OK token[0;m=AdWPNg2R
[32;1mDownloading artifacts for compile-assets (61303216)...[0;m
Downloading artifacts from coordinator... ok [0;m id[0;m=61303216 responseStatus[0;m=200 OK token[0;m=iy2yYbq8
[32;1mDownloading artifacts for setup-test-env (61303217)...[0;m
Downloading artifacts from coordinator... ok [0;m id[0;m=61303217 responseStatus[0;m=200 OK token[0;m=ur1g79-4
[0;33mWARNING: tmp/tests/gitlab-shell/.gitlab_shell_secret: chmod tmp/tests/gitlab-shell/.gitlab_shell_secret: no such file or directory (suppressing repeats)[0;m
section_end:1522927141:download_artifacts
[0Ksection_start:1522927141:build_script
[0K[32;1m$ bundle --version[0;m
Bundler version 1.16.1
[32;1m$ date[0;m
Thu Apr 5 11:19:01 UTC 2018
[32;1m$ source scripts/utils.sh[0;m
[32;1m$ date[0;m
Thu Apr 5 11:19:01 UTC 2018
[32;1m$ source scripts/prepare_build.sh[0;m
The Gemfile's dependencies are satisfied
Successfully installed knapsack-1.16.0
1 gem installed
-- enable_extension("plpgsql")
-> 0.0010s
-- enable_extension("pg_trgm")
-> 0.0000s
-- create_table("abuse_reports", {:force=>:cascade})
-> 0.0401s
-- create_table("appearances", {:force=>:cascade})
-> 0.1035s
-- create_table("application_settings", {:force=>:cascade})
-> 0.0871s
-- create_table("audit_events", {:force=>:cascade})
-> 0.0539s
-- add_index("audit_events", ["entity_id", "entity_type"], {:name=>"index_audit_events_on_entity_id_and_entity_type", :using=>:btree})
-> 0.0647s
-- create_table("award_emoji", {:force=>:cascade})
-> 0.0134s
-- add_index("award_emoji", ["awardable_type", "awardable_id"], {:name=>"index_award_emoji_on_awardable_type_and_awardable_id", :using=>:btree})
-> 0.0074s
-- add_index("award_emoji", ["user_id", "name"], {:name=>"index_award_emoji_on_user_id_and_name", :using=>:btree})
-> 0.0072s
-- create_table("badges", {:force=>:cascade})
-> 0.0122s
-- add_index("badges", ["group_id"], {:name=>"index_badges_on_group_id", :using=>:btree})
-> 0.0086s
-- add_index("badges", ["project_id"], {:name=>"index_badges_on_project_id", :using=>:btree})
-> 0.0069s
-- create_table("boards", {:force=>:cascade})
-> 0.0075s
-- add_index("boards", ["group_id"], {:name=>"index_boards_on_group_id", :using=>:btree})
-> 0.0050s
-- add_index("boards", ["project_id"], {:name=>"index_boards_on_project_id", :using=>:btree})
-> 0.0051s
-- create_table("broadcast_messages", {:force=>:cascade})
-> 0.0082s
-- add_index("broadcast_messages", ["starts_at", "ends_at", "id"], {:name=>"index_broadcast_messages_on_starts_at_and_ends_at_and_id", :using=>:btree})
-> 0.0063s
-- create_table("chat_names", {:force=>:cascade})
-> 0.0084s
-- add_index("chat_names", ["service_id", "team_id", "chat_id"], {:name=>"index_chat_names_on_service_id_and_team_id_and_chat_id", :unique=>true, :using=>:btree})
-> 0.0088s
-- add_index("chat_names", ["user_id", "service_id"], {:name=>"index_chat_names_on_user_id_and_service_id", :unique=>true, :using=>:btree})
-> 0.0077s
-- create_table("chat_teams", {:force=>:cascade})
-> 0.0120s
-- add_index("chat_teams", ["namespace_id"], {:name=>"index_chat_teams_on_namespace_id", :unique=>true, :using=>:btree})
-> 0.0135s
-- create_table("ci_build_trace_section_names", {:force=>:cascade})
-> 0.0125s
-- add_index("ci_build_trace_section_names", ["project_id", "name"], {:name=>"index_ci_build_trace_section_names_on_project_id_and_name", :unique=>true, :using=>:btree})
-> 0.0087s
-- create_table("ci_build_trace_sections", {:force=>:cascade})
-> 0.0094s
-- add_index("ci_build_trace_sections", ["build_id", "section_name_id"], {:name=>"index_ci_build_trace_sections_on_build_id_and_section_name_id", :unique=>true, :using=>:btree})
-> 0.0916s
-- add_index("ci_build_trace_sections", ["project_id"], {:name=>"index_ci_build_trace_sections_on_project_id", :using=>:btree})
-> 0.0089s
-- add_index("ci_build_trace_sections", ["section_name_id"], {:name=>"index_ci_build_trace_sections_on_section_name_id", :using=>:btree})
-> 0.0132s
-- create_table("ci_builds", {:force=>:cascade})
-> 0.0140s
-- add_index("ci_builds", ["artifacts_expire_at"], {:name=>"index_ci_builds_on_artifacts_expire_at", :where=>"(artifacts_file <> ''::text)", :using=>:btree})
-> 0.0325s
-- add_index("ci_builds", ["auto_canceled_by_id"], {:name=>"index_ci_builds_on_auto_canceled_by_id", :using=>:btree})
-> 0.0081s
-- add_index("ci_builds", ["commit_id", "stage_idx", "created_at"], {:name=>"index_ci_builds_on_commit_id_and_stage_idx_and_created_at", :using=>:btree})
-> 0.0114s
-- add_index("ci_builds", ["commit_id", "status", "type"], {:name=>"index_ci_builds_on_commit_id_and_status_and_type", :using=>:btree})
-> 0.0119s
-- add_index("ci_builds", ["commit_id", "type", "name", "ref"], {:name=>"index_ci_builds_on_commit_id_and_type_and_name_and_ref", :using=>:btree})
-> 0.0116s
-- add_index("ci_builds", ["commit_id", "type", "ref"], {:name=>"index_ci_builds_on_commit_id_and_type_and_ref", :using=>:btree})
-> 0.0144s
-- add_index("ci_builds", ["project_id", "id"], {:name=>"index_ci_builds_on_project_id_and_id", :using=>:btree})
-> 0.0136s
-- add_index("ci_builds", ["protected"], {:name=>"index_ci_builds_on_protected", :using=>:btree})
-> 0.0113s
-- add_index("ci_builds", ["runner_id"], {:name=>"index_ci_builds_on_runner_id", :using=>:btree})
-> 0.0082s
-- add_index("ci_builds", ["stage_id"], {:name=>"index_ci_builds_on_stage_id", :using=>:btree})
-> 0.0086s
-- add_index("ci_builds", ["status", "type", "runner_id"], {:name=>"index_ci_builds_on_status_and_type_and_runner_id", :using=>:btree})
-> 0.0091s
-- add_index("ci_builds", ["status"], {:name=>"index_ci_builds_on_status", :using=>:btree})
-> 0.0081s
-- add_index("ci_builds", ["token"], {:name=>"index_ci_builds_on_token", :unique=>true, :using=>:btree})
-> 0.0103s
-- add_index("ci_builds", ["updated_at"], {:name=>"index_ci_builds_on_updated_at", :using=>:btree})
-> 0.0149s
-- add_index("ci_builds", ["user_id"], {:name=>"index_ci_builds_on_user_id", :using=>:btree})
-> 0.0156s
-- create_table("ci_builds_metadata", {:force=>:cascade})
-> 0.0134s
-- add_index("ci_builds_metadata", ["build_id"], {:name=>"index_ci_builds_metadata_on_build_id", :unique=>true, :using=>:btree})
-> 0.0067s
-- add_index("ci_builds_metadata", ["project_id"], {:name=>"index_ci_builds_metadata_on_project_id", :using=>:btree})
-> 0.0061s
-- create_table("ci_group_variables", {:force=>:cascade})
-> 0.0088s
-- add_index("ci_group_variables", ["group_id", "key"], {:name=>"index_ci_group_variables_on_group_id_and_key", :unique=>true, :using=>:btree})
-> 0.0073s
-- create_table("ci_job_artifacts", {:force=>:cascade})
-> 0.0089s
-- add_index("ci_job_artifacts", ["expire_at", "job_id"], {:name=>"index_ci_job_artifacts_on_expire_at_and_job_id", :using=>:btree})
-> 0.0061s
-- add_index("ci_job_artifacts", ["job_id", "file_type"], {:name=>"index_ci_job_artifacts_on_job_id_and_file_type", :unique=>true, :using=>:btree})
-> 0.0077s
-- add_index("ci_job_artifacts", ["project_id"], {:name=>"index_ci_job_artifacts_on_project_id", :using=>:btree})
-> 0.0071s
-- create_table("ci_pipeline_schedule_variables", {:force=>:cascade})
-> 0.0512s
-- add_index("ci_pipeline_schedule_variables", ["pipeline_schedule_id", "key"], {:name=>"index_ci_pipeline_schedule_variables_on_schedule_id_and_key", :unique=>true, :using=>:btree})
-> 0.0144s
-- create_table("ci_pipeline_schedules", {:force=>:cascade})
-> 0.0603s
-- add_index("ci_pipeline_schedules", ["next_run_at", "active"], {:name=>"index_ci_pipeline_schedules_on_next_run_at_and_active", :using=>:btree})
-> 0.0247s
-- add_index("ci_pipeline_schedules", ["project_id"], {:name=>"index_ci_pipeline_schedules_on_project_id", :using=>:btree})
-> 0.0082s
-- create_table("ci_pipeline_variables", {:force=>:cascade})
-> 0.0112s
-- add_index("ci_pipeline_variables", ["pipeline_id", "key"], {:name=>"index_ci_pipeline_variables_on_pipeline_id_and_key", :unique=>true, :using=>:btree})
-> 0.0075s
-- create_table("ci_pipelines", {:force=>:cascade})
-> 0.0111s
-- add_index("ci_pipelines", ["auto_canceled_by_id"], {:name=>"index_ci_pipelines_on_auto_canceled_by_id", :using=>:btree})
-> 0.0074s
-- add_index("ci_pipelines", ["pipeline_schedule_id"], {:name=>"index_ci_pipelines_on_pipeline_schedule_id", :using=>:btree})
-> 0.0086s
-- add_index("ci_pipelines", ["project_id", "ref", "status", "id"], {:name=>"index_ci_pipelines_on_project_id_and_ref_and_status_and_id", :using=>:btree})
-> 0.0104s
-- add_index("ci_pipelines", ["project_id", "sha"], {:name=>"index_ci_pipelines_on_project_id_and_sha", :using=>:btree})
-> 0.0107s
-- add_index("ci_pipelines", ["project_id"], {:name=>"index_ci_pipelines_on_project_id", :using=>:btree})
-> 0.0084s
-- add_index("ci_pipelines", ["status"], {:name=>"index_ci_pipelines_on_status", :using=>:btree})
-> 0.0065s
-- add_index("ci_pipelines", ["user_id"], {:name=>"index_ci_pipelines_on_user_id", :using=>:btree})
-> 0.0071s
-- create_table("ci_runner_projects", {:force=>:cascade})
-> 0.0077s
-- add_index("ci_runner_projects", ["project_id"], {:name=>"index_ci_runner_projects_on_project_id", :using=>:btree})
-> 0.0072s
-- add_index("ci_runner_projects", ["runner_id"], {:name=>"index_ci_runner_projects_on_runner_id", :using=>:btree})
-> 0.0064s
-- create_table("ci_runners", {:force=>:cascade})
-> 0.0090s
-- add_index("ci_runners", ["contacted_at"], {:name=>"index_ci_runners_on_contacted_at", :using=>:btree})
-> 0.0078s
-- add_index("ci_runners", ["is_shared"], {:name=>"index_ci_runners_on_is_shared", :using=>:btree})
-> 0.0054s
-- add_index("ci_runners", ["locked"], {:name=>"index_ci_runners_on_locked", :using=>:btree})
-> 0.0052s
-- add_index("ci_runners", ["token"], {:name=>"index_ci_runners_on_token", :using=>:btree})
-> 0.0057s
-- create_table("ci_stages", {:force=>:cascade})
-> 0.0059s
-- add_index("ci_stages", ["pipeline_id", "name"], {:name=>"index_ci_stages_on_pipeline_id_and_name", :unique=>true, :using=>:btree})
-> 0.0054s
-- add_index("ci_stages", ["pipeline_id"], {:name=>"index_ci_stages_on_pipeline_id", :using=>:btree})
-> 0.0045s
-- add_index("ci_stages", ["project_id"], {:name=>"index_ci_stages_on_project_id", :using=>:btree})
-> 0.0053s
-- create_table("ci_trigger_requests", {:force=>:cascade})
-> 0.0079s
-- add_index("ci_trigger_requests", ["commit_id"], {:name=>"index_ci_trigger_requests_on_commit_id", :using=>:btree})
-> 0.0059s
-- create_table("ci_triggers", {:force=>:cascade})
-> 0.0100s
-- add_index("ci_triggers", ["project_id"], {:name=>"index_ci_triggers_on_project_id", :using=>:btree})
-> 0.0059s
-- create_table("ci_variables", {:force=>:cascade})
-> 0.0110s
-- add_index("ci_variables", ["project_id", "key", "environment_scope"], {:name=>"index_ci_variables_on_project_id_and_key_and_environment_scope", :unique=>true, :using=>:btree})
-> 0.0066s
-- create_table("cluster_platforms_kubernetes", {:force=>:cascade})
-> 0.0082s
-- add_index("cluster_platforms_kubernetes", ["cluster_id"], {:name=>"index_cluster_platforms_kubernetes_on_cluster_id", :unique=>true, :using=>:btree})
-> 0.0047s
-- create_table("cluster_projects", {:force=>:cascade})
-> 0.0079s
-- add_index("cluster_projects", ["cluster_id"], {:name=>"index_cluster_projects_on_cluster_id", :using=>:btree})
-> 0.0045s
-- add_index("cluster_projects", ["project_id"], {:name=>"index_cluster_projects_on_project_id", :using=>:btree})
-> 0.0044s
-- create_table("cluster_providers_gcp", {:force=>:cascade})
-> 0.0247s
-- add_index("cluster_providers_gcp", ["cluster_id"], {:name=>"index_cluster_providers_gcp_on_cluster_id", :unique=>true, :using=>:btree})
-> 0.0088s
-- create_table("clusters", {:force=>:cascade})
-> 0.0767s
-- add_index("clusters", ["enabled"], {:name=>"index_clusters_on_enabled", :using=>:btree})
-> 0.0162s
-- add_index("clusters", ["user_id"], {:name=>"index_clusters_on_user_id", :using=>:btree})
-> 0.0216s
-- create_table("clusters_applications_helm", {:force=>:cascade})
-> 0.0379s
-- create_table("clusters_applications_ingress", {:force=>:cascade})
-> 0.0409s
-- create_table("clusters_applications_prometheus", {:force=>:cascade})
-> 0.0178s
-- create_table("clusters_applications_runners", {:force=>:cascade})
-> 0.0471s
-- add_index("clusters_applications_runners", ["cluster_id"], {:name=>"index_clusters_applications_runners_on_cluster_id", :unique=>true, :using=>:btree})
-> 0.0487s
-- add_index("clusters_applications_runners", ["runner_id"], {:name=>"index_clusters_applications_runners_on_runner_id", :using=>:btree})
-> 0.0094s
-- create_table("container_repositories", {:force=>:cascade})
-> 0.0142s
-- add_index("container_repositories", ["project_id", "name"], {:name=>"index_container_repositories_on_project_id_and_name", :unique=>true, :using=>:btree})
-> 0.0080s
-- add_index("container_repositories", ["project_id"], {:name=>"index_container_repositories_on_project_id", :using=>:btree})
-> 0.0070s
-- create_table("conversational_development_index_metrics", {:force=>:cascade})
-> 0.0204s
-- create_table("deploy_keys_projects", {:force=>:cascade})
-> 0.0154s
-- add_index("deploy_keys_projects", ["project_id"], {:name=>"index_deploy_keys_projects_on_project_id", :using=>:btree})
-> 0.0471s
-- create_table("deployments", {:force=>:cascade})
-> 0.0191s
-- add_index("deployments", ["created_at"], {:name=>"index_deployments_on_created_at", :using=>:btree})
-> 0.0552s
-- add_index("deployments", ["environment_id", "id"], {:name=>"index_deployments_on_environment_id_and_id", :using=>:btree})
-> 0.0294s
-- add_index("deployments", ["environment_id", "iid", "project_id"], {:name=>"index_deployments_on_environment_id_and_iid_and_project_id", :using=>:btree})
-> 0.0408s
-- add_index("deployments", ["project_id", "iid"], {:name=>"index_deployments_on_project_id_and_iid", :unique=>true, :using=>:btree})
-> 0.0094s
-- create_table("emails", {:force=>:cascade})
-> 0.0127s
-- add_index("emails", ["confirmation_token"], {:name=>"index_emails_on_confirmation_token", :unique=>true, :using=>:btree})
-> 0.0082s
-- add_index("emails", ["email"], {:name=>"index_emails_on_email", :unique=>true, :using=>:btree})
-> 0.0110s
-- add_index("emails", ["user_id"], {:name=>"index_emails_on_user_id", :using=>:btree})
-> 0.0079s
-- create_table("environments", {:force=>:cascade})
-> 0.0106s
-- add_index("environments", ["project_id", "name"], {:name=>"index_environments_on_project_id_and_name", :unique=>true, :using=>:btree})
-> 0.0086s
-- add_index("environments", ["project_id", "slug"], {:name=>"index_environments_on_project_id_and_slug", :unique=>true, :using=>:btree})
-> 0.0076s
-- create_table("events", {:force=>:cascade})
-> 0.0122s
-- add_index("events", ["action"], {:name=>"index_events_on_action", :using=>:btree})
-> 0.0068s
-- add_index("events", ["author_id", "project_id"], {:name=>"index_events_on_author_id_and_project_id", :using=>:btree})
-> 0.0081s
-- add_index("events", ["project_id", "id"], {:name=>"index_events_on_project_id_and_id", :using=>:btree})
-> 0.0064s
-- add_index("events", ["target_type", "target_id"], {:name=>"index_events_on_target_type_and_target_id", :using=>:btree})
-> 0.0087s
-- create_table("feature_gates", {:force=>:cascade})
-> 0.0105s
-- add_index("feature_gates", ["feature_key", "key", "value"], {:name=>"index_feature_gates_on_feature_key_and_key_and_value", :unique=>true, :using=>:btree})
-> 0.0080s
-- create_table("features", {:force=>:cascade})
-> 0.0086s
-- add_index("features", ["key"], {:name=>"index_features_on_key", :unique=>true, :using=>:btree})
-> 0.0058s
-- create_table("fork_network_members", {:force=>:cascade})
-> 0.0081s
-- add_index("fork_network_members", ["fork_network_id"], {:name=>"index_fork_network_members_on_fork_network_id", :using=>:btree})
-> 0.0056s
-- add_index("fork_network_members", ["project_id"], {:name=>"index_fork_network_members_on_project_id", :unique=>true, :using=>:btree})
-> 0.0053s
-- create_table("fork_networks", {:force=>:cascade})
-> 0.0081s
-- add_index("fork_networks", ["root_project_id"], {:name=>"index_fork_networks_on_root_project_id", :unique=>true, :using=>:btree})
-> 0.0051s
-- create_table("forked_project_links", {:force=>:cascade})
-> 0.0070s
-- add_index("forked_project_links", ["forked_to_project_id"], {:name=>"index_forked_project_links_on_forked_to_project_id", :unique=>true, :using=>:btree})
-> 0.0061s
-- create_table("gcp_clusters", {:force=>:cascade})
-> 0.0090s
-- add_index("gcp_clusters", ["project_id"], {:name=>"index_gcp_clusters_on_project_id", :unique=>true, :using=>:btree})
-> 0.0073s
-- create_table("gpg_key_subkeys", {:force=>:cascade})
-> 0.0092s
-- add_index("gpg_key_subkeys", ["fingerprint"], {:name=>"index_gpg_key_subkeys_on_fingerprint", :unique=>true, :using=>:btree})
-> 0.0063s
-- add_index("gpg_key_subkeys", ["gpg_key_id"], {:name=>"index_gpg_key_subkeys_on_gpg_key_id", :using=>:btree})
-> 0.0603s
-- add_index("gpg_key_subkeys", ["keyid"], {:name=>"index_gpg_key_subkeys_on_keyid", :unique=>true, :using=>:btree})
-> 0.0705s
-- create_table("gpg_keys", {:force=>:cascade})
-> 0.0235s
-- add_index("gpg_keys", ["fingerprint"], {:name=>"index_gpg_keys_on_fingerprint", :unique=>true, :using=>:btree})
-> 0.0220s
-- add_index("gpg_keys", ["primary_keyid"], {:name=>"index_gpg_keys_on_primary_keyid", :unique=>true, :using=>:btree})
-> 0.0329s
-- add_index("gpg_keys", ["user_id"], {:name=>"index_gpg_keys_on_user_id", :using=>:btree})
-> 0.0087s
-- create_table("gpg_signatures", {:force=>:cascade})
-> 0.0126s
-- add_index("gpg_signatures", ["commit_sha"], {:name=>"index_gpg_signatures_on_commit_sha", :unique=>true, :using=>:btree})
-> 0.0105s
-- add_index("gpg_signatures", ["gpg_key_id"], {:name=>"index_gpg_signatures_on_gpg_key_id", :using=>:btree})
-> 0.0094s
-- add_index("gpg_signatures", ["gpg_key_primary_keyid"], {:name=>"index_gpg_signatures_on_gpg_key_primary_keyid", :using=>:btree})
-> 0.0100s
-- add_index("gpg_signatures", ["gpg_key_subkey_id"], {:name=>"index_gpg_signatures_on_gpg_key_subkey_id", :using=>:btree})
-> 0.0079s
-- add_index("gpg_signatures", ["project_id"], {:name=>"index_gpg_signatures_on_project_id", :using=>:btree})
-> 0.0081s
-- create_table("group_custom_attributes", {:force=>:cascade})
-> 0.0092s
-- add_index("group_custom_attributes", ["group_id", "key"], {:name=>"index_group_custom_attributes_on_group_id_and_key", :unique=>true, :using=>:btree})
-> 0.0086s
-- add_index("group_custom_attributes", ["key", "value"], {:name=>"index_group_custom_attributes_on_key_and_value", :using=>:btree})
-> 0.0071s
-- create_table("identities", {:force=>:cascade})
-> 0.0114s
-- add_index("identities", ["user_id"], {:name=>"index_identities_on_user_id", :using=>:btree})
-> 0.0064s
-- create_table("internal_ids", {:id=>:bigserial, :force=>:cascade})
-> 0.0097s
-- add_index("internal_ids", ["usage", "project_id"], {:name=>"index_internal_ids_on_usage_and_project_id", :unique=>true, :using=>:btree})
-> 0.0073s
-- create_table("issue_assignees", {:id=>false, :force=>:cascade})
-> 0.0127s
-- add_index("issue_assignees", ["issue_id", "user_id"], {:name=>"index_issue_assignees_on_issue_id_and_user_id", :unique=>true, :using=>:btree})
-> 0.0110s
-- add_index("issue_assignees", ["user_id"], {:name=>"index_issue_assignees_on_user_id", :using=>:btree})
-> 0.0079s
-- create_table("issue_metrics", {:force=>:cascade})
-> 0.0098s
-- add_index("issue_metrics", ["issue_id"], {:name=>"index_issue_metrics", :using=>:btree})
-> 0.0053s
-- create_table("issues", {:force=>:cascade})
-> 0.0090s
-- add_index("issues", ["author_id"], {:name=>"index_issues_on_author_id", :using=>:btree})
-> 0.0056s
-- add_index("issues", ["confidential"], {:name=>"index_issues_on_confidential", :using=>:btree})
-> 0.0055s
-- add_index("issues", ["description"], {:name=>"index_issues_on_description_trigram", :using=>:gin, :opclasses=>{"description"=>"gin_trgm_ops"}})
-> 0.0006s
-- add_index("issues", ["milestone_id"], {:name=>"index_issues_on_milestone_id", :using=>:btree})
-> 0.0061s
-- add_index("issues", ["moved_to_id"], {:name=>"index_issues_on_moved_to_id", :where=>"(moved_to_id IS NOT NULL)", :using=>:btree})
-> 0.0051s
-- add_index("issues", ["project_id", "created_at", "id", "state"], {:name=>"index_issues_on_project_id_and_created_at_and_id_and_state", :using=>:btree})
-> 0.0069s
-- add_index("issues", ["project_id", "due_date", "id", "state"], {:name=>"idx_issues_on_project_id_and_due_date_and_id_and_state_partial", :where=>"(due_date IS NOT NULL)", :using=>:btree})
-> 0.0073s
-- add_index("issues", ["project_id", "iid"], {:name=>"index_issues_on_project_id_and_iid", :unique=>true, :using=>:btree})
-> 0.0060s
-- add_index("issues", ["project_id", "updated_at", "id", "state"], {:name=>"index_issues_on_project_id_and_updated_at_and_id_and_state", :using=>:btree})
-> 0.0094s
-- add_index("issues", ["relative_position"], {:name=>"index_issues_on_relative_position", :using=>:btree})
-> 0.0070s
-- add_index("issues", ["state"], {:name=>"index_issues_on_state", :using=>:btree})
-> 0.0078s
-- add_index("issues", ["title"], {:name=>"index_issues_on_title_trigram", :using=>:gin, :opclasses=>{"title"=>"gin_trgm_ops"}})
-> 0.0007s
-- add_index("issues", ["updated_at"], {:name=>"index_issues_on_updated_at", :using=>:btree})
-> 0.0068s
-- add_index("issues", ["updated_by_id"], {:name=>"index_issues_on_updated_by_id", :where=>"(updated_by_id IS NOT NULL)", :using=>:btree})
-> 0.0066s
-- create_table("keys", {:force=>:cascade})
-> 0.0087s
-- add_index("keys", ["fingerprint"], {:name=>"index_keys_on_fingerprint", :unique=>true, :using=>:btree})
-> 0.0066s
-- add_index("keys", ["user_id"], {:name=>"index_keys_on_user_id", :using=>:btree})
-> 0.0063s
-- create_table("label_links", {:force=>:cascade})
-> 0.0073s
-- add_index("label_links", ["label_id"], {:name=>"index_label_links_on_label_id", :using=>:btree})
-> 0.0050s
-- add_index("label_links", ["target_id", "target_type"], {:name=>"index_label_links_on_target_id_and_target_type", :using=>:btree})
-> 0.0062s
-- create_table("label_priorities", {:force=>:cascade})
-> 0.0073s
-- add_index("label_priorities", ["priority"], {:name=>"index_label_priorities_on_priority", :using=>:btree})
-> 0.0058s
-- add_index("label_priorities", ["project_id", "label_id"], {:name=>"index_label_priorities_on_project_id_and_label_id", :unique=>true, :using=>:btree})
-> 0.0056s
-- create_table("labels", {:force=>:cascade})
-> 0.0087s
-- add_index("labels", ["group_id", "project_id", "title"], {:name=>"index_labels_on_group_id_and_project_id_and_title", :unique=>true, :using=>:btree})
-> 0.0074s
-- add_index("labels", ["project_id"], {:name=>"index_labels_on_project_id", :using=>:btree})
-> 0.0061s
-- add_index("labels", ["template"], {:name=>"index_labels_on_template", :where=>"template", :using=>:btree})
-> 0.0060s
-- add_index("labels", ["title"], {:name=>"index_labels_on_title", :using=>:btree})
-> 0.0076s
-- add_index("labels", ["type", "project_id"], {:name=>"index_labels_on_type_and_project_id", :using=>:btree})
-> 0.0061s
-- create_table("lfs_file_locks", {:force=>:cascade})
-> 0.0078s
-- add_index("lfs_file_locks", ["project_id", "path"], {:name=>"index_lfs_file_locks_on_project_id_and_path", :unique=>true, :using=>:btree})
-> 0.0067s
-- add_index("lfs_file_locks", ["user_id"], {:name=>"index_lfs_file_locks_on_user_id", :using=>:btree})
-> 0.0060s
-- create_table("lfs_objects", {:force=>:cascade})
-> 0.0109s
-- add_index("lfs_objects", ["oid"], {:name=>"index_lfs_objects_on_oid", :unique=>true, :using=>:btree})
-> 0.0059s
-- create_table("lfs_objects_projects", {:force=>:cascade})
-> 0.0091s
-- add_index("lfs_objects_projects", ["project_id"], {:name=>"index_lfs_objects_projects_on_project_id", :using=>:btree})
-> 0.0060s
-- create_table("lists", {:force=>:cascade})
-> 0.0115s
-- add_index("lists", ["board_id", "label_id"], {:name=>"index_lists_on_board_id_and_label_id", :unique=>true, :using=>:btree})
-> 0.0055s
-- add_index("lists", ["label_id"], {:name=>"index_lists_on_label_id", :using=>:btree})
-> 0.0055s
-- create_table("members", {:force=>:cascade})
-> 0.0140s
-- add_index("members", ["access_level"], {:name=>"index_members_on_access_level", :using=>:btree})
-> 0.0067s
-- add_index("members", ["invite_token"], {:name=>"index_members_on_invite_token", :unique=>true, :using=>:btree})
-> 0.0069s
-- add_index("members", ["requested_at"], {:name=>"index_members_on_requested_at", :using=>:btree})
-> 0.0057s
-- add_index("members", ["source_id", "source_type"], {:name=>"index_members_on_source_id_and_source_type", :using=>:btree})
-> 0.0057s
-- add_index("members", ["user_id"], {:name=>"index_members_on_user_id", :using=>:btree})
-> 0.0073s
-- create_table("merge_request_diff_commits", {:id=>false, :force=>:cascade})
-> 0.0087s
-- add_index("merge_request_diff_commits", ["merge_request_diff_id", "relative_order"], {:name=>"index_merge_request_diff_commits_on_mr_diff_id_and_order", :unique=>true, :using=>:btree})
-> 0.0151s
-- add_index("merge_request_diff_commits", ["sha"], {:name=>"index_merge_request_diff_commits_on_sha", :using=>:btree})
-> 0.0057s
-- create_table("merge_request_diff_files", {:id=>false, :force=>:cascade})
-> 0.0094s
-- add_index("merge_request_diff_files", ["merge_request_diff_id", "relative_order"], {:name=>"index_merge_request_diff_files_on_mr_diff_id_and_order", :unique=>true, :using=>:btree})
-> 0.0138s
-- create_table("merge_request_diffs", {:force=>:cascade})
-> 0.0077s
-- add_index("merge_request_diffs", ["merge_request_id", "id"], {:name=>"index_merge_request_diffs_on_merge_request_id_and_id", :using=>:btree})
-> 0.0060s
-- create_table("merge_request_metrics", {:force=>:cascade})
-> 0.0098s
-- add_index("merge_request_metrics", ["first_deployed_to_production_at"], {:name=>"index_merge_request_metrics_on_first_deployed_to_production_at", :using=>:btree})
-> 0.0060s
-- add_index("merge_request_metrics", ["merge_request_id"], {:name=>"index_merge_request_metrics", :using=>:btree})
-> 0.0050s
-- add_index("merge_request_metrics", ["pipeline_id"], {:name=>"index_merge_request_metrics_on_pipeline_id", :using=>:btree})
-> 0.0045s
-- create_table("merge_requests", {:force=>:cascade})
-> 0.0066s
-- add_index("merge_requests", ["assignee_id"], {:name=>"index_merge_requests_on_assignee_id", :using=>:btree})
-> 0.0072s
-- add_index("merge_requests", ["author_id"], {:name=>"index_merge_requests_on_author_id", :using=>:btree})
-> 0.0050s
-- add_index("merge_requests", ["created_at"], {:name=>"index_merge_requests_on_created_at", :using=>:btree})
-> 0.0053s
-- add_index("merge_requests", ["description"], {:name=>"index_merge_requests_on_description_trigram", :using=>:gin, :opclasses=>{"description"=>"gin_trgm_ops"}})
-> 0.0008s
-- add_index("merge_requests", ["head_pipeline_id"], {:name=>"index_merge_requests_on_head_pipeline_id", :using=>:btree})
-> 0.0053s
-- add_index("merge_requests", ["latest_merge_request_diff_id"], {:name=>"index_merge_requests_on_latest_merge_request_diff_id", :using=>:btree})
-> 0.0048s
-- add_index("merge_requests", ["merge_user_id"], {:name=>"index_merge_requests_on_merge_user_id", :where=>"(merge_user_id IS NOT NULL)", :using=>:btree})
-> 0.0051s
-- add_index("merge_requests", ["milestone_id"], {:name=>"index_merge_requests_on_milestone_id", :using=>:btree})
-> 0.0055s
-- add_index("merge_requests", ["source_branch"], {:name=>"index_merge_requests_on_source_branch", :using=>:btree})
-> 0.0055s
-- add_index("merge_requests", ["source_project_id", "source_branch"], {:name=>"index_merge_requests_on_source_project_and_branch_state_opened", :where=>"((state)::text = 'opened'::text)", :using=>:btree})
-> 0.0061s
-- add_index("merge_requests", ["source_project_id", "source_branch"], {:name=>"index_merge_requests_on_source_project_id_and_source_branch", :using=>:btree})
-> 0.0068s
-- add_index("merge_requests", ["target_branch"], {:name=>"index_merge_requests_on_target_branch", :using=>:btree})
-> 0.0054s
-- add_index("merge_requests", ["target_project_id", "iid"], {:name=>"index_merge_requests_on_target_project_id_and_iid", :unique=>true, :using=>:btree})
-> 0.0061s
-- add_index("merge_requests", ["target_project_id", "merge_commit_sha", "id"], {:name=>"index_merge_requests_on_tp_id_and_merge_commit_sha_and_id", :using=>:btree})
-> 0.0077s
-- add_index("merge_requests", ["title"], {:name=>"index_merge_requests_on_title", :using=>:btree})
-> 0.0105s
-- add_index("merge_requests", ["title"], {:name=>"index_merge_requests_on_title_trigram", :using=>:gin, :opclasses=>{"title"=>"gin_trgm_ops"}})
-> 0.0008s
-- add_index("merge_requests", ["updated_by_id"], {:name=>"index_merge_requests_on_updated_by_id", :where=>"(updated_by_id IS NOT NULL)", :using=>:btree})
-> 0.0074s
-- create_table("merge_requests_closing_issues", {:force=>:cascade})
-> 0.0125s
-- add_index("merge_requests_closing_issues", ["issue_id"], {:name=>"index_merge_requests_closing_issues_on_issue_id", :using=>:btree})
-> 0.0064s
-- add_index("merge_requests_closing_issues", ["merge_request_id"], {:name=>"index_merge_requests_closing_issues_on_merge_request_id", :using=>:btree})
-> 0.0061s
-- create_table("milestones", {:force=>:cascade})
-> 0.0064s
-- add_index("milestones", ["description"], {:name=>"index_milestones_on_description_trigram", :using=>:gin, :opclasses=>{"description"=>"gin_trgm_ops"}})
-> 0.0007s
-- add_index("milestones", ["due_date"], {:name=>"index_milestones_on_due_date", :using=>:btree})
-> 0.0053s
-- add_index("milestones", ["group_id"], {:name=>"index_milestones_on_group_id", :using=>:btree})
-> 0.0068s
-- add_index("milestones", ["project_id", "iid"], {:name=>"index_milestones_on_project_id_and_iid", :unique=>true, :using=>:btree})
-> 0.0057s
-- add_index("milestones", ["title"], {:name=>"index_milestones_on_title", :using=>:btree})
-> 0.0051s
-- add_index("milestones", ["title"], {:name=>"index_milestones_on_title_trigram", :using=>:gin, :opclasses=>{"title"=>"gin_trgm_ops"}})
-> 0.0006s
-- create_table("namespaces", {:force=>:cascade})
-> 0.0083s
-- add_index("namespaces", ["created_at"], {:name=>"index_namespaces_on_created_at", :using=>:btree})
-> 0.0061s
-- add_index("namespaces", ["name", "parent_id"], {:name=>"index_namespaces_on_name_and_parent_id", :unique=>true, :using=>:btree})
-> 0.0062s
-- add_index("namespaces", ["name"], {:name=>"index_namespaces_on_name_trigram", :using=>:gin, :opclasses=>{"name"=>"gin_trgm_ops"}})
-> 0.0006s
-- add_index("namespaces", ["owner_id"], {:name=>"index_namespaces_on_owner_id", :using=>:btree})
-> 0.0061s
-- add_index("namespaces", ["parent_id", "id"], {:name=>"index_namespaces_on_parent_id_and_id", :unique=>true, :using=>:btree})
-> 0.0072s
-- add_index("namespaces", ["path"], {:name=>"index_namespaces_on_path", :using=>:btree})
-> 0.0056s
-- add_index("namespaces", ["path"], {:name=>"index_namespaces_on_path_trigram", :using=>:gin, :opclasses=>{"path"=>"gin_trgm_ops"}})
-> 0.0006s
-- add_index("namespaces", ["require_two_factor_authentication"], {:name=>"index_namespaces_on_require_two_factor_authentication", :using=>:btree})
-> 0.0061s
-- add_index("namespaces", ["type"], {:name=>"index_namespaces_on_type", :using=>:btree})
-> 0.0055s
-- create_table("notes", {:force=>:cascade})
-> 0.0092s
-- add_index("notes", ["author_id"], {:name=>"index_notes_on_author_id", :using=>:btree})
-> 0.0072s
-- add_index("notes", ["commit_id"], {:name=>"index_notes_on_commit_id", :using=>:btree})
-> 0.0057s
-- add_index("notes", ["created_at"], {:name=>"index_notes_on_created_at", :using=>:btree})
-> 0.0065s
-- add_index("notes", ["discussion_id"], {:name=>"index_notes_on_discussion_id", :using=>:btree})
-> 0.0064s
-- add_index("notes", ["line_code"], {:name=>"index_notes_on_line_code", :using=>:btree})
-> 0.0078s
-- add_index("notes", ["note"], {:name=>"index_notes_on_note_trigram", :using=>:gin, :opclasses=>{"note"=>"gin_trgm_ops"}})
-> 0.0006s
-- add_index("notes", ["noteable_id", "noteable_type"], {:name=>"index_notes_on_noteable_id_and_noteable_type", :using=>:btree})
-> 0.0102s
-- add_index("notes", ["noteable_type"], {:name=>"index_notes_on_noteable_type", :using=>:btree})
-> 0.0092s
-- add_index("notes", ["project_id", "noteable_type"], {:name=>"index_notes_on_project_id_and_noteable_type", :using=>:btree})
-> 0.0082s
-- add_index("notes", ["updated_at"], {:name=>"index_notes_on_updated_at", :using=>:btree})
-> 0.0062s
-- create_table("notification_settings", {:force=>:cascade})
-> 0.0088s
-- add_index("notification_settings", ["source_id", "source_type"], {:name=>"index_notification_settings_on_source_id_and_source_type", :using=>:btree})
-> 0.0405s
-- add_index("notification_settings", ["user_id", "source_id", "source_type"], {:name=>"index_notifications_on_user_id_and_source_id_and_source_type", :unique=>true, :using=>:btree})
-> 0.0677s
-- add_index("notification_settings", ["user_id"], {:name=>"index_notification_settings_on_user_id", :using=>:btree})
-> 0.1199s
-- create_table("oauth_access_grants", {:force=>:cascade})
-> 0.0140s
-- add_index("oauth_access_grants", ["token"], {:name=>"index_oauth_access_grants_on_token", :unique=>true, :using=>:btree})
-> 0.0076s
-- create_table("oauth_access_tokens", {:force=>:cascade})
-> 0.0167s
-- add_index("oauth_access_tokens", ["refresh_token"], {:name=>"index_oauth_access_tokens_on_refresh_token", :unique=>true, :using=>:btree})
-> 0.0098s
-- add_index("oauth_access_tokens", ["resource_owner_id"], {:name=>"index_oauth_access_tokens_on_resource_owner_id", :using=>:btree})
-> 0.0074s
-- add_index("oauth_access_tokens", ["token"], {:name=>"index_oauth_access_tokens_on_token", :unique=>true, :using=>:btree})
-> 0.0078s
-- create_table("oauth_applications", {:force=>:cascade})
-> 0.0112s
-- add_index("oauth_applications", ["owner_id", "owner_type"], {:name=>"index_oauth_applications_on_owner_id_and_owner_type", :using=>:btree})
-> 0.0079s
-- add_index("oauth_applications", ["uid"], {:name=>"index_oauth_applications_on_uid", :unique=>true, :using=>:btree})
-> 0.0114s
-- create_table("oauth_openid_requests", {:force=>:cascade})
-> 0.0102s
-- create_table("pages_domains", {:force=>:cascade})
-> 0.0102s
-- add_index("pages_domains", ["domain"], {:name=>"index_pages_domains_on_domain", :unique=>true, :using=>:btree})
-> 0.0067s
-- add_index("pages_domains", ["project_id", "enabled_until"], {:name=>"index_pages_domains_on_project_id_and_enabled_until", :using=>:btree})
-> 0.0114s
-- add_index("pages_domains", ["project_id"], {:name=>"index_pages_domains_on_project_id", :using=>:btree})
-> 0.0066s
-- add_index("pages_domains", ["verified_at", "enabled_until"], {:name=>"index_pages_domains_on_verified_at_and_enabled_until", :using=>:btree})
-> 0.0073s
-- add_index("pages_domains", ["verified_at"], {:name=>"index_pages_domains_on_verified_at", :using=>:btree})
-> 0.0063s
-- create_table("personal_access_tokens", {:force=>:cascade})
-> 0.0084s
-- add_index("personal_access_tokens", ["token"], {:name=>"index_personal_access_tokens_on_token", :unique=>true, :using=>:btree})
-> 0.0075s
-- add_index("personal_access_tokens", ["user_id"], {:name=>"index_personal_access_tokens_on_user_id", :using=>:btree})
-> 0.0066s
-- create_table("project_authorizations", {:id=>false, :force=>:cascade})
-> 0.0087s
-- add_index("project_authorizations", ["project_id"], {:name=>"index_project_authorizations_on_project_id", :using=>:btree})
-> 0.0056s
-- add_index("project_authorizations", ["user_id", "project_id", "access_level"], {:name=>"index_project_authorizations_on_user_id_project_id_access_level", :unique=>true, :using=>:btree})
-> 0.0075s
-- create_table("project_auto_devops", {:force=>:cascade})
-> 0.0079s
-- add_index("project_auto_devops", ["project_id"], {:name=>"index_project_auto_devops_on_project_id", :unique=>true, :using=>:btree})
-> 0.0067s
-- create_table("project_custom_attributes", {:force=>:cascade})
-> 0.0071s
-- add_index("project_custom_attributes", ["key", "value"], {:name=>"index_project_custom_attributes_on_key_and_value", :using=>:btree})
-> 0.0060s
-- add_index("project_custom_attributes", ["project_id", "key"], {:name=>"index_project_custom_attributes_on_project_id_and_key", :unique=>true, :using=>:btree})
-> 0.0069s
-- create_table("project_features", {:force=>:cascade})
-> 0.0100s
-- add_index("project_features", ["project_id"], {:name=>"index_project_features_on_project_id", :using=>:btree})
-> 0.0069s
-- create_table("project_group_links", {:force=>:cascade})
-> 0.0117s
-- add_index("project_group_links", ["group_id"], {:name=>"index_project_group_links_on_group_id", :using=>:btree})
-> 0.0121s
-- add_index("project_group_links", ["project_id"], {:name=>"index_project_group_links_on_project_id", :using=>:btree})
-> 0.0076s
-- create_table("project_import_data", {:force=>:cascade})
-> 0.0084s
-- add_index("project_import_data", ["project_id"], {:name=>"index_project_import_data_on_project_id", :using=>:btree})
-> 0.0058s
-- create_table("project_statistics", {:force=>:cascade})
-> 0.0075s
-- add_index("project_statistics", ["namespace_id"], {:name=>"index_project_statistics_on_namespace_id", :using=>:btree})
-> 0.0054s
-- add_index("project_statistics", ["project_id"], {:name=>"index_project_statistics_on_project_id", :unique=>true, :using=>:btree})
-> 0.0054s
-- create_table("projects", {:force=>:cascade})
-> 0.0077s
-- add_index("projects", ["ci_id"], {:name=>"index_projects_on_ci_id", :using=>:btree})
-> 0.0070s
-- add_index("projects", ["created_at"], {:name=>"index_projects_on_created_at", :using=>:btree})
-> 0.0060s
-- add_index("projects", ["creator_id"], {:name=>"index_projects_on_creator_id", :using=>:btree})
-> 0.0071s
-- add_index("projects", ["description"], {:name=>"index_projects_on_description_trigram", :using=>:gin, :opclasses=>{"description"=>"gin_trgm_ops"}})
-> 0.0009s
-- add_index("projects", ["id"], {:name=>"index_projects_on_id_partial_for_visibility", :unique=>true, :where=>"(visibility_level = ANY (ARRAY[10, 20]))", :using=>:btree})
-> 0.0062s
-- add_index("projects", ["last_activity_at"], {:name=>"index_projects_on_last_activity_at", :using=>:btree})
-> 0.0060s
-- add_index("projects", ["last_repository_check_failed"], {:name=>"index_projects_on_last_repository_check_failed", :using=>:btree})
-> 0.0063s
-- add_index("projects", ["last_repository_updated_at"], {:name=>"index_projects_on_last_repository_updated_at", :using=>:btree})
-> 0.0633s
-- add_index("projects", ["name"], {:name=>"index_projects_on_name_trigram", :using=>:gin, :opclasses=>{"name"=>"gin_trgm_ops"}})
-> 0.0012s
-- add_index("projects", ["namespace_id"], {:name=>"index_projects_on_namespace_id", :using=>:btree})
-> 0.0167s
-- add_index("projects", ["path"], {:name=>"index_projects_on_path", :using=>:btree})
-> 0.0222s
-- add_index("projects", ["path"], {:name=>"index_projects_on_path_trigram", :using=>:gin, :opclasses=>{"path"=>"gin_trgm_ops"}})
-> 0.0010s
-- add_index("projects", ["pending_delete"], {:name=>"index_projects_on_pending_delete", :using=>:btree})
-> 0.0229s
-- add_index("projects", ["repository_storage"], {:name=>"index_projects_on_repository_storage", :using=>:btree})
-> 0.0173s
-- add_index("projects", ["runners_token"], {:name=>"index_projects_on_runners_token", :using=>:btree})
-> 0.0167s
-- add_index("projects", ["star_count"], {:name=>"index_projects_on_star_count", :using=>:btree})
-> 0.0491s
-- add_index("projects", ["visibility_level"], {:name=>"index_projects_on_visibility_level", :using=>:btree})
-> 0.0598s
-- create_table("protected_branch_merge_access_levels", {:force=>:cascade})
-> 0.1964s
-- add_index("protected_branch_merge_access_levels", ["protected_branch_id"], {:name=>"index_protected_branch_merge_access", :using=>:btree})
-> 0.1112s
-- create_table("protected_branch_push_access_levels", {:force=>:cascade})
-> 0.0195s
-- add_index("protected_branch_push_access_levels", ["protected_branch_id"], {:name=>"index_protected_branch_push_access", :using=>:btree})
-> 0.0069s
-- create_table("protected_branches", {:force=>:cascade})
-> 0.0113s
-- add_index("protected_branches", ["project_id"], {:name=>"index_protected_branches_on_project_id", :using=>:btree})
-> 0.0071s
-- create_table("protected_tag_create_access_levels", {:force=>:cascade})
-> 0.0180s
-- add_index("protected_tag_create_access_levels", ["protected_tag_id"], {:name=>"index_protected_tag_create_access", :using=>:btree})
-> 0.0068s
-- add_index("protected_tag_create_access_levels", ["user_id"], {:name=>"index_protected_tag_create_access_levels_on_user_id", :using=>:btree})
-> 0.0077s
-- create_table("protected_tags", {:force=>:cascade})
-> 0.0115s
-- add_index("protected_tags", ["project_id"], {:name=>"index_protected_tags_on_project_id", :using=>:btree})
-> 0.0081s
-- create_table("push_event_payloads", {:id=>false, :force=>:cascade})
-> 0.0108s
-- add_index("push_event_payloads", ["event_id"], {:name=>"index_push_event_payloads_on_event_id", :unique=>true, :using=>:btree})
-> 0.0189s
-- create_table("redirect_routes", {:force=>:cascade})
-> 0.0106s
-- add_index("redirect_routes", ["path"], {:name=>"index_redirect_routes_on_path", :unique=>true, :using=>:btree})
-> 0.0075s
-- add_index("redirect_routes", ["source_type", "source_id"], {:name=>"index_redirect_routes_on_source_type_and_source_id", :using=>:btree})
-> 0.0099s
-- create_table("releases", {:force=>:cascade})
-> 0.0126s
-- add_index("releases", ["project_id", "tag"], {:name=>"index_releases_on_project_id_and_tag", :using=>:btree})
-> 0.0066s
-- add_index("releases", ["project_id"], {:name=>"index_releases_on_project_id", :using=>:btree})
-> 0.0060s
-- create_table("routes", {:force=>:cascade})
-> 0.0091s
-- add_index("routes", ["path"], {:name=>"index_routes_on_path", :unique=>true, :using=>:btree})
-> 0.0073s
-- add_index("routes", ["path"], {:name=>"index_routes_on_path_text_pattern_ops", :using=>:btree, :opclasses=>{"path"=>"varchar_pattern_ops"}})
-> 0.0004s
-- add_index("routes", ["source_type", "source_id"], {:name=>"index_routes_on_source_type_and_source_id", :unique=>true, :using=>:btree})
-> 0.0111s
-- create_table("sent_notifications", {:force=>:cascade})
-> 0.0093s
-- add_index("sent_notifications", ["reply_key"], {:name=>"index_sent_notifications_on_reply_key", :unique=>true, :using=>:btree})
-> 0.0060s
-- create_table("services", {:force=>:cascade})
-> 0.0099s
-- add_index("services", ["project_id"], {:name=>"index_services_on_project_id", :using=>:btree})
-> 0.0068s
-- add_index("services", ["template"], {:name=>"index_services_on_template", :using=>:btree})
-> 0.0076s
-- create_table("snippets", {:force=>:cascade})
-> 0.0073s
-- add_index("snippets", ["author_id"], {:name=>"index_snippets_on_author_id", :using=>:btree})
-> 0.0055s
-- add_index("snippets", ["file_name"], {:name=>"index_snippets_on_file_name_trigram", :using=>:gin, :opclasses=>{"file_name"=>"gin_trgm_ops"}})
-> 0.0006s
-- add_index("snippets", ["project_id"], {:name=>"index_snippets_on_project_id", :using=>:btree})
-> 0.0058s
-- add_index("snippets", ["title"], {:name=>"index_snippets_on_title_trigram", :using=>:gin, :opclasses=>{"title"=>"gin_trgm_ops"}})
-> 0.0005s
-- add_index("snippets", ["updated_at"], {:name=>"index_snippets_on_updated_at", :using=>:btree})
-> 0.0100s
-- add_index("snippets", ["visibility_level"], {:name=>"index_snippets_on_visibility_level", :using=>:btree})
-> 0.0091s
-- create_table("spam_logs", {:force=>:cascade})
-> 0.0129s
-- create_table("subscriptions", {:force=>:cascade})
-> 0.0094s
-- add_index("subscriptions", ["subscribable_id", "subscribable_type", "user_id", "project_id"], {:name=>"index_subscriptions_on_subscribable_and_user_id_and_project_id", :unique=>true, :using=>:btree})
-> 0.0107s
-- create_table("system_note_metadata", {:force=>:cascade})
-> 0.0138s
-- add_index("system_note_metadata", ["note_id"], {:name=>"index_system_note_metadata_on_note_id", :unique=>true, :using=>:btree})
-> 0.0060s
-- create_table("taggings", {:force=>:cascade})
-> 0.0121s
-- add_index("taggings", ["tag_id", "taggable_id", "taggable_type", "context", "tagger_id", "tagger_type"], {:name=>"taggings_idx", :unique=>true, :using=>:btree})
-> 0.0078s
-- add_index("taggings", ["tag_id"], {:name=>"index_taggings_on_tag_id", :using=>:btree})
-> 0.0058s
-- add_index("taggings", ["taggable_id", "taggable_type", "context"], {:name=>"index_taggings_on_taggable_id_and_taggable_type_and_context", :using=>:btree})
-> 0.0059s
-- add_index("taggings", ["taggable_id", "taggable_type"], {:name=>"index_taggings_on_taggable_id_and_taggable_type", :using=>:btree})
-> 0.0056s
-- create_table("tags", {:force=>:cascade})
-> 0.0063s
-- add_index("tags", ["name"], {:name=>"index_tags_on_name", :unique=>true, :using=>:btree})
-> 0.0055s
-- create_table("timelogs", {:force=>:cascade})
-> 0.0061s
-- add_index("timelogs", ["issue_id"], {:name=>"index_timelogs_on_issue_id", :using=>:btree})
-> 0.0063s
-- add_index("timelogs", ["merge_request_id"], {:name=>"index_timelogs_on_merge_request_id", :using=>:btree})
-> 0.0052s
-- add_index("timelogs", ["user_id"], {:name=>"index_timelogs_on_user_id", :using=>:btree})
-> 0.0055s
-- create_table("todos", {:force=>:cascade})
-> 0.0065s
-- add_index("todos", ["author_id"], {:name=>"index_todos_on_author_id", :using=>:btree})
-> 0.0081s
-- add_index("todos", ["commit_id"], {:name=>"index_todos_on_commit_id", :using=>:btree})
-> 0.0085s
-- add_index("todos", ["note_id"], {:name=>"index_todos_on_note_id", :using=>:btree})
-> 0.0083s
-- add_index("todos", ["project_id"], {:name=>"index_todos_on_project_id", :using=>:btree})
-> 0.0094s
-- add_index("todos", ["target_type", "target_id"], {:name=>"index_todos_on_target_type_and_target_id", :using=>:btree})
-> 0.0070s
-- add_index("todos", ["user_id", "id"], {:name=>"index_todos_on_user_id_and_id_done", :where=>"((state)::text = 'done'::text)", :using=>:btree})
-> 0.0099s
-- add_index("todos", ["user_id", "id"], {:name=>"index_todos_on_user_id_and_id_pending", :where=>"((state)::text = 'pending'::text)", :using=>:btree})
-> 0.0080s
-- add_index("todos", ["user_id"], {:name=>"index_todos_on_user_id", :using=>:btree})
-> 0.0061s
-- create_table("trending_projects", {:force=>:cascade})
-> 0.0081s
-- add_index("trending_projects", ["project_id"], {:name=>"index_trending_projects_on_project_id", :unique=>true, :using=>:btree})
-> 0.0046s
-- create_table("u2f_registrations", {:force=>:cascade})
-> 0.0063s
-- add_index("u2f_registrations", ["key_handle"], {:name=>"index_u2f_registrations_on_key_handle", :using=>:btree})
-> 0.0052s
-- add_index("u2f_registrations", ["user_id"], {:name=>"index_u2f_registrations_on_user_id", :using=>:btree})
-> 0.0072s
-- create_table("uploads", {:force=>:cascade})
-> 0.0067s
-- add_index("uploads", ["checksum"], {:name=>"index_uploads_on_checksum", :using=>:btree})
-> 0.0046s
-- add_index("uploads", ["model_id", "model_type"], {:name=>"index_uploads_on_model_id_and_model_type", :using=>:btree})
-> 0.0049s
-- add_index("uploads", ["uploader", "path"], {:name=>"index_uploads_on_uploader_and_path", :using=>:btree})
-> 0.0052s
-- create_table("user_agent_details", {:force=>:cascade})
-> 0.0059s
-- add_index("user_agent_details", ["subject_id", "subject_type"], {:name=>"index_user_agent_details_on_subject_id_and_subject_type", :using=>:btree})
-> 0.0052s
-- create_table("user_callouts", {:force=>:cascade})
-> 0.0059s
-- add_index("user_callouts", ["user_id", "feature_name"], {:name=>"index_user_callouts_on_user_id_and_feature_name", :unique=>true, :using=>:btree})
-> 0.0094s
-- add_index("user_callouts", ["user_id"], {:name=>"index_user_callouts_on_user_id", :using=>:btree})
-> 0.0064s
-- create_table("user_custom_attributes", {:force=>:cascade})
-> 0.0086s
-- add_index("user_custom_attributes", ["key", "value"], {:name=>"index_user_custom_attributes_on_key_and_value", :using=>:btree})
-> 0.0080s
-- add_index("user_custom_attributes", ["user_id", "key"], {:name=>"index_user_custom_attributes_on_user_id_and_key", :unique=>true, :using=>:btree})
-> 0.0066s
-- create_table("user_interacted_projects", {:id=>false, :force=>:cascade})
-> 0.0108s
-- add_index("user_interacted_projects", ["project_id", "user_id"], {:name=>"index_user_interacted_projects_on_project_id_and_user_id", :unique=>true, :using=>:btree})
-> 0.0114s
-- add_index("user_interacted_projects", ["user_id"], {:name=>"index_user_interacted_projects_on_user_id", :using=>:btree})
-> 0.0056s
-- create_table("user_synced_attributes_metadata", {:force=>:cascade})
-> 0.0115s
-- add_index("user_synced_attributes_metadata", ["user_id"], {:name=>"index_user_synced_attributes_metadata_on_user_id", :unique=>true, :using=>:btree})
-> 0.0054s
-- create_table("users", {:force=>:cascade})
-> 0.0111s
-- add_index("users", ["admin"], {:name=>"index_users_on_admin", :using=>:btree})
-> 0.0065s
-- add_index("users", ["confirmation_token"], {:name=>"index_users_on_confirmation_token", :unique=>true, :using=>:btree})
-> 0.0065s
-- add_index("users", ["created_at"], {:name=>"index_users_on_created_at", :using=>:btree})
-> 0.0068s
-- add_index("users", ["email"], {:name=>"index_users_on_email", :unique=>true, :using=>:btree})
-> 0.0066s
-- add_index("users", ["email"], {:name=>"index_users_on_email_trigram", :using=>:gin, :opclasses=>{"email"=>"gin_trgm_ops"}})
-> 0.0011s
-- add_index("users", ["ghost"], {:name=>"index_users_on_ghost", :using=>:btree})
-> 0.0063s
-- add_index("users", ["incoming_email_token"], {:name=>"index_users_on_incoming_email_token", :using=>:btree})
-> 0.0057s
-- add_index("users", ["name"], {:name=>"index_users_on_name", :using=>:btree})
-> 0.0056s
-- add_index("users", ["name"], {:name=>"index_users_on_name_trigram", :using=>:gin, :opclasses=>{"name"=>"gin_trgm_ops"}})
-> 0.0011s
-- add_index("users", ["reset_password_token"], {:name=>"index_users_on_reset_password_token", :unique=>true, :using=>:btree})
-> 0.0055s
-- add_index("users", ["rss_token"], {:name=>"index_users_on_rss_token", :using=>:btree})
-> 0.0068s
-- add_index("users", ["state"], {:name=>"index_users_on_state", :using=>:btree})
-> 0.0067s
-- add_index("users", ["username"], {:name=>"index_users_on_username", :using=>:btree})
-> 0.0072s
-- add_index("users", ["username"], {:name=>"index_users_on_username_trigram", :using=>:gin, :opclasses=>{"username"=>"gin_trgm_ops"}})
-> 0.0012s
-- create_table("users_star_projects", {:force=>:cascade})
-> 0.0100s
-- add_index("users_star_projects", ["project_id"], {:name=>"index_users_star_projects_on_project_id", :using=>:btree})
-> 0.0061s
-- add_index("users_star_projects", ["user_id", "project_id"], {:name=>"index_users_star_projects_on_user_id_and_project_id", :unique=>true, :using=>:btree})
-> 0.0068s
-- create_table("web_hook_logs", {:force=>:cascade})
-> 0.0097s
-- add_index("web_hook_logs", ["web_hook_id"], {:name=>"index_web_hook_logs_on_web_hook_id", :using=>:btree})
-> 0.0057s
-- create_table("web_hooks", {:force=>:cascade})
-> 0.0080s
-- add_index("web_hooks", ["project_id"], {:name=>"index_web_hooks_on_project_id", :using=>:btree})
-> 0.0062s
-- add_index("web_hooks", ["type"], {:name=>"index_web_hooks_on_type", :using=>:btree})
-> 0.0065s
-- add_foreign_key("badges", "namespaces", {:column=>"group_id", :on_delete=>:cascade})
-> 0.0158s
-- add_foreign_key("badges", "projects", {:on_delete=>:cascade})
-> 0.0140s
-- add_foreign_key("boards", "namespaces", {:column=>"group_id", :on_delete=>:cascade})
-> 0.0138s
-- add_foreign_key("boards", "projects", {:name=>"fk_f15266b5f9", :on_delete=>:cascade})
-> 0.0118s
-- add_foreign_key("chat_teams", "namespaces", {:on_delete=>:cascade})
-> 0.0130s
-- add_foreign_key("ci_build_trace_section_names", "projects", {:on_delete=>:cascade})
-> 0.0131s
-- add_foreign_key("ci_build_trace_sections", "ci_build_trace_section_names", {:column=>"section_name_id", :name=>"fk_264e112c66", :on_delete=>:cascade})
-> 0.0210s
-- add_foreign_key("ci_build_trace_sections", "ci_builds", {:column=>"build_id", :name=>"fk_4ebe41f502", :on_delete=>:cascade})
-> 0.0823s
-- add_foreign_key("ci_build_trace_sections", "projects", {:on_delete=>:cascade})
-> 0.0942s
-- add_foreign_key("ci_builds", "ci_pipelines", {:column=>"auto_canceled_by_id", :name=>"fk_a2141b1522", :on_delete=>:nullify})
-> 0.1346s
-- add_foreign_key("ci_builds", "ci_stages", {:column=>"stage_id", :name=>"fk_3a9eaa254d", :on_delete=>:cascade})
-> 0.0506s
-- add_foreign_key("ci_builds", "projects", {:name=>"fk_befce0568a", :on_delete=>:cascade})
-> 0.0403s
-- add_foreign_key("ci_builds_metadata", "ci_builds", {:column=>"build_id", :on_delete=>:cascade})
-> 0.0160s
-- add_foreign_key("ci_builds_metadata", "projects", {:on_delete=>:cascade})
-> 0.0165s
-- add_foreign_key("ci_group_variables", "namespaces", {:column=>"group_id", :name=>"fk_33ae4d58d8", :on_delete=>:cascade})
-> 0.0153s
-- add_foreign_key("ci_job_artifacts", "ci_builds", {:column=>"job_id", :on_delete=>:cascade})
-> 0.0160s
-- add_foreign_key("ci_job_artifacts", "projects", {:on_delete=>:cascade})
-> 0.0278s
-- add_foreign_key("ci_pipeline_schedule_variables", "ci_pipeline_schedules", {:column=>"pipeline_schedule_id", :name=>"fk_41c35fda51", :on_delete=>:cascade})
-> 0.0193s
-- add_foreign_key("ci_pipeline_schedules", "projects", {:name=>"fk_8ead60fcc4", :on_delete=>:cascade})
-> 0.0184s
-- add_foreign_key("ci_pipeline_schedules", "users", {:column=>"owner_id", :name=>"fk_9ea99f58d2", :on_delete=>:nullify})
-> 0.0158s
-- add_foreign_key("ci_pipeline_variables", "ci_pipelines", {:column=>"pipeline_id", :name=>"fk_f29c5f4380", :on_delete=>:cascade})
-> 0.0097s
-- add_foreign_key("ci_pipelines", "ci_pipeline_schedules", {:column=>"pipeline_schedule_id", :name=>"fk_3d34ab2e06", :on_delete=>:nullify})
-> 0.0693s
-- add_foreign_key("ci_pipelines", "ci_pipelines", {:column=>"auto_canceled_by_id", :name=>"fk_262d4c2d19", :on_delete=>:nullify})
-> 0.1599s
-- add_foreign_key("ci_pipelines", "projects", {:name=>"fk_86635dbd80", :on_delete=>:cascade})
-> 0.1505s
-- add_foreign_key("ci_runner_projects", "projects", {:name=>"fk_4478a6f1e4", :on_delete=>:cascade})
-> 0.0984s
-- add_foreign_key("ci_stages", "ci_pipelines", {:column=>"pipeline_id", :name=>"fk_fb57e6cc56", :on_delete=>:cascade})
-> 0.1152s
-- add_foreign_key("ci_stages", "projects", {:name=>"fk_2360681d1d", :on_delete=>:cascade})
-> 0.1062s
-- add_foreign_key("ci_trigger_requests", "ci_triggers", {:column=>"trigger_id", :name=>"fk_b8ec8b7245", :on_delete=>:cascade})
-> 0.0455s
-- add_foreign_key("ci_triggers", "projects", {:name=>"fk_e3e63f966e", :on_delete=>:cascade})
-> 0.0725s
-- add_foreign_key("ci_triggers", "users", {:column=>"owner_id", :name=>"fk_e8e10d1964", :on_delete=>:cascade})
-> 0.0774s
-- add_foreign_key("ci_variables", "projects", {:name=>"fk_ada5eb64b3", :on_delete=>:cascade})
-> 0.0626s
-- add_foreign_key("cluster_platforms_kubernetes", "clusters", {:on_delete=>:cascade})
-> 0.0529s
-- add_foreign_key("cluster_projects", "clusters", {:on_delete=>:cascade})
-> 0.0678s
-- add_foreign_key("cluster_projects", "projects", {:on_delete=>:cascade})
-> 0.0391s
-- add_foreign_key("cluster_providers_gcp", "clusters", {:on_delete=>:cascade})
-> 0.0328s
-- add_foreign_key("clusters", "users", {:on_delete=>:nullify})
-> 0.1266s
-- add_foreign_key("clusters_applications_helm", "clusters", {:on_delete=>:cascade})
-> 0.0489s
-- add_foreign_key("clusters_applications_ingress", "clusters", {:name=>"fk_753a7b41c1", :on_delete=>:cascade})
-> 0.0565s
-- add_foreign_key("clusters_applications_prometheus", "clusters", {:name=>"fk_557e773639", :on_delete=>:cascade})
-> 0.0174s
-- add_foreign_key("clusters_applications_runners", "ci_runners", {:column=>"runner_id", :name=>"fk_02de2ded36", :on_delete=>:nullify})
-> 0.0182s
-- add_foreign_key("clusters_applications_runners", "clusters", {:on_delete=>:cascade})
-> 0.0208s
-- add_foreign_key("container_repositories", "projects")
-> 0.0186s
-- add_foreign_key("deploy_keys_projects", "projects", {:name=>"fk_58a901ca7e", :on_delete=>:cascade})
-> 0.0140s
-- add_foreign_key("deployments", "projects", {:name=>"fk_b9a3851b82", :on_delete=>:cascade})
-> 0.0328s
-- add_foreign_key("environments", "projects", {:name=>"fk_d1c8c1da6a", :on_delete=>:cascade})
-> 0.0221s
-- add_foreign_key("events", "projects", {:on_delete=>:cascade})
-> 0.0212s
-- add_foreign_key("events", "users", {:column=>"author_id", :name=>"fk_edfd187b6f", :on_delete=>:cascade})
-> 0.0150s
-- add_foreign_key("fork_network_members", "fork_networks", {:on_delete=>:cascade})
-> 0.0134s
-- add_foreign_key("fork_network_members", "projects", {:column=>"forked_from_project_id", :name=>"fk_b01280dae4", :on_delete=>:nullify})
-> 0.0200s
-- add_foreign_key("fork_network_members", "projects", {:on_delete=>:cascade})
-> 0.0162s
-- add_foreign_key("fork_networks", "projects", {:column=>"root_project_id", :name=>"fk_e7b436b2b5", :on_delete=>:nullify})
-> 0.0138s
-- add_foreign_key("forked_project_links", "projects", {:column=>"forked_to_project_id", :name=>"fk_434510edb0", :on_delete=>:cascade})
-> 0.0137s
-- add_foreign_key("gcp_clusters", "projects", {:on_delete=>:cascade})
-> 0.0148s
-- add_foreign_key("gcp_clusters", "services", {:on_delete=>:nullify})
-> 0.0216s
-- add_foreign_key("gcp_clusters", "users", {:on_delete=>:nullify})
-> 0.0156s
-- add_foreign_key("gpg_key_subkeys", "gpg_keys", {:on_delete=>:cascade})
-> 0.0139s
-- add_foreign_key("gpg_keys", "users", {:on_delete=>:cascade})
-> 0.0142s
-- add_foreign_key("gpg_signatures", "gpg_key_subkeys", {:on_delete=>:nullify})
-> 0.0216s
-- add_foreign_key("gpg_signatures", "gpg_keys", {:on_delete=>:nullify})
-> 0.0211s
-- add_foreign_key("gpg_signatures", "projects", {:on_delete=>:cascade})
-> 0.0215s
-- add_foreign_key("group_custom_attributes", "namespaces", {:column=>"group_id", :on_delete=>:cascade})
-> 0.0174s
-- add_foreign_key("internal_ids", "projects", {:on_delete=>:cascade})
-> 0.0143s
-- add_foreign_key("issue_assignees", "issues", {:name=>"fk_b7d881734a", :on_delete=>:cascade})
-> 0.0139s
-- add_foreign_key("issue_assignees", "users", {:name=>"fk_5e0c8d9154", :on_delete=>:cascade})
-> 0.0138s
-- add_foreign_key("issue_metrics", "issues", {:on_delete=>:cascade})
-> 0.0106s
-- add_foreign_key("issues", "issues", {:column=>"moved_to_id", :name=>"fk_a194299be1", :on_delete=>:nullify})
-> 0.0366s
-- add_foreign_key("issues", "milestones", {:name=>"fk_96b1dd429c", :on_delete=>:nullify})
-> 0.0309s
-- add_foreign_key("issues", "projects", {:name=>"fk_899c8f3231", :on_delete=>:cascade})
-> 0.0314s
-- add_foreign_key("issues", "users", {:column=>"author_id", :name=>"fk_05f1e72feb", :on_delete=>:nullify})
-> 0.0504s
-- add_foreign_key("issues", "users", {:column=>"closed_by_id", :name=>"fk_c63cbf6c25", :on_delete=>:nullify})
-> 0.0428s
-- add_foreign_key("issues", "users", {:column=>"updated_by_id", :name=>"fk_ffed080f01", :on_delete=>:nullify})
-> 0.0333s
-- add_foreign_key("label_priorities", "labels", {:on_delete=>:cascade})
-> 0.0143s
-- add_foreign_key("label_priorities", "projects", {:on_delete=>:cascade})
-> 0.0160s
-- add_foreign_key("labels", "namespaces", {:column=>"group_id", :on_delete=>:cascade})
-> 0.0176s
-- add_foreign_key("labels", "projects", {:name=>"fk_7de4989a69", :on_delete=>:cascade})
-> 0.0216s
-- add_foreign_key("lfs_file_locks", "projects", {:on_delete=>:cascade})
-> 0.0144s
-- add_foreign_key("lfs_file_locks", "users", {:on_delete=>:cascade})
-> 0.0178s
-- add_foreign_key("lists", "boards", {:name=>"fk_0d3f677137", :on_delete=>:cascade})
-> 0.0161s
-- add_foreign_key("lists", "labels", {:name=>"fk_7a5553d60f", :on_delete=>:cascade})
-> 0.0137s
-- add_foreign_key("members", "users", {:name=>"fk_2e88fb7ce9", :on_delete=>:cascade})
-> 0.0171s
-- add_foreign_key("merge_request_diff_commits", "merge_request_diffs", {:on_delete=>:cascade})
-> 0.0143s
-- add_foreign_key("merge_request_diff_files", "merge_request_diffs", {:on_delete=>:cascade})
-> 0.0106s
-- add_foreign_key("merge_request_diffs", "merge_requests", {:name=>"fk_8483f3258f", :on_delete=>:cascade})
-> 0.0119s
-- add_foreign_key("merge_request_metrics", "ci_pipelines", {:column=>"pipeline_id", :on_delete=>:cascade})
-> 0.0163s
-- add_foreign_key("merge_request_metrics", "merge_requests", {:on_delete=>:cascade})
-> 0.0204s
-- add_foreign_key("merge_request_metrics", "users", {:column=>"latest_closed_by_id", :name=>"fk_ae440388cc", :on_delete=>:nullify})
-> 0.0196s
-- add_foreign_key("merge_request_metrics", "users", {:column=>"merged_by_id", :name=>"fk_7f28d925f3", :on_delete=>:nullify})
-> 0.0202s
-- add_foreign_key("merge_requests", "ci_pipelines", {:column=>"head_pipeline_id", :name=>"fk_fd82eae0b9", :on_delete=>:nullify})
-> 0.0394s
-- add_foreign_key("merge_requests", "merge_request_diffs", {:column=>"latest_merge_request_diff_id", :name=>"fk_06067f5644", :on_delete=>:nullify})
-> 0.0532s
-- add_foreign_key("merge_requests", "milestones", {:name=>"fk_6a5165a692", :on_delete=>:nullify})
-> 0.0291s
-- add_foreign_key("merge_requests", "projects", {:column=>"source_project_id", :name=>"fk_3308fe130c", :on_delete=>:nullify})
-> 0.0278s
-- add_foreign_key("merge_requests", "projects", {:column=>"target_project_id", :name=>"fk_a6963e8447", :on_delete=>:cascade})
-> 0.0367s
-- add_foreign_key("merge_requests", "users", {:column=>"assignee_id", :name=>"fk_6149611a04", :on_delete=>:nullify})
-> 0.0327s
-- add_foreign_key("merge_requests", "users", {:column=>"author_id", :name=>"fk_e719a85f8a", :on_delete=>:nullify})
-> 0.0337s
-- add_foreign_key("merge_requests", "users", {:column=>"merge_user_id", :name=>"fk_ad525e1f87", :on_delete=>:nullify})
-> 0.0517s
-- add_foreign_key("merge_requests", "users", {:column=>"updated_by_id", :name=>"fk_641731faff", :on_delete=>:nullify})
-> 0.0335s
-- add_foreign_key("merge_requests_closing_issues", "issues", {:on_delete=>:cascade})
-> 0.0167s
-- add_foreign_key("merge_requests_closing_issues", "merge_requests", {:on_delete=>:cascade})
-> 0.0191s
-- add_foreign_key("milestones", "namespaces", {:column=>"group_id", :name=>"fk_95650a40d4", :on_delete=>:cascade})
-> 0.0206s
-- add_foreign_key("milestones", "projects", {:name=>"fk_9bd0a0c791", :on_delete=>:cascade})
-> 0.0221s
-- add_foreign_key("notes", "projects", {:name=>"fk_99e097b079", :on_delete=>:cascade})
-> 0.0332s
-- add_foreign_key("oauth_openid_requests", "oauth_access_grants", {:column=>"access_grant_id", :name=>"fk_oauth_openid_requests_oauth_access_grants_access_grant_id"})
-> 0.0128s
-- add_foreign_key("pages_domains", "projects", {:name=>"fk_ea2f6dfc6f", :on_delete=>:cascade})
-> 0.0220s
-- add_foreign_key("personal_access_tokens", "users")
-> 0.0187s
-- add_foreign_key("project_authorizations", "projects", {:on_delete=>:cascade})
-> 0.0149s
-- add_foreign_key("project_authorizations", "users", {:on_delete=>:cascade})
-> 0.0167s
-- add_foreign_key("project_auto_devops", "projects", {:on_delete=>:cascade})
-> 0.0142s
-- add_foreign_key("project_custom_attributes", "projects", {:on_delete=>:cascade})
-> 0.0218s
-- add_foreign_key("project_features", "projects", {:name=>"fk_18513d9b92", :on_delete=>:cascade})
-> 0.0204s
-- add_foreign_key("project_group_links", "projects", {:name=>"fk_daa8cee94c", :on_delete=>:cascade})
-> 0.0174s
-- add_foreign_key("project_import_data", "projects", {:name=>"fk_ffb9ee3a10", :on_delete=>:cascade})
-> 0.0138s
-- add_foreign_key("project_statistics", "projects", {:on_delete=>:cascade})
-> 0.0125s
-- add_foreign_key("protected_branch_merge_access_levels", "protected_branches", {:name=>"fk_8a3072ccb3", :on_delete=>:cascade})
-> 0.0157s
-- add_foreign_key("protected_branch_push_access_levels", "protected_branches", {:name=>"fk_9ffc86a3d9", :on_delete=>:cascade})
-> 0.0112s
-- add_foreign_key("protected_branches", "projects", {:name=>"fk_7a9c6d93e7", :on_delete=>:cascade})
-> 0.0122s
-- add_foreign_key("protected_tag_create_access_levels", "namespaces", {:column=>"group_id"})
-> 0.0131s
-- add_foreign_key("protected_tag_create_access_levels", "protected_tags", {:name=>"fk_f7dfda8c51", :on_delete=>:cascade})
-> 0.0168s
-- add_foreign_key("protected_tag_create_access_levels", "users")
-> 0.0221s
-- add_foreign_key("protected_tags", "projects", {:name=>"fk_8e4af87648", :on_delete=>:cascade})
-> 0.0135s
-- add_foreign_key("push_event_payloads", "events", {:name=>"fk_36c74129da", :on_delete=>:cascade})
-> 0.0107s
-- add_foreign_key("releases", "projects", {:name=>"fk_47fe2a0596", :on_delete=>:cascade})
-> 0.0131s
-- add_foreign_key("services", "projects", {:name=>"fk_71cce407f9", :on_delete=>:cascade})
-> 0.0142s
-- add_foreign_key("snippets", "projects", {:name=>"fk_be41fd4bb7", :on_delete=>:cascade})
-> 0.0178s
-- add_foreign_key("subscriptions", "projects", {:on_delete=>:cascade})
-> 0.0160s
-- add_foreign_key("system_note_metadata", "notes", {:name=>"fk_d83a918cb1", :on_delete=>:cascade})
-> 0.0156s
-- add_foreign_key("timelogs", "issues", {:name=>"fk_timelogs_issues_issue_id", :on_delete=>:cascade})
-> 0.0183s
-- add_foreign_key("timelogs", "merge_requests", {:name=>"fk_timelogs_merge_requests_merge_request_id", :on_delete=>:cascade})
-> 0.0198s
-- add_foreign_key("todos", "notes", {:name=>"fk_91d1f47b13", :on_delete=>:cascade})
-> 0.0276s
-- add_foreign_key("todos", "projects", {:name=>"fk_45054f9c45", :on_delete=>:cascade})
-> 0.0175s
-- add_foreign_key("todos", "users", {:column=>"author_id", :name=>"fk_ccf0373936", :on_delete=>:cascade})
-> 0.0182s
-- add_foreign_key("todos", "users", {:name=>"fk_d94154aa95", :on_delete=>:cascade})
-> 0.0184s
-- add_foreign_key("trending_projects", "projects", {:on_delete=>:cascade})
-> 0.0338s
-- add_foreign_key("u2f_registrations", "users")
-> 0.0176s
-- add_foreign_key("user_callouts", "users", {:on_delete=>:cascade})
-> 0.0160s
-- add_foreign_key("user_custom_attributes", "users", {:on_delete=>:cascade})
-> 0.0191s
-- add_foreign_key("user_interacted_projects", "projects", {:name=>"fk_722ceba4f7", :on_delete=>:cascade})
-> 0.0171s
-- add_foreign_key("user_interacted_projects", "users", {:name=>"fk_0894651f08", :on_delete=>:cascade})
-> 0.0155s
-- add_foreign_key("user_synced_attributes_metadata", "users", {:on_delete=>:cascade})
-> 0.0164s
-- add_foreign_key("users_star_projects", "projects", {:name=>"fk_22cd27ddfc", :on_delete=>:cascade})
-> 0.0180s
-- add_foreign_key("web_hook_logs", "web_hooks", {:on_delete=>:cascade})
-> 0.0164s
-- add_foreign_key("web_hooks", "projects", {:name=>"fk_0c8ca6d9d1", :on_delete=>:cascade})
-> 0.0172s
-- initialize_schema_migrations_table()
-> 0.0212s
Adding limits to schema.rb for mysql
-- column_exists?(:merge_request_diffs, :st_commits)
-> 0.0010s
-- column_exists?(:merge_request_diffs, :st_diffs)
-> 0.0006s
-- change_column(:snippets, :content, :text, {:limit=>2147483647})
-> 0.0308s
-- change_column(:notes, :st_diff, :text, {:limit=>2147483647})
-> 0.0366s
-- change_column(:snippets, :content_html, :text, {:limit=>2147483647})
-> 0.0272s
-- change_column(:merge_request_diff_files, :diff, :text, {:limit=>2147483647})
-> 0.0170s
[32;1m$ date[0;m
Thu Apr 5 11:19:41 UTC 2018
[32;1m$ JOB_NAME=( $CI_JOB_NAME )[0;m
[32;1m$ export CI_NODE_INDEX=${JOB_NAME[-2]}[0;m
[32;1m$ export CI_NODE_TOTAL=${JOB_NAME[-1]}[0;m
[32;1m$ export KNAPSACK_REPORT_PATH=knapsack/${CI_PROJECT_NAME}/${JOB_NAME[0]}_node_${CI_NODE_INDEX}_${CI_NODE_TOTAL}_report.json[0;m
[32;1m$ export KNAPSACK_GENERATE_REPORT=true[0;m
[32;1m$ export SUITE_FLAKY_RSPEC_REPORT_PATH=${FLAKY_RSPEC_SUITE_REPORT_PATH}[0;m
[32;1m$ export FLAKY_RSPEC_REPORT_PATH=rspec_flaky/all_${JOB_NAME[0]}_${CI_NODE_INDEX}_${CI_NODE_TOTAL}_report.json[0;m
[32;1m$ export NEW_FLAKY_RSPEC_REPORT_PATH=rspec_flaky/new_${JOB_NAME[0]}_${CI_NODE_INDEX}_${CI_NODE_TOTAL}_report.json[0;m
[32;1m$ export FLAKY_RSPEC_GENERATE_REPORT=true[0;m
[32;1m$ export CACHE_CLASSES=true[0;m
[32;1m$ cp ${KNAPSACK_RSPEC_SUITE_REPORT_PATH} ${KNAPSACK_REPORT_PATH}[0;m
[32;1m$ [[ -f $FLAKY_RSPEC_REPORT_PATH ]] || echo "{}" > ${FLAKY_RSPEC_REPORT_PATH}[0;m
[32;1m$ [[ -f $NEW_FLAKY_RSPEC_REPORT_PATH ]] || echo "{}" > ${NEW_FLAKY_RSPEC_REPORT_PATH}[0;m
[32;1m$ scripts/gitaly-test-spawn[0;m
59
[32;1m$ knapsack rspec "--color --format documentation"[0;m
Report specs:
spec/services/todo_service_spec.rb
spec/lib/gitlab/import_export/project_tree_saver_spec.rb
spec/lib/gitlab/background_migration/deserialize_merge_request_diffs_and_commits_spec.rb
spec/controllers/projects/merge_requests_controller_spec.rb
spec/controllers/groups_controller_spec.rb
spec/features/projects/import_export/import_file_spec.rb
spec/lib/gitlab/middleware/go_spec.rb
spec/services/groups/transfer_service_spec.rb
spec/features/projects/blobs/edit_spec.rb
spec/services/boards/lists/move_service_spec.rb
spec/services/create_deployment_service_spec.rb
spec/controllers/groups/milestones_controller_spec.rb
spec/helpers/groups_helper_spec.rb
spec/requests/api/v3/todos_spec.rb
spec/models/project_services/teamcity_service_spec.rb
spec/lib/gitlab/conflict/file_spec.rb
spec/lib/banzai/filter/snippet_reference_filter_spec.rb
spec/finders/autocomplete_users_finder_spec.rb
spec/models/service_spec.rb
spec/services/test_hooks/project_service_spec.rb
spec/features/projects/merge_requests/user_views_open_merge_request_spec.rb
spec/finders/runner_jobs_finder_spec.rb
spec/features/projects/snippets_spec.rb
spec/requests/api/v3/environments_spec.rb
spec/requests/api/namespaces_spec.rb
spec/services/merge_requests/get_urls_service_spec.rb
spec/models/lfs_file_lock_spec.rb
spec/lib/gitlab/ci/config/entry/boolean_spec.rb
Leftover specs:
Knapsack report generator started!
==> Setting up GitLab Shell...
GitLab Shell setup in 0.307428917 seconds...
==> Setting up Gitaly...
Gitaly setup in 0.000135767 seconds...
TodoService
updates cached counts when a todo is created
Issues
#new_issue
creates a todo if assigned
does not create a todo if unassigned
creates a todo if assignee is the current user
creates a todo for each valid mentioned user
creates a directly addressed todo for each valid addressed user
creates correct todos for each valid user based on the type of mention
does not create todo if user can not see the issue when issue is confidential
does not create directly addressed todo if user cannot see the issue when issue is confidential
when a private group is mentioned
creates a todo for group members
#update_issue
creates a todo for each valid mentioned user not included in skip_users
creates a todo for each valid user not included in skip_users based on the type of mention
creates a directly addressed todo for each valid addressed user not included in skip_users
does not create a todo if user was already mentioned and todo is pending
does not create a todo if user was already mentioned and todo is done
does not create a directly addressed todo if user was already mentioned or addressed and todo is pending
does not create a directly addressed todo if user was already mentioned or addressed and todo is done
does not create todo if user can not see the issue when issue is confidential
does not create a directly addressed todo if user can not see the issue when issue is confidential
issues with a task list
does not create todo when tasks are marked as completed
does not create directly addressed todo when tasks are marked as completed
does not raise an error when description not change
#close_issue
marks related pending todos to the target for the user as done
#destroy_target
refreshes the todos count cache for users with todos on the target
does not refresh the todos count cache for users with only done todos on the target
yields the target to the caller
#reassigned_issue
creates a pending todo for new assignee
does not create a todo if unassigned
creates a todo if new assignee is the current user
#mark_pending_todos_as_done
marks related pending todos to the target for the user as done
cached counts
updates when todos change
#mark_todos_as_done
behaves like updating todos state
updates related todos for the user with the new_state
returns the updated ids
cached counts
updates when todos change
#mark_todos_as_done_by_ids
behaves like updating todos state
updates related todos for the user with the new_state
returns the updated ids
cached counts
updates when todos change
#mark_todos_as_pending
behaves like updating todos state
updates related todos for the user with the new_state
returns the updated ids
cached counts
updates when todos change
#mark_todos_as_pending_by_ids
behaves like updating todos state
updates related todos for the user with the new_state
returns the updated ids
cached counts
updates when todos change
#new_note
mark related pending todos to the noteable for the note author as done
does not mark related pending todos it is a system note
creates a todo for each valid mentioned user
creates a todo for each valid user based on the type of mention
creates a directly addressed todo for each valid addressed user
does not create todo if user can not see the issue when leaving a note on a confidential issue
does not create a directly addressed todo if user can not see the issue when leaving a note on a confidential issue
does not create todo when leaving a note on snippet
on commit
creates a todo for each valid mentioned user when leaving a note on commit
creates a directly addressed todo for each valid mentioned user when leaving a note on commit
#mark_todo
creates a todo from a issue
#todo_exists?
returns false when no todo exist for the given issuable
returns true when a todo exist for the given issuable
Merge Requests
#new_merge_request
creates a pending todo if assigned
does not create a todo if unassigned
does not create a todo if assignee is the current user
creates a todo for each valid mentioned user
creates a todo for each valid user based on the type of mention
creates a directly addressed todo for each valid addressed user
#update_merge_request
creates a todo for each valid mentioned user not included in skip_users
creates a todo for each valid user not included in skip_users based on the type of mention
creates a directly addressed todo for each valid addressed user not included in skip_users
does not create a todo if user was already mentioned and todo is pending
does not create a todo if user was already mentioned and todo is done
does not create a directly addressed todo if user was already mentioned or addressed and todo is pending
does not create a directly addressed todo if user was already mentioned or addressed and todo is done
with a task list
does not create todo when tasks are marked as completed
does not create directly addressed todo when tasks are marked as completed
does not raise an error when description not change
#close_merge_request
marks related pending todos to the target for the user as done
#reassigned_merge_request
creates a pending todo for new assignee
does not create a todo if unassigned
creates a todo if new assignee is the current user
does not create a todo for guests
does not create a directly addressed todo for guests
#merge_merge_request
marks related pending todos to the target for the user as done
does not create todo for guests
does not create directly addressed todo for guests
#new_award_emoji
marks related pending todos to the target for the user as done
#merge_request_build_failed
creates a pending todo for the merge request author
creates a pending todo for merge_user
#merge_request_push
marks related pending todos to the target for the user as done
#merge_request_became_unmergeable
creates a pending todo for a merge_user
#mark_todo
creates a todo from a merge request
#new_note
creates a todo for mentioned user on new diff note
creates a directly addressed todo for addressed user on new diff note
creates a todo for mentioned user on legacy diff note
does not create todo for guests
#update_note
creates a todo for each valid mentioned user not included in skip_users
creates a todo for each valid user not included in skip_users based on the type of mention
creates a directly addressed todo for each valid addressed user not included in skip_users
does not create a todo if user was already mentioned and todo is pending
does not create a todo if user was already mentioned and todo is done
does not create a directly addressed todo if user was already mentioned or addressed and todo is pending
does not create a directly addressed todo if user was already mentioned or addressed and todo is done
#mark_todos_as_done
marks a relation of todos as done
marks an array of todos as done
returns the ids of updated todos
when some of the todos are done already
returns the ids of those still pending
returns an empty array if all are done
#mark_todos_as_done_by_ids
marks an array of todo ids as done
marks a single todo id as done
caches the number of todos of a user
Gitlab::ImportExport::ProjectTreeSaver
saves the project tree into a json object
saves project successfully
JSON
saves the correct json
has milestones
has merge requests
has merge request's milestones
has merge request's source branch SHA
has merge request's target branch SHA
has events
has snippets
has snippet notes
has releases
has issues
has issue comments
has issue assignees
has author on issue comments
has project members
has merge requests diffs
has merge request diff files
has merge request diff commits
has merge requests comments
has author on merge requests comments
has pipeline stages
has pipeline statuses
has pipeline builds
has no when YML attributes but only the DB column
has pipeline commits
has ci pipeline notes
has labels with no associations
has labels associated to records
has project and group labels
has priorities associated to labels
saves the correct service type
saves the properties for a service
has project feature
has custom attributes
has badges
does not complain about non UTF-8 characters in MR diff files
with description override
overrides the project description
group members
does not export group members if it has no permission
does not export group members as maintainer
exports group members as group owner
as admin
exports group members as admin
exports group members as project members
project attributes
contains the html description
does not contain the runners token
Gitlab::BackgroundMigration::DeserializeMergeRequestDiffsAndCommits
#perform
when the diff IDs passed do not exist
does not raise
when the merge request diff has no serialised commits or diffs
does not raise
processing multiple merge request diffs
when BUFFER_ROWS is exceeded
inserts commit rows in chunks of BUFFER_ROWS
inserts diff rows in chunks of DIFF_FILE_BUFFER_ROWS
when BUFFER_ROWS is not exceeded
only updates once
when some rows were already inserted due to a previous failure
does not raise
logs a message
ends up with the correct rows
when the merge request diff update fails
raises an error
logs the error
still adds diff commits
still adds diff files
when the merge request diff has valid commits and diffs
creates correct entries in the merge_request_diff_commits table
creates correct entries in the merge_request_diff_files table
sets the st_commits and st_diffs columns to nil
when the merge request diff has diffs but no commits
creates correct entries in the merge_request_diff_commits table
creates correct entries in the merge_request_diff_files table
sets the st_commits and st_diffs columns to nil
when the merge request diffs do not have too_large set
creates correct entries in the merge_request_diff_commits table
creates correct entries in the merge_request_diff_files table
sets the st_commits and st_diffs columns to nil
when the merge request diffs do not have a_mode and b_mode set
creates correct entries in the merge_request_diff_commits table
creates correct entries in the merge_request_diff_files table
sets the st_commits and st_diffs columns to nil
when the merge request diffs have binary content
creates correct entries in the merge_request_diff_commits table
creates correct entries in the merge_request_diff_files table
sets the st_commits and st_diffs columns to nil
when the merge request diff has commits, but no diffs
creates correct entries in the merge_request_diff_commits table
creates correct entries in the merge_request_diff_files table
sets the st_commits and st_diffs columns to nil
when the merge request diffs have invalid content
creates correct entries in the merge_request_diff_commits table
creates correct entries in the merge_request_diff_files table
sets the st_commits and st_diffs columns to nil
when the merge request diffs are Rugged::Patch instances
creates correct entries in the merge_request_diff_commits table
creates correct entries in the merge_request_diff_files table
sets the st_commits and st_diffs columns to nil
when the merge request diffs are Rugged::Diff::Delta instances
creates correct entries in the merge_request_diff_commits table
creates correct entries in the merge_request_diff_files table
sets the st_commits and st_diffs columns to nil
Projects::MergeRequestsController
GET commit_change_content
renders commit_change_content template
GET show
behaves like loads labels
loads labels into the @labels variable
as html
renders merge request page
loads notes
with special_role FIRST_TIME_CONTRIBUTOR
as json
with basic serializer param
renders basic MR entity as json
with widget serializer param
renders widget MR entity as json
when no serialiser was passed
renders widget MR entity as json
as diff
triggers workhorse to serve the request
as patch
triggers workhorse to serve the request
GET index
behaves like issuables list meta-data
creates indexed meta-data object for issuable notes and votes count
when given empty collection
doesn't execute any queries with false conditions
when page param
redirects to last_page if page number is larger than number of pages
redirects to specified page
does not redirect to external sites when provided a host field
when filtering by opened state
with opened merge requests
lists those merge requests
with reopened merge requests
lists those merge requests
PUT update
changing the assignee
limits the attributes exposed on the assignee
when user does not have access to update issue
responds with 404
there is no source project
closes MR without errors
allows editing of a closed merge request
does not allow to update target branch closed merge request
behaves like update invalid issuable
when updating causes conflicts
renders edit when format is html
renders json error message when format is json
when updating an invalid issuable
renders edit when merge request is invalid
POST merge
when user cannot access
returns 404
when the merge request is not mergeable
returns :failed
when the sha parameter does not match the source SHA
returns :sha_mismatch
when the sha parameter matches the source SHA
returns :success
starts the merge immediately
when the pipeline succeeds is passed
returns :merge_when_pipeline_succeeds
sets the MR to merge when the pipeline succeeds
when project.only_allow_merge_if_pipeline_succeeds? is true
returns :merge_when_pipeline_succeeds
and head pipeline is not the current one
returns :failed
only_allow_merge_if_all_discussions_are_resolved? setting
when enabled
with unresolved discussion
returns :failed
with all discussions resolved
returns :success
when disabled
with unresolved discussion
returns :success
with all discussions resolved
returns :success
DELETE destroy
denies access to users unless they're admin or project owner
when the user is owner
deletes the merge request
delegates the update of the todos count cache to TodoService
GET commits
renders the commits template to a string
GET pipelines
responds with serialized pipelines
POST remove_wip
removes the wip status
renders MergeRequest as JSON
POST cancel_merge_when_pipeline_succeeds
calls MergeRequests::MergeWhenPipelineSucceedsService
should respond with numeric status code success
renders MergeRequest as JSON
POST assign_related_issues
shows a flash message on success
correctly pluralizes flash message on success
calls MergeRequests::AssignIssuesService
is skipped when not signed in
GET ci_environments_status
the environment is from a forked project
links to the environment on that project
GET pipeline_status.json
when head_pipeline exists
return a detailed head_pipeline status in json
when head_pipeline does not exist
return empty
POST #rebase
successfully
enqeues a RebaseWorker
with a forked project
user cannot push to source branch
returns 404
user can push to source branch
returns 200
GroupsController
GET #show
as html
assigns whether or not a group has children
as atom
assigns events for all the projects in the group
GET #new
when creating subgroups
and can_create_group is true
and logged in as Admin
behaves like member with ability to create subgroups
renders the new page (PENDING: around hook at ./spec/spec_helper.rb:186 did not execute the example)
and logged in as Owner
behaves like member with ability to create subgroups
renders the new page (PENDING: around hook at ./spec/spec_helper.rb:186 did not execute the example)
and logged in as Guest
behaves like member without ability to create subgroups
renders the 404 page (PENDING: around hook at ./spec/spec_helper.rb:186 did not execute the example)
and logged in as Developer
behaves like member without ability to create subgroups
renders the 404 page (PENDING: around hook at ./spec/spec_helper.rb:186 did not execute the example)
and logged in as Maintainer
behaves like member without ability to create subgroups
renders the 404 page (PENDING: around hook at ./spec/spec_helper.rb:186 did not execute the example)
and can_create_group is false
and logged in as Admin
behaves like member with ability to create subgroups
renders the new page (PENDING: around hook at ./spec/spec_helper.rb:186 did not execute the example)
and logged in as Owner
behaves like member with ability to create subgroups
renders the new page (PENDING: around hook at ./spec/spec_helper.rb:186 did not execute the example)
and logged in as Guest
behaves like member without ability to create subgroups
renders the 404 page (PENDING: around hook at ./spec/spec_helper.rb:186 did not execute the example)
and logged in as Developer
behaves like member without ability to create subgroups
renders the 404 page (PENDING: around hook at ./spec/spec_helper.rb:186 did not execute the example)
and logged in as Maintainer
behaves like member without ability to create subgroups
renders the 404 page (PENDING: around hook at ./spec/spec_helper.rb:186 did not execute the example)
GET #activity
as json
includes all projects in event feed
POST #create
when creating subgroups
and can_create_group is true
and logged in as Owner
creates the subgroup (PENDING: around hook at ./spec/spec_helper.rb:186 did not execute the example)
and logged in as Developer
renders the new template (PENDING: around hook at ./spec/spec_helper.rb:186 did not execute the example)
and can_create_group is false
and logged in as Owner
creates the subgroup (PENDING: around hook at ./spec/spec_helper.rb:186 did not execute the example)
and logged in as Developer
renders the new template (PENDING: around hook at ./spec/spec_helper.rb:186 did not execute the example)
when creating a top level group
and can_create_group is enabled
creates the Group
and can_create_group is disabled
does not create the Group
GET #index
as a user
redirects to Groups Dashboard
as a guest
redirects to Explore Groups
GET #issues
sorting by votes
sorts most popular issues
sorts least popular issues
GET #merge_requests
sorting by votes
sorts most popular merge requests
sorts least popular merge requests
DELETE #destroy
as another user
returns 404
as the group owner
schedules a group destroy
redirects to the root path
PUT update
updates the path successfully
does not update the path on error
#ensure_canonical_path
for a GET request
when requesting groups at the root path
when requesting the canonical path with different casing
redirects to the correct casing
when requesting a redirected path
redirects to the canonical path
when the old group path is a substring of the scheme or host
does not modify the requested host
when the old group path is substring of groups
does not modify the /groups part of the path
when requesting groups under the /groups path
when requesting the canonical path
non-show path
with exactly matching casing
does not redirect
with different casing
redirects to the correct casing
show path
with exactly matching casing
does not redirect
with different casing
redirects to the correct casing at the root path
when requesting a redirected path
redirects to the canonical path
when the old group path is a substring of the scheme or host
does not modify the requested host
when the old group path is substring of groups
does not modify the /groups part of the path
when the old group path is substring of groups plus the new path
does not modify the /groups part of the path
for a POST request
when requesting the canonical path with different casing
does not 404
does not redirect to the correct casing
when requesting a redirected path
returns not found
for a DELETE request
when requesting the canonical path with different casing
does not 404
does not redirect to the correct casing
when requesting a redirected path
returns not found
PUT transfer
when transferring to a subgroup goes right
should return a notice (PENDING: around hook at ./spec/spec_helper.rb:190 did not execute the example)
should redirect to the new path (PENDING: around hook at ./spec/spec_helper.rb:190 did not execute the example)
when converting to a root group goes right
should return a notice (PENDING: around hook at ./spec/spec_helper.rb:190 did not execute the example)
should redirect to the new path (PENDING: around hook at ./spec/spec_helper.rb:190 did not execute the example)
When the transfer goes wrong
should return an alert (PENDING: around hook at ./spec/spec_helper.rb:190 did not execute the example)
should redirect to the current path (PENDING: around hook at ./spec/spec_helper.rb:190 did not execute the example)
when the user is not allowed to transfer the group
should be denied (PENDING: around hook at ./spec/spec_helper.rb:190 did not execute the example)
Import/Export - project import integration test
Starting the Capybara driver server...
invalid project
when selecting the namespace
prefilled the path
user imports an exported project successfully
path is not prefilled
user imports an exported project successfully
Gitlab::Middleware::Go
#call
when go-get=0
skips go-import generation
when go-get=1
with SSH disabled
with simple 2-segment project path
with subpackages
returns the full project path
without subpackages
returns the full project path
with a nested project path
with subpackages
behaves like a nested project
when the project is public
returns the full project path
when the project is private
when not authenticated
behaves like unauthorized
returns the 2-segment group path
when authenticated
using warden
when active
behaves like authenticated
with access to the project
returns the full project path
without access to the project
behaves like unauthorized
returns the 2-segment group path
when blocked
behaves like unauthorized
returns the 2-segment group path
using a personal access token
with api scope
behaves like authenticated
with access to the project
returns the full project path
without access to the project
behaves like unauthorized
returns the 2-segment group path
with read_user scope
behaves like unauthorized
returns the 2-segment group path
with a subpackage that is not a valid project path
behaves like a nested project
when the project is public
returns the full project path
when the project is private
when not authenticated
behaves like unauthorized
returns the 2-segment group path
when authenticated
using warden
when active
behaves like authenticated
with access to the project
returns the full project path
without access to the project
behaves like unauthorized
returns the 2-segment group path
when blocked
behaves like unauthorized
returns the 2-segment group path
using a personal access token
with api scope
behaves like authenticated
with access to the project
returns the full project path
without access to the project
behaves like unauthorized
returns the 2-segment group path
with read_user scope
behaves like unauthorized
returns the 2-segment group path
without subpackages
behaves like a nested project
when the project is public
returns the full project path
when the project is private
when not authenticated
behaves like unauthorized
returns the 2-segment group path
when authenticated
using warden
when active
behaves like authenticated
with access to the project
returns the full project path
without access to the project
behaves like unauthorized
returns the 2-segment group path
when blocked
behaves like unauthorized
returns the 2-segment group path
using a personal access token
with api scope
behaves like authenticated
with access to the project
returns the full project path
without access to the project
behaves like unauthorized
returns the 2-segment group path
with read_user scope
behaves like unauthorized
returns the 2-segment group path
with a bogus path
skips go-import generation
with HTTP disabled
with simple 2-segment project path
with subpackages
returns the full project path
without subpackages
returns the full project path
with a nested project path
with subpackages
behaves like a nested project
when the project is public
returns the full project path
when the project is private
when not authenticated
behaves like unauthorized
returns the 2-segment group path
when authenticated
using warden
when active
behaves like authenticated
with access to the project
returns the full project path
without access to the project
behaves like unauthorized
returns the 2-segment group path
when blocked
behaves like unauthorized
returns the 2-segment group path
using a personal access token
with api scope
behaves like authenticated
with access to the project
returns the full project path
without access to the project
behaves like unauthorized
returns the 2-segment group path
with read_user scope
behaves like unauthorized
returns the 2-segment group path
with a subpackage that is not a valid project path
behaves like a nested project
when the project is public
returns the full project path
when the project is private
when not authenticated
behaves like unauthorized
returns the 2-segment group path
when authenticated
using warden
when active
behaves like authenticated
with access to the project
returns the full project path
without access to the project
behaves like unauthorized
returns the 2-segment group path
when blocked
behaves like unauthorized
returns the 2-segment group path
using a personal access token
with api scope
behaves like authenticated
with access to the project
returns the full project path
without access to the project
behaves like unauthorized
returns the 2-segment group path
with read_user scope
behaves like unauthorized
returns the 2-segment group path
without subpackages
behaves like a nested project
when the project is public
returns the full project path
when the project is private
when not authenticated
behaves like unauthorized
returns the 2-segment group path
when authenticated
using warden
when active
behaves like authenticated
with access to the project
returns the full project path
without access to the project
behaves like unauthorized
returns the 2-segment group path
when blocked
behaves like unauthorized
returns the 2-segment group path
using a personal access token
with api scope
behaves like authenticated
with access to the project
returns the full project path
without access to the project
behaves like unauthorized
returns the 2-segment group path
with read_user scope
behaves like unauthorized
returns the 2-segment group path
with a bogus path
skips go-import generation
with nothing disabled
with simple 2-segment project path
with subpackages
returns the full project path
without subpackages
returns the full project path
with a nested project path
with subpackages
behaves like a nested project
when the project is public
returns the full project path
when the project is private
when not authenticated
behaves like unauthorized
returns the 2-segment group path
when authenticated
using warden
when active
behaves like authenticated
with access to the project
returns the full project path
without access to the project
behaves like unauthorized
returns the 2-segment group path
when blocked
behaves like unauthorized
returns the 2-segment group path
using a personal access token
with api scope
behaves like authenticated
with access to the project
returns the full project path
without access to the project
behaves like unauthorized
returns the 2-segment group path
with read_user scope
behaves like unauthorized
returns the 2-segment group path
with a subpackage that is not a valid project path
behaves like a nested project
when the project is public
returns the full project path
when the project is private
when not authenticated
behaves like unauthorized
returns the 2-segment group path
when authenticated
using warden
when active
behaves like authenticated
with access to the project
returns the full project path
without access to the project
behaves like unauthorized
returns the 2-segment group path
when blocked
behaves like unauthorized
returns the 2-segment group path
using a personal access token
with api scope
behaves like authenticated
with access to the project
returns the full project path
without access to the project
behaves like unauthorized
returns the 2-segment group path
with read_user scope
behaves like unauthorized
returns the 2-segment group path
without subpackages
behaves like a nested project
when the project is public
returns the full project path
when the project is private
when not authenticated
behaves like unauthorized
returns the 2-segment group path
when authenticated
using warden
when active
behaves like authenticated
with access to the project
returns the full project path
without access to the project
behaves like unauthorized
returns the 2-segment group path
when blocked
behaves like unauthorized
returns the 2-segment group path
using a personal access token
with api scope
behaves like authenticated
with access to the project
returns the full project path
without access to the project
behaves like unauthorized
returns the 2-segment group path
with read_user scope
behaves like unauthorized
returns the 2-segment group path
with a bogus path
skips go-import generation
with nothing disabled (blank string)
with simple 2-segment project path
with subpackages
returns the full project path
without subpackages
returns the full project path
with a nested project path
with subpackages
behaves like a nested project
when the project is public
returns the full project path
when the project is private
when not authenticated
behaves like unauthorized
returns the 2-segment group path
when authenticated
using warden
when active
behaves like authenticated
with access to the project
returns the full project path
without access to the project
behaves like unauthorized
returns the 2-segment group path
when blocked
behaves like unauthorized
returns the 2-segment group path
using a personal access token
with api scope
behaves like authenticated
with access to the project
returns the full project path
without access to the project
behaves like unauthorized
returns the 2-segment group path
with read_user scope
behaves like unauthorized
returns the 2-segment group path
with a subpackage that is not a valid project path
behaves like a nested project
when the project is public
returns the full project path
when the project is private
when not authenticated
behaves like unauthorized
returns the 2-segment group path
when authenticated
using warden
when active
behaves like authenticated
with access to the project
returns the full project path
without access to the project
behaves like unauthorized
returns the 2-segment group path
when blocked
behaves like unauthorized
returns the 2-segment group path
using a personal access token
with api scope
behaves like authenticated
with access to the project
returns the full project path
without access to the project
behaves like unauthorized
returns the 2-segment group path
with read_user scope
behaves like unauthorized
returns the 2-segment group path
without subpackages
behaves like a nested project
when the project is public
returns the full project path
when the project is private
when not authenticated
behaves like unauthorized
returns the 2-segment group path
when authenticated
using warden
when active
behaves like authenticated
with access to the project
returns the full project path
without access to the project
behaves like unauthorized
returns the 2-segment group path
when blocked
behaves like unauthorized
returns the 2-segment group path
using a personal access token
with api scope
behaves like authenticated
with access to the project
returns the full project path
without access to the project
behaves like unauthorized
returns the 2-segment group path
with read_user scope
behaves like unauthorized
returns the 2-segment group path
with a bogus path
skips go-import generation
Groups::TransferService
#execute
when transforming a group into a root group
behaves like ensuring allowed transfer for a group
with other database than PostgreSQL
should return false (PENDING: around hook at ./spec/spec_helper.rb:190 did not execute the example)
should add an error on group (PENDING: around hook at ./spec/spec_helper.rb:190 did not execute the example)
when there's an exception on Gitlab shell directories
should return false (PENDING: around hook at ./spec/spec_helper.rb:190 did not execute the example)
should add an error on group (PENDING: around hook at ./spec/spec_helper.rb:190 did not execute the example)
when the group is already a root group
should add an error on group (PENDING: around hook at ./spec/spec_helper.rb:190 did not execute the example)
when the user does not have the right policies
should return false (PENDING: around hook at ./spec/spec_helper.rb:190 did not execute the example)
should add an error on group (PENDING: around hook at ./spec/spec_helper.rb:190 did not execute the example)
when there is a group with the same path
should return false (PENDING: around hook at ./spec/spec_helper.rb:190 did not execute the example)
should add an error on group (PENDING: around hook at ./spec/spec_helper.rb:190 did not execute the example)
when the group is a subgroup and the transfer is valid
should update group attributes (PENDING: around hook at ./spec/spec_helper.rb:190 did not execute the example)
should update group children path (PENDING: around hook at ./spec/spec_helper.rb:190 did not execute the example)
should update group projects path (PENDING: around hook at ./spec/spec_helper.rb:190 did not execute the example)
when transferring a subgroup into another group
behaves like ensuring allowed transfer for a group
with other database than PostgreSQL
should return false (PENDING: around hook at ./spec/spec_helper.rb:190 did not execute the example)
should add an error on group (PENDING: around hook at ./spec/spec_helper.rb:190 did not execute the example)
when there's an exception on Gitlab shell directories
should return false (PENDING: around hook at ./spec/spec_helper.rb:190 did not execute the example)
should add an error on group (PENDING: around hook at ./spec/spec_helper.rb:190 did not execute the example)
when the new parent group is the same as the previous parent group
should return false (PENDING: around hook at ./spec/spec_helper.rb:190 did not execute the example)
should add an error on group (PENDING: around hook at ./spec/spec_helper.rb:190 did not execute the example)
when the user does not have the right policies
should return false (PENDING: around hook at ./spec/spec_helper.rb:190 did not execute the example)
should add an error on group (PENDING: around hook at ./spec/spec_helper.rb:190 did not execute the example)
when the parent has a group with the same path
should return false (PENDING: around hook at ./spec/spec_helper.rb:190 did not execute the example)
should add an error on group (PENDING: around hook at ./spec/spec_helper.rb:190 did not execute the example)
when the parent group has a project with the same path
should return false (PENDING: around hook at ./spec/spec_helper.rb:190 did not execute the example)
should add an error on group (PENDING: around hook at ./spec/spec_helper.rb:190 did not execute the example)
when the group is allowed to be transferred
should update visibility for the group based on the parent group (PENDING: around hook at ./spec/spec_helper.rb:190 did not execute the example)
should update parent group to the new parent (PENDING: around hook at ./spec/spec_helper.rb:190 did not execute the example)
should return the group as children of the new parent (PENDING: around hook at ./spec/spec_helper.rb:190 did not execute the example)
should create a redirect for the group (PENDING: around hook at ./spec/spec_helper.rb:190 did not execute the example)
when the group has a lower visibility than the parent group
should not update the visibility for the group (PENDING: around hook at ./spec/spec_helper.rb:190 did not execute the example)
when the group has a higher visibility than the parent group
should update visibility level based on the parent group (PENDING: around hook at ./spec/spec_helper.rb:190 did not execute the example)
when transferring a group with group descendants
should update subgroups path (PENDING: around hook at ./spec/spec_helper.rb:190 did not execute the example)
should create redirects for the subgroups (PENDING: around hook at ./spec/spec_helper.rb:190 did not execute the example)
when the new parent has a higher visibility than the children
should not update the children visibility (PENDING: around hook at ./spec/spec_helper.rb:190 did not execute the example)
when the new parent has a lower visibility than the children
should update children visibility to match the new parent (PENDING: around hook at ./spec/spec_helper.rb:190 did not execute the example)
when transferring a group with project descendants
should update projects path (PENDING: around hook at ./spec/spec_helper.rb:190 did not execute the example)
should create permanent redirects for the projects (PENDING: around hook at ./spec/spec_helper.rb:190 did not execute the example)
when the new parent has a higher visibility than the projects
should not update projects visibility (PENDING: around hook at ./spec/spec_helper.rb:190 did not execute the example)
when the new parent has a lower visibility than the projects
should update projects visibility to match the new parent (PENDING: around hook at ./spec/spec_helper.rb:190 did not execute the example)
when transferring a group with subgroups & projects descendants
should update subgroups path (PENDING: around hook at ./spec/spec_helper.rb:190 did not execute the example)
should update projects path (PENDING: around hook at ./spec/spec_helper.rb:190 did not execute the example)
should create redirect for the subgroups and projects (PENDING: around hook at ./spec/spec_helper.rb:190 did not execute the example)
when transferring a group with nested groups and projects
should update subgroups path (PENDING: around hook at ./spec/spec_helper.rb:190 did not execute the example)
should update projects path (PENDING: around hook at ./spec/spec_helper.rb:190 did not execute the example)
should create redirect for the subgroups and projects (PENDING: around hook at ./spec/spec_helper.rb:190 did not execute the example)
when updating the group goes wrong
should restore group and projects visibility (PENDING: around hook at ./spec/spec_helper.rb:190 did not execute the example)
Editing file blob
as a developer
from MR diff
returns me to the mr
from blob file path
updates content
previews content
visit blob edit
redirects to sign in and returns
as developer
redirects to sign in and returns
as guest
redirects to sign in and returns
as developer
on some branch
shows blob editor with same branch
with protected branch
shows blob editor with patch branch
as maintainer
shows blob editor with same branch
Boards::Lists::MoveService
#execute
when board parent is a project
behaves like lists move service
keeps position of lists when list type is closed
when list type is set to label
keeps position of lists when new position is nil
keeps position of lists when new position is equal to old position
keeps position of lists when new position is negative
keeps position of lists when new position is equal to number of labels lists
keeps position of lists when new position is greater than number of labels lists
increments position of intermediate lists when new position is equal to first position
decrements position of intermediate lists when new position is equal to last position
decrements position of intermediate lists when new position is greater than old position
increments position of intermediate lists when new position is lower than old position
when board parent is a group
behaves like lists move service
keeps position of lists when list type is closed
when list type is set to label
keeps position of lists when new position is nil
keeps position of lists when new position is equal to old position
keeps position of lists when new position is negative
keeps position of lists when new position is equal to number of labels lists
keeps position of lists when new position is greater than number of labels lists
increments position of intermediate lists when new position is equal to first position
decrements position of intermediate lists when new position is equal to last position
decrements position of intermediate lists when new position is greater than old position
increments position of intermediate lists when new position is lower than old position
CreateDeploymentService
#execute
when environment exists
creates a deployment
when environment does not exist
does not create a deployment
when start action is defined
and environment is stopped
makes environment available
creates a deployment
when stop action is defined
and environment is available
makes environment stopped
does not create a deployment
when variables are used
creates a new deployment
does not create a new environment
updates external url
when project was removed
does not create deployment or environment
#expanded_environment_url
when yaml environment uses $CI_COMMIT_REF_NAME
should eq "http://review/master"
when yaml environment uses $CI_ENVIRONMENT_SLUG
should eq "http://review/prod-slug"
when yaml environment uses yaml_variables containing symbol keys
should eq "http://review/host"
when yaml environment does not have url
returns the external_url from persisted environment
processing of builds
without environment specified
behaves like does not create deployment
does not create a new deployment
does not call a service
when environment is specified
when job succeeds
behaves like creates deployment
creates a new deployment
calls a service
is set as deployable
updates environment URL
when job fails
behaves like does not create deployment
does not create a new deployment
does not call a service
when job is retried
behaves like creates deployment
creates a new deployment
calls a service
is set as deployable
updates environment URL
merge request metrics
while updating the 'first_deployed_to_production_at' time
for merge requests merged before the current deploy
sets the time if the deploy's environment is 'production'
doesn't set the time if the deploy's environment is not 'production'
does not raise errors if the merge request does not have a metrics record
for merge requests merged before the previous deploy
if the 'first_deployed_to_production_at' time is already set
does not overwrite the older 'first_deployed_to_production_at' time
if the 'first_deployed_to_production_at' time is not already set
does not overwrite the older 'first_deployed_to_production_at' time
Groups::MilestonesController
#index
shows group milestones page
as JSON
lists legacy group milestones and group milestones
#show
when there is a title parameter
searches for a legacy group milestone
when there is not a title parameter
searches for a group milestone
behaves like milestone tabs
#merge_requests
as html
redirects to milestone#show
as json
renders the merge requests tab template to a string
#participants
as html
redirects to milestone#show
as json
renders the participants tab template to a string
#labels
as html
redirects to milestone#show
as json
renders the labels tab template to a string
#create
creates group milestone with Chinese title
#update
updates group milestone
legacy group milestones
updates only group milestones state
#ensure_canonical_path
for a GET request
when requesting the canonical path
non-show path
with exactly matching casing
does not redirect
with different casing
redirects to the correct casing
show path
with exactly matching casing
does not redirect
with different casing
redirects to the correct casing
when requesting a redirected path
redirects to the canonical path
when the old group path is a substring of the scheme or host
does not modify the requested host
when the old group path is substring of groups
does not modify the /groups part of the path
when the old group path is substring of groups plus the new path
does not modify the /groups part of the path
for a non-GET request
when requesting the canonical path with different casing
does not 404
does not redirect to the correct casing
when requesting a redirected path
returns not found
GroupsHelper
group_icon
returns an url for the avatar
group_icon_url
returns an url for the avatar
gives default avatar_icon when no avatar is present
group_lfs_status
only one project in group
returns all projects as enabled
returns all projects as disabled
more than one project in group
LFS enabled in group
returns both projects as enabled
returns only one as enabled
LFS disabled in group
returns both projects as disabled
returns only one as disabled
group_title
outputs the groups in the correct order (PENDING: around hook at ./spec/spec_helper.rb:186 did not execute the example)
#share_with_group_lock_help_text
root_share_with_group_locked: false, subgroup_share_with_group_locked: false, sub_subgroup_share_with_group_locked: false, current_user: :root_owner, help_text: :default_help, linked_ancestor: nil
has the correct help text with correct ancestor links (PENDING: around hook at ./spec/spec_helper.rb:186 did not execute the example)
root_share_with_group_locked: false, subgroup_share_with_group_locked: false, sub_subgroup_share_with_group_locked: false, current_user: :sub_owner, help_text: :default_help, linked_ancestor: nil
has the correct help text with correct ancestor links (PENDING: around hook at ./spec/spec_helper.rb:186 did not execute the example)
root_share_with_group_locked: false, subgroup_share_with_group_locked: false, sub_subgroup_share_with_group_locked: false, current_user: :sub_sub_owner, help_text: :default_help, linked_ancestor: nil
has the correct help text with correct ancestor links (PENDING: around hook at ./spec/spec_helper.rb:186 did not execute the example)
root_share_with_group_locked: false, subgroup_share_with_group_locked: false, sub_subgroup_share_with_group_locked: true, current_user: :root_owner, help_text: :default_help, linked_ancestor: nil
has the correct help text with correct ancestor links (PENDING: around hook at ./spec/spec_helper.rb:186 did not execute the example)
root_share_with_group_locked: false, subgroup_share_with_group_locked: false, sub_subgroup_share_with_group_locked: true, current_user: :sub_owner, help_text: :default_help, linked_ancestor: nil
has the correct help text with correct ancestor links (PENDING: around hook at ./spec/spec_helper.rb:186 did not execute the example)
root_share_with_group_locked: false, subgroup_share_with_group_locked: false, sub_subgroup_share_with_group_locked: true, current_user: :sub_sub_owner, help_text: :default_help, linked_ancestor: nil
has the correct help text with correct ancestor links (PENDING: around hook at ./spec/spec_helper.rb:186 did not execute the example)
root_share_with_group_locked: false, subgroup_share_with_group_locked: true, sub_subgroup_share_with_group_locked: false, current_user: :root_owner, help_text: :ancestor_locked_and_has_been_overridden, linked_ancestor: :subgroup
has the correct help text with correct ancestor links (PENDING: around hook at ./spec/spec_helper.rb:186 did not execute the example)
root_share_with_group_locked: false, subgroup_share_with_group_locked: true, sub_subgroup_share_with_group_locked: false, current_user: :sub_owner, help_text: :ancestor_locked_and_has_been_overridden, linked_ancestor: :subgroup
has the correct help text with correct ancestor links (PENDING: around hook at ./spec/spec_helper.rb:186 did not execute the example)
root_share_with_group_locked: false, subgroup_share_with_group_locked: true, sub_subgroup_share_with_group_locked: false, current_user: :sub_sub_owner, help_text: :ancestor_locked_and_has_been_overridden, linked_ancestor: :subgroup
has the correct help text with correct ancestor links (PENDING: around hook at ./spec/spec_helper.rb:186 did not execute the example)
root_share_with_group_locked: false, subgroup_share_with_group_locked: true, sub_subgroup_share_with_group_locked: true, current_user: :root_owner, help_text: :ancestor_locked_but_you_can_override, linked_ancestor: :subgroup
has the correct help text with correct ancestor links (PENDING: around hook at ./spec/spec_helper.rb:186 did not execute the example)
root_share_with_group_locked: false, subgroup_share_with_group_locked: true, sub_subgroup_share_with_group_locked: true, current_user: :sub_owner, help_text: :ancestor_locked_but_you_can_override, linked_ancestor: :subgroup
has the correct help text with correct ancestor links (PENDING: around hook at ./spec/spec_helper.rb:186 did not execute the example)
root_share_with_group_locked: false, subgroup_share_with_group_locked: true, sub_subgroup_share_with_group_locked: true, current_user: :sub_sub_owner, help_text: :ancestor_locked_so_ask_the_owner, linked_ancestor: :subgroup
has the correct help text with correct ancestor links (PENDING: around hook at ./spec/spec_helper.rb:186 did not execute the example)
root_share_with_group_locked: true, subgroup_share_with_group_locked: false, sub_subgroup_share_with_group_locked: false, current_user: :root_owner, help_text: :default_help, linked_ancestor: nil
has the correct help text with correct ancestor links (PENDING: around hook at ./spec/spec_helper.rb:186 did not execute the example)
root_share_with_group_locked: true, subgroup_share_with_group_locked: false, sub_subgroup_share_with_group_locked: false, current_user: :sub_owner, help_text: :default_help, linked_ancestor: nil
has the correct help text with correct ancestor links (PENDING: around hook at ./spec/spec_helper.rb:186 did not execute the example)
root_share_with_group_locked: true, subgroup_share_with_group_locked: false, sub_subgroup_share_with_group_locked: false, current_user: :sub_sub_owner, help_text: :default_help, linked_ancestor: nil
has the correct help text with correct ancestor links (PENDING: around hook at ./spec/spec_helper.rb:186 did not execute the example)
root_share_with_group_locked: true, subgroup_share_with_group_locked: false, sub_subgroup_share_with_group_locked: true, current_user: :root_owner, help_text: :default_help, linked_ancestor: nil
has the correct help text with correct ancestor links (PENDING: around hook at ./spec/spec_helper.rb:186 did not execute the example)
root_share_with_group_locked: true, subgroup_share_with_group_locked: false, sub_subgroup_share_with_group_locked: true, current_user: :sub_owner, help_text: :default_help, linked_ancestor: nil
has the correct help text with correct ancestor links (PENDING: around hook at ./spec/spec_helper.rb:186 did not execute the example)
root_share_with_group_locked: true, subgroup_share_with_group_locked: false, sub_subgroup_share_with_group_locked: true, current_user: :sub_sub_owner, help_text: :default_help, linked_ancestor: nil
has the correct help text with correct ancestor links (PENDING: around hook at ./spec/spec_helper.rb:186 did not execute the example)
root_share_with_group_locked: true, subgroup_share_with_group_locked: true, sub_subgroup_share_with_group_locked: false, current_user: :root_owner, help_text: :ancestor_locked_and_has_been_overridden, linked_ancestor: :root_group
has the correct help text with correct ancestor links (PENDING: around hook at ./spec/spec_helper.rb:186 did not execute the example)
root_share_with_group_locked: true, subgroup_share_with_group_locked: true, sub_subgroup_share_with_group_locked: false, current_user: :sub_owner, help_text: :ancestor_locked_and_has_been_overridden, linked_ancestor: :root_group
has the correct help text with correct ancestor links (PENDING: around hook at ./spec/spec_helper.rb:186 did not execute the example)
root_share_with_group_locked: true, subgroup_share_with_group_locked: true, sub_subgroup_share_with_group_locked: false, current_user: :sub_sub_owner, help_text: :ancestor_locked_and_has_been_overridden, linked_ancestor: :root_group
has the correct help text with correct ancestor links (PENDING: around hook at ./spec/spec_helper.rb:186 did not execute the example)
root_share_with_group_locked: true, subgroup_share_with_group_locked: true, sub_subgroup_share_with_group_locked: true, current_user: :root_owner, help_text: :ancestor_locked_but_you_can_override, linked_ancestor: :root_group
has the correct help text with correct ancestor links (PENDING: around hook at ./spec/spec_helper.rb:186 did not execute the example)
root_share_with_group_locked: true, subgroup_share_with_group_locked: true, sub_subgroup_share_with_group_locked: true, current_user: :sub_owner, help_text: :ancestor_locked_so_ask_the_owner, linked_ancestor: :root_group
has the correct help text with correct ancestor links (PENDING: around hook at ./spec/spec_helper.rb:186 did not execute the example)
root_share_with_group_locked: true, subgroup_share_with_group_locked: true, sub_subgroup_share_with_group_locked: true, current_user: :sub_sub_owner, help_text: :ancestor_locked_so_ask_the_owner, linked_ancestor: :root_group
has the correct help text with correct ancestor links (PENDING: around hook at ./spec/spec_helper.rb:186 did not execute the example)
#group_sidebar_links
returns all the expected links
includes settings when the user can admin the group
excludes cross project features when the user cannot read cross project
API::V3::Todos
DELETE /todos/:id
when unauthenticated
returns authentication error
when authenticated
marks a todo as done
updates todos cache
returns 404 if the todo does not belong to the current user
DELETE /todos
when unauthenticated
returns authentication error
when authenticated
marks all todos as done
updates todos cache
TeamcityService
Associations
should belong to project
should have one service_hook
Validations
when service is active
should validate that :build_type cannot be empty/falsy
should validate that :teamcity_url cannot be empty/falsy
behaves like issue tracker service URL attribute
should allow :teamcity_url to be ‹"https://example.com"›
should not allow :teamcity_url to be ‹"example.com"›
should not allow :teamcity_url to be ‹"ftp://example.com"›
should not allow :teamcity_url to be ‹"herp-and-derp"›
#username
does not validate the presence of username if password is nil
validates the presence of username if password is present
#password
does not validate the presence of password if username is nil
validates the presence of password if username is present
when service is inactive
should not validate that :build_type cannot be empty/falsy
should not validate that :teamcity_url cannot be empty/falsy
should not validate that :username cannot be empty/falsy
should not validate that :password cannot be empty/falsy
Callbacks
before_update :reset_password
saves password if new url is set together with password when no password was previously set
when a password was previously set
resets password if url changed
does not reset password if username changed
does not reset password if new url is set together with password, even if it's the same password
#build_page
returns the contents of the reactive cache
#commit_status
returns the contents of the reactive cache
#calculate_reactive_cache
build_page
returns a specific URL when status is 500
returns a build URL when teamcity_url has no trailing slash
teamcity_url has trailing slash
returns a build URL
commit_status
sets commit status to :error when status is 500
sets commit status to "pending" when status is 404
sets commit status to "success" when build status contains SUCCESS
sets commit status to "failed" when build status contains FAILURE
sets commit status to "pending" when build status contains Pending
sets commit status to :error when build status is unknown
Gitlab::Conflict::File
#resolve_lines
raises ResolutionError when passed a hash without resolutions for all sections
when resolving everything to the same side
has the correct number of lines
has content matching the chosen lines
with mixed resolutions
has the correct number of lines
returns a file containing only the chosen parts of the resolved sections
#highlight_lines!
modifies the existing lines
is called implicitly when rich_text is accessed on a line
sets the rich_text of the lines matching the text content
highlights the lines correctly
#sections
only inserts match lines when there is a gap between sections
sets conflict to false for sections with only unchanged lines
only includes a maximum of CONTEXT_LINES (plus an optional match line) in context sections
sets conflict to true for sections with only changed lines
adds unique IDs to conflict sections, and not to other sections
with an example file
sets the correct match line headers
does not add match lines where they are not needed
creates context sections of the correct length
#as_json
includes the blob path for the file
includes the blob icon for the file
with the full_content option passed
includes the full content of the conflict
includes the detected language of the conflict file
Banzai::Filter::SnippetReferenceFilter
requires project context
ignores valid references contained inside 'pre' element
ignores valid references contained inside 'code' element
ignores valid references contained inside 'a' element
ignores valid references contained inside 'style' element
internal reference
links to a valid reference
links with adjacent text
ignores invalid snippet IDs
includes a title attribute
escapes the title attribute
includes default classes
includes a data-project attribute
includes a data-snippet attribute
supports an :only_path context
cross-project / cross-namespace complete reference
links to a valid reference
link has valid text
has valid text
ignores invalid snippet IDs on the referenced project
cross-project / same-namespace complete reference
links to a valid reference
link has valid text
has valid text
ignores invalid snippet IDs on the referenced project
cross-project shorthand reference
links to a valid reference
link has valid text
has valid text
ignores invalid snippet IDs on the referenced project
cross-project URL reference
links to a valid reference
links with adjacent text
ignores invalid snippet IDs on the referenced project
group context
links to a valid reference
AutocompleteUsersFinder
#execute
should contain exactly #<User id:2126 @johndoe>, #<User id:2128 @user2119>, #<User id:2129 @user2120>, and #<User id:2130 @user2121>
when current_user not passed or nil
should contain exactly
when project passed
should contain exactly #<User id:2140 @user2127>
when author_id passed
should contain exactly #<User id:2146 @user2131> and #<User id:2142 @notsorandom>
when group passed and project not passed
should contain exactly #<User id:2147 @johndoe>
when passed a subgroup
includes users from parent groups as well (PENDING: around hook at ./spec/spec_helper.rb:186 did not execute the example)
when filtered by search
should contain exactly #<User id:2152 @johndoe>
when filtered by skip_users
should contain exactly #<User id:2157 @johndoe> and #<User id:2159 @user2138>
when todos exist
when filtered by todo_filter without todo_state_filter
should contain exactly
when filtered by todo_filter with pending todo_state_filter
should contain exactly #<User id:2175 @johndoe>
when filtered by todo_filter with done todo_state_filter
should contain exactly #<User id:2190 @user2163>
when filtered by current_user
should contain exactly #<User id:2202 @notsorandom>, #<User id:2201 @johndoe>, #<User id:2203 @user2174>, and #<User id:2204 @user2175>
when filtered by author_id
should contain exactly #<User id:2206 @notsorandom>, #<User id:2205 @johndoe>, #<User id:2207 @user2176>, #<User id:2208 @user2177>, and #<User id:2209 @user2178>
Service
Associations
should belong to project
should have one service_hook
Validations
should validate that :type cannot be empty/falsy
Scopes
.confidential_note_hooks
includes services where confidential_note_events is true
excludes services where confidential_note_events is false
Test Button
#can_test?
when repository is not empty
returns true
when repository is empty
returns true
#test
when repository is not empty
test runs execute
when repository is empty
test runs execute
Template
.build_from_template
when template is invalid
sets service template to inactive when template is invalid
for pushover service
is prefilled for projects pushover service
has all fields prefilled
{property}_changed?
returns false when the property has not been assigned a new value
returns true when the property has been assigned a different value
returns true when the property has been assigned a different value twice
returns false when the property has been re-assigned the same value
returns false when the property has been assigned a new value then saved
{property}_touched?
returns false when the property has not been assigned a new value
returns true when the property has been assigned a different value
returns true when the property has been assigned a different value twice
returns true when the property has been re-assigned the same value
returns false when the property has been assigned a new value then saved
{property}_was
returns nil when the property has not been assigned a new value
returns the previous value when the property has been assigned a different value
returns initial value when the property has been re-assigned the same value
returns initial value when the property has been assigned multiple values
returns nil when the property has been assigned a new value then saved
initialize service with no properties
does not raise error
creates the properties
callbacks
on create
updates the has_external_issue_tracker boolean
on update
updates the has_external_issue_tracker boolean
#deprecated?
should return false by default
#deprecation_message
should be empty by default
.find_by_template
returns service template
#api_field_names
filters out sensitive fields
TestHooks::ProjectService
#execute
hook with not implemented test
returns error message
push_events
returns error message if not enough data
executes hook
tag_push_events
returns error message if not enough data
executes hook
note_events
returns error message if not enough data
executes hook
issues_events
returns error message if not enough data
executes hook
confidential_issues_events
returns error message if not enough data
executes hook
merge_requests_events
returns error message if not enough data
executes hook
job_events
returns error message if not enough data
executes hook
pipeline_events
returns error message if not enough data
executes hook
wiki_page_events
returns error message if wiki disabled
returns error message if not enough data
executes hook
User views an open merge request
when a merge request does not have repository
renders both the title and the description
when a merge request has repository
when rendering description preview
renders empty description preview
renders description preview
when the branch is rebased on the target
does not show diverged commits count
when the branch is diverged on the target
shows diverged commits count
RunnerJobsFinder
#execute
when params is empty
returns all jobs assigned to Runner
when params contains status
when status is created
returns matched job
when status is pending
returns matched job
when status is running
returns matched job
when status is success
returns matched job
when status is failed
returns matched job
when status is canceled
returns matched job
when status is skipped
returns matched job
when status is manual
returns matched job
Project snippets
when the project has snippets
pagination
behaves like paginated snippets
is limited to 20 items per page
clicking on the link to the second page
shows the remaining snippets
list content
contains all project snippets
when submitting a note
should have autocomplete
should have zen mode
API::V3::Environments
GET /projects/:id/environments
as member of the project
returns project environments
behaves like a paginated resources
has pagination headers
as non member
returns a 404 status code
POST /projects/:id/environments
as a member
creates a environment with valid params
requires name to be passed
returns a 400 if environment already exists
returns a 400 if slug is specified
a non member
rejects the request
returns a 400 when the required params are missing
PUT /projects/:id/environments/:environment_id
returns a 200 if name and external_url are changed
won't allow slug to be changed
won't update the external_url if only the name is passed
returns a 404 if the environment does not exist
DELETE /projects/:id/environments/:environment_id
as a maintainer
returns a 200 for an existing environment
returns a 404 for non existing id
a non member
rejects the request
API::Namespaces
GET /namespaces
when unauthenticated
returns authentication error
when authenticated as admin
returns correct attributes
admin: returns an array of all namespaces
admin: returns an array of matched namespaces
when authenticated as a regular user
returns correct attributes when user can admin group
returns correct attributes when user cannot admin group
user: returns an array of namespaces
admin: returns an array of matched namespaces
GET /namespaces/:id
when unauthenticated
returns authentication error
when authenticated as regular user
when requested namespace is not owned by user
when requesting group
returns not-found
when requesting personal namespace
returns not-found
when requested namespace is owned by user
behaves like namespace reader
when namespace exists
when requested by ID
when requesting group
behaves like can access namespace
returns namespace details
when requesting personal namespace
behaves like can access namespace
returns namespace details
when requested by path
when requesting group
behaves like can access namespace
returns namespace details
when requesting personal namespace
behaves like can access namespace
returns namespace details
when namespace doesn't exist
returns not-found
when authenticated as admin
when requested namespace is not owned by user
when requesting group
behaves like can access namespace
returns namespace details
when requesting personal namespace
behaves like can access namespace
returns namespace details
when requested namespace is owned by user
behaves like namespace reader
when namespace exists
when requested by ID
when requesting group
behaves like can access namespace
returns namespace details
when requesting personal namespace
behaves like can access namespace
returns namespace details
when requested by path
when requesting group
behaves like can access namespace
returns namespace details
when requesting personal namespace
behaves like can access namespace
returns namespace details
when namespace doesn't exist
returns not-found
MergeRequests::GetUrlsService
#execute
pushing to default branch
behaves like no_merge_request_url
returns no URL
pushing to project with MRs disabled
behaves like no_merge_request_url
returns no URL
pushing one completely new branch
behaves like new_merge_request_link
returns url to create new merge request
pushing to existing branch but no merge request
behaves like new_merge_request_link
returns url to create new merge request
pushing to deleted branch
behaves like no_merge_request_url
returns no URL
pushing to existing branch and merge request opened
behaves like show_merge_request_url
returns url to view merge request
pushing to existing branch and merge request is reopened
behaves like show_merge_request_url
returns url to view merge request
pushing to existing branch from forked project
behaves like show_merge_request_url
returns url to view merge request
pushing to existing branch and merge request is closed
behaves like new_merge_request_link
returns url to create new merge request
pushing to existing branch and merge request is merged
behaves like new_merge_request_link
returns url to create new merge request
pushing new branch and existing branch (with merge request created) at once
returns 2 urls for both creating new and showing merge request
when printing_merge_request_link_enabled is false
returns empty array
LfsFileLock
should belong to project
should belong to user
should validate that :project_id cannot be empty/falsy
should validate that :user_id cannot be empty/falsy
should validate that :path cannot be empty/falsy
#can_be_unlocked_by?
when it's forced
can be unlocked by the author
can be unlocked by a maintainer
can't be unlocked by other user
when it isn't forced
can be unlocked by the author
can't be unlocked by a maintainer
can't be unlocked by other user
Gitlab::Ci::Config::Entry::Boolean
validations
when entry config value is valid
#value
returns key value
#valid?
is valid
when entry value is not valid
#errors
saves errors
Knapsack report was generated. Preview:
{
"spec/services/todo_service_spec.rb": 53.71851348876953,
"spec/lib/gitlab/import_export/project_tree_saver_spec.rb": 48.39624857902527,
"spec/lib/gitlab/background_migration/deserialize_merge_request_diffs_and_commits_spec.rb": 35.17360734939575,
"spec/controllers/projects/merge_requests_controller_spec.rb": 25.50887441635132,
"spec/controllers/groups_controller_spec.rb": 13.007296323776245,
"spec/features/projects/import_export/import_file_spec.rb": 16.827879428863525,
"spec/lib/gitlab/middleware/go_spec.rb": 12.497276306152344,
"spec/features/projects/blobs/edit_spec.rb": 11.511932134628296,
"spec/services/boards/lists/move_service_spec.rb": 8.695446491241455,
"spec/services/create_deployment_service_spec.rb": 6.754847526550293,
"spec/controllers/groups/milestones_controller_spec.rb": 6.8740551471710205,
"spec/helpers/groups_helper_spec.rb": 0.9002459049224854,
"spec/requests/api/v3/todos_spec.rb": 6.5924904346466064,
"spec/models/project_services/teamcity_service_spec.rb": 2.9881808757781982,
"spec/lib/gitlab/conflict/file_spec.rb": 5.294132709503174,
"spec/lib/banzai/filter/snippet_reference_filter_spec.rb": 4.118850469589233,
"spec/finders/autocomplete_users_finder_spec.rb": 3.864232063293457,
"spec/models/service_spec.rb": 3.1697962284088135,
"spec/services/test_hooks/project_service_spec.rb": 4.167759656906128,
"spec/features/projects/merge_requests/user_views_open_merge_request_spec.rb": 4.707003355026245,
"spec/finders/runner_jobs_finder_spec.rb": 3.2137575149536133,
"spec/features/projects/snippets_spec.rb": 3.631467580795288,
"spec/requests/api/v3/environments_spec.rb": 2.314746856689453,
"spec/requests/api/namespaces_spec.rb": 2.352935314178467,
"spec/services/merge_requests/get_urls_service_spec.rb": 2.8039824962615967,
"spec/models/lfs_file_lock_spec.rb": 0.7295050621032715,
"spec/lib/gitlab/ci/config/entry/boolean_spec.rb": 0.007024049758911133
}
Knapsack global time execution for tests: 04m 49s
Pending: (Failures listed here are expected and do not affect your suite's status)
1) GroupsController GET #new when creating subgroups and can_create_group is true and logged in as Admin behaves like member with ability to create subgroups renders the new page
# around hook at ./spec/spec_helper.rb:186 did not execute the example
# ./spec/controllers/groups_controller_spec.rb:15
2) GroupsController GET #new when creating subgroups and can_create_group is true and logged in as Owner behaves like member with ability to create subgroups renders the new page
# around hook at ./spec/spec_helper.rb:186 did not execute the example
# ./spec/controllers/groups_controller_spec.rb:15
3) GroupsController GET #new when creating subgroups and can_create_group is true and logged in as Guest behaves like member without ability to create subgroups renders the 404 page
# around hook at ./spec/spec_helper.rb:186 did not execute the example
# ./spec/controllers/groups_controller_spec.rb:25
4) GroupsController GET #new when creating subgroups and can_create_group is true and logged in as Developer behaves like member without ability to create subgroups renders the 404 page
# around hook at ./spec/spec_helper.rb:186 did not execute the example
# ./spec/controllers/groups_controller_spec.rb:25
5) GroupsController GET #new when creating subgroups and can_create_group is true and logged in as Maintainer behaves like member without ability to create subgroups renders the 404 page
# around hook at ./spec/spec_helper.rb:186 did not execute the example
# ./spec/controllers/groups_controller_spec.rb:25
6) GroupsController GET #new when creating subgroups and can_create_group is false and logged in as Admin behaves like member with ability to create subgroups renders the new page
# around hook at ./spec/spec_helper.rb:186 did not execute the example
# ./spec/controllers/groups_controller_spec.rb:15
7) GroupsController GET #new when creating subgroups and can_create_group is false and logged in as Owner behaves like member with ability to create subgroups renders the new page
# around hook at ./spec/spec_helper.rb:186 did not execute the example
# ./spec/controllers/groups_controller_spec.rb:15
8) GroupsController GET #new when creating subgroups and can_create_group is false and logged in as Guest behaves like member without ability to create subgroups renders the 404 page
# around hook at ./spec/spec_helper.rb:186 did not execute the example
# ./spec/controllers/groups_controller_spec.rb:25
9) GroupsController GET #new when creating subgroups and can_create_group is false and logged in as Developer behaves like member without ability to create subgroups renders the 404 page
# around hook at ./spec/spec_helper.rb:186 did not execute the example
# ./spec/controllers/groups_controller_spec.rb:25
10) GroupsController GET #new when creating subgroups and can_create_group is false and logged in as Maintainer behaves like member without ability to create subgroups renders the 404 page
# around hook at ./spec/spec_helper.rb:186 did not execute the example
# ./spec/controllers/groups_controller_spec.rb:25
11) GroupsController POST #create when creating subgroups and can_create_group is true and logged in as Owner creates the subgroup
# around hook at ./spec/spec_helper.rb:186 did not execute the example
# ./spec/controllers/groups_controller_spec.rb:117
12) GroupsController POST #create when creating subgroups and can_create_group is true and logged in as Developer renders the new template
# around hook at ./spec/spec_helper.rb:186 did not execute the example
# ./spec/controllers/groups_controller_spec.rb:129
13) GroupsController POST #create when creating subgroups and can_create_group is false and logged in as Owner creates the subgroup
# around hook at ./spec/spec_helper.rb:186 did not execute the example
# ./spec/controllers/groups_controller_spec.rb:117
14) GroupsController POST #create when creating subgroups and can_create_group is false and logged in as Developer renders the new template
# around hook at ./spec/spec_helper.rb:186 did not execute the example
# ./spec/controllers/groups_controller_spec.rb:129
15) GroupsController PUT transfer when transferring to a subgroup goes right should return a notice
# around hook at ./spec/spec_helper.rb:190 did not execute the example
# ./spec/controllers/groups_controller_spec.rb:516
16) GroupsController PUT transfer when transferring to a subgroup goes right should redirect to the new path
# around hook at ./spec/spec_helper.rb:190 did not execute the example
# ./spec/controllers/groups_controller_spec.rb:520
17) GroupsController PUT transfer when converting to a root group goes right should return a notice
# around hook at ./spec/spec_helper.rb:190 did not execute the example
# ./spec/controllers/groups_controller_spec.rb:535
18) GroupsController PUT transfer when converting to a root group goes right should redirect to the new path
# around hook at ./spec/spec_helper.rb:190 did not execute the example
# ./spec/controllers/groups_controller_spec.rb:539
19) GroupsController PUT transfer When the transfer goes wrong should return an alert
# around hook at ./spec/spec_helper.rb:190 did not execute the example
# ./spec/controllers/groups_controller_spec.rb:557
20) GroupsController PUT transfer When the transfer goes wrong should redirect to the current path
# around hook at ./spec/spec_helper.rb:190 did not execute the example
# ./spec/controllers/groups_controller_spec.rb:561
21) GroupsController PUT transfer when the user is not allowed to transfer the group should be denied
# around hook at ./spec/spec_helper.rb:190 did not execute the example
# ./spec/controllers/groups_controller_spec.rb:577
22) Groups::TransferService#execute when transforming a group into a root group behaves like ensuring allowed transfer for a group with other database than PostgreSQL should return false
# around hook at ./spec/spec_helper.rb:190 did not execute the example
# ./spec/services/groups/transfer_service_spec.rb:15
23) Groups::TransferService#execute when transforming a group into a root group behaves like ensuring allowed transfer for a group with other database than PostgreSQL should add an error on group
# around hook at ./spec/spec_helper.rb:190 did not execute the example
# ./spec/services/groups/transfer_service_spec.rb:19
24) Groups::TransferService#execute when transforming a group into a root group behaves like ensuring allowed transfer for a group when there's an exception on Gitlab shell directories should return false
# around hook at ./spec/spec_helper.rb:190 did not execute the example
# ./spec/services/groups/transfer_service_spec.rb:33
25) Groups::TransferService#execute when transforming a group into a root group behaves like ensuring allowed transfer for a group when there's an exception on Gitlab shell directories should add an error on group
# around hook at ./spec/spec_helper.rb:190 did not execute the example
# ./spec/services/groups/transfer_service_spec.rb:37
26) Groups::TransferService#execute when transforming a group into a root group when the group is already a root group should add an error on group
# around hook at ./spec/spec_helper.rb:190 did not execute the example
# ./spec/services/groups/transfer_service_spec.rb:53
27) Groups::TransferService#execute when transforming a group into a root group when the user does not have the right policies should return false
# around hook at ./spec/spec_helper.rb:190 did not execute the example
# ./spec/services/groups/transfer_service_spec.rb:62
28) Groups::TransferService#execute when transforming a group into a root group when the user does not have the right policies should add an error on group
# around hook at ./spec/spec_helper.rb:190 did not execute the example
# ./spec/services/groups/transfer_service_spec.rb:66
29) Groups::TransferService#execute when transforming a group into a root group when there is a group with the same path should return false
# around hook at ./spec/spec_helper.rb:190 did not execute the example
# ./spec/services/groups/transfer_service_spec.rb:79
30) Groups::TransferService#execute when transforming a group into a root group when there is a group with the same path should add an error on group
# around hook at ./spec/spec_helper.rb:190 did not execute the example
# ./spec/services/groups/transfer_service_spec.rb:83
31) Groups::TransferService#execute when transforming a group into a root group when the group is a subgroup and the transfer is valid should update group attributes
# around hook at ./spec/spec_helper.rb:190 did not execute the example
# ./spec/services/groups/transfer_service_spec.rb:99
32) Groups::TransferService#execute when transforming a group into a root group when the group is a subgroup and the transfer is valid should update group children path
# around hook at ./spec/spec_helper.rb:190 did not execute the example
# ./spec/services/groups/transfer_service_spec.rb:103
33) Groups::TransferService#execute when transforming a group into a root group when the group is a subgroup and the transfer is valid should update group projects path
# around hook at ./spec/spec_helper.rb:190 did not execute the example
# ./spec/services/groups/transfer_service_spec.rb:109
34) Groups::TransferService#execute when transferring a subgroup into another group behaves like ensuring allowed transfer for a group with other database than PostgreSQL should return false
# around hook at ./spec/spec_helper.rb:190 did not execute the example
# ./spec/services/groups/transfer_service_spec.rb:15
35) Groups::TransferService#execute when transferring a subgroup into another group behaves like ensuring allowed transfer for a group with other database than PostgreSQL should add an error on group
# around hook at ./spec/spec_helper.rb:190 did not execute the example
# ./spec/services/groups/transfer_service_spec.rb:19
36) Groups::TransferService#execute when transferring a subgroup into another group behaves like ensuring allowed transfer for a group when there's an exception on Gitlab shell directories should return false
# around hook at ./spec/spec_helper.rb:190 did not execute the example
# ./spec/services/groups/transfer_service_spec.rb:33
37) Groups::TransferService#execute when transferring a subgroup into another group behaves like ensuring allowed transfer for a group when there's an exception on Gitlab shell directories should add an error on group
# around hook at ./spec/spec_helper.rb:190 did not execute the example
# ./spec/services/groups/transfer_service_spec.rb:37
38) Groups::TransferService#execute when transferring a subgroup into another group when the new parent group is the same as the previous parent group should return false
# around hook at ./spec/spec_helper.rb:190 did not execute the example
# ./spec/services/groups/transfer_service_spec.rb:125
39) Groups::TransferService#execute when transferring a subgroup into another group when the new parent group is the same as the previous parent group should add an error on group
# around hook at ./spec/spec_helper.rb:190 did not execute the example
# ./spec/services/groups/transfer_service_spec.rb:129
40) Groups::TransferService#execute when transferring a subgroup into another group when the user does not have the right policies should return false
# around hook at ./spec/spec_helper.rb:190 did not execute the example
# ./spec/services/groups/transfer_service_spec.rb:138
41) Groups::TransferService#execute when transferring a subgroup into another group when the user does not have the right policies should add an error on group
# around hook at ./spec/spec_helper.rb:190 did not execute the example
# ./spec/services/groups/transfer_service_spec.rb:142
42) Groups::TransferService#execute when transferring a subgroup into another group when the parent has a group with the same path should return false
# around hook at ./spec/spec_helper.rb:190 did not execute the example
# ./spec/services/groups/transfer_service_spec.rb:155
43) Groups::TransferService#execute when transferring a subgroup into another group when the parent has a group with the same path should add an error on group
# around hook at ./spec/spec_helper.rb:190 did not execute the example
# ./spec/services/groups/transfer_service_spec.rb:159
44) Groups::TransferService#execute when transferring a subgroup into another group when the parent group has a project with the same path should return false
# around hook at ./spec/spec_helper.rb:190 did not execute the example
# ./spec/services/groups/transfer_service_spec.rb:174
45) Groups::TransferService#execute when transferring a subgroup into another group when the parent group has a project with the same path should add an error on group
# around hook at ./spec/spec_helper.rb:190 did not execute the example
# ./spec/services/groups/transfer_service_spec.rb:178
46) Groups::TransferService#execute when transferring a subgroup into another group when the group is allowed to be transferred should update visibility for the group based on the parent group
# around hook at ./spec/spec_helper.rb:190 did not execute the example
# ./spec/services/groups/transfer_service_spec.rb:212
47) Groups::TransferService#execute when transferring a subgroup into another group when the group is allowed to be transferred should update parent group to the new parent
# around hook at ./spec/spec_helper.rb:190 did not execute the example
# ./spec/services/groups/transfer_service_spec.rb:216
48) Groups::TransferService#execute when transferring a subgroup into another group when the group is allowed to be transferred should return the group as children of the new parent
# around hook at ./spec/spec_helper.rb:190 did not execute the example
# ./spec/services/groups/transfer_service_spec.rb:220
49) Groups::TransferService#execute when transferring a subgroup into another group when the group is allowed to be transferred should create a redirect for the group
# around hook at ./spec/spec_helper.rb:190 did not execute the example
# ./spec/services/groups/transfer_service_spec.rb:225
50) Groups::TransferService#execute when transferring a subgroup into another group when the group is allowed to be transferred when the group has a lower visibility than the parent group should not update the visibility for the group
# around hook at ./spec/spec_helper.rb:190 did not execute the example
# ./spec/services/groups/transfer_service_spec.rb:194
51) Groups::TransferService#execute when transferring a subgroup into another group when the group is allowed to be transferred when the group has a higher visibility than the parent group should update visibility level based on the parent group
# around hook at ./spec/spec_helper.rb:190 did not execute the example
# ./spec/services/groups/transfer_service_spec.rb:205
52) Groups::TransferService#execute when transferring a subgroup into another group when transferring a group with group descendants should update subgroups path
# around hook at ./spec/spec_helper.rb:190 did not execute the example
# ./spec/services/groups/transfer_service_spec.rb:239
53) Groups::TransferService#execute when transferring a subgroup into another group when transferring a group with group descendants should create redirects for the subgroups
# around hook at ./spec/spec_helper.rb:190 did not execute the example
# ./spec/services/groups/transfer_service_spec.rb:246
54) Groups::TransferService#execute when transferring a subgroup into another group when transferring a group with group descendants when the new parent has a higher visibility than the children should not update the children visibility
# around hook at ./spec/spec_helper.rb:190 did not execute the example
# ./spec/services/groups/transfer_service_spec.rb:253
55) Groups::TransferService#execute when transferring a subgroup into another group when transferring a group with group descendants when the new parent has a lower visibility than the children should update children visibility to match the new parent
# around hook at ./spec/spec_helper.rb:190 did not execute the example
# ./spec/services/groups/transfer_service_spec.rb:264
56) Groups::TransferService#execute when transferring a subgroup into another group when transferring a group with project descendants should update projects path
# around hook at ./spec/spec_helper.rb:190 did not execute the example
# ./spec/services/groups/transfer_service_spec.rb:282
57) Groups::TransferService#execute when transferring a subgroup into another group when transferring a group with project descendants should create permanent redirects for the projects
# around hook at ./spec/spec_helper.rb:190 did not execute the example
# ./spec/services/groups/transfer_service_spec.rb:289
58) Groups::TransferService#execute when transferring a subgroup into another group when transferring a group with project descendants when the new parent has a higher visibility than the projects should not update projects visibility
# around hook at ./spec/spec_helper.rb:190 did not execute the example
# ./spec/services/groups/transfer_service_spec.rb:296
59) Groups::TransferService#execute when transferring a subgroup into another group when transferring a group with project descendants when the new parent has a lower visibility than the projects should update projects visibility to match the new parent
# around hook at ./spec/spec_helper.rb:190 did not execute the example
# ./spec/services/groups/transfer_service_spec.rb:307
60) Groups::TransferService#execute when transferring a subgroup into another group when transferring a group with subgroups & projects descendants should update subgroups path
# around hook at ./spec/spec_helper.rb:190 did not execute the example
# ./spec/services/groups/transfer_service_spec.rb:327
61) Groups::TransferService#execute when transferring a subgroup into another group when transferring a group with subgroups & projects descendants should update projects path
# around hook at ./spec/spec_helper.rb:190 did not execute the example
# ./spec/services/groups/transfer_service_spec.rb:334
62) Groups::TransferService#execute when transferring a subgroup into another group when transferring a group with subgroups & projects descendants should create redirect for the subgroups and projects
# around hook at ./spec/spec_helper.rb:190 did not execute the example
# ./spec/services/groups/transfer_service_spec.rb:341
63) Groups::TransferService#execute when transferring a subgroup into another group when transferring a group with nested groups and projects should update subgroups path
# around hook at ./spec/spec_helper.rb:190 did not execute the example
# ./spec/services/groups/transfer_service_spec.rb:363
64) Groups::TransferService#execute when transferring a subgroup into another group when transferring a group with nested groups and projects should update projects path
# around hook at ./spec/spec_helper.rb:190 did not execute the example
# ./spec/services/groups/transfer_service_spec.rb:375
65) Groups::TransferService#execute when transferring a subgroup into another group when transferring a group with nested groups and projects should create redirect for the subgroups and projects
# around hook at ./spec/spec_helper.rb:190 did not execute the example
# ./spec/services/groups/transfer_service_spec.rb:383
66) Groups::TransferService#execute when transferring a subgroup into another group when updating the group goes wrong should restore group and projects visibility
# around hook at ./spec/spec_helper.rb:190 did not execute the example
# ./spec/services/groups/transfer_service_spec.rb:405
67) GroupsHelper group_title outputs the groups in the correct order
# around hook at ./spec/spec_helper.rb:186 did not execute the example
# ./spec/helpers/groups_helper_spec.rb:106
68) GroupsHelper#share_with_group_lock_help_text root_share_with_group_locked: false, subgroup_share_with_group_locked: false, sub_subgroup_share_with_group_locked: false, current_user: :root_owner, help_text: :default_help, linked_ancestor: nil has the correct help text with correct ancestor links
# around hook at ./spec/spec_helper.rb:186 did not execute the example
# ./spec/helpers/groups_helper_spec.rb:198
69) GroupsHelper#share_with_group_lock_help_text root_share_with_group_locked: false, subgroup_share_with_group_locked: false, sub_subgroup_share_with_group_locked: false, current_user: :sub_owner, help_text: :default_help, linked_ancestor: nil has the correct help text with correct ancestor links
# around hook at ./spec/spec_helper.rb:186 did not execute the example
# ./spec/helpers/groups_helper_spec.rb:198
70) GroupsHelper#share_with_group_lock_help_text root_share_with_group_locked: false, subgroup_share_with_group_locked: false, sub_subgroup_share_with_group_locked: false, current_user: :sub_sub_owner, help_text: :default_help, linked_ancestor: nil has the correct help text with correct ancestor links
# around hook at ./spec/spec_helper.rb:186 did not execute the example
# ./spec/helpers/groups_helper_spec.rb:198
71) GroupsHelper#share_with_group_lock_help_text root_share_with_group_locked: false, subgroup_share_with_group_locked: false, sub_subgroup_share_with_group_locked: true, current_user: :root_owner, help_text: :default_help, linked_ancestor: nil has the correct help text with correct ancestor links
# around hook at ./spec/spec_helper.rb:186 did not execute the example
# ./spec/helpers/groups_helper_spec.rb:198
72) GroupsHelper#share_with_group_lock_help_text root_share_with_group_locked: false, subgroup_share_with_group_locked: false, sub_subgroup_share_with_group_locked: true, current_user: :sub_owner, help_text: :default_help, linked_ancestor: nil has the correct help text with correct ancestor links
# around hook at ./spec/spec_helper.rb:186 did not execute the example
# ./spec/helpers/groups_helper_spec.rb:198
73) GroupsHelper#share_with_group_lock_help_text root_share_with_group_locked: false, subgroup_share_with_group_locked: false, sub_subgroup_share_with_group_locked: true, current_user: :sub_sub_owner, help_text: :default_help, linked_ancestor: nil has the correct help text with correct ancestor links
# around hook at ./spec/spec_helper.rb:186 did not execute the example
# ./spec/helpers/groups_helper_spec.rb:198
74) GroupsHelper#share_with_group_lock_help_text root_share_with_group_locked: false, subgroup_share_with_group_locked: true, sub_subgroup_share_with_group_locked: false, current_user: :root_owner, help_text: :ancestor_locked_and_has_been_overridden, linked_ancestor: :subgroup has the correct help text with correct ancestor links
# around hook at ./spec/spec_helper.rb:186 did not execute the example
# ./spec/helpers/groups_helper_spec.rb:198
75) GroupsHelper#share_with_group_lock_help_text root_share_with_group_locked: false, subgroup_share_with_group_locked: true, sub_subgroup_share_with_group_locked: false, current_user: :sub_owner, help_text: :ancestor_locked_and_has_been_overridden, linked_ancestor: :subgroup has the correct help text with correct ancestor links
# around hook at ./spec/spec_helper.rb:186 did not execute the example
# ./spec/helpers/groups_helper_spec.rb:198
76) GroupsHelper#share_with_group_lock_help_text root_share_with_group_locked: false, subgroup_share_with_group_locked: true, sub_subgroup_share_with_group_locked: false, current_user: :sub_sub_owner, help_text: :ancestor_locked_and_has_been_overridden, linked_ancestor: :subgroup has the correct help text with correct ancestor links
# around hook at ./spec/spec_helper.rb:186 did not execute the example
# ./spec/helpers/groups_helper_spec.rb:198
77) GroupsHelper#share_with_group_lock_help_text root_share_with_group_locked: false, subgroup_share_with_group_locked: true, sub_subgroup_share_with_group_locked: true, current_user: :root_owner, help_text: :ancestor_locked_but_you_can_override, linked_ancestor: :subgroup has the correct help text with correct ancestor links
# around hook at ./spec/spec_helper.rb:186 did not execute the example
# ./spec/helpers/groups_helper_spec.rb:198
78) GroupsHelper#share_with_group_lock_help_text root_share_with_group_locked: false, subgroup_share_with_group_locked: true, sub_subgroup_share_with_group_locked: true, current_user: :sub_owner, help_text: :ancestor_locked_but_you_can_override, linked_ancestor: :subgroup has the correct help text with correct ancestor links
# around hook at ./spec/spec_helper.rb:186 did not execute the example
# ./spec/helpers/groups_helper_spec.rb:198
79) GroupsHelper#share_with_group_lock_help_text root_share_with_group_locked: false, subgroup_share_with_group_locked: true, sub_subgroup_share_with_group_locked: true, current_user: :sub_sub_owner, help_text: :ancestor_locked_so_ask_the_owner, linked_ancestor: :subgroup has the correct help text with correct ancestor links
# around hook at ./spec/spec_helper.rb:186 did not execute the example
# ./spec/helpers/groups_helper_spec.rb:198
80) GroupsHelper#share_with_group_lock_help_text root_share_with_group_locked: true, subgroup_share_with_group_locked: false, sub_subgroup_share_with_group_locked: false, current_user: :root_owner, help_text: :default_help, linked_ancestor: nil has the correct help text with correct ancestor links
# around hook at ./spec/spec_helper.rb:186 did not execute the example
# ./spec/helpers/groups_helper_spec.rb:198
81) GroupsHelper#share_with_group_lock_help_text root_share_with_group_locked: true, subgroup_share_with_group_locked: false, sub_subgroup_share_with_group_locked: false, current_user: :sub_owner, help_text: :default_help, linked_ancestor: nil has the correct help text with correct ancestor links
# around hook at ./spec/spec_helper.rb:186 did not execute the example
# ./spec/helpers/groups_helper_spec.rb:198
82) GroupsHelper#share_with_group_lock_help_text root_share_with_group_locked: true, subgroup_share_with_group_locked: false, sub_subgroup_share_with_group_locked: false, current_user: :sub_sub_owner, help_text: :default_help, linked_ancestor: nil has the correct help text with correct ancestor links
# around hook at ./spec/spec_helper.rb:186 did not execute the example
# ./spec/helpers/groups_helper_spec.rb:198
83) GroupsHelper#share_with_group_lock_help_text root_share_with_group_locked: true, subgroup_share_with_group_locked: false, sub_subgroup_share_with_group_locked: true, current_user: :root_owner, help_text: :default_help, linked_ancestor: nil has the correct help text with correct ancestor links
# around hook at ./spec/spec_helper.rb:186 did not execute the example
# ./spec/helpers/groups_helper_spec.rb:198
84) GroupsHelper#share_with_group_lock_help_text root_share_with_group_locked: true, subgroup_share_with_group_locked: false, sub_subgroup_share_with_group_locked: true, current_user: :sub_owner, help_text: :default_help, linked_ancestor: nil has the correct help text with correct ancestor links
# around hook at ./spec/spec_helper.rb:186 did not execute the example
# ./spec/helpers/groups_helper_spec.rb:198
85) GroupsHelper#share_with_group_lock_help_text root_share_with_group_locked: true, subgroup_share_with_group_locked: false, sub_subgroup_share_with_group_locked: true, current_user: :sub_sub_owner, help_text: :default_help, linked_ancestor: nil has the correct help text with correct ancestor links
# around hook at ./spec/spec_helper.rb:186 did not execute the example
# ./spec/helpers/groups_helper_spec.rb:198
86) GroupsHelper#share_with_group_lock_help_text root_share_with_group_locked: true, subgroup_share_with_group_locked: true, sub_subgroup_share_with_group_locked: false, current_user: :root_owner, help_text: :ancestor_locked_and_has_been_overridden, linked_ancestor: :root_group has the correct help text with correct ancestor links
# around hook at ./spec/spec_helper.rb:186 did not execute the example
# ./spec/helpers/groups_helper_spec.rb:198
87) GroupsHelper#share_with_group_lock_help_text root_share_with_group_locked: true, subgroup_share_with_group_locked: true, sub_subgroup_share_with_group_locked: false, current_user: :sub_owner, help_text: :ancestor_locked_and_has_been_overridden, linked_ancestor: :root_group has the correct help text with correct ancestor links
# around hook at ./spec/spec_helper.rb:186 did not execute the example
# ./spec/helpers/groups_helper_spec.rb:198
88) GroupsHelper#share_with_group_lock_help_text root_share_with_group_locked: true, subgroup_share_with_group_locked: true, sub_subgroup_share_with_group_locked: false, current_user: :sub_sub_owner, help_text: :ancestor_locked_and_has_been_overridden, linked_ancestor: :root_group has the correct help text with correct ancestor links
# around hook at ./spec/spec_helper.rb:186 did not execute the example
# ./spec/helpers/groups_helper_spec.rb:198
89) GroupsHelper#share_with_group_lock_help_text root_share_with_group_locked: true, subgroup_share_with_group_locked: true, sub_subgroup_share_with_group_locked: true, current_user: :root_owner, help_text: :ancestor_locked_but_you_can_override, linked_ancestor: :root_group has the correct help text with correct ancestor links
# around hook at ./spec/spec_helper.rb:186 did not execute the example
# ./spec/helpers/groups_helper_spec.rb:198
90) GroupsHelper#share_with_group_lock_help_text root_share_with_group_locked: true, subgroup_share_with_group_locked: true, sub_subgroup_share_with_group_locked: true, current_user: :sub_owner, help_text: :ancestor_locked_so_ask_the_owner, linked_ancestor: :root_group has the correct help text with correct ancestor links
# around hook at ./spec/spec_helper.rb:186 did not execute the example
# ./spec/helpers/groups_helper_spec.rb:198
91) GroupsHelper#share_with_group_lock_help_text root_share_with_group_locked: true, subgroup_share_with_group_locked: true, sub_subgroup_share_with_group_locked: true, current_user: :sub_sub_owner, help_text: :ancestor_locked_so_ask_the_owner, linked_ancestor: :root_group has the correct help text with correct ancestor links
# around hook at ./spec/spec_helper.rb:186 did not execute the example
# ./spec/helpers/groups_helper_spec.rb:198
92) AutocompleteUsersFinder#execute when passed a subgroup includes users from parent groups as well
# around hook at ./spec/spec_helper.rb:186 did not execute the example
# ./spec/finders/autocomplete_users_finder_spec.rb:55
Finished in 5 minutes 7 seconds (files took 16.6 seconds to load)
819 examples, 0 failures, 92 pending
section_end:1522927514:build_script
[0Ksection_start:1522927514:after_script
[0K[32;1mRunning after script...[0;m
[32;1m$ date[0;m
Thu Apr 5 11:25:14 UTC 2018
section_end:1522927515:after_script
[0Ksection_start:1522927515:archive_cache
[0K[32;1mNot uploading cache ruby-2.3.6-with-yarn due to policy[0;m
section_end:1522927516:archive_cache
[0Ksection_start:1522927516:upload_artifacts
[0K[32;1mUploading artifacts...[0;m
coverage/: found 5 matching files [0;m
knapsack/: found 5 matching files [0;m
rspec_flaky/: found 4 matching files [0;m
[0;33mWARNING: tmp/capybara/: no matching files [0;m
Uploading artifacts to coordinator... ok [0;m id[0;m=61303283 responseStatus[0;m=201 Created token[0;m=rusBKvxM
section_end:1522927520:upload_artifacts
[0K[32;1mJob succeeded
[0;m
|