Skip to content

Conversation

fuweid
Copy link
Member

@fuweid fuweid commented Jun 28, 2022

Signed-off-by: Wei Fu [email protected]

@fuweid fuweid force-pushed the use-github-action-for-v2 branch 3 times, most recently from f279394 to 5b89f6e Compare June 28, 2022 16:16
@fuweid fuweid force-pushed the use-github-action-for-v2 branch from 5b89f6e to 354e52d Compare June 28, 2022 16:19
@fuweid
Copy link
Member Author

fuweid commented Jun 28, 2022

=== RUN   TestCgroupv2CpuStats
--- PASS: TestCgroupv2CpuStats (0.02s)
=== RUN   TestSystemdCgroupCpuController
--- PASS: TestSystemdCgroupCpuController (0.01s)
=== RUN   TestSystemdCgroupCpuController_NilWeight
--- PASS: TestSystemdCgroupCpuController_NilWeight (0.01s)
=== RUN   TestExtractQuotaAndPeriod
--- PASS: TestExtractQuotaAndPeriod (0.00s)
=== RUN   TestDeviceFilter_Nil
    devicefilter_test.go:44: TestDeviceFilter_Nil: devices: []
        	 0: LdXMemH dst: r2 src: r1 off: 0 imm: 0
        	 1: LdXMemW dst: r3 src: r1 off: 0 imm: 0
        	 2: RSh32Imm dst: r3 imm: 16
        	 3: LdXMemW dst: r4 src: r1 off: 4 imm: 0
        	 4: LdXMemW dst: r5 src: r1 off: 8 imm: 0
        block-0:
        	 5: Mov32Imm dst: r0 imm: 0
        	 6: Exit
--- PASS: TestDeviceFilter_Nil (0.00s)
=== RUN   TestDeviceFilter_Privileged
    devicefilter_test.go:44: TestDeviceFilter_Privileged: devices: [{Allow:true Type:a Major:0xc0001936f8 Minor:0xc000193708 Access:rwm}]
        	 0: LdXMemH dst: r2 src: r1 off: 0 imm: 0
        	 1: LdXMemW dst: r3 src: r1 off: 0 imm: 0
        	 2: RSh32Imm dst: r3 imm: 16
        	 3: LdXMemW dst: r4 src: r1 off: 4 imm: 0
        	 4: LdXMemW dst: r5 src: r1 off: 8 imm: 0
        block-0:
        	 5: Mov32Imm dst: r0 imm: 1
        	 6: Exit
--- PASS: TestDeviceFilter_Privileged (0.00s)
=== RUN   TestDeviceFilter_PrivilegedExceptSingleDevice
    devicefilter_test.go:44: TestDeviceFilter_PrivilegedExceptSingleDevice: devices: [{Allow:true Type:a Major:0xc000193a38 Minor:0xc000193a48 Access:rwm} {Allow:false Type:b Major:0xc000193a58 Minor:0xc000193a68 Access:rwm}]
        	 0: LdXMemH dst: r2 src: r1 off: 0 imm: 0
        	 1: LdXMemW dst: r3 src: r1 off: 0 imm: 0
        	 2: RSh32Imm dst: r3 imm: 16
        	 3: LdXMemW dst: r4 src: r1 off: 4 imm: 0
        	 4: LdXMemW dst: r5 src: r1 off: 8 imm: 0
        block-0:
        	 5: JNEImm dst: r2 off: -1 imm: 1 <block-1>
        	 6: JNEImm dst: r4 off: -1 imm: 8 <block-1>
        	 7: JNEImm dst: r5 off: -1 imm: 0 <block-1>
        	 8: Mov32Imm dst: r0 imm: 0
        	 9: Exit
        block-1:
        	10: Mov32Imm dst: r0 imm: 1
        	11: Exit
--- PASS: TestDeviceFilter_PrivilegedExceptSingleDevice (0.00s)
=== RUN   TestDeviceFilter_Weird
    devicefilter_test.go:44: TestDeviceFilter_Weird: devices: [{Allow:false Type:b Major:0xc000193f88 Minor:0xc000193f98 Access:rwm} {Allow:true Type:a Major:0xc000193fa8 Minor:0xc000193fb8 Access:rwm} {Allow:false Type:b Major:0xc000193fc8 Minor:0xc000193fd8 Access:rwm}]
        	 0: LdXMemH dst: r2 src: r1 off: 0 imm: 0
        	 1: LdXMemW dst: r3 src: r1 off: 0 imm: 0
        	 2: RSh32Imm dst: r3 imm: 16
        	 3: LdXMemW dst: r4 src: r1 off: 4 imm: 0
        	 4: LdXMemW dst: r5 src: r1 off: 8 imm: 0
        block-0:
        	 5: JNEImm dst: r2 off: -1 imm: 1 <block-1>
        	 6: JNEImm dst: r4 off: -1 imm: 8 <block-1>
        	 7: JNEImm dst: r5 off: -1 imm: 2 <block-1>
        	 8: Mov32Imm dst: r0 imm: 0
        	 9: Exit
        block-1:
        	10: Mov32Imm dst: r0 imm: 1
        	11: Exit
--- PASS: TestDeviceFilter_Weird (0.00s)
=== RUN   TestCgroupv2HugetlbStats
--- PASS: TestCgroupv2HugetlbStats (0.00s)
=== RUN   TestCgroupv2IOController
    iov2_test.go:26: FIXME: this test doesn't work on Fedora 32 Vagrant: TestCgroupv2IOController: iov2_test.go:42: failed to init new cgroup manager:  write /sys/fs/cgroup/io-test-cg-22708/io.max: no such device
--- SKIP: TestCgroupv2IOController (0.00s)
=== RUN   TestEventChanCleanupOnCgroupRemoval
--- PASS: TestEventChanCleanupOnCgroupRemoval (0.52s)
=== RUN   TestSystemdFullPath
--- PASS: TestSystemdFullPath (0.00s)
=== RUN   TestMoveTo
--- PASS: TestMoveTo (0.02s)
=== RUN   TestCgroupv2MemoryStats
--- PASS: TestCgroupv2MemoryStats (0.00s)
=== RUN   TestSystemdCgroupMemoryController
--- PASS: TestSystemdCgroupMemoryController (0.01s)
=== RUN   TestVerifyGroupPath
--- PASS: TestVerifyGroupPath (0.00s)
=== RUN   TestCgroupv2PidsStats
--- PASS: TestCgroupv2PidsStats (0.00s)
=== RUN   TestSystemdCgroupPidsController
--- PASS: TestSystemdCgroupPidsController (0.01s)
=== RUN   TestParseCgroupFromReader
--- PASS: TestParseCgroupFromReader (0.00s)
=== RUN   TestToResources
--- PASS: TestToResources (0.00s)
PASS
coverage: 54.7% of statements
ok  	github.com/containerd/cgroups/v2	0.622s	coverage: 54.7% of statements

Pass

@fuweid fuweid requested review from estesp and AkihiroSuda June 28, 2022 16:21
Copy link
Member

@estesp estesp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@fuweid
Copy link
Member Author

fuweid commented Jun 29, 2022

ping @AkihiroSuda

@AkihiroSuda AkihiroSuda merged commit ec6116b into containerd:main Jun 29, 2022
@fuweid fuweid deleted the use-github-action-for-v2 branch June 29, 2022 02:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants