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

Build tests failing with mvn clean test #3

Closed
kinow opened this issue Jun 16, 2017 · 1 comment
Closed

Build tests failing with mvn clean test #3

kinow opened this issue Jun 16, 2017 · 1 comment

Comments

@kinow
Copy link
Contributor

kinow commented Jun 16, 2017

Hi,

As commented on pull request #1, my environment seems to have problems running the tests. I am on branch master.

commit b7ab9fdbc6f1955fc9d6246cce49916bae51b527
Author: Lukas Molzberger <lukas.molzberger@meinestadt.de>
Date:   Fri Jun 16 13:01:00 2017 +0200

    Organize imports

Running: mvn clean test with:

Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-11T05:41:47+13:00)
Maven home: /opt/maven
Java version: 1.8.0_131, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-8-oracle/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "4.4.0-79-generic", arch: "amd64", family: "unix"

Which is basically Ubuntu LTS with Oracle JDK 1.8. It fails with the following errors:

Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.096 sec - in org.aika.network.SimplePatternMatchingTest

Results :

Failed tests: 
  PublicRangeTest.testPublicRange:101 null
  RecurrentNodeTest.testE:131 null
  RecurrentNodeTest.testFork:65 null
  RecurrentNodeTest.testOutputNode:200 null
  RecurrentNodeTest.testReverseDirection:166 null
Tests in error: 
  RecurrentNodeTest.testOutputNodeRD:272 NullPointer
  RecurrentNodeTest.testOverlappingClockAndTermSignals:341 NullPointer
  RecurrentNodeTest.testStartNode:396 NullPointer

Tests run: 61, Failures: 5, Errors: 3, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 9.672 s
[INFO] Finished at: 2017-06-16T23:38:45+12:00
[INFO] Final Memory: 19M/251M

There are a few places that inspecting the code in Eclipse, the IDE had a warning about possible NPE. It seems to happen indeed in some places in the log output.

testOverlappingClockAndTermSignals(org.aika.network.RecurrentNodeTest)  Time elapsed: 0 sec  <<< ERROR!
java.lang.NullPointerException: null
	at org.aika.network.RecurrentNodeTest.testOverlappingClockAndTermSignals(RecurrentNodeTest.java:341)
@aika-algorithm
Copy link
Owner

aika-algorithm commented Jun 16, 2017

Sorry, that was my mistake. I had set these tests to ignore on a local branch which I forgot to commit on master. These tests broke during the last refactoring and I haven't had the time to look deeper into it. So far I have not yet understood what the exact problem is.

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

2 participants