summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2025-04-06salsa-ci: add basic tests for debefivm-*Helmut Grohne
2025-03-05tests: i386 no longer has a linux kernelHelmut Grohne
Enable amd64 for i386 in current releases.
2024-08-13test for autologin to work using expectHelmut Grohne
2024-05-08tests/create-and-run.sh: Increase timeout by 300 seconds (for ppc64el)Benjamin Drung
On Ubuntu ppc64el falls back to tcg which is slow and needs an increased timout. LP: #2046544
2024-02-26debvm-create: switch from genext2fs to mkfs.ext4Helmut Grohne
Why? genext2fs is slow. It has O(n^2) behaviour, which becomes annoying with larger filesystems. It also creates an ext2 image and we have to upgrade it to ext4 in multiple steps. Even then, the image has an inode size of 128, which is incompatible with 2038 and does not allow storing sub-second precision time stamps. How? We use mkfs.ext4 from e2fsprogs (which is required anyway) instead. Running this from within a --customize-hook does not work, because the user namespace used for the hook often has no privileges to write to the output image. Instead, we now ask mmdebstrap to output to a directory and create the filesystem separately. We construct a special namespace that has both access to the tree and to the output image and perform the mkfs.ext4 there. As a consequence, we no longer support any mode but unshare and since mkfs.ext4 consumes the size parameter, the size syntax is reduced a bit.
2024-02-26tests/dist-upgrades.sh: add trixieHelmut Grohne
2024-02-26tests/dist-upgrades.sh: must use archive.d.o for old releasesHelmut Grohne
2023-09-24make autopkgtest non-flakyHelmut Grohne
When passing an empty release to ./tests/create-and-run.sh, we now use the host's apt sources and pinning. This is an additional gitlab-ci test and replaces the previous autopkgtest involving unstable, which thus becomes non-flaky.
2023-09-14tests/create-and-run.sh: Correctly handle an empty $MIRRORHelmut Grohne
Fixes: d1e2c48b9b39 ("Fix ports mirror (tested on riscv64)")
2023-09-14tests/create-and-run.sh: choose ports mirror automaticallyHelmut Grohne
2023-06-24Fix ports mirror (tested on riscv64)Jochen Sprickerhof
2023-03-27tests: stretch also moved to archive.debian.orgHelmut Grohne
2023-03-23tests: jessie has moved to archive.debian.orgHelmut Grohne
2023-03-06drop workaround for kernel bug #1029270Helmut Grohne
2023-03-06debvm-create: deprecate and hide the -a optionHelmut Grohne
At this point, we only forward -a to mmdebstrap. It's not actually that helpful to have this option on both levels, so just keep it on the mmdebstrap level.
2023-01-25tests: use an amd64 kernel on i386Helmut Grohne
2023-01-24tests: add armel with an armhf kernelHelmut Grohne
2023-01-24tests: bump up timeout for create-and-run.shHelmut Grohne
Timeouts were hit on salsa-ci for arm64 occasionally. The armhf autopkgtest also runs into this timeout.
2023-01-20use ssh option NoHostAuthenticationForLocalhostHelmut Grohne
2023-01-17Allow arbitrary image sizesJochen Sprickerhof
2023-01-03debvm-waitssh: make timeout configurable and restore previous value for testsHelmut Grohne
2023-01-03add a debvm-waitssh utilityHelmut Grohne
2022-12-31Use more variablesJochen Sprickerhof
2022-12-31tests: rework common codeHelmut Grohne
Turn try-ssh.sh script into a shell function library.
2022-12-31tests: discover tool under test from $PATHHelmut Grohne
This enables use in autopkgtests and makes it consistent with the create-and-run.sh test.
2022-12-28Test dist-upgradesJochen Sprickerhof
2022-12-28Extract ssh connection check to try-ssh.shJochen Sprickerhof
2022-12-28test: wait for qemu to terminateHelmut Grohne
2022-12-28tests: do not attempt to update a known hosts fileHelmut Grohne
This makes testing work in situations where $HOME isn't writeable.
2022-12-27test script: Use positional argumentsJochen Sprickerhof
Reported-by: Helmut Grohne <helmut@subdivi.de>
2022-12-23Use ext4 for test image extensionJochen Sprickerhof
2022-12-23Move tests to tests/create-and-run.sh (Closes: #4)Jochen Sprickerhof