The GitHub Actions job "GraphAr Java Info CI" on 
incubator-graphar.git/feat/java-info-unit-tests has failed.
Run started by GitHub user Thespica (triggered by Thespica).

Head commit for run:
ae127bdff368637e5128c3e6c88fbb2adc668453 / google-labs-jules[bot] 
<161369871+google-labs-jules[bot]@users.noreply.github.com>
feat: Add unit tests for java-info, partial fixes & ongoing issues

I've started working on the unit tests for the java-info module as per issue 
#676. I've created YAML test data and initial versions of GraphInfoTest, 
VertexInfoTest, and EdgeInfoTest.

Here are some key findings and issues I encountered:
- I corrected protobuf type imports to `org.apache.graphar.proto` (e.g., 
`DataType`, `FileType`, `AdjListType`) based on `enums.proto`. This resolved 
"package org.apache.graphar.proto does not exist" errors.
- I identified a class naming mismatch: `AdjacentList.java` is the correct 
class name, not `AdjList.java` as previously used in tests. (I haven't applied 
this fix yet, but it's an important finding).

I'm still blocked by a few things:
1. Running `mvn spotless:apply` fails due to an `IllegalAccessError` with 
`google-java-format` and JDK module restrictions. My attempts to pass JVM 
arguments to the Spotless plugin were unsuccessful.
2. I'm seeing a "package org.apache.graphar.util does not exist" error: The 
dependency on `org.apache.graphar:java:0.13.0.dev-SNAPSHOT` did not resolve 
this. `GrapharStaticFunctions` and `YamlUtil` cannot be found.
3. There are classpath issues: Even with correct naming, classes from the 
`graphar-info` module's own `src/main/java` (like `AdjacentList`) are not 
consistently found during test compilation. This suggests potential problems 
with the Maven build lifecycle or test classpath configuration.

This work clarifies some fundamental package/type misunderstandings, but core 
build and dependency issues are preventing successful compilation and testing 
of the `graphar-info` module. More work is needed on the Maven setup and to 
apply the `AdjacentList` naming correction.

Report URL: https://github.com/apache/incubator-graphar/actions/runs/15224040908

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@graphar.apache.org
For additional commands, e-mail: commits-h...@graphar.apache.org

Reply via email to