Multiple Errors for TAGS="bindata sqlite sqlite_unlock_notify" make build test-sqlite with the current release version #7609

Closed
opened 2025-11-02 07:31:17 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @vw98075 on GitHub (Jul 20, 2021).

  • Gitea version (or commit ref): 1.15.0+dev-g49ad088b8
  • Git version: 2.30.1
  • Operating system: Macbook Pro
  • Database (use [x]):
    • [x ] PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
  • Log gist:

Description

...

Screenshots

 % TAGS="bindata sqlite sqlite_unlock_notify" make build test-sqlite
Running go generate...
bindata for options already up-to-date
bindata for public already up-to-date
bindata for templates already up-to-date
go test    -mod=vendor -c code.gitea.io/gitea/integrations -o integrations.sqlite.test -tags 'sqlite sqlite_unlock_notify'
sed -e 's|{{REPO_TEST_DIR}}||g' \
			integrations/sqlite.ini.tmpl > integrations/sqlite.ini
GITEA_ROOT="/Users/vewu/Documents/workspace/gitea" GITEA_CONF=integrations/sqlite.ini ./integrations.sqlite.test
2021/07/20 13:50:32 ...s/storage/storage.go:170:initAttachments() [I] Initialising Attachment storage with type: 
2021/07/20 13:50:32 ...les/storage/local.go:47:NewLocalStorage() [I] Creating new Local Storage at /Users/vewu/Documents/workspace/gitea/integrations/gitea-integration-sqlite/data/attachments
2021/07/20 13:50:32 ...s/storage/storage.go:164:initAvatars() [I] Initialising Avatar storage with type: 
2021/07/20 13:50:32 ...les/storage/local.go:47:NewLocalStorage() [I] Creating new Local Storage at /Users/vewu/Documents/workspace/gitea/integrations/gitea-integration-sqlite/data/avatars
2021/07/20 13:50:32 ...s/storage/storage.go:182:initRepoAvatars() [I] Initialising Repository Avatar storage with type: 
2021/07/20 13:50:32 ...les/storage/local.go:47:NewLocalStorage() [I] Creating new Local Storage at /Users/vewu/Documents/workspace/gitea/integrations/gitea-integration-sqlite/data/repo-avatars
2021/07/20 13:50:32 ...s/storage/storage.go:176:initLFS() [I] Initialising LFS storage with type: 
2021/07/20 13:50:32 ...les/storage/local.go:47:NewLocalStorage() [I] Creating new Local Storage at /Users/vewu/Documents/workspace/gitea/integrations/gitea-integration-sqlite/data/lfs
2021/07/20 13:50:32 ...s/storage/storage.go:188:initRepoArchives() [I] Initialising Repository Archive storage with type: 
2021/07/20 13:50:32 ...les/storage/local.go:47:NewLocalStorage() [I] Creating new Local Storage at /Users/vewu/Documents/workspace/gitea/integrations/gitea-integration-sqlite/data/repo-archive
2021/07/20 13:50:32 routers/init.go:74:GlobalInit() [I] Git Version: 2.30.1, Wire Protocol Version 2 Enabled
2021/07/20 13:50:32 routers/init.go:77:GlobalInit() [I] AppPath: /Users/vewu/Documents/workspace/gitea/gitea
2021/07/20 13:50:32 routers/init.go:78:GlobalInit() [I] AppWorkPath: /Users/vewu/Documents/workspace/gitea
2021/07/20 13:50:32 routers/init.go:79:GlobalInit() [I] Custom path: /Users/vewu/Documents/workspace/gitea/custom
2021/07/20 13:50:32 routers/init.go:80:GlobalInit() [I] Log path: sqlite-log
2021/07/20 13:50:32 routers/init.go:81:GlobalInit() [I] Run Mode: Prod
=== TestAdminViewUsers (integrations/admin_user_test.go:18)
=== TestAdminViewUser (integrations/admin_user_test.go:30)
=== TestAdminEditUser (integrations/admin_user_test.go:42)
=== TestAdminDeleteUser (integrations/admin_user_test.go:70)
=== TestAPIAdminOrgCreate (integrations/git_helper_for_declarative_test.go:112)
=== TestAPIAdminOrgCreateBadVisibility (integrations/git_helper_for_declarative_test.go:112)
=== TestAPIAdminOrgCreateNotAdmin (integrations/api_admin_org_test.go:72)
=== TestAPIAdminCreateAndDeleteSSHKey (integrations/api_admin_test.go:20)
=== TestAPIAdminDeleteMissingSSHKey (integrations/api_admin_test.go:50)
=== TestAPIAdminDeleteUnauthorizedKey (integrations/api_admin_test.go:60)
=== TestAPISudoUser (integrations/api_admin_test.go:83)
=== TestAPISudoUserForbidden (integrations/api_admin_test.go:99)
=== TestAPIListUsers (integrations/api_admin_test.go:112)
=== TestAPIListUsersNotLoggedIn (integrations/api_admin_test.go:135)
=== TestAPIListUsersNonAdmin (integrations/api_admin_test.go:141)
=== TestAPICreateUserInvalidEmail (integrations/api_admin_test.go:150)
=== TestAPIEditUser (integrations/api_admin_test.go:169)
=== TestAPIGetBranch (integrations/api_branch_test.go:90)
=== TestAPICreateBranch (integrations/git_helper_for_declarative_test.go:112)
=== TestAPIBranchProtection (integrations/api_branch_test.go:177)
=== TestAPIListRepoComments (integrations/api_comment_test.go:21)
=== TestAPIListIssueComments (integrations/api_comment_test.go:67)
=== TestAPICreateComment (integrations/api_comment_test.go:88)
=== TestAPIGetComment (integrations/api_comment_test.go:111)
=== TestAPIEditComment (integrations/api_comment_test.go:138)
=== TestAPIDeleteComment (integrations/api_comment_test.go:164)
=== TestCreateForkNoLogin (integrations/api_fork_test.go:15)
=== TestGPGKeys (integrations/api_gpg_keys_test.go:21)
=== TestAPIIssuesMilestone (integrations/api_issue_milestone_test.go:19)
=== TestAPIIssuesReactions (integrations/api_issue_reaction_test.go:21)
=== TestAPICommentReactions (integrations/api_issue_reaction_test.go:78)
=== TestAPIListStopWatches (integrations/api_issue_stopwatch_test.go:18)
=== TestAPIStopStopWatches (integrations/api_issue_stopwatch_test.go:42)
=== TestAPICancelStopWatches (integrations/api_issue_stopwatch_test.go:58)
=== TestAPIStartStopWatches (integrations/api_issue_stopwatch_test.go:74)
=== TestAPIIssueSubscriptions (integrations/api_issue_subscription_test.go:19)
=== TestAPIListIssues (integrations/api_issue_test.go:21)
=== TestAPICreateIssue (integrations/api_issue_test.go:71)
=== TestAPIEditIssue (integrations/api_issue_test.go:104)
=== TestAPISearchIssues (integrations/api_issue_test.go:166)
=== TestAPISearchIssuesWithLabels (integrations/api_issue_test.go:242)
=== TestAPIGetTrackedTimes (integrations/api_issue_tracked_time_test.go:20)
=== TestAPIDeleteTrackedTime (integrations/api_issue_tracked_time_test.go:62)
=== TestAPIAddTrackedTimes (integrations/api_issue_tracked_time_test.go:97)
=== TestViewDeployKeysNoLogin (integrations/api_keys_test.go:20)
=== TestCreateDeployKeyNoLogin (integrations/api_keys_test.go:26)
=== TestGetDeployKeyNoLogin (integrations/api_keys_test.go:35)
=== TestDeleteDeployKeyNoLogin (integrations/api_keys_test.go:41)
=== TestCreateReadOnlyDeployKey (integrations/api_keys_test.go:47)
=== TestCreateReadWriteDeployKey (integrations/api_keys_test.go:73)
=== TestCreateUserKey (integrations/api_keys_test.go:98)
=== TestAPINotification (integrations/api_notification_test.go:19)
=== TestOAuth2Application (integrations/api_oauth2_apps_test.go:19)
=== TestAPIOrgCreate (integrations/git_helper_for_declarative_test.go:112)
=== TestAPIOrgEdit (integrations/git_helper_for_declarative_test.go:112)
=== TestAPIOrgEditBadVisibility (integrations/git_helper_for_declarative_test.go:112)
=== TestAPIOrgDeny (integrations/git_helper_for_declarative_test.go:112)
=== TestAPIGetAll (integrations/api_org_test.go:141)
=== TestAPIPullCommits (integrations/api_pull_commits_test.go:17)
=== TestAPIPullReview (integrations/api_pull_review_test.go:19)
=== TestAPIPullReviewRequest (integrations/api_pull_review_test.go:221)
=== TestAPIViewPulls (integrations/api_pull_test.go:22)
=== TestAPIMergePullWIP (integrations/api_pull_test.go:39)
=== TestAPICreatePullSuccess (integrations/api_pull_test.go:62)
=== TestAPICreatePullWithFieldsSuccess (integrations/api_pull_test.go:82)
=== TestAPICreatePullWithFieldsFailure (integrations/api_pull_test.go:119)
=== TestAPIEditPull (integrations/api_pull_test.go:153)
=== TestAPIListReleases (integrations/api_releases_test.go:21)
=== TestAPICreateAndUpdateRelease (integrations/api_releases_test.go:98)
=== TestAPICreateReleaseToDefaultBranch (integrations/api_releases_test.go:149)
=== TestAPICreateReleaseToDefaultBranchOnExistingTag (integrations/api_releases_test.go:160)
=== TestAPIGetReleaseByTag (integrations/api_releases_test.go:178)
=== TestAPIDeleteReleaseByTagName (integrations/api_releases_test.go:211)
=== TestAPIRepoEdit (integrations/git_helper_for_declarative_test.go:112)
=== TestAPICreateFile (integrations/git_helper_for_declarative_test.go:112)
=== TestAPIDeleteFile (integrations/git_helper_for_declarative_test.go:112)
+++ TestAPIDeleteFile is a slow test (took 17.340945986s)
=== TestAPIUpdateFile (integrations/git_helper_for_declarative_test.go:112)
+++ TestAPIUpdateFile is a slow test (took 20.82550639s)
=== TestAPIGetContentsList (integrations/git_helper_for_declarative_test.go:112)
=== TestAPIGetContents (integrations/git_helper_for_declarative_test.go:112)
=== TestAPIReposGitBlobs (integrations/api_repo_git_blobs_test.go:18)
=== TestAPIReposGitCommits (integrations/api_repo_git_commits_test.go:26)
=== TestAPIReposGitCommitList (integrations/api_repo_git_commits_test.go:54)
=== TestAPIReposGitCommitListPage2Empty (integrations/api_repo_git_commits_test.go:77)
=== TestAPIReposGitCommitListDifferentBranch (integrations/api_repo_git_commits_test.go:94)
=== TestAPIListGitHooks (integrations/api_repo_git_hook_test.go:24)
=== TestAPIListGitHooksNoHooks (integrations/api_repo_git_hook_test.go:50)
=== TestAPIListGitHooksNoAccess (integrations/api_repo_git_hook_test.go:71)
=== TestAPIGetGitHook (integrations/api_repo_git_hook_test.go:84)
=== TestAPIGetGitHookNoAccess (integrations/api_repo_git_hook_test.go:102)
=== TestAPIEditGitHook (integrations/api_repo_git_hook_test.go:115)
=== TestAPIEditGitHookNoAccess (integrations/api_repo_git_hook_test.go:145)
=== TestAPIDeleteGitHook (integrations/api_repo_git_hook_test.go:161)
=== TestAPIDeleteGitHookNoAccess (integrations/api_repo_git_hook_test.go:184)
=== TestAPIReposGitRefs (integrations/api_repo_git_ref_test.go:15)
=== TestAPIGitTags (integrations/api_repo_git_tags_test.go:21)
=== TestAPIDeleteTagByName (integrations/api_repo_git_tags_test.go:65)
=== TestAPIReposGitTrees (integrations/api_repo_git_trees_test.go:15)
=== TestRepoLanguages (integrations/git_helper_for_declarative_test.go:112)
=== TestAPILFSLocksNotStarted (integrations/api_repo_lfs_locks_test.go:22)
=== TestAPILFSLocksNotLogin (integrations/api_repo_lfs_locks_test.go:38)
=== TestAPILFSLocksLogged (integrations/api_repo_lfs_locks_test.go:52)
=== TestAPIRepoLFSMigrateLocal (integrations/api_repo_lfs_migrate_test.go:21)
=== TestAPILFSNotStarted (integrations/api_repo_lfs_test.go:24)
=== TestAPILFSMediaType (integrations/api_repo_lfs_test.go:44)
=== TestAPILFSBatch (integrations/api_repo_lfs_test.go:68)
=== TestAPILFSBatch/InvalidJsonRequest (integrations/api_repo_lfs_test.go:95)
=== TestAPILFSBatch/InvalidOperation (integrations/api_repo_lfs_test.go:103)
=== TestAPILFSBatch/InvalidPointer (integrations/api_repo_lfs_test.go:113)
=== TestAPILFSBatch/PointerSizeMismatch (integrations/api_repo_lfs_test.go:139)
=== TestAPILFSBatch/Download (integrations/api_repo_lfs_test.go:157)
=== TestAPILFSBatch/Download/PointerNotInStore (integrations/api_repo_lfs_test.go:160)
=== TestAPILFSBatch/Download/MetaNotFound (integrations/api_repo_lfs_test.go:177)
=== TestAPILFSBatch/Download/Success (integrations/api_repo_lfs_test.go:201)
=== TestAPILFSBatch/Upload (integrations/api_repo_lfs_test.go:222)
=== TestAPILFSBatch/Upload/FileTooBig (integrations/api_repo_lfs_test.go:225)
=== TestAPILFSBatch/Upload/AddMeta (integrations/api_repo_lfs_test.go:248)
=== TestAPILFSBatch/Upload/AlreadyExists (integrations/api_repo_lfs_test.go:278)
=== TestAPILFSBatch/Upload/NewFile (integrations/api_repo_lfs_test.go:295)
--- FAIL: TestAPILFSBatch (1.41s)
        testlogger.go:78: 2021/07/20 13:52:29 ...ers/common/logger.go:21:1() [I] Started GET /user/settings/applications for 
        testlogger.go:78: 2021/07/20 13:52:29 ...ers/common/logger.go:30:1() [I] Completed GET /user/settings/applications 200 OK in 2.7923ms
        testlogger.go:78: 2021/07/20 13:52:29 ...ers/common/logger.go:21:1() [I] Started POST /user/settings/applications for 
        testlogger.go:78: 2021/07/20 13:52:29 ...ers/common/logger.go:30:1() [I] Completed POST /user/settings/applications 302 Found in 11.449265ms
        testlogger.go:78: 2021/07/20 13:52:29 ...ers/common/logger.go:21:1() [I] Started GET /user/settings/applications for 
        testlogger.go:78: 2021/07/20 13:52:29 ...ers/common/logger.go:30:1() [I] Completed GET /user/settings/applications 200 OK in 2.780073ms
        testlogger.go:78: 2021/07/20 13:52:29 ...ers/common/logger.go:21:1() [I] Started POST /api/v1/user/repos?token=fb965ea16f842d9af4db51a503bac8b09bee34fe for 
        testlogger.go:78: 2021/07/20 13:52:30 ...ers/common/logger.go:30:1() [I] Completed POST /api/v1/user/repos?token=fb965ea16f842d9af4db51a503bac8b09bee34fe 201 Created in 1.01163165s
        --- FAIL: TestAPILFSBatch/Download (0.01s)
                --- FAIL: TestAPILFSBatch/Download/MetaNotFound (0.00s)
                        api_repo_lfs_test.go:184: 
                                	Error Trace:	api_repo_lfs_test.go:184
                                	Error:            	Should be false
                                	Test:              	TestAPILFSBatch/Download/MetaNotFound
                        testlogger.go:78: 2021/07/20 13:52:30 ...ers/common/logger.go:21:1() [I] Started POST /user2/lfs-batch-repo.git/info/lfs/objects/batch for 
                        testlogger.go:78: 2021/07/20 13:52:30 ...ers/common/logger.go:30:1() [I] Completed POST /user2/lfs-batch-repo.git/info/lfs/objects/batch 200 OK in 2.143879ms
