Opened 7 years ago

Last modified 7 years ago

#16688 closed defect

Some tests are failing — at Version 1

Reported by: naoliv Owned by: team
Priority: normal Milestone: 18.09
Component: Unit tests Version:
Keywords: Cc:

Description (last modified by naoliv)

I am seeing some tests failing (when running ant test) with the latest JOSM version (14187):

    [junit] Running org.openstreetmap.josm.data.coor.conversion.ICoordinateFormatTest
    [junit] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.537 sec
    [junit] TEST org.openstreetmap.josm.data.coor.conversion.ICoordinateFormatTest FAILED

    [junit] Running org.openstreetmap.josm.tools.ExifReaderTest
    [junit] Tests run: 9, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 19 sec
    [junit] TEST org.openstreetmap.josm.tools.ExifReaderTest FAILED

    [junit] Running org.openstreetmap.josm.tools.PlatformHookOsxTest
    [junit] Tests run: 9, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.679 sec
    [junit] TEST org.openstreetmap.josm.tools.PlatformHookOsxTest FAILED

    [junit] Running org.openstreetmap.josm.gui.mappaint.MapCSSRendererTest
    [junit] Tests run: 22, Failures: 21, Errors: 0, Skipped: 0, Time elapsed: 11.204 sec
    [junit] TEST org.openstreetmap.josm.gui.mappaint.MapCSSRendererTest FAILED

    [junit] Running org.openstreetmap.josm.io.MultiFetchServerObjectReaderTest
    [junit] Tests run: 0, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 4.522 sec
    [junit] TEST org.openstreetmap.josm.io.MultiFetchServerObjectReaderTest FAILED

    [junit] Running org.openstreetmap.josm.io.OsmServerBackreferenceReaderTest
    [junit] Tests run: 0, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.904 sec
    [junit] TEST org.openstreetmap.josm.io.OsmServerBackreferenceReaderTest FAILED

This one doesn't cause any failure, but gives a warning:

    [junit] Running org.openstreetmap.josm.data.osm.search.SearchCompilerTest
    [junit] WARNING: An illegal reflective access operation has occurred
    [junit] WARNING: Illegal reflective access by nl.jqno.equalsverifier.internal.reflection.FieldAccessor (file:/tmp/josm/test/lib/equalsverifier-2.5.1.jar) to field javax.swing.AbstractAction.enabled
    [junit] WARNING: Please consider reporting this to the maintainers of nl.jqno.equalsverifier.internal.reflection.FieldAccessor
    [junit] WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
    [junit] WARNING: All illegal access operations will be denied in a future release
    [junit] Tests run: 30, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 24.657 sec

The full ant test output and the report dir are attached.

Java:

$ java -version
Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on
openjdk version "10.0.2" 2018-07-17
OpenJDK Runtime Environment (build 10.0.2+13-Debian-1)
OpenJDK 64-Bit Server VM (build 10.0.2+13-Debian-1, mixed mode)

ant:

$ ant -version
Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on
Apache Ant(TM) version 1.10.5 compiled on July 16 2018

locale:

$ locale
LANG=pt_BR.UTF-8
LANGUAGE=pt_BR:pt:en
LC_CTYPE="pt_BR.UTF-8"
LC_NUMERIC="pt_BR.UTF-8"
LC_TIME="pt_BR.UTF-8"
LC_COLLATE="pt_BR.UTF-8"
LC_MONETARY="pt_BR.UTF-8"
LC_MESSAGES="pt_BR.UTF-8"
LC_PAPER="pt_BR.UTF-8"
LC_NAME="pt_BR.UTF-8"
LC_ADDRESS="pt_BR.UTF-8"
LC_TELEPHONE="pt_BR.UTF-8"
LC_MEASUREMENT="pt_BR.UTF-8"
LC_IDENTIFICATION="pt_BR.UTF-8"
LC_ALL=

Timezone is GMT -3

Change History (3)

by naoliv, 7 years ago

Attachment: output.txt added

by naoliv, 7 years ago

Attachment: report.tar.bz2 added

comment:1 by naoliv, 7 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.