Harald Hoyer
f9f1314acb
fix(TEST ISCSI-MULTI): shellcheck
4 years ago
Harald Hoyer
77854c6d2d
fix(TEST NBD): shellcheck
4 years ago
Harald Hoyer
6e5878188b
fix(TEST BONDBRIDGEVLANIFCFG): shellcheck
4 years ago
Harald Hoyer
90b9c00695
fix(TEST GETARG): shellcheck
4 years ago
Harald Hoyer
718ad799ac
fix(TEST RPM): shellcheck
4 years ago
Harald Hoyer
baa4acd402
fix(test/test-functions): shellcheck for test/test-functions
4 years ago
Harald Hoyer
e010f45524
fix(test/run-qemu): shellcheck for test/run-qemu
4 years ago
Harald Hoyer
ae9aa8f174
fix(TEST-30-ISCSI): add sync to client root creation
4 years ago
Harald Hoyer
d97f88f28b
test(FULL-SYSTEMD): add fuse kernel module in test root
...
systemd wants to use it
4 years ago
Harald Hoyer
75d758e8f1
style: shfmt -s reformat
...
reproducible with:
```
$ shfmt_version=3.0.1
$ wget "https://github.com/mvdan/sh/releases/download/v${shfmt_version}/shfmt_v${shfmt_version}_linux_amd64 " -O shfmt
$ chmod u+x shfmt
$ ./shfmt -w -s .
```
4 years ago
Harald Hoyer
9a52c3fdb0
style: shfmt reformat
...
reproducible with:
```
$ shfmt_version=3.0.1
$ wget "https://github.com/mvdan/sh/releases/download/v${shfmt_version}/shfmt_v${shfmt_version}_linux_amd64 " -O shfmt
$ chmod u+x shfmt
$ ./shfmt -w .
```
4 years ago
Harald Hoyer
560402c3dc
style: shfmt pre correction
4 years ago
Harald Hoyer
5d99b4d0eb
test: fix test 98 getarg
...
Fix a mis-replaced comparison.
4 years ago
Harald Hoyer
72cba8aecd
test: sync and poweroff in create-root.sh
4 years ago
Harald Hoyer
455329cf71
test: change the LABEL to include spaces
...
Test for root device with a LABEL, which includes spaces.
4 years ago
Harald Hoyer
501d82f796
fix: correctly handle kernel parameters
...
The kernel has an odd way to handle `"` surrounded parameters.
To handle the parameters as the kernel would do, no simple shell script
suffices, so a new utility `dracut-util` is introduced. Written in "C"
it handles `dracut-getarg` and `dracut-getargs` as the old shell script
functions `_dogetarg` and `_dogetargs` would.
4 years ago
Jóhann B. Guðmundsson
9cf7b1c529
fix: always use mkdir -p
...
Ensuring that directory creations dont trigger error if directory
previously existed as well as create parent directories if needed.
4 years ago
Harald Hoyer
d85c71fb69
ci: force binary files for grep on disk images
...
Because some of the CI tests fail randomly while grepping for the
test success marker, let's be specific of the file format grep will
search to eleminate all failure sources.
4 years ago
Harald Hoyer
dbb8a98b29
ci: wait for udev before doing sfdisk
...
might be responsible for some flakiness
4 years ago
Harald Hoyer
0f807f49cf
ci: more disk space for test 30 iscsi
...
```
mke2fs 1.45.6 (20-Mar-2020)
Filesystem too small for a journal
Discarding device blocks: done
Creating filesystem with 1024 1k blocks and 128 inodes
Allocating group tables: 0/1 done
Writing inode tables: 0/1 done
Writing superblocks and filesystem accounting information: 0/1 done
cp: error writing '/sysroot/usr/bin/bash': No space left on device
cp: error writing '/sysroot/usr/bin/grep': No space left on device
cp: error writing '/sysroot/usr/bin/ping': No space left on device
[…]
```
4 years ago
Harald Hoyer
0f62da0405
ci: get rid of "mount -o loop"
...
This finally allows running the test suite completely in a rootless container:
```
❯ podman run \
--user 0 \
-v /dev:/dev \
-v ./:/dracut \
-it \
quay.io/haraldh/dracut-fedora:33 \
bash -c 'cd /dracut; make DRACUT_NO_XATTR=1 check'
```
4 years ago
Harald Hoyer
1211d6a3fb
ci: disable TEST 99
...
1. people got annoyed by merge conflicts
2. spec file can be update per release
3. uses "mount" preventing container testing
4 years ago
Harald Hoyer
1149ed2a3e
test: incr. disk size for TEST 35 ISCSI-MULTI
4 years ago
Harald Hoyer
11474b808b
TEST-99: exclude /etc/dnf/* from check
...
file /etc/dnf/modules.d/eclipse.module.rpmmoved is not owned by any package
5 years ago
Harald Hoyer
91418b13dc
TEST-03-USR-MOUNT/test.sh: increase loglevel
...
to debug the spurious fails
5 years ago
Harald Hoyer
3b396a7d50
TEST-41-NBD-NM/Makefile: should be based on TEST-40-NBD not TEST-20-NFS
5 years ago
Harald Hoyer
a22ab24d53
test: use dd from /dev/zero, instead of creating files with a hole
5 years ago
Harald Hoyer
fc6f458c3b
TEST-12-RAID-DEG/create-root.sh: more udevadm settle
5 years ago
Harald Hoyer
3ba12b2249
test/TEST-35-ISCSI-MULTI: bump disk space
5 years ago
Harald Hoyer
0c983cdc49
TEST-14-IMSM: clear marker disk
5 years ago
Harald Hoyer
c7403700df
TEST-04-FULL-SYSTEMD: use seperate marker disk for root creation
5 years ago
Harald Hoyer
b3d40a4390
TEST-04-FULL-SYSTEMD: change error reporting
5 years ago
Harald Hoyer
1edee0c4a1
test/TEST-0[34] remove qemu return check
...
remove check of qemu return code $?
seems like it randomly returns with != 0
5 years ago
Frantisek Sumsal
f1dc2180d4
TEST-99-RPM: ignore weak dependencies in dnf
...
Weak dependencies are useless for this test and pollute the chroot,
causing unexpected fails.
5 years ago
Harald Hoyer
d5088b1703
TEST-12-RAID-DEG: harden test
...
use whole sda as marker disk and clear it completly between test runs
5 years ago
Harald Hoyer
9ca53063ee
test: use dd to write status to marker disk
5 years ago
Harald Hoyer
a3f73298f2
testsuite: refactor qemu options
...
- refactor common qemu options
- fix the ens[0-9] interface shift
- add split network-[legacy|network] tests
5 years ago
Harald Hoyer
4b60a34715
Revert "test: run-qemu refactor common qemu parameters"
...
This reverts commit 77537bf2d7
.
Sorry, for the noise!
5 years ago
Harald Hoyer
7374391434
Revert "test/run-qemu: add "-serial stdio""
...
This reverts commit c6c588d648
.
5 years ago
Harald Hoyer
c6c588d648
test/run-qemu: add "-serial stdio"
5 years ago
Harald Hoyer
77537bf2d7
test: run-qemu refactor common qemu parameters
5 years ago
Harald Hoyer
7c51256eb2
TEST-40-NBD: disable again
...
NBD is still too flaky and hangs hard sometimes
5 years ago
Harald Hoyer
ba66cb2789
TEST-04-FULL-SYSTEMD: more info on failure
5 years ago
Harald Hoyer
2d75433cd7
test/test-functions: colorize startup
5 years ago
Harald Hoyer
0d33ba030b
test/TEST-40-NBD/test.sh: bail out early if mount fails
5 years ago
Harald Hoyer
4bd0ab61b2
test: remove "sudo" calls in test scripts
5 years ago
Harald Hoyer
b4de4f287f
test: do btrfs filesystem sync in create-root.sh
5 years ago
Harald Hoyer
eb8856a58c
TEST-40-NBD: run the working tests
5 years ago
Harald Hoyer
3c5036a62f
TEST-03-USR-MOUNT: more debugging
5 years ago
Harald Hoyer
074ac62576
TEST-04-FULL-SYSTEMD: report failure on rootfs creation
5 years ago