Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: virtet UT start container failure due to CG creation failures in its build/test env. #45

Open
yb01 opened this issue Jul 20, 2020 · 0 comments
Assignees

Comments

@yb01
Copy link
Collaborator

yb01 commented Jul 20, 2020

currently UT test failures due to cgroup creation after we moved the vm GG to its specific VM. likely some cgroup driver related issues here.

--- FAIL: TestDomainDefinitions/file_injection_on_persistent_rootfs (0.01s)
virtualization_test.go:173: StartContainer failed for container "231700d5-c9a6-5a49-738d-99a954c51550": write /sys/fs/cgroup/cpu/231700d5-c9a6-5a49-738d-99a954c51550/cpu.cfs_quota_us: invalid argument
=== RUN TestDomainResourceConstraints
--- PASS: TestDomainResourceConstraints (0.03s)
FAIL
FAIL github.com/Mirantis/virtlet/pkg/libvirttools 1.388s

=== RUN TestCRIAttachPortForward
E0720 23:34:40.191746 8685 controllers.go:188] Failed to create the child cgroup 231700d5-c9a6-5a49-738d-99a954c51550. error write /sys/fs/cgroup/cpu/231700d5-c9a6-5a49-738d-99a954c51550/cpu.cfs_quota_us: invalid argument
E0720 23:34:40.191766 8685 virtualization.go:466] failed to create cgroup for domain ID:231700d5-c9a6-5a49-738d-99a954c51550, Name:container-for-testName_0
--- FAIL: TestCRIAttachPortForward (0.04s)
runtime_test.go:287: method "StartContainer" returned error: write /sys/fs/cgroup/cpu/231700d5-c9a6-5a49-738d-99a954c51550/cpu.cfs_quota_us: invalid argument
=== RUN TestUpdateResources
E0720 23:34:40.228495 8685 controllers.go:206] Failed to update cgroup 231700d5-c9a6-5a49-738d-99a954c51550. error write /sys/fs/cgroup/cpu/231700d5-c9a6-5a49-738d-99a954c51550/cpu.cfs_period_us: invalid argument
--- FAIL: TestUpdateResources (0.04s)
runtime_test.go:287: method "UpdateContainerResources" returned error: write /sys/fs/cgroup/cpu/231700d5-c9a6-5a49-738d-99a954c51550/cpu.cfs_period_us: invalid argument
FAIL
FAIL github.com/Mirantis/virtlet/pkg/manager 0.730s

@yb01 yb01 self-assigned this Jul 20, 2020
@yb01 yb01 changed the title virtet UT start container failure due to CG creation failures in its build/test env. Bug: virtet UT start container failure due to CG creation failures in its build/test env. Sep 2, 2020
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

No branches or pull requests

1 participant