Bug 1079796
| Summary: | kvm unit test "pmu" fails on Penryn | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Shaolong Hu <shu> |
| Component: | qemu-kvm | Assignee: | Andrew Jones <drjones> |
| Status: | CLOSED DUPLICATE | QA Contact: | Virtualization Bugs <virt-bugs> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 7.0 | CC: | acathrow, drjones, hhuang, juzhang, knoel, michen, pbonzini, virt-maint |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-04-17 13:57:28 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 1079979, 1080317 | ||
| Bug Blocks: | |||
|
Description
Shaolong Hu
2014-03-24 03:12:06 UTC
add "-cpu host": [root@localhost kvm-unit-tests]# /usr/libexec/qemu-kvm -enable-kvm -device pc-testdev -device isa-debug-exit,iobase=0xf4,iosize=0x4 -display none -serial stdio -device pci-testdev -kernel x86/pmu.flat -smp 1 -display none -cpu host enabling apic paging enabled cr0 = 80010011 cr3 = 7fff000 cr4 = 20 PMU version: 2 GP counters: 2 GP counter width: 40 Mask length: 7 Fixed counters: 3 Fixed counter width: 40 FAIL: core cycles-0 PASS: core cycles-1 PASS: instructions-0 PASS: instructions-1 PASS: ref cycles-0 PASS: ref cycles-1 PASS: llc refference-0 PASS: llc refference-1 PASS: llc misses-0 PASS: llc misses-1 PASS: branches-0 PASS: branches-1 PASS: branch misses-0 PASS: branch misses-1 PASS: fixed-0 PASS: fixed-1 PASS: fixed-2 PASS: rdpmc-0 PASS: rdpmc fast-0 PASS: rdpmc-1 PASS: rdpmc fast-1 PASS: rdpmc fixed-0 PASS: rdpmc fixed fast-0 PASS: rdpmc fixed-1 PASS: rdpmc fixed fast-1 PASS: rdpmc fixed-2 PASS: rdpmc fixed fast-2 FAIL: all counters PASS: overflow-0 PASS: overflow status-0 PASS: overflow status clear-0 PASS: overflow irq-0 PASS: overflow-1 PASS: overflow status-1 PASS: overflow status clear-1 PASS: overflow irq-1 PASS: overflow-2 PASS: overflow status-2 PASS: overflow status clear-2 PASS: overflow irq-2 PASS: cmask SUMMARY: 41 tests, 2 failures disable nmi watchdog, still have one failure: echo 0 > /proc/sys/kernel/nmi_watchdog still have one failure: FAIL: core cycles-0 [root@m2 kvm-unit-tests]# /usr/libexec/qemu-kvm -enable-kvm -device pc-testdev -device isa-debug-exit,iobase=0xf4,iosize=0x4 -display none -serial stdio -device pci-testdev -kernel x86/pmu.flat -smp 1 -display none -cpu host enabling apic paging enabled cr0 = 80010011 cr3 = 7fff000 cr4 = 20 PMU version: 2 GP counters: 4 GP counter width: 48 Mask length: 7 Fixed counters: 3 Fixed counter width: 48 PASS: core cycles-0 PASS: core cycles-1 PASS: core cycles-2 PASS: core cycles-3 PASS: instructions-0 PASS: instructions-1 PASS: instructions-2 PASS: instructions-3 PASS: ref cycles-0 PASS: ref cycles-1 PASS: ref cycles-2 PASS: ref cycles-3 PASS: llc refference-0 PASS: llc refference-1 PASS: llc refference-2 PASS: llc refference-3 PASS: llc misses-0 PASS: llc misses-1 PASS: llc misses-2 PASS: llc misses-3 PASS: branches-0 PASS: branches-1 PASS: branches-2 PASS: branches-3 PASS: branch misses-0 PASS: branch misses-1 PASS: branch misses-2 PASS: branch misses-3 PASS: fixed-0 PASS: fixed-1 PASS: fixed-2 PASS: rdpmc-0 PASS: rdpmc fast-0 PASS: rdpmc-1 PASS: rdpmc fast-1 PASS: rdpmc-2 PASS: rdpmc fast-2 PASS: rdpmc-3 PASS: rdpmc fast-3 PASS: rdpmc fixed-0 PASS: rdpmc fixed fast-0 PASS: rdpmc fixed-1 PASS: rdpmc fixed fast-1 PASS: rdpmc fixed-2 PASS: rdpmc fixed fast-2 PASS: all counters PASS: overflow-0 PASS: overflow status-0 PASS: overflow status clear-0 PASS: overflow irq-0 PASS: overflow-1 PASS: overflow status-1 PASS: overflow status clear-1 PASS: overflow irq-1 PASS: overflow-2 PASS: overflow status-2 PASS: overflow status clear-2 PASS: overflow irq-2 PASS: overflow-3 PASS: overflow status-3 PASS: overflow status clear-3 PASS: overflow irq-3 PASS: overflow-4 PASS: overflow status-4 PASS: overflow status clear-4 PASS: overflow irq-4 PASS: cmask SUMMARY: 67 tests, 0 failures Above test is on Sandybridge host, kvm unit test will tell host ability to enable/disable certain test, we can see there are 67 tests on Sandybridge host and only 41 tests on Penryn host, but the failed one on Penryn, is it not supported on Penryn or a real bug? If not supported, could we update kvm unit test to avoid the failure? While each of the rhel7 kvm-unit-tests bugs are separate issues, I'm still duping this to the main bug that I've created in order to keep them all together. We can go to separate bugs for separate issues after releasing the rhel7 kvm-unit-tests tree, which should have all fixes for the current issues. Certainly, I'll refer to the excellent information in this BZ that Shaolong has provided though, and I'll even reopen this BZ if a fix for this particular issue isn't added to the tree before releasing it. *** This bug has been marked as a duplicate of bug 1079979 *** |