Skip to content

mvn install gives error on tests #52

@Yicong-Huang

Description

@Yicong-Huang

Hi,

I found this repo through your excellent papers (Scotty, Cutty). I am trying to build the Flink adaptor and use it with the latest Flink distribution (1.14+).

However I met error with mvn install, I've attached the log here:

Results :

Tests in error: 
  twoWindowsTest(de.tub.dima.scotty.slicing.aggregationstore.test.windowTest.PunctuationWindowTupleTest): class java.lang.String cannot be cast to class java.lang.Integer (java.lang.String and java.lang.Integer are in module java.base of loader 'bootstrap')

Tests run: 64, Failures: 0, Errors: 1, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Scotty Window Processor 0.4:
[INFO] 
[INFO] Scotty Window Processor ............................ SUCCESS [  0.144 s]
[INFO] core ............................................... SUCCESS [  0.752 s]
[INFO] state .............................................. SUCCESS [  0.068 s]
[INFO] slicing ............................................ FAILURE [  0.711 s]
[INFO] flink-connector .................................... SKIPPED
[INFO] benchmark .......................................... SKIPPED
[INFO] samza-connector .................................... SKIPPED
[INFO] spark-connector .................................... SKIPPED
[INFO] kafkaStreams-connector ............................. SKIPPED
[INFO] beam-connector ..................................... SKIPPED
[INFO] storm-connector .................................... SKIPPED
[INFO] demo ............................................... SKIPPED
[INFO] flink-demo ......................................... SKIPPED
[INFO] spark-demo ......................................... SKIPPED
[INFO] storm-demo ......................................... SKIPPED
[INFO] beam-demo .......................................... SKIPPED
[INFO] kafka-demo ......................................... SKIPPED
[INFO] samza-demo ......................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  1.751 s
[INFO] Finished at: 2022-06-27T10:48:58-07:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test) on project slicing: There are test failures.
[ERROR] 
[ERROR] Please refer to /Users/yicong-huang/IdeaProjects/SWAT-RT/scotty-window-processor/slicing/target/surefire-reports for the individual test results.
[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 :slicing

Could you please help me identify what's going wrong? Also, would it be available to build with sbt in the near future (or simply publish on maven central should help)?

Thanks in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions