Skip to content

equivalence: CICS proofs do not compare DISPLAY output, and treat low-values as spaces (det-port mutation survivors, #4628) #4635

Closed

Description

@squid-protocol

Found by det-port mutation testing (#4628): surviving mutants that change behaviour a CICS proof runs but does not compare. Part of #4270.

  1. A CICS task's DISPLAY output is not compared. Batch proofs compare SYSOUT (Batch equivalence ignores DISPLAY / SYSOUT: a port that writes the wrong job-log message is still proven #4056); a CICS proof compares events, files and the COMMAREA, not what the task DISPLAYs (on z/OS: the job log / CEEMSG). The cbsa-abndproc case notes say so. ABNDPROC's det port: negating IF WS-CICS-RESP NOT = DFHRESP(NORMAL) survives (both branches end in the same RETURN; only the 'Unable to write to the file ABNDFILE' DISPLAYs differ), as do changed DISPLAY literals (mutants 4f2f93e07d, 5014504153, f758c610d2 in tests/equivalence/det_mutation_survivors.json).
  2. Low-values and spaces compare equal. equivalence_cics._same strips trailing spaces AND low-values (rstrip(" \x00")) from text. A COMMAREA or screen field left low-values (RECEIVE MAP's clear of a field the terminal did not send) and one left spaces are different bytes to the next program (IF X = SPACES OR LOW-VALUES exists because they differ), but the proof cannot see it. COSGN00C's det port: deleting RECEIVE's clear of COSGN0AI survives (mutant 3ddaca02b1): USERIDI flows into CDEMO-USER-ID of the RETURN COMMAREA as spaces instead of low-values.

Both are recorded as harness-gap in the reviewed survivor list: triaged, NOT accounted for, so they block evidence level L5 for those programs until the harness compares them (the mutants are then killed and the entries drop).

Activity

  1. added
    bug
    legacy-modernization
    priority: high
    testing
    on Oct 8, 2026
  2. added
    scope:core
    era:2
    on Oct 16, 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

    bugera:2legacy-modernizationpriority: highscope:coretesting

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions