linghengqian opened a new pull request, #30138:
URL: https://github.com/apache/shardingsphere/pull/30138
For #29052.
Changes proposed in this pull request:
- Add GraalVM Reachability Metadata and corresponding nativeTest for Seata
integration.This PR is only for further bug verification.
- seata's configuration file has no dynamically defined Java API, which
prevents the integration of testcontainers.
- This involves an undocumented bug in the Tracing Agent of GraalVM CE For
JDK 21.0.1, reported below when
`configuration->agent->options->enableExperimentalPredefinedClasses` is set to
`true`.
```shell
[INFO] Results:
[INFO]
[INFO] Tests run: 14, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[WARNING] Corrupted channel by directly writing to native stream in forked
JVM 1. See FAQ web page and the dump file
/home/linghengqian/TwinklingLiftWorks/git/public/shardingsphere/test/native/target/surefire-reports/2024-02-15T23-36-35_487-jvmRun1.dumpstream
[INFO]
[INFO] --- native-maven-plugin:0.10.0:merge-agent-files (test-native) @
shardingsphere-test-native ---
[INFO] Merging agent 1 files into
/home/linghengqian/TwinklingLiftWorks/git/public/shardingsphere/test/native/target/native/agent-output/test
[INFO]
[INFO] --- native-maven-plugin:0.10.0:test (test-native) @
shardingsphere-test-native ---
[INFO] Skipping native-image tests (parameter 'skipTests' or
'skipNativeTests' is true).
[INFO]
[INFO] --- native-maven-plugin:0.10.0:metadata-copy (default-cli) @
shardingsphere-test-native ---
[INFO] Found GraalVM installation from JAVA_HOME variable.
[INFO] Copying files from: test
[ERROR] Metadata copy process failed with code: 1
```
---
Before committing this PR, I'm sure that I have checked the following
options:
- [x] My code follows the [code of
conduct](https://shardingsphere.apache.org/community/en/involved/conduct/code/)
of this project.
- [x] I have self-reviewed the commit code.
- [x] I have (or in comment I request) added corresponding labels for the
pull request.
- [x] I have passed maven check locally : `./mvnw clean install -B -T1C
-Dmaven.javadoc.skip -Dmaven.jacoco.skip -e`.
- [ ] I have made corresponding changes to the documentation.
- [x] I have added corresponding unit tests for my changes.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]