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

Support mvn clean packageon amazon linux #1054

Open
wutianchen opened this issue Feb 11, 2025 · 1 comment
Open

Support mvn clean packageon amazon linux #1054

wutianchen opened this issue Feb 11, 2025 · 1 comment

Comments

@wutianchen
Copy link
Contributor

OS Info

NAME=“Amazon Linux”
VERSION=“2023"
ID=“amzn”
ID_LIKE=“fedora”
VERSION_ID=“2023”
PLATFORM_ID=“platform:al2023"
PRETTY_NAME=“Amazon Linux 2023”
ANSI_COLOR=“0;33"
CPE_NAME=“cpe:2.3:o:amazon:amazon_linux:2023”
HOME_URL=“https://aws.amazon.com/linux/”
BUG_REPORT_URL=“https://github.com/amazonlinux/amazon-linux-2023”
SUPPORT_END=“2028-03-15"
  • patch needs to be installed extra
  • get the following error
[ERROR] Failures: 
[ERROR]   CopyStaticDataPreprocessorTest.testScripts:44 Mismatched snapshots: sensorreading file:///home/ec2-user/sqrl/sqrl-testing/sqrl-integration-tests/src/test/resources/snapshots/com/datasqrl/discovery/CopyStaticDataPreprocessorTest/sensorreading.txt ==> expected: <>>>sensorreading.csv.gz
7bbac959af287c94e922902e4d48efaf
> but was: <>>>sensorreading.csv.gz
96e4b3eb01df2f37ed266529acc53eea
>
[INFO] 
[ERROR] Tests run: 166, Failures: 1, Errors: 0, Skipped: 1
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for sqrl-root 0.5.11-SNAPSHOT:
[INFO] 
[INFO] sqrl-flink-lib ..................................... SUCCESS [  0.918 s]
[INFO] sqrl-errors ........................................ SUCCESS [  4.120 s]
[INFO] sqrl-name .......................................... SUCCESS [  2.389 s]
[INFO] sqrl-root .......................................... SUCCESS [  0.567 s]
[INFO] sqrl-base .......................................... SUCCESS [  1.967 s]
[INFO] sqrl-server ........................................ SUCCESS [  0.023 s]
[INFO] sqrl-server-core ................................... SUCCESS [  1.150 s]
[INFO] sqrl-lib-common .................................... SUCCESS [  2.436 s]
[INFO] sqrl-json .......................................... SUCCESS [  3.484 s]
[INFO] sqrl-flexible-json ................................. SUCCESS [  4.046 s]
[INFO] sqrl-jdbc-1.19 ..................................... SUCCESS [  3.611 s]
[INFO] sqrl-calcite ....................................... SUCCESS [ 21.111 s]
[INFO] sqrl-text .......................................... SUCCESS [  2.695 s]
[INFO] sqrl-time .......................................... SUCCESS [  2.396 s]
[INFO] sqrl-secure ........................................ SUCCESS [  2.042 s]
[INFO] sqrl-jdbc-1.16 ..................................... SUCCESS [  3.288 s]
[INFO] sqrl-vector ........................................ SUCCESS [ 19.246 s]
[INFO] sqrl-server-vertx .................................. SUCCESS [ 47.529 s]
[INFO] sqrl-planner ....................................... SUCCESS [ 20.591 s]
[INFO] sqrl-tools ......................................... SUCCESS [  0.056 s]
[INFO] sqrl-config ........................................ SUCCESS [  3.820 s]
[INFO] sqrl-discovery ..................................... SUCCESS [  3.568 s]
[INFO] sqrl-packager ...................................... SUCCESS [ 12.815 s]
[INFO] sqrl-cli ........................................... SUCCESS [01:00 min]
[INFO] sqrl-flexible-csv .................................. SUCCESS [  1.881 s]
[INFO] sqrl-run ........................................... SUCCESS [01:21 min]
[INFO] sqrl-test .......................................... SUCCESS [01:14 min]
[INFO] sqrl-testing ....................................... SUCCESS [  0.032 s]
[INFO] sqrl-integration-tests ............................. FAILURE [03:29 min]
[INFO] sqrl-flink-1.16 .................................... SKIPPED
[INFO] sqrl-flink-1.17 .................................... SKIPPED
[INFO] sqrl-jdbc-1.18 ..................................... SKIPPED
[INFO] sqrl-flink-1.18 .................................... SKIPPED
[INFO] sqrl-h2-1.16 ....................................... SKIPPED
[INFO] sqrl-jdbc-1.17 ..................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  09:52 min
[INFO] Finished at: 2025-02-11T04:19:10-08:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.3.1:test (default-test) on project sqrl-integration-tests: There are test failures.
[ERROR] 
[ERROR] Please refer to /home/ec2-user/sqrl/sqrl-testing/sqrl-integration-tests/target/surefire-reports for the individual test results.
[ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <args> -rf :sqrl-integration-tests

on the same codebase in cicd works: https://github.com/DataSQRL/sqrl/actions/runs/13243386828

@mbroecheler
Copy link
Contributor

I've had an issue with this before locally. Apparently the hashing we are using isn't stable. Consider moving the test to snapshot the file size?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Backlog
Development

No branches or pull requests

2 participants