summaryrefslogtreecommitdiff
path: root/tests/cloud_tests/testcases/bugs
diff options
context:
space:
mode:
authorJoshua Powers <josh.powers@canonical.com>2017-10-02 14:32:48 -0700
committerScott Moser <smoser@brickies.net>2017-10-03 09:01:30 -0400
commit0ee829f91322ae1788ee6fb2a164cf06cdfff7db (patch)
treed5e5f6505eebf9784d60644c254f1d7cb422e51d /tests/cloud_tests/testcases/bugs
parent9d2a87dc386b7aed1a8243d599676e78ed358749 (diff)
downloadvyos-cloud-init-0ee829f91322ae1788ee6fb2a164cf06cdfff7db.tar.gz
vyos-cloud-init-0ee829f91322ae1788ee6fb2a164cf06cdfff7db.zip
tests: Combine integration configs and testcases
Combine the configs and testcases directories, so all files are together in one place. Update the test config location as well.
Diffstat (limited to 'tests/cloud_tests/testcases/bugs')
-rw-r--r--tests/cloud_tests/testcases/bugs/README.md13
-rw-r--r--tests/cloud_tests/testcases/bugs/lp1511485.yaml11
-rw-r--r--tests/cloud_tests/testcases/bugs/lp1611074.yaml8
-rw-r--r--tests/cloud_tests/testcases/bugs/lp1628337.yaml23
4 files changed, 55 insertions, 0 deletions
diff --git a/tests/cloud_tests/testcases/bugs/README.md b/tests/cloud_tests/testcases/bugs/README.md
new file mode 100644
index 00000000..09ce0765
--- /dev/null
+++ b/tests/cloud_tests/testcases/bugs/README.md
@@ -0,0 +1,13 @@
+# Bug Test Configs
+
+## purpose
+Configs that reproduce bugs filed against cloud-init. Having test configs for
+cloud-init bugs ensures that the fixes do not break in the future, and makes it
+easy to see how many systems and platforms are effected by a new bug.
+
+## structure
+Should have one test config for most bugs filed. The name of the test should
+contain ``lp`` followed by the bug number. It may also be useful to add a
+comment to each bug config with a summary copied from the bug report.
+
+# vi: ts=4 expandtab
diff --git a/tests/cloud_tests/testcases/bugs/lp1511485.yaml b/tests/cloud_tests/testcases/bugs/lp1511485.yaml
new file mode 100644
index 00000000..ebf9763f
--- /dev/null
+++ b/tests/cloud_tests/testcases/bugs/lp1511485.yaml
@@ -0,0 +1,11 @@
+#
+# LP Bug 1511485: final_message is silent on ubuntu-12.04.5 / cloud-init 0.6.3
+#
+# 2016-11-17: Disabled as covered by module based tests
+#
+enabled: False
+cloud_config: |
+ #cloud-config
+ final_message: "Final message from cloud-config"
+
+# vi: ts=4 expandtab
diff --git a/tests/cloud_tests/testcases/bugs/lp1611074.yaml b/tests/cloud_tests/testcases/bugs/lp1611074.yaml
new file mode 100644
index 00000000..960679d5
--- /dev/null
+++ b/tests/cloud_tests/testcases/bugs/lp1611074.yaml
@@ -0,0 +1,8 @@
+#
+# LP Bug 1611074: Reformatting of ephemeral drive fails on resize of Azure VM
+#
+# 2016-11-18: Disabled until test written
+#
+enabled: False
+
+# vi: ts=4 expandtab
diff --git a/tests/cloud_tests/testcases/bugs/lp1628337.yaml b/tests/cloud_tests/testcases/bugs/lp1628337.yaml
new file mode 100644
index 00000000..e39b3cd8
--- /dev/null
+++ b/tests/cloud_tests/testcases/bugs/lp1628337.yaml
@@ -0,0 +1,23 @@
+#
+# LP Bug 1628337: cloud-init tries to install NTP before even configuring the archives
+#
+required_features:
+ - apt
+ - lsb_release
+cloud_config: |
+ #cloud-config
+ ntp:
+ servers: ['ntp.ubuntu.com']
+ apt:
+ primary:
+ - arches: [default]
+ uri: http://us.archive.ubuntu.com/ubuntu/
+collect_sciprts:
+ ntp.conf: |
+ #!/bin/bash
+ cat /etc/ntp.conf
+ sources.list: |
+ #!/bin/bash
+ cat /etc/apt/sources.list
+
+# vi: ts=4 expandtab