See #23220: Use jakarta.annotation instead of javax.annotation (JSR305) #182
GitHub Actions / JUnit Test Report
failed
Nov 28, 2023 in 0s
218 tests run, 213 passed, 2 skipped, 3 failed.
Annotations
github-actions / JUnit Test Report
AddMapWithAILayerActionTest.testAddMapWithAILayerActionTest()
java.lang.RuntimeException: org.openstreetmap.josm.io.OsmTransferException: Could not connect to the OSM server. Please check your internet connection.
Raw output
java.lang.RuntimeException: java.lang.RuntimeException: org.openstreetmap.josm.io.OsmTransferException: Could not connect to the OSM server. Please check your internet connection.
at org.openstreetmap.josm.plugins.mapwithai.actions.AddMapWithAILayerAction.actionPerformed(AddMapWithAILayerAction.java:116)
at org.openstreetmap.josm.plugins.mapwithai.actions.AddMapWithAILayerActionTest.testAddMapWithAILayerActionTest(AddMapWithAILayerActionTest.java:80)
Caused by: java.lang.RuntimeException: org.openstreetmap.josm.io.OsmTransferException: Could not connect to the OSM server. Please check your internet connection.
Caused by: org.openstreetmap.josm.io.OsmTransferException: Could not connect to the OSM server. Please check your internet connection.
at org.openstreetmap.josm.io.OsmServerReader.getInputStreamRaw(OsmServerReader.java:204)
at org.openstreetmap.josm.io.OsmServerReader.getInputStreamRaw(OsmServerReader.java:142)
at org.openstreetmap.josm.io.OsmServerReader.getInputStreamRaw(OsmServerReader.java:126)
at org.openstreetmap.josm.io.OsmServerReader.getInputStream(OsmServerReader.java:90)
at org.openstreetmap.josm.io.OsmServerReader.getInputStream(OsmServerReader.java:73)
at org.openstreetmap.josm.io.BoundingBoxDownloader.parseOsm(BoundingBoxDownloader.java:211)
at org.openstreetmap.josm.plugins.mapwithai.backend.BoundingBoxMapWithAIDownloader.parseOsm(BoundingBoxMapWithAIDownloader.java:262)
at org.openstreetmap.josm.plugins.mapwithai.backend.MapWithAIDataUtils.lambda$download$6(MapWithAIDataUtils.java:177)
Caused by: java.net.ConnectException: Connection refused
at java.base/sun.nio.ch.Net.pollConnect(Native Method)
at java.base/java.net.Socket.connect(Socket.java:633)
at org.openstreetmap.josm.tools.Http1Client.performConnection(Http1Client.java:78)
at org.openstreetmap.josm.tools.HttpClient.connect(HttpClient.java:148)
at org.openstreetmap.josm.io.OsmServerReader.getInputStreamRaw(OsmServerReader.java:199)
... 7 more
github-actions / JUnit Test Report
AddMapWithAILayerActionTest.org.openstreetmap.josm.plugins.mapwithai.actions.AddMapWithAILayerActionTest
org.opentest4j.AssertionFailedError
at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
Raw output
org.opentest4j.AssertionFailedError
at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1625)
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:921)
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:682)
at org.openstreetmap.josm.plugins.mapwithai.testutils.annotations.NoExceptions$NoExceptionsExtension.afterAll(NoExceptions.java:43)
at java.base/java.util.concurrent.RecursiveAction.exec(RecursiveAction.java:194)
at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373)
at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182)
at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655)
at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622)
at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165)
Caused by: java.lang.RuntimeException: org.openstreetmap.josm.io.OsmTransferException: Could not connect to the OSM server. Please check your internet connection.
at java.base/java.util.concurrent.ForkJoinTask$AdaptedCallable.exec(ForkJoinTask.java:1433)
at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373)
at java.base/java.util.concurrent.ForkJoinTask.awaitDone(ForkJoinTask.java:436)
at java.base/java.util.concurrent.ForkJoinTask.join(ForkJoinTask.java:670)
at org.openstreetmap.josm.plugins.mapwithai.backend.GetDataRunnable.getDataReal(GetDataRunnable.java:695)
at org.openstreetmap.josm.plugins.mapwithai.backend.GetDataRunnable.compute(GetDataRunnable.java:221)
at org.openstreetmap.josm.plugins.mapwithai.backend.BoundingBoxMapWithAIDownloader.lambda$parseOsm$3(BoundingBoxMapWithAIDownloader.java:332)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:840)
Caused by: org.openstreetmap.josm.io.OsmTransferException: Could not connect to the OSM server. Please check your internet connection.
at org.openstreetmap.josm.io.OsmServerReader.getInputStreamRaw(OsmServerReader.java:204)
at org.openstreetmap.josm.io.OsmServerReader.getInputStreamRaw(OsmServerReader.java:142)
at org.openstreetmap.josm.io.OsmServerReader.getInputStreamRaw(OsmServerReader.java:126)
at org.openstreetmap.josm.io.OsmServerReader.getInputStream(OsmServerReader.java:90)
at org.openstreetmap.josm.io.OsmServerReader.getInputStream(OsmServerReader.java:73)
at org.openstreetmap.josm.io.BoundingBoxDownloader.parseOsm(BoundingBoxDownloader.java:211)
at org.openstreetmap.josm.plugins.mapwithai.backend.BoundingBoxMapWithAIDownloader.parseOsm(BoundingBoxMapWithAIDownloader.java:262)
at org.openstreetmap.josm.plugins.mapwithai.backend.MapWithAIDataUtils.lambda$download$6(MapWithAIDataUtils.java:177)
at java.base/java.util.concurrent.ForkJoinTask$AdaptedCallable.exec(ForkJoinTask.java:1428)
... 9 more
Caused by: java.net.ConnectException: Connection refused
at java.base/sun.nio.ch.Net.pollConnect(Native Method)
at java.base/sun.nio.ch.Net.pollConnectNow(Net.java:672)
at java.base/sun.nio.ch.NioSocketImpl.timedFinishConnect(NioSocketImpl.java:547)
at java.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:602)
at java.base/java.net.Socket.connect(Socket.java:633)
at java.base/sun.net.NetworkClient.doConnect(NetworkClient.java:178)
at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:533)
at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:638)
at java.base/sun.net.www.http.HttpClient.<init>(HttpClient.java:281)
at java.base/sun.net.www.http.HttpClient.New(HttpClient.java:386)
at java.base/sun.net.www.http.HttpClient.New(HttpClient.java:408)
at java.base/sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1309)
at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1242)
at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1128)
at java.base/sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:1057)
at org.openstreetmap.josm.tools.Http1Client.performConnection(Http1Client.java:78)
at org.openstreetmap.josm.tools.HttpClient.connect(HttpClient.java:148)
at org.openstreetmap.josm.io.OsmServerReader.getInputStreamRaw(OsmServerReader.java:199)
... 17 more
github-actions / JUnit Test Report
RoutingIslandsTestTest.testCheckForUnconnectedWaysIncoming()
expected: <3> but was: <2>
Raw output
org.opentest4j.AssertionFailedError: expected: <3> but was: <2>
at org.openstreetmap.josm.plugins.mapwithai.data.validation.tests.RoutingIslandsTestTest.testCheckForUnconnectedWaysIncoming(RoutingIslandsTestTest.java:189)
Loading