Modify

Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#14229 closed defect (fixed)

Unit test hang (r11450)

Reported by: Don-vip Owned by: team
Priority: normal Milestone: 17.01
Component: Unit tests Version:
Keywords: Cc:

Description

From today's run (job hang), kill -3 output:

    [junit] Running org.openstreetmap.josm.actions.SelectByInternalPointActionTest
    [junit] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.209 sec
    [junit] Running org.openstreetmap.josm.actions.SessionSaveAsActionTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.581 sec
    [junit] Running org.openstreetmap.josm.actions.SimplifyWayActionTest
    [junit] 2017-01-11 19:54:07
    [junit] Full thread dump OpenJDK 64-Bit Server VM (25.111-b14 mixed mode):
    [junit] 
    [junit] "Map Status Collector" #90 daemon prio=6 os_prio=0 tid=0x00007f0c40232800 nid=0x62d1 waiting on condition [0x00007f0c594c7000]
    [junit]    java.lang.Thread.State: WAITING (parking)
    [junit] 	at sun.misc.Unsafe.park(Native Method)
    [junit] 	- parking to wait for  <0x000000076d3b4ae8> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
    [junit] 	at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
    [junit] 	at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039)
    [junit] 	at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442)
    [junit] 	at org.openstreetmap.josm.gui.MapStatus$Collector.run(MapStatus.java:399)
    [junit] 	at java.lang.Thread.run(Thread.java:745)
    [junit] 
    [junit] "Map Status Collector" #83 daemon prio=6 os_prio=0 tid=0x00007f0c401d0000 nid=0x62c9 waiting on condition [0x00007f0c593c6000]
    [junit]    java.lang.Thread.State: WAITING (parking)
    [junit] 	at sun.misc.Unsafe.park(Native Method)
    [junit] 	- parking to wait for  <0x00000006ca79e680> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
    [junit] 	at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
    [junit] 	at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039)
    [junit] 	at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442)
    [junit] 	at org.openstreetmap.josm.gui.MapStatus$Collector.run(MapStatus.java:399)
    [junit] 	at java.lang.Thread.run(Thread.java:745)
    [junit] 
    [junit] "Map Status Collector" #75 daemon prio=6 os_prio=0 tid=0x00007f0c40183800 nid=0x62c0 waiting on condition [0x00007f0c595c8000]
    [junit]    java.lang.Thread.State: WAITING (parking)
    [junit] 	at sun.misc.Unsafe.park(Native Method)
    [junit] 	- parking to wait for  <0x00000006ca6b6068> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
    [junit] 	at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
    [junit] 	at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039)
    [junit] 	at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442)
    [junit] 	at org.openstreetmap.josm.gui.MapStatus$Collector.run(MapStatus.java:399)
    [junit] 	at java.lang.Thread.run(Thread.java:745)
    [junit] 
    [junit] "Map Status Collector" #73 daemon prio=6 os_prio=0 tid=0x00007f0c4017a000 nid=0x62bd waiting on condition [0x00007f0c596c9000]
    [junit]    java.lang.Thread.State: WAITING (parking)
    [junit] 	at sun.misc.Unsafe.park(Native Method)
    [junit] 	- parking to wait for  <0x00000006ca5d7f50> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
    [junit] 	at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
    [junit] 	at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039)
    [junit] 	at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442)
    [junit] 	at org.openstreetmap.josm.gui.MapStatus$Collector.run(MapStatus.java:399)
    [junit] 	at java.lang.Thread.run(Thread.java:745)
    [junit] 
    [junit] "Map Status Collector" #71 daemon prio=6 os_prio=0 tid=0x00007f0c40233800 nid=0x62ba waiting on condition [0x00007f0c59ccd000]
    [junit]    java.lang.Thread.State: WAITING (parking)
    [junit] 	at sun.misc.Unsafe.park(Native Method)
    [junit] 	- parking to wait for  <0x00000006ca4d8e60> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
    [junit] 	at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
    [junit] 	at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039)
    [junit] 	at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442)
    [junit] 	at org.openstreetmap.josm.gui.MapStatus$Collector.run(MapStatus.java:399)
    [junit] 	at java.lang.Thread.run(Thread.java:745)
    [junit] 
    [junit] "Map Status Collector" #69 daemon prio=6 os_prio=0 tid=0x00007f0c40231000 nid=0x62b7 waiting on condition [0x00007f0c597ca000]
    [junit]    java.lang.Thread.State: WAITING (parking)
    [junit] 	at sun.misc.Unsafe.park(Native Method)
    [junit] 	- parking to wait for  <0x00000006ca3df9a8> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
    [junit] 	at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
    [junit] 	at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039)
    [junit] 	at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442)
    [junit] 	at org.openstreetmap.josm.gui.MapStatus$Collector.run(MapStatus.java:399)
    [junit] 	at java.lang.Thread.run(Thread.java:745)
    [junit] 
    [junit] "Map Status Collector" #67 daemon prio=6 os_prio=0 tid=0x00007f0c40230800 nid=0x62b4 waiting on condition [0x00007f0c598cb000]
    [junit]    java.lang.Thread.State: WAITING (parking)
    [junit] 	at sun.misc.Unsafe.park(Native Method)
    [junit] 	- parking to wait for  <0x00000006ca2db540> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
    [junit] 	at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
    [junit] 	at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039)
    [junit] 	at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442)
    [junit] 	at org.openstreetmap.josm.gui.MapStatus$Collector.run(MapStatus.java:399)
    [junit] 	at java.lang.Thread.run(Thread.java:745)
    [junit] 
    [junit] "Map Status Collector" #65 daemon prio=6 os_prio=0 tid=0x00007f0c4022e800 nid=0x62b0 waiting on condition [0x00007f0c599cc000]
    [junit]    java.lang.Thread.State: WAITING (parking)
    [junit] 	at sun.misc.Unsafe.park(Native Method)
    [junit] 	- parking to wait for  <0x00000006ca2ba130> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
    [junit] 	at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
    [junit] 	at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039)
    [junit] 	at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442)
    [junit] 	at org.openstreetmap.josm.gui.MapStatus$Collector.run(MapStatus.java:399)
    [junit] 	at java.lang.Thread.run(Thread.java:745)
    [junit] 
    [junit] "Map Status Collector" #63 daemon prio=6 os_prio=0 tid=0x00007f0c4022d000 nid=0x62ad waiting on condition [0x00007f0cad744000]
    [junit]    java.lang.Thread.State: WAITING (parking)
    [junit] 	at sun.misc.Unsafe.park(Native Method)
    [junit] 	- parking to wait for  <0x00000006ca0f4428> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
    [junit] 	at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
    [junit] 	at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039)
    [junit] 	at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442)
    [junit] 	at org.openstreetmap.josm.gui.MapStatus$Collector.run(MapStatus.java:399)
    [junit] 	at java.lang.Thread.run(Thread.java:745)
    [junit] 
    [junit] "Map Status Collector" #52 daemon prio=6 os_prio=0 tid=0x00007f0c40177000 nid=0x62a1 waiting on condition [0x00007f0cadcca000]
    [junit]    java.lang.Thread.State: WAITING (parking)
    [junit] 	at sun.misc.Unsafe.park(Native Method)
    [junit] 	- parking to wait for  <0x00000006c9fbcc58> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
    [junit] 	at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
    [junit] 	at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039)
    [junit] 	at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442)
    [junit] 	at org.openstreetmap.josm.gui.MapStatus$Collector.run(MapStatus.java:399)
    [junit] 	at java.lang.Thread.run(Thread.java:745)
    [junit] 
    [junit] "Map Status Collector" #50 daemon prio=6 os_prio=0 tid=0x00007f0c40176000 nid=0x629e waiting on condition [0x00007f0cada7e000]
    [junit]    java.lang.Thread.State: WAITING (parking)
    [junit] 	at sun.misc.Unsafe.park(Native Method)
    [junit] 	- parking to wait for  <0x00000006c9ebce98> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
    [junit] 	at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
    [junit] 	at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039)
    [junit] 	at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442)
    [junit] 	at org.openstreetmap.josm.gui.MapStatus$Collector.run(MapStatus.java:399)
    [junit] 	at java.lang.Thread.run(Thread.java:745)
    [junit] 
    [junit] "AWT-EventQueue-0" #45 prio=6 os_prio=0 tid=0x00007f0ccc434000 nid=0x6299 waiting for monitor entry [0x00007f0c5b2cd000]
    [junit]    java.lang.Thread.State: BLOCKED (on object monitor)
    [junit] 	at java.awt.Component.invalidate(Component.java:2929)
    [junit] 	- waiting to lock <0x00000006c554b398> (a java.awt.Component$AWTTreeLock)
    [junit] 	at java.awt.Container.invalidate(Container.java:1587)
    [junit] 	at javax.swing.JComponent.revalidate(JComponent.java:4848)
    [junit] 	at javax.swing.plaf.basic.BasicTextUI$RootView.preferenceChanged(BasicTextUI.java:1406)
    [junit] 	at javax.swing.text.View.preferenceChanged(View.java:288)
    [junit] 	at javax.swing.text.BoxView.preferenceChanged(BoxView.java:286)
    [junit] 	at javax.swing.text.View.preferenceChanged(View.java:288)
    [junit] 	at javax.swing.text.BoxView.preferenceChanged(BoxView.java:286)
    [junit] 	at javax.swing.text.View.preferenceChanged(View.java:288)
    [junit] 	at javax.swing.text.BoxView.preferenceChanged(BoxView.java:286)
    [junit] 	at javax.swing.text.View.preferenceChanged(View.java:288)
    [junit] 	at javax.swing.text.View.preferenceChanged(View.java:288)
    [junit] 	at javax.swing.text.GlyphView.changedUpdate(GlyphView.java:962)
    [junit] 	at javax.swing.text.LabelView.changedUpdate(LabelView.java:303)
    [junit] 	at javax.swing.text.html.InlineView.changedUpdate(InlineView.java:93)
    [junit] 	at javax.swing.text.View.forwardUpdateToView(View.java:1231)
    [junit] 	at javax.swing.text.FlowView$LogicalView.forwardUpdateToView(FlowView.java:795)
    [junit] 	at javax.swing.text.View.forwardUpdate(View.java:1162)
    [junit] 	at javax.swing.text.FlowView$LogicalView.forwardUpdate(FlowView.java:805)
    [junit] 	at javax.swing.text.View.changedUpdate(View.java:792)
    [junit] 	at javax.swing.text.FlowView.changedUpdate(FlowView.java:283)
    [junit] 	at javax.swing.text.ParagraphView.changedUpdate(ParagraphView.java:788)
    [junit] 	at javax.swing.text.View.forwardUpdateToView(View.java:1231)
    [junit] 	at javax.swing.text.View.forwardUpdate(View.java:1162)
    [junit] 	at javax.swing.text.BoxView.forwardUpdate(BoxView.java:240)
    [junit] 	at javax.swing.text.View.changedUpdate(View.java:792)
    [junit] 	at javax.swing.text.html.BlockView.changedUpdate(BlockView.java:341)
    [junit] 	at javax.swing.text.View.forwardUpdateToView(View.java:1231)
    [junit] 	at javax.swing.text.View.forwardUpdate(View.java:1162)
    [junit] 	at javax.swing.text.BoxView.forwardUpdate(BoxView.java:240)
    [junit] 	at javax.swing.text.View.changedUpdate(View.java:792)
    [junit] 	at javax.swing.text.html.BlockView.changedUpdate(BlockView.java:341)
    [junit] 	at javax.swing.plaf.basic.BasicTextUI$RootView.changedUpdate(BasicTextUI.java:1638)
    [junit] 	at javax.swing.plaf.basic.BasicTextUI$UpdateHandler.changedUpdate(BasicTextUI.java:1899)
    [junit] 	at javax.swing.text.AbstractDocument.fireChangedUpdate(AbstractDocument.java:230)
    [junit] 	at javax.swing.text.html.HTMLDocument.fireChangedUpdate(HTMLDocument.java:1738)
    [junit] 	at javax.swing.text.DefaultStyledDocument$ChangeUpdateRunnable.run(DefaultStyledDocument.java:2738)
    [junit] 	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
    [junit] 	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
    [junit] 	at java.awt.EventQueue.access$500(EventQueue.java:97)
    [junit] 	at java.awt.EventQueue$3.run(EventQueue.java:709)
    [junit] 	at java.awt.EventQueue$3.run(EventQueue.java:703)
    [junit] 	at java.security.AccessController.doPrivileged(Native Method)
    [junit] 	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
    [junit] 	at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
    [junit] 	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
    [junit] 	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
    [junit] 	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
    [junit] 	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
    [junit] 	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
    [junit] 	at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
    [junit] 
    [junit] "AWT-Shutdown" #46 prio=5 os_prio=0 tid=0x00007f0ccc433800 nid=0x6298 in Object.wait() [0x00007f0cacb73000]
    [junit]    java.lang.Thread.State: WAITING (on object monitor)
    [junit] 	at java.lang.Object.wait(Native Method)
    [junit] 	at java.lang.Object.wait(Object.java:502)
    [junit] 	at sun.awt.AWTAutoShutdown.run(AWTAutoShutdown.java:295)
    [junit] 	- locked <0x00000006c5419d58> (a java.lang.Object)
    [junit] 	at java.lang.Thread.run(Thread.java:745)
    [junit] 
    [junit] "Map Status Collector" #41 daemon prio=6 os_prio=0 tid=0x00007f0c6c282000 nid=0x6292 waiting on condition [0x00007f0c5b7d0000]
    [junit]    java.lang.Thread.State: WAITING (parking)
    [junit] 	at sun.misc.Unsafe.park(Native Method)
    [junit] 	- parking to wait for  <0x00000006c828e458> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
    [junit] 	at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
    [junit] 	at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039)
    [junit] 	at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442)
    [junit] 	at org.openstreetmap.josm.gui.MapStatus$Collector.run(MapStatus.java:399)
    [junit] 	at java.lang.Thread.run(Thread.java:745)
    [junit] 
    [junit] "Timer-0" #40 prio=6 os_prio=0 tid=0x00007f0c6c236000 nid=0x6290 in Object.wait() [0x00007f0c5bad1000]
    [junit]    java.lang.Thread.State: WAITING (on object monitor)
    [junit] 	at java.lang.Object.wait(Native Method)
    [junit] 	- waiting on <0x00000006c83f1c10> (a java.util.TaskQueue)
    [junit] 	at java.lang.Object.wait(Object.java:502)
    [junit] 	at java.util.TimerThread.mainLoop(Timer.java:526)
    [junit] 	- locked <0x00000006c83f1c10> (a java.util.TaskQueue)
    [junit] 	at java.util.TimerThread.run(Timer.java:505)
    [junit] 
    [junit] "TimerQueue" #32 daemon prio=5 os_prio=0 tid=0x00007f0c6c033000 nid=0x6286 waiting on condition [0x00007f0c5bbd2000]
    [junit]    java.lang.Thread.State: WAITING (parking)
    [junit] 	at sun.misc.Unsafe.park(Native Method)
    [junit] 	- parking to wait for  <0x00000006c5f48f58> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
    [junit] 	at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
    [junit] 	at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039)
    [junit] 	at java.util.concurrent.DelayQueue.take(DelayQueue.java:211)
    [junit] 	at javax.swing.TimerQueue.run(TimerQueue.java:174)
    [junit] 	at java.lang.Thread.run(Thread.java:745)
    [junit] 
    [junit] "File Watcher" #12 prio=5 os_prio=0 tid=0x00007f0c6c00d000 nid=0x6282 waiting on condition [0x00007f0caddcb000]
    [junit]    java.lang.Thread.State: WAITING (parking)
    [junit] 	at sun.misc.Unsafe.park(Native Method)
    [junit] 	- parking to wait for  <0x00000006c54aa560> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
    [junit] 	at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
    [junit] 	at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039)
    [junit] 	at java.util.concurrent.LinkedBlockingDeque.takeFirst(LinkedBlockingDeque.java:492)
    [junit] 	at java.util.concurrent.LinkedBlockingDeque.take(LinkedBlockingDeque.java:680)
    [junit] 	at sun.nio.fs.AbstractWatchService.take(AbstractWatchService.java:118)
    [junit] 	at org.openstreetmap.josm.io.FileWatcher.processEvents(FileWatcher.java:114)
    [junit] 	at org.openstreetmap.josm.io.FileWatcher$$Lambda$5/1166106620.run(Unknown Source)
    [junit] 	at java.lang.Thread.run(Thread.java:745)
    [junit] 
    [junit] "Java2D Disposer" #19 daemon prio=10 os_prio=0 tid=0x00007f0c7009b000 nid=0x626f in Object.wait() [0x00007f0cadbc5000]
    [junit]    java.lang.Thread.State: WAITING (on object monitor)
    [junit] 	at java.lang.Object.wait(Native Method)
    [junit] 	at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:143)
    [junit] 	- locked <0x00000006c567c218> (a java.lang.ref.ReferenceQueue$Lock)
    [junit] 	at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:164)
    [junit] 	at sun.java2d.Disposer.run(Disposer.java:148)
    [junit] 	at java.lang.Thread.run(Thread.java:745)
    [junit] 
    [junit] "Thread-2" #11 daemon prio=5 os_prio=0 tid=0x00007f0ccc635000 nid=0x6269 runnable [0x00007f0cae3a5000]
    [junit]    java.lang.Thread.State: RUNNABLE
    [junit] 	at sun.nio.fs.LinuxWatchService.poll(Native Method)
    [junit] 	at sun.nio.fs.LinuxWatchService.access$600(LinuxWatchService.java:47)
    [junit] 	at sun.nio.fs.LinuxWatchService$Poller.run(LinuxWatchService.java:314)
    [junit] 	at java.lang.Thread.run(Thread.java:745)
    [junit] 
    [junit] "Service Thread" #9 daemon prio=9 os_prio=0 tid=0x00007f0ccc3ff800 nid=0x6263 runnable [0x0000000000000000]
    [junit]    java.lang.Thread.State: RUNNABLE
    [junit] 
    [junit] "C1 CompilerThread2" #8 daemon prio=9 os_prio=0 tid=0x00007f0ccc390000 nid=0x6262 waiting on condition [0x0000000000000000]
    [junit]    java.lang.Thread.State: RUNNABLE
    [junit] 
    [junit] "C2 CompilerThread1" #7 daemon prio=9 os_prio=0 tid=0x00007f0ccc3fa000 nid=0x6261 waiting on condition [0x0000000000000000]
    [junit]    java.lang.Thread.State: RUNNABLE
    [junit] 
    [junit] "C2 CompilerThread0" #6 daemon prio=9 os_prio=0 tid=0x00007f0ccc38a000 nid=0x6260 waiting on condition [0x0000000000000000]
    [junit]    java.lang.Thread.State: RUNNABLE
    [junit] 
    [junit] "Signal Dispatcher" #4 daemon prio=9 os_prio=0 tid=0x00007f0ccc175000 nid=0x625f waiting on condition [0x0000000000000000]
    [junit]    java.lang.Thread.State: RUNNABLE
    [junit] 
    [junit] "Finalizer" #3 daemon prio=8 os_prio=0 tid=0x00007f0ccc14d800 nid=0x625e in Object.wait() [0x00007f0cafbfa000]
    [junit]    java.lang.Thread.State: WAITING (on object monitor)
    [junit] 	at java.lang.Object.wait(Native Method)
    [junit] 	at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:143)
    [junit] 	- locked <0x00000006c541a2a0> (a java.lang.ref.ReferenceQueue$Lock)
    [junit] 	at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:164)
    [junit] 	at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:209)
    [junit] 
    [junit] "Reference Handler" #2 daemon prio=10 os_prio=0 tid=0x00007f0ccc149000 nid=0x625d in Object.wait() [0x00007f0cafcfb000]
    [junit]    java.lang.Thread.State: WAITING (on object monitor)
    [junit] 	at java.lang.Object.wait(Native Method)
    [junit] 	at java.lang.Object.wait(Object.java:502)
    [junit] 	at java.lang.ref.Reference.tryHandlePending(Reference.java:191)
    [junit] 	- locked <0x00000006c5416bd8> (a java.lang.ref.Reference$Lock)
    [junit] 	at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:153)
    [junit] 
    [junit] "main" #1 prio=5 os_prio=0 tid=0x00007f0ccc00d000 nid=0x6255 in Object.wait() [0x00007f0cd5d96000]
    [junit]    java.lang.Thread.State: WAITING (on object monitor)
    [junit] 	at java.lang.Object.wait(Native Method)
    [junit] 	at java.lang.Object.wait(Object.java:502)
    [junit] 	at javax.swing.text.AbstractDocument.readLock(AbstractDocument.java:1387)
    [junit] 	- locked <0x000000076cb878d8> (a javax.swing.text.html.HTMLDocument)
    [junit] 	at javax.swing.plaf.basic.BasicTextUI.getMinimumSize(BasicTextUI.java:942)
    [junit] 	at javax.swing.JComponent.getMinimumSize(JComponent.java:1744)
    [junit] 	at javax.swing.GroupLayout$ComponentSpring.calculateNonlinkedMinimumSize(GroupLayout.java:3008)
    [junit] 	at javax.swing.GroupLayout$ComponentSpring.calculateMinimumSize(GroupLayout.java:2972)
    [junit] 	at javax.swing.GroupLayout$Spring.getMinimumSize(GroupLayout.java:1336)
    [junit] 	at javax.swing.GroupLayout$ComponentSpring.calculatePreferredSize(GroupLayout.java:2979)
    [junit] 	at javax.swing.GroupLayout$Spring.getPreferredSize(GroupLayout.java:1346)
    [junit] 	at javax.swing.GroupLayout$Group.getSpringSize(GroupLayout.java:1638)
    [junit] 	at javax.swing.GroupLayout$Group.calculateSize(GroupLayout.java:1624)
    [junit] 	at javax.swing.GroupLayout$Group.calculatePreferredSize(GroupLayout.java:1602)
    [junit] 	at javax.swing.GroupLayout$Spring.getPreferredSize(GroupLayout.java:1346)
    [junit] 	at javax.swing.GroupLayout$Group.getSpringSize(GroupLayout.java:1638)
    [junit] 	at javax.swing.GroupLayout$Group.calculateSize(GroupLayout.java:1627)
    [junit] 	at javax.swing.GroupLayout$Group.calculatePreferredSize(GroupLayout.java:1602)
    [junit] 	at javax.swing.GroupLayout$Spring.getPreferredSize(GroupLayout.java:1346)
    [junit] 	at javax.swing.GroupLayout$Group.getSpringSize(GroupLayout.java:1638)
    [junit] 	at javax.swing.GroupLayout$Group.calculateSize(GroupLayout.java:1625)
    [junit] 	at javax.swing.GroupLayout$Group.calculatePreferredSize(GroupLayout.java:1602)
    [junit] 	at javax.swing.GroupLayout$Spring.getPreferredSize(GroupLayout.java:1346)
    [junit] 	at javax.swing.GroupLayout.calculateAutopadding(GroupLayout.java:1071)
    [junit] 	at javax.swing.GroupLayout.prepare(GroupLayout.java:1058)
    [junit] 	at javax.swing.GroupLayout.preferredLayoutSize(GroupLayout.java:878)
    [junit] 	at java.awt.Container.preferredSize(Container.java:1796)
    [junit] 	- locked <0x00000006c554b398> (a java.awt.Component$AWTTreeLock)
    [junit] 	at java.awt.Container.getPreferredSize(Container.java:1780)
    [junit] 	at javax.swing.JComponent.getPreferredSize(JComponent.java:1664)
    [junit] 	at java.awt.FlowLayout.preferredLayoutSize(FlowLayout.java:414)
    [junit] 	- locked <0x00000006c554b398> (a java.awt.Component$AWTTreeLock)
    [junit] 	at java.awt.Container.preferredSize(Container.java:1796)
    [junit] 	- locked <0x00000006c554b398> (a java.awt.Component$AWTTreeLock)
    [junit] 	at java.awt.Container.getPreferredSize(Container.java:1780)
    [junit] 	at javax.swing.JComponent.getPreferredSize(JComponent.java:1664)
    [junit] 	at org.openstreetmap.josm.gui.NotificationManager.processQueue(NotificationManager.java:110)
    [junit] 	at org.openstreetmap.josm.gui.NotificationManager.showNotification(NotificationManager.java:95)
    [junit] 	- locked <0x000000076cc13ba0> (a java.util.LinkedList)
    [junit] 	at org.openstreetmap.josm.gui.Notification.show(Notification.java:211)
    [junit] 	at org.openstreetmap.josm.actions.SimplifyWayAction.alertSelectAtLeastOneWay(SimplifyWayAction.java:62)
    [junit] 	at org.openstreetmap.josm.actions.SimplifyWayAction.actionPerformed(SimplifyWayAction.java:102)
    [junit] 	at org.openstreetmap.josm.actions.SimplifyWayActionTest.testSelectionEmpty(SimplifyWayActionTest.java:66)
    [junit] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [junit] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    [junit] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    [junit] 	at java.lang.reflect.Method.invoke(Method.java:498)
    [junit] 	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
    [junit] 	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
    [junit] 	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
    [junit] 	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
    [junit] 	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
    [junit] 	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
    [junit] 	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
    [junit] 	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
    [junit] 	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
    [junit] 	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
    [junit] 	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
    [junit] 	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
    [junit] 	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
    [junit] 	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
    [junit] 	at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:38)
    [junit] 	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:535)
    [junit] 	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1182)
    [junit] 	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1004)
    [junit] 
    [junit] "VM Thread" os_prio=0 tid=0x00007f0ccc141800 nid=0x625c runnable 
    [junit] 
    [junit] "GC task thread#0 (ParallelGC)" os_prio=0 tid=0x00007f0ccc022000 nid=0x6257 runnable 
    [junit] 
    [junit] "GC task thread#1 (ParallelGC)" os_prio=0 tid=0x00007f0ccc023800 nid=0x6259 runnable 
    [junit] 
    [junit] "GC task thread#2 (ParallelGC)" os_prio=0 tid=0x00007f0ccc025800 nid=0x625a runnable 
    [junit] 
    [junit] "GC task thread#3 (ParallelGC)" os_prio=0 tid=0x00007f0ccc027000 nid=0x625b runnable 
    [junit] 
    [junit] "VM Periodic Task Thread" os_prio=0 tid=0x00007f0ccc46a800 nid=0x6264 waiting on condition 
    [junit] 
    [junit] JNI global references: 8512
    [junit] 
    [junit] Heap
    [junit]  PSYoungGen      total 537600K, used 25672K [0x000000076c700000, 0x000000078d580000, 0x00000007c0000000)
    [junit]   eden space 536064K, 4% used [0x000000076c700000,0x000000076e012088,0x000000078d280000)
    [junit]   from space 1536K, 0% used [0x000000078d280000,0x000000078d280000,0x000000078d400000)
    [junit]   to   space 1536K, 0% used [0x000000078d400000,0x000000078d400000,0x000000078d580000)
    [junit]  ParOldGen       total 132096K, used 87256K [0x00000006c5400000, 0x00000006cd500000, 0x000000076c700000)
    [junit]   object space 132096K, 66% used [0x00000006c5400000,0x00000006ca9361d0,0x00000006cd500000)
    [junit]  Metaspace       used 57721K, capacity 60584K, committed 61272K, reserved 1101824K
    [junit]   class space    used 7140K, capacity 7912K, committed 8064K, reserved 1048576K

Attachments (0)

Change History (4)

comment:1 Changed 3 years ago by Don-vip

Summary: Unit test hangUnit test hang (r11450)

comment:2 Changed 3 years ago by michael2402

org.openstreetmap.josm.actions.SimplifyWayAction.alertSelectAtLeastOneWay needs to be called in the UI thread or needs to create the dialog in the UI thread.

Last edited 3 years ago by michael2402 (previous) (diff)

comment:3 Changed 3 years ago by michael2402

Resolution: fixed
Status: newclosed

In 11488/josm:

Fix #14229: Create notification in UI thread.

comment:4 Changed 3 years ago by Don-vip

Thanks!

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.