rspec unit pg14 single-db-ci-connection 33/44
Passed Started
3 months ago
by
@stomlinson 2 22:21:40 #bulk_increment_counter 3 22:21:40 when attribute is a counter attribute 4 22:21:41 increments the counter in Redis and logs each increment 5 22:21:41 does not increment the counter for the record 6 22:21:42 schedules a worker to flush counter increments asynchronously 7 22:21:42 when feature flag split_log_bulk_increment_counter is disabled 8 22:21:43 logs a single total increment 9 22:21:43 # [RSpecRunTime] RSpec elapsed time: 9 minutes 25.54 seconds. Current RSS: ~1336M. Threads: 4. load average: 1.47 1.34 1.29 1/293 5287 11 22:21:43 #update_counters_with_lease 12 22:21:44 updates counters of the record 13 22:21:44 behaves like obtaining lease to update database 14 22:21:44 when it is unable to obtain lock 15 22:21:45 logs a warning 16 22:21:45 # [RSpecRunTime] RSpec elapsed time: 9 minutes 27.23 seconds. Current RSS: ~1336M. Threads: 4. load average: 1.47 1.34 1.29 1/293 5288 18 22:21:45 when the execution raises error 19 22:21:45 reraises error 20 22:21:45 #counter_attribute_enabled? 21 22:21:46 is true when counter attribute is defined 22 22:21:47 is false when counter attribute is not defined 23 22:21:47 with a conditional counter attribute 24 22:21:47 where the condition evaluates to true 25 22:21:48 is expected to eq true 26 22:21:48 # [RSpecRunTime] RSpec elapsed time: 9 minutes 30.43 seconds. Current RSS: ~1336M. Threads: 4. load average: 1.43 1.33 1.28 1/293 5289 28 22:21:48 where the condition evaluates to false 29 22:21:49 is expected to eq false 30 22:21:49 #initiate_refresh! 31 22:21:49 when counter attribute is enabled 32 22:21:49 initiates refresh on the BufferedCounter 33 22:21:49 when counter attribute is not enabled 35 22:21:50 #finalize_refresh 36 22:21:50 when counter attribute is enabled 37 22:21:51 initiates refresh on the BufferedCounter 38 22:21:51 when counter attribute is not enabled 41 22:21:52 returns the counter for the respective attribute 42 22:21:53 returns the appropriate counter for the attribute 43 22:21:54 raises error for unknown attribute 44 22:21:54 with a conditional counter attribute 45 22:21:54 enabled: true, expected_counter_class: Gitlab::Counters::BufferedCounter 46 22:21:55 returns the appropriate counter based on the condition 47 22:21:55 # [RSpecRunTime] RSpec elapsed time: 9 minutes 37.39 seconds. Current RSS: ~1336M. Threads: 4. load average: 1.40 1.32 1.28 1/293 5290 49 22:21:55 enabled: false, expected_counter_class: Gitlab::Counters::LegacyCounter 50 22:21:56 returns the appropriate counter based on the condition 51 22:21:56 # [RSpecRunTime] Finishing example group spec/models/concerns/counter_attribute_spec.rb. It took 44.09 seconds. Expected to take 40.14 seconds. 52 22:21:56 # [RSpecRunTime] Starting example group spec/lib/gitlab/database/migration_helpers_spec.rb. Expected to take 37.45 seconds. 53 22:21:56 Gitlab::Database::MigrationHelpers 54 22:21:56 is expected to include Gitlab::Database::MigrationHelpers::WraparoundVacuumHelpers 55 22:21:56 overridden dynamic model helpers 56 22:21:56 #define_batchable_model 57 22:21:56 defines a batchable model with the migration connection 59 22:21:56 calls each_batch with the migration connection 60 22:21:56 #each_batch_range 61 22:21:56 calls each_batch with the migration connection 62 22:21:56 #remove_timestamps 63 22:21:56 can remove the default timestamps 64 22:21:56 can remove custom timestamps 65 22:21:56 #add_timestamps_with_timezone 66 22:21:56 adds "created_at" and "updated_at" fields with the "datetime_with_timezone" data type 67 22:21:56 can disable the NOT NULL constraint 68 22:21:56 can add just one column 69 22:21:56 can add choice of acceptable columns 70 22:21:56 cannot add unacceptable column names 71 22:21:56 #add_concurrent_index 72 22:21:56 outside a transaction 73 22:21:56 creates the index concurrently 74 22:21:56 creates unique index concurrently 75 22:21:56 unprepares the async index creation 76 22:21:56 when the index exists and is valid 77 22:21:56 does leaves the existing index 78 22:21:56 when an invalid copy of the index exists 79 22:21:56 when the default name is used 80 22:21:57 drops and recreates the index 81 22:21:57 when a custom name is used 82 22:21:57 drops and recreates the index 83 22:21:57 when a qualified table name is used 84 22:21:57 drops and recreates the index 85 22:21:57 when targeting a partition table 86 22:21:57 when allow_partition is true 87 22:21:57 creates the index concurrently 88 22:21:57 when allow_partition is not provided 89 22:21:57 raises ArgumentError 90 22:21:57 inside a transaction 91 22:21:57 raises RuntimeError 92 22:21:57 #remove_concurrent_index 93 22:21:57 outside a transaction 94 22:21:57 by column name 95 22:21:57 removes the index concurrently 96 22:21:57 does nothing if the index does not exist 97 22:21:57 unprepares the async index creation 98 22:21:57 when targeting a partition table 99 22:21:57 when dropping an index on the partition table 100 22:21:57 raises ArgumentError 101 22:21:57 by index name 102 22:21:57 removes the index concurrently by index name 103 22:21:57 does nothing if the index does not exist 104 22:21:57 removes the index with keyword arguments 105 22:21:57 raises an error if the index is blank 106 22:21:57 unprepares the async index creation 107 22:21:57 when targeting a partition table 108 22:21:57 when dropping an index on the partition table 109 22:21:57 raises ArgumentError 110 22:21:57 inside a transaction 111 22:21:57 raises RuntimeError 112 22:21:57 #remove_foreign_key_if_exists 113 22:21:57 when the foreign key does not exist 115 22:21:57 when the foreign key exists 116 22:21:57 removes the foreign key 117 22:21:57 when the target table is not given 118 22:21:57 passes the options as the second parameter 119 22:21:57 when the reverse_lock_order option is given 120 22:21:58 requests for lock before removing the foreign key 121 22:21:58 when not inside a transaction 122 22:21:58 does not lock 123 22:21:58 #add_concurrent_foreign_key 124 22:21:58 inside a transaction 125 22:21:58 raises an error 126 22:21:58 outside a transaction 127 22:21:58 target column 128 22:21:58 defaults to (id) when no custom target column is provided 129 22:21:58 references the custom taget column when provided 130 22:21:58 ON DELETE statements 131 22:21:58 on_delete: :nullify 132 22:21:58 appends ON DELETE SET NULL statement 133 22:21:58 on_delete: :cascade 134 22:21:58 appends ON DELETE CASCADE statement 135 22:21:58 on_delete: nil 136 22:21:58 appends no ON DELETE statement 137 22:21:58 ON UPDATE statements 138 22:21:58 on_update: :nullify 139 22:21:58 appends ON UPDATE SET NULL statement 140 22:21:58 on_update: :cascade 141 22:21:58 appends ON UPDATE CASCADE statement 142 22:21:58 on_update: nil 143 22:21:58 appends no ON UPDATE statement 144 22:21:58 when on_update is not provided 145 22:21:58 appends no ON UPDATE statement 146 22:21:58 when no custom key name is supplied 147 22:21:58 creates a concurrent foreign key and validates it 148 22:21:58 does not create a foreign key if it exists already 149 22:21:58 when a custom key name is supplied 150 22:21:58 for creating a new foreign key for a column that does not presently exist 151 22:21:58 creates a new foreign key 152 22:21:58 for creating a duplicate foreign key for a column that presently exists 153 22:21:58 when the supplied key name is the same as the existing foreign key name 154 22:21:58 does not create a new foreign key 155 22:21:58 when the supplied key name is different from the existing foreign key name 156 22:21:58 creates a new foreign key 157 22:21:58 validate option 158 22:21:58 when validate is supplied with a falsey value 159 22:21:58 behaves like skips validation 160 22:21:58 skips validation 161 22:21:58 behaves like skips validation 162 22:21:58 skips validation 163 22:21:58 when validate is supplied with a truthy value 164 22:21:58 behaves like performs validation 165 22:21:58 performs validation 166 22:21:58 behaves like performs validation 167 22:21:58 performs validation 168 22:21:58 when validate is not supplied 169 22:21:58 behaves like performs validation 170 22:21:59 performs validation 171 22:21:59 when the reverse_lock_order flag is set 172 22:21:59 explicitly locks the tables in target-source order 173 22:21:59 when creating foreign key for a group of columns 174 22:21:59 references the custom target columns when provided 175 22:21:59 when foreign key is already defined 176 22:21:59 does not create foreign key 177 22:21:59 when creating foreign key on a partitioned table 178 22:21:59 creates the FK without using NOT VALID 179 22:21:59 raises an error if allow_partitioned is not set 180 22:21:59 when the reverse_lock_order flag is set 181 22:21:59 explicitly locks the tables in target-source order 182 22:21:59 #validate_foreign_key 183 22:21:59 when name is provided 184 22:21:59 does not infer the foreign key constraint name 185 22:21:59 when name is not provided 186 22:21:59 infers the foreign key constraint name 187 22:21:59 when the inferred foreign key constraint does not exist 188 22:21:59 raises an error 189 22:21:59 #concurrent_foreign_key_name 190 22:21:59 returns the name for a foreign key 191 22:21:59 when using multiple columns 192 22:21:59 returns the name of the foreign key 193 22:21:59 #foreign_key_exists? 194 22:21:59 compares by target table if no column given 195 22:21:59 raises an error if an invalid on_delete is specified 196 22:21:59 without specifying a target table 197 22:21:59 behaves like foreign key checks 198 22:21:59 finds existing foreign keys by column 199 22:21:59 finds existing foreign keys by name 200 22:21:59 finds existing foreign_keys by name and column 201 22:21:59 finds existing foreign_keys by name, column and on_delete 202 22:21:59 finds existing foreign keys by target table only 203 22:21:59 finds existing foreign_keys by identifier 204 22:21:59 compares by column name if given 205 22:21:59 compares by target column name if given 206 22:21:59 compares by foreign key name if given 207 22:21:59 compares by foreign key name and column if given 208 22:22:00 compares by foreign key name, column and on_delete if given 209 22:22:00 specifying a target table 210 22:22:00 behaves like foreign key checks 211 22:22:00 finds existing foreign keys by column 212 22:22:00 finds existing foreign keys by name 213 22:22:00 finds existing foreign_keys by name and column 214 22:22:00 finds existing foreign_keys by name, column and on_delete 215 22:22:00 finds existing foreign keys by target table only 216 22:22:00 finds existing foreign_keys by identifier 217 22:22:00 compares by column name if given 218 22:22:00 compares by target column name if given 219 22:22:00 compares by foreign key name if given 220 22:22:00 compares by foreign key name and column if given 221 22:22:00 compares by foreign key name, column and on_delete if given 222 22:22:00 if the schema cache does not include the constrained_columns column 223 22:22:00 -- transaction(nil) 224 22:22:00 main: -- execute("DROP VIEW IF EXISTS postgres_foreign_keys;\nCREATE OR REPLACE VIEW postgres_foreign_keys AS\nSELECT\n pg_constraint.oid AS oid,\n pg_constraint.conname AS name,\n constrained_namespace.nspname::text || '.'::text || constrained_table.relname::text AS constrained_table_identifier,\n referenced_namespace.nspname::text || '.'::text || referenced_table.relname::text AS referenced_table_identifier\nFROM pg_constraint\n INNER JOIN pg_class constrained_table ON constrained_table.oid = pg_constraint.conrelid\n INNER JOIN pg_class referenced_table ON referenced_table.oid = pg_constraint.confrelid\n INNER JOIN pg_namespace constrained_namespace ON constrained_table.relnamespace = constrained_namespace.oid\n INNER JOIN pg_namespace referenced_namespace ON referenced_table.relnamespace = referenced_namespace.oid\nWHERE contype = 'f';\n") 225 22:22:00 main: -> 0.0252s 226 22:22:00 main: -- execute("CREATE OR REPLACE VIEW postgres_foreign_keys AS\nSELECT\n pg_constraint.oid AS oid,\n pg_constraint.conname AS name,\n constrained_namespace.nspname::text || '.'::text || constrained_table.relname::text AS constrained_table_identifier,\n referenced_namespace.nspname::text || '.'::text || referenced_table.relname::text AS referenced_table_identifier,\n constrained_table.relname::text AS constrained_table_name,\n referenced_table.relname::text AS referenced_table_name,\n constrained_cols.constrained_columns,\n referenced_cols.referenced_columns,\n pg_constraint.confdeltype AS on_delete_action,\n pg_constraint.coninhcount > 0 as is_inherited\nFROM pg_constraint\n INNER JOIN pg_class constrained_table ON constrained_table.oid = pg_constraint.conrelid\n INNER JOIN pg_class referenced_table ON referenced_table.oid = pg_constraint.confrelid\n INNER JOIN pg_namespace constrained_namespace ON constrained_table.relnamespace = constrained_namespace.oid\n INNER JOIN pg_namespace referenced_namespace ON referenced_table.relnamespace = referenced_namespace.oid\n CROSS JOIN LATERAL (\n SELECT array_agg(pg_attribute.attname ORDER BY conkey.idx) -- must order here so that attributes are in correct order in array\n FROM unnest(pg_constraint.conkey) WITH ORDINALITY conkey(attnum, idx)\n INNER JOIN pg_attribute ON pg_attribute.attnum = conkey.attnum AND pg_attribute.attrelid = constrained_table.oid\n ) constrained_cols(constrained_columns)\n CROSS JOIN LATERAL (\n SELECT array_agg(pg_attribute.attname ORDER BY confkey.idx)\n FROM unnest(pg_constraint.confkey) WITH ORDINALITY confkey(attnum, idx)\n INNER JOIN pg_attribute ON pg_attribute.attnum = confkey.attnum AND pg_attribute.attrelid = referenced_table.oid\n ) referenced_cols(referenced_columns)\nWHERE contype = 'f';\n") 227 22:22:00 main: -> 0.0078s 229 22:22:00 correctly sets up the test without the column in the columns_hash 230 22:22:00 behaves like foreign key checks 231 22:22:00 -- transaction(nil) 232 22:22:00 main: -- execute("DROP VIEW IF EXISTS postgres_foreign_keys;\nCREATE OR REPLACE VIEW postgres_foreign_keys AS\nSELECT\n pg_constraint.oid AS oid,\n pg_constraint.conname AS name,\n constrained_namespace.nspname::text || '.'::text || constrained_table.relname::text AS constrained_table_identifier,\n referenced_namespace.nspname::text || '.'::text || referenced_table.relname::text AS referenced_table_identifier\nFROM pg_constraint\n INNER JOIN pg_class constrained_table ON constrained_table.oid = pg_constraint.conrelid\n INNER JOIN pg_class referenced_table ON referenced_table.oid = pg_constraint.confrelid\n INNER JOIN pg_namespace constrained_namespace ON constrained_table.relnamespace = constrained_namespace.oid\n INNER JOIN pg_namespace referenced_namespace ON referenced_table.relnamespace = referenced_namespace.oid\nWHERE contype = 'f';\n") 233 22:22:00 main: -> 0.0061s 234 22:22:00 main: -- execute("CREATE OR REPLACE VIEW postgres_foreign_keys AS\nSELECT\n pg_constraint.oid AS oid,\n pg_constraint.conname AS name,\n constrained_namespace.nspname::text || '.'::text || constrained_table.relname::text AS constrained_table_identifier,\n referenced_namespace.nspname::text || '.'::text || referenced_table.relname::text AS referenced_table_identifier,\n constrained_table.relname::text AS constrained_table_name,\n referenced_table.relname::text AS referenced_table_name,\n constrained_cols.constrained_columns,\n referenced_cols.referenced_columns,\n pg_constraint.confdeltype AS on_delete_action,\n pg_constraint.coninhcount > 0 as is_inherited\nFROM pg_constraint\n INNER JOIN pg_class constrained_table ON constrained_table.oid = pg_constraint.conrelid\n INNER JOIN pg_class referenced_table ON referenced_table.oid = pg_constraint.confrelid\n INNER JOIN pg_namespace constrained_namespace ON constrained_table.relnamespace = constrained_namespace.oid\n INNER JOIN pg_namespace referenced_namespace ON referenced_table.relnamespace = referenced_namespace.oid\n CROSS JOIN LATERAL (\n SELECT array_agg(pg_attribute.attname ORDER BY conkey.idx) -- must order here so that attributes are in correct order in array\n FROM unnest(pg_constraint.conkey) WITH ORDINALITY conkey(attnum, idx)\n INNER JOIN pg_attribute ON pg_attribute.attnum = conkey.attnum AND pg_attribute.attrelid = constrained_table.oid\n ) constrained_cols(constrained_columns)\n CROSS JOIN LATERAL (\n SELECT array_agg(pg_attribute.attname ORDER BY confkey.idx)\n FROM unnest(pg_constraint.confkey) WITH ORDINALITY confkey(attnum, idx)\n INNER JOIN pg_attribute ON pg_attribute.attnum = confkey.attnum AND pg_attribute.attrelid = referenced_table.oid\n ) referenced_cols(referenced_columns)\nWHERE contype = 'f';\n") 235 22:22:00 main: -> 0.0078s 237 22:22:00 finds existing foreign keys by column 238 22:22:00 -- transaction(nil) 239 22:22:01 main: -- execute("DROP VIEW IF EXISTS postgres_foreign_keys;\nCREATE OR REPLACE VIEW postgres_foreign_keys AS\nSELECT\n pg_constraint.oid AS oid,\n pg_constraint.conname AS name,\n constrained_namespace.nspname::text || '.'::text || constrained_table.relname::text AS constrained_table_identifier,\n referenced_namespace.nspname::text || '.'::text || referenced_table.relname::text AS referenced_table_identifier\nFROM pg_constraint\n INNER JOIN pg_class constrained_table ON constrained_table.oid = pg_constraint.conrelid\n INNER JOIN pg_class referenced_table ON referenced_table.oid = pg_constraint.confrelid\n INNER JOIN pg_namespace constrained_namespace ON constrained_table.relnamespace = constrained_namespace.oid\n INNER JOIN pg_namespace referenced_namespace ON referenced_table.relnamespace = referenced_namespace.oid\nWHERE contype = 'f';\n") 240 22:22:01 main: -> 0.0078s 241 22:22:01 main: -- execute("CREATE OR REPLACE VIEW postgres_foreign_keys AS\nSELECT\n pg_constraint.oid AS oid,\n pg_constraint.conname AS name,\n constrained_namespace.nspname::text || '.'::text || constrained_table.relname::text AS constrained_table_identifier,\n referenced_namespace.nspname::text || '.'::text || referenced_table.relname::text AS referenced_table_identifier,\n constrained_table.relname::text AS constrained_table_name,\n referenced_table.relname::text AS referenced_table_name,\n constrained_cols.constrained_columns,\n referenced_cols.referenced_columns,\n pg_constraint.confdeltype AS on_delete_action,\n pg_constraint.coninhcount > 0 as is_inherited\nFROM pg_constraint\n INNER JOIN pg_class constrained_table ON constrained_table.oid = pg_constraint.conrelid\n INNER JOIN pg_class referenced_table ON referenced_table.oid = pg_constraint.confrelid\n INNER JOIN pg_namespace constrained_namespace ON constrained_table.relnamespace = constrained_namespace.oid\n INNER JOIN pg_namespace referenced_namespace ON referenced_table.relnamespace = referenced_namespace.oid\n CROSS JOIN LATERAL (\n SELECT array_agg(pg_attribute.attname ORDER BY conkey.idx) -- must order here so that attributes are in correct order in array\n FROM unnest(pg_constraint.conkey) WITH ORDINALITY conkey(attnum, idx)\n INNER JOIN pg_attribute ON pg_attribute.attnum = conkey.attnum AND pg_attribute.attrelid = constrained_table.oid\n ) constrained_cols(constrained_columns)\n CROSS JOIN LATERAL (\n SELECT array_agg(pg_attribute.attname ORDER BY confkey.idx)\n FROM unnest(pg_constraint.confkey) WITH ORDINALITY confkey(attnum, idx)\n INNER JOIN pg_attribute ON pg_attribute.attnum = confkey.attnum AND pg_attribute.attrelid = referenced_table.oid\n ) referenced_cols(referenced_columns)\nWHERE contype = 'f';\n") 242 22:22:01 main: -> 0.0080s 244 22:22:01 finds existing foreign keys by name 245 22:22:01 -- transaction(nil) 246 22:22:01 main: -- execute("DROP VIEW IF EXISTS postgres_foreign_keys;\nCREATE OR REPLACE VIEW postgres_foreign_keys AS\nSELECT\n pg_constraint.oid AS oid,\n pg_constraint.conname AS name,\n constrained_namespace.nspname::text || '.'::text || constrained_table.relname::text AS constrained_table_identifier,\n referenced_namespace.nspname::text || '.'::text || referenced_table.relname::text AS referenced_table_identifier\nFROM pg_constraint\n INNER JOIN pg_class constrained_table ON constrained_table.oid = pg_constraint.conrelid\n INNER JOIN pg_class referenced_table ON referenced_table.oid = pg_constraint.confrelid\n INNER JOIN pg_namespace constrained_namespace ON constrained_table.relnamespace = constrained_namespace.oid\n INNER JOIN pg_namespace referenced_namespace ON referenced_table.relnamespace = referenced_namespace.oid\nWHERE contype = 'f';\n") 247 22:22:01 main: -> 0.0066s 248 22:22:01 main: -- execute("CREATE OR REPLACE VIEW postgres_foreign_keys AS\nSELECT\n pg_constraint.oid AS oid,\n pg_constraint.conname AS name,\n constrained_namespace.nspname::text || '.'::text || constrained_table.relname::text AS constrained_table_identifier,\n referenced_namespace.nspname::text || '.'::text || referenced_table.relname::text AS referenced_table_identifier,\n constrained_table.relname::text AS constrained_table_name,\n referenced_table.relname::text AS referenced_table_name,\n constrained_cols.constrained_columns,\n referenced_cols.referenced_columns,\n pg_constraint.confdeltype AS on_delete_action,\n pg_constraint.coninhcount > 0 as is_inherited\nFROM pg_constraint\n INNER JOIN pg_class constrained_table ON constrained_table.oid = pg_constraint.conrelid\n INNER JOIN pg_class referenced_table ON referenced_table.oid = pg_constraint.confrelid\n INNER JOIN pg_namespace constrained_namespace ON constrained_table.relnamespace = constrained_namespace.oid\n INNER JOIN pg_namespace referenced_namespace ON referenced_table.relnamespace = referenced_namespace.oid\n CROSS JOIN LATERAL (\n SELECT array_agg(pg_attribute.attname ORDER BY conkey.idx) -- must order here so that attributes are in correct order in array\n FROM unnest(pg_constraint.conkey) WITH ORDINALITY conkey(attnum, idx)\n INNER JOIN pg_attribute ON pg_attribute.attnum = conkey.attnum AND pg_attribute.attrelid = constrained_table.oid\n ) constrained_cols(constrained_columns)\n CROSS JOIN LATERAL (\n SELECT array_agg(pg_attribute.attname ORDER BY confkey.idx)\n FROM unnest(pg_constraint.confkey) WITH ORDINALITY confkey(attnum, idx)\n INNER JOIN pg_attribute ON pg_attribute.attnum = confkey.attnum AND pg_attribute.attrelid = referenced_table.oid\n ) referenced_cols(referenced_columns)\nWHERE contype = 'f';\n") 249 22:22:01 main: -> 0.0077s 251 22:22:01 finds existing foreign_keys by name and column 252 22:22:01 -- transaction(nil) 253 22:22:01 main: -- execute("DROP VIEW IF EXISTS postgres_foreign_keys;\nCREATE OR REPLACE VIEW postgres_foreign_keys AS\nSELECT\n pg_constraint.oid AS oid,\n pg_constraint.conname AS name,\n constrained_namespace.nspname::text || '.'::text || constrained_table.relname::text AS constrained_table_identifier,\n referenced_namespace.nspname::text || '.'::text || referenced_table.relname::text AS referenced_table_identifier\nFROM pg_constraint\n INNER JOIN pg_class constrained_table ON constrained_table.oid = pg_constraint.conrelid\n INNER JOIN pg_class referenced_table ON referenced_table.oid = pg_constraint.confrelid\n INNER JOIN pg_namespace constrained_namespace ON constrained_table.relnamespace = constrained_namespace.oid\n INNER JOIN pg_namespace referenced_namespace ON referenced_table.relnamespace = referenced_namespace.oid\nWHERE contype = 'f';\n") 254 22:22:01 main: -> 0.0073s 255 22:22:01 main: -- execute("CREATE OR REPLACE VIEW postgres_foreign_keys AS\nSELECT\n pg_constraint.oid AS oid,\n pg_constraint.conname AS name,\n constrained_namespace.nspname::text || '.'::text || constrained_table.relname::text AS constrained_table_identifier,\n referenced_namespace.nspname::text || '.'::text || referenced_table.relname::text AS referenced_table_identifier,\n constrained_table.relname::text AS constrained_table_name,\n referenced_table.relname::text AS referenced_table_name,\n constrained_cols.constrained_columns,\n referenced_cols.referenced_columns,\n pg_constraint.confdeltype AS on_delete_action,\n pg_constraint.coninhcount > 0 as is_inherited\nFROM pg_constraint\n INNER JOIN pg_class constrained_table ON constrained_table.oid = pg_constraint.conrelid\n INNER JOIN pg_class referenced_table ON referenced_table.oid = pg_constraint.confrelid\n INNER JOIN pg_namespace constrained_namespace ON constrained_table.relnamespace = constrained_namespace.oid\n INNER JOIN pg_namespace referenced_namespace ON referenced_table.relnamespace = referenced_namespace.oid\n CROSS JOIN LATERAL (\n SELECT array_agg(pg_attribute.attname ORDER BY conkey.idx) -- must order here so that attributes are in correct order in array\n FROM unnest(pg_constraint.conkey) WITH ORDINALITY conkey(attnum, idx)\n INNER JOIN pg_attribute ON pg_attribute.attnum = conkey.attnum AND pg_attribute.attrelid = constrained_table.oid\n ) constrained_cols(constrained_columns)\n CROSS JOIN LATERAL (\n SELECT array_agg(pg_attribute.attname ORDER BY confkey.idx)\n FROM unnest(pg_constraint.confkey) WITH ORDINALITY confkey(attnum, idx)\n INNER JOIN pg_attribute ON pg_attribute.attnum = confkey.attnum AND pg_attribute.attrelid = referenced_table.oid\n ) referenced_cols(referenced_columns)\nWHERE contype = 'f';\n") 256 22:22:01 main: -> 0.0083s 258 22:22:01 finds existing foreign_keys by name, column and on_delete 259 22:22:01 -- transaction(nil) 260 22:22:01 main: -- execute("DROP VIEW IF EXISTS postgres_foreign_keys;\nCREATE OR REPLACE VIEW postgres_foreign_keys AS\nSELECT\n pg_constraint.oid AS oid,\n pg_constraint.conname AS name,\n constrained_namespace.nspname::text || '.'::text || constrained_table.relname::text AS constrained_table_identifier,\n referenced_namespace.nspname::text || '.'::text || referenced_table.relname::text AS referenced_table_identifier\nFROM pg_constraint\n INNER JOIN pg_class constrained_table ON constrained_table.oid = pg_constraint.conrelid\n INNER JOIN pg_class referenced_table ON referenced_table.oid = pg_constraint.confrelid\n INNER JOIN pg_namespace constrained_namespace ON constrained_table.relnamespace = constrained_namespace.oid\n INNER JOIN pg_namespace referenced_namespace ON referenced_table.relnamespace = referenced_namespace.oid\nWHERE contype = 'f';\n") 261 22:22:01 main: -> 0.0061s 262 22:22:01 main: -- execute("CREATE OR REPLACE VIEW postgres_foreign_keys AS\nSELECT\n pg_constraint.oid AS oid,\n pg_constraint.conname AS name,\n constrained_namespace.nspname::text || '.'::text || constrained_table.relname::text AS constrained_table_identifier,\n referenced_namespace.nspname::text || '.'::text || referenced_table.relname::text AS referenced_table_identifier,\n constrained_table.relname::text AS constrained_table_name,\n referenced_table.relname::text AS referenced_table_name,\n constrained_cols.constrained_columns,\n referenced_cols.referenced_columns,\n pg_constraint.confdeltype AS on_delete_action,\n pg_constraint.coninhcount > 0 as is_inherited\nFROM pg_constraint\n INNER JOIN pg_class constrained_table ON constrained_table.oid = pg_constraint.conrelid\n INNER JOIN pg_class referenced_table ON referenced_table.oid = pg_constraint.confrelid\n INNER JOIN pg_namespace constrained_namespace ON constrained_table.relnamespace = constrained_namespace.oid\n INNER JOIN pg_namespace referenced_namespace ON referenced_table.relnamespace = referenced_namespace.oid\n CROSS JOIN LATERAL (\n SELECT array_agg(pg_attribute.attname ORDER BY conkey.idx) -- must order here so that attributes are in correct order in array\n FROM unnest(pg_constraint.conkey) WITH ORDINALITY conkey(attnum, idx)\n INNER JOIN pg_attribute ON pg_attribute.attnum = conkey.attnum AND pg_attribute.attrelid = constrained_table.oid\n ) constrained_cols(constrained_columns)\n CROSS JOIN LATERAL (\n SELECT array_agg(pg_attribute.attname ORDER BY confkey.idx)\n FROM unnest(pg_constraint.confkey) WITH ORDINALITY confkey(attnum, idx)\n INNER JOIN pg_attribute ON pg_attribute.attnum = confkey.attnum AND pg_attribute.attrelid = referenced_table.oid\n ) referenced_cols(referenced_columns)\nWHERE contype = 'f';\n") 263 22:22:01 main: -> 0.0072s 265 22:22:01 finds existing foreign keys by target table only 266 22:22:01 -- transaction(nil) 267 22:22:01 main: -- execute("DROP VIEW IF EXISTS postgres_foreign_keys;\nCREATE OR REPLACE VIEW postgres_foreign_keys AS\nSELECT\n pg_constraint.oid AS oid,\n pg_constraint.conname AS name,\n constrained_namespace.nspname::text || '.'::text || constrained_table.relname::text AS constrained_table_identifier,\n referenced_namespace.nspname::text || '.'::text || referenced_table.relname::text AS referenced_table_identifier\nFROM pg_constraint\n INNER JOIN pg_class constrained_table ON constrained_table.oid = pg_constraint.conrelid\n INNER JOIN pg_class referenced_table ON referenced_table.oid = pg_constraint.confrelid\n INNER JOIN pg_namespace constrained_namespace ON constrained_table.relnamespace = constrained_namespace.oid\n INNER JOIN pg_namespace referenced_namespace ON referenced_table.relnamespace = referenced_namespace.oid\nWHERE contype = 'f';\n") 268 22:22:01 main: -> 0.0061s 269 22:22:01 main: -- execute("CREATE OR REPLACE VIEW postgres_foreign_keys AS\nSELECT\n pg_constraint.oid AS oid,\n pg_constraint.conname AS name,\n constrained_namespace.nspname::text || '.'::text || constrained_table.relname::text AS constrained_table_identifier,\n referenced_namespace.nspname::text || '.'::text || referenced_table.relname::text AS referenced_table_identifier,\n constrained_table.relname::text AS constrained_table_name,\n referenced_table.relname::text AS referenced_table_name,\n constrained_cols.constrained_columns,\n referenced_cols.referenced_columns,\n pg_constraint.confdeltype AS on_delete_action,\n pg_constraint.coninhcount > 0 as is_inherited\nFROM pg_constraint\n INNER JOIN pg_class constrained_table ON constrained_table.oid = pg_constraint.conrelid\n INNER JOIN pg_class referenced_table ON referenced_table.oid = pg_constraint.confrelid\n INNER JOIN pg_namespace constrained_namespace ON constrained_table.relnamespace = constrained_namespace.oid\n INNER JOIN pg_namespace referenced_namespace ON referenced_table.relnamespace = referenced_namespace.oid\n CROSS JOIN LATERAL (\n SELECT array_agg(pg_attribute.attname ORDER BY conkey.idx) -- must order here so that attributes are in correct order in array\n FROM unnest(pg_constraint.conkey) WITH ORDINALITY conkey(attnum, idx)\n INNER JOIN pg_attribute ON pg_attribute.attnum = conkey.attnum AND pg_attribute.attrelid = constrained_table.oid\n ) constrained_cols(constrained_columns)\n CROSS JOIN LATERAL (\n SELECT array_agg(pg_attribute.attname ORDER BY confkey.idx)\n FROM unnest(pg_constraint.confkey) WITH ORDINALITY confkey(attnum, idx)\n INNER JOIN pg_attribute ON pg_attribute.attnum = confkey.attnum AND pg_attribute.attrelid = referenced_table.oid\n ) referenced_cols(referenced_columns)\nWHERE contype = 'f';\n") 270 22:22:01 main: -> 0.0079s 272 22:22:01 finds existing foreign_keys by identifier 273 22:22:01 -- transaction(nil) 274 22:22:01 main: -- execute("DROP VIEW IF EXISTS postgres_foreign_keys;\nCREATE OR REPLACE VIEW postgres_foreign_keys AS\nSELECT\n pg_constraint.oid AS oid,\n pg_constraint.conname AS name,\n constrained_namespace.nspname::text || '.'::text || constrained_table.relname::text AS constrained_table_identifier,\n referenced_namespace.nspname::text || '.'::text || referenced_table.relname::text AS referenced_table_identifier\nFROM pg_constraint\n INNER JOIN pg_class constrained_table ON constrained_table.oid = pg_constraint.conrelid\n INNER JOIN pg_class referenced_table ON referenced_table.oid = pg_constraint.confrelid\n INNER JOIN pg_namespace constrained_namespace ON constrained_table.relnamespace = constrained_namespace.oid\n INNER JOIN pg_namespace referenced_namespace ON referenced_table.relnamespace = referenced_namespace.oid\nWHERE contype = 'f';\n") 275 22:22:01 main: -> 0.0064s 276 22:22:01 main: -- execute("CREATE OR REPLACE VIEW postgres_foreign_keys AS\nSELECT\n pg_constraint.oid AS oid,\n pg_constraint.conname AS name,\n constrained_namespace.nspname::text || '.'::text || constrained_table.relname::text AS constrained_table_identifier,\n referenced_namespace.nspname::text || '.'::text || referenced_table.relname::text AS referenced_table_identifier,\n constrained_table.relname::text AS constrained_table_name,\n referenced_table.relname::text AS referenced_table_name,\n constrained_cols.constrained_columns,\n referenced_cols.referenced_columns,\n pg_constraint.confdeltype AS on_delete_action,\n pg_constraint.coninhcount > 0 as is_inherited\nFROM pg_constraint\n INNER JOIN pg_class constrained_table ON constrained_table.oid = pg_constraint.conrelid\n INNER JOIN pg_class referenced_table ON referenced_table.oid = pg_constraint.confrelid\n INNER JOIN pg_namespace constrained_namespace ON constrained_table.relnamespace = constrained_namespace.oid\n INNER JOIN pg_namespace referenced_namespace ON referenced_table.relnamespace = referenced_namespace.oid\n CROSS JOIN LATERAL (\n SELECT array_agg(pg_attribute.attname ORDER BY conkey.idx) -- must order here so that attributes are in correct order in array\n FROM unnest(pg_constraint.conkey) WITH ORDINALITY conkey(attnum, idx)\n INNER JOIN pg_attribute ON pg_attribute.attnum = conkey.attnum AND pg_attribute.attrelid = constrained_table.oid\n ) constrained_cols(constrained_columns)\n CROSS JOIN LATERAL (\n SELECT array_agg(pg_attribute.attname ORDER BY confkey.idx)\n FROM unnest(pg_constraint.confkey) WITH ORDINALITY confkey(attnum, idx)\n INNER JOIN pg_attribute ON pg_attribute.attnum = confkey.attnum AND pg_attribute.attrelid = referenced_table.oid\n ) referenced_cols(referenced_columns)\nWHERE contype = 'f';\n") 277 22:22:01 main: -> 0.0074s 279 22:22:01 compares by column name if given 280 22:22:01 -- transaction(nil) 281 22:22:01 main: -- execute("DROP VIEW IF EXISTS postgres_foreign_keys;\nCREATE OR REPLACE VIEW postgres_foreign_keys AS\nSELECT\n pg_constraint.oid AS oid,\n pg_constraint.conname AS name,\n constrained_namespace.nspname::text || '.'::text || constrained_table.relname::text AS constrained_table_identifier,\n referenced_namespace.nspname::text || '.'::text || referenced_table.relname::text AS referenced_table_identifier\nFROM pg_constraint\n INNER JOIN pg_class constrained_table ON constrained_table.oid = pg_constraint.conrelid\n INNER JOIN pg_class referenced_table ON referenced_table.oid = pg_constraint.confrelid\n INNER JOIN pg_namespace constrained_namespace ON constrained_table.relnamespace = constrained_namespace.oid\n INNER JOIN pg_namespace referenced_namespace ON referenced_table.relnamespace = referenced_namespace.oid\nWHERE contype = 'f';\n") 282 22:22:01 main: -> 0.0071s 283 22:22:01 main: -- execute("CREATE OR REPLACE VIEW postgres_foreign_keys AS\nSELECT\n pg_constraint.oid AS oid,\n pg_constraint.conname AS name,\n constrained_namespace.nspname::text || '.'::text || constrained_table.relname::text AS constrained_table_identifier,\n referenced_namespace.nspname::text || '.'::text || referenced_table.relname::text AS referenced_table_identifier,\n constrained_table.relname::text AS constrained_table_name,\n referenced_table.relname::text AS referenced_table_name,\n constrained_cols.constrained_columns,\n referenced_cols.referenced_columns,\n pg_constraint.confdeltype AS on_delete_action,\n pg_constraint.coninhcount > 0 as is_inherited\nFROM pg_constraint\n INNER JOIN pg_class constrained_table ON constrained_table.oid = pg_constraint.conrelid\n INNER JOIN pg_class referenced_table ON referenced_table.oid = pg_constraint.confrelid\n INNER JOIN pg_namespace constrained_namespace ON constrained_table.relnamespace = constrained_namespace.oid\n INNER JOIN pg_namespace referenced_namespace ON referenced_table.relnamespace = referenced_namespace.oid\n CROSS JOIN LATERAL (\n SELECT array_agg(pg_attribute.attname ORDER BY conkey.idx) -- must order here so that attributes are in correct order in array\n FROM unnest(pg_constraint.conkey) WITH ORDINALITY conkey(attnum, idx)\n INNER JOIN pg_attribute ON pg_attribute.attnum = conkey.attnum AND pg_attribute.attrelid = constrained_table.oid\n ) constrained_cols(constrained_columns)\n CROSS JOIN LATERAL (\n SELECT array_agg(pg_attribute.attname ORDER BY confkey.idx)\n FROM unnest(pg_constraint.confkey) WITH ORDINALITY confkey(attnum, idx)\n INNER JOIN pg_attribute ON pg_attribute.attnum = confkey.attnum AND pg_attribute.attrelid = referenced_table.oid\n ) referenced_cols(referenced_columns)\nWHERE contype = 'f';\n") 284 22:22:01 main: -> 0.0085s 286 22:22:01 compares by target column name if given 287 22:22:01 -- transaction(nil) 288 22:22:01 main: -- execute("DROP VIEW IF EXISTS postgres_foreign_keys;\nCREATE OR REPLACE VIEW postgres_foreign_keys AS\nSELECT\n pg_constraint.oid AS oid,\n pg_constraint.conname AS name,\n constrained_namespace.nspname::text || '.'::text || constrained_table.relname::text AS constrained_table_identifier,\n referenced_namespace.nspname::text || '.'::text || referenced_table.relname::text AS referenced_table_identifier\nFROM pg_constraint\n INNER JOIN pg_class constrained_table ON constrained_table.oid = pg_constraint.conrelid\n INNER JOIN pg_class referenced_table ON referenced_table.oid = pg_constraint.confrelid\n INNER JOIN pg_namespace constrained_namespace ON constrained_table.relnamespace = constrained_namespace.oid\n INNER JOIN pg_namespace referenced_namespace ON referenced_table.relnamespace = referenced_namespace.oid\nWHERE contype = 'f';\n") 289 22:22:01 main: -> 0.0069s 290 22:22:01 main: -- execute("CREATE OR REPLACE VIEW postgres_foreign_keys AS\nSELECT\n pg_constraint.oid AS oid,\n pg_constraint.conname AS name,\n constrained_namespace.nspname::text || '.'::text || constrained_table.relname::text AS constrained_table_identifier,\n referenced_namespace.nspname::text || '.'::text || referenced_table.relname::text AS referenced_table_identifier,\n constrained_table.relname::text AS constrained_table_name,\n referenced_table.relname::text AS referenced_table_name,\n constrained_cols.constrained_columns,\n referenced_cols.referenced_columns,\n pg_constraint.confdeltype AS on_delete_action,\n pg_constraint.coninhcount > 0 as is_inherited\nFROM pg_constraint\n INNER JOIN pg_class constrained_table ON constrained_table.oid = pg_constraint.conrelid\n INNER JOIN pg_class referenced_table ON referenced_table.oid = pg_constraint.confrelid\n INNER JOIN pg_namespace constrained_namespace ON constrained_table.relnamespace = constrained_namespace.oid\n INNER JOIN pg_namespace referenced_namespace ON referenced_table.relnamespace = referenced_namespace.oid\n CROSS JOIN LATERAL (\n SELECT array_agg(pg_attribute.attname ORDER BY conkey.idx) -- must order here so that attributes are in correct order in array\n FROM unnest(pg_constraint.conkey) WITH ORDINALITY conkey(attnum, idx)\n INNER JOIN pg_attribute ON pg_attribute.attnum = conkey.attnum AND pg_attribute.attrelid = constrained_table.oid\n ) constrained_cols(constrained_columns)\n CROSS JOIN LATERAL (\n SELECT array_agg(pg_attribute.attname ORDER BY confkey.idx)\n FROM unnest(pg_constraint.confkey) WITH ORDINALITY confkey(attnum, idx)\n INNER JOIN pg_attribute ON pg_attribute.attnum = confkey.attnum AND pg_attribute.attrelid = referenced_table.oid\n ) referenced_cols(referenced_columns)\nWHERE contype = 'f';\n") 291 22:22:01 main: -> 0.0079s 293 22:22:01 compares by foreign key name if given 294 22:22:01 -- transaction(nil) 295 22:22:01 main: -- execute("DROP VIEW IF EXISTS postgres_foreign_keys;\nCREATE OR REPLACE VIEW postgres_foreign_keys AS\nSELECT\n pg_constraint.oid AS oid,\n pg_constraint.conname AS name,\n constrained_namespace.nspname::text || '.'::text || constrained_table.relname::text AS constrained_table_identifier,\n referenced_namespace.nspname::text || '.'::text || referenced_table.relname::text AS referenced_table_identifier\nFROM pg_constraint\n INNER JOIN pg_class constrained_table ON constrained_table.oid = pg_constraint.conrelid\n INNER JOIN pg_class referenced_table ON referenced_table.oid = pg_constraint.confrelid\n INNER JOIN pg_namespace constrained_namespace ON constrained_table.relnamespace = constrained_namespace.oid\n INNER JOIN pg_namespace referenced_namespace ON referenced_table.relnamespace = referenced_namespace.oid\nWHERE contype = 'f';\n") 296 22:22:01 main: -> 0.0064s 297 22:22:01 main: -- execute("CREATE OR REPLACE VIEW postgres_foreign_keys AS\nSELECT\n pg_constraint.oid AS oid,\n pg_constraint.conname AS name,\n constrained_namespace.nspname::text || '.'::text || constrained_table.relname::text AS constrained_table_identifier,\n referenced_namespace.nspname::text || '.'::text || referenced_table.relname::text AS referenced_table_identifier,\n constrained_table.relname::text AS constrained_table_name,\n referenced_table.relname::text AS referenced_table_name,\n constrained_cols.constrained_columns,\n referenced_cols.referenced_columns,\n pg_constraint.confdeltype AS on_delete_action,\n pg_constraint.coninhcount > 0 as is_inherited\nFROM pg_constraint\n INNER JOIN pg_class constrained_table ON constrained_table.oid = pg_constraint.conrelid\n INNER JOIN pg_class referenced_table ON referenced_table.oid = pg_constraint.confrelid\n INNER JOIN pg_namespace constrained_namespace ON constrained_table.relnamespace = constrained_namespace.oid\n INNER JOIN pg_namespace referenced_namespace ON referenced_table.relnamespace = referenced_namespace.oid\n CROSS JOIN LATERAL (\n SELECT array_agg(pg_attribute.attname ORDER BY conkey.idx) -- must order here so that attributes are in correct order in array\n FROM unnest(pg_constraint.conkey) WITH ORDINALITY conkey(attnum, idx)\n INNER JOIN pg_attribute ON pg_attribute.attnum = conkey.attnum AND pg_attribute.attrelid = constrained_table.oid\n ) constrained_cols(constrained_columns)\n CROSS JOIN LATERAL (\n SELECT array_agg(pg_attribute.attname ORDER BY confkey.idx)\n FROM unnest(pg_constraint.confkey) WITH ORDINALITY confkey(attnum, idx)\n INNER JOIN pg_attribute ON pg_attribute.attnum = confkey.attnum AND pg_attribute.attrelid = referenced_table.oid\n ) referenced_cols(referenced_columns)\nWHERE contype = 'f';\n") 298 22:22:01 main: -> 0.0080s 300 22:22:02 compares by foreign key name and column if given 301 22:22:02 -- transaction(nil) 302 22:22:02 main: -- execute("DROP VIEW IF EXISTS postgres_foreign_keys;\nCREATE OR REPLACE VIEW postgres_foreign_keys AS\nSELECT\n pg_constraint.oid AS oid,\n pg_constraint.conname AS name,\n constrained_namespace.nspname::text || '.'::text || constrained_table.relname::text AS constrained_table_identifier,\n referenced_namespace.nspname::text || '.'::text || referenced_table.relname::text AS referenced_table_identifier\nFROM pg_constraint\n INNER JOIN pg_class constrained_table ON constrained_table.oid = pg_constraint.conrelid\n INNER JOIN pg_class referenced_table ON referenced_table.oid = pg_constraint.confrelid\n INNER JOIN pg_namespace constrained_namespace ON constrained_table.relnamespace = constrained_namespace.oid\n INNER JOIN pg_namespace referenced_namespace ON referenced_table.relnamespace = referenced_namespace.oid\nWHERE contype = 'f';\n") 303 22:22:02 main: -> 0.0065s 304 22:22:02 main: -- execute("CREATE OR REPLACE VIEW postgres_foreign_keys AS\nSELECT\n pg_constraint.oid AS oid,\n pg_constraint.conname AS name,\n constrained_namespace.nspname::text || '.'::text || constrained_table.relname::text AS constrained_table_identifier,\n referenced_namespace.nspname::text || '.'::text || referenced_table.relname::text AS referenced_table_identifier,\n constrained_table.relname::text AS constrained_table_name,\n referenced_table.relname::text AS referenced_table_name,\n constrained_cols.constrained_columns,\n referenced_cols.referenced_columns,\n pg_constraint.confdeltype AS on_delete_action,\n pg_constraint.coninhcount > 0 as is_inherited\nFROM pg_constraint\n INNER JOIN pg_class constrained_table ON constrained_table.oid = pg_constraint.conrelid\n INNER JOIN pg_class referenced_table ON referenced_table.oid = pg_constraint.confrelid\n INNER JOIN pg_namespace constrained_namespace ON constrained_table.relnamespace = constrained_namespace.oid\n INNER JOIN pg_namespace referenced_namespace ON referenced_table.relnamespace = referenced_namespace.oid\n CROSS JOIN LATERAL (\n SELECT array_agg(pg_attribute.attname ORDER BY conkey.idx) -- must order here so that attributes are in correct order in array\n FROM unnest(pg_constraint.conkey) WITH ORDINALITY conkey(attnum, idx)\n INNER JOIN pg_attribute ON pg_attribute.attnum = conkey.attnum AND pg_attribute.attrelid = constrained_table.oid\n ) constrained_cols(constrained_columns)\n CROSS JOIN LATERAL (\n SELECT array_agg(pg_attribute.attname ORDER BY confkey.idx)\n FROM unnest(pg_constraint.confkey) WITH ORDINALITY confkey(attnum, idx)\n INNER JOIN pg_attribute ON pg_attribute.attnum = confkey.attnum AND pg_attribute.attrelid = referenced_table.oid\n ) referenced_cols(referenced_columns)\nWHERE contype = 'f';\n") 305 22:22:02 main: -> 0.0080s 307 22:22:02 compares by foreign key name, column and on_delete if given 308 22:22:02 # [RSpecRunTime] RSpec elapsed time: 9 minutes 44.34 seconds. Current RSS: ~1353M. Threads: 4. load average: 1.37 1.32 1.28 1/293 5291 310 22:22:02 with foreign key using multiple columns 311 22:22:02 finds existing foreign keys by columns 312 22:22:02 finds existing foreign keys by name 313 22:22:02 finds existing foreign_keys by name and column 314 22:22:02 finds existing foreign_keys by name, column and on_delete 315 22:22:02 finds existing foreign keys by target table only 316 22:22:02 compares by column name if given 317 22:22:02 compares by target column name if given 318 22:22:02 compares by foreign key name if given 319 22:22:02 compares by foreign key name and column if given 320 22:22:02 compares by foreign key name, column and on_delete if given 322 22:22:02 returns the appropriate value 324 22:22:02 returns the appropriate value 325 22:22:02 #update_column_in_batches 326 22:22:02 when running outside of a transaction 327 22:22:06 updates all the rows in a table 328 22:22:10 updates boolean values correctly 329 22:22:10 when a block is supplied 330 22:22:13 yields an Arel table and query object to the supplied block 331 22:22:13 # [RSpecRunTime] RSpec elapsed time: 9 minutes 55.8 seconds. Current RSS: ~1336M. Threads: 4. load average: 1.28 1.30 1.27 1/293 5292 333 22:22:13 when the value is Arel.sql (Arel::Nodes::SqlLiteral) 334 22:22:17 updates the value as a SQL expression 335 22:22:17 # [RSpecRunTime] RSpec elapsed time: 9 minutes 59.64 seconds. Current RSS: ~1336M. Threads: 4. load average: 1.28 1.30 1.27 1/293 5293 337 22:22:17 when the table is write-locked 338 22:22:21 disables the write-lock trigger function 339 22:22:24 raises an error if it does not disable the trigger function 340 22:22:24 # [RSpecRunTime] RSpec elapsed time: 10 minutes 7.01 seconds. Current RSS: ~1337M. Threads: 4. load average: 1.23 1.29 1.27 1/293 5294 342 22:22:24 when running inside the transaction 343 22:22:24 raises RuntimeError 344 22:22:24 #rename_column_concurrently 345 22:22:24 in a transaction 346 22:22:24 raises RuntimeError 347 22:22:24 outside a transaction 348 22:22:24 when the column to rename exists 349 22:22:25 renames a column concurrently 350 22:22:25 passes the batch_column_name 351 22:22:25 passes the type_cast_function 352 22:22:25 raises an error with invalid batch_column_name 353 22:22:25 with existing records and type casting 354 22:22:25 copies the value to the new column using the type_cast_function 355 22:22:25 when default is false 356 22:22:25 copies the default to the new column 357 22:22:25 when the table in the other database is write-locked 358 22:22:25 does not raise an error when renaming the column 359 22:22:25 when the column to be renamed does not exist 360 22:22:25 raises an error with appropriate message 361 22:22:25 #undo_rename_column_concurrently 362 22:22:25 reverses the operations of rename_column_concurrently 363 22:22:25 #cleanup_concurrent_column_rename 364 22:22:25 cleans up the renaming procedure 365 22:22:25 #undo_cleanup_concurrent_column_rename 366 22:22:25 in a transaction 367 22:22:26 raises RuntimeError 368 22:22:26 outside a transaction 369 22:22:26 reverses the operations of cleanup_concurrent_column_rename 370 22:22:26 passes the batch_column_name 371 22:22:26 raises an error with invalid batch_column_name 372 22:22:26 when default is false 373 22:22:26 copies the default to the old column 374 22:22:26 #change_column_type_concurrently 375 22:22:26 changes the column type 376 22:22:26 passed the batch column name 377 22:22:26 with type cast 378 22:22:26 changes the column type with casting the value to the new type 379 22:22:26 #undo_change_column_type_concurrently 380 22:22:26 reverses the operations of change_column_type_concurrently 381 22:22:26 #cleanup_concurrent_column_type_change 382 22:22:26 cleans up the type changing procedure 383 22:22:26 #undo_cleanup_concurrent_column_type_change 384 22:22:26 in a transaction 385 22:22:26 raises RuntimeError 386 22:22:26 outside a transaction 387 22:22:26 reverses the operations of cleanup_concurrent_column_type_change 388 22:22:26 passes the type_cast_function, batch_column_name and limit 389 22:22:26 raises an error with invalid batch_column_name 390 22:22:26 #install_rename_triggers 391 22:22:26 installs the triggers 392 22:22:26 #remove_rename_triggers 393 22:22:26 removes the function and trigger 394 22:22:26 #rename_trigger_name 395 22:22:26 returns a String 396 22:22:26 #install_sharding_key_assignment_trigger 397 22:22:26 is expected to receive create(*(any args)) 1 time 398 22:22:26 #remove_sharding_key_assignment_trigger 399 22:22:26 is expected to receive drop(*(any args)) 1 time 401 22:22:26 returns the indexes for a column 402 22:22:26 #foreign_keys_for 403 22:22:26 returns the foreign keys for a column 404 22:22:26 #copy_indexes 405 22:22:26 when index name is too long 406 22:22:26 does not fail 407 22:22:26 using a regular index using a single column 408 22:22:26 copies the index 409 22:22:26 using a regular index with multiple columns 410 22:22:26 copies the index 411 22:22:26 using an index with a WHERE clause 412 22:22:26 copies the index 413 22:22:26 using an index with a USING clause 414 22:22:26 copies the index 415 22:22:26 using an index with custom operator classes 416 22:22:26 copies the index 417 22:22:26 using an index with multiple columns and custom operator classes 418 22:22:26 copies the index 419 22:22:26 using an index with multiple columns and a custom operator class on the non affected column 420 22:22:26 copies the index 421 22:22:26 using an index of which the name does not contain the source column 422 22:22:27 raises RuntimeError 423 22:22:27 #copy_foreign_keys 424 22:22:27 copies foreign keys from one column to another 426 22:22:27 returns a column object for an existing column 427 22:22:27 raises an error when a column does not exist 429 22:22:27 builds the sql with correct functions 431 22:22:27 replaces the correct part of the string 432 22:22:27 #check_trigger_permissions! 433 22:22:27 does nothing when the user has the correct permissions 434 22:22:27 raises RuntimeError when the user does not have the correct permissions 435 22:22:27 #convert_to_bigint_column 436 22:22:27 returns the name of the temporary column used to convert to bigint 437 22:22:27 #convert_to_type_column 438 22:22:27 returns the name of the temporary column used to convert to bigint 439 22:22:27 returns the name of the temporary column used to convert to uuid 440 22:22:27 #create_temporary_columns_and_triggers 441 22:22:27 when no mappings are provided 442 22:22:27 raises an error 443 22:22:27 when any of the mappings does not have the required keys 444 22:22:27 raises an error 445 22:22:27 when the target table does not exist 446 22:22:27 raises an error 447 22:22:27 when the column to migrate does not exist 448 22:22:27 raises an error 449 22:22:27 when old_bigint_column_naming is true 450 22:22:27 calls convert_to_bigint_column 451 22:22:27 when old_bigint_column_naming is false 452 22:22:27 calls convert_to_type_column 453 22:22:27 #initialize_conversion_of_integer_to_bigint 454 22:22:27 when the target table does not exist 455 22:22:27 raises an error 456 22:22:27 when the primary key does not exist 457 22:22:28 raises an error 458 22:22:28 when the column to migrate does not exist 459 22:22:28 raises an error 460 22:22:28 when the target table has int IDs 461 22:22:28 with milestone less than the enforced version 462 22:22:28 behaves like initializes bigint column conversion 463 22:22:28 creates bigint column(s) and expected trigger(s) 464 22:22:28 with milestone greater than the enforced milestone 465 22:22:28 raises an error on not initializing all integer IDs 466 22:22:28 behaves like initializes bigint column conversion 467 22:22:28 creates bigint column(s) and expected trigger(s) 468 22:22:28 when the column to convert is the primary key 469 22:22:28 creates a not-null bigint column and installs triggers 470 22:22:28 when the column to convert is not the primary key, but non-nullable 471 22:22:28 creates a not-null bigint column and installs triggers 472 22:22:28 when the column to convert is not the primary key, but nullable 473 22:22:28 creates a nullable bigint column and installs triggers 474 22:22:28 when multiple columns are given 475 22:22:28 creates the correct columns and installs the trigger 476 22:22:28 #restore_conversion_of_integer_to_bigint 477 22:22:28 when the target table does not exist 478 22:22:28 raises an error 479 22:22:28 when the column to migrate does not exist 480 22:22:28 raises an error 481 22:22:28 when a single column is given 482 22:22:28 creates the correct columns and installs the trigger 483 22:22:28 when multiple columns are given 484 22:22:28 creates the correct columns and installs the trigger 485 22:22:28 #revert_initialize_conversion_of_integer_to_bigint 486 22:22:28 when column and trigger do not exist 487 22:22:28 does not raise an error 488 22:22:28 with milestone less than the enforced milestone 489 22:22:28 when single column is given 490 22:22:28 behaves like reverts initialization of bigint columns 491 22:22:28 removes bigint columns and triggers 492 22:22:28 when multiple columns are given 493 22:22:28 behaves like reverts initialization of bigint columns 494 22:22:29 removes bigint columns and triggers 495 22:22:29 with milestone greater than the ENFORCE_INITIALIZE_ALL_INT_IDS_FROM_MILESTONE 496 22:22:29 behaves like reverts initialization of bigint columns 497 22:22:29 removes bigint columns and triggers 498 22:22:29 #backfill_conversion_of_integer_to_bigint 499 22:22:29 when the target table does not exist 500 22:22:29 raises an error 501 22:22:29 when the primary key does not exist 502 22:22:29 raises an error 503 22:22:29 when the column to convert does not exist 504 22:22:29 raises an error 505 22:22:29 when the temporary column does not exist 506 22:22:29 raises an error 507 22:22:29 when the conversion is properly initialized 508 22:22:29 when a single column is being converted 509 22:22:29 creates the batched migration tracking record 510 22:22:29 when multiple columns are being converted 511 22:22:29 creates the batched migration tracking record 512 22:22:29 #revert_backfill_conversion_of_integer_to_bigint 513 22:22:29 when a single column is being converted 514 22:22:30 deletes the batched migration tracking record 515 22:22:30 when a multiple columns are being converted 516 22:22:30 deletes the batched migration tracking record 517 22:22:30 when primary key column has custom name 518 22:22:30 deletes the batched migration tracking record 519 22:22:30 #index_exists_by_name? 520 22:22:30 returns true if an index exists 521 22:22:30 returns false if the index does not exist 522 22:22:30 when an index with a function exists 523 22:22:30 returns true if an index exists 524 22:22:30 when an index exists for a table with the same name in another schema 525 22:22:30 returns false if the index does not exist in the current schema 526 22:22:30 #create_or_update_plan_limit 527 22:22:30 properly escapes names 528 22:22:30 when plan does not exist 529 22:22:31 does not create any plan limits 530 22:22:31 when plan does exist 531 22:22:31 when limit does not exist 532 22:22:31 inserts a new plan limits 533 22:22:31 when limit does exist 534 22:22:31 updates an existing plan limits 535 22:22:31 #backfill_iids 536 22:22:31 generates iids properly for models created after the migration 537 22:22:32 generates iids properly for models created after the migration when iids are backfilled 538 22:22:33 generates iids properly for models created after the migration across multiple projects 539 22:22:33 when the first model is created for a project after the migration 540 22:22:33 generates an iid 541 22:22:33 # [RSpecRunTime] RSpec elapsed time: 10 minutes 15.63 seconds. Current RSS: ~1343M. Threads: 4. load average: 1.20 1.28 1.27 1/293 5295 543 22:22:33 when a row already has an iid set in the database 544 22:22:33 backfills iids 545 22:22:33 backfills for multiple projects 546 22:22:33 #add_primary_key_using_index 547 22:22:33 executes the statement to add the primary key 548 22:22:33 when changing the primary key of a given table 549 22:22:33 #swap_primary_key 550 22:22:34 executes statements to swap primary key 551 22:22:34 when new index does not exist 552 22:22:34 raises ActiveRecord::StatementInvalid 553 22:22:34 #unswap_primary_key 554 22:22:34 executes statements to unswap primary key 555 22:22:34 #drop_sequence 556 22:22:34 executes the statement to drop the sequence 557 22:22:34 #add_sequence 558 22:22:34 executes the statement to add the sequence 559 22:22:34 #remove_column_default 560 22:22:34 with default values 561 22:22:34 is expected to include /ALTER TABLE "_test_defaults_table" ALTER COLUMN "int_with_default" SET DEFAULT NULL/ 562 22:22:34 with default functions 563 22:22:34 is expected to include /ALTER TABLE "_test_defaults_table" ALTER COLUMN "int_with_default_function" SET DEFAULT NULL/ 564 22:22:34 without any defaults 565 22:22:34 is expected to be empty 567 22:22:34 locks the tables 568 22:22:34 when only is provided 569 22:22:34 locks the tables 570 22:22:34 when nowait is provided 571 22:22:34 locks the tables 572 22:22:34 #column_is_nullable? 573 22:22:34 when a plain table name is passed 574 22:22:34 defaults to querying for the table defined in the current_schema 575 22:22:34 when a table name is passed with a schema prefix 576 22:22:34 correctly parses out the schema prefix and uses it instead of current_schema 577 22:22:34 # [RSpecRunTime] Finishing example group spec/lib/gitlab/database/migration_helpers_spec.rb. It took 38.48 seconds. Expected to take 37.45 seconds. 578 22:22:34 # [RSpecRunTime] Starting example group spec/services/merge_requests/remove_approval_service_spec.rb. Expected to take 33.09 seconds. 579 22:22:34 MergeRequests::RemoveApprovalService 581 22:22:34 with a user who has approved 582 22:22:36 removes the approval 583 22:22:37 changes reviewers state to unapproved 584 22:22:39 does not change reviewers state when skip_updating_state is true 585 22:22:40 creates an unapproval note, triggers a web hook, and sends a notification 586 22:22:42 does not trigger a web hook when skip_notification is true 587 22:22:44 does not send notification when skip_notification is true 588 22:22:45 does not create system note when skip_system_note is true 589 22:22:47 tracks merge request unapprove action 590 22:22:48 does not track merge request unapprove action when skip_system_note is true 591 22:22:48 when the merge request is merged 592 22:22:48 behaves like no-op call 593 22:22:50 does not create an unapproval note and triggers web hook 594 22:22:51 does not track merge request unapprove action 595 22:22:51 behaves like does not trigger GraphQL subscription mergeRequestMergeStatusUpdated 596 22:22:53 is expected not to receive merge_request_merge_status_updated(*(any args)) 0 times 597 22:22:53 # [RSpecRunTime] RSpec elapsed time: 10 minutes 35.2 seconds. Current RSS: ~1334M. Threads: 4. load average: 1.14 1.26 1.26 1/293 5296 599 22:22:53 behaves like does not trigger GraphQL subscription mergeRequestReviewersUpdated 600 22:22:54 is expected not to receive merge_request_reviewers_updated(*(any args)) 0 times 601 22:22:54 # [RSpecRunTime] RSpec elapsed time: 10 minutes 36.69 seconds. Current RSS: ~1334M. Threads: 4. load average: 1.14 1.26 1.26 1/293 5297 603 22:22:54 behaves like does not trigger GraphQL subscription mergeRequestApprovalStateUpdated 604 22:22:56 is expected not to receive merge_request_approval_state_updated(*(any args)) 0 times 605 22:22:56 # [RSpecRunTime] RSpec elapsed time: 10 minutes 38.25 seconds. Current RSS: ~1333M. Threads: 4. load average: 1.14 1.26 1.26 1/293 5298 607 22:22:56 behaves like triggers GraphQL subscription mergeRequestMergeStatusUpdated 608 22:22:57 is expected to receive merge_request_merge_status_updated(#<MergeRequest id:70 namespace197/project-197!1>) 1 time 609 22:22:57 # [RSpecRunTime] RSpec elapsed time: 10 minutes 40.0 seconds. Current RSS: ~1332M. Threads: 4. load average: 1.13 1.26 1.26 1/293 5299 611 22:22:57 behaves like triggers GraphQL subscription mergeRequestReviewersUpdated 612 22:22:59 is expected to receive merge_request_reviewers_updated(#<MergeRequest id:71 namespace198/project-198!1>) 1 time 613 22:22:59 # [RSpecRunTime] RSpec elapsed time: 10 minutes 41.82 seconds. Current RSS: ~1333M. Threads: 4. load average: 1.13 1.26 1.26 1/293 5300 615 22:22:59 behaves like triggers GraphQL subscription mergeRequestApprovalStateUpdated 616 22:23:01 is expected to receive merge_request_approval_state_updated(#<MergeRequest id:72 namespace199/project-199!1>) 1 time 617 22:23:01 # [RSpecRunTime] RSpec elapsed time: 10 minutes 43.58 seconds. Current RSS: ~1332M. Threads: 4. load average: 1.13 1.26 1.26 2/293 5301 619 22:23:01 with a user who has not approved 620 22:23:01 behaves like no-op call 621 22:23:02 does not create an unapproval note and triggers web hook 622 22:23:04 does not track merge request unapprove action 623 22:23:04 behaves like does not trigger GraphQL subscription mergeRequestMergeStatusUpdated 624 22:23:05 is expected not to receive merge_request_merge_status_updated(*(any args)) 0 times 625 22:23:05 # [RSpecRunTime] RSpec elapsed time: 10 minutes 48.11 seconds. Current RSS: ~1334M. Threads: 4. load average: 1.12 1.25 1.26 1/293 5302 627 22:23:05 behaves like does not trigger GraphQL subscription mergeRequestReviewersUpdated 628 22:23:07 is expected not to receive merge_request_reviewers_updated(*(any args)) 0 times 629 22:23:07 # [RSpecRunTime] RSpec elapsed time: 10 minutes 49.75 seconds. Current RSS: ~1333M. Threads: 4. load average: 1.12 1.25 1.26 1/293 5303 631 22:23:07 behaves like does not trigger GraphQL subscription mergeRequestApprovalStateUpdated 632 22:23:09 is expected not to receive merge_request_approval_state_updated(*(any args)) 0 times 633 22:23:09 # [RSpecRunTime] RSpec elapsed time: 10 minutes 51.35 seconds. Current RSS: ~1333M. Threads: 4. load average: 1.11 1.25 1.26 1/293 5304 635 22:23:09 # [RSpecRunTime] Finishing example group spec/services/merge_requests/remove_approval_service_spec.rb. It took 34.72 seconds. Expected to take 33.09 seconds. 636 22:23:09 # [RSpecRunTime] Starting example group spec/models/clusters/agents/authorizations/user_access/group_authorization_spec.rb. Expected to take 30.1 seconds. 637 22:23:09 Clusters::Agents::Authorizations::UserAccess::GroupAuthorization 638 22:23:09 does not allow STI 639 22:23:09 is expected to validate jsonb schema "config" 640 22:23:09 is expected to belong to agent class_name => Clusters::Agent required: true 641 22:23:09 is expected to belong to group class_name => ::Group required: true 642 22:23:09 #config_project 643 22:23:10 is expected to eq #<Project id:214 namespace205/project-205>> 644 22:23:10 # [RSpecRunTime] RSpec elapsed time: 10 minutes 52.92 seconds. Current RSS: ~1333M. Threads: 4. load average: 1.11 1.25 1.26 1/293 5305 647 22:23:11 when user is member 648 22:23:11 user_role: :guest, expected_access_level: nil 649 22:23:12 returns the expected result 650 22:23:12 when authorization belongs to sub-group 651 22:23:13 respects the role inheritance 652 22:23:15 respects the role override 653 22:23:15 # [RSpecRunTime] RSpec elapsed time: 10 minutes 57.49 seconds. Current RSS: ~1336M. Threads: 4. load average: 1.10 1.25 1.26 1/293 5306 655 22:23:15 user_role: :reporter, expected_access_level: nil 656 22:23:16 returns the expected result 657 22:23:16 when authorization belongs to sub-group 658 22:23:17 respects the role inheritance 659 22:23:19 respects the role override 660 22:23:19 # [RSpecRunTime] RSpec elapsed time: 11 minutes 1.74 seconds. Current RSS: ~1336M. Threads: 4. load average: 1.09 1.24 1.25 1/293 5307 662 22:23:19 user_role: :developer, expected_access_level: 30 663 22:23:20 returns the expected result 664 22:23:20 when authorization belongs to sub-group 665 22:23:22 respects the role inheritance 666 22:23:23 respects the role override 667 22:23:23 # [RSpecRunTime] RSpec elapsed time: 11 minutes 6.05 seconds. Current RSS: ~1337M. Threads: 4. load average: 1.16 1.25 1.26 1/293 5308 669 22:23:23 user_role: :maintainer, expected_access_level: 40 670 22:23:25 returns the expected result 671 22:23:25 when authorization belongs to sub-group 672 22:23:26 respects the role inheritance 673 22:23:28 respects the role override 674 22:23:28 # [RSpecRunTime] RSpec elapsed time: 11 minutes 10.4 seconds. Current RSS: ~1337M. Threads: 4. load average: 1.15 1.25 1.26 1/293 5309 676 22:23:28 user_role: :owner, expected_access_level: 50 677 22:23:29 returns the expected result 678 22:23:29 when authorization belongs to sub-group 679 22:23:30 respects the role inheritance 680 22:23:32 respects the role override 681 22:23:32 # [RSpecRunTime] RSpec elapsed time: 11 minutes 14.76 seconds. Current RSS: ~1338M. Threads: 4. load average: 1.15 1.25 1.26 1/293 5310 683 22:23:32 when user is blocked 684 22:23:32 behaves like does not yield an authorization 685 22:23:34 is expected to be empty 686 22:23:34 # [RSpecRunTime] RSpec elapsed time: 11 minutes 16.29 seconds. Current RSS: ~1337M. Threads: 4. load average: 1.22 1.26 1.26 1/293 5311 688 22:23:34 when user is banned 689 22:23:34 behaves like does not yield an authorization 690 22:23:35 Job arguments to ElasticAssociationIndexerWorker must be native JSON types, but :issues is a Symbol. 692 22:23:35 To disable this error, add `Sidekiq.strict_args!(false)` to your initializer. 693 22:23:35 is expected to be empty 694 22:23:35 # [RSpecRunTime] RSpec elapsed time: 11 minutes 17.66 seconds. Current RSS: ~1336M. Threads: 4. load average: 1.22 1.26 1.26 1/293 5312 696 22:23:35 when user requested access 697 22:23:35 behaves like does not yield an authorization 698 22:23:36 is expected to be empty 699 22:23:37 # [RSpecRunTime] RSpec elapsed time: 11 minutes 19.15 seconds. Current RSS: ~1335M. Threads: 4. load average: 1.22 1.26 1.26 1/293 5313 701 22:23:37 when user is awaiting 702 22:23:37 behaves like does not yield an authorization 703 22:23:38 is expected to be empty 704 22:23:38 # [RSpecRunTime] RSpec elapsed time: 11 minutes 20.7 seconds. Current RSS: ~1335M. Threads: 4. load average: 1.28 1.27 1.27 1/293 5314 706 22:23:38 # [RSpecRunTime] Finishing example group spec/models/clusters/agents/authorizations/user_access/group_authorization_spec.rb. It took 29.35 seconds. Expected to take 30.1 seconds. 707 22:23:38 # [RSpecRunTime] Starting example group spec/tasks/gitlab/web_hook_rake_spec.rb. Expected to take 26.31 seconds. 708 22:23:38 gitlab:web_hook namespace rake tasks 709 22:23:38 gitlab:web_hook:add 710 22:23:41 adds a web hook to all projects 711 22:23:43 adds a web hook to projects in the specified namespace 712 22:23:45 raises an error if an unknown namespace is specified 713 22:23:46 # [RSpecRunTime] RSpec elapsed time: 11 minutes 28.17 seconds. Current RSS: ~1354M. Threads: 4. load average: 1.26 1.27 1.26 1/293 5315 715 22:23:46 gitlab:web_hook:rm 716 22:23:48 complains if URL is not provided 717 22:23:51 removes a web hook from all projects by URL 718 22:23:53 removes a web hook from projects in the specified namespace by URL 719 22:23:56 raises an error if an unknown namespace is specified 720 22:23:56 # [RSpecRunTime] RSpec elapsed time: 11 minutes 38.75 seconds. Current RSS: ~1380M. Threads: 4. load average: 1.22 1.26 1.26 1/293 5316 722 22:23:56 gitlab:web_hook:list 723 22:23:59 lists all web hooks 724 22:24:01 lists web hooks in a particular namespace 725 22:24:01 # [RSpecRunTime] RSpec elapsed time: 11 minutes 43.84 seconds. Current RSS: ~1373M. Threads: 4. load average: 1.28 1.27 1.27 1/293 5317 727 22:24:06 # [RSpecRunTime] Finishing example group spec/tasks/gitlab/web_hook_rake_spec.rb. It took 27.65 seconds. Expected to take 26.31 seconds. 728 22:24:06 # [RSpecRunTime] RSpec elapsed time: 11 minutes 48.42 seconds. Current RSS: ~1356M. Threads: 4. load average: 1.34 1.29 1.27 1/293 5318 730 22:24:06 # [RSpecRunTime] Starting example group spec/lib/gitlab/cycle_analytics/permissions_spec.rb. Expected to take 24.16 seconds. 731 22:24:06 Gitlab::CycleAnalytics::Permissions 732 22:24:06 user with no relation to the project 733 22:24:07 has no permissions to issue stage 734 22:24:08 has no permissions to test stage 735 22:24:09 has no permissions to staging stage 736 22:24:10 has no permissions to code stage 737 22:24:11 has no permissions to review stage 738 22:24:12 has no permissions to plan stage 739 22:24:12 # [RSpecRunTime] RSpec elapsed time: 11 minutes 55.12 seconds. Current RSS: ~1344M. Threads: 4. load average: 1.29 1.28 1.27 1/293 5319 741 22:24:12 user is maintainer 742 22:24:14 has permissions to issue stage 743 22:24:15 has permissions to test stage 744 22:24:17 has permissions to staging stage 745 22:24:18 has permissions to code stage 746 22:24:19 has permissions to review stage 747 22:24:21 has permissions to plan stage 748 22:24:21 # [RSpecRunTime] RSpec elapsed time: 12 minutes 3.36 seconds. Current RSS: ~1354M. Threads: 4. load average: 1.50 1.32 1.28 1/293 5320 750 22:24:21 user has no build permissions 751 22:24:22 has permissions to issue stage 752 22:24:24 has no permissions to test stage 753 22:24:25 has no permissions to staging stage 754 22:24:25 # [RSpecRunTime] RSpec elapsed time: 12 minutes 7.65 seconds. Current RSS: ~1353M. Threads: 4. load average: 1.46 1.32 1.28 3/293 5321 756 22:24:25 user has no merge request permissions 757 22:24:26 has permissions to issue stage 758 22:24:28 has no permissions to code stage 759 22:24:29 has no permissions to review stage 760 22:24:29 # [RSpecRunTime] RSpec elapsed time: 12 minutes 11.97 seconds. Current RSS: ~1353M. Threads: 4. load average: 1.43 1.31 1.28 1/293 5322 762 22:24:29 user has no issue permissions 763 22:24:31 has permissions to code stage 764 22:24:32 has no permissions to issue stage 765 22:24:32 # [RSpecRunTime] RSpec elapsed time: 12 minutes 14.88 seconds. Current RSS: ~1352M. Threads: 4. load average: 1.39 1.30 1.28 1/293 5323 767 22:24:32 # [RSpecRunTime] Finishing example group spec/lib/gitlab/cycle_analytics/permissions_spec.rb. It took 26.47 seconds. Expected to take 24.16 seconds. 768 22:24:32 # [RSpecRunTime] Starting example group spec/models/diff_viewer/base_spec.rb. Expected to take 21.63 seconds. 769 22:24:32 DiffViewer::Base 770 22:24:32 does not allow STI 772 22:24:32 when the extension is supported 773 22:24:32 when the binaryness matches 775 22:24:34 # [RSpecRunTime] RSpec elapsed time: 12 minutes 16.27 seconds. Current RSS: ~1361M. Threads: 4. load average: 1.39 1.30 1.28 1/294 5346 777 22:24:34 when the binaryness does not match 778 22:24:35 returns false 779 22:24:35 # [RSpecRunTime] RSpec elapsed time: 12 minutes 17.69 seconds. Current RSS: ~1372M. Threads: 4. load average: 1.39 1.30 1.28 1/295 5369 781 22:24:35 when the extension and file type are not supported 782 22:24:36 returns false 783 22:24:36 # [RSpecRunTime] RSpec elapsed time: 12 minutes 19.1 seconds. Current RSS: ~1381M. Threads: 4. load average: 1.39 1.30 1.28 1/296 5392 785 22:24:36 when the file was renamed and only the old blob is supported 786 22:24:38 returns false 787 22:24:38 # [RSpecRunTime] RSpec elapsed time: 12 minutes 20.46 seconds. Current RSS: ~1389M. Threads: 4. load average: 1.36 1.30 1.27 1/297 5415 790 22:24:38 when the combined blob size is larger than the collapse limit 792 22:24:39 # [RSpecRunTime] RSpec elapsed time: 12 minutes 21.79 seconds. Current RSS: ~1398M. Threads: 4. load average: 1.36 1.30 1.27 1/298 5438 794 22:24:39 when the combined blob size is smaller than the collapse limit 795 22:24:40 returns false 796 22:24:41 # [RSpecRunTime] RSpec elapsed time: 12 minutes 23.14 seconds. Current RSS: ~1395M. Threads: 4. load average: 1.36 1.30 1.27 1/298 5461 799 22:24:41 when the combined blob size is larger than the size limit 801 22:24:42 # [RSpecRunTime] RSpec elapsed time: 12 minutes 24.61 seconds. Current RSS: ~1394M. Threads: 4. load average: 1.36 1.30 1.27 2/300 5484 803 22:24:42 when the blob size is smaller than the size limit 804 22:24:43 returns false 805 22:24:43 # [RSpecRunTime] RSpec elapsed time: 12 minutes 25.99 seconds. Current RSS: ~1393M. Threads: 4. load average: 1.33 1.29 1.27 1/300 5507 808 22:24:45 is expandable 809 22:24:45 when it is too large 810 22:24:46 is not expandable 811 22:24:46 # [RSpecRunTime] RSpec elapsed time: 12 minutes 28.68 seconds. Current RSS: ~1390M. Threads: 4. load average: 1.33 1.29 1.27 1/300 5552 813 22:24:46 when it is not text 814 22:24:47 is not expandable 815 22:24:47 # [RSpecRunTime] RSpec elapsed time: 12 minutes 29.98 seconds. Current RSS: ~1389M. Threads: 4. load average: 1.30 1.29 1.27 1/300 5575 818 22:24:47 when the diff file is generated 820 22:24:49 # [RSpecRunTime] RSpec elapsed time: 12 minutes 31.38 seconds. Current RSS: ~1387M. Threads: 4. load average: 1.30 1.29 1.27 1/301 5598 822 22:24:49 when the diff file is not generated 824 22:24:50 # [RSpecRunTime] RSpec elapsed time: 12 minutes 32.83 seconds. Current RSS: ~1386M. Threads: 4. load average: 1.30 1.29 1.27 1/300 5621 826 22:24:50 #render_error 827 22:24:50 when the combined blob size is larger than the size limit 828 22:24:52 returns :too_large 829 22:24:52 # [RSpecRunTime] RSpec elapsed time: 12 minutes 34.19 seconds. Current RSS: ~1384M. Threads: 4. load average: 1.30 1.29 1.27 1/300 5644 831 22:24:52 when the combined blob size is smaller than the size limit 833 22:24:53 # [RSpecRunTime] RSpec elapsed time: 12 minutes 35.57 seconds. Current RSS: ~1383M. Threads: 4. load average: 1.28 1.28 1.27 1/300 5667 835 22:24:53 #render_error_message 836 22:24:54 returns nothing when no render_error 837 22:24:54 when render_error error 838 22:24:56 returns an error message 839 22:24:57 includes a "view the blob" link 840 22:24:57 # [RSpecRunTime] RSpec elapsed time: 12 minutes 39.59 seconds. Current RSS: ~1380M. Threads: 4. load average: 1.28 1.28 1.27 1/300 5734 842 22:24:57 # [RSpecRunTime] Finishing example group spec/models/diff_viewer/base_spec.rb. It took 24.71 seconds. Expected to take 21.63 seconds. 843 22:24:57 # [RSpecRunTime] Starting example group spec/services/suggestions/create_service_spec.rb. Expected to take 21.13 seconds. 844 22:24:57 Suggestions::CreateService 846 22:24:57 should not try to parse suggestions 847 22:24:57 when not a diff note for merge requests 848 22:24:58 does not try to parse suggestions 849 22:24:58 behaves like service not tracking add suggestion event 850 22:25:00 does not track add suggestion event 851 22:25:00 # [RSpecRunTime] RSpec elapsed time: 12 minutes 42.48 seconds. Current RSS: ~1378M. Threads: 4. load average: 1.26 1.28 1.27 1/300 5779 853 22:25:00 when diff note is not for text 854 22:25:02 does not try to parse suggestions 855 22:25:02 behaves like service not tracking add suggestion event 856 22:25:04 does not track add suggestion event 857 22:25:04 # [RSpecRunTime] RSpec elapsed time: 12 minutes 46.71 seconds. Current RSS: ~1374M. Threads: 4. load average: 1.24 1.27 1.27 1/301 5905 859 22:25:04 when diff file is not found 860 22:25:06 creates no suggestion 861 22:25:06 behaves like service not tracking add suggestion event 862 22:25:08 does not track add suggestion event 863 22:25:08 # [RSpecRunTime] RSpec elapsed time: 12 minutes 50.78 seconds. Current RSS: ~1369M. Threads: 4. load average: 1.22 1.27 1.27 1/301 6031 865 22:25:08 should create suggestions 866 22:25:10 persists suggestion records 867 22:25:12 persists suggestions data correctly 868 22:25:14 tracks add suggestion event 869 22:25:14 outdated position note 870 22:25:17 uses the correct position when creating the suggestion 871 22:25:17 # [RSpecRunTime] RSpec elapsed time: 12 minutes 59.25 seconds. Current RSS: ~1359M. Threads: 4. load average: 1.20 1.26 1.26 1/301 6321 873 22:25:17 when a patch removes an empty line 874 22:25:19 creates an appliable suggestion 875 22:25:19 # [RSpecRunTime] RSpec elapsed time: 13 minutes 1.31 seconds. Current RSS: ~1356M. Threads: 4. load average: 1.18 1.26 1.26 1/301 6388 877 22:25:19 # [RSpecRunTime] Finishing example group spec/services/suggestions/create_service_spec.rb. It took 21.72 seconds. Expected to take 21.13 seconds. 878 22:25:19 # [RSpecRunTime] Starting example group spec/services/projects/protect_default_branch_service_spec.rb. Expected to take 18.65 seconds. 879 22:25:19 Projects::ProtectDefaultBranchService 881 22:25:19 without a default branch 883 22:25:20 # [RSpecRunTime] RSpec elapsed time: 13 minutes 2.46 seconds. Current RSS: ~1356M. Threads: 4. load average: 1.18 1.26 1.26 2/301 6389 885 22:25:20 with a default branch 886 22:25:21 protects the default branch 887 22:25:21 #protect_default_branch 888 22:25:21 when branch protection is needed 889 22:25:21 changes the HEAD of the project 890 22:25:22 protects the default branch 891 22:25:22 # [RSpecRunTime] RSpec elapsed time: 13 minutes 4.83 seconds. Current RSS: ~1353M. Threads: 4. load average: 1.17 1.26 1.26 1/300 6390 893 22:25:22 when branch protection is not needed 894 22:25:23 changes the HEAD of the project 895 22:25:24 does not protect the default branch 896 22:25:24 # [RSpecRunTime] RSpec elapsed time: 13 minutes 6.47 seconds. Current RSS: ~1350M. Threads: 4. load average: 1.17 1.26 1.26 1/300 6391 898 22:25:24 when protected branch does not exist 899 22:25:25 changes the HEAD of the project 900 22:25:25 protects the default branch 901 22:25:25 # [RSpecRunTime] RSpec elapsed time: 13 minutes 8.11 seconds. Current RSS: ~1346M. Threads: 4. load average: 1.17 1.26 1.26 1/300 6392 903 22:25:25 when protected branch already exists 904 22:25:26 changes the HEAD of the project 905 22:25:27 does not protect the default branch 906 22:25:27 # [RSpecRunTime] RSpec elapsed time: 13 minutes 9.84 seconds. Current RSS: ~1342M. Threads: 4. load average: 1.15 1.25 1.26 1/297 6393 908 22:25:27 #create_protected_branch 909 22:25:28 creates the protected branch 910 22:25:28 #protect_branch? 911 22:25:28 when default branch protection is disabled 912 22:25:29 returns false 913 22:25:29 when default branch protection is enabled 914 22:25:30 returns false if the branch is already protected 915 22:25:30 returns true if the branch is not yet protected 916 22:25:30 # [RSpecRunTime] RSpec elapsed time: 13 minutes 12.95 seconds. Current RSS: ~1338M. Threads: 4. load average: 1.15 1.25 1.26 1/296 6394 918 22:25:30 #protected_branch_exists? 920 22:25:31 # [RSpecRunTime] RSpec elapsed time: 13 minutes 14.12 seconds. Current RSS: ~1349M. Threads: 4. load average: 1.15 1.25 1.26 1/296 6418 922 22:25:31 #default_branch 923 22:25:32 returns the default branch of the project 924 22:25:32 #push_access_level 925 22:25:32 when developers can push 926 22:25:33 returns the DEVELOPER access level 927 22:25:33 when maintainer can push 928 22:25:34 returns the MAINTAINER access level 929 22:25:34 when no one can push 930 22:25:35 returns the NO_ACCESS access level 931 22:25:35 when admin can push 932 22:25:35 returns the ADMIN access level 933 22:25:35 #merge_access_level 934 22:25:35 when developers can merge 935 22:25:36 returns the DEVELOPER access level 936 22:25:36 when maintainers can merge 937 22:25:37 returns the MAINTAINER access level 938 22:25:37 when no one can merge 939 22:25:38 returns the NO_ACCESS access level 940 22:25:38 when admin can merge 941 22:25:38 returns the ADMIN access level 942 22:25:38 #allow_force_push? 943 22:25:39 calls allow_force_push? method of Gitlab::Access::DefaultBranchProtection and returns correct value 944 22:25:39 #code_owner_approval_required? 946 22:25:40 # [RSpecRunTime] Finishing example group spec/services/projects/protect_default_branch_service_spec.rb. It took 21.18 seconds. Expected to take 18.65 seconds. 947 22:25:40 # [RSpecRunTime] Starting example group spec/graphql/types/user_type_spec.rb. Expected to take 17.74 seconds. 948 22:25:40 Types::UserInterface 949 22:25:40 has the expected fields 950 22:25:40 is expected to eq "User" 951 22:25:40 is expected to require graphql authorizations :read_user 954 22:25:40 code suggestions enabled 955 22:25:40 returns code suggestions enabled 956 22:25:40 namespaceCommitEmails field 957 22:25:40 returns user namespace_commit_emails 958 22:25:40 timelogs field 959 22:25:40 returns user timelogs 961 22:25:42 user requests 964 22:25:42 # [RSpecRunTime] RSpec elapsed time: 13 minutes 24.69 seconds. Current RSS: ~1338M. Threads: 4. load average: 1.20 1.26 1.26 1/296 6419 966 22:25:42 a project bot 967 22:25:42 when requester is nil 968 22:25:42 returns nothing 969 22:25:42 when the requester is not a project member 970 22:25:43 returns `Project bot` for a non project member in a public project 971 22:25:43 in a private project 972 22:25:44 returns `****` for a non project member in a private project 973 22:25:44 # [RSpecRunTime] RSpec elapsed time: 13 minutes 26.83 seconds. Current RSS: ~1343M. Threads: 4. load average: 1.19 1.26 1.26 1/296 6420 975 22:25:44 with a project member 976 22:25:45 returns `Project bot` for a project member 977 22:25:45 in a private project 978 22:25:47 returns `Project bot` for a project member in a private project 979 22:25:47 # [RSpecRunTime] RSpec elapsed time: 13 minutes 29.19 seconds. Current RSS: ~1349M. Threads: 4. load average: 1.19 1.26 1.26 1/296 6421 982 22:25:47 when requester is nil 983 22:25:47 returns nothing 984 22:25:47 when the requester is not a group member 985 22:25:48 returns `Group bot` for a non group member in a public group 986 22:25:48 in a private group 987 22:25:48 returns `****` for a non group member in a private group 988 22:25:48 # [RSpecRunTime] RSpec elapsed time: 13 minutes 31.06 seconds. Current RSS: ~1347M. Threads: 4. load average: 1.17 1.25 1.26 1/296 6422 990 22:25:48 with a group member 991 22:25:49 returns `Group bot` for a group member 992 22:25:49 in a private group 993 22:25:50 returns `Group bot` for a group member in a private group 994 22:25:50 # [RSpecRunTime] RSpec elapsed time: 13 minutes 32.85 seconds. Current RSS: ~1350M. Threads: 4. load average: 1.17 1.25 1.26 1/296 6423 996 22:25:50 a project service account 997 22:25:50 when requester is nil 998 22:25:51 returns nothing 999 22:25:51 when the requester is not a project member 1000 22:25:51 returns `Project service account` for a non project member in a public project 1001 22:25:51 with a project member 1002 22:25:52 returns `Project service account` for a project member 1003 22:25:52 in a private project 1004 22:25:53 returns `Project service account` for a project member in a private project 1005 22:25:53 # [RSpecRunTime] RSpec elapsed time: 13 minutes 36.07 seconds. Current RSS: ~1355M. Threads: 4. load average: 1.16 1.25 1.26 1/296 6424 1007 22:25:53 a group service account 1008 22:25:53 when requester is nil 1009 22:25:54 returns nothing 1010 22:25:54 when the requester is not a group member 1011 22:25:54 returns `Group service account` for a non group member in a public group 1012 22:25:54 with a group member 1013 22:25:55 returns `Group service account` for a group member 1014 22:25:55 in a private group 1015 22:25:56 returns `Group service account` for a group member in a private group 1016 22:25:56 # [RSpecRunTime] RSpec elapsed time: 13 minutes 38.73 seconds. Current RSS: ~1356M. Threads: 4. load average: 1.16 1.25 1.26 1/296 6425 1018 22:25:56 admin requests 1020 22:25:57 returns name 1021 22:25:57 a project bot 1022 22:25:57 returns name 1024 22:25:58 returns name 1025 22:25:58 a project service account 1026 22:25:58 returns name 1027 22:25:58 a group service account 1028 22:25:59 returns name 1029 22:25:59 emails field 1030 22:25:59 returns user emails 1031 22:25:59 callouts field 1032 22:25:59 returns user callouts 1033 22:25:59 userPreferences field 1034 22:25:59 returns userPreferences field 1035 22:25:59 snippets field 1036 22:25:59 returns snippets 1037 22:25:59 # [RSpecRunTime] Finishing example group spec/graphql/types/user_type_spec.rb. It took 18.9 seconds. Expected to take 17.74 seconds. 1038 22:25:59 # [RSpecRunTime] Starting example group spec/services/search/group_service_spec.rb. Expected to take 16.82 seconds. 1039 22:25:59 Search::GroupService 1040 22:25:59 basic search 1041 22:25:59 finding projects by name 1042 22:25:59 in parent group 1043 22:26:03 is expected to contain exactly #<Project id:343 group21/group20/project-334>>, #<Project id:344 group21/group20/project-335>>, and #<Project id:345 group21/project-336>> 1044 22:26:03 # [RSpecRunTime] RSpec elapsed time: 13 minutes 45.23 seconds. Current RSS: ~1360M. Threads: 4. load average: 1.21 1.25 1.26 1/294 6426 1047 22:26:06 is expected to contain exactly #<Project id:349 group23/group22/project-340>> and #<Project id:350 group23/group22/project-341>> 1048 22:26:06 # [RSpecRunTime] RSpec elapsed time: 13 minutes 49.04 seconds. Current RSS: ~1342M. Threads: 4. load average: 1.21 1.25 1.26 1/294 6427 1052 22:26:07 sort: created_desc 1053 22:26:08 sorts results by created_at 1054 22:26:08 # [RSpecRunTime] RSpec elapsed time: 13 minutes 50.58 seconds. Current RSS: ~1342M. Threads: 4. load average: 1.20 1.25 1.26 1/294 6428 1056 22:26:08 sort: created_asc 1057 22:26:09 sorts results by created_at 1058 22:26:09 sort: updated_desc 1059 22:26:10 sorts results by updated_desc 1060 22:26:10 sort: updated_asc 1061 22:26:11 sorts results by updated_asc 1062 22:26:11 merge requests 1064 22:26:11 sort: created_desc 1065 22:26:13 sorts results by created_at 1066 22:26:13 # [RSpecRunTime] RSpec elapsed time: 13 minutes 55.29 seconds. Current RSS: ~1346M. Threads: 4. load average: 1.18 1.25 1.26 1/294 6429 1068 22:26:13 sort: created_asc 1069 22:26:15 sorts results by created_at 1070 22:26:15 # [RSpecRunTime] RSpec elapsed time: 13 minutes 57.32 seconds. Current RSS: ~1348M. Threads: 4. load average: 1.18 1.25 1.26 1/294 6430 1072 22:26:15 sort: updated_desc 1073 22:26:17 sorts results by updated_desc 1074 22:26:17 # [RSpecRunTime] RSpec elapsed time: 13 minutes 59.3 seconds. Current RSS: ~1348M. Threads: 4. load average: 1.18 1.25 1.26 1/294 6431 1076 22:26:17 sort: updated_asc 1077 22:26:19 sorts results by updated_asc 1078 22:26:19 # [RSpecRunTime] RSpec elapsed time: 14 minutes 1.39 seconds. Current RSS: ~1347M. Threads: 4. load average: 1.17 1.24 1.26 1/294 6432 1080 22:26:19 # [RSpecRunTime] Finishing example group spec/services/search/group_service_spec.rb. It took 20.0 seconds. Expected to take 16.82 seconds. 1081 22:26:19 # [RSpecRunTime] Starting example group spec/lib/gitlab/database/with_lock_retries_spec.rb. Expected to take 15.31 seconds. 1082 22:26:19 Gitlab::Database::WithLockRetries 1084 22:26:19 requires block 1085 22:26:19 when DISABLE_LOCK_RETRIES is set 1086 22:26:19 executes the passed block without retrying 1087 22:26:19 when lock retry is enabled 1089 22:26:19 acquires lock successfully 1090 22:26:19 after 3 iterations 1091 22:26:19 behaves like retriable exclusive lock on `projects` 1092 22:26:22 succeeds executing the given block 1093 22:26:22 # [RSpecRunTime] RSpec elapsed time: 14 minutes 4.74 seconds. Current RSS: ~1346M. Threads: 4. load average: 1.17 1.24 1.26 1/295 6433 1095 22:26:22 setting the idle transaction timeout 1096 22:26:22 when there is no outer transaction: disable_ddl_transaction! is set in the migration 1097 22:26:22 does not disable the idle transaction timeout 1098 22:26:22 when there is outer transaction: disable_ddl_transaction! is not set in the migration 1099 22:26:23 disables the idle transaction timeout so the code can sleep and retry 1100 22:26:23 # [RSpecRunTime] RSpec elapsed time: 14 minutes 5.91 seconds. Current RSS: ~1343M. Threads: 4. load average: 1.15 1.24 1.25 1/295 6434 1102 22:26:23 after the retries are exhausted 1103 22:26:23 when there is no outer transaction: disable_ddl_transaction! is set in the migration 1104 22:26:23 does not disable the lock_timeout 1105 22:26:23 when there is outer transaction: disable_ddl_transaction! is not set in the migration 1106 22:26:23 disables the lock_timeout 1107 22:26:23 after the retries, without setting lock_timeout 1108 22:26:23 behaves like retriable exclusive lock on `projects` 1109 22:26:28 succeeds executing the given block 1110 22:26:29 # [RSpecRunTime] RSpec elapsed time: 14 minutes 11.18 seconds. Current RSS: ~1343M. Threads: 4. load average: 1.06 1.22 1.25 1/295 6435 1112 22:26:29 after the retries, when requested to raise an error 1113 22:26:34 raises an error instead of waiting indefinitely for the lock 1114 22:26:34 # [RSpecRunTime] RSpec elapsed time: 14 minutes 16.34 seconds. Current RSS: ~1342M. Threads: 4. load average: 0.97 1.20 1.24 1/295 6436 1116 22:26:34 when statement timeout is reached 1117 22:26:34 raises QueryCanceled error 1118 22:26:34 restore local database variables 1119 22:26:34 is expected not to change `connection.execute("SHOW lock_timeout").to_a` 1120 22:26:34 is expected not to change `connection.execute("SHOW idle_in_transaction_session_timeout").to_a` 1121 22:26:34 casting durations correctly 1122 22:26:34 executes `SET LOCAL lock_timeout` using the configured timeout value in milliseconds 1123 22:26:34 calls `sleep` after the first iteration fails, using the configured sleep time 1124 22:26:34 Stop using subtransactions - allow_savepoints: false 1125 22:26:34 prevents running inside already open transaction 1126 22:26:34 does not raise the error if not inside open transaction 1127 22:26:34 # [RSpecRunTime] Finishing example group spec/lib/gitlab/database/with_lock_retries_spec.rb. It took 15.42 seconds. Expected to take 15.31 seconds. 1128 22:26:34 # [RSpecRunTime] Starting example group spec/services/issuable/common_system_notes_service_spec.rb. Expected to take 14.99 seconds. 1129 22:26:34 Issuable::CommonSystemNotesService 1130 22:26:35 on issuable update 1131 22:26:35 behaves like system note creation 1132 22:26:35 creates 1 system note with the correct content 1133 22:26:35 # [RSpecRunTime] RSpec elapsed time: 14 minutes 17.98 seconds. Current RSS: ~1346M. Threads: 4. load average: 0.97 1.20 1.24 1/295 6437 1135 22:26:35 behaves like system note creation 1136 22:26:36 creates 1 system note with the correct content 1137 22:26:36 behaves like system note creation 1138 22:26:36 creates 1 system note with the correct content 1139 22:26:36 behaves like system note creation 1140 22:26:37 creates 1 system note with the correct content 1141 22:26:37 when new label is added 1142 22:26:37 creates a resource label event 1143 22:26:37 with merge requests Draft note 1144 22:26:37 and adding Draft note 1145 22:26:37 behaves like system note creation 1146 22:26:40 creates 1 system note with the correct content 1147 22:26:40 # [RSpecRunTime] RSpec elapsed time: 14 minutes 22.69 seconds. Current RSS: ~1357M. Threads: 4. load average: 0.98 1.19 1.24 1/298 6496 1149 22:26:40 and changing title 1150 22:26:40 behaves like draft notes creation 1151 22:26:42 creates Draft toggle and title change notes 1152 22:26:42 # [RSpecRunTime] RSpec elapsed time: 14 minutes 24.76 seconds. Current RSS: ~1364M. Threads: 4. load average: 0.98 1.19 1.24 1/300 6553 1154 22:26:42 and removing Draft note 1155 22:26:42 behaves like system note creation 1156 22:26:44 creates 1 system note with the correct content 1157 22:26:44 # [RSpecRunTime] RSpec elapsed time: 14 minutes 26.93 seconds. Current RSS: ~1370M. Threads: 4. load average: 0.98 1.19 1.24 1/301 6612 1159 22:26:44 and changing title 1160 22:26:44 behaves like draft notes creation 1161 22:26:46 creates Draft toggle and title change notes 1162 22:26:46 # [RSpecRunTime] RSpec elapsed time: 14 minutes 28.96 seconds. Current RSS: ~1371M. Threads: 4. load average: 0.98 1.19 1.24 1/301 6670 1164 22:26:46 when changing dates 1165 22:26:46 behaves like system note for issuable date changes 1166 22:26:47 does not call SystemNoteService if no dates are changed 1167 22:26:47 and issuable is an Issue 1168 22:26:47 creates a system note for due_date set 1169 22:26:47 creates a system note for start_date set 1170 22:26:48 creates a note when both start and due date are changed 1171 22:26:48 # [RSpecRunTime] RSpec elapsed time: 14 minutes 30.57 seconds. Current RSS: ~1366M. Threads: 4. load average: 0.98 1.19 1.24 1/301 6671 1173 22:26:48 and issuable is a WorkItem 1174 22:26:48 creates a system note for due_date set 1175 22:26:49 creates a system note for start_date set 1176 22:26:49 creates a note when both start and due date are changed 1177 22:26:49 on issuable create 1178 22:26:49 does not create system note for title and description 1179 22:26:49 creates a resource label event for labels added 1180 22:26:49 when changing milestones 1181 22:26:50 does not create a system note for milestone set 1182 22:26:50 creates a milestone change event 1183 22:26:50 # [RSpecRunTime] RSpec elapsed time: 14 minutes 32.51 seconds. Current RSS: ~1356M. Threads: 4. load average: 0.98 1.19 1.24 1/301 6672 1185 22:26:50 when changing dates 1186 22:26:50 behaves like system note for issuable date changes 1187 22:26:50 does not call SystemNoteService if no dates are changed 1188 22:26:50 and issuable is an Issue 1189 22:26:50 creates a system note for due_date set 1190 22:26:51 creates a system note for start_date set 1191 22:26:51 creates a note when both start and due date are changed 1192 22:26:51 # [RSpecRunTime] RSpec elapsed time: 14 minutes 33.76 seconds. Current RSS: ~1351M. Threads: 4. load average: 0.98 1.19 1.24 1/301 6673 1194 22:26:51 and issuable is a WorkItem 1195 22:26:52 creates a system note for due_date set 1196 22:26:52 creates a system note for start_date set 1197 22:26:52 creates a note when both start and due date are changed 1198 22:26:52 when setting an estimae 1199 22:26:52 behaves like system note creation 1200 22:26:52 creates 1 system note with the correct content 1201 22:26:52 # [RSpecRunTime] Finishing example group spec/services/issuable/common_system_notes_service_spec.rb. It took 18.04 seconds. Expected to take 14.99 seconds. 1202 22:26:52 # [RSpecRunTime] Starting example group spec/services/wiki_pages/create_service_spec.rb. Expected to take 13.86 seconds. 1203 22:26:52 WikiPages::CreateService 1204 22:26:52 behaves like WikiPages::CreateService#execute 1205 22:26:54 creates wiki page with valid attributes 1206 22:26:55 creates a WikiPage::Meta record 1207 22:26:57 executes webhooks 1208 22:26:57 internal event tracking 1209 22:26:57 behaves like internal event tracking 1210 22:26:58 logs to Snowplow, Redis, and product analytics tooling 1211 22:26:58 # [RSpecRunTime] RSpec elapsed time: 14 minutes 40.95 seconds. Current RSS: ~1337M. Threads: 4. load average: 0.98 1.18 1.23 1/300 6890 1213 22:26:58 with project container 1214 22:26:58 behaves like internal event not tracked 1215 22:27:00 does not record an internal event 1216 22:27:00 # [RSpecRunTime] RSpec elapsed time: 14 minutes 42.55 seconds. Current RSS: ~1340M. Threads: 4. load average: 0.98 1.18 1.23 1/300 6945 1218 22:27:00 when the new page is a template 1219 22:27:00 behaves like internal event tracking 1220 22:27:02 logs to Snowplow, Redis, and product analytics tooling 1221 22:27:02 # [RSpecRunTime] RSpec elapsed time: 14 minutes 44.24 seconds. Current RSS: ~1341M. Threads: 4. load average: 0.98 1.18 1.23 1/300 7002 1223 22:27:02 the new page is at the top level 1224 22:27:03 creates appropriate events 1225 22:27:03 # [RSpecRunTime] RSpec elapsed time: 14 minutes 45.79 seconds. Current RSS: ~1342M. Threads: 4. load average: 0.99 1.18 1.23 1/300 7057 1227 22:27:03 the new page is in a subsection 1228 22:27:05 creates appropriate events 1229 22:27:05 # [RSpecRunTime] RSpec elapsed time: 14 minutes 47.44 seconds. Current RSS: ~1341M. Threads: 4. load average: 0.99 1.18 1.23 1/300 7114 1231 22:27:05 when the options are bad 1232 22:27:05 does not count a creation event 1233 22:27:06 does not record the activity 1234 22:27:07 reports the error 1235 22:27:07 # [RSpecRunTime] RSpec elapsed time: 14 minutes 49.78 seconds. Current RSS: ~1339M. Threads: 4. load average: 0.99 1.18 1.23 1/300 7131 1237 22:27:07 when wiki create fails due to git error 1238 22:27:08 catches the thrown error and returns a ServiceResponse error 1239 22:27:08 # [RSpecRunTime] RSpec elapsed time: 14 minutes 51.06 seconds. Current RSS: ~1338M. Threads: 4. load average: 0.99 1.17 1.23 2/300 7140 1241 22:27:08 # [RSpecRunTime] Finishing example group spec/services/wiki_pages/create_service_spec.rb. It took 16.2 seconds. Expected to take 13.86 seconds. 1242 22:27:08 # [RSpecRunTime] Starting example group spec/services/resource_events/change_state_service_spec.rb. Expected to take 13.47 seconds. 1243 22:27:08 ResourceEvents::ChangeStateService 1245 22:27:09 when resource is an Issue 1246 22:27:09 when no source is given 1247 22:27:09 behaves like a state event 1248 22:27:09 creates the expected event if resource has opened state 1249 22:27:10 sets the created_at timestamp from the system_note_timestamp 1250 22:27:10 creates the expected event if resource has reopened state 1251 22:27:10 sets the created_at timestamp from the system_note_timestamp 1252 22:27:10 creates the expected event if resource has closed state 1253 22:27:10 sets the created_at timestamp from the system_note_timestamp 1254 22:27:11 creates the expected event if resource has locked state 1255 22:27:11 sets the created_at timestamp from the system_note_timestamp 1256 22:27:11 # [RSpecRunTime] RSpec elapsed time: 14 minutes 53.55 seconds. Current RSS: ~1336M. Threads: 4. load average: 0.99 1.17 1.23 1/300 7141 1258 22:27:11 when source commit is given 1259 22:27:11 behaves like a state event 1260 22:27:11 creates the expected event if resource has opened state 1261 22:27:11 sets the created_at timestamp from the system_note_timestamp 1262 22:27:12 creates the expected event if resource has reopened state 1263 22:27:12 sets the created_at timestamp from the system_note_timestamp 1264 22:27:12 creates the expected event if resource has closed state 1265 22:27:12 sets the created_at timestamp from the system_note_timestamp 1266 22:27:13 creates the expected event if resource has locked state 1267 22:27:13 sets the created_at timestamp from the system_note_timestamp 1268 22:27:13 # [RSpecRunTime] RSpec elapsed time: 14 minutes 55.57 seconds. Current RSS: ~1336M. Threads: 4. load average: 0.99 1.17 1.23 1/298 7142 1270 22:27:13 when source merge request is given 1271 22:27:13 behaves like a state event 1272 22:27:13 creates the expected event if resource has opened state 1273 22:27:14 sets the created_at timestamp from the system_note_timestamp 1274 22:27:14 creates the expected event if resource has reopened state 1275 22:27:15 sets the created_at timestamp from the system_note_timestamp 1276 22:27:15 creates the expected event if resource has closed state 1277 22:27:16 sets the created_at timestamp from the system_note_timestamp 1278 22:27:16 creates the expected event if resource has locked state 1279 22:27:16 sets the created_at timestamp from the system_note_timestamp 1280 22:27:17 # [RSpecRunTime] RSpec elapsed time: 14 minutes 59.16 seconds. Current RSS: ~1337M. Threads: 4. load average: 0.99 1.17 1.23 1/295 7143 1282 22:27:17 when resource is a MergeRequest 1283 22:27:17 when no source is given 1284 22:27:17 behaves like a state event 1285 22:27:17 creates the expected event if resource has opened state 1286 22:27:17 sets the created_at timestamp from the system_note_timestamp 1287 22:27:17 creates the expected event if resource has reopened state 1288 22:27:17 sets the created_at timestamp from the system_note_timestamp 1289 22:27:18 creates the expected event if resource has closed state 1290 22:27:18 sets the created_at timestamp from the system_note_timestamp 1291 22:27:18 creates the expected event if resource has locked state 1292 22:27:19 sets the created_at timestamp from the system_note_timestamp 1293 22:27:19 # [RSpecRunTime] RSpec elapsed time: 15 minutes 1.25 seconds. Current RSS: ~1340M. Threads: 4. load average: 1.07 1.18 1.23 1/295 7144 1295 22:27:19 when source commit is given 1296 22:27:19 behaves like a state event 1297 22:27:19 creates the expected event if resource has opened state 1298 22:27:19 sets the created_at timestamp from the system_note_timestamp 1299 22:27:19 creates the expected event if resource has reopened state 1300 22:27:20 sets the created_at timestamp from the system_note_timestamp 1301 22:27:20 creates the expected event if resource has closed state 1302 22:27:20 sets the created_at timestamp from the system_note_timestamp 1303 22:27:20 creates the expected event if resource has locked state 1304 22:27:21 sets the created_at timestamp from the system_note_timestamp 1305 22:27:21 # [RSpecRunTime] RSpec elapsed time: 15 minutes 3.39 seconds. Current RSS: ~1339M. Threads: 4. load average: 1.07 1.18 1.23 1/295 7145 1307 22:27:21 when source merge request is given 1308 22:27:21 behaves like a state event 1309 22:27:21 creates the expected event if resource has opened state 1310 22:27:22 sets the created_at timestamp from the system_note_timestamp 1311 22:27:22 creates the expected event if resource has reopened state 1312 22:27:23 sets the created_at timestamp from the system_note_timestamp 1313 22:27:23 creates the expected event if resource has closed state 1314 22:27:24 sets the created_at timestamp from the system_note_timestamp 1315 22:27:24 creates the expected event if resource has locked state 1316 22:27:24 sets the created_at timestamp from the system_note_timestamp 1317 22:27:25 # [RSpecRunTime] RSpec elapsed time: 15 minutes 7.16 seconds. Current RSS: ~1340M. Threads: 4. load average: 1.06 1.18 1.23 1/295 7146 1319 22:27:25 # [RSpecRunTime] Finishing example group spec/services/resource_events/change_state_service_spec.rb. It took 16.11 seconds. Expected to take 13.47 seconds. 1320 22:27:25 # [RSpecRunTime] Starting example group spec/lib/gitlab/color_spec.rb. Expected to take 12.46 seconds. 1321 22:27:25 Gitlab::Color 1323 22:27:25 parses black to #000000 1324 22:27:25 parses silver to #C0C0C0 1325 22:27:25 parses gray to #808080 1326 22:27:25 parses white to #FFFFFF 1327 22:27:25 parses maroon to #800000 1328 22:27:25 parses red to #FF0000 1329 22:27:25 parses purple to #800080 1330 22:27:25 parses fuchsia to #FF00FF 1331 22:27:25 parses green to #008000 1332 22:27:25 parses lime to #00FF00 1333 22:27:25 parses olive to #808000 1334 22:27:25 parses yellow to #FFFF00 1335 22:27:25 parses navy to #000080 1336 22:27:25 parses blue to #0000FF 1337 22:27:25 parses teal to #008080 1338 22:27:25 parses aqua to #00FFFF 1339 22:27:25 parses orange to #FFA500 1340 22:27:25 parses aliceblue to #F0F8FF 1341 22:27:25 parses antiquewhite to #FAEBD7 1342 22:27:25 parses aquamarine to #7FFFD4 1343 22:27:25 parses azure to #F0FFFF 1344 22:27:25 parses beige to #F5F5DC 1345 22:27:25 parses bisque to #FFE4C4 1346 22:27:25 parses blanchedalmond to #FFEBCD 1347 22:27:25 parses blueviolet to #8A2BE2 1348 22:27:25 parses brown to #A52A2A 1349 22:27:25 parses burlywood to #DEB887 1350 22:27:25 parses cadetblue to #5F9EA0 1351 22:27:25 parses chartreuse to #7FFF00 1352 22:27:25 parses chocolate to #D2691E 1353 22:27:25 parses coral to #FF7F50 1354 22:27:26 parses cornflowerblue to #6495ED 1355 22:27:26 parses cornsilk to #FFF8DC 1356 22:27:26 parses crimson to #DC143C 1357 22:27:26 parses darkblue to #00008B 1358 22:27:26 parses darkcyan to #008B8B 1359 22:27:26 parses darkgoldenrod to #B8860B 1360 22:27:26 parses darkgray to #A9A9A9 1361 22:27:26 parses darkgreen to #006400 1362 22:27:26 parses darkgrey to #A9A9A9 1363 22:27:26 parses darkkhaki to #BDB76B 1364 22:27:26 parses darkmagenta to #8B008B 1365 22:27:26 parses darkolivegreen to #556B2F 1366 22:27:26 parses darkorange to #FF8C00 1367 22:27:26 parses darkorchid to #9932CC 1368 22:27:26 parses darkred to #8B0000 1369 22:27:26 parses darksalmon to #E9967A 1370 22:27:26 parses darkseagreen to #8FBC8F 1371 22:27:26 parses darkslateblue to #483D8B 1372 22:27:26 parses darkslategray to #2F4F4F 1373 22:27:26 parses darkslategrey to #2F4F4F 1374 22:27:26 parses darkturquoise to #00CED1 1375 22:27:26 parses darkviolet to #9400D3 1376 22:27:26 parses deeppink to #FF1493 1377 22:27:26 parses deepskyblue to #00BFFF 1378 22:27:26 parses dimgray to #696969 1379 22:27:26 parses dimgrey to #696969 1380 22:27:26 parses dodgerblue to #1E90FF 1381 22:27:26 parses firebrick to #B22222 1382 22:27:26 parses floralwhite to #FFFAF0 1383 22:27:26 parses forestgreen to #228B22 1384 22:27:26 parses gainsboro to #DCDCDC 1385 22:27:26 parses ghostwhite to #F8F8FF 1386 22:27:26 parses gold to #FFD700 1387 22:27:26 parses goldenrod to #DAA520 1388 22:27:26 parses greenyellow to #ADFF2F 1389 22:27:27 parses grey to #808080 1390 22:27:27 parses honeydew to #F0FFF0 1391 22:27:27 parses hotpink to #FF69B4 1392 22:27:27 parses indianred to #CD5C5C 1393 22:27:27 parses indigo to #4B0082 1394 22:27:27 parses ivory to #FFFFF0 1395 22:27:27 parses khaki to #F0E68C 1396 22:27:27 parses lavender to #E6E6FA 1397 22:27:27 parses lavenderblush to #FFF0F5 1398 22:27:27 parses lawngreen to #7CFC00 1399 22:27:27 parses lemonchiffon to #FFFACD 1400 22:27:27 parses lightblue to #ADD8E6 1401 22:27:27 parses lightcoral to #F08080 1402 22:27:27 parses lightcyan to #E0FFFF 1403 22:27:27 parses lightgoldenrodyellow to #FAFAD2 1404 22:27:27 parses lightgray to #D3D3D3 1405 22:27:27 parses lightgreen to #90EE90 1406 22:27:27 parses lightgrey to #D3D3D3 1407 22:27:27 parses lightpink to #FFB6C1 1408 22:27:27 parses lightsalmon to #FFA07A 1409 22:27:27 parses lightseagreen to #20B2AA 1410 22:27:27 parses lightskyblue to #87CEFA 1411 22:27:27 parses lightslategray to #778899 1412 22:27:27 parses lightslategrey to #778899 1413 22:27:27 parses lightsteelblue to #B0C4DE 1414 22:27:27 parses lightyellow to #FFFFE0 1415 22:27:27 parses limegreen to #32CD32 1416 22:27:27 parses linen to #FAF0E6 1417 22:27:27 parses mediumaquamarine to #66CDAA 1418 22:27:27 parses mediumblue to #0000CD 1419 22:27:28 parses mediumorchid to #BA55D3 1420 22:27:28 parses mediumpurple to #9370DB 1421 22:27:28 parses mediumseagreen to #3CB371 1422 22:27:28 parses mediumslateblue to #7B68EE 1423 22:27:28 parses mediumspringgreen to #00FA9A 1424 22:27:28 parses mediumturquoise to #48D1CC 1425 22:27:28 parses mediumvioletred to #C71585 1426 22:27:28 parses midnightblue to #191970 1427 22:27:28 parses mintcream to #F5FFFA 1428 22:27:28 parses mistyrose to #FFE4E1 1429 22:27:28 parses moccasin to #FFE4B5 1430 22:27:28 parses navajowhite to #FFDEAD 1431 22:27:28 parses oldlace to #FDF5E6 1432 22:27:28 parses olivedrab to #6B8E23 1433 22:27:28 parses orangered to #FF4500 1434 22:27:28 parses orchid to #DA70D6 1435 22:27:28 parses palegoldenrod to #EEE8AA 1436 22:27:28 parses palegreen to #98FB98 1437 22:27:28 parses paleturquoise to #AFEEEE 1438 22:27:28 parses palevioletred to #DB7093 1439 22:27:28 parses papayawhip to #FFEFD5 1440 22:27:28 parses peachpuff to #FFDAB9 1441 22:27:28 parses peru to #CD853F 1442 22:27:28 parses pink to #FFC0CB 1443 22:27:28 parses plum to #DDA0DD 1444 22:27:28 parses powderblue to #B0E0E6 1445 22:27:28 parses rosybrown to #BC8F8F 1446 22:27:28 parses royalblue to #4169E1 1447 22:27:28 parses saddlebrown to #8B4513 1448 22:27:28 parses salmon to #FA8072 1449 22:27:28 parses sandybrown to #F4A460 1450 22:27:28 parses seagreen to #2E8B57 1451 22:27:28 parses seashell to #FFF5EE 1452 22:27:28 parses sienna to #A0522D 1453 22:27:28 parses skyblue to #87CEEB 1454 22:27:28 parses slateblue to #6A5ACD 1455 22:27:29 parses slategray to #708090 1456 22:27:29 parses slategrey to #708090 1457 22:27:29 parses snow to #FFFAFA 1458 22:27:29 parses springgreen to #00FF7F 1459 22:27:29 parses steelblue to #4682B4 1460 22:27:29 parses tan to #D2B48C 1461 22:27:29 parses thistle to #D8BFD8 1462 22:27:29 parses tomato to #FF6347 1463 22:27:29 parses turquoise to #40E0D0 1464 22:27:29 parses violet to #EE82EE 1465 22:27:29 parses wheat to #F5DEB3 1466 22:27:29 parses whitesmoke to #F5F5F5 1467 22:27:29 parses yellowgreen to #9ACD32 1468 22:27:29 parses rebeccapurple to #663399 1469 22:27:29 parses hex literals as colors 1470 22:27:29 raises if the input is nil 1471 22:27:29 returns an invalid color if the input is not valid 1472 22:27:29 # [RSpecRunTime] RSpec elapsed time: 15 minutes 11.62 seconds. Current RSS: ~1346M. Threads: 4. load average: 1.06 1.18 1.23 1/295 7147 1475 22:27:29 when generating color for nil value 1476 22:27:29 is expected to be valid 1477 22:27:29 behaves like deterministic 1478 22:27:29 is deterministoc 1479 22:27:29 when generating color for empty string value 1480 22:27:29 is expected to be valid 1481 22:27:29 behaves like deterministic 1482 22:27:29 is deterministoc 1483 22:27:29 when generating color for number value 1484 22:27:29 is expected to be valid 1485 22:27:29 behaves like deterministic 1486 22:27:29 is deterministoc 1487 22:27:29 when generating color for string value 1488 22:27:29 is expected to be valid 1489 22:27:29 behaves like deterministic 1490 22:27:29 is deterministoc 1492 22:27:29 handles nil values 1493 22:27:29 strips input 1495 22:27:29 black is a valid color 1496 22:27:29 silver is a valid color 1497 22:27:29 gray is a valid color 1498 22:27:29 white is a valid color 1499 22:27:29 maroon is a valid color 1500 22:27:29 red is a valid color 1501 22:27:29 purple is a valid color 1502 22:27:30 fuchsia is a valid color 1503 22:27:30 green is a valid color 1504 22:27:30 lime is a valid color 1505 22:27:30 olive is a valid color 1506 22:27:30 yellow is a valid color 1507 22:27:30 navy is a valid color 1508 22:27:30 blue is a valid color 1509 22:27:30 teal is a valid color 1510 22:27:30 aqua is a valid color 1511 22:27:30 orange is a valid color 1512 22:27:30 aliceblue is a valid color 1513 22:27:30 antiquewhite is a valid color 1514 22:27:30 aquamarine is a valid color 1515 22:27:30 azure is a valid color 1516 22:27:30 beige is a valid color 1517 22:27:30 bisque is a valid color 1518 22:27:30 blanchedalmond is a valid color 1519 22:27:30 blueviolet is a valid color 1520 22:27:30 brown is a valid color 1521 22:27:30 burlywood is a valid color 1522 22:27:30 cadetblue is a valid color 1523 22:27:30 chartreuse is a valid color 1524 22:27:30 chocolate is a valid color 1525 22:27:30 coral is a valid color 1526 22:27:30 cornflowerblue is a valid color 1527 22:27:30 cornsilk is a valid color 1528 22:27:30 crimson is a valid color 1529 22:27:30 darkblue is a valid color 1530 22:27:30 darkcyan is a valid color 1531 22:27:30 darkgoldenrod is a valid color 1532 22:27:30 darkgray is a valid color 1533 22:27:30 darkgreen is a valid color 1534 22:27:30 darkgrey is a valid color 1535 22:27:30 darkkhaki is a valid color 1536 22:27:30 darkmagenta is a valid color 1537 22:27:30 darkolivegreen is a valid color 1538 22:27:31 darkorange is a valid color 1539 22:27:31 darkorchid is a valid color 1540 22:27:31 darkred is a valid color 1541 22:27:31 darksalmon is a valid color 1542 22:27:31 darkseagreen is a valid color 1543 22:27:31 darkslateblue is a valid color 1544 22:27:31 darkslategray is a valid color 1545 22:27:31 darkslategrey is a valid color 1546 22:27:31 darkturquoise is a valid color 1547 22:27:31 darkviolet is a valid color 1548 22:27:31 deeppink is a valid color 1549 22:27:31 deepskyblue is a valid color 1550 22:27:31 dimgray is a valid color 1551 22:27:31 dimgrey is a valid color 1552 22:27:31 dodgerblue is a valid color 1553 22:27:31 firebrick is a valid color 1554 22:27:31 floralwhite is a valid color 1555 22:27:31 forestgreen is a valid color 1556 22:27:31 gainsboro is a valid color 1557 22:27:31 ghostwhite is a valid color 1558 22:27:31 gold is a valid color 1559 22:27:31 goldenrod is a valid color 1560 22:27:31 greenyellow is a valid color 1561 22:27:31 grey is a valid color 1562 22:27:31 honeydew is a valid color 1563 22:27:31 hotpink is a valid color 1564 22:27:31 indianred is a valid color 1565 22:27:31 indigo is a valid color 1566 22:27:31 ivory is a valid color 1567 22:27:31 khaki is a valid color 1568 22:27:31 lavender is a valid color 1569 22:27:31 lavenderblush is a valid color 1570 22:27:31 lawngreen is a valid color 1571 22:27:32 lemonchiffon is a valid color 1572 22:27:32 lightblue is a valid color 1573 22:27:32 lightcoral is a valid color 1574 22:27:32 lightcyan is a valid color 1575 22:27:32 lightgoldenrodyellow is a valid color 1576 22:27:32 lightgray is a valid color 1577 22:27:32 lightgreen is a valid color 1578 22:27:32 lightgrey is a valid color 1579 22:27:32 lightpink is a valid color 1580 22:27:32 lightsalmon is a valid color 1581 22:27:32 lightseagreen is a valid color 1582 22:27:32 lightskyblue is a valid color 1583 22:27:32 lightslategray is a valid color 1584 22:27:32 lightslategrey is a valid color 1585 22:27:32 lightsteelblue is a valid color 1586 22:27:32 lightyellow is a valid color 1587 22:27:32 limegreen is a valid color 1588 22:27:32 linen is a valid color 1589 22:27:32 mediumaquamarine is a valid color 1590 22:27:32 mediumblue is a valid color 1591 22:27:32 mediumorchid is a valid color 1592 22:27:32 mediumpurple is a valid color 1593 22:27:32 mediumseagreen is a valid color 1594 22:27:32 mediumslateblue is a valid color 1595 22:27:32 mediumspringgreen is a valid color 1596 22:27:32 mediumturquoise is a valid color 1597 22:27:32 mediumvioletred is a valid color 1598 22:27:32 midnightblue is a valid color 1599 22:27:32 mintcream is a valid color 1600 22:27:32 mistyrose is a valid color 1601 22:27:32 moccasin is a valid color 1602 22:27:32 navajowhite is a valid color 1603 22:27:32 oldlace is a valid color 1604 22:27:32 olivedrab is a valid color 1605 22:27:32 orangered is a valid color 1606 22:27:32 orchid is a valid color 1607 22:27:33 palegoldenrod is a valid color 1608 22:27:33 palegreen is a valid color 1609 22:27:33 paleturquoise is a valid color 1610 22:27:33 palevioletred is a valid color 1611 22:27:33 papayawhip is a valid color 1612 22:27:33 peachpuff is a valid color 1613 22:27:33 peru is a valid color 1614 22:27:33 pink is a valid color 1615 22:27:33 plum is a valid color 1616 22:27:33 powderblue is a valid color 1617 22:27:33 rosybrown is a valid color 1618 22:27:33 royalblue is a valid color 1619 22:27:33 saddlebrown is a valid color 1620 22:27:33 salmon is a valid color 1621 22:27:33 sandybrown is a valid color 1622 22:27:33 seagreen is a valid color 1623 22:27:33 seashell is a valid color 1624 22:27:33 sienna is a valid color 1625 22:27:33 skyblue is a valid color 1626 22:27:33 slateblue is a valid color 1627 22:27:33 slategray is a valid color 1628 22:27:33 slategrey is a valid color 1629 22:27:33 snow is a valid color 1630 22:27:33 springgreen is a valid color 1631 22:27:33 steelblue is a valid color 1632 22:27:33 tan is a valid color 1633 22:27:33 thistle is a valid color 1634 22:27:33 tomato is a valid color 1635 22:27:33 turquoise is a valid color 1636 22:27:33 violet is a valid color 1637 22:27:33 wheat is a valid color 1638 22:27:33 whitesmoke is a valid color 1639 22:27:33 yellowgreen is a valid color 1640 22:27:33 rebeccapurple is a valid color 1641 22:27:33 #fff is a valid color 1642 22:27:33 #ffffff is a valid color 1643 22:27:33 #ABCDEF is a valid color 1644 22:27:33 #123456 is a valid color 1645 22:27:34 #1234567 is not a valid color 1646 22:27:34 fff is not a valid color 1647 22:27:34 #deadbeaf is not a valid color 1648 22:27:34 #a1b2c3 is a valid color 1649 22:27:34 nil is not a valid color 1650 22:27:34 # [RSpecRunTime] RSpec elapsed time: 15 minutes 16.31 seconds. Current RSS: ~1345M. Threads: 4. load average: 1.05 1.17 1.23 1/295 7148 1653 22:27:34 #fff is light 1654 22:27:34 #c2c2c2 is light 1655 22:27:34 #868686 is dark 1656 22:27:34 #000 is dark 1657 22:27:34 invalid colors are not light 1659 22:27:34 with light colors 1661 22:27:34 with dark colors 1664 22:27:34 serializes correctly 1665 22:27:34 # [RSpecRunTime] Finishing example group spec/lib/gitlab/color_spec.rb. It took 9.37 seconds. Expected to take 12.46 seconds. 1666 22:27:34 # [RSpecRunTime] Starting example group spec/services/files/delete_service_spec.rb. Expected to take 12.32 seconds. 1667 22:27:34 Files::DeleteService 1669 22:27:34 when the file's last commit is earlier than the latest commit for this branch 1670 22:27:36 returns a hash with the correct error message and a :error status 1671 22:27:36 # [RSpecRunTime] RSpec elapsed time: 15 minutes 18.37 seconds. Current RSS: ~1355M. Threads: 4. load average: 1.05 1.17 1.23 1/296 7178 1673 22:27:36 when the file's last commit sha does match the supplied last_commit_sha 1674 22:27:36 behaves like successfully deletes the file 1675 22:27:38 returns a hash with the :success status 1676 22:27:39 deletes the file 1677 22:27:41 uses the commit email 1678 22:27:41 # [RSpecRunTime] RSpec elapsed time: 15 minutes 23.98 seconds. Current RSS: ~1379M. Threads: 4. load average: 1.05 1.17 1.23 1/300 7353 1680 22:27:41 when the last_commit_sha is not supplied 1681 22:27:41 behaves like successfully deletes the file 1682 22:27:43 returns a hash with the :success status 1683 22:27:45 deletes the file 1684 22:27:47 uses the commit email 1685 22:27:47 # [RSpecRunTime] RSpec elapsed time: 15 minutes 29.65 seconds. Current RSS: ~1375M. Threads: 4. load average: 1.05 1.17 1.23 1/300 7519 1687 22:27:47 # [RSpecRunTime] Finishing example group spec/services/files/delete_service_spec.rb. It took 13.12 seconds. Expected to take 12.32 seconds. 1688 22:27:47 # [RSpecRunTime] Starting example group spec/models/concerns/resolvable_discussion_spec.rb. Expected to take 11.18 seconds. 1689 22:27:47 Discussion ResolvableDiscussion 1690 22:27:49 does not allow STI 1691 22:27:49 #resolvable? 1692 22:27:49 when potentially resolvable 1693 22:27:49 when all notes are unresolvable 1694 22:27:49 returns false 1695 22:27:49 # [RSpecRunTime] RSpec elapsed time: 15 minutes 31.61 seconds. Current RSS: ~1375M. Threads: 4. load average: 1.04 1.16 1.22 1/302 7579 1697 22:27:49 when some notes are unresolvable and some notes are resolvable 1698 22:27:49 returns true 1699 22:27:49 when all notes are resolvable 1700 22:27:49 returns true 1701 22:27:49 when not potentially resolvable 1702 22:27:49 returns false 1704 22:27:49 when not resolvable 1705 22:27:49 returns false 1706 22:27:49 when resolvable 1707 22:27:49 when all resolvable notes are resolved 1708 22:27:49 returns true 1709 22:27:49 when some resolvable notes are not resolved 1710 22:27:49 returns false 1711 22:27:49 #to_be_resolved? 1712 22:27:49 when not resolvable 1713 22:27:49 returns false 1714 22:27:49 when resolvable 1715 22:27:49 when all resolvable notes are resolved 1716 22:27:49 returns false 1717 22:27:49 when some resolvable notes are not resolved 1718 22:27:49 returns true 1719 22:27:49 #can_resolve? 1720 22:27:49 when not resolvable 1721 22:27:49 returns false 1722 22:27:49 when resolvable 1723 22:27:49 when not signed in 1724 22:27:49 returns false 1725 22:27:49 when signed in 1726 22:27:49 when the signed in user is the noteable author 1727 22:27:50 returns true 1728 22:27:50 when noteable is locked 1729 22:27:50 returns false 1730 22:27:50 when the signed in user can push to the project 1731 22:27:50 returns true 1732 22:27:50 when the noteable has no author 1733 22:27:50 returns true 1734 22:27:50 when the signed in user is a random user 1735 22:27:50 returns false 1736 22:27:50 when the noteable has no author 1737 22:27:50 returns false 1739 22:27:50 when not resolvable 1741 22:27:50 doesn't set resolved_at 1742 22:27:50 doesn't set resolved_by 1743 22:27:51 doesn't mark as resolved 1744 22:27:51 when resolvable 1745 22:27:52 when all resolvable notes are resolved 1746 22:27:52 doesn't change resolved_at on the resolved notes 1747 22:27:52 doesn't change resolved_by on the resolved notes 1748 22:27:52 doesn't change the resolved state on the resolved notes 1749 22:27:53 doesn't change resolved_at 1750 22:27:53 doesn't change resolved_by 1751 22:27:53 doesn't change resolved state 1752 22:27:53 # [RSpecRunTime] RSpec elapsed time: 15 minutes 35.84 seconds. Current RSS: ~1369M. Threads: 4. load average: 0.96 1.14 1.22 1/301 7602 1754 22:27:53 when some resolvable notes are resolved 1755 22:27:53 doesn't change resolved_at on the resolved note 1756 22:27:54 doesn't change resolved_by on the resolved note 1757 22:27:54 doesn't change the resolved state on the resolved note 1758 22:27:54 sets resolved_at on the unresolved note 1759 22:27:54 sets resolved_by on the unresolved note 1760 22:27:54 marks the unresolved note as resolved 1761 22:27:54 sets resolved_at 1762 22:27:54 sets resolved_by 1763 22:27:55 marks as resolved 1764 22:27:55 # [RSpecRunTime] RSpec elapsed time: 15 minutes 37.25 seconds. Current RSS: ~1366M. Threads: 4. load average: 0.96 1.14 1.22 1/301 7603 1766 22:27:55 when no resolvable notes are resolved 1767 22:27:55 sets resolved_at on the unresolved notes 1768 22:27:55 sets resolved_by on the unresolved notes 1769 22:27:55 marks the unresolved notes as resolved 1770 22:27:55 sets resolved_at 1771 22:27:55 sets resolved_by 1772 22:27:55 marks as resolved 1773 22:27:55 broadcasts note change of the noteable 1775 22:27:55 when not resolvable 1777 22:27:55 when resolvable 1778 22:27:55 when all resolvable notes are resolved 1779 22:27:56 unsets resolved_at on the resolved notes 1780 22:27:56 unsets resolved_by on the resolved notes 1781 22:27:56 unmarks the resolved notes as resolved 1782 22:27:56 unsets resolved_at 1783 22:27:56 unsets resolved_by 1784 22:27:57 unmarks as resolved 1785 22:27:57 broadcasts note change of the noteable 1786 22:27:57 # [RSpecRunTime] RSpec elapsed time: 15 minutes 39.55 seconds. Current RSS: ~1354M. Threads: 4. load average: 0.96 1.14 1.22 1/300 7604 1788 22:27:57 when some resolvable notes are resolved 1789 22:27:57 unsets resolved_at on the resolved note 1790 22:27:57 unsets resolved_by on the resolved note 1791 22:27:57 unmarks the resolved note as resolved 1792 22:27:57 #first_note_to_resolve 1793 22:27:57 returns the first note that still needs to be resolved 1794 22:27:57 #last_resolved_note 1795 22:27:58 returns the last note that was resolved 1796 22:27:58 #clear_memoized_values 1797 22:27:58 resets the memoized values 1798 22:27:58 # [RSpecRunTime] Finishing example group spec/models/concerns/resolvable_discussion_spec.rb. It took 10.73 seconds. Expected to take 11.18 seconds. 1799 22:27:58 # [RSpecRunTime] Starting example group spec/finders/joined_groups_finder_spec.rb. Expected to take 10.82 seconds. 1800 22:27:58 JoinedGroupsFinder 1802 22:27:58 without a user 1803 22:28:00 only shows public groups from profile owner 1804 22:28:00 # [RSpecRunTime] RSpec elapsed time: 15 minutes 42.19 seconds. Current RSS: ~1352M. Threads: 4. load average: 0.96 1.14 1.22 1/296 7605 1807 22:28:00 when the profile visitor is in the private group 1808 22:28:02 only shows groups where both users are authorized to see 1809 22:28:02 # [RSpecRunTime] RSpec elapsed time: 15 minutes 44.81 seconds. Current RSS: ~1351M. Threads: 4. load average: 0.96 1.14 1.22 1/296 7606 1811 22:28:02 if profile visitor is in one of the private group projects 1813 22:28:05 # [RSpecRunTime] RSpec elapsed time: 15 minutes 47.96 seconds. Current RSS: ~1347M. Threads: 4. load average: 1.04 1.16 1.22 1/296 7607 1815 22:28:05 external users 1816 22:28:05 if not a member 1817 22:28:08 does not show internal groups 1818 22:28:08 # [RSpecRunTime] RSpec elapsed time: 15 minutes 50.36 seconds. Current RSS: ~1348M. Threads: 4. load average: 1.04 1.15 1.22 1/295 7608 1820 22:28:08 if authorized 1821 22:28:10 shows internal groups if authorized 1822 22:28:10 # [RSpecRunTime] RSpec elapsed time: 15 minutes 53.06 seconds. Current RSS: ~1350M. Threads: 4. load average: 1.04 1.15 1.22 1/295 7609 1824 22:28:10 # [RSpecRunTime] Finishing example group spec/finders/joined_groups_finder_spec.rb. It took 12.67 seconds. Expected to take 10.82 seconds. 1825 22:28:10 # [RSpecRunTime] Starting example group spec/tasks/gettext_rake_spec.rb. Expected to take 10.57 seconds. 1828 22:28:10 when the locale folder is not found 1829 22:28:11 raises an error 1830 22:28:11 when the gitlab.pot file cannot be generated 1831 22:28:11 prints an error 1833 22:28:11 creates a pot file and runs po-to-json conversion via node script 1834 22:28:11 aborts with non-successful po-to-json conversion via node script 1836 22:28:11 when all PO files are valid 1837 22:28:11 Linting po files: |==============================[TEST PROF INFO] Time spent in factories: 07:59.203 (49.9% of total time) 1838 22:28:12 ==============================| 1839 22:28:12 [TEST PROF INFO] Time spent in factories: 07:59.203 (49.88% of total time) 1840 22:28:12 completes without error 1841 22:28:12 # [RSpecRunTime] RSpec elapsed time: 15 minutes 54.94 seconds. Current RSS: ~1349M. Threads: 4. load average: 1.04 1.15 1.22 1/297 7626 1843 22:28:12 when there are invalid PO files 1844 22:28:13 Linting po files: |==============================[TEST PROF INFO] Time spent in factories: 07:59.203 (49.82% of total time) 1845 22:28:13 ==============================| 1846 22:28:13 [TEST PROF INFO] Time spent in factories: 07:59.203 (49.81% of total time) 1847 22:28:14 raises an error 1848 22:28:14 # [RSpecRunTime] RSpec elapsed time: 15 minutes 56.31 seconds. Current RSS: ~1343M. Threads: 4. load average: 1.04 1.15 1.22 1/297 7641 1850 22:28:14 when the .pot file is invalid 1851 22:28:14 Linting po files: |==============================[TEST PROF INFO] Time spent in factories: 07:59.203 (49.75% of total time) 1852 22:28:14 ==============================| 1853 22:28:14 [TEST PROF INFO] Time spent in factories: 07:59.203 (49.74% of total time) 1854 22:28:15 raises an error 1855 22:28:15 # [RSpecRunTime] RSpec elapsed time: 15 minutes 57.55 seconds. Current RSS: ~1343M. Threads: 4. load average: 1.04 1.15 1.22 1/297 7656 1857 22:28:19 # [RSpecRunTime] Finishing example group spec/tasks/gettext_rake_spec.rb. It took 8.97 seconds. Expected to take 10.57 seconds. 1858 22:28:19 # [RSpecRunTime] RSpec elapsed time: 16 minutes 2.1 seconds. Current RSS: ~1339M. Threads: 4. load average: 1.03 1.15 1.22 1/295 7657 1860 22:28:19 # [RSpecRunTime] Starting example group spec/services/deployments/update_service_spec.rb. Expected to take 9.71 seconds. 1861 22:28:19 Deployments::UpdateService 1863 22:28:21 can update the status to running 1864 22:28:23 can update the status to success 1865 22:28:24 can update the status to failed 1866 22:28:26 can update the status to canceled 1867 22:28:27 does not change the state if the status is invalid 1868 22:28:30 links merge requests when changing the status to success 1869 22:28:30 # [RSpecRunTime] RSpec elapsed time: 16 minutes 12.53 seconds. Current RSS: ~1371M. Threads: 4. load average: 1.10 1.16 1.22 1/300 7801 1871 22:28:30 # [RSpecRunTime] Finishing example group spec/services/deployments/update_service_spec.rb. It took 10.44 seconds. Expected to take 9.71 seconds. 1872 22:28:30 # [RSpecRunTime] Starting example group spec/services/cloud_seed/google_cloud/setup_cloudsql_instance_service_spec.rb. Expected to take 9.46 seconds. 1873 22:28:30 CloudSeed::GoogleCloud::SetupCloudsqlInstanceService 1874 22:28:30 when unauthorized user triggers worker 1875 22:28:31 raises unauthorized error 1876 22:28:31 when authorized user triggers worker 1877 22:28:31 when instance is not RUNNABLE 1878 22:28:32 raises error 1879 22:28:32 when instance is RUNNABLE 1880 22:28:32 when database creation fails 1881 22:28:33 raises error 1882 22:28:33 # [RSpecRunTime] RSpec elapsed time: 16 minutes 15.3 seconds. Current RSS: ~1365M. Threads: 4. load average: 1.09 1.16 1.22 1/300 7802 1884 22:28:33 when user creation fails 1885 22:28:34 raises error 1886 22:28:34 # [RSpecRunTime] RSpec elapsed time: 16 minutes 16.54 seconds. Current RSS: ~1361M. Threads: 4. load average: 1.09 1.16 1.22 1/300 7803 1888 22:28:34 when database and user already exist 1889 22:28:35 does not try to create a database or user 1890 22:28:35 # [RSpecRunTime] RSpec elapsed time: 16 minutes 17.85 seconds. Current RSS: ~1356M. Threads: 4. load average: 1.09 1.16 1.22 1/299 7804 1892 22:28:35 when database already exists 1893 22:28:37 does not try to create a database 1894 22:28:37 # [RSpecRunTime] RSpec elapsed time: 16 minutes 19.19 seconds. Current RSS: ~1352M. Threads: 4. load average: 1.09 1.16 1.22 1/298 7805 1896 22:28:37 when user already exists 1897 22:28:38 does not try to create a user 1898 22:28:38 # [RSpecRunTime] RSpec elapsed time: 16 minutes 20.53 seconds. Current RSS: ~1347M. Threads: 4. load average: 1.09 1.15 1.22 1/298 7806 1900 22:28:38 when database and user creation succeeds 1901 22:28:39 stores project CI vars 1902 22:28:39 when the ci variable already exists 1903 22:28:41 overwrites existing GCP_PROJECT_ID var 1904 22:28:41 # [RSpecRunTime] RSpec elapsed time: 16 minutes 23.21 seconds. Current RSS: ~1342M. Threads: 4. load average: 1.09 1.15 1.22 1/295 7807 1906 22:28:41 # [RSpecRunTime] Finishing example group spec/services/cloud_seed/google_cloud/setup_cloudsql_instance_service_spec.rb. It took 10.67 seconds. Expected to take 9.46 seconds. 1907 22:28:41 # [RSpecRunTime] Starting example group spec/services/ci/generate_coverage_reports_service_spec.rb. Expected to take 8.89 seconds. 1908 22:28:41 Ci::GenerateCoverageReportsService 1910 22:28:42 when head pipeline has coverage reports 1911 22:28:42 returns status and data 1912 22:28:42 when there is a parsing error 1913 22:28:43 returns status with error message and tracks the error 1914 22:28:43 # [RSpecRunTime] RSpec elapsed time: 16 minutes 25.87 seconds. Current RSS: ~1351M. Threads: 4. load average: 1.08 1.15 1.22 1/299 7900 1916 22:28:43 when head pipeline does not have a coverage report artifact 1917 22:28:44 returns status and error message 1918 22:28:44 when head pipeline has coverage reports and no merge request associated 1919 22:28:44 returns status and error message 1921 22:28:44 when cache key is latest 1922 22:28:45 is expected to be truthy 1923 22:28:45 # [RSpecRunTime] RSpec elapsed time: 16 minutes 28.05 seconds. Current RSS: ~1350M. Threads: 4. load average: 1.08 1.15 1.22 1/300 7933 1925 22:28:45 when head pipeline has been updated 1926 22:28:46 is expected to be falsy 1927 22:28:47 # [RSpecRunTime] RSpec elapsed time: 16 minutes 29.16 seconds. Current RSS: ~1350M. Threads: 4. load average: 1.08 1.15 1.22 1/300 7934 1929 22:28:47 when cache key is empty 1930 22:28:48 is expected to be falsy 1931 22:28:48 # [RSpecRunTime] RSpec elapsed time: 16 minutes 30.34 seconds. Current RSS: ~1348M. Threads: 4. load average: 1.07 1.15 1.21 1/299 7935 1933 22:28:48 when the pipeline has a child that is updated 1934 22:28:49 is expected to be falsy 1935 22:28:49 # [RSpecRunTime] RSpec elapsed time: 16 minutes 31.45 seconds. Current RSS: ~1348M. Threads: 4. load average: 1.07 1.15 1.21 1/300 7936 1937 22:28:49 # [RSpecRunTime] Finishing example group spec/services/ci/generate_coverage_reports_service_spec.rb. It took 8.25 seconds. Expected to take 8.89 seconds. 1938 22:28:49 # [RSpecRunTime] Starting example group spec/lib/banzai/object_renderer_spec.rb. Expected to take 8.51 seconds. 1939 22:28:49 Banzai::ObjectRenderer 1942 22:28:50 renders and redacts an Array of objects 1943 22:28:51 calls Banzai::ReferenceRedactor to perform redaction 1944 22:28:53 retrieves field content using Banzai::Renderer.render_field 1945 22:28:55 passes context to PostProcessPipeline 1946 22:28:55 # [RSpecRunTime] RSpec elapsed time: 16 minutes 37.35 seconds. Current RSS: ~1370M. Threads: 4. load average: 1.07 1.14 1.21 1/295 8009 1948 22:28:55 without cache 1949 22:28:56 renders and redacts an Array of objects 1950 22:28:57 calls Banzai::ReferenceRedactor to perform redaction 1951 22:28:58 retrieves field content using Banzai::Renderer.cacheless_render_field 1952 22:28:59 # [RSpecRunTime] RSpec elapsed time: 16 minutes 41.13 seconds. Current RSS: ~1383M. Threads: 4. load average: 1.06 1.14 1.21 1/295 8064 1954 22:28:59 # [RSpecRunTime] Finishing example group spec/lib/banzai/object_renderer_spec.rb. It took 9.68 seconds. Expected to take 8.51 seconds. 1955 22:28:59 # [RSpecRunTime] Starting example group spec/models/protected_tag_spec.rb. Expected to take 8.24 seconds. 1957 22:28:59 does not allow STI 1958 22:28:59 behaves like protected ref 1959 22:28:59 Associations 1960 22:28:59 is expected to belong to project required: false 1962 22:28:59 is expected to validate that :name cannot be empty/falsy 1963 22:28:59 ref_matcher delegates 1965 22:28:59 behaves like RefMatcher#matching 1966 22:28:59 when refs are strings 1967 22:28:59 behaves like returns `refs` matching `ref_pattern` 1968 22:28:59 when there is a match 1969 22:28:59 is expected to contain exactly "v1.0" 1970 22:28:59 when there is no match 1971 22:28:59 is expected to be empty 1972 22:28:59 when ref pattern is a wildcard 1973 22:28:59 is expected to contain exactly "v1.0" and "v1.1" 1974 22:28:59 when refs are ref objects 1975 22:28:59 behaves like returns `refs` matching `ref_pattern` 1976 22:28:59 when there is a match 1977 22:28:59 is expected to contain exactly #<InstanceDouble(Gitlab::Git::Ref) (anonymous)> 1978 22:28:59 when there is no match 1979 22:29:00 is expected to be empty 1980 22:29:00 when ref pattern is a wildcard 1981 22:29:00 is expected to contain exactly #<InstanceDouble(Gitlab::Git::Ref) (anonymous)> and #<InstanceDouble(Gitlab::Git::Ref) (anonymous)> 1983 22:29:00 behaves like RefMatcher#matches? 1984 22:29:00 when ref_pattern matches ref_name 1985 22:29:00 is expected to be truthy 1986 22:29:00 when ref_name is empty 1987 22:29:00 is expected to be falsey 1988 22:29:00 when ref_pattern wildcard matches ref_name 1989 22:29:00 is expected to be truthy 1990 22:29:00 when ref_pattern wildcard does not match ref_name 1991 22:29:00 is expected to be falsey 1992 22:29:00 when ref_pattern with ReDoS 1993 22:29:00 does not cause catastrophic backtracking 1995 22:29:00 behaves like RefMatcher#wildcard? 1996 22:29:00 when pattern is not a wildcard 1997 22:29:00 is expected to be falsey 1998 22:29:00 when pattern is a wildcard 1999 22:29:00 is expected to be truthy 2001 22:29:00 when project is present 2002 22:29:00 when a commit exists with the same name 2003 22:29:00 is expected to eq nil 2004 22:29:00 when a commit does not exist with the same name 2005 22:29:00 is expected to be nil 2006 22:29:00 when project is nil 2007 22:29:00 is expected to be nil 2008 22:29:00 behaves like protected ref with access levels for 2009 22:29:00 protected_ref_access_levels(*types) 2010 22:29:00 is expected to have many create_access_levels inverse_of => protected_tag 2011 22:29:00 is expected to accepts_nested_attributes_for :create_access_levels allow_destroy => true 2012 22:29:00 Associations 2013 22:29:00 is expected to belong to project required: false 2014 22:29:00 is expected to have many create_access_levels inverse_of => protected_tag 2016 22:29:00 is expected to validate that :project cannot be empty/falsy 2018 22:29:01 returns true when the tag matches a protected tag via direct match 2019 22:29:03 returns true when the tag matches a protected tag via wildcard match 2020 22:29:04 returns false when the tag does not match a protected tag via direct match 2021 22:29:05 returns false when the tag does not match a protected tag via wildcard match 2022 22:29:06 returns false when tag name is nil 2023 22:29:06 with caching 2024 22:29:07 correctly invalidates a cache 2025 22:29:07 correctly uses the cached version 2026 22:29:07 # [RSpecRunTime] RSpec elapsed time: 16 minutes 49.84 seconds. Current RSS: ~1393M. Threads: 4. load average: 1.06 1.14 1.21 1/295 8173 2028 22:29:07 # [RSpecRunTime] Finishing example group spec/models/protected_tag_spec.rb. It took 8.7 seconds. Expected to take 8.24 seconds. 2029 22:29:07 # [RSpecRunTime] Starting example group spec/models/integrations/datadog_spec.rb. Expected to take 7.47 seconds. 2030 22:29:07 Integrations::Datadog 2031 22:29:08 does not allow STI 2032 22:29:08 behaves like Integrations::ResetSecretFields 2033 22:29:08 #exposing_secrets_fields 2034 22:29:08 returns an array of strings 2035 22:29:08 #reset_secret_fields? 2036 22:29:08 returns false if no exposing field has changed 2037 22:29:08 returns true if any exposing field has changed 2038 22:29:08 validation callback 2039 22:29:08 when an exposing field has changed 2040 22:29:08 clears all secret fields 2041 22:29:08 when a secret field has been updated 2042 22:29:08 does not clear this secret field 2043 22:29:08 when a secret field has been updated with the same value 2044 22:29:08 does not clear this secret field 2045 22:29:08 when no exposing field has changed 2046 22:29:08 does not clear any secret fields 2047 22:29:08 behaves like Integrations::HasWebHook 2048 22:29:08 associations 2049 22:29:08 is expected to have one service_hook inverse_of => integration 2051 22:29:08 calls #update_web_hook! when enabled 2052 22:29:08 does not call #update_web_hook! when disabled 2053 22:29:08 does not call #update_web_hook! when validation fails 2055 22:29:08 returns a string 2056 22:29:08 #url_variables 2057 22:29:09 returns a hash 2058 22:29:09 #hook_ssl_verification 2059 22:29:09 returns a boolean 2060 22:29:09 delegates to #enable_ssl_verification if the concern is included 2061 22:29:09 #update_web_hook! 2062 22:29:09 creates or updates a service hook 2063 22:29:10 raises an error if the service hook could not be saved 2064 22:29:10 does not attempt to save the service hook if there are no changes 2065 22:29:10 # [RSpecRunTime] RSpec elapsed time: 16 minutes 52.48 seconds. Current RSS: ~1403M. Threads: 4. load average: 1.05 1.14 1.21 1/295 8174 2067 22:29:10 #execute_web_hook! 2068 22:29:10 creates the webhook if necessary and executes it 2069 22:29:10 raises an error if the service hook could not be saved 2071 22:29:10 when service is active 2072 22:29:11 is expected to validate that :api_key cannot be empty/falsy 2073 22:29:11 is expected to allow :api_key to be ‹"da04498c545cda50130da41b2cca3e23ec67ed6ed682d9da5dc1a7ea368db7ad"› 2074 22:29:11 is expected not to allow :api_key to be ‹"87dab2403c9d462 87aec4d9214edb1e"› 2075 22:29:11 is expected not to allow :api_key to be ‹"................................"› 2076 22:29:11 when selecting site 2077 22:29:11 is expected to validate that :datadog_site cannot be empty/falsy 2078 22:29:11 is expected not to validate that :api_url cannot be empty/falsy 2079 22:29:11 is expected to allow :datadog_site to be ‹"data-dog-hq.com"› 2080 22:29:11 is expected to allow :datadog_site to be ‹"dataDOG.com"› 2081 22:29:11 is expected not to allow :datadog_site to be ‹"datadog hq.com"› 2082 22:29:11 is expected not to allow :datadog_site to be ‹"-datadoghq.com"› 2083 22:29:11 is expected not to allow :datadog_site to be ‹".datadoghq.com"› 2084 22:29:11 is expected not to allow :datadog_site to be ‹"datadoghq.com_"› 2085 22:29:11 is expected not to allow :datadog_site to be ‹"data-dog"› 2086 22:29:11 is expected not to allow :datadog_site to be ‹"datadoghq.com-"› 2087 22:29:11 is expected not to allow :datadog_site to be ‹"datadoghq.com."› 2088 22:29:11 with custom api_url 2089 22:29:11 is expected not to validate that :datadog_site cannot be empty/falsy 2090 22:29:11 is expected to validate that :api_url cannot be empty/falsy 2092 22:29:11 is expected not to allow :api_url to be ‹"example.com"› 2093 22:29:11 when missing site and api_url 2094 22:29:12 is expected not to be valid 2095 22:29:12 is expected to validate that :datadog_site cannot be empty/falsy 2096 22:29:12 is expected to validate that :api_url cannot be empty/falsy 2097 22:29:12 when providing both site and api_url 2098 22:29:12 is expected not to allow :datadog_site to be ‹"datadog hq.com"› 2099 22:29:12 is expected not to allow :api_url to be ‹"example.com"› 2100 22:29:12 with custom tags 2101 22:29:12 is expected to allow :datadog_tags to be ‹""› 2102 22:29:12 is expected to allow :datadog_tags to be ‹"key:value"› 2103 22:29:12 is expected to allow :datadog_tags to be ‹"key:value\nkey2:value2"› 2104 22:29:12 is expected to allow :datadog_tags to be ‹"key:value\nkey2:value with spaces and 123?&$"› 2105 22:29:12 is expected to allow :datadog_tags to be ‹"key:value\n\n\n\nkey2:value2\n"› 2106 22:29:12 is expected not to allow :datadog_tags to be ‹"value"› 2107 22:29:12 is expected not to allow :datadog_tags to be ‹"key:"› 2108 22:29:12 is expected not to allow :datadog_tags to be ‹"key: "› 2109 22:29:12 is expected not to allow :datadog_tags to be ‹":value"› 2110 22:29:12 is expected not to allow :datadog_tags to be ‹"key:value\nINVALID"› 2111 22:29:12 when integration is not active 2112 22:29:12 is expected to be valid 2113 22:29:12 is expected not to validate that :api_key cannot be empty/falsy 2115 22:29:12 is expected to be a kind of String 2116 22:29:12 is expected not to be empty 2118 22:29:12 with standard site URL 2120 22:29:13 with custom URL 2124 22:29:13 without optional params 2126 22:29:13 with custom tags 2128 22:29:13 and empty lines 2131 22:29:13 when request is successful with a HTTP 200 status 2132 22:29:13 Job arguments to WebHooks::LogExecutionWorker must be native JSON types, but Wed, 13 Nov 2024 22:29:08.294917000 UTC +00:00 is a ActiveSupport::TimeWithZone. 2134 22:29:13 To disable this error, add `Sidekiq.strict_args!(false)` to your initializer. 2135 22:29:13 is expected to eq {:result=>"OK", :success=>true} 2136 22:29:13 when request is successful with a HTTP 202 status 2137 22:29:13 Job arguments to WebHooks::LogExecutionWorker must be native JSON types, but Wed, 13 Nov 2024 22:29:08.294917000 UTC +00:00 is a ActiveSupport::TimeWithZone. 2139 22:29:13 To disable this error, add `Sidekiq.strict_args!(false)` to your initializer. 2140 22:29:13 is expected to eq {:result=>"OK", :success=>true} 2141 22:29:13 when request fails with a HTTP 500 status 2142 22:29:13 Job arguments to WebHooks::LogExecutionWorker must be native JSON types, but Wed, 13 Nov 2024 22:29:08.294917000 UTC +00:00 is a ActiveSupport::TimeWithZone. 2144 22:29:13 To disable this error, add `Sidekiq.strict_args!(false)` to your initializer. 2145 22:29:13 is expected to eq {:result=>"CRASH!!!", :success=>false} 2147 22:29:13 with pipeline data 2148 22:29:14 Job arguments to WebHooks::LogExecutionWorker must be native JSON types, but Wed, 13 Nov 2024 22:29:08.294917000 UTC +00:00 is a ActiveSupport::TimeWithZone. 2150 22:29:14 To disable this error, add `Sidekiq.strict_args!(false)` to your initializer. 2151 22:29:14 is expected to request POST https://webhook-intake.datadoghq.com/api/v2/webhook?dd-api-key=c8c14cfdf0a874b7268161ae4546d37220f77dbd6c54fcd53262eeb2ad32a8b1&env=ci&service=awesome-gitlab with body "{\"object_kind\":\"pipeline\",\"object_attributes\":{\"id\":29,\"iid\":1,\"name\":null,\"ref\":\"master\",\"tag\":false,\"sha\":\"b83d6e391c22777fca1ed3012fce84f633d7fed0\",\"before_sha\":\"0000000000000000000000000000000000000000\",\"source\":\"push\",\"status\":\"pending\",\"detailed_status\":\"pending\",\"stages\":[\"test\"],\"created_at\":\"2024-11-13T22:29:08.294Z\",\"finished_at\":null,\"duration\":null,\"queued_duration\":null,\"variables\":[],\"url\":\"http://localhost/namespace375/project-409/-/pipelines/29 \"},\"merge_request\":null,\"user\":null,\"project\":{\"id\":419,\"name\":\"Project-409 Name\",\"description\":null,\"web_url\":\"http://localhost/namespace375/project-409 \",\"avatar_url\":null,\"git_ssh_url\":\"git@localhost:namespace375/project-409.git\",\"git_http_url\":\"http://localhost/namespace375/project-409.git \",\"namespace\":\"Sidney Jones721\",\"visibility_level\":0,\"path_with_namespace\":\"namespace375/project-409\",\"default_branch\":null,\"ci_config_path\":null},\"commit\":null,\"builds\":[{\"id\":86,\"stage\":\"test\",\"name\":\"test\",\"status\":\"pending\",\"created_at\":\"2024-11-13T08:50:29.000Z\",\"started_at\":null,\"finished_at\":null,\"duration\":null,\"queued_duration\":49124.0,\"failure_reason\":null,\"when\":\"on_success\",\"manual\":false,\"allow_failure\":false,\"user\":null,\"runner\":null,\"artifacts_file\":{\"filename\":null,\"size\":null},\"environment\":null},{\"id\":87,\"stage\":\"test\",\"name\":\"test\",\"status\":\"pending\",\"created_at\":\"2024-11-13T08:50:29.000Z\",\"started_at\":null,\"finished_at\":null,\"duration\":null,\"queued_duration\":49124.0,\"failure_reason\":null,\"when\":\"on_success\",\"manual\":false,\"allow_failure\":false,\"user\":null,\"runner\":null,\"artifacts_file\":{\"filename\":null,\"size\":null},\"environment\":null}]}" with headers {'X-Gitlab-Event'=>'Pipeline Hook'} 1 time 2152 22:29:14 with job data 2153 22:29:14 Job arguments to WebHooks::LogExecutionWorker must be native JSON types, but Wed, 13 Nov 2024 08:50:29.000000000 UTC +00:00 is a ActiveSupport::TimeWithZone. 2155 22:29:14 To disable this error, add `Sidekiq.strict_args!(false)` to your initializer. 2156 22:29:14 is expected to request POST https://webhook-intake.datadoghq.com/api/v2/webhook?dd-api-key=a522d1c364f809e1e70e6f586edd4a8d2f8288470727402a4f4641c55ce0db9e&env=ci&service=awesome-gitlab with body "{\"object_kind\":\"build\",\"ref\":\"master\",\"tag\":false,\"before_sha\":\"0000000000000000000000000000000000000000\",\"sha\":\"b83d6e391c22777fca1ed3012fce84f633d7fed0\",\"retries_count\":1,\"build_id\":86,\"build_name\":\"test\",\"build_stage\":\"test\",\"build_status\":\"pending\",\"build_created_at\":\"2024-11-13T08:50:29.000Z\",\"build_started_at\":null,\"build_finished_at\":null,\"build_duration\":null,\"build_queued_duration\":49125.0,\"build_allow_failure\":false,\"build_failure_reason\":\"unknown_failure\",\"pipeline_id\":29,\"runner\":null,\"project_id\":419,\"project_name\":\"Sidney Jones721 / Project-409 Name\",\"user\":null,\"commit\":{\"id\":29,\"name\":null,\"sha\":\"b83d6e391c22777fca1ed3012fce84f633d7fed0\",\"message\":null,\"author_name\":null,\"author_email\":null,\"author_url\":\"mailto:\",\"status\":\"pending\",\"duration\":null,\"started_at\":null,\"finished_at\":null},\"repository\":{\"name\":\"Project-409 Name\",\"url\":\"git@localhost:namespace375/project-409.git\",\"description\":null,\"homepage\":\"http://localhost/namespace375/project-409 \",\"git_http_url\":\"http://localhost/namespace375/project-409.git \",\"git_ssh_url\":\"git@localhost:namespace375/project-409.git\",\"visibility_level\":0},\"project\":{\"id\":419,\"name\":\"Project-409 Name\",\"description\":null,\"web_url\":\"http://localhost/namespace375/project-409 \",\"avatar_url\":null,\"git_ssh_url\":\"git@localhost:namespace375/project-409.git\",\"git_http_url\":\"http://localhost/namespace375/project-409.git \",\"namespace\":\"Sidney Jones721\",\"visibility_level\":0,\"path_with_namespace\":\"namespace375/project-409\",\"default_branch\":null,\"ci_config_path\":null},\"environment\":null}" with headers {'X-Gitlab-Event'=>'Job Hook'} 1 time 2157 22:29:14 with archive trace data 2158 22:29:14 is expected to request POST https://webhook-intake.datadoghq.com/api/v2/webhook?dd-api-key=4a15346577e11003c935810e1a4b71057a584227d72003f83f10222594c68fa6&env=ci&service=awesome-gitlab with body "{\"object_kind\":\"archive_trace\",\"trace_url\":\"/cc/6a/cc6aed2709b80e146bebc151f1cf1dec5e323b58148535a433529155030e3a52/2024_11_13/86/6/sample_trace\",\"build_id\":86,\"pipeline_id\":29,\"project\":{\"id\":419,\"name\":\"Project-409 Name\",\"description\":null,\"web_url\":\"http://localhost/namespace375/project-409 \",\"avatar_url\":null,\"git_ssh_url\":\"git@localhost:namespace375/project-409.git\",\"git_http_url\":\"http://localhost/namespace375/project-409.git \",\"namespace\":\"Sidney Jones721\",\"visibility_level\":0,\"path_with_namespace\":\"namespace375/project-409\",\"default_branch\":null,\"ci_config_path\":null,\"homepage\":\"http://localhost/namespace375/project-409 \",\"url\":\"git@localhost:namespace375/project-409.git\",\"ssh_url\":\"git@localhost:namespace375/project-409.git\",\"http_url\":\"http://localhost/namespace375/project-409.git \"}}" with headers {'X-Gitlab-Event'=>'Archive Trace Hook'} 1 time 2159 22:29:14 # [RSpecRunTime] Finishing example group spec/models/integrations/datadog_spec.rb. It took 6.9 seconds. Expected to take 7.47 seconds. 2160 22:29:14 # [RSpecRunTime] Starting example group spec/views/projects/pages/show.html.haml_spec.rb. Expected to take 7.01 seconds. 2161 22:29:14 projects/pages/show 2162 22:29:14 validation warning 2163 22:29:16 doesn't show auto ssl error warning 2164 22:29:16 when domain is not verified 2165 22:29:18 shows auto ssl error warning 2166 22:29:18 # [RSpecRunTime] RSpec elapsed time: 17 minutes 0.43 second. Current RSS: ~1404M. Threads: 4. load average: 1.12 1.15 1.21 1/296 8211 2168 22:29:18 warning about failed Let's Encrypt 2169 22:29:20 doesn't show auto ssl error warning 2170 22:29:20 when we failed to obtain Let's Encrypt's certificate 2171 22:29:21 shows auto ssl error warning 2172 22:29:21 # [RSpecRunTime] RSpec elapsed time: 17 minutes 4.04 seconds. Current RSS: ~1410M. Threads: 4. load average: 1.12 1.15 1.21 1/296 8248 2174 22:29:21 # [RSpecRunTime] Finishing example group spec/views/projects/pages/show.html.haml_spec.rb. It took 7.31 seconds. Expected to take 7.01 seconds. 2175 22:29:21 # [RSpecRunTime] Starting example group spec/workers/gitlab/jira_import/stuck_jira_import_jobs_worker_spec.rb. Expected to take 6.52 seconds. 2176 22:29:21 Gitlab::JiraImport::StuckJiraImportJobsWorker 2177 22:29:22 with scheduled Jira import 2178 22:29:22 behaves like stuck import job detection 2179 22:29:22 when the job has completed 2180 22:29:22 when the import status was already updated 2181 22:29:23 does not mark the import as failed 2182 22:29:23 # [RSpecRunTime] RSpec elapsed time: 17 minutes 5.69 seconds. Current RSS: ~1403M. Threads: 4. load average: 1.11 1.15 1.21 1/296 8249 2184 22:29:23 when the import status was not updated 2185 22:29:24 marks the import as failed 2186 22:29:24 # [RSpecRunTime] RSpec elapsed time: 17 minutes 6.73 seconds. Current RSS: ~1397M. Threads: 4. load average: 1.11 1.15 1.21 1/296 8250 2188 22:29:24 when the job is still in Sidekiq 2189 22:29:25 does not mark the import as failed 2190 22:29:25 with started jira import 2191 22:29:25 behaves like stuck import job detection 2192 22:29:25 when the job has completed 2193 22:29:25 when the import status was already updated 2194 22:29:26 does not mark the import as failed 2195 22:29:26 when the import status was not updated 2196 22:29:27 marks the import as failed 2197 22:29:27 when the job is still in Sidekiq 2198 22:29:27 does not mark the import as failed 2199 22:29:27 with failed jira import 2200 22:29:28 detects no stuck jobs 2201 22:29:28 # [RSpecRunTime] Finishing example group spec/workers/gitlab/jira_import/stuck_jira_import_jobs_worker_spec.rb. It took 6.11 seconds. Expected to take 6.52 seconds. 2202 22:29:28 # [RSpecRunTime] Starting example group spec/models/milestone_release_spec.rb. Expected to take 6.16 seconds. 2203 22:29:28 MilestoneRelease 2204 22:29:28 does not allow STI 2205 22:29:28 associations 2206 22:29:29 is expected to belong to release required: false 2207 22:29:30 is expected to belong to milestone required: false 2208 22:29:30 # [RSpecRunTime] RSpec elapsed time: 17 minutes 12.27 seconds. Current RSS: ~1358M. Threads: 4. load average: 1.10 1.14 1.21 1/296 8251 2210 22:29:30 when trying to create the same record in milestone_releases twice 2211 22:29:31 is not committing on the second time 2212 22:29:31 # [RSpecRunTime] RSpec elapsed time: 17 minutes 13.94 seconds. Current RSS: ~1347M. Threads: 4. load average: 1.10 1.14 1.21 1/296 8252 2215 22:29:31 when milestone and release do not have the same project 2216 22:29:33 is not valid 2217 22:29:33 # [RSpecRunTime] RSpec elapsed time: 17 minutes 15.73 seconds. Current RSS: ~1348M. Threads: 4. load average: 1.10 1.14 1.21 1/296 8253 2219 22:29:33 when milestone and release have the same project 2220 22:29:34 is expected to be valid 2221 22:29:34 # [RSpecRunTime] RSpec elapsed time: 17 minutes 16.77 seconds. Current RSS: ~1347M. Threads: 4. load average: 1.10 1.14 1.21 1/296 8254 2223 22:29:34 # [RSpecRunTime] Finishing example group spec/models/milestone_release_spec.rb. It took 6.61 seconds. Expected to take 6.16 seconds. 2224 22:29:34 # [RSpecRunTime] Starting example group spec/models/integrations/buildkite_spec.rb. Expected to take 5.95 seconds. 2225 22:29:34 Integrations::Buildkite 2226 22:29:35 does not allow STI 2227 22:29:35 behaves like Integrations::BaseCi 2228 22:29:35 default values 2229 22:29:35 is expected to eq :ci 2230 22:29:35 behaves like Integrations::ResetSecretFields 2231 22:29:35 #exposing_secrets_fields 2232 22:29:35 returns an array of strings 2233 22:29:35 #reset_secret_fields? 2234 22:29:35 returns false if no exposing field has changed 2235 22:29:35 returns true if any exposing field has changed 2236 22:29:35 validation callback 2237 22:29:35 when an exposing field has changed 2238 22:29:35 clears all secret fields 2239 22:29:35 when a secret field has been updated 2240 22:29:35 does not clear this secret field 2241 22:29:35 when a secret field has been updated with the same value 2242 22:29:35 does not clear this secret field 2243 22:29:35 when no exposing field has changed 2244 22:29:35 does not clear any secret fields 2245 22:29:35 behaves like Integrations::HasWebHook 2246 22:29:35 associations 2247 22:29:35 is expected to have one service_hook inverse_of => integration 2249 22:29:35 calls #update_web_hook! when enabled 2250 22:29:35 does not call #update_web_hook! when disabled 2251 22:29:36 does not call #update_web_hook! when validation fails 2253 22:29:36 returns a string 2254 22:29:36 #url_variables 2255 22:29:36 returns a hash 2256 22:29:36 #hook_ssl_verification 2257 22:29:36 returns a boolean 2258 22:29:36 delegates to #enable_ssl_verification if the concern is included 2259 22:29:36 #update_web_hook! 2260 22:29:36 creates or updates a service hook 2261 22:29:37 raises an error if the service hook could not be saved 2262 22:29:37 does not attempt to save the service hook if there are no changes 2263 22:29:37 #execute_web_hook! 2264 22:29:37 creates the webhook if necessary and executes it 2265 22:29:37 raises an error if the service hook could not be saved 2266 22:29:37 behaves like Integrations::HasAvatar 2268 22:29:37 returns the expected avatar URL 2270 22:29:37 when integration is active 2271 22:29:37 is expected to validate that :project_url cannot be empty/falsy 2272 22:29:37 is expected to validate that :token cannot be empty/falsy 2273 22:29:37 behaves like issue tracker integration URL attribute 2275 22:29:38 is expected not to allow :project_url to be ‹"example.com"› 2276 22:29:38 is expected not to allow :project_url to be ‹"ftp://example.com"› 2277 22:29:38 is expected not to allow :project_url to be ‹"herp-and-derp"› 2278 22:29:38 when integration is inactive 2279 22:29:38 is expected not to validate that :project_url cannot be empty/falsy 2280 22:29:38 is expected not to validate that :token cannot be empty/falsy 2281 22:29:38 .supported_events 2282 22:29:38 supports push, merge_request, and tag_push events 2283 22:29:38 commits methods 2284 22:29:38 always activates SSL verification after saved 2286 22:29:38 returns the webhook url 2287 22:29:38 #commit_status_path 2288 22:29:38 returns the correct status page 2290 22:29:38 returns the correct build page 2291 22:29:38 #commit_status 2292 22:29:39 returns the contents of the reactive cache 2293 22:29:39 #calculate_reactive_cache 2294 22:29:39 #commit_status 2295 22:29:39 sets commit status to :error when status is 500 2296 22:29:39 sets commit status to :error when status is 404 2297 22:29:39 passes through build status untouched when status is 200 2298 22:29:39 sets commit status to :error with a Net::OpenTimeout error 2299 22:29:39 sets commit status to :error with a Net::ReadTimeout error 2300 22:29:39 sets commit status to :error with a Net::WriteTimeout error 2301 22:29:39 sets commit status to :error with a Gitlab::HTTP_V2::ReadTotalTimeout error 2302 22:29:39 sets commit status to :error with a EOFError error 2303 22:29:39 sets commit status to :error with a SocketError error 2304 22:29:39 sets commit status to :error with a OpenSSL::SSL::SSLError error 2305 22:29:39 sets commit status to :error with a OpenSSL::OpenSSLError error 2306 22:29:39 sets commit status to :error with a Errno::ECONNRESET error 2307 22:29:39 sets commit status to :error with a Errno::ECONNREFUSED error 2308 22:29:39 sets commit status to :error with a Errno::EHOSTUNREACH error 2309 22:29:39 sets commit status to :error with a Errno::ENETUNREACH error 2310 22:29:39 sets commit status to :error with a Gitlab::HTTP_V2::BlockedUrlError error 2311 22:29:39 sets commit status to :error with a Gitlab::HTTP_V2::RedirectionTooDeep error 2312 22:29:39 sets commit status to :error with a Net::HTTPBadResponse error 2313 22:29:39 # [RSpecRunTime] Finishing example group spec/models/integrations/buildkite_spec.rb. It took 5.32 seconds. Expected to take 5.95 seconds. 2314 22:29:39 # [RSpecRunTime] Starting example group spec/models/namespaces/traversal/cached_spec.rb. Expected to take 5.76 seconds. 2315 22:29:39 Namespaces::Traversal::Cached 2316 22:29:40 does not allow STI 2318 22:29:40 when the namespace_descendants_cache_expiration feature flag is off 2319 22:29:40 does not invalidate the cache 2320 22:29:40 when the group is deleted 2321 22:29:41 invalidates the cache 2322 22:29:41 # [RSpecRunTime] RSpec elapsed time: 17 minutes 23.51 seconds. Current RSS: ~1393M. Threads: 4. load average: 1.09 1.14 1.20 1/296 8255 2324 22:29:41 when no cached records are present 2325 22:29:41 does nothing 2326 22:29:41 when the namespace record is UserNamespace 2327 22:29:43 does nothing 2328 22:29:43 # [RSpecRunTime] RSpec elapsed time: 17 minutes 25.56 seconds. Current RSS: ~1382M. Threads: 4. load average: 1.08 1.14 1.20 1/296 8256 2330 22:29:43 when cached record is present 2331 22:29:43 invalidates the cache 2332 22:29:44 does not invalidate the cache of subgroups 2333 22:29:44 when a new subgroup is added 2334 22:29:44 invalidates the cache 2335 22:29:44 # [RSpecRunTime] RSpec elapsed time: 17 minutes 26.58 seconds. Current RSS: ~1379M. Threads: 4. load average: 1.08 1.14 1.20 1/296 8257 2337 22:29:44 when a new project is added 2338 22:29:44 invalidates the cache 2339 22:29:44 when parent group has cached record 2340 22:29:45 invalidates the parent cache 2341 22:29:45 when group is destroyed 2342 22:29:45 invalidates the cache 2343 22:29:45 when parent group has cached record 2344 22:29:46 invalidates the parent cache 2345 22:29:46 query methods 2346 22:29:47 #self_and_descendant_ids 2347 22:29:47 returns the cached values 2348 22:29:47 when the cache is outdated 2349 22:29:47 returns the values from the uncached self_and_descendant_ids query 2350 22:29:47 # [RSpecRunTime] RSpec elapsed time: 17 minutes 29.57 seconds. Current RSS: ~1362M. Threads: 4. load average: 1.08 1.14 1.20 1/296 8258 2352 22:29:47 when the group_hierarchy_optimization feature flag is disabled 2353 22:29:47 returns the values from the uncached self_and_descendant_ids query 2354 22:29:47 when the scope is specified 2355 22:29:47 returns uncached values that match the scope 2356 22:29:47 #all_project_ids 2357 22:29:47 returns the cached values 2358 22:29:47 when the cache is outdated 2359 22:29:47 returns the values from the uncached all_project_ids query 2360 22:29:47 when the group_hierarchy_optimization feature flag is disabled 2361 22:29:47 returns the values from the uncached all_project_ids query 2362 22:29:47 # [RSpecRunTime] Finishing example group spec/models/namespaces/traversal/cached_spec.rb. It took 7.72 seconds. Expected to take 5.76 seconds. 2363 22:29:47 # [RSpecRunTime] Starting example group spec/tasks/dev_rake_spec.rb. Expected to take 5.48 seconds. 2364 22:29:47 dev rake tasks 2366 22:29:48 sets up the development environment 2367 22:29:48 fixtures:load 2369 22:29:48 loads fixture 2370 22:29:48 by empty name 2371 22:29:48 does not load fixture 2373 22:29:48 eager loads the application 2374 22:29:48 terminate_all_connections 2375 22:29:48 terminates all connections 2376 22:29:48 when in the production environment 2377 22:29:48 does not terminate connections 2378 22:29:48 when a database is not found 2379 22:29:48 continues to next connection (PENDING: Skipping because ci is shared or doesn't not exist) 2380 22:29:48 multiple databases 2381 22:29:48 with a valid database 2383 22:29:48 creates the database from main (PENDING: Skipping because ci is shared or doesn't not exist) 2384 22:29:48 when the database already exists 2385 22:29:48 prints out a warning (PENDING: Skipping because ci is shared or doesn't not exist) 2386 22:29:48 with an invalid database 2387 22:29:48 raises an error (PENDING: Skipping because ci is shared or doesn't not exist) 2388 22:29:52 # [RSpecRunTime] Finishing example group spec/tasks/dev_rake_spec.rb. It took 4.78 seconds. Expected to take 5.48 seconds. 2389 22:29:52 # [RSpecRunTime] RSpec elapsed time: 17 minutes 34.67 seconds. Current RSS: ~1347M. Threads: 4. load average: 1.07 1.13 1.20 1/294 8259 2391 22:29:52 # [RSpecRunTime] Starting example group spec/services/projects/move_lfs_objects_projects_service_spec.rb. Expected to take 5.35 seconds. 2392 22:29:52 Projects::MoveLfsObjectsProjectsService 2394 22:29:53 Job arguments to ProjectCacheWorker must be native JSON types, but :lfs_objects_size is a Symbol. 2396 22:29:53 To disable this error, add `Sidekiq.strict_args!(false)` to your initializer. 2397 22:29:54 links the lfs objects from existent in source project 2398 22:29:55 Job arguments to ProjectCacheWorker must be native JSON types, but :lfs_objects_size is a Symbol. 2400 22:29:55 To disable this error, add `Sidekiq.strict_args!(false)` to your initializer. 2401 22:29:55 Job arguments to ProjectCacheWorker must be native JSON types, but :lfs_objects_size is a Symbol. 2403 22:29:55 To disable this error, add `Sidekiq.strict_args!(false)` to your initializer. 2404 22:29:55 does not link existent lfs_object in the current project 2405 22:29:56 Job arguments to ProjectCacheWorker must be native JSON types, but :lfs_objects_size is a Symbol. 2407 22:29:56 To disable this error, add `Sidekiq.strict_args!(false)` to your initializer. 2408 22:29:56 rollbacks changes if transaction fails 2409 22:29:56 when remove_remaining_elements is false 2410 22:29:57 Job arguments to ProjectCacheWorker must be native JSON types, but :lfs_objects_size is a Symbol. 2412 22:29:57 To disable this error, add `Sidekiq.strict_args!(false)` to your initializer. 2413 22:29:57 Job arguments to ProjectCacheWorker must be native JSON types, but :lfs_objects_size is a Symbol. 2415 22:29:57 To disable this error, add `Sidekiq.strict_args!(false)` to your initializer. 2416 22:29:57 does not remove remaining lfs objects 2417 22:29:57 # [RSpecRunTime] RSpec elapsed time: 17 minutes 39.99 seconds. Current RSS: ~1337M. Threads: 4. load average: 1.06 1.13 1.20 1/294 8260 2419 22:29:57 # [RSpecRunTime] Finishing example group spec/services/projects/move_lfs_objects_projects_service_spec.rb. It took 5.33 seconds. Expected to take 5.35 seconds. 2420 22:29:57 # [RSpecRunTime] Starting example group spec/serializers/stage_serializer_spec.rb. Expected to take 5.02 seconds. 2421 22:29:57 StageSerializer 2423 22:29:57 with a single entity 2424 22:30:02 serializes the stage object 2425 22:30:02 # [RSpecRunTime] RSpec elapsed time: 17 minutes 44.49 seconds. Current RSS: ~1358M. Threads: 4. load average: 1.06 1.13 1.20 1/294 8279 2427 22:30:02 with an array of entities 2428 22:30:05 serializes the array of pipelines 2429 22:30:05 # [RSpecRunTime] RSpec elapsed time: 17 minutes 47.34 seconds. Current RSS: ~1378M. Threads: 4. load average: 1.06 1.13 1.20 1/294 8298 2431 22:30:05 # [RSpecRunTime] Finishing example group spec/serializers/stage_serializer_spec.rb. It took 7.35 seconds. Expected to take 5.02 seconds. 2432 22:30:05 # [RSpecRunTime] Starting example group spec/models/audit_events/instance_audit_event_spec.rb. Expected to take 4.99 seconds. 2433 22:30:05 AuditEvents::InstanceAuditEvent 2434 22:30:05 does not allow STI 2435 22:30:05 behaves like includes ::AuditEvents::CommonModel concern 2436 22:30:05 sanitizes custom_message in the details hash 2437 22:30:05 associations 2438 22:30:05 is expected to belong to user required: false inverse_of => audit_events 2440 22:30:05 is expected to validate that :author_id cannot be empty/falsy 2441 22:30:05 is expected to allow :ip_address to be ‹"192.168.17.43"› 2442 22:30:06 is expected to allow :ip_address to be ‹"2001:0db8:85a3:0000:0000:8a2e:0370:7334"› 2443 22:30:06 is expected not to allow :ip_address to be ‹"invalid IP"› 2445 22:30:06 #truncate_fields 2446 22:30:06 for entity_path 2447 22:30:06 behaves like a truncated field 2448 22:30:06 when values are provided 2449 22:30:06 database_column: :long, details_value: nil, expected_value: :truncated 2450 22:30:06 sets both values to be the same 2451 22:30:06 database_column: :short, details_value: nil, expected_value: :short 2452 22:30:06 sets both values to be the same 2453 22:30:06 database_column: nil, details_value: :long, expected_value: :truncated 2454 22:30:06 sets both values to be the same 2455 22:30:06 database_column: nil, details_value: :short, expected_value: :short 2456 22:30:06 sets both values to be the same 2457 22:30:06 database_column: :long, details_value: :short, expected_value: :truncated 2458 22:30:06 sets both values to be the same 2459 22:30:06 when values are not provided 2460 22:30:07 does not set 2461 22:30:07 for target_details 2462 22:30:07 behaves like a truncated field 2463 22:30:07 when values are provided 2464 22:30:07 database_column: :long, details_value: nil, expected_value: :truncated 2465 22:30:07 sets both values to be the same 2466 22:30:07 database_column: :short, details_value: nil, expected_value: :short 2467 22:30:07 sets both values to be the same 2468 22:30:07 database_column: nil, details_value: :long, expected_value: :truncated 2469 22:30:07 sets both values to be the same 2470 22:30:07 database_column: nil, details_value: :short, expected_value: :short 2471 22:30:07 sets both values to be the same 2472 22:30:07 database_column: :long, details_value: :short, expected_value: :truncated 2473 22:30:08 sets both values to be the same 2474 22:30:08 when values are not provided 2475 22:30:08 does not set 2476 22:30:08 #parallel_persist 2477 22:30:08 with author_name 2478 22:30:08 behaves like a parallel persisted field 2479 22:30:08 column: :value, details: nil, expected_value: :value 2480 22:30:08 sets both values to be the same 2481 22:30:08 column: nil, details: :value, expected_value: :value 2482 22:30:08 sets both values to be the same 2483 22:30:08 column: :value, details: :another_value, expected_value: :value 2484 22:30:08 sets both values to be the same 2485 22:30:08 column: nil, details: nil, expected_value: nil 2486 22:30:08 sets both values to be the same 2487 22:30:08 with target_details 2488 22:30:08 behaves like a parallel persisted field 2489 22:30:08 column: :value, details: nil, expected_value: :value 2490 22:30:08 sets both values to be the same 2491 22:30:08 column: nil, details: :value, expected_value: :value 2492 22:30:08 sets both values to be the same 2493 22:30:08 column: :value, details: :another_value, expected_value: :value 2494 22:30:08 sets both values to be the same 2495 22:30:08 column: nil, details: nil, expected_value: nil 2496 22:30:08 sets both values to be the same 2497 22:30:08 with target_type 2498 22:30:08 behaves like a parallel persisted field 2499 22:30:08 column: :value, details: nil, expected_value: :value 2500 22:30:08 sets both values to be the same 2501 22:30:08 column: nil, details: :value, expected_value: :value 2502 22:30:08 sets both values to be the same 2503 22:30:08 column: :value, details: :another_value, expected_value: :value 2504 22:30:08 sets both values to be the same 2505 22:30:08 column: nil, details: nil, expected_value: nil 2506 22:30:08 sets both values to be the same 2507 22:30:08 with target_id 2508 22:30:08 behaves like a parallel persisted field 2509 22:30:08 column: :value, details: nil, expected_value: :value 2510 22:30:08 sets both values to be the same 2511 22:30:08 column: nil, details: :value, expected_value: :value 2512 22:30:09 sets both values to be the same 2513 22:30:09 column: :value, details: :another_value, expected_value: :value 2514 22:30:09 sets both values to be the same 2515 22:30:09 column: nil, details: nil, expected_value: nil 2516 22:30:09 sets both values to be the same 2518 22:30:09 when sort by created_at in ascending order 2519 22:30:09 sorts results by id in ascending order 2520 22:30:09 when it is default 2521 22:30:09 sorts results by id in descending order 2523 22:30:09 for ip_address 2524 22:30:09 overrides the ip_address with its string value 2525 22:30:09 #author_name 2526 22:30:09 when user exists 2527 22:30:09 returns user name 2528 22:30:09 when user does not exist anymore 2529 22:30:09 when database contains author_name 2530 22:30:09 returns author_name 2531 22:30:09 when details contains author_name 2532 22:30:09 returns author_name 2533 22:30:09 when details does not contains author_name 2535 22:30:09 when authored by an unauthenticated user 2536 22:30:09 returns `An unauthenticated user` 2538 22:30:09 when ip_address exists in both details hash and ip_address column 2539 22:30:09 returns the value from ip_address column 2540 22:30:09 when ip_address exists in details hash but not in ip_address column 2541 22:30:09 returns the value from details hash 2542 22:30:09 #entity_path 2543 22:30:09 when entity_path exists in both details hash and entity_path column 2544 22:30:09 returns the value from entity_path column 2545 22:30:09 when entity_path exists in details hash but not in entity_path column 2546 22:30:10 returns the value from details hash 2547 22:30:10 #target_type 2548 22:30:10 when target_type exists in both details hash and target_type column 2549 22:30:10 returns the value from target_type column 2550 22:30:10 when target_type exists in details hash but not in target_type column 2551 22:30:10 returns the value from details hash 2552 22:30:10 #formatted_details 2553 22:30:10 includes the author's email 2554 22:30:10 converts value of `to` and `from` in `details` to string 2555 22:30:10 # [RSpecRunTime] Finishing example group spec/models/audit_events/instance_audit_event_spec.rb. It took 5.19 seconds. Expected to take 4.99 seconds. 2556 22:30:10 # [RSpecRunTime] Starting example group spec/services/projects/import_export/parallel_export_service_spec.rb. Expected to take 4.72 seconds. 2557 22:30:10 Projects::ImportExport::ParallelExportService 2559 22:30:11 creates a project export archive file 2560 22:30:12 logs export progress 2561 22:30:12 executes after export stragegy on export success 2562 22:30:13 ensures files are cleaned up 2563 22:30:13 when export fails 2564 22:30:14 notifies the error to the user 2565 22:30:14 # [RSpecRunTime] RSpec elapsed time: 17 minutes 56.41 seconds. Current RSS: ~1372M. Threads: 4. load average: 1.13 1.14 1.20 1/294 8299 2567 22:30:14 when after export stragegy fails 2568 22:30:15 notifies the error to the user 2569 22:30:15 # [RSpecRunTime] Finishing example group spec/services/projects/import_export/parallel_export_service_spec.rb. It took 4.73 seconds. Expected to take 4.72 seconds. 2570 22:30:15 # [RSpecRunTime] Starting example group spec/lib/gitlab/slash_commands/presenters/deploy_spec.rb. Expected to take 4.56 seconds. 2571 22:30:15 Gitlab::SlashCommands::Presenters::Deploy 2573 22:30:16 is expected to have key :text 2574 22:30:17 is expected to have key :response_type 2575 22:30:18 is expected to have key :status 2576 22:30:19 is expected not to have key :attachments 2577 22:30:20 messages the channel of the deploy 2578 22:30:20 # [RSpecRunTime] RSpec elapsed time: 18 minutes 2.36 seconds. Current RSS: ~1360M. Threads: 4. load average: 1.20 1.15 1.20 1/294 8300 2580 22:30:20 #action_not_found 2581 22:30:20 is expected to have key :text 2582 22:30:20 is expected to have key :response_type 2583 22:30:20 is expected to have key :status 2584 22:30:20 is expected not to have key :attachments 2585 22:30:20 tells the user there is no action 2586 22:30:20 # [RSpecRunTime] Finishing example group spec/lib/gitlab/slash_commands/presenters/deploy_spec.rb. It took 5.27 seconds. Expected to take 4.56 seconds. 2587 22:30:20 # [RSpecRunTime] Starting example group spec/routing/admin_routing_spec.rb. Expected to take 4.38 seconds. 2588 22:30:20 Admin::UsersController routing 2598 22:30:20 # [RSpecRunTime] Finishing example group spec/routing/admin_routing_spec.rb. It took 0.34 second. Expected to take 4.38 seconds. 2599 22:30:20 # [RSpecRunTime] Starting example group spec/routing/admin_routing_spec.rb. Expected to take 4.38 seconds. 2600 22:30:20 Admin::ProjectsController routing 2603 22:30:20 # [RSpecRunTime] Finishing example group spec/routing/admin_routing_spec.rb. It took 0.09 second. Expected to take 4.38 seconds. 2604 22:30:20 # [RSpecRunTime] Starting example group spec/routing/admin_routing_spec.rb. Expected to take 4.38 seconds. 2605 22:30:20 Admin::HooksController routing 2612 22:30:21 # [RSpecRunTime] Finishing example group spec/routing/admin_routing_spec.rb. It took 0.22 second. Expected to take 4.38 seconds. 2613 22:30:21 # [RSpecRunTime] Starting example group spec/routing/admin_routing_spec.rb. Expected to take 4.38 seconds. 2614 22:30:21 Admin::HookLogsController routing 2617 22:30:21 # [RSpecRunTime] Finishing example group spec/routing/admin_routing_spec.rb. It took 0.09 second. Expected to take 4.38 seconds. 2618 22:30:21 # [RSpecRunTime] Starting example group spec/routing/admin_routing_spec.rb. Expected to take 4.38 seconds. 2619 22:30:21 Admin::BackgroundJobsController routing 2621 22:30:21 # [RSpecRunTime] Finishing example group spec/routing/admin_routing_spec.rb. It took 0.06 second. Expected to take 4.38 seconds. 2622 22:30:21 # [RSpecRunTime] Starting example group spec/routing/admin_routing_spec.rb. Expected to take 4.38 seconds. 2623 22:30:21 Admin::DashboardController routing 2625 22:30:21 # [RSpecRunTime] Finishing example group spec/routing/admin_routing_spec.rb. It took 0.05 second. Expected to take 4.38 seconds. 2626 22:30:21 # [RSpecRunTime] Starting example group spec/routing/admin_routing_spec.rb. Expected to take 4.38 seconds. 2627 22:30:21 Admin::HealthCheckController routing 2629 22:30:21 # [RSpecRunTime] Finishing example group spec/routing/admin_routing_spec.rb. It took 0.05 second. Expected to take 4.38 seconds. 2630 22:30:21 # [RSpecRunTime] Starting example group spec/routing/admin_routing_spec.rb. Expected to take 4.38 seconds. 2631 22:30:21 Admin::InitialSetupController routing 2634 22:30:21 PATCH #update 2635 22:30:21 # [RSpecRunTime] Finishing example group spec/routing/admin_routing_spec.rb. It took 0.12 second. Expected to take 4.38 seconds. 2636 22:30:21 # [RSpecRunTime] Starting example group spec/routing/admin_routing_spec.rb. Expected to take 4.38 seconds. 2637 22:30:21 Admin::DevOpsReportController routing 2639 22:30:21 admin devops reports 2640 22:30:22 redirects from /admin/dev_ops_report to /admin/dev_ops_reports 2641 22:30:22 # [RSpecRunTime] RSpec elapsed time: 18 minutes 4.72 seconds. Current RSS: ~1398M. Threads: 5. load average: 1.20 1.15 1.20 1/295 8302 2643 22:30:22 # [RSpecRunTime] Finishing example group spec/routing/admin_routing_spec.rb. It took 1.15 seconds. Expected to take 4.38 seconds. 2644 22:30:22 # [RSpecRunTime] Starting example group spec/routing/admin_routing_spec.rb. Expected to take 4.38 seconds. 2645 22:30:22 Admin::GroupsController routing 2649 22:30:22 # [RSpecRunTime] Finishing example group spec/routing/admin_routing_spec.rb. It took 0.12 second. Expected to take 4.38 seconds. 2650 22:30:22 # [RSpecRunTime] Starting example group spec/routing/admin_routing_spec.rb. Expected to take 4.38 seconds. 2651 22:30:22 Admin::OrganizationsController routing 2653 22:30:22 # [RSpecRunTime] Finishing example group spec/routing/admin_routing_spec.rb. It took 0.05 second. Expected to take 4.38 seconds. 2654 22:30:22 # [RSpecRunTime] Starting example group spec/routing/admin_routing_spec.rb. Expected to take 4.38 seconds. 2655 22:30:22 Admin::SessionsController routing 2659 22:30:22 # [RSpecRunTime] Finishing example group spec/routing/admin_routing_spec.rb. It took 0.11 second. Expected to take 4.38 seconds. 2660 22:30:22 # [RSpecRunTime] Starting example group spec/routing/admin_routing_spec.rb. Expected to take 4.38 seconds. 2661 22:30:22 Admin::PlanLimitsController routing 2663 22:30:23 # [RSpecRunTime] Finishing example group spec/routing/admin_routing_spec.rb. It took 0.15 second. Expected to take 4.38 seconds. 2664 22:30:23 # [RSpecRunTime] Starting example group spec/routing/admin_routing_spec.rb. Expected to take 4.38 seconds. 2665 22:30:23 Admin::RunnersController routing 2666 22:30:23 to #runner_setup_scripts 2667 22:30:23 # [RSpecRunTime] Finishing example group spec/routing/admin_routing_spec.rb. It took 0.07 second. Expected to take 4.38 seconds. 2668 22:30:23 # [RSpecRunTime] Starting example group spec/graphql/resolvers/project_merge_requests_resolver_spec.rb. Expected to take 4.26 seconds. 2669 22:30:23 Resolvers::ProjectMergeRequestsResolver 2671 22:30:25 filters merge requests by assignee username 2672 22:30:25 does not find anything 2673 22:30:25 # [RSpecRunTime] RSpec elapsed time: 18 minutes 7.55 seconds. Current RSS: ~1414M. Threads: 5. load average: 1.26 1.17 1.21 1/298 8329 2676 22:30:25 filters merge requests by author username 2677 22:30:25 does not find anything 2679 22:30:25 filters merge requests by reviewer username 2680 22:30:25 does not find anything 2681 22:30:25 with reviewer wildcard param 2682 22:30:25 filters merge requests by NONE wildcard 2683 22:30:26 filters merge requests by ANY wildcard 2684 22:30:26 returns error when assignee username and wildcard id are used 2685 22:30:26 with assignee wildcard param 2686 22:30:26 filters merge requests by NONE wildcard 2687 22:30:26 filters merge requests by ANY wildcard 2688 22:30:26 returns error when assignee username and wildcard id are used 2689 22:30:26 with milestone wildcard param 2690 22:30:26 filters merge requests by NONE wildcard 2691 22:30:26 filters merge requests by ANY wildcard 2692 22:30:26 returns error when milestone title and wildcard id are used 2693 22:30:26 with label name param 2694 22:30:26 filters merge requests by label name 2695 22:30:26 with negated params 2696 22:30:26 with negated assignee username 2697 22:30:26 is expected to contain exactly #<MergeRequest id:161 namespace411/project-456!2> 2698 22:30:26 with negated reviewer username 2699 22:30:27 is expected to contain exactly #<MergeRequest id:161 namespace411/project-456!2> 2700 22:30:27 # [RSpecRunTime] Finishing example group spec/graphql/resolvers/project_merge_requests_resolver_spec.rb. It took 3.93 seconds. Expected to take 4.26 seconds. 2701 22:30:27 # [RSpecRunTime] Starting example group spec/models/concerns/ci/has_variable_spec.rb. Expected to take 4.04 seconds. 2702 22:30:27 Ci::HasVariable 2703 22:30:27 does not allow STI 2704 22:30:27 is expected to validate that :key cannot be empty/falsy 2705 22:30:27 is expected to validate that the length of :key is at most 255 2706 22:30:27 is expected to allow :key to be ‹"foo"› 2707 22:30:27 is expected not to allow :key to be ‹"foo bar"› 2708 22:30:27 is expected not to allow :key to be ‹"foo/bar"› 2711 22:30:29 is expected to contain exactly #<Ci::Variable id: 50, key: [FILTERED], value: nil, encrypted_value: "ny8rSLpC4QZbVnuF2+MJOg==\n", en...nt_scope: "*", masked: false, variable_type: "env_var", raw: false, description: nil, hidden: false> 2712 22:30:29 # [RSpecRunTime] RSpec elapsed time: 18 minutes 11.4 seconds. Current RSS: ~1418M. Threads: 5. load average: 1.24 1.17 1.21 1/298 8330 2715 22:30:29 when the new key is nil 2716 22:30:29 strips leading and trailing whitespaces 2717 22:30:29 when the new key has leadind and trailing whitespaces 2718 22:30:29 strips leading and trailing whitespaces 2720 22:30:29 stores the encrypted value 2721 22:30:29 stores an iv for value 2722 22:30:29 stores a salt for value 2723 22:30:29 fails to decrypt if iv is incorrect 2724 22:30:29 #to_runner_variable 2725 22:30:30 returns a hash for the runner 2726 22:30:30 with RequestStore enabled 2727 22:30:30 decrypts once 2728 22:30:31 does not cache similar keys 2729 22:30:31 does not cache unpersisted values 2730 22:30:31 # [RSpecRunTime] RSpec elapsed time: 18 minutes 13.51 seconds. Current RSS: ~1405M. Threads: 5. load average: 1.24 1.17 1.21 1/298 8331 2733 22:30:31 supports ordering by key ascending 2734 22:30:31 supports ordering by key descending 2735 22:30:31 when order method is unknown 2736 22:30:31 does not call reorder 2737 22:30:31 when order method is nil 2738 22:30:31 does not call reorder 2739 22:30:31 # [RSpecRunTime] Finishing example group spec/models/concerns/ci/has_variable_spec.rb. It took 4.55 seconds. Expected to take 4.04 seconds. 2740 22:30:31 # [RSpecRunTime] Starting example group spec/lib/gitlab/import_export/base/object_builder_spec.rb. Expected to take 3.88 seconds. 2741 22:30:31 Gitlab::ImportExport::Base::ObjectBuilder 2743 22:30:31 when object exists 2744 22:30:31 when where_clauses are implemented 2745 22:30:32 finds existing object instead of creating one 2746 22:30:32 # [RSpecRunTime] RSpec elapsed time: 18 minutes 15.09 seconds. Current RSS: ~1405M. Threads: 5. load average: 1.22 1.16 1.21 1/299 8351 2748 22:30:32 when where_clauses are not implemented 2749 22:30:34 raises NotImplementedError 2750 22:30:34 # [RSpecRunTime] RSpec elapsed time: 18 minutes 16.35 seconds. Current RSS: ~1413M. Threads: 5. load average: 1.22 1.16 1.21 1/299 8370 2752 22:30:34 when object does not exist 2753 22:30:35 creates new object 2754 22:30:35 # [RSpecRunTime] RSpec elapsed time: 18 minutes 17.62 seconds. Current RSS: ~1417M. Threads: 5. load average: 1.22 1.16 1.21 1/299 8389 2756 22:30:35 # [RSpecRunTime] Finishing example group spec/lib/gitlab/import_export/base/object_builder_spec.rb. It took 3.92 seconds. Expected to take 3.88 seconds. 2757 22:30:35 # [RSpecRunTime] Starting example group spec/services/merge_requests/add_spent_time_service_spec.rb. Expected to take 3.79 seconds. 2758 22:30:35 MergeRequests::AddSpentTimeService 2760 22:30:37 creates a new timelog with the specified duration and summary 2761 22:30:37 creates a system note with the time added 2762 22:30:38 saves usage data 2763 22:30:39 is more efficient than using the full update-service 2764 22:30:39 when duration is nil 2765 22:30:39 does not create a timelog with the specified duration 2766 22:30:39 # [RSpecRunTime] RSpec elapsed time: 18 minutes 22.1 seconds. Current RSS: ~1416M. Threads: 5. load average: 1.20 1.16 1.20 1/299 8416 2768 22:30:39 # [RSpecRunTime] Finishing example group spec/services/merge_requests/add_spent_time_service_spec.rb. It took 4.48 seconds. Expected to take 3.79 seconds. 2769 22:30:39 # [RSpecRunTime] Starting example group spec/graphql/mutations/ci/job_token_scope/add_project_spec.rb. Expected to take 3.58 seconds. 2770 22:30:39 Mutations::Ci::JobTokenScope::AddProject 2772 22:30:41 when user is not logged in 2773 22:30:41 raises error 2774 22:30:41 # [RSpecRunTime] RSpec elapsed time: 18 minutes 23.4 seconds. Current RSS: ~1412M. Threads: 5. load average: 1.20 1.16 1.20 1/299 8417 2776 22:30:41 when user is logged in 2777 22:30:41 when user does not have permissions to admin project 2778 22:30:41 raises error 2779 22:30:41 when user has permissions to admin project and read target project 2780 22:30:42 adds target project to the inbound job token scope by default 2781 22:30:42 when mutation uses the direction argument 2782 22:30:42 when targeting the outbound allowlist 2783 22:30:42 raises an error 2784 22:30:42 # [RSpecRunTime] RSpec elapsed time: 18 minutes 25.12 seconds. Current RSS: ~1402M. Threads: 5. load average: 1.19 1.16 1.20 1/299 8418 2786 22:30:42 when targeting the inbound allowlist 2787 22:30:43 adds the target project 2788 22:30:43 when the service returns an error 2789 22:30:44 returns an error response 2790 22:30:44 # [RSpecRunTime] Finishing example group spec/graphql/mutations/ci/job_token_scope/add_project_spec.rb. It took 4.42 seconds. Expected to take 3.58 seconds. 2791 22:30:44 # [RSpecRunTime] Starting example group spec/finders/projects/ml/model_version_finder_spec.rb. Expected to take 3.52 seconds. 2792 22:30:44 Projects::Ml::ModelVersionFinder 2793 22:30:47 default params 2794 22:30:47 returns models for project ordered by id desc 2795 22:30:47 including the latest version and project 2796 22:30:47 # [RSpecRunTime] RSpec elapsed time: 18 minutes 29.49 seconds. Current RSS: ~1381M. Threads: 5. load average: 1.19 1.16 1.20 1/299 8419 2799 22:30:47 test_case: "default params", order_by: nil, direction: nil, expected_order: [2, 1, 0] 2800 22:30:47 is expected to eq [#<Ml::ModelVersion id: 3, created_at: "2024-11-13 22:30:45.884247271 +0000", updated_at: "2024-11-13...wn_version: 2162688, description_html: "<p data-sourcepos=\"1:1-1:16\" dir=\"auto\">Some descr...">] 2801 22:30:47 test_case: "ascending order", order_by: "id", direction: "ASC", expected_order: [0, 1, 2] 2802 22:30:47 is expected to eq [#<Ml::ModelVersion id: 1, created_at: "2024-11-13 22:30:45.780701311 +0000", updated_at: "2024-11-13...wn_version: 2162688, description_html: "<p data-sourcepos=\"1:1-1:16\" dir=\"auto\">Some descr...">] 2803 22:30:47 test_case: "by version", order_by: "version", direction: "ASC", expected_order: [2, 0, 1] 2804 22:30:47 is expected to eq [#<Ml::ModelVersion id: 3, created_at: "2024-11-13 22:30:45.884247271 +0000", updated_at: "2024-11-13...wn_version: 2162688, description_html: "<p data-sourcepos=\"1:1-1:16\" dir=\"auto\">Some descr...">] 2805 22:30:47 test_case: "by version desc", order_by: "version", direction: "DESC", expected_order: [1, 0, 2] 2806 22:30:47 is expected to eq [#<Ml::ModelVersion id: 2, created_at: "2024-11-13 22:30:45.837539366 +0000", updated_at: "2024-11-13...wn_version: 2162688, description_html: "<p data-sourcepos=\"1:1-1:16\" dir=\"auto\">Some descr...">] 2807 22:30:47 test_case: "invalid sort", order_by: nil, direction: "UP", expected_order: [2, 1, 0] 2808 22:30:47 is expected to eq [#<Ml::ModelVersion id: 3, created_at: "2024-11-13 22:30:45.884247271 +0000", updated_at: "2024-11-13...wn_version: 2162688, description_html: "<p data-sourcepos=\"1:1-1:16\" dir=\"auto\">Some descr...">] 2809 22:30:47 test_case: "invalid order by", order_by: "INVALID", direction: nil, expected_order: [2, 1, 0] 2810 22:30:47 is expected to eq [#<Ml::ModelVersion id: 3, created_at: "2024-11-13 22:30:45.884247271 +0000", updated_at: "2024-11-13...wn_version: 2162688, description_html: "<p data-sourcepos=\"1:1-1:16\" dir=\"auto\">Some descr...">] 2811 22:30:47 test_case: "order by updated_at", order_by: "created_at", direction: nil, expected_order: [2, 1, 0] 2812 22:30:47 is expected to eq [#<Ml::ModelVersion id: 3, created_at: "2024-11-13 22:30:45.884247271 +0000", updated_at: "2024-11-13...wn_version: 2162688, description_html: "<p data-sourcepos=\"1:1-1:16\" dir=\"auto\">Some descr...">] 2813 22:30:47 when version is passed 2814 22:30:47 searches by name 2815 22:30:47 # [RSpecRunTime] Finishing example group spec/finders/projects/ml/model_version_finder_spec.rb. It took 3.51 seconds. Expected to take 3.52 seconds. 2816 22:30:47 # [RSpecRunTime] Starting example group spec/services/packages/create_package_file_service_spec.rb. Expected to take 3.33 seconds. 2817 22:30:47 Packages::CreatePackageFileService 2819 22:30:49 with valid params 2820 22:30:49 creates a new package file 2821 22:30:49 behaves like assigns build to package file 2822 22:30:49 with build info 2823 22:30:50 assigns the pipeline to the package 2824 22:30:51 creates a new PackageFileBuildInfo record 2825 22:30:51 # [RSpecRunTime] RSpec elapsed time: 18 minutes 33.5 seconds. Current RSS: ~1378M. Threads: 5. load average: 1.17 1.15 1.20 1/297 8420 2827 22:30:51 file is missing 2828 22:30:51 raises an error 2829 22:30:51 # [RSpecRunTime] Finishing example group spec/services/packages/create_package_file_service_spec.rb. It took 3.53 seconds. Expected to take 3.33 seconds. 2830 22:30:51 # [RSpecRunTime] Starting example group spec/services/service_desk/custom_email_verifications/update_service_spec.rb. Expected to take 3.29 seconds. 2831 22:30:51 ServiceDesk::CustomEmailVerifications::UpdateService 2834 22:30:52 when verification exists 2835 22:30:52 when we do not have a verification email 2836 22:30:52 behaves like a failing verification process 2837 22:30:52 refuses to verify and sends result emails 2838 22:30:52 # [RSpecRunTime] RSpec elapsed time: 18 minutes 34.77 seconds. Current RSS: ~1377M. Threads: 5. load average: 1.17 1.15 1.20 1/297 8421 2840 22:30:52 when already verified 2841 22:30:52 behaves like an early exit from the verification process 2843 22:30:52 when we already have an error 2844 22:30:52 behaves like an early exit from the verification process 2846 22:30:53 when we have a verification email 2847 22:30:53 verifies and sends result emails 2848 22:30:53 and verification tokens do not match 2849 22:30:53 behaves like a failing verification process 2850 22:30:53 refuses to verify and sends result emails 2851 22:30:53 and from address does not match with custom email 2852 22:30:53 behaves like a failing verification process 2853 22:30:53 refuses to verify and sends result emails 2854 22:30:53 and timeframe for receiving the email is over 2855 22:30:53 behaves like a failing verification process 2856 22:30:54 refuses to verify and sends result emails 2857 22:30:54 and service desk address from service_desk_email was used as forwarding target 2858 22:30:54 behaves like a failing verification process 2859 22:30:54 refuses to verify and sends result emails 2860 22:30:54 when multiple Delivered-To headers are present 2861 22:30:54 behaves like a failing verification process 2862 22:30:54 refuses to verify and sends result emails 2863 22:30:54 when multiple To headers are present 2864 22:30:54 behaves like a failing verification process 2865 22:30:55 refuses to verify and sends result emails 2866 22:30:55 when already verified 2867 22:30:55 behaves like an early exit from the verification process 2869 22:30:55 when enabled 2870 22:30:55 behaves like an early exit from the verification process 2872 22:30:55 # [RSpecRunTime] Finishing example group spec/services/service_desk/custom_email_verifications/update_service_spec.rb. It took 4.09 seconds. Expected to take 3.29 seconds. 2873 22:30:55 # [RSpecRunTime] Starting example group spec/services/releases/links/update_service_spec.rb. Expected to take 3.11 seconds. 2874 22:30:55 Releases::Links::UpdateService 2876 22:30:57 successfully updates a release link 2877 22:30:57 when user does not have access to update release link 2878 22:30:57 returns an error 2879 22:30:57 # [RSpecRunTime] RSpec elapsed time: 18 minutes 39.65 seconds. Current RSS: ~1395M. Threads: 5. load average: 1.16 1.15 1.20 1/297 8440 2881 22:30:57 when url is invalid 2882 22:30:57 returns an error 2883 22:30:57 when both direct_asset_path and filepath are provided 2884 22:30:58 prefers direct_asset_path 2885 22:30:58 when only filepath is set 2886 22:30:58 uses filepath 2887 22:30:58 # [RSpecRunTime] Finishing example group spec/services/releases/links/update_service_spec.rb. It took 3.11 seconds. Expected to take 3.11 seconds. 2888 22:30:58 # [RSpecRunTime] Starting example group spec/lib/gitlab/exclusive_lease_spec.rb. Expected to take 3.07 seconds. 2889 22:30:58 Gitlab::ExclusiveLease 2891 22:30:58 cannot obtain twice before the lease has expired 2892 22:31:00 can obtain after the lease has expired 2893 22:31:00 when allowed to attempt within pg transaction 2894 22:31:00 behaves like no error tracking performed 2895 22:31:00 does not raise error within ci db 2896 22:31:00 does not raise error within main db 2897 22:31:00 # [RSpecRunTime] RSpec elapsed time: 18 minutes 43.01 seconds. Current RSS: ~1414M. Threads: 5. load average: 1.14 1.15 1.20 1/296 8441 2899 22:31:00 in production environment 2900 22:31:00 behaves like no error tracking performed 2901 22:31:00 does not raise error within ci db 2902 22:31:00 does not raise error within main db 2903 22:31:00 .redis_shared_state_key 2904 22:31:00 provides a namespaced key 2905 22:31:00 .ensure_prefixed_key 2906 22:31:01 does not double prefix a key 2907 22:31:01 raises errors when there is no key 2909 22:31:01 returns true when we have the existing lease 2910 22:31:01 returns false when we dont have a lease 2911 22:31:01 cancellation 2913 22:31:01 does not raise errors when given a nil key 2914 22:31:01 when called with the unprefixed key 2915 22:31:01 behaves like cancelling a lease 2916 22:31:01 releases the held lease 2917 22:31:01 when called with the prefixed key 2918 22:31:01 behaves like cancelling a lease 2919 22:31:01 releases the held lease 2921 22:31:01 is safe to call even if the lease was never obtained 2922 22:31:01 behaves like cancelling a lease 2923 22:31:01 releases the held lease 2925 22:31:01 removes all existing lease keys from redis 2927 22:31:01 returns true for an existing lease 2928 22:31:01 returns false for a lease that does not exist 2930 22:31:01 gets the uuid if lease with the key associated exists 2931 22:31:01 returns false if the lease does not exist 2933 22:31:01 returns the TTL of the Redis key 2934 22:31:01 returns nil when the lease does not exist 2936 22:31:01 prevents repeated execution of the block 2937 22:31:01 is distinct by block 2938 22:31:01 is distinct by key 2939 22:31:01 allows a group to be passed 2940 22:31:01 defaults to a 60min timeout 2941 22:31:01 allows count to be specified 2942 22:31:01 allows period to be specified 2943 22:31:01 allows period and count to be specified 2944 22:31:01 # [RSpecRunTime] Finishing example group spec/lib/gitlab/exclusive_lease_spec.rb. It took 3.1 seconds. Expected to take 3.07 seconds. 2945 22:31:01 # [RSpecRunTime] Starting example group spec/services/two_factor/destroy_service_spec.rb. Expected to take 2.91 seconds. 2946 22:31:01 TwoFactor::DestroyService 2947 22:31:01 disabling two-factor authentication 2948 22:31:01 when the user does not have two-factor authentication enabled 2949 22:31:01 returns error 2950 22:31:01 behaves like does not send notification email 2951 22:31:01 notification 2952 22:31:01 does not send a notification 2953 22:31:01 when the user has two-factor authentication enabled 2954 22:31:01 when the executor is not authorized to disable two-factor authentication 2955 22:31:01 disabling the two-factor authentication of another user 2956 22:31:02 returns error 2957 22:31:02 does not disable two-factor authentication 2958 22:31:02 behaves like does not send notification email 2959 22:31:02 notification 2960 22:31:02 does not send a notification 2961 22:31:02 when the executor is authorized to disable two-factor authentication 2962 22:31:02 disabling their own two-factor authentication 2963 22:31:02 behaves like disables two-factor authentication 2964 22:31:02 returns success 2965 22:31:03 disables the two-factor authentication of the user 2966 22:31:03 notification 2967 22:31:03 sends a notification 2968 22:31:03 admin disables the two-factor authentication of another user 2969 22:31:03 behaves like disables two-factor authentication 2970 22:31:03 returns success 2971 22:31:04 disables the two-factor authentication of the user 2972 22:31:04 notification 2973 22:31:04 sends a notification 2974 22:31:04 # [RSpecRunTime] RSpec elapsed time: 18 minutes 47.0 seconds. Current RSS: ~1396M. Threads: 5. load average: 1.13 1.14 1.20 1/296 8442 2976 22:31:04 # [RSpecRunTime] Finishing example group spec/services/two_factor/destroy_service_spec.rb. It took 3.13 seconds. Expected to take 2.91 seconds. 2977 22:31:04 # [RSpecRunTime] Starting example group spec/services/ci/create_pipeline_service/variables_spec.rb. Expected to take 2.88 seconds. 2978 22:31:04 Ci::CreatePipelineService 2979 22:31:05 when using variables 2980 22:31:05 when variables have expand: true/false 2981 22:31:06 creates the pipeline with a job that has variable expanded according to "expand" 2982 22:31:06 # [RSpecRunTime] RSpec elapsed time: 18 minutes 48.66 seconds. Current RSS: ~1394M. Threads: 5. load average: 1.13 1.14 1.20 1/297 8471 2984 22:31:06 when trigger variables have expand: true/false 2985 22:31:06 creates the pipeline with a trigger job that has downstream_variables expanded according to "expand" 2986 22:31:06 when trigger variables have CI_ENVIRONMENT_* predefined variables 2987 22:31:07 creates the pipeline with a trigger job that has downstream_variables 2988 22:31:07 # [RSpecRunTime] Finishing example group spec/services/ci/create_pipeline_service/variables_spec.rb. It took 2.72 seconds. Expected to take 2.88 seconds. 2989 22:31:07 # [RSpecRunTime] Starting example group spec/lib/gitlab/ci/pipeline/chain/build_spec.rb. Expected to take 2.72 seconds. 2990 22:31:07 Gitlab::Ci::Pipeline::Chain::Build 2991 22:31:08 does not break the chain 2992 22:31:08 builds a pipeline with the expected attributes 2993 22:31:09 returns a valid pipeline 2994 22:31:09 does not persist a pipeline 2995 22:31:09 when pipeline is running for a tag 2996 22:31:09 correctly indicated that this is a tagged pipeline 2997 22:31:09 when origin_ref is branch but tag ref with the same name exists 2998 22:31:09 correctly indicated that a pipeline is not tagged 2999 22:31:09 # [RSpecRunTime] RSpec elapsed time: 18 minutes 51.38 seconds. Current RSS: ~1398M. Threads: 5. load average: 1.20 1.16 1.20 1/298 8493 3001 22:31:09 when pipeline is running for a merge request 3002 22:31:09 correctly indicated that this is a merge request pipeline 3003 22:31:09 correctly sets souce sha and target sha to pipeline 3004 22:31:09 when pipeline is running for an external pull request 3005 22:31:09 correctly indicated that this is an external pull request pipeline 3006 22:31:09 correctly sets source sha and target sha to pipeline 3007 22:31:09 when keep_latest_artifact is set 3008 22:31:09 keep_latest_artifact: true, locking_result: "artifacts_locked" 3009 22:31:09 builds a pipeline with appropriate locked value 3010 22:31:09 keep_latest_artifact: false, locking_result: "unlocked" 3011 22:31:09 builds a pipeline with appropriate locked value 3012 22:31:09 # [RSpecRunTime] Finishing example group spec/lib/gitlab/ci/pipeline/chain/build_spec.rb. It took 2.34 seconds. Expected to take 2.72 seconds. 3013 22:31:09 # [RSpecRunTime] Starting example group spec/services/ml/create_model_version_service_spec.rb. Expected to take 2.66 seconds. 3014 22:31:09 Ml::CreateModelVersionService 3016 22:31:11 when no versions exist and no value is passed for version 3017 22:31:11 creates a model version 3018 22:31:11 # [RSpecRunTime] RSpec elapsed time: 18 minutes 53.55 seconds. Current RSS: ~1391M. Threads: 5. load average: 1.20 1.16 1.20 1/298 8494 3020 22:31:11 when a version exist and no value is passed for version 3021 22:31:11 creates another model version and increments the version number 3022 22:31:11 when a version is created and the package already exists 3023 22:31:11 does not creates a package 3024 22:31:11 when creation of a model_version fails 3025 22:31:12 returns error 3026 22:31:12 when a version is created and an existing package supplied 3027 22:31:12 does not creates a package 3028 22:31:12 when metadata are supplied, add them as metadata 3029 22:31:12 creates metadata records 3030 22:31:12 for metadata with duplicate keys, it does not create duplicate records 3031 22:31:12 raises an error 3032 22:31:12 for metadata with invalid keys, it does not create invalid records 3033 22:31:12 raises an error 3034 22:31:12 when a version string is supplied during creation 3035 22:31:12 creates a package 3036 22:31:12 when version string supplied is invalid 3037 22:31:12 returns error 3038 22:31:12 # [RSpecRunTime] Finishing example group spec/services/ml/create_model_version_service_spec.rb. It took 3.03 seconds. Expected to take 2.66 seconds. 3039 22:31:12 # [RSpecRunTime] Starting example group spec/serializers/merge_request_for_pipeline_entity_spec.rb. Expected to take 2.61 seconds. 3040 22:31:12 MergeRequestForPipelineEntity 3042 22:31:15 exposes needed attributes 3043 22:31:15 # [RSpecRunTime] RSpec elapsed time: 18 minutes 57.31 seconds. Current RSS: ~1390M. Threads: 5. load average: 1.19 1.16 1.20 1/301 8554 3045 22:31:15 # [RSpecRunTime] Finishing example group spec/serializers/merge_request_for_pipeline_entity_spec.rb. It took 2.21 seconds. Expected to take 2.61 seconds. 3046 22:31:15 # [RSpecRunTime] Starting example group spec/lib/gitlab/ci/templates/Diffblue_Cover_spec.rb. Expected to take 2.47 seconds. 3047 22:31:15 Diffblue-Cover.gitlab-ci.yml 3048 22:31:15 the created pipeline 3049 22:31:17 creates diffblue-cover jobs 3050 22:31:17 # [RSpecRunTime] RSpec elapsed time: 18 minutes 59.82 seconds. Current RSS: ~1397M. Threads: 5. load average: 1.19 1.16 1.20 1/302 8634 3052 22:31:17 # [RSpecRunTime] Finishing example group spec/lib/gitlab/ci/templates/Diffblue_Cover_spec.rb. It took 2.51 seconds. Expected to take 2.47 seconds. 3053 22:31:17 # [RSpecRunTime] Starting example group spec/graphql/resolvers/releases_resolver_spec.rb. Expected to take 2.46 seconds. 3054 22:31:17 Resolvers::ReleasesResolver 3056 22:31:18 behaves like releases and group releases resolver 3057 22:31:18 when the user does not have access to the project 3058 22:31:19 returns an empty response 3059 22:31:19 # [RSpecRunTime] RSpec elapsed time: 19 minutes 1.22 seconds. Current RSS: ~1393M. Threads: 5. load average: 1.17 1.15 1.20 1/302 8635 3061 22:31:19 when the user has full access to the project's releases 3062 22:31:19 returns all releases associated to the project 3063 22:31:19 when order_by is released_at 3064 22:31:19 with sort: desc 3065 22:31:19 returns the releases ordered by released_at in descending order 3066 22:31:19 with sort: asc 3067 22:31:19 returns the releases ordered by released_at in ascending order 3068 22:31:19 when order_by is created_at 3069 22:31:19 with sort: desc 3070 22:31:20 returns the releases ordered by created_at in descending order 3071 22:31:20 with sort: asc 3072 22:31:20 returns the releases ordered by created_at in ascending order 3073 22:31:20 # [RSpecRunTime] Finishing example group spec/graphql/resolvers/releases_resolver_spec.rb. It took 2.61 seconds. Expected to take 2.46 seconds. 3074 22:31:20 # [RSpecRunTime] Starting example group spec/graphql/mutations/terraform/state/lock_spec.rb. Expected to take 2.34 seconds. 3075 22:31:20 Mutations::Terraform::State::Lock 3076 22:31:21 is expected to eq "TerraformStateLock" 3077 22:31:21 is expected to require graphql authorizations :admin_terraform_state 3079 22:31:21 user does not have permission 3080 22:31:21 raises an error 3081 22:31:21 user has permission 3082 22:31:21 locks the state 3083 22:31:21 state is already locked 3084 22:31:22 does not modify the existing lock 3085 22:31:22 # [RSpecRunTime] RSpec elapsed time: 19 minutes 4.86 seconds. Current RSS: ~1397M. Threads: 5. load average: 1.17 1.15 1.20 1/301 8636 3087 22:31:22 with invalid params 3088 22:31:22 raises an error 3089 22:31:22 # [RSpecRunTime] Finishing example group spec/graphql/mutations/terraform/state/lock_spec.rb. It took 2.48 seconds. Expected to take 2.34 seconds. 3090 22:31:22 # [RSpecRunTime] Starting example group spec/services/resource_events/merge_into_notes_service_spec.rb. Expected to take 2.31 seconds. 3091 22:31:22 ResourceEvents::MergeIntoNotesService 3093 22:31:24 merges label events into notes in order of created_at 3094 22:31:24 squashes events with same time and author into single note 3095 22:31:25 fetches only notes created after last_fetched_at 3096 22:31:25 preloads the note author's status 3097 22:31:25 # [RSpecRunTime] RSpec elapsed time: 19 minutes 7.56 seconds. Current RSS: ~1390M. Threads: 5. load average: 1.16 1.15 1.20 1/300 8637 3099 22:31:25 # [RSpecRunTime] Finishing example group spec/services/resource_events/merge_into_notes_service_spec.rb. It took 2.66 seconds. Expected to take 2.31 seconds. 3100 22:31:25 # [RSpecRunTime] Starting example group spec/graphql/mutations/notes/reposition_image_diff_note_spec.rb. Expected to take 2.22 seconds. 3101 22:31:25 Mutations::Notes::RepositionImageDiffNote 3103 22:31:26 when the user does not have permission 3104 22:31:27 raises an error if the resource is not accessible to the user 3105 22:31:27 # [RSpecRunTime] RSpec elapsed time: 19 minutes 9.25 seconds. Current RSS: ~1399M. Threads: 5. load average: 1.16 1.15 1.20 1/300 8696 3107 22:31:27 when the user has permission 3108 22:31:27 mutates the note 3109 22:31:27 when the note is a DiffNote, but not on an image 3110 22:31:27 raises an error 3111 22:31:27 # [RSpecRunTime] Finishing example group spec/graphql/mutations/notes/reposition_image_diff_note_spec.rb. It took 2.22 seconds. Expected to take 2.22 seconds. 3112 22:31:27 # [RSpecRunTime] Starting example group spec/workers/expire_build_artifacts_worker_spec.rb. Expected to take 2.19 seconds. 3113 22:31:27 ExpireBuildArtifactsWorker 3115 22:31:30 executes a service 3116 22:31:30 # [RSpecRunTime] RSpec elapsed time: 19 minutes 12.52 seconds. Current RSS: ~1398M. Threads: 5. load average: 1.14 1.15 1.20 1/298 8702 3118 22:31:30 # [RSpecRunTime] Finishing example group spec/workers/expire_build_artifacts_worker_spec.rb. It took 2.74 seconds. Expected to take 2.19 seconds. 3119 22:31:30 # [RSpecRunTime] Starting example group spec/policies/release_policy_spec.rb. Expected to take 2.09 seconds. 3120 22:31:30 ReleasePolicy 3121 22:31:31 when the user has access to the protected tag 3122 22:31:32 allows the user to create, update and destroy a release 3123 22:31:32 # [RSpecRunTime] RSpec elapsed time: 19 minutes 14.26 seconds. Current RSS: ~1396M. Threads: 5. load average: 1.14 1.15 1.20 1/298 8721 3125 22:31:32 when the user does not have access to the protected tag 3126 22:31:32 prevents the user from creating, updating and destroying a release 3127 22:31:32 # [RSpecRunTime] Finishing example group spec/policies/release_policy_spec.rb. It took 1.88 seconds. Expected to take 2.09 seconds. 3128 22:31:32 # [RSpecRunTime] Starting example group spec/models/incident_management/project_incident_management_setting_spec.rb. Expected to take 2.04 seconds. 3129 22:31:32 IncidentManagement::ProjectIncidentManagementSetting 3130 22:31:33 does not allow STI 3131 22:31:33 #issue_template_content 3132 22:31:33 with valid issue_template_key 3133 22:31:33 returns issue content 3134 22:31:34 # [RSpecRunTime] RSpec elapsed time: 19 minutes 16.14 seconds. Current RSS: ~1403M. Threads: 5. load average: 1.13 1.14 1.19 1/301 8862 3136 22:31:34 with unknown issue_template_key 3137 22:31:34 behaves like no content 3138 22:31:34 returns no content 3139 22:31:34 without issue_template_key 3140 22:31:34 behaves like no content 3141 22:31:34 returns no content 3143 22:31:34 validate issue_template_exists 3144 22:31:34 with create_issue enabled 3145 22:31:34 with valid issue_template_key 3146 22:31:34 is expected to be valid 3147 22:31:34 with empty issue_template_key 3148 22:31:34 is expected to be valid 3149 22:31:34 with nil issue_template_key 3150 22:31:34 is expected to be valid 3151 22:31:34 with invalid issue_template_key 3152 22:31:34 is expected to be invalid 3153 22:31:34 returns error 3154 22:31:34 with create_issue disabled 3155 22:31:34 with unknown issue_template_key 3156 22:31:34 is expected to be valid 3157 22:31:34 Associations 3158 22:31:34 is expected to belong to project required: false 3159 22:31:34 #pagerduty_token 3160 22:31:34 when token already set 3161 22:31:34 reads the token 3162 22:31:34 when not set 3163 22:31:34 when PagerDuty webhook is active 3164 22:31:34 generates a token before validation 3165 22:31:34 when PagerDuty webhook is not active 3166 22:31:34 does not generate a token before validation 3167 22:31:34 # [RSpecRunTime] Finishing example group spec/models/incident_management/project_incident_management_setting_spec.rb. It took 2.22 seconds. Expected to take 2.04 seconds. 3168 22:31:34 # [RSpecRunTime] Starting example group spec/helpers/profiles_helper_spec.rb. Expected to take 1.97 seconds. 3169 22:31:34 ProfilesHelper 3170 22:31:34 #commit_email_select_options 3171 22:31:34 returns an array with private commit email along with all the verified emails 3172 22:31:34 #email_provider_label 3173 22:31:34 returns nil for users without external email 3174 22:31:35 returns omniauth provider label for users with external attributes 3175 22:31:35 returns the correct omniauth provider label for users with some external attributes 3176 22:31:35 returns 'LDAP' for users with external email but no email provider 3177 22:31:35 #ssh_key_expiration_tooltip 3178 22:31:35 error: false, expired: false, result: nil 3179 22:31:35 is expected to eq nil 3180 22:31:35 error: true, expired: false, result: "Key type is forbidden. Must be DSA, ECDSA, or ED25519" 3181 22:31:35 is expected to eq "Key type is forbidden. Must be DSA, ECDSA, or ED25519" 3182 22:31:35 error: true, expired: true, result: "Key type is forbidden. Must be DSA, ECDSA, or ED25519" 3183 22:31:35 is expected to eq "Key type is forbidden. Must be DSA, ECDSA, or ED25519" 3184 22:31:35 #ssh_key_expires_field_description 3185 22:31:35 is expected to eq "Optional but recommended. If set, key becomes invalid on the specified date." 3186 22:31:35 #middle_dot_divider_classes 3187 22:31:35 stacking: nil, breakpoint: nil, expected: ["gl-mb-3", "gl-inline-block", "middle-dot-divider"] 3188 22:31:35 returns CSS classes needed to render the middle dot divider 3189 22:31:35 stacking: true, breakpoint: nil, expected: ["gl-mb-3", "middle-dot-divider-sm", "gl-block", "sm:gl-inline-block"] 3190 22:31:35 returns CSS classes needed to render the middle dot divider 3191 22:31:35 stacking: nil, breakpoint: :sm, expected: ["gl-mb-3", "gl-inline-block", "middle-dot-divider-sm"] 3192 22:31:35 returns CSS classes needed to render the middle dot divider 3193 22:31:35 #prevent_delete_account? 3194 22:31:35 returns false 3195 22:31:35 #user_profile_data 3196 22:31:36 returns user profile data 3197 22:31:36 # [RSpecRunTime] Finishing example group spec/helpers/profiles_helper_spec.rb. It took 1.87 seconds. Expected to take 1.97 seconds. 3198 22:31:36 # [RSpecRunTime] Starting example group spec/workers/merge_requests/resolve_todos_worker_spec.rb. Expected to take 1.92 seconds. 3199 22:31:36 MergeRequests::ResolveTodosWorker 3200 22:31:37 behaves like an idempotent worker 3201 22:31:38 is labeled as idempotent 3202 22:31:38 performs multiple times sequentially without raising an exception 3203 22:31:38 # [RSpecRunTime] RSpec elapsed time: 19 minutes 20.33 seconds. Current RSS: ~1403M. Threads: 5. load average: 1.12 1.14 1.19 1/302 8925 3206 22:31:38 calls MergeRequests::ResolveTodosService#execute 3207 22:31:38 with a non-existing merge request 3208 22:31:38 does nothing 3209 22:31:38 with a non-existing user 3210 22:31:38 does nothing 3211 22:31:38 # [RSpecRunTime] Finishing example group spec/workers/merge_requests/resolve_todos_worker_spec.rb. It took 2.03 seconds. Expected to take 1.92 seconds. 3212 22:31:38 # [RSpecRunTime] Starting example group spec/models/concerns/reactive_caching_spec.rb. Expected to take 1.84 seconds. 3213 22:31:38 ReactiveCaching 3214 22:31:38 does not allow STI 3215 22:31:38 #with_reactive_cache 3216 22:31:38 when cache is empty 3217 22:31:38 is expected to be nil 3218 22:31:38 updates the cache lifespan 3219 22:31:38 behaves like reactive worker call 3220 22:31:38 performs caching with correct worker 3221 22:31:38 behaves like reactive worker call 3222 22:31:38 performs caching with correct worker 3223 22:31:38 when the cache is full 3224 22:31:38 behaves like a cacheable value 3225 22:31:38 is expected to eq 4 3226 22:31:38 does not enqueue a background worker 3227 22:31:38 updates the cache lifespan 3229 22:31:38 is expected to be nil 3230 22:31:38 behaves like reactive worker call 3231 22:31:38 performs caching with correct worker 3232 22:31:38 behaves like reactive worker call 3233 22:31:38 performs caching with correct worker 3234 22:31:38 when the cache contains non-nil but blank value 3235 22:31:38 behaves like a cacheable value 3236 22:31:38 is expected to eq false 3237 22:31:38 does not enqueue a background worker 3238 22:31:38 updates the cache lifespan 3240 22:31:38 is expected to be nil 3241 22:31:38 behaves like reactive worker call 3242 22:31:38 performs caching with correct worker 3243 22:31:38 behaves like reactive worker call 3244 22:31:39 performs caching with correct worker 3245 22:31:39 when the cache contains nil value 3246 22:31:39 behaves like a cacheable value 3247 22:31:39 is expected to eq nil 3248 22:31:39 does not enqueue a background worker 3249 22:31:39 updates the cache lifespan 3251 22:31:39 is expected to be nil 3252 22:31:39 behaves like reactive worker call 3253 22:31:39 performs caching with correct worker 3254 22:31:39 behaves like reactive worker call 3255 22:31:39 performs caching with correct worker 3256 22:31:39 #with_reactive_cache_set 3257 22:31:39 calls with_reactive_cache 3258 22:31:39 data returned 3259 22:31:39 saves keys in set 3260 22:31:39 returns the data 3261 22:31:39 .reactive_cache_worker_finder 3262 22:31:39 with default reactive_cache_worker_finder 3263 22:31:39 calls the activerecord find_by method 3264 22:31:39 with custom reactive_cache_worker_finder 3265 22:31:39 overrides the default reactive_cache_worker_finder 3266 22:31:39 #clear_reactive_cache! 3267 22:31:39 is expected to be nil 3268 22:31:39 is expected to be falsy 3269 22:31:39 #exclusively_update_reactive_cache! 3270 22:31:39 when the lease is free and lifetime is not exceeded 3271 22:31:39 takes and releases the lease 3272 22:31:39 enqueues a repeat worker 3273 22:31:39 calls a reactive_cache_updated only once if content did not change on subsequent update 3274 22:31:39 does not delete the value key 3275 22:31:39 behaves like successful cache 3276 22:31:39 caches the result of #calculate_reactive_cache 3277 22:31:39 does not raise the exception 3278 22:31:39 when :external_dependency cache 3279 22:31:39 enqueues a repeat worker 3280 22:31:39 when reactive_cache_hard_limit is set 3281 22:31:39 when cache size is over the overridden limit 3282 22:31:39 raises ExceededReactiveCacheLimit exception and does not cache new data 3283 22:31:39 when reactive_cache_limit_enabled? is overridden to return false 3284 22:31:39 behaves like successful cache 3285 22:31:39 caches the result of #calculate_reactive_cache 3286 22:31:39 does not raise the exception 3287 22:31:39 when cache size is within the overridden limit 3288 22:31:39 behaves like successful cache 3289 22:31:39 caches the result of #calculate_reactive_cache 3290 22:31:39 does not raise the exception 3291 22:31:39 and #calculate_reactive_cache raises an exception 3292 22:31:39 leaves the cache untouched 3293 22:31:39 does not enqueue a repeat worker 3294 22:31:39 when lifetime is exceeded 3295 22:31:39 skips the calculation 3296 22:31:39 deletes the value key 3297 22:31:39 when the lease is already taken 3298 22:31:39 skips the calculation 3299 22:31:39 default options 3300 22:31:39 is expected to be a kind of ActiveSupport::Duration 3301 22:31:40 is expected to be a kind of ActiveSupport::Duration 3302 22:31:40 is expected to be a kind of ActiveSupport::Duration 3303 22:31:40 is expected to respond to #call 3304 22:31:40 is expected to be nil 3305 22:31:40 is expected to respond to #call 3306 22:31:40 classes including this concern 3307 22:31:40 sets reactive_cache_work_type 3308 22:31:40 # [RSpecRunTime] Finishing example group spec/models/concerns/reactive_caching_spec.rb. It took 1.97 seconds. Expected to take 1.84 seconds. 3309 22:31:40 # [RSpecRunTime] Starting example group spec/lib/gitlab/cache/json_caches/json_keyed_spec.rb. Expected to take 1.8 seconds. 3310 22:31:40 Gitlab::Cache::JsonCaches::JsonKeyed 3312 22:31:40 when the cached value is a hash 3313 22:31:40 returns nil when the data is not in a nested structure 3314 22:31:40 when there are other nested keys in the cache 3315 22:31:40 only returns the value we are concerned with 3316 22:31:40 when cache_key_strategy is unknown 3317 22:31:40 raises KeyError 3319 22:31:40 when there is an existing value in the cache 3320 22:31:40 preserves the existing value when writing a different key 3321 22:31:40 overwrites existing value when writing the same key 3322 22:31:40 when using the version strategy 3323 22:31:40 writes value to the cache with the given key 3325 22:31:40 with cache_key concerns 3326 22:31:40 uses the expanded_key 3327 22:31:40 when namespace is nil 3328 22:31:40 uses the expanded_key 3329 22:31:40 behaves like Json Cache class 3331 22:31:40 returns the cached value when there is data in the cache with the given key 3332 22:31:40 returns nil when there is no data in the cache with the given key 3333 22:31:40 parses the cached value 3334 22:31:40 returns nil when klass is nil 3335 22:31:40 gracefully handles an empty hash 3336 22:31:40 when the cached value is a JSON true value 3337 22:31:40 parses the cached value 3338 22:31:40 when the cached value is a JSON false value 3339 22:31:40 parses the cached value 3340 22:31:40 when the cached value is a hash 3341 22:31:40 gracefully handles bad cached entry 3342 22:31:40 gracefully handles unknown attributes 3343 22:31:40 gracefully handles excluded fields from attributes during serialization 3344 22:31:40 when the cached value is an array 3345 22:31:40 parses the cached value 3346 22:31:40 returns an empty array when klass is nil 3347 22:31:40 gracefully handles bad cached entry 3348 22:31:40 gracefully handles an empty array 3349 22:31:41 gracefully handles items with unknown attributes 3351 22:31:41 writes value to the cache with the given key 3352 22:31:41 writes a string containing a JSON representation of the value to the cache 3353 22:31:41 passes options the underlying cache implementation 3354 22:31:41 passes options the underlying cache implementation when options is empty 3355 22:31:41 passes options the underlying cache implementation when options is nil 3357 22:31:41 requires a block 3358 22:31:41 passes options the underlying cache implementation 3359 22:31:41 when the given key does not exist in the cache 3360 22:31:41 when the result of the block is truthy 3361 22:31:41 returns the result of the block 3362 22:31:41 caches the value 3363 22:31:41 when the result of the block is false 3364 22:31:41 returns the result of the block 3365 22:31:41 caches the value 3366 22:31:41 when the result of the block is nil 3367 22:31:41 returns the result of the block 3368 22:31:41 caches the value 3369 22:31:41 when the given key exists in the cache 3370 22:31:41 when the cached value is a hash 3371 22:31:41 parses the cached value 3372 22:31:41 decodes enums correctly 3373 22:31:41 returns the result of the block when `as` option is nil 3374 22:31:41 returns the result of the block when `as` option is missing 3375 22:31:41 when the cached value is an instance of ActiveRecord::Base 3376 22:31:41 returns a persisted record when id is set 3377 22:31:41 returns a new record when id is nil 3378 22:31:41 returns a new record when id is missing 3379 22:31:41 gracefully handles bad cached entry 3380 22:31:41 gracefully handles an empty hash 3381 22:31:41 gracefully handles unknown attributes 3382 22:31:41 gracefully handles excluded fields from attributes during serialization 3383 22:31:41 when the cached value is a array 3384 22:31:41 parses the cached value 3385 22:31:41 returns an empty array when `as` option is nil 3386 22:31:41 returns an empty array when `as` option is not provided 3387 22:31:41 when the cached value is true 3388 22:31:41 returns the cached value 3389 22:31:41 does not execute the block 3390 22:31:41 does not write to the cache 3391 22:31:41 when the cached value is false 3392 22:31:41 returns the cached value 3393 22:31:41 does not execute the block 3394 22:31:42 does not write to the cache 3395 22:31:42 when the cached value is nil 3396 22:31:42 returns the result of the block 3397 22:31:42 writes the result of the block to the cache 3398 22:31:42 # [RSpecRunTime] Finishing example group spec/lib/gitlab/cache/json_caches/json_keyed_spec.rb. It took 1.71 seconds. Expected to take 1.8 seconds. 3399 22:31:42 # [RSpecRunTime] Starting example group spec/helpers/projects/alert_management_helper_spec.rb. Expected to take 1.74 seconds. 3400 22:31:42 Projects::AlertManagementHelper 3401 22:31:42 #alert_management_data 3402 22:31:42 without alert_managements_setting 3403 22:31:42 returns index page configuration 3404 22:31:42 with prometheus integration 3405 22:31:42 when manual prometheus integration is active 3406 22:31:43 enables alert management 3407 22:31:43 when prometheus service is inactive 3408 22:31:43 disables alert management 3409 22:31:43 with http integration 3410 22:31:43 when integration is active 3411 22:31:43 enables alert management 3412 22:31:43 when integration is inactive 3413 22:31:43 disables alert management 3414 22:31:43 with an alert 3415 22:31:43 enables alert management 3416 22:31:43 when user does not have requisite enablement permissions 3417 22:31:43 shows error tracking enablement as disabled 3418 22:31:43 #alert_management_detail_data 3419 22:31:43 returns detail page configuration 3420 22:31:43 when user cannot update alert 3421 22:31:43 shows error tracking enablement as disabled 3422 22:31:43 # [RSpecRunTime] Finishing example group spec/helpers/projects/alert_management_helper_spec.rb. It took 1.72 seconds. Expected to take 1.74 seconds. 3423 22:31:43 # [RSpecRunTime] Starting example group spec/lib/gitlab/usage/metrics/instrumentations/count_snippets_metric_spec.rb. Expected to take 1.7 seconds. 3424 22:31:43 Gitlab::Usage::Metrics::Instrumentations::CountSnippetsMetric 3425 22:31:45 with a time_frame of 28 days 3426 22:31:45 behaves like a correct instrumented metric value 3427 22:31:45 has correct value 3428 22:31:45 # [RSpecRunTime] RSpec elapsed time: 19 minutes 27.51 seconds. Current RSS: ~1397M. Threads: 5. load average: 1.11 1.14 1.19 1/298 8926 3430 22:31:45 with a timeframe of all 3431 22:31:45 behaves like a correct instrumented metric value 3432 22:31:45 has correct value 3433 22:31:45 # [RSpecRunTime] Finishing example group spec/lib/gitlab/usage/metrics/instrumentations/count_snippets_metric_spec.rb. It took 1.69 seconds. Expected to take 1.7 seconds. 3434 22:31:45 # [RSpecRunTime] Starting example group spec/graphql/resolvers/blame_resolver_spec.rb. Expected to take 1.66 seconds. 3435 22:31:45 Resolvers::BlameResolver 3437 22:31:46 when unauthorized 3438 22:31:46 generates an error 3439 22:31:46 # [RSpecRunTime] RSpec elapsed time: 19 minutes 28.83 seconds. Current RSS: ~1400M. Threads: 5. load average: 1.11 1.14 1.19 1/299 8947 3441 22:31:46 when authorized 3442 22:31:46 when feature is enabled 3443 22:31:46 returns blame object 3444 22:31:46 when from_line is below 1 3445 22:31:46 behaves like argument error 3446 22:31:46 raises an ArgumentError 3447 22:31:46 when to_line is below 1 3448 22:31:46 behaves like argument error 3449 22:31:47 raises an ArgumentError 3450 22:31:47 when to_line less than from_line 3451 22:31:47 behaves like argument error 3452 22:31:47 raises an ArgumentError 3453 22:31:47 when difference between to_line and from_line is greater then 99 3454 22:31:47 behaves like argument error 3455 22:31:47 raises an ArgumentError 3456 22:31:47 when to_line and from_line are the same 3457 22:31:47 returns blame object 3458 22:31:47 # [RSpecRunTime] Finishing example group spec/graphql/resolvers/blame_resolver_spec.rb. It took 1.7 seconds. Expected to take 1.66 seconds. 3459 22:31:47 # [RSpecRunTime] Starting example group spec/workers/users/track_namespace_visits_worker_spec.rb. Expected to take 1.61 seconds. 3460 22:31:47 Users::TrackNamespaceVisitsWorker 3462 22:31:47 when tracking a group 3463 22:31:47 behaves like namespace visits tracking worker 3464 22:31:47 when params are provided 3465 22:31:47 is labeled as idempotent 3466 22:31:47 performs multiple times sequentially without raising an exception 3467 22:31:47 tracks the entity visit 3468 22:31:47 when a visit occurs within 15 minutes of a previously tracked one 3469 22:31:47 does not track the visit 3470 22:31:47 does not track the visit 3471 22:31:47 when a visit occurs more than 15 minutes away from a previously tracked one 3472 22:31:47 tracks the visit 3473 22:31:47 tracks the visit 3474 22:31:47 when user is missing 3475 22:31:47 does not do anything 3476 22:31:47 when entity is missing 3477 22:31:47 does not do anything 3478 22:31:47 when tracking a project 3479 22:31:48 behaves like namespace visits tracking worker 3480 22:31:48 when params are provided 3481 22:31:48 is labeled as idempotent 3482 22:31:48 performs multiple times sequentially without raising an exception 3483 22:31:48 tracks the entity visit 3484 22:31:48 when a visit occurs within 15 minutes of a previously tracked one 3485 22:31:48 does not track the visit 3486 22:31:48 does not track the visit 3487 22:31:48 when a visit occurs more than 15 minutes away from a previously tracked one 3488 22:31:48 tracks the visit 3489 22:31:48 tracks the visit 3490 22:31:48 when user is missing 3491 22:31:48 does not do anything 3492 22:31:48 when entity is missing 3493 22:31:48 does not do anything 3494 22:31:48 # [RSpecRunTime] Finishing example group spec/workers/users/track_namespace_visits_worker_spec.rb. It took 1.62 seconds. Expected to take 1.61 seconds. 3495 22:31:48 # [RSpecRunTime] Starting example group spec/services/cohorts_service_spec.rb. Expected to take 1.55 seconds. 3496 22:31:48 CohortsService 3498 22:31:50 returns a list of user cohorts 3499 22:31:50 # [RSpecRunTime] RSpec elapsed time: 19 minutes 32.59 seconds. Current RSS: ~1394M. Threads: 5. load average: 1.10 1.14 1.19 3/298 8954 3501 22:31:50 # [RSpecRunTime] Finishing example group spec/services/cohorts_service_spec.rb. It took 1.68 seconds. Expected to take 1.55 seconds. 3502 22:31:50 # [RSpecRunTime] Starting example group spec/lib/gitlab/auth/o_auth/identity_linker_spec.rb. Expected to take 1.53 seconds. 3503 22:31:50 Gitlab::Auth::OAuth::IdentityLinker 3504 22:31:50 linked identity exists 3505 22:31:50 doesn't create new identity 3506 22:31:50 sets #changed? to false 3507 22:31:50 identity already linked to different user 3508 22:31:51 #changed? returns false 3509 22:31:51 exposes error message 3510 22:31:51 identity needs to be created 3511 22:31:51 creates linked identity 3512 22:31:51 sets identity provider 3513 22:31:51 sets identity extern_uid 3514 22:31:51 sets #changed? to true 3515 22:31:51 # [RSpecRunTime] Finishing example group spec/lib/gitlab/auth/o_auth/identity_linker_spec.rb. It took 1.47 seconds. Expected to take 1.53 seconds. 3516 22:31:51 # [RSpecRunTime] Starting example group spec/lib/gitlab/database/postgres_constraint_spec.rb. Expected to take 1.47 seconds. 3517 22:31:51 Gitlab::Database::PostgresConstraint 3518 22:31:52 does not allow STI 3519 22:31:52 #not_including_column 3520 22:31:52 only matches constraints not including the given column 3521 22:31:52 #by_table_identifier 3522 22:31:52 includes all constraints on the table 3523 22:31:52 throws an error if the format is incorrect 3524 22:31:52 #unique_constraints 3525 22:31:52 finds the unique constraints for the table 3526 22:31:52 #check_constraints 3527 22:31:52 finds check constraints for the table 3528 22:31:52 includes columns for the check constraints 3529 22:31:52 #including_column 3530 22:31:52 only matches constraints on the given column 3531 22:31:52 #primary_or_unique_constraints 3532 22:31:52 finds primary and unique constraints 3533 22:31:52 #primary_key_constraints 3534 22:31:52 finds the primary key constraint for the table 3535 22:31:52 finds the columns in the primary key constraint 3537 22:31:52 excludes invalid constraints 3538 22:31:52 # [RSpecRunTime] Finishing example group spec/lib/gitlab/database/postgres_constraint_spec.rb. It took 0.9 second. Expected to take 1.47 seconds. 3539 22:31:52 # [RSpecRunTime] Starting example group spec/lib/gitlab/github_import/representation/issue_event_spec.rb. Expected to take 1.46 seconds. 3540 22:31:52 Gitlab::GithubImport::Representation::IssueEvent 3541 22:31:52 .from_api_response 3542 22:31:52 behaves like an IssueEvent 3543 22:31:52 returns an instance of IssueEvent 3544 22:31:52 the returned IssueEvent 3545 22:31:52 includes the issue event id 3546 22:31:52 includes the issue event "event" 3547 22:31:52 includes the issue event commit_id 3548 22:31:53 includes the issue event source 3549 22:31:53 includes the issue data 3550 22:31:53 includes the created timestamp 3551 22:31:53 when actor data present 3552 22:31:53 includes the actor details 3553 22:31:53 when actor data is empty 3554 22:31:53 does not return such info 3555 22:31:53 when label data is present 3556 22:31:53 includes the label_title 3557 22:31:53 when label data is empty 3558 22:31:53 does not return such info 3559 22:31:53 when rename field is present 3560 22:31:53 includes the old_title and new_title fields 3561 22:31:53 when rename field is empty 3562 22:31:53 does not return such info 3563 22:31:53 when milestone data is present 3564 22:31:53 includes the milestone_title 3565 22:31:53 when milestone data is empty 3566 22:31:53 does not return such info 3567 22:31:53 when assignee data is present 3568 22:31:53 includes assignee details 3569 22:31:53 when assignee data is empty 3570 22:31:53 does not return such info 3571 22:31:53 when requested_reviewer and review_requester data is present 3572 22:31:53 includes requested_reviewer and review_requester details 3573 22:31:53 when requested_reviewer and review_requester data is empty 3574 22:31:53 does not return such info 3575 22:31:53 #issuable_id 3576 22:31:53 returns issuable_id 3577 22:31:53 #issuable_type 3578 22:31:53 when event related to issue 3579 22:31:53 is expected to eq "Issue" 3580 22:31:53 when event related to pull request 3581 22:31:53 is expected to eq "MergeRequest" 3582 22:31:53 #github_identifiers 3583 22:31:53 returns a hash with needed identifiers 3584 22:31:53 when event uses user instead of actor 3585 22:31:53 includes the actor details 3586 22:31:53 .from_json_hash 3587 22:31:53 behaves like an IssueEvent 3588 22:31:53 returns an instance of IssueEvent 3589 22:31:53 the returned IssueEvent 3590 22:31:53 includes the issue event id 3591 22:31:53 includes the issue event "event" 3592 22:31:53 includes the issue event commit_id 3593 22:31:53 includes the issue event source 3594 22:31:53 includes the issue data 3595 22:31:53 includes the created timestamp 3596 22:31:53 when actor data present 3597 22:31:53 includes the actor details 3598 22:31:53 when actor data is empty 3599 22:31:53 does not return such info 3600 22:31:53 when label data is present 3601 22:31:53 includes the label_title 3602 22:31:53 when label data is empty 3603 22:31:53 does not return such info 3604 22:31:53 when rename field is present 3605 22:31:53 includes the old_title and new_title fields 3606 22:31:53 when rename field is empty 3607 22:31:53 does not return such info 3608 22:31:53 when milestone data is present 3609 22:31:53 includes the milestone_title 3610 22:31:53 when milestone data is empty 3611 22:31:53 does not return such info 3612 22:31:53 when assignee data is present 3613 22:31:53 includes assignee details 3614 22:31:53 when assignee data is empty 3615 22:31:53 does not return such info 3616 22:31:53 when requested_reviewer and review_requester data is present 3617 22:31:54 includes requested_reviewer and review_requester details 3618 22:31:54 when requested_reviewer and review_requester data is empty 3619 22:31:54 does not return such info 3620 22:31:54 #issuable_id 3621 22:31:54 returns issuable_id 3622 22:31:54 #issuable_type 3623 22:31:54 when event related to issue 3624 22:31:54 is expected to eq "Issue" 3625 22:31:54 when event related to pull request 3626 22:31:54 is expected to eq "MergeRequest" 3627 22:31:54 #github_identifiers 3628 22:31:54 returns a hash with needed identifiers 3629 22:31:54 # [RSpecRunTime] Finishing example group spec/lib/gitlab/github_import/representation/issue_event_spec.rb. It took 1.3 seconds. Expected to take 1.46 seconds. 3630 22:31:54 # [RSpecRunTime] Starting example group spec/lib/gitlab/database/migrations/test_background_runner_spec.rb. Expected to take 1.39 seconds. 3631 22:31:54 Gitlab::Database::Migrations::TestBackgroundRunner 3632 22:31:54 without jobs to run 3633 22:31:54 returns immediately 3634 22:31:54 with jobs to run 3635 22:31:54 finding pending background jobs 3636 22:31:54 finds all the migrations 3637 22:31:54 running migrations 3638 22:31:54 Sampling jobs for TestBackgroundMigration 3639 22:31:54 runs the migration class correctly 3640 22:31:54 Sampling jobs for TestBackgroundMigration 3641 22:31:54 runs the migration for a uniform amount of time 3642 22:31:54 with multiple migrations to run 3643 22:31:54 Sampling jobs for TestBackgroundMigration 3644 22:31:54 Sampling jobs for OtherBackgroundMigration 3645 22:31:54 splits the time between migrations when all migrations use all their time 3646 22:31:54 Sampling jobs for TestBackgroundMigration 3647 22:31:55 Sampling jobs for OtherBackgroundMigration 3648 22:31:55 does not give leftover time to extra migrations 3649 22:31:55 # [RSpecRunTime] RSpec elapsed time: 19 minutes 37.48 seconds. Current RSS: ~1390M. Threads: 5. load average: 1.25 1.17 1.20 1/297 8955 3651 22:31:55 # [RSpecRunTime] Finishing example group spec/lib/gitlab/database/migrations/test_background_runner_spec.rb. It took 1.2 seconds. Expected to take 1.39 seconds. 3652 22:31:55 # [RSpecRunTime] Starting example group spec/views/projects/imports/new.html.haml_spec.rb. Expected to take 1.39 seconds. 3653 22:31:55 projects/imports/new.html.haml 3654 22:31:55 when import fails 3655 22:31:56 escapes HTML in import errors 3656 22:31:56 # [RSpecRunTime] RSpec elapsed time: 19 minutes 38.89 seconds. Current RSS: ~1389M. Threads: 5. load average: 1.25 1.17 1.20 1/297 8964 3658 22:31:56 # [RSpecRunTime] Finishing example group spec/views/projects/imports/new.html.haml_spec.rb. It took 1.42 seconds. Expected to take 1.39 seconds. 3659 22:31:56 # [RSpecRunTime] Starting example group spec/lib/bitbucket_server/representation/activity_spec.rb. Expected to take 1.31 seconds. 3660 22:31:56 BitbucketServer::Representation::Activity 3661 22:31:56 declined event 3662 22:31:56 is expected to eq 18 3663 22:31:56 is expected to be falsey 3664 22:31:56 is expected to be falsey 3665 22:31:56 is expected to be falsey 3666 22:31:56 is expected to be truthy 3667 22:31:56 is expected to eq "root" 3668 22:31:56 is expected to eq "slug" 3669 22:31:57 is expected to eq "test.user@example.com" 3670 22:31:57 is expected to be a kind of Time 3672 22:31:57 is expected to match (a hash including {:id => 18, :decliner_name => "root", :decliner_username => "slug", :decliner_email => "test.user@example.com"}) 3673 22:31:57 approved event 3674 22:31:57 is expected to eq 15 3675 22:31:57 is expected to be falsey 3676 22:31:57 is expected to be falsey 3677 22:31:57 is expected to be falsey 3678 22:31:57 is expected to be truthy 3679 22:31:57 is expected to eq "root" 3680 22:31:57 is expected to eq "slug" 3681 22:31:57 is expected to eq "test.user@example.com" 3682 22:31:57 is expected to be a kind of Time 3684 22:31:57 is expected to match (a hash including {:id => 15, :approver_name => "root", :approver_username => "slug", :approver_email => "test.user@example.com"}) 3685 22:31:57 inline comment 3686 22:31:57 is expected to eq 19 3687 22:31:57 is expected to be truthy 3688 22:31:57 is expected to be truthy 3689 22:31:57 is expected to be a kind of BitbucketServer::Representation::PullRequestComment 3690 22:31:57 is expected to be a kind of Time 3692 22:31:57 is expected to match (a hash including {:id => 19}) 3693 22:31:57 regular comment 3694 22:31:57 is expected to eq 11 3695 22:31:57 is expected to be truthy 3696 22:31:57 is expected to be falsey 3697 22:31:57 is expected to be a kind of BitbucketServer::Representation::Comment 3698 22:31:57 is expected to be a kind of Time 3700 22:31:57 is expected to match (a hash including {:id => 11}) 3702 22:31:57 is expected to eq 7 3703 22:31:57 is expected to be falsey 3704 22:31:57 is expected to be falsey 3705 22:31:57 is expected to eq "root" 3706 22:31:57 is expected to eq "root" 3707 22:31:57 is expected to eq "slug" 3708 22:31:57 is expected to eq "test.user@example.com" 3709 22:31:57 is expected to be a kind of Time 3710 22:31:57 is expected to be a kind of Time 3711 22:31:57 is expected to eq "839fa9a2d434eb697815b8fcafaecc51accfdbbc" 3713 22:31:57 is expected to match (a hash including {:id => 7, :committer_user => "root", :committer_name => "root", :committer_username => "slug", :committer_email => "test.user@example.com", :merge_commit => "839fa9a2d434eb697815b8fcafaecc51accfdbbc"}) 3714 22:31:57 # [RSpecRunTime] Finishing example group spec/lib/bitbucket_server/representation/activity_spec.rb. It took 1.17 seconds. Expected to take 1.31 seconds. 3715 22:31:57 # [RSpecRunTime] Starting example group spec/lib/gitlab/auth/saml/identity_linker_spec.rb. Expected to take 1.31 seconds. 3716 22:31:57 Gitlab::Auth::Saml::IdentityLinker 3717 22:31:57 with valid GitLab initiated request 3718 22:31:57 linked identity exists 3719 22:31:58 doesn't create new identity 3720 22:31:58 sets #changed? to false 3721 22:31:58 identity needs to be created 3722 22:31:58 creates linked identity 3723 22:31:58 sets identity provider 3724 22:31:58 sets identity extern_uid 3725 22:31:59 sets #changed? to true 3726 22:31:59 with identity provider initiated request 3727 22:31:59 attempting to link accounts raises an exception 3728 22:31:59 # [RSpecRunTime] Finishing example group spec/lib/gitlab/auth/saml/identity_linker_spec.rb. It took 1.3 seconds. Expected to take 1.31 seconds. 3729 22:31:59 # [RSpecRunTime] Starting example group spec/initializers/check_forced_decomposition_spec.rb. Expected to take 1.23 seconds. 3730 22:31:59 check_forced_decomposition initializer 3731 22:31:59 for production env 3732 22:31:59 for single database 3733 22:31:59 example at ./spec/initializers/check_forced_decomposition_spec.rb:24 (PENDING: Skipping because some of the extra databases [:ci, :sec, :embedding, :geo] are setup) 3734 22:31:59 for multiple database 3735 22:31:59 when ci and main share the same database 3736 22:31:59 is expected not to raise Exception 3737 22:31:59 when host is not present 3738 22:31:59 is expected not to raise Exception 3739 22:31:59 when ci and main share the same database but different host 3740 22:31:59 is expected to raise Exception with message matching /Separate CI database is not ready/ 3741 22:31:59 when ci and main are different databases 3742 22:31:59 is expected to raise Exception with message matching /Separate CI database is not ready/ 3744 22:31:59 is expected not to raise Exception 3745 22:31:59 when env var GITLAB_ALLOW_SEPARATE_CI_DATABASE is true 3746 22:31:59 is expected not to raise Exception 3747 22:31:59 when env var GITLAB_ALLOW_SEPARATE_CI_DATABASE is false 3748 22:31:59 is expected to raise Exception with message matching /Separate CI database is not ready/ 3749 22:31:59 # [RSpecRunTime] Finishing example group spec/initializers/check_forced_decomposition_spec.rb. It took 0.58 second. Expected to take 1.23 seconds. 3750 22:31:59 # [RSpecRunTime] Starting example group spec/workers/integrations/jira_connect/remove_branch_worker_spec.rb. Expected to take 1.22 seconds. 3751 22:31:59 Integrations::JiraConnect::RemoveBranchWorker 3752 22:31:59 behaves like worker with data consistency 3753 22:31:59 .get_data_consistency_feature_flag_enabled? 3754 22:31:59 returns true 3755 22:31:59 .get_data_consistency_per_database 3756 22:31:59 returns correct data consistency 3758 22:32:00 calls JiraConnect::SyncService#execute 3759 22:32:00 when project no longer exists 3760 22:32:00 does not call JiraConnect::SyncService 3761 22:32:00 # [RSpecRunTime] RSpec elapsed time: 19 minutes 43.13 seconds. Current RSS: ~1400M. Threads: 5. load average: 1.23 1.17 1.20 1/296 8983 3763 22:32:01 # [RSpecRunTime] Finishing example group spec/workers/integrations/jira_connect/remove_branch_worker_spec.rb. It took 1.18 seconds. Expected to take 1.22 seconds. 3764 22:32:01 # [RSpecRunTime] Starting example group spec/lib/gitlab/database/unidirectional_copy_trigger_spec.rb. Expected to take 1.15 seconds. 3765 22:32:01 Gitlab::Database::UnidirectionalCopyTrigger 3767 22:32:01 when a single column name is given 3768 22:32:01 returns the trigger name 3769 22:32:01 when multiple column names are given 3770 22:32:01 returns the trigger name 3771 22:32:01 when a different number of new and old column names are given 3772 22:32:01 raises an error 3774 22:32:01 when a single column name is given 3775 22:32:01 creates the trigger and function 3776 22:32:01 properly copies the column data using the trigger function 3777 22:32:01 when multiple column names are given 3778 22:32:01 creates the trigger and function to set all the columns 3779 22:32:01 properly copies the columns using the trigger function 3780 22:32:01 when a custom trigger name is given 3781 22:32:01 creates the trigger and function with the custom name 3782 22:32:01 when the trigger function already exists 3783 22:32:01 does not raise an error 3784 22:32:01 when a different number of new and old column names are given 3785 22:32:01 raises an error 3787 22:32:01 drops the trigger and function for the given arguments 3788 22:32:01 when the trigger does not exist 3789 22:32:01 does not raise an error 3790 22:32:01 # [RSpecRunTime] Finishing example group spec/lib/gitlab/database/unidirectional_copy_trigger_spec.rb. It took 0.67 second. Expected to take 1.15 seconds. 3791 22:32:01 # [RSpecRunTime] Starting example group spec/lib/gitlab/database/postgres_partitioned_table_spec.rb. Expected to take 1.08 seconds. 3792 22:32:01 Gitlab::Database::PostgresPartitionedTable 3793 22:32:01 does not allow STI 3794 22:32:01 associations 3795 22:32:01 is expected to have many postgres_partitions 3796 22:32:01 behaves like a postgres model 3797 22:32:01 .by_identifier 3798 22:32:01 finds the Gitlab::Database::PostgresPartitionedTable 3799 22:32:01 raises an error if not found 3800 22:32:01 raises ArgumentError if given a non-fully qualified identifier 3802 22:32:01 returns the name 3804 22:32:01 returns the schema 3806 22:32:01 returns the name 3807 22:32:01 .find_by_name_in_current_schema 3808 22:32:01 finds the partitioned tables in the current schema by name 3809 22:32:02 does not find partitioned tables in a different schema 3810 22:32:02 .each_partition 3811 22:32:02 without partitions 3812 22:32:02 does not yield control 3813 22:32:02 with partitions 3814 22:32:02 yields control with partition as argument 3816 22:32:02 returns true for tables partitioned by range 3817 22:32:02 returns true for tables partitioned by list 3818 22:32:02 returns false for tables partitioned by hash 3820 22:32:02 returns false for tables partitioned by range 3821 22:32:02 returns false for tables partitioned by list 3822 22:32:02 returns true for tables partitioned by hash 3824 22:32:02 returns the partitioning strategy 3825 22:32:02 #key_columns 3826 22:32:02 returns the partitioning key columns 3827 22:32:02 # [RSpecRunTime] Finishing example group spec/lib/gitlab/database/postgres_partitioned_table_spec.rb. It took 0.82 second. Expected to take 1.08 seconds. 3828 22:32:02 # [RSpecRunTime] Starting example group spec/helpers/organizations/organization_helper_spec.rb. Expected to take 1.04 seconds. 3829 22:32:02 Organizations::OrganizationHelper 3830 22:32:02 #organization_layout_nav 3831 22:32:02 when current controller is not organizations 3832 22:32:02 returns organization 3833 22:32:02 when current controller is organizations 3834 22:32:02 when current action is index or new 3835 22:32:02 returns your_work 3836 22:32:02 when current action is not index or new 3837 22:32:02 returns organization 3838 22:32:02 #organization_groups_and_projects_app_data 3839 22:32:02 includes all other non-conditional data 3840 22:32:02 when the user can create a group 3841 22:32:02 returns expected json 3842 22:32:02 when the user can create a project 3843 22:32:02 returns expected json 3844 22:32:02 when the organization has groups 3845 22:32:02 returns expected json 3846 22:32:02 #organization_new_app_data 3847 22:32:02 returns expected json 3848 22:32:02 #organization_show_app_data 3849 22:32:02 includes all other non-conditional data 3850 22:32:02 when the user can create a group 3851 22:32:03 returns expected json 3852 22:32:03 when the user can create a project 3853 22:32:03 returns expected json 3854 22:32:03 when the organization has groups 3855 22:32:03 returns expected json 3856 22:32:03 #organization_groups_edit_app_data 3857 22:32:03 returns expected json 3858 22:32:03 #organization_groups_new_app_data 3859 22:32:03 returns expected json 3860 22:32:03 #home_organization_setting_app_data 3861 22:32:03 returns expected json 3862 22:32:03 #organization_user_app_data 3863 22:32:03 returns expected json 3864 22:32:03 #organization_index_app_data 3865 22:32:03 returns expected data object 3866 22:32:03 #admin_organizations_index_app_data 3867 22:32:03 returns expected json 3868 22:32:03 #organization_activity_app_data 3869 22:32:03 returns expected data object 3870 22:32:03 #organization_projects_edit_app_data 3871 22:32:03 returns expected json 3872 22:32:03 #organization_settings_general_app_data 3873 22:32:03 returns expected json 3874 22:32:03 # [RSpecRunTime] Finishing example group spec/helpers/organizations/organization_helper_spec.rb. It took 1.05 seconds. Expected to take 1.04 seconds. 3875 22:32:03 # [RSpecRunTime] Starting example group spec/rubocop/cop/gitlab/namespaced_class_spec.rb. Expected to take 1.01 seconds. 3876 22:32:03 RuboCop::Cop::Gitlab::NamespacedClass 3877 22:32:03 with Gitlab namespace 3878 22:32:03 behaves like enforces namespaced classes 3879 22:32:03 flags a class definition without additional namespace 3880 22:32:03 flags a compact class definition without additional namespace 3881 22:32:03 flags a class definition with inheritance without additional namespace 3882 22:32:03 does not flag the class definition with namespace in separate lines 3883 22:32:03 does not flag the class definition with nested namespace in separate lines 3884 22:32:03 does not flag the class definition nested inside namespaced class 3885 22:32:03 does not flag the class definition nested inside compact namespace 3886 22:32:03 does not flag a compact namespaced class definition 3887 22:32:03 does not flag a truly compact namespaced class definition 3888 22:32:03 with ::Gitlab namespace 3889 22:32:03 behaves like enforces namespaced classes 3890 22:32:03 flags a class definition without additional namespace 3891 22:32:03 flags a compact class definition without additional namespace 3892 22:32:04 flags a class definition with inheritance without additional namespace 3893 22:32:04 does not flag the class definition with namespace in separate lines 3894 22:32:04 does not flag the class definition with nested namespace in separate lines 3895 22:32:04 does not flag the class definition nested inside namespaced class 3896 22:32:04 does not flag the class definition nested inside compact namespace 3897 22:32:04 does not flag a compact namespaced class definition 3898 22:32:04 does not flag a truly compact namespaced class definition 3899 22:32:04 without top-level namespace 3900 22:32:04 behaves like enforces namespaced classes 3901 22:32:04 flags a class definition without additional namespace 3902 22:32:04 flags a compact class definition without additional namespace 3903 22:32:04 flags a class definition with inheritance without additional namespace 3904 22:32:04 does not flag the class definition with namespace in separate lines 3905 22:32:04 does not flag the class definition with nested namespace in separate lines 3906 22:32:04 does not flag the class definition nested inside namespaced class 3907 22:32:04 does not flag the class definition nested inside compact namespace 3908 22:32:04 does not flag a compact namespaced class definition 3909 22:32:04 does not flag a truly compact namespaced class definition 3910 22:32:04 # [RSpecRunTime] Finishing example group spec/rubocop/cop/gitlab/namespaced_class_spec.rb. It took 0.88 second. Expected to take 1.01 seconds. 3911 22:32:04 # [RSpecRunTime] Starting example group spec/models/oauth_access_grant_spec.rb. Expected to take 0.98 second. 3912 22:32:04 OauthAccessGrant 3913 22:32:04 does not allow STI 3915 22:32:05 cascades to oauth_openid_requests 3916 22:32:05 # [RSpecRunTime] Finishing example group spec/models/oauth_access_grant_spec.rb. It took 0.79 second. Expected to take 0.98 second. 3917 22:32:05 # [RSpecRunTime] Starting example group spec/lib/gitlab/ci/reports/codequality_reports_comparer_spec.rb. Expected to take 0.92 second. 3918 22:32:05 Gitlab::Ci::Reports::CodequalityReportsComparer 3920 22:32:05 when head report has an error 3921 22:32:05 returns status failed 3922 22:32:05 when head report does not have errors 3923 22:32:05 returns status success 3924 22:32:05 when head report does not exist 3925 22:32:05 returns status not found 3926 22:32:05 when base report does not exist 3927 22:32:05 returns status success 3928 22:32:05 #errors_count 3929 22:32:05 when head report has an error 3930 22:32:05 returns the number of new errors 3931 22:32:05 when head report does not have an error 3932 22:32:05 returns zero 3933 22:32:05 #resolved_count 3934 22:32:05 when base report has an error and head has a different error 3935 22:32:05 counts the base report error as resolved 3936 22:32:05 when base report has errors head has no errors 3937 22:32:05 counts the base report errors as resolved 3938 22:32:05 when base report has errors and head has the same error 3939 22:32:05 returns zero 3940 22:32:05 when base report does not have errors and head has errors 3941 22:32:05 returns zero 3942 22:32:05 when base report is nil 3943 22:32:05 returns zero 3944 22:32:05 #total_count 3945 22:32:05 when base report has an error 3946 22:32:05 returns zero 3947 22:32:05 when head report has an error 3948 22:32:05 includes the head report error in the count 3949 22:32:05 when base report has errors and head report has errors 3950 22:32:05 includes errors in the count 3951 22:32:05 when base report has errors and head report has the same error 3952 22:32:05 includes errors in the count 3953 22:32:05 when base report is nil 3954 22:32:05 returns zero 3955 22:32:05 #existing_errors 3956 22:32:05 when base report has errors and head has the same error 3957 22:32:05 includes the base report errors sorted by severity 3958 22:32:05 when base report has errors and head has a different error 3959 22:32:05 returns an empty array 3960 22:32:05 when base report does not have errors and head has errors 3961 22:32:05 returns an empty array 3962 22:32:05 when base report is nil 3963 22:32:05 returns an empty array 3965 22:32:05 when base report has errors and head has more errors 3966 22:32:05 includes errors not found in the base report sorted by severity 3967 22:32:05 when base report has an error and head has no errors 3968 22:32:05 returns an empty array 3969 22:32:05 when base report does not have errors and head has errors 3970 22:32:05 returns the head report error 3971 22:32:05 when base report is nil 3972 22:32:05 returns an empty array 3973 22:32:05 #resolved_errors 3974 22:32:05 when base report errors are still found in the head report 3975 22:32:06 returns an empty array 3976 22:32:06 when base report has errors and head has a different error 3977 22:32:06 returns the base report errors not found in the head report, sorted by severity 3978 22:32:06 when base report does not have errors and head has errors 3979 22:32:06 returns an empty array 3980 22:32:06 when base report is nil 3981 22:32:06 returns an empty array 3982 22:32:06 # [RSpecRunTime] Finishing example group spec/lib/gitlab/ci/reports/codequality_reports_comparer_spec.rb. It took 0.88 second. Expected to take 0.92 second. 3983 22:32:06 # [RSpecRunTime] Starting example group spec/views/shared/milestones/_top.html.haml_spec.rb. Expected to take 0.91 second. 3984 22:32:06 shared/milestones/_top.html.haml 3985 22:32:06 does not render a deprecation message for a non-legacy and non-dashboard milestone 3986 22:32:06 # [RSpecRunTime] Finishing example group spec/views/shared/milestones/_top.html.haml_spec.rb. It took 0.82 second. Expected to take 0.91 second. 3987 22:32:06 # [RSpecRunTime] Starting example group spec/lib/gitlab/bitbucket_import/importers/users_importer_spec.rb. Expected to take 0.85 second. 3988 22:32:06 Gitlab::BitbucketImport::Importers::UsersImporter 3990 22:32:07 logs the beginning, end, and each batch 3991 22:32:07 writes the nickname or name mapped to account_id to cache 3992 22:32:07 # [RSpecRunTime] Finishing example group spec/lib/gitlab/bitbucket_import/importers/users_importer_spec.rb. It took 0.85 second. Expected to take 0.85 second. 3993 22:32:07 # [RSpecRunTime] Starting example group spec/lib/gitlab/auth/atlassian/user_spec.rb. Expected to take 0.83 second. 3994 22:32:07 Gitlab::Auth::Atlassian::User 3995 22:32:07 .assign_identity_from_auth_hash! 3996 22:32:07 behaves like an atlassian identity 3997 22:32:07 sets the proper values 3999 22:32:07 for an existing user 4000 22:32:07 with an existing Atlassian Identity 4001 22:32:08 finds the existing user and identity 4002 22:32:08 behaves like an atlassian identity 4003 22:32:08 sets the proper values 4004 22:32:08 for a new user 4005 22:32:08 creates the user and identity 4006 22:32:08 # [RSpecRunTime] Finishing example group spec/lib/gitlab/auth/atlassian/user_spec.rb. It took 0.87 second. Expected to take 0.83 second. 4007 22:32:08 # [RSpecRunTime] Starting example group spec/lib/api/ml/mlflow/api_helpers_spec.rb. Expected to take 0.78 second. 4008 22:32:08 API::Ml::Mlflow::ApiHelpers 4009 22:32:08 #custom_version 4010 22:32:08 input: [], output: nil 4012 22:32:08 input: [{}], output: nil 4014 22:32:08 input: [{:key=>"foo", :value=>"bar"}], output: nil 4016 22:32:08 input: [{:key=>"gitlab.version", :value=>"1.2.3"}], output: "1.2.3" 4018 22:32:08 input: [{:key=>"foo", :value=>"bar"}, {:key=>"gitlab.foo", :value=>"baz"}], output: nil 4020 22:32:08 #gitlab_tags 4021 22:32:08 when tags param is not supplied 4023 22:32:08 when tags param is supplied 4024 22:32:08 input: [], output: nil 4026 22:32:08 input: [{}], output: {} 4028 22:32:08 input: [{:key=>"foo", :value=>"bar"}], output: {} 4030 22:32:08 input: [{:key=>"gitlab.version", :value=>"1.2.3"}], output: {"version"=>"1.2.3"} 4032 22:32:08 input: [{:key=>"foo", :value=>"bar"}, {:key=>"gitlab.foo", :value=>"baz"}], output: {"foo"=>"baz"} 4034 22:32:08 #model_order_params 4035 22:32:08 input: "", order_by: "name", sort: "asc" 4037 22:32:08 input: "name", order_by: "name", sort: "asc" 4039 22:32:09 input: "name DESC", order_by: "name", sort: "desc" 4041 22:32:09 input: "last_updated_timestamp", order_by: "updated_at", sort: "asc" 4043 22:32:09 input: "last_updated_timestamp asc", order_by: "updated_at", sort: "asc" 4045 22:32:09 input: "last_updated_timestamp DESC", order_by: "updated_at", sort: "desc" 4047 22:32:09 #model_filter_params 4048 22:32:09 input: "", output: {} 4050 22:32:09 input: "name=\"\"", output: {:name=>""} 4052 22:32:09 input: "name=foo", output: {:name=>"foo"} 4054 22:32:09 input: "name=\"foo\"", output: {:name=>"foo"} 4056 22:32:09 input: "invalid=\"foo\"", output: {} 4058 22:32:09 #candidates_order_params 4059 22:32:09 input: "", order_by: nil, order_by_type: nil, sort: nil 4061 22:32:09 input: "created_at", order_by: "created_at", order_by_type: "column", sort: nil 4063 22:32:09 input: "created_at ASC", order_by: "created_at", order_by_type: "column", sort: "ASC" 4065 22:32:09 input: "metrics.something", order_by: "something", order_by_type: "metric", sort: nil 4067 22:32:09 input: "metrics.something asc", order_by: "something", order_by_type: "metric", sort: "asc" 4069 22:32:09 input: "metrics.something.blah asc", order_by: "something", order_by_type: "metric", sort: "asc" 4071 22:32:09 input: "params.something ASC", order_by: nil, order_by_type: nil, sort: "ASC" 4073 22:32:09 input: "metadata.something ASC", order_by: nil, order_by_type: nil, sort: "ASC" 4075 22:32:09 # [RSpecRunTime] Finishing example group spec/lib/api/ml/mlflow/api_helpers_spec.rb. It took 0.87 second. Expected to take 0.78 second. 4076 22:32:09 # [RSpecRunTime] Starting example group spec/lib/gitlab/middleware/compressed_json_spec.rb. Expected to take 0.78 second. 4077 22:32:09 Gitlab::Middleware::CompressedJson 4079 22:32:09 with packages route 4080 22:32:09 with instance level endpoint 4081 22:32:09 with npm advisory bulk url 4082 22:32:09 behaves like decompress middleware 4083 22:32:09 replaces input with a decompressed content 4084 22:32:09 behaves like decompress middleware 4085 22:32:09 replaces input with a decompressed content 4086 22:32:09 with npm quick audit url 4087 22:32:09 behaves like decompress middleware 4088 22:32:09 replaces input with a decompressed content 4089 22:32:09 behaves like decompress middleware 4090 22:32:09 replaces input with a decompressed content 4091 22:32:09 with project level endpoint 4092 22:32:09 with npm advisory bulk url 4093 22:32:09 behaves like decompress middleware 4094 22:32:09 replaces input with a decompressed content 4095 22:32:09 behaves like decompress middleware 4096 22:32:09 replaces input with a decompressed content 4097 22:32:09 behaves like handles non integer ID 4098 22:32:09 with a URL-encoded ID 4099 22:32:09 behaves like decompress middleware 4100 22:32:09 replaces input with a decompressed content 4101 22:32:09 with a non URL-encoded ID 4102 22:32:09 behaves like passes input 4103 22:32:09 keeps the original input 4104 22:32:09 with a blank ID 4105 22:32:09 behaves like passes input 4106 22:32:09 keeps the original input 4107 22:32:09 with npm quick audit url 4108 22:32:09 behaves like decompress middleware 4109 22:32:09 replaces input with a decompressed content 4110 22:32:09 behaves like decompress middleware 4111 22:32:09 replaces input with a decompressed content 4112 22:32:09 behaves like handles non integer ID 4113 22:32:09 with a URL-encoded ID 4114 22:32:09 behaves like decompress middleware 4115 22:32:09 replaces input with a decompressed content 4116 22:32:09 with a non URL-encoded ID 4117 22:32:09 behaves like passes input 4118 22:32:09 keeps the original input 4119 22:32:09 with a blank ID 4120 22:32:09 behaves like passes input 4121 22:32:09 keeps the original input 4122 22:32:09 with group level endpoint 4123 22:32:09 with npm advisory bulk url 4124 22:32:09 behaves like decompress middleware 4125 22:32:09 replaces input with a decompressed content 4126 22:32:09 behaves like decompress middleware 4127 22:32:10 replaces input with a decompressed content 4128 22:32:10 behaves like handles non integer ID 4129 22:32:10 with a URL-encoded ID 4130 22:32:10 behaves like decompress middleware 4131 22:32:10 replaces input with a decompressed content 4132 22:32:10 with a non URL-encoded ID 4133 22:32:10 behaves like passes input 4134 22:32:10 keeps the original input 4135 22:32:10 with a blank ID 4136 22:32:10 behaves like passes input 4137 22:32:10 keeps the original input 4138 22:32:10 with npm quick audit url 4139 22:32:10 behaves like decompress middleware 4140 22:32:10 replaces input with a decompressed content 4141 22:32:10 behaves like decompress middleware 4142 22:32:10 replaces input with a decompressed content 4143 22:32:10 behaves like handles non integer ID 4144 22:32:10 with a URL-encoded ID 4145 22:32:10 behaves like decompress middleware 4146 22:32:10 replaces input with a decompressed content 4147 22:32:10 with a non URL-encoded ID 4148 22:32:10 behaves like passes input 4149 22:32:10 keeps the original input 4150 22:32:10 with a blank ID 4151 22:32:10 behaves like passes input 4152 22:32:10 keeps the original input 4153 22:32:10 with some other route 4154 22:32:10 behaves like passes input 4155 22:32:10 keeps the original input 4156 22:32:10 with the wrong project path 4157 22:32:10 behaves like passes input 4158 22:32:10 keeps the original input 4159 22:32:10 when payload is too large 4160 22:32:10 reads only limited size 4161 22:32:10 # [RSpecRunTime] Finishing example group spec/lib/gitlab/middleware/compressed_json_spec.rb. It took 0.81 second. Expected to take 0.78 second. 4162 22:32:10 # [RSpecRunTime] Starting example group spec/uploaders/gitlab_uploader_spec.rb. Expected to take 0.73 second. 4163 22:32:10 GitlabUploader 4164 22:32:10 #file_storage? 4165 22:32:10 when file storage is used 4166 22:32:10 is expected to be file storage 4167 22:32:10 when is remote storage 4168 22:32:10 is expected not to be file storage 4169 22:32:10 #file_cache_storage? 4170 22:32:10 when file storage is used 4171 22:32:10 is expected to be file cache storage 4172 22:32:10 when is remote storage 4173 22:32:10 is expected not to be file cache storage 4174 22:32:10 #move_to_cache 4176 22:32:10 #move_to_store 4178 22:32:10 #empty_size? 4181 22:32:10 moves the file from the working directory to the cache directory 4182 22:32:10 #replace_file_without_saving! 4183 22:32:10 allows file to be replaced without triggering any callbacks 4185 22:32:10 when trace is stored in File storage 4186 22:32:10 when file exists 4187 22:32:10 returns io stream 4188 22:32:10 when passing block it yields 4189 22:32:10 when file does not exist 4191 22:32:10 when passing block it does not yield 4192 22:32:10 when trace is stored in Object storage 4193 22:32:10 when file exists 4194 22:32:10 returns http io stream 4195 22:32:10 when passing block it yields 4196 22:32:10 when file does not exist 4198 22:32:10 when passing block it does not yield 4199 22:32:10 #url_or_file_path 4200 22:32:10 returns url when in remote storage 4201 22:32:10 returns url when in remote storage 4203 22:32:10 is expected to eq ["Running", "gitlab-runner"] 4204 22:32:10 #check_remote_file_existence_on_upload? 4205 22:32:10 is expected to equal true 4206 22:32:10 #sync_model_object_store? 4207 22:32:10 is expected to equal false 4209 22:32:10 is expected to raise RuntimeError with message matching /not supported/ 4210 22:32:10 .storage_location 4211 22:32:10 sets the identifier for the storage location options 4212 22:32:10 when given identifier is not known 4213 22:32:11 raises an error 4214 22:32:11 # [RSpecRunTime] Finishing example group spec/uploaders/gitlab_uploader_spec.rb. It took 0.7 second. Expected to take 0.73 second. 4215 22:32:11 # [RSpecRunTime] Starting example group spec/lib/bulk_imports/projects/pipelines/container_expiration_policy_pipeline_spec.rb. Expected to take 0.73 second. 4216 22:32:11 BulkImports::Projects::Pipelines::ContainerExpirationPolicyPipeline 4218 22:32:12 imports project feature 4219 22:32:12 # [RSpecRunTime] RSpec elapsed time: 19 minutes 54.51 seconds. Current RSS: ~1387M. Threads: 5. load average: 1.20 1.16 1.20 1/296 8992 4221 22:32:12 # [RSpecRunTime] Finishing example group spec/lib/bulk_imports/projects/pipelines/container_expiration_policy_pipeline_spec.rb. It took 1.4 seconds. Expected to take 0.73 second. 4222 22:32:12 # [RSpecRunTime] Starting example group spec/services/achievements/update_user_achievement_service_spec.rb. Expected to take 0.69 second. 4223 22:32:12 Achievements::UpdateUserAchievementService 4225 22:32:13 when user does not have permission 4226 22:32:13 returns an error 4227 22:32:14 # [RSpecRunTime] RSpec elapsed time: 19 minutes 56.15 seconds. Current RSS: ~1384M. Threads: 5. load average: 1.18 1.16 1.19 1/296 8993 4229 22:32:14 when user has permission 4230 22:32:14 updates the achievement 4231 22:32:14 when params are invalid 4232 22:32:14 returns an error 4233 22:32:14 # [RSpecRunTime] Finishing example group spec/services/achievements/update_user_achievement_service_spec.rb. It took 1.77 seconds. Expected to take 0.69 second. 4234 22:32:14 # [RSpecRunTime] Starting example group spec/lib/gitlab/untrusted_regexp_spec.rb. Expected to take 0.68 second. 4235 22:32:14 Gitlab::UntrustedRegexp 4237 22:32:14 invalid regexp 4238 22:32:14 is expected to raise RegexpError 4239 22:32:14 #replace_all 4240 22:32:14 replaces all instances of the match in a string 4241 22:32:14 #replace_gsub 4242 22:32:14 replaces all instances of the match in a string 4243 22:32:14 limits the number of replacements 4244 22:32:14 replaces nothing when no match 4245 22:32:14 handles empty text 4247 22:32:14 replaces the first instance of the match in a string 4249 22:32:14 returns true for a match 4250 22:32:14 returns false for no match 4251 22:32:14 can handle regular expressions in multiline mode 4253 22:32:14 malicious regexp 4254 22:32:14 takes under a second 4255 22:32:14 matching regexp 4256 22:32:14 returns an array of nil matches 4257 22:32:14 non-matching regexp 4258 22:32:14 returns an array of nil matches 4260 22:32:14 malicious regexp 4261 22:32:14 takes under a second 4262 22:32:14 empty regexp 4263 22:32:14 returns an array of nil matches 4264 22:32:14 empty capture group regexp 4265 22:32:14 returns an array of nil matches in an array 4266 22:32:14 no capture group 4267 22:32:14 returns the whole match 4268 22:32:14 one capture group 4269 22:32:14 returns the captured part 4270 22:32:14 two capture groups 4271 22:32:14 returns the captured parts 4272 22:32:14 #extract_named_group 4273 22:32:14 returns values for both named groups 4274 22:32:14 returns nil if there was no match for group 4275 22:32:14 returns nil if match is nil 4276 22:32:14 raises if name is not a capture group 4278 22:32:14 when there are matches 4279 22:32:14 returns a match object 4280 22:32:14 when there are no matches 4282 22:32:14 # [RSpecRunTime] Finishing example group spec/lib/gitlab/untrusted_regexp_spec.rb. It took 0.79 second. Expected to take 0.68 second. 4283 22:32:14 # [RSpecRunTime] Starting example group spec/config/inject_enterprise_edition_module_spec.rb. Expected to take 0.64 second. 4284 22:32:14 InjectEnterpriseEditionModule 4285 22:32:14 #prepend_mod_with 4286 22:32:14 behaves like expand the extension with 4287 22:32:14 when extension namespace is set at top-level 4288 22:32:15 calls prepend with the extension module 4289 22:32:15 when extension namespace is set at another namespace 4290 22:32:15 calls prepend with the extension module from the additional namespace 4291 22:32:15 when extension namespace exists but not the extension 4292 22:32:15 does not call prepend 4293 22:32:15 when extension namespace does not exist 4294 22:32:15 does not call prepend 4295 22:32:15 #extend_mod_with 4296 22:32:15 behaves like expand the extension with 4297 22:32:15 when extension namespace is set at top-level 4298 22:32:15 calls extend with the extension module 4299 22:32:15 when extension namespace is set at another namespace 4300 22:32:15 calls extend with the extension module from the additional namespace 4301 22:32:15 when extension namespace exists but not the extension 4302 22:32:15 does not call extend 4303 22:32:15 when extension namespace does not exist 4304 22:32:15 does not call extend 4305 22:32:15 #include_mod_with 4306 22:32:15 behaves like expand the extension with 4307 22:32:15 when extension namespace is set at top-level 4308 22:32:15 calls include with the extension module 4309 22:32:15 when extension namespace is set at another namespace 4310 22:32:15 calls include with the extension module from the additional namespace 4311 22:32:15 when extension namespace exists but not the extension 4312 22:32:15 does not call include 4313 22:32:15 when extension namespace does not exist 4314 22:32:15 does not call include 4315 22:32:15 #prepend_mod 4316 22:32:15 behaves like expand the assumed extension with 4317 22:32:15 when extension namespace is set at top-level 4318 22:32:15 calls prepend with the extension module 4319 22:32:15 when extension namespace exists but not the extension 4320 22:32:15 does not call prepend 4321 22:32:15 when extension namespace does not exist 4322 22:32:15 does not call prepend 4324 22:32:15 behaves like expand the assumed extension with 4325 22:32:15 when extension namespace is set at top-level 4326 22:32:15 calls extend with the extension module 4327 22:32:15 when extension namespace exists but not the extension 4328 22:32:15 does not call extend 4329 22:32:15 when extension namespace does not exist 4330 22:32:15 does not call extend 4331 22:32:15 #include_mod 4332 22:32:15 behaves like expand the assumed extension with 4333 22:32:15 when extension namespace is set at top-level 4334 22:32:15 calls include with the extension module 4335 22:32:15 when extension namespace exists but not the extension 4336 22:32:15 does not call include 4337 22:32:15 when extension namespace does not exist 4338 22:32:15 does not call include 4339 22:32:15 #gitlab_extensions 4340 22:32:15 when there are no extension modules 4341 22:32:15 returns the class itself 4342 22:32:15 when there are extension modules 4343 22:32:15 returns the class itself and any extensions 4344 22:32:15 # [RSpecRunTime] Finishing example group spec/config/inject_enterprise_edition_module_spec.rb. It took 0.67 second. Expected to take 0.64 second. 4345 22:32:15 # [RSpecRunTime] Starting example group spec/lib/gitlab/ci/config/entry/include_spec.rb. Expected to take 0.63 second. 4346 22:32:15 Gitlab::Ci::Config::Entry::Include 4348 22:32:15 when value is a string 4349 22:32:15 is expected to be valid 4350 22:32:15 when value is hash 4351 22:32:15 when using not allowed keys 4352 22:32:15 is expected not to be valid 4353 22:32:15 when using "local" 4354 22:32:15 is expected to be valid 4355 22:32:15 when using "file" 4356 22:32:15 is expected to be valid 4357 22:32:15 when using "template" 4358 22:32:15 is expected to be valid 4359 22:32:15 when using "component" 4360 22:32:15 is expected to be valid 4361 22:32:15 when using "artifact" 4362 22:32:15 and specifying "job" 4363 22:32:15 is expected to be valid 4364 22:32:15 without "job" 4365 22:32:15 is expected not to be valid 4366 22:32:15 has specific error 4367 22:32:15 when using "project" 4368 22:32:15 and specifying "ref" and "file" 4369 22:32:15 is expected to be valid 4370 22:32:15 without "ref" 4371 22:32:15 is expected to be valid 4372 22:32:15 without "file" 4373 22:32:15 is expected not to be valid 4374 22:32:16 has specific error 4375 22:32:16 when using with "rules" 4376 22:32:16 is expected to be valid 4377 22:32:16 when also using "inputs" 4378 22:32:16 is expected to be valid 4379 22:32:16 when rules is not an array of hashes 4380 22:32:16 is expected not to be valid 4381 22:32:16 has specific error 4382 22:32:16 when value is something else 4383 22:32:16 is expected not to be valid 4385 22:32:16 when config is a string 4386 22:32:16 is expected to eq "test.yml" 4387 22:32:16 when config is a hash 4388 22:32:16 is expected to eq {:local=>"test.yml"} 4389 22:32:16 when config has "rules" 4390 22:32:16 is expected to eq {:local=>"test.yml", :rules=>[{:if=>"$VARIABLE"}]} 4391 22:32:16 # [RSpecRunTime] Finishing example group spec/lib/gitlab/ci/config/entry/include_spec.rb. It took 0.61 second. Expected to take 0.63 second. 4392 22:32:16 # [RSpecRunTime] Starting example group spec/presenters/blobs/unfold_presenter_spec.rb. Expected to take 0.59 second. 4393 22:32:16 Blobs::UnfoldPresenter 4395 22:32:16 when "full" is true 4396 22:32:16 returns all lines 4397 22:32:16 when last line is empty 4398 22:32:16 disregards last line 4399 22:32:16 when "since" is equal to 1 4400 22:32:16 does not add top match line 4401 22:32:16 when "since" is greater than 1 4402 22:32:16 adds top match line 4403 22:32:16 when "to" is higher than blob size 4404 22:32:16 does not add bottom match line 4405 22:32:16 when "to" is equal to blob size 4406 22:32:16 does not add bottom match line 4407 22:32:16 when "to" is less than blob size 4408 22:32:16 adds bottom match line 4409 22:32:16 when "to" is less than blob size 4410 22:32:16 adds bottom match line 4411 22:32:16 when "to" is equal to blob size 4412 22:32:16 does not add bottom match line 4413 22:32:16 when "to" is "-1" 4414 22:32:16 does not add bottom match line 4415 22:32:16 last line is the latest blob line 4417 22:32:16 when scope is specified 4418 22:32:16 returns lines cropped by params 4419 22:32:16 when since exceeds number of lines 4420 22:32:16 returns an empty list 4421 22:32:16 when full is true 4422 22:32:16 returns all lines 4423 22:32:16 #match_line_text 4424 22:32:16 when bottom is true 4425 22:32:16 returns empty string 4426 22:32:16 when bottom is false 4427 22:32:16 returns match line string 4429 22:32:16 with empty params 4430 22:32:16 sets default attributes 4431 22:32:16 when full is false 4432 22:32:16 sets attributes 4433 22:32:16 when full is true 4434 22:32:16 sets other attributes 4435 22:32:16 when to is -1 4436 22:32:16 sets other attributes 4437 22:32:16 # [RSpecRunTime] Finishing example group spec/presenters/blobs/unfold_presenter_spec.rb. It took 0.6 second. Expected to take 0.59 second. 4438 22:32:16 # [RSpecRunTime] Starting example group spec/lib/gitlab/kubernetes/rollout_status_spec.rb. Expected to take 0.58 second. 4439 22:32:16 Gitlab::Kubernetes::RolloutStatus 4440 22:32:16 #deployments 4441 22:32:16 stores the deployments 4443 22:32:16 for stable track 4444 22:32:16 stores the union of deployment instances 4445 22:32:16 for stable track 4446 22:32:16 sorts stable instances last 4448 22:32:16 when all instances are finished 4449 22:32:16 is expected to eq 100 4450 22:32:16 when half of the instances are finished 4451 22:32:17 is expected to eq 50 4452 22:32:17 with one deployment 4453 22:32:17 sets the completion percentage when a deployment has more running pods than desired 4454 22:32:17 with two deployments on different tracks 4455 22:32:17 sets the completion percentage when all pods are complete 4456 22:32:17 with two deployments that both have track set to "stable" 4457 22:32:17 sets the completion percentage when all pods are complete 4458 22:32:17 sets the completion percentage when no pods are complete 4459 22:32:17 sets the completion percentage when a quarter of the pods are complete 4460 22:32:17 with two deployments, one with track set to "stable" and one with no track label 4461 22:32:17 sets the completion percentage when all pods are complete 4462 22:32:17 sets the completion percentage when no pods are complete 4463 22:32:17 sets the completion percentage when a third of the pods are complete 4465 22:32:17 when all instances are finished 4466 22:32:17 is expected to be truthy 4467 22:32:17 when half of the instances are finished 4468 22:32:17 is expected to be falsy 4470 22:32:17 when the specs are passed 4471 22:32:17 is expected to be found 4472 22:32:17 when list of specs is empty 4473 22:32:17 is expected not to be found 4475 22:32:17 is expected to be loading 4477 22:32:17 when the specs are passed 4478 22:32:17 is expected not to be not found 4479 22:32:17 when list of specs is empty 4480 22:32:17 is expected to be not found 4481 22:32:17 #canary_ingress_exists? 4482 22:32:17 when canary ingress exists 4483 22:32:17 returns true 4484 22:32:17 when canary ingress does not exist 4485 22:32:17 returns false 4486 22:32:17 # [RSpecRunTime] Finishing example group spec/lib/gitlab/kubernetes/rollout_status_spec.rb. It took 0.67 second. Expected to take 0.58 second. 4487 22:32:17 # [RSpecRunTime] Starting example group spec/lib/gitlab/ci/config/entry/allow_failure_spec.rb. Expected to take 0.55 second. 4488 22:32:17 Gitlab::Ci::Config::Entry::AllowFailure 4490 22:32:17 when entry config value is valid 4491 22:32:17 with boolean values 4492 22:32:17 behaves like valid entry 4494 22:32:17 returns key value 4497 22:32:17 behaves like valid entry 4499 22:32:17 returns key value 4502 22:32:17 with hash values 4503 22:32:17 behaves like valid entry 4505 22:32:17 returns key value 4508 22:32:17 behaves like valid entry 4510 22:32:17 returns key value 4513 22:32:17 when entry value is not valid 4514 22:32:17 when it has a wrong type 4515 22:32:17 behaves like invalid entry 4517 22:32:17 is expected not to be valid 4518 22:32:17 is expected to include "allow failure config should be a hash or a boolean value" 4519 22:32:17 with string exit codes 4520 22:32:17 behaves like invalid entry 4522 22:32:17 is expected not to be valid 4523 22:32:17 is expected to include "allow failure exit codes should be an array of integers or an integer" 4524 22:32:17 with array of strings as exit codes 4525 22:32:17 behaves like invalid entry 4527 22:32:17 is expected not to be valid 4528 22:32:17 is expected to include "allow failure exit codes should be an array of integers or an integer" 4529 22:32:17 when it has an extra keys 4530 22:32:17 behaves like invalid entry 4532 22:32:17 is expected not to be valid 4533 22:32:17 is expected to include "allow failure config contains unknown keys: extra" 4534 22:32:18 # [RSpecRunTime] Finishing example group spec/lib/gitlab/ci/config/entry/allow_failure_spec.rb. It took 0.47 second. Expected to take 0.55 second. 4535 22:32:18 # [RSpecRunTime] Starting example group spec/routing/organizations/projects_controller_routing_spec.rb. Expected to take 0.53 second. 4536 22:32:18 Organizations::GroupsController 4537 22:32:18 routes to projects#edit 4538 22:32:18 # [RSpecRunTime] Finishing example group spec/routing/organizations/projects_controller_routing_spec.rb. It took 0.55 second. Expected to take 0.53 second. 4539 22:32:18 # [RSpecRunTime] Starting example group spec/tooling/danger/sidekiq_args_spec.rb. Expected to take 0.5 second. 4540 22:32:18 Tooling::Danger::SidekiqArgs 4541 22:32:18 #changed_worker_files 4542 22:32:18 returns added, modified, and renamed_after files by default 4543 22:32:18 with include_ee: :exclude 4544 22:32:18 returns spec files without EE-specific files 4545 22:32:18 with include_ee: :only 4546 22:32:18 returns EE-specific spec files only 4547 22:32:18 #args_changed? 4548 22:32:18 before: " - def perform", after: " + def perform(abc)", result: true 4549 22:32:18 returns correct result 4550 22:32:18 before: " - def perform", after: " + def perform(abc)", result: true 4551 22:32:18 returns correct result 4552 22:32:18 before: " - def perform(abc)", after: " + def perform(def)", result: true 4553 22:32:18 returns correct result 4554 22:32:18 before: " - def perform(abc, def)", after: " + def perform(abc)", result: true 4555 22:32:18 returns correct result 4556 22:32:18 before: " - def perform(abc, def)", after: " + def perform(def, abc)", result: true 4557 22:32:18 returns correct result 4558 22:32:18 before: " - def perform", after: " - def perform", result: false 4559 22:32:18 returns correct result 4560 22:32:18 before: " + def perform", after: " + def perform", result: false 4561 22:32:18 returns correct result 4562 22:32:18 before: " - def perform(abc)", after: " - def perform(abc)", result: false 4563 22:32:18 returns correct result 4564 22:32:18 before: " + def perform(abc)", after: " + def perform(abc)", result: false 4565 22:32:18 returns correct result 4566 22:32:18 before: " - def perform(abc)", after: " + def perform_foo(abc)", result: false 4567 22:32:18 returns correct result 4568 22:32:18 #add_comment_for_matched_line 4569 22:32:18 when args are changed 4571 22:32:18 adds suggestion at the correct lines 4572 22:32:19 adds a top level warning 4573 22:32:19 when args are not changed 4574 22:32:19 does not add suggestion 4575 22:32:19 does not add a top level warning 4576 22:32:19 # [RSpecRunTime] Finishing example group spec/tooling/danger/sidekiq_args_spec.rb. It took 0.51 second. Expected to take 0.5 second. 4577 22:32:19 # [RSpecRunTime] Starting example group spec/lib/gitlab/import_export/attributes_finder_spec.rb. Expected to take 0.49 second. 4578 22:32:19 Gitlab::ImportExport::AttributesFinder 4580 22:32:19 generates hash from project tree config 4581 22:32:19 individual scenarios 4582 22:32:19 generates the correct hash for a single project relation 4583 22:32:19 generates the correct hash for a single project feature relation 4584 22:32:19 generates the correct hash for a multiple project relation 4585 22:32:19 generates the correct hash for a single sub-relation 4586 22:32:19 generates the correct hash for a multiple sub-relation 4587 22:32:19 generates the correct hash for a sub-relation with another sub-relation 4588 22:32:19 generates the correct hash for a relation with included attributes 4589 22:32:19 generates the correct hash for a relation with excluded attributes 4590 22:32:19 generates the correct hash for a relation with both excluded and included attributes 4591 22:32:19 generates the correct hash for a relation with custom methods 4592 22:32:19 #find_relations_tree 4593 22:32:19 when initialized with config including tree 4594 22:32:19 when relation is in top-level keys of the tree 4595 22:32:19 is expected to eq {:issues=>{}} 4596 22:32:19 when the relation is not in top-level keys 4597 22:32:19 is expected to be nil 4598 22:32:19 when tree is not present in config 4599 22:32:19 is expected to be nil 4600 22:32:19 when include_import_only_tree is true 4601 22:32:19 is expected to eq {:ci_pipelines=>{:stages=>{:builds=>nil, :statuses=>nil}}} 4602 22:32:19 #find_excluded_keys 4603 22:32:19 when initialized with excluded_attributes 4604 22:32:19 is expected to eq ["name", "path"] 4605 22:32:19 when excluded_attributes are not present in config 4606 22:32:19 is expected to eq [] 4607 22:32:19 #find_included_keys 4608 22:32:19 when initialized with included_attributes 4609 22:32:19 is expected to eq ["name", "path"] 4610 22:32:19 when included_attributes are not present in config 4611 22:32:19 is expected to eq [] 4612 22:32:19 # [RSpecRunTime] Finishing example group spec/lib/gitlab/import_export/attributes_finder_spec.rb. It took 0.53 second. Expected to take 0.49 second. 4613 22:32:19 # [RSpecRunTime] Starting example group spec/lib/gitlab/github_import/importer/issues_importer_spec.rb. Expected to take 0.44 second. 4614 22:32:19 Gitlab::GithubImport::Importer::IssuesImporter 4616 22:32:19 returns true when running in parallel mode 4617 22:32:19 returns false when running in sequential mode 4619 22:32:19 when running in parallel mode 4620 22:32:19 imports issues in parallel 4621 22:32:19 when running in sequential mode 4622 22:32:19 imports issues in sequence 4623 22:32:19 #sequential_import 4624 22:32:19 imports each issue in sequence 4625 22:32:19 #parallel_import 4626 22:32:19 imports each issue in parallel 4627 22:32:19 #id_for_already_imported_cache 4628 22:32:19 returns the issue number of the given issue 4629 22:32:19 #increment_object_counter? 4630 22:32:19 when issue is a pull request 4631 22:32:19 returns false 4632 22:32:19 when issue is a regular issue 4633 22:32:20 returns true 4634 22:32:20 # [RSpecRunTime] Finishing example group spec/lib/gitlab/github_import/importer/issues_importer_spec.rb. It took 0.45 second. Expected to take 0.44 second. 4635 22:32:20 # [RSpecRunTime] Starting example group spec/lib/gitlab/graphql/pagination/offset_active_record_relation_connection_spec.rb. Expected to take 0.44 second. 4636 22:32:20 Gitlab::Graphql::Pagination::OffsetActiveRecordRelationConnection 4637 22:32:20 subclasses from GraphQL::Relay::RelationConnection 4638 22:32:20 behaves like a connection with collection methods 4639 22:32:20 responds to to_a 4640 22:32:20 responds to size 4641 22:32:20 responds to map 4642 22:32:20 responds to include? 4643 22:32:20 responds to empty? 4644 22:32:20 behaves like a redactable connection 4645 22:32:20 no redactor set 4646 22:32:20 contains the unwanted item 4647 22:32:20 does not redact more than once 4648 22:32:20 redactor is set 4649 22:32:20 does not contain the unwanted item 4650 22:32:20 does not redact more than once 4651 22:32:20 # [RSpecRunTime] Finishing example group spec/lib/gitlab/graphql/pagination/offset_active_record_relation_connection_spec.rb. It took 0.48 second. Expected to take 0.44 second. 4652 22:32:20 # [RSpecRunTime] Starting example group spec/lib/sidebars/groups/menus/ci_cd_menu_spec.rb. Expected to take 0.41 second. 4653 22:32:20 Sidebars::Groups::Menus::CiCdMenu 4656 22:32:20 is expected not to be nil 4657 22:32:20 when the user does not have access 4658 22:32:21 is expected to be nil 4659 22:32:21 # [RSpecRunTime] Finishing example group spec/lib/sidebars/groups/menus/ci_cd_menu_spec.rb. It took 0.5 second. Expected to take 0.41 second. 4660 22:32:21 # [RSpecRunTime] Starting example group spec/views/admin/application_settings/_repository_check.html.haml_spec.rb. Expected to take 0.41 second. 4661 22:32:21 admin/application_settings/_repository_check.html.haml 4662 22:32:21 housekeeping 4663 22:32:21 has the setting subsection 4664 22:32:21 renders the correct setting subsection content 4665 22:32:21 repository checks 4666 22:32:21 has the setting subsection 4667 22:32:21 renders the correct setting subsection content 4668 22:32:21 inactive project deletion 4669 22:32:21 has the setting subsection 4670 22:32:21 renders the correct setting subsection content 4671 22:32:21 # [RSpecRunTime] Finishing example group spec/views/admin/application_settings/_repository_check.html.haml_spec.rb. It took 0.41 second. Expected to take 0.41 second. 4672 22:32:21 # [RSpecRunTime] Starting example group spec/lib/object_storage/pending_direct_upload_spec.rb. Expected to take 0.37 second. 4673 22:32:21 ObjectStorage::PendingDirectUpload 4675 22:32:21 when there is a matching redis entry for the given path under the location identifier 4676 22:32:21 is expected to eq true 4677 22:32:21 when there is a matching redis entry for the given path under a different location identifier 4678 22:32:21 is expected to eq false 4679 22:32:21 when there is no matching redis entry for the given path under the location identifier 4680 22:32:21 is expected to eq false 4682 22:32:21 when timestamp is older than 3 hours ago 4683 22:32:21 is expected to eq true 4684 22:32:21 when timestamp is not older than 3 hours ago 4685 22:32:21 is expected to eq false 4687 22:32:21 deletes the redis entry for the given path 4689 22:32:21 is expected to eq 3 4691 22:32:21 is expected to eq "artifacts:some/path/123" 4693 22:32:21 creates a redis entry for the given location identifier and path 4694 22:32:21 .with_pending_only 4695 22:32:21 selects and returns the paths with a matching redis entry under the location identifier 4697 22:32:21 yields each pending direct upload object 4698 22:32:21 # [RSpecRunTime] Finishing example group spec/lib/object_storage/pending_direct_upload_spec.rb. It took 0.32 second. Expected to take 0.37 second. 4699 22:32:21 # [RSpecRunTime] Starting example group spec/validators/array_members_validator_spec.rb. Expected to take 0.37 second. 4700 22:32:21 ArrayMembersValidator 4701 22:32:21 children: #<#<Class:0x00007a88d6fd7bc0>:0x00007a88ba05dbc0>, is_valid: false 4702 22:32:21 only accepts valid children nodes 4703 22:32:21 children: [#<#<Class:0x00007a88d705e080>:0x00007a88ba0426b8>], is_valid: false 4704 22:32:21 only accepts valid children nodes 4705 22:32:21 children: [#<#<Class:0x00007a88d6fd7bc0>:0x00007a88ba044378>], is_valid: true 4706 22:32:21 only accepts valid children nodes 4707 22:32:21 children: [#<#<Class:0x00007a88d7059580>:0x00007a88ba05b4b0>], is_valid: false 4708 22:32:21 only accepts valid children nodes 4709 22:32:21 children: [#<#<Class:0x00007a88d6fd7bc0>:0x00007a88ba041218>, #<#<Class:0x00007a88d705d680>:0x00007a88ba041178>], is_valid: false 4710 22:32:21 only accepts valid children nodes 4711 22:32:21 validation message 4712 22:32:21 with default object name 4713 22:32:21 uses attribute name 4714 22:32:21 with custom object name 4715 22:32:21 uses that name 4716 22:32:21 children: [], is_valid: false 4717 22:32:21 only accepts valid children nodes 4718 22:32:21 # [RSpecRunTime] Finishing example group spec/validators/array_members_validator_spec.rb. It took 0.23 second. Expected to take 0.37 second. 4719 22:32:21 # [RSpecRunTime] Starting example group spec/lib/gitlab/database/type/symbolized_jsonb_spec.rb. Expected to take 0.34 second. 4720 22:32:21 Gitlab::Database::Type::SymbolizedJsonb 4721 22:32:22 #deserialize 4722 22:32:22 json: nil, value: nil 4723 22:32:22 is expected to match nil 4724 22:32:22 json: "{\"key\":\"value\"}", value: {:key=>"value"} 4725 22:32:22 is expected to match {:key=>"value"} 4726 22:32:22 json: "{\"key\":[1,2,3]}", value: {:key=>[1, 2, 3]} 4727 22:32:22 is expected to match {:key=>[1, 2, 3]} 4728 22:32:22 json: "{\"key\":{\"subkey\":\"value\"}}", value: {:key=>{:subkey=>"value"}} 4729 22:32:22 is expected to match {:key=>{:subkey=>"value"}} 4730 22:32:22 json: "{\"key\":{\"a\":[{\"b\":\"c\"},{\"d\":\"e\"}]}}", value: {:key=>{:a=>[{:b=>"c"}, {:d=>"e"}]}} 4731 22:32:22 is expected to match {:key=>{:a=>[{:b=>"c"}, {:d=>"e"}]}} 4732 22:32:22 when used by a model 4733 22:32:22 is expected to match {:key=>"value"} 4734 22:32:22 ignores changes to other attributes 4735 22:32:22 tracks changes to options 4736 22:32:22 # [RSpecRunTime] Finishing example group spec/lib/gitlab/database/type/symbolized_jsonb_spec.rb. It took 0.33 second. Expected to take 0.34 second. 4737 22:32:22 # [RSpecRunTime] Starting example group spec/lib/gitlab/ci/build/hook_spec.rb. Expected to take 0.34 second. 4738 22:32:22 Gitlab::Ci::Build::Hook 4740 22:32:22 initializes and returns hooks 4741 22:32:22 # [RSpecRunTime] Finishing example group spec/lib/gitlab/ci/build/hook_spec.rb. It took 0.41 second. Expected to take 0.34 second. 4742 22:32:22 # [RSpecRunTime] Starting example group spec/models/concerns/as_cte_spec.rb. Expected to take 0.32 second. 4744 22:32:22 does not allow STI 4746 22:32:22 is expected to be a kind of Gitlab::SQL::CTE 4747 22:32:22 is expected to eq #<ActiveRecord::Relation []> 4748 22:32:22 is expected to eq "klass_cte" 4749 22:32:22 with materialized parameter 4751 22:32:22 is expected to match /MATERIALIZE/ 4753 22:32:22 is expected not to match /MATERIALIZE/ 4754 22:32:23 # [RSpecRunTime] Finishing example group spec/models/concerns/as_cte_spec.rb. It took 0.28 second. Expected to take 0.32 second. 4755 22:32:23 # [RSpecRunTime] Starting example group spec/models/packages/nuget/dependency_link_metadatum_spec.rb. Expected to take 0.31 second. 4756 22:32:23 Packages::Nuget::DependencyLinkMetadatum 4757 22:32:23 does not allow STI 4758 22:32:23 relationships 4759 22:32:23 is expected to belong to dependency_link required: false 4761 22:32:23 is expected to validate that :dependency_link cannot be empty/falsy 4762 22:32:23 is expected to validate that :target_framework cannot be empty/falsy 4763 22:32:23 #ensure_nuget_package_type 4764 22:32:23 validates package of type nuget 4765 22:32:23 validates package of type nuget with nil dependency_link 4766 22:32:23 # [RSpecRunTime] Finishing example group spec/models/packages/nuget/dependency_link_metadatum_spec.rb. It took 0.32 second. Expected to take 0.31 second. 4767 22:32:23 # [RSpecRunTime] Starting example group spec/models/doorkeeper/application_spec.rb. Expected to take 0.29 second. 4768 22:32:23 Doorkeeper::Application 4769 22:32:23 uses a prefixed secret 4770 22:32:23 does not allow STI 4771 22:32:23 # [RSpecRunTime] Finishing example group spec/models/doorkeeper/application_spec.rb. It took 0.2 second. Expected to take 0.29 second. 4772 22:32:23 # [RSpecRunTime] Starting example group spec/lib/banzai/filter/kroki_filter_spec.rb. Expected to take 0.29 second. 4773 22:32:23 Banzai::Filter::KrokiFilter 4774 22:32:23 replaces nomnoml pre tag with img tag if kroki is enabled 4775 22:32:23 replaces nomnoml pre tag with img tag if both kroki and plantuml are enabled 4776 22:32:23 does not replace nomnoml pre tag with img tag if kroki is disabled 4777 22:32:23 does not replace plantuml pre tag with img tag if both kroki and plantuml are enabled 4778 22:32:23 adds hidden attribute when content size is large 4779 22:32:23 allows the lang attribute on the code tag to support RST files processed by gitlab-markup gem 4780 22:32:23 verifies diagram type to avoid possible XSS 4781 22:32:23 behaves like pipeline timing check 4782 22:32:23 checks the pipeline timing 4783 22:32:23 # [RSpecRunTime] Finishing example group spec/lib/banzai/filter/kroki_filter_spec.rb. It took 0.28 second. Expected to take 0.29 second. 4784 22:32:23 # [RSpecRunTime] Starting example group spec/lib/gitlab/cleanup/orphan_job_artifact_final_objects/rollback_deleted_objects_spec.rb. Expected to take 0.27 second. 4785 22:32:23 Gitlab::Cleanup::OrphanJobArtifactFinalObjects::RollbackDeletedObjects 4787 22:32:23 when configured object store provider is Google 4788 22:32:23 rolls back deleted objects to the specified generation 4789 22:32:23 when interrupted in the middle of processing entries 4790 22:32:23 resumes from last known cursor position on the next run 4791 22:32:23 and force_restart is true 4792 22:32:23 starts from the first entry on the next run 4793 22:32:23 when the list file of deleted objects does not exist 4794 22:32:24 raises an error 4795 22:32:24 when one of the deleted objects already has a live version on storage 4796 22:32:24 does not fail but skips rolling back the object 4797 22:32:24 when configured object store provider is not Google 4798 22:32:24 raises an error 4799 22:32:24 # [RSpecRunTime] Finishing example group spec/lib/gitlab/cleanup/orphan_job_artifact_final_objects/rollback_deleted_objects_spec.rb. It took 0.28 second. Expected to take 0.27 second. 4800 22:32:24 # [RSpecRunTime] Starting example group spec/lib/gitlab/database/migrations/runner_backoff/communicator_spec.rb. Expected to take 0.26 second. 4801 22:32:24 Gitlab::Database::Migrations::RunnerBackoff::Communicator 4802 22:32:24 .backoff_runner? 4803 22:32:24 is expected to be falsey 4804 22:32:24 is true when the lock is held 4805 22:32:24 reads from Redis 4806 22:32:24 with runner_migrations_backoff disabled 4807 22:32:24 is false when the lock is held 4808 22:32:24 .execute_with_lock 4809 22:32:24 delegates to a new instance object 4810 22:32:24 #execute_with_lock 4811 22:32:24 is expected to yield control 4812 22:32:24 raises error if it can not set the key 4813 22:32:24 removes the lease after executing the migration 4815 22:32:24 logs messages around execution 4816 22:32:24 # [RSpecRunTime] Finishing example group spec/lib/gitlab/database/migrations/runner_backoff/communicator_spec.rb. It took 0.37 second. Expected to take 0.26 second. 4817 22:32:24 # [RSpecRunTime] Starting example group spec/lib/gitlab/cache/metadata_spec.rb. Expected to take 0.25 second. 4818 22:32:24 Gitlab::Cache::Metadata 4820 22:32:24 when optional arguments are not set 4821 22:32:24 sets default value for them 4822 22:32:24 when invalid feature category is set 4823 22:32:24 is expected to raise RuntimeError 4824 22:32:24 when on production 4825 22:32:24 does not raise an exception 4826 22:32:24 when not_owned feature category is set 4827 22:32:24 is expected to eq :not_owned 4828 22:32:24 when backing resource is not supported 4829 22:32:24 is expected to raise RuntimeError 4830 22:32:24 when on production 4831 22:32:24 does not raise an exception 4832 22:32:24 #backing_resource 4833 22:32:24 is expected to eq :unknown 4834 22:32:24 #cache_identifier 4835 22:32:24 is expected to eq "ApplicationController#show" 4836 22:32:24 #feature_category 4837 22:32:24 is expected to eq :source_code_management 4838 22:32:24 # [RSpecRunTime] Finishing example group spec/lib/gitlab/cache/metadata_spec.rb. It took 0.27 second. Expected to take 0.25 second. 4839 22:32:24 # [RSpecRunTime] Starting example group spec/uploaders/content_type_whitelist_spec.rb. Expected to take 0.24 second. 4840 22:32:24 ContentTypeWhitelist 4841 22:32:24 upload whitelisted file content type 4842 22:32:24 behaves like accepted carrierwave upload 4843 22:32:24 will accept upload 4844 22:32:24 will cache uploaded file 4845 22:32:24 behaves like upload with content type 4846 22:32:24 will not change upload file content type 4847 22:32:24 upload non-whitelisted file content type 4848 22:32:24 behaves like denied carrierwave upload 4849 22:32:24 will deny upload 4850 22:32:24 upload misnamed non-whitelisted file content type 4851 22:32:24 behaves like denied carrierwave upload 4852 22:32:24 will deny upload 4853 22:32:24 # [RSpecRunTime] Finishing example group spec/uploaders/content_type_whitelist_spec.rb. It took 0.17 second. Expected to take 0.24 second. 4854 22:32:24 # [RSpecRunTime] Starting example group spec/lib/gitlab/kubernetes/kubeconfig/template_spec.rb. Expected to take 0.23 second. 4855 22:32:24 Gitlab::Kubernetes::Kubeconfig::Template 4857 22:32:24 is expected to be falsey 4858 22:32:24 with configuration added 4859 22:32:24 is expected to be truthy 4861 22:32:24 is expected to eq {:apiVersion=>"v1", :clusters=>[], :contexts=>[], :kind=>"Config", :users=>[]} 4863 22:32:25 is expected to eq "---\napiVersion: v1\nkind: Config\nclusters: []\nusers: []\ncontexts: []\n" 4865 22:32:25 appends to the configuration and overwrites the current context 4866 22:32:25 adding entries 4867 22:32:25 #add_cluster 4868 22:32:25 is expected to include {:clusters => [{:name => "name", :other => "other"}]} 4870 22:32:25 is expected to include {:users => [{:name => "name", :other => "other"}]} 4871 22:32:25 #add_context 4872 22:32:25 is expected to include {:contexts => [{:name => "name", :other => "other"}]} 4873 22:32:25 # [RSpecRunTime] Finishing example group spec/lib/gitlab/kubernetes/kubeconfig/template_spec.rb. It took 0.23 second. Expected to take 0.23 second. 4874 22:32:25 # [RSpecRunTime] Starting example group spec/lib/gitlab/auth/otp/strategies/forti_token_cloud_spec.rb. Expected to take 0.22 second. 4875 22:32:25 Gitlab::Auth::Otp::Strategies::FortiTokenCloud 4876 22:32:25 access token is created successfully 4877 22:32:25 otp verification is successful 4878 22:32:25 returns success 4879 22:32:25 otp verification is not successful 4880 22:32:25 returns error 4881 22:32:25 access token creation fails 4882 22:32:25 returns error 4883 22:32:25 SSL Verification 4884 22:32:25 with `Gitlab::HTTP` 4885 22:32:25 does not use a `verify` argument,thereby always performing SSL verification while making API calls 4886 22:32:25 # [RSpecRunTime] Finishing example group spec/lib/gitlab/auth/otp/strategies/forti_token_cloud_spec.rb. It took 0.23 second. Expected to take 0.22 second. 4887 22:32:25 # [RSpecRunTime] Starting example group spec/support_specs/database/duplicate_indexes_spec.rb. Expected to take 0.21 second. 4888 22:32:25 Database::DuplicateIndexes 4889 22:32:25 when overlapping indexes 4890 22:32:25 detects a duplicate index between index1 and index3 4891 22:32:25 when indexes have the same columns but with different order 4892 22:32:25 is expected to be empty 4893 22:32:25 when the indexes have the inverse order of columns 4894 22:32:25 does not detect duplicate indexes between index3 and index3_inverse 4895 22:32:25 when the index with matching sub-columns is unique 4896 22:32:25 does not detect duplicate indexes between index3 and index1_unique 4897 22:32:25 when there are no duplicate indexes 4898 22:32:25 is expected to be empty 4899 22:32:25 when the one of the indexes is a conditional index 4900 22:32:25 does not detect duplicate indexes between index3 and index3_with_where 4901 22:32:25 when identical indexes 4902 22:32:25 detects a duplicate index between index1 and index3 4903 22:32:25 # [RSpecRunTime] Finishing example group spec/support_specs/database/duplicate_indexes_spec.rb. It took 0.2 second. Expected to take 0.21 second. 4904 22:32:25 # [RSpecRunTime] Starting example group spec/rubocop/cop/performance/active_record_subtransaction_methods_spec.rb. Expected to take 0.21 second. 4905 22:32:25 RuboCop::Cop::Performance::ActiveRecordSubtransactionMethods 4906 22:32:25 when the method uses a subtransaction 4907 22:32:25 method: :safe_ensure_unique 4908 22:32:25 registers an offense 4909 22:32:25 method: :safe_find_or_create_by 4910 22:32:25 registers an offense 4911 22:32:25 method: :safe_find_or_create_by! 4912 22:32:25 registers an offense 4913 22:32:25 method: :with_fast_read_statement_timeout 4914 22:32:25 registers an offense 4915 22:32:25 method: :create_or_find_by 4916 22:32:25 registers an offense 4917 22:32:25 method: :create_or_find_by! 4918 22:32:25 registers an offense 4919 22:32:25 # [RSpecRunTime] Finishing example group spec/rubocop/cop/performance/active_record_subtransaction_methods_spec.rb. It took 0.19 second. Expected to take 0.21 second. 4920 22:32:25 # [RSpecRunTime] Starting example group spec/views/shared/_milestones_sort_dropdown.html.haml_spec.rb. Expected to take 0.2 second. 4921 22:32:25 shared/_milestones_sort_dropdown.html.haml 4923 22:32:25 when a sort option is not selected 4924 22:32:26 renders a default sort option 4925 22:32:26 when a sort option is selected 4926 22:32:26 renders the selected sort option 4927 22:32:26 # [RSpecRunTime] Finishing example group spec/views/shared/_milestones_sort_dropdown.html.haml_spec.rb. It took 0.34 second. Expected to take 0.2 second. 4928 22:32:26 # [RSpecRunTime] Starting example group spec/lib/gitlab/fp/settings/public_api_spec.rb. Expected to take 0.2 second. 4929 22:32:26 Gitlab::Fp::Settings::PublicApi 4931 22:32:26 when successful 4932 22:32:26 when passed a valid setting names 4933 22:32:26 returns the setting context 4934 22:32:26 when passed options 4935 22:32:26 passes along the options and returns the setting context 4936 22:32:26 when settings_main_class returns an error 4937 22:32:26 raises an exception with a descriptive message 4938 22:32:26 when unsuccessful 4939 22:32:26 when passed a non-array as first arg 4940 22:32:26 raises an exception with a descriptive message 4941 22:32:26 when passed an array containing non-Symbol as first arg 4942 22:32:26 raises an exception with a descriptive message 4943 22:32:26 when passed an invalid setting name 4944 22:32:26 raises an exception with a descriptive message 4945 22:32:26 .get_single_setting 4946 22:32:26 when passed a valid setting name 4947 22:32:26 returns the setting context 4948 22:32:26 # [RSpecRunTime] Finishing example group spec/lib/gitlab/fp/settings/public_api_spec.rb. It took 0.21 second. Expected to take 0.2 second. 4949 22:32:26 # [RSpecRunTime] Starting example group spec/graphql/types/container_repository_details_type_spec.rb. Expected to take 0.18 second. 4950 22:32:26 Types::ContainerRepositoryDetailsType 4951 22:32:26 is expected to have graphql fields :id, :name, :path, :location, :created_at, :updated_at, :expiration_policy_started_at, :status, :tags_count, :expiration_policy_cleanup_status, :tags, :size, :manifest, :project, :migration_state, :last_cleanup_deleted_tags_count, :user_permissions, :last_published_at, and :protection_rule_exists 4952 22:32:26 is expected to eq "ContainerRepositoryDetails" 4953 22:32:26 is expected to require graphql authorizations :read_container_image 4954 22:32:26 is expected to eq "Details of a container repository" 4956 22:32:26 returns tags connection type 4957 22:32:26 # [RSpecRunTime] Finishing example group spec/graphql/types/container_repository_details_type_spec.rb. It took 0.15 second. Expected to take 0.18 second. 4958 22:32:26 # [RSpecRunTime] Starting example group spec/serializers/test_reports_comparer_serializer_spec.rb. Expected to take 0.18 second. 4959 22:32:26 TestReportsComparerSerializer 4961 22:32:26 when head and base reports include two test suites 4962 22:32:26 when the status of head report is success 4963 22:32:26 matches the schema 4964 22:32:26 when the status of head report is failed 4965 22:32:26 matches the schema 4966 22:32:26 when the status of head report is resolved 4967 22:32:26 matches the schema 4968 22:32:26 # [RSpecRunTime] Finishing example group spec/serializers/test_reports_comparer_serializer_spec.rb. It took 0.12 second. Expected to take 0.18 second. 4969 22:32:26 # [RSpecRunTime] Starting example group spec/lib/gitlab/database/partitioning/list/locking_configuration_spec.rb. Expected to take 0.17 second. 4970 22:32:26 Gitlab::Database::Partitioning::List::LockingConfiguration 4971 22:32:26 #locking_statement_for 4972 22:32:26 main: -- quote_table_name("table_1") 4973 22:32:26 main: -> 0.0008s 4974 22:32:26 main: -- quote_table_name("table_1") 4975 22:32:26 main: -> 0.0005s 4976 22:32:26 only includes locking information for tables in the locking specification 4977 22:32:26 is nil when none of the tables match the lock configuration 4978 22:32:26 main: -- quote_table_name("table_2") 4979 22:32:26 main: -> 0.0006s 4980 22:32:26 main: -- quote_table_name("table_3") 4981 22:32:26 main: -> 0.0004s 4982 22:32:26 is a lock tables statement 4983 22:32:26 raises if a table name with schema is passed 4984 22:32:26 #lock_ordering_for 4985 22:32:26 is the intersection with the locking specification, in the order of the specification 4986 22:32:26 raises if a table name with schema is passed 4987 22:32:26 # [RSpecRunTime] Finishing example group spec/lib/gitlab/database/partitioning/list/locking_configuration_spec.rb. It took 0.17 second. Expected to take 0.17 second. 4988 22:32:26 # [RSpecRunTime] Starting example group spec/lib/gitlab/database/health_status/indicators/prometheus_alert_indicator_spec.rb. Expected to take 0.17 second. 4989 22:32:26 Gitlab::Database::HealthStatus::Indicators::PrometheusAlertIndicator 4991 22:32:26 throws NotImplementedError for invalid indicator 4992 22:32:26 returns the defined value for valid indicator 4994 22:32:26 throws NotImplementedError for invalid indicator 4995 22:32:26 returns the defined value for valid indicator 4997 22:32:26 throws NotImplementedError for invalid indicator 4998 22:32:26 returns the defined value for valid indicator 4999 22:32:26 # [RSpecRunTime] Finishing example group spec/lib/gitlab/database/health_status/indicators/prometheus_alert_indicator_spec.rb. It took 0.23 second. Expected to take 0.17 second. 5000 22:32:26 # [RSpecRunTime] Starting example group spec/support_specs/capybara_slow_finder_spec.rb. Expected to take 0.16 second. 5001 22:32:26 Capybara::Node::Base::SlowFinder 5002 22:32:26 without timeout 5003 22:32:26 when element is found 5004 22:32:26 does not raise error 5005 22:32:26 when element is not found 5006 22:32:27 raises Capybara::ElementNotFound error 5007 22:32:27 with timeout 5008 22:32:27 with default timeout 5009 22:32:27 raises a timeout error 5010 22:32:27 when passed as paramater 5011 22:32:27 raises a timeout error 5012 22:32:27 # [RSpecRunTime] Finishing example group spec/support_specs/capybara_slow_finder_spec.rb. It took 0.17 second. Expected to take 0.16 second. 5013 22:32:27 # [RSpecRunTime] Starting example group spec/lib/gitlab/usage_data_counters/visual_studio_extension_activity_unique_counter_spec.rb. Expected to take 0.15 second. 5014 22:32:27 Gitlab::UsageDataCounters::VisualStudioExtensionActivityUniqueCounter 5015 22:32:27 when tracking a visual studio api request 5016 22:32:27 behaves like a request from an extension 5017 22:32:27 tracks when the user agent is matching 5018 22:32:27 does not track when the user agent is not matching 5019 22:32:27 does not track if user agent is not present 5020 22:32:27 does not track if user is not present 5021 22:32:27 # [RSpecRunTime] Finishing example group spec/lib/gitlab/usage_data_counters/visual_studio_extension_activity_unique_counter_spec.rb. It took 0.19 second. Expected to take 0.15 second. 5022 22:32:27 # [RSpecRunTime] Starting example group spec/lib/gitlab/sql/glob_spec.rb. Expected to take 0.15 second. 5023 22:32:27 Gitlab::SQL::Glob 5025 22:32:27 matches * as % 5026 22:32:27 matches % literally 5027 22:32:27 matches _ literally 5028 22:32:27 # [RSpecRunTime] Finishing example group spec/lib/gitlab/sql/glob_spec.rb. It took 0.15 second. Expected to take 0.15 second. 5029 22:32:27 # [RSpecRunTime] Starting example group spec/lib/gitlab/middleware/handle_ip_spoof_attack_error_spec.rb. Expected to take 0.14 second. 5030 22:32:27 Gitlab::Middleware::HandleIpSpoofAttackError 5031 22:32:27 passes through the response from a valid upstream 5032 22:32:27 translates an ActionDispatch::IpSpoofAttackError to a 400 response 5033 22:32:27 passes through the exception raised by an invalid upstream 5034 22:32:27 # [RSpecRunTime] Finishing example group spec/lib/gitlab/middleware/handle_ip_spoof_attack_error_spec.rb. It took 0.1 second. Expected to take 0.14 second. 5035 22:32:27 # [RSpecRunTime] Starting example group spec/models/postgresql/detached_partition_spec.rb. Expected to take 0.14 second. 5036 22:32:27 Postgresql::DetachedPartition 5037 22:32:27 does not allow STI 5038 22:32:27 #ready_to_drop 5039 22:32:27 includes partitions that should be dropped before now 5040 22:32:27 does not include partitions that should be dropped after now 5041 22:32:27 # [RSpecRunTime] Finishing example group spec/models/postgresql/detached_partition_spec.rb. It took 0.13 second. Expected to take 0.14 second. 5042 22:32:27 # [RSpecRunTime] Starting example group spec/lib/sidebars/explore/menus/catalog_menu_spec.rb. Expected to take 0.13 second. 5043 22:32:27 Sidebars::Explore::Menus::CatalogMenu 5045 22:32:27 renders the correct icon 5046 22:32:27 renders the correct link 5047 22:32:27 renders the correct title 5048 22:32:27 # [RSpecRunTime] Finishing example group spec/lib/sidebars/explore/menus/catalog_menu_spec.rb. It took 0.13 second. Expected to take 0.13 second. 5049 22:32:27 # [RSpecRunTime] Starting example group spec/graphql/types/alert_management/alert_type_spec.rb. Expected to take 0.12 second. 5050 22:32:27 Types::AlertManagement::AlertType 5051 22:32:27 is expected to require graphql authorizations :read_alert_management_alert 5052 22:32:27 is expected to eq "AlertManagementAlert" 5053 22:32:27 exposes the expected fields 5054 22:32:27 is expected to include Types::TodoableInterface 5055 22:32:27 # [RSpecRunTime] Finishing example group spec/graphql/types/alert_management/alert_type_spec.rb. It took 0.12 second. Expected to take 0.12 second. 5056 22:32:27 # [RSpecRunTime] Starting example group spec/lib/gitlab/ci/config/interpolation/functions/truncate_spec.rb. Expected to take 0.12 second. 5057 22:32:27 Gitlab::Ci::Config::Interpolation::Functions::Truncate 5058 22:32:27 matches exactly the truncate function with 2 numeric arguments 5059 22:32:28 truncates the given input 5060 22:32:28 when given a non-string input 5061 22:32:28 returns an error 5062 22:32:28 # [RSpecRunTime] Finishing example group spec/lib/gitlab/ci/config/interpolation/functions/truncate_spec.rb. It took 0.09 second. Expected to take 0.12 second. 5063 22:32:28 # [RSpecRunTime] Starting example group spec/lib/gitlab/database/query_analyzers/prevent_set_operator_mismatch/references_spec.rb. Expected to take 0.12 second. 5064 22:32:28 Gitlab::Database::QueryAnalyzers::PreventSetOperatorMismatch::References 5066 22:32:28 is expected to be truthy 5067 22:32:28 when no errors exist 5068 22:32:28 is expected to be falsey 5070 22:32:28 is expected to eq {"error_reference"=>#<Set: {:invalid}>, "resolved_reference"=>#<Set: {}>} 5072 22:32:28 is expected to eq {"unresolved_reference"=>#<Double (anonymous)>} 5073 22:32:28 # [RSpecRunTime] Finishing example group spec/lib/gitlab/database/query_analyzers/prevent_set_operator_mismatch/references_spec.rb. It took 0.13 second. Expected to take 0.12 second. 5074 22:32:28 # [RSpecRunTime] Starting example group spec/lib/gitlab/json_logger_spec.rb. Expected to take 0.11 second. 5075 22:32:28 Gitlab::JsonLogger 5076 22:32:28 behaves like a json logger 5077 22:32:28 formats strings 5078 22:32:28 formats hashes 5080 22:32:28 raises error when file_name_noext not implemented 5081 22:32:28 returns log file name when file_name_noext is implemented 5082 22:32:28 # [RSpecRunTime] Finishing example group spec/lib/gitlab/json_logger_spec.rb. It took 0.12 second. Expected to take 0.11 second. 5083 22:32:28 # [RSpecRunTime] Starting example group spec/tooling/danger/specs_spec.rb. Expected to take 0.11 second. 5084 22:32:28 Tooling::Danger::Specs 5085 22:32:28 #changed_specs_files 5086 22:32:28 returns added, modified, and renamed_after files by default 5087 22:32:28 with include_ee: :exclude 5088 22:32:28 returns spec files without EE-specific files 5089 22:32:28 with include_ee: :only 5090 22:32:28 returns EE-specific spec files only 5091 22:32:28 # [RSpecRunTime] Finishing example group spec/tooling/danger/specs_spec.rb. It took 0.1 second. Expected to take 0.11 second. 5092 22:32:28 # [RSpecRunTime] Starting example group spec/views/errors/access_denied.html.haml_spec.rb. Expected to take 0.1 second. 5093 22:32:28 errors/access_denied 5094 22:32:28 does not fail to render when there is no message provided 5095 22:32:28 # [RSpecRunTime] Finishing example group spec/views/errors/access_denied.html.haml_spec.rb. It took 0.06 second. Expected to take 0.1 second. 5096 22:32:28 # [RSpecRunTime] Starting example group spec/lib/gitlab/ci/config/external/mapper/variables_expander_spec.rb. Expected to take 0.1 second. 5097 22:32:28 Gitlab::Ci::Config::External::Mapper::VariablesExpander 5099 22:32:28 when locations are strings 5100 22:32:28 expands variables 5101 22:32:28 when locations are hashes 5102 22:32:28 expands variables 5103 22:32:28 when locations are arrays 5104 22:32:28 expands variables 5105 22:32:28 # [RSpecRunTime] Finishing example group spec/lib/gitlab/ci/config/external/mapper/variables_expander_spec.rb. It took 0.1 second. Expected to take 0.1 second. 5106 22:32:28 # [RSpecRunTime] Starting example group spec/graphql/types/ci/runner_type_spec.rb. Expected to take 0.09 second. 5107 22:32:28 Types::Ci::RunnerType 5108 22:32:28 is expected to require graphql authorizations :read_runner 5109 22:32:28 contains attributes related to a runner 5110 22:32:28 is expected to eq "CiRunner" 5111 22:32:28 # [RSpecRunTime] Finishing example group spec/graphql/types/ci/runner_type_spec.rb. It took 0.09 second. Expected to take 0.09 second. 5112 22:32:28 # [RSpecRunTime] Starting example group spec/initializers/active_job_shard_support_spec.rb. Expected to take 0.09 second. 5113 22:32:28 ActionMailer::MailDeliveryJob 5114 22:32:28 when routing is not enabled 5115 22:32:28 does not check for shard instance 5116 22:32:28 when routing is enabled 5117 22:32:28 checks for shard instance and sets Sidekiq redis pool 5118 22:32:28 # [RSpecRunTime] Finishing example group spec/initializers/active_job_shard_support_spec.rb. It took 0.09 second. Expected to take 0.09 second. 5119 22:32:28 # [RSpecRunTime] Starting example group spec/graphql/types/organizations/organization_user_access_level_type_spec.rb. Expected to take 0.09 second. 5120 22:32:28 Types::Organizations::OrganizationUserAccessLevelType 5121 22:32:28 is expected to eq "OrganizationUserAccess" 5122 22:32:28 has expected fields 5123 22:32:28 is expected to require graphql authorizations nil 5124 22:32:28 # [RSpecRunTime] Finishing example group spec/graphql/types/organizations/organization_user_access_level_type_spec.rb. It took 0.09 second. Expected to take 0.09 second. 5125 22:32:28 # [RSpecRunTime] Starting example group spec/views/help/show.html.haml_spec.rb. Expected to take 0.08 second. 5127 22:32:28 Markdown rendering 5128 22:32:28 renders Markdown 5129 22:32:28 # [RSpecRunTime] Finishing example group spec/views/help/show.html.haml_spec.rb. It took 0.09 second. Expected to take 0.08 second. 5130 22:32:28 # [RSpecRunTime] Starting example group spec/models/concerns/faster_cache_keys_spec.rb. Expected to take 0.08 second. 5131 22:32:28 FasterCacheKeys 5132 22:32:28 does not allow STI 5134 22:32:29 returns a String 5135 22:32:29 # [RSpecRunTime] Finishing example group spec/models/concerns/faster_cache_keys_spec.rb. It took 0.09 second. Expected to take 0.08 second. 5136 22:32:29 # [RSpecRunTime] Starting example group spec/lib/gitlab/sidekiq_death_handler_spec.rb. Expected to take 0.08 second. 5137 22:32:29 Gitlab::SidekiqDeathHandler 5139 22:32:29 when the job class has worker attributes 5140 22:32:29 uses the attributes from the worker 5141 22:32:29 when the job class does not have worker attributes 5142 22:32:29 uses blank attributes 5143 22:32:29 # [RSpecRunTime] Finishing example group spec/lib/gitlab/sidekiq_death_handler_spec.rb. It took 0.07 second. Expected to take 0.08 second. 5144 22:32:29 # [RSpecRunTime] Starting example group spec/rubocop/cop/migration/remove_index_spec.rb. Expected to take 0.07 second. 5145 22:32:29 RuboCop::Cop::Migration::RemoveIndex 5146 22:32:29 when outside of migration 5147 22:32:29 registers no offense 5148 22:32:29 when in migration 5149 22:32:29 registers an offense when remove_index is used 5150 22:32:29 # [RSpecRunTime] Finishing example group spec/rubocop/cop/migration/remove_index_spec.rb. It took 0.07 second. Expected to take 0.07 second. 5151 22:32:29 # [RSpecRunTime] Starting example group spec/graphql/types/ci/ci_cd_setting_type_spec.rb. Expected to take 0.07 second. 5152 22:32:29 Types::Ci::CiCdSettingType 5153 22:32:29 is expected to eq "ProjectCiCdSetting" 5154 22:32:29 exposes the expected fields 5155 22:32:29 # [RSpecRunTime] Finishing example group spec/graphql/types/ci/ci_cd_setting_type_spec.rb. It took 0.07 second. Expected to take 0.07 second. 5156 22:32:29 # [RSpecRunTime] Starting example group spec/graphql/types/tree/type_enum_spec.rb. Expected to take 0.07 second. 5157 22:32:29 Types::Tree::TypeEnum 5158 22:32:29 is expected to eq "EntryType" 5159 22:32:29 exposes all tree entry types 5160 22:32:29 # [RSpecRunTime] Finishing example group spec/graphql/types/tree/type_enum_spec.rb. It took 0.07 second. Expected to take 0.07 second. 5161 22:32:29 # [RSpecRunTime] Starting example group spec/graphql/types/ci/runner_platform_type_spec.rb. Expected to take 0.07 second. 5162 22:32:29 Types::Ci::RunnerPlatformType 5163 22:32:29 is expected to eq "RunnerPlatform" 5164 22:32:29 exposes the expected fields 5165 22:32:29 # [RSpecRunTime] Finishing example group spec/graphql/types/ci/runner_platform_type_spec.rb. It took 0.08 second. Expected to take 0.07 second. 5166 22:32:29 # [RSpecRunTime] Starting example group spec/graphql/types/branch_type_spec.rb. Expected to take 0.07 second. 5167 22:32:29 Types::BranchType 5168 22:32:29 is expected to have graphql fields :name and :commit 5169 22:32:29 is expected to eq "Branch" 5170 22:32:29 # [RSpecRunTime] Finishing example group spec/graphql/types/branch_type_spec.rb. It took 0.07 second. Expected to take 0.07 second. 5171 22:32:29 # [RSpecRunTime] Starting example group spec/lib/gitlab/graphql/query_analyzers/ast/recursion_analyzer_spec.rb. Expected to take 0.07 second. 5172 22:32:29 Gitlab::Graphql::QueryAnalyzers::AST::RecursionAnalyzer 5173 22:32:29 when recursion threshold not exceeded 5174 22:32:29 returns the complexity, depth, duration, etc 5175 22:32:29 when recursion threshold exceeded 5176 22:32:29 returns error 5177 22:32:29 # [RSpecRunTime] Finishing example group spec/lib/gitlab/graphql/query_analyzers/ast/recursion_analyzer_spec.rb. It took 0.07 second. Expected to take 0.07 second. 5178 22:32:29 # [RSpecRunTime] Starting example group spec/lib/sidebars/groups/super_sidebar_menus/manage_menu_spec.rb. Expected to take 0.06 second. 5179 22:32:29 Sidebars::Groups::SuperSidebarMenus::ManageMenu 5180 22:32:29 has title and sprite_icon 5181 22:32:29 defines list of NilMenuItem placeholders 5182 22:32:29 # [RSpecRunTime] Finishing example group spec/lib/sidebars/groups/super_sidebar_menus/manage_menu_spec.rb. It took 0.07 second. Expected to take 0.06 second. 5183 22:32:29 # [RSpecRunTime] Starting example group spec/lib/gitlab/slash_commands/presenters/error_spec.rb. Expected to take 0.06 second. 5184 22:32:29 Gitlab::SlashCommands::Presenters::Error 5185 22:32:29 is expected to be a kind of Hash 5186 22:32:29 shows the error message 5187 22:32:29 # [RSpecRunTime] Finishing example group spec/lib/gitlab/slash_commands/presenters/error_spec.rb. It took 0.06 second. Expected to take 0.06 second. 5188 22:32:29 # [RSpecRunTime] Starting example group spec/lib/gitlab/usage/metrics/instrumentations/orphaned_namespaces_metric_spec.rb. Expected to take 0.05 second. 5189 22:32:29 Gitlab::Usage::Metrics::Instrumentations::OrphanedNamespacesMetric 5190 22:32:29 behaves like a correct instrumented metric value 5191 22:32:29 has correct value 5192 22:32:29 # [RSpecRunTime] Finishing example group spec/lib/gitlab/usage/metrics/instrumentations/orphaned_namespaces_metric_spec.rb. It took 0.04 second. Expected to take 0.05 second. 5193 22:32:29 # [RSpecRunTime] Starting example group spec/graphql/types/limited_countable_connection_type_spec.rb. Expected to take 0.05 second. 5194 22:32:29 Types::LimitedCountableConnectionType 5195 22:32:29 has the expected fields 5196 22:32:29 # [RSpecRunTime] Finishing example group spec/graphql/types/limited_countable_connection_type_spec.rb. It took 0.04 second. Expected to take 0.05 second. 5197 22:32:29 # [RSpecRunTime] Starting example group spec/graphql/types/ci/project_variable_connection_type_spec.rb. Expected to take 0.04 second. 5198 22:32:29 #<Class:0x00007a88dc83be10> 5199 22:32:29 has the expected fields 5200 22:32:29 # [RSpecRunTime] Finishing example group spec/graphql/types/ci/project_variable_connection_type_spec.rb. It took 0.04 second. Expected to take 0.04 second. 5201 22:32:29 # [RSpecRunTime] Starting example group spec/lib/banzai/filter/html_entity_filter_spec.rb. Expected to take 0.04 second. 5202 22:32:29 Banzai::Filter::HtmlEntityFilter 5203 22:32:29 converts common entities to their HTML-escaped equivalents 5204 22:32:29 # [RSpecRunTime] Finishing example group spec/lib/banzai/filter/html_entity_filter_spec.rb. It took 0.04 second. Expected to take 0.04 second. 5205 22:32:29 # [RSpecRunTime] Starting example group spec/lib/gitlab/graphql/copy_field_description_spec.rb. Expected to take 0.04 second. 5206 22:32:29 Gitlab::Graphql::CopyFieldDescription 5207 22:32:29 .copy_field_description 5208 22:32:29 returns the correct description 5209 22:32:29 # [RSpecRunTime] Finishing example group spec/lib/gitlab/graphql/copy_field_description_spec.rb. It took 0.04 second. Expected to take 0.04 second. 5210 22:32:29 # [RSpecRunTime] Starting example group spec/graphql/types/packages/package_dependency_link_type_spec.rb. Expected to take 0.04 second. 5211 22:32:29 Types::Packages::PackageDependencyLinkType 5212 22:32:29 includes package file fields 5213 22:32:29 # [RSpecRunTime] Finishing example group spec/graphql/types/packages/package_dependency_link_type_spec.rb. It took 0.04 second. Expected to take 0.04 second. 5214 22:32:29 # [RSpecRunTime] Starting example group spec/lib/gitlab/git/gitmodules_parser_spec.rb. Expected to take 0.04 second. 5215 22:32:29 Gitlab::Git::GitmodulesParser 5216 22:32:29 parses a .gitmodules file correctly 5217 22:32:29 # [RSpecRunTime] Finishing example group spec/lib/gitlab/git/gitmodules_parser_spec.rb. It took 0.04 second. Expected to take 0.04 second. 5218 22:32:46 auto_explain log contains 1381 entries for main, writing to /builds/gitlab-org/gitlab/auto_explain/rspec-unit-pg14-single-db-ci-connection-33-44.340.main.ndjson.gz 5219 22:32:46 took 16.697976243 5220 22:33:01 auto_explain log contains 1382 entries for ci, writing to /builds/gitlab-org/gitlab/auto_explain/rspec-unit-pg14-single-db-ci-connection-33-44.340.ci.ndjson.gz 5221 22:33:01 took 14.424262046 5222 22:33:01 [TEST PROF INFO] EventProf results for sql.active_record 5223 22:33:01 Total time: 04:54.681 of 20:04.210 (24.47%) 5224 22:33:01 Total events: 173390 5225 22:33:01 Top 5 slowest suites (by time): 5226 22:33:01 Notes::QuickActionsService (./spec/services/notes/quick_actions_service_spec.rb:5) – 01:00.390 (33446 / 211) of 04:16.759 (23.52%) 5227 22:33:01 NotesFinder (./spec/finders/notes_finder_spec.rb:5) – 00:25.706 (14837 / 54) of 01:41.915 (25.22%) 5228 22:33:01 Ci::ResetSkippedJobsService (./spec/services/ci/reset_skipped_jobs_service_spec.rb:5) – 00:17.728 (7321 / 10) of 01:02.577 (28.33%) 5229 22:33:01 Gitlab::Datab...ithLockRetries (./spec/lib/gitlab/database/with_lock_retries_spec.rb:5) – 00:13.221 (239 / 17) of 00:15.420 (85.74%) 5230 22:33:01 Backup::Targets::Database (./spec/lib/backup/targets/database_spec.rb:5) – 00:12.742 (14934 / 14) of 00:49.767 (25.6%) 5231 22:33:01 Knapsack report was generated. Preview: 5233 22:33:01 "spec/services/notes/quick_actions_service_spec.rb": 256.75876055200024, 5234 22:33:01 "spec/finders/notes_finder_spec.rb": 101.91549208500055, 5235 22:33:01 "spec/lib/backup/targets/database_spec.rb": 49.76689369700034, 5236 22:33:01 "spec/services/ci/reset_skipped_jobs_service_spec.rb": 62.577592845000254, 5237 22:33:01 "spec/services/merge_requests/cleanup_refs_service_spec.rb": 55.2597426960001, 5238 22:33:01 "spec/models/concerns/counter_attribute_spec.rb": 44.09057325100002, 5239 22:33:01 "spec/lib/gitlab/database/migration_helpers_spec.rb": 38.47671809300027, 5240 22:33:01 "spec/services/merge_requests/remove_approval_service_spec.rb": 34.72325591800018, 5241 22:33:01 "spec/models/clusters/agents/authorizations/user_access/group_authorization_spec.rb": 29.346420236000085, 5242 22:33:01 "spec/tasks/gitlab/web_hook_rake_spec.rb": 27.647830186000647, 5243 22:33:01 "spec/lib/gitlab/cycle_analytics/permissions_spec.rb": 26.471743486999912, 5244 22:33:01 "spec/models/diff_viewer/base_spec.rb": 24.713666743999966, 5245 22:33:01 "spec/services/suggestions/create_service_spec.rb": 21.714306077999936, 5246 22:33:01 "spec/services/projects/protect_default_branch_service_spec.rb": 21.181944967000163, 5247 22:33:01 "spec/graphql/types/user_type_spec.rb": 18.90207836299942, 5248 22:33:01 "spec/services/search/group_service_spec.rb": 19.998958649999622, 5249 22:33:01 "spec/lib/gitlab/database/with_lock_retries_spec.rb": 15.420029986000372, 5250 22:33:01 "spec/services/issuable/common_system_notes_service_spec.rb": 18.041941044999476, 5251 22:33:01 "spec/services/wiki_pages/create_service_spec.rb": 16.199752028999683, 5252 22:33:01 "spec/services/resource_events/change_state_service_spec.rb": 16.1050121570006, 5253 22:33:01 "spec/lib/gitlab/color_spec.rb": 9.372788644000138, 5254 22:33:01 "spec/services/files/delete_service_spec.rb": 13.114708710000741, 5255 22:33:01 "spec/models/concerns/resolvable_discussion_spec.rb": 10.730090796000695, 5256 22:33:01 "spec/finders/joined_groups_finder_spec.rb": 12.670516563000092, 5257 22:33:01 "spec/tasks/gettext_rake_spec.rb": 8.96477803200014, 5258 22:33:01 "spec/services/deployments/update_service_spec.rb": 10.44404268299968, 5259 22:33:01 "spec/services/cloud_seed/google_cloud/setup_cloudsql_instance_service_spec.rb": 10.674427479999395, 5260 22:33:01 "spec/services/ci/generate_coverage_reports_service_spec.rb": 8.248968369000067, 5261 22:33:01 "spec/lib/banzai/object_renderer_spec.rb": 9.679767623999396, 5262 22:33:01 "spec/models/protected_tag_spec.rb": 8.702640184999836, 5263 22:33:01 "spec/models/integrations/datadog_spec.rb": 6.896195897000325, 5264 22:33:01 "spec/views/projects/pages/show.html.haml_spec.rb": 7.30608518400004, 5265 22:33:01 "spec/workers/gitlab/jira_import/stuck_jira_import_jobs_worker_spec.rb": 6.107956470999852, 5266 22:33:01 "spec/models/milestone_release_spec.rb": 6.612057904999347, 5267 22:33:01 "spec/models/integrations/buildkite_spec.rb": 5.3151860580001085, 5268 22:33:01 "spec/models/namespaces/traversal/cached_spec.rb": 7.723315580000417, 5269 22:33:01 "spec/tasks/dev_rake_spec.rb": 4.783396279000044, 5270 22:33:01 "spec/services/projects/move_lfs_objects_projects_service_spec.rb": 5.3307398560000365, 5271 22:33:01 "spec/serializers/stage_serializer_spec.rb": 7.35296177500004, 5272 22:33:01 "spec/models/audit_events/instance_audit_event_spec.rb": 5.1939659890003895, 5273 22:33:01 "spec/services/projects/import_export/parallel_export_service_spec.rb": 4.7342092220005725, 5274 22:33:01 "spec/lib/gitlab/slash_commands/presenters/deploy_spec.rb": 5.274291351000102, 5275 22:33:01 "spec/routing/admin_routing_spec.rb": 2.6701275180021184, 5276 22:33:01 "spec/graphql/resolvers/project_merge_requests_resolver_spec.rb": 3.932246727999882, 5277 22:33:01 "spec/models/concerns/ci/has_variable_spec.rb": 4.553554969999823, 5278 22:33:01 "spec/lib/gitlab/import_export/base/object_builder_spec.rb": 3.91706510899985, 5279 22:33:01 "spec/services/merge_requests/add_spent_time_service_spec.rb": 4.47672640699966, 5280 22:33:01 "spec/graphql/mutations/ci/job_token_scope/add_project_spec.rb": 4.424302401999739, 5281 22:33:01 "spec/finders/projects/ml/model_version_finder_spec.rb": 3.5127222280007118, 5282 22:33:01 "spec/services/packages/create_package_file_service_spec.rb": 3.529032556999482, 5283 22:33:01 "spec/services/service_desk/custom_email_verifications/update_service_spec.rb": 4.085750494000422, 5284 22:33:01 "spec/services/releases/links/update_service_spec.rb": 3.1098950759997024, 5285 22:33:01 "spec/lib/gitlab/exclusive_lease_spec.rb": 3.099055208000209, 5286 22:33:01 "spec/services/two_factor/destroy_service_spec.rb": 3.1312932939999882, 5287 22:33:01 "spec/services/ci/create_pipeline_service/variables_spec.rb": 2.720764402999521, 5288 22:33:01 "spec/lib/gitlab/ci/pipeline/chain/build_spec.rb": 2.339506068999981, 5289 22:33:01 "spec/services/ml/create_model_version_service_spec.rb": 3.029408133999823, 5290 22:33:01 "spec/serializers/merge_request_for_pipeline_entity_spec.rb": 2.2113477809998585, 5291 22:33:01 "spec/lib/gitlab/ci/templates/Diffblue_Cover_spec.rb": 2.5088975529997697, 5292 22:33:01 "spec/graphql/resolvers/releases_resolver_spec.rb": 2.611348113000531, 5293 22:33:01 "spec/graphql/mutations/terraform/state/lock_spec.rb": 2.4777238549995673, 5294 22:33:01 "spec/services/resource_events/merge_into_notes_service_spec.rb": 2.6577990389996557, 5295 22:33:01 "spec/graphql/mutations/notes/reposition_image_diff_note_spec.rb": 2.217345291000129, 5296 22:33:01 "spec/workers/expire_build_artifacts_worker_spec.rb": 2.7355726209998465, 5297 22:33:01 "spec/policies/release_policy_spec.rb": 1.876055372999872, 5298 22:33:01 "spec/models/incident_management/project_incident_management_setting_spec.rb": 2.214657520000401, 5299 22:33:01 "spec/helpers/profiles_helper_spec.rb": 1.8722103529999004, 5300 22:33:01 "spec/workers/merge_requests/resolve_todos_worker_spec.rb": 2.0313319879996925, 5301 22:33:01 "spec/models/concerns/reactive_caching_spec.rb": 1.9721161639999991, 5302 22:33:01 "spec/lib/gitlab/cache/json_caches/json_keyed_spec.rb": 1.7057621379999546, 5303 22:33:01 "spec/helpers/projects/alert_management_helper_spec.rb": 1.7200305280002794, 5304 22:33:01 "spec/lib/gitlab/usage/metrics/instrumentations/count_snippets_metric_spec.rb": 1.6877316399995834, 5305 22:33:01 "spec/graphql/resolvers/blame_resolver_spec.rb": 1.6960274799994295, 5306 22:33:01 "spec/workers/users/track_namespace_visits_worker_spec.rb": 1.6165404869998383, 5307 22:33:01 "spec/services/cohorts_service_spec.rb": 1.6810242410001592, 5308 22:33:01 "spec/lib/gitlab/auth/o_auth/identity_linker_spec.rb": 1.4682073209996815, 5309 22:33:01 "spec/lib/gitlab/database/postgres_constraint_spec.rb": 0.9030481749996397, 5310 22:33:01 "spec/lib/gitlab/github_import/representation/issue_event_spec.rb": 1.2973354569994626, 5311 22:33:01 "spec/lib/gitlab/database/migrations/test_background_runner_spec.rb": 1.1979390470005455, 5312 22:33:01 "spec/views/projects/imports/new.html.haml_spec.rb": 1.4215992249992269, 5313 22:33:01 "spec/lib/bitbucket_server/representation/activity_spec.rb": 1.1654680899991945, 5314 22:33:01 "spec/lib/gitlab/auth/saml/identity_linker_spec.rb": 1.298984766999638, 5315 22:33:01 "spec/initializers/check_forced_decomposition_spec.rb": 0.5833777150000969, 5316 22:33:01 "spec/workers/integrations/jira_connect/remove_branch_worker_spec.rb": 1.1828319879996343, 5317 22:33:01 "spec/lib/gitlab/database/unidirectional_copy_trigger_spec.rb": 0.6698389060002228, 5318 22:33:01 "spec/lib/gitlab/database/postgres_partitioned_table_spec.rb": 0.819726203000755, 5319 22:33:01 "spec/helpers/organizations/organization_helper_spec.rb": 1.0542735700000776, 5320 22:33:01 "spec/rubocop/cop/gitlab/namespaced_class_spec.rb": 0.882056867000756, 5321 22:33:01 "spec/models/oauth_access_grant_spec.rb": 0.7875902960004169, 5322 22:33:01 "spec/lib/gitlab/ci/reports/codequality_reports_comparer_spec.rb": 0.8748264569994717, 5323 22:33:01 "spec/views/shared/milestones/_top.html.haml_spec.rb": 0.8149399529993389, 5324 22:33:01 "spec/lib/gitlab/bitbucket_import/importers/users_importer_spec.rb": 0.8543856289998075, 5325 22:33:01 "spec/lib/gitlab/auth/atlassian/user_spec.rb": 0.8683841479996772, 5326 22:33:01 "spec/lib/api/ml/mlflow/api_helpers_spec.rb": 0.8669090579996919, 5327 22:33:01 "spec/lib/gitlab/middleware/compressed_json_spec.rb": 0.8097248730000501, 5328 22:33:01 "spec/uploaders/gitlab_uploader_spec.rb": 0.7019844639999064, 5329 22:33:01 "spec/lib/bulk_imports/projects/pipelines/container_expiration_policy_pipeline_spec.rb": 1.395368628000142, 5330 22:33:01 "spec/services/achievements/update_user_achievement_service_spec.rb": 1.7731287620008516, 5331 22:33:01 "spec/lib/gitlab/untrusted_regexp_spec.rb": 0.7852927860003547, 5332 22:33:01 "spec/config/inject_enterprise_edition_module_spec.rb": 0.6647403870001654, 5333 22:33:01 "spec/lib/gitlab/ci/config/entry/include_spec.rb": 0.6123193820003507, 5334 22:33:01 "spec/presenters/blobs/unfold_presenter_spec.rb": 0.5996456630000466, 5335 22:33:01 "spec/lib/gitlab/kubernetes/rollout_status_spec.rb": 0.6736565969995354, 5336 22:33:01 "spec/lib/gitlab/ci/config/entry/allow_failure_spec.rb": 0.4703032159995928, 5337 22:33:01 "spec/routing/organizations/projects_controller_routing_spec.rb": 0.5508947779999289, 5338 22:33:01 "spec/tooling/danger/sidekiq_args_spec.rb": 0.5064686019995861, 5339 22:33:01 "spec/lib/gitlab/import_export/attributes_finder_spec.rb": 0.5265016000003016, 5340 22:33:01 "spec/lib/gitlab/github_import/importer/issues_importer_spec.rb": 0.45049457700042694, 5341 22:33:01 "spec/lib/gitlab/graphql/pagination/offset_active_record_relation_connection_spec.rb": 0.47775145400009933, 5342 22:33:01 "spec/lib/sidebars/groups/menus/ci_cd_menu_spec.rb": 0.5042182820006929, 5343 22:33:01 "spec/views/admin/application_settings/_repository_check.html.haml_spec.rb": 0.4067747420003798, 5344 22:33:01 "spec/lib/object_storage/pending_direct_upload_spec.rb": 0.32348950899995543, 5345 22:33:01 "spec/validators/array_members_validator_spec.rb": 0.22840624900072726, 5346 22:33:01 "spec/lib/gitlab/database/type/symbolized_jsonb_spec.rb": 0.3265877599997111, 5347 22:33:01 "spec/lib/gitlab/ci/build/hook_spec.rb": 0.4086072009995405, 5348 22:33:01 "spec/models/concerns/as_cte_spec.rb": 0.2781384640002216, 5349 22:33:01 "spec/models/packages/nuget/dependency_link_metadatum_spec.rb": 0.3204431290005232, 5350 22:33:01 "spec/models/doorkeeper/application_spec.rb": 0.19873094100057642, 5351 22:33:01 "spec/lib/banzai/filter/kroki_filter_spec.rb": 0.27707627400013735, 5352 22:33:01 "spec/lib/gitlab/cleanup/orphan_job_artifact_final_objects/rollback_deleted_objects_spec.rb": 0.2773315640006331, 5353 22:33:01 "spec/lib/gitlab/database/migrations/runner_backoff/communicator_spec.rb": 0.3682662049995997, 5354 22:33:01 "spec/lib/gitlab/cache/metadata_spec.rb": 0.26609091499994975, 5355 22:33:01 "spec/uploaders/content_type_whitelist_spec.rb": 0.16914115399958973, 5356 22:33:01 "spec/lib/gitlab/kubernetes/kubeconfig/template_spec.rb": 0.22618927799976518, 5357 22:33:01 "spec/lib/gitlab/auth/otp/strategies/forti_token_cloud_spec.rb": 0.22516028900008678, 5358 22:33:01 "spec/support_specs/database/duplicate_indexes_spec.rb": 0.203432010999677, 5359 22:33:01 "spec/rubocop/cop/performance/active_record_subtransaction_methods_spec.rb": 0.19012436200046068, 5360 22:33:01 "spec/views/shared/_milestones_sort_dropdown.html.haml_spec.rb": 0.33816215899969393, 5361 22:33:01 "spec/lib/gitlab/fp/settings/public_api_spec.rb": 0.20526505100042414, 5362 22:33:01 "spec/graphql/types/container_repository_details_type_spec.rb": 0.1486219059997893, 5363 22:33:01 "spec/serializers/test_reports_comparer_serializer_spec.rb": 0.1213276489997952, 5364 22:33:01 "spec/lib/gitlab/database/partitioning/list/locking_configuration_spec.rb": 0.17301058400062175, 5365 22:33:01 "spec/lib/gitlab/database/health_status/indicators/prometheus_alert_indicator_spec.rb": 0.23082989900012763, 5366 22:33:01 "spec/support_specs/capybara_slow_finder_spec.rb": 0.16961814399928699, 5367 22:33:01 "spec/lib/gitlab/usage_data_counters/visual_studio_extension_activity_unique_counter_spec.rb": 0.18901001199992606, 5368 22:33:01 "spec/lib/gitlab/sql/glob_spec.rb": 0.14997612600018329, 5369 22:33:01 "spec/lib/gitlab/middleware/handle_ip_spoof_attack_error_spec.rb": 0.10047947099974408, 5370 22:33:01 "spec/models/postgresql/detached_partition_spec.rb": 0.13010796700018545, 5371 22:33:01 "spec/lib/sidebars/explore/menus/catalog_menu_spec.rb": 0.13436562799961393, 5372 22:33:01 "spec/graphql/types/alert_management/alert_type_spec.rb": 0.12078585800009023, 5373 22:33:01 "spec/lib/gitlab/ci/config/interpolation/functions/truncate_spec.rb": 0.09354603100018721, 5374 22:33:01 "spec/lib/gitlab/database/query_analyzers/prevent_set_operator_mismatch/references_spec.rb": 0.1262175780002508, 5375 22:33:01 "spec/lib/gitlab/json_logger_spec.rb": 0.12053534900041996, 5376 22:33:01 "spec/tooling/danger/specs_spec.rb": 0.09629081100047188, 5377 22:33:01 "spec/views/errors/access_denied.html.haml_spec.rb": 0.056228293999993184, 5378 22:33:01 "spec/lib/gitlab/ci/config/external/mapper/variables_expander_spec.rb": 0.09723293099978036, 5379 22:33:01 "spec/graphql/types/ci/runner_type_spec.rb": 0.09285946099953435, 5380 22:33:01 "spec/initializers/active_job_shard_support_spec.rb": 0.09196018100010406, 5381 22:33:01 "spec/graphql/types/organizations/organization_user_access_level_type_spec.rb": 0.09408202099984919, 5382 22:33:01 "spec/views/help/show.html.haml_spec.rb": 0.08952426199994079, 5383 22:33:01 "spec/models/concerns/faster_cache_keys_spec.rb": 0.08658730100069079, 5384 22:33:01 "spec/lib/gitlab/sidekiq_death_handler_spec.rb": 0.06920759400054521, 5385 22:33:01 "spec/rubocop/cop/migration/remove_index_spec.rb": 0.07287288299994543, 5386 22:33:01 "spec/graphql/types/ci/ci_cd_setting_type_spec.rb": 0.06807494399981806, 5387 22:33:01 "spec/graphql/types/tree/type_enum_spec.rb": 0.07168519300012122, 5388 22:33:01 "spec/graphql/types/ci/runner_platform_type_spec.rb": 0.07487102300001425, 5389 22:33:01 "spec/graphql/types/branch_type_spec.rb": 0.07093219400030648, 5390 22:33:01 "spec/lib/gitlab/graphql/query_analyzers/ast/recursion_analyzer_spec.rb": 0.07336301299983461, 5391 22:33:01 "spec/lib/sidebars/groups/super_sidebar_menus/manage_menu_spec.rb": 0.06710173299961752, 5392 22:33:01 "spec/lib/gitlab/slash_commands/presenters/error_spec.rb": 0.06401731400001154, 5393 22:33:01 "spec/lib/gitlab/usage/metrics/instrumentations/orphaned_namespaces_metric_spec.rb": 0.04425336599979346, 5394 22:33:01 "spec/graphql/types/limited_countable_connection_type_spec.rb": 0.039561395999953675, 5395 22:33:01 "spec/graphql/types/ci/project_variable_connection_type_spec.rb": 0.03965130600045086, 5396 22:33:01 "spec/lib/banzai/filter/html_entity_filter_spec.rb": 0.038330506999955105, 5397 22:33:01 "spec/lib/gitlab/graphql/copy_field_description_spec.rb": 0.04151036599978397, 5398 22:33:01 "spec/graphql/types/packages/package_dependency_link_type_spec.rb": 0.04382954599986988, 5399 22:33:01 "spec/lib/gitlab/git/gitmodules_parser_spec.rb": 0.041879555999912554 5401 22:33:01 Knapsack global time execution for tests: 20m 03s 5402 22:33:01 Pending: (Failures listed here are expected and do not affect your suite's status) 5403 22:33:01 1) Backup::Targets::Database#dump when using multiple databases uses snapshots 5404 22:33:01 # Skipping because ci is shared or doesn't not exist 5405 22:33:01 # ./spec/lib/backup/targets/database_spec.rb:50 5406 22:33:01 2) Backup::Targets::Database#dump when a StandardError (or descendant) is raised when using multiple databases restores timeouts 5407 22:33:01 # Skipping because ci is shared or doesn't not exist 5408 22:33:01 # ./spec/lib/backup/targets/database_spec.rb:112 5409 22:33:01 3) dev rake tasks terminate_all_connections when a database is not found continues to next connection 5410 22:33:01 # Skipping because ci is shared or doesn't not exist 5411 22:33:01 # ./spec/tasks/dev_rake_spec.rb:127 5412 22:33:01 4) dev rake tasks multiple databases with a valid database copy_db:ci creates the database from main 5413 22:33:01 # Skipping because ci is shared or doesn't not exist 5414 22:33:01 # ./spec/tasks/dev_rake_spec.rb:155 5415 22:33:01 5) dev rake tasks multiple databases with a valid database copy_db:ci when the database already exists prints out a warning 5416 22:33:01 # Skipping because ci is shared or doesn't not exist 5417 22:33:01 # ./spec/tasks/dev_rake_spec.rb:167 5418 22:33:01 6) dev rake tasks multiple databases with an invalid database raises an error 5419 22:33:01 # Skipping because ci is shared or doesn't not exist 5420 22:33:01 # ./spec/tasks/dev_rake_spec.rb:177 5421 22:33:01 7) check_forced_decomposition initializer for production env for single database 5422 22:33:01 # Skipping because some of the extra databases [:ci, :sec, :embedding, :geo] are setup 5423 22:33:01 # ./spec/initializers/check_forced_decomposition_spec.rb:24 5424 22:33:01 Finished in 20 minutes 43 seconds (files took 1 minute 5.92 seconds to load) 5425 22:33:01 2728 examples, 0 failures, 7 pending 5426 22:33:01 Randomized with seed 46564 5427 22:33:07 [TEST PROF INFO] Time spent in factories: 10:22.499 (49.8% of total time) 5428 22:33:07 RSpec exited with 0. 5429 22:33:07 No examples to retry, congrats! 5431 22:33:08 Running after script... 5432 22:33:08 $ source scripts/utils.sh 5433 22:33:08 $ log_disk_usage 5434 22:33:08 ******************************************************* 5435 22:33:08 This runner currently has 71G free disk space. 5436 22:33:08 ******************************************************* 5493 22:33:16 $ bundle exec gem list gitlab_quality-test_tooling 5494 22:33:18 gitlab_quality-test_tooling (2.1.0) 5495 22:33:18 $ section_start "failed-test-issues" "Report test failures" # collapsed multi-line command 5498 22:33:18 $ section_start "flaky-test-issues" "Report test flakiness" # collapsed multi-line command 5501 22:33:18 $ section_start "slow-test-issues" "Report test slowness" # collapsed multi-line command 5504 22:33:18 $ section_start "slow-test-merge-request-report-note" "Report test slowness in MR note" # collapsed multi-line command 5508 22:33:20 $ section_start "knapsack-report-issues" "Report test files close to timing out" # collapsed multi-line command 5512 22:33:22 $ tooling/bin/push_job_metrics || true 5513 22:33:23 [job-metrics] Pushing job metrics file for the CI/CD job. 5514 22:33:23 [job-metrics] Pushed 4 CI job metric entries to InfluxDB. 5516 22:33:24 Not uploading cache ruby-gems-debian-bookworm-ruby-3.2.5-gemfile-Gemfile-20 due to policy 5518 22:33:26 Uploading artifacts... 5519 22:33:26 auto_explain/: found 3 matching artifact files and directories 5520 22:33:26 coverage/: found 5 matching artifact files and directories 5521 22:33:26 crystalball/: found 2 matching artifact files and directories 5522 22:33:26 WARNING: deprecations/: no matching files. Ensure that the artifact path is relative to the working directory (/builds/gitlab-org/gitlab) 5523 22:33:26 knapsack/: found 4 matching artifact files and directories 5524 22:33:26 rspec/: found 16 matching artifact files and directories 5525 22:33:26 WARNING: tmp/capybara/: no matching files. Ensure that the artifact path is relative to the working directory (/builds/gitlab-org/gitlab) 5526 22:33:26 log/*.log: found 17 matching artifact files and directories 5528 22:33:26 WARNING: Retrying... context =artifacts-uploader error =request redirected 5529 22:33:29 Uploading artifacts as "archive" to coordinator... 201 Created id =8353287833 responseStatus =201 Created token =glcbt-66 5530 22:33:29 Uploading artifacts... 5531 22:33:29 rspec/rspec-*.xml: found 1 matching artifact files and directories 5533 22:33:29 WARNING: Retrying... context =artifacts-uploader error =request redirected 5534 22:33:30 Uploading artifacts as "junit" to coordinator... 201 Created id =8353287833 responseStatus =201 Created token =glcbt-66 5536 22:33:40 Job succeeded