CI randomly fails many time in TestRepoStatsIndex #8730

Closed
opened 2025-11-02 08:15:44 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @wxiaoguang on GitHub (Mar 22, 2022).

This failure occurs in various PRs randomly, including a PR which only changes one line document.

2022/03/19 18:52:07 ...xer/stats/indexer.go:39:populateRepoIndexer() [I] Populating the repo stats indexer with existing repositories
2022/03/19 18:52:07 ...xer/stats/indexer.go:85:populateRepoIndexer() [I] Done (re)populating the repo stats indexer with existing repositories
--- FAIL: TestRepoStatsIndex (5.66s)
    indexer_test.go:41: 
        	Error Trace:	indexer_test.go:41
        	Error:      	Not equal: 
        	            	expected: "65f1bf27bc3bf70f64657658635e66094edbcb4d"
        	            	actual  : ""
        	            	
        	            	Diff:
        	            	--- Expected
        	            	+++ Actual

        	            	@@ -1 +1 @@
        	            	-65f1bf27bc3bf70f64657658635e66094edbcb4d
        	            	+
        	Test:       	TestRepoStatsIndex
FAIL

coverage: 60.2% of statements

2022/03/19 18:52:13 ...age_stats_nogogit.go:86:func2() [E] Unable to open checker for 3aa73c3499bff049a352b4e265575373e964b89a. Error: failed to run attr-check. Error: exit status 128
	Stderr: fatal: Unable to read current working directory: No such file or directory

2022/03/19 18:52:13 ...it/repo_attribute.go:220:func1() [E] CheckPath returns error: context canceled
FAIL	code.gitea.io/gitea/modules/indexer/stats	12.712s
Originally created by @wxiaoguang on GitHub (Mar 22, 2022). This failure occurs in various PRs randomly, including a PR which only changes one line document. ``` 2022/03/19 18:52:07 ...xer/stats/indexer.go:39:populateRepoIndexer() [I] Populating the repo stats indexer with existing repositories 2022/03/19 18:52:07 ...xer/stats/indexer.go:85:populateRepoIndexer() [I] Done (re)populating the repo stats indexer with existing repositories --- FAIL: TestRepoStatsIndex (5.66s) indexer_test.go:41: Error Trace: indexer_test.go:41 Error: Not equal: expected: "65f1bf27bc3bf70f64657658635e66094edbcb4d" actual : "" Diff: --- Expected +++ Actual @@ -1 +1 @@ -65f1bf27bc3bf70f64657658635e66094edbcb4d + Test: TestRepoStatsIndex FAIL coverage: 60.2% of statements 2022/03/19 18:52:13 ...age_stats_nogogit.go:86:func2() [E] Unable to open checker for 3aa73c3499bff049a352b4e265575373e964b89a. Error: failed to run attr-check. Error: exit status 128 Stderr: fatal: Unable to read current working directory: No such file or directory 2022/03/19 18:52:13 ...it/repo_attribute.go:220:func1() [E] CheckPath returns error: context canceled FAIL code.gitea.io/gitea/modules/indexer/stats 12.712s ```
GiteaMirror added the type/testingtype/bug labels 2025-11-02 08:15:44 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#8730