=== TestAPILFSUpload (integrations/api_repo_lfs_test.go:321)
=== TestAPILFSUpload/InvalidPointer (integrations/api_repo_lfs_test.go:339)
=== TestAPILFSUpload/AlreadyExistsInStore (integrations/api_repo_lfs_test.go:347)
=== TestAPILFSUpload/MetaAlreadyExists (integrations/api_repo_lfs_test.go:372)
=== TestAPILFSUpload/HashMismatch (integrations/api_repo_lfs_test.go:380)
=== TestAPILFSUpload/SizeMismatch (integrations/api_repo_lfs_test.go:388)
=== TestAPILFSUpload/Success (integrations/api_repo_lfs_test.go:396)
--- FAIL: TestAPILFSUpload (1.46s)
        testlogger.go:78: 2021/07/20 13:52:30 ...ers/common/logger.go:21:1() [I] Started GET /user/settings/applications for 
        testlogger.go:78: 2021/07/20 13:52:30 ...ers/common/logger.go:30:1() [I] Completed GET /user/settings/applications 200 OK in 3.348255ms
        testlogger.go:78: 2021/07/20 13:52:30 ...ers/common/logger.go:21:1() [I] Started POST /user/settings/applications for 
        testlogger.go:78: 2021/07/20 13:52:30 ...ers/common/logger.go:30:1() [I] Completed POST /user/settings/applications 302 Found in 11.757748ms
        testlogger.go:78: 2021/07/20 13:52:30 ...ers/common/logger.go:21:1() [I] Started GET /user/settings/applications for 
        testlogger.go:78: 2021/07/20 13:52:30 ...ers/common/logger.go:30:1() [I] Completed GET /user/settings/applications 200 OK in 2.833994ms
        testlogger.go:78: 2021/07/20 13:52:30 ...ers/common/logger.go:21:1() [I] Started POST /api/v1/user/repos?token=fd760c07c9fff7a38c0b0afa3b1792f7c39c08bc for 
        testlogger.go:78: 2021/07/20 13:52:31 ...ers/common/logger.go:30:1() [I] Completed POST /api/v1/user/repos?token=fd760c07c9fff7a38c0b0afa3b1792f7c39c08bc 201 Created in 1.064574015s
        --- FAIL: TestAPILFSUpload/AlreadyExistsInStore (0.00s)
                api_repo_lfs_test.go:354: 
                        	Error Trace:	api_repo_lfs_test.go:354
                        	Error:            	Should be false
                        	Test:              	TestAPILFSUpload/AlreadyExistsInStore
                testlogger.go:78: 2021/07/20 13:52:31 ...ers/common/logger.go:21:1() [I] Started PUT /user2/lfs-upload-repo.git/info/lfs/objects/83de2e488b89a0aa1c97496b888120a28b0c1e15463a4adb8405578c540f36d4/6 for 
                testlogger.go:78: 2021/07/20 13:52:31 ...ers/common/logger.go:30:1() [I] Completed PUT /user2/lfs-upload-repo.git/info/lfs/objects/83de2e488b89a0aa1c97496b888120a28b0c1e15463a4adb8405578c540f36d4/6 200 OK in 2.851ms
