Skip to content

Windows Tier 2: output delay e2e test fails to link cm_print_error #1580

Closed

Description

@zackees

The new test/cmocka/test_output_delay_e2e.c from #1578 fails to link in Windows Tier 2 after it is merged into the PR test merge commit. The build reports test_output_delay_e2e.obj : error LNK2019: unresolved external symbol cm_print_error referenced in function check_delivered, followed by LNK1120. See the Windows Tier 2 job on #1577. This is independent of the D-Bus port: the feature branch forked at 4c7072017, before #1578, and does not touch this C test. Please repair the test without weakening its assertions, then rerun Windows Tier 2. Related: #1578.

Activity

  1. zackees commented on Oct 21, 2026

    @zackees
    MemberAuthor

    Claiming: #1580, Windows output-delay e2e diagnostic link failure.

    1. Inspect the test's diagnostic macro and the pinned cmocka headers/import library, then add a focused RED reproduction of the missing-symbol contract.
    2. Repair the diagnostic path without dropping assertions or weakening output-delay coverage.
    3. Validate the focused test and Windows Tier 2, then land one PR and resume the blocked facade: frontend CMake (CMakeLists.txt, cmake/*.cmake): move 5 platform if-chains (12 branches) into per-platform cmake files #889 facade task.

    First PR expected today. One issue at a time in the existing checkout, without a Git worktree. The same failure is confirmed in full run 39524526040, Windows Tier 2 job 118977902779; it is a build/link failure, so no cdb crash stack was produced.

  2. added
    claimed
    on Oct 21, 2026
  3. zackees commented on Oct 21, 2026

    @zackees
    MemberAuthor

    Completed in #1591 (merge c120ac2).

    The five output-delay failure branches now report via fprintf(stderr, ...) followed by plain fail, matching the compatibility pattern already used by other tests. Conditions and format arguments remain intact; all 55 assertion/case-registration calls, timing bounds, skip paths and five e2e cases are unchanged.

    Evidence:

    • RED 9b26081 reproduces the unresolved cm_print_error link contract from the actual helper bodies.
    • GREEN cf69fc1 passes the focused fixture: all five forced failures print the expected messages and fail; the valid snapshot passes.
    • Native Windows Tier 2 job 118983512820 links the real executable. test_output_delay_e2e passes against C libobs (OFF, 9.57 s) and libobs-with-rust (ON, 9.56 s). Each mode passes all 165 tests; exported-symbol parity also passes. Full Windows log retained locally as build_ci_audit/windows1580-tier2.log.
    • Complete full validation 39526317003 and PR CI 39526304323 succeeded.
    • Merge-group run 39528104438 succeeded.

    Nothing remains from #1580. This removes the prerequisite blocking #889; I will now reclaim that separate facade task. No production code, dependency version, exported API, existing assertion, or workflow was changed.

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

    claimed

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions