Skip to content

CI randomly fails many time in TestRepoStatsIndex #19162

@wxiaoguang

Description

@wxiaoguang

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions