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

Unit test failed when compiling #17

Open
mhoangvslev opened this issue Apr 26, 2023 · 0 comments
Open

Unit test failed when compiling #17

mhoangvslev opened this issue Apr 26, 2023 · 0 comments

Comments

@mhoangvslev
Copy link

I compile using

mvn clean && mvn install dependency:copy-dependencies package #-Dmaven.test.skip=true

I receive this report:

Results :

Tests in error: 
  testUriPrunner(org.semagrow.sevod.Tests): Unable to create serializer "com.esotericsoftware.kryo.serializers.FieldSerializer" for class: java.nio.HeapByteBuffer

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

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for SEVOD scraper 3-SNAPSHOT:
[INFO] 
[INFO] SEVOD scraper ...................................... SUCCESS [  0.102 s]
[INFO] sevod-scraper-commons .............................. SUCCESS [  1.579 s]
[INFO] SEVOD scraper for RDF dump ......................... SUCCESS [  0.690 s]
[INFO] SEVOD scraper for RDF dump in Apache Spark ......... FAILURE [ 11.918 s]
[INFO] SEVOD scraper from Apache Cassandra ................ SKIPPED
[INFO] SEVOD scraper from SPARQL endpoint ................. SKIPPED
[INFO] SEVOD scraper for Geospatial RDF dump .............. SKIPPED
[INFO] SEVOD scraper Command-Line Interface ............... SKIPPED
[INFO] SEVOD scraper assembly ............................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  14.405 s
[INFO] Finished at: 2023-04-26T10:57:55+02:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test) on project sevod-scraper-rdf-spark: There are test failures.
[ERROR] 
[ERROR] Please refer to /GDD/RSFB/engines/semagrow/sevod-scraper/rdfdump-spark/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 :sevod-scraper-rdf-spark
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant