Skip to content

Integration tests ignore failed chain steps #1969

Backlog

Description

@retr0h

What happens

The write tests of test/integration check the result of each example: its status, its fields and its reads. They do not check the chain record of the job. A root call that fails, but whose behavior only logs the failure, passes the tests.

How it was found

On #1943, chronyc reload sources failed under the root broker with "501 Not authorised" (fixed there in c72b4cc). ntp create still reported status: ok, changed: true, because ntp logs a failed reload as a warning. The ntp write tests passed in the lab on each VM. The failure showed only in osapi client job get: root: chronyc reload sources (failed).

Fix to evaluate

After each write example, the test reads the job and fails on a step of the chain that has an error, unless the example declares that step as one that may fail.

Activity

  1. added
    bug
    side-finding
    component/behaviors
    on Dec 6, 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

    bugcomponent/behaviorsside-finding

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions