Skip to content

History / Amiga port test status

Revisions

  • Investigate the 3 asyncio Amiberry failures: execution-speed artifact. Root-caused the 3 asyncio test failures (gather_notimpl, wait_for, fair). They pass on the unix reference port, so they're Amiga-specific, but not a port bug and not a timing-precision issue (a us-precise busy-wait WFE left them unchanged). modasyncio.c stamps a new task's ph_key = ticks_ms at create time; these tests assume the bookkeeping around their short (10-100ms) sleeps is instantaneous, which holds on a fast host but not on a 68k. The emulated 68020's per-iteration overhead is ~12-50ms (measurable: asyncio_fair expects t2 5x in 0.45s, we get 4x), so a later task's ph_key can land after an earlier task's reschedule and reorder the output. Functionality is correct; only interleaving/count shifts. Eases on faster hardware. Signed-off-by: Simon Dick <simond@irrelevant.org>

    @sidick sidick committed Jun 21, 2026
  • Mark vamos-can't-run tests with their Amiberry results. Ran the 46 tests that fail under vamos (asyncio/ssl/socket/select/time + ringio_async, all needing a real Amiga) on Amiberry: 43 pass. The 3 failures are timing-sensitive asyncio task-ordering tests (asyncio_gather_notimpl, asyncio_wait_for, asyncio_fair) -- the functionality works, only the cooperative interleaving / iteration count differs from the reference .exp; asyncio_fair has no .exp and is diffed against CPython's (different) scheduler. Not port bugs. Signed-off-by: Simon Dick <simond@irrelevant.org>

    @sidick sidick committed Jun 21, 2026
  • Refresh per-directory vamos tallies (post-MPZ + asyncio/ssl/select). Full run-tests.py re-run on 2026-06-21. MPZ moved ~60 int_big tests from self-skip to pass (basics +44, float +9, micropython +7). Fail count rose 40->59, but every new failure was checked individually and is a vamos limitation (asyncio/ssl/socket/time/select now run but need a real Amiga -- they pass on Amiberry) or a harness/path artifact (argv, import_file, sys_path); none are port regressions. Genuine platform differences (struct1, float ULP, viper boundary, bytecode_limit) unchanged. Signed-off-by: Simon Dick <simond@irrelevant.org>

    @sidick sidick committed Jun 21, 2026
  • intbig: switch to MPZ; int_big suite passes on vamos + Amiberry. Signed-off-by: Simon Dick <simond@irrelevant.org>

    @sidick sidick committed Jun 21, 2026
  • vfs_userfs.py fixed by enabling .mpy load; genuine-gaps list now empty. Signed-off-by: Simon Dick <simond@irrelevant.org>

    @sidick sidick committed Jun 21, 2026
  • platform_basic.py fixed: frozen platform.py gains python_compiler/libc_ver. Signed-off-by: Simon Dick <simond@irrelevant.org>

    @sidick sidick committed Jun 21, 2026
  • Cross-connection poison fixed: clear OpenSSL error queue before SSL ops. Signed-off-by: Simon Dick <simond@irrelevant.org>

    @sidick sidick committed Jun 21, 2026
  • urequests: shared SSLContext + close-on-failure; correct the framing. The TLS flakiness is a post-handshake server reset, not CDN/handshake fingerprinting -- AmiSSL handshakes fine, then the exchange resets. Signed-off-by: Simon Dick <simond@irrelevant.org>

    @sidick sidick committed Jun 21, 2026
  • urequests hardened: TLS now on the single BIO transport. Signed-off-by: Simon Dick <simond@irrelevant.org>

    @sidick sidick committed Jun 21, 2026
  • asyncio-over-TLS works; note BIO stream path is more resilient. Signed-off-by: Simon Dick <simond@irrelevant.org>

    @sidick sidick committed Jun 21, 2026
  • test-status: asyncio enabled; event loop runs over select/poll. Signed-off-by: Simon Dick <simond@irrelevant.org>

    @sidick sidick committed Jun 21, 2026
  • test-status: select/poll over bsdsocket now works. Signed-off-by: Simon Dick <simond@irrelevant.org>

    @sidick sidick committed Jun 21, 2026
  • Phase-28 + test-status: Full extmod ssl suite passes. Signed-off-by: Simon Dick <simond@irrelevant.org>

    @sidick sidick committed Jun 21, 2026
  • Amiga docs: Add test-status scoreboard; slim the testing page. New Amiga-port-test-status page is the at-a-glance scoreboard: all 31 port-local smoke tests grouped by area with vamos/Amiberry status, the upstream-suite per-directory snapshot, and the remaining real-hardware failures split into genuine gaps / environmental / won't-fix platform differences, plus a recently-fixed table. Testing page cleanup (1048 -> 945 lines): - Consolidated the two conflicting suite snapshots into one "Suite results" section pointing at the scoreboard for the breakdown; kept the FPCR-rounding and sys.path[0] fix write-ups. - Compressed the float/basics/extmod serial narratives to their conclusions, with the forensic detail tucked into <details> blocks. - Replaced the two duplicated known-failure tables with a pointer to the scoreboard, so failure status has one home. - Added a runbook-vs-scoreboard pointer at the top. Repointed the design log's known-failures link and the now-orphaned testing-page anchors at the scoreboard. Home.md lists the new page. Signed-off-by: Simon Dick <simond@irrelevant.org>

    @sidick sidick committed Jun 20, 2026