Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lxc-to-incus "TestConvertNetworkConfig" fails #23

Open
ganto opened this issue Oct 14, 2023 · 0 comments
Open

lxc-to-incus "TestConvertNetworkConfig" fails #23

ganto opened this issue Oct 14, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@ganto
Copy link
Owner

ganto commented Oct 14, 2023

When trying to build incus-0.1 the %gocheck of github.com/lxc/incus/cmd/lxc-to-incus fails with:

github.com/lxc/incus/cmd/lxc-to-incus                                                                                                                          
=== RUN   TestValidateConfig                                       
2023/10/14 17:40:36 Running test #0: container migrated
Checking whether container has already been migrated                                                                                                                                                                                                                                                                          2023/10/14 17:40:36 Running test #1: container name missmatch (1)                                                                                                                                                                                                                                                             Checking whether container has already been migrated                                                                                                                                                                                                                                                                          
2023/10/14 17:40:36 Running test #2: container name missmatch (2)
Checking whether container has already been migrated
2023/10/14 17:40:36 Running test #3: incomplete AppArmor support (1)
Checking whether container has already been migrated          
Validating whether incomplete AppArmor support is enabled
2023/10/14 17:40:36 Running test #4: incomplete AppArmor support (2)
Checking whether container has already been migrated
Validating whether incomplete AppArmor support is enabled  
2023/10/14 17:40:36 Running test #5: missing minimal /dev filesystem
Checking whether container has already been migrated         
Validating whether incomplete AppArmor support is enabled
Validating whether mounting a minimal /dev is enabled
2023/10/14 17:40:36 Running test #6: missing lxc.rootfs key
Checking whether container has already been migrated
Validating whether incomplete AppArmor support is enabled
Validating whether mounting a minimal /dev is enabled
Validating container rootfs
2023/10/14 17:40:36 Running test #7: non-existent rootfs path
Checking whether container has already been migrated
Validating whether incomplete AppArmor support is enabled
Validating whether mounting a minimal /dev is enabled
Validating container rootfs
--- PASS: TestValidateConfig (0.00s)
=== RUN   TestConvertNetworkConfig
2023/10/14 17:40:36 Running test #0: loopback only
    main_migrate_test.go:215: 
                Error Trace:    /builddir/build/BUILD/incus-0.1/_build/src/github.com/lxc/incus/cmd/lxc-to-incus/main_migrate_test.go:215
                Error:          Received unexpected error:
                                creating the container failed
                Test:           TestConvertNetworkConfig
--- FAIL: TestConvertNetworkConfig (0.00s)
=== RUN   TestConvertStorageConfig
2023/10/14 17:40:36 Running test #0: invalid path
Processing storage configuration
2023/10/14 17:40:36 Running test #1: ignored default mounts
Processing storage configuration
2023/10/14 17:40:36 Running test #2: ignored mounts
Processing storage configuration
2023/10/14 17:40:36 Running test #3: valid mount configuration
Processing storage configuration
--- PASS: TestConvertStorageConfig (0.00s)
=== RUN   TestGetRootfs
2023/10/14 17:40:36 Running test #0: missing lxc.rootfs key
2023/10/14 17:40:36 Running test #1: valid lxc.rootfs key (1)
2023/10/14 17:40:36 Running test #2: valid lxc.rootfs key (2)
--- PASS: TestGetRootfs (0.00s)
FAIL
exit status 1
FAIL    github.com/lxc/incus/cmd/lxc-to-incus   0.006s

Partly related to ganto/copr-lxc3#10.

@ganto ganto changed the title lxc-toincus "TestConvertNetworkConfig" fails lxc-to-incus "TestConvertNetworkConfig" fails Oct 14, 2023
@ganto ganto added the bug Something isn't working label Oct 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant