← All tasks
javagoogle/guava #8295Not a task: already works

ClassPathTest.testLocationsFrom_idempotentScan failure

envgap__google__guava-8295

01 / FAILURE SIGNATURE

As reported upstream

Error:  Failures:
Not a benchmark task.
  • The project already builds and runs before the fix, so there is nothing to repair.

02 / ENVIRONMENT RECIPE

Base commit
1d45ec804609b91743c88200b536ead1981e2a01
Manifest
pom.xml
Reproduce
Awaiting issue-specific recipe
Run under trace
Awaiting a meaningful runtime command

03 / ORIGINAL ISSUE TEXT

google/guava #8295 · read the original issue
```
Error:  Failures: 
Error:    ClassPathTest.testLocationsFrom_idempotentScan:492 unexpected (5)
#1      : target/surefire-reports/com.google.common.primitives.UnsignedLongsTest.txt
#2      : target/surefire-reports/com.google.common.reflect.AbstractInvocationHandlerTest.txt
#3      : target/surefire-reports/TEST-com.google.common.reflect.AbstractInvocationHandlerTest.xml
#4      : target/surefire-reports/com.google.common.reflect.ClassPathTest-output.txt
#5      : target/surefire-reports/TEST-com.google.common.primitives.UnsignedLongsTest.xml
---
expected: [benchmark/com/google/common/cache/SegmentBenchmark.java, benchmark/com/google/common/cache/ChainBenchmark.java, ...
```

https://github.com/google/guava/actions/runs/23457793433/job/68251479033

I guess that Surefire is putting its reports directory on the classpath? That seems weird. And then somehow some reports are getting written during the execution of an individual method in `ClassPathTest` (and not just `ClassPathTest-output.txt`)? That also seems weird.

I'm going to hope that this goes away on its own, but I expect that we'll see it again....
Continue on GitHub ↗

04 / LABELS

Labels from the report text only; not yet run

No supported category has been assigned.

Label rules and the text that matched
[]