Skip to content

Read the LoongArch hosted smoke expectation from the case manifest #503

Closed

Description

@LunaStev

Problem and evidence

The Build Linux loong64 job in merged PR #502 fails after the workload successfully prints loongarch workload=pass. The workflow still compares that output with the old loong=42 string.

Failing job and complete log

The preceding six LoongArch codegen/ABI/workload regressions pass. The failing step is Link and run Linux LoongArch64 smoke case, not a demonstrated compiler or runtime defect.

At commit e204bbebbbede0086fbb670d43a65b9cf38f0231:

  • .github/workflows/rust.yml:494-503 runs tests/cases/linux/loong64/test2.wave and hard-codes the old stdout.
  • tests/cases/cases.toml already records the new smoke_stdout for linux-loong64.
  • tools/populate_case_matrix.py generates the new successful workload output.

Suggested scope

Read the smoke case and expected stdout from the existing manifest helper, following the manifest-driven cases workflow. Preserve the hosted sysroot discovery assertion, actual execution, nonzero-exit failure and exact output check. Keep the functional workload intact.

Acceptance

  • The hosted smoke step passes with the current successful workload.
  • Incorrect stdout or a nonzero program exit still fails the step.
  • The workflow no longer keeps a second independent copy of this smoke expectation.
  • The later LoongArch std smoke step is reached in CI.

This is a good first issue: the failure, source files and intended source of truth are identified. No backend or ABI redesign is needed. This is distinct from the completed LP64S interoperability work in #481.

Activity

  1. added
    bug
    build
    good first issue
    ci
    on Sep 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugbuildcigood first issue

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions