projects-timfalken-com meteors
unit_tests
Passed Started 4 days ago by timfa
Running on Steve
Log timestamps in UTC.
- 123:08:46
Using docker image node:20-bookworm ... - 223:08:46
Using docker image sha256:8f693eaa7e0a8e71560c9a82b55fd54c2ae920a2ba5d2cde28bac7d1c01c9ba5 for node:20-bookworm with digest node@sha256:8f693eaa7e0a8e71560c9a82b55fd54c2ae920a2ba5d2cde28bac7d1c01c9ba5 ...
- 323:08:47
Running on Steve via BlueGit... - 423:08:47
Working directory: /workspace - 523:08:47
Pipeline #673, job #2624
- 623:08:47
TAP version 13 - 723:08:47
# Subtest: deploy_guard - 823:08:47
# Subtest: expands $timftproot and ${timftproot} and collapses double slashes - 923:08:47
ok 1 - expands $timftproot and ${timftproot} and collapses double slashes - 1023:08:47
--- - 1123:08:47
duration_ms: 76.668377 - 1223:08:47
... - 1323:08:47
# Subtest: refuses the FTP root, a missing secret, and a non-meteors leaf - 1423:08:47
ok 2 - refuses the FTP root, a missing secret, and a non-meteors leaf - 1523:08:47
--- - 1623:08:47
duration_ms: 41.437242 - 1723:08:47
... - 1823:08:47
# Subtest: the CLI exits 0 for a good path and does not print the path - 1923:08:47
ok 3 - the CLI exits 0 for a good path and does not print the path - 2023:08:47
--- - 2123:08:47
duration_ms: 15.495507 - 2223:08:47
... - 2323:08:47
1..3 - 2423:08:47
ok 1 - deploy_guard - 2523:08:47
--- - 2623:08:47
duration_ms: 135.267876 - 2723:08:47
type: 'suite' - 2823:08:47
... - 2923:08:47
# Subtest: assert_safe_target - 3023:08:47
# Subtest: allows a new or empty folder, and a previous Meteors deploy, but not foreign files - 3123:08:47
ok 1 - allows a new or empty folder, and a previous Meteors deploy, but not foreign files - 3223:08:47
--- - 3323:08:47
duration_ms: 26.326321 - 3423:08:47
... - 3523:08:47
1..1 - 3623:08:47
ok 2 - assert_safe_target - 3723:08:47
--- - 3823:08:47
duration_ms: 26.489828 - 3923:08:47
type: 'suite' - 4023:08:47
... - 4123:08:47
# Subtest: Column lock and game over - 4223:08:47
# Subtest: a column filled from floor to top becomes dark gray and locked - 4323:08:47
ok 1 - a column filled from floor to top becomes dark gray and locked - 4423:08:47
--- - 4523:08:47
duration_ms: 2.286159 - 4623:08:47
... - 4723:08:47
# Subtest: a new spawn never lands in a locked column - 4823:08:47
ok 2 - a new spawn never lands in a locked column - 4923:08:47
--- - 5023:08:47
duration_ms: 1.908998 - 5123:08:47
... - 5223:08:47
# Subtest: a nearly full column (12 blocks) is not locked - 5323:08:47
ok 3 - a nearly full column (12 blocks) is not locked - 5423:08:47
--- - 5523:08:47
duration_ms: 1.613261 - 5623:08:47
... - 5723:08:47
# Subtest: when every column is locked the player loses - 5823:08:47
ok 4 - when every column is locked the player loses - 5923:08:47
--- - 6023:08:47
duration_ms: 3.042274 - 6123:08:47
... - 6223:08:47
# Subtest: game over does not fire while at least one column is open - 6323:08:47
ok 5 - game over does not fire while at least one column is open - 6423:08:47
--- - 6523:08:47
duration_ms: 1.113178 - 6623:08:47
... - 6723:08:47
1..5 - 6823:08:47
ok 3 - Column lock and game over - 6923:08:47
--- - 7023:08:47
duration_ms: 11.957708 - 7123:08:47
type: 'suite' - 7223:08:47
... - 7323:08:47
# Subtest: Match detection and launch - 7423:08:47
# Subtest: does not match two adjacent blocks of the same color - 7523:08:47
ok 1 - does not match two adjacent blocks of the same color - 7623:08:47
--- - 7723:08:47
duration_ms: 1.402854 - 7823:08:47
... - 7923:08:47
# Subtest: does not match a diagonal of three - 8023:08:47
ok 2 - does not match a diagonal of three - 8123:08:47
--- - 8223:08:47
duration_ms: 0.269338 - 8323:08:47
... - 8423:08:47
# Subtest: a horizontal row of 3 turns gray, links, and launches together - 8523:08:47
ok 3 - a horizontal row of 3 turns gray, links, and launches together - 8623:08:47
--- - 8723:08:47
duration_ms: 0.560196 - 8823:08:47
... - 8923:08:47
# Subtest: a vertical column of 3 launches with 120% jump height - 9023:08:47
ok 4 - a vertical column of 3 launches with 120% jump height - 9123:08:47
--- - 9223:08:47
duration_ms: 1.037866 - 9323:08:47
... - 9423:08:47
# Subtest: a horizontal row of 5 gets a 10% jump-height bonus (2 extra blocks) - 9523:08:47
ok 5 - a horizontal row of 5 gets a 10% jump-height bonus (2 extra blocks) - 9623:08:47
--- - 9723:08:47
duration_ms: 0.41358 - 9823:08:47
... - 9923:08:47
# Subtest: everything sitting on top of a match flies with it, keeping its color - 10023:08:47
ok 6 - everything sitting on top of a match flies with it, keeping its color - 10123:08:47
--- - 10223:08:47
duration_ms: 0.318681 - 10323:08:47
... - 10423:08:47
# Subtest: blocks below a vertical match stay on the ground - 10523:08:47
ok 7 - blocks below a vertical match stay on the ground - 10623:08:47
--- - 10723:08:47
duration_ms: 0.204967 - 10823:08:47
... - 10923:08:47
# Subtest: two disjoint horizontal matches become two clusters - 11023:08:47
ok 8 - two disjoint horizontal matches become two clusters - 11123:08:47
--- - 11223:08:47
duration_ms: 0.28112 - 11323:08:47
... - 11423:08:47
# Subtest: two matches in the same columns fly as one linked cluster - 11523:08:47
ok 9 - two matches in the same columns fly as one linked cluster - 11623:08:47
--- - 11723:08:47
duration_ms: 0.343298 - 11823:08:47
... - 11923:08:47
# Subtest: tick itself finds and launches a match after a swap - 12023:08:47
ok 10 - tick itself finds and launches a match after a swap - 12123:08:47
--- - 12223:08:47
duration_ms: 0.440961 - 12323:08:47
... - 12423:08:47
1..10 - 12523:08:47
ok 4 - Match detection and launch - 12623:08:47
--- - 12723:08:47
duration_ms: 6.668278 - 12823:08:47
type: 'suite' - 12923:08:47
... - 13023:08:47
# Subtest: Launch physics - 13123:08:47
# Subtest: reaches the jump height in riseTime, then floats down at constant speed - 13223:08:47
ok 1 - reaches the jump height in riseTime, then floats down at constant speed - 13323:08:47
--- - 13423:08:47
duration_ms: 7.496389 - 13523:08:47
... - 13623:08:47
1..1 - 13723:08:47
ok 5 - Launch physics - 13823:08:47
--- - 13923:08:47
duration_ms: 7.712497 - 14023:08:47
type: 'suite' - 14123:08:47
... - 14223:08:47
# Subtest: Planet field and defaults - 14323:08:47
# Subtest: has a 10 by 13 field - 14423:08:47
ok 1 - has a 10 by 13 field - 14523:08:47
--- - 14623:08:47
duration_ms: 0.757137 - 14723:08:47
... - 14823:08:47
# Subtest: default planet is Terra with mid-range physics - 14923:08:47
ok 2 - default planet is Terra with mid-range physics - 15023:08:47
--- - 15123:08:47
duration_ms: 0.149151 - 15223:08:47
... - 15323:08:47
# Subtest: clamps gravity, air and mass to the stage-3 ranges - 15423:08:47
ok 3 - clamps gravity, air and mass to the stage-3 ranges - 15523:08:47
--- - 15623:08:47
duration_ms: 0.221046 - 15723:08:47
... - 15823:08:47
# Subtest: keeps colors and shapes data-driven with a unique shape per color - 15923:08:47
ok 4 - keeps colors and shapes data-driven with a unique shape per color - 16023:08:47
--- - 16123:08:47
duration_ms: 0.219674 - 16223:08:47
... - 16323:08:47
1..4 - 16423:08:47
ok 6 - Planet field and defaults - 16523:08:47
--- - 16623:08:47
duration_ms: 2.484864 - 16723:08:47
type: 'suite' - 16823:08:47
... - 16923:08:47
# Subtest: Jump height rules - 17023:08:47
# Subtest: a horizontal match of 3 uses the base jump height - 17123:08:47
ok 1 - a horizontal match of 3 uses the base jump height - 17223:08:47
--- - 17323:08:47
duration_ms: 0.207822 - 17423:08:47
... - 17523:08:47
# Subtest: a vertical match of 3 is 120% of a horizontal row - 17623:08:47
ok 2 - a vertical match of 3 is 120% of a horizontal row - 17723:08:47
--- - 17823:08:47
duration_ms: 0.971321 - 17923:08:47
... - 18023:08:47
# Subtest: each extra block beyond 3 adds 5% jump height - 18123:08:47
ok 3 - each extra block beyond 3 adds 5% jump height - 18223:08:47
--- - 18323:08:47
duration_ms: 0.144603 - 18423:08:47
... - 18523:08:47
# Subtest: at min gravity one horizontal-3 jump equals the field height - 18623:08:47
ok 4 - at min gravity one horizontal-3 jump equals the field height - 18723:08:47
--- - 18823:08:47
duration_ms: 0.185249 - 18923:08:47
... - 19023:08:47
# Subtest: at max gravity four horizontal-3 jumps equal the field height - 19123:08:47
ok 5 - at max gravity four horizontal-3 jumps equal the field height - 19223:08:47
--- - 19323:08:47
duration_ms: 0.193905 - 19423:08:47
... - 19523:08:47
1..5 - 19623:08:47
ok 7 - Jump height rules - 19723:08:47
--- - 19823:08:47
duration_ms: 2.066936 - 19923:08:47
type: 'suite' - 20023:08:47
... - 20123:08:47
# Subtest: Launch and fall physics parameters - 20223:08:47
# Subtest: a jump of height H peaks in riseTime at constant deceleration - 20323:08:47
ok 1 - a jump of height H peaks in riseTime at constant deceleration - 20423:08:47
--- - 20523:08:47
duration_ms: 0.231166 - 20623:08:47
... - 20723:08:47
# Subtest: apex time is independent of jump height (mass) - 20823:08:47
ok 2 - apex time is independent of jump height (mass) - 20923:08:47
--- - 21023:08:47
duration_ms: 0.232488 - 21123:08:47
... - 21223:08:47
# Subtest: fall speed is field height over fallTime (air resistance) - 21323:08:47
ok 3 - fall speed is field height over fallTime (air resistance) - 21423:08:47
--- - 21523:08:47
duration_ms: 0.157687 - 21623:08:47
... - 21723:08:47
1..3 - 21823:08:47
ok 8 - Launch and fall physics parameters - 21923:08:47
--- - 22023:08:47
duration_ms: 0.786433 - 22123:08:47
type: 'suite' - 22223:08:47
... - 22323:08:47
# Subtest: Power and display values - 22423:08:47
# Subtest: easiest planet has power 0 and 60% miss chance - 22523:08:47
ok 1 - easiest planet has power 0 and 60% miss chance - 22623:08:47
--- - 22723:08:47
duration_ms: 0.197763 - 22823:08:47
... - 22923:08:47
# Subtest: hardest planet has power 1 and 5% miss chance - 23023:08:47
ok 2 - hardest planet has power 1 and 5% miss chance - 23123:08:47
--- - 23223:08:47
duration_ms: 0.144923 - 23323:08:47
... - 23423:08:47
# Subtest: display values are numeric gravity, density, newtons and power % - 23523:08:47
ok 3 - display values are numeric gravity, density, newtons and power % - 23623:08:47
--- - 23723:08:47
duration_ms: 0.221818 - 23823:08:47
... - 23923:08:47
1..3 - 24023:08:47
ok 9 - Power and display values - 24123:08:47
--- - 24223:08:47
duration_ms: 0.780451 - 24323:08:47
type: 'suite' - 24423:08:47
... - 24523:08:47
# Subtest: Points, landing and recolor - 24623:08:47
# Subtest: blocks that leave the top of the field become one point each and are gone - 24723:08:47
ok 1 - blocks that leave the top of the field become one point each and are gone - 24823:08:47
--- - 24923:08:47
duration_ms: 4.980868 - 25023:08:47
... - 25123:08:47
# Subtest: a cluster that does not clear the field lands, sits for 3 seconds, then takes random colors - 25223:08:47
ok 2 - a cluster that does not clear the field lands, sits for 3 seconds, then takes random colors - 25323:08:47
--- - 25423:08:47
duration_ms: 5.233524 - 25523:08:47
... - 25623:08:47
# Subtest: carried colored blocks land as still blocks and do not wait 3 seconds - 25723:08:47
ok 3 - carried colored blocks land as still blocks and do not wait 3 seconds - 25823:08:47
--- - 25923:08:47
duration_ms: 6.267123 - 26023:08:47
... - 26123:08:47
# Subtest: spawn drops a random color into a random open column every second - 26223:08:47
ok 4 - spawn drops a random color into a random open column every second - 26323:08:47
--- - 26423:08:47
duration_ms: 18.20871 - 26523:08:47
... - 26623:08:47
1..4 - 26723:08:47
ok 10 - Points, landing and recolor - 26823:08:47
--- - 26923:08:47
duration_ms: 36.139026 - 27023:08:47
type: 'suite' - 27123:08:47
... - 27223:08:47
# Subtest: Push-up and chain re-launch - 27323:08:47
# Subtest: a manual jump hitting a flying cluster pushes that column one tile up, other columns stay - 27423:08:47
ok 1 - a manual jump hitting a flying cluster pushes that column one tile up, other columns stay - 27523:08:47
--- - 27623:08:47
duration_ms: 3.885563 - 27723:08:47
... - 27823:08:47
# Subtest: a push that completes a new row of 3 turns those gray, links them, and re-launches the whole cluster the same height - 27923:08:47
ok 2 - a push that completes a new row of 3 turns those gray, links them, and re-launches the whole cluster the same height - 28023:08:47
--- - 28123:08:47
duration_ms: 2.97121 - 28223:08:47
... - 28323:08:47
# Subtest: if a re-launch sends every block off the top, that is fine and they become points - 28423:08:47
ok 3 - if a re-launch sends every block off the top, that is fine and they become points - 28523:08:47
--- - 28623:08:47
duration_ms: 3.251949 - 28723:08:47
... - 28823:08:47
# Subtest: gray blocks can also disappear off the top and score points - 28923:08:47
ok 4 - gray blocks can also disappear off the top and score points - 29023:08:47
--- - 29123:08:47
duration_ms: 0.803415 - 29223:08:47
... - 29323:08:47
1..4 - 29423:08:47
ok 11 - Push-up and chain re-launch - 29523:08:47
--- - 29623:08:47
duration_ms: 12.232155 - 29723:08:47
type: 'suite' - 29823:08:47
... - 29923:08:47
# Subtest: Rng - 30023:08:47
# Subtest: is deterministic for the same seed - 30123:08:47
ok 1 - is deterministic for the same seed - 30223:08:47
--- - 30323:08:47
duration_ms: 1.888059 - 30423:08:47
... - 30523:08:47
# Subtest: differs across seeds and stays in [0, 1) - 30623:08:47
ok 2 - differs across seeds and stays in [0, 1) - 30723:08:47
--- - 30823:08:47
duration_ms: 0.781293 - 30923:08:47
... - 31023:08:47
# Subtest: pickIndex stays inside the range - 31123:08:47
ok 3 - pickIndex stays inside the range - 31223:08:47
--- - 31323:08:47
duration_ms: 0.426524 - 31423:08:47
... - 31523:08:47
1..3 - 31623:08:47
ok 12 - Rng - 31723:08:47
--- - 31823:08:47
duration_ms: 17.294387 - 31923:08:47
type: 'suite' - 32023:08:47
... - 32123:08:47
# Subtest: Vertical swapping - 32223:08:47
# Subtest: dragging a block through a column swaps it with the blocks it passes - 32323:08:47
ok 1 - dragging a block through a column swaps it with the blocks it passes - 32423:08:47
--- - 32523:08:47
duration_ms: 2.192442 - 32623:08:47
... - 32723:08:47
# Subtest: swapTo moves a block stepwise and exchanges neighbors - 32823:08:47
ok 2 - swapTo moves a block stepwise and exchanges neighbors - 32923:08:47
--- - 33023:08:47
duration_ms: 0.310765 - 33123:08:47
... - 33223:08:47
# Subtest: refuses to drag in a locked or flying column - 33323:08:47
ok 3 - refuses to drag in a locked or flying column - 33423:08:47
--- - 33523:08:47
duration_ms: 0.837047 - 33623:08:47
... - 33723:08:47
# Subtest: pulling a top block further up starts a manual launch that cannot leave the field - 33823:08:47
ok 4 - pulling a top block further up starts a manual launch that cannot leave the field - 33923:08:47
--- - 34023:08:47
duration_ms: 7.670408 - 34123:08:47
... - 34223:08:47
# Subtest: a manual jump from mid-stack still caps at the top cell - 34323:08:47
ok 5 - a manual jump from mid-stack still caps at the top cell - 34423:08:47
--- - 34523:08:47
duration_ms: 2.568271 - 34623:08:47
... - 34723:08:47
# Subtest: a click in the lower half of a cell grabs that cell, not the one above - 34823:08:47
ok 6 - a click in the lower half of a cell grabs that cell, not the one above - 34923:08:47
--- - 35023:08:47
duration_ms: 0.234382 - 35123:08:47
... - 35223:08:47
1..6 - 35323:08:47
ok 13 - Vertical swapping - 35423:08:47
--- - 35523:08:47
duration_ms: 27.532484 - 35623:08:47
type: 'suite' - 35723:08:47
... - 35823:08:47
1..13 - 35923:08:47
# tests 52 - 36023:08:47
# suites 13 - 36123:08:47
# pass 52 - 36223:08:47
# fail 0 - 36323:08:47
# cancelled 0 - 36423:08:47
# skipped 0 - 36523:08:47
# todo 0 - 36623:08:47
# duration_ms 223.752985