Skip to content

two new test failures on certain aarch64 linux #2488

@dkwo

Description

@dkwo

Is there an existing issue for this?

  • There is no existing issue for this bug

Is this happening on an up to date version of Incus?

  • This is happening on a supported version of Incus

Incus system details

This is on Void Linux, aarch64-glibc, incus-6.15.0 with go-1.25.1.
I can only reproduce on my Apple m2 mac mini (which has newer shadow and coreutils than Void's repos), but not on other machines or archs.

Instance details

No response

Instance log

No response

Current behavior

No response

Expected behavior

No response

Steps to reproduce

Build and check incus with ./xbps-src pkg -Q incus on Void master branch.
The two failing tests are

Failed to create lock for testFoo
Failed to create lock for testFoo
Failed to create lock for testFoo
Failed to create lock for testFoo
Failed to create lock for testFoo
Failed to create lock for testFoo
Failed to create lock for testFoo
Failed to create lock for testFoo
Failed to create lock for testFoo
Failed to create lock for testFoo
Failed to create lock for testFoo
Failed to create lock for testFoo
Failed to create lock for testFoo
Failed to create lock for testFoo
Failed to create lock for testFoo
Failed to create lock for testFoo
Failed to create lock for testFoo
Failed to create lock for testFoo
Failed to create lock for testFoo
Failed to create lock for testFoo
Failed to create lock for testFoo2
Failed to create lock for isol-2
Failed to create lock for isol-1
Failed to create lock for isol-5
Failed to create lock for isol-4
Failed to create lock for isol-3
Failed to create lock for isol-2
Failed to create lock for isol-1
Failed to create lock for isol-0
Failed to create lock for isol-2
Failed to create lock for isol-1
Failed to create lock for isol-1
--- FAIL: TestContainerTestSuite (3.25s)
    --- FAIL: TestContainerTestSuite/TestContainer_AddRoutedNicValidation (0.19s)
        instance_test.go:310: 
            	Error Trace:	/builddir/incus-6.15.0/cmd/incusd/instance_test.go:310
            	Error:      	Received unexpected error:
            	           	Initialize LXC: allocating the container failed
            	Test:       	TestContainerTestSuite/TestContainer_AddRoutedNicValidation
            	Messages:   	Adding multiple routed with gateway mode ['none'] should succeed. 
2025/09/17 12:39:46 Running test #0: Single port
2025/09/17 12:39:46 Running test #1: Multiple ports
2025/09/17 12:39:46 Running test #2: Port range
2025/09/17 12:39:46 Running test #3: Mixed ports and port ranges
2025/09/17 12:39:46 Running test #4: UDP
2025/09/17 12:39:46 Running test #5: Unix socket
2025/09/17 12:39:46 Running test #6: Abstract unix socket
2025/09/17 12:39:46 Running test #7: Unknown connection type
2025/09/17 12:39:46 Running test #8: Valid IPv6 address (1)
2025/09/17 12:39:46 Running test #9: Valid IPv6 address (2)
2025/09/17 12:39:46 Running test #10: Valid IPv6 address (3)
2025/09/17 12:39:46 Running test #11: Valid IPv6 address (4)
2025/09/17 12:39:46 Running test #12: Invalid IPv6 address (1)
2025/09/17 12:39:46 Running test #13: Invalid IPv6 address (2)
Failed to create lock for hal9000
FAIL
FAIL	github.com/lxc/incus/v6/cmd/incusd	4.707s

and

Failed to create lock for c1
--- FAIL: TestValidateConfig (0.00s)
    main_migrate_test.go:100: 
        	Error Trace:	/builddir/incus-6.15.0/cmd/lxc-to-incus/main_migrate_test.go:100
        	Error:      	Received unexpected error:
        	           	allocating the container failed
        	Test:       	TestValidateConfig
2025/09/17 12:39:42 Running test #0: invalid path
Processing storage configuration
2025/09/17 12:39:42 Running test #1: ignored default mounts
Processing storage configuration
2025/09/17 12:39:42 Running test #2: ignored mounts
Processing storage configuration
2025/09/17 12:39:42 Running test #3: valid mount configuration
Processing storage configuration
--- FAIL: TestConvertStorageConfig (0.00s)
    main_migrate_test.go:336: 
        	Error Trace:	/builddir/incus-6.15.0/cmd/lxc-to-incus/main_migrate_test.go:336
        	Error:      	Received unexpected error:
        	           	Invalid path: /home
        	Test:       	TestConvertStorageConfig
2025/09/17 12:39:42 Running test #0: missing lxc.rootfs key
2025/09/17 12:39:42 Running test #1: valid lxc.rootfs key (1)
2025/09/17 12:39:42 Running test #2: valid lxc.rootfs key (2)
FAIL
FAIL	github.com/lxc/incus/v6/cmd/lxc-to-incus	0.004s

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions