From Fedora Project Wiki
< User:Roshi | QA/AtomicTests
No edit summary |
Coremodule (talk | contribs) No edit summary |
||
Line 3: | Line 3: | ||
A simple validation test case for Fedora Atomic Hosts. | A simple validation test case for Fedora Atomic Hosts. | ||
|setup= | |setup= | ||
# This testcase can be run locally with [http:// | # This testcase can be run locally with [http://fedoraproject.org/wiki/Local_Test_Cloud_Installation_Guide testCloud] or on a cloud provider (Openstack or EC2). | ||
# Make sure that your security group allows for SSH (default tcp port 22) | # Make sure that your security group allows for SSH (default tcp port 22) | ||
# The following User-data can be used: | # The following User-data can be used: |
Revision as of 17:54, 11 May 2016
Description
A simple validation test case for Fedora Atomic Hosts.
Setup
- This testcase can be run locally with testCloud or on a cloud provider (Openstack or EC2).
- Make sure that your security group allows for SSH (default tcp port 22)
- The following User-data can be used:
#cloud-config password: passw0rd chpasswd: { expire: False } ssh_pwauth: True runcmd: - [ sh, -c, 'echo -e "ROOT_SIZE=4G\nDATA_SIZE=10G" > /etc/sysconfig/docker-storage-setup']
How to test
- Boot image with proper user-data
- SSH into booted image
- Check if docker is installed
rpm -q docker
Expected Results
- The image launches successfully
- You can login to the instance over SSH as
fedora
and you have sudo access - docker-io should be installed
- The instance doesn't crash or show any errors