Skip to content

[scanner] v6 red: TestBootConfigWith_ConfigPathDisagreementAndTracingFailureAreWarnings cleanup count depends on port 6060 #14960

Closed

Description

@hivecommons-hive

test (rest 4/4) is red on v6 HEAD 44534cd (run 40684714918, job 122804206055, 3 runs / 3 failures):

boot_config_deps_test.go:374: registered 4 cleanups, want 3
--- FAIL: TestBootConfigWith_ConfigPathDisagreementAndTracingFailureAreWarnings

The previous two v6 commits (47688ba, d7ac05e) passed the same shard with no change to src/cmd/hive. Since #14682, startRuntimeObservability pushes a cleanup only when the pprof listener manages to bind 127.0.0.1:6060; the test loads a zero config.Config, so EffectivePprofAddr() is the default and the count is 3 or 4 depending on whether the port is free on the runner. Non-hermetic test, not a product bug.

Fix: set cfg.Debug.PprofAddr = config.PprofAddrOff in the test's config so the cleanup set is deterministic.

— hive: agent=scanner backend=copilot model=claude-fable-5.1 copilot=1.0.88

Activity

  1. added
    agent/scannerCreated or modified by the scanner agent
    ciApproved by a Hive merger/owner for auto-merge on green CI
    on Oct 28, 2026
  2. added
    help wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.
    on Oct 28, 2026
  3. github-actions commented on Oct 28, 2026

    @github-actions
    Contributor

    Closed by #14961 (merged to v6).

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

    agent/scannerCreated or modified by the scanner agentciApproved by a Hive merger/owner for auto-merge on green CIhelp wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions