Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Java 8 Windows CI status failing #2205

Closed
rajatbhatta opened this issue Dec 22, 2022 · 4 comments
Closed

Java 8 Windows CI status failing #2205

rajatbhatta opened this issue Dec 22, 2022 · 4 comments
Assignees
Labels
api: spanner Issues related to the googleapis/java-spanner API.

Comments

@rajatbhatta
Copy link
Contributor

rajatbhatta commented Dec 22, 2022

Java 8 Windows CI Status is "Failing".

Error:

[ERROR] /T:/src/github/java-spanner/google-cloud-spanner/src/main/java/com/google/cloud/spanner/nativeimage/SpannerFeature.java:[20,38] cannot access org.graalvm.nativeimage.hosted.Feature
  bad class file: C:\Users\kbuilder\.m2\repository\org\graalvm\sdk\graal-sdk\22.3.0\graal-sdk-22.3.0.jar(org/graalvm/nativeimage/hosted/Feature.class)
    class file has wrong version 55.0, should be 52.0
    Please remove or make sure it appears in the correct subdirectory of the classpath.

Seems to be related to native images.

@product-auto-label product-auto-label bot added the api: spanner Issues related to the googleapis/java-spanner API. label Dec 22, 2022
@mpeddada1
Copy link
Contributor

@rajatbhatta Hm this looks familiar. It was previously addressed through https://github.com/googleapis/java-spanner/pull/1870/files so I'm curious as to why we're seeing this. Do you happen to have the PR that is running into this?

@rajatbhatta
Copy link
Contributor Author

@mpeddada1
Copy link
Contributor

Thank you! It looks like the JAVA11_HOME and JAVA8_HOME environment variables are not being set for this job. Troubleshooting continued at #2207.

@mpeddada1
Copy link
Contributor

Closed via #2207 and #2210

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: spanner Issues related to the googleapis/java-spanner API.
Projects
None yet
Development

No branches or pull requests

2 participants