rspec unit pg14 single-db-ci-connection 28/44
Passed Started
3 months ago
by
@stomlinson 2 22:28:26 #with_debian_file_type 3 22:28:26 is expected to contain exactly #<Packages::PackageFile id: 289, package_id: 158, created_at: "2024-11-13 22:28:19.177594276 +0000", ...ation_started_at: nil, status: "default", file_final_path: nil, project_id: nil, new_file_path: nil> 4 22:28:26 #with_debian_component_name 5 22:28:26 is expected to contain exactly #<Packages::PackageFile id: 315, package_id: 158, created_at: "2024-11-13 22:28:26.792864058 +0000", ...ation_started_at: nil, status: "default", file_final_path: nil, project_id: nil, new_file_path: nil> 6 22:28:26 #with_debian_architecture_name 7 22:28:26 is expected to contain exactly #<Packages::PackageFile id: 316, package_id: 158, created_at: "2024-11-13 22:28:26.818300866 +0000", ...ation_started_at: nil, status: "default", file_final_path: nil, project_id: nil, new_file_path: nil> 8 22:28:26 #with_debian_unknown_since 9 22:28:27 is expected to contain exactly #<Packages::PackageFile id: 317, package_id: 170, created_at: "2024-11-13 22:28:26.960204277 +0000", ...ation_started_at: nil, status: "default", file_final_path: nil, project_id: nil, new_file_path: nil> 10 22:28:27 .for_helm_with_channel 11 22:28:27 returns the matching file only for Helm packages 12 22:28:27 with package files pending destruction 13 22:28:28 does not return them 15 22:28:28 is expected to eq #<Packages::PackageFile id: 289, package_id: 158, created_at: "2024-11-13 22:28:19.177594000 +0000", ...ation_started_at: nil, status: "default", file_final_path: nil, project_id: 668, new_file_path: nil> 16 22:28:28 .most_recent_for 17 22:28:30 package_input1: 1, package_input2: 2, package_input3: 3, package_input4: 4 18 22:28:30 is expected to contain exactly #<Packages::PackageFile id: 331, package_id: 174, created_at: "2024-11-13 22:28:28.612556000 +0000", ...ation_started_at: nil, status: "default", file_final_path: nil, project_id: 685, new_file_path: nil>, #<Packages::PackageFile id: 341, package_id: 175, created_at: "2024-11-13 22:28:30.218782000 +0000", ...ation_started_at: nil, status: "default", file_final_path: nil, project_id: 686, new_file_path: nil>, #<Packages::PackageFile id: 337, package_id: 176, created_at: "2024-11-13 22:28:30.160087000 +0000", ...ation_started_at: nil, status: "default", file_final_path: nil, project_id: 687, new_file_path: nil>, and #<Packages::PackageFile id: 334, package_id: 177, created_at: "2024-11-13 22:28:30.118731000 +0000", ...ation_started_at: nil, status: "default", file_final_path: nil, project_id: 688, new_file_path: nil> 19 22:28:30 # [RSpecRunTime] RSpec elapsed time: 16 minutes 19.53 seconds. Current RSS: ~1340M. Threads: 4. load average: 1.13 1.09 1.14 1/294 10502 21 22:28:30 package_input1: 1, package_input2: 2, package_input3: 3, package_input4: nil 22 22:28:30 is expected to contain exactly #<Packages::PackageFile id: 331, package_id: 174, created_at: "2024-11-13 22:28:28.612556000 +0000", ...ation_started_at: nil, status: "default", file_final_path: nil, project_id: 685, new_file_path: nil>, #<Packages::PackageFile id: 341, package_id: 175, created_at: "2024-11-13 22:28:30.218782000 +0000", ...ation_started_at: nil, status: "default", file_final_path: nil, project_id: 686, new_file_path: nil>, and #<Packages::PackageFile id: 337, package_id: 176, created_at: "2024-11-13 22:28:30.160087000 +0000", ...ation_started_at: nil, status: "default", file_final_path: nil, project_id: 687, new_file_path: nil> 23 22:28:30 package_input1: 1, package_input2: 2, package_input3: nil, package_input4: 4 24 22:28:30 is expected to contain exactly #<Packages::PackageFile id: 331, package_id: 174, created_at: "2024-11-13 22:28:28.612556000 +0000", ...ation_started_at: nil, status: "default", file_final_path: nil, project_id: 685, new_file_path: nil>, #<Packages::PackageFile id: 341, package_id: 175, created_at: "2024-11-13 22:28:30.218782000 +0000", ...ation_started_at: nil, status: "default", file_final_path: nil, project_id: 686, new_file_path: nil>, and #<Packages::PackageFile id: 334, package_id: 177, created_at: "2024-11-13 22:28:30.118731000 +0000", ...ation_started_at: nil, status: "default", file_final_path: nil, project_id: 688, new_file_path: nil> 25 22:28:30 package_input1: 1, package_input2: 2, package_input3: nil, package_input4: nil 26 22:28:30 is expected to contain exactly #<Packages::PackageFile id: 331, package_id: 174, created_at: "2024-11-13 22:28:28.612556000 +0000", ...ation_started_at: nil, status: "default", file_final_path: nil, project_id: 685, new_file_path: nil> and #<Packages::PackageFile id: 341, package_id: 175, created_at: "2024-11-13 22:28:30.218782000 +0000", ...ation_started_at: nil, status: "default", file_final_path: nil, project_id: 686, new_file_path: nil> 27 22:28:30 package_input1: 1, package_input2: nil, package_input3: 3, package_input4: 4 28 22:28:30 is expected to contain exactly #<Packages::PackageFile id: 331, package_id: 174, created_at: "2024-11-13 22:28:28.612556000 +0000", ...ation_started_at: nil, status: "default", file_final_path: nil, project_id: 685, new_file_path: nil>, #<Packages::PackageFile id: 337, package_id: 176, created_at: "2024-11-13 22:28:30.160087000 +0000", ...ation_started_at: nil, status: "default", file_final_path: nil, project_id: 687, new_file_path: nil>, and #<Packages::PackageFile id: 334, package_id: 177, created_at: "2024-11-13 22:28:30.118731000 +0000", ...ation_started_at: nil, status: "default", file_final_path: nil, project_id: 688, new_file_path: nil> 29 22:28:30 package_input1: 1, package_input2: nil, package_input3: 3, package_input4: nil 30 22:28:30 is expected to contain exactly #<Packages::PackageFile id: 331, package_id: 174, created_at: "2024-11-13 22:28:28.612556000 +0000", ...ation_started_at: nil, status: "default", file_final_path: nil, project_id: 685, new_file_path: nil> and #<Packages::PackageFile id: 337, package_id: 176, created_at: "2024-11-13 22:28:30.160087000 +0000", ...ation_started_at: nil, status: "default", file_final_path: nil, project_id: 687, new_file_path: nil> 31 22:28:30 package_input1: 1, package_input2: nil, package_input3: nil, package_input4: 4 32 22:28:30 is expected to contain exactly #<Packages::PackageFile id: 331, package_id: 174, created_at: "2024-11-13 22:28:28.612556000 +0000", ...ation_started_at: nil, status: "default", file_final_path: nil, project_id: 685, new_file_path: nil> and #<Packages::PackageFile id: 334, package_id: 177, created_at: "2024-11-13 22:28:30.118731000 +0000", ...ation_started_at: nil, status: "default", file_final_path: nil, project_id: 688, new_file_path: nil> 33 22:28:30 package_input1: 1, package_input2: nil, package_input3: nil, package_input4: nil 34 22:28:30 is expected to contain exactly #<Packages::PackageFile id: 331, package_id: 174, created_at: "2024-11-13 22:28:28.612556000 +0000", ...ation_started_at: nil, status: "default", file_final_path: nil, project_id: 685, new_file_path: nil> 35 22:28:30 package_input1: nil, package_input2: 2, package_input3: 3, package_input4: 4 36 22:28:30 is expected to contain exactly #<Packages::PackageFile id: 341, package_id: 175, created_at: "2024-11-13 22:28:30.218782000 +0000", ...ation_started_at: nil, status: "default", file_final_path: nil, project_id: 686, new_file_path: nil>, #<Packages::PackageFile id: 337, package_id: 176, created_at: "2024-11-13 22:28:30.160087000 +0000", ...ation_started_at: nil, status: "default", file_final_path: nil, project_id: 687, new_file_path: nil>, and #<Packages::PackageFile id: 334, package_id: 177, created_at: "2024-11-13 22:28:30.118731000 +0000", ...ation_started_at: nil, status: "default", file_final_path: nil, project_id: 688, new_file_path: nil> 37 22:28:30 package_input1: nil, package_input2: 2, package_input3: 3, package_input4: nil 38 22:28:30 is expected to contain exactly #<Packages::PackageFile id: 341, package_id: 175, created_at: "2024-11-13 22:28:30.218782000 +0000", ...ation_started_at: nil, status: "default", file_final_path: nil, project_id: 686, new_file_path: nil> and #<Packages::PackageFile id: 337, package_id: 176, created_at: "2024-11-13 22:28:30.160087000 +0000", ...ation_started_at: nil, status: "default", file_final_path: nil, project_id: 687, new_file_path: nil> 39 22:28:30 package_input1: nil, package_input2: 2, package_input3: nil, package_input4: 4 40 22:28:30 is expected to contain exactly #<Packages::PackageFile id: 341, package_id: 175, created_at: "2024-11-13 22:28:30.218782000 +0000", ...ation_started_at: nil, status: "default", file_final_path: nil, project_id: 686, new_file_path: nil> and #<Packages::PackageFile id: 334, package_id: 177, created_at: "2024-11-13 22:28:30.118731000 +0000", ...ation_started_at: nil, status: "default", file_final_path: nil, project_id: 688, new_file_path: nil> 41 22:28:30 package_input1: nil, package_input2: 2, package_input3: nil, package_input4: nil 42 22:28:30 is expected to contain exactly #<Packages::PackageFile id: 341, package_id: 175, created_at: "2024-11-13 22:28:30.218782000 +0000", ...ation_started_at: nil, status: "default", file_final_path: nil, project_id: 686, new_file_path: nil> 43 22:28:30 package_input1: nil, package_input2: nil, package_input3: 3, package_input4: 4 44 22:28:30 is expected to contain exactly #<Packages::PackageFile id: 337, package_id: 176, created_at: "2024-11-13 22:28:30.160087000 +0000", ...ation_started_at: nil, status: "default", file_final_path: nil, project_id: 687, new_file_path: nil> and #<Packages::PackageFile id: 334, package_id: 177, created_at: "2024-11-13 22:28:30.118731000 +0000", ...ation_started_at: nil, status: "default", file_final_path: nil, project_id: 688, new_file_path: nil> 45 22:28:30 package_input1: nil, package_input2: nil, package_input3: 3, package_input4: nil 46 22:28:30 is expected to contain exactly #<Packages::PackageFile id: 337, package_id: 176, created_at: "2024-11-13 22:28:30.160087000 +0000", ...ation_started_at: nil, status: "default", file_final_path: nil, project_id: 687, new_file_path: nil> 47 22:28:30 package_input1: nil, package_input2: nil, package_input3: nil, package_input4: 4 48 22:28:31 is expected to contain exactly #<Packages::PackageFile id: 334, package_id: 177, created_at: "2024-11-13 22:28:30.118731000 +0000", ...ation_started_at: nil, status: "default", file_final_path: nil, project_id: 688, new_file_path: nil> 49 22:28:31 package_input1: nil, package_input2: nil, package_input3: nil, package_input4: nil 50 22:28:31 is expected to contain exactly 51 22:28:31 extra join and extra where 52 22:28:32 returns the most recent package for the selected channel 53 22:28:32 with package files pending destruction 54 22:28:32 does not return them 55 22:28:32 # [RSpecRunTime] RSpec elapsed time: 16 minutes 21.4 seconds. Current RSS: ~1340M. Threads: 4. load average: 1.04 1.07 1.14 1/294 10503 58 22:28:32 package_file without pipeline 59 22:28:32 is expected to be empty 60 22:28:32 package_file with pipeline 61 22:28:33 is expected to contain exactly #<Ci::Pipeline ref: "master", sha: "b83d6e391c22777fca1ed3012fce84f633d7fed0", before_sha: nil, creat...ts_locked", partition_id: 102, id: 64, auto_canceled_by_id: nil, auto_canceled_by_partition_id: nil> and #<Ci::Pipeline ref: "master", sha: "b83d6e391c22777fca1ed3012fce84f633d7fed0", before_sha: nil, creat...ts_locked", partition_id: 102, id: 65, auto_canceled_by_id: nil, auto_canceled_by_partition_id: nil> 62 22:28:33 # [RSpecRunTime] RSpec elapsed time: 16 minutes 23.12 seconds. Current RSS: ~1340M. Threads: 4. load average: 1.04 1.07 1.14 1/294 10504 64 22:28:33 #update_file_store callback 65 22:28:34 updates metadata columns 66 22:28:34 update callbacks 67 22:28:34 with object storage disabled 68 22:28:34 behaves like executing the default callback 69 22:28:36 executes the default callback 70 22:28:36 # [RSpecRunTime] RSpec elapsed time: 16 minutes 25.6 seconds. Current RSS: ~1343M. Threads: 4. load average: 1.03 1.07 1.13 1/294 10505 72 22:28:36 with new_file_path set 73 22:28:36 behaves like executing the default callback 74 22:28:37 executes the default callback 75 22:28:37 with object storage enabled 76 22:28:37 behaves like executing the default callback 77 22:28:37 executes the default callback 78 22:28:37 with new_file_path set 79 22:28:38 executes the move_in_object_storage callback 82 22:28:39 does not include non-displayable packages 84 22:28:39 is expected to contain exactly #<Packages::PackageFile id: 355, package_id: 186, created_at: "2024-11-13 22:28:39.162358390 +0000", ...d_at: nil, status: "pending_destruction", file_final_path: nil, project_id: nil, new_file_path: nil> 85 22:28:39 .installable_statuses 86 22:28:39 behaves like installable statuses 87 22:28:39 returns installable statuses 88 22:28:39 #file_name_for_download 89 22:28:39 with a simple file name 90 22:28:39 is expected to eq "FooBar" 91 22:28:39 with a file name with encoded slashes 92 22:28:39 returns the last component of the file name 93 22:28:39 # [RSpecRunTime] Finishing example group spec/models/packages/package_file_spec.rb. It took 23.78 seconds. Expected to take 24.66 seconds. 94 22:28:39 # [RSpecRunTime] Starting example group spec/models/concerns/project_api_compatibility_spec.rb. Expected to take 22.11 seconds. 95 22:28:39 ProjectAPICompatibility 96 22:28:39 does not allow STI 97 22:28:40 converts build_git_strategy=fetch to build_allow_git_fetch=true 98 22:28:40 converts build_git_strategy=clone to build_allow_git_fetch=false 99 22:28:40 #auto_devops_enabled 100 22:28:40 initial: :missing, final: nil 101 22:28:41 sets the correct value 102 22:28:41 # [RSpecRunTime] RSpec elapsed time: 16 minutes 30.73 seconds. Current RSS: ~1349M. Threads: 4. load average: 1.03 1.07 1.13 2/295 10506 104 22:28:41 initial: :missing, final: false 105 22:28:42 sets the correct value 106 22:28:42 initial: :missing, final: true 107 22:28:43 sets the correct value 108 22:28:43 initial: nil, final: nil 109 22:28:43 sets the correct value 110 22:28:43 initial: nil, final: false 111 22:28:44 sets the correct value 112 22:28:44 initial: nil, final: true 113 22:28:45 sets the correct value 114 22:28:45 initial: false, final: nil 115 22:28:46 sets the correct value 116 22:28:46 initial: false, final: false 117 22:28:46 sets the correct value 118 22:28:46 initial: false, final: true 119 22:28:47 sets the correct value 120 22:28:47 initial: true, final: nil 121 22:28:48 sets the correct value 122 22:28:48 initial: true, final: false 123 22:28:49 sets the correct value 124 22:28:49 initial: true, final: true 125 22:28:49 sets the correct value 126 22:28:49 #auto_devops_deploy_strategy 127 22:28:49 initial: :missing, final: "continuous" 128 22:28:50 sets the correct value 129 22:28:50 initial: :missing, final: "manual" 130 22:28:51 sets the correct value 131 22:28:51 initial: :missing, final: "timed_incremental" 132 22:28:52 sets the correct value 133 22:28:52 initial: "continuous", final: "continuous" 134 22:28:52 sets the correct value 135 22:28:52 initial: "continuous", final: "manual" 136 22:28:53 sets the correct value 137 22:28:53 initial: "continuous", final: "timed_incremental" 138 22:28:54 sets the correct value 139 22:28:54 initial: "manual", final: "continuous" 140 22:28:54 sets the correct value 141 22:28:54 initial: "manual", final: "manual" 142 22:28:55 sets the correct value 143 22:28:55 initial: "manual", final: "timed_incremental" 144 22:28:56 sets the correct value 145 22:28:56 initial: "timed_incremental", final: "continuous" 146 22:28:57 sets the correct value 147 22:28:57 initial: "timed_incremental", final: "manual" 148 22:28:57 sets the correct value 149 22:28:57 initial: "timed_incremental", final: "timed_incremental" 150 22:28:58 sets the correct value 151 22:28:58 # [RSpecRunTime] Finishing example group spec/models/concerns/project_api_compatibility_spec.rb. It took 19.38 seconds. Expected to take 22.11 seconds. 152 22:28:58 # [RSpecRunTime] Starting example group spec/lib/gitlab/ci/yaml_processor_spec.rb. Expected to take 20.56 seconds. 153 22:28:58 Gitlab::Ci::YamlProcessor 155 22:28:58 attributes list 156 22:28:58 returns valid build attributes 157 22:28:58 with execution config 158 22:28:58 returns valid build attributes with execution config 159 22:28:58 when run steps is empty 160 22:28:58 returns valid build attributes with empty run config 161 22:28:58 with job rules 162 22:28:58 returns valid build attributes 163 22:28:58 coverage entry 164 22:28:58 code coverage regexp 165 22:28:58 includes coverage regexp in build attributes 166 22:28:58 tags entry with default values 167 22:28:58 applies default values 169 22:28:58 when retry count is specified 170 22:28:58 includes retry count in build options attribute 171 22:28:58 when retry count is not specified 172 22:28:59 does not persist retry count in the database 173 22:28:59 when retry count is specified by default 174 22:28:59 does use the default value 175 22:28:59 when retry count default value is overridden 176 22:28:59 does use the job value 177 22:28:59 allow failure entry 178 22:28:59 when job is a manual action 179 22:28:59 when allow_failure is defined 180 22:28:59 is not allowed to fail 181 22:28:59 when allow_failure is not defined 182 22:28:59 is allowed to fail 183 22:28:59 when allow_failure has exit_codes 184 22:28:59 is not allowed to fail 185 22:28:59 saves allow_failure_criteria into options 186 22:28:59 when job is not a manual action 187 22:28:59 when allow_failure is defined 188 22:28:59 is not allowed to fail 189 22:28:59 when allow_failure is not defined 190 22:28:59 is not allowed to fail 191 22:28:59 when allow_failure is dynamically specified 192 22:28:59 is not allowed to fail 193 22:28:59 saves allow_failure_criteria into options 194 22:28:59 delayed job entry 195 22:28:59 when delayed is defined 196 22:28:59 has the attributes 197 22:28:59 resource group 198 22:28:59 when resource group is defined 199 22:28:59 has the attributes 201 22:28:59 has the attributes 203 22:28:59 has the attributes 204 22:28:59 #stages_attributes 205 22:28:59 returns stages seed attributes 206 22:28:59 workflow attributes 207 22:28:59 with disallowed workflow:variables 208 22:28:59 behaves like returns errors 209 22:28:59 adds a message when an error is encountered 210 22:28:59 with rules and variables 211 22:28:59 parses the workflow:rules configuration 212 22:28:59 parses the root:variables as #root_variables 213 22:28:59 with rules and no variables 214 22:28:59 parses the workflow:rules configuration 215 22:28:59 parses the root:variables as #root_variables 216 22:28:59 with variables and no rules 217 22:28:59 parses the workflow:rules configuration 218 22:28:59 parses the root:variables as #root_variables 219 22:28:59 with no rules and no variables 220 22:28:59 parses the workflow:rules configuration 221 22:28:59 parses the root:variables as #root_variables 223 22:28:59 parses the workflow:name as workflow_name 225 22:28:59 parses the workflow:name 226 22:28:59 with auto_cancel 227 22:28:59 parses the workflow:auto_cancel as workflow_auto_cancel 228 22:28:59 with rules and auto_cancel 229 22:28:59 parses workflow_rules 231 22:28:59 when a warning is raised in a given entry 232 22:29:00 is propagated all the way up to the processor 233 22:29:00 when a warning is raised together with errors 234 22:29:00 is propagated all the way up into the raised exception 235 22:29:00 behaves like returns errors 236 22:29:00 adds a message when an error is encountered 237 22:29:00 when error is raised before composing the config 238 22:29:00 has empty warnings 239 22:29:00 behaves like returns errors 240 22:29:00 adds a message when an error is encountered 241 22:29:00 when error is raised after composing the config with warnings 242 22:29:00 when stage does not exist 243 22:29:00 behaves like has warnings and expected error 244 22:29:00 returns errors and warnings 245 22:29:00 job dependency does not exist 246 22:29:00 behaves like has warnings and expected error 247 22:29:00 returns errors and warnings 248 22:29:00 job dependency defined in later stage 249 22:29:00 behaves like has warnings and expected error 250 22:29:00 returns errors and warnings 251 22:29:00 #validate_job_needs! 252 22:29:00 when all validations pass 253 22:29:00 returns a valid response 254 22:29:00 needs as array 255 22:29:00 single need in following stage 256 22:29:00 behaves like returns errors 257 22:29:00 adds a message when an error is encountered 258 22:29:00 multiple needs in the following stage 259 22:29:00 behaves like returns errors 260 22:29:00 adds a message when an error is encountered 261 22:29:00 single need in following state - hyphen need 262 22:29:00 behaves like returns errors 263 22:29:00 adds a message when an error is encountered 264 22:29:00 when there are duplicate needs (string and hash) 265 22:29:00 behaves like returns errors 266 22:29:00 adds a message when an error is encountered 267 22:29:00 rule needs as hash 268 22:29:00 single hash need in following stage 269 22:29:00 behaves like returns errors 270 22:29:00 adds a message when an error is encountered 271 22:29:00 job rule need does not exist 272 22:29:00 behaves like has warnings and expected error 273 22:29:00 returns errors and warnings 274 22:29:00 only / except policies validations 275 22:29:00 when `only` has an invalid value 276 22:29:00 when it is integer 277 22:29:00 behaves like returns errors 278 22:29:00 adds a message when an error is encountered 279 22:29:00 when it is an array of integers 280 22:29:00 behaves like returns errors 281 22:29:00 adds a message when an error is encountered 282 22:29:00 when it is invalid regex 283 22:29:00 behaves like returns errors 284 22:29:00 adds a message when an error is encountered 285 22:29:00 when `except` has an invalid value 286 22:29:00 when it is integer 287 22:29:00 behaves like returns errors 288 22:29:00 adds a message when an error is encountered 289 22:29:00 when it is an array of integers 290 22:29:00 behaves like returns errors 291 22:29:00 adds a message when an error is encountered 292 22:29:00 when it is invalid regex 293 22:29:00 behaves like returns errors 294 22:29:00 adds a message when an error is encountered 295 22:29:00 Scripts handling 296 22:29:00 before_script 297 22:29:00 in global context 298 22:29:00 inherit: nil, result: ["global script"] 299 22:29:00 is expected to eq ["global script"] 300 22:29:00 inherit: {:default=>false}, result: nil 301 22:29:00 is expected to eq nil 302 22:29:00 inherit: {:default=>true}, result: ["global script"] 303 22:29:00 is expected to eq ["global script"] 304 22:29:00 inherit: {:default=>["before_script"]}, result: ["global script"] 305 22:29:00 is expected to eq ["global script"] 306 22:29:00 inherit: {:default=>["image"]}, result: nil 307 22:29:00 is expected to eq nil 308 22:29:00 in default context 309 22:29:00 inherit: nil, result: ["global script"] 310 22:29:00 is expected to eq ["global script"] 311 22:29:00 inherit: {:default=>false}, result: nil 312 22:29:01 is expected to eq nil 313 22:29:01 inherit: {:default=>true}, result: ["global script"] 314 22:29:01 is expected to eq ["global script"] 315 22:29:01 inherit: {:default=>["before_script"]}, result: ["global script"] 316 22:29:01 is expected to eq ["global script"] 317 22:29:01 inherit: {:default=>["image"]}, result: nil 318 22:29:01 is expected to eq nil 319 22:29:01 overwritten in local context 320 22:29:01 return commands with scripts concatenated 321 22:29:01 when script is nested arrays of strings 322 22:29:01 return commands with scripts concatenated 324 22:29:01 when script is array of strings 325 22:29:01 return commands with scripts concatenated 326 22:29:01 when script is nested arrays of strings 327 22:29:01 return commands with scripts concatenated 329 22:29:01 in global context 330 22:29:01 return after_script in options 331 22:29:01 in default context 332 22:29:01 return after_script in options 333 22:29:01 overwritten in local context 334 22:29:01 return after_script in options 335 22:29:01 when script is nested arrays of strings 336 22:29:01 return after_script in options 338 22:29:01 when it is a simple script 339 22:29:01 returns hooks in options 340 22:29:01 when it is nested arrays of strings 341 22:29:01 returns hooks in options 342 22:29:01 when receiving from the default 343 22:29:01 inherits hooks 344 22:29:01 when overriding the default 345 22:29:01 overrides hooks 346 22:29:01 Image and service handling 347 22:29:01 when extended docker configuration is used 348 22:29:01 returns image and service when defined 349 22:29:01 returns image and service when overridden for job 350 22:29:01 when etended docker configuration is not used 351 22:29:01 returns image and service when defined 352 22:29:01 returns image and service when overridden for job 353 22:29:01 when image has pull_policy 354 22:29:01 is expected to be valid 355 22:29:01 returns with image 356 22:29:01 when a service has pull_policy 357 22:29:01 is expected to be valid 358 22:29:01 returns with service 359 22:29:01 when image and service have docker options 360 22:29:01 is expected to be valid 361 22:29:01 returns with image 363 22:29:01 when global variables are defined 364 22:29:01 returns global variables 365 22:29:01 when job variables are defined 366 22:29:01 when syntax is correct 367 22:29:01 returns job variables 368 22:29:01 when syntax is incorrect 369 22:29:01 when variables defined but invalid 370 22:29:01 behaves like returns errors 371 22:29:01 adds a message when an error is encountered 372 22:29:01 when variables key defined but value not specified 373 22:29:01 returns empty array 374 22:29:01 when job variables are not defined 375 22:29:02 returns empty array 376 22:29:02 when variables have different type of values 377 22:29:02 returns job variables 378 22:29:02 when variables have data other than value 379 22:29:02 returns variables 380 22:29:02 when using `extends` 381 22:29:02 when using simple `extends` 382 22:29:02 correctly extends rspec job 383 22:29:02 when overriding `extends` 384 22:29:02 correctly extends jobs 385 22:29:02 when using recursive `extends` 386 22:29:02 correctly extends rspec job 388 22:29:02 when validating a ci config file with no project context 389 22:29:02 when a single string is provided 390 22:29:02 behaves like returns errors 391 22:29:02 adds a message when an error is encountered 392 22:29:02 when an array is provided 393 22:29:02 behaves like returns errors 394 22:29:02 adds a message when an error is encountered 395 22:29:02 when an array of wrong keyed object is provided 396 22:29:02 behaves like returns errors 397 22:29:02 adds a message when an error is encountered 398 22:29:02 when an array of mixed typed objects is provided 399 22:29:02 is expected to be valid 400 22:29:02 when the include type is incorrect 401 22:29:02 behaves like returns errors 402 22:29:02 adds a message when an error is encountered 403 22:29:02 when validating a ci config file within a project 404 22:29:02 when the included internal file is present 405 22:29:04 is expected to be valid 406 22:29:05 adds the job from the included file 407 22:29:05 # [RSpecRunTime] RSpec elapsed time: 16 minutes 54.69 seconds. Current RSS: ~1372M. Threads: 5. load average: 1.18 1.10 1.14 1/300 10660 409 22:29:05 when the included internal file is not present 410 22:29:05 behaves like returns errors 411 22:29:06 adds a message when an error is encountered 412 22:29:06 # [RSpecRunTime] RSpec elapsed time: 16 minutes 55.96 seconds. Current RSS: ~1384M. Threads: 5. load average: 1.16 1.09 1.14 1/300 10690 415 22:29:06 on_success creates one build and sets when: 416 22:29:06 on_failure creates one build and sets when: 417 22:29:06 always creates one build and sets when: 418 22:29:06 manual creates one build and sets when: 420 22:29:06 with start_in 421 22:29:06 creates one build and sets when: 422 22:29:06 without start_in 423 22:29:06 behaves like returns errors 424 22:29:07 adds a message when an error is encountered 426 22:29:07 when job is parallelized 427 22:29:07 returns parallelized jobs 428 22:29:07 does not have the original job 429 22:29:07 with build matrix 430 22:29:07 returns the number of parallelized jobs 431 22:29:07 returns the parallel config 432 22:29:07 sets matrix variables 433 22:29:07 does not have the original job 435 22:29:07 returns cache when defined globally 436 22:29:07 returns cache when defined in default context 437 22:29:07 returns cache key/s when defined in a job 438 22:29:07 returns cache files 439 22:29:07 returns cache files with prefix 440 22:29:07 overwrite cache when defined for a job and globally 441 22:29:07 when cache definition has unknown keys 442 22:29:07 behaves like returns errors 443 22:29:07 adds a message when an error is encountered 445 22:29:07 when defined on job level 446 22:29:07 returns defined id_tokens 447 22:29:07 when defined as default 448 22:29:07 returns inherited by default id_tokens 449 22:29:07 when defined as default and on job level 450 22:29:07 overrides default and returns defined on job level 452 22:29:07 returns artifacts when defined 453 22:29:07 returns artifacts with expire_in never keyword 454 22:29:07 returns artifacts for when on_success defined 455 22:29:07 returns artifacts for when on_failure defined 456 22:29:07 returns artifacts for when always defined 457 22:29:07 populates a build options with complete artifacts configuration 458 22:29:07 when artifacts syntax is wrong 459 22:29:07 behaves like returns errors 460 22:29:07 adds a message when an error is encountered 462 22:29:07 returns release info 464 22:29:07 when a production environment is specified 465 22:29:08 does return production 466 22:29:08 when hash is specified 467 22:29:08 does return production and URL 468 22:29:08 the url has a port as variable 469 22:29:08 allows a variable for the port 470 22:29:08 when no environment is specified 471 22:29:08 does return nil environment 472 22:29:08 is not a string 473 22:29:08 behaves like returns errors 474 22:29:08 adds a message when an error is encountered 475 22:29:08 is not a valid string 476 22:29:08 behaves like returns errors 477 22:29:08 adds a message when an error is encountered 478 22:29:08 when on_stop is specified 479 22:29:08 with matching job 480 22:29:08 does return a list of builds 481 22:29:08 without matching job 482 22:29:08 behaves like returns errors 483 22:29:08 adds a message when an error is encountered 484 22:29:08 with close job without environment 485 22:29:08 behaves like returns errors 486 22:29:08 adds a message when an error is encountered 487 22:29:08 with close job for different environment 488 22:29:08 behaves like returns errors 489 22:29:08 adds a message when an error is encountered 490 22:29:08 with close job without stop action 491 22:29:08 behaves like returns errors 492 22:29:08 adds a message when an error is encountered 494 22:29:08 when no timeout was provided 495 22:29:08 does not include job_timeout 496 22:29:08 when an invalid timeout was provided 497 22:29:08 behaves like returns errors 498 22:29:08 adds a message when an error is encountered 499 22:29:08 when some valid timeout was provided 500 22:29:08 returns provided timeout value 502 22:29:08 no dependencies 503 22:29:08 is expected to be valid 504 22:29:08 dependencies to builds 505 22:29:08 is expected to be valid 506 22:29:08 dependencies to builds defined as symbols 507 22:29:08 is expected to be valid 508 22:29:08 undefined dependency 509 22:29:08 behaves like returns errors 510 22:29:08 adds a message when an error is encountered 511 22:29:08 dependencies to deploy 512 22:29:08 behaves like returns errors 513 22:29:08 adds a message when an error is encountered 514 22:29:08 when a job depends on another job that references a not-yet defined stage 515 22:29:08 behaves like returns errors 516 22:29:08 adds a message when an error is encountered 519 22:29:08 is expected to be valid 520 22:29:08 needs a job from the same stage 521 22:29:08 creates jobs with valid specifications 522 22:29:08 needs two builds 523 22:29:08 does create jobs with valid specification 524 22:29:08 needs two builds 525 22:29:08 does create jobs with valid specification 526 22:29:08 needs parallel job 527 22:29:09 does create jobs with valid specification 528 22:29:09 when expanded job name is too long 529 22:29:09 returns an error 530 22:29:09 when parallel job has matrix specified 531 22:29:09 does create jobs with valid specification 532 22:29:09 when expanded job name is too long 533 22:29:09 returns an error 534 22:29:09 needs dependencies artifacts 535 22:29:09 does create jobs with valid specification 536 22:29:09 when need is an undefined job 537 22:29:09 behaves like returns errors 538 22:29:09 adds a message when an error is encountered 539 22:29:09 when need is optional 540 22:29:09 is expected to be valid 541 22:29:09 needs to deploy 542 22:29:09 behaves like returns errors 543 22:29:09 adds a message when an error is encountered 544 22:29:09 duplicate needs 545 22:29:09 when needs are specified in an array 546 22:29:09 behaves like returns errors 547 22:29:09 adds a message when an error is encountered 548 22:29:09 when a job is specified multiple times 549 22:29:09 behaves like returns errors 550 22:29:09 adds a message when an error is encountered 551 22:29:09 when job is specified multiple times with different attributes 552 22:29:09 behaves like returns errors 553 22:29:09 adds a message when an error is encountered 554 22:29:09 needs and dependencies that are mismatching 555 22:29:09 behaves like returns errors 556 22:29:09 adds a message when an error is encountered 557 22:29:09 needs with a Hash type and dependencies with a string type that are mismatching 558 22:29:09 behaves like returns errors 559 22:29:09 adds a message when an error is encountered 560 22:29:09 needs with an array type and dependency with a string type 561 22:29:09 behaves like returns errors 562 22:29:09 adds a message when an error is encountered 563 22:29:09 needs with a string type and dependency with an array type 564 22:29:09 behaves like returns errors 565 22:29:09 adds a message when an error is encountered 566 22:29:09 needs with a Hash type and dependency with a string type 567 22:29:09 behaves like returns errors 568 22:29:09 adds a message when an error is encountered 569 22:29:09 needs with parallel:matrix 570 22:29:09 does create jobs with valid specification 571 22:29:09 with when/rules 572 22:29:09 is expected to be valid 573 22:29:09 returns all jobs regardless of their inclusion 574 22:29:09 used with job-level when 575 22:29:09 is expected to be valid 576 22:29:09 used with job-level when:delayed 577 22:29:09 behaves like returns errors 578 22:29:09 adds a message when an error is encountered 579 22:29:09 cross pipeline needs 580 22:29:09 when configuration is valid 581 22:29:10 returns a valid configuration and sets artifacts: true by default 582 22:29:10 when pipeline ID is hard-coded 583 22:29:10 returns a valid configuration and sets artifacts: true by default 584 22:29:10 when configuration is not valid 585 22:29:10 returns an error 587 22:29:10 when hidden job have a script definition 588 22:29:10 behaves like hidden_job_handling 589 22:29:10 doesn't create jobs that start with dot 590 22:29:10 when hidden job doesn't have a script definition 591 22:29:10 behaves like hidden_job_handling 592 22:29:10 doesn't create jobs that start with dot 593 22:29:10 YAML Alias/Anchor 594 22:29:10 when template is a job 595 22:29:10 behaves like job_templates_handling 596 22:29:10 is correctly supported for jobs 597 22:29:10 when template is a hidden job 598 22:29:10 behaves like job_templates_handling 599 22:29:10 is correctly supported for jobs 600 22:29:10 when job adds its own keys to a template definition 601 22:29:10 behaves like job_templates_handling 602 22:29:10 is correctly supported for jobs 603 22:29:10 with parent-child pipeline 604 22:29:10 when artifact and job are specified 605 22:29:10 is expected to be valid 606 22:29:10 when job is not specified while artifact is 607 22:29:10 behaves like returns errors 608 22:29:10 adds a message when an error is encountered 609 22:29:10 when project and file are specified 610 22:29:10 is expected to be valid 611 22:29:10 when file is not specified while project is 612 22:29:10 behaves like returns errors 613 22:29:10 adds a message when an error is encountered 614 22:29:10 when include is a string 615 22:29:10 is expected to be valid 616 22:29:10 Error handling 617 22:29:10 when YAML syntax is invalid 618 22:29:10 behaves like returns errors 619 22:29:10 adds a message when an error is encountered 620 22:29:10 when object is invalid 621 22:29:10 behaves like returns errors 622 22:29:10 adds a message when an error is encountered 623 22:29:10 returns errors if tags parameter is invalid 624 22:29:10 behaves like returns errors 625 22:29:10 adds a message when an error is encountered 626 22:29:10 returns errors if job before_script parameter is not an array of strings 627 22:29:10 behaves like returns errors 628 22:29:10 adds a message when an error is encountered 629 22:29:10 returns errors if job after_script parameter is not an array of strings 630 22:29:10 behaves like returns errors 631 22:29:10 adds a message when an error is encountered 632 22:29:10 returns errors if image parameter is invalid 633 22:29:10 behaves like returns errors 634 22:29:10 adds a message when an error is encountered 635 22:29:10 returns errors if job name is blank 636 22:29:10 behaves like returns errors 637 22:29:10 adds a message when an error is encountered 638 22:29:10 returns errors if job name is non-string 639 22:29:10 behaves like returns errors 640 22:29:10 adds a message when an error is encountered 641 22:29:10 returns errors if job image parameter is invalid 642 22:29:10 behaves like returns errors 643 22:29:10 adds a message when an error is encountered 644 22:29:10 returns errors if services parameter is not an array 645 22:29:10 behaves like returns errors 646 22:29:10 adds a message when an error is encountered 647 22:29:10 returns errors if services parameter is not an array of strings 648 22:29:10 behaves like returns errors 649 22:29:10 adds a message when an error is encountered 650 22:29:10 returns errors if job services parameter is not an array 651 22:29:10 behaves like returns errors 652 22:29:10 adds a message when an error is encountered 653 22:29:10 returns errors if job services parameter is not an array of strings 654 22:29:10 behaves like returns errors 655 22:29:10 adds a message when an error is encountered 656 22:29:10 returns error if job configuration is invalid 657 22:29:10 behaves like returns errors 658 22:29:10 adds a message when an error is encountered 659 22:29:10 returns errors if services configuration is not correct 660 22:29:10 behaves like returns errors 661 22:29:10 adds a message when an error is encountered 662 22:29:10 returns errors if there are no jobs defined 663 22:29:10 behaves like returns errors 664 22:29:11 adds a message when an error is encountered 665 22:29:11 returns errors if the job script is not defined 666 22:29:11 behaves like returns errors 667 22:29:11 adds a message when an error is encountered 668 22:29:11 returns errors if there are no visible jobs defined 669 22:29:11 behaves like returns errors 670 22:29:11 adds a message when an error is encountered 671 22:29:11 returns errors if job allow_failure parameter is not an boolean 672 22:29:11 behaves like returns errors 673 22:29:11 adds a message when an error is encountered 674 22:29:11 returns errors if job exit_code parameter from allow_failure is not an integer 675 22:29:11 behaves like returns errors 676 22:29:11 adds a message when an error is encountered 677 22:29:11 returns errors if job stage is not a string 678 22:29:11 behaves like returns errors 679 22:29:11 adds a message when an error is encountered 680 22:29:11 returns errors if job stage is not a pre-defined stage 681 22:29:11 behaves like returns errors 682 22:29:11 adds a message when an error is encountered 683 22:29:11 returns errors if job stage is not a defined stage 684 22:29:11 behaves like returns errors 685 22:29:11 adds a message when an error is encountered 686 22:29:11 returns errors if stages is not an array 687 22:29:11 behaves like returns errors 688 22:29:11 adds a message when an error is encountered 689 22:29:11 returns errors if stages is not an array of strings 690 22:29:11 behaves like returns errors 691 22:29:11 adds a message when an error is encountered 692 22:29:11 returns errors if variables is not a map 693 22:29:11 behaves like returns errors 694 22:29:11 adds a message when an error is encountered 695 22:29:11 returns errors if variables is not a map of scalars 696 22:29:11 behaves like returns errors 697 22:29:11 adds a message when an error is encountered 698 22:29:11 returns errors if job when is not on_success, on_failure or always 699 22:29:11 behaves like returns errors 700 22:29:11 adds a message when an error is encountered 701 22:29:11 returns errors if job artifacts:name is not an a string 702 22:29:11 behaves like returns errors 703 22:29:11 adds a message when an error is encountered 704 22:29:11 returns errors if job artifacts:when is not an a predefined value 705 22:29:11 behaves like returns errors 706 22:29:11 adds a message when an error is encountered 707 22:29:11 returns errors if job artifacts:expire_in is not an a string 708 22:29:11 behaves like returns errors 709 22:29:11 adds a message when an error is encountered 710 22:29:11 returns errors if job artifacts:expire_in is not an a valid duration 711 22:29:11 behaves like returns errors 712 22:29:11 adds a message when an error is encountered 713 22:29:11 returns errors if job artifacts:untracked is not an array of strings 714 22:29:11 behaves like returns errors 715 22:29:11 adds a message when an error is encountered 716 22:29:11 returns errors if job artifacts:paths is not an array of strings 717 22:29:11 behaves like returns errors 718 22:29:11 adds a message when an error is encountered 719 22:29:11 returns errors if cache:untracked is not an array of strings 720 22:29:11 behaves like returns errors 721 22:29:11 adds a message when an error is encountered 722 22:29:11 returns errors if cache:paths is not an array of strings 723 22:29:11 behaves like returns errors 724 22:29:11 adds a message when an error is encountered 725 22:29:11 returns errors if cache:key is not a string 726 22:29:11 behaves like returns errors 727 22:29:11 adds a message when an error is encountered 728 22:29:11 returns errors if job cache:key is not an a string 729 22:29:11 behaves like returns errors 730 22:29:11 adds a message when an error is encountered 731 22:29:11 returns errors if job cache:key:files is not an array of strings 732 22:29:11 behaves like returns errors 733 22:29:11 adds a message when an error is encountered 734 22:29:11 returns errors if job cache:key:files is an empty array 735 22:29:11 behaves like returns errors 736 22:29:11 adds a message when an error is encountered 737 22:29:11 returns errors if job defines only cache:key:prefix 738 22:29:11 behaves like returns errors 739 22:29:11 adds a message when an error is encountered 740 22:29:11 returns errors if job cache:key:prefix is not an a string 741 22:29:11 behaves like returns errors 742 22:29:11 adds a message when an error is encountered 743 22:29:11 returns errors if job cache:untracked is not an array of strings 744 22:29:11 behaves like returns errors 745 22:29:11 adds a message when an error is encountered 746 22:29:11 returns errors if job cache:paths is not an array of strings 747 22:29:11 behaves like returns errors 748 22:29:12 adds a message when an error is encountered 749 22:29:12 returns errors if job dependencies is not an array of strings 750 22:29:12 behaves like returns errors 751 22:29:12 adds a message when an error is encountered 752 22:29:12 returns errors if pipeline variables expression policy is invalid 753 22:29:12 behaves like returns errors 754 22:29:12 adds a message when an error is encountered 755 22:29:12 returns errors if pipeline changes policy is invalid 756 22:29:12 behaves like returns errors 757 22:29:12 adds a message when an error is encountered 758 22:29:12 returns errors if extended hash configuration is invalid 759 22:29:12 behaves like returns errors 760 22:29:12 adds a message when an error is encountered 761 22:29:12 returns errors if parallel is invalid 762 22:29:12 behaves like returns errors 763 22:29:12 adds a message when an error is encountered 764 22:29:12 when the pipeline has a circular dependency 765 22:29:12 behaves like returns errors 766 22:29:12 adds a message when an error is encountered 767 22:29:12 when a job has a self-dependency 768 22:29:12 behaves like returns errors 769 22:29:12 adds a message when an error is encountered 772 22:29:12 returns builds with correct rules 774 22:29:12 returns builds with correct rules 775 22:29:12 Workflow rules 777 22:29:12 returns pipeline with correct rules 779 22:29:12 returns pipeline with correct rules 781 22:29:12 when the YAML could not be parsed 782 22:29:12 returns errors and empty configuration 783 22:29:12 when the tags parameter is invalid 784 22:29:12 returns errors and empty configuration 785 22:29:12 when the configuration contains multiple keyword-syntax errors 786 22:29:12 returns errors and empty configuration 787 22:29:12 when YAML content is empty 788 22:29:12 returns errors and empty configuration 789 22:29:12 when the YAML contains an unknown alias 790 22:29:12 returns errors and empty configuration 791 22:29:12 when the YAML is valid 792 22:29:12 returns errors and empty configuration 793 22:29:12 verify project sha 794 22:29:17 when a project branch contains the forked commit sha 795 22:29:17 is expected to be valid 796 22:29:17 behaves like when the processor is executed twice consecutively 797 22:29:17 calls Gitaly only once for each ref type 798 22:29:18 # [RSpecRunTime] RSpec elapsed time: 17 minutes 7.2 seconds. Current RSS: ~1372M. Threads: 5. load average: 1.14 1.09 1.14 1/302 10844 800 22:29:18 when a project tag contains the forked commit sha 801 22:29:18 is expected to be valid 802 22:29:18 behaves like when the processor is executed twice consecutively 803 22:29:18 calls Gitaly only once for each ref type 804 22:29:18 when a project ref does not contain the forked commit sha 805 22:29:18 returns an error 806 22:29:18 behaves like when the processor is executed twice consecutively 807 22:29:18 calls Gitaly only once for each ref type 808 22:29:18 when verify_project_sha option is false 809 22:29:18 is expected to be valid 810 22:29:18 when project is not provided 811 22:29:18 is expected to be valid 812 22:29:18 when sha is not provided 813 22:29:19 is expected to be valid 814 22:29:19 when sha is invalid 815 22:29:19 is expected to be valid 816 22:29:19 for pages jobs 817 22:29:19 on publish option 818 22:29:19 when not in a pages job 819 22:29:19 behaves like returns errors 820 22:29:19 adds a message when an error is encountered 821 22:29:19 when in a pages job 822 22:29:19 is expected to be valid 823 22:29:19 sets the publish configuration 824 22:29:19 on pages option 825 22:29:19 when in a pages job 826 22:29:19 is expected to be valid 827 22:29:19 sets the pages configuration 828 22:29:19 # [RSpecRunTime] Finishing example group spec/lib/gitlab/ci/yaml_processor_spec.rb. It took 20.56 seconds. Expected to take 20.56 seconds. 829 22:29:19 # [RSpecRunTime] Starting example group spec/models/deploy_token_spec.rb. Expected to take 19.6 seconds. 831 22:29:19 does not allow STI 832 22:29:19 is expected to have many project_deploy_tokens 833 22:29:19 is expected to have many projects through project_deploy_tokens 834 22:29:19 is expected to have many group_deploy_tokens 835 22:29:19 is expected to have many groups through group_deploy_tokens 836 22:29:19 is expected to belong to user required: false 837 22:29:19 behaves like having unique enum values 838 22:29:19 has unique values in "deploy_token_type" 840 22:29:19 is expected to validate that the length of :username is at most 255 841 22:29:19 is expected to allow :username to be ‹"GitLab+deploy_token-3.14"› 842 22:29:19 is expected not to allow :username to be ‹"<script>"›, producing a custom validation error on failure 843 22:29:19 is expected not to allow :username to be ‹""›, producing a custom validation error on failure 844 22:29:19 is expected to validate that :deploy_token_type cannot be empty/falsy 845 22:29:19 deploy_token_type validations 846 22:29:19 when a deploy token is associated to a group 847 22:29:20 does not allow setting a project to it 848 22:29:20 when a deploy token is associated to a project 849 22:29:20 does not allow setting a group to it 850 22:29:20 #ensure_token 851 22:29:20 ensures a token 852 22:29:20 #ensure_at_least_one_scope 853 22:29:20 with at least one scope 854 22:29:20 is expected to be valid 855 22:29:20 with no scopes 857 22:29:20 #valid_for_dependency_proxy? 858 22:29:20 is expected to eq true 859 22:29:20 behaves like invalid group deploy token 861 22:29:20 is expected to eq false 863 22:29:20 is expected to eq false 865 22:29:20 is expected to eq false 866 22:29:20 insufficient scopes 867 22:29:20 is expected to eq false 868 22:29:20 #has_access_to_group? 869 22:29:20 is expected to eq true 870 22:29:20 behaves like invalid group deploy token 872 22:29:21 is expected to eq false 874 22:29:21 is expected to eq false 876 22:29:21 is expected to eq false 877 22:29:21 for a sub group 878 22:29:21 is expected to eq true 879 22:29:21 for a different group 880 22:29:21 is expected to eq false 882 22:29:21 with all the scopes 883 22:29:21 returns scopes assigned to DeployToken 884 22:29:21 with only one scope 885 22:29:21 returns scopes assigned to DeployToken 887 22:29:21 updates revoke attribute 889 22:29:21 when it has been revoked 890 22:29:21 returns false 891 22:29:21 when it hasn't been revoked and is not expired 893 22:29:21 when it hasn't been revoked and is expired 895 22:29:21 when it hasn't been revoked and has no expiry 897 22:29:21 #deactivated? 898 22:29:21 when it has been revoked 900 22:29:21 when it hasn't been revoked and is not expired 901 22:29:21 returns false 902 22:29:21 when it hasn't been revoked and is expired 903 22:29:21 returns false 904 22:29:21 when it hasn't been revoked and has no expiry 905 22:29:21 returns false 907 22:29:21 persisted records 908 22:29:21 returns a default username if none is set 909 22:29:21 returns the username provided if one is set 911 22:29:22 returns nil if no username is set 912 22:29:22 returns the username provided if one is set 914 22:29:22 when the token is of project type 915 22:29:22 returns the relevant holder token 916 22:29:22 when the token is of group type 917 22:29:22 returns the relevant holder token 918 22:29:22 #has_access_to? 919 22:29:22 when a project is not passed in 920 22:29:22 is expected to be falsy 921 22:29:22 when a project is passed in 922 22:29:22 when deploy token is active and related to project 923 22:29:22 is expected to be truthy 924 22:29:22 when deploy token is active but not related to project 925 22:29:23 is expected to be falsy 926 22:29:23 when deploy token is revoked and related to project 927 22:29:24 is expected to be falsy 928 22:29:24 when deploy token is revoked and not related to the project 929 22:29:26 is expected to be falsy 930 22:29:26 # [RSpecRunTime] RSpec elapsed time: 17 minutes 15.26 seconds. Current RSS: ~1385M. Threads: 5. load average: 1.11 1.09 1.14 1/301 10885 932 22:29:26 and when the token is of group type 933 22:29:26 and the passed-in project does not belong to any group 934 22:29:26 is expected to be falsy 935 22:29:26 and the passed-in project belongs to the token group 937 22:29:27 and the passed-in project belongs to a subgroup 938 22:29:27 and the token group is an ancestor (grand-parent) of this group 939 22:29:29 is expected to be truthy 940 22:29:29 # [RSpecRunTime] RSpec elapsed time: 17 minutes 18.42 seconds. Current RSS: ~1364M. Threads: 5. load average: 1.11 1.09 1.14 1/297 10886 942 22:29:29 and the token group is not ancestor of this group 944 22:29:30 # [RSpecRunTime] RSpec elapsed time: 17 minutes 20.15 seconds. Current RSS: ~1359M. Threads: 5. load average: 1.19 1.10 1.14 1/296 10887 946 22:29:30 and the passed-in project does not belong to the token group 947 22:29:31 is expected to be falsy 948 22:29:31 and the project belongs to a group that is parent of the token group 950 22:29:33 # [RSpecRunTime] RSpec elapsed time: 17 minutes 22.39 seconds. Current RSS: ~1361M. Threads: 5. load average: 1.19 1.10 1.14 1/296 10888 952 22:29:33 and the token is of project type 953 22:29:33 and the passed-in project is the same as the token project 954 22:29:34 is expected to be truthy 955 22:29:34 and the passed-in project is not the same as the token project 956 22:29:35 is expected to be falsey 957 22:29:35 # [RSpecRunTime] RSpec elapsed time: 17 minutes 24.77 seconds. Current RSS: ~1360M. Threads: 5. load average: 1.19 1.10 1.14 1/296 10889 960 22:29:35 when using Forever.date 962 22:29:35 when using a personalized date 963 22:29:35 returns the personalized date 965 22:29:35 when passing nil 966 22:29:35 assigns Forever.date 967 22:29:35 when passing a value 968 22:29:35 respects the value 969 22:29:35 .gitlab_deploy_token 970 22:29:35 with a gitlab deploy token associated 971 22:29:36 returns the gitlab deploy token 972 22:29:36 with no gitlab deploy token associated 974 22:29:37 #accessible_projects 975 22:29:37 when a deploy token is associated to a project 976 22:29:37 returns only projects directly associated with the token 977 22:29:37 when a deploy token is associated to a group 978 22:29:37 returns all projects from the group 979 22:29:37 .impersonated? 980 22:29:37 returns false 982 22:29:37 is expected to match /gldt-[A-Za-z0-9_-]{20}/ 983 22:29:37 # [RSpecRunTime] Finishing example group spec/models/deploy_token_spec.rb. It took 18.37 seconds. Expected to take 19.6 seconds. 984 22:29:37 # [RSpecRunTime] Starting example group spec/uploaders/ci/pipeline_artifact_uploader_spec.rb. Expected to take 15.65 seconds. 985 22:29:37 Ci::PipelineArtifactUploader 986 22:29:37 behaves like builds correct paths 988 22:29:37 behaves like matches the method pattern 989 22:29:38 is expected to match /\h{2}\/\h{2}\/\h{64}\/pipelines\/\d+\/artifacts\/\d+/ 991 22:29:38 behaves like matches the method pattern 992 22:29:39 is expected to match /artifacts\/tmp\/cache/ 994 22:29:39 behaves like matches the method pattern 995 22:29:40 is expected to match /artifacts\/tmp\/work/ 997 22:29:40 behaves like matches the method pattern 998 22:29:40 example at ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:8 (PENDING: No pattern provided, skipping.) 999 22:29:40 #relative_path 1000 22:29:41 is relative (PENDING: Path not set, skipping.) 1001 22:29:41 .absolute_path 1002 22:29:41 behaves like matches the method pattern 1003 22:29:42 example at ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:8 (PENDING: No pattern provided, skipping.) 1005 22:29:42 behaves like matches the method pattern 1006 22:29:43 example at ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:8 (PENDING: No pattern provided, skipping.) 1007 22:29:43 path traversal exploits 1008 22:29:44 throws an exception 1009 22:29:44 when object store is REMOTE 1010 22:29:44 behaves like builds correct paths 1012 22:29:44 behaves like matches the method pattern 1013 22:29:45 is expected to match /\h{2}\/\h{2}\/\h{64}\/pipelines\/\d+\/artifacts\/\d+/ 1015 22:29:45 behaves like matches the method pattern 1016 22:29:45 example at ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:8 (PENDING: No pattern provided, skipping.) 1018 22:29:45 behaves like matches the method pattern 1019 22:29:46 example at ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:8 (PENDING: No pattern provided, skipping.) 1020 22:29:46 #upload_path 1021 22:29:46 behaves like matches the method pattern 1022 22:29:47 example at ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:8 (PENDING: No pattern provided, skipping.) 1023 22:29:47 #relative_path 1024 22:29:48 is relative (PENDING: Path not set, skipping.) 1025 22:29:48 .absolute_path 1026 22:29:48 behaves like matches the method pattern 1027 22:29:48 example at ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:8 (PENDING: No pattern provided, skipping.) 1029 22:29:48 behaves like matches the method pattern 1030 22:29:49 example at ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:8 (PENDING: No pattern provided, skipping.) 1031 22:29:49 path traversal exploits 1032 22:29:50 throws an exception 1033 22:29:50 when file is stored in valid local_path 1034 22:29:51 is expected to match /\/builds\/gitlab-org\/gitlab\/tmp\/tests\/artifacts\/\h{2}\/\h{2}\/\h{64}\/pipelines\/82\/artifacts\/17\/code_coverage.json/ 1035 22:29:51 # [RSpecRunTime] Finishing example group spec/uploaders/ci/pipeline_artifact_uploader_spec.rb. It took 13.66 seconds. Expected to take 15.65 seconds. 1036 22:29:51 # [RSpecRunTime] Starting example group spec/workers/environments/stop_job_failed_worker_spec.rb. Expected to take 14.58 seconds. 1037 22:29:51 Environments::StopJobFailedWorker 1039 22:29:52 with build job 1040 22:29:52 behaves like recovering a stuck stopping environment 1041 22:29:52 when the job is not a stop job 1042 22:29:53 does not recover the environment 1043 22:29:53 # [RSpecRunTime] RSpec elapsed time: 17 minutes 43.04 seconds. Current RSS: ~1371M. Threads: 5. load average: 1.21 1.11 1.14 1/296 10908 1045 22:29:53 when the stop job is not failed 1046 22:29:55 does not recover the environment 1047 22:29:55 # [RSpecRunTime] RSpec elapsed time: 17 minutes 44.68 seconds. Current RSS: ~1370M. Threads: 5. load average: 1.21 1.11 1.14 1/296 10909 1049 22:29:55 when the stop job is failed 1050 22:29:57 recovers the environment 1051 22:29:57 # [RSpecRunTime] RSpec elapsed time: 17 minutes 46.49 seconds. Current RSS: ~1368M. Threads: 5. load average: 1.19 1.11 1.14 1/296 10910 1053 22:29:57 when there is no environment 1054 22:29:59 does not cause an error 1055 22:29:59 # [RSpecRunTime] RSpec elapsed time: 17 minutes 48.24 seconds. Current RSS: ~1364M. Threads: 5. load average: 1.19 1.11 1.14 1/296 10911 1057 22:29:59 with bridge job 1058 22:29:59 behaves like recovering a stuck stopping environment 1059 22:29:59 when the job is not a stop job 1060 22:30:00 does not recover the environment 1061 22:30:00 # [RSpecRunTime] RSpec elapsed time: 17 minutes 49.89 seconds. Current RSS: ~1360M. Threads: 5. load average: 1.19 1.11 1.14 1/296 10912 1063 22:30:00 when the stop job is not failed 1064 22:30:02 does not recover the environment 1065 22:30:02 # [RSpecRunTime] RSpec elapsed time: 17 minutes 51.64 seconds. Current RSS: ~1357M. Threads: 5. load average: 1.17 1.11 1.14 1/296 10913 1067 22:30:02 when the stop job is failed 1068 22:30:04 recovers the environment 1069 22:30:04 # [RSpecRunTime] RSpec elapsed time: 17 minutes 53.38 seconds. Current RSS: ~1357M. Threads: 5. load average: 1.17 1.11 1.14 1/296 10914 1071 22:30:04 when there is no environment 1072 22:30:05 does not cause an error 1073 22:30:05 # [RSpecRunTime] RSpec elapsed time: 17 minutes 55.04 seconds. Current RSS: ~1357M. Threads: 5. load average: 1.16 1.11 1.14 1/296 10915 1075 22:30:05 when job does not exist 1076 22:30:05 does not raise exception 1077 22:30:05 # [RSpecRunTime] Finishing example group spec/workers/environments/stop_job_failed_worker_spec.rb. It took 14.6 seconds. Expected to take 14.58 seconds. 1078 22:30:05 # [RSpecRunTime] Starting example group spec/services/notes/build_service_spec.rb. Expected to take 14.33 seconds. 1079 22:30:05 Notes::BuildService 1081 22:30:07 when in_reply_to_discussion_id is specified 1082 22:30:07 behaves like building notes replying to another note 1083 22:30:07 when a note with that original discussion ID exists 1084 22:30:08 sets the note up to be in reply to that note 1085 22:30:08 # [RSpecRunTime] RSpec elapsed time: 17 minutes 57.25 seconds. Current RSS: ~1367M. Threads: 5. load average: 1.16 1.11 1.14 1/296 10934 1087 22:30:08 when no note with that discussion ID exists 1088 22:30:08 sets an error 1089 22:30:08 when user has no access to discussion 1090 22:30:08 sets an error 1091 22:30:08 when executing_user is specified 1092 22:30:08 and executing_user has access to discussion 1093 22:30:08 sets the note up to be in reply to that note 1094 22:30:08 and executing_user also has no access to discussion 1095 22:30:08 sets an error 1096 22:30:08 when replying to individual note 1097 22:30:09 sets the note up to be in reply to that note 1098 22:30:09 when a note with that original discussion ID exists 1099 22:30:09 when discussion is resolved 1100 22:30:09 resolves the note 1101 22:30:09 when noteable does not support replies 1102 22:30:10 builds another individual note 1103 22:30:10 personal snippet note 1104 22:30:10 when a snippet is public 1105 22:30:10 creates a reply note 1106 22:30:10 when a snippet is private 1107 22:30:10 creates a reply note when the author replies 1108 22:30:11 sets an error when another user replies 1109 22:30:11 when a snippet is internal 1110 22:30:11 creates a reply note when the author replies 1111 22:30:11 creates a reply note when a regular user replies 1112 22:30:11 sets an error when an external user replies 1113 22:30:11 confidential comments 1114 22:30:12 when creating a new confidential comment 1116 22:30:12 behaves like user allowed to set comment as confidential 1117 22:30:12 is expected to be truthy 1118 22:30:12 # [RSpecRunTime] RSpec elapsed time: 18 minutes 2.12 seconds. Current RSS: ~1367M. Threads: 5. load average: 1.15 1.10 1.14 1/298 10974 1120 22:30:12 issuable author 1121 22:30:12 behaves like user not allowed to set comment as confidential 1122 22:30:13 is expected to be falsey 1123 22:30:13 issuable assignee 1124 22:30:13 behaves like user not allowed to set comment as confidential 1125 22:30:13 is expected to be falsey 1127 22:30:13 behaves like user allowed to set comment as confidential 1128 22:30:14 is expected to be truthy 1130 22:30:14 behaves like user not allowed to set comment as confidential 1131 22:30:14 is expected to be falsey 1133 22:30:14 behaves like user not allowed to set comment as confidential 1134 22:30:15 is expected to be falsey 1135 22:30:15 when replying to a confidential comment 1136 22:30:15 with reporter access 1137 22:30:15 behaves like confidential set to `true` 1138 22:30:16 `confidential` param is ignored to match the parent note confidentiality 1139 22:30:16 with admin access 1140 22:30:16 behaves like confidential set to `true` 1141 22:30:16 `confidential` param is ignored to match the parent note confidentiality 1142 22:30:16 with noteable author 1143 22:30:16 behaves like returns `Discussion to reply to cannot be found` error 1144 22:30:17 is expected to equal true 1145 22:30:17 with noteable assignee 1146 22:30:17 behaves like returns `Discussion to reply to cannot be found` error 1147 22:30:17 is expected to equal true 1148 22:30:17 with guest access 1149 22:30:17 behaves like returns `Discussion to reply to cannot be found` error 1150 22:30:18 is expected to equal true 1151 22:30:18 with external user 1152 22:30:18 behaves like returns `Discussion to reply to cannot be found` error 1153 22:30:19 is expected to equal true 1154 22:30:19 when replying to a public comment 1155 22:30:19 `confidential` param is ignored and set to `false` 1156 22:30:19 when noteable is not set 1157 22:30:20 builds a note without saving it 1158 22:30:20 # [RSpecRunTime] Finishing example group spec/services/notes/build_service_spec.rb. It took 14.14 seconds. Expected to take 14.33 seconds. 1159 22:30:20 # [RSpecRunTime] Starting example group spec/finders/packages/npm/packages_for_user_finder_spec.rb. Expected to take 13.05 seconds. 1160 22:30:20 Packages::Npm::PackagesForUserFinder 1162 22:30:21 with a project 1163 22:30:21 behaves like searches for packages 1164 22:30:21 is expected to contain exactly #<Packages::Package id: 187, project_id: 783, created_at: "2024-11-13 22:30:20.919399576 +0000", upda...kage_type: "npm", creator_id: 1369, status: "default", last_downloaded_at: nil, status_message: nil> 1165 22:30:21 # [RSpecRunTime] RSpec elapsed time: 18 minutes 10.87 seconds. Current RSS: ~1367M. Threads: 5. load average: 1.12 1.10 1.14 1/296 10975 1167 22:30:21 behaves like avoids N+1 database queries in the package registry 1168 22:30:27 is expected not to exceed query limit #<ActiveRecord::QueryRecorder:0x00007a653b671360 @data={}, @log=[], @cached=[], @skip_cached=true, @skip_schema_queries=true, @query_recorder_debug=false, @log_file=nil, @count=0> 1169 22:30:27 # [RSpecRunTime] RSpec elapsed time: 18 minutes 16.33 seconds. Current RSS: ~1366M. Threads: 5. load average: 1.11 1.10 1.14 1/296 10976 1171 22:30:27 with a group 1172 22:30:27 behaves like searches for packages 1173 22:30:27 is expected to contain exactly #<Packages::Package id: 187, project_id: 783, created_at: "2024-11-13 22:30:20.919399576 +0000", upda...kage_type: "npm", creator_id: 1369, status: "default", last_downloaded_at: nil, status_message: nil> 1174 22:30:27 behaves like avoids N+1 database queries in the package registry 1175 22:30:32 is expected not to exceed query limit #<ActiveRecord::QueryRecorder:0x00007a6516938e38 @data={}, @log=[], @cached=[], @skip_cached=true, @skip_schema_queries=true, @query_recorder_debug=false, @log_file=nil, @count=0> 1176 22:30:32 # [RSpecRunTime] RSpec elapsed time: 18 minutes 22.01 seconds. Current RSS: ~1359M. Threads: 5. load average: 1.10 1.10 1.14 1/296 10977 1178 22:30:32 when an user is a reporter of both projects 1179 22:30:33 is expected to contain exactly #<Packages::Package id: 187, project_id: 783, created_at: "2024-11-13 22:30:20.919399576 +0000", upda...kage_type: "npm", creator_id: 1369, status: "default", last_downloaded_at: nil, status_message: nil> and #<Packages::Package id: 189, project_id: 784, created_at: "2024-11-13 22:30:20.984885042 +0000", upda...kage_type: "npm", creator_id: 1370, status: "default", last_downloaded_at: nil, status_message: nil> 1180 22:30:33 when the second project has the package registry disabled 1181 22:30:33 behaves like searches for packages 1182 22:30:33 is expected to contain exactly #<Packages::Package id: 187, project_id: 783, created_at: "2024-11-13 22:30:20.919399576 +0000", upda...kage_type: "npm", creator_id: 1369, status: "default", last_downloaded_at: nil, status_message: nil> 1183 22:30:33 # [RSpecRunTime] Finishing example group spec/finders/packages/npm/packages_for_user_finder_spec.rb. It took 13.2 seconds. Expected to take 13.05 seconds. 1184 22:30:33 # [RSpecRunTime] Starting example group spec/models/personal_access_token_spec.rb. Expected to take 12.79 seconds. 1185 22:30:33 PersonalAccessToken 1186 22:30:33 does not allow STI 1187 22:30:33 default values 1188 22:30:33 is expected to eq 1 1189 22:30:33 is expected to eq nil 1191 22:30:33 is a valid personal access token 1192 22:30:33 ensures that the token is generated 1193 22:30:33 associations 1194 22:30:33 is expected to belong to previous_personal_access_token class_name => PersonalAccessToken required: false 1195 22:30:34 is expected to belong to organization class_name => Organizations::Organization required: false 1197 22:30:34 .project_access_tokens 1198 22:30:34 is expected to contain exactly #<PersonalAccessToken id: 7, user_id: 1391, name: "PAT 8", revoked: false, expires_at: "2024-12-13", ...ification_sent_at: nil, thirty_days_notification_sent_at: nil, sixty_days_notification_sent_at: nil> 1199 22:30:34 .owner_is_human 1200 22:30:35 is expected to contain exactly #<PersonalAccessToken id: 8, user_id: 1395, name: "PAT 9", revoked: false, expires_at: "2024-12-13", ...ification_sent_at: nil, thirty_days_notification_sent_at: nil, sixty_days_notification_sent_at: nil> 1202 22:30:36 returns personal access tokens of specified user only 1204 22:30:36 returns personal access tokens for the specified users only 1205 22:30:36 .created_before 1206 22:30:37 is expected to contain exactly #<PersonalAccessToken id: 19, user_id: 1405, name: "PAT 20", revoked: false, expires_at: "2024-12-13"...ification_sent_at: nil, thirty_days_notification_sent_at: nil, sixty_days_notification_sent_at: nil>, #<PersonalAccessToken id: 20, user_id: 1406, name: "PAT 21", revoked: false, expires_at: "2024-12-13"...ification_sent_at: nil, thirty_days_notification_sent_at: nil, sixty_days_notification_sent_at: nil>, and #<PersonalAccessToken id: 21, user_id: 1407, name: "PAT 22", revoked: false, expires_at: "2024-12-13"...ification_sent_at: nil, thirty_days_notification_sent_at: nil, sixty_days_notification_sent_at: nil> 1207 22:30:37 .last_used_before 1209 22:30:37 does not return token that is last_used_at after given date 1210 22:30:37 .last_used_before 1211 22:30:37 returns personal access tokens used before the specified date only 1212 22:30:37 .last_used_after 1213 22:30:37 returns personal access tokens used after the specified date only 1214 22:30:37 .last_used_before_or_unused 1215 22:30:38 is expected to contain exactly #<PersonalAccessToken id: 26, user_id: 1412, name: "PAT 27", revoked: false, expires_at: "2024-12-13"...ification_sent_at: nil, thirty_days_notification_sent_at: nil, sixty_days_notification_sent_at: nil> and #<PersonalAccessToken id: 27, user_id: 1413, name: "PAT 28", revoked: false, expires_at: "2024-12-13"...ification_sent_at: nil, thirty_days_notification_sent_at: nil, sixty_days_notification_sent_at: nil> 1216 22:30:38 .for_organization 1217 22:30:38 returns personal access tokens for the specified organization only 1219 22:30:38 returns false if the personal_access_token is revoked 1220 22:30:38 returns false if the personal_access_token is expired 1221 22:30:38 returns true if the personal_access_token is not revoked and not expired 1223 22:30:38 revokes the token 1224 22:30:39 updates updated_at timestamp 1227 22:30:39 requires a name 1229 22:30:39 requires at least one scope 1230 22:30:39 allows creating a token with API scopes 1231 22:30:39 allows creating a token with `admin_mode` scope 1232 22:30:39 rejects creating a token with unavailable scopes 1233 22:30:39 when registry is disabled 1234 22:30:39 rejects creating a token with read_registry scope 1235 22:30:39 allows revoking a token with read_registry scope 1236 22:30:39 when registry is enabled 1237 22:30:39 allows creating a token with read_registry scope 1239 22:30:39 can't be blank 1240 22:30:39 when expires_in is less than MAX_PERSONAL_ACCESS_TOKEN_LIFETIME_IN_DAYS days 1242 22:30:39 when expires_in is more than MAX_PERSONAL_ACCESS_TOKEN_LIFETIME_IN_DAYS days 1244 22:30:39 when application settings does not enforce expiry 1246 22:30:39 buffered expires_at 1247 22:30:39 can't be blank 1248 22:30:39 when expires_in is less than MAX_PERSONAL_ACCESS_TOKEN_LIFETIME_IN_DAYS_BUFFERED days 1250 22:30:39 when expires_in is less than MAX_PERSONAL_ACCESS_TOKEN_LIFETIME_IN_DAYS days 1252 22:30:40 when expires_in is more than MAX_PERSONAL_ACCESS_TOKEN_LIFETIME_IN_DAYS_BUFFERED days 1256 22:30:40 includes non-revoked tokens 1257 22:30:40 .expiring_and_not_notified 1259 22:30:41 doesn't have any tokens 1260 22:30:41 in three days 1261 22:30:41 only includes a valid token 1262 22:30:41 with existing tokens 1263 22:30:42 .scope_for_notification_interval 1264 22:30:42 returns a scope including expected tokens 1265 22:30:42 with invalid interval 1266 22:30:42 throws an error 1267 22:30:42 # [RSpecRunTime] RSpec elapsed time: 18 minutes 31.65 seconds. Current RSS: ~1356M. Threads: 5. load average: 1.09 1.09 1.13 1/296 10978 1269 22:30:42 with min_expires_at 1270 22:30:42 excludes tokens expiring before min_expires_at 1271 22:30:42 with past min_expires_at 1272 22:30:42 overrides default expiration interval 1273 22:30:42 with truncated max_expires_at 1274 22:30:42 overrides default expiration interval 1275 22:30:42 with 30d interval 1276 22:30:42 returns a scope including expected tokens 1277 22:30:42 with 60d interval 1278 22:30:42 returns a scope including expected tokens 1279 22:30:42 .expiring_and_not_notified_without_impersonation 1280 22:30:42 when token is there to be notified 1281 22:30:42 has only unnotified tokens 1282 22:30:42 when no token is there to be notified 1283 22:30:42 return empty array 1284 22:30:42 .expired_today_and_not_notified 1285 22:30:43 returns tokens that have expired today 1286 22:30:43 .expired_before 1287 22:30:43 returns tokens that are expired before date passed in 1288 22:30:43 .without_impersonation 1289 22:30:44 returns only non-impersonation tokens 1290 22:30:44 revoke scopes 1292 22:30:44 is expected to contain exactly #<PersonalAccessToken id: 66, user_id: 1452, name: "PAT 85", revoked: true, expires_at: "2024-12-13",...ification_sent_at: nil, thirty_days_notification_sent_at: nil, sixty_days_notification_sent_at: nil> 1293 22:30:44 .not_revoked 1294 22:30:44 is expected to contain exactly #<PersonalAccessToken id: 67, user_id: 1453, name: "PAT 86", revoked: false, expires_at: "2024-12-13"...ification_sent_at: nil, thirty_days_notification_sent_at: nil, sixty_days_notification_sent_at: nil> and #<PersonalAccessToken id: 68, user_id: 1454, name: "PAT 87", revoked: nil, expires_at: "2024-12-13", ...ification_sent_at: nil, thirty_days_notification_sent_at: nil, sixty_days_notification_sent_at: nil> 1295 22:30:44 .revoked_before 1296 22:30:45 returns tokens that are revoked before date passed in 1297 22:30:45 .simple_sorts 1298 22:30:45 includes overridden keys 1299 22:30:45 .notification_interval 1300 22:30:45 is expected to eq 7 1301 22:30:45 with invalid interval 1302 22:30:45 raises error 1303 22:30:45 ordering by expires_at 1304 22:30:45 .order_expires_at_asc_id_desc 1305 22:30:45 returns ordered list in combination of expires_at ascending and id descending 1306 22:30:45 token format 1307 22:30:45 generates a token 1308 22:30:45 when there is an existing token 1309 22:30:45 does not change the existing token 1310 22:30:45 # [RSpecRunTime] Finishing example group spec/models/personal_access_token_spec.rb. It took 12.49 seconds. Expected to take 12.79 seconds. 1311 22:30:45 # [RSpecRunTime] Starting example group spec/lib/gitlab/ci/trace/archive_spec.rb. Expected to take 11.79 seconds. 1312 22:30:45 Gitlab::Ci::Trace::Archive 1313 22:30:45 with transactional fixtures 1315 22:30:46 computes and assigns checksum 1316 22:30:46 validating artifact checksum 1317 22:30:46 when the object store is disabled 1318 22:30:46 behaves like skips validations 1319 22:30:46 behaves like valid 1320 22:30:46 does not count as invalid 1321 22:30:46 behaves like local checksum only 1322 22:30:46 generates only local checksum 1323 22:30:46 with FIPS enabled 1324 22:30:46 does not generate md5 checksums 1325 22:30:46 behaves like valid 1326 22:30:46 does not count as invalid 1327 22:30:46 with direct_upload enabled 1328 22:30:47 checksums match 1329 22:30:47 behaves like valid 1330 22:30:47 does not count as invalid 1331 22:30:47 when the checksum does not match 1332 22:30:47 counts as invalid 1333 22:30:47 with FIPS enabled 1334 22:30:47 does not generate md5 checksums 1335 22:30:47 behaves like valid 1336 22:30:47 does not count as invalid 1337 22:30:47 with FIPS enabled 1338 22:30:47 does not generate md5 checksums 1339 22:30:47 behaves like valid 1340 22:30:47 does not count as invalid 1341 22:30:47 without transactional fixtures 1343 22:30:54 does not upload the trace inside a database transaction 1344 22:30:54 # [RSpecRunTime] RSpec elapsed time: 18 minutes 43.57 seconds. Current RSS: ~1350M. Threads: 5. load average: 1.07 1.09 1.13 1/296 10979 1346 22:30:54 # [RSpecRunTime] Finishing example group spec/lib/gitlab/ci/trace/archive_spec.rb. It took 8.68 seconds. Expected to take 11.79 seconds. 1347 22:30:54 # [RSpecRunTime] Starting example group spec/lib/gitlab/gitaly_client/operation_service_spec.rb. Expected to take 11.55 seconds. 1348 22:30:54 Gitlab::GitalyClient::OperationService 1349 22:30:55 #user_create_branch 1350 22:30:55 sends a user_create_branch message and returns a Gitlab::git::Branch 1351 22:30:55 with structured errors 1352 22:30:55 with CustomHookError 1353 22:30:55 when details contain stderr without prefix 1354 22:30:55 behaves like failed branch creation 1355 22:30:55 raised a PreRecieveError 1356 22:30:55 # [RSpecRunTime] RSpec elapsed time: 18 minutes 44.77 seconds. Current RSS: ~1357M. Threads: 5. load average: 1.07 1.09 1.13 1/296 10998 1358 22:30:55 when details contain stderr with prefix 1359 22:30:55 behaves like failed branch creation 1360 22:30:55 raised a PreRecieveError 1361 22:30:55 when details contain stdout without prefix 1362 22:30:55 behaves like failed branch creation 1363 22:30:55 raised a PreRecieveError 1364 22:30:55 when details contain stdout with prefix 1365 22:30:55 behaves like failed branch creation 1366 22:30:55 raised a PreRecieveError 1367 22:30:55 when details contain no stderr or stdout 1368 22:30:55 behaves like failed branch creation 1369 22:30:55 raised a PreRecieveError 1370 22:30:55 #user_update_branch 1371 22:30:55 sends a user_update_branch message 1372 22:30:55 when pre_receive_error is present 1373 22:30:55 throws a PreReceive exception 1374 22:30:55 #user_merge_to_ref 1375 22:30:55 sends a user_merge_to_ref message 1376 22:30:55 #user_delete_branch 1377 22:30:55 sends a user_delete_branch message 1378 22:30:55 when target_sha is not provided 1379 22:30:55 sends a user_delete_branch message without target_sha 1380 22:30:55 with an invalid target_sha 1381 22:30:55 raises a CommandError 1382 22:30:55 with a custom hook error 1383 22:30:55 when details contain stderr 1384 22:30:55 behaves like a failed branch deletion 1385 22:30:56 raises a PreReceiveError 1386 22:30:56 when details contain stdout 1387 22:30:56 behaves like a failed branch deletion 1388 22:30:56 raises a PreReceiveError 1389 22:30:56 with a non-detailed error 1390 22:30:56 raises a GRPC error 1391 22:30:56 #user_merge_branch 1393 22:30:56 receives a bad status 1394 22:30:56 receives an unexpected response 1395 22:30:56 with an exception with the UserMergeBranchError 1396 22:30:56 raises PreRecieveError with the error message 1397 22:30:56 with a custom hook error 1398 22:30:56 when details contain stderr without prefix 1399 22:30:56 behaves like a failed merge 1400 22:30:56 raises a PreReceiveError 1401 22:30:56 when details contain stderr with prefix 1402 22:30:56 behaves like a failed merge 1403 22:30:56 raises a PreReceiveError 1404 22:30:56 when details contain stdout without prefix 1405 22:30:56 behaves like a failed merge 1406 22:30:56 raises a PreReceiveError 1407 22:30:56 when details contain stdout with prefix 1408 22:30:56 behaves like a failed merge 1409 22:30:56 raises a PreReceiveError 1410 22:30:56 when details contain no stderr or stdout 1411 22:30:56 behaves like a failed merge 1412 22:30:56 raises a PreReceiveError 1413 22:30:56 with an exception without the detailed error 1414 22:30:56 raises PermissionDenied 1415 22:30:56 with ReferenceUpdateError 1417 22:30:56 #user_ff_branch 1418 22:30:56 with response 1419 22:30:56 sends a user_ff_branch message and returns a BranchUpdate object 1420 22:30:56 when the response has no branch_update 1421 22:30:56 is expected to be nil 1422 22:30:56 when the pre-receive hook fails 1423 22:30:56 raises the error 1424 22:30:56 with exception 1425 22:30:56 with CustomHookError 1426 22:30:56 raises a PreReceiveError 1427 22:30:56 with ReferenceUpdateError 1429 22:30:56 with FailedPrecondition 1430 22:30:57 returns CommitError 1431 22:30:57 with a bad status 1432 22:30:57 raises the exception 1433 22:30:57 with unhandled exception 1434 22:30:57 raises the exception 1435 22:30:57 #user_cherry_pick 1436 22:30:57 sends a user_cherry_pick message and returns a BranchUpdate 1437 22:30:57 when AccessCheckError is raised 1438 22:30:57 behaves like #user_cherry_pick with a gRPC error 1439 22:30:57 raises an exception 1440 22:30:57 when NotAncestorError is raised 1441 22:30:57 behaves like #user_cherry_pick with a gRPC error 1442 22:30:57 raises an exception 1443 22:30:57 when MergeConflictError is raised 1444 22:30:57 behaves like #user_cherry_pick with a gRPC error 1445 22:30:57 raises an exception 1446 22:30:57 when InvalidArgument is raised 1447 22:30:57 behaves like #user_cherry_pick with a gRPC error 1448 22:30:57 raises an exception 1449 22:30:57 when a non-detailed gRPC error is raised 1450 22:30:57 behaves like #user_cherry_pick with a gRPC error 1451 22:30:57 raises an exception 1452 22:30:57 #user_revert 1453 22:30:57 sends a user_revert message and returns a BranchUpdate 1454 22:30:57 when errors are raised 1455 22:30:57 behaves like cherry pick and revert errors 1456 22:30:57 when a pre_receive_error is present 1457 22:30:57 raises a PreReceiveError 1458 22:30:57 when a commit_error is present 1459 22:30:57 raises a CommitError 1460 22:30:57 when a create_tree_error is present 1461 22:30:57 raises a CreateTreeError 1462 22:30:57 when branch_update is nil 1463 22:30:57 is expected to be nil 1464 22:30:57 when MergeConflictError is raised 1465 22:30:57 behaves like #user_revert with a gRPC error 1466 22:30:57 raises an exception 1467 22:30:57 when ChangesAlreadyAppliedError is raised 1468 22:30:57 behaves like #user_revert with a gRPC error 1469 22:30:57 raises an exception 1470 22:30:57 when NotAncestorError is raised 1471 22:30:57 behaves like #user_revert with a gRPC error 1472 22:30:57 raises an exception 1473 22:30:57 when CustomHookError is raised 1474 22:30:57 behaves like #user_revert with a gRPC error 1475 22:30:57 raises an exception 1476 22:30:57 when a non-detailed gRPC error is raised 1477 22:30:57 behaves like #user_revert with a gRPC error 1478 22:30:57 raises an exception 1480 22:30:57 with clean repository 1482 22:31:00 receives a bad status 1483 22:31:01 receives an unexpected response 1484 22:31:01 # [RSpecRunTime] RSpec elapsed time: 18 minutes 50.75 seconds. Current RSS: ~1384M. Threads: 5. load average: 1.06 1.08 1.13 1/302 11172 1486 22:31:01 when AccessError is raised 1487 22:31:01 behaves like #rebase with an error 1488 22:31:01 raises a GitError exception 1489 22:31:01 when RebaseConflictError is raised 1490 22:31:01 behaves like #rebase with an error 1491 22:31:01 raises a GitError exception 1492 22:31:01 when non-detailed gRPC error is raised 1493 22:31:01 behaves like #rebase with an error 1494 22:31:01 raises a GitError exception 1495 22:31:01 #user_rebase_to_ref 1496 22:31:01 sends a user_rebase_to_ref message 1497 22:31:01 #user_squash 1498 22:31:01 sends a user_squash message and returns the squash sha 1499 22:31:01 when ResolveRevisionError is raised 1500 22:31:01 behaves like #user_squash with an error 1501 22:31:01 raises a GitError exception 1502 22:31:01 when RebaseConflictError is raised 1503 22:31:01 behaves like #user_squash with an error 1504 22:31:01 raises a GitError exception 1505 22:31:01 when non-detailed gRPC error is raised 1506 22:31:01 behaves like #user_squash with an error 1507 22:31:01 raises a GitError exception 1508 22:31:01 #user_commit_files 1509 22:31:01 when UserCommitFiles RPC is called 1510 22:31:01 successfully builds the header 1511 22:31:01 with unstructured errors 1512 22:31:01 when a pre_receive_error is present 1513 22:31:02 raises a PreReceiveError 1514 22:31:02 when an index_error is present 1515 22:31:02 raises an IndexError 1516 22:31:02 when branch_update is nil 1517 22:31:02 is expected to be nil 1518 22:31:02 with structured errors 1519 22:31:02 with AccessCheckError 1520 22:31:02 raises a PreReceiveError 1521 22:31:02 with IndexError 1522 22:31:02 with missing file 1523 22:31:02 behaves like #user_commit_files failure 1524 22:31:02 raises an IndexError 1525 22:31:02 with existing directory 1526 22:31:02 behaves like #user_commit_files failure 1527 22:31:02 raises an IndexError 1528 22:31:02 with existing file 1529 22:31:02 behaves like #user_commit_files failure 1530 22:31:02 raises an IndexError 1531 22:31:02 with invalid path 1532 22:31:02 behaves like #user_commit_files failure 1533 22:31:02 raises an IndexError 1534 22:31:02 with directory traversal 1535 22:31:02 behaves like #user_commit_files failure 1536 22:31:02 raises an IndexError 1537 22:31:02 with empty path 1538 22:31:02 behaves like #user_commit_files failure 1539 22:31:02 raises an IndexError 1540 22:31:02 with unspecified error 1541 22:31:02 behaves like #user_commit_files failure 1542 22:31:02 raises an IndexError 1543 22:31:02 with an exception without the detailed error 1544 22:31:02 with an index error from libgit2 1545 22:31:02 raises IndexError 1546 22:31:02 with a generic error 1547 22:31:02 raises PermissionDenied 1548 22:31:02 with CustomHookError 1549 22:31:02 raises a PreReceiveError 1550 22:31:02 with an invalid target_sha 1551 22:31:02 when the target_sha is not in a valid format 1552 22:31:02 raises CommandError 1553 22:31:02 when the target_sha is valid but not present in the repo 1554 22:31:02 raises CommandError 1555 22:31:02 when the target_sha is present in the repo but is not the latest 1556 22:31:02 raises FailedPrecondition 1557 22:31:02 #user_commit_patches 1558 22:31:03 applies the patch correctly 1559 22:31:03 when the patch could not be applied 1560 22:31:04 raises the correct error 1561 22:31:04 # [RSpecRunTime] RSpec elapsed time: 18 minutes 53.54 seconds. Current RSS: ~1380M. Threads: 5. load average: 1.06 1.08 1.13 1/302 11455 1563 22:31:04 when an invalid target_sha is provided 1564 22:31:05 raises the correct error 1566 22:31:05 without tag message 1567 22:31:05 creates a lightweight tag 1568 22:31:05 with tag message 1569 22:31:05 creates an annotated tag 1570 22:31:05 with preexisting tag 1571 22:31:05 raises a TagExistsError 1572 22:31:05 with invalid target 1573 22:31:05 raises an InvalidRef error 1574 22:31:05 with internal error 1575 22:31:05 raises an Internal error 1576 22:31:05 with structured errors 1577 22:31:05 with ReferenceExistsError 1578 22:31:05 raises a TagExistsError 1579 22:31:05 with AccessCheckError 1580 22:31:05 raises a PreReceiveError 1581 22:31:05 with CustomHookError 1582 22:31:05 raises a PreReceiveError 1583 22:31:05 # [RSpecRunTime] Finishing example group spec/lib/gitlab/gitaly_client/operation_service_spec.rb. It took 11.12 seconds. Expected to take 11.55 seconds. 1584 22:31:05 # [RSpecRunTime] Starting example group spec/models/work_items/related_work_item_link_spec.rb. Expected to take 10.29 seconds. 1585 22:31:05 WorkItems::RelatedWorkItemLink 1586 22:31:06 does not allow STI 1587 22:31:06 .issuable_name 1588 22:31:06 is expected to eq "work item" 1590 22:31:06 #validate_related_link_restrictions 1591 22:31:06 source_type_sym: :incident, target_types: [:incident, :test_case, :issue, :task, :ticket], valid: false 1592 22:31:06 validates the related link 1593 22:31:06 source_type_sym: :ticket, target_types: [:incident, :test_case, :issue, :task, :ticket], valid: false 1594 22:31:06 validates the related link 1595 22:31:06 source_type_sym: :test_case, target_types: [:incident, :test_case, :issue, :task, :ticket], valid: false 1596 22:31:07 validates the related link 1597 22:31:07 source_type_sym: :task, target_types: [:incident, :test_case, :ticket], valid: false 1598 22:31:07 validates the related link 1599 22:31:07 source_type_sym: :issue, target_types: [:incident, :test_case, :ticket], valid: false 1600 22:31:07 validates the related link 1601 22:31:07 source_type_sym: :task, target_types: [:task, :issue], valid: true 1602 22:31:07 validates the related link 1603 22:31:07 source_type_sym: :issue, target_types: [:task, :issue], valid: true 1604 22:31:07 validates the related link 1605 22:31:07 behaves like includes LinkableItem concern 1607 22:31:08 #check_existing_parent_link 1608 22:31:08 for new issuable link 1609 22:31:08 without existing link parent 1611 22:31:08 with existing link parent 1612 22:31:08 behaves like invalid due to existing link 1613 22:31:08 is expected to include "is a parent or child of this work item" 1614 22:31:08 behaves like invalid due to existing link 1615 22:31:08 is expected to include "is a parent or child of this work item" 1616 22:31:08 for existing issuable link with existing parent link 1617 22:31:08 when source is issue 1619 22:31:08 when source is task 1623 22:31:08 includes linked items for source 1625 22:31:08 includes linked items for target 1627 22:31:09 includes links when item is source 1628 22:31:09 includes links when item is target 1629 22:31:09 .for_source_and_target 1630 22:31:09 includes links for provided source and target 1631 22:31:09 behaves like issuable link 1632 22:31:10 Associations 1633 22:31:10 is expected to belong to source class_name => WorkItem required: false 1634 22:31:10 is expected to belong to target class_name => WorkItem required: false 1635 22:31:10 # [RSpecRunTime] RSpec elapsed time: 18 minutes 59.93 seconds. Current RSS: ~1366M. Threads: 5. load average: 1.06 1.08 1.13 1/301 11595 1638 22:31:10 is expected to validate that :source cannot be empty/falsy 1639 22:31:10 is expected to validate that :target cannot be empty/falsy 1640 22:31:11 is expected to validate that :source is case-sensitively unique within the scope of :target_id, producing a custom validation error on failure 1641 22:31:11 is not valid if an opposite link already exists 1642 22:31:11 when it relates to itself 1643 22:31:11 when target is nil 1644 22:31:11 does not invalidate object with self relation error 1645 22:31:11 when source and target are present 1646 22:31:11 invalidates object 1647 22:31:11 when max number of links is exceeded 1648 22:31:11 when source exceeds max 1649 22:31:11 behaves like invalid due to exceeding max number of links 1650 22:31:11 is expected to include "This work item would exceed the maximum number of linked work items (1)." 1651 22:31:11 when target exceeds max 1652 22:31:11 behaves like invalid due to exceeding max number of links 1653 22:31:11 is expected to include "This work item would exceed the maximum number of linked work items (1)." 1655 22:31:11 .for_source_or_target 1656 22:31:14 returns only links where id is either source or target id 1657 22:31:14 # [RSpecRunTime] RSpec elapsed time: 19 minutes 3.98 seconds. Current RSS: ~1361M. Threads: 5. load average: 1.13 1.10 1.13 1/300 11596 1660 22:31:14 is expected to define :link_type as an enum backed by an integer with values ‹{relates_to: 0, blocks: 1}› 1661 22:31:14 provides the "related" as default link_type 1662 22:31:14 .issuable_type 1663 22:31:14 is expected to eq :issue 1664 22:31:14 # [RSpecRunTime] Finishing example group spec/models/work_items/related_work_item_link_spec.rb. It took 9.39 seconds. Expected to take 10.29 seconds. 1665 22:31:14 # [RSpecRunTime] Starting example group spec/services/clusters/cleanup/project_namespace_service_spec.rb. Expected to take 9.92 seconds. 1666 22:31:14 Clusters::Cleanup::ProjectNamespaceService 1668 22:31:14 when cluster has namespaces to be deleted 1669 22:31:16 deletes namespaces from cluster 1670 22:31:17 deletes namespaces from database 1671 22:31:18 schedules ::ServiceAccountWorker 1672 22:31:19 logs all events 1673 22:31:19 when cluster.kubeclient is nil 1674 22:31:19 schedules ::ServiceAccountWorker 1675 22:31:20 deletes namespaces from database 1676 22:31:20 # [RSpecRunTime] RSpec elapsed time: 19 minutes 10.16 seconds. Current RSS: ~1361M. Threads: 5. load average: 1.11 1.10 1.13 1/296 11597 1678 22:31:20 when cluster has no namespaces 1679 22:31:21 schedules Clusters::Cleanup::ServiceAccountWorker 1680 22:31:21 transitions to cleanup_removing_service_account 1681 22:31:21 does not try to delete namespaces 1682 22:31:21 when there is a Kubeclient::HttpError 1683 22:31:22 schedules ::ServiceAccountWorker with accepted errors 1684 22:31:23 schedules ::ServiceAccountWorker with accepted errors 1685 22:31:24 schedules ::ServiceAccountWorker with accepted errors 1686 22:31:25 raises error with unaccepted errors 1687 22:31:25 # [RSpecRunTime] RSpec elapsed time: 19 minutes 14.65 seconds. Current RSS: ~1358M. Threads: 5. load average: 1.11 1.10 1.13 1/296 11598 1689 22:31:25 # [RSpecRunTime] Finishing example group spec/services/clusters/cleanup/project_namespace_service_spec.rb. It took 10.53 seconds. Expected to take 9.92 seconds. 1690 22:31:25 # [RSpecRunTime] Starting example group spec/graphql/mutations/discussions/toggle_resolve_spec.rb. Expected to take 9.4 seconds. 1691 22:31:25 Mutations::Discussions::ToggleResolve 1693 22:31:26 when discussion is on a merge request 1694 22:31:27 behaves like a working resolve method 1695 22:31:27 when the user does not have permission 1696 22:31:27 raises an error if the resource is not accessible to the user 1697 22:31:27 # [RSpecRunTime] RSpec elapsed time: 19 minutes 16.66 seconds. Current RSS: ~1369M. Threads: 5. load average: 1.10 1.09 1.13 1/299 11661 1699 22:31:27 when the user has permission 1700 22:31:27 when discussion cannot be found 1701 22:31:27 raises an error 1702 22:31:27 when the `resolve` argument is true 1703 22:31:28 returns a resolved discussion 1704 22:31:28 returns empty errors 1705 22:31:28 when the discussion is already resolved 1706 22:31:29 returns a resolved discussion 1707 22:31:29 returns empty errors 1708 22:31:29 # [RSpecRunTime] RSpec elapsed time: 19 minutes 18.61 seconds. Current RSS: ~1374M. Threads: 5. load average: 1.10 1.09 1.13 1/299 11682 1710 22:31:29 when the service raises an `ActiveRecord::RecordNotSaved` error 1711 22:31:29 does not resolve the discussion 1712 22:31:29 returns errors 1713 22:31:29 when the `resolve` argument is false 1714 22:31:29 when the discussion is resolved 1715 22:31:30 returns an unresolved discussion 1716 22:31:30 returns empty errors 1717 22:31:30 when the service raises an `ActiveRecord::RecordNotSaved` error 1718 22:31:30 does not unresolve the discussion 1719 22:31:30 returns errors 1720 22:31:30 when the discussion is already unresolved 1721 22:31:30 returns an unresolved discussion 1722 22:31:31 returns empty errors 1723 22:31:31 when user is the author and discussion is locked 1724 22:31:31 raises an error 1725 22:31:31 when discussion is on a design 1726 22:31:31 behaves like a working resolve method 1727 22:31:31 when the user does not have permission 1728 22:31:32 raises an error if the resource is not accessible to the user 1729 22:31:32 when the user has permission 1730 22:31:32 when discussion cannot be found 1731 22:31:32 raises an error 1732 22:31:32 when the `resolve` argument is true 1733 22:31:32 returns a resolved discussion 1734 22:31:33 returns empty errors 1735 22:31:33 when the discussion is already resolved 1736 22:31:33 returns a resolved discussion 1737 22:31:33 returns empty errors 1738 22:31:33 # [RSpecRunTime] RSpec elapsed time: 19 minutes 22.77 seconds. Current RSS: ~1376M. Threads: 5. load average: 1.09 1.09 1.13 1/300 11753 1740 22:31:33 when the service raises an `ActiveRecord::RecordNotSaved` error 1741 22:31:33 does not resolve the discussion 1742 22:31:33 returns errors 1743 22:31:33 when the `resolve` argument is false 1744 22:31:33 when the discussion is resolved 1745 22:31:34 returns an unresolved discussion 1746 22:31:34 returns empty errors 1747 22:31:34 when the service raises an `ActiveRecord::RecordNotSaved` error 1748 22:31:34 does not unresolve the discussion 1749 22:31:34 returns errors 1750 22:31:34 when the discussion is already unresolved 1751 22:31:34 returns an unresolved discussion 1752 22:31:34 returns empty errors 1753 22:31:34 when user is the author and discussion is locked 1754 22:31:35 raises an error 1755 22:31:35 # [RSpecRunTime] Finishing example group spec/graphql/mutations/discussions/toggle_resolve_spec.rb. It took 9.69 seconds. Expected to take 9.4 seconds. 1756 22:31:35 # [RSpecRunTime] Starting example group spec/lib/gitlab/audit/auditor_spec.rb. Expected to take 8.85 seconds. 1757 22:31:35 Gitlab::Audit::Auditor 1759 22:31:35 when yaml definition is not defined 1760 22:31:35 raises an error 1761 22:31:35 when yaml definition is defined 1762 22:31:35 does not raise an error 1763 22:31:35 when authentication event 1764 22:31:36 creates an authentication event 1765 22:31:36 logs audit events to database 1766 22:31:37 logs audit events to file 1767 22:31:37 when overriding the create datetime 1768 22:31:37 logs audit events to database 1769 22:31:37 logs audit events to file 1770 22:31:37 # [RSpecRunTime] RSpec elapsed time: 19 minutes 27.14 seconds. Current RSS: ~1375M. Threads: 5. load average: 1.09 1.09 1.13 1/299 11754 1772 22:31:37 when overriding the additional_details 1773 22:31:38 logs audit events to database 1774 22:31:38 logs audit events to file 1775 22:31:38 when overriding the target_details 1776 22:31:39 logs audit events to database 1777 22:31:39 logs audit events to file 1778 22:31:39 when authentication event is false 1779 22:31:39 does not create an authentication event 1780 22:31:39 with permitted target 1781 22:31:39 with feature_flag 1782 22:31:40 logs audit events to database 1783 22:31:40 when authentication event is invalid 1784 22:31:40 tracks error 1785 22:31:41 does not throw exception 1786 22:31:41 when audit events are invalid 1787 22:31:41 tracks error 1788 22:31:41 does not throw exception 1789 22:31:41 when audit event is not saved in database due to some database infra issue 1790 22:31:42 calls log_to_file_and_stream with in memory events 1791 22:31:42 does not throw exception 1792 22:31:42 # [RSpecRunTime] Finishing example group spec/lib/gitlab/audit/auditor_spec.rb. It took 7.44 seconds. Expected to take 8.85 seconds. 1793 22:31:42 # [RSpecRunTime] Starting example group spec/services/ci/update_build_state_service_spec.rb. Expected to take 8.52 seconds. 1794 22:31:42 Ci::UpdateBuildStateService 1795 22:31:43 when build has unknown failure reason 1796 22:31:43 updates a build status 1797 22:31:43 when build has failed 1798 22:31:43 sends a build failed event to Snowplow 1799 22:31:43 when build does not have checksum 1800 22:31:43 when state has changed 1801 22:31:43 updates a state of a running build 1802 22:31:43 returns 200 OK status 1803 22:31:44 does not increment finalized trace metric 1804 22:31:44 when it is a heartbeat request 1805 22:31:44 updates a build timestamp 1806 22:31:44 when state is unknown 1807 22:31:44 responds with 400 bad request 1808 22:31:44 when build has a checksum 1809 22:31:44 when build does not have associated trace chunks 1810 22:31:44 updates a build status 1811 22:31:44 updates the allow_failure flag 1812 22:31:45 does not increment invalid trace metric 1813 22:31:45 does not increment chunks_invalid_checksum trace metric 1814 22:31:45 when build trace has been migrated 1815 22:31:45 updates a build state 1816 22:31:45 updates the allow_failure flag 1817 22:31:46 responds with 200 OK status 1818 22:31:46 does not set a backoff value 1819 22:31:46 increments trace finalized operation metric 1820 22:31:46 records migration duration in a histogram 1821 22:31:46 when trace checksum is not valid 1822 22:31:47 increments invalid trace metric 1823 22:31:47 increments chunks_invalid_checksum trace metric 1824 22:31:47 # [RSpecRunTime] RSpec elapsed time: 19 minutes 36.46 seconds. Current RSS: ~1356M. Threads: 5. load average: 1.07 1.09 1.13 1/296 11755 1826 22:31:47 when trace checksum is valid 1827 22:31:47 does not increment invalid or corrupted trace metric 1828 22:31:47 when using deprecated parameters 1829 22:31:47 does not increment invalid or corrupted trace metric 1830 22:31:47 when trace checksum is invalid and the log is corrupted 1831 22:31:47 increments invalid and corrupted trace metrics 1832 22:31:47 when trace checksum is invalid but the log seems fine 1833 22:31:48 does not increment corrupted trace metric 1834 22:31:48 when failed to acquire a build trace lock 1835 22:31:48 accepts a state update request 1836 22:31:48 increment locked trace metric 1837 22:31:48 when build trace has not been migrated yet 1838 22:31:48 does not update a build state 1839 22:31:48 responds with 202 accepted 1840 22:31:49 sets a request backoff value 1841 22:31:49 schedules live chunks for migration 1842 22:31:49 creates a pending state record 1843 22:31:49 increments trace accepted operation metric 1844 22:31:49 does not increment invalid trace metric 1845 22:31:49 when build pending state is outdated 1846 22:31:50 responds with 200 OK 1847 22:31:50 updates build state 1848 22:31:50 increments discarded traces metric 1849 22:31:50 does not increment finalized trace metric 1850 22:31:50 # [RSpecRunTime] RSpec elapsed time: 19 minutes 39.93 seconds. Current RSS: ~1355M. Threads: 5. load average: 1.07 1.09 1.13 1/296 11756 1852 22:31:50 when build pending state has changes 1853 22:31:51 uses stored state and responds with 200 OK 1854 22:31:51 increments conflict trace metric 1855 22:31:51 when live traces are disabled 1856 22:31:51 responds with 200 OK 1857 22:31:51 # [RSpecRunTime] Finishing example group spec/services/ci/update_build_state_service_spec.rb. It took 8.87 seconds. Expected to take 8.52 seconds. 1858 22:31:51 # [RSpecRunTime] Starting example group spec/graphql/mutations/groups/update_spec.rb. Expected to take 8.18 seconds. 1859 22:31:51 Mutations::Groups::Update 1860 22:31:51 is expected to require graphql authorizations :admin_group_or_admin_runner 1862 22:31:51 changing shared runners setting 1863 22:31:51 user_role: :owner, shared_examples_name: "updating the group shared runners setting" 1864 22:31:51 behaves like updating the group shared runners setting 1865 22:31:52 Job arguments to Ci::PendingBuilds::UpdateGroupWorker must be native JSON types, but :instance_runners_enabled is a Symbol. 1867 22:31:52 To disable this error, add `Sidekiq.strict_args!(false)` to your initializer. 1868 22:31:52 updates the group shared runners setting 1869 22:31:52 returns no errors 1870 22:31:52 with invalid params 1871 22:31:53 doesn't update the shared_runners_setting 1872 22:31:53 returns an error 1873 22:31:53 # [RSpecRunTime] RSpec elapsed time: 19 minutes 42.95 seconds. Current RSS: ~1359M. Threads: 5. load average: 1.07 1.08 1.13 1/296 11757 1875 22:31:53 user_role: :maintainer, shared_examples_name: "denying access to group" 1876 22:31:53 behaves like denying access to group 1877 22:31:54 raises Gitlab::Graphql::Errors::ResourceNotAvailable 1878 22:31:54 user_role: :developer, shared_examples_name: "denying access to group" 1879 22:31:54 behaves like denying access to group 1880 22:31:54 raises Gitlab::Graphql::Errors::ResourceNotAvailable 1881 22:31:54 user_role: :reporter, shared_examples_name: "denying access to group" 1882 22:31:54 behaves like denying access to group 1883 22:31:54 raises Gitlab::Graphql::Errors::ResourceNotAvailable 1884 22:31:54 user_role: :guest, shared_examples_name: "denying access to group" 1885 22:31:54 behaves like denying access to group 1886 22:31:55 raises Gitlab::Graphql::Errors::ResourceNotAvailable 1887 22:31:55 user_role: :anonymous, shared_examples_name: "denying access to group" 1888 22:31:55 behaves like denying access to group 1889 22:31:55 raises Gitlab::Graphql::Errors::ResourceNotAvailable 1890 22:31:55 changing math rendering settings 1891 22:31:55 user_role: :owner, shared_examples_name: "updating the group math rendering settings" 1892 22:31:55 behaves like updating the group math rendering settings 1893 22:31:55 updates the settings 1894 22:31:56 returns no errors 1895 22:31:56 user_role: :maintainer, shared_examples_name: "denying access to group" 1896 22:31:56 behaves like denying access to group 1897 22:31:56 raises Gitlab::Graphql::Errors::ResourceNotAvailable 1898 22:31:56 user_role: :developer, shared_examples_name: "denying access to group" 1899 22:31:56 behaves like denying access to group 1900 22:31:57 raises Gitlab::Graphql::Errors::ResourceNotAvailable 1901 22:31:57 user_role: :reporter, shared_examples_name: "denying access to group" 1902 22:31:57 behaves like denying access to group 1903 22:31:57 raises Gitlab::Graphql::Errors::ResourceNotAvailable 1904 22:31:57 user_role: :guest, shared_examples_name: "denying access to group" 1905 22:31:57 behaves like denying access to group 1906 22:31:57 raises Gitlab::Graphql::Errors::ResourceNotAvailable 1907 22:31:57 user_role: :anonymous, shared_examples_name: "denying access to group" 1908 22:31:57 behaves like denying access to group 1909 22:31:57 raises Gitlab::Graphql::Errors::ResourceNotAvailable 1910 22:31:57 # [RSpecRunTime] Finishing example group spec/graphql/mutations/groups/update_spec.rb. It took 6.34 seconds. Expected to take 8.18 seconds. 1911 22:31:57 # [RSpecRunTime] Starting example group spec/tasks/gitlab/tokens/manage_expiry_task_spec.rb. Expected to take 7.74 seconds. 1912 22:31:57 Tasks::Gitlab::Tokens::ManageExpiryTask 1913 22:31:57 .extend_expiration_date 1914 22:31:58 extends the expiration date for selected tokens 1915 22:31:58 .show_pat_expires_at_migration_status 1916 22:31:58 prints the migration status 1918 22:31:58 calls analyze and prompts for action 1919 22:31:58 .show_most_common_pat_expiration_dates 1920 22:31:58 shows the two groups of expiration dates 1922 22:31:58 calls the expected methods 1923 22:31:58 .remove_expiration_date 1924 22:31:58 removes the expiration date for selected tokens 1925 22:32:02 # [RSpecRunTime] Finishing example group spec/tasks/gitlab/tokens/manage_expiry_task_spec.rb. It took 5.06 seconds. Expected to take 7.74 seconds. 1926 22:32:02 # [RSpecRunTime] RSpec elapsed time: 19 minutes 52.12 seconds. Current RSS: ~1364M. Threads: 5. load average: 1.06 1.08 1.12 1/296 11758 1928 22:32:02 # [RSpecRunTime] Starting example group spec/tasks/gitlab/shell_rake_spec.rb. Expected to take 7.4 seconds. 1929 22:32:02 gitlab:shell rake tasks 1930 22:32:02 install task 1931 22:32:03 installs and compiles gitlab-shell 1933 22:32:03 when "Write to authorized keys" is enabled 1934 22:32:03 when "force" is not set 1935 22:32:03 when the user answers "yes" 1936 22:32:03 writes authorized keys into the file 1937 22:32:03 when the user answers "no" 1938 22:32:03 does not write authorized keys into the file 1939 22:32:03 when "force" is set to "yes" 1940 22:32:03 writes authorized keys into the file 1941 22:32:03 when "Write to authorized keys" is disabled 1942 22:32:03 does not write authorized keys into the file 1943 22:32:07 # [RSpecRunTime] Finishing example group spec/tasks/gitlab/shell_rake_spec.rb. It took 4.82 seconds. Expected to take 7.4 seconds. 1944 22:32:07 # [RSpecRunTime] RSpec elapsed time: 19 minutes 57.0 seconds. Current RSS: ~1354M. Threads: 5. load average: 1.13 1.10 1.13 1/296 11759 1946 22:32:07 # [RSpecRunTime] Starting example group spec/tasks/gitlab/redis_rake_spec.rb. Expected to take 7.07 seconds. 1947 22:32:07 gitlab:redis:secret rake tasks 1949 22:32:07 displays error when file does not exist 1950 22:32:08 displays error when key does not exist 1951 22:32:08 displays error when key is changed 1952 22:32:08 outputs the unencrypted content when present 1953 22:32:08 when an instance class is specified 1954 22:32:08 when actual name is used 1955 22:32:08 # password: '123' 1956 22:32:08 uses the correct Redis class 1957 22:32:08 when name in lowercase is used 1958 22:32:08 # password: '123' 1959 22:32:08 uses the correct Redis class 1960 22:32:08 when name with underscores is used 1961 22:32:08 # password: '123' 1962 22:32:08 uses the correct Redis class 1963 22:32:08 when name with hyphens is used 1964 22:32:08 # password: '123' 1965 22:32:08 uses the correct Redis class 1966 22:32:08 when name with spaces is used 1967 22:32:09 # password: '123' 1968 22:32:09 uses the correct Redis class 1969 22:32:09 when an invalid name is used 1970 22:32:09 raises error 1972 22:32:09 # password: '123' 1973 22:32:09 creates encrypted file 1974 22:32:09 displays error when key does not exist 1975 22:32:09 displays error when key is changed 1976 22:32:09 displays error when write directory does not exist 1977 22:32:09 somevalue shows a warning when content is invalid 1978 22:32:09 displays error when $EDITOR is not set 1980 22:32:09 creates encrypted file from stdin 1981 22:32:09 displays error when key does not exist 1982 22:32:10 displays error when write directory does not exist 1983 22:32:10 somevalue shows a warning when content is invalid 1984 22:32:15 # [RSpecRunTime] Finishing example group spec/tasks/gitlab/redis_rake_spec.rb. It took 7.76 seconds. Expected to take 7.07 seconds. 1985 22:32:15 # [RSpecRunTime] RSpec elapsed time: 20 minutes 4.82 seconds. Current RSS: ~1360M. Threads: 5. load average: 1.20 1.11 1.13 1/296 11768 1987 22:32:15 # [RSpecRunTime] Starting example group spec/lib/gitlab/git/patches/commit_patches_spec.rb. Expected to take 6.82 seconds. 1988 22:32:15 Gitlab::Git::Patches::CommitPatches 1990 22:32:17 applies the patches 1991 22:32:19 updates the branch cache 1992 22:32:19 when the repository does not exist 1993 22:32:20 raises the correct error 1994 22:32:20 # [RSpecRunTime] RSpec elapsed time: 20 minutes 9.69 seconds. Current RSS: ~1380M. Threads: 5. load average: 1.18 1.11 1.13 1/299 12156 1996 22:32:20 when the patch does not apply 1997 22:32:22 raises the correct error 1998 22:32:22 # [RSpecRunTime] RSpec elapsed time: 20 minutes 11.35 seconds. Current RSS: ~1390M. Threads: 5. load average: 1.17 1.11 1.13 1/300 12274 2000 22:32:22 # [RSpecRunTime] Finishing example group spec/lib/gitlab/git/patches/commit_patches_spec.rb. It took 6.54 seconds. Expected to take 6.82 seconds. 2001 22:32:22 # [RSpecRunTime] Starting example group spec/graphql/resolvers/group_issues_resolver_spec.rb. Expected to take 6.36 seconds. 2002 22:32:22 Resolvers::GroupIssuesResolver 2004 22:32:25 finds all group issues 2005 22:32:25 finds all group and subgroup issues 2006 22:32:25 returns issues without the specified issue_type 2007 22:32:25 confidential issues 2008 22:32:25 when user is allowed to view confidential issues 2009 22:32:26 returns all viewable issues by default 2010 22:32:26 filtering for confidential issues 2011 22:32:26 returns only the non-confidential issues for the group when filter is set to false 2012 22:32:26 returns only the confidential issues for the group when filter is set to true 2013 22:32:26 # [RSpecRunTime] RSpec elapsed time: 20 minutes 15.66 seconds. Current RSS: ~1386M. Threads: 5. load average: 1.16 1.11 1.13 1/300 12275 2015 22:32:26 when user is not allowed to see confidential issues 2016 22:32:26 returns all viewable issues by default 2017 22:32:26 filtering for confidential issues 2018 22:32:27 does not return the confidential issues when filter is set to false 2019 22:32:27 does not return the confidential issues when filter is set to true 2020 22:32:27 # [RSpecRunTime] RSpec elapsed time: 20 minutes 16.86 seconds. Current RSS: ~1387M. Threads: 5. load average: 1.16 1.11 1.13 1/299 12276 2022 22:32:27 release_tag filter 2023 22:32:27 generates an error when trying to filter by negated release_tag 2024 22:32:27 # [RSpecRunTime] Finishing example group spec/graphql/resolvers/group_issues_resolver_spec.rb. It took 5.55 seconds. Expected to take 6.36 seconds. 2025 22:32:27 # [RSpecRunTime] Starting example group spec/services/boards/lists/list_service_spec.rb. Expected to take 6.0 seconds. 2026 22:32:27 Boards::Lists::ListService 2028 22:32:28 when board parent is a project 2029 22:32:29 behaves like lists list service 2030 22:32:29 when the board has a backlog list 2031 22:32:29 does not create a backlog list 2032 22:32:29 returns board's lists 2033 22:32:29 when hide_backlog_list is true 2034 22:32:29 hides backlog list 2035 22:32:29 # [RSpecRunTime] RSpec elapsed time: 20 minutes 18.97 seconds. Current RSS: ~1381M. Threads: 5. load average: 1.16 1.11 1.13 1/297 12285 2037 22:32:29 when hide_closed_list is true 2038 22:32:29 hides closed list 2039 22:32:29 when the board does not have a backlog list 2040 22:32:29 creates a backlog list 2041 22:32:30 does not create a backlog list when create_default_lists is false 2042 22:32:30 returns board's lists 2043 22:32:30 when wanting a specific list 2044 22:32:30 returns list specified by id 2045 22:32:30 returns empty result when list is not found 2046 22:32:30 behaves like FOSS lists only 2047 22:32:30 when board contains a non FOSS list 2048 22:32:31 returns only FOSS board's lists 2049 22:32:31 when board parent is a group 2050 22:32:32 behaves like lists list service 2051 22:32:32 when the board has a backlog list 2052 22:32:32 does not create a backlog list 2053 22:32:32 returns board's lists 2054 22:32:32 when hide_backlog_list is true 2055 22:32:32 hides backlog list 2056 22:32:32 # [RSpecRunTime] RSpec elapsed time: 20 minutes 21.83 seconds. Current RSS: ~1365M. Threads: 5. load average: 1.14 1.10 1.13 1/296 12294 2058 22:32:32 when hide_closed_list is true 2059 22:32:32 hides closed list 2060 22:32:32 when the board does not have a backlog list 2061 22:32:32 creates a backlog list 2062 22:32:32 does not create a backlog list when create_default_lists is false 2063 22:32:33 returns board's lists 2064 22:32:33 when wanting a specific list 2065 22:32:33 returns list specified by id 2066 22:32:33 returns empty result when list is not found 2067 22:32:33 behaves like FOSS lists only 2068 22:32:33 when board contains a non FOSS list 2069 22:32:33 returns only FOSS board's lists 2070 22:32:34 # [RSpecRunTime] Finishing example group spec/services/boards/lists/list_service_spec.rb. It took 6.26 seconds. Expected to take 6.0 seconds. 2071 22:32:34 # [RSpecRunTime] Starting example group spec/models/integrations/mattermost_slash_commands_spec.rb. Expected to take 5.68 seconds. 2072 22:32:34 Integrations::MattermostSlashCommands 2073 22:32:34 does not allow STI 2074 22:32:34 behaves like Integrations::BaseSlashCommands 2075 22:32:34 Associations 2076 22:32:34 is expected to respond to #token 2077 22:32:34 default values 2078 22:32:34 is expected to eq :chat 2079 22:32:34 #valid_token? 2080 22:32:34 when the token is empty 2082 22:32:34 when there is a token 2083 22:32:34 accepts equal tokens 2085 22:32:34 no token is passed 2087 22:32:34 with a token passed 2088 22:32:34 no user can be found 2089 22:32:34 when no url can be generated 2090 22:32:34 responds with the authorize url 2091 22:32:34 when an auth url can be generated 2092 22:32:35 generates the url 2093 22:32:35 when the user is authenticated 2094 22:32:35 with verified request 2095 22:32:35 triggers the command 2096 22:32:35 when user is blocked 2097 22:32:35 behaves like blocks command execution 2098 22:32:36 is expected to match "you do not have access to the GitLab project" 2099 22:32:36 # [RSpecRunTime] RSpec elapsed time: 20 minutes 26.01 seconds. Current RSS: ~1363M. Threads: 5. load average: 1.21 1.12 1.13 1/296 12295 2101 22:32:36 when user is deactivated 2102 22:32:36 behaves like blocks command execution 2104 22:32:37 # [RSpecRunTime] RSpec elapsed time: 20 minutes 27.09 seconds. Current RSS: ~1365M. Threads: 5. load average: 1.21 1.12 1.13 1/296 12296 2106 22:32:37 with unverified request 2107 22:32:38 caches the slash command params and returns confirmation message 2108 22:32:38 Mattermost API 2110 22:32:39 when the request succeeds 2111 22:32:39 saves the integration 2112 22:32:39 saves the token 2113 22:32:39 when an error is received 2114 22:32:39 shows error messages 2116 22:32:39 when the request succeeds 2117 22:32:39 returns a list of teams 2118 22:32:39 when an error is received 2119 22:32:39 shows error messages 2120 22:32:39 #redirect_url 2122 22:32:39 with invalid URL scheme 2123 22:32:39 is expected to be nil 2124 22:32:39 with unsafe URL 2125 22:32:39 is expected to be nil 2126 22:32:39 #confirmation_url 2127 22:32:40 is expected to be present 2129 22:32:40 returns the avatar image path 2130 22:32:40 # [RSpecRunTime] Finishing example group spec/models/integrations/mattermost_slash_commands_spec.rb. It took 6.04 seconds. Expected to take 5.68 seconds. 2131 22:32:40 # [RSpecRunTime] Starting example group spec/services/work_items/task_list_reference_replacement_service_spec.rb. Expected to take 5.61 seconds. 2132 22:32:40 WorkItems::TaskListReferenceReplacementService 2134 22:32:41 when task mardown spans a single line 2135 22:32:42 creates description version note 2136 22:32:42 behaves like successful work item task reference replacement service 2137 22:32:42 is expected to be success 2138 22:32:43 replaces the original issue markdown description with new work item reference 2139 22:32:43 # [RSpecRunTime] RSpec elapsed time: 20 minutes 32.29 seconds. Current RSS: ~1374M. Threads: 5. load average: 1.20 1.12 1.13 1/296 12315 2141 22:32:43 when task mardown spans multiple lines 2142 22:32:43 behaves like successful work item task reference replacement service 2143 22:32:43 is expected to be success 2144 22:32:44 replaces the original issue markdown description with new work item reference 2145 22:32:44 # [RSpecRunTime] RSpec elapsed time: 20 minutes 33.49 seconds. Current RSS: ~1386M. Threads: 5. load average: 1.20 1.12 1.13 1/296 12316 2147 22:32:44 when description does not contain a task 2148 22:32:44 behaves like failing work item task reference replacement service 2149 22:32:44 is expected to be error 2150 22:32:44 returns an error message 2151 22:32:44 when description is empty 2152 22:32:44 behaves like failing work item task reference replacement service 2153 22:32:44 is expected to be error 2154 22:32:44 returns an error message 2155 22:32:44 when line_number_start is lower than 1 2156 22:32:44 behaves like failing work item task reference replacement service 2157 22:32:44 is expected to be error 2158 22:32:44 returns an error message 2159 22:32:44 when line_number_end is lower than line_number_start 2160 22:32:44 behaves like failing work item task reference replacement service 2161 22:32:44 is expected to be error 2162 22:32:44 returns an error message 2163 22:32:44 when lock_version is older than current 2164 22:32:44 behaves like failing work item task reference replacement service 2165 22:32:44 is expected to be error 2166 22:32:45 returns an error message 2167 22:32:45 when work item is stale before updating 2168 22:32:45 behaves like failing work item task reference replacement service 2169 22:32:45 is expected to be error 2170 22:32:45 returns an error message 2171 22:32:45 # [RSpecRunTime] Finishing example group spec/services/work_items/task_list_reference_replacement_service_spec.rb. It took 5.62 seconds. Expected to take 5.61 seconds. 2172 22:32:45 # [RSpecRunTime] Starting example group spec/services/jira_import/server_users_mapper_service_spec.rb. Expected to take 5.23 seconds. 2173 22:32:45 JiraImport::ServerUsersMapperService 2175 22:32:46 behaves like mapping jira users 2176 22:32:46 jira_users is nil 2177 22:32:48 returns an empty array 2178 22:32:48 # [RSpecRunTime] RSpec elapsed time: 20 minutes 37.43 seconds. Current RSS: ~1388M. Threads: 5. load average: 1.26 1.13 1.14 1/296 12317 2180 22:32:48 when jira_users is present 2181 22:32:49 returns users mapped to Gitlab 2182 22:32:50 runs only 4 queries 2183 22:32:50 # [RSpecRunTime] RSpec elapsed time: 20 minutes 40.13 seconds. Current RSS: ~1382M. Threads: 5. load average: 1.24 1.13 1.14 1/296 12318 2185 22:32:50 # [RSpecRunTime] Finishing example group spec/services/jira_import/server_users_mapper_service_spec.rb. It took 5.3 seconds. Expected to take 5.23 seconds. 2186 22:32:50 # [RSpecRunTime] Starting example group spec/lib/api/entities/snippet_spec.rb. Expected to take 5.15 seconds. 2187 22:32:50 API::Entities::Snippet 2188 22:32:52 with PersonalSnippet 2189 22:32:52 returns snippet web_url attribute 2190 22:32:52 returns snippet raw_url attribute 2191 22:32:52 behaves like common attributes 2192 22:32:52 is expected to eq 146 2193 22:32:52 is expected to eq "My title 1013" 2194 22:32:52 is expected to eq "My title 1015" 2195 22:32:52 is expected to eq 2024-11-13 22:32:51.082290479 +0000 2196 22:32:52 is expected to eq 2024-11-13 22:32:51.082290479 +0000 2197 22:32:52 is expected to eq nil 2198 22:32:52 is expected to eq "private" 2199 22:32:53 is expected to include :author 2200 22:32:53 is expected to eq false 2201 22:32:53 is expected to eq "none" 2203 22:32:53 returns attribute from repository 2204 22:32:53 when repository is empty 2205 22:32:53 returns attribute from db 2206 22:32:53 # [RSpecRunTime] RSpec elapsed time: 20 minutes 42.56 seconds. Current RSS: ~1390M. Threads: 5. load average: 1.24 1.13 1.14 1/297 12404 2208 22:32:53 ssh_url_to_repo 2209 22:32:53 returns attribute 2210 22:32:53 when repository does not exist 2211 22:32:53 does not include attribute 2212 22:32:53 http_url_to_repo 2213 22:32:53 returns attribute 2214 22:32:53 when repository does not exist 2215 22:32:53 does not include attribute 2217 22:32:53 with PersonalSnippet 2218 22:32:53 behaves like snippet files 2219 22:32:53 returns all snippet files 2220 22:32:53 has the file path 2221 22:32:54 has the raw url 2222 22:32:54 when repository does not exist 2223 22:32:54 returns empty array 2224 22:32:54 with ProjectSnippet 2225 22:32:54 behaves like snippet files 2226 22:32:54 returns all snippet files 2227 22:32:54 has the file path 2228 22:32:54 has the raw url 2229 22:32:54 when repository does not exist 2230 22:32:54 returns empty array 2231 22:32:54 with ProjectSnippet 2232 22:32:54 returns snippet web_url attribute 2233 22:32:54 returns snippet raw_url attribute 2234 22:32:54 behaves like common attributes 2235 22:32:54 is expected to eq 147 2236 22:32:54 is expected to eq "My title 1016" 2237 22:32:54 is expected to eq "My title 1018" 2238 22:32:54 is expected to eq 2024-11-13 22:32:51.992523416 +0000 2239 22:32:55 is expected to eq 2024-11-13 22:32:51.992523416 +0000 2240 22:32:55 is expected to eq 854 2241 22:32:55 is expected to eq "private" 2242 22:32:55 is expected to include :author 2243 22:32:55 is expected to eq false 2244 22:32:55 is expected to eq "none" 2246 22:32:55 returns attribute from repository 2247 22:32:55 when repository is empty 2248 22:32:55 returns attribute from db 2249 22:32:55 # [RSpecRunTime] RSpec elapsed time: 20 minutes 44.76 seconds. Current RSS: ~1392M. Threads: 5. load average: 1.24 1.13 1.14 1/298 12508 2251 22:32:55 ssh_url_to_repo 2252 22:32:55 returns attribute 2253 22:32:55 when repository does not exist 2254 22:32:55 does not include attribute 2255 22:32:55 http_url_to_repo 2256 22:32:55 returns attribute 2257 22:32:55 when repository does not exist 2258 22:32:55 does not include attribute 2260 22:32:55 with PersonalSnippet 2261 22:32:55 behaves like snippet files 2262 22:32:55 returns all snippet files 2263 22:32:56 has the file path 2264 22:32:56 has the raw url 2265 22:32:56 when repository does not exist 2266 22:32:56 returns empty array 2267 22:32:56 with ProjectSnippet 2268 22:32:56 behaves like snippet files 2269 22:32:56 returns all snippet files 2270 22:32:56 has the file path 2271 22:32:56 has the raw url 2272 22:32:56 when repository does not exist 2273 22:32:56 returns empty array 2274 22:32:56 # [RSpecRunTime] Finishing example group spec/lib/api/entities/snippet_spec.rb. It took 5.62 seconds. Expected to take 5.15 seconds. 2275 22:32:56 # [RSpecRunTime] Starting example group spec/lib/gitlab/git/blob_spec.rb. Expected to take 4.88 seconds. 2276 22:32:56 Gitlab::Git::Blob 2278 22:32:57 handles nil data 2279 22:32:57 records blob size 2280 22:32:57 when untruncated 2281 22:32:57 attempts to record gitlab_blob_truncated_false 2282 22:32:57 when truncated 2283 22:32:57 attempts to record gitlab_blob_truncated_true 2284 22:32:57 .find with Gitaly enabled 2285 22:32:57 behaves like .find 2287 22:32:57 is expected to eq nil 2288 22:32:57 utf-8 branch 2289 22:32:57 is expected to eq "7e3e39ebb9b2bf433b4ad17313770fbe4051649c" 2291 22:32:57 is expected to eq nil 2292 22:32:57 file in subdir 2293 22:32:57 is expected to eq "7e3e39ebb9b2bf433b4ad17313770fbe4051649c" 2294 22:32:57 is expected to eq "popen.rb" 2295 22:32:57 is expected to eq "files/ruby/popen.rb" 2296 22:32:57 is expected to eq "b83d6e391c22777fca1ed3012fce84f633d7fed0" 2297 22:32:58 is expected to eq "require 'fi" 2298 22:32:58 is expected to eq 669 2299 22:32:58 is expected to eq "100644" 2300 22:32:58 file in root 2301 22:32:58 is expected to eq "dfaa3f97ca337e20154a98ac9d0be76ddd1fcc82" 2302 22:32:58 is expected to eq ".gitignore" 2303 22:32:58 is expected to eq ".gitignore" 2304 22:32:58 is expected to eq "b83d6e391c22777fca1ed3012fce84f633d7fed0" 2305 22:32:58 is expected to eq "*.rbc\n*.sas" 2306 22:32:58 is expected to eq 241 2307 22:32:58 is expected to eq "100644" 2308 22:32:58 is expected not to be binary in repo 2309 22:32:58 file in root with leading slash 2310 22:32:58 is expected to eq "dfaa3f97ca337e20154a98ac9d0be76ddd1fcc82" 2311 22:32:58 is expected to eq ".gitignore" 2312 22:32:58 is expected to eq ".gitignore" 2313 22:32:58 is expected to eq "b83d6e391c22777fca1ed3012fce84f633d7fed0" 2314 22:32:58 is expected to eq "*.rbc\n*.sas" 2315 22:32:58 is expected to eq 241 2316 22:32:58 is expected to eq "100644" 2317 22:32:58 non-exist file 2318 22:32:59 is expected to be nil 2319 22:32:59 six submodule 2320 22:32:59 is expected to eq "409f37c4f05865e4fb208c771485f211a22c4c2d" 2321 22:32:59 is expected to eq "" 2322 22:32:59 does not get messed up by load_all_data! 2323 22:32:59 does not mark the blob as binary 2325 22:32:59 is expected to eq 111803 2326 22:32:59 is expected to eq 1000 2327 22:32:59 check that this test is sane 2328 22:32:59 can load all data 2329 22:32:59 marks the blob as binary 2331 22:32:59 is expected to eq "7e3e39ebb9b2bf433b4ad17313770fbe4051649c" 2332 22:32:59 is expected to eq "require 'fi" 2333 22:32:59 is expected to eq 669 2334 22:32:59 is expected to be falsey 2335 22:32:59 is expected to be nil 2337 22:32:59 is expected to eq 2 2339 22:32:59 is expected to eq "7e3e39ebb9b2bf433b4ad17313770fbe4051649c" 2340 22:32:59 is expected to eq "popen.rb" 2341 22:32:59 is expected to eq "files/ruby/popen.rb" 2342 22:32:59 is expected to eq "b83d6e391c22777fca1ed3012fce84f633d7fed0" 2343 22:33:00 is expected to eq "require 'fi" 2344 22:33:00 is expected to eq 669 2345 22:33:00 is expected to eq "100644" 2347 22:33:00 is expected to eq "409f37c4f05865e4fb208c771485f211a22c4c2d" 2348 22:33:00 is expected to eq "" 2349 22:33:00 does not mark the blob as binary 2352 22:33:00 is expected to eq 10 2354 22:33:00 only loads the metadata 2356 22:33:00 ignores MAX_DATA_DISPLAY_SIZE 2357 22:33:00 when large number of blobs requested 2358 22:33:00 fetches the blobs in batches 2359 22:33:00 .batch_metadata 2360 22:33:00 returns an empty data attribute 2361 22:33:00 .batch_lfs_pointers 2362 22:33:00 returns a list of Gitlab::Git::Blob 2363 22:33:00 accepts blob IDs as a lazy enumerator 2364 22:33:00 handles empty list of IDs gracefully 2365 22:33:00 silently ignores non lfs objects 2366 22:33:00 avoids loading large blobs into memory 2368 22:33:00 file with russian text 2369 22:33:00 has the correct blob attributes 2370 22:33:00 file with Japanese text 2371 22:33:00 has the correct blob attributes 2372 22:33:00 file with ISO-8859 text 2373 22:33:00 has the correct blob attributes 2375 22:33:00 file regular 2376 22:33:00 is expected to eq "regex.rb" 2377 22:33:00 is expected to eq "files/ruby/regex.rb" 2378 22:33:01 is expected to eq 1200 2379 22:33:01 is expected to eq "100644" 2381 22:33:01 is expected to eq "ls" 2382 22:33:01 is expected to eq "files/executables/ls" 2383 22:33:01 is expected to eq 23 2384 22:33:01 is expected to eq "100755" 2385 22:33:01 file symlink to regular 2386 22:33:01 is expected to eq "symlink" 2387 22:33:01 is expected to eq "symlink" 2388 22:33:01 is expected to eq 6 2389 22:33:01 is expected to eq "120000" 2390 22:33:01 lfs_pointers 2391 22:33:01 file a valid lfs pointer 2392 22:33:01 is expected to eq true 2393 22:33:01 is expected to eq "96f74c6fe7a2979eefb9ec74a5dfc6888fb25543cf99b77586b79afea1da6f97" 2394 22:33:01 is expected to eq 1219696 2395 22:33:01 is expected to eq "ff0ab3afd1616ff78d0331865d922df103b64cf0" 2396 22:33:01 is expected to eq "emoji.png" 2397 22:33:01 is expected to eq "files/images/emoji.png" 2398 22:33:01 is expected to eq 132 2399 22:33:01 is expected to eq "100644" 2400 22:33:01 #load_all_data! 2401 22:33:01 loads missing data 2402 22:33:01 with a fully loaded blob 2403 22:33:01 doesn't perform any loading 2405 22:33:02 loads unencoded raw blob 2407 22:33:02 when blob.size is nil 2408 22:33:02 returns false 2409 22:33:02 when blob.data is missing 2410 22:33:02 returns false 2411 22:33:02 when the blob is truncated 2412 22:33:02 returns true 2413 22:33:02 when the blob is untruncated 2414 22:33:02 returns false 2416 22:33:02 defines :gitlab_blob_truncated_true counter 2417 22:33:02 defines :gitlab_blob_truncated_false counter 2418 22:33:02 defines :gitlab_blob_size histogram 2420 22:33:02 when the encoding cannot be detected 2421 22:33:02 successfully splits the data 2422 22:33:02 # [RSpecRunTime] Finishing example group spec/lib/gitlab/git/blob_spec.rb. It took 5.77 seconds. Expected to take 4.88 seconds. 2423 22:33:02 # [RSpecRunTime] Starting example group spec/workers/environments/stop_job_success_worker_spec.rb. Expected to take 4.77 seconds. 2424 22:33:02 Environments::StopJobSuccessWorker 2426 22:33:03 with build job 2427 22:33:03 behaves like stopping an associated environment 2428 22:33:04 stops the environment 2429 22:33:04 when the job fails 2430 22:33:05 does not stop the environment 2431 22:33:05 # [RSpecRunTime] RSpec elapsed time: 20 minutes 54.29 seconds. Current RSS: ~1380M. Threads: 5. load average: 1.20 1.12 1.14 2/299 12686 2433 22:33:05 with bridge job 2434 22:33:05 behaves like stopping an associated environment 2435 22:33:06 stops the environment 2436 22:33:06 when the job fails 2437 22:33:06 does not stop the environment 2438 22:33:07 # [RSpecRunTime] RSpec elapsed time: 20 minutes 56.21 seconds. Current RSS: ~1379M. Threads: 5. load average: 1.18 1.12 1.13 1/297 12687 2440 22:33:07 when job does not exist 2441 22:33:07 does not raise exception 2442 22:33:07 # [RSpecRunTime] Finishing example group spec/workers/environments/stop_job_success_worker_spec.rb. It took 4.73 seconds. Expected to take 4.77 seconds. 2443 22:33:07 # [RSpecRunTime] Starting example group spec/services/notification_recipients/builder/default_spec.rb. Expected to take 4.5 seconds. 2444 22:33:07 NotificationRecipients::Builder::Default 2446 22:33:08 participants and project watchers 2447 22:33:08 adds all participants and watchers 2448 22:33:08 # [RSpecRunTime] RSpec elapsed time: 20 minutes 57.5 seconds. Current RSS: ~1372M. Threads: 5. load average: 1.18 1.12 1.13 1/297 12688 2451 22:33:08 adds all subscribers 2452 22:33:08 custom notifications 2453 22:33:08 behaves like custom notification recipients 2454 22:33:09 with project custom notification setting 2455 22:33:09 adds the user to the recipients 2456 22:33:09 with the project custom notification setting in another project 2457 22:33:09 does not add the user to the recipients 2458 22:33:09 with group custom notification setting 2459 22:33:09 adds the user to the recipients 2460 22:33:09 with the group custom notification setting in another group 2461 22:33:09 does not add the user to the recipients 2462 22:33:09 with project global custom notification setting 2463 22:33:09 with global custom notification setting 2464 22:33:09 adds the user to the recipients 2465 22:33:09 without global custom notification setting 2466 22:33:09 does not add the user to the recipients 2467 22:33:09 with group global custom notification setting 2468 22:33:09 with global custom notification setting 2469 22:33:10 adds the user to the recipients 2470 22:33:10 without global custom notification setting 2471 22:33:10 does not add the user to the recipients 2472 22:33:10 with group custom notification setting in deeply nested parent group 2473 22:33:11 adds the user to the recipients 2474 22:33:11 # [RSpecRunTime] RSpec elapsed time: 21 minutes 0.84 second. Current RSS: ~1368M. Threads: 5. load average: 1.17 1.12 1.13 1/297 12689 2476 22:33:11 without a project or group 2477 22:33:12 does not add the user to the recipients 2478 22:33:12 # [RSpecRunTime] Finishing example group spec/services/notification_recipients/builder/default_spec.rb. It took 5.35 seconds. Expected to take 4.5 seconds. 2479 22:33:12 # [RSpecRunTime] Starting example group spec/models/work_items/type_spec.rb. Expected to take 4.44 seconds. 2480 22:33:12 WorkItems::Type 2481 22:33:12 does not allow STI 2483 22:33:12 is expected to includes the CacheMarkdownField module 2484 22:33:12 associations 2485 22:33:12 has many `widget_definitions` 2486 22:33:12 has many `enabled_widget_definitions` 2487 22:33:12 has many `child_restrictions` 2488 22:33:12 has many `parent_restrictions` 2489 22:33:12 allowed_child_types_by_name 2490 22:33:12 defines association 2491 22:33:13 sorts by name ascending 2492 22:33:13 allowed_parent_types_by_name 2493 22:33:13 defines association 2494 22:33:13 sorts by name ascending 2497 22:33:13 calls #clear_reactive_cache! 2499 22:33:13 order_by_name_asc 2500 22:33:13 is expected to match ["atype", "gtype", "Ztype"] 2502 22:33:14 does not delete type when there are related issues 2503 22:33:14 when there are no work items of that type 2504 22:33:15 deletes type but not unrelated issues 2505 22:33:15 # [RSpecRunTime] RSpec elapsed time: 21 minutes 4.32 seconds. Current RSS: ~1365M. Threads: 5. load average: 1.17 1.12 1.13 1/296 12690 2508 22:33:15 is expected not to allow :icon_name to be ‹"ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss"› 2509 22:33:15 name uniqueness 2510 22:33:15 is expected to validate that :name is case-insensitively unique 2511 22:33:15 .default_by_type 2512 22:33:15 returns default work item type by base type without calling importer 2513 22:33:15 when default types are missing 2514 22:33:15 raises an error 2515 22:33:15 when an invalid issue_type is passed 2516 22:33:15 is expected to be nil 2517 22:33:15 does not raise an error 2520 22:33:15 #supports_assignee? 2521 22:33:15 is expected to be truthy 2522 22:33:15 when the assignees widget is not supported 2523 22:33:15 is expected to be falsey 2524 22:33:15 #supports_time_tracking? 2525 22:33:15 is expected to be truthy 2526 22:33:15 when the time tracking widget is not supported 2527 22:33:16 is expected to be falsey 2528 22:33:16 #default_issue? 2529 22:33:16 when work item type is default Issue 2530 22:33:16 returns true 2531 22:33:16 when work item type is not Issue 2532 22:33:16 returns false 2533 22:33:16 #allowed_child_types 2534 22:33:16 when cache is true 2535 22:33:16 Job arguments to ReactiveCachingWorker must be native JSON types, but WorkItems::Type(id: integer, base_type: integer, cached_markdown_version: integer, name: text, description: text, description_html: text, icon_name: text, created_at: timestamptz, updated_at: timestamptz, correct_id: integer, old_id: integer) is a Class. 2537 22:33:16 To disable this error, add `Sidekiq.strict_args!(false)` to your initializer. 2538 22:33:16 returns the cached data 2539 22:33:16 when cache is false 2540 22:33:16 returns queried data 2541 22:33:16 #allowed_parent_types 2542 22:33:16 when cache is true 2543 22:33:16 Job arguments to ReactiveCachingWorker must be native JSON types, but WorkItems::Type(id: integer, base_type: integer, cached_markdown_version: integer, name: text, description: text, description_html: text, icon_name: text, created_at: timestamptz, updated_at: timestamptz, correct_id: integer, old_id: integer) is a Class. 2545 22:33:16 To disable this error, add `Sidekiq.strict_args!(false)` to your initializer. 2546 22:33:16 returns the cached data 2547 22:33:16 when cache is false 2548 22:33:16 returns queried data 2549 22:33:16 #descendant_types 2550 22:33:16 Job arguments to ReactiveCachingWorker must be native JSON types, but WorkItems::Type(id: integer, base_type: integer, cached_markdown_version: integer, name: text, description: text, description_html: text, icon_name: text, created_at: timestamptz, updated_at: timestamptz, correct_id: integer, old_id: integer) is a Class. 2552 22:33:16 To disable this error, add `Sidekiq.strict_args!(false)` to your initializer. 2553 22:33:16 Job arguments to ReactiveCachingWorker must be native JSON types, but WorkItems::Type(id: integer, base_type: integer, cached_markdown_version: integer, name: text, description: text, description_html: text, icon_name: text, created_at: timestamptz, updated_at: timestamptz, correct_id: integer, old_id: integer) is a Class. 2555 22:33:16 To disable this error, add `Sidekiq.strict_args!(false)` to your initializer. 2556 22:33:16 Job arguments to ReactiveCachingWorker must be native JSON types, but WorkItems::Type(id: integer, base_type: integer, cached_markdown_version: integer, name: text, description: text, description_html: text, icon_name: text, created_at: timestamptz, updated_at: timestamptz, correct_id: integer, old_id: integer) is a Class. 2558 22:33:16 To disable this error, add `Sidekiq.strict_args!(false)` to your initializer. 2559 22:33:16 Job arguments to ReactiveCachingWorker must be native JSON types, but WorkItems::Type(id: integer, base_type: integer, cached_markdown_version: integer, name: text, description: text, description_html: text, icon_name: text, created_at: timestamptz, updated_at: timestamptz, correct_id: integer, old_id: integer) is a Class. 2561 22:33:16 To disable this error, add `Sidekiq.strict_args!(false)` to your initializer. 2562 22:33:16 returns all possible descendant types 2563 22:33:16 #calculate_reactive_cache 2564 22:33:16 returns cache data for allowed child types 2565 22:33:16 .allowed_group_level_types 2566 22:33:16 is expected to include "issue", "incident", "test_case", "requirement", "task", "objective", "key_result", and "ticket" 2567 22:33:16 when create_group_level_work_items feature flag is disabled 2568 22:33:16 is expected to be empty 2569 22:33:16 # [RSpecRunTime] Finishing example group spec/models/work_items/type_spec.rb. It took 4.51 seconds. Expected to take 4.44 seconds. 2570 22:33:16 # [RSpecRunTime] Starting example group spec/services/merge_requests/execute_approval_hooks_service_spec.rb. Expected to take 4.19 seconds. 2571 22:33:16 MergeRequests::ExecuteApprovalHooksService 2573 22:33:19 sends a notification when approving 2574 22:33:19 with remaining approvals 2575 22:33:20 fires an approval webhook 2576 22:33:20 # [RSpecRunTime] RSpec elapsed time: 21 minutes 10.1 seconds. Current RSS: ~1384M. Threads: 5. load average: 1.14 1.12 1.13 1/301 12806 2578 22:33:20 # [RSpecRunTime] Finishing example group spec/services/merge_requests/execute_approval_hooks_service_spec.rb. It took 3.98 seconds. Expected to take 4.19 seconds. 2579 22:33:20 # [RSpecRunTime] Starting example group spec/models/projects/data_transfer_spec.rb. Expected to take 4.13 seconds. 2580 22:33:20 Projects::DataTransfer 2581 22:33:21 is expected to be valid 2582 22:33:21 does not allow STI 2583 22:33:21 unique index 2584 22:33:21 raises unique index violation 2585 22:33:21 when project was moved from one namespace to another 2586 22:33:21 creates a new record 2587 22:33:21 when a different project is created 2588 22:33:22 creates a new record 2589 22:33:22 behaves like CounterAttribute 2590 22:33:22 defines a method to store counters 2591 22:33:22 repository_egress 2592 22:33:22 #increment_counter 2593 22:33:22 when attribute is a counter attribute 2595 22:33:22 increments the counter in Redis and logs it 2596 22:33:22 does not increment the counter for the record 2597 22:33:22 schedules a worker to flush counter increments asynchronously 2599 22:33:22 increments the counter in Redis and logs it 2600 22:33:22 does not increment the counter for the record 2601 22:33:22 schedules a worker to flush counter increments asynchronously 2602 22:33:22 #increment_amount 2603 22:33:22 increases the egress in cache 2604 22:33:22 #current_counter 2605 22:33:22 increases the amount in cache 2606 22:33:22 when increment amount is 0 2607 22:33:22 does nothing 2608 22:33:22 #bulk_increment_counter 2609 22:33:22 when attribute is a counter attribute 2610 22:33:22 increments the counter in Redis and logs each increment 2611 22:33:23 does not increment the counter for the record 2612 22:33:23 schedules a worker to flush counter increments asynchronously 2613 22:33:23 when feature flag split_log_bulk_increment_counter is disabled 2614 22:33:23 logs a single total increment 2615 22:33:23 artifacts_egress 2616 22:33:23 #increment_counter 2617 22:33:23 when attribute is a counter attribute 2619 22:33:23 increments the counter in Redis and logs it 2620 22:33:23 does not increment the counter for the record 2621 22:33:23 schedules a worker to flush counter increments asynchronously 2623 22:33:23 increments the counter in Redis and logs it 2624 22:33:23 does not increment the counter for the record 2625 22:33:23 schedules a worker to flush counter increments asynchronously 2626 22:33:23 #increment_amount 2627 22:33:23 increases the egress in cache 2628 22:33:23 #current_counter 2629 22:33:23 increases the amount in cache 2630 22:33:23 when increment amount is 0 2631 22:33:23 does nothing 2632 22:33:23 #bulk_increment_counter 2633 22:33:23 when attribute is a counter attribute 2634 22:33:23 increments the counter in Redis and logs each increment 2635 22:33:23 does not increment the counter for the record 2636 22:33:23 schedules a worker to flush counter increments asynchronously 2637 22:33:23 when feature flag split_log_bulk_increment_counter is disabled 2638 22:33:23 logs a single total increment 2639 22:33:23 packages_egress 2640 22:33:23 #increment_counter 2641 22:33:23 when attribute is a counter attribute 2643 22:33:23 increments the counter in Redis and logs it 2644 22:33:23 does not increment the counter for the record 2645 22:33:23 schedules a worker to flush counter increments asynchronously 2647 22:33:23 increments the counter in Redis and logs it 2648 22:33:23 does not increment the counter for the record 2649 22:33:23 schedules a worker to flush counter increments asynchronously 2650 22:33:23 #increment_amount 2651 22:33:24 increases the egress in cache 2652 22:33:24 #current_counter 2653 22:33:24 increases the amount in cache 2654 22:33:24 when increment amount is 0 2655 22:33:24 does nothing 2656 22:33:24 #bulk_increment_counter 2657 22:33:24 when attribute is a counter attribute 2658 22:33:24 increments the counter in Redis and logs each increment 2659 22:33:24 does not increment the counter for the record 2660 22:33:24 schedules a worker to flush counter increments asynchronously 2661 22:33:24 when feature flag split_log_bulk_increment_counter is disabled 2662 22:33:24 logs a single total increment 2663 22:33:24 registry_egress 2664 22:33:24 #increment_counter 2665 22:33:24 when attribute is a counter attribute 2667 22:33:24 increments the counter in Redis and logs it 2668 22:33:24 does not increment the counter for the record 2669 22:33:24 schedules a worker to flush counter increments asynchronously 2671 22:33:24 increments the counter in Redis and logs it 2672 22:33:24 does not increment the counter for the record 2673 22:33:24 schedules a worker to flush counter increments asynchronously 2674 22:33:24 #increment_amount 2675 22:33:24 increases the egress in cache 2676 22:33:24 #current_counter 2677 22:33:24 increases the amount in cache 2678 22:33:24 when increment amount is 0 2679 22:33:24 does nothing 2680 22:33:24 #bulk_increment_counter 2681 22:33:24 when attribute is a counter attribute 2682 22:33:24 increments the counter in Redis and logs each increment 2683 22:33:24 does not increment the counter for the record 2684 22:33:24 schedules a worker to flush counter increments asynchronously 2685 22:33:24 when feature flag split_log_bulk_increment_counter is disabled 2686 22:33:24 logs a single total increment 2687 22:33:24 #update_counters_with_lease 2688 22:33:24 updates counters of the record 2689 22:33:24 behaves like obtaining lease to update database 2690 22:33:24 when it is unable to obtain lock 2691 22:33:24 logs a warning 2692 22:33:24 when the execution raises error 2693 22:33:25 reraises error 2695 22:33:25 .current_month 2696 22:33:25 returns data transfer for the current month 2697 22:33:25 .with_project_between_dates 2698 22:33:25 returns the correct number of results 2699 22:33:25 .with_namespace_between_dates 2700 22:33:25 returns the correct number of results 2701 22:33:25 associations 2702 22:33:25 is expected to belong to project required: false 2703 22:33:25 is expected to belong to namespace required: false 2704 22:33:25 .beginning_of_month 2705 22:33:25 is expected to eq 2022-05-01 00:00:00.000000000 +0000 2706 22:33:25 # [RSpecRunTime] Finishing example group spec/models/projects/data_transfer_spec.rb. It took 4.33 seconds. Expected to take 4.13 seconds. 2707 22:33:25 # [RSpecRunTime] Starting example group spec/lib/api/ci/helpers/runner_spec.rb. Expected to take 3.84 seconds. 2708 22:33:25 API::Ci::Helpers::Runner 2709 22:33:25 #current_job 2710 22:33:27 handles sticking of a build when a build ID is specified 2711 22:33:27 does not handle sticking if no build ID was specified 2712 22:33:28 returns the build if one could be found 2713 22:33:28 # [RSpecRunTime] RSpec elapsed time: 21 minutes 17.26 seconds. Current RSS: ~1368M. Threads: 5. load average: 1.13 1.11 1.13 1/300 12807 2715 22:33:28 #current_runner 2716 22:33:28 handles sticking of a runner if a token is specified 2717 22:33:28 does not handle sticking if no token was specified 2718 22:33:28 returns the runner if one could be found 2719 22:33:28 #current_runner_manager 2720 22:33:28 when runner manager already exists 2721 22:33:28 is expected to eq #<Ci::RunnerManager id: 1, runner_id: 3, executor_type: nil, created_at: "2024-11-13 22:33:28.0000000...{}, system_xid: "bar", creation_state: "finished", runner_type: "group_type", sharding_key_id: 1656> 2722 22:33:28 does not update the contacted_at field 2723 22:33:28 when a runner manager with nil sharding_key_id already exists 2724 22:33:28 reuses existing runner manager 2725 22:33:28 when runner manager cannot be found 2726 22:33:28 creates a new runner manager 2727 22:33:29 creates a new <legacy> runner manager if system_id is not specified 2728 22:33:29 #track_runner_authentication 2729 22:33:29 increments gitlab_ci_runner_authentication_success_total 2730 22:33:29 increments gitlab_ci_runner_authentication_failure_total 2731 22:33:29 #check_if_backoff_required! 2732 22:33:29 when migrations are running 2733 22:33:29 denies requests 2734 22:33:29 when migrations are not running 2735 22:33:29 allows requests 2736 22:33:29 # [RSpecRunTime] Finishing example group spec/lib/api/ci/helpers/runner_spec.rb. It took 4.38 seconds. Expected to take 3.84 seconds. 2737 22:33:29 # [RSpecRunTime] Starting example group spec/helpers/button_helper_spec.rb. Expected to take 3.74 seconds. 2739 22:33:29 http_clone_button 2740 22:33:29 with internal auth enabled 2741 22:33:29 when user has a password 2742 22:33:29 shows no tooltip 2743 22:33:29 when user has password automatically set 2744 22:33:30 shows the password text on the dropdown 2745 22:33:30 with internal auth disabled 2746 22:33:30 when user has no personal access tokens 2747 22:33:30 has a personal access token text on the dropdown description 2748 22:33:30 when user has personal access tokens 2749 22:33:30 does not have a personal access token text on the dropdown description 2750 22:33:30 when user is ldap user 2751 22:33:30 shows no tooltip 2753 22:33:30 without an ssh key on the user 2754 22:33:30 shows a warning on the dropdown description 2755 22:33:30 without an ssh key on the user and user_show_add_ssh_key_message unset 2756 22:33:31 there is no warning on the dropdown description 2757 22:33:31 with an ssh key on the user 2758 22:33:31 there is no warning on the dropdown description 2759 22:33:31 ssh and http clone buttons 2760 22:33:31 only shows the title of any of the clone buttons when append_link is false 2761 22:33:31 clipboard_button 2762 22:33:31 with default options 2763 22:33:31 when no `text` attribute is not provided 2764 22:33:31 shows copy to clipboard button with default configuration and no text set to copy 2765 22:33:31 when `text` attribute is provided 2766 22:33:31 shows copy to clipboard button with provided `text` to copy 2767 22:33:31 when `title` attribute is provided 2768 22:33:31 shows copy to clipboard button with provided `title` as tooltip 2769 22:33:31 with `button_text` attribute provided 2770 22:33:31 shows copy to clipboard button with provided `button_text` as button label 2771 22:33:31 adds `gl-button-icon` class to icon 2772 22:33:31 with `hide_tooltip` attribute provided 2773 22:33:31 shows copy to clipboard button without tooltip support 2774 22:33:31 with `hide_button_icon` attribute provided 2775 22:33:31 shows copy to clipboard button without tooltip support 2776 22:33:31 with `itemprop` attribute provided 2777 22:33:31 shows copy to clipboard button with `itemprop` attribute 2778 22:33:31 when variant option is provided 2779 22:33:31 inherits the correct ButtonComponent class 2780 22:33:31 when category option is provided 2781 22:33:31 inherits the correct ButtonComponent class 2782 22:33:31 when size option is provided 2783 22:33:31 inherits the correct ButtonComponent class 2784 22:33:31 #link_button_to 2785 22:33:31 without block 2786 22:33:31 renders a basic link button 2787 22:33:31 variant option 2788 22:33:32 renders the variant class 2789 22:33:32 category option 2790 22:33:32 renders the category class 2792 22:33:32 renders the small class 2793 22:33:32 block option 2794 22:33:32 renders the block class 2795 22:33:32 selected option 2796 22:33:32 renders the selected class 2797 22:33:32 target option 2798 22:33:32 renders the target attribute 2799 22:33:32 method option 2800 22:33:32 renders the data-method attribute 2802 22:33:32 renders the icon 2804 22:33:32 renders the icon-only class 2805 22:33:32 arbitrary html options 2806 22:33:32 renders the attributes 2808 22:33:32 renders a basic link button 2809 22:33:32 variant option 2810 22:33:32 renders the variant class 2811 22:33:32 category option 2812 22:33:32 renders the category class 2814 22:33:32 renders the small class 2815 22:33:32 block option 2816 22:33:32 renders the block class 2817 22:33:32 selected option 2818 22:33:32 renders the selected class 2819 22:33:32 target option 2820 22:33:32 renders the target attribute 2821 22:33:32 method option 2822 22:33:32 renders the data-method attribute 2824 22:33:32 renders the icon 2826 22:33:32 renders the icon-only class 2827 22:33:32 arbitrary html options 2828 22:33:32 renders the attributes 2829 22:33:32 # [RSpecRunTime] Finishing example group spec/helpers/button_helper_spec.rb. It took 3.01 seconds. Expected to take 3.74 seconds. 2830 22:33:32 # [RSpecRunTime] Starting example group spec/lib/gitlab/database/load_balancing/sidekiq_server_middleware_spec.rb. Expected to take 3.66 seconds. 2831 22:33:32 Gitlab::Database::LoadBalancing::SidekiqServerMiddleware 2833 22:33:32 when worker class does not include WorkerAttributes 2834 22:33:32 sticks to the primary 2835 22:33:32 sets load balancing strategy to primary 2836 22:33:32 when job contains wrapped worker class 2837 22:33:32 uses wrapped job if available 2838 22:33:32 when worker data consistency is :always 2839 22:33:32 sticks to the primary 2840 22:33:32 sets load balancing strategy to primary 2841 22:33:32 when delay interval has not elapsed 2842 22:33:32 does not sleep 2843 22:33:32 when worker data consistency is :delayed 2844 22:33:32 when database wal location is set 2845 22:33:32 behaves like replica is up to date 2846 22:33:32 does not stick to the primary 2847 22:33:32 sets load balancing strategy to replica 2848 22:33:32 when deduplication wal location is set 2849 22:33:32 behaves like replica is up to date 2850 22:33:32 does not stick to the primary 2851 22:33:32 sets load balancing strategy to replica 2852 22:33:32 when database location is not set 2853 22:33:33 sticks to the primary 2854 22:33:33 sets load balancing strategy to primary_no_wal 2855 22:33:33 when WAL locations are blank 2856 22:33:33 does not sleep 2857 22:33:33 when WAL locations are present 2858 22:33:33 when delay interval has not elapsed 2859 22:33:33 when replica is up to date 2860 22:33:33 does not sleep 2861 22:33:33 when replica is not up to date 2862 22:33:33 sleeps until the minimum delay is reached 2863 22:33:33 when replica is never not up to date 2864 22:33:33 sleeps until the maximum delay is reached 2865 22:33:33 when replica is not up to date 2866 22:33:33 when job is executed first 2867 22:33:33 raises an error and retries 2868 22:33:33 sets load balancing strategy to retry 2869 22:33:33 when job is retried 2870 22:33:33 and replica still lagging behind 2871 22:33:33 sticks to the primary 2872 22:33:33 sets load balancing strategy to primary 2873 22:33:33 and replica is now up-to-date 2874 22:33:33 does not stick to the primary 2875 22:33:33 sets load balancing strategy to replica_retried 2876 22:33:33 when worker data consistency is :sticky 2877 22:33:33 when database wal location is set 2878 22:33:33 behaves like replica is up to date 2879 22:33:33 does not stick to the primary 2880 22:33:33 sets load balancing strategy to replica 2881 22:33:33 when deduplication wal location is set 2882 22:33:33 behaves like replica is up to date 2883 22:33:33 does not stick to the primary 2884 22:33:33 sets load balancing strategy to replica 2885 22:33:33 when database location is not set 2886 22:33:33 sticks to the primary 2887 22:33:33 sets load balancing strategy to primary_no_wal 2888 22:33:33 when WAL locations are blank 2889 22:33:33 does not sleep 2890 22:33:33 when WAL locations are present 2891 22:33:33 when delay interval has not elapsed 2892 22:33:33 when replica is up to date 2893 22:33:33 does not sleep 2894 22:33:33 when replica is not up to date 2895 22:33:33 sleeps until the minimum delay is reached 2896 22:33:33 when replica is never not up to date 2897 22:33:33 sleeps until the maximum delay is reached 2898 22:33:33 when replica is not up to date 2899 22:33:34 sticks to the primary 2900 22:33:34 sets load balancing strategy to primary 2901 22:33:34 when worker data consistency is :sticky and urgent 2902 22:33:34 when database wal location is set 2903 22:33:34 behaves like replica is up to date 2904 22:33:34 does not stick to the primary 2905 22:33:34 sets load balancing strategy to replica 2906 22:33:34 when deduplication wal location is set 2907 22:33:34 behaves like replica is up to date 2908 22:33:34 does not stick to the primary 2909 22:33:34 sets load balancing strategy to replica 2910 22:33:34 when database location is not set 2911 22:33:34 sticks to the primary 2912 22:33:34 sets load balancing strategy to primary_no_wal 2913 22:33:34 when WAL locations are blank 2914 22:33:34 does not sleep 2915 22:33:34 when WAL locations are present 2916 22:33:34 when delay interval has not elapsed 2917 22:33:34 when replica is up to date 2918 22:33:34 does not sleep 2919 22:33:34 when replica is not up to date 2920 22:33:34 sleeps until the minimum delay is reached 2921 22:33:34 when replica is never not up to date 2922 22:33:34 sleeps until the maximum delay is reached 2923 22:33:34 when replica is not up to date 2924 22:33:34 sticks to the primary 2925 22:33:34 sets load balancing strategy to primary 2926 22:33:34 when worker data consistency is :delayed and urgent 2927 22:33:34 when database wal location is set 2928 22:33:34 behaves like replica is up to date 2929 22:33:34 does not stick to the primary 2930 22:33:34 sets load balancing strategy to replica 2931 22:33:34 when deduplication wal location is set 2932 22:33:34 behaves like replica is up to date 2933 22:33:34 does not stick to the primary 2934 22:33:34 sets load balancing strategy to replica 2935 22:33:34 when database location is not set 2936 22:33:34 sticks to the primary 2937 22:33:34 sets load balancing strategy to primary_no_wal 2938 22:33:34 when WAL locations are blank 2939 22:33:34 does not sleep 2940 22:33:34 when WAL locations are present 2941 22:33:34 when delay interval has not elapsed 2942 22:33:34 when replica is up to date 2943 22:33:34 does not sleep 2944 22:33:34 when replica is not up to date 2945 22:33:34 sleeps until the minimum delay is reached 2946 22:33:34 when replica is never not up to date 2947 22:33:35 sleeps until the maximum delay is reached 2948 22:33:35 when replica is not up to date 2949 22:33:35 sticks to the primary 2950 22:33:35 sets load balancing strategy to primary 2951 22:33:35 when mixed data consistency 2952 22:33:35 consistency: :always, overrides: {:ci=>:always}, ci_use_primary: true, main_use_primary: true, multi_db: true 2953 22:33:35 uses the primary db for the appropriate load-balancers (PENDING: Skipping because ci is shared or doesn't not exist) 2954 22:33:35 consistency: :always, overrides: {:ci=>:sticky}, ci_use_primary: false, main_use_primary: true, multi_db: true 2955 22:33:35 uses the primary db for the appropriate load-balancers (PENDING: Skipping because ci is shared or doesn't not exist) 2956 22:33:35 consistency: :always, overrides: {:ci=>:delayed}, ci_use_primary: false, main_use_primary: true, multi_db: true 2957 22:33:35 uses the primary db for the appropriate load-balancers (PENDING: Skipping because ci is shared or doesn't not exist) 2958 22:33:35 consistency: :delayed, overrides: {:ci=>:always}, ci_use_primary: true, main_use_primary: false, multi_db: true 2959 22:33:35 uses the primary db for the appropriate load-balancers (PENDING: Skipping because ci is shared or doesn't not exist) 2960 22:33:35 consistency: :delayed, overrides: {:ci=>:delayed}, ci_use_primary: false, main_use_primary: false, multi_db: true 2961 22:33:35 uses the primary db for the appropriate load-balancers (PENDING: Skipping because ci is shared or doesn't not exist) 2962 22:33:35 consistency: :delayed, overrides: {:ci=>:sticky}, ci_use_primary: false, main_use_primary: false, multi_db: true 2963 22:33:35 uses the primary db for the appropriate load-balancers (PENDING: Skipping because ci is shared or doesn't not exist) 2964 22:33:35 consistency: :sticky, overrides: {:ci=>:always}, ci_use_primary: true, main_use_primary: false, multi_db: true 2965 22:33:35 uses the primary db for the appropriate load-balancers (PENDING: Skipping because ci is shared or doesn't not exist) 2966 22:33:35 consistency: :sticky, overrides: {:ci=>:delayed}, ci_use_primary: false, main_use_primary: false, multi_db: true 2967 22:33:35 uses the primary db for the appropriate load-balancers (PENDING: Skipping because ci is shared or doesn't not exist) 2968 22:33:35 consistency: :sticky, overrides: {:ci=>:sticky}, ci_use_primary: false, main_use_primary: false, multi_db: true 2969 22:33:35 uses the primary db for the appropriate load-balancers (PENDING: Skipping because ci is shared or doesn't not exist) 2970 22:33:35 consistency: :always, overrides: {:ci=>:always}, ci_use_primary: true, main_use_primary: true, multi_db: false 2971 22:33:35 uses the primary db for the appropriate load-balancers 2972 22:33:35 consistency: :always, overrides: {:ci=>:sticky}, ci_use_primary: true, main_use_primary: true, multi_db: false 2973 22:33:35 uses the primary db for the appropriate load-balancers 2974 22:33:35 consistency: :always, overrides: {:ci=>:delayed}, ci_use_primary: true, main_use_primary: true, multi_db: false 2975 22:33:35 uses the primary db for the appropriate load-balancers 2976 22:33:35 consistency: :delayed, overrides: {:ci=>:always}, ci_use_primary: false, main_use_primary: false, multi_db: false 2977 22:33:35 uses the primary db for the appropriate load-balancers 2978 22:33:35 consistency: :delayed, overrides: {:ci=>:delayed}, ci_use_primary: false, main_use_primary: false, multi_db: false 2979 22:33:35 uses the primary db for the appropriate load-balancers 2980 22:33:35 consistency: :delayed, overrides: {:ci=>:sticky}, ci_use_primary: false, main_use_primary: false, multi_db: false 2981 22:33:35 uses the primary db for the appropriate load-balancers 2982 22:33:35 consistency: :sticky, overrides: {:ci=>:always}, ci_use_primary: false, main_use_primary: false, multi_db: false 2983 22:33:35 uses the primary db for the appropriate load-balancers 2984 22:33:35 consistency: :sticky, overrides: {:ci=>:delayed}, ci_use_primary: false, main_use_primary: false, multi_db: false 2985 22:33:35 uses the primary db for the appropriate load-balancers 2986 22:33:35 consistency: :sticky, overrides: {:ci=>:sticky}, ci_use_primary: false, main_use_primary: false, multi_db: false 2987 22:33:35 uses the primary db for the appropriate load-balancers 2988 22:33:35 consistency: :always, overrides: {:main=>:always}, ci_use_primary: true, main_use_primary: true, multi_db: true 2989 22:33:35 uses the primary db for the appropriate load-balancers (PENDING: Skipping because ci is shared or doesn't not exist) 2990 22:33:35 consistency: :always, overrides: {:main=>:sticky}, ci_use_primary: true, main_use_primary: false, multi_db: true 2991 22:33:35 uses the primary db for the appropriate load-balancers (PENDING: Skipping because ci is shared or doesn't not exist) 2992 22:33:35 consistency: :always, overrides: {:main=>:delayed}, ci_use_primary: true, main_use_primary: false, multi_db: true 2993 22:33:35 uses the primary db for the appropriate load-balancers (PENDING: Skipping because ci is shared or doesn't not exist) 2994 22:33:35 consistency: :always, overrides: {:main=>:always}, ci_use_primary: true, main_use_primary: true, multi_db: false 2995 22:33:35 uses the primary db for the appropriate load-balancers 2996 22:33:35 consistency: :always, overrides: {:main=>:sticky}, ci_use_primary: true, main_use_primary: true, multi_db: false 2997 22:33:35 uses the primary db for the appropriate load-balancers 2998 22:33:35 consistency: :always, overrides: {:main=>:delayed}, ci_use_primary: true, main_use_primary: true, multi_db: false 2999 22:33:35 uses the primary db for the appropriate load-balancers 3000 22:33:35 #databases_in_sync? 3001 22:33:36 treats load balancers without WAL entries as in sync 3002 22:33:36 returns true when all load balancers are in sync for some replicas 3003 22:33:36 returns true when all load balancers are in sync for all replicas 3004 22:33:36 returns false when the load balancers are not in sync 3005 22:33:36 when locations have string keys 3006 22:33:36 returns false when the load balancers are not in sync 3007 22:33:36 # [RSpecRunTime] Finishing example group spec/lib/gitlab/database/load_balancing/sidekiq_server_middleware_spec.rb. It took 3.46 seconds. Expected to take 3.66 seconds. 3008 22:33:36 # [RSpecRunTime] Starting example group spec/graphql/mutations/todos/restore_spec.rb. Expected to take 3.43 seconds. 3009 22:33:36 Mutations::Todos::Restore 3010 22:33:39 is expected to require graphql authorizations :update_todo 3012 22:33:39 restores a single todo 3013 22:33:39 handles a todo which is already pending as expected 3014 22:33:39 ignores requests for todos which do not belong to the current user 3015 22:33:39 # [RSpecRunTime] RSpec elapsed time: 21 minutes 28.74 seconds. Current RSS: ~1364M. Threads: 5. load average: 1.11 1.11 1.13 1/296 12808 3017 22:33:39 # [RSpecRunTime] Finishing example group spec/graphql/mutations/todos/restore_spec.rb. It took 3.45 seconds. Expected to take 3.43 seconds. 3018 22:33:39 # [RSpecRunTime] Starting example group spec/lib/gitlab/usage/metrics/instrumentations/count_all_ci_builds_metric_spec.rb. Expected to take 3.42 seconds. 3019 22:33:39 Gitlab::Usage::Metrics::Instrumentations::CountAllCiBuildsMetric 3020 22:33:39 behaves like a correct instrumented metric value 3021 22:33:41 has correct value 3022 22:33:41 # [RSpecRunTime] RSpec elapsed time: 21 minutes 30.41 seconds. Current RSS: ~1366M. Threads: 5. load average: 1.10 1.11 1.13 1/296 12809 3024 22:33:41 behaves like a correct instrumented metric value 3025 22:33:42 has correct value 3026 22:33:43 # [RSpecRunTime] RSpec elapsed time: 21 minutes 32.2 seconds. Current RSS: ~1368M. Threads: 5. load average: 1.10 1.11 1.13 2/297 12810 3028 22:33:43 # [RSpecRunTime] Finishing example group spec/lib/gitlab/usage/metrics/instrumentations/count_all_ci_builds_metric_spec.rb. It took 3.47 seconds. Expected to take 3.42 seconds. 3029 22:33:43 # [RSpecRunTime] Starting example group spec/workers/ci/update_locked_unknown_artifacts_worker_spec.rb. Expected to take 3.22 seconds. 3030 22:33:43 Ci::UpdateLockedUnknownArtifactsWorker 3032 22:33:45 executes an instance of Ci::JobArtifacts::UpdateUnknownLockedStatusService 3033 22:33:46 # [RSpecRunTime] RSpec elapsed time: 21 minutes 35.21 seconds. Current RSS: ~1361M. Threads: 5. load average: 1.09 1.11 1.13 1/296 12811 3035 22:33:46 # [RSpecRunTime] Finishing example group spec/workers/ci/update_locked_unknown_artifacts_worker_spec.rb. It took 3.0 seconds. Expected to take 3.22 seconds. 3036 22:33:46 # [RSpecRunTime] Starting example group spec/workers/ci/test_failure_history_worker_spec.rb. Expected to take 3.18 seconds. 3037 22:33:46 Ci::TestFailureHistoryWorker 3038 22:33:46 is labeled as idempotent 3039 22:33:46 performs multiple times sequentially without raising an exception 3040 22:33:48 tracks test failures 3042 22:33:48 when pipeline exists 3043 22:33:49 executes test failure history service 3044 22:33:49 # [RSpecRunTime] RSpec elapsed time: 21 minutes 38.41 seconds. Current RSS: ~1367M. Threads: 5. load average: 1.09 1.11 1.13 1/298 12818 3046 22:33:49 when pipeline does not exist 3047 22:33:49 does not execute test failure history service 3048 22:33:49 # [RSpecRunTime] Finishing example group spec/workers/ci/test_failure_history_worker_spec.rb. It took 3.24 seconds. Expected to take 3.18 seconds. 3049 22:33:49 # [RSpecRunTime] Starting example group spec/lib/banzai/reference_parser/mentioned_group_parser_spec.rb. Expected to take 3.0 seconds. 3050 22:33:49 Banzai::ReferenceParser::MentionedGroupParser 3051 22:33:49 #gather_references 3052 22:33:49 when the link has a data-group attribute 3053 22:33:49 using an existing group ID where user does not have access 3054 22:33:50 returns empty array 3055 22:33:50 using an existing group ID 3056 22:33:51 returns groups 3057 22:33:51 # [RSpecRunTime] RSpec elapsed time: 21 minutes 40.4 seconds. Current RSS: ~1366M. Threads: 5. load average: 1.09 1.10 1.13 1/298 12819 3059 22:33:51 using a non-existing group ID 3060 22:33:51 returns an empty Array 3061 22:33:51 # [RSpecRunTime] Finishing example group spec/lib/banzai/reference_parser/mentioned_group_parser_spec.rb. It took 2.66 seconds. Expected to take 3.0 seconds. 3062 22:33:51 # [RSpecRunTime] Starting example group spec/models/integrations/harbor_spec.rb. Expected to take 2.99 seconds. 3063 22:33:51 Integrations::Harbor 3064 22:33:51 does not allow STI 3065 22:33:51 behaves like Integrations::ResetSecretFields 3066 22:33:51 #exposing_secrets_fields 3067 22:33:52 returns an array of strings 3068 22:33:52 #reset_secret_fields? 3069 22:33:52 returns false if no exposing field has changed 3070 22:33:52 returns true if any exposing field has changed 3071 22:33:52 validation callback 3072 22:33:52 when an exposing field has changed 3073 22:33:52 clears all secret fields 3074 22:33:52 when a secret field has been updated 3075 22:33:52 does not clear this secret field 3076 22:33:52 when a secret field has been updated with the same value 3077 22:33:52 does not clear this secret field 3078 22:33:52 when no exposing field has changed 3079 22:33:52 does not clear any secret fields 3080 22:33:52 masked password 3081 22:33:52 is expected not to allow :password to be ‹"hello"› 3082 22:33:52 is expected not to allow :password to be ‹"hello world"› 3083 22:33:52 is expected not to allow :password to be ‹"hello$VARIABLEworld"› 3084 22:33:53 is expected not to allow :password to be ‹"hello\\rworld"› 3085 22:33:53 is expected to allow :password to be ‹"helloworld"› 3086 22:33:53 # [RSpecRunTime] RSpec elapsed time: 21 minutes 42.64 seconds. Current RSS: ~1402M. Threads: 5. load average: 1.09 1.10 1.13 1/296 12820 3093 22:33:54 returns the host of the integration url 3095 22:33:54 returns custom fields 3097 22:33:54 gets response from Gitlab::Harbor::Client#ping 3099 22:33:54 renders prompt information 3101 22:33:54 returns the name of the integration 3102 22:33:54 ci variables 3103 22:33:54 returns vars when harbor_integration is activated 3104 22:33:54 when harbor_integration is inactive 3106 22:33:54 with robot username 3107 22:33:54 returns username variable with $$ 3108 22:33:54 # [RSpecRunTime] Finishing example group spec/models/integrations/harbor_spec.rb. It took 2.72 seconds. Expected to take 2.99 seconds. 3109 22:33:54 # [RSpecRunTime] Starting example group spec/helpers/application_settings_helper_spec.rb. Expected to take 2.8 seconds. 3110 22:33:54 ApplicationSettingsHelper 3111 22:33:54 when all protocols in use 3112 22:33:54 is expected to be truthy 3113 22:33:54 is expected to be truthy 3114 22:33:54 is expected to be truthy 3115 22:33:54 when SSH is only in use 3116 22:33:54 is expected to be falsey 3117 22:33:54 is expected to be falsey 3118 22:33:55 is expected to be truthy 3119 22:33:55 behaves like when HTTP protocol is in use 3120 22:33:55 is expected to be falsey 3121 22:33:55 is expected to be truthy 3122 22:33:55 is expected to be falsey 3123 22:33:55 behaves like when HTTP protocol is in use 3124 22:33:55 is expected to be falsey 3125 22:33:55 is expected to be truthy 3126 22:33:55 is expected to be falsey 3127 22:33:55 .visible_attributes 3128 22:33:55 contains tracking parameters 3129 22:33:55 contains :deactivate_dormant_users 3130 22:33:55 contains :deactivate_dormant_users_period 3131 22:33:55 contains rate limit parameters 3132 22:33:55 contains GitLab for Slack app parameters 3133 22:33:55 contains :namespace_aggregation_schedule_lease_duration_in_seconds 3134 22:33:55 contains service ping settings 3135 22:33:55 contains sign_in_restrictions values 3136 22:33:55 when on SaaS 3137 22:33:55 does not contain :deactivate_dormant_users 3138 22:33:55 does not contain :deactivate_dormant_users_period 3139 22:33:55 .integration_expanded? 3141 22:33:56 is not expanded 3142 22:33:56 #storage_weights 3143 22:33:56 returns storage objects with assigned weights 3144 22:33:56 .valid_runner_registrars 3145 22:33:56 when only admins are permitted to register runners 3146 22:33:56 is expected to eq [] 3147 22:33:56 when group and project users are permitted to register runners 3148 22:33:56 is expected to eq ["project", "group"] 3149 22:33:56 .signup_enabled? 3150 22:33:56 when signup is enabled 3151 22:33:56 is expected to equal true 3152 22:33:56 when signup is disabled 3153 22:33:56 is expected to equal false 3154 22:33:56 when `signup_enabled` is nil 3155 22:33:56 is expected to equal false 3156 22:33:56 .kroki_available_formats 3157 22:33:56 returns available formats correctly 3158 22:33:56 .pending_user_count 3159 22:33:56 when new_user_signups_cap is present 3160 22:33:56 returns the number of blocked pending users 3161 22:33:56 .registration_features_can_be_prompted? 3162 22:33:56 when service ping is enabled 3163 22:33:56 is expected to be falsey 3164 22:33:56 when service ping is disabled 3165 22:33:56 is expected to be truthy 3166 22:33:56 .spam_check_endpoint_enabled? 3167 22:33:56 when spam check endpoint is enabled 3168 22:33:56 is expected to equal true 3169 22:33:56 when spam check endpoint is disabled 3170 22:33:56 is expected to equal false 3171 22:33:56 .anti_spam_service_enabled? 3172 22:33:56 when akismet is enabled and spam check endpoint is disabled 3173 22:33:56 is expected to equal true 3174 22:33:56 when akismet is disabled and spam check endpoint is enabled 3175 22:33:56 is expected to equal true 3176 22:33:56 when akismet and spam check endpoint are both enabled 3177 22:33:56 is expected to equal true 3178 22:33:56 when akismet and spam check endpoint are both disabled 3179 22:33:56 is expected to equal false 3180 22:33:56 #sidekiq_job_limiter_modes_for_select 3181 22:33:56 is expected to eq [["Track", "track"], ["Compress", "compress"]] 3182 22:33:56 #instance_clusters_enabled? 3183 22:33:56 is expected to be truthy 3184 22:33:56 :certificate_based_clusters feature flag is disabled 3185 22:33:56 is expected to be falsey 3186 22:33:56 #restricted_level_checkboxes 3187 22:33:57 returns restricted level checkboxes with correct label, description, and HTML attributes 3188 22:33:57 # [RSpecRunTime] Finishing example group spec/helpers/application_settings_helper_spec.rb. It took 2.59 seconds. Expected to take 2.8 seconds. 3189 22:33:57 # [RSpecRunTime] Starting example group spec/services/import/github_service_spec.rb. Expected to take 2.76 seconds. 3190 22:33:57 Import::GithubService 3191 22:33:57 raises an exception for unknown error causes 3192 22:33:57 when user has no permissions to import repository into the specified namespace 3193 22:33:57 returns an error 3194 22:33:57 access token validation 3195 22:33:57 when the caller is not a github import 3196 22:33:57 does not validate access token 3197 22:33:57 when the caller is a github import 3198 22:33:57 validates access token 3199 22:33:57 when an unexpected Octokit error is raised 3200 22:33:57 rescues and logs the error 3201 22:33:57 when a forbidden error is raised when fetching the repository information 3202 22:33:57 returns an error 3203 22:33:57 when the collaborator import option is true, and an error is raised when fetching the collaborators 3204 22:33:58 returns an error 3205 22:33:58 when import source is disabled 3206 22:33:58 returns forbidden 3207 22:33:58 when override_github_disabled ops flag is enabled for the user 3209 22:33:59 # [RSpecRunTime] RSpec elapsed time: 21 minutes 48.41 seconds. Current RSS: ~1418M. Threads: 5. load average: 1.08 1.10 1.12 1/296 12829 3211 22:33:59 with an input error 3212 22:33:59 logs the original error 3213 22:33:59 returns an error with message and code 3214 22:33:59 when namespace to import repository into does not exist 3215 22:33:59 returns an error 3216 22:33:59 when target_namespace is blank 3217 22:33:59 raises an exception 3218 22:33:59 when validating repository size 3219 22:33:59 when there is no repository size limit defined 3220 22:33:59 skips the check, succeeds, and tracks an access level 3221 22:33:59 when the target namespace repository size limit is defined 3222 22:33:59 succeeds if the repository is smaller than the limit 3223 22:33:59 returns error if the repository is larger than the limit 3224 22:33:59 when target namespace repository limit is not defined 3225 22:33:59 when application size limit is defined 3226 22:33:59 succeeds if the repository is smaller than the limit 3227 22:33:59 returns error if the repository is larger than the limit 3228 22:33:59 when optional stages params present 3229 22:33:59 saves optional stages choice to import_data 3230 22:33:59 when timeout strategy param is present 3231 22:34:00 saves timeout strategy to import_data 3232 22:34:00 when additional access tokens are present 3233 22:34:00 saves additional access tokens to import_data 3234 22:34:00 when a blocked/local URL is used as github_hostname 3236 22:34:00 returns and logs an error 3238 22:34:00 returns and logs an error 3239 22:34:00 # [RSpecRunTime] Finishing example group spec/services/import/github_service_spec.rb. It took 2.9 seconds. Expected to take 2.76 seconds. 3240 22:34:00 # [RSpecRunTime] Starting example group spec/workers/object_pool/destroy_worker_spec.rb. Expected to take 2.65 seconds. 3241 22:34:00 ObjectPool::DestroyWorker 3243 22:34:00 when no pool is in the database 3244 22:34:00 doesn't raise an error 3245 22:34:00 when a pool is present 3246 22:34:02 requests Gitaly to remove the object pool 3247 22:34:03 destroys the pool 3248 22:34:03 # [RSpecRunTime] RSpec elapsed time: 21 minutes 53.13 seconds. Current RSS: ~1403M. Threads: 5. load average: 1.07 1.10 1.12 1/296 12866 3250 22:34:03 # [RSpecRunTime] Finishing example group spec/workers/object_pool/destroy_worker_spec.rb. It took 3.8 seconds. Expected to take 2.65 seconds. 3251 22:34:03 # [RSpecRunTime] Starting example group spec/models/preloaders/users_max_access_level_by_project_preloader_spec.rb. Expected to take 2.57 seconds. 3252 22:34:03 Preloaders::UsersMaxAccessLevelByProjectPreloader 3253 22:34:06 does not allow STI 3255 22:34:06 avoids N+1 queries 3256 22:34:06 preloads the max access level used by project policies 3257 22:34:06 # [RSpecRunTime] RSpec elapsed time: 21 minutes 55.8 seconds. Current RSS: ~1390M. Threads: 5. load average: 1.07 1.10 1.12 1/296 12867 3259 22:34:06 # [RSpecRunTime] Finishing example group spec/models/preloaders/users_max_access_level_by_project_preloader_spec.rb. It took 2.67 seconds. Expected to take 2.57 seconds. 3260 22:34:06 # [RSpecRunTime] Starting example group spec/models/ci/catalog/resources/components/usage_spec.rb. Expected to take 2.51 seconds. 3261 22:34:06 Ci::Catalog::Resources::Components::Usage 3262 22:34:07 is expected to belong to project class_name => Project required: false 3263 22:34:07 does not allow STI 3264 22:34:07 is expected to belong to catalog_resource class_name => Ci::Catalog::Resource required: false 3265 22:34:07 is expected to belong to component class_name => Ci::Catalog::Resources::Component required: false 3268 22:34:07 when used date is not provided 3269 22:34:07 sets the used date to today 3270 22:34:07 when used date is provided 3271 22:34:07 sets the given used date 3272 22:34:07 monthly partitioning 3273 22:34:07 drops partitions older than 12 months 3275 22:34:07 is expected to validate that :component cannot be empty/falsy 3276 22:34:07 is expected to validate that :catalog_resource cannot be empty/falsy 3277 22:34:07 is expected to validate that :project cannot be empty/falsy 3278 22:34:07 is expected to validate that :used_by_project_id cannot be empty/falsy 3279 22:34:08 is expected to validate that :used_date is case-sensitively unique within the scope of :component_id and :used_by_project_id 3280 22:34:08 # [RSpecRunTime] Finishing example group spec/models/ci/catalog/resources/components/usage_spec.rb. It took 1.39 seconds. Expected to take 2.51 seconds. 3281 22:34:08 # [RSpecRunTime] Starting example group spec/lib/gitlab/ci/cron_parser_spec.rb. Expected to take 2.42 seconds. 3282 22:34:08 Gitlab::Ci::CronParser 3283 22:34:08 #next_time_from 3284 22:34:08 behaves like when cron and cron_timezone are valid 3285 22:34:08 when specific time 3286 22:34:08 returns exact time 3287 22:34:08 behaves like returns time in the future 3288 22:34:08 is expected to be > 2024-11-13 22:34:08 +0000 3289 22:34:08 when specific day of week 3290 22:34:08 returns exact day of week 3291 22:34:08 behaves like returns time in the future 3292 22:34:08 is expected to be > 2024-11-13 22:34:08 +0000 3293 22:34:08 when */ used 3294 22:34:08 returns specific time 3295 22:34:08 behaves like returns time in the future 3296 22:34:08 is expected to be > 2024-11-13 22:34:08 +0000 3297 22:34:08 when range used 3298 22:34:08 returns specific time 3299 22:34:08 behaves like returns time in the future 3300 22:34:08 is expected to be > 2024-11-13 22:34:08 +0000 3301 22:34:08 when range and / are used 3302 22:34:08 returns specific time 3303 22:34:08 behaves like returns time in the future 3304 22:34:08 is expected to be > 2024-11-13 22:34:08 +0000 3305 22:34:08 when / is used 3306 22:34:08 returns specific time 3307 22:34:08 behaves like returns time in the future 3308 22:34:08 is expected to be > 2024-11-13 22:34:08 +0000 3309 22:34:08 when cron_timezone is TZInfo format 3310 22:34:08 when cron_timezone is US/Pacific 3311 22:34:08 behaves like returns time in the future 3312 22:34:08 is expected to be > 2024-11-13 22:34:08 +0000 3313 22:34:08 when PST (Pacific Standard Time) 3314 22:34:08 converts time in server time zone 3315 22:34:08 when PDT (Pacific Daylight Time) 3316 22:34:08 converts time in server time zone 3317 22:34:08 when cron_timezone is ActiveSupport::TimeZone format 3318 22:34:08 when cron_timezone is Berlin 3319 22:34:08 behaves like returns time in the future 3320 22:34:08 is expected to be > 2024-11-13 22:34:08 +0000 3321 22:34:08 when CET (Central European Time) 3322 22:34:08 converts time in server time zone 3323 22:34:08 when CEST (Central European Summer Time) 3324 22:34:08 converts time in server time zone 3325 22:34:08 behaves like when cron_timezone is Eastern Time (US & Canada) 3326 22:34:08 behaves like returns time in the future 3327 22:34:08 is expected to be > 2024-11-13 22:34:08 +0000 3328 22:34:08 when EST (Eastern Standard Time) 3329 22:34:08 converts time in server time zone 3330 22:34:08 when EDT (Eastern Daylight Time) 3331 22:34:08 converts time in server time zone 3332 22:34:08 when time crosses a Daylight Savings boundary 3333 22:34:08 generates day without TZInfo::AmbiguousTime error 3334 22:34:08 behaves like when cron and cron_timezone are invalid 3335 22:34:08 is expected to be nil 3336 22:34:08 behaves like when cron syntax is quoted 3337 22:34:08 is expected to be nil 3338 22:34:08 behaves like when cron syntax is rufus-scheduler syntax 3339 22:34:08 is expected to be nil 3340 22:34:08 behaves like when cron is scheduled to a non existent day 3341 22:34:08 is expected to be nil 3343 22:34:08 when before daylight saving 3344 22:34:08 returns the correct future time 3345 22:34:08 when after daylight saving 3346 22:34:08 returns the correct future time 3347 22:34:08 #previous_time_from 3348 22:34:08 behaves like when cron and cron_timezone are valid 3349 22:34:08 when specific time 3350 22:34:09 returns exact time 3351 22:34:09 behaves like returns time in the past 3352 22:34:09 is expected to be < 2024-11-13 22:34:09 +0000 3353 22:34:09 when specific day of week 3354 22:34:09 returns exact day of week 3355 22:34:09 behaves like returns time in the past 3356 22:34:09 is expected to be < 2024-11-13 22:34:09 +0000 3357 22:34:09 when */ used 3358 22:34:09 returns specific time 3359 22:34:09 behaves like returns time in the past 3360 22:34:09 is expected to be < 2024-11-13 22:34:09 +0000 3361 22:34:09 when range used 3362 22:34:09 returns specific time 3363 22:34:09 behaves like returns time in the past 3364 22:34:09 is expected to be < 2024-11-13 22:34:09 +0000 3365 22:34:09 when range and / are used 3366 22:34:09 returns specific time 3367 22:34:09 behaves like returns time in the past 3368 22:34:09 is expected to be < 2024-11-13 22:34:09 +0000 3369 22:34:09 when / is used 3370 22:34:09 returns specific time 3371 22:34:09 behaves like returns time in the past 3372 22:34:09 is expected to be < 2024-11-13 22:34:09 +0000 3373 22:34:09 when cron_timezone is TZInfo format 3374 22:34:09 when cron_timezone is US/Pacific 3375 22:34:09 behaves like returns time in the past 3376 22:34:09 is expected to be < 2024-11-13 22:34:09 +0000 3377 22:34:09 when PST (Pacific Standard Time) 3378 22:34:09 converts time in server time zone 3379 22:34:09 when PDT (Pacific Daylight Time) 3380 22:34:09 converts time in server time zone 3381 22:34:09 when cron_timezone is ActiveSupport::TimeZone format 3382 22:34:09 when cron_timezone is Berlin 3383 22:34:09 behaves like returns time in the past 3384 22:34:09 is expected to be < 2024-11-13 22:34:09 +0000 3385 22:34:09 when CET (Central European Time) 3386 22:34:09 converts time in server time zone 3387 22:34:09 when CEST (Central European Summer Time) 3388 22:34:09 converts time in server time zone 3389 22:34:09 behaves like when cron_timezone is Eastern Time (US & Canada) 3390 22:34:09 behaves like returns time in the past 3391 22:34:09 is expected to be < 2024-11-13 22:34:09 +0000 3392 22:34:09 when EST (Eastern Standard Time) 3393 22:34:09 converts time in server time zone 3394 22:34:09 when EDT (Eastern Daylight Time) 3395 22:34:09 converts time in server time zone 3396 22:34:09 when time crosses a Daylight Savings boundary 3397 22:34:09 generates day without TZInfo::AmbiguousTime error 3398 22:34:09 behaves like when cron and cron_timezone are invalid 3399 22:34:09 is expected to be nil 3400 22:34:09 behaves like when cron syntax is quoted 3401 22:34:09 is expected to be nil 3402 22:34:09 behaves like when cron syntax is rufus-scheduler syntax 3403 22:34:09 is expected to be nil 3404 22:34:09 behaves like when cron is scheduled to a non existent day 3405 22:34:09 is expected to be nil 3406 22:34:09 #cron_valid? 3407 22:34:09 when cron is valid 3408 22:34:09 is expected to eq true 3409 22:34:09 when cron is invalid 3410 22:34:09 is expected to eq false 3411 22:34:09 when cron syntax is quoted 3412 22:34:09 is expected to eq false 3413 22:34:09 #cron_timezone_valid? 3414 22:34:09 when cron is valid 3415 22:34:10 is expected to eq true 3416 22:34:10 when cron is invalid 3417 22:34:10 is expected to eq false 3418 22:34:10 when cron_timezone is ActiveSupport::TimeZone format 3419 22:34:10 is expected to eq true 3420 22:34:10 .parse_natural 3421 22:34:10 when repeat cycle is day 3422 22:34:10 generates daily cron expression 3423 22:34:10 when repeat cycle is week 3424 22:34:10 generates weekly cron expression 3425 22:34:10 when repeat cycle is month 3426 22:34:10 generates monthly cron expression 3427 22:34:10 when an unsupported duration is specified 3428 22:34:10 raises an exception 3429 22:34:10 when repeat cycle is year 3430 22:34:10 generates yearly cron expression 3431 22:34:10 when the repeat cycle is not implemented 3432 22:34:10 raises an exception 3434 22:34:10 when cron matches up 3435 22:34:10 is expected to eq true 3436 22:34:10 when cron does not match 3437 22:34:10 is expected to eq false 3438 22:34:10 # [RSpecRunTime] Finishing example group spec/lib/gitlab/ci/cron_parser_spec.rb. It took 2.3 seconds. Expected to take 2.42 seconds. 3439 22:34:10 # [RSpecRunTime] Starting example group spec/lib/gitlab/gitaly_client/ref_service_spec.rb. Expected to take 2.39 seconds. 3440 22:34:10 Gitlab::GitalyClient::RefService 3442 22:34:11 sends a find_all_branches message 3443 22:34:11 #remote_branches 3444 22:34:11 sends a find_all_remote_branches message 3445 22:34:11 concatenates and returns the response branches as Gitlab::Git::Branch objects 3446 22:34:11 #merged_branches 3447 22:34:11 sends a find_all_branches message 3448 22:34:11 #find_branch 3449 22:34:11 sends a find_branch message 3450 22:34:11 when Gitaly returns a ambiguios reference error 3451 22:34:11 raises an UnknownRef error 3453 22:34:11 sends a find_tag message 3454 22:34:11 when tag is empty 3455 22:34:11 does not send a fing_tag message 3456 22:34:11 when Gitaly returns an Internal error 3457 22:34:11 raises an Internal error 3458 22:34:11 when Gitaly returns a tag_not_found error 3459 22:34:11 raises an UnknownRef error 3460 22:34:11 #default_branch_name 3461 22:34:11 sends a find_default_branch_name message 3462 22:34:11 #local_branches 3463 22:34:11 sends a find_local_branches message 3464 22:34:11 parses and sends the sort parameter 3465 22:34:11 translates known mismatches on sort param values 3466 22:34:11 uses default sort by name 3468 22:34:11 sends a find_all_tags message 3469 22:34:11 with sorting option 3470 22:34:11 sends a correct find_all_tags message 3471 22:34:11 with semantic version sorting 3472 22:34:11 sends a correct find_all_tags message 3473 22:34:11 when sorting option is invalid 3474 22:34:11 uses default sort by name 3475 22:34:11 with pagination option 3476 22:34:11 sends a correct find_all_tags message 3477 22:34:11 #branch_names_contains_sha 3478 22:34:11 sends a list_branch_names_containing_commit message 3479 22:34:11 #get_tag_messages 3480 22:34:11 sends a get_tag_messages message 3481 22:34:11 #get_tag_signatures 3482 22:34:11 sends a get_tag_signatures message 3483 22:34:11 #ref_exists? 3484 22:34:11 sends a ref_exists message 3485 22:34:11 #update_refs 3486 22:34:11 sends a update_refs message 3487 22:34:11 with a generic BadStatus error 3488 22:34:12 raises the BadStatus error 3489 22:34:12 with a reference state mismatch error 3490 22:34:12 raises ReferencesLockedError 3491 22:34:12 with a references locked error 3492 22:34:12 raises ReferencesLockedError 3493 22:34:12 with a invalid format error 3494 22:34:12 raises InvalidRefFormatError 3495 22:34:12 #delete_refs 3496 22:34:12 sends a delete_refs message 3497 22:34:12 with a references locked error 3498 22:34:12 raises ReferencesLockedError 3499 22:34:12 with a invalid format error 3500 22:34:12 raises InvalidRefFormatError 3502 22:34:12 sends a list_refs message 3503 22:34:12 accepts a patterns argument 3504 22:34:12 accepts a pointing_at_oids argument 3505 22:34:12 accepts a peel_tags argument 3506 22:34:12 #find_refs_by_oid 3507 22:34:12 sends a find_refs_by_oid message 3508 22:34:12 filters by ref_patterns 3509 22:34:12 # [RSpecRunTime] Finishing example group spec/lib/gitlab/gitaly_client/ref_service_spec.rb. It took 2.14 seconds. Expected to take 2.39 seconds. 3510 22:34:12 # [RSpecRunTime] Starting example group spec/lib/gitlab/ci/reports/security/aggregated_report_spec.rb. Expected to take 2.27 seconds. 3511 22:34:12 Gitlab::Ci::Reports::Security::AggregatedReport 3514 22:34:12 has no created date 3515 22:34:12 report with no created date 3516 22:34:12 has no created date 3518 22:34:14 has oldest created date 3519 22:34:14 # [RSpecRunTime] RSpec elapsed time: 22 minutes 3.94 seconds. Current RSS: ~1395M. Threads: 5. load average: 1.06 1.10 1.12 1/299 12912 3521 22:34:14 # [RSpecRunTime] Finishing example group spec/lib/gitlab/ci/reports/security/aggregated_report_spec.rb. It took 2.3 seconds. Expected to take 2.27 seconds. 3522 22:34:14 # [RSpecRunTime] Starting example group spec/views/layouts/terms.html.haml_spec.rb. Expected to take 2.26 seconds. 3523 22:34:14 layouts/terms 3524 22:34:14 behaves like a layout which reflects the preferred language 3525 22:34:14 when changing the a preferred language 3526 22:34:16 renders the correct `lang` attribute in the html element 3527 22:34:16 # [RSpecRunTime] RSpec elapsed time: 22 minutes 5.6 seconds. Current RSS: ~1404M. Threads: 5. load average: 1.06 1.09 1.12 1/298 12913 3529 22:34:16 behaves like a layout which reflects the application theme setting 3530 22:34:16 as a themed layout 3531 22:34:16 when no theme is explicitly selected 3532 22:34:16 renders with the default theme 3533 22:34:16 when user is authenticated & has selected a specific theme 3534 22:34:16 chosen_theme: #<struct Gitlab::Themes::Theme id=1, name="Indigo", css_class="ui-indigo", primary_color="#222261"> 3535 22:34:16 renders with the Indigo theme 3536 22:34:16 chosen_theme: #<struct Gitlab::Themes::Theme id=6, name="Light Indigo", css_class="ui-light-indigo", primary_color="#41419f"> 3537 22:34:16 renders with the Light Indigo theme 3538 22:34:16 chosen_theme: #<struct Gitlab::Themes::Theme id=4, name="Blue", css_class="ui-blue", primary_color="#0b2640"> 3539 22:34:16 renders with the Blue theme 3540 22:34:16 chosen_theme: #<struct Gitlab::Themes::Theme id=7, name="Light Blue", css_class="ui-light-blue", primary_color="#145aa1"> 3541 22:34:16 renders with the Light Blue theme 3542 22:34:16 chosen_theme: #<struct Gitlab::Themes::Theme id=5, name="Green", css_class="ui-green", primary_color="#0e4328"> 3543 22:34:16 renders with the Green theme 3544 22:34:16 chosen_theme: #<struct Gitlab::Themes::Theme id=8, name="Light Green", css_class="ui-light-green", primary_color="#1b653f"> 3545 22:34:17 renders with the Light Green theme 3546 22:34:17 chosen_theme: #<struct Gitlab::Themes::Theme id=9, name="Red", css_class="ui-red", primary_color="#580d02"> 3547 22:34:17 renders with the Red theme 3548 22:34:17 chosen_theme: #<struct Gitlab::Themes::Theme id=10, name="Light Red", css_class="ui-light-red", primary_color="#a02e1c"> 3549 22:34:17 renders with the Light Red theme 3550 22:34:17 chosen_theme: #<struct Gitlab::Themes::Theme id=2, name="Gray", css_class="ui-gray", primary_color="#28272d"> 3551 22:34:17 renders with the Gray theme 3552 22:34:17 chosen_theme: #<struct Gitlab::Themes::Theme id=3, name="Neutral", css_class="ui-neutral", primary_color="#ececef"> 3553 22:34:17 renders with the Neutral theme 3554 22:34:17 # [RSpecRunTime] Finishing example group spec/views/layouts/terms.html.haml_spec.rb. It took 2.61 seconds. Expected to take 2.26 seconds. 3555 22:34:17 # [RSpecRunTime] Starting example group spec/scripts/internal_events/cli_spec.rb. Expected to take 2.14 seconds. 3557 22:34:17 behaves like definition fixtures are valid 3559 22:34:17 behaves like definition fixtures are valid 3561 22:34:17 when offline 3562 22:34:17 behaves like creates the right definition files 3563 22:34:17 in scenario: Creates a new event with product stage/section/group input manually 3564 22:34:17 behaves like creates the right definition files 3565 22:34:18 tput: No value for $TERM and no -T specified 3566 22:34:19 in scenario: Creates a new metric with product stage/section/group input manually 3567 22:34:19 # [RSpecRunTime] RSpec elapsed time: 22 minutes 8.6 seconds. Current RSS: ~1483M. Threads: 5. load average: 1.06 1.09 1.12 1/299 12916 3569 22:34:19 when window size is unavailable 3570 22:34:19 behaves like creates the right definition files 3571 22:34:19 in scenario: Terminal size does not prevent file creation 3572 22:34:19 # [RSpecRunTime] Finishing example group spec/scripts/internal_events/cli_spec.rb. It took 2.32 seconds. Expected to take 2.14 seconds. 3573 22:34:19 # [RSpecRunTime] Starting example group spec/services/ci/runners/reset_registration_token_service_spec.rb. Expected to take 2.13 seconds. 3574 22:34:19 Ci::Runners::ResetRegistrationTokenService#execute 3575 22:34:19 with instance scope 3576 22:34:19 behaves like a registration token reset operation 3577 22:34:19 without user 3578 22:34:20 does not reset registration token and returns error response 3579 22:34:20 with unauthorized user 3580 22:34:20 does not reset registration token and returns error response 3581 22:34:20 with admin user 3582 22:34:20 resets registration token and returns value unchanged 3583 22:34:20 when allow_runner_registration_token is false 3584 22:34:20 does not reset registration token and returns error response 3585 22:34:20 with group scope 3586 22:34:20 behaves like a registration token reset operation 3587 22:34:20 without user 3588 22:34:20 does not reset registration token and returns error response 3589 22:34:20 with unauthorized user 3590 22:34:20 does not reset registration token and returns error response 3591 22:34:20 with admin user 3592 22:34:20 resets registration token and returns value unchanged 3593 22:34:20 when allow_runner_registration_token is false 3594 22:34:20 does not reset registration token and returns error response 3595 22:34:20 with project scope 3596 22:34:21 behaves like a registration token reset operation 3597 22:34:21 without user 3598 22:34:21 does not reset registration token and returns error response 3599 22:34:21 with unauthorized user 3600 22:34:21 does not reset registration token and returns error response 3601 22:34:21 with admin user 3602 22:34:21 resets registration token and returns value unchanged 3603 22:34:21 when allow_runner_registration_token is false 3604 22:34:21 does not reset registration token and returns error response 3605 22:34:21 # [RSpecRunTime] Finishing example group spec/services/ci/runners/reset_registration_token_service_spec.rb. It took 1.5 seconds. Expected to take 2.13 seconds. 3606 22:34:21 # [RSpecRunTime] Starting example group spec/lib/gitlab/ci/status/build/created_spec.rb. Expected to take 2.0 seconds. 3607 22:34:21 Gitlab::Ci::Status::Build::Created 3608 22:34:21 #illustration 3609 22:34:21 is expected to include :image, :size, :title, and :content 3611 22:34:21 when build is created 3612 22:34:22 is a correct match 3613 22:34:22 when build is not created 3614 22:34:23 does not match 3615 22:34:23 # [RSpecRunTime] Finishing example group spec/lib/gitlab/ci/status/build/created_spec.rb. It took 1.8 seconds. Expected to take 2.0 seconds. 3616 22:34:23 # [RSpecRunTime] Starting example group spec/workers/snippets/update_repository_storage_worker_spec.rb. Expected to take 1.99 seconds. 3617 22:34:23 Snippets::UpdateRepositoryStorageWorker 3618 22:34:23 behaves like an update storage move worker 3619 22:34:24 has the `until_executed` deduplicate strategy 3620 22:34:24 #perform(repository_storage_move_id) 3621 22:34:24 calls the update repository storage service 3622 22:34:24 when repository storage move raises an exception 3623 22:34:24 releases the exclusive lock 3624 22:34:24 # [RSpecRunTime] RSpec elapsed time: 22 minutes 13.7 seconds. Current RSS: ~1479M. Threads: 5. load average: 1.05 1.09 1.12 1/295 12935 3626 22:34:24 when exclusive lease already set 3627 22:34:24 does not call the update repository storage service 3628 22:34:24 when exclusive lease was taken by the current worker 3629 22:34:24 marks storage migration as failed 3630 22:34:24 # [RSpecRunTime] Finishing example group spec/workers/snippets/update_repository_storage_worker_spec.rb. It took 1.67 seconds. Expected to take 1.99 seconds. 3631 22:34:24 # [RSpecRunTime] Starting example group spec/lib/gitlab/sidekiq_middleware/duplicate_jobs/duplicate_job_spec.rb. Expected to take 1.89 seconds. 3632 22:34:24 Gitlab::SidekiqMiddleware::DuplicateJobs::DuplicateJob 3634 22:34:24 behaves like scheduling with deduplication class 3635 22:34:24 calls schedule on the strategy 3636 22:34:24 when the deduplication depends on a FF 3637 22:34:24 when the feature flag is enabled 3638 22:34:24 behaves like scheduling with deduplication class 3639 22:34:24 DEPRECATION WARNING: Invalid Feature Flag my_feature_flag stubbed (called from each at /builds/gitlab-org/gitlab/spec/support/helpers/stub_feature_flags.rb:49) 3640 22:34:24 calls schedule on the strategy 3641 22:34:24 when the feature flag is disabled 3642 22:34:24 behaves like scheduling with deduplication class 3643 22:34:24 DEPRECATION WARNING: Invalid Feature Flag my_feature_flag stubbed (called from each at /builds/gitlab-org/gitlab/spec/support/helpers/stub_feature_flags.rb:49) 3644 22:34:24 calls schedule on the strategy 3646 22:34:24 calls perform on the strategy 3647 22:34:24 with Redis cookies 3649 22:34:24 when there was no job in the queue yet 3650 22:34:24 is expected to eq "123" 3651 22:34:24 adds the idempotency key to the jobs payload 3652 22:34:24 when TTL option is not set 3653 22:34:24 behaves like sets Redis keys with correct TTL 3654 22:34:25 adds an idempotency key with correct ttl 3655 22:34:25 when TTL option is set 3656 22:34:25 behaves like sets Redis keys with correct TTL 3657 22:34:25 adds an idempotency key with correct ttl 3658 22:34:25 when there was already a job with same arguments in the same queue 3659 22:34:25 is expected to eq "existing-jid" 3660 22:34:25 does not change the existing key's TTL 3661 22:34:25 sets the existing jid 3662 22:34:25 #update_latest_wal_location! 3663 22:34:25 stores a wal location to redis with an offset relative to existing wal location 3664 22:34:25 UPDATE_WAL_COOKIE_SCRIPT 3665 22:34:25 does not create the key 3666 22:34:25 when the key exists 3667 22:34:25 updates all connections 3668 22:34:25 preserves the ttl 3669 22:34:25 does not try to set an invalid ttl at the end of expiry 3670 22:34:25 and low offsets 3671 22:34:25 updates only some connections 3672 22:34:25 when a WAL location is nil with existing offsets 3673 22:34:25 only updates the main connection 3674 22:34:25 #latest_wal_locations 3675 22:34:25 when job was deduplicated and wal locations were already persisted 3676 22:34:25 is expected to eq {"ci"=>"def", "main"=>"abc"} 3677 22:34:25 when job is not deduplication and wal locations were not persisted 3678 22:34:25 is expected to be empty 3680 22:34:25 when we didn't track the definition 3681 22:34:25 is expected not to raise Exception 3682 22:34:25 when the key exists in redis 3683 22:34:25 when the idempotency key is not part of the job 3684 22:34:26 recalculates the idempotency hash 3685 22:34:26 behaves like deleting the duplicate job 3686 22:34:26 behaves like deleting keys from redis 3687 22:34:26 removes the cookie key from redis 3688 22:34:26 when the idempotency key is part of the job 3689 22:34:26 does not recalculate the idempotency hash 3690 22:34:26 behaves like deleting the duplicate job 3691 22:34:26 behaves like deleting keys from redis 3692 22:34:26 removes the cookie key from redis 3693 22:34:26 #set_deduplicated_flag! 3694 22:34:26 when the job is reschedulable 3695 22:34:26 sets the key in Redis 3696 22:34:26 sets, gets and cleans up the deduplicated flag 3697 22:34:26 when the job is not reschedulable 3698 22:34:26 does not set the key in Redis 3699 22:34:26 does not set the deduplicated flag 3701 22:34:26 raises an error if the check wasn't performed 3702 22:34:26 returns false if the existing jid equals the job jid 3703 22:34:26 returns true if the existing jid is different from the job jid 3705 22:34:26 returns false for non-scheduled jobs 3706 22:34:26 scheduled jobs 3707 22:34:26 returns true 3709 22:34:26 reschedules the current job 3710 22:34:26 #should_reschedule? 3711 22:34:26 when the job is reschedulable 3712 22:34:26 is expected to eq false 3713 22:34:26 with deduplicated flag 3714 22:34:26 is expected to eq true 3715 22:34:26 when the job is not reschedulable 3716 22:34:26 is expected to eq false 3717 22:34:26 with deduplicated flag 3718 22:34:26 is expected to eq false 3719 22:34:26 #scheduled_at 3720 22:34:26 returns when the job is scheduled at 3722 22:34:26 returns worker options 3723 22:34:26 #idempotent? 3724 22:34:26 when worker class does not exist 3725 22:34:26 returns false 3726 22:34:26 when worker class does not respond to #idempotent? 3727 22:34:26 returns false 3728 22:34:26 when worker class is not idempotent 3729 22:34:26 returns false 3730 22:34:26 when worker class is idempotent 3731 22:34:26 returns true 3732 22:34:26 when worker class is utilizing load balancing capabilities 3733 22:34:26 returns true 3734 22:34:26 # [RSpecRunTime] Finishing example group spec/lib/gitlab/sidekiq_middleware/duplicate_jobs/duplicate_job_spec.rb. It took 2.03 seconds. Expected to take 1.89 seconds. 3735 22:34:26 # [RSpecRunTime] Starting example group spec/services/users/unban_service_spec.rb. Expected to take 1.86 seconds. 3736 22:34:26 Users::UnbanService 3738 22:34:26 when successful 3739 22:34:26 Job arguments to ElasticAssociationIndexerWorker must be native JSON types, but :issues is a Symbol. 3741 22:34:26 To disable this error, add `Sidekiq.strict_args!(false)` to your initializer. 3742 22:34:27 returns success status 3743 22:34:27 Job arguments to ElasticAssociationIndexerWorker must be native JSON types, but :issues is a Symbol. 3745 22:34:27 To disable this error, add `Sidekiq.strict_args!(false)` to your initializer. 3746 22:34:27 unbans the user 3747 22:34:27 Job arguments to ElasticAssociationIndexerWorker must be native JSON types, but :issues is a Symbol. 3749 22:34:27 To disable this error, add `Sidekiq.strict_args!(false)` to your initializer. 3750 22:34:27 removes the BannedUser 3751 22:34:27 Job arguments to ElasticAssociationIndexerWorker must be native JSON types, but :issues is a Symbol. 3753 22:34:27 To disable this error, add `Sidekiq.strict_args!(false)` to your initializer. 3754 22:34:27 logs unban in application logs 3756 22:34:27 when user is already active 3757 22:34:27 returns state error message 3758 22:34:27 behaves like does not modify the BannedUser record or user state 3759 22:34:27 does not modify the BannedUser record or user state 3760 22:34:27 when user is not an admin 3761 22:34:28 Job arguments to ElasticAssociationIndexerWorker must be native JSON types, but :issues is a Symbol. 3763 22:34:28 To disable this error, add `Sidekiq.strict_args!(false)` to your initializer. 3764 22:34:28 returns permissions error message 3765 22:34:28 behaves like does not modify the BannedUser record or user state 3766 22:34:28 Job arguments to ElasticAssociationIndexerWorker must be native JSON types, but :issues is a Symbol. 3768 22:34:28 To disable this error, add `Sidekiq.strict_args!(false)` to your initializer. 3769 22:34:28 does not modify the BannedUser record or user state 3770 22:34:28 # [RSpecRunTime] Finishing example group spec/services/users/unban_service_spec.rb. It took 1.65 seconds. Expected to take 1.86 seconds. 3771 22:34:28 # [RSpecRunTime] Starting example group spec/helpers/ci/jobs_helper_spec.rb. Expected to take 1.82 seconds. 3772 22:34:28 Ci::JobsHelper 3773 22:34:28 job helper functions 3774 22:34:29 returns jobs data 3775 22:34:29 returns job statuses 3776 22:34:30 # [RSpecRunTime] RSpec elapsed time: 22 minutes 19.18 seconds. Current RSS: ~1404M. Threads: 5. load average: 1.05 1.09 1.12 1/295 12954 3778 22:34:30 # [RSpecRunTime] Finishing example group spec/helpers/ci/jobs_helper_spec.rb. It took 1.65 seconds. Expected to take 1.82 seconds. 3779 22:34:30 # [RSpecRunTime] Starting example group spec/workers/bulk_imports/stale_import_worker_spec.rb. Expected to take 1.72 seconds. 3780 22:34:30 BulkImports::StaleImportWorker 3782 22:34:30 updates the status of bulk imports to timeout 3783 22:34:31 updates the status of bulk import entities to timeout 3784 22:34:31 updates the status of stale entities trackers to timeout 3785 22:34:31 does not update the status of non-stale records 3786 22:34:31 when bulk import has been updated recently 3787 22:34:31 does not update the status of the import 3788 22:34:31 # [RSpecRunTime] RSpec elapsed time: 22 minutes 20.83 seconds. Current RSS: ~1399M. Threads: 5. load average: 1.04 1.09 1.12 1/295 12955 3790 22:34:31 when bulk import entity has been updated recently 3791 22:34:31 does not update the status of the entity 3792 22:34:31 # [RSpecRunTime] Finishing example group spec/workers/bulk_imports/stale_import_worker_spec.rb. It took 1.78 seconds. Expected to take 1.72 seconds. 3793 22:34:31 # [RSpecRunTime] Starting example group spec/graphql/mutations/custom_emoji/destroy_spec.rb. Expected to take 1.71 seconds. 3794 22:34:31 Mutations::CustomEmoji::Destroy 3796 22:34:32 is expected to have graphql arguments :clientMutationId and :id 3797 22:34:32 is expected to have graphql field :custom_emoji 3798 22:34:32 # [RSpecRunTime] RSpec elapsed time: 22 minutes 22.07 seconds. Current RSS: ~1396M. Threads: 5. load average: 1.04 1.09 1.12 1/295 12956 3801 22:34:32 when the user 3802 22:34:32 has no permissions 3803 22:34:32 behaves like does not delete custom emoji 3804 22:34:33 raises exception 3805 22:34:33 when the user is developer and not the owner of custom emoji 3806 22:34:33 behaves like does not delete custom emoji 3807 22:34:33 raises exception 3809 22:34:33 is maintainer 3810 22:34:33 behaves like deletes custom emoji 3811 22:34:33 returns deleted custom emoji 3813 22:34:33 behaves like deletes custom emoji 3814 22:34:33 returns deleted custom emoji 3815 22:34:33 is developer and creator of the emoji 3816 22:34:33 behaves like deletes custom emoji 3817 22:34:34 returns deleted custom emoji 3818 22:34:34 # [RSpecRunTime] Finishing example group spec/graphql/mutations/custom_emoji/destroy_spec.rb. It took 2.37 seconds. Expected to take 1.71 seconds. 3819 22:34:34 # [RSpecRunTime] Starting example group spec/lib/gitlab/import_export/design_repo_restorer_spec.rb. Expected to take 1.64 seconds. 3820 22:34:34 Gitlab::ImportExport::DesignRepoRestorer 3821 22:34:34 bundle a design Git repo 3822 22:34:35 restores the repo successfully 3823 22:34:35 # [RSpecRunTime] RSpec elapsed time: 22 minutes 24.83 seconds. Current RSS: ~1397M. Threads: 5. load average: 1.04 1.09 1.12 1/295 12967 3825 22:34:35 # [RSpecRunTime] Finishing example group spec/lib/gitlab/import_export/design_repo_restorer_spec.rb. It took 1.49 seconds. Expected to take 1.64 seconds. 3826 22:34:35 # [RSpecRunTime] Starting example group spec/lib/gitlab/gl_repository/repo_type_spec.rb. Expected to take 1.62 seconds. 3827 22:34:35 Gitlab::GlRepository::RepoType 3828 22:34:36 #<Gitlab::GlRepository::RepoType:0x00007a653ede0c38> 3829 22:34:36 knows its type 3830 22:34:36 checks if repository path is valid 3831 22:34:36 behaves like a repo type 3832 22:34:36 #identifier_for_container 3833 22:34:36 is expected to eq "project-910" 3834 22:34:36 #path_suffix 3835 22:34:36 is expected to eq "" 3836 22:34:36 #repository_for 3837 22:34:36 finds the repository for the repo type 3838 22:34:36 returns nil when container is nil 3839 22:34:36 #<Gitlab::GlRepository::RepoType:0x00007a653edb5060> 3840 22:34:36 knows its type 3841 22:34:36 checks if repository path is valid 3842 22:34:36 behaves like a repo type 3843 22:34:36 #identifier_for_container 3844 22:34:36 is expected to eq "wiki-910" 3845 22:34:36 #path_suffix 3846 22:34:36 is expected to eq ".wiki" 3847 22:34:36 #repository_for 3848 22:34:36 finds the repository for the repo type 3849 22:34:36 returns nil when container is nil 3850 22:34:36 #<Gitlab::GlRepository::RepoType:0x00007a653ed40238> 3851 22:34:36 when PersonalSnippet 3852 22:34:36 knows its type 3853 22:34:36 checks if repository path is valid 3854 22:34:36 behaves like a repo type 3855 22:34:36 #identifier_for_container 3856 22:34:36 is expected to eq "snippet-151" 3857 22:34:36 #path_suffix 3858 22:34:36 is expected to eq "" 3859 22:34:36 #repository_for 3860 22:34:36 finds the repository for the repo type 3861 22:34:36 returns nil when container is nil 3862 22:34:36 when ProjectSnippet 3863 22:34:36 knows its type 3864 22:34:36 checks if repository path is valid 3865 22:34:36 behaves like a repo type 3866 22:34:36 #identifier_for_container 3867 22:34:36 is expected to eq "snippet-152" 3868 22:34:36 #path_suffix 3869 22:34:36 is expected to eq "" 3870 22:34:36 #repository_for 3871 22:34:36 finds the repository for the repo type 3872 22:34:36 returns nil when container is nil 3873 22:34:36 #<Gitlab::GlRepository::RepoType:0x00007a653ed04990> 3874 22:34:36 uses the design access checker 3875 22:34:36 knows its type 3876 22:34:37 checks if repository path is valid 3877 22:34:37 behaves like a repo type 3878 22:34:37 #identifier_for_container 3879 22:34:37 is expected to eq "design-40" 3880 22:34:37 #path_suffix 3881 22:34:37 is expected to eq ".design" 3882 22:34:37 #repository_for 3883 22:34:37 finds the repository for the repo type 3884 22:34:37 returns nil when container is nil 3885 22:34:37 .project_for 3886 22:34:37 returns a project when container is a design_management_repository 3887 22:34:37 .repository_for 3888 22:34:37 raises an error when container class does not match given container_class 3889 22:34:37 # [RSpecRunTime] Finishing example group spec/lib/gitlab/gl_repository/repo_type_spec.rb. It took 1.52 seconds. Expected to take 1.62 seconds. 3890 22:34:37 # [RSpecRunTime] Starting example group spec/lib/banzai/filter/sanitization_filter_spec.rb. Expected to take 1.56 seconds. 3891 22:34:37 Banzai::Filter::SanitizationFilter 3892 22:34:37 behaves like default allowlist 3893 22:34:37 sanitizes tags that are not allowed 3894 22:34:37 sanitizes tag attributes 3895 22:34:37 allows allowlisted HTML tags from the user 3896 22:34:37 sanitizes `class` attribute on any element 3897 22:34:37 sanitizes `id` attribute on any element 3898 22:34:37 removes `rel` attribute from `a` elements 3899 22:34:37 custom allowlist 3900 22:34:37 customizes the allowlist only once 3901 22:34:37 customizes the allowlist only once for different instances 3902 22:34:37 sanitizes `class` attribute from all elements 3903 22:34:37 sanitizes `class` attribute from non-highlight spans 3904 22:34:37 allows `text-align` property in `style` attribute on table elements 3905 22:34:37 disallows other properties in `style` attribute on table elements 3906 22:34:37 disallows `text-align` property in `style` attribute on other elements 3907 22:34:37 allows `span` elements 3908 22:34:37 allows `abbr` elements 3909 22:34:37 disallows the `name` attribute globally, allows on `a` 3910 22:34:37 allows `summary` elements 3911 22:34:37 allows `details` elements 3912 22:34:37 allows `rel=license` in links 3913 22:34:37 allows `data-math-style` attribute on `span`, code` and `pre` elements 3914 22:34:37 allows the `data-sourcepos` attribute globally 3916 22:34:37 allows the footnote attributes 3917 22:34:37 allows correct footnote id property on links 3918 22:34:37 allows correct footnote id property on li element 3919 22:34:37 removes invalid id for footnote links 3920 22:34:37 removes invalid id for footnote li 3921 22:34:37 link anchors 3922 22:34:37 allows id property on anchor links 3923 22:34:37 removes id property for non-anchor links 3924 22:34:38 removes id property for non-user-content links 3925 22:34:38 removes class property for non-anchor links 3926 22:34:38 behaves like does not use pipeline timing check 3927 22:34:38 does not include Concerns::PipelineTimingCheck 3928 22:34:38 behaves like a filter timeout 3929 22:34:38 when rendering takes too long 3931 22:34:38 verifies render_timeout 3932 22:34:38 # [RSpecRunTime] Finishing example group spec/lib/banzai/filter/sanitization_filter_spec.rb. It took 1.45 seconds. Expected to take 1.56 seconds. 3933 22:34:38 # [RSpecRunTime] Starting example group spec/views/layouts/organization.html.haml_spec.rb. Expected to take 1.53 seconds. 3934 22:34:38 layouts/organization 3936 22:34:39 calls organization_layout_nav and sets @nav instance variable 3937 22:34:39 # [RSpecRunTime] Finishing example group spec/views/layouts/organization.html.haml_spec.rb. It took 0.61 second. Expected to take 1.53 seconds. 3938 22:34:39 # [RSpecRunTime] Starting example group spec/helpers/projects/terraform_helper_spec.rb. Expected to take 1.48 seconds. 3939 22:34:39 Projects::TerraformHelper 3940 22:34:39 #js_terraform_list_data 3941 22:34:39 includes image path 3942 22:34:39 includes project path 3943 22:34:39 includes access token path 3944 22:34:39 includes username 3945 22:34:39 includes terraform state api url 3946 22:34:39 indicates the user is a terraform admin 3947 22:34:39 when current_user is not a terraform admin 3948 22:34:40 indicates the user is not an admin 3949 22:34:40 when current_user is missing 3950 22:34:40 indicates the user is not an admin 3951 22:34:40 #show_period_in_terraform_state_name_alert? 3952 22:34:40 when user dismissed 3953 22:34:40 returns false 3954 22:34:40 when user has not dismissed 3955 22:34:40 and terraform state exists 3956 22:34:40 returns true 3957 22:34:40 and terraform state does not exist 3958 22:34:40 returns false 3959 22:34:40 # [RSpecRunTime] Finishing example group spec/helpers/projects/terraform_helper_spec.rb. It took 1.44 seconds. Expected to take 1.48 seconds. 3960 22:34:40 # [RSpecRunTime] Starting example group spec/lib/gitlab/repository_set_cache_spec.rb. Expected to take 1.46 seconds. 3961 22:34:40 Gitlab::RepositorySetCache 3963 22:34:41 project repository 3964 22:34:41 behaves like cache_key examples 3965 22:34:41 includes the namespace 3966 22:34:41 with a given namespace 3967 22:34:41 includes the full namespace 3968 22:34:41 personal snippet repository 3969 22:34:41 behaves like cache_key examples 3970 22:34:41 includes the namespace 3971 22:34:41 with a given namespace 3972 22:34:41 includes the full namespace 3973 22:34:41 project snippet repository 3974 22:34:41 behaves like cache_key examples 3975 22:34:41 includes the namespace 3976 22:34:41 with a given namespace 3977 22:34:41 includes the full namespace 3979 22:34:41 writes the value to the cache 3980 22:34:41 sets the expiry of the set 3982 22:34:41 actually wrote the values 3984 22:34:41 is expected to eq 1 3985 22:34:41 deletes the given key from the cache 3986 22:34:41 multiple keys 3987 22:34:41 is expected to eq 2 3988 22:34:41 deletes the given keys from the cache 3990 22:34:41 is expected to eq 0 3991 22:34:41 when deleting over 1000 keys 3992 22:34:41 deletes in batches of 1000 3994 22:34:41 checks whether the key exists 3996 22:34:41 fetches the key from the cache when filled 3997 22:34:42 writes the value of the provided block when empty 3999 22:34:42 returns search pattern matches from the key 4001 22:34:42 checks inclusion in the Redis set 4002 22:34:42 #try_include? 4003 22:34:42 checks existence of the redis set and inclusion 4004 22:34:42 # [RSpecRunTime] Finishing example group spec/lib/gitlab/repository_set_cache_spec.rb. It took 1.41 seconds. Expected to take 1.46 seconds. 4005 22:34:42 # [RSpecRunTime] Starting example group spec/services/packages/ml_model/find_or_create_package_service_spec.rb. Expected to take 1.4 seconds. 4006 22:34:42 Packages::MlModel::FindOrCreatePackageService 4008 22:34:43 when model does not exist 4009 22:34:43 creates the model 4010 22:34:43 when build is provided 4011 22:34:43 creates package and package build info 4012 22:34:43 # [RSpecRunTime] RSpec elapsed time: 22 minutes 32.61 seconds. Current RSS: ~1387M. Threads: 5. load average: 1.04 1.08 1.12 1/296 12968 4014 22:34:43 when model already exists 4015 22:34:43 does not create a new model 4016 22:34:43 # [RSpecRunTime] Finishing example group spec/services/packages/ml_model/find_or_create_package_service_spec.rb. It took 1.4 seconds. Expected to take 1.4 seconds. 4017 22:34:43 # [RSpecRunTime] Starting example group spec/workers/pages_domain_removal_cron_worker_spec.rb. Expected to take 1.38 seconds. 4018 22:34:43 PagesDomainRemovalCronWorker 4020 22:34:43 when there is domain which should be removed 4021 22:34:44 removes domain 4022 22:34:44 where there is a domain which scheduled for removal in the future 4023 22:34:45 does not remove pages domain 4024 22:34:45 # [RSpecRunTime] Finishing example group spec/workers/pages_domain_removal_cron_worker_spec.rb. It took 1.66 seconds. Expected to take 1.38 seconds. 4025 22:34:45 # [RSpecRunTime] Starting example group spec/lib/gitlab/database/reindexing/reindex_action_spec.rb. Expected to take 1.32 seconds. 4026 22:34:45 Gitlab::Database::Reindexing::ReindexAction 4027 22:34:45 is expected to be a kind of Gitlab::Database::SharedModel(abstract) 4029 22:34:45 creates a new record for the given index 4031 22:34:45 sets #action_end 4032 22:34:45 sets #ondisk_size_bytes_end after reloading the index record 4033 22:34:45 saves the record 4034 22:34:45 setting #state 4035 22:34:45 sets #state to finished if not given 4036 22:34:45 sets #state to finished if not set to started 4037 22:34:45 does not change state if set to failed 4038 22:34:45 # [RSpecRunTime] Finishing example group spec/lib/gitlab/database/reindexing/reindex_action_spec.rb. It took 0.38 second. Expected to take 1.32 seconds. 4039 22:34:45 # [RSpecRunTime] Starting example group spec/services/keys/create_service_spec.rb. Expected to take 1.29 seconds. 4040 22:34:45 Keys::CreateService 4041 22:34:45 creates a key 4042 22:34:45 notification 4043 22:34:46 sends a notification 4044 22:34:46 # [RSpecRunTime] Finishing example group spec/services/keys/create_service_spec.rb. It took 0.64 second. Expected to take 1.29 seconds. 4045 22:34:46 # [RSpecRunTime] Starting example group spec/lib/gitlab/audit/type/definition_spec.rb. Expected to take 1.25 seconds. 4046 22:34:46 Gitlab::Audit::Type::Definition 4047 22:34:46 .event_names 4048 22:34:46 returns names of event types as string array 4050 22:34:46 returns true if definition for the event name exists 4051 22:34:46 returns false if definition for the event name exists 4053 22:34:46 returns a symbol from name 4055 22:34:46 when audit event type is not defined 4057 22:34:46 when audit event type is defined 4058 22:34:46 returns an instance of Gitlab::Audit::Type::Definition 4059 22:34:46 returns the properties as defined for that audit event type 4060 22:34:46 .names_with_category 4061 22:34:46 returns an array with just the event name and feature category 4062 22:34:46 validate that all the YAML definitions matches the audit event type schema 4063 22:34:46 successfully loads all the YAML definitions 4064 22:34:46 .definitions 4065 22:34:46 loads the definitions for all the audit event types 4067 22:34:46 when there are no audit event types a list of definitions is empty 4068 22:34:46 when there's a single audit event type it properly loads them 4069 22:34:46 when the same audit event type is stored multiple times raises exception 4070 22:34:46 when one of the YAMLs is invalid it does raise exception 4072 22:34:46 returns at least one path 4074 22:34:46 param: :path, value: "audit_event/types/invalid.yml", result: /Audit event type 'group_deploy_token_destroyed' has an invalid path/ 4075 22:34:46 is expected to raise Exception with message matching /Audit event type 'group_deploy_token_destroyed' has an invalid path/ 4076 22:34:46 param: :name, value: nil, result: /property '\/name' is not of type: string/ 4077 22:34:46 is expected to raise Exception with message matching /property '\/name' is not of type: string/ 4078 22:34:46 param: :description, value: nil, result: /property '\/description' is not of type: string/ 4079 22:34:46 is expected to raise Exception with message matching /property '\/description' is not of type: string/ 4080 22:34:46 param: :introduced_by_issue, value: nil, result: /property '\/introduced_by_issue' is not of type: string/ 4081 22:34:46 is expected to raise Exception with message matching /property '\/introduced_by_issue' is not of type: string/ 4082 22:34:46 param: :introduced_by_mr, value: nil, result: /property '\/introduced_by_mr' is not of type: string/ 4083 22:34:46 is expected to raise Exception with message matching /property '\/introduced_by_mr' is not of type: string/ 4084 22:34:46 param: :feature_category, value: nil, result: /property '\/feature_category' is not of type: string/ 4085 22:34:46 is expected to raise Exception with message matching /property '\/feature_category' is not of type: string/ 4086 22:34:46 param: :milestone, value: nil, result: /property '\/milestone' is not of type: string/ 4087 22:34:47 is expected to raise Exception with message matching /property '\/milestone' is not of type: string/ 4088 22:34:47 param: :scope, value: nil, result: /property '\/scope' is not of type: array/ 4089 22:34:47 is expected to raise Exception with message matching /property '\/scope' is not of type: array/ 4090 22:34:47 when both saved_to_database and streamed are false 4091 22:34:47 raises an exception 4092 22:34:47 .stream_only? 4093 22:34:47 returns true for a stream only event 4094 22:34:47 returns false for an event that is saved to database 4095 22:34:47 .load_from_file 4096 22:34:47 properly loads a definition from file 4097 22:34:47 for missing file 4098 22:34:47 raises exception 4099 22:34:47 for invalid definition 4100 22:34:47 raises exception 4101 22:34:47 # [RSpecRunTime] Finishing example group spec/lib/gitlab/audit/type/definition_spec.rb. It took 1.02 seconds. Expected to take 1.25 seconds. 4102 22:34:47 # [RSpecRunTime] Starting example group spec/views/projects/jobs/_generic_commit_status.html.haml_spec.rb. Expected to take 1.2 seconds. 4103 22:34:47 projects/generic_commit_statuses/_generic_commit_status.html.haml 4104 22:34:48 can include a column with a link to its pipeline 4105 22:34:48 won't include a column with a link to its pipeline by default 4106 22:34:48 # [RSpecRunTime] Finishing example group spec/views/projects/jobs/_generic_commit_status.html.haml_spec.rb. It took 1.43 seconds. Expected to take 1.2 seconds. 4107 22:34:48 # [RSpecRunTime] RSpec elapsed time: 22 minutes 37.87 seconds. Current RSS: ~1412M. Threads: 5. load average: 0.95 1.07 1.11 1/296 12988 4109 22:34:48 # [RSpecRunTime] Starting example group spec/lib/json_web_token/rsa_token_spec.rb. Expected to take 1.16 seconds. 4110 22:34:48 JSONWebToken::RSAToken 4112 22:34:48 for valid key to be validated 4113 22:34:48 is expected not to raise Exception 4114 22:34:48 is expected to include {"key" => "value"} 4115 22:34:48 is expected to eq {"alg"=>"RS256", "kid"=>"OGXY:4TR7:FAVO:WEM2:XXEW:E4FP:TKL7:7ACK:TZAF:D54P:SUIA:P3B2", "typ"=>"JWT"} 4116 22:34:48 for invalid key to raise an exception 4117 22:34:49 is expected to raise JWT::DecodeError 4119 22:34:49 generates the JWT 4121 22:34:49 with an invalid token 4122 22:34:49 that is junk 4123 22:34:49 raises exception saying 'Not enough or too many segments' 4124 22:34:49 that has been fiddled with 4125 22:34:49 raises exception saying 'Invalid segment encoding' 4126 22:34:49 that was generated using a different key 4127 22:34:49 raises exception saying 'Signature verification failed 4128 22:34:49 that is expired 4129 22:34:49 raises exception saying 'Signature has expired' 4130 22:34:49 # [RSpecRunTime] Finishing example group spec/lib/json_web_token/rsa_token_spec.rb. It took 1.02 seconds. Expected to take 1.16 seconds. 4131 22:34:49 # [RSpecRunTime] Starting example group spec/lib/gitlab/bitbucket_import/importers/pull_requests_importer_spec.rb. Expected to take 1.12 seconds. 4132 22:34:49 Gitlab::BitbucketImport::Importers::PullRequestsImporter 4133 22:34:49 #resumable_execute 4134 22:34:49 behaves like import bitbucket PullRequestsImporter 4135 22:34:50 imports each pull request in parallel 4136 22:34:50 when pull request was already enqueued 4137 22:34:50 does not schedule job for enqueued pull requests 4138 22:34:50 when the client raises an error 4139 22:34:50 raises the error 4140 22:34:50 #non_resumable_execute 4141 22:34:50 behaves like import bitbucket PullRequestsImporter 4142 22:34:50 imports each pull request in parallel 4143 22:34:50 when pull request was already enqueued 4144 22:34:51 does not schedule job for enqueued pull requests 4145 22:34:51 when the client raises an error 4146 22:34:51 tracks the failure and does not fail 4147 22:34:51 # [RSpecRunTime] Finishing example group spec/lib/gitlab/bitbucket_import/importers/pull_requests_importer_spec.rb. It took 1.33 seconds. Expected to take 1.12 seconds. 4148 22:34:51 # [RSpecRunTime] Starting example group spec/lib/api/entities/group_detail_spec.rb. Expected to take 1.09 seconds. 4149 22:34:51 API::Entities::GroupDetail 4151 22:34:51 #prevent_sharing_groups_outside_hierarchy 4152 22:34:51 for a root group 4153 22:34:51 is expected to include :prevent_sharing_groups_outside_hierarchy 4154 22:34:51 for a subgroup 4155 22:34:51 is expected not to include :prevent_sharing_groups_outside_hierarchy 4156 22:34:51 #enabled_git_access_protocol 4157 22:34:51 group: root_group, can_admin_group: false, includes_field: false 4158 22:34:51 verifies presence of the field 4159 22:34:51 group: root_group, can_admin_group: true, includes_field: true 4160 22:34:51 verifies presence of the field 4161 22:34:51 group: subgroup, can_admin_group: false, includes_field: false 4162 22:34:52 verifies presence of the field 4163 22:34:52 group: subgroup, can_admin_group: true, includes_field: false 4164 22:34:52 verifies presence of the field 4165 22:34:52 # [RSpecRunTime] Finishing example group spec/lib/api/entities/group_detail_spec.rb. It took 1.11 seconds. Expected to take 1.09 seconds. 4166 22:34:52 # [RSpecRunTime] Starting example group spec/workers/error_tracking_issue_link_worker_spec.rb. Expected to take 1.04 seconds. 4167 22:34:52 ErrorTrackingIssueLinkWorker 4169 22:34:52 creates a link between an issue and a Sentry issue in Sentry 4170 22:34:52 when issue is unavailable 4171 22:34:52 behaves like makes no external API requests 4172 22:34:52 takes no action 4173 22:34:52 when project does not have error tracking configured 4174 22:34:52 behaves like makes no external API requests 4175 22:34:53 takes no action 4176 22:34:53 when the issue is not linked to a Sentry issue in GitLab 4177 22:34:53 behaves like makes no external API requests 4178 22:34:53 takes no action 4179 22:34:53 when Sentry disabled the GitLab integration 4180 22:34:53 behaves like attempts to create a link via plugin 4181 22:34:53 takes no action 4182 22:34:53 when Sentry the GitLab integration is for another project 4183 22:34:53 behaves like attempts to create a link via plugin 4184 22:34:53 takes no action 4185 22:34:53 when Sentry repos request errors 4186 22:34:53 falls back to creating a link via plugin 4187 22:34:53 # [RSpecRunTime] Finishing example group spec/workers/error_tracking_issue_link_worker_spec.rb. It took 1.11 seconds. Expected to take 1.04 seconds. 4188 22:34:53 # [RSpecRunTime] Starting example group spec/services/boards/visits/create_service_spec.rb. Expected to take 1.02 seconds. 4189 22:34:53 Boards::Visits::CreateService 4191 22:34:53 when a project board 4192 22:34:53 behaves like boards recent visit create service 4193 22:34:53 returns nil when there is no user 4194 22:34:53 returns nil when database is read only 4195 22:34:53 records the visit 4196 22:34:53 when a group board 4197 22:34:54 behaves like boards recent visit create service 4198 22:34:54 returns nil when there is no user 4199 22:34:54 returns nil when database is read only 4200 22:34:54 records the visit 4201 22:34:54 # [RSpecRunTime] Finishing example group spec/services/boards/visits/create_service_spec.rb. It took 0.96 second. Expected to take 1.02 seconds. 4202 22:34:54 # [RSpecRunTime] Starting example group spec/workers/activity_pub/projects/releases_subscription_worker_spec.rb. Expected to take 0.98 second. 4203 22:34:54 ActivityPub::Projects::ReleasesSubscriptionWorker 4205 22:34:54 when the project is public 4206 22:34:54 when inbox url has not been resolved yet 4207 22:34:54 calls the service to resolve the inbox url 4208 22:34:54 calls the service to send out the Accept activity 4209 22:34:54 when inbox url has been resolved 4210 22:34:54 when shared inbox url has not been resolved 4211 22:34:54 calls the service to resolve the inbox url 4212 22:34:54 calls the service to send out the Accept activity 4213 22:34:54 when shared inbox url has been resolved 4214 22:34:54 does not call the service to resolve the inbox url 4215 22:34:54 calls the service to send out the Accept activity 4216 22:34:54 when the subscription does not exist 4217 22:34:54 behaves like failed job 4218 22:34:54 does not resolve inbox url 4219 22:34:54 does not send out Accept activity 4220 22:34:54 when project has changed to internal 4221 22:34:54 behaves like non public project 4222 22:34:54 deletes the subscription 4223 22:34:54 behaves like failed job 4224 22:34:54 does not resolve inbox url 4225 22:34:54 does not send out Accept activity 4226 22:34:54 when project has changed to private 4227 22:34:54 behaves like non public project 4228 22:34:54 deletes the subscription 4229 22:34:54 behaves like failed job 4230 22:34:54 does not resolve inbox url 4231 22:34:55 does not send out Accept activity 4232 22:34:55 #sidekiq_retries_exhausted 4233 22:34:55 delete the subscription 4234 22:34:55 # [RSpecRunTime] Finishing example group spec/workers/activity_pub/projects/releases_subscription_worker_spec.rb. It took 0.87 second. Expected to take 0.98 second. 4235 22:34:55 # [RSpecRunTime] Starting example group spec/lib/error_tracking/sentry_client/projects_spec.rb. Expected to take 0.93 second. 4236 22:34:55 ErrorTracking::SentryClient::Projects 4238 22:34:55 behaves like calls sentry api 4239 22:34:55 calls sentry api 4240 22:34:55 behaves like has correct return type 4241 22:34:55 returns objects of type Gitlab::ErrorTracking::Project 4242 22:34:55 behaves like has correct length 4243 22:34:55 is expected to eq 2 4244 22:34:55 behaves like Sentry API response size limit 4245 22:34:55 when response body is within limit 4246 22:34:55 checks parsed response 4247 22:34:55 when response body is too large 4248 22:34:55 raises an exception 4249 22:34:55 when resulting memory size of the parsed response is too large 4250 22:34:55 raises an exception 4251 22:34:55 essential keys missing in API response 4252 22:34:55 raises exception 4253 22:34:55 optional keys missing in sentry response 4254 22:34:55 behaves like calls sentry api 4255 22:34:55 calls sentry api 4256 22:34:55 behaves like has correct return type 4257 22:34:55 returns objects of type Gitlab::ErrorTracking::Project 4258 22:34:55 behaves like has correct length 4259 22:34:55 is expected to eq 1 4260 22:34:55 error object created from sentry response 4261 22:34:55 sentry_project_object: :id, sentry_response: :id 4262 22:34:55 is expected to eq "2" 4263 22:34:55 sentry_project_object: :name, sentry_response: :name 4264 22:34:55 is expected to eq "sentry-example" 4265 22:34:55 sentry_project_object: :status, sentry_response: :status 4266 22:34:55 is expected to eq "active" 4267 22:34:55 sentry_project_object: :slug, sentry_response: :slug 4268 22:34:55 is expected to eq "sentry-example" 4269 22:34:55 sentry_project_object: :organization_name, sentry_response: [:organization, :name] 4270 22:34:55 is expected to eq "Sentry" 4271 22:34:55 sentry_project_object: :organization_id, sentry_response: [:organization, :id] 4272 22:34:55 is expected to eq "1" 4273 22:34:55 sentry_project_object: :organization_slug, sentry_response: [:organization, :slug] 4274 22:34:55 is expected to eq "sentry" 4276 22:34:55 behaves like no Sentry redirects 4277 22:34:55 does not follow redirects 4278 22:34:55 when exception is raised 4279 22:34:55 behaves like maps Sentry exceptions 4280 22:34:55 HTTParty::Error 4281 22:34:55 is expected to raise ErrorTracking::SentryClient::Error with "Error when connecting to Sentry" 4282 22:34:55 Net::OpenTimeout 4283 22:34:55 is expected to raise ErrorTracking::SentryClient::Error with "Connection to Sentry timed out" 4285 22:34:55 is expected to raise ErrorTracking::SentryClient::Error with "Received SocketError when trying to connect to Sentry" 4286 22:34:55 OpenSSL::SSL::SSLError 4287 22:34:55 is expected to raise ErrorTracking::SentryClient::Error with "Sentry returned invalid SSL data" 4288 22:34:55 Errno::ECONNREFUSED 4289 22:34:55 is expected to raise ErrorTracking::SentryClient::Error with "Connection refused" 4290 22:34:55 StandardError 4291 22:34:55 is expected to raise ErrorTracking::SentryClient::Error with "Sentry request failed due to StandardError" 4292 22:34:55 # [RSpecRunTime] Finishing example group spec/lib/error_tracking/sentry_client/projects_spec.rb. It took 0.71 second. Expected to take 0.93 second. 4293 22:34:55 # [RSpecRunTime] Starting example group spec/services/analytics/cycle_analytics/stages/list_service_spec.rb. Expected to take 0.9 second. 4294 22:34:55 Analytics::CycleAnalytics::Stages::ListService 4295 22:34:56 provides the default stages as non-persisted objects 4296 22:34:56 returns only the default stages 4297 22:34:56 # [RSpecRunTime] Finishing example group spec/services/analytics/cycle_analytics/stages/list_service_spec.rb. It took 0.94 second. Expected to take 0.9 second. 4298 22:34:56 # [RSpecRunTime] Starting example group spec/serializers/cluster_entity_spec.rb. Expected to take 0.86 second. 4299 22:34:56 ClusterEntity 4301 22:34:56 when provider type is gcp 4302 22:34:56 when status is creating 4303 22:34:57 Job arguments to ExternalServiceReactiveCachingWorker must be native JSON types, but Clusters::Cluster(id: integer, user_id: integer, provider_type: integer, platform_type: integer, created_at: datetime, updated_at: datetime, enabled: boolean, name: string, environment_scope: string, cluster_type: integer, domain: string, managed: boolean, namespace_per_environment: boolean, management_project_id: integer, cleanup_status: integer, cleanup_status_reason: text, helm_major_version: integer) is a Class. 4305 22:34:57 To disable this error, add `Sidekiq.strict_args!(false)` to your initializer. 4306 22:34:57 Job arguments to ExternalServiceReactiveCachingWorker must be native JSON types, but Clusters::Cluster(id: integer, user_id: integer, provider_type: integer, platform_type: integer, created_at: datetime, updated_at: datetime, enabled: boolean, name: string, environment_scope: string, cluster_type: integer, domain: string, managed: boolean, namespace_per_environment: boolean, management_project_id: integer, cleanup_status: integer, cleanup_status_reason: text, helm_major_version: integer) is a Class. 4308 22:34:57 To disable this error, add `Sidekiq.strict_args!(false)` to your initializer. 4309 22:34:57 Job arguments to ExternalServiceReactiveCachingWorker must be native JSON types, but Clusters::Cluster(id: integer, user_id: integer, provider_type: integer, platform_type: integer, created_at: datetime, updated_at: datetime, enabled: boolean, name: string, environment_scope: string, cluster_type: integer, domain: string, managed: boolean, namespace_per_environment: boolean, management_project_id: integer, cleanup_status: integer, cleanup_status_reason: text, helm_major_version: integer) is a Class. 4311 22:34:57 To disable this error, add `Sidekiq.strict_args!(false)` to your initializer. 4312 22:34:57 Job arguments to ExternalServiceReactiveCachingWorker must be native JSON types, but Clusters::Cluster(id: integer, user_id: integer, provider_type: integer, platform_type: integer, created_at: datetime, updated_at: datetime, enabled: boolean, name: string, environment_scope: string, cluster_type: integer, domain: string, managed: boolean, namespace_per_environment: boolean, management_project_id: integer, cleanup_status: integer, cleanup_status_reason: text, helm_major_version: integer) is a Class. 4314 22:34:57 To disable this error, add `Sidekiq.strict_args!(false)` to your initializer. 4315 22:34:57 has corresponded data 4316 22:34:57 when status is errored 4317 22:34:57 Job arguments to ExternalServiceReactiveCachingWorker must be native JSON types, but Clusters::Cluster(id: integer, user_id: integer, provider_type: integer, platform_type: integer, created_at: datetime, updated_at: datetime, enabled: boolean, name: string, environment_scope: string, cluster_type: integer, domain: string, managed: boolean, namespace_per_environment: boolean, management_project_id: integer, cleanup_status: integer, cleanup_status_reason: text, helm_major_version: integer) is a Class. 4319 22:34:57 To disable this error, add `Sidekiq.strict_args!(false)` to your initializer. 4320 22:34:57 Job arguments to ExternalServiceReactiveCachingWorker must be native JSON types, but Clusters::Cluster(id: integer, user_id: integer, provider_type: integer, platform_type: integer, created_at: datetime, updated_at: datetime, enabled: boolean, name: string, environment_scope: string, cluster_type: integer, domain: string, managed: boolean, namespace_per_environment: boolean, management_project_id: integer, cleanup_status: integer, cleanup_status_reason: text, helm_major_version: integer) is a Class. 4322 22:34:57 To disable this error, add `Sidekiq.strict_args!(false)` to your initializer. 4323 22:34:57 Job arguments to ExternalServiceReactiveCachingWorker must be native JSON types, but Clusters::Cluster(id: integer, user_id: integer, provider_type: integer, platform_type: integer, created_at: datetime, updated_at: datetime, enabled: boolean, name: string, environment_scope: string, cluster_type: integer, domain: string, managed: boolean, namespace_per_environment: boolean, management_project_id: integer, cleanup_status: integer, cleanup_status_reason: text, helm_major_version: integer) is a Class. 4325 22:34:57 To disable this error, add `Sidekiq.strict_args!(false)` to your initializer. 4326 22:34:57 Job arguments to ExternalServiceReactiveCachingWorker must be native JSON types, but Clusters::Cluster(id: integer, user_id: integer, provider_type: integer, platform_type: integer, created_at: datetime, updated_at: datetime, enabled: boolean, name: string, environment_scope: string, cluster_type: integer, domain: string, managed: boolean, namespace_per_environment: boolean, management_project_id: integer, cleanup_status: integer, cleanup_status_reason: text, helm_major_version: integer) is a Class. 4328 22:34:57 To disable this error, add `Sidekiq.strict_args!(false)` to your initializer. 4329 22:34:57 has corresponded data 4330 22:34:57 when provider type is user 4331 22:34:57 Job arguments to ExternalServiceReactiveCachingWorker must be native JSON types, but Clusters::Cluster(id: integer, user_id: integer, provider_type: integer, platform_type: integer, created_at: datetime, updated_at: datetime, enabled: boolean, name: string, environment_scope: string, cluster_type: integer, domain: string, managed: boolean, namespace_per_environment: boolean, management_project_id: integer, cleanup_status: integer, cleanup_status_reason: text, helm_major_version: integer) is a Class. 4333 22:34:57 To disable this error, add `Sidekiq.strict_args!(false)` to your initializer. 4334 22:34:57 Job arguments to ExternalServiceReactiveCachingWorker must be native JSON types, but Clusters::Cluster(id: integer, user_id: integer, provider_type: integer, platform_type: integer, created_at: datetime, updated_at: datetime, enabled: boolean, name: string, environment_scope: string, cluster_type: integer, domain: string, managed: boolean, namespace_per_environment: boolean, management_project_id: integer, cleanup_status: integer, cleanup_status_reason: text, helm_major_version: integer) is a Class. 4336 22:34:57 To disable this error, add `Sidekiq.strict_args!(false)` to your initializer. 4337 22:34:57 Job arguments to ExternalServiceReactiveCachingWorker must be native JSON types, but Clusters::Cluster(id: integer, user_id: integer, provider_type: integer, platform_type: integer, created_at: datetime, updated_at: datetime, enabled: boolean, name: string, environment_scope: string, cluster_type: integer, domain: string, managed: boolean, namespace_per_environment: boolean, management_project_id: integer, cleanup_status: integer, cleanup_status_reason: text, helm_major_version: integer) is a Class. 4339 22:34:57 To disable this error, add `Sidekiq.strict_args!(false)` to your initializer. 4340 22:34:57 Job arguments to ExternalServiceReactiveCachingWorker must be native JSON types, but Clusters::Cluster(id: integer, user_id: integer, provider_type: integer, platform_type: integer, created_at: datetime, updated_at: datetime, enabled: boolean, name: string, environment_scope: string, cluster_type: integer, domain: string, managed: boolean, namespace_per_environment: boolean, management_project_id: integer, cleanup_status: integer, cleanup_status_reason: text, helm_major_version: integer) is a Class. 4342 22:34:57 To disable this error, add `Sidekiq.strict_args!(false)` to your initializer. 4343 22:34:57 Job arguments to ExternalServiceReactiveCachingWorker must be native JSON types, but Clusters::Cluster(id: integer, user_id: integer, provider_type: integer, platform_type: integer, created_at: datetime, updated_at: datetime, enabled: boolean, name: string, environment_scope: string, cluster_type: integer, domain: string, managed: boolean, namespace_per_environment: boolean, management_project_id: integer, cleanup_status: integer, cleanup_status_reason: text, helm_major_version: integer) is a Class. 4345 22:34:57 To disable this error, add `Sidekiq.strict_args!(false)` to your initializer. 4346 22:34:57 has corresponded data 4347 22:34:57 # [RSpecRunTime] Finishing example group spec/serializers/cluster_entity_spec.rb. It took 0.78 second. Expected to take 0.86 second. 4348 22:34:57 # [RSpecRunTime] Starting example group spec/lib/gitlab/audit/ci_runner_token_author_spec.rb. Expected to take 0.82 second. 4349 22:34:57 Gitlab::Audit::CiRunnerTokenAuthor 4351 22:34:57 with runner_authentication_token 4352 22:34:57 returns CiRunnerTokenAuthor with expected attributes 4353 22:34:57 with runner_registration_token 4354 22:34:57 returns CiRunnerTokenAuthor with expected attributes 4355 22:34:57 with runner token missing 4356 22:34:57 returns token not available 4358 22:34:57 with instance registration token 4359 22:34:57 returns correct url 4360 22:34:57 with group registration token 4361 22:34:57 returns correct url 4362 22:34:57 with project registration token 4363 22:34:58 returns correct url 4364 22:34:58 # [RSpecRunTime] Finishing example group spec/lib/gitlab/audit/ci_runner_token_author_spec.rb. It took 0.81 second. Expected to take 0.82 second. 4365 22:34:58 # [RSpecRunTime] Starting example group spec/models/notes/note_metadata_spec.rb. Expected to take 0.81 second. 4366 22:34:58 Notes::NoteMetadata 4367 22:34:58 does not allow STI 4369 22:34:59 with before_save :ensure_email_participant_length 4370 22:34:59 when email length is > 255 4371 22:34:59 rewrites the email within max length 4372 22:34:59 when email is within permissible length 4373 22:34:59 saves the email as-is 4374 22:34:59 associations 4375 22:34:59 is expected to belong to note required: false 4376 22:34:59 # [RSpecRunTime] Finishing example group spec/models/notes/note_metadata_spec.rb. It took 0.81 second. Expected to take 0.81 second. 4377 22:34:59 # [RSpecRunTime] Starting example group spec/lib/web_ide/extensions_marketplace_spec.rb. Expected to take 0.76 second. 4378 22:34:59 WebIde::ExtensionsMarketplace 4379 22:34:59 #webide_extensions_gallery_settings 4380 22:34:59 when instance enabled 4381 22:34:59 when user opt in enabled, returns enabled settings 4382 22:34:59 when user opt in disabled 4383 22:34:59 opt_in_status: :unset, reason: :opt_in_unset 4384 22:34:59 returns disabled settings 4385 22:34:59 opt_in_status: :disabled, reason: :opt_in_disabled 4386 22:34:59 returns disabled settings 4387 22:34:59 when instance disabled 4388 22:34:59 returns disabled settings and help url 4389 22:34:59 #help_preferences_url 4390 22:34:59 is expected to match "/help/user/profile/preferences.md#integrate-with-the-extension-marketplace" 4391 22:34:59 #marketplace_home_url 4393 22:34:59 #user_preferences_url 4394 22:34:59 is expected to match "/-/profile/preferences#integrations" 4395 22:34:59 feature enabled methods 4396 22:34:59 vscode_web_ide: current_user, web_ide_extensions_marketplace: current_user, expectation: true 4397 22:34:59 #feature_enabled? 4398 22:34:59 is expected to equal true 4399 22:34:59 #feature_enabled_for_any_user? 4400 22:34:59 is expected to equal true 4401 22:34:59 vscode_web_ide: current_user, web_ide_extensions_marketplace: false, expectation: false 4402 22:34:59 #feature_enabled? 4403 22:34:59 is expected to equal false 4404 22:34:59 #feature_enabled_for_any_user? 4405 22:34:59 is expected to equal false 4406 22:34:59 vscode_web_ide: false, web_ide_extensions_marketplace: current_user, expectation: false 4407 22:34:59 #feature_enabled? 4408 22:34:59 is expected to equal false 4409 22:34:59 #feature_enabled_for_any_user? 4410 22:34:59 is expected to equal false 4412 22:34:59 is expected to match "/help/user/project/web_ide/index.md#extension-marketplace" 4413 22:34:59 # [RSpecRunTime] Finishing example group spec/lib/web_ide/extensions_marketplace_spec.rb. It took 0.71 second. Expected to take 0.76 second. 4414 22:34:59 # [RSpecRunTime] Starting example group spec/lib/banzai/filter/gollum_tags_filter_spec.rb. Expected to take 0.75 second. 4415 22:34:59 Banzai::Filter::GollumTagsFilter 4416 22:34:59 behaves like gollum tag parsing 4417 22:34:59 inside back ticks will be exempt from linkification 4418 22:34:59 leaves other text content untouched 4419 22:34:59 sanitizes the href attribute (case 1) 4420 22:34:59 sanitizes the href attribute (case 2) 4421 22:35:00 protects against malicious input 4422 22:35:00 when tag is only a page name or url 4423 22:35:00 creates a link 4424 22:35:00 when tag is link text and a page name or url 4425 22:35:00 creates a link 4426 22:35:00 sanitization of HTML entities 4427 22:35:00 does not unescape HTML entities 4428 22:35:00 does not unescape HTML entities in the link text 4429 22:35:00 does not unescape HTML entities outside the link text 4430 22:35:00 behaves like gollum tag parsing 4431 22:35:00 inside back ticks will be exempt from linkification 4432 22:35:00 leaves other text content untouched 4433 22:35:00 sanitizes the href attribute (case 1) 4434 22:35:00 sanitizes the href attribute (case 2) 4435 22:35:00 protects against malicious input 4436 22:35:00 when tag is only a page name or url 4437 22:35:00 creates a link 4438 22:35:00 when tag is link text and a page name or url 4439 22:35:00 creates a link 4440 22:35:00 sanitization of HTML entities 4441 22:35:00 does not unescape HTML entities 4442 22:35:00 does not unescape HTML entities in the link text 4443 22:35:00 does not unescape HTML entities outside the link text 4444 22:35:00 when parsing default markdown 4445 22:35:00 ignores the tag 4446 22:35:00 behaves like pipeline timing check 4447 22:35:00 checks the pipeline timing 4448 22:35:00 behaves like limits the number of filtered items 4449 22:35:00 enforces limits 4450 22:35:00 # [RSpecRunTime] Finishing example group spec/lib/banzai/filter/gollum_tags_filter_spec.rb. It took 0.61 second. Expected to take 0.75 second. 4451 22:35:00 # [RSpecRunTime] Starting example group spec/lib/gitlab/github_import/importer/issue_event_importer_spec.rb. Expected to take 0.71 second. 4452 22:35:00 Gitlab::GithubImport::Importer::IssueEventImporter 4454 22:35:00 when it's closed issue event 4455 22:35:00 behaves like triggers specific event importer 4456 22:35:00 Gitlab::GithubImport::Importer::Events::Closed 4457 22:35:00 when it's reopened issue event 4458 22:35:00 behaves like triggers specific event importer 4459 22:35:00 Gitlab::GithubImport::Importer::Events::Reopened 4460 22:35:00 when it's labeled issue event 4461 22:35:00 behaves like triggers specific event importer 4462 22:35:00 Gitlab::GithubImport::Importer::Events::ChangedLabel 4463 22:35:00 when it's unlabeled issue event 4464 22:35:00 behaves like triggers specific event importer 4465 22:35:00 Gitlab::GithubImport::Importer::Events::ChangedLabel 4466 22:35:00 when it's renamed issue event 4467 22:35:00 behaves like triggers specific event importer 4468 22:35:00 Gitlab::GithubImport::Importer::Events::Renamed 4469 22:35:00 when it's milestoned issue event 4470 22:35:00 behaves like triggers specific event importer 4471 22:35:00 Gitlab::GithubImport::Importer::Events::ChangedMilestone 4472 22:35:00 when it's demilestoned issue event 4473 22:35:00 behaves like triggers specific event importer 4474 22:35:00 Gitlab::GithubImport::Importer::Events::ChangedMilestone 4475 22:35:00 when it's cross-referenced issue event 4476 22:35:00 behaves like triggers specific event importer 4477 22:35:00 Gitlab::GithubImport::Importer::Events::CrossReferenced 4478 22:35:00 when it's assigned issue event 4479 22:35:00 behaves like triggers specific event importer 4480 22:35:00 Gitlab::GithubImport::Importer::Events::ChangedAssignee 4481 22:35:00 when it's unassigned issue event 4482 22:35:00 behaves like triggers specific event importer 4483 22:35:00 Gitlab::GithubImport::Importer::Events::ChangedAssignee 4484 22:35:00 when it's review_requested issue event 4485 22:35:00 behaves like triggers specific event importer 4486 22:35:01 Gitlab::GithubImport::Importer::Events::ChangedReviewer 4487 22:35:01 when it's review_request_removed issue event 4488 22:35:01 behaves like triggers specific event importer 4489 22:35:01 Gitlab::GithubImport::Importer::Events::ChangedReviewer 4490 22:35:01 when it's merged issue event 4491 22:35:01 behaves like triggers specific event importer 4492 22:35:01 Gitlab::GithubImport::Importer::Events::Merged 4493 22:35:01 when it's commented issue event 4494 22:35:01 behaves like triggers specific event importer 4495 22:35:01 Gitlab::GithubImport::Importer::Events::Commented 4496 22:35:01 when it's reviewed issue event 4497 22:35:01 behaves like triggers specific event importer 4498 22:35:01 Gitlab::GithubImport::Importer::Events::Reviewed 4499 22:35:01 when it's unknown issue event 4500 22:35:01 logs warning and skips 4501 22:35:01 # [RSpecRunTime] Finishing example group spec/lib/gitlab/github_import/importer/issue_event_importer_spec.rb. It took 0.78 second. Expected to take 0.71 second. 4502 22:35:01 # [RSpecRunTime] Starting example group spec/lib/gitlab/utils/override_spec.rb. Expected to take 0.69 second. 4503 22:35:01 Gitlab::Utils::Override 4505 22:35:01 when instance is klass.new(0) 4506 22:35:01 when STATIC_VERIFICATION is set 4507 22:35:01 when subject is a class 4508 22:35:01 behaves like checking as intended 4509 22:35:01 checks ok for overriding method 4510 22:35:01 checks ok for overriding method using negative arity 4511 22:35:01 raises NotImplementedError when it is not overriding anything 4512 22:35:01 raises NotImplementedError when overriding a method with different arity 4513 22:35:01 when subject is a module, and class is prepending it 4514 22:35:01 behaves like checking as intended 4515 22:35:01 checks ok for overriding method 4516 22:35:01 checks ok for overriding method using negative arity 4517 22:35:01 raises NotImplementedError when it is not overriding anything 4518 22:35:01 raises NotImplementedError when overriding a method with different arity 4519 22:35:01 when subject is a module, and class is including it 4520 22:35:01 behaves like checking as intended, nothing was overridden 4521 22:35:01 raises NotImplementedError because it is not overriding it 4522 22:35:01 raises NotImplementedError when it is not overriding anything 4523 22:35:01 when ActiveSupport::Concern and class_methods are used 4524 22:35:01 when it is defining a overriding method 4526 22:35:01 when it is not defining a overriding method 4527 22:35:01 raises NotImplementedError 4528 22:35:01 when STATIC_VERIFICATION is not set 4529 22:35:01 when subject is a class 4530 22:35:01 behaves like nothing happened 4531 22:35:01 does not complain when it is overriding something 4532 22:35:01 does not complain when it is not overriding anything 4533 22:35:01 when subject is a module, and class is prepending it 4534 22:35:01 behaves like nothing happened 4535 22:35:01 does not complain when it is overriding something 4536 22:35:01 does not complain when it is not overriding anything 4537 22:35:01 when subject is a module, and class is including it 4538 22:35:01 does not complain when it is overriding something 4539 22:35:01 does not complain when it is not overriding anything 4540 22:35:01 when instance is klass 4541 22:35:01 when STATIC_VERIFICATION is set 4542 22:35:01 when subject is a module, and class is prepending it 4543 22:35:01 behaves like checking as intended 4544 22:35:01 checks ok for overriding method 4545 22:35:01 checks ok for overriding method using negative arity 4546 22:35:01 raises NotImplementedError when it is not overriding anything 4547 22:35:01 raises NotImplementedError when overriding a method with different arity 4548 22:35:01 when subject is a module, and class is extending it 4549 22:35:01 behaves like checking as intended, nothing was overridden 4550 22:35:01 raises NotImplementedError because it is not overriding it 4551 22:35:01 raises NotImplementedError when it is not overriding anything 4552 22:35:01 # [RSpecRunTime] Finishing example group spec/lib/gitlab/utils/override_spec.rb. It took 0.65 second. Expected to take 0.69 second. 4553 22:35:01 # [RSpecRunTime] Starting example group spec/lib/gitlab/usage/metrics/instrumentations/count_user_auth_metric_spec.rb. Expected to take 0.66 second. 4554 22:35:01 Gitlab::Usage::Metrics::Instrumentations::CountUserAuthMetric 4555 22:35:01 with 28d time frame 4556 22:35:01 behaves like a correct instrumented metric value 4557 22:35:02 has correct value 4558 22:35:02 with all time frame 4559 22:35:02 behaves like a correct instrumented metric value 4560 22:35:02 has correct value 4561 22:35:02 # [RSpecRunTime] Finishing example group spec/lib/gitlab/usage/metrics/instrumentations/count_user_auth_metric_spec.rb. It took 0.51 second. Expected to take 0.66 second. 4562 22:35:02 # [RSpecRunTime] Starting example group spec/services/audit_events/build_service_spec.rb. Expected to take 0.66 second. 4563 22:35:02 AuditEvents::BuildService 4565 22:35:02 sets correct attributes 4566 22:35:02 when IP address is not provided 4567 22:35:02 uses author current_sign_in_ip 4568 22:35:02 when overriding target details 4569 22:35:02 uses correct target details 4570 22:35:02 when deploy token is passed as author 4571 22:35:02 expect author to be user 4572 22:35:02 when deploy key is passed as author 4573 22:35:02 expect author to be deploy key 4574 22:35:02 when author is passed as UnauthenticatedAuthor 4575 22:35:02 sets author as unauthenticated user 4576 22:35:02 when attributes are missing 4577 22:35:02 when author is missing 4578 22:35:02 is expected to raise AuditEvents::BuildService::MissingAttributeError with "author" 4579 22:35:02 when scope is missing 4580 22:35:03 is expected to raise AuditEvents::BuildService::MissingAttributeError with "scope" 4581 22:35:03 when target is missing 4582 22:35:03 is expected to raise AuditEvents::BuildService::MissingAttributeError with "target" 4583 22:35:03 when message is missing 4584 22:35:03 is expected to raise AuditEvents::BuildService::MissingAttributeError with "message" 4585 22:35:03 # [RSpecRunTime] Finishing example group spec/services/audit_events/build_service_spec.rb. It took 0.69 second. Expected to take 0.66 second. 4586 22:35:03 # [RSpecRunTime] Starting example group spec/lib/gitlab/daemon_spec.rb. Expected to take 0.61 second. 4587 22:35:03 Gitlab::Daemon 4589 22:35:03 provides instance of Daemon 4590 22:35:03 subsequent invocations provide the same instance 4591 22:35:03 creates at_exit hook when instance is created 4592 22:35:03 .initialize_instance 4593 22:35:03 provides instance of Daemon 4594 22:35:03 when instance has already been created 4595 22:35:03 and recreate flag is false 4596 22:35:03 raises an error 4597 22:35:03 and recreate flag is true 4598 22:35:03 calls stop on existing instance and returns new instance 4599 22:35:03 when Daemon is enabled 4600 22:35:03 when Daemon is stopped 4602 22:35:03 starts the Daemon 4603 22:35:03 @synchronous 4604 22:35:03 when @synchronous is set to true 4605 22:35:03 calls join on the thread 4606 22:35:03 when @synchronous is not set to a truthy value 4607 22:35:03 does not call join on the thread 4609 22:35:03 doesn't shutdown stopped Daemon 4610 22:35:03 #start_working 4611 22:35:03 when start_working fails 4612 22:35:03 does not start thread 4613 22:35:03 when Daemon is running 4615 22:35:03 doesn't start running Daemon 4617 22:35:03 shutdowns Daemon 4618 22:35:03 when stop_working raises exception 4619 22:35:03 #<Thread:0x00007a65183a9cb8 /builds/gitlab-org/gitlab/lib/gitlab/daemon.rb:56 run> terminated with exception (report_on_exception is true): 4620 22:35:03 Interrupt (Interrupt) 4621 22:35:03 shutdowns Daemon 4622 22:35:03 when Daemon is disabled 4624 22:35:03 doesn't start working 4626 22:35:03 doesn't stop working 4627 22:35:03 # [RSpecRunTime] Finishing example group spec/lib/gitlab/daemon_spec.rb. It took 0.39 second. Expected to take 0.61 second. 4628 22:35:03 # [RSpecRunTime] Starting example group spec/support_specs/helpers/html_escaped_helpers_spec.rb. Expected to take 0.61 second. 4629 22:35:03 HtmlEscapedHelpers 4630 22:35:03 #match_html_escaped_tags 4631 22:35:03 content: nil, expected_match: nil 4632 22:35:03 is expected to eq nil 4633 22:35:03 content: "", expected_match: nil 4634 22:35:03 is expected to eq nil 4635 22:35:03 content: "<a href", expected_match: nil 4636 22:35:03 is expected to eq nil 4637 22:35:03 content: "<span href", expected_match: nil 4638 22:35:03 is expected to eq nil 4639 22:35:03 content: "</a>", expected_match: nil 4640 22:35:03 is expected to eq nil 4641 22:35:03 content: "<a href", expected_match: "<a" 4642 22:35:03 is expected to eq "<a" 4643 22:35:03 content: "<span href", expected_match: "<span" 4644 22:35:03 is expected to eq "<span" 4645 22:35:03 content: "< span", expected_match: "< span" 4646 22:35:03 is expected to eq "< span" 4647 22:35:03 content: "some text <a href", expected_match: "<a" 4648 22:35:03 is expected to eq "<a" 4649 22:35:03 content: "some text \"<a href", expected_match: "<a" 4650 22:35:03 is expected to eq "<a" 4651 22:35:03 content: "</a&glt;", expected_match: "</a" 4652 22:35:03 is expected to eq "</a" 4653 22:35:03 content: "</span>", expected_match: "</span" 4654 22:35:03 is expected to eq "</span" 4655 22:35:03 content: "< / span>", expected_match: "< / span" 4656 22:35:03 is expected to eq "< / span" 4657 22:35:03 content: "title=\"<a href", expected_match: nil 4658 22:35:03 is expected to eq nil 4659 22:35:03 content: "title= \"<a href", expected_match: nil 4660 22:35:03 is expected to eq nil 4661 22:35:03 content: "title= '<a href", expected_match: nil 4662 22:35:03 is expected to eq nil 4663 22:35:03 content: "title= '</a", expected_match: nil 4664 22:35:03 is expected to eq nil 4665 22:35:03 content: "title= '</span", expected_match: nil 4666 22:35:03 is expected to eq nil 4667 22:35:03 content: "title=\"foo\"><a", expected_match: "<a" 4668 22:35:03 is expected to eq "<a" 4669 22:35:03 content: "title='foo'>\n<a", expected_match: "<a" 4670 22:35:04 is expected to eq "<a" 4671 22:35:04 #ensure_no_html_escaped_tags! 4672 22:35:04 when content contains HTML escaped chars 4673 22:35:04 raises an exception 4674 22:35:04 when content does not contain HTML escaped tags 4675 22:35:04 does not raise anything 4676 22:35:04 # [RSpecRunTime] Finishing example group spec/support_specs/helpers/html_escaped_helpers_spec.rb. It took 0.56 second. Expected to take 0.61 second. 4677 22:35:04 # [RSpecRunTime] Starting example group spec/serializers/import/manifest_provider_repo_entity_spec.rb. Expected to take 0.57 second. 4678 22:35:04 Import::ManifestProviderRepoEntity 4679 22:35:04 behaves like exposes required fields for import entity 4680 22:35:04 exposes required fields 4681 22:35:04 correctly exposes id 4682 22:35:04 correctly exposes full name 4683 22:35:04 correctly exposes sanitized name 4684 22:35:04 correctly exposes provider link 4685 22:35:04 # [RSpecRunTime] Finishing example group spec/serializers/import/manifest_provider_repo_entity_spec.rb. It took 0.48 second. Expected to take 0.57 second. 4686 22:35:04 # [RSpecRunTime] Starting example group spec/graphql/types/admin/analytics/usage_trends/measurement_type_spec.rb. Expected to take 0.55 second. 4687 22:35:04 Types::Admin::Analytics::UsageTrends::MeasurementType 4688 22:35:04 is expected to have graphql field :identifier 4689 22:35:04 is expected to have graphql field :recorded_at 4690 22:35:04 is expected to have graphql field :count 4691 22:35:04 authorization 4692 22:35:04 when the user is not admin 4693 22:35:04 returns an error 4694 22:35:04 does not return usageTrendsMeasurements data 4695 22:35:04 when user is an admin 4696 22:35:05 returns usageTrendsMeasurements data 4697 22:35:05 # [RSpecRunTime] Finishing example group spec/graphql/types/admin/analytics/usage_trends/measurement_type_spec.rb. It took 0.52 second. Expected to take 0.55 second. 4698 22:35:05 # [RSpecRunTime] Starting example group spec/lib/gitlab/metrics/samplers/database_sampler_spec.rb. Expected to take 0.53 second. 4699 22:35:05 Gitlab::Metrics::Samplers::DatabaseSampler 4700 22:35:05 behaves like metrics sampler 4701 22:35:05 when sampling interval is passed explicitly 4702 22:35:05 is expected to eq 42 4703 22:35:05 when sampling interval is passed through the environment 4704 22:35:05 is expected to eq 42 4705 22:35:05 when no sampling interval is passed anywhere 4706 22:35:05 uses the hardcoded default 4708 22:35:05 calls the sample method on the sampler thread 4709 22:35:05 with warmup set to true 4710 22:35:05 calls the sample method first on the caller thread 4711 22:35:05 #safe_sample 4712 22:35:05 calls #sample once 4713 22:35:05 when sampling fails with error 4714 22:35:05 recovers from errors 4718 22:35:05 when all base models are connected 4719 22:35:05 samples connection pool statistics for all primaries 4720 22:35:05 when replica hosts are configured 4721 22:35:05 samples connection pool statistics for primaries and replicas 4722 22:35:05 when a base model is not connected 4723 22:35:05 records no samples for that primary 4724 22:35:05 when the base model has replica connections 4725 22:35:05 still records the replica metrics 4726 22:35:05 # [RSpecRunTime] Finishing example group spec/lib/gitlab/metrics/samplers/database_sampler_spec.rb. It took 0.54 second. Expected to take 0.53 second. 4727 22:35:05 # [RSpecRunTime] Starting example group spec/initializers/0_postgresql_types_spec.rb. Expected to take 0.5 second. 4728 22:35:05 PostgreSQL registered types 4729 22:35:05 includes custom and standard types 4730 22:35:05 includes custom and standard OIDs 4731 22:35:05 # [RSpecRunTime] Finishing example group spec/initializers/0_postgresql_types_spec.rb. It took 0.09 second. Expected to take 0.5 second. 4732 22:35:05 # [RSpecRunTime] Starting example group spec/services/users/repair_ldap_blocked_service_spec.rb. Expected to take 0.49 second. 4733 22:35:05 Users::RepairLdapBlockedService 4735 22:35:05 changes to normal block after destroying last ldap identity 4736 22:35:06 changes to normal block after changing last ldap identity to another provider 4737 22:35:06 # [RSpecRunTime] Finishing example group spec/services/users/repair_ldap_blocked_service_spec.rb. It took 0.51 second. Expected to take 0.49 second. 4738 22:35:06 # [RSpecRunTime] Starting example group spec/lib/gitlab/database/load_balancing/rack_middleware_spec.rb. Expected to take 0.45 second. 4739 22:35:06 Gitlab::Database::LoadBalancing::RackMiddleware 4741 22:35:06 handles a request 4742 22:35:06 #find_caught_up_replica 4743 22:35:06 does not stick if no namespace and identifier could be found 4744 22:35:06 sticks to the primary if a warden user is found 4745 22:35:06 sticks to the primary if a sticking namespace and identifier is found 4746 22:35:06 sticks to the primary if multiple sticking namespaces and identifiers were found 4747 22:35:06 #stick_if_necessary 4748 22:35:06 sticks to the primary for the user 4749 22:35:06 when no write was performed 4750 22:35:06 does not stick to the primary 4751 22:35:06 when there is no user in the env 4752 22:35:06 when there is an explicit single sticking object in the env 4753 22:35:06 sticks to the single sticking object 4754 22:35:06 when there is multiple explicit sticking objects 4755 22:35:06 sticks to the sticking objects 4756 22:35:06 when there no explicit sticking objects 4757 22:35:06 does not stick to the primary 4759 22:35:06 clears the currently used host and session 4760 22:35:06 #sticking_namespaces 4761 22:35:06 using a Warden request 4762 22:35:06 returns the warden user if present 4763 22:35:06 returns an empty Array if no user was present 4764 22:35:06 using a request with a manually set sticking object 4765 22:35:06 returns the sticking object 4766 22:35:06 using a regular request 4767 22:35:06 returns an empty Array 4768 22:35:06 # [RSpecRunTime] Finishing example group spec/lib/gitlab/database/load_balancing/rack_middleware_spec.rb. It took 0.43 second. Expected to take 0.45 second. 4769 22:35:06 # [RSpecRunTime] Starting example group spec/rubocop/cop/usage_data/histogram_with_large_table_spec.rb. Expected to take 0.44 second. 4770 22:35:06 RuboCop::Cop::UsageData::HistogramWithLargeTable 4771 22:35:06 when outside of an usage data file 4772 22:35:06 does not register an offense 4773 22:35:06 in an usage data file 4774 22:35:06 with large tables 4775 22:35:06 with one-level constants 4776 22:35:06 when calling histogram(Issue) 4777 22:35:06 registers an offense 4778 22:35:06 when calling histogram(::Issue) 4779 22:35:06 registers an offense 4780 22:35:06 when calling histogram(Issue.closed) 4781 22:35:06 registers an offense 4782 22:35:06 when calling histogram(::Issue.closed) 4783 22:35:06 registers an offense 4784 22:35:06 with two-level constants 4785 22:35:06 when calling histogram(::Ci::Build) 4786 22:35:06 registers an offense 4787 22:35:06 when calling histogram(::Ci::Build.active) 4788 22:35:06 registers an offense 4789 22:35:06 when calling histogram(Ci::Build) 4790 22:35:06 registers an offense 4791 22:35:06 when calling histogram(Ci::Build.active) 4792 22:35:06 registers an offense 4793 22:35:06 with non related class 4794 22:35:06 does not register an offense 4795 22:35:06 with non related method 4796 22:35:06 does not register an offense 4797 22:35:06 # [RSpecRunTime] Finishing example group spec/rubocop/cop/usage_data/histogram_with_large_table_spec.rb. It took 0.36 second. Expected to take 0.44 second. 4798 22:35:06 # [RSpecRunTime] Starting example group spec/rubocop/cop/redis_queue_usage_spec.rb. Expected to take 0.42 second. 4799 22:35:06 RuboCop::Cop::RedisQueueUsage 4800 22:35:07 registers offence for any invocation of Gitlab::Redis::Queues methods 4801 22:35:07 registers offence for using Gitlab::Redis::Queues as parameter in method calls 4802 22:35:07 when assigning Gitlab::Redis::Queues as a variable 4803 22:35:07 registers offence for any variable assignment 4804 22:35:07 registers offence for constant assignment 4805 22:35:07 when assigning Gitlab::Redis::Queues as a part of an array 4806 22:35:07 registers offence for variable assignments 4807 22:35:07 registers offence for constant assignments 4808 22:35:07 registers offence for constant assignments while invoking function 4809 22:35:07 registers offence for constant assignments while invoking multiple functions 4810 22:35:07 when assigning Gitlab::Redis::Queues as a part of a hash 4811 22:35:07 registers offence for variable assignments 4812 22:35:07 registers offence for constant assignments 4813 22:35:07 registers offence for constant assignments while invoking function 4814 22:35:07 registers offence for constant assignments while invoking multiple functions 4815 22:35:07 # [RSpecRunTime] Finishing example group spec/rubocop/cop/redis_queue_usage_spec.rb. It took 0.38 second. Expected to take 0.42 second. 4816 22:35:07 # [RSpecRunTime] Starting example group spec/lib/safe_zip/extract_spec.rb. Expected to take 0.4 second. 4817 22:35:07 SafeZip::Extract 4819 22:35:07 when using valid-simple.zip archive 4820 22:35:07 behaves like extracts archive 4821 22:35:07 when specifying directories 4822 22:35:07 does extract archive 4823 22:35:07 when specifying files 4824 22:35:07 does extract archive 4825 22:35:07 when using valid-symlinks-first.zip archive 4826 22:35:07 behaves like extracts archive 4827 22:35:07 when specifying directories 4828 22:35:07 does extract archive 4829 22:35:07 when specifying files 4830 22:35:07 does extract archive 4831 22:35:07 when using valid-non-writeable.zip archive 4832 22:35:07 behaves like extracts archive 4833 22:35:07 when specifying directories 4834 22:35:07 does extract archive 4835 22:35:07 when specifying files 4836 22:35:07 does extract archive 4837 22:35:07 when zip files are invalid 4838 22:35:07 name: "invalid-symlink-does-not-exist.zip", message: "does not exist" 4839 22:35:07 behaves like fails to extract archive 4840 22:35:07 does not extract archive 4841 22:35:07 name: "invalid-symlinks-outside.zip", message: "Symlink cannot be created" 4842 22:35:07 behaves like fails to extract archive 4843 22:35:07 does not extract archive 4844 22:35:07 name: "invalid-unexpected-large.zip", message: "larger when inflated" 4845 22:35:07 behaves like fails to extract archive 4846 22:35:07 does not extract archive 4847 22:35:07 when no matching directories are found 4848 22:35:07 behaves like fails to extract archive 4849 22:35:07 does not extract archive 4850 22:35:07 when no matching files are found 4851 22:35:07 behaves like fails to extract archive 4852 22:35:07 does not extract archive 4853 22:35:07 # [RSpecRunTime] Finishing example group spec/lib/safe_zip/extract_spec.rb. It took 0.34 second. Expected to take 0.4 second. 4854 22:35:07 # [RSpecRunTime] Starting example group spec/lib/sidebars/concerns/super_sidebar_panel_spec.rb. Expected to take 0.37 second. 4855 22:35:07 Sidebars::Concerns::SuperSidebarPanel 4856 22:35:07 #pick_from_old_menus 4857 22:35:07 removes items with #pick_into_super_sidebar? from a list and adds them to the panel menus 4858 22:35:07 #transform_old_menus 4859 22:35:07 converts "solo" top-level Menu entry to Menu Item 4860 22:35:07 drops "solo" top-level Menu entries, if they serialize to nil 4861 22:35:07 for Menus with Menu Items 4862 22:35:07 adds Menu Items to defined super_sidebar_parent 4863 22:35:07 replaces placeholder Menu Items in the defined super_sidebar_parent 4864 22:35:07 considers Menu Items uncategorized if super_sidebar_parent is nil 4865 22:35:07 considers Menu Items uncategorized if super_sidebar_parent cannot be found 4866 22:35:07 considers Menu Items deleted if super_sidebar_parent is Sidebars::NilMenuItem 4867 22:35:07 # [RSpecRunTime] Finishing example group spec/lib/sidebars/concerns/super_sidebar_panel_spec.rb. It took 0.2 second. Expected to take 0.37 second. 4868 22:35:07 # [RSpecRunTime] Starting example group spec/lib/bitbucket_server/client_spec.rb. Expected to take 0.36 second. 4869 22:35:07 BitbucketServer::Client 4871 22:35:07 requests a collection 4872 22:35:07 requests a collection with offset and limit 4874 22:35:08 requests a specific repository 4876 22:35:08 requests a collection 4877 22:35:08 requests a collection with an offset and limit 4878 22:35:08 when filter param is passed 4879 22:35:08 requests a collection with filter applied 4880 22:35:08 #delete_branch 4881 22:35:08 requests Bitbucket to create a branch 4883 22:35:08 requests a collection 4884 22:35:08 requests a collection with offset and limit 4885 22:35:08 #pull_requests 4886 22:35:08 requests a collection 4887 22:35:08 requests a collection with offset and limit 4888 22:35:08 #create_branch 4889 22:35:08 requests Bitbucket to create a branch 4890 22:35:08 # [RSpecRunTime] Finishing example group spec/lib/bitbucket_server/client_spec.rb. It took 0.31 second. Expected to take 0.36 second. 4891 22:35:08 # [RSpecRunTime] Starting example group spec/components/pajamas/broadcast_banner_component_spec.rb. Expected to take 0.34 second. 4892 22:35:08 Pajamas::BroadcastBannerComponent 4893 22:35:08 contains a screen reader message 4894 22:35:08 sets the message 4895 22:35:08 sets the correct classes 4896 22:35:08 sets the button testid 4897 22:35:08 adds data-broadcast-banner when banner is true 4898 22:35:08 when dismissable is false 4899 22:35:08 does not display close button 4900 22:35:08 when dismissable is true 4901 22:35:08 display close button 4902 22:35:08 when dismissal_path is no set 4903 22:35:08 display close button 4904 22:35:08 # [RSpecRunTime] Finishing example group spec/components/pajamas/broadcast_banner_component_spec.rb. It took 0.23 second. Expected to take 0.34 second. 4905 22:35:08 # [RSpecRunTime] Starting example group spec/lib/gitlab/cluster/lifecycle_events_spec.rb. Expected to take 0.34 second. 4906 22:35:08 Gitlab::Cluster::LifecycleEvents 4907 22:35:08 outside of clustered environments 4908 22:35:08 hook: :on_worker_start, was_executed_immediately: true 4909 22:35:08 executes the given block immediately 4910 22:35:08 hook: :on_before_fork, was_executed_immediately: false 4911 22:35:08 executes the given block immediately 4912 22:35:08 hook: :on_before_graceful_shutdown, was_executed_immediately: false 4913 22:35:08 executes the given block immediately 4914 22:35:08 hook: :on_before_master_restart, was_executed_immediately: false 4915 22:35:08 executes the given block immediately 4916 22:35:08 hook: :on_worker_stop, was_executed_immediately: false 4917 22:35:08 executes the given block immediately 4918 22:35:08 in clustered environments 4919 22:35:08 hook: :on_worker_start, execution_helper: :do_worker_start 4920 22:35:08 requires explicit execution via do_* helper 4921 22:35:08 hook: :on_before_fork, execution_helper: :do_before_fork 4922 22:35:08 requires explicit execution via do_* helper 4923 22:35:08 hook: :on_before_graceful_shutdown, execution_helper: :do_before_graceful_shutdown 4924 22:35:08 requires explicit execution via do_* helper 4925 22:35:08 hook: :on_before_master_restart, execution_helper: :do_before_master_restart 4926 22:35:08 requires explicit execution via do_* helper 4927 22:35:08 hook: :on_worker_stop, execution_helper: :do_worker_stop 4928 22:35:08 requires explicit execution via do_* helper 4930 22:35:08 when many hooks raise exception 4931 22:35:08 USE_FATAL_LIFECYCLE_EVENTS is set to default 4932 22:35:08 only first hook is executed and is fatal 4933 22:35:08 when USE_FATAL_LIFECYCLE_EVENTS is disabled 4934 22:35:08 ERROR: The hook my_hooks failed with exception (RuntimeError) "Exception A". 4935 22:35:08 ERROR: The hook my_hooks failed with exception (RuntimeError) "Exception B". 4936 22:35:08 many hooks are executed and all exceptions are logged 4937 22:35:08 # [RSpecRunTime] Finishing example group spec/lib/gitlab/cluster/lifecycle_events_spec.rb. It took 0.29 second. Expected to take 0.34 second. 4938 22:35:08 # [RSpecRunTime] Starting example group spec/lib/click_house/redactor_spec.rb. Expected to take 0.31 second. 4939 22:35:08 ClickHouse::Redactor 4941 22:35:08 when given simple conditions 4942 22:35:08 redacts equality conditions correctly 4943 22:35:08 when given IN conditions 4944 22:35:08 redacts IN conditions correctly 4945 22:35:08 with supported arel nodes 4946 22:35:08 redacts a query using the In node 4947 22:35:08 redacts a query using the Equality node 4948 22:35:08 redacts a query using the LessThan node 4949 22:35:08 redacts a query using the LessThanOrEqual node 4950 22:35:08 redacts a query using the GreaterThan node 4951 22:35:08 redacts a query using the GreaterThanOrEqual node 4952 22:35:08 with unsupported arel nodes 4953 22:35:08 raises an error for the unsupported node 4954 22:35:08 when method chaining is used 4955 22:35:09 redacts chained conditions correctly 4956 22:35:09 when calling .redact multiple times 4957 22:35:09 produces consistent redacted SQL 4958 22:35:09 # [RSpecRunTime] Finishing example group spec/lib/click_house/redactor_spec.rb. It took 0.29 second. Expected to take 0.31 second. 4959 22:35:09 # [RSpecRunTime] Starting example group spec/rubocop/cop/gitlab/feature_available_usage_spec.rb. Expected to take 0.31 second. 4960 22:35:09 RuboCop::Cop::Gitlab::FeatureAvailableUsage 4961 22:35:09 no arguments given 4962 22:35:09 does not flag the use of Gitlab::Sourcegraph.feature_available? with no arguments 4963 22:35:09 one argument given 4964 22:35:09 does not flag the use of License.feature_available? 4965 22:35:09 does not flag the use of Gitlab::Saas.feature_available? 4966 22:35:09 flags the use with a dynamic feature as nil 4967 22:35:09 flags the use with an OSS project feature 4968 22:35:09 flags the use with a feature that is not a project feature 4969 22:35:09 two arguments given 4970 22:35:09 does not flag the use with an OSS project feature 4971 22:35:09 does not flag the use with an EE project feature 4972 22:35:09 flags the use with a dynamic feature as a method call with two args 4973 22:35:09 # [RSpecRunTime] Finishing example group spec/rubocop/cop/gitlab/feature_available_usage_spec.rb. It took 0.23 second. Expected to take 0.31 second. 4974 22:35:09 # [RSpecRunTime] Starting example group spec/lib/click_house/models/base_model_spec.rb. Expected to take 0.29 second. 4975 22:35:09 ClickHouse::Models::BaseModel 4977 22:35:09 raises a NotImplementedError for the base model 4978 22:35:09 does not raise an error for the subclass 4980 22:35:09 returns a new instance with an offset clause 4982 22:35:09 returns a new instance with grouped results 4984 22:35:09 returns a new instance with a limit clause 4986 22:35:09 returns a new instance with an order clause 4987 22:35:09 when direction is also passed 4988 22:35:09 returns a new instance with an order clause 4990 22:35:09 returns a new instance with selected fields 4992 22:35:09 delegates to the query builder 4994 22:35:09 returns a new instance with refined query 4995 22:35:09 # [RSpecRunTime] Finishing example group spec/lib/click_house/models/base_model_spec.rb. It took 0.23 second. Expected to take 0.29 second. 4996 22:35:09 # [RSpecRunTime] Starting example group spec/graphql/types/untrusted_regexp_spec.rb. Expected to take 0.28 second. 4997 22:35:09 Types::UntrustedRegexp 4998 22:35:09 is expected to eq "UntrustedRegexp" 4999 22:35:09 is expected to eq "A regexp containing patterns sourced from user input" 5000 22:35:09 .coerce_result 5001 22:35:09 input: "1", expected_result: "1" 5002 22:35:09 with input 1 5003 22:35:09 is expected to eq "1" 5004 22:35:09 input: 1, expected_result: "1" 5005 22:35:09 with input 1 5006 22:35:09 is expected to eq "1" 5007 22:35:09 input: true, expected_result: "true" 5008 22:35:09 with input true 5009 22:35:09 is expected to eq "true" 5010 22:35:09 .coerce_input 5011 22:35:09 input: ".*", expected_result: ".*" 5012 22:35:09 with input .* 5013 22:35:09 is expected to eq ".*" 5014 22:35:09 input: "(.*)", expected_result: "(.*)" 5015 22:35:09 with input (.*) 5016 22:35:09 is expected to eq "(.*)" 5017 22:35:09 input: "[test*]+", expected_result: "[test*]+" 5018 22:35:09 with input [test*]+ 5019 22:35:09 is expected to eq "[test*]+" 5020 22:35:09 input: "*v1", expected_result: :raise_error 5021 22:35:09 with input *v1 5022 22:35:09 raises a coercion error 5023 22:35:09 input: "[test*", expected_result: :raise_error 5024 22:35:09 with input [test* 5025 22:35:09 raises a coercion error 5026 22:35:09 input: "test*+", expected_result: :raise_error 5027 22:35:09 with input test*+ 5028 22:35:09 raises a coercion error 5029 22:35:09 # [RSpecRunTime] Finishing example group spec/graphql/types/untrusted_regexp_spec.rb. It took 0.24 second. Expected to take 0.28 second. 5030 22:35:09 # [RSpecRunTime] Starting example group spec/validators/ip_address_validator_spec.rb. Expected to take 0.27 second. 5031 22:35:09 IpAddressValidator 5032 22:35:09 ip_address: "", validity: true, errors: {} 5033 22:35:09 is expected to eq true 5034 22:35:09 is expected to eq {} 5035 22:35:09 ip_address: "2001:0db8:85a3::8a2e:0370:7334", validity: true, errors: {} 5036 22:35:09 is expected to eq true 5037 22:35:09 is expected to eq {} 5038 22:35:09 ip_address: "invalid IP", validity: false, errors: {:ip_address=>["must be a valid IPv4 or IPv6 address"]} 5039 22:35:09 is expected to eq false 5040 22:35:09 is expected to eq {:ip_address=>["must be a valid IPv4 or IPv6 address"]} 5041 22:35:09 ip_address: "192.168.17.43", validity: true, errors: {} 5042 22:35:09 is expected to eq true 5043 22:35:09 is expected to eq {} 5044 22:35:09 ip_address: nil, validity: true, errors: {} 5045 22:35:09 is expected to eq true 5046 22:35:09 is expected to eq {} 5047 22:35:10 # [RSpecRunTime] Finishing example group spec/validators/ip_address_validator_spec.rb. It took 0.27 second. Expected to take 0.27 second. 5048 22:35:10 # [RSpecRunTime] Starting example group spec/lib/gitlab/request_forgery_protection_spec.rb. Expected to take 0.26 second. 5049 22:35:10 Gitlab::RequestForgeryProtection 5050 22:35:10 logs to /dev/null 5052 22:35:10 when the request method is GET 5053 22:35:10 does not raise an exception 5054 22:35:10 when the request method is POST 5055 22:35:10 when the CSRF token is valid 5056 22:35:10 does not raise an exception 5057 22:35:10 when the CSRF token is invalid 5058 22:35:10 raises an ActionController::InvalidAuthenticityToken exception 5060 22:35:10 does not modify the env 5061 22:35:10 when the request method is GET 5062 22:35:10 returns true 5063 22:35:10 when the request method is POST 5064 22:35:10 when the CSRF token is valid 5065 22:35:10 returns true 5066 22:35:10 when the CSRF token is valid and in the body 5067 22:35:10 returns true 5068 22:35:10 when the CSRF token is invalid 5069 22:35:10 returns false 5070 22:35:10 # [RSpecRunTime] Finishing example group spec/lib/gitlab/request_forgery_protection_spec.rb. It took 0.24 second. Expected to take 0.26 second. 5071 22:35:10 # [RSpecRunTime] Starting example group spec/lib/gitlab/sql/except_spec.rb. Expected to take 0.25 second. 5072 22:35:10 Gitlab::SQL::Except 5073 22:35:10 behaves like SQL set operator 5074 22:35:10 .operator_keyword 5075 22:35:10 is expected to eq "EXCEPT" 5077 22:35:10 returns a String joining relations together using a EXCEPT 5078 22:35:10 skips Model.none segments 5079 22:35:10 uses EXCEPT ALL when removing duplicates is disabled 5080 22:35:10 returns `NULL` if all relations are empty 5081 22:35:10 when uneven select values are used 5082 22:35:10 raises error 5083 22:35:10 remove_order parameter 5084 22:35:10 when remove_order: true 5085 22:35:10 removes the ORDER BY from the query 5086 22:35:10 when remove_order: false 5087 22:35:10 does not remove the ORDER BY from the query 5088 22:35:10 # [RSpecRunTime] Finishing example group spec/lib/gitlab/sql/except_spec.rb. It took 0.23 second. Expected to take 0.25 second. 5089 22:35:10 # [RSpecRunTime] Starting example group spec/models/concerns/file_store_mounter_spec.rb. Expected to take 0.24 second. 5090 22:35:10 FileStoreMounter 5091 22:35:10 does not allow STI 5092 22:35:10 with an instance 5093 22:35:10 #update_file_store 5094 22:35:10 calls update column 5095 22:35:10 when the model file store is set to the same value 5096 22:35:10 does not call update column 5097 22:35:10 #store_file_now! 5098 22:35:10 calls the dynamic functions 5099 22:35:10 .mount_file_store_uploader 5100 22:35:10 skip_store_file: true, file_field: :file 5101 22:35:10 defines instance methods and registers a callback 5102 22:35:10 skip_store_file: false, file_field: :file 5103 22:35:10 defines instance methods and registers a callback 5104 22:35:10 skip_store_file: false, file_field: :signed_file 5105 22:35:10 defines instance methods and registers a callback 5106 22:35:10 skip_store_file: true, file_field: :signed_file 5107 22:35:10 defines instance methods and registers a callback 5108 22:35:10 with an unknown file_field 5109 22:35:10 is expected to raise ArgumentError with "file_field not allowed: unknown" 5110 22:35:10 # [RSpecRunTime] Finishing example group spec/models/concerns/file_store_mounter_spec.rb. It took 0.24 second. Expected to take 0.24 second. 5111 22:35:10 # [RSpecRunTime] Starting example group spec/rubocop/cop/sidekiq_options_queue_spec.rb. Expected to take 0.23 second. 5112 22:35:10 RuboCop::Cop::SidekiqOptionsQueue 5113 22:35:10 registers an offense when `sidekiq_options` is used with the `queue` option 5114 22:35:10 does not register an offense when `sidekiq_options` is used with another option 5115 22:35:10 # [RSpecRunTime] Finishing example group spec/rubocop/cop/sidekiq_options_queue_spec.rb. It took 0.08 second. Expected to take 0.23 second. 5116 22:35:10 # [RSpecRunTime] Starting example group spec/lib/gitlab/cross_project_access_spec.rb. Expected to take 0.22 second. 5117 22:35:10 Gitlab::CrossProjectAccess 5119 22:35:10 keeps track of the properties to check 5120 22:35:10 builds the check correctly 5121 22:35:10 merges the checks of a parent class into existing checks of a subclass 5122 22:35:10 merges the existing checks of a superclass into the checks of a subclass 5124 22:35:10 returns a check when it was defined for a superclass 5125 22:35:10 caches the result for a subclass 5126 22:35:10 returns the checks for the closest class if there are more checks available 5127 22:35:10 # [RSpecRunTime] Finishing example group spec/lib/gitlab/cross_project_access_spec.rb. It took 0.19 second. Expected to take 0.22 second. 5128 22:35:10 # [RSpecRunTime] Starting example group spec/models/anti_abuse/reports/user_mention_spec.rb. Expected to take 0.21 second. 5129 22:35:10 AntiAbuse::Reports::UserMention 5130 22:35:11 does not allow STI 5131 22:35:11 associations 5132 22:35:11 is expected to belong to abuse_report optional: false 5133 22:35:11 is expected to belong to note optional: false 5134 22:35:11 behaves like has user mentions 5135 22:35:11 #has_mentions? 5136 22:35:11 when no mentions 5137 22:35:11 returns false 5138 22:35:11 when mentioned_users_ids not null 5139 22:35:11 returns true 5140 22:35:11 when mentioned projects 5141 22:35:11 returns true 5142 22:35:11 when mentioned groups 5143 22:35:11 returns true 5144 22:35:11 # [RSpecRunTime] Finishing example group spec/models/anti_abuse/reports/user_mention_spec.rb. It took 0.21 second. Expected to take 0.21 second. 5145 22:35:11 # [RSpecRunTime] Starting example group spec/initializers/net_http_patch_spec.rb. Expected to take 0.2 second. 5146 22:35:11 Net::HTTP patch proxy user and password encoding 5148 22:35:11 example at ./spec/initializers/net_http_patch_spec.rb:60 (PENDING: No reason given) 5149 22:35:11 with http_proxy env 5150 22:35:11 example at ./spec/initializers/net_http_patch_spec.rb:70 (PENDING: No reason given) 5151 22:35:11 and user:password authentication 5152 22:35:11 when on multiuser safe platform 5153 22:35:11 example at ./spec/initializers/net_http_patch_spec.rb:83 (PENDING: No reason given) 5154 22:35:11 when not on multiuser safe platform 5155 22:35:11 example at ./spec/initializers/net_http_patch_spec.rb:91 (PENDING: No reason given) 5157 22:35:11 example at ./spec/initializers/net_http_patch_spec.rb:20 (PENDING: No reason given) 5158 22:35:11 with http_proxy env 5159 22:35:11 example at ./spec/initializers/net_http_patch_spec.rb:30 (PENDING: No reason given) 5160 22:35:11 and user:password authentication 5161 22:35:11 when on multiuser safe platform 5162 22:35:11 example at ./spec/initializers/net_http_patch_spec.rb:43 (PENDING: No reason given) 5163 22:35:11 when not on multiuser safe platform 5164 22:35:11 example at ./spec/initializers/net_http_patch_spec.rb:51 (PENDING: No reason given) 5165 22:35:11 # [RSpecRunTime] Finishing example group spec/initializers/net_http_patch_spec.rb. It took 0.2 second. Expected to take 0.2 second. 5166 22:35:11 # [RSpecRunTime] Starting example group spec/lib/gitlab/ci/reports/security/locations/secret_detection_spec.rb. Expected to take 0.2 second. 5167 22:35:11 Gitlab::Ci::Reports::Security::Locations::SecretDetection 5168 22:35:11 behaves like vulnerability location 5170 22:35:11 when all params are given 5171 22:35:11 initializes an instance 5172 22:35:11 param: :file_path 5173 22:35:11 when param file_path is missing 5174 22:35:11 raises an error 5175 22:35:11 param: :start_line 5176 22:35:11 when param start_line is missing 5177 22:35:11 raises an error 5178 22:35:11 #fingerprint 5179 22:35:11 generates expected fingerprint 5180 22:35:11 #fingerprint_path 5181 22:35:11 generates expected fingerprint 5183 22:35:11 returns true when fingerprints are equal 5184 22:35:11 returns false when fingerprints are different 5185 22:35:11 # [RSpecRunTime] Finishing example group spec/lib/gitlab/ci/reports/security/locations/secret_detection_spec.rb. It took 0.18 second. Expected to take 0.2 second. 5186 22:35:11 # [RSpecRunTime] Starting example group spec/lib/gitlab/database/type/json_pg_safe_spec.rb. Expected to take 0.19 second. 5187 22:35:11 Gitlab::Database::Type::JsonPgSafe 5189 22:35:11 value: nil, json: nil 5190 22:35:11 is expected to eq nil 5191 22:35:11 value: 1, json: "1" 5192 22:35:11 is expected to eq "1" 5193 22:35:11 value: 1.0, json: "1.0" 5194 22:35:11 is expected to eq "1.0" 5195 22:35:11 value: "str\u0000ing\u0000", json: "\"string\"" 5196 22:35:11 is expected to eq "\"string\"" 5197 22:35:11 value: ["\u0000arr", "a\u0000y"], json: "[\"arr\",\"ay\"]" 5198 22:35:11 is expected to eq "[\"arr\",\"ay\"]" 5199 22:35:11 value: {"key\u0000"=>"value\u0000\u0000"}, json: "{\"key\":\"value\"}" 5200 22:35:11 is expected to eq "{\"key\":\"value\"}" 5201 22:35:11 # [RSpecRunTime] Finishing example group spec/lib/gitlab/database/type/json_pg_safe_spec.rb. It took 0.15 second. Expected to take 0.19 second. 5202 22:35:11 # [RSpecRunTime] Starting example group spec/lib/gitlab/ci/status/preparing_spec.rb. Expected to take 0.19 second. 5203 22:35:11 Gitlab::Ci::Status::Preparing 5205 22:35:11 is expected to eq "Preparing" 5207 22:35:11 is expected to eq "preparing" 5209 22:35:11 is expected to eq "status_preparing" 5211 22:35:11 is expected to eq "favicon_status_preparing" 5213 22:35:11 is expected to eq "preparing" 5214 22:35:11 #details_path 5215 22:35:11 is expected to be nil 5216 22:35:11 # [RSpecRunTime] Finishing example group spec/lib/gitlab/ci/status/preparing_spec.rb. It took 0.21 second. Expected to take 0.19 second. 5217 22:35:11 # [RSpecRunTime] Starting example group spec/services/events/render_service_spec.rb. Expected to take 0.18 second. 5218 22:35:11 Events::RenderService 5220 22:35:11 when the request format is atom 5221 22:35:12 renders the note inside events 5222 22:35:12 when the request format is not atom 5223 22:35:12 renders the note inside events 5224 22:35:12 # [RSpecRunTime] Finishing example group spec/services/events/render_service_spec.rb. It took 0.2 second. Expected to take 0.18 second. 5225 22:35:12 # [RSpecRunTime] Starting example group spec/rubocop/cop/active_record_association_reload_spec.rb. Expected to take 0.18 second. 5226 22:35:12 RuboCop::Cop::ActiveRecordAssociationReload 5227 22:35:12 when using ActiveRecord::Relation 5228 22:35:12 registers an offense on reload usage 5229 22:35:12 does not register an offense on reset usage 5230 22:35:12 when using on self 5231 22:35:12 registers an offense on reload usage 5232 22:35:12 does not register an offense on reset usage 5233 22:35:12 when using ActiveRecord::Base 5234 22:35:12 registers an offense on reload usage 5235 22:35:12 does not register an offense on reset usage 5236 22:35:12 # [RSpecRunTime] Finishing example group spec/rubocop/cop/active_record_association_reload_spec.rb. It took 0.19 second. Expected to take 0.18 second. 5237 22:35:12 # [RSpecRunTime] Starting example group spec/lib/gitlab/config/entry/simplifiable_spec.rb. Expected to take 0.16 second. 5238 22:35:12 Gitlab::Config::Entry::Simplifiable 5240 22:35:12 defines entry strategies 5241 22:35:12 setting strategy by a condition 5242 22:35:12 when first strategy should be used 5243 22:35:12 attemps to load a first strategy 5244 22:35:12 when second strategy should be used 5245 22:35:12 attemps to load a second strategy 5246 22:35:12 when neither one is a valid strategy 5247 22:35:12 instantiates an unknown strategy 5248 22:35:12 when a unknown strategy class is not defined 5249 22:35:12 raises an error when being initialized 5250 22:35:12 # [RSpecRunTime] Finishing example group spec/lib/gitlab/config/entry/simplifiable_spec.rb. It took 0.14 second. Expected to take 0.16 second. 5251 22:35:12 # [RSpecRunTime] Starting example group spec/lib/gitlab/ci/build/artifacts/adapters/raw_stream_spec.rb. Expected to take 0.16 second. 5252 22:35:12 Gitlab::Ci::Build::Artifacts::Adapters::RawStream 5254 22:35:12 when stream is passed 5256 22:35:12 when stream is not passed 5257 22:35:12 raises an error 5259 22:35:12 when file is not empty 5260 22:35:12 iterates content 5261 22:35:12 when file is empty 5262 22:35:12 does not iterate content 5263 22:35:12 # [RSpecRunTime] Finishing example group spec/lib/gitlab/ci/build/artifacts/adapters/raw_stream_spec.rb. It took 0.13 second. Expected to take 0.16 second. 5264 22:35:12 # [RSpecRunTime] Starting example group spec/lib/gitlab/database/migrations/runner_backoff/migration_helpers_spec.rb. Expected to take 0.16 second. 5265 22:35:12 Gitlab::Database::Migrations::RunnerBackoff::MigrationHelpers 5266 22:35:12 .enable_runner_backoff! 5267 22:35:12 sets the flag 5268 22:35:12 #enable_runner_backoff? 5269 22:35:12 is expected to be falsy 5270 22:35:12 returns true if the flag is set 5271 22:35:12 .enable_runner_backoff? 5272 22:35:12 is expected to be falsy 5273 22:35:12 returns true if the flag is set 5274 22:35:12 # [RSpecRunTime] Finishing example group spec/lib/gitlab/database/migrations/runner_backoff/migration_helpers_spec.rb. It took 0.14 second. Expected to take 0.16 second. 5275 22:35:12 # [RSpecRunTime] Starting example group spec/serializers/move_to_project_entity_spec.rb. Expected to take 0.15 second. 5276 22:35:12 MoveToProjectEntity 5278 22:35:12 includes the project ID 5279 22:35:12 includes the human-readable full path 5280 22:35:12 includes the full path 5281 22:35:12 # [RSpecRunTime] Finishing example group spec/serializers/move_to_project_entity_spec.rb. It took 0.15 second. Expected to take 0.15 second. 5282 22:35:12 # [RSpecRunTime] Starting example group spec/lib/gitlab/database/load_balancing/resolver_spec.rb. Expected to take 0.14 second. 5283 22:35:12 Gitlab::Database::LoadBalancing::Resolver 5285 22:35:12 when nameserver is an IP 5286 22:35:12 returns an IPAddr object 5287 22:35:12 when nameserver is not an IP 5288 22:35:12 looks the nameserver up in the hosts file 5289 22:35:12 when nameserver is not in the hosts file 5290 22:35:12 looks the nameserver up in DNS 5291 22:35:12 when nameserver is not in DNS 5292 22:35:13 raises an exception 5293 22:35:13 when DNS does not respond 5294 22:35:13 raises an exception 5295 22:35:13 # [RSpecRunTime] Finishing example group spec/lib/gitlab/database/load_balancing/resolver_spec.rb. It took 0.14 second. Expected to take 0.14 second. 5296 22:35:13 # [RSpecRunTime] Starting example group spec/lib/gitlab/legacy_github_import/issuable_formatter_spec.rb. Expected to take 0.13 second. 5297 22:35:13 Gitlab::LegacyGithubImport::IssuableFormatter 5298 22:35:13 #project_association 5299 22:35:13 is expected to raise NotImplementedError 5300 22:35:13 #project_assignee_association 5301 22:35:13 is expected to raise NotImplementedError 5303 22:35:13 is expected to eq 42 5304 22:35:13 #find_condition 5305 22:35:13 is expected to eq {:iid=>42} 5306 22:35:13 #contributing_assignee_formatters 5307 22:35:13 is expected to raise NotImplementedError 5308 22:35:13 # [RSpecRunTime] Finishing example group spec/lib/gitlab/legacy_github_import/issuable_formatter_spec.rb. It took 0.14 second. Expected to take 0.13 second. 5309 22:35:13 # [RSpecRunTime] Starting example group spec/initializers/100_patch_omniauth_saml_spec.rb. Expected to take 0.13 second. 5310 22:35:13 OmniAuth::Strategies::SAML 5311 22:35:13 POST /users/auth/saml 5312 22:35:13 redirects to the provider login page 5313 22:35:13 stores request ID during request phase 5314 22:35:13 # [RSpecRunTime] Finishing example group spec/initializers/100_patch_omniauth_saml_spec.rb. It took 0.09 second. Expected to take 0.13 second. 5315 22:35:13 # [RSpecRunTime] Starting example group spec/serializers/merge_request_basic_entity_spec.rb. Expected to take 0.13 second. 5316 22:35:13 MergeRequestBasicEntity 5317 22:35:13 has public_merge_status as merge_status 5319 22:35:13 contains reviewers attributes 5320 22:35:13 # [RSpecRunTime] Finishing example group spec/serializers/merge_request_basic_entity_spec.rb. It took 0.15 second. Expected to take 0.13 second. 5321 22:35:13 # [RSpecRunTime] Starting example group spec/lib/banzai/filter_array_spec.rb. Expected to take 0.12 second. 5322 22:35:13 Banzai::FilterArray 5323 22:35:13 #insert_after 5324 22:35:13 inserts an element after a provided element 5325 22:35:13 inserts an element at the end when the provided element does not exist 5326 22:35:13 #insert_before 5327 22:35:13 inserts an element before a provided element 5328 22:35:13 inserts an element at the beginning when the provided element does not exist 5329 22:35:13 # [RSpecRunTime] Finishing example group spec/lib/banzai/filter_array_spec.rb. It took 0.12 second. Expected to take 0.12 second. 5330 22:35:13 # [RSpecRunTime] Starting example group spec/serializers/test_reports_comparer_entity_spec.rb. Expected to take 0.12 second. 5331 22:35:13 TestReportsComparerEntity 5333 22:35:13 when head and base reports include two test suites 5334 22:35:13 when the status of head report is success 5335 22:35:13 contains correct compared test reports details 5336 22:35:13 when the status of head report is failed 5337 22:35:13 contains correct compared test reports details 5338 22:35:13 when the status of head report is resolved 5339 22:35:13 contains correct compared test reports details 5340 22:35:13 # [RSpecRunTime] Finishing example group spec/serializers/test_reports_comparer_entity_spec.rb. It took 0.1 second. Expected to take 0.12 second. 5341 22:35:13 # [RSpecRunTime] Starting example group spec/lib/gitlab/import_export/model_configuration_spec.rb. Expected to take 0.11 second. 5342 22:35:13 Import/Export model configuration 5343 22:35:13 has no new models 5344 22:35:13 # [RSpecRunTime] Finishing example group spec/lib/gitlab/import_export/model_configuration_spec.rb. It took 0.07 second. Expected to take 0.11 second. 5345 22:35:13 # [RSpecRunTime] Starting example group spec/graphql/types/packages/package_type_spec.rb. Expected to take 0.11 second. 5346 22:35:13 Types::Packages::PackageType 5347 22:35:13 includes all the package fields and pipelines 5348 22:35:13 is expected to eq "Represents a package with pipelines in the Package Registry" 5349 22:35:13 is expected to require graphql authorizations :read_package 5350 22:35:13 is expected to expose permissions using Types::PermissionTypes::Package 5351 22:35:13 # [RSpecRunTime] Finishing example group spec/graphql/types/packages/package_type_spec.rb. It took 0.12 second. Expected to take 0.11 second. 5352 22:35:13 # [RSpecRunTime] Starting example group spec/graphql/types/ci/pipeline_schedule_type_spec.rb. Expected to take 0.1 second. 5353 22:35:13 Types::Ci::PipelineScheduleType 5354 22:35:13 is expected to expose permissions using Types::PermissionTypes::Ci::PipelineSchedules 5355 22:35:13 exposes the expected fields 5356 22:35:13 is expected to eq "PipelineSchedule" 5357 22:35:13 # [RSpecRunTime] Finishing example group spec/graphql/types/ci/pipeline_schedule_type_spec.rb. It took 0.09 second. Expected to take 0.1 second. 5358 22:35:13 # [RSpecRunTime] Starting example group spec/services/captcha/captcha_verification_service_spec.rb. Expected to take 0.1 second. 5359 22:35:13 Captcha::CaptchaVerificationService 5361 22:35:13 when there is no captcha_response 5362 22:35:13 returns false 5363 22:35:13 when there is a captcha_response 5364 22:35:13 returns false 5365 22:35:13 has a request method which returns an object with the ip address #remote_ip 5366 22:35:14 # [RSpecRunTime] Finishing example group spec/services/captcha/captcha_verification_service_spec.rb. It took 0.09 second. Expected to take 0.1 second. 5367 22:35:14 # [RSpecRunTime] Starting example group spec/helpers/external_link_helper_spec.rb. Expected to take 0.1 second. 5368 22:35:14 ExternalLinkHelper 5369 22:35:14 returns external link with icon 5370 22:35:14 allows options when creating external link with icon 5371 22:35:14 sanitizes and returns external link with icon 5372 22:35:14 # [RSpecRunTime] Finishing example group spec/helpers/external_link_helper_spec.rb. It took 0.09 second. Expected to take 0.1 second. 5373 22:35:14 # [RSpecRunTime] Starting example group spec/lib/gitlab/health_checks/middleware_spec.rb. Expected to take 0.09 second. 5374 22:35:14 Gitlab::HealthChecks::Middleware 5376 22:35:14 handling /readiness requests 5377 22:35:14 handles the request 5378 22:35:14 handling /liveness requests 5379 22:35:14 handles the request 5380 22:35:14 handling other requests 5381 22:35:14 forwards them to the next middleware 5382 22:35:14 # [RSpecRunTime] Finishing example group spec/lib/gitlab/health_checks/middleware_spec.rb. It took 0.09 second. Expected to take 0.09 second. 5383 22:35:14 # [RSpecRunTime] Starting example group spec/graphql/types/alert_management/integration_type_enum_spec.rb. Expected to take 0.09 second. 5384 22:35:14 Types::AlertManagement::IntegrationTypeEnum 5385 22:35:14 is expected to eq "AlertManagementIntegrationType" 5387 22:35:14 name: "PROMETHEUS", value: :prometheus 5388 22:35:14 exposes a type with the correct value 5389 22:35:14 name: "HTTP", value: :http 5390 22:35:14 exposes a type with the correct value 5391 22:35:14 # [RSpecRunTime] Finishing example group spec/graphql/types/alert_management/integration_type_enum_spec.rb. It took 0.09 second. Expected to take 0.09 second. 5392 22:35:14 # [RSpecRunTime] Starting example group spec/lib/banzai/filter/markdown_engines/base_spec.rb. Expected to take 0.08 second. 5393 22:35:14 Banzai::Filter::MarkdownEngines::Base 5394 22:35:14 turns off sourcepos 5395 22:35:14 raise error if render not implemented 5396 22:35:14 accepts a nil context 5397 22:35:14 # [RSpecRunTime] Finishing example group spec/lib/banzai/filter/markdown_engines/base_spec.rb. It took 0.08 second. Expected to take 0.08 second. 5398 22:35:14 # [RSpecRunTime] Starting example group spec/components/pajamas/breadcrumb_item_component_spec.rb. Expected to take 0.08 second. 5399 22:35:14 Pajamas::BreadcrumbItemComponent 5400 22:35:14 is expected to have visible link "Foo" with href "/bar" 5401 22:35:14 is expected to have visible css ".gl-breadcrumb-item a" 5402 22:35:14 # [RSpecRunTime] Finishing example group spec/components/pajamas/breadcrumb_item_component_spec.rb. It took 0.07 second. Expected to take 0.08 second. 5403 22:35:14 # [RSpecRunTime] Starting example group spec/rubocop/cop/gitlab/ee_only_class_spec.rb. Expected to take 0.07 second. 5404 22:35:14 RuboCop::Cop::Gitlab::EeOnlyClass 5405 22:35:14 bad examples 5406 22:35:14 when class is defined and matches the file basename 5407 22:35:14 registers an offense 5408 22:35:14 good examples 5409 22:35:14 when class is defined and does not match file basename 5410 22:35:14 does not register an offense 5411 22:35:14 # [RSpecRunTime] Finishing example group spec/rubocop/cop/gitlab/ee_only_class_spec.rb. It took 0.07 second. Expected to take 0.07 second. 5412 22:35:14 # [RSpecRunTime] Starting example group spec/lib/sidebars/projects/super_sidebar_menus/secure_menu_spec.rb. Expected to take 0.07 second. 5413 22:35:14 Sidebars::Projects::SuperSidebarMenus::SecureMenu 5414 22:35:14 has title and sprite_icon 5415 22:35:14 defines list of NilMenuItem placeholders 5416 22:35:14 # [RSpecRunTime] Finishing example group spec/lib/sidebars/projects/super_sidebar_menus/secure_menu_spec.rb. It took 0.06 second. Expected to take 0.07 second. 5417 22:35:14 # [RSpecRunTime] Starting example group spec/graphql/types/clusters/agents/authorizations/ci_access_type_spec.rb. Expected to take 0.07 second. 5418 22:35:14 Types::Clusters::Agents::Authorizations::CiAccessType 5419 22:35:14 is expected to eq "ClusterAgentAuthorizationCiAccess" 5420 22:35:14 is expected to have graphql fields :agent and :config 5421 22:35:14 # [RSpecRunTime] Finishing example group spec/graphql/types/clusters/agents/authorizations/ci_access_type_spec.rb. It took 0.06 second. Expected to take 0.07 second. 5422 22:35:14 # [RSpecRunTime] Starting example group spec/graphql/types/ci/pipeline_schedule_status_enum_spec.rb. Expected to take 0.07 second. 5423 22:35:14 Types::Ci::PipelineScheduleStatusEnum 5424 22:35:14 exposes the status of a pipeline schedule 5425 22:35:14 is expected to eq "PipelineScheduleStatus" 5426 22:35:14 # [RSpecRunTime] Finishing example group spec/graphql/types/ci/pipeline_schedule_status_enum_spec.rb. It took 0.06 second. Expected to take 0.07 second. 5427 22:35:14 # [RSpecRunTime] Starting example group spec/lib/gitlab/git/diff_tree_spec.rb. Expected to take 0.07 second. 5428 22:35:14 Gitlab::Git::DiffTree 5429 22:35:14 #left_tree_id 5430 22:35:14 is expected to eq "1a0b36b3cdad1d2ee32457c102a8c0b7056fa863" 5431 22:35:14 #right_tree_id 5432 22:35:14 is expected to eq "60ecb67744cb56576c30214ff52294f8ce2def98" 5433 22:35:14 # [RSpecRunTime] Finishing example group spec/lib/gitlab/git/diff_tree_spec.rb. It took 0.06 second. Expected to take 0.07 second. 5434 22:35:14 # [RSpecRunTime] Starting example group spec/graphql/types/commit_signatures/verification_status_enum_spec.rb. Expected to take 0.07 second. 5435 22:35:14 Types::CommitSignatures::VerificationStatusEnum 5436 22:35:14 exposes all signature verification states 5437 22:35:14 is expected to eq "VerificationStatus" 5438 22:35:14 # [RSpecRunTime] Finishing example group spec/graphql/types/commit_signatures/verification_status_enum_spec.rb. It took 0.06 second. Expected to take 0.07 second. 5439 22:35:14 # [RSpecRunTime] Starting example group spec/lib/gitlab/auth/ip_blocked_spec.rb. Expected to take 0.07 second. 5440 22:35:14 Gitlab::Auth::IpBlocked 5441 22:35:14 is expected to be a kind of StandardError 5443 22:35:14 is expected to eq "Too many failed authentication attempts from this IP" 5444 22:35:14 # [RSpecRunTime] Finishing example group spec/lib/gitlab/auth/ip_blocked_spec.rb. It took 0.06 second. Expected to take 0.07 second. 5445 22:35:14 # [RSpecRunTime] Starting example group spec/graphql/types/ci/test_suite_type_spec.rb. Expected to take 0.06 second. 5446 22:35:14 Types::Ci::TestSuiteType 5447 22:35:14 contains attributes related to a pipeline test suite 5448 22:35:14 is expected to eq "TestSuite" 5449 22:35:14 # [RSpecRunTime] Finishing example group spec/graphql/types/ci/test_suite_type_spec.rb. It took 0.06 second. Expected to take 0.06 second. 5450 22:35:14 # [RSpecRunTime] Starting example group spec/graphql/types/work_items/widgets/crm_contacts_create_input_type_spec.rb. Expected to take 0.06 second. 5451 22:35:14 Types::WorkItems::Widgets::CrmContactsCreateInputType 5452 22:35:14 is expected to eq "WorkItemWidgetCrmContactsCreateInput" 5453 22:35:14 is expected to contain exactly "contactIds" 5454 22:35:14 # [RSpecRunTime] Finishing example group spec/graphql/types/work_items/widgets/crm_contacts_create_input_type_spec.rb. It took 0.06 second. Expected to take 0.06 second. 5455 22:35:14 # [RSpecRunTime] Starting example group spec/graphql/types/permission_types/merge_request_spec.rb. Expected to take 0.05 second. 5456 22:35:14 Types::PermissionTypes::MergeRequest 5457 22:35:15 is expected to have graphql fields :read_merge_request, :admin_merge_request, :update_merge_request, :create_note, :push_to_source_branch, :remove_source_branch, :cherry_pick_on_current_merge_request, :revert_on_current_merge_request, :can_merge, and :can_approve 5458 22:35:15 # [RSpecRunTime] Finishing example group spec/graphql/types/permission_types/merge_request_spec.rb. It took 0.09 second. Expected to take 0.05 second. 5459 22:35:15 # [RSpecRunTime] Starting example group spec/serializers/ci/lint/job_entity_spec.rb. Expected to take 0.04 second. 5460 22:35:15 Ci::Lint::JobEntity 5462 22:35:15 exposes job data 5463 22:35:15 # [RSpecRunTime] Finishing example group spec/serializers/ci/lint/job_entity_spec.rb. It took 0.05 second. Expected to take 0.04 second. 5464 22:35:15 # [RSpecRunTime] Starting example group spec/graphql/resolvers/packages_base_resolver_spec.rb. Expected to take 0.04 second. 5465 22:35:15 Resolvers::PackagesBaseResolver 5467 22:35:15 throws an error 5468 22:35:15 # [RSpecRunTime] Finishing example group spec/graphql/resolvers/packages_base_resolver_spec.rb. It took 0.05 second. Expected to take 0.04 second. 5469 22:35:15 # [RSpecRunTime] Starting example group spec/lib/gitlab/kubernetes/generic_secret_spec.rb. Expected to take 0.04 second. 5470 22:35:15 Gitlab::Kubernetes::GenericSecret 5472 22:35:15 is expected to eq #<Kubeclient::Resource type="Opaque", metadata={:name=>"example-name", :namespace=>"example-namespace"}, data="example-data"> 5473 22:35:15 # [RSpecRunTime] Finishing example group spec/lib/gitlab/kubernetes/generic_secret_spec.rb. It took 0.04 second. Expected to take 0.04 second. 5474 22:35:15 # [RSpecRunTime] Starting example group spec/graphql/types/work_items/widgets/start_and_due_date_update_input_type_spec.rb. Expected to take 0.04 second. 5475 22:35:15 Types::WorkItems::Widgets::StartAndDueDateUpdateInputType 5476 22:35:15 is expected to eq "WorkItemWidgetStartAndDueDateUpdateInput" 5477 22:35:15 # [RSpecRunTime] Finishing example group spec/graphql/types/work_items/widgets/start_and_due_date_update_input_type_spec.rb. It took 0.04 second. Expected to take 0.04 second. 5478 22:35:15 # [RSpecRunTime] Starting example group spec/graphql/types/packages/package_dependency_type_spec.rb. Expected to take 0.04 second. 5479 22:35:15 Types::Packages::PackageDependencyType 5480 22:35:15 includes package file fields 5481 22:35:15 # [RSpecRunTime] Finishing example group spec/graphql/types/packages/package_dependency_type_spec.rb. It took 0.04 second. Expected to take 0.04 second. 5482 22:35:15 # [RSpecRunTime] Starting example group spec/workers/todos_destroyer/group_private_worker_spec.rb. Expected to take 0.04 second. 5483 22:35:15 TodosDestroyer::GroupPrivateWorker 5484 22:35:15 calls the Todos::Destroy::GroupPrivateService with the params it was given 5485 22:35:15 # [RSpecRunTime] Finishing example group spec/workers/todos_destroyer/group_private_worker_spec.rb. It took 0.05 second. Expected to take 0.04 second. 5486 22:35:15 unknown OID 2249: failed to recognize type of 'pg_stat_file'. It will be treated as String. 5487 22:35:38 auto_explain log contains 1412 entries for main, writing to /builds/gitlab-org/gitlab/auto_explain/rspec-unit-pg14-single-db-ci-connection-28-44.340.main.ndjson.gz 5488 22:35:38 took 22.92893585 5489 22:35:58 auto_explain log contains 1413 entries for ci, writing to /builds/gitlab-org/gitlab/auto_explain/rspec-unit-pg14-single-db-ci-connection-28-44.340.ci.ndjson.gz 5490 22:35:58 took 19.61786981 5491 22:35:58 [TEST PROF INFO] EventProf results for sql.active_record 5492 22:35:58 Total time: 05:02.132 of 22:54.328 (21.98%) 5493 22:35:58 Total events: 218642 5494 22:35:58 Top 5 slowest suites (by time): 5495 22:35:58 IssuePolicy (./spec/policies/issue_policy_spec.rb:5) – 01:03.111 (44134 / 329) of 04:18.450 (24.42%) 5496 22:35:58 Groups::DestroyService (./spec/services/groups/destroy_service_spec.rb:5) – 00:40.594 (24069 / 46) of 02:43.012 (24.9%) 5497 22:35:58 Packages::Mav...ta::SyncWorker (./spec/workers/packages/maven/metadata/sync_worker_spec.rb:5) – 00:17.932 (12246 / 15) of 01:05.089 (27.55%) 5498 22:35:58 BuildDetailsEntity (./spec/serializers/build_details_entity_spec.rb:5) – 00:14.993 (10372 / 32) of 01:20.062 (18.73%) 5499 22:35:58 Todos::Destro...PrivateService (./spec/services/todos/destroy/group_private_service_spec.rb:5) – 00:13.649 (8509 / 5) of 00:46.412 (29.41%) 5500 22:35:58 Knapsack report was generated. Preview: 5502 22:35:58 "spec/policies/issue_policy_spec.rb": 258.39706913400005, 5503 22:35:58 "spec/services/groups/destroy_service_spec.rb": 163.01237803599997, 5504 22:35:58 "spec/services/snippets/update_service_spec.rb": 98.33068798400018, 5505 22:35:58 "spec/serializers/build_details_entity_spec.rb": 80.06203084699973, 5506 22:35:58 "spec/workers/packages/maven/metadata/sync_worker_spec.rb": 65.08918778500083, 5507 22:35:58 "spec/services/ci/create_pipeline_service/cross_project_pipeline_spec.rb": 55.62844123099967, 5508 22:35:58 "spec/tasks/gitlab/cleanup_rake_spec.rb": 48.94466355500026, 5509 22:35:58 "spec/services/todos/destroy/group_private_service_spec.rb": 46.41207710099934, 5510 22:35:58 "spec/lib/gitlab/import_export/members_mapper_spec.rb": 40.24950804800028, 5511 22:35:58 "spec/lib/banzai/filter/references/user_reference_filter_spec.rb": 36.36033965699971, 5512 22:35:58 "spec/graphql/mutations/merge_requests/set_milestone_spec.rb": 32.26147212200067, 5513 22:35:58 "spec/models/projects/build_artifacts_size_refresh_spec.rb": 29.753228976000173, 5514 22:35:58 "spec/models/packages/package_file_spec.rb": 23.778580551000232, 5515 22:35:58 "spec/models/concerns/project_api_compatibility_spec.rb": 19.374636825999914, 5516 22:35:58 "spec/lib/gitlab/ci/yaml_processor_spec.rb": 20.562693500999558, 5517 22:35:58 "spec/models/deploy_token_spec.rb": 18.36617852499967, 5518 22:35:58 "spec/uploaders/ci/pipeline_artifact_uploader_spec.rb": 13.658143933000247, 5519 22:35:58 "spec/workers/environments/stop_job_failed_worker_spec.rb": 14.598146608000206, 5520 22:35:58 "spec/services/notes/build_service_spec.rb": 14.138741698000558, 5521 22:35:58 "spec/finders/packages/npm/packages_for_user_finder_spec.rb": 13.202001098000437, 5522 22:35:58 "spec/models/personal_access_token_spec.rb": 12.491142152000066, 5523 22:35:58 "spec/lib/gitlab/ci/trace/archive_spec.rb": 8.679230804000326, 5524 22:35:58 "spec/lib/gitlab/gitaly_client/operation_service_spec.rb": 11.123220799000592, 5525 22:35:58 "spec/models/work_items/related_work_item_link_spec.rb": 9.394263148000391, 5526 22:35:58 "spec/services/clusters/cleanup/project_namespace_service_spec.rb": 10.531201988999783, 5527 22:35:58 "spec/graphql/mutations/discussions/toggle_resolve_spec.rb": 9.690641747999507, 5528 22:35:58 "spec/lib/gitlab/audit/auditor_spec.rb": 7.440226863999669, 5529 22:35:58 "spec/services/ci/update_build_state_service_spec.rb": 8.868852804999733, 5530 22:35:58 "spec/graphql/mutations/groups/update_spec.rb": 6.338257181000699, 5531 22:35:58 "spec/tasks/gitlab/tokens/manage_expiry_task_spec.rb": 5.062624008000057, 5532 22:35:58 "spec/tasks/gitlab/shell_rake_spec.rb": 4.824187375999827, 5533 22:35:58 "spec/tasks/gitlab/redis_rake_spec.rb": 7.76158032100011, 5534 22:35:58 "spec/lib/gitlab/git/patches/commit_patches_spec.rb": 6.539273335999496, 5535 22:35:58 "spec/graphql/resolvers/group_issues_resolver_spec.rb": 5.553816384000129, 5536 22:35:58 "spec/services/boards/lists/list_service_spec.rb": 6.260887936000472, 5537 22:35:58 "spec/models/integrations/mattermost_slash_commands_spec.rb": 6.0439360310001575, 5538 22:35:58 "spec/services/work_items/task_list_reference_replacement_service_spec.rb": 5.618200379999507, 5539 22:35:58 "spec/services/jira_import/server_users_mapper_service_spec.rb": 5.30164170199987, 5540 22:35:58 "spec/lib/api/entities/snippet_spec.rb": 5.623977929999455, 5541 22:35:58 "spec/lib/gitlab/git/blob_spec.rb": 5.7720944900002, 5542 22:35:58 "spec/workers/environments/stop_job_success_worker_spec.rb": 4.730617711999912, 5543 22:35:58 "spec/services/notification_recipients/builder/default_spec.rb": 5.350652519000505, 5544 22:35:58 "spec/models/work_items/type_spec.rb": 4.514588536000701, 5545 22:35:58 "spec/services/merge_requests/execute_approval_hooks_service_spec.rb": 3.979719703000228, 5546 22:35:58 "spec/models/projects/data_transfer_spec.rb": 4.325574510000479, 5547 22:35:58 "spec/lib/api/ci/helpers/runner_spec.rb": 4.37996729599945, 5548 22:35:58 "spec/helpers/button_helper_spec.rb": 3.0123952509993615, 5549 22:35:58 "spec/lib/gitlab/database/load_balancing/sidekiq_server_middleware_spec.rb": 3.4608706420003728, 5550 22:35:58 "spec/graphql/mutations/todos/restore_spec.rb": 3.445298850000654, 5551 22:35:58 "spec/lib/gitlab/usage/metrics/instrumentations/count_all_ci_builds_metric_spec.rb": 3.468322949999674, 5552 22:35:58 "spec/workers/ci/update_locked_unknown_artifacts_worker_spec.rb": 2.998794232000364, 5553 22:35:58 "spec/workers/ci/test_failure_history_worker_spec.rb": 3.2415150449996872, 5554 22:35:58 "spec/lib/banzai/reference_parser/mentioned_group_parser_spec.rb": 2.6635328050006137, 5555 22:35:58 "spec/models/integrations/harbor_spec.rb": 2.7191827020005803, 5556 22:35:58 "spec/helpers/application_settings_helper_spec.rb": 2.592846200999702, 5557 22:35:58 "spec/services/import/github_service_spec.rb": 2.8968690689998766, 5558 22:35:58 "spec/workers/object_pool/destroy_worker_spec.rb": 3.8023442860003343, 5559 22:35:58 "spec/models/preloaders/users_max_access_level_by_project_preloader_spec.rb": 2.670620085000337, 5560 22:35:58 "spec/models/ci/catalog/resources/components/usage_spec.rb": 1.394210682999983, 5561 22:35:58 "spec/lib/gitlab/ci/cron_parser_spec.rb": 2.30016052999963, 5562 22:35:58 "spec/lib/gitlab/gitaly_client/ref_service_spec.rb": 2.141121022000334, 5563 22:35:58 "spec/lib/gitlab/ci/reports/security/aggregated_report_spec.rb": 2.301293020999765, 5564 22:35:58 "spec/views/layouts/terms.html.haml_spec.rb": 2.6058889089999866, 5565 22:35:58 "spec/scripts/internal_events/cli_spec.rb": 2.322024488000352, 5566 22:35:58 "spec/services/ci/runners/reset_registration_token_service_spec.rb": 1.5042623760000424, 5567 22:35:58 "spec/lib/gitlab/ci/status/build/created_spec.rb": 1.8031472650000069, 5568 22:35:58 "spec/workers/snippets/update_repository_storage_worker_spec.rb": 1.6661000240001158, 5569 22:35:58 "spec/lib/gitlab/sidekiq_middleware/duplicate_jobs/duplicate_job_spec.rb": 2.033029059999535, 5570 22:35:58 "spec/services/users/unban_service_spec.rb": 1.6474216159995194, 5571 22:35:58 "spec/helpers/ci/jobs_helper_spec.rb": 1.6510959950001052, 5572 22:35:58 "spec/workers/bulk_imports/stale_import_worker_spec.rb": 1.780622107000454, 5573 22:35:58 "spec/graphql/mutations/custom_emoji/destroy_spec.rb": 2.369809284999974, 5574 22:35:58 "spec/lib/gitlab/import_export/design_repo_restorer_spec.rb": 1.4917238759999236, 5575 22:35:58 "spec/lib/gitlab/gl_repository/repo_type_spec.rb": 1.5238592839996272, 5576 22:35:58 "spec/lib/banzai/filter/sanitization_filter_spec.rb": 1.4543265590000374, 5577 22:35:58 "spec/views/layouts/organization.html.haml_spec.rb": 0.6100920380004027, 5578 22:35:58 "spec/helpers/projects/terraform_helper_spec.rb": 1.4390737000003355, 5579 22:35:58 "spec/lib/gitlab/repository_set_cache_spec.rb": 1.4133808219994535, 5580 22:35:58 "spec/services/packages/ml_model/find_or_create_package_service_spec.rb": 1.398027842999909, 5581 22:35:58 "spec/workers/pages_domain_removal_cron_worker_spec.rb": 1.656920356000228, 5582 22:35:58 "spec/lib/gitlab/database/reindexing/reindex_action_spec.rb": 0.37903059299969755, 5583 22:35:58 "spec/services/keys/create_service_spec.rb": 0.6415650359995198, 5584 22:35:58 "spec/lib/gitlab/audit/type/definition_spec.rb": 1.0197095589992387, 5585 22:35:58 "spec/views/projects/jobs/_generic_commit_status.html.haml_spec.rb": 1.431147551000322, 5586 22:35:58 "spec/lib/json_web_token/rsa_token_spec.rb": 1.017069490000722, 5587 22:35:58 "spec/lib/gitlab/bitbucket_import/importers/pull_requests_importer_spec.rb": 1.3284387280000374, 5588 22:35:58 "spec/lib/api/entities/group_detail_spec.rb": 1.105850262999411, 5589 22:35:58 "spec/workers/error_tracking_issue_link_worker_spec.rb": 1.1050681930000792, 5590 22:35:58 "spec/services/boards/visits/create_service_spec.rb": 0.956773193999652, 5591 22:35:58 "spec/workers/activity_pub/projects/releases_subscription_worker_spec.rb": 0.8673564099999567, 5592 22:35:58 "spec/lib/error_tracking/sentry_client/projects_spec.rb": 0.7093154009999125, 5593 22:35:58 "spec/services/analytics/cycle_analytics/stages/list_service_spec.rb": 0.9402807550004582, 5594 22:35:58 "spec/serializers/cluster_entity_spec.rb": 0.7825311349997719, 5595 22:35:58 "spec/lib/gitlab/audit/ci_runner_token_author_spec.rb": 0.8131281039995883, 5596 22:35:58 "spec/models/notes/note_metadata_spec.rb": 0.8058585339995261, 5597 22:35:58 "spec/lib/web_ide/extensions_marketplace_spec.rb": 0.7118537999995169, 5598 22:35:58 "spec/lib/banzai/filter/gollum_tags_filter_spec.rb": 0.6136639070000456, 5599 22:35:58 "spec/lib/gitlab/github_import/importer/issue_event_importer_spec.rb": 0.7769780259995969, 5600 22:35:58 "spec/lib/gitlab/utils/override_spec.rb": 0.6486540449996028, 5601 22:35:58 "spec/lib/gitlab/usage/metrics/instrumentations/count_user_auth_metric_spec.rb": 0.5123476440003287, 5602 22:35:58 "spec/services/audit_events/build_service_spec.rb": 0.6943686619997607, 5603 22:35:58 "spec/lib/gitlab/daemon_spec.rb": 0.39392549300009705, 5604 22:35:58 "spec/support_specs/helpers/html_escaped_helpers_spec.rb": 0.5621929110002384, 5605 22:35:58 "spec/serializers/import/manifest_provider_repo_entity_spec.rb": 0.48442941599932965, 5606 22:35:58 "spec/graphql/types/admin/analytics/usage_trends/measurement_type_spec.rb": 0.515057503999742, 5607 22:35:58 "spec/lib/gitlab/metrics/samplers/database_sampler_spec.rb": 0.5420985929995368, 5608 22:35:58 "spec/initializers/0_postgresql_types_spec.rb": 0.08652961400002823, 5609 22:35:58 "spec/services/users/repair_ldap_blocked_service_spec.rb": 0.5116771439998047, 5610 22:35:58 "spec/lib/gitlab/database/load_balancing/rack_middleware_spec.rb": 0.42999642999984644, 5611 22:35:58 "spec/rubocop/cop/usage_data/histogram_with_large_table_spec.rb": 0.35505050499978097, 5612 22:35:58 "spec/rubocop/cop/redis_queue_usage_spec.rb": 0.38320975300030113, 5613 22:35:58 "spec/lib/safe_zip/extract_spec.rb": 0.34038911600055144, 5614 22:35:58 "spec/lib/sidebars/concerns/super_sidebar_panel_spec.rb": 0.19645481600036874, 5615 22:35:58 "spec/lib/bitbucket_server/client_spec.rb": 0.3098217990000194, 5616 22:35:58 "spec/components/pajamas/broadcast_banner_component_spec.rb": 0.2320073639994007, 5617 22:35:58 "spec/lib/gitlab/cluster/lifecycle_events_spec.rb": 0.2861279900007503, 5618 22:35:58 "spec/lib/click_house/redactor_spec.rb": 0.28627452999990055, 5619 22:35:58 "spec/rubocop/cop/gitlab/feature_available_usage_spec.rb": 0.23098676400059048, 5620 22:35:58 "spec/lib/click_house/models/base_model_spec.rb": 0.23379545399984636, 5621 22:35:58 "spec/graphql/types/untrusted_regexp_spec.rb": 0.23648784299984982, 5622 22:35:58 "spec/validators/ip_address_validator_spec.rb": 0.26934534199972404, 5623 22:35:58 "spec/lib/gitlab/request_forgery_protection_spec.rb": 0.24114714299957996, 5624 22:35:58 "spec/lib/gitlab/sql/except_spec.rb": 0.23118384400004288, 5625 22:35:58 "spec/models/concerns/file_store_mounter_spec.rb": 0.2411748130007254, 5626 22:35:58 "spec/rubocop/cop/sidekiq_options_queue_spec.rb": 0.0758653350003442, 5627 22:35:58 "spec/lib/gitlab/cross_project_access_spec.rb": 0.18969533700055763, 5628 22:35:58 "spec/models/anti_abuse/reports/user_mention_spec.rb": 0.2139436850002312, 5629 22:35:58 "spec/initializers/net_http_patch_spec.rb": 0.20442459500009136, 5630 22:35:58 "spec/lib/gitlab/ci/reports/security/locations/secret_detection_spec.rb": 0.17816949799998838, 5631 22:35:58 "spec/lib/gitlab/database/type/json_pg_safe_spec.rb": 0.15356101900033536, 5632 22:35:58 "spec/lib/gitlab/ci/status/preparing_spec.rb": 0.2112683459999971, 5633 22:35:58 "spec/services/events/render_service_spec.rb": 0.19969962699997268, 5634 22:35:58 "spec/rubocop/cop/active_record_association_reload_spec.rb": 0.18495778699980292, 5635 22:35:58 "spec/lib/gitlab/config/entry/simplifiable_spec.rb": 0.14257435000035912, 5636 22:35:58 "spec/lib/gitlab/ci/build/artifacts/adapters/raw_stream_spec.rb": 0.12847215100009635, 5637 22:35:58 "spec/lib/gitlab/database/migrations/runner_backoff/migration_helpers_spec.rb": 0.1395271399997, 5638 22:35:58 "spec/serializers/move_to_project_entity_spec.rb": 0.15079613000034442, 5639 22:35:58 "spec/lib/gitlab/database/load_balancing/resolver_spec.rb": 0.13946708000003127, 5640 22:35:58 "spec/lib/gitlab/legacy_github_import/issuable_formatter_spec.rb": 0.1396772600000986, 5641 22:35:58 "spec/initializers/100_patch_omniauth_saml_spec.rb": 0.086514974000238, 5642 22:35:58 "spec/serializers/merge_request_basic_entity_spec.rb": 0.1501875399999335, 5643 22:35:58 "spec/lib/banzai/filter_array_spec.rb": 0.11736996100080432, 5644 22:35:58 "spec/serializers/test_reports_comparer_entity_spec.rb": 0.1016654129998642, 5645 22:35:58 "spec/lib/gitlab/import_export/model_configuration_spec.rb": 0.07377872399956686, 5646 22:35:58 "spec/graphql/types/packages/package_type_spec.rb": 0.11734152200006065, 5647 22:35:58 "spec/graphql/types/ci/pipeline_schedule_type_spec.rb": 0.08638344399969355, 5648 22:35:58 "spec/services/captcha/captcha_verification_service_spec.rb": 0.08768914400025096, 5649 22:35:58 "spec/helpers/external_link_helper_spec.rb": 0.09303744299995742, 5650 22:35:58 "spec/lib/gitlab/health_checks/middleware_spec.rb": 0.08758116499939206, 5651 22:35:58 "spec/graphql/types/alert_management/integration_type_enum_spec.rb": 0.08702464399993914, 5652 22:35:58 "spec/lib/banzai/filter/markdown_engines/base_spec.rb": 0.08410440399984509, 5653 22:35:58 "spec/components/pajamas/breadcrumb_item_component_spec.rb": 0.0693189359999451, 5654 22:35:58 "spec/rubocop/cop/gitlab/ee_only_class_spec.rb": 0.07022593500005314, 5655 22:35:58 "spec/lib/sidebars/projects/super_sidebar_menus/secure_menu_spec.rb": 0.060391564999918046, 5656 22:35:58 "spec/graphql/types/clusters/agents/authorizations/ci_access_type_spec.rb": 0.05928815500010387, 5657 22:35:58 "spec/graphql/types/ci/pipeline_schedule_status_enum_spec.rb": 0.05954087600002822, 5658 22:35:58 "spec/lib/gitlab/git/diff_tree_spec.rb": 0.060316755999338056, 5659 22:35:58 "spec/graphql/types/commit_signatures/verification_status_enum_spec.rb": 0.06028813600005378, 5660 22:35:58 "spec/lib/gitlab/auth/ip_blocked_spec.rb": 0.06135945599999104, 5661 22:35:58 "spec/graphql/types/ci/test_suite_type_spec.rb": 0.06125694599995768, 5662 22:35:58 "spec/graphql/types/work_items/widgets/crm_contacts_create_input_type_spec.rb": 0.06135738600005425, 5663 22:35:58 "spec/graphql/types/permission_types/merge_request_spec.rb": 0.08464125400041667, 5664 22:35:58 "spec/serializers/ci/lint/job_entity_spec.rb": 0.04706008699940867, 5665 22:35:58 "spec/graphql/resolvers/packages_base_resolver_spec.rb": 0.04633207700044295, 5666 22:35:58 "spec/lib/gitlab/kubernetes/generic_secret_spec.rb": 0.04253374700056156, 5667 22:35:58 "spec/graphql/types/work_items/widgets/start_and_due_date_update_input_type_spec.rb": 0.04140038799960166, 5668 22:35:58 "spec/graphql/types/packages/package_dependency_type_spec.rb": 0.04302820700013399, 5669 22:35:58 "spec/workers/todos_destroyer/group_private_worker_spec.rb": 0.04590469699996902 5671 22:35:58 Knapsack global time execution for tests: 22m 53s 5672 22:35:58 Pending: (Failures listed here are expected and do not affect your suite's status) 5673 22:35:58 1) Ci::CreatePipelineService#execute behaves like creating a pipeline with environment keyword with environment sets tags when build job 5674 22:35:58 # No reason given 5675 22:35:58 # ./spec/support/shared_examples/ci/create_pipeline_service_environment_shared_examples.rb:22 5676 22:35:58 2) Ci::PipelineArtifactUploader behaves like builds correct paths #upload_path behaves like matches the method pattern 5677 22:35:58 # No pattern provided, skipping. 5678 22:35:58 # ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:8 5679 22:35:58 3) Ci::PipelineArtifactUploader behaves like builds correct paths #relative_path is relative 5680 22:35:58 # Path not set, skipping. 5681 22:35:58 # ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:40 5682 22:35:58 4) Ci::PipelineArtifactUploader behaves like builds correct paths .absolute_path behaves like matches the method pattern 5683 22:35:58 # No pattern provided, skipping. 5684 22:35:58 # ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:8 5685 22:35:58 5) Ci::PipelineArtifactUploader behaves like builds correct paths .base_dir behaves like matches the method pattern 5686 22:35:58 # No pattern provided, skipping. 5687 22:35:58 # ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:8 5688 22:35:58 6) Ci::PipelineArtifactUploader when object store is REMOTE behaves like builds correct paths #cache_dir behaves like matches the method pattern 5689 22:35:58 # No pattern provided, skipping. 5690 22:35:58 # ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:8 5691 22:35:58 7) Ci::PipelineArtifactUploader when object store is REMOTE behaves like builds correct paths #work_dir behaves like matches the method pattern 5692 22:35:58 # No pattern provided, skipping. 5693 22:35:58 # ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:8 5694 22:35:58 8) Ci::PipelineArtifactUploader when object store is REMOTE behaves like builds correct paths #upload_path behaves like matches the method pattern 5695 22:35:58 # No pattern provided, skipping. 5696 22:35:58 # ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:8 5697 22:35:58 9) Ci::PipelineArtifactUploader when object store is REMOTE behaves like builds correct paths #relative_path is relative 5698 22:35:58 # Path not set, skipping. 5699 22:35:58 # ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:40 5700 22:35:58 10) Ci::PipelineArtifactUploader when object store is REMOTE behaves like builds correct paths .absolute_path behaves like matches the method pattern 5701 22:35:58 # No pattern provided, skipping. 5702 22:35:58 # ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:8 5703 22:35:58 11) Ci::PipelineArtifactUploader when object store is REMOTE behaves like builds correct paths .base_dir behaves like matches the method pattern 5704 22:35:58 # No pattern provided, skipping. 5705 22:35:58 # ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:8 5706 22:35:58 12) Gitlab::Database::LoadBalancing::SidekiqServerMiddleware#call when mixed data consistency consistency: :always, overrides: {:ci=>:always}, ci_use_primary: true, main_use_primary: true, multi_db: true uses the primary db for the appropriate load-balancers 5707 22:35:58 # Skipping because ci is shared or doesn't not exist 5708 22:35:58 # ./spec/lib/gitlab/database/load_balancing/sidekiq_server_middleware_spec.rb:392 5709 22:35:58 13) Gitlab::Database::LoadBalancing::SidekiqServerMiddleware#call when mixed data consistency consistency: :always, overrides: {:ci=>:sticky}, ci_use_primary: false, main_use_primary: true, multi_db: true uses the primary db for the appropriate load-balancers 5710 22:35:58 # Skipping because ci is shared or doesn't not exist 5711 22:35:58 # ./spec/lib/gitlab/database/load_balancing/sidekiq_server_middleware_spec.rb:392 5712 22:35:58 14) Gitlab::Database::LoadBalancing::SidekiqServerMiddleware#call when mixed data consistency consistency: :always, overrides: {:ci=>:delayed}, ci_use_primary: false, main_use_primary: true, multi_db: true uses the primary db for the appropriate load-balancers 5713 22:35:58 # Skipping because ci is shared or doesn't not exist 5714 22:35:58 # ./spec/lib/gitlab/database/load_balancing/sidekiq_server_middleware_spec.rb:392 5715 22:35:58 15) Gitlab::Database::LoadBalancing::SidekiqServerMiddleware#call when mixed data consistency consistency: :delayed, overrides: {:ci=>:always}, ci_use_primary: true, main_use_primary: false, multi_db: true uses the primary db for the appropriate load-balancers 5716 22:35:58 # Skipping because ci is shared or doesn't not exist 5717 22:35:58 # ./spec/lib/gitlab/database/load_balancing/sidekiq_server_middleware_spec.rb:392 5718 22:35:58 16) Gitlab::Database::LoadBalancing::SidekiqServerMiddleware#call when mixed data consistency consistency: :delayed, overrides: {:ci=>:delayed}, ci_use_primary: false, main_use_primary: false, multi_db: true uses the primary db for the appropriate load-balancers 5719 22:35:58 # Skipping because ci is shared or doesn't not exist 5720 22:35:58 # ./spec/lib/gitlab/database/load_balancing/sidekiq_server_middleware_spec.rb:392 5721 22:35:58 17) Gitlab::Database::LoadBalancing::SidekiqServerMiddleware#call when mixed data consistency consistency: :delayed, overrides: {:ci=>:sticky}, ci_use_primary: false, main_use_primary: false, multi_db: true uses the primary db for the appropriate load-balancers 5722 22:35:58 # Skipping because ci is shared or doesn't not exist 5723 22:35:58 # ./spec/lib/gitlab/database/load_balancing/sidekiq_server_middleware_spec.rb:392 5724 22:35:58 18) Gitlab::Database::LoadBalancing::SidekiqServerMiddleware#call when mixed data consistency consistency: :sticky, overrides: {:ci=>:always}, ci_use_primary: true, main_use_primary: false, multi_db: true uses the primary db for the appropriate load-balancers 5725 22:35:58 # Skipping because ci is shared or doesn't not exist 5726 22:35:58 # ./spec/lib/gitlab/database/load_balancing/sidekiq_server_middleware_spec.rb:392 5727 22:35:58 19) Gitlab::Database::LoadBalancing::SidekiqServerMiddleware#call when mixed data consistency consistency: :sticky, overrides: {:ci=>:delayed}, ci_use_primary: false, main_use_primary: false, multi_db: true uses the primary db for the appropriate load-balancers 5728 22:35:58 # Skipping because ci is shared or doesn't not exist 5729 22:35:58 # ./spec/lib/gitlab/database/load_balancing/sidekiq_server_middleware_spec.rb:392 5730 22:35:58 20) Gitlab::Database::LoadBalancing::SidekiqServerMiddleware#call when mixed data consistency consistency: :sticky, overrides: {:ci=>:sticky}, ci_use_primary: false, main_use_primary: false, multi_db: true uses the primary db for the appropriate load-balancers 5731 22:35:58 # Skipping because ci is shared or doesn't not exist 5732 22:35:58 # ./spec/lib/gitlab/database/load_balancing/sidekiq_server_middleware_spec.rb:392 5733 22:35:58 21) Gitlab::Database::LoadBalancing::SidekiqServerMiddleware#call when mixed data consistency consistency: :always, overrides: {:main=>:always}, ci_use_primary: true, main_use_primary: true, multi_db: true uses the primary db for the appropriate load-balancers 5734 22:35:58 # Skipping because ci is shared or doesn't not exist 5735 22:35:58 # ./spec/lib/gitlab/database/load_balancing/sidekiq_server_middleware_spec.rb:392 5736 22:35:58 22) Gitlab::Database::LoadBalancing::SidekiqServerMiddleware#call when mixed data consistency consistency: :always, overrides: {:main=>:sticky}, ci_use_primary: true, main_use_primary: false, multi_db: true uses the primary db for the appropriate load-balancers 5737 22:35:58 # Skipping because ci is shared or doesn't not exist 5738 22:35:58 # ./spec/lib/gitlab/database/load_balancing/sidekiq_server_middleware_spec.rb:392 5739 22:35:58 23) Gitlab::Database::LoadBalancing::SidekiqServerMiddleware#call when mixed data consistency consistency: :always, overrides: {:main=>:delayed}, ci_use_primary: true, main_use_primary: false, multi_db: true uses the primary db for the appropriate load-balancers 5740 22:35:58 # Skipping because ci is shared or doesn't not exist 5741 22:35:58 # ./spec/lib/gitlab/database/load_balancing/sidekiq_server_middleware_spec.rb:392 5742 22:35:58 24) Net::HTTP patch proxy user and password encoding #proxy_pass 5743 22:35:58 # No reason given 5744 22:35:58 # ./spec/initializers/net_http_patch_spec.rb:60 5745 22:35:58 25) Net::HTTP patch proxy user and password encoding #proxy_pass with http_proxy env 5746 22:35:58 # No reason given 5747 22:35:58 # ./spec/initializers/net_http_patch_spec.rb:70 5748 22:35:58 26) Net::HTTP patch proxy user and password encoding #proxy_pass with http_proxy env and user:password authentication when on multiuser safe platform 5749 22:35:58 # No reason given 5750 22:35:58 # ./spec/initializers/net_http_patch_spec.rb:83 5751 22:35:58 27) Net::HTTP patch proxy user and password encoding #proxy_pass with http_proxy env and user:password authentication when not on multiuser safe platform 5752 22:35:58 # No reason given 5753 22:35:58 # ./spec/initializers/net_http_patch_spec.rb:91 5754 22:35:58 28) Net::HTTP patch proxy user and password encoding #proxy_user 5755 22:35:58 # No reason given 5756 22:35:58 # ./spec/initializers/net_http_patch_spec.rb:20 5757 22:35:58 29) Net::HTTP patch proxy user and password encoding #proxy_user with http_proxy env 5758 22:35:58 # No reason given 5759 22:35:58 # ./spec/initializers/net_http_patch_spec.rb:30 5760 22:35:58 30) Net::HTTP patch proxy user and password encoding #proxy_user with http_proxy env and user:password authentication when on multiuser safe platform 5761 22:35:58 # No reason given 5762 22:35:58 # ./spec/initializers/net_http_patch_spec.rb:43 5763 22:35:58 31) Net::HTTP patch proxy user and password encoding #proxy_user with http_proxy env and user:password authentication when not on multiuser safe platform 5764 22:35:58 # No reason given 5765 22:35:58 # ./spec/initializers/net_http_patch_spec.rb:51 5766 22:35:58 Finished in 23 minutes 47 seconds (files took 1 minute 9.31 seconds to load) 5767 22:35:58 3114 examples, 0 failures, 31 pending 5768 22:35:58 Randomized with seed 55677 5769 22:36:05 [TEST PROF INFO] Time spent in factories: 14:23.908 (60.07% of total time) 5770 22:36:05 RSpec exited with 0. 5771 22:36:05 No examples to retry, congrats! 5773 22:36:07 Running after script... 5774 22:36:07 $ source scripts/utils.sh 5775 22:36:07 $ log_disk_usage 5776 22:36:07 ******************************************************* 5777 22:36:07 This runner currently has 75G free disk space. 5778 22:36:07 ******************************************************* 5836 22:36:18 $ bundle exec gem list gitlab_quality-test_tooling 5837 22:36:20 gitlab_quality-test_tooling (2.1.0) 5838 22:36:20 $ section_start "failed-test-issues" "Report test failures" # collapsed multi-line command 5841 22:36:20 $ section_start "flaky-test-issues" "Report test flakiness" # collapsed multi-line command 5844 22:36:20 $ section_start "slow-test-issues" "Report test slowness" # collapsed multi-line command 5847 22:36:20 $ section_start "slow-test-merge-request-report-note" "Report test slowness in MR note" # collapsed multi-line command 5851 22:36:22 $ section_start "knapsack-report-issues" "Report test files close to timing out" # collapsed multi-line command 5855 22:36:24 $ tooling/bin/push_job_metrics || true 5856 22:36:25 [job-metrics] Pushing job metrics file for the CI/CD job. 5857 22:36:25 [job-metrics] Pushed 4 CI job metric entries to InfluxDB. 5859 22:36:26 Not uploading cache ruby-gems-debian-bookworm-ruby-3.2.5-gemfile-Gemfile-20 due to policy 5861 22:36:27 Uploading artifacts... 5862 22:36:27 auto_explain/: found 3 matching artifact files and directories 5863 22:36:27 coverage/: found 5 matching artifact files and directories 5864 22:36:27 crystalball/: found 2 matching artifact files and directories 5865 22:36:27 deprecations/: found 6 matching artifact files and directories 5866 22:36:27 knapsack/: found 4 matching artifact files and directories 5867 22:36:27 rspec/: found 16 matching artifact files and directories 5868 22:36:27 WARNING: tmp/capybara/: no matching files. Ensure that the artifact path is relative to the working directory (/builds/gitlab-org/gitlab) 5869 22:36:27 log/*.log: found 19 matching artifact files and directories 5871 22:36:27 WARNING: Retrying... context =artifacts-uploader error =request redirected 5872 22:36:30 Uploading artifacts as "archive" to coordinator... 201 Created id =8353287824 responseStatus =201 Created token =glcbt-66 5873 22:36:30 Uploading artifacts... 5874 22:36:30 rspec/rspec-*.xml: found 1 matching artifact files and directories 5876 22:36:30 WARNING: Retrying... context =artifacts-uploader error =request redirected 5877 22:36:32 Uploading artifacts as "junit" to coordinator... 201 Created id =8353287824 responseStatus =201 Created token =glcbt-66 5879 22:36:43 Job succeeded