| [rfe_id:273][crit:high][vendor:cnv-qe@redhat.com][level:component][sig-compute]VMIlifecycle [rfe_id:273][crit:high][vendor:cnv-qe@redhat.com][level:component]Delete a VirtualMachineInstance with grace period greater than 0 [test_id:1655]should run graceful shutdown |
tests/vmi_lifecycle_test.go:1613
Timed out after 15.001s.
expected object to be gone, but it still exists: *v1.VirtualMachineInstance
metadata: <v1.ObjectMeta>: {
Name: testvmi-ks9zt,
GenerateName: ,
Namespace: kubevirt-test-default2,
SelfLink: ,
UID: cffd3f22-846b-4525-849a-c513be4edf49,
ResourceVersion: 39680,
Generation: 11,
CreationTimestamp: {
Time: 2025-11-25T05:56:32Z,
},
DeletionTimestamp: {
Time: 2025-11-25T05:56:47Z,
},
DeletionGracePeriodSeconds: 0,
Labels: {
"kubevirt.io/nodeName": "node02",
},
Annotations: {
"kubevirt.io/storage-observed-api-version": "v1",
"kubevirt.io/created-by-test": "[rfe_id:273][crit:high][vendor:cnv-qe@redhat.com][level:component][sig-compute]VMIlifecycle [rfe_id:273][crit:high][vendor:cnv-qe@redhat.com][level:component]Delete a VirtualMachineInstance with grace period greater than 0 [test_id:1655]should run graceful shutdown",
"kubevirt.io/latest-observed-api-version": "v1",
},
OwnerReferences: nil,
Finalizers: [
"kubevirt.io/foregroundDeleteVirtualMachine",
],
ManagedFields: nil,
}
status: <v1.VirtualMachineInstanceStatus>: {
NodeName: node02,
Reason: ,
Conditions: [
{
Type: "Ready",
Status: "False",
LastProbeTime: {
Time: 2025-11-25T05:56:47Z,
},
LastTransitionTime: {
Time: 2025-11-25T05:56:47Z,
},
Reason: "PodTerminating",
Message: "virt-launcher pod is terminating",
},
{
Type: "LiveMigratable",
Status: "False",
LastProbeTime: {
Time: 0001-01-01T00:00:00Z,
},
LastTransitionTime: {
Time: 0001-01-01T00:00:00Z,
},
Reason: "InterfaceNotLiveMigratable",
Message: "cannot migrate VMI which does not use masquerade, bridge with kubevirt.io/allow-pod-bridge-network-live-migration VM annotation or a migratable plugin to connect to the pod network",
},
{
Type: "StorageLiveMigratable",
Status: "False",
LastProbeTime: {
Time: 0001-01-01T00:00:00Z,
},
LastTransitionTime: {
Time: 0001-01-01T00:00:00Z,
},
Reason: "NotMigratable",
Message: "InterfaceNotLiveMigratable: cannot migrate VMI which does not use masquerade, bridge with kubevirt.io/allow-pod-bridge-network-live-migration VM annotation or a migratable plugin to connect to the pod network",
},
],
Phase: Failed,
PhaseTransitionTimestamps: [
{
Phase: "Pending",
PhaseTransitionTimestamp: {
Time: 2025-11-25T05:56:32Z,
},
},
{
Phase: "Scheduling",
PhaseTransitionTimestamp: {
Time: 2025-11-25T05:56:32Z,
},
},
{
Phase: "Scheduled",
PhaseTransitionTimestamp: {
Time: 2025-11-25T05:56:43Z,
},
},
{
Phase: "Running",
PhaseTransitionTimestamp: {
Time: 2025-11-25T05:56:47Z,
},
},
{
Phase: "Failed",
PhaseTransitionTimestamp: {
Time: 2025-11-25T05:56:52Z,
},
},
],
Interfaces: [
{
IP: "",
MAC: "3a:dc:cb:4d:ed:40",
Name: "default",
IPs: nil,
PodInterfaceName: "eth0",
InterfaceName: "",
InfoSource: "domain",
QueueCount: 1,
LinkState: "up",
},
],
GuestOSInfo: {Name: "", KernelRelease: "", Version: "", PrettyName: "", VersionID: "", KernelVersion: "", Machine: "", ID: ""},
MigrationState: nil,
MigrationMethod: BlockMigration,
MigrationTransport: Unix,
QOSClass: Burstable,
LauncherContainerImageVersion: registry:5000/kubevirt/virt-launcher:devel,
EvacuationNodeName: ,
ActivePods: {
"c36a47bf-024c-4e32-8707-667b513eeef8": "node02",
},
VolumeStatus: [
{
Name: "disk0",
Target: "vda",
Phase: "",
Reason: "",
Message: "",
PersistentVolumeClaimInfo: nil,
HotplugVolume: nil,
Size: 0,
MemoryDumpVolume: nil,
ContainerDiskVolume: {Checksum: 538764798},
},
],
KernelBootStatus: nil,
FSFreezeStatus: ,
TopologyHints: nil,
VirtualMachineRevisionName: ,
RuntimeUser: 107,
VSOCKCID: nil,
SelinuxContext: system_u:object_r:container_file_t:s0:c781,c865,
Machine: {
Type: "pc-q35-rhel9.6.0",
},
CurrentCPUTopology: {Cores: 1, Sockets: 1, Threads: 1},
Memory: {
GuestAtBoot: {
i: {value: 134217728, scale: 0},
d: {Dec: nil},
s: "",
Format: "BinarySI",
},
GuestCurrent: {
i: {value: 134217728, scale: 0},
d: {Dec...
Gomega truncated this representation as it exceeds 'format.MaxLength'.
Consider having the object provide a custom 'GomegaStringer' representation
or adjust the parameters in Gomega's 'format' package.
Learn more here: https://onsi.github.io/gomega/#adjusting-output
tests/vmi_lifecycle_test.go:1639
|