This repository has been archived by the owner on May 12, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 374
unit-test: bugs on a few unit tests on aarch64 #1200
Comments
Pennyzct
added a commit
to Pennyzct/runtime
that referenced
this issue
Jan 31, 2019
…o file argument struct TestDataa in generic func genericTestGetCPUDetails is repeatedly defined in almost all arch-dependent .go file, cli/kata-check_amd64_test.go, cli/kata-check_ppc64le_test.go, etcm, except arm64. let's only declare it once in cli/kata-check_test.go. change its name to testCPUDetail for better understanding. Fixes: kata-containers#1200 Signed-off-by: Penny Zheng <[email protected]>
Pennyzct
added a commit
to Pennyzct/runtime
that referenced
this issue
Jan 31, 2019
refine a set of test functions under qemu_arm64_test.go. e.g. test func for memoryTopology shouldn't be the same one on amd64, since for now, we don't support nvdimm on arm64. Fixes: kata-containers#1200 Signed-off-by: Penny Zheng <[email protected]>
Pennyzct
added a commit
to Pennyzct/runtime
that referenced
this issue
Jan 31, 2019
original tests for func RunningOnVMM are sort of amd64-specific, since all other archs don't support nested VMM for now. Fixes: kata-containers#1200 Signed-off-by: Penny Zheng <[email protected]>
Pennyzct
added a commit
to Pennyzct/runtime
that referenced
this issue
Jan 31, 2019
…o file argument struct TestDataa in generic func genericTestGetCPUDetails is repeatedly defined in almost all arch-dependent .go file, cli/kata-check_amd64_test.go, cli/kata-check_ppc64le_test.go, etcm, except arm64. let's only declare it once in cli/kata-check_test.go. change its name to testCPUDetail for better understanding. Fixes: kata-containers#1200 Signed-off-by: Penny Zheng <[email protected]>
Pennyzct
added a commit
to Pennyzct/runtime
that referenced
this issue
Jan 31, 2019
refine a set of test functions under qemu_arm64_test.go. e.g. test func for memoryTopology shouldn't be the same one on amd64, since for now, we don't support nvdimm on arm64. Fixes: kata-containers#1200 Signed-off-by: Penny Zheng <[email protected]>
Pennyzct
added a commit
to Pennyzct/runtime
that referenced
this issue
Jan 31, 2019
original tests for func RunningOnVMM are sort of amd64-specific, since all other archs don't support nested VMM for now. Fixes: kata-containers#1200 Signed-off-by: Penny Zheng <[email protected]>
Pennyzct
added a commit
to Pennyzct/runtime
that referenced
this issue
Feb 13, 2019
…o file argument struct TestDataa in generic func genericTestGetCPUDetails is repeatedly defined in almost all arch-dependent .go file, cli/kata-check_amd64_test.go, cli/kata-check_ppc64le_test.go, etcm, except arm64. let's only declare it once in cli/kata-check_test.go. change its name to testCPUDetail for better understanding. Fixes: kata-containers#1200 Signed-off-by: Penny Zheng <[email protected]>
Pennyzct
added a commit
to Pennyzct/runtime
that referenced
this issue
Feb 13, 2019
refine a set of test functions under qemu_arm64_test.go. e.g. test func for memoryTopology shouldn't be the same one on amd64, since for now, we don't support nvdimm on arm64. Fixes: kata-containers#1200 Signed-off-by: Penny Zheng <[email protected]>
Pennyzct
added a commit
to Pennyzct/runtime
that referenced
this issue
Feb 13, 2019
original tests for func RunningOnVMM are sort of amd64-specific, since all other archs don't support nested VMM for now. Fixes: kata-containers#1200 Signed-off-by: Penny Zheng <[email protected]>
Pennyzct
added a commit
to Pennyzct/runtime
that referenced
this issue
Feb 13, 2019
…o file argument struct TestDataa in generic func genericTestGetCPUDetails is repeatedly defined in almost all arch-dependent .go file, cli/kata-check_amd64_test.go, cli/kata-check_ppc64le_test.go, etcm, except arm64. let's only declare it once in cli/kata-check_test.go. change its name to testCPUDetail for better understanding. Fixes: kata-containers#1200 Signed-off-by: Penny Zheng <[email protected]>
Pennyzct
added a commit
to Pennyzct/runtime
that referenced
this issue
Feb 13, 2019
refine a set of test functions under qemu_arm64_test.go. e.g. test func for memoryTopology shouldn't be the same one on amd64, since for now, we don't support nvdimm on arm64. Fixes: kata-containers#1200 Signed-off-by: Penny Zheng <[email protected]>
Pennyzct
added a commit
to Pennyzct/runtime
that referenced
this issue
Feb 13, 2019
original tests for func RunningOnVMM are sort of amd64-specific, since all other archs don't support nested VMM for now. Fixes: kata-containers#1200 Signed-off-by: Penny Zheng <[email protected]>
Pennyzct
added a commit
to Pennyzct/runtime
that referenced
this issue
Feb 13, 2019
…o file argument struct TestDataa in generic func genericTestGetCPUDetails is repeatedly defined in almost all arch-dependent .go file, cli/kata-check_amd64_test.go, cli/kata-check_ppc64le_test.go, etcm, except arm64. let's only declare it once in cli/kata-check_test.go. change its name to testCPUDetail for better understanding. Fixes: kata-containers#1200 Signed-off-by: Penny Zheng <[email protected]>
Pennyzct
added a commit
to Pennyzct/runtime
that referenced
this issue
Feb 13, 2019
refine a set of test functions under qemu_arm64_test.go. e.g. test func for memoryTopology shouldn't be the same one on amd64, since for now, we don't support nvdimm on arm64. Fixes: kata-containers#1200 Signed-off-by: Penny Zheng <[email protected]>
Pennyzct
added a commit
to Pennyzct/runtime
that referenced
this issue
Feb 13, 2019
original tests for func RunningOnVMM are sort of amd64-specific, since all other archs don't support nested VMM for now. Fixes: kata-containers#1200 Signed-off-by: Penny Zheng <[email protected]>
Pennyzct
added a commit
to Pennyzct/runtime
that referenced
this issue
Feb 13, 2019
since generic func genericAppendBridges and genericBridges is also applied for machine type QemuVirt, we use it as implementation for appendBridges and bridges on aarch64. since const defaultPCBridgeBus is used in generic func genericAppendBridges for pc machine, we should define it once in generic file, instead of redefining it in different arch-specific files. Fixes: kata-containers#1200 Signed-off-by: Penny Zheng <[email protected]>
Pennyzct
added a commit
to Pennyzct/runtime
that referenced
this issue
Feb 13, 2019
since all generic* could bring unused linter warnings, which lead to CI crash, we add nolint comment to avoid them. Fixes: kata-containers#1200 Signed-off-by: Samuel Ortiz <[email protected]> Signed-off-by: Penny Zheng <[email protected]>
Pennyzct
added a commit
to Pennyzct/runtime
that referenced
this issue
Feb 13, 2019
since generic func genericAppendBridges and genericBridges is also applied for machine type QemuVirt, we use it as implementation for appendBridges and bridges on aarch64. since const defaultPCBridgeBus is used in generic func genericAppendBridges for pc machine, we should define it once in generic file, instead of redefining it in different arch-specific files. Fixes: kata-containers#1200 Signed-off-by: Penny Zheng <[email protected]>
Pennyzct
added a commit
to Pennyzct/runtime
that referenced
this issue
Feb 13, 2019
since all generic* could bring unused linter warnings, which lead to CI crash, we add nolint comment to avoid them. Fixes: kata-containers#1200 Signed-off-by: Samuel Ortiz <[email protected]> Signed-off-by: Penny Zheng <[email protected]>
Pennyzct
added a commit
to Pennyzct/runtime
that referenced
this issue
Feb 13, 2019
since all generic* could bring unused linter warnings, which lead to CI crash, we add nolint comment to avoid them. Fixes: kata-containers#1200 Signed-off-by: Samuel Ortiz <[email protected]> Signed-off-by: Penny Zheng <[email protected]>
Pennyzct
added a commit
to Pennyzct/runtime
that referenced
this issue
Feb 14, 2019
refine a set of test functions under qemu_arm64_test.go. e.g. test func for memoryTopology shouldn't be the same one on amd64, since for now, we don't support nvdimm on arm64. Fixes: kata-containers#1200 Signed-off-by: Penny Zheng <[email protected]>
Pennyzct
added a commit
to Pennyzct/runtime
that referenced
this issue
Feb 14, 2019
original tests for func RunningOnVMM are sort of amd64-specific, since all other archs don't support nested VMM for now. Fixes: kata-containers#1200 Signed-off-by: Penny Zheng <[email protected]>
Pennyzct
added a commit
to Pennyzct/runtime
that referenced
this issue
Feb 14, 2019
since generic func genericAppendBridges and genericBridges is also applied for machine type QemuVirt, we use it as implementation for appendBridges and bridges on aarch64. since const defaultPCBridgeBus is used in generic func genericAppendBridges for pc machine, we should define it once in generic file, instead of redefining it in different arch-specific files. Fixes: kata-containers#1200 Signed-off-by: Penny Zheng <[email protected]>
Pennyzct
added a commit
to Pennyzct/runtime
that referenced
this issue
Feb 14, 2019
since all generic* could bring unused linter warnings, which lead to CI crash, we add nolint comment to avoid them. Fixes: kata-containers#1200 Signed-off-by: Samuel Ortiz <[email protected]> Signed-off-by: Penny Zheng <[email protected]>
Pennyzct
added a commit
to Pennyzct/runtime
that referenced
this issue
Feb 14, 2019
original tests for func RunningOnVMM are sort of amd64-specific, since all other archs don't support nested VMM for now. Fixes: kata-containers#1200 Signed-off-by: Penny Zheng <[email protected]>
Pennyzct
added a commit
to Pennyzct/runtime
that referenced
this issue
Feb 14, 2019
since generic func genericAppendBridges and genericBridges is also applied for machine type QemuVirt, we use it as implementation for appendBridges and bridges on aarch64. since const defaultPCBridgeBus is used in generic func genericAppendBridges for pc machine, we should define it once in generic file, instead of redefining it in different arch-specific files. Fixes: kata-containers#1200 Signed-off-by: Penny Zheng <[email protected]>
Pennyzct
added a commit
to Pennyzct/runtime
that referenced
this issue
Feb 14, 2019
since all generic* could bring unused linter warnings, which lead to CI crash, we add nolint comment to avoid them. Fixes: kata-containers#1200 Signed-off-by: Samuel Ortiz <[email protected]> Signed-off-by: Penny Zheng <[email protected]>
Pennyzct
added a commit
to Pennyzct/runtime
that referenced
this issue
Feb 14, 2019
refine struct testData in func TestGetCPUDetails to remove redundant /unused struct field expectedVendor and expectedModel Fixes: kata-containers#1200 Signed-off-by: Penny Zheng <[email protected]>
egernst
pushed a commit
to egernst/runtime
that referenced
this issue
Feb 26, 2019
…o file argument struct TestDataa in generic func genericTestGetCPUDetails is repeatedly defined in almost all arch-dependent .go file, cli/kata-check_amd64_test.go, cli/kata-check_ppc64le_test.go, etcm, except arm64. let's only declare it once in cli/kata-check_test.go. change its name to testCPUDetail for better understanding. Fixes: kata-containers#1200 Signed-off-by: Penny Zheng <[email protected]>
egernst
pushed a commit
to egernst/runtime
that referenced
this issue
Feb 26, 2019
refine a set of test functions under qemu_arm64_test.go. e.g. test func for memoryTopology shouldn't be the same one on amd64, since for now, we don't support nvdimm on arm64. Fixes: kata-containers#1200 Signed-off-by: Penny Zheng <[email protected]>
egernst
pushed a commit
to egernst/runtime
that referenced
this issue
Feb 26, 2019
original tests for func RunningOnVMM are sort of amd64-specific, since all other archs don't support nested VMM for now. Fixes: kata-containers#1200 Signed-off-by: Penny Zheng <[email protected]>
egernst
pushed a commit
to egernst/runtime
that referenced
this issue
Feb 26, 2019
since generic func genericAppendBridges and genericBridges is also applied for machine type QemuVirt, we use it as implementation for appendBridges and bridges on aarch64. since const defaultPCBridgeBus is used in generic func genericAppendBridges for pc machine, we should define it once in generic file, instead of redefining it in different arch-specific files. Fixes: kata-containers#1200 Signed-off-by: Penny Zheng <[email protected]>
egernst
pushed a commit
to egernst/runtime
that referenced
this issue
Feb 26, 2019
since all generic* could bring unused linter warnings, which lead to CI crash, we add nolint comment to avoid them. Fixes: kata-containers#1200 Signed-off-by: Samuel Ortiz <[email protected]> Signed-off-by: Penny Zheng <[email protected]>
egernst
pushed a commit
to egernst/runtime
that referenced
this issue
Feb 26, 2019
refine struct testData in func TestGetCPUDetails to remove redundant /unused struct field expectedVendor and expectedModel Fixes: kata-containers#1200 Signed-off-by: Penny Zheng <[email protected]>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Description of problem
There existed some bugs on a few unit tests on aarch64, and I will fix them asap.
During the time, In case ARM CI blocks other PRs, please bring it down temporarily.
@grahamwhaley @jodh-intel
The text was updated successfully, but these errors were encountered: