phetsims / fourier-making-waves

"Fourier: Making Waves" is an educational simulation in HTML5, by PhET Interactive Simulations.
GNU General Public License v3.0
6 stars 3 forks source link

CT: viewValue should be finite: NaN #242

Closed pixelzoom closed 10 months ago

pixelzoom commented 10 months ago

Related to https://github.com/phetsims/fourier-making-waves/issues/240, moved to its own issue.

fourier-making-waves : fuzz : unbuilt : listenerOrderRandom
http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/fourier-making-waves/fourier-making-waves_en.html?continuousTest=%7B%22test%22%3A%5B%22fourier-making-waves%22%2C%22fuzz%22%2C%22unbuilt%22%2C%22listenerOrderRandom%22%5D%2C%22snapshotName%22%3A%22snapshot-1704307653720%22%2C%22timestamp%22%3A1704309242971%7D&brand=phet&ea&fuzz&listenerOrder=random
Query: brand=phet&ea&fuzz&listenerOrder=random
Uncaught Error: Assertion failed: viewValue should be finite: NaN
Error: Assertion failed: viewValue should be finite: NaN
at window.assertions.assertFunction (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/assert/js/assert.js:28:13)
at assert (ChartTransform.ts:130:14)
at modelToView (ChartTransform.ts:143:16)
at modelToViewY (ChartTransform.ts:148:53)
at modelToViewXY (ChartTransform.ts:153:16)
at modelToViewPosition (CanvasLinePlot.ts:111:48)
at paintCanvas (ChartCanvasNode.ts:70:16)
at Array.forEach
at forEach (ChartCanvasNode.ts:64:18)
at paintCanvas (CanvasNodeDrawable.js:48:11)
[URL] http://128.138.93.172/continuous-testing/aqua/html/sim-test.html?url=..%2F..%2Fct-snapshots%2F1704307653720%2Ffourier-making-waves%2Ffourier-making-waves_en.html&simQueryParameters=brand%3Dphet%26ea%26fuzz%26listenerOrder%3Drandom&testInfo=%7B%22test%22%3A%5B%22fourier-making-waves%22%2C%22fuzz%22%2C%22unbuilt%22%2C%22listenerOrderRandom%22%5D%2C%22snapshotName%22%3A%22snapshot-1704307653720%22%2C%22timestamp%22%3A1704309242971%7D
[NAVIGATED] http://128.138.93.172/continuous-testing/aqua/html/sim-test.html?url=..%2F..%2Fct-snapshots%2F1704307653720%2Ffourier-making-waves%2Ffourier-making-waves_en.html&simQueryParameters=brand%3Dphet%26ea%26fuzz%26listenerOrder%3Drandom&testInfo=%7B%22test%22%3A%5B%22fourier-making-waves%22%2C%22fuzz%22%2C%22unbuilt%22%2C%22listenerOrderRandom%22%5D%2C%22snapshotName%22%3A%22snapshot-1704307653720%22%2C%22timestamp%22%3A1704309242971%7D
[NAVIGATED] about:blank
[NAVIGATED] http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/fourier-making-waves/fourier-making-waves_en.html?continuousTest=%7B%22test%22%3A%5B%22fourier-making-waves%22%2C%22fuzz%22%2C%22unbuilt%22%2C%22listenerOrderRandom%22%5D%2C%22snapshotName%22%3A%22snapshot-1704307653720%22%2C%22timestamp%22%3A1704309242971%7D&brand=phet&ea&fuzz&listenerOrder=random
[CONSOLE] enabling assert
[CONSOLE] listenerOrder random seed: 341952
[CONSOLE] continuous-test-load
[CONSOLE] Assertion failed: viewValue should be finite: NaN
[PAGE ERROR] Error: Error: Assertion failed: viewValue should be finite: NaN
at window.assertions.assertFunction (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/assert/js/assert.js:28:13)
at ChartTransform.modelToView (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/bamboo/js/ChartTransform.js:83:15)
at ChartTransform.forEachSpacing (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/bamboo/js/ChartTransform.js:64:33)
at TickMarkSet.update (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/bamboo/js/TickMarkSet.js:70:25)
at changedListener (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/bamboo/js/TickMarkSet.js:55:40)
at TinyEmitter.emit (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/axon/js/TinyEmitter.js:96:9)
at Emitter.emit (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/axon/js/Emitter.js:51:22)
at ChartTransform.setModelYRange (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/bamboo/js/ChartTransform.js:210:27)
at http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/fourier-making-waves/js/wavepacket/view/WavePacketComponentsChartNode.js:128:29
at TinyProperty.emit (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/axon/js/TinyEmitter.js:96:9)
[CONSOLE] continuous-test-error
[CONSOLE] Assertion failed: viewValue should be finite: NaN
[PAGE ERROR] Error: Error: Assertion failed: viewValue should be finite: NaN
at window.assertions.assertFunction (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/assert/js/assert.js:28:13)
at ChartTransform.modelToView (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/bamboo/js/ChartTransform.js:83:15)
at ChartTransform.modelToViewY (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/bamboo/js/ChartTransform.js:95:17)
at ChartTransform.modelToViewXY (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/bamboo/js/ChartTransform.js:100:51)
at ChartTransform.modelToViewPosition (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/bamboo/js/ChartTransform.js:105:17)
at CanvasLinePlot.paintCanvas (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/bamboo/js/CanvasLinePlot.js:81:49)
at http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/bamboo/js/ChartCanvasNode.js:51:17
at Array.forEach (<anonymous>)
at ChartCanvasNode.paintCanvas (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/bamboo/js/ChartCanvasNode.js:46:19)
at CanvasNodeDrawable.paintCanvas (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/scenery/js/display/drawables/CanvasNodeDrawable.js:44:12)
[CONSOLE] continuous-test-error
[CONSOLE] Assertion failed: This should not be run in the call tree of updateDisplay(). If you see this, it is likely that either the last updateDisplay() had a thrown error and it is trying to be run again (in which case, investigate that error), OR code was run/triggered from inside an updateDisplay() that has the potential to cause an infinite loop, e.g. CanvasNode paintCanvas() call manipulating another Node, or a bounds listener that Scenery missed.
[PAGE ERROR] Error: Error: Assertion failed: This should not be run in the call tree of updateDisplay(). If you see this, it is likely that either the last updateDisplay() had a thrown error and it is trying to be run again (in which case, investigate that error), OR code was run/triggered from inside an updateDisplay() that has the potential to cause an infinite loop, e.g. CanvasNode paintCanvas() call manipulating another Node, or a bounds listener that Scenery missed.
at window.assertions.assertFunction (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/assert/js/assert.js:28:13)
at SimDisplay.ensureNotPainting (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/scenery/js/display/Display.js:1169:15)
at BackboneDrawable.markDirtyDrawable (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/scenery/js/display/BackboneDrawable.js:214:20)
at SVGBlock.markDirty (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/scenery/js/display/Drawable.js:342:29)
at SVGBlock.markDirtyGroup (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/scenery/js/display/SVGBlock.js:162:10)
at SVGGroup.markDirty (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/scenery/js/display/SVGGroup.js:171:18)
at SVGGroup.onVisibleChange (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/scenery/js/display/SVGGroup.js:211:12)
at TinyForwardingProperty.emit (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/axon/js/TinyEmitter.js:96:9)
at TinyForwardingProperty.notifyListeners (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/axon/js/TinyProperty.js:109:10)
at TinyForwardingProperty.set (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/axon/js/TinyProperty.js:58:12)
[CONSOLE] continuous-test-error
[CONSOLE] Assertion failed: reentry detected, value=2, oldValue=1
[PAGE ERROR] Error: Error: Assertion failed: reentry detected, value=2, oldValue=1
at window.assertions.assertFunction (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/assert/js/assert.js:28:13)
at NumberProperty._notifyListeners (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/axon/js/ReadOnlyProperty.js:250:15)
at NumberProperty.unguardedSet (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/axon/js/ReadOnlyProperty.js:201:14)
at NumberProperty.set (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/axon/js/ReadOnlyProperty.js:186:12)
at set value [as value] (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/axon/js/Property.js:48:11)
at Proxy.push (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/axon/js/createObservableArray.js:256:36)
at PressListener.enter (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/scenery/js/listeners/PressListener.js:593:23)
at Input.dispatchToListeners (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/scenery/js/input/Input.js:1720:25)
at Input.dispatchToTargets (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/scenery/js/input/Input.js:1749:12)
at Input.dispatchEvent (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/scenery/js/input/Input.js:1679:10)
[CONSOLE] continuous-test-error
[CONSOLE] Assertion failed: reentry detected, value=3, oldValue=2
[PAGE ERROR] Error: Error: Assertion failed: reentry detected, value=3, oldValue=2
at window.assertions.assertFunction (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/assert/js/assert.js:28:13)
at NumberProperty._notifyListeners (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/axon/js/ReadOnlyProperty.js:250:15)
at NumberProperty.unguardedSet (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/axon/js/ReadOnlyProperty.js:201:14)
at NumberProperty.set (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/axon/js/ReadOnlyProperty.js:186:12)
at set value [as value] (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/axon/js/Property.js:48:11)
at Proxy.push (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/axon/js/createObservableArray.js:256:36)
at PressListener.enter (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/scenery/js/listeners/PressListener.js:593:23)
at Input.dispatchToListeners (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/scenery/js/input/Input.js:1720:25)
at Input.dispatchToTargets (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/scenery/js/input/Input.js:1749:12)
at Input.dispatchEvent (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/scenery/js/input/Input.js:1679:10)
[CONSOLE] continuous-test-error
[CONSOLE] Assertion failed: reentry detected, value=4, oldValue=3
[PAGE ERROR] Error: Error: Assertion failed: reentry detected, value=4, oldValue=3
at window.assertions.assertFunction (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/assert/js/assert.js:28:13)
at NumberProperty._notifyListeners (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/axon/js/ReadOnlyProperty.js:250:15)
at NumberProperty.unguardedSet (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/axon/js/ReadOnlyProperty.js:201:14)
at NumberProperty.set (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/axon/js/ReadOnlyProperty.js:186:12)
at set value [as value] (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/axon/js/Property.js:48:11)
at Proxy.push (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/axon/js/createObservableArray.js:256:36)
at PressListener.enter (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/scenery/js/listeners/PressListener.js:593:23)
at Input.dispatchToListeners (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/scenery/js/input/Input.js:1720:25)
at Input.dispatchToTargets (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/scenery/js/input/Input.js:1749:12)
at Input.dispatchEvent (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/scenery/js/input/Input.js:1679:10)
[CONSOLE] continuous-test-error
[CONSOLE] Assertion failed: reentry detected, value=5, oldValue=4
[PAGE ERROR] Error: Error: Assertion failed: reentry detected, value=5, oldValue=4
at window.assertions.assertFunction (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/assert/js/assert.js:28:13)
at NumberProperty._notifyListeners (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/axon/js/ReadOnlyProperty.js:250:15)
at NumberProperty.unguardedSet (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/axon/js/ReadOnlyProperty.js:201:14)
at NumberProperty.set (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/axon/js/ReadOnlyProperty.js:186:12)
at set value [as value] (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/axon/js/Property.js:48:11)
at Proxy.push (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/axon/js/createObservableArray.js:256:36)
at PressListener.enter (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/scenery/js/listeners/PressListener.js:593:23)
at Input.dispatchToListeners (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/scenery/js/input/Input.js:1720:25)
at Input.dispatchToTargets (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/scenery/js/input/Input.js:1749:12)
at Input.dispatchEvent (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/scenery/js/input/Input.js:1679:10)
[CONSOLE] continuous-test-error
[CONSOLE] Assertion failed: reentry detected, value=6, oldValue=5
[PAGE ERROR] Error: Error: Assertion failed: reentry detected, value=6, oldValue=5
at window.assertions.assertFunction (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/assert/js/assert.js:28:13)
at NumberProperty._notifyListeners (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/axon/js/ReadOnlyProperty.js:250:15)
at NumberProperty.unguardedSet (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/axon/js/ReadOnlyProperty.js:201:14)
at NumberProperty.set (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/axon/js/ReadOnlyProperty.js:186:12)
at set value [as value] (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/axon/js/Property.js:48:11)
at Proxy.push (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/axon/js/createObservableArray.js:256:36)
at PressListener.enter (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/scenery/js/listeners/PressListener.js:593:23)
at Input.dispatchToListeners (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/scenery/js/input/Input.js:1720:25)
at Input.dispatchToTargets (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/scenery/js/input/Input.js:1749:12)
at Input.dispatchEvent (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/scenery/js/input/Input.js:1679:10)
[CONSOLE] continuous-test-error
[CONSOLE] Assertion failed: reentry detected, value=7, oldValue=6
[PAGE ERROR] Error: Error: Assertion failed: reentry detected, value=7, oldValue=6
at window.assertions.assertFunction (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/assert/js/assert.js:28:13)
at NumberProperty._notifyListeners (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/axon/js/ReadOnlyProperty.js:250:15)
at NumberProperty.unguardedSet (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/axon/js/ReadOnlyProperty.js:201:14)
at NumberProperty.set (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/axon/js/ReadOnlyProperty.js:186:12)
at set value [as value] (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/axon/js/Property.js:48:11)
at Proxy.push (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/axon/js/createObservableArray.js:256:36)
at PressListener.enter (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/scenery/js/listeners/PressListener.js:593:23)
at Input.dispatchToListeners (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/scenery/js/input/Input.js:1720:25)
at Input.dispatchToTargets (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/scenery/js/input/Input.js:1749:12)
at Input.dispatchEvent (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/scenery/js/input/Input.js:1679:10)
[CONSOLE] continuous-test-error
[CONSOLE] Assertion failed: reentry detected, value=8, oldValue=7
[PAGE ERROR] Error: Error: Assertion failed: reentry detected, value=8, oldValue=7
at window.assertions.assertFunction (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/assert/js/assert.js:28:13)
at NumberProperty._notifyListeners (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/axon/js/ReadOnlyProperty.js:250:15)
at NumberProperty.unguardedSet (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/axon/js/ReadOnlyProperty.js:201:14)
at NumberProperty.set (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/axon/js/ReadOnlyProperty.js:186:12)
at set value [as value] (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/axon/js/Property.js:48:11)
at Proxy.push (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/axon/js/createObservableArray.js:256:36)
at PressListener.enter (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/scenery/js/listeners/PressListener.js:593:23)
at Input.dispatchToListeners (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/scenery/js/input/Input.js:1720:25)
at Input.dispatchToTargets (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/scenery/js/input/Input.js:1749:12)
at Input.dispatchEvent (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/scenery/js/input/Input.js:1679:10)
[CONSOLE] continuous-test-error
[CONSOLE] Assertion failed: reentry detected, value=9, oldValue=8
[PAGE ERROR] Error: Error: Assertion failed: reentry detected, value=9, oldValue=8
at window.assertions.assertFunction (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/assert/js/assert.js:28:13)
at NumberProperty._notifyListeners (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/axon/js/ReadOnlyProperty.js:250:15)
at NumberProperty.unguardedSet (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/axon/js/ReadOnlyProperty.js:201:14)
at NumberProperty.set (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/axon/js/ReadOnlyProperty.js:186:12)
at set value [as value] (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/axon/js/Property.js:48:11)
at Proxy.push (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/axon/js/createObservableArray.js:256:36)
at PressListener.enter (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/scenery/js/listeners/PressListener.js:593:23)
at Input.dispatchToListeners (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/scenery/js/input/Input.js:1720:25)
at Input.dispatchToTargets (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/scenery/js/input/Input.js:1749:12)
at Input.dispatchEvent (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/scenery/js/input/Input.js:1679:10)
[CONSOLE] continuous-test-error
[CONSOLE] Assertion failed: reentry detected, value=10, oldValue=9
[PAGE ERROR] Error: Error: Assertion failed: reentry detected, value=10, oldValue=9
at window.assertions.assertFunction (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/assert/js/assert.js:28:13)
at NumberProperty._notifyListeners (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/axon/js/ReadOnlyProperty.js:250:15)
at NumberProperty.unguardedSet (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/axon/js/ReadOnlyProperty.js:201:14)
at NumberProperty.set (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/axon/js/ReadOnlyProperty.js:186:12)
at set value [as value] (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/axon/js/Property.js:48:11)
at Proxy.push (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/axon/js/createObservableArray.js:256:36)
at PressListener.enter (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/scenery/js/listeners/PressListener.js:593:23)
at Input.dispatchToListeners (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/scenery/js/input/Input.js:1720:25)
at Input.dispatchToTargets (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/scenery/js/input/Input.js:1749:12)
at Input.dispatchEvent (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/scenery/js/input/Input.js:1679:10)
[CONSOLE] continuous-test-error
[CONSOLE] Assertion failed: reentry detected, value=11, oldValue=10
[PAGE ERROR] Error: Error: Assertion failed: reentry detected, value=11, oldValue=10
at window.assertions.assertFunction (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/assert/js/assert.js:28:13)
at NumberProperty._notifyListeners (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/axon/js/ReadOnlyProperty.js:250:15)
at NumberProperty.unguardedSet (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/axon/js/ReadOnlyProperty.js:201:14)
at NumberProperty.set (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/axon/js/ReadOnlyProperty.js:186:12)
at set value [as value] (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/axon/js/Property.js:48:11)
at Proxy.push (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/axon/js/createObservableArray.js:256:36)
at PressListener.enter (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/scenery/js/listeners/PressListener.js:593:23)
at Input.dispatchToListeners (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/scenery/js/input/Input.js:1720:25)
at Input.dispatchToTargets (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/scenery/js/input/Input.js:1749:12)
at Input.dispatchEvent (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/scenery/js/input/Input.js:1679:10)
[CONSOLE] continuous-test-error
[CONSOLE] Assertion failed: reentry detected, value=12, oldValue=11
[PAGE ERROR] Error: Error: Assertion failed: reentry detected, value=12, oldValue=11
at window.assertions.assertFunction (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/assert/js/assert.js:28:13)
at NumberProperty._notifyListeners (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/axon/js/ReadOnlyProperty.js:250:15)
at NumberProperty.unguardedSet (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/axon/js/ReadOnlyProperty.js:201:14)
at NumberProperty.set (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/axon/js/ReadOnlyProperty.js:186:12)
at set value [as value] (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/axon/js/Property.js:48:11)
at Proxy.push (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/axon/js/createObservableArray.js:256:36)
at PressListener.enter (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/scenery/js/listeners/PressListener.js:593:23)
at Input.dispatchToListeners (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/scenery/js/input/Input.js:1720:25)
at Input.dispatchToTargets (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/scenery/js/input/Input.js:1749:12)
at Input.dispatchEvent (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/scenery/js/input/Input.js:1679:10)
[CONSOLE] continuous-test-error
[CONSOLE] Assertion failed: reentry detected, value=13, oldValue=12
[PAGE ERROR] Error: Error: Assertion failed: reentry detected, value=13, oldValue=12
at window.assertions.assertFunction (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/assert/js/assert.js:28:13)
at NumberProperty._notifyListeners (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/axon/js/ReadOnlyProperty.js:250:15)
at NumberProperty.unguardedSet (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/axon/js/ReadOnlyProperty.js:201:14)
at NumberProperty.set (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/axon/js/ReadOnlyProperty.js:186:12)
at set value [as value] (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/axon/js/Property.js:48:11)
at Proxy.push (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/axon/js/createObservableArray.js:256:36)
at PressListener.enter (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/scenery/js/listeners/PressListener.js:593:23)
at Input.dispatchToListeners (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/scenery/js/input/Input.js:1720:25)
at Input.dispatchToTargets (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/scenery/js/input/Input.js:1749:12)
at Input.dispatchEvent (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/scenery/js/input/Input.js:1679:10)
[CONSOLE] continuous-test-error
[CONSOLE] Assertion failed: reentry detected, value=14, oldValue=13
[PAGE ERROR] Error: Error: Assertion failed: reentry detected, value=14, oldValue=13
at window.assertions.assertFunction (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/assert/js/assert.js:28:13)
at NumberProperty._notifyListeners (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/axon/js/ReadOnlyProperty.js:250:15)
at NumberProperty.unguardedSet (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/axon/js/ReadOnlyProperty.js:201:14)
at NumberProperty.set (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/axon/js/ReadOnlyProperty.js:186:12)
at set value [as value] (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/axon/js/Property.js:48:11)
at Proxy.push (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/axon/js/createObservableArray.js:256:36)
at PressListener.enter (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/scenery/js/listeners/PressListener.js:593:23)
at Input.dispatchToListeners (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/scenery/js/input/Input.js:1720:25)
at Input.dispatchToTargets (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/scenery/js/input/Input.js:1749:12)
at Input.dispatchEvent (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/scenery/js/input/Input.js:1679:10)
[CONSOLE] continuous-test-error
[CONSOLE] Assertion failed: reentry detected, value=15, oldValue=14
[PAGE ERROR] Error: Error: Assertion failed: reentry detected, value=15, oldValue=14
at window.assertions.assertFunction (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/assert/js/assert.js:28:13)
at NumberProperty._notifyListeners (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/axon/js/ReadOnlyProperty.js:250:15)
at NumberProperty.unguardedSet (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/axon/js/ReadOnlyProperty.js:201:14)
at NumberProperty.set (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/axon/js/ReadOnlyProperty.js:186:12)
at set value [as value] (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/axon/js/Property.js:48:11)
at Proxy.push (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/axon/js/createObservableArray.js:256:36)
at PressListener.enter (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/scenery/js/listeners/PressListener.js:593:23)
at Input.dispatchToListeners (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/scenery/js/input/Input.js:1720:25)
at Input.dispatchToTargets (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/scenery/js/input/Input.js:1749:12)
at Input.dispatchEvent (http://128.138.93.172/continuous-testing/ct-snapshots/1704307653720/chipper/dist/js/scenery/js/input/Input.js:1679:10)

id: "Sparky Node Puppeteer"
Snapshot from 1/3/2024, 11:47:33 AM
pixelzoom commented 10 months ago

Reproducable locally with http://localhost:8080/fourier-making-waves/fourier-making-waves_en.html?brand=phet&ea&debugger&audio=disabled&fuzz&listenerOrder=random(341952)

That provides this more useful stack trace:

Assertion failed:  viewValue should be finite: NaN
window.assertions.assertFunction @assert.js:24
modelToView @ChartTransform.ts:130
forEachSpacing @ChartTransform.ts:106
update @TickLabelSet.ts:135
changedListener @TickLabelSet.ts:113
emit @TinyEmitter.ts:123
emit @Emitter.ts:62
setModelYRange @ChartTransform.ts:264
(anonymous) @WavePacketComponentsChartNode.ts:145

At WavePacketComponentsChartNode lines 144 & 145:

        const maxY = 1.1 * peakAmplitude;
        this.chartTransform.setModelYRange( new Range( -maxY, maxY ) );

If there are no components (see #241), then peakAmplitude will be zero, resulting in Range( 0, 0 ). That causes this assertion to fail in ChartTransform, because Utils.linear with Range( 0, 0 ) returns Infinity.

    const viewValue = axisOrientation === Orientation.HORIZONTAL ?
                      Utils.linear( transform.evaluate( modelRange.min ), transform.evaluate( modelRange.max ), lowSide, highSide, transformedValue ) :
                      Utils.linear( transform.evaluate( modelRange.max ), transform.evaluate( modelRange.min ), lowSide, highSide, transformedValue );
    assert && assert( Number.isFinite( viewValue ), `viewValue should be finite: ${viewValue}` );
pixelzoom commented 10 months ago

The failure in WavePacketComponentsChartNode is in a listener for componentDataSetsProperty:

    componentDataSetsProperty.link( componentDataSets => {
...
        const maxY = 1.1 * peakAmplitude;
145     this.chartTransform.setModelYRange( new Range( -maxY, maxY ) );

componentDataSetsProperty is defined in WavePacketComponentsChart:

    this.componentDataSetsProperty = new DerivedProperty(
      [ wavePacket.componentsProperty, wavePacket.componentSpacingProperty, domainProperty, seriesTypeProperty, xAxisDescriptionProperty ],
      ( components, componentSpacing, domain, seriesType, xAxisDescription ) => {
        let dataSets: Vector2[][] = EMPTY_DATA_SET;
        if ( components.length > 0 ) {
          dataSets = WavePacketComponentsChart.createComponentsDataSets( components, componentSpacing, domain,
            seriesType, xAxisDescription.range );
        }
        return dataSets;
      } );
pixelzoom commented 10 months ago

With the Wave Packet screen only (&screens=3), the sim will fail on startup using URL: http://localhost:8080/fourier-making-waves/fourier-making-waves_en.html?brand=phet&ea&debugger&audio=disabled&screens=3&fuzz&listenerOrder=random(341952)

Adding an assertion to WavePacketComponentsChartNode:

+       assert && assert( peakAmplitude !== 0, `peakAmplitude=${peakAmplitude} numberOfComponents=${numberOfComponents}` );
        const maxY = 1.1 * peakAmplitude;
        this.chartTransform.setModelYRange( new Range( -maxY, maxY ) );

Results in this console output:

Assertion failed: peakAmplitude=0 numberOfComponents=25

pixelzoom commented 10 months ago

I'm giving up on this and opting out of listOrderRandom tests for CT. See https://github.com/phetsims/fourier-making-waves/issues/240#issuecomment-1876091788.