[sig-compute]VM state with persistent TPM VM option enabled should persist VM state of TPM across migration and restart |
tests/vm_state_test.go:199
Timed out after 300.000s.
The vmi did not disappear
expected object to be gone, but it still exists: *v1.VirtualMachineInstance
metadata: <v1.ObjectMeta>: {
Name: testvmi-n8j9s,
GenerateName: ,
Namespace: kubevirt-test-default2,
SelfLink: ,
UID: 90bfa0b8-8bf4-4392-bbc4-e7c4f47d1e94,
ResourceVersion: 43541,
Generation: 31,
CreationTimestamp: {
Time: 2025-09-24T14:59:34Z,
},
DeletionTimestamp: {
Time: 2025-09-24T15:00:47Z,
},
DeletionGracePeriodSeconds: 0,
Labels: {
"kubevirt.io/nodeName": "node01",
},
Annotations: {
"kubevirt.io/created-by-test": "[sig-compute]VM state with persistent TPM VM option enabled should persist VM state of TPM across migration and restart",
"kubevirt.io/latest-observed-api-version": "v1",
"kubevirt.io/nonroot": "true",
"kubevirt.io/storage-observed-api-version": "v1",
"kubevirt.io/vm-generation": "2",
},
OwnerReferences: [
{
APIVersion: "kubevirt.io/v1",
Kind: "VirtualMachine",
Name: "testvmi-n8j9s",
UID: "a6e0515e-0321-4430-b9af-29c676bb9283",
Controller: true,
BlockOwnerDeletion: true,
},
],
Finalizers: [
"kubevirt.io/foregroundDeleteVirtualMachine",
],
ManagedFields: nil,
}
status: <v1.VirtualMachineInstanceStatus>: {
NodeName: node01,
Reason: ,
Conditions: [
{
Type: "Ready",
Status: "False",
LastProbeTime: {
Time: 2025-09-24T15:00:50Z,
},
LastTransitionTime: {
Time: 2025-09-24T15:00:50Z,
},
Reason: "PodNotExists",
Message: "virt-launcher pod has not yet been scheduled",
},
{
Type: "LiveMigratable",
Status: "True",
LastProbeTime: {
Time: 0001-01-01T00:00:00Z,
},
LastTransitionTime: {
Time: 0001-01-01T00:00:00Z,
},
Reason: "",
Message: "",
},
{
Type: "StorageLiveMigratable",
Status: "True",
LastProbeTime: {
Time: 0001-01-01T00:00:00Z,
},
LastTransitionTime: {
Time: 0001-01-01T00:00:00Z,
},
Reason: "",
Message: "",
},
],
Phase: Succeeded,
PhaseTransitionTimestamps: [
{
Phase: "Pending",
PhaseTransitionTimestamp: {
Time: 2025-09-24T14:59:34Z,
},
},
{
Phase: "Scheduling",
PhaseTransitionTimestamp: {
Time: 2025-09-24T14:59:34Z,
},
},
{
Phase: "Scheduled",
PhaseTransitionTimestamp: {
Time: 2025-09-24T14:59:43Z,
},
},
{
Phase: "Running",
PhaseTransitionTimestamp: {
Time: 2025-09-24T14:59:48Z,
},
},
{
Phase: "Succeeded",
PhaseTransitionTimestamp: {
Time: 2025-09-24T15:00:47Z,
},
},
],
Interfaces: [
{
IP: "10.0.2.2",
MAC: "96:7a:d6:16:ba:5d",
Name: "default",
IPs: [
"10.0.2.2",
"fd10:0:2::2",
"fe80::947a:d6ff:fe16:ba5d",
],
PodInterfaceName: "eth0",
InterfaceName: "eth0",
InfoSource: "domain, guest-agent",
QueueCount: 1,
LinkState: "up",
},
],
GuestOSInfo: {
Name: "Fedora Linux",
KernelRelease: "5.14.10-300.fc35.x86_64",
Version: "35 (Cloud Edition)",
PrettyName: "Fedora Linux 35 (Cloud Edition)",
VersionID: "35",
KernelVersion: "#1 SMP Thu Oct 7 20:48:44 UTC 2021",
Machine: "x86_64",
ID: "fedora",
},
MigrationState: {
StartTimestamp: {
Time: 2025-09-24T15:00:44Z,
},
EndTimestamp: {
Time: 2025-09-24T15:00:46Z,
},
TargetNodeDomainReadyTimestamp: {
Time: 2025-09-24T15:00:46Z,
},
TargetNodeDomainDetected: true,
TargetNodeAddress: "10.244.0.16",
TargetDirectMigrationNodePorts: {"34959": 0, "39293": 49153, "46521": 49152},
TargetNode: "node01",
TargetPod: "virt-launcher-testvmi-n8j9s-vxdb5",
TargetAttachmentPodUID: "",
SourceNode: "node02",
SourcePod: "virt-launcher-testvmi-n8j9s-s6dbz",
Completed: true,
Failed: false,
AbortRequested: false,
AbortStatus: "",
FailureReason: "",
MigrationUID: "9aa60652-f594-490b-bca7-b759d1f6f96b",
Mode: "PreCopy",
MigrationPolicyName: nil,
MigrationConfiguration: {
NodeDrainTaintKey: "kubevirt.io/drain",
ParallelOutboundMigrationsPerNode: 2,
ParallelMigrationsPerCluster: 5,
AllowAutoConverge: false,
BandwidthPerMigration: {
i: {value: 0, scale: 0},
d: {Dec: nil},
s: "0",
Format: "DecimalSI",
},
CompletionTimeout...
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/libvmops/lifecycle.go:40
|