-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The tests used incorrect syntax to check for the presence of systemctl, which meant all futher commands were never executed. Since we no longer test on non-systemd systems, we can fix the check and error out if no systemctl is found. Also, if the system is using ifup/ifdown or similar configuration, the init targets for networking might fail when a network-config is present for cloud-init. As this is always the case in our e2e tests, just reset those targets. Apparmor service also often fails to start on certain systems, so we just remove it for our e2e tests in the provisioning steps. We also exclude debian-9 (Stretch) from e2e tests: cloud-init is so old that it fails to parse the network-config v2, stopping the whole initialization. We don't test or build against that anymore, so it should be fine to exclude.
- Loading branch information
Showing
3 changed files
with
11 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters