Skip to content

cgroup related tests fail #278

@jaymzh

Description

@jaymzh

Version:

main / latest

Environment:

Linux - tried on various distros.

  when running on a cgroup
    when cgroup exists
      should run the process under that cgroup (FAILED - 1)
    when cgroup does not exist
      should create the cgroup and run the process under it (FAILED - 2)

Failures:

  1) Mixlib::ShellOut when running on a cgroup when cgroup exists should run the process under that cgroup
     Failure/Error: expect(running_cgroup).to eql(cgroup.to_s)
     
       expected: "/user.slice/user-1000.slice/session-2.scope"
            got: ""
     
       (compared using eql?)
     # ./spec/mixlib/shellout_spec.rb:1599:in `block (4 levels) in <top (required)>'

  2) Mixlib::ShellOut when running on a cgroup when cgroup does not exist should create the cgroup and run the process under it
     Failure/Error: expect(running_cgroup).to eql(cgroup.to_s)
     
       expected: "/user.slice/user-1000.slice/test"
            got: ""
     
       (compared using eql?)
     # ./spec/mixlib/shellout_spec.rb:1609:in `block (4 levels) in <top (required)>'

Metadata

Metadata

Assignees

No one assigned

    Labels

    Status: UntriagedAn issue that has yet to be triaged.Type: BugDoes not work as expected.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions