Commit Graph

2338 Commits

Author SHA1 Message Date
Benoit TAPIA
905ad66a18
tests: Add --all-remotes test
Signed-off-by: Benoit TAPIA <benoit.tapia@sidhes.com>
2026-07-29 22:17:02 -04:00
Stéphane Graber
2d7da2a33a
tests: Update godeps
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
2026-07-29 21:24:48 -04:00
Piotr Resztak
e4594cfd17 tests: Set authorization.client.* keys
Signed-off-by: Piotr Resztak <piotr.resztak@futurfusion.io>
2026-07-21 10:04:44 +02:00
Benjamin Somers
634f1e98f9 test: Fix assign separator
Signed-off-by: Benjamin Somers <benjamin.somers@imt-atlantique.fr>
2026-07-19 01:35:14 +00:00
Stéphane Graber
008c4c7e32
tests: Add port forward tests
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
2026-07-12 12:06:55 -04:00
Piotr Resztak
af2bfdb5bd tests: Update OpenFGA tests for authorization config keys
Signed-off-by: Piotr Resztak <piotr.resztak@futurfusion.io>
2026-07-09 15:10:53 +02:00
cmspam
a07f9326d6 test: Cover btrfs.compression on instances from optimized images
Add coverage to the Btrfs storage driver test: an instance created from
an optimized image with btrfs.compression=none has the compression
property applied instead of inheriting the image volume's.

Signed-off-by: cmspam <2881049+cmspam@users.noreply.github.com>
2026-07-05 17:17:01 +09:00
Stéphane Graber
298faaa80c
incusd: Rename neighbour to neighbor for US english
We had a weird mix of UK and US spelling which was making it hard to
grep through the code. Incus' standard spelling for documentation and
user facing messages is US English, so let's standardize on neighbor.

Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
2026-06-25 17:29:38 -04:00
Stéphane Graber
c3530e58aa
tests: Add proxy NAT wildcard and dynamic address tests
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
2026-06-25 17:21:42 -04:00
cmspam
56c1a89a84
test: Cover btrfs.compression nodatacow and pool-wide default
Add coverage to the Btrfs storage driver test: a block volume created
with btrfs.compression=none ends up with nodatacow set, a real algorithm
compresses instead, and btrfs.compression is accepted as a pool-wide
volume default.

Signed-off-by: cmspam <2881049+cmspam@users.noreply.github.com>
2026-06-25 14:59:58 -04:00
Yuhang Cao
109d89ff43 tests: cover encrypted ZFS snapshot copies
Signed-off-by: Yuhang Cao <caoyuhang@fwerkor.com>
2026-06-16 00:52:50 +00:00
Stéphane Graber
6728a1eafc
global: Update for go-yaml/v4 rc5
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
2026-06-10 22:26:22 -04:00
Stéphane Graber
62499e41c3
tests: Update for new name restrictions
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
2026-05-28 18:26:11 -04:00
Benjamin Somers
44785e940e
tests: Switch to recursive chown on file push
Signed-off-by: Benjamin Somers <benjamin.somers@imt-atlantique.fr>
2026-05-28 12:53:25 -04:00
Stéphane Graber
e3cae1aa26
tests: Add storage bucket presigned URL test
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
2026-05-27 16:55:36 -04:00
Stéphane Graber
0be992c3de
Merge pull request #3404 from stgraber/rebuild
Implement storage volume rebuild
2026-05-27 14:54:01 -04:00
Stéphane Graber
b7a3c767f8
global: Use strings.Cut instead of strings.Split/SplitN
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
2026-05-27 03:37:55 -04:00
Stéphane Graber
d1ae749ed7
incusd: Rename dqlite references to cowsql
We use cowsql, not dqlite, so rename all internal references, but keep
the external ones (upgrade protocols) in place to avoid breakages.

Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
2026-05-27 03:37:47 -04:00
Stéphane Graber
56db9d8aac
Merge pull request #3402 from stgraber/main
Always return the total disk size on instances
2026-05-27 03:36:33 -04:00
Stéphane Graber
85cff989f8
tests: Add storage volume rebuild test
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
2026-05-26 18:35:11 -04:00
Stéphane Graber
b6d7760c98
test/lint: Run full golangci-lint instead of only new changes
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
2026-05-26 18:08:47 -04:00
Stéphane Graber
74964721d4
tests: Update btrfs test for new behavior
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
2026-05-26 13:05:38 -04:00
Benjamin Somers
041ef0b263 tests: Add thorough tests for incus file push with UID/GID/mode overrides
Signed-off-by: Benjamin Somers <benjamin.somers@imt-atlantique.fr>
2026-05-26 14:12:49 +00:00
Stéphane Graber
3d3d55e7ad
tests: Add IP range coverage for network address sets
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
2026-05-26 01:02:11 -04:00
Benjamin Somers
0ef09a14a4 tests: Add quick raw DRBD key checks
Signed-off-by: Benjamin Somers <benjamin.somers@imt-atlantique.fr>
2026-05-26 02:00:17 +00:00
火星大王
aec75f2321
tests: Add test for block.create_options
Signed-off-by: 火星大王 <lijunyandeyouxiang@163.com>
2026-05-22 07:56:44 -04:00
Stéphane Graber
44cab2a59a
Merge pull request #3363 from stgraber/cli
Allow volume creation on attach
2026-05-20 00:43:31 -04:00
Stéphane Graber
c71ddfe781
tests/storage: Add S3 CopyObject coverage
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
2026-05-20 02:12:15 +02:00
Stéphane Graber
eea07b2b94
tests/storage_volume_attach: Test --create on attach
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
2026-05-20 02:02:01 +02:00
Benjamin Somers
1233ea6749 test: Disable volume shrinking with LINSTOR
Signed-off-by: Benjamin Somers <benjamin.somers@imt-atlantique.fr>
2026-05-19 14:34:12 +00:00
Stéphane Graber
41878729f0
test/network_acl: Add test for ACL used by instance in different project
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
2026-05-05 10:00:37 -04:00
Stéphane Graber
40dd4f151d
Rewrite Go import path to v7
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
2026-05-02 01:18:25 +02:00
Stéphane Graber
e1ebe70253
Merge pull request #3281 from stgraber/storage
Create missing sub-paths
2026-05-01 13:24:29 -04:00
Stéphane Graber
4ae31e8909
Merge pull request #3278 from stgraber/network
incusd/device/nic: Set next-hop based on configured IP addresses
2026-05-01 09:22:12 -04:00
Stéphane Graber
d81c582dce
tests: Extend sub-path tests to cover directory creation
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
2026-05-01 15:15:45 +02:00
Stéphane Graber
59fc320026
tests: Adjust to work with next-hop
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
2026-05-01 04:38:52 +02:00
Stéphane Graber
ccfdb366e9
tests: Use a 5MiB test file for buckets
LVM extent size is typically 4MiB so a 1MiB bucket will be rounded up to
4MiB making the 2MiB test file fit and the quota test fail.

Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
2026-05-01 03:08:14 +02:00
Stéphane Graber
1a947907f4
tests: Replace minio with simple built-in S3 endpoint
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
2026-04-30 19:45:08 +02:00
Stéphane Graber
7be230030c
Merge pull request #3253 from bensmrs/drop-legacy
Client deprecations
2026-04-29 17:42:45 -04:00
Stéphane Graber
ec7ac5758c
tests: Drop xtables firewall driver support
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
2026-04-29 17:39:06 +02:00
Benjamin Somers
f57d9331ae tests: Drop legacy [custom/] prefix
Signed-off-by: Benjamin Somers <benjamin.somers@imt-atlantique.fr>
2026-04-29 14:47:35 +00:00
Benjamin Somers
21fd4a1cf9 tests: Add more thorough tests for pull/push operations
Signed-off-by: Benjamin Somers <benjamin.somers@imt-atlantique.fr>
2026-04-28 21:24:44 +00:00
Benjamin Somers
2f516db4d5 tests: Test cp-like flags in incus storage volume file push
Signed-off-by: Benjamin Somers <benjamin.somers@imt-atlantique.fr>
2026-04-22 19:03:50 +00:00
Benjamin Somers
855ae0da50 tests: Test cp-like flags in incus file push
Signed-off-by: Benjamin Somers <benjamin.somers@imt-atlantique.fr>
2026-04-22 19:03:50 +00:00
Benjamin Somers
879a451858
tests: Add import from stdin and export to stdout
Signed-off-by: Benjamin Somers <benjamin.somers@imt-atlantique.fr>
2026-04-20 12:32:38 -04:00
Benjamin Somers
aac4f8a206 tests: Add strict pull checks for directories
Signed-off-by: Benjamin Somers <benjamin.somers@imt-atlantique.fr>
2026-04-13 23:25:05 +00:00
Piotr Resztak
b84add7345 tests: Add tests for exporting/importing dependent volumes
Signed-off-by: Piotr Resztak <piotr.resztak@futurfusion.io>
2026-04-03 10:55:17 +02:00
Stéphane Graber
be1a60487b
tests: Rewrite out-of-space test to use profiles
As otherwise the new 1MiB limit prevents the test from saturating the database.

Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
2026-04-02 15:08:38 -04:00
Stéphane Graber
e69aba01fb
tests: Update for slight YAML differences
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
2026-03-31 17:21:56 -04:00
Stéphane Graber
271cd4cf0c
test: Fix ordering of godeps.list
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
2026-03-31 16:43:40 -04:00