镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

Failing tests: profile_test.go:258: error: expected nil, got exit status 1 #68

Open

Description

@Hellseher

Hi,

During packaging this project for Guix I've found that unit tests are failing:

--- FAIL: TestProfile (5.32s)
    profile_test.go:216: default profile (cpu)
    profile_test.go:216: memory profile
    profile_test.go:216: memory profile (rate 2048)
    profile_test.go:216: double start
    profile_test.go:216: block profile
    profile_test.go:216: mutex profile
    profile_test.go:216: clock profile
    profile_test.go:258: error: expected nil, got exit status 1
    profile_test.go:216: profile path
    profile_test.go:216: profile path error
    profile_test.go:216: multiple profile sessions
    profile_test.go:216: profile quiet
FAIL
FAIL    github.com/pkg/profile  5.318s
FAIL

Version: v1.7.0

List of all imputs:

Activity

  1. auyer commented on May 11, 2026

    @auyer

    Hi @Hellseher , I ran into the same issue while updating the packaging for Debian.
    I think its an issue reading the clock inside the packaging environment.
    Did you find the cause for this ?

    === RUN   TestProfile
        profile_test.go:216: default profile (cpu)
        profile_test.go:216: memory profile
        profile_test.go:216: memory profile (rate 2048)
        profile_test.go:216: double start
        profile_test.go:216: block profile
        profile_test.go:216: mutex profile
        profile_test.go:216: clock profile
        profile_test.go:258: error: expected nil, got exit status 1
        profile_test.go:216: profile path
        profile_test.go:216: profile path error
        profile_test.go:216: multiple profile sessions
        profile_test.go:216: profile quiet
    --- FAIL: TestProfile (2.11s)
    
  2. Hellseher commented on May 11, 2026

    @Hellseher
    Author

    Hi @auyer, we ended up just with disabled tests, so no proper solution.
    It looks like the project is abandoned anyway.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions