Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

virtcontainers: TestGetShmSizeBindMounted fails on ppc64le #1702

Closed
nitkon opened this issue May 17, 2019 · 0 comments · Fixed by #1703
Closed

virtcontainers: TestGetShmSizeBindMounted fails on ppc64le #1702

nitkon opened this issue May 17, 2019 · 0 comments · Fixed by #1703

Comments

@nitkon
Copy link
Contributor

nitkon commented May 17, 2019

Description of problem

kata-containers/runtime/virtcontainers/pkg/oci# go test -run TestGetShmSizeBindMounted

Expected result

PASS

Actual result

FAIL


Reason

On ppc64le:

s.Bsize is  65536
s.Blocks is 1
INFO[0000] shm-size detected: 65536                      source=virtcontainers subsystem=oci
--- FAIL: TestGetShmSizeBindMounted (0.02s)
        Error Trace:    utils_test.go:839
        Error:      	Not equal: 
                    	expected: 0x10000
                    	actual: 0x2000
FAIL
exit status 1
FAIL	github.com/kata-containers/runtime/virtcontainers/pkg/oci	0.054s

On x86:

[root@nitkon oci]# go test -run TestGetShmSizeBindMounted
s.Bsize is  4096
s.Blocks is 2
INFO[0000] shm-size detected: 8192                       source=virtcontainers subsystem=oci
PASS
ok  	github.com/kata-containers/runtime/virtcontainers/pkg/oci	0.033s
nitkon added a commit to nitkon/runtime that referenced this issue May 17, 2019
Fix the test case TestGetShmSizeBindMounted by
setting the right ShmSize for ppc64le.

Fixes: kata-containers#1702

Signed-off-by: Nitesh Konkar niteshkonkar@in.ibm.com
nitkon added a commit to nitkon/runtime that referenced this issue May 17, 2019
Fix the test case TestGetShmSizeBindMounted by
setting the right ShmSize for ppc64le.

Fixes: kata-containers#1702

Signed-off-by: Nitesh Konkar niteshkonkar@in.ibm.com
ganeshmaharaj pushed a commit to ganeshmaharaj/kata-runtime that referenced this issue Jun 3, 2019
Fix the test case TestGetShmSizeBindMounted by
setting the right ShmSize for ppc64le.

Fixes: kata-containers#1702

Signed-off-by: Nitesh Konkar niteshkonkar@in.ibm.com
(cherry picked from commit 1789b65)
Signed-off-by: Ganesh Maharaj Mahalingam <ganesh.mahalingam@intel.com>
ganeshmaharaj pushed a commit to ganeshmaharaj/kata-runtime that referenced this issue Jun 3, 2019
Fix the test case TestGetShmSizeBindMounted by
setting the right ShmSize for ppc64le.

Fixes: kata-containers#1702

Signed-off-by: Nitesh Konkar niteshkonkar@in.ibm.com
(cherry picked from commit 1789b65)
Signed-off-by: Ganesh Maharaj Mahalingam <ganesh.mahalingam@intel.com>
ganeshmaharaj pushed a commit to ganeshmaharaj/kata-runtime that referenced this issue Jun 4, 2019
Fix the test case TestGetShmSizeBindMounted by
setting the right ShmSize for ppc64le.

Fixes: kata-containers#1702

Signed-off-by: Nitesh Konkar niteshkonkar@in.ibm.com
(cherry picked from commit 1789b65)
Signed-off-by: Ganesh Maharaj Mahalingam <ganesh.mahalingam@intel.com>
ganeshmaharaj pushed a commit to ganeshmaharaj/kata-runtime that referenced this issue Jun 4, 2019
Fix the test case TestGetShmSizeBindMounted by
setting the right ShmSize for ppc64le.

Fixes: kata-containers#1702

Signed-off-by: Nitesh Konkar niteshkonkar@in.ibm.com
(cherry picked from commit 1789b65)
Signed-off-by: Ganesh Maharaj Mahalingam <ganesh.mahalingam@intel.com>
ganeshmaharaj pushed a commit to ganeshmaharaj/kata-runtime that referenced this issue Jun 4, 2019
Fix the test case TestGetShmSizeBindMounted by
setting the right ShmSize for ppc64le.

Fixes: kata-containers#1702

Signed-off-by: Nitesh Konkar niteshkonkar@in.ibm.com
(cherry picked from commit 1789b65)
Signed-off-by: Ganesh Maharaj Mahalingam <ganesh.mahalingam@intel.com>
ganeshmaharaj pushed a commit to ganeshmaharaj/kata-runtime that referenced this issue Jun 5, 2019
Fix the test case TestGetShmSizeBindMounted by
setting the right ShmSize for ppc64le.

Fixes: kata-containers#1702

Signed-off-by: Nitesh Konkar niteshkonkar@in.ibm.com
(cherry picked from commit 1789b65)
Signed-off-by: Ganesh Maharaj Mahalingam <ganesh.mahalingam@intel.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant