Modify ↓
Opened 2 years ago
Closed 2 years ago
#22451 closed defect (irreproducible)
Integration tests are failing without failing tests
Reported by: | mdk | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Unit tests | Version: | |
Keywords: | Cc: |
Description
Actually the Integration tests are failing without failing tests. So I looked into the console output and found:
Build step 'Console output (build log) parsing' changed build result to UNSTABLE
I found only 3 warnings, which (in my opinion) could be the reason for this, but I'm not sure:
- errorprone
[javac] Support for javac --release has been added in Java9 ignoring it [javac] /var/lib/jenkins/jobs/JOSM-Integration/workspace/jdk/JDK8/src/org/openstreetmap/josm/gui/dialogs/relation/actions/IRelationEditorActionAccess.java:82: warning: [OperatorPrecedence] Use grouping parenthesis to make the operator precedence explicit [javac] if (isUploadInProgress || oldRelation != null && oldRelation.getDataSet() != null && oldRelation.getDataSet().isLocked()) { [javac] ^ [javac] (see https://errorprone.info/bugpattern/OperatorPrecedence) [javac] Did you mean 'if (isUploadInProgress || (oldRelation != null && oldRelation.getDataSet() != null && oldRelation.getDataSet().isLocked())) {'?
- signature errors
[as:check-signature] /var/lib/jenkins/jobs/JOSM-Integration/workspace/jdk/JDK8/plugin-check/highwayNameModification.jar:com/kaart/highwaynamemodification/ModifyWays$CreateGuiAskDialog.class:199: Undefined reference: org.openstreetmap.josm.data.osm.Node org.openstreetmap.josm.data.osm.WaySegment.getFirstNode() [as:check-signature] /var/lib/jenkins/jobs/JOSM-Integration/workspace/jdk/JDK8/plugin-check/highwayNameModification.jar:com/kaart/highwaynamemodification/ModifyWays$CreateGuiAskDialog.class:200: Undefined reference: org.openstreetmap.josm.data.osm.Node org.openstreetmap.josm.data.osm.WaySegment.getSecondNode() [as:check-signature] Signature errors found. Verify them and ignore them with the proper annotation if needed.
- missing resource
[copy] Warning: Could not find resource URLResource "https://smocktaylor.gitlab.io/josm_datepicker/dist/latest/datepicker.jar" to copy.
Attachments (0)
Change History (2)
comment:1 by , 2 years ago
comment:2 by , 2 years ago
Resolution: | → irreproducible |
---|---|
Status: | new → closed |
Actual the test is green with no failing tests. So the problem is gone.
Note:
See TracTickets
for help on using tickets.
Well, the last failure was technically due to the literan preset. ( https://josm.openstreetmap.de/jenkins/job/JOSM-Integration/8120/jdk=JDK8/testReport/junit/org.openstreetmap.josm.gui.preferences.map/TaggingPresetPreferenceTestIT/Russian_POIs___https___github_com_ruosm_presets_literan_moscow_blob_master_russian_shops_xml/ ).
Anyway, looking at the previous build ( https://josm.openstreetmap.de/jenkins/job/JOSM-Integration/8119/jdk=JDK8/parsed_console/ ), it is probably
presets/nautical/waterway_riverbank.svg: Unused image.