Skip to content

test showing bug with whatinputs

4a7445f
Select commit
Loading
Failed to load commit list.
Open

test showing bug with whatinputs #3481

test showing bug with whatinputs
4a7445f
Select commit
Loading
Failed to load commit list.
Cirrus CI / main failed Jan 28, 2026 in 4m 15s

Task Summary

Instruction build failed in 03:28

Details

⚠️ Not enough compute credits to prioritize tasks!

✅ 00:12 clone
✅ 00:27 install
❌ 03:28 build

13:00:29.659  NOTICE: Build running for 10s, 4882 / 5863 tasks done (981 left), 4 workers busy, parsing 2 BUILD files
13:00:39.678  NOTICE: Build running for 20s, 5405 / 5868 tasks done (463 left), 4 workers busy, parsing 0 BUILD files
13:00:49.659  NOTICE: Build running for 30s, 5701 / 5868 tasks done (167 left), 4 workers busy, parsing 0 BUILD files
13:00:52.519   ERROR: //src/query:query_test failed: whatinputs_test.go:101: 
        	Error Trace:	src/query/whatinputs_test.go:101
        	Error:      	Not equal: 
        	            	expected: []core.BuildLabel{core.BuildLabel{PackageName:"package1", Name:"_target1", Subrepo:""}}
        	            	actual  : []core.BuildLabel{core.BuildLabel{PackageName:"package1", Name:"_target1", Subrepo:""}, core.BuildLabel{PackageName:"package1", Name:"target1", Subrepo:""}}
        	            	
        	            	Diff:
        	            	--- Expected
        	            	+++ Actual
        	            	@@ -1,2 +1,2 @@
        	            	-([]core.BuildLabel) (len=1) {
        	            	+([]core.BuildLabel) (len=2) {
        	            	  (core.BuildLabel) {
        	            	@@ -5,2 +5,7 @@
        	            	   Subrepo: (string) ""
        	            	+ },
        	            	+ (core.BuildLabel) {
        	            	+  PackageName: (string) (len=8) "package1",
        	            	+  Name: (string) (len=7) "target1",
        	            	+  Subrepo: (string) ""
        	            	  }
        	Test:       	TestWhatInputsSingleTargetParentUnderscore
13:00:59.663  NOTICE: Build running for 40s, 5866 / 5868 tasks done (2 left), 1 worker busy, parsing 0 BUILD files
Fail: //src/query:query_test  46 passed   0 skipped   1 failed   0 errored Took 50ms
Failure:  in TestWhatInputsSingleTargetParentUnderscore
whatinputs_test.go:101: 
        	Error Trace:	src/query/whatinputs_test.go:101
        	Error:      	Not equal: 
        	            	expected: []core.BuildLabel{core.BuildLabel{PackageName:"package1", Name:"_target1", Subrepo:""}}
        	            	actual  : []core.BuildLabel{core.BuildLabel{PackageName:"package1", Name:"_target1", Subrepo:""}, core.BuildLabel{PackageName:"package1", Name:"target1", Subrepo:""}}
        	            	
        	            	Diff:
        	            	--- Expected
        	            	+++ Actual
        	            	@@ -1,2 +1,2 @@
        	            	-([]core.BuildLabel) (len=1) {
        	            	+([]core.BuildLabel) (len=2) {
        	            	  (core.BuildLabel) {
        	            	@@ -5,2 +5,7 @@
        	            	   Subrepo: (string) ""
        	            	+ },
        	            	+ (core.BuildLabel) {
        	            	+  PackageName: (string) (len=8) "package1",
        	            	+  Name: (string) (len=7) "target1",
        	            	+  Subrepo: (string) ""
        	            	  }
        	Test:       	TestWhatInputsSingleTargetParentUnderscore

//src/query:query_test 47 tests run in 47ms; 46 passed, 1 failed
68 test targets and 879 tests run; 876 passed, 1 failed, 2 skipped.
Total time: 40.55s real, 5.95s compute.

Exit status: 7

Annotations

Check failure on line 101 in src/query/whatinputs_test.go

See this annotation in the file changed.

@cirrus-ci cirrus-ci / main

src/query/whatinputs_test.go#L101

src.query.query_test.TestWhatInputsSingleTargetParentUnderscore
Raw output
whatinputs_test.go:101: 
        	Error Trace:	src/query/whatinputs_test.go:101
        	Error:      	Not equal: 
        	            	expected: []core.BuildLabel{core.BuildLabel{PackageName:"package1", Name:"_target1", Subrepo:""}}
        	            	actual  : []core.BuildLabel{core.BuildLabel{PackageName:"package1", Name:"_target1", Subrepo:""}, core.BuildLabel{PackageName:"package1", Name:"target1", Subrepo:""}}
        	            	
        	            	Diff:
        	            	--- Expected
        	            	+++ Actual
        	            	@@ -1,2 +1,2 @@
        	            	-([]core.BuildLabel) (len=1) {
        	            	+([]core.BuildLabel) (len=2) {
        	            	  (core.BuildLabel) {
        	            	@@ -5,2 +5,7 @@
        	            	   Subrepo: (string) ""
        	            	+ },
        	            	+ (core.BuildLabel) {
        	            	+  PackageName: (string) (len=8) "package1",
        	            	+  Name: (string) (len=7) "target1",
        	            	+  Subrepo: (string) ""
        	            	  }
        	Test:       	TestWhatInputsSingleTargetParentUnderscore