=== TestAPILFSVerify (integrations/api_repo_lfs_test.go:416)
=== TestAPILFSVerify/InvalidJsonRequest (integrations/api_repo_lfs_test.go:436)
=== TestAPILFSVerify/InvalidPointer (integrations/api_repo_lfs_test.go:444)
=== TestAPILFSVerify/PointerNotExisting (integrations/api_repo_lfs_test.go:452)
=== TestAPILFSVerify/Success (integrations/api_repo_lfs_test.go:460)
=== TestAPIReposRaw (integrations/api_repo_raw_test.go:15)
=== TestAPIRepoTags (integrations/api_repo_tags_test.go:20)
=== TestAPIRepoTeams (integrations/api_repo_teams_test.go:19)
=== TestAPIUserReposNotLogin (integrations/api_repo_test.go:23)
=== TestAPISearchRepo (integrations/api_repo_test.go:41)
=== TestAPIViewRepo (integrations/api_repo_test.go:217)
=== TestAPIOrgRepos (integrations/api_repo_test.go:247)
=== TestAPIGetRepoByIDUnauthorized (integrations/api_repo_test.go:293)
=== TestAPIRepoMigrate (integrations/api_repo_test.go:316)
=== TestAPIRepoMigrateConflict (integrations/git_helper_for_declarative_test.go:112)
=== TestAPIOrgRepoCreate (integrations/api_repo_test.go:395)
=== TestAPIRepoCreateConflict (integrations/git_helper_for_declarative_test.go:112)
=== TestAPIRepoTransfer (integrations/api_repo_test.go:462)
=== TestAPIGenerateRepo (integrations/api_repo_test.go:499)
=== TestAPIRepoGetReviewers (integrations/api_repo_test.go:536)
=== TestAPIRepoGetAssignees (integrations/api_repo_test.go:550)
=== TestAPIRepoTopic (integrations/api_repo_topic_test.go:19)
=== TestAPIExposedSettings (integrations/api_settings_test.go:18)
=== TestAPITeam (integrations/api_team_test.go:21)
=== TestAPITeamSearch (integrations/api_team_test.go:139)
=== TestAPITeamUser (integrations/api_team_user_test.go:19)
=== TestAPICreateAndDeleteToken (integrations/api_token_test.go:17)
=== TestAPIDeleteMissingToken (integrations/api_token_test.go:57)
=== TestAPIListEmails (integrations/api_user_email_test.go:17)
=== TestAPIAddEmail (integrations/api_user_email_test.go:44)
=== TestAPIDeleteEmail (integrations/api_user_email_test.go:75)
=== TestUserHeatmap (integrations/api_user_heatmap_test.go:18)
=== TestUserOrgs (integrations/api_user_orgs_test.go:19)
=== TestMyOrgs (integrations/api_user_orgs_test.go:70)
=== TestAPIUserSearchLoggedIn (integrations/api_user_search_test.go:25)
=== TestAPIUserSearchNotLoggedIn (integrations/api_user_search_test.go:43)
=== TestAPIUserSearchAdminLoggedInUserHidden (integrations/api_user_search_test.go:64)
=== TestAPIUserSearchNotLoggedInUserHidden (integrations/api_user_search_test.go:84)
=== TestCreateAnonymousAttachment (integrations/attachment_test.go:60)
=== TestCreateIssueAttachment (integrations/attachment_test.go:66)
=== TestGetAttachment (integrations/attachment_test.go:95)
=== TestViewBranches (integrations/branches_test.go:18)
=== TestDeleteBranch (integrations/branches_test.go:29)
=== TestUndoDeleteBranch (integrations/git_helper_for_declarative_test.go:112)
=== TestChangeDefaultBranch (integrations/change_default_branch_test.go:16)
=== Test_CmdKeys (integrations/git_helper_for_declarative_test.go:112)
=== TestCompareTag (integrations/compare_test.go:15)
=== TestCORSNotSet (integrations/cors_test.go:15)
=== TestSessionFileCreation (integrations/create_no_session_test.go:56)
=== TestSessionFileCreation/NoSessionOnViewIssue (integrations/create_no_session_test.go:90)
=== TestSessionFileCreation/CreateSessionOnLogin (integrations/create_no_session_test.go:100)
=== TestUserDeleteAccount (integrations/delete_user_test.go:28)
=== TestUserDeleteAccountStillOwnRepos (integrations/delete_user_test.go:43)
=== TestDownloadByID (integrations/download_test.go:16)
=== TestDownloadByIDForSVGUsesSecureHeaders (integrations/download_test.go:28)
=== TestDownloadByIDMedia (integrations/download_test.go:42)
=== TestDownloadByIDMediaForSVGUsesSecureHeaders (integrations/download_test.go:54)
=== TestDownloadRawTextFileWithoutMimeTypeMapping (integrations/download_test.go:68)
=== TestDownloadRawTextFileWithMimeTypeMapping (integrations/download_test.go:79)
=== TestCreateFile (integrations/git_helper_for_declarative_test.go:112)
=== TestCreateFileOnProtectedBranch (integrations/git_helper_for_declarative_test.go:112)
=== TestEditFile (integrations/git_helper_for_declarative_test.go:112)
=== TestEditFileToNewBranch (integrations/git_helper_for_declarative_test.go:112)
=== TestEmptyRepo (integrations/empty_repo_test.go:15)
=== TestEventSourceManagerRun (integrations/eventsource_test.go:20)
=== TestExploreRepos (integrations/explore_repos_test.go:13)
=== TestRepoCloneWiki (integrations/git_helper_for_declarative_test.go:112)
=== TestRepoCloneWiki (integrations/git_clone_wiki_test.go:34)
=== TestGitSmartHTTP (integrations/git_helper_for_declarative_test.go:112)
=== TestGit (integrations/git_helper_for_declarative_test.go:112)
=== TestGit/HTTP (integrations/git_test.go:48)
=== TestGit/HTTP/Standard (integrations/git_test.go:137)
=== TestGit/HTTP/Standard/PushCommit (integrations/git_test.go:186)
=== TestGit/HTTP/Standard/PushCommit/Little (integrations/git_test.go:188)
=== TestGit/HTTP/Standard/PushCommit/Big (integrations/git_test.go:196)
+++ TestGit/HTTP/Standard/PushCommit/Big is a slow test (took 10.640705577s)
+++ TestGit/HTTP/Standard/PushCommit is a slow test (took 12.211357699s)
+++ TestGit/HTTP/Standard is a slow test (took 12.211546976s)
=== TestGit/HTTP/LFS (integrations/git_test.go:145)
=== TestGit/HTTP/LFS/PushCommit (integrations/git_test.go:186)
=== TestGit/HTTP/LFS/PushCommit/Little (integrations/git_test.go:188)
=== TestGit/HTTP/LFS/PushCommit/Big (integrations/git_test.go:196)
=== TestGit/HTTP/LFS/Locks (integrations/git_test.go:177)
=== TestGit/HTTP/Raw (integrations/git_test.go:205)
=== TestGit/HTTP/Media (integrations/git_test.go:246)
=== TestGit/HTTP/BranchProtectMerge (integrations/git_test.go:361)
+++ TestGit/HTTP/BranchProtectMerge is a slow test (took 11.152455817s)
=== TestGit/HTTP/CreatePRAndSetManuallyMerged (integrations/git_test.go:489)
=== TestGit/HTTP/MergeFork (integrations/git_test.go:76)
=== TestGit/HTTP/MergeFork/CreatePRAndMerge (integrations/git_test.go:441)
+++ TestGit/HTTP/MergeFork/CreatePRAndMerge is a slow test (took 34.900413485s)
=== TestGit/HTTP/MergeFork/Raw (integrations/git_test.go:205)
=== TestGit/HTTP/MergeFork/Media (integrations/git_test.go:246)
+++ TestGit/HTTP/MergeFork is a slow test (took 35.66835814s)
=== TestGit/HTTP/PushCreate (integrations/git_test.go:541)
+++ TestGit/HTTP is a slow test (took 1m11.155357991s)
=== TestGit/SSH (integrations/git_test.go:85)
=== TestGit/SSH/Standard (integrations/git_test.go:137)
=== TestGit/SSH/Standard/PushCommit (integrations/git_test.go:186)
=== TestGit/SSH/Standard/PushCommit/Little (integrations/git_test.go:188)
=== TestGit/SSH/Standard/PushCommit/Big (integrations/git_test.go:196)
+++ TestGit/SSH/Standard/PushCommit/Big is a slow test (took 11.08450155s)
+++ TestGit/SSH/Standard/PushCommit is a slow test (took 12.799248633s)
+++ TestGit/SSH/Standard is a slow test (took 12.79951927s)
=== TestGit/SSH/LFS (integrations/git_test.go:145)
=== TestGit/SSH/LFS/PushCommit (integrations/git_test.go:186)
=== TestGit/SSH/LFS/PushCommit/Little (integrations/git_test.go:188)
=== TestGit/SSH/LFS/PushCommit/Big (integrations/git_test.go:196)
=== TestGit/SSH/LFS/Locks (integrations/git_test.go:177)
=== TestGit/SSH/Raw (integrations/git_test.go:205)
=== TestGit/SSH/Media (integrations/git_test.go:246)
=== TestGit/SSH/BranchProtectMerge (integrations/git_test.go:361)
+++ TestGit/SSH/BranchProtectMerge is a slow test (took 12.65979377s)
=== TestGit/SSH/MergeFork (integrations/git_test.go:116)
=== TestGit/SSH/MergeFork/CreatePRAndMerge (integrations/git_test.go:441)
+++ TestGit/SSH/MergeFork/CreatePRAndMerge is a slow test (took 33.971561027s)
=== TestGit/SSH/MergeFork/Raw (integrations/git_test.go:205)
=== TestGit/SSH/MergeFork/Media (integrations/git_test.go:246)
+++ TestGit/SSH/MergeFork is a slow test (took 34.682655189s)
=== TestGit/SSH/PushCreate (integrations/git_test.go:541)
+++ TestGit/SSH is a slow test (took 1m11.667249551s)
+++ TestGit is a slow test (took 2m23.207394894s)
=== TestGoGet (integrations/goget_test.go:17)
=== TestGPGGit (integrations/gpg_git_test.go:26)
--- FAIL: TestGPGGit (0.35s)
        gpg_git_test.go:44: 
                	Error Trace:	gpg_git_test.go:44
                	Error:            	Received unexpected error:
                	                        	exec: "gpg": executable file not found in $PATH
                	Test:              	TestGPGGit
        gpg_git_test.go:46: 
                	Error Trace:	gpg_git_test.go:46
                	Error:            	Unable to import rootKeyPair
                	Test:              	TestGPGGit
=== TestNoLoginViewIssues (integrations/issue_test.go:54)
=== TestViewIssuesSortByType (integrations/issue_test.go:61)
=== TestViewIssuesKeyword (integrations/issue_test.go:89)
=== TestNoLoginViewIssue (integrations/issue_test.go:114)
=== TestNewIssue (integrations/issue_test.go:183)
=== TestIssueCommentClose (integrations/issue_test.go:189)
=== TestIssueReaction (integrations/issue_test.go:205)
=== TestIssueCrossReference (integrations/issue_test.go:231)
=== TestIssueRedirect (integrations/issue_test.go:325)
=== TestGetLFSSmall (integrations/lfs_getobject_test.go:84)
=== TestGetLFSLarge (integrations/lfs_getobject_test.go:97)
=== TestGetLFSGzip (integrations/lfs_getobject_test.go:113)
=== TestGetLFSZip (integrations/lfs_getobject_test.go:134)
=== TestGetLFSRangeNo (integrations/lfs_getobject_test.go:157)
=== TestGetLFSRange (integrations/lfs_getobject_test.go:170)
=== TestDetermineLocalEndpoint (integrations/lfs_local_endpoint_test.go:26)
=== TestLinksNoLogin (integrations/links_test.go:21)
=== TestRedirectsNoLogin (integrations/links_test.go:49)
=== TestNoLoginNotExist (integrations/links_test.go:67)
=== TestLinksLogin (integrations/links_test.go:171)
=== TestMirrorPull (integrations/mirror_pull_test.go:22)
=== TestMirrorPush (integrations/git_helper_for_declarative_test.go:112)
=== TestMirrorPush (integrations/mirror_push_test.go:28)
--- FAIL: TestMirrorPush (1.11s)
        testlogger.go:78: 2021/07/20 13:56:11 ...ers/common/logger.go:21:1() [I] Started GET /user/settings/applications for 
        testlogger.go:78: 2021/07/20 13:56:11 ...ers/common/logger.go:30:1() [I] Completed GET /user/settings/applications 200 OK in 3.310858ms
        testlogger.go:78: 2021/07/20 13:56:11 ...ers/common/logger.go:21:1() [I] Started POST /user/settings/applications for 
        testlogger.go:78: 2021/07/20 13:56:11 ...ers/common/logger.go:30:1() [I] Completed POST /user/settings/applications 302 Found in 12.592305ms
        testlogger.go:78: 2021/07/20 13:56:11 ...ers/common/logger.go:21:1() [I] Started GET /user/settings/applications for 
        testlogger.go:78: 2021/07/20 13:56:11 ...ers/common/logger.go:30:1() [I] Completed GET /user/settings/applications 200 OK in 2.858644ms
        testlogger.go:78: 2021/07/20 13:56:11 ...ers/common/logger.go:21:1() [I] Started GET /user2/repo1/settings for 
        testlogger.go:78: 2021/07/20 13:56:11 .../templates/helper.go:978:mirrorRemoteAddress() [E] GetRemoteAddress exit status 2 - error: No such remote 'remote_mirror_xWORYfGW2J'
                	
        testlogger.go:78: 2021/07/20 13:56:11 ...ers/common/logger.go:30:1() [I] Completed GET /user2/repo1/settings 200 OK in 72.27882ms
        testlogger.go:78: 2021/07/20 13:56:11 ...ers/common/logger.go:21:1() [I] Started POST /user2/repo1/settings for 
        testlogger.go:78: 2021/07/20 13:56:11 ...ers/common/logger.go:21:1() [I] Started GET /user2/test-push-mirror.wiki.git/info/refs?service=git-upload-pack for 127.0.0.1:52395
        testlogger.go:78: 2021/07/20 13:56:11 ...ers/web/repo/http.go:556:GetInfoRefs() [E] chdir /Users/vewu/Documents/workspace/gitea/integrations/gitea-integration-sqlite/gitea-repositories/user2/test-push-mirror.wiki.git: no such file or directory - 
        testlogger.go:78: 2021/07/20 13:56:11 ...ers/common/logger.go:30:1() [I] Completed GET /user2/test-push-mirror.wiki.git/info/refs?service=git-upload-pack 200 OK in 1.980607ms
        testlogger.go:78: 2021/07/20 13:56:11 ...ers/common/logger.go:21:1() [I] Started GET /user2/test-push-mirror.git/wiki/info/refs?service=git-upload-pack for 127.0.0.1:52396
        testlogger.go:78: 2021/07/20 13:56:11 ...ers/common/logger.go:30:1() [I] Completed GET /user2/test-push-mirror.git/wiki/info/refs?service=git-upload-pack 404 Not Found in 384.422µs
        testlogger.go:78: 2021/07/20 13:56:11 ...ers/common/logger.go:30:1() [I] Completed POST /user2/repo1/settings 302 Found in 154.105101ms
        mirror_push_test.go:46: 
                	Error Trace:	mirror_push_test.go:46
                	                        				git_helper_for_declarative_test.go:113
                	                        				git_helper_for_declarative_test.go:108
                	                        				git_helper_for_declarative_test.go:112
                	                        				mirror_push_test.go:24
                	Error:            	"[%!s(*models.PushMirror=&{1 1 0xc004b40a00 remote_mirror_xWORYfGW2J 0 1626812962 1626812965 }) %!s(*models.PushMirror=&{2 1 0xc004b41400 remote_mirror_Ef6oLJKqGW 0 1626814571 0 })]" should have 1 item(s), but has 2
                	Test:              	TestMirrorPush
        testlogger.go:78: 2021/07/20 13:56:11 ...irror/mirror_push.go:122:func1() [E] GetRemoteAddress(/Users/vewu/Documents/workspace/gitea/integrations/gitea-integration-sqlite/gitea-repositories/user2/repo1.git) Error exit status 2 - error: No such remote 'remote_mirror_xWORYfGW2J'
                	
        testlogger.go:78: 2021/07/20 13:56:11 ...irror/mirror_push.go:99:SyncPushMirror() [E] SyncPushMirror [mirror: 1][repo: 1:user2/repo1]: Unexpected error
        mirror_push_test.go:49: 
                	Error Trace:	mirror_push_test.go:49
                	                        				git_helper_for_declarative_test.go:113
                	                        				git_helper_for_declarative_test.go:108
                	                        				git_helper_for_declarative_test.go:112
                	                        				mirror_push_test.go:24
                	Error:            	Should be true
                	Test:              	TestMirrorPush
        mirror_push_test.go:63: 
                	Error Trace:	mirror_push_test.go:63
                	                        				git_helper_for_declarative_test.go:113
                	                        				git_helper_for_declarative_test.go:108
                	                        				git_helper_for_declarative_test.go:112
                	                        				mirror_push_test.go:24
                	Error:            	Received unexpected error:
                	                        	object does not exist [id: refs/heads/master, rel_path: ]
                	Test:              	TestMirrorPush
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
	panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x5d13bb5]

goroutine 108226 [running]:
testing.tRunner.func1.2(0x60f2ce0, 0x80b0eb0)
	/usr/local/Cellar/go/1.16.5/libexec/src/testing/testing.go:1143 +0x332
testing.tRunner.func1(0xc008212180)
	/usr/local/Cellar/go/1.16.5/libexec/src/testing/testing.go:1146 +0x4b6
panic(0x60f2ce0, 0x80b0eb0)
	/usr/local/Cellar/go/1.16.5/libexec/src/runtime/panic.go:965 +0x1b9
code.gitea.io/gitea/integrations.testMirrorPush(0xc008212180, 0xc001e72360)
	/Users/vewu/Documents/workspace/gitea/integrations/mirror_push_test.go:65 +0x8d5
code.gitea.io/gitea/integrations.onGiteaRun.func1(0x6b67fc8, 0xc008212180, 0xc001e72360)
	/Users/vewu/Documents/workspace/gitea/integrations/git_helper_for_declarative_test.go:113 +0x4a
code.gitea.io/gitea/integrations.onGiteaRunTB(0x6b67fc8, 0xc008212180, 0xc007121f28, 0x0, 0x0, 0x0)
	/Users/vewu/Documents/workspace/gitea/integrations/git_helper_for_declarative_test.go:108 +0x3ea
code.gitea.io/gitea/integrations.onGiteaRun(0xc008212180, 0x66e27e8, 0x0, 0x0, 0x0)
	/Users/vewu/Documents/workspace/gitea/integrations/git_helper_for_declarative_test.go:112 +0x7d
code.gitea.io/gitea/integrations.TestMirrorPush(0xc008212180)
	/Users/vewu/Documents/workspace/gitea/integrations/mirror_push_test.go:24 +0x48
testing.tRunner(0xc008212180, 0x66e2360)
	/usr/local/Cellar/go/1.16.5/libexec/src/testing/testing.go:1193 +0xef
created by testing.(*T).Run
	/usr/local/Cellar/go/1.16.5/libexec/src/testing/testing.go:1238 +0x2b3
make: *** [test-sqlite] Error 2
Originally created by @vw98075 on GitHub (Jul 20, 2021). <!-- NOTE: If your issue is a security concern, please send an email to security@gitea.io instead of opening a public issue --> - Gitea version (or commit ref): 1.15.0+dev-g49ad088b8 - Git version: 2.30.1 - Operating system: Macbook Pro <!-- Please include information on whether you built gitea yourself, used one of our downloads or are using some other package --> <!-- Please also tell us how you are running gitea, e.g. if it is being run from docker, a command-line, systemd etc. ---> <!-- If you are using a package or systemd tell us what distribution you are using --> - Database (use `[x]`): - [x ] PostgreSQL - [ ] MySQL - [ ] MSSQL - [ ] SQLite - Can you reproduce the bug at https://try.gitea.io: - [ ] Yes (provide example URL) - [ ] No - Log gist: <!-- It really is important to provide pertinent logs --> <!-- Please read https://docs.gitea.io/en-us/logging-configuration/#debugging-problems --> <!-- In addition, if your problem relates to git commands set `RUN_MODE=dev` at the top of app.ini --> ## Description <!-- If using a proxy or a CDN (e.g. CloudFlare) in front of gitea, please disable the proxy/CDN fully and connect to gitea directly to confirm the issue still persists without those services. --> ... ## Screenshots ``` % TAGS="bindata sqlite sqlite_unlock_notify" make build test-sqlite Running go generate... bindata for options already up-to-date bindata for public already up-to-date bindata for templates already up-to-date go test    -mod=vendor -c code.gitea.io/gitea/integrations -o integrations.sqlite.test -tags 'sqlite sqlite_unlock_notify' sed -e 's|{{REPO_TEST_DIR}}||g' \ integrations/sqlite.ini.tmpl > integrations/sqlite.ini GITEA_ROOT="/Users/vewu/Documents/workspace/gitea" GITEA_CONF=integrations/sqlite.ini ./integrations.sqlite.test 2021/07/20 13:50:32 ...s/storage/storage.go:170:initAttachments() [I] Initialising Attachment storage with type: 2021/07/20 13:50:32 ...les/storage/local.go:47:NewLocalStorage() [I] Creating new Local Storage at /Users/vewu/Documents/workspace/gitea/integrations/gitea-integration-sqlite/data/attachments 2021/07/20 13:50:32 ...s/storage/storage.go:164:initAvatars() [I] Initialising Avatar storage with type: 2021/07/20 13:50:32 ...les/storage/local.go:47:NewLocalStorage() [I] Creating new Local Storage at /Users/vewu/Documents/workspace/gitea/integrations/gitea-integration-sqlite/data/avatars 2021/07/20 13:50:32 ...s/storage/storage.go:182:initRepoAvatars() [I] Initialising Repository Avatar storage with type: 2021/07/20 13:50:32 ...les/storage/local.go:47:NewLocalStorage() [I] Creating new Local Storage at /Users/vewu/Documents/workspace/gitea/integrations/gitea-integration-sqlite/data/repo-avatars 2021/07/20 13:50:32 ...s/storage/storage.go:176:initLFS() [I] Initialising LFS storage with type: 2021/07/20 13:50:32 ...les/storage/local.go:47:NewLocalStorage() [I] Creating new Local Storage at /Users/vewu/Documents/workspace/gitea/integrations/gitea-integration-sqlite/data/lfs 2021/07/20 13:50:32 ...s/storage/storage.go:188:initRepoArchives() [I] Initialising Repository Archive storage with type: 2021/07/20 13:50:32 ...les/storage/local.go:47:NewLocalStorage() [I] Creating new Local Storage at /Users/vewu/Documents/workspace/gitea/integrations/gitea-integration-sqlite/data/repo-archive 2021/07/20 13:50:32 routers/init.go:74:GlobalInit() [I] Git Version: 2.30.1, Wire Protocol Version 2 Enabled 2021/07/20 13:50:32 routers/init.go:77:GlobalInit() [I] AppPath: /Users/vewu/Documents/workspace/gitea/gitea 2021/07/20 13:50:32 routers/init.go:78:GlobalInit() [I] AppWorkPath: /Users/vewu/Documents/workspace/gitea 2021/07/20 13:50:32 routers/init.go:79:GlobalInit() [I] Custom path: /Users/vewu/Documents/workspace/gitea/custom 2021/07/20 13:50:32 routers/init.go:80:GlobalInit() [I] Log path: sqlite-log 2021/07/20 13:50:32 routers/init.go:81:GlobalInit() [I] Run Mode: Prod === TestAdminViewUsers (integrations/admin_user_test.go:18) === TestAdminViewUser (integrations/admin_user_test.go:30) === TestAdminEditUser (integrations/admin_user_test.go:42) === TestAdminDeleteUser (integrations/admin_user_test.go:70) === TestAPIAdminOrgCreate (integrations/git_helper_for_declarative_test.go:112) === TestAPIAdminOrgCreateBadVisibility (integrations/git_helper_for_declarative_test.go:112) === TestAPIAdminOrgCreateNotAdmin (integrations/api_admin_org_test.go:72) === TestAPIAdminCreateAndDeleteSSHKey (integrations/api_admin_test.go:20) === TestAPIAdminDeleteMissingSSHKey (integrations/api_admin_test.go:50) === TestAPIAdminDeleteUnauthorizedKey (integrations/api_admin_test.go:60) === TestAPISudoUser (integrations/api_admin_test.go:83) === TestAPISudoUserForbidden (integrations/api_admin_test.go:99) === TestAPIListUsers (integrations/api_admin_test.go:112) === TestAPIListUsersNotLoggedIn (integrations/api_admin_test.go:135) === TestAPIListUsersNonAdmin (integrations/api_admin_test.go:141) === TestAPICreateUserInvalidEmail (integrations/api_admin_test.go:150) === TestAPIEditUser (integrations/api_admin_test.go:169) === TestAPIGetBranch (integrations/api_branch_test.go:90) === TestAPICreateBranch (integrations/git_helper_for_declarative_test.go:112) === TestAPIBranchProtection (integrations/api_branch_test.go:177) === TestAPIListRepoComments (integrations/api_comment_test.go:21) === TestAPIListIssueComments (integrations/api_comment_test.go:67) === TestAPICreateComment (integrations/api_comment_test.go:88) === TestAPIGetComment (integrations/api_comment_test.go:111) === TestAPIEditComment (integrations/api_comment_test.go:138) === TestAPIDeleteComment (integrations/api_comment_test.go:164) === TestCreateForkNoLogin (integrations/api_fork_test.go:15) === TestGPGKeys (integrations/api_gpg_keys_test.go:21) === TestAPIIssuesMilestone (integrations/api_issue_milestone_test.go:19) === TestAPIIssuesReactions (integrations/api_issue_reaction_test.go:21) === TestAPICommentReactions (integrations/api_issue_reaction_test.go:78) === TestAPIListStopWatches (integrations/api_issue_stopwatch_test.go:18) === TestAPIStopStopWatches (integrations/api_issue_stopwatch_test.go:42) === TestAPICancelStopWatches (integrations/api_issue_stopwatch_test.go:58) === TestAPIStartStopWatches (integrations/api_issue_stopwatch_test.go:74) === TestAPIIssueSubscriptions (integrations/api_issue_subscription_test.go:19) === TestAPIListIssues (integrations/api_issue_test.go:21) === TestAPICreateIssue (integrations/api_issue_test.go:71) === TestAPIEditIssue (integrations/api_issue_test.go:104) === TestAPISearchIssues (integrations/api_issue_test.go:166) === TestAPISearchIssuesWithLabels (integrations/api_issue_test.go:242) === TestAPIGetTrackedTimes (integrations/api_issue_tracked_time_test.go:20) === TestAPIDeleteTrackedTime (integrations/api_issue_tracked_time_test.go:62) === TestAPIAddTrackedTimes (integrations/api_issue_tracked_time_test.go:97) === TestViewDeployKeysNoLogin (integrations/api_keys_test.go:20) === TestCreateDeployKeyNoLogin (integrations/api_keys_test.go:26) === TestGetDeployKeyNoLogin (integrations/api_keys_test.go:35) === TestDeleteDeployKeyNoLogin (integrations/api_keys_test.go:41) === TestCreateReadOnlyDeployKey (integrations/api_keys_test.go:47) === TestCreateReadWriteDeployKey (integrations/api_keys_test.go:73) === TestCreateUserKey (integrations/api_keys_test.go:98) === TestAPINotification (integrations/api_notification_test.go:19) === TestOAuth2Application (integrations/api_oauth2_apps_test.go:19) === TestAPIOrgCreate (integrations/git_helper_for_declarative_test.go:112) === TestAPIOrgEdit (integrations/git_helper_for_declarative_test.go:112) === TestAPIOrgEditBadVisibility (integrations/git_helper_for_declarative_test.go:112) === TestAPIOrgDeny (integrations/git_helper_for_declarative_test.go:112) === TestAPIGetAll (integrations/api_org_test.go:141) === TestAPIPullCommits (integrations/api_pull_commits_test.go:17) === TestAPIPullReview (integrations/api_pull_review_test.go:19) === TestAPIPullReviewRequest (integrations/api_pull_review_test.go:221) === TestAPIViewPulls (integrations/api_pull_test.go:22) === TestAPIMergePullWIP (integrations/api_pull_test.go:39) === TestAPICreatePullSuccess (integrations/api_pull_test.go:62) === TestAPICreatePullWithFieldsSuccess (integrations/api_pull_test.go:82) === TestAPICreatePullWithFieldsFailure (integrations/api_pull_test.go:119) === TestAPIEditPull (integrations/api_pull_test.go:153) === TestAPIListReleases (integrations/api_releases_test.go:21) === TestAPICreateAndUpdateRelease (integrations/api_releases_test.go:98) === TestAPICreateReleaseToDefaultBranch (integrations/api_releases_test.go:149) === TestAPICreateReleaseToDefaultBranchOnExistingTag (integrations/api_releases_test.go:160) === TestAPIGetReleaseByTag (integrations/api_releases_test.go:178) === TestAPIDeleteReleaseByTagName (integrations/api_releases_test.go:211) === TestAPIRepoEdit (integrations/git_helper_for_declarative_test.go:112) === TestAPICreateFile (integrations/git_helper_for_declarative_test.go:112) === TestAPIDeleteFile (integrations/git_helper_for_declarative_test.go:112) +++ TestAPIDeleteFile is a slow test (took 17.340945986s) === TestAPIUpdateFile (integrations/git_helper_for_declarative_test.go:112) +++ TestAPIUpdateFile is a slow test (took 20.82550639s) === TestAPIGetContentsList (integrations/git_helper_for_declarative_test.go:112) === TestAPIGetContents (integrations/git_helper_for_declarative_test.go:112) === TestAPIReposGitBlobs (integrations/api_repo_git_blobs_test.go:18) === TestAPIReposGitCommits (integrations/api_repo_git_commits_test.go:26) === TestAPIReposGitCommitList (integrations/api_repo_git_commits_test.go:54) === TestAPIReposGitCommitListPage2Empty (integrations/api_repo_git_commits_test.go:77) === TestAPIReposGitCommitListDifferentBranch (integrations/api_repo_git_commits_test.go:94) === TestAPIListGitHooks (integrations/api_repo_git_hook_test.go:24) === TestAPIListGitHooksNoHooks (integrations/api_repo_git_hook_test.go:50) === TestAPIListGitHooksNoAccess (integrations/api_repo_git_hook_test.go:71) === TestAPIGetGitHook (integrations/api_repo_git_hook_test.go:84) === TestAPIGetGitHookNoAccess (integrations/api_repo_git_hook_test.go:102) === TestAPIEditGitHook (integrations/api_repo_git_hook_test.go:115) === TestAPIEditGitHookNoAccess (integrations/api_repo_git_hook_test.go:145) === TestAPIDeleteGitHook (integrations/api_repo_git_hook_test.go:161) === TestAPIDeleteGitHookNoAccess (integrations/api_repo_git_hook_test.go:184) === TestAPIReposGitRefs (integrations/api_repo_git_ref_test.go:15) === TestAPIGitTags (integrations/api_repo_git_tags_test.go:21) === TestAPIDeleteTagByName (integrations/api_repo_git_tags_test.go:65) === TestAPIReposGitTrees (integrations/api_repo_git_trees_test.go:15) === TestRepoLanguages (integrations/git_helper_for_declarative_test.go:112) === TestAPILFSLocksNotStarted (integrations/api_repo_lfs_locks_test.go:22) === TestAPILFSLocksNotLogin (integrations/api_repo_lfs_locks_test.go:38) === TestAPILFSLocksLogged (integrations/api_repo_lfs_locks_test.go:52) === TestAPIRepoLFSMigrateLocal (integrations/api_repo_lfs_migrate_test.go:21) === TestAPILFSNotStarted (integrations/api_repo_lfs_test.go:24) === TestAPILFSMediaType (integrations/api_repo_lfs_test.go:44) === TestAPILFSBatch (integrations/api_repo_lfs_test.go:68) === TestAPILFSBatch/InvalidJsonRequest (integrations/api_repo_lfs_test.go:95) === TestAPILFSBatch/InvalidOperation (integrations/api_repo_lfs_test.go:103) === TestAPILFSBatch/InvalidPointer (integrations/api_repo_lfs_test.go:113) === TestAPILFSBatch/PointerSizeMismatch (integrations/api_repo_lfs_test.go:139) === TestAPILFSBatch/Download (integrations/api_repo_lfs_test.go:157) === TestAPILFSBatch/Download/PointerNotInStore (integrations/api_repo_lfs_test.go:160) === TestAPILFSBatch/Download/MetaNotFound (integrations/api_repo_lfs_test.go:177) === TestAPILFSBatch/Download/Success (integrations/api_repo_lfs_test.go:201) === TestAPILFSBatch/Upload (integrations/api_repo_lfs_test.go:222) === TestAPILFSBatch/Upload/FileTooBig (integrations/api_repo_lfs_test.go:225) === TestAPILFSBatch/Upload/AddMeta (integrations/api_repo_lfs_test.go:248) === TestAPILFSBatch/Upload/AlreadyExists (integrations/api_repo_lfs_test.go:278) === TestAPILFSBatch/Upload/NewFile (integrations/api_repo_lfs_test.go:295) --- FAIL: TestAPILFSBatch (1.41s)         testlogger.go:78: 2021/07/20 13:52:29 ...ers/common/logger.go:21:1() [I] Started GET /user/settings/applications for         testlogger.go:78: 2021/07/20 13:52:29 ...ers/common/logger.go:30:1() [I] Completed GET /user/settings/applications 200 OK in 2.7923ms         testlogger.go:78: 2021/07/20 13:52:29 ...ers/common/logger.go:21:1() [I] Started POST /user/settings/applications for         testlogger.go:78: 2021/07/20 13:52:29 ...ers/common/logger.go:30:1() [I] Completed POST /user/settings/applications 302 Found in 11.449265ms         testlogger.go:78: 2021/07/20 13:52:29 ...ers/common/logger.go:21:1() [I] Started GET /user/settings/applications for         testlogger.go:78: 2021/07/20 13:52:29 ...ers/common/logger.go:30:1() [I] Completed GET /user/settings/applications 200 OK in 2.780073ms         testlogger.go:78: 2021/07/20 13:52:29 ...ers/common/logger.go:21:1() [I] Started POST /api/v1/user/repos?token=fb965ea16f842d9af4db51a503bac8b09bee34fe for         testlogger.go:78: 2021/07/20 13:52:30 ...ers/common/logger.go:30:1() [I] Completed POST /api/v1/user/repos?token=fb965ea16f842d9af4db51a503bac8b09bee34fe 201 Created in 1.01163165s         --- FAIL: TestAPILFSBatch/Download (0.01s)                 --- FAIL: TestAPILFSBatch/Download/MetaNotFound (0.00s)                         api_repo_lfs_test.go:184:                                 Error Trace: api_repo_lfs_test.go:184                                 Error:            Should be false                                 Test:              TestAPILFSBatch/Download/MetaNotFound                         testlogger.go:78: 2021/07/20 13:52:30 ...ers/common/logger.go:21:1() [I] Started POST /user2/lfs-batch-repo.git/info/lfs/objects/batch for                         testlogger.go:78: 2021/07/20 13:52:30 ...ers/common/logger.go:30:1() [I] Completed POST /user2/lfs-batch-repo.git/info/lfs/objects/batch 200 OK in 2.143879ms === TestAPILFSUpload (integrations/api_repo_lfs_test.go:321) === TestAPILFSUpload/InvalidPointer (integrations/api_repo_lfs_test.go:339) === TestAPILFSUpload/AlreadyExistsInStore (integrations/api_repo_lfs_test.go:347) === TestAPILFSUpload/MetaAlreadyExists (integrations/api_repo_lfs_test.go:372) === TestAPILFSUpload/HashMismatch (integrations/api_repo_lfs_test.go:380) === TestAPILFSUpload/SizeMismatch (integrations/api_repo_lfs_test.go:388) === TestAPILFSUpload/Success (integrations/api_repo_lfs_test.go:396) --- FAIL: TestAPILFSUpload (1.46s)         testlogger.go:78: 2021/07/20 13:52:30 ...ers/common/logger.go:21:1() [I] Started GET /user/settings/applications for         testlogger.go:78: 2021/07/20 13:52:30 ...ers/common/logger.go:30:1() [I] Completed GET /user/settings/applications 200 OK in 3.348255ms         testlogger.go:78: 2021/07/20 13:52:30 ...ers/common/logger.go:21:1() [I] Started POST /user/settings/applications for         testlogger.go:78: 2021/07/20 13:52:30 ...ers/common/logger.go:30:1() [I] Completed POST /user/settings/applications 302 Found in 11.757748ms         testlogger.go:78: 2021/07/20 13:52:30 ...ers/common/logger.go:21:1() [I] Started GET /user/settings/applications for         testlogger.go:78: 2021/07/20 13:52:30 ...ers/common/logger.go:30:1() [I] Completed GET /user/settings/applications 200 OK in 2.833994ms         testlogger.go:78: 2021/07/20 13:52:30 ...ers/common/logger.go:21:1() [I] Started POST /api/v1/user/repos?token=fd760c07c9fff7a38c0b0afa3b1792f7c39c08bc for         testlogger.go:78: 2021/07/20 13:52:31 ...ers/common/logger.go:30:1() [I] Completed POST /api/v1/user/repos?token=fd760c07c9fff7a38c0b0afa3b1792f7c39c08bc 201 Created in 1.064574015s         --- FAIL: TestAPILFSUpload/AlreadyExistsInStore (0.00s)                 api_repo_lfs_test.go:354:                         Error Trace: api_repo_lfs_test.go:354                         Error:            Should be false                         Test:              TestAPILFSUpload/AlreadyExistsInStore                 testlogger.go:78: 2021/07/20 13:52:31 ...ers/common/logger.go:21:1() [I] Started PUT /user2/lfs-upload-repo.git/info/lfs/objects/83de2e488b89a0aa1c97496b888120a28b0c1e15463a4adb8405578c540f36d4/6 for                 testlogger.go:78: 2021/07/20 13:52:31 ...ers/common/logger.go:30:1() [I] Completed PUT /user2/lfs-upload-repo.git/info/lfs/objects/83de2e488b89a0aa1c97496b888120a28b0c1e15463a4adb8405578c540f36d4/6 200 OK in 2.851ms === TestAPILFSVerify (integrations/api_repo_lfs_test.go:416) === TestAPILFSVerify/InvalidJsonRequest (integrations/api_repo_lfs_test.go:436) === TestAPILFSVerify/InvalidPointer (integrations/api_repo_lfs_test.go:444) === TestAPILFSVerify/PointerNotExisting (integrations/api_repo_lfs_test.go:452) === TestAPILFSVerify/Success (integrations/api_repo_lfs_test.go:460) === TestAPIReposRaw (integrations/api_repo_raw_test.go:15) === TestAPIRepoTags (integrations/api_repo_tags_test.go:20) === TestAPIRepoTeams (integrations/api_repo_teams_test.go:19) === TestAPIUserReposNotLogin (integrations/api_repo_test.go:23) === TestAPISearchRepo (integrations/api_repo_test.go:41) === TestAPIViewRepo (integrations/api_repo_test.go:217) === TestAPIOrgRepos (integrations/api_repo_test.go:247) === TestAPIGetRepoByIDUnauthorized (integrations/api_repo_test.go:293) === TestAPIRepoMigrate (integrations/api_repo_test.go:316) === TestAPIRepoMigrateConflict (integrations/git_helper_for_declarative_test.go:112) === TestAPIOrgRepoCreate (integrations/api_repo_test.go:395) === TestAPIRepoCreateConflict (integrations/git_helper_for_declarative_test.go:112) === TestAPIRepoTransfer (integrations/api_repo_test.go:462) === TestAPIGenerateRepo (integrations/api_repo_test.go:499) === TestAPIRepoGetReviewers (integrations/api_repo_test.go:536) === TestAPIRepoGetAssignees (integrations/api_repo_test.go:550) === TestAPIRepoTopic (integrations/api_repo_topic_test.go:19) === TestAPIExposedSettings (integrations/api_settings_test.go:18) === TestAPITeam (integrations/api_team_test.go:21) === TestAPITeamSearch (integrations/api_team_test.go:139) === TestAPITeamUser (integrations/api_team_user_test.go:19) === TestAPICreateAndDeleteToken (integrations/api_token_test.go:17) === TestAPIDeleteMissingToken (integrations/api_token_test.go:57) === TestAPIListEmails (integrations/api_user_email_test.go:17) === TestAPIAddEmail (integrations/api_user_email_test.go:44) === TestAPIDeleteEmail (integrations/api_user_email_test.go:75) === TestUserHeatmap (integrations/api_user_heatmap_test.go:18) === TestUserOrgs (integrations/api_user_orgs_test.go:19) === TestMyOrgs (integrations/api_user_orgs_test.go:70) === TestAPIUserSearchLoggedIn (integrations/api_user_search_test.go:25) === TestAPIUserSearchNotLoggedIn (integrations/api_user_search_test.go:43) === TestAPIUserSearchAdminLoggedInUserHidden (integrations/api_user_search_test.go:64) === TestAPIUserSearchNotLoggedInUserHidden (integrations/api_user_search_test.go:84) === TestCreateAnonymousAttachment (integrations/attachment_test.go:60) === TestCreateIssueAttachment (integrations/attachment_test.go:66) === TestGetAttachment (integrations/attachment_test.go:95) === TestViewBranches (integrations/branches_test.go:18) === TestDeleteBranch (integrations/branches_test.go:29) === TestUndoDeleteBranch (integrations/git_helper_for_declarative_test.go:112) === TestChangeDefaultBranch (integrations/change_default_branch_test.go:16) === Test_CmdKeys (integrations/git_helper_for_declarative_test.go:112) === TestCompareTag (integrations/compare_test.go:15) === TestCORSNotSet (integrations/cors_test.go:15) === TestSessionFileCreation (integrations/create_no_session_test.go:56) === TestSessionFileCreation/NoSessionOnViewIssue (integrations/create_no_session_test.go:90) === TestSessionFileCreation/CreateSessionOnLogin (integrations/create_no_session_test.go:100) === TestUserDeleteAccount (integrations/delete_user_test.go:28) === TestUserDeleteAccountStillOwnRepos (integrations/delete_user_test.go:43) === TestDownloadByID (integrations/download_test.go:16) === TestDownloadByIDForSVGUsesSecureHeaders (integrations/download_test.go:28) === TestDownloadByIDMedia (integrations/download_test.go:42) === TestDownloadByIDMediaForSVGUsesSecureHeaders (integrations/download_test.go:54) === TestDownloadRawTextFileWithoutMimeTypeMapping (integrations/download_test.go:68) === TestDownloadRawTextFileWithMimeTypeMapping (integrations/download_test.go:79) === TestCreateFile (integrations/git_helper_for_declarative_test.go:112) === TestCreateFileOnProtectedBranch (integrations/git_helper_for_declarative_test.go:112) === TestEditFile (integrations/git_helper_for_declarative_test.go:112) === TestEditFileToNewBranch (integrations/git_helper_for_declarative_test.go:112) === TestEmptyRepo (integrations/empty_repo_test.go:15) === TestEventSourceManagerRun (integrations/eventsource_test.go:20) === TestExploreRepos (integrations/explore_repos_test.go:13) === TestRepoCloneWiki (integrations/git_helper_for_declarative_test.go:112) === TestRepoCloneWiki (integrations/git_clone_wiki_test.go:34) === TestGitSmartHTTP (integrations/git_helper_for_declarative_test.go:112) === TestGit (integrations/git_helper_for_declarative_test.go:112) === TestGit/HTTP (integrations/git_test.go:48) === TestGit/HTTP/Standard (integrations/git_test.go:137) === TestGit/HTTP/Standard/PushCommit (integrations/git_test.go:186) === TestGit/HTTP/Standard/PushCommit/Little (integrations/git_test.go:188) === TestGit/HTTP/Standard/PushCommit/Big (integrations/git_test.go:196) +++ TestGit/HTTP/Standard/PushCommit/Big is a slow test (took 10.640705577s) +++ TestGit/HTTP/Standard/PushCommit is a slow test (took 12.211357699s) +++ TestGit/HTTP/Standard is a slow test (took 12.211546976s) === TestGit/HTTP/LFS (integrations/git_test.go:145) === TestGit/HTTP/LFS/PushCommit (integrations/git_test.go:186) === TestGit/HTTP/LFS/PushCommit/Little (integrations/git_test.go:188) === TestGit/HTTP/LFS/PushCommit/Big (integrations/git_test.go:196) === TestGit/HTTP/LFS/Locks (integrations/git_test.go:177) === TestGit/HTTP/Raw (integrations/git_test.go:205) === TestGit/HTTP/Media (integrations/git_test.go:246) === TestGit/HTTP/BranchProtectMerge (integrations/git_test.go:361) +++ TestGit/HTTP/BranchProtectMerge is a slow test (took 11.152455817s) === TestGit/HTTP/CreatePRAndSetManuallyMerged (integrations/git_test.go:489) === TestGit/HTTP/MergeFork (integrations/git_test.go:76) === TestGit/HTTP/MergeFork/CreatePRAndMerge (integrations/git_test.go:441) +++ TestGit/HTTP/MergeFork/CreatePRAndMerge is a slow test (took 34.900413485s) === TestGit/HTTP/MergeFork/Raw (integrations/git_test.go:205) === TestGit/HTTP/MergeFork/Media (integrations/git_test.go:246) +++ TestGit/HTTP/MergeFork is a slow test (took 35.66835814s) === TestGit/HTTP/PushCreate (integrations/git_test.go:541) +++ TestGit/HTTP is a slow test (took 1m11.155357991s) === TestGit/SSH (integrations/git_test.go:85) === TestGit/SSH/Standard (integrations/git_test.go:137) === TestGit/SSH/Standard/PushCommit (integrations/git_test.go:186) === TestGit/SSH/Standard/PushCommit/Little (integrations/git_test.go:188) === TestGit/SSH/Standard/PushCommit/Big (integrations/git_test.go:196) +++ TestGit/SSH/Standard/PushCommit/Big is a slow test (took 11.08450155s) +++ TestGit/SSH/Standard/PushCommit is a slow test (took 12.799248633s) +++ TestGit/SSH/Standard is a slow test (took 12.79951927s) === TestGit/SSH/LFS (integrations/git_test.go:145) === TestGit/SSH/LFS/PushCommit (integrations/git_test.go:186) === TestGit/SSH/LFS/PushCommit/Little (integrations/git_test.go:188) === TestGit/SSH/LFS/PushCommit/Big (integrations/git_test.go:196) === TestGit/SSH/LFS/Locks (integrations/git_test.go:177) === TestGit/SSH/Raw (integrations/git_test.go:205) === TestGit/SSH/Media (integrations/git_test.go:246) === TestGit/SSH/BranchProtectMerge (integrations/git_test.go:361) +++ TestGit/SSH/BranchProtectMerge is a slow test (took 12.65979377s) === TestGit/SSH/MergeFork (integrations/git_test.go:116) === TestGit/SSH/MergeFork/CreatePRAndMerge (integrations/git_test.go:441) +++ TestGit/SSH/MergeFork/CreatePRAndMerge is a slow test (took 33.971561027s) === TestGit/SSH/MergeFork/Raw (integrations/git_test.go:205) === TestGit/SSH/MergeFork/Media (integrations/git_test.go:246) +++ TestGit/SSH/MergeFork is a slow test (took 34.682655189s) === TestGit/SSH/PushCreate (integrations/git_test.go:541) +++ TestGit/SSH is a slow test (took 1m11.667249551s) +++ TestGit is a slow test (took 2m23.207394894s) === TestGoGet (integrations/goget_test.go:17) === TestGPGGit (integrations/gpg_git_test.go:26) --- FAIL: TestGPGGit (0.35s)         gpg_git_test.go:44:                 Error Trace: gpg_git_test.go:44                 Error:            Received unexpected error:                                         exec: "gpg": executable file not found in $PATH                 Test:              TestGPGGit         gpg_git_test.go:46:                 Error Trace: gpg_git_test.go:46                 Error:            Unable to import rootKeyPair                 Test:              TestGPGGit === TestNoLoginViewIssues (integrations/issue_test.go:54) === TestViewIssuesSortByType (integrations/issue_test.go:61) === TestViewIssuesKeyword (integrations/issue_test.go:89) === TestNoLoginViewIssue (integrations/issue_test.go:114) === TestNewIssue (integrations/issue_test.go:183) === TestIssueCommentClose (integrations/issue_test.go:189) === TestIssueReaction (integrations/issue_test.go:205) === TestIssueCrossReference (integrations/issue_test.go:231) === TestIssueRedirect (integrations/issue_test.go:325) === TestGetLFSSmall (integrations/lfs_getobject_test.go:84) === TestGetLFSLarge (integrations/lfs_getobject_test.go:97) === TestGetLFSGzip (integrations/lfs_getobject_test.go:113) === TestGetLFSZip (integrations/lfs_getobject_test.go:134) === TestGetLFSRangeNo (integrations/lfs_getobject_test.go:157) === TestGetLFSRange (integrations/lfs_getobject_test.go:170) === TestDetermineLocalEndpoint (integrations/lfs_local_endpoint_test.go:26) === TestLinksNoLogin (integrations/links_test.go:21) === TestRedirectsNoLogin (integrations/links_test.go:49) === TestNoLoginNotExist (integrations/links_test.go:67) === TestLinksLogin (integrations/links_test.go:171) === TestMirrorPull (integrations/mirror_pull_test.go:22) === TestMirrorPush (integrations/git_helper_for_declarative_test.go:112) === TestMirrorPush (integrations/mirror_push_test.go:28) --- FAIL: TestMirrorPush (1.11s)         testlogger.go:78: 2021/07/20 13:56:11 ...ers/common/logger.go:21:1() [I] Started GET /user/settings/applications for         testlogger.go:78: 2021/07/20 13:56:11 ...ers/common/logger.go:30:1() [I] Completed GET /user/settings/applications 200 OK in 3.310858ms         testlogger.go:78: 2021/07/20 13:56:11 ...ers/common/logger.go:21:1() [I] Started POST /user/settings/applications for         testlogger.go:78: 2021/07/20 13:56:11 ...ers/common/logger.go:30:1() [I] Completed POST /user/settings/applications 302 Found in 12.592305ms         testlogger.go:78: 2021/07/20 13:56:11 ...ers/common/logger.go:21:1() [I] Started GET /user/settings/applications for         testlogger.go:78: 2021/07/20 13:56:11 ...ers/common/logger.go:30:1() [I] Completed GET /user/settings/applications 200 OK in 2.858644ms         testlogger.go:78: 2021/07/20 13:56:11 ...ers/common/logger.go:21:1() [I] Started GET /user2/repo1/settings for         testlogger.go:78: 2021/07/20 13:56:11 .../templates/helper.go:978:mirrorRemoteAddress() [E] GetRemoteAddress exit status 2 - error: No such remote 'remote_mirror_xWORYfGW2J'                         testlogger.go:78: 2021/07/20 13:56:11 ...ers/common/logger.go:30:1() [I] Completed GET /user2/repo1/settings 200 OK in 72.27882ms         testlogger.go:78: 2021/07/20 13:56:11 ...ers/common/logger.go:21:1() [I] Started POST /user2/repo1/settings for         testlogger.go:78: 2021/07/20 13:56:11 ...ers/common/logger.go:21:1() [I] Started GET /user2/test-push-mirror.wiki.git/info/refs?service=git-upload-pack for 127.0.0.1:52395         testlogger.go:78: 2021/07/20 13:56:11 ...ers/web/repo/http.go:556:GetInfoRefs() [E] chdir /Users/vewu/Documents/workspace/gitea/integrations/gitea-integration-sqlite/gitea-repositories/user2/test-push-mirror.wiki.git: no such file or directory -         testlogger.go:78: 2021/07/20 13:56:11 ...ers/common/logger.go:30:1() [I] Completed GET /user2/test-push-mirror.wiki.git/info/refs?service=git-upload-pack 200 OK in 1.980607ms         testlogger.go:78: 2021/07/20 13:56:11 ...ers/common/logger.go:21:1() [I] Started GET /user2/test-push-mirror.git/wiki/info/refs?service=git-upload-pack for 127.0.0.1:52396         testlogger.go:78: 2021/07/20 13:56:11 ...ers/common/logger.go:30:1() [I] Completed GET /user2/test-push-mirror.git/wiki/info/refs?service=git-upload-pack 404 Not Found in 384.422µs         testlogger.go:78: 2021/07/20 13:56:11 ...ers/common/logger.go:30:1() [I] Completed POST /user2/repo1/settings 302 Found in 154.105101ms         mirror_push_test.go:46:                 Error Trace: mirror_push_test.go:46                                         git_helper_for_declarative_test.go:113                                         git_helper_for_declarative_test.go:108                                         git_helper_for_declarative_test.go:112                                         mirror_push_test.go:24                 Error:            "[%!s(*models.PushMirror=&{1 1 0xc004b40a00 remote_mirror_xWORYfGW2J 0 1626812962 1626812965 }) %!s(*models.PushMirror=&{2 1 0xc004b41400 remote_mirror_Ef6oLJKqGW 0 1626814571 0 })]" should have 1 item(s), but has 2                 Test:              TestMirrorPush         testlogger.go:78: 2021/07/20 13:56:11 ...irror/mirror_push.go:122:func1() [E] GetRemoteAddress(/Users/vewu/Documents/workspace/gitea/integrations/gitea-integration-sqlite/gitea-repositories/user2/repo1.git) Error exit status 2 - error: No such remote 'remote_mirror_xWORYfGW2J'                         testlogger.go:78: 2021/07/20 13:56:11 ...irror/mirror_push.go:99:SyncPushMirror() [E] SyncPushMirror [mirror: 1][repo: 1:user2/repo1]: Unexpected error         mirror_push_test.go:49:                 Error Trace: mirror_push_test.go:49                                         git_helper_for_declarative_test.go:113                                         git_helper_for_declarative_test.go:108                                         git_helper_for_declarative_test.go:112                                         mirror_push_test.go:24                 Error:            Should be true                 Test:              TestMirrorPush         mirror_push_test.go:63:                 Error Trace: mirror_push_test.go:63                                         git_helper_for_declarative_test.go:113                                         git_helper_for_declarative_test.go:108                                         git_helper_for_declarative_test.go:112                                         mirror_push_test.go:24                 Error:            Received unexpected error:                                         object does not exist [id: refs/heads/master, rel_path: ]                 Test:              TestMirrorPush panic: runtime error: invalid memory address or nil pointer dereference [recovered] panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x5d13bb5] goroutine 108226 [running]: testing.tRunner.func1.2(0x60f2ce0, 0x80b0eb0) /usr/local/Cellar/go/1.16.5/libexec/src/testing/testing.go:1143 +0x332 testing.tRunner.func1(0xc008212180) /usr/local/Cellar/go/1.16.5/libexec/src/testing/testing.go:1146 +0x4b6 panic(0x60f2ce0, 0x80b0eb0) /usr/local/Cellar/go/1.16.5/libexec/src/runtime/panic.go:965 +0x1b9 code.gitea.io/gitea/integrations.testMirrorPush(0xc008212180, 0xc001e72360) /Users/vewu/Documents/workspace/gitea/integrations/mirror_push_test.go:65 +0x8d5 code.gitea.io/gitea/integrations.onGiteaRun.func1(0x6b67fc8, 0xc008212180, 0xc001e72360) /Users/vewu/Documents/workspace/gitea/integrations/git_helper_for_declarative_test.go:113 +0x4a code.gitea.io/gitea/integrations.onGiteaRunTB(0x6b67fc8, 0xc008212180, 0xc007121f28, 0x0, 0x0, 0x0) /Users/vewu/Documents/workspace/gitea/integrations/git_helper_for_declarative_test.go:108 +0x3ea code.gitea.io/gitea/integrations.onGiteaRun(0xc008212180, 0x66e27e8, 0x0, 0x0, 0x0) /Users/vewu/Documents/workspace/gitea/integrations/git_helper_for_declarative_test.go:112 +0x7d code.gitea.io/gitea/integrations.TestMirrorPush(0xc008212180) /Users/vewu/Documents/workspace/gitea/integrations/mirror_push_test.go:24 +0x48 testing.tRunner(0xc008212180, 0x66e2360) /usr/local/Cellar/go/1.16.5/libexec/src/testing/testing.go:1193 +0xef created by testing.(*T).Run /usr/local/Cellar/go/1.16.5/libexec/src/testing/testing.go:1238 +0x2b3 make: *** [test-sqlite] Error 2 ```
Author
Owner

@zeripath commented on GitHub (Jul 29, 2021):

49ad088b8 is not a published SHA in this repository.

I suggest you perform a clean checkout: git checkout v1.15.0-RC2 or git checkout release/v1.15 or git checkout main

@zeripath commented on GitHub (Jul 29, 2021): 49ad088b8 is not a published SHA in this repository. I suggest you perform a clean checkout: `git checkout v1.15.0-RC2` or `git checkout release/v1.15` or `git checkout main`
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#7609