loading up the forgejo repo on tangled to test page performance
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge pull request '[TESTS] do not include line numbers in the error whitelist' (#2936) from earl-warren/forgejo:wip-ignore-list into forgejo

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/2936
Reviewed-by: oliverpool <oliverpool@noreply.codeberg.org>
Reviewed-by: 0ko <0ko@noreply.codeberg.org>

+116 -105
+116 -105
modules/testlogger/testlogger.go
··· 54 54 // list of error message which will not fail the test 55 55 // ideally this list should be empty, however ensuring that it does not grow 56 56 // is already a good first step. 57 - var ignoredErrorMessageSuffixes = []string{ 57 + var ignoredErrorMessage = []string{ 58 58 // only seen on mysql tests https://codeberg.org/forgejo/forgejo/pulls/2657#issuecomment-1693055 59 59 `table columns using inconsistent collation, they should use "utf8mb4_0900_ai_ci". Please go to admin panel Self Check page`, 60 + 61 + // TestPullWIPConvertSidebar 62 + `:PullRequestPushCommits() [E] comment.LoadIssue: issue does not exist [id:`, 60 63 61 64 // TestAPIDeleteReleaseByTagName 62 65 // action notification were a commit cannot be computed (because the commit got deleted) ··· 73 76 74 77 // TestAPIGenerateRepo 75 78 `Notify() [E] an error occurred while executing the CreateRepository actions method: gitRepo.GetCommit: object does not exist [id: , rel_path: ]`, 79 + 80 + // TestAPIPullUpdateByRebase 81 + `:testPR() [E] Unable to GetPullRequestByID[`, 82 + `:PullRequestSynchronized() [E] LoadAttributes: getRepositoryByID `, 83 + `:PullRequestSynchronized() [E] pr.Issue.LoadRepo: getRepositoryByID [`, 84 + `:handler() [E] Was unable to create issue notification: issue does not exist [`, 85 + `:func1() [E] PullRequestList.LoadAttributes: issues and prs may be not in sync: cannot find issue`, 86 + `:func1() [E] checkForInvalidation: GetRepositoryByIDCtx: repository does not exist `, 76 87 77 88 // TestAPIPullReview 78 89 `PullRequestReview() [E] Unsupported review webhook type`, ··· 111 122 `RebuildCargoIndex() [E] RebuildIndex failed: GetRepositoryByOwnerAndName: repository does not exist [id: 0, uid: 0, owner_name: user2, name: _cargo-index]`, 112 123 113 124 // TestCommitMail/Delete/Not_activated 114 - `/context_response.go:87:HTML() [E] Render failed: failed to render template: repo/editor/edit, error: template error: builtin(static):repo/editor/edit:13:13 : executing "repo/editor/edit" at <len .TreeNames>: error calling len: reflect: call of reflect.Value.Type on zero Value 125 + `:HTML() [E] Render failed: failed to render template: repo/editor/edit, error: template error: builtin(static):repo/editor/edit:13:13 : executing "repo/editor/edit" at <len .TreeNames>: error calling len: reflect: call of reflect.Value.Type on zero Value 115 126 ---------------------------------------------------------------------- 116 127 {{$n := len .TreeNames}} 117 128 ^ 118 129 ----------------------------------------------------------------------`, 119 130 // TestCommitMail/Delete/Not_belong_to_user 120 - `/context_response.go:87:HTML() [E] Render failed: failed to render template: repo/editor/edit, error: template error: builtin(static):repo/editor/edit:13:13 : executing "repo/editor/edit" at <len .TreeNames>: error calling len: reflect: call of reflect.Value.Type on zero Value 131 + `:HTML() [E] Render failed: failed to render template: repo/editor/edit, error: template error: builtin(static):repo/editor/edit:13:13 : executing "repo/editor/edit" at <len .TreeNames>: error calling len: reflect: call of reflect.Value.Type on zero Value 121 132 ---------------------------------------------------------------------- 122 133 {{$n := len .TreeNames}} 123 134 ^ 124 135 ----------------------------------------------------------------------`, 125 136 // TestCommitMail/Apply_patch/Not_activated 126 - `/context_response.go:87:HTML() [E] Render failed: failed to render template: repo/editor/edit, error: template error: builtin(static):repo/editor/edit:13:13 : executing "repo/editor/edit" at <len .TreeNames>: error calling len: reflect: call of reflect.Value.Type on zero Value 137 + `:HTML() [E] Render failed: failed to render template: repo/editor/edit, error: template error: builtin(static):repo/editor/edit:13:13 : executing "repo/editor/edit" at <len .TreeNames>: error calling len: reflect: call of reflect.Value.Type on zero Value 127 138 ---------------------------------------------------------------------- 128 139 {{$n := len .TreeNames}} 129 140 ^ 130 141 ----------------------------------------------------------------------`, 131 142 // TestCommitMail/Apply_patch/Not_belong_to_user 132 - `/context_response.go:87:HTML() [E] Render failed: failed to render template: repo/editor/edit, error: template error: builtin(static):repo/editor/edit:13:13 : executing "repo/editor/edit" at <len .TreeNames>: error calling len: reflect: call of reflect.Value.Type on zero Value 143 + `:HTML() [E] Render failed: failed to render template: repo/editor/edit, error: template error: builtin(static):repo/editor/edit:13:13 : executing "repo/editor/edit" at <len .TreeNames>: error calling len: reflect: call of reflect.Value.Type on zero Value 133 144 ---------------------------------------------------------------------- 134 145 {{$n := len .TreeNames}} 135 146 ^ 136 147 ----------------------------------------------------------------------`, 137 148 // TestCommitMail/Cherry_pick/Not_activated 138 - `/context_response.go:87:HTML() [E] Render failed: failed to render template: repo/editor/edit, error: template error: builtin(static):repo/editor/edit:13:13 : executing "repo/editor/edit" at <len .TreeNames>: error calling len: reflect: call of reflect.Value.Type on zero Value 149 + `:HTML() [E] Render failed: failed to render template: repo/editor/edit, error: template error: builtin(static):repo/editor/edit:13:13 : executing "repo/editor/edit" at <len .TreeNames>: error calling len: reflect: call of reflect.Value.Type on zero Value 139 150 ---------------------------------------------------------------------- 140 151 {{$n := len .TreeNames}} 141 152 ^ 142 153 ----------------------------------------------------------------------`, 143 154 // TestCommitMail/Cherry_pick/Not_belong_to_user 144 - `/context_response.go:87:HTML() [E] Render failed: failed to render template: repo/editor/edit, error: template error: builtin(static):repo/editor/edit:13:13 : executing "repo/editor/edit" at <len .TreeNames>: error calling len: reflect: call of reflect.Value.Type on zero Value 155 + `:HTML() [E] Render failed: failed to render template: repo/editor/edit, error: template error: builtin(static):repo/editor/edit:13:13 : executing "repo/editor/edit" at <len .TreeNames>: error calling len: reflect: call of reflect.Value.Type on zero Value 145 156 ---------------------------------------------------------------------- 146 157 {{$n := len .TreeNames}} 147 158 ^ ··· 149 160 // TestDangerZoneConfirmation/Convert_fork/Fail 150 161 `/gitea-repositories/user20/big_test_public_fork_7.git Error: no such file or directory`, 151 162 // TestGitSmartHTTP 152 - `/web/repo/githttp.go:384:sendFile() [E] request file path contains invalid path: objects/info/..\..\..\..\custom\conf\app.ini`, 153 - // TestGit/HTTP/BranchProtectMerge 154 - `s/private/ssh_log.go:26:SSHLog() [E] ssh: Not allowed to push to protected branch protected. HookPreReceive(last) failed: internal API error response, status=403`, 163 + `:sendFile() [E] request file path contains invalid path: objects/info/..\..\..\..\custom\conf\app.ini`, 155 164 // TestGit/HTTP/BranchProtectMerge 156 - `s/private/ssh_log.go:26:SSHLog() [E] ssh: Not allowed to push to protected branch protected. HookPreReceive(last) failed: internal API error response, status=403`, 165 + `:SSHLog() [E] ssh: Not allowed to push to protected branch protected. HookPreReceive(last) failed: internal API error response, status=403`, 157 166 // TestGit/HTTP/BranchProtectMerge 158 - `/gitea-repositories/user2/repo-tmp-17.git'`, 167 + `:SSHLog() [E] ssh: Not allowed to push to protected branch protected. HookPreReceive(last) failed: internal API error response, status=403`, 159 168 // TestGit/HTTP/BranchProtectMerge 160 - `s/private/ssh_log.go:26:SSHLog() [E] ssh: branch protected is protected from force push. HookPreReceive(last) failed: internal API error response, status=403`, 169 + `:SSHLog() [E] ssh: branch protected is protected from force push. HookPreReceive(last) failed: internal API error response, status=403`, 161 170 // TestGit/HTTP/MergeFork/CreatePRAndMerge 162 - `s/web/repo/branch.go:108:DeleteBranchPost() [E] DeleteBranch: GetBranch: branch does not exist [repo_id: 1099 name: user2:master]`, // sqlite 171 + `:DeleteBranchPost() [E] DeleteBranch: GetBranch: branch does not exist [repo_id: 1099 name: user2:master]`, // sqlite 163 172 "s/web/repo/branch.go:108:DeleteBranchPost() [E] DeleteBranch: GetBranch: branch does not exist [repo_id: 10000 name: user2:master]", // mysql 164 173 "s/web/repo/branch.go:108:DeleteBranchPost() [E] DeleteBranch: GetBranch: branch does not exist [repo_id: 1060 name: user2:master]", // pgsql 174 + // TestGit/HTTP/BranchProtectMerge 175 + `:func1() [E] PushToBaseRepo: PushRejected Error: exit status 1 - remote: error: cannot lock ref`, 176 + // TestGit/SSH/BranchProtectMerge 177 + `:func1() [E] PushToBaseRepo: PushRejected Error: exit status 1 - remote: error: cannot lock ref`, 165 178 // TestGit/SSH/LFS/PushCommit/Little 166 - `s/private/ssh_log.go:26:SSHLog() [E] ssh: Unknown git command. Unknown git command git-lfs-transfer`, 179 + `:SSHLog() [E] ssh: Unknown git command. Unknown git command git-lfs-transfer`, 167 180 // TestGit/SSH/LFS/PushCommit/Little 168 - `s/private/ssh_log.go:26:SSHLog() [E] ssh: Unknown git command. Unknown git command git-lfs-transfer`, 181 + `:SSHLog() [E] ssh: Unknown git command. Unknown git command git-lfs-transfer`, 169 182 // TestGit/SSH/LFS/PushCommit/Big 170 - `s/private/ssh_log.go:26:SSHLog() [E] ssh: Unknown git command. Unknown git command git-lfs-transfer`, 183 + `:SSHLog() [E] ssh: Unknown git command. Unknown git command git-lfs-transfer`, 171 184 // TestGit/SSH/LFS/PushCommit/Big 172 - `s/private/ssh_log.go:26:SSHLog() [E] ssh: Unknown git command. Unknown git command git-lfs-transfer`, 185 + `:SSHLog() [E] ssh: Unknown git command. Unknown git command git-lfs-transfer`, 173 186 // TestGit/SSH/LFS/Locks 174 - `s/private/ssh_log.go:26:SSHLog() [E] ssh: Unknown git command. Unknown git command git-lfs-transfer`, 187 + `:SSHLog() [E] ssh: Unknown git command. Unknown git command git-lfs-transfer`, 175 188 // TestGit/SSH/LFS/Locks 176 - `s/private/ssh_log.go:26:SSHLog() [E] ssh: Unknown git command. Unknown git command git-lfs-transfer`, 189 + `:SSHLog() [E] ssh: Unknown git command. Unknown git command git-lfs-transfer`, 177 190 // TestGit/SSH/LFS/Locks 178 - `s/private/ssh_log.go:26:SSHLog() [E] ssh: Unknown git command. Unknown git command git-lfs-transfer`, 191 + `:SSHLog() [E] ssh: Unknown git command. Unknown git command git-lfs-transfer`, 179 192 // TestGit/SSH/LFS/Locks 180 - `s/private/ssh_log.go:26:SSHLog() [E] ssh: Unknown git command. Unknown git command git-lfs-transfer`, 193 + `:SSHLog() [E] ssh: Unknown git command. Unknown git command git-lfs-transfer`, 181 194 // TestGit/SSH/LFS/Locks 182 - `s/private/ssh_log.go:26:SSHLog() [E] ssh: Unknown git command. Unknown git command git-lfs-transfer`, 195 + `:SSHLog() [E] ssh: Unknown git command. Unknown git command git-lfs-transfer`, 183 196 // TestGit/SSH/CreateAgitFlowPull/PushParams/NoParams 184 - `s/private/ssh_log.go:26:SSHLog() [E] ssh: Unknown git command. Unknown git command git-lfs-transfer`, 197 + `:SSHLog() [E] ssh: Unknown git command. Unknown git command git-lfs-transfer`, 185 198 // TestGit/SSH/CreateAgitFlowPull/PushParams/NoParams 186 - `s/private/ssh_log.go:26:SSHLog() [E] ssh: Unknown git command. Unknown git command git-lfs-transfer`, 199 + `:SSHLog() [E] ssh: Unknown git command. Unknown git command git-lfs-transfer`, 187 200 // TestGit/SSH/CreateAgitFlowPull/PushParams/TitleOverride 188 - `s/private/ssh_log.go:26:SSHLog() [E] ssh: Unknown git command. Unknown git command git-lfs-transfer`, 201 + `:SSHLog() [E] ssh: Unknown git command. Unknown git command git-lfs-transfer`, 189 202 // TestGit/SSH/CreateAgitFlowPull/PushParams/TitleOverride 190 - `s/private/ssh_log.go:26:SSHLog() [E] ssh: Unknown git command. Unknown git command git-lfs-transfer`, 203 + `:SSHLog() [E] ssh: Unknown git command. Unknown git command git-lfs-transfer`, 191 204 // TestGit/SSH/CreateAgitFlowPull/PushParams/DescriptionOverride 192 - `s/private/ssh_log.go:26:SSHLog() [E] ssh: Unknown git command. Unknown git command git-lfs-transfer`, 205 + `:SSHLog() [E] ssh: Unknown git command. Unknown git command git-lfs-transfer`, 193 206 // TestGit/SSH/CreateAgitFlowPull/PushParams/DescriptionOverride 194 - `s/private/ssh_log.go:26:SSHLog() [E] ssh: Unknown git command. Unknown git command git-lfs-transfer`, 207 + `:SSHLog() [E] ssh: Unknown git command. Unknown git command git-lfs-transfer`, 195 208 // TestGit/SSH/CreateAgitFlowPull/Force_push/Fails 196 - `s/private/ssh_log.go:26:SSHLog() [E] ssh: Unknown git command. Unknown git command git-lfs-transfer`, 209 + `:SSHLog() [E] ssh: Unknown git command. Unknown git command git-lfs-transfer`, 197 210 // TestGit/SSH/CreateAgitFlowPull/Force_push/Fails 198 - `s/private/ssh_log.go:26:SSHLog() [E] ssh: Unknown git command. Unknown git command git-lfs-transfer`, 211 + `:SSHLog() [E] ssh: Unknown git command. Unknown git command git-lfs-transfer`, 199 212 // TestGit/SSH/CreateAgitFlowPull/Force_push/Succeeds 200 - `s/private/ssh_log.go:26:SSHLog() [E] ssh: Unknown git command. Unknown git command git-lfs-transfer`, 213 + `:SSHLog() [E] ssh: Unknown git command. Unknown git command git-lfs-transfer`, 201 214 // TestGit/SSH/CreateAgitFlowPull/Force_push/Succeeds 202 - `s/private/ssh_log.go:26:SSHLog() [E] ssh: Unknown git command. Unknown git command git-lfs-transfer`, 215 + `:SSHLog() [E] ssh: Unknown git command. Unknown git command git-lfs-transfer`, 203 216 // TestGit/SSH/CreateAgitFlowPull/Force_push 204 - `s/private/ssh_log.go:26:SSHLog() [E] ssh: Unknown git command. Unknown git command git-lfs-transfer`, 217 + `:SSHLog() [E] ssh: Unknown git command. Unknown git command git-lfs-transfer`, 205 218 // TestGit/SSH/CreateAgitFlowPull/Force_push 206 - `s/private/ssh_log.go:26:SSHLog() [E] ssh: Unknown git command. Unknown git command git-lfs-transfer`, 219 + `:SSHLog() [E] ssh: Unknown git command. Unknown git command git-lfs-transfer`, 207 220 // TestGit/SSH/CreateAgitFlowPull/Branch_already_contains_commit 208 - `s/private/ssh_log.go:26:SSHLog() [E] ssh: Unknown git command. Unknown git command git-lfs-transfer`, 221 + `:SSHLog() [E] ssh: Unknown git command. Unknown git command git-lfs-transfer`, 209 222 // TestGit/SSH/CreateAgitFlowPull/Branch_already_contains_commit 210 - `s/private/ssh_log.go:26:SSHLog() [E] ssh: Unknown git command. Unknown git command git-lfs-transfer`, 223 + `:SSHLog() [E] ssh: Unknown git command. Unknown git command git-lfs-transfer`, 211 224 // TestGit/SSH/CreateAgitFlowPull 212 - `s/private/ssh_log.go:26:SSHLog() [E] ssh: Unknown git command. Unknown git command git-lfs-transfer`, 225 + `:SSHLog() [E] ssh: Unknown git command. Unknown git command git-lfs-transfer`, 213 226 // TestGit/SSH/CreateAgitFlowPull 214 - `s/private/ssh_log.go:26:SSHLog() [E] ssh: Unknown git command. Unknown git command git-lfs-transfer`, 227 + `:SSHLog() [E] ssh: Unknown git command. Unknown git command git-lfs-transfer`, 215 228 // TestGit/SSH/CreateAgitFlowPull 216 - `s/private/ssh_log.go:26:SSHLog() [E] ssh: Unknown git command. Unknown git command git-lfs-transfer`, 229 + `:SSHLog() [E] ssh: Unknown git command. Unknown git command git-lfs-transfer`, 217 230 // TestGit/SSH/CreateAgitFlowPull 218 - `s/private/ssh_log.go:26:SSHLog() [E] ssh: Unknown git command. Unknown git command git-lfs-transfer`, 231 + `:SSHLog() [E] ssh: Unknown git command. Unknown git command git-lfs-transfer`, 219 232 // TestGit/SSH/CreateAgitFlowPull 220 - `s/private/ssh_log.go:26:SSHLog() [E] ssh: Unknown git command. Unknown git command git-lfs-transfer`, 233 + `:SSHLog() [E] ssh: Unknown git command. Unknown git command git-lfs-transfer`, 221 234 // TestGit/SSH/CreateAgitFlowPull 222 - `s/private/ssh_log.go:26:SSHLog() [E] ssh: Unknown git command. Unknown git command git-lfs-transfer`, 235 + `:SSHLog() [E] ssh: Unknown git command. Unknown git command git-lfs-transfer`, 223 236 // TestGit/SSH/CreateAgitFlowPull 224 - `s/private/ssh_log.go:26:SSHLog() [E] ssh: Unknown git command. Unknown git command git-lfs-transfer`, 237 + `:SSHLog() [E] ssh: Unknown git command. Unknown git command git-lfs-transfer`, 225 238 // TestGit/SSH/CreateAgitFlowPull 226 - `s/private/ssh_log.go:26:SSHLog() [E] ssh: Unknown git command. Unknown git command git-lfs-transfer`, 239 + `:SSHLog() [E] ssh: Unknown git command. Unknown git command git-lfs-transfer`, 227 240 // TestGit/SSH/BranchProtectMerge 228 - `s/private/ssh_log.go:26:SSHLog() [E] ssh: Unknown git command. Unknown git command git-lfs-transfer`, 241 + `:SSHLog() [E] ssh: Unknown git command. Unknown git command git-lfs-transfer`, 229 242 // TestGit/SSH/BranchProtectMerge 230 - `s/private/ssh_log.go:26:SSHLog() [E] ssh: Unknown git command. Unknown git command git-lfs-transfer`, 243 + `:SSHLog() [E] ssh: Unknown git command. Unknown git command git-lfs-transfer`, 231 244 // TestGit/SSH/BranchProtectMerge 232 - `s/private/ssh_log.go:26:SSHLog() [E] ssh: Unknown git command. Unknown git command git-lfs-transfer`, 245 + `:SSHLog() [E] ssh: Unknown git command. Unknown git command git-lfs-transfer`, 233 246 // TestGit/SSH/BranchProtectMerge 234 - `s/private/ssh_log.go:26:SSHLog() [E] ssh: Unknown git command. Unknown git command git-lfs-transfer`, 247 + `:SSHLog() [E] ssh: Unknown git command. Unknown git command git-lfs-transfer`, 235 248 // TestGit/SSH/BranchProtectMerge 236 - `s/private/ssh_log.go:26:SSHLog() [E] ssh: Not allowed to push to protected branch protected. HookPreReceive(last) failed: internal API error response, status=403`, 249 + `:SSHLog() [E] ssh: Not allowed to push to protected branch protected. HookPreReceive(last) failed: internal API error response, status=403`, 237 250 // TestGit/SSH/BranchProtectMerge 238 - `s/private/ssh_log.go:26:SSHLog() [E] ssh: Unknown git command. Unknown git command git-lfs-transfer`, 251 + `:SSHLog() [E] ssh: Unknown git command. Unknown git command git-lfs-transfer`, 239 252 // TestGit/SSH/BranchProtectMerge 240 - `s/private/ssh_log.go:26:SSHLog() [E] ssh: Unknown git command. Unknown git command git-lfs-transfer`, 241 - // TestGit/SSH/BranchProtectMerge 242 - `s/private/ssh_log.go:26:SSHLog() [E] ssh: Unknown git command. Unknown git command git-lfs-transfer`, 253 + `:SSHLog() [E] ssh: Unknown git command. Unknown git command git-lfs-transfer`, 243 254 // TestGit/SSH/BranchProtectMerge 244 - `s/private/ssh_log.go:26:SSHLog() [E] ssh: Unknown git command. Unknown git command git-lfs-transfer`, 255 + `:SSHLog() [E] ssh: Unknown git command. Unknown git command git-lfs-transfer`, 245 256 // TestGit/SSH/BranchProtectMerge 246 - `/gitea-repositories/user2/repo-tmp-18.git'`, 257 + `:SSHLog() [E] ssh: Unknown git command. Unknown git command git-lfs-transfer`, 247 258 // TestGit/SSH/BranchProtectMerge 248 - `s/private/ssh_log.go:26:SSHLog() [E] ssh: Unknown git command. Unknown git command git-lfs-transfer`, 259 + `:SSHLog() [E] ssh: Unknown git command. Unknown git command git-lfs-transfer`, 249 260 // TestGit/SSH/BranchProtectMerge 250 - `s/private/ssh_log.go:26:SSHLog() [E] ssh: Unknown git command. Unknown git command git-lfs-transfer`, 261 + `:SSHLog() [E] ssh: Unknown git command. Unknown git command git-lfs-transfer`, 251 262 // TestGit/SSH/BranchProtectMerge 252 - `s/private/ssh_log.go:26:SSHLog() [E] ssh: Unknown git command. Unknown git command git-lfs-transfer`, 263 + `:SSHLog() [E] ssh: Unknown git command. Unknown git command git-lfs-transfer`, 253 264 // TestGit/SSH/BranchProtectMerge 254 - `s/private/ssh_log.go:26:SSHLog() [E] ssh: Unknown git command. Unknown git command git-lfs-transfer`, 265 + `:SSHLog() [E] ssh: Unknown git command. Unknown git command git-lfs-transfer`, 255 266 // TestGit/SSH/BranchProtectMerge 256 - `s/private/ssh_log.go:26:SSHLog() [E] ssh: branch protected is protected from force push. HookPreReceive(last) failed: internal API error response, status=403`, 267 + `:SSHLog() [E] ssh: branch protected is protected from force push. HookPreReceive(last) failed: internal API error response, status=403`, 257 268 // TestGit/SSH/BranchProtectMerge 258 - `s/private/ssh_log.go:26:SSHLog() [E] ssh: Unknown git command. Unknown git command git-lfs-transfer`, 269 + `:SSHLog() [E] ssh: Unknown git command. Unknown git command git-lfs-transfer`, 259 270 // TestGit/SSH/BranchProtectMerge 260 - `s/private/ssh_log.go:26:SSHLog() [E] ssh: Unknown git command. Unknown git command git-lfs-transfer`, 271 + `:SSHLog() [E] ssh: Unknown git command. Unknown git command git-lfs-transfer`, 261 272 // TestGit/SSH/MergeFork/CreatePRAndMerge 262 - `s/web/repo/branch.go:108:DeleteBranchPost() [E] DeleteBranch: GetBranch: branch does not exist [repo_id: 1102 name: user2:master]`, // sqlite 273 + `:DeleteBranchPost() [E] DeleteBranch: GetBranch: branch does not exist [repo_id: 1102 name: user2:master]`, // sqlite 263 274 "s/web/repo/branch.go:108:DeleteBranchPost() [E] DeleteBranch: GetBranch: branch does not exist [repo_id: 10003 name: user2:master]", // mysql 264 275 "s/web/repo/branch.go:108:DeleteBranchPost() [E] DeleteBranch: GetBranch: branch does not exist [repo_id: 1063 name: user2:master]", // pgsql 265 276 // TestGit/SSH/PushCreate 266 - `s/private/ssh_log.go:26:SSHLog() [E] ssh: Push to create is not enabled for users. ServCommand failed: internal API error response, status=403`, 277 + `:SSHLog() [E] ssh: Push to create is not enabled for users. ServCommand failed: internal API error response, status=403`, 267 278 // TestGit/SSH/PushCreate 268 - `s/private/ssh_log.go:26:SSHLog() [E] ssh: Cannot find repository: user2/repo-tmp-push-create-ssh. ServCommand failed: internal API error response, status=404`, 279 + `:SSHLog() [E] ssh: Cannot find repository: user2/repo-tmp-push-create-ssh. ServCommand failed: internal API error response, status=404`, 269 280 // TestGit/SSH/PushCreate 270 - `s/private/ssh_log.go:26:SSHLog() [E] ssh: Invalid repo name. Invalid repo name: invalid/repo-tmp-push-create-ssh`, 281 + `:SSHLog() [E] ssh: Invalid repo name. Invalid repo name: invalid/repo-tmp-push-create-ssh`, 271 282 // TestIssueReaction 272 - `rs/web/repo/issue.go:3282:ChangeIssueReaction() [E] ChangeIssueReaction: '8ball' is not an allowed reaction`, 283 + `:ChangeIssueReaction() [E] ChangeIssueReaction: '8ball' is not an allowed reaction`, 273 284 // TestIssuePinMove 274 - `eb/repo/issue_pin.go:95:IssuePinMove() [E] Issue does not belong to this repository`, 285 + `:IssuePinMove() [E] Issue does not belong to this repository`, 275 286 // TestLinksLogin 276 - `ervices/pull/pull.go:880:GetIssuesAllCommitStatus() [E] getAllCommitStatus: cant get commit statuses of pull [6]: object does not exist [id: refs/pull/2/head, rel_path: ]`, 287 + `:GetIssuesAllCommitStatus() [E] getAllCommitStatus: cant get commit statuses of pull [6]: object does not exist [id: refs/pull/2/head, rel_path: ]`, 277 288 // TestLinksLogin 278 - `ervices/pull/pull.go:880:GetIssuesAllCommitStatus() [E] getAllCommitStatus: cant get commit statuses of pull [6]: object does not exist [id: refs/pull/2/head, rel_path: ]`, 289 + `:GetIssuesAllCommitStatus() [E] getAllCommitStatus: cant get commit statuses of pull [6]: object does not exist [id: refs/pull/2/head, rel_path: ]`, 279 290 // TestLinksLogin 280 - `ervices/pull/pull.go:880:GetIssuesAllCommitStatus() [E] getAllCommitStatus: cant get commit statuses of pull [6]: object does not exist [id: refs/pull/2/head, rel_path: ]`, 291 + `:GetIssuesAllCommitStatus() [E] getAllCommitStatus: cant get commit statuses of pull [6]: object does not exist [id: refs/pull/2/head, rel_path: ]`, 281 292 // TestLinksLogin 282 - `ervices/pull/pull.go:872:GetIssuesAllCommitStatus() [E] Cannot open git repository <Repository 23:org17/big_test_public_4> for issue #1[20]. Error: no such file or directory`, 293 + `:GetIssuesAllCommitStatus() [E] Cannot open git repository <Repository 23:org17/big_test_public_4> for issue #1[20]. Error: no such file or directory`, 283 294 // TestMigrate 284 295 `] for OwnerID[2] failed: error while listing issues: token does not have at least one of required scope(s): [read:issue]`, 285 296 // TestMigrate 286 - `ervices/task/task.go:53:handler() [E] Run task failed: error while listing issues: token does not have at least one of required scope(s): [read:issue]`, 297 + `:handler() [E] Run task failed: error while listing issues: token does not have at least one of required scope(s): [read:issue]`, 287 298 // TestMigrate 288 299 `] for OwnerID[2] failed: error while listing issues: token does not have at least one of required scope(s): [read:issue]`, 289 300 // TestMigrate 290 - `ervices/task/task.go:53:handler() [E] Run task failed: error while listing issues: token does not have at least one of required scope(s): [read:issue]`, 301 + `:handler() [E] Run task failed: error while listing issues: token does not have at least one of required scope(s): [read:issue]`, 291 302 // TestMirrorPush 292 - `/web/repo/githttp.go:533:GetInfoRefs() [E] fork/exec /usr/bin/git: no such file or directory -`, 303 + `:GetInfoRefs() [E] fork/exec /usr/bin/git: no such file or directory -`, 293 304 294 305 // TestOrgMembers 295 - `nization/org_user.go:122:loadOrganizationOwners() [E] Organization does not have owner team: 25`, 306 + `:loadOrganizationOwners() [E] Organization does not have owner team: 25`, 296 307 // TestOrgMembers 297 - `nization/org_user.go:122:loadOrganizationOwners() [E] Organization does not have owner team: 25`, 308 + `:loadOrganizationOwners() [E] Organization does not have owner team: 25`, 298 309 // TestOrgMembers 299 - `nization/org_user.go:122:loadOrganizationOwners() [E] Organization does not have owner team: 25`, 310 + `:loadOrganizationOwners() [E] Organization does not have owner team: 25`, 300 311 // TestRecentlyPushed/unrelated_branches_are_not_shown 301 - `repository/branch.go:30:SyncRepoBranches() [E] OpenRepository[user30/repo50]: %!w(*errors.errorString=&{no such file or directory})`, 312 + `:SyncRepoBranches() [E] OpenRepository[user30/repo50]: %!w(*errors.errorString=&{no such file or directory})`, 302 313 // TestRecentlyPushed/unrelated_branches_are_not_shown 303 - `repository/branch.go:488:handlerBranchSync() [E] syncRepoBranches [50] failed: no such file or directory`, 314 + `:handlerBranchSync() [E] syncRepoBranches [50] failed: no such file or directory`, 304 315 // TestRecentlyPushed/unrelated_branches_are_not_shown 305 - `repository/branch.go:30:SyncRepoBranches() [E] OpenRepository[user30/repo51]: %!w(*errors.errorString=&{no such file or directory})`, 316 + `:SyncRepoBranches() [E] OpenRepository[user30/repo51]: %!w(*errors.errorString=&{no such file or directory})`, 306 317 // TestRecentlyPushed/unrelated_branches_are_not_shown 307 - `repository/branch.go:488:handlerBranchSync() [E] syncRepoBranches [51] failed: no such file or directory`, 318 + `:handlerBranchSync() [E] syncRepoBranches [51] failed: no such file or directory`, 308 319 // TestRecentlyPushed/unrelated_branches_are_not_shown 309 - `repository/branch.go:30:SyncRepoBranches() [E] OpenRepository[user2/scoped_label]: %!w(*errors.errorString=&{no such file or directory})`, 320 + `:SyncRepoBranches() [E] OpenRepository[user2/scoped_label]: %!w(*errors.errorString=&{no such file or directory})`, 310 321 // TestRecentlyPushed/unrelated_branches_are_not_shown 311 - `repository/branch.go:488:handlerBranchSync() [E] syncRepoBranches [55] failed: no such file or directory`, 322 + `:handlerBranchSync() [E] syncRepoBranches [55] failed: no such file or directory`, 312 323 // TestCantMergeConflict 313 324 "]user1/repo1#1[base...conflict]> Unable to merge tracking into base: Merge Conflict Error: exit status 1: \nAuto-merging README.md\nCONFLICT (content): Merge conflict in README.md\nAutomatic merge failed; fix conflicts and then commit the result.", 314 325 ··· 321 332 // TestPullrequestReopen/Head_branch_deleted 322 333 `]user2/reopen-base#1[base-branch...org26/reopen-head:head-branch]>]: branch does not exist [repo_id: 0 name: head-branch]`, 323 334 // TestDatabaseMissingABranch 324 - `repository/branch.go:30:SyncRepoBranches() [E] OpenRepository[user30/repo50]: %!w(*errors.errorString=&{no such file or directory})`, 335 + `:SyncRepoBranches() [E] OpenRepository[user30/repo50]: %!w(*errors.errorString=&{no such file or directory})`, 325 336 // TestDatabaseMissingABranch 326 - `repository/branch.go:488:handlerBranchSync() [E] syncRepoBranches [50] failed: no such file or directory`, 337 + `:handlerBranchSync() [E] syncRepoBranches [50] failed: no such file or directory`, 327 338 // TestDatabaseMissingABranch 328 - `repository/branch.go:30:SyncRepoBranches() [E] OpenRepository[user30/repo51]: %!w(*errors.errorString=&{no such file or directory})`, 339 + `:SyncRepoBranches() [E] OpenRepository[user30/repo51]: %!w(*errors.errorString=&{no such file or directory})`, 329 340 // TestDatabaseMissingABranch 330 - `repository/branch.go:488:handlerBranchSync() [E] syncRepoBranches [51] failed: no such file or directory`, 341 + `:handlerBranchSync() [E] syncRepoBranches [51] failed: no such file or directory`, 331 342 // TestDatabaseMissingABranch 332 - `repository/branch.go:30:SyncRepoBranches() [E] OpenRepository[user2/scoped_label]: %!w(*errors.errorString=&{no such file or directory})`, 343 + `:SyncRepoBranches() [E] OpenRepository[user2/scoped_label]: %!w(*errors.errorString=&{no such file or directory})`, 333 344 // TestDatabaseMissingABranch 334 - `repository/branch.go:488:handlerBranchSync() [E] syncRepoBranches [55] failed: no such file or directory`, 345 + `:handlerBranchSync() [E] syncRepoBranches [55] failed: no such file or directory`, 335 346 // TestDatabaseMissingABranch 336 - `repository/branch.go:100:LoadBranches() [E] loadOneBranch() on repo #1, branch 'will-be-missing' failed: CountDivergingCommits: exit status 128 - fatal: bad revision 'master...refs/heads/will-be-missing' 347 + `:LoadBranches() [E] loadOneBranch() on repo #1, branch 'will-be-missing' failed: CountDivergingCommits: exit status 128 - fatal: bad revision 'master...refs/heads/will-be-missing' 337 348 - fatal: bad revision 'master...refs/heads/will-be-missing'`, 338 349 // TestDatabaseMissingABranch 339 - `repository/branch.go:30:SyncRepoBranches() [E] OpenRepository[user30/repo50]: %!w(*errors.errorString=&{no such file or directory})`, 350 + `:SyncRepoBranches() [E] OpenRepository[user30/repo50]: %!w(*errors.errorString=&{no such file or directory})`, 340 351 // TestDatabaseMissingABranch 341 - `repository/branch.go:488:handlerBranchSync() [E] syncRepoBranches [50] failed: no such file or directory`, 352 + `:handlerBranchSync() [E] syncRepoBranches [50] failed: no such file or directory`, 342 353 // TestDatabaseMissingABranch 343 - `repository/branch.go:30:SyncRepoBranches() [E] OpenRepository[user30/repo51]: %!w(*errors.errorString=&{no such file or directory})`, 354 + `:SyncRepoBranches() [E] OpenRepository[user30/repo51]: %!w(*errors.errorString=&{no such file or directory})`, 344 355 // TestDatabaseMissingABranch 345 - `repository/branch.go:488:handlerBranchSync() [E] syncRepoBranches [51] failed: no such file or directory`, 356 + `:handlerBranchSync() [E] syncRepoBranches [51] failed: no such file or directory`, 346 357 // TestDatabaseMissingABranch 347 - `repository/branch.go:30:SyncRepoBranches() [E] OpenRepository[user2/scoped_label]: %!w(*errors.errorString=&{no such file or directory})`, 358 + `:SyncRepoBranches() [E] OpenRepository[user2/scoped_label]: %!w(*errors.errorString=&{no such file or directory})`, 348 359 // TestDatabaseMissingABranch 349 - `repository/branch.go:488:handlerBranchSync() [E] syncRepoBranches [55] failed: no such file or directory`, 360 + `:handlerBranchSync() [E] syncRepoBranches [55] failed: no such file or directory`, 350 361 // TestDatabaseMissingABranch 351 362 "LoadBranches() [E] loadOneBranch() on repo #1, branch 'will-be-missing' failed: CountDivergingCommits: exit status 128 - fatal: bad revision 'master...refs/heads/will-be-missing'\n - fatal: bad revision 'master...refs/heads/will-be-missing'", 352 363 353 364 // TestCreateNewTagProtected/Git 354 - `s/private/ssh_log.go:26:SSHLog() [E] ssh: Tag v-2 is protected. HookPreReceive(last) failed: internal API error response, status=403`, 365 + `:SSHLog() [E] ssh: Tag v-2 is protected. HookPreReceive(last) failed: internal API error response, status=403`, 355 366 // TestMarkDownReadmeImage 356 - `ers/web/repo/view.go:1167:checkOutdatedBranch() [E] GetBranch: branch does not exist [repo_id: 1 name: home-md-img-check]`, 367 + `:checkOutdatedBranch() [E] GetBranch: branch does not exist [repo_id: 1 name: home-md-img-check]`, 357 368 // TestMarkDownReadmeImage 358 - `ers/web/repo/view.go:1167:checkOutdatedBranch() [E] GetBranch: branch does not exist [repo_id: 1 name: home-md-img-check]`, 369 + `:checkOutdatedBranch() [E] GetBranch: branch does not exist [repo_id: 1 name: home-md-img-check]`, 359 370 // TestMarkDownReadmeImageSubfolder 360 - `ers/web/repo/view.go:1167:checkOutdatedBranch() [E] GetBranch: branch does not exist [repo_id: 1 name: sub-home-md-img-check]`, 371 + `:checkOutdatedBranch() [E] GetBranch: branch does not exist [repo_id: 1 name: sub-home-md-img-check]`, 361 372 // TestMarkDownReadmeImageSubfolder 362 - `ers/web/repo/view.go:1167:checkOutdatedBranch() [E] GetBranch: branch does not exist [repo_id: 1 name: sub-home-md-img-check]`, 373 + `:checkOutdatedBranch() [E] GetBranch: branch does not exist [repo_id: 1 name: sub-home-md-img-check]`, 363 374 364 375 // TestKeyOnlyOneType 365 376 `:ssh-key-test-repo-push is not authorized to write to user2/ssh-key-test-repo. ServCommand failed: internal API error response, status=401`, ··· 385 396 } 386 397 387 398 func (w *testLoggerWriterCloser) recordError(msg string) { 388 - for _, s := range ignoredErrorMessageSuffixes { 389 - if strings.HasSuffix(msg, s) { 399 + for _, s := range ignoredErrorMessage { 400 + if strings.Contains(msg, s) { 390 401 return 391 402 } 392 403 }