Error doing "mvn package" on learnlib-release

15 views
Skip to first unread message

Teck Ping Khoo

unread,
Jul 5, 2019, 5:34:42 AM7/5/19
to LearnLib Q&A
Hi everyone

I downloaded the release branch of learnlib and got the following error when I tried to do "mvn package". Seems to have a problem with "Observationtable"

Please let me know if I missed anything. Thanks.

[INFO] LearnLib ........................................... SUCCESS [  1.743 s]
[INFO] LearnLib :: Build Parent ........................... SUCCESS [  0.016 s]
[INFO] LearnLib :: API .................................... SUCCESS [  3.340 s]
[INFO] LearnLib :: Commons ................................ SUCCESS [  0.014 s]
[INFO] LearnLib :: Commons :: Abstract Counterexamples .... SUCCESS [  1.485 s]
[INFO] LearnLib :: Commons :: Counterexamples ............. SUCCESS [  0.158 s]
[INFO] LearnLib :: Commons :: Settings .................... SUCCESS [  1.583 s]
[INFO] LearnLib :: Oracles ................................ SUCCESS [  0.016 s]
[INFO] LearnLib :: Filters ................................ SUCCESS [  0.016 s]
[INFO] LearnLib :: Filters :: Statistics .................. SUCCESS [  1.553 s]
[INFO] LearnLib :: Commons :: Util ........................ SUCCESS [  1.687 s]
[INFO] LearnLib :: Test Support ........................... SUCCESS [  0.014 s]
[INFO] LearnLib :: Test Support :: Learning Examples ...... SUCCESS [  0.167 s]
[INFO] LearnLib :: Oracles :: Membership Oracles .......... SUCCESS [  1.526 s]
[INFO] LearnLib :: Drivers ................................ SUCCESS [  0.015 s]
[INFO] LearnLib :: Drivers :: Simulator ................... SUCCESS [  0.127 s]
[INFO] LearnLib :: Filters :: Cache ....................... SUCCESS [  2.353 s]
[INFO] LearnLib :: Test Support :: Test Support ........... SUCCESS [  0.144 s]
[INFO] LearnLib :: Oracles :: Equivalence Oracles ......... SUCCESS [  2.967 s]
[INFO] LearnLib :: Test Support :: Learner IT Support ..... SUCCESS [  0.175 s]
[INFO] LearnLib :: Algorithms ............................. SUCCESS [  0.016 s]
[INFO] LearnLib :: Algorithms :: Active ................... SUCCESS [  0.015 s]
[INFO] LearnLib :: Algorithms :: ADT ...................... SUCCESS [  1.883 s]
[INFO] LearnLib :: Algorithms :: DHC ...................... SUCCESS [  1.940 s]
[INFO] LearnLib :: Datastructures ......................... SUCCESS [  0.017 s]
[INFO] LearnLib :: Datastructures :: List ................. SUCCESS [  0.168 s]
[INFO] LearnLib :: Datastructures :: Discrimination Tree .. SUCCESS [  1.799 s]
[INFO] LearnLib :: Algorithms :: Discrimination Tree ...... SUCCESS [  1.977 s]
[INFO] LearnLib :: Algorithms :: Discrimination Tree [VPDA] SUCCESS [  0.179 s]
[INFO] LearnLib :: Algorithms :: Kearns/Vazirani .......... SUCCESS [  2.028 s]
[INFO] LearnLib :: Datastructures :: Observationtable ..... FAILURE [  1.958 s]
[INFO] LearnLib :: Algorithms :: L* ....................... SKIPPED
[INFO] LearnLib :: Algorithms :: NL* ...................... SKIPPED
[INFO] LearnLib :: Algorithms :: TTT ...................... SKIPPED
[INFO] LearnLib :: Algorithms :: TTT [VPDA] ............... SKIPPED
[INFO] LearnLib :: Datastructures :: PTA .................. SKIPPED
[INFO] LearnLib :: Algorithms :: Passive .................. SKIPPED
[INFO] LearnLib :: Algorithms :: RPNI ..................... SKIPPED
[INFO] LearnLib :: Algorithms :: EDSM ..................... SKIPPED
[INFO] LearnLib :: Algorithms :: MDL ...................... SKIPPED
[INFO] LearnLib :: Drivers :: Mapper ...................... SKIPPED
[INFO] LearnLib :: Drivers :: Basic ....................... SKIPPED
[INFO] LearnLib :: Oracles :: Emptiness Oracles ........... SKIPPED
[INFO] LearnLib :: Filters :: Reuse ....................... SKIPPED
[INFO] LearnLib :: Oracles :: Parallelism ................. SKIPPED
[INFO] LearnLib :: Oracles :: Property Oracles ............ SKIPPED
[INFO] LearnLib :: Distribution ........................... SKIPPED
[INFO] LearnLib :: Archetypes ............................. SKIPPED
[INFO] LearnLib :: Archetypes :: Basic .................... SKIPPED
[INFO] LearnLib :: Archetypes :: Complete ................. SKIPPED
[INFO] LearnLib :: Build Tools ............................ SKIPPED
[INFO] LearnLib :: Examples ............................... SKIPPED

Markus Frohme

unread,
Jul 6, 2019, 1:42:24 PM7/6/19
to Teck Ping Khoo, LearnLib Q&A
Dear Teck Ping,


I assume you are using Windows? I believe this is an issue with the encoding of newlines (\n vs. \r\n) in one of the OT exporter tests. Normally, this should be handled by git, when cloning the repository. But when you simply download the branch/tag from the Github interface and extract the .zip (as a simple folder of arbitrary files), the .gitattributes are ignored.

Why do you want to build the release version yourself? All of the tagged versions are deployed to Maven Central [0] and can be directly included in your Maven project. You can also download the precompiled JARs from the central repository and use our special "distribution" artifact [1] (that bundles all transitive dependencies) for situations where you can't use Maven. If you need the current development versions, we even have nightly builds [2].

So unless you plan on building a custom version of LearnLib, this shouldn't be something you have to worry about.


Kind regards,
Markus


[0] - https://mvnrepository.com/search?q=de.learnlib
[1] - https://mvnrepository.com/artifact/de.learnlib.distribution/learnlib-distribution
[2] - https://github.com/LearnLib/learnlib/wiki/Using-Development-Versions
> --
> You received this message because you are subscribed to the Google Groups "LearnLib Q&A" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to learnlib-qa...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/learnlib-qa/a9bd23c8-2e49-4ca3-abfb-0c7ebf83cbd8%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages