From Fedora Project Wiki

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
{{Infobox_group
{{Infobox_group
| name = Fedora Test Days
| name = Fedora Test Days
| image = [[File:Echo-testing-48px.png|link=QA/Fedora_21_test_days]]
| image = [[File:Echo-testing-48px.png|link=QA/Fedora_19_test_days]]
| caption = Easily deploy and manage your Docker containers
| caption = [[FIXME|FIXME]]
| date = 20 November 2014
| date = 20 November 2014
| time = all day
| time = all day
Line 19: Line 19:


The following cast of characters will be available testing, workarounds, bug fixes, and general discussion ...
The following cast of characters will be available testing, workarounds, bug fixes, and general discussion ...
* Cloud SIG - [[User:Jzb|Joe Brockmeier]] (jzb), [[user:mattdm|Matthew Miller]] (mattdm), [[user:dustymabe|Dusty Mabe]] (dustymabe), [[User:kilted1|Scott Suehle]] (kilted1)
* Cloud SIG - [[User:Jzb|Joe Brockmeier]] (jzb)
* Quality Assurance - [[User:Roshi|Roshi]] (roshi)
* Development - [[User:Developer1|Developer1]] (irc_nick1), [[User:Developer2|Developer2]] (irc_nick2)
* Just a user - [[User:Znmeb|Ed Borasky]] (znmeb^)
* Quality Assurance - [[User:Tester1|Tester1]] (irc_nick3), [[User:Tester2|Tester2]] (irc_nick4), [[User:Tester3|Tester3]] (irc_nick5)


== Prerequisite for Test Day ==  
== Prerequisite for Test Day ==  
Line 27: Line 27:
You'll need to either have an AWS account or a system that's capable of running one of the Atomic images for KVM/OpenStack.
You'll need to either have an AWS account or a system that's capable of running one of the Atomic images for KVM/OpenStack.


* OpenStack installation [outside the scope of test day to set up!]
* Usb key
* Virt-Manager or KVM setup to run the qcow2 image.
* Usb externally connected HD IDE/SATA
* Run [http://github.com/Rorosha/testCloud testCloud] locally
* Empty HD IDE/SATA/SCSI
* Free space on HD


* An updated [https://kojipkgs.fedoraproject.org//work/tasks/8904/8118904/Fedora-Cloud-Atomic-20141112-21.x86_64.qcow2 test image], or later nightly live image if one is released before 20 November.
Here's a chunk which is commonly used for most Test Days. Replace XX with whatever Fedora release is pending:


== Links for "how to setup" for the Test Day ==
* An updated [http://fedoraproject.org/get-prerelease Fedora 21 pre-release Atomic image], or a nightly live image.


* Refer [http://www.projectatomic.io/docs/quickstart/ quickstart guide] for setup Atomic with Virt-manager or KVM
== How to test? ==
* Don't know how to create cloud init iso? refer [https://www.technovelty.org//linux/running-cloud-images-locally.html running-cloud-images-locally]


== AMIs for Test Day ==
High level details on how a contributor can get involved.  This can include (but not limited to):


* Areas to target with exploratory testing
* A list of pre-defined test cases to execute
* How to report back results


{| class="wikitable"
Here's another common chunk (again, replace XX as above):
!Region
!AMI name
|-
|us-east-1     
|ami-a8c95dc0
|-
|us-west-1
|ami-879187c2
|-
|us-west-2     
|ami-f7256fc7
|-
|eu-west-1     
|ami-7ec97e09
|-
|eu-central-1   
|ami-6072437d
|-
|ap-southeast-1 
|ami-9c6547ce
|-
|ap-northeast-1 
|ami-4d655e4c
|-
|ap-southeast-2 
|ami-4f3c5275
|-
|sa-east-1     
|ami-676ddb7a
|}
 
== How to test? ==


We need to test several things on the Fedora Atomic release before Fedora 21 Final.
=== '''Update your machine''' ===


* Test with a variety of Docker images. We do want to test the Fedora images in particular, but also we need to test a wide variety of images to see if there are any hidden bugs or problems we might not have noticed yet.
If you're running Fedora XX, make sure you have all the current updates for it installed, using the update manager. If you want to try Rawhide, see the instructions on the [[Releases/Rawhide|Rawhide]] page on the various ways in which you can install or update to Rawhide. Or:
* Test Cockpit to make sure that managing Docker images and connecting multiple hosts works.
* Try out Kubernetes and make sure those packages are working.
* Test out the rpm-ostree/atomic update/rollback commands and other functions.
* Try out docker-storage-config.
* What is the image/package set missing? What is unnecessary?


=== '''Grab the Image''' ===
=== '''Live image''' ===


To test Fedora Atomic, we're going to use a Koji build located here: [https://kojipkgs.fedoraproject.org//work/tasks/8904/8118904/Fedora-Cloud-Atomic-20141112-21.x86_64.qcow2]. You can also use one of the AMIs if you would prefer to do your testing on Amazon Web Services.
Optionally, you may download a non-destructive Rawhide live image for your architecture. Tips on using a live image are available at [[FedoraLiveCD]]. Live images can be found [http://alt.fedoraproject.org/pub/alt/nightly-composes/desktop/ here].


== Test Cases ==
== Test Cases ==


Fedora Cloud Working Group member Dusty Mabe has [https://gist.github.com/dustymabe/bf955b6afa8177ecf6fc quite a few tests on this Gist]. For other examples, see [[:Category:Test_Cases]].
Provide a list of test areas or test cases that you'd like contributors to execute. For other examples, see [[:Category:Test_Cases]].
 
For better worded test steps please refer to Mike's pages: [[User:Roshi/QA/AtomicTests]]


== Test Results ==
== Test Results ==


=== Atomic Tests ===
Construct a table or list to allow testers to post results.  Each column should be a test case or configuration, and each row should consist of test results. Include some instructions on how to report bugs, and any special instructions. Here's an example, from a Palimpsest test day:


{|
If you have problems with any of the tests, report a bug to [https://bugzilla.redhat.com Bugzilla] usually for the component [https://bugzilla.redhat.com/enter_bug.cgi?product=Fedora&version=13&component=udisks udisks], or [https://bugzilla.redhat.com/enter_bug.cgi?product=Fedora&version=13&component=gnome-disk-utility gnome-disk-utility] for bugs in the Palimpsest graphical front end itself. If you are unsure about exactly how to file the report or what other information to include, just ask on IRC and we will help you. Once you have completed the tests, add your results to the Results table below, following the example results from the first line as a template. The first column should be your name with a link to your User page in the Wiki if you have one. For each test case, use the [[Template:result|result template]] to enter your result, as shown in the example result line.
! User
! Hardware
! [[User:Roshi/QA/AtomicTests/Atomic_Image_Boots|Image Boots]]
! [[User:Roshi/QA/AtomicTests/Atomic_Upgrade|Upgrade Works]]
! [[User:Roshi/QA/AtomicTests/Atomic_Rollback|Rollback Works]]
! References
|-
| [[User:larsks|larsks]]
| openstack
| {{result|pass}} 
| {{result|pass}} 
| {{result|pass}} 
| <references/>
|-
| [[User:ssamanta|ssamanta]]
| testvm1
| {{result|pass}} 
|
|
| <references/>
|-
| [[User:Anil|Anil]]
| Virt-Manager
| {{result|pass}}  {{result|pass}} 
| {{result|pass}} 
| {{result|pass}} 
| <references/>
|-
| [[User:amrithajij|amrithajij]]
| KVM
| {{result|warn}}  <ref group="long">All works well except the command - [ sh, -c, 'echo -e "ROOT_SIZE=4G DATA_SIZE=10G" > /etc/sysconfig/docker-storage-setup'] . Thus created the file manually and added ROOT_SIZE=4G DATA_SIZE=10G.</ref>
| {{result|pass}} 
| {{result|pass}} 
| <references/>
|-
| [[User:lnie|lnie]]
| KVM
| {{result|pass}} 
| {{result|pass}} 
|
| <references/>
|-
| [[User:roshi|roshi]]
| KVM
| {{result|pass}} 
| {{result|pass}} 
| {{result|pass}} 
| <references/>
|-
| [[User:sinnykumari|sinnykumari]]
| KVM
| {{result|warn}}  <ref group="long">I tried test mentioned on [[User:Roshi/QA/AtomicTests/Atomic_Image_Boots|roshi page]] . Everything worked well but "runcmd: - [ sh, -c, 'echo -e "ROOT_SIZE=4G DATA_SIZE=10G" > /etc/sysconfig/docker-storage-setup']" didn't run for me. So, added "ROOT_SIZE=4G DATA_SIZE=10G" content in etc/sysconfig/docker-storage-setup file manually.</ref>
|
|
| <references/>
|-
| [[User:sten|sten]]
| openstack RHOSP5 x64
| {{result|pass}} 
| {{result|pass}} 
| {{result|pass}} 
| <references/>
|-
| [[User:jzb|jzb]]
| KVM
| {{result|pass}}  <ref>Yup. Happy result there.</ref>
| {{result|pass}}  <ref>atomic upgrade worked a treat. All happy.</ref>
| {{result|pass}} 
| <references/>
|-
| [[User:jkalliyat|jkalliyat]]
| KVM
| {{result|warn}}  <ref>Executed the 'runcmd' manually to make it work. </ref>
|
|
| <references/>
|-
| [[User:dustymabe|dustymabe]]
| Openstack Juno on F21
| {{result|pass}} 
| {{result|pass}} 
| {{result|pass}} 
| <references/>
|-
| [[User:Prasanth|Prasanth]]
| VM on KVM
| {{result|warn}}  <ref>Executed the 'runcmd' manually to make it work.</ref>
| {{result|pass}} 
|
| <references/>
|-
| [[User:lalatendu|lalatendu]]
| VM on virt-manager
| {{result|pass}}  <ref>runcmd issue</ref>
| {{result|pass}}
| {{result|pass}}
| <references/>
|-
|}
 
=== Docker Tests ===


{|
{|
! User
! User
! Hardware
! [[QA:Testcase_sample_1|Sample test 1]]
! [[User:Roshi/QA/AtomicTests/Atomic_Docker_Storage_Setup|docker-storage-setup]]
! [[QA:Testcase_sample_2|Sample test 2]]
! [[User:Roshi/QA/AtomicTests/Atomic_Docker_Lifecycle|Docker Lifecycle]]
! [[QA:Testcase_sample_3|Sample test 3]]
! [[QA:Testcase_sample_4|Sample test 4]]
! References
! References
|-
|-
| [[User:larsks|larsks]]
| [[User:SampleUser|Sample User]]
| openstack
| {{result|none}}  
| {{result|pass}}  <ref>Appears to have run automatically (and successfully).</ref>
| {{result|pass}}  <ref>Started/interacted with/stopped fedora and ubuntu containers.</ref>
| <references/>
|-
| [[User:amrithajij|amrithajij]]
| KVM
| {{result|warn}}  <ref>Manually expanded the qcow2 image fron host and then ran journalctl -o cat --unit docker-storage-setup.service.</ref>
| {{result|pass}} 
| <references/>
|-
| [[User:roshi|roshi]]
| KVM
| {{result|pass}} 
| {{result|pass}} 
| <references/>
|-
| [[User:sinnykumari|sinnykumari]]
| KVM
| {{result|warn}} <ref>In test case https://fedoraproject.org/wiki/User:Roshi/QA/AtomicTests/Atomic_Docker_Storage_Setup
 
changes get reflected after rebooting VM</ref>
|
| <references/>
|-
| [[User:sten|sten]]
| openstack RHOSP5 x64
| {{result|pass}} 
| {{result|pass||1164058}}
 
That confused me, but just using "sudo docker foo" works. </ref>
| <references/>
|-
| [[User:jzb|jzb]]
| KVM
| {{result|pass}}  <ref>Works a treat.</ref>
| {{result|pass}}  <ref>All good here.</ref>
| <references/>
|-
| [[User:dustymabe|dustymabe]]
| Openstack Juno on F21
| {{result|pass}} 
| {{result|pass}} 
| <references/>
|-
| [[User:lalatendu|lalatendu]]
| VM on virt-manager
| {{result|pass}}
</ref>
| {{result|pass}}
| {{result|pass}}
| <references/>
| {{result|warn}} <ref>Test pass, but also encountered {{bz|54321}}</ref>
|-
| {{result|fail}} <ref>{{bz|12345}}</ref>
| [[User:nkhare|nkhare]]
| vm
|
| {{result|pass}}
| <references/>
| <references/>
|-
|-
|}
|}
=== Bugs filled during Test Day (20th Nov 2014) ===
[https://bugzilla.redhat.com/show_bug.cgi?id=1166073 1166073]
[https://bugzilla.redhat.com/show_bug.cgi?id=1166082 1166082]
=== Other Common Bugs ===
[https://bugzilla.redhat.com/show_bug.cgi?id=1164058 1164058]
== Long comments ==
<references group="long" />


[[Category:Fedora 21 Test Days]]
[[Category:Fedora 21 Test Days]]
Please note that all contributions to Fedora Project Wiki are considered to be released under the Attribution-Share Alike 4.0 International (see Fedora Project Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To edit this page, please solve the following task below and enter the answer in the box (more info):

Cancel Editing help (opens in new window)