Skip to content
This repository was archived by the owner on Dec 7, 2023. It is now read-only.
This repository was archived by the owner on Dec 7, 2023. It is now read-only.

Flaky test TestConcurrentVMCreation #771

@bboreham

Description

@bboreham

Seen here for instance:

=== RUN   TestConcurrentVMCreation04:27
time="2021-01-13T18:32:10Z" level=info msg="Removed VM with name \"e2e-test-concurrent-vm-create-3\" and ID \"1dc7af60947f98b9\""04:27
time="2021-01-13T18:32:10Z" level=fatal msg="unable to lock \"/tmp/ignite-snapshot.lock\": open /tmp/ignite-snapshot.lock: no such file or directory"04:27
time="2021-01-13T18:32:10Z" level=info msg="Created VM with ID \"72e7877db58da54a\" and name \"e2e-test-concurrent-vm-create-4\""04:27
time="2021-01-13T18:32:10Z" level=info msg="Created VM with ID \"3c329b59d8f1a9ea\" and name \"e2e-test-concurrent-vm-create-1\""04:28
time="2021-01-13T18:32:11Z" level=info msg="Removed VM with name \"e2e-test-concurrent-vm-create-2\" and ID \"e458bf7d3337729a\""04:28
time="2021-01-13T18:32:11Z" level=fatal msg="unable to lock \"/tmp/ignite-snapshot.lock\": open /tmp/ignite-snapshot.lock: no such file or directory"04:28
time="2021-01-13T18:32:11Z" level=info msg="Networking is handled by \"cni\""04:28
time="2021-01-13T18:32:11Z" level=info msg="Started Firecracker VM \"72e7877db58da54a\" in a container with ID \"ignite-72e7877db58da54a\""04:28
time="2021-01-13T18:32:11Z" level=info msg="Networking is handled by \"cni\""04:28
time="2021-01-13T18:32:11Z" level=info msg="Started Firecracker VM \"3c329b59d8f1a9ea\" in a container with ID \"ignite-3c329b59d8f1a9ea\""04:28
time="2021-01-13T18:32:11Z" level=info msg="Waiting for the ssh daemon within the VM to start..."04:28
time="2021-01-13T18:32:11Z" level=info msg="Waiting for the ssh daemon within the VM to start..."04:35
    TestConcurrentVMCreation: zconcurrent_vm_test.go:48: assertion failed: error is not nil: exit status 1: error waiting for the command to finish04:35
    TestConcurrentVMCreation: zconcurrent_vm_test.go:48: assertion failed: error is not nil: exit status 1: error waiting for the command to finish04:35
    TestConcurrentVMCreation: zconcurrent_vm_test.go:50: assertion failed: error is not nil: exit status 1: cmd: 04:35
        "/home/semaphore/ignite/bin/ignite rm -f e2e-test-concurrent-vm-create-1 e2e-test-concurrent-vm-create-2 e2e-test-concurrent-vm-create-3 e2e-test-concurrent-vm-create-4"04:35
        time="2021-01-13T18:32:18Z" level=fatal msg="can't find VM: no ID/name matches for \"e2e-test-concurrent-vm-create-2\""04:35
        04:35
    TestConcurrentVMCreation: zconcurrent_vm_test.go:50: failed to run "/home/semaphore/ignite/bin/ignite rm -f e2e-test-concurrent-vm-create-1 e2e-test-concurrent-vm-create-2 e2e-test-concurrent-vm-create-3 e2e-test-concurrent-vm-create-4": exit status 104:35
--- FAIL: TestConcurrentVMCreation (8.91s)

Another failure here but that was when we had less logging info.

May be fixed by nightlyone/lockfile#34

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions