From Fedora Project Wiki

(Created page with "{{Infobox_group | name = Cloud/Atomic Test Day | image = 300px|link=QA/Test Days | date = 2017-06-20 | time = all day | website = [[QA/Test Days]...")
 
 
(7 intermediate revisions by one other user not shown)
Line 18: Line 18:


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 ...
* Development - [[User:Developer|Developer1]] (irc_nick1), [[User:Developer2|Developer2]] (irc_nick2)
* Development - [[User:dustymabe|Dustymabe]] (irc dustymabe)
* Quality Assurance - [[User:Tester1|Tester1]] (irc_nick3), [[User:Tester2|Tester2]] (irc_nick4)
* Quality Assurance - [[User:Roshi|Roshi]] (irc roshi)


== Prerequisite for Test Day ==  
== Prerequisite for Test Day ==  


List any prerequisite needs for the test event.  A fresh system, virtualized guest, a blank DVD ... a desire to break software?
A fresh system (for Fedora Atomic Host), [https://github.com/Rorosha/testcloud testcloud] to test qcow images locally, or access to a cloud provider like OpenStack or AWS ... a desire to break software?


* Usb key
=== Fedora Atomic Host (FAH) ===
* Usb externally connected HD IDE/SATA
* Empty HD IDE/SATA/SCSI
* Free space on HD


Here's a chunk which is commonly used for most Test Days. Replace XX with whatever Fedora release is pending:
FAH can be run as a traditional cloud image, or installed to bare metal. If you have a spare machine you can install FAH to, please test this '''[https://kojipkgs.fedoraproject.org/compose/branched/Fedora-26-20170619.n.0/compose/Atomic/x86_64/iso/Fedora-Atomic-ostree-x86_64-26-20170619.n.0.iso image]'''. Download the image, write it to a USB stick and install like any other Fedora deliverable. If you need help, please ping in IRC.


* An updated [https://getfedora.org/workstation/prerelease Fedora XX pre-release], or a [https://www.happyassassin.net/nightlies.html Fedora XX nightly image]
=== Qcow2 images ===


== How to test? ==
The Fedora Cloud [https://kojipkgs.fedoraproject.org/compose/branched/Fedora-26-20170619.n.0/compose/CloudImages/x86_64/images/Fedora-Cloud-Base-26-20170619.n.0.x86_64.qcow2 base image] and Atomic images are also delivered as qcow2 images. You can use [https://github.com/Rorosha/testcloud testcloud] to locally boot and test either of these images. You can run testcloud from a git checkout, or use dnf to install it:
 
 
<code>
sudo dnf install testcloud
</code>


High level details on how a contributor can get involved.  This can include (but not limited to):
Once it's installed, you can run testcloud like so:


* Areas to target with exploratory testing
<code>
* A list of pre-defined test cases to execute
testcloud instance create <name of instance> -u https://kojipkgs.fedoraproject.org/compose/branched/Fedora-26-20170619.n.0/compose/CloudImages/x86_64/images/Fedora-Cloud-Base-26-20170619.n.0.x86_64.qcow2
* How to report back results
</code>


Here's another common chunk (again, replace XX as above):
== How to test? ==


=== '''Update your machine''' ===
This testday is more general, so attempt to do anything and everything with these images :) Specifically though, we'd like to take a look at the following scenarios:


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:
'''Atomic:'''
* Deploy applications on top of Atomic
* Upgrades and downgrades of existing Atomic Hosts (preferably with applications running)
* Package layering with on top of the base Atomic OSTree


=== '''Live image''' ===
'''Cloud:'''
* Test different cloud-init configs
* Deploy and run some applications in the cloud


Instead of testing with an installed system, you may download a non-destructive nightly live image for your architecture. Tips on using a live image are available at [[FedoraLiveCD]]. Live image links can be found [https://www.happyassassin.net/nightlies.html here]: please be sure to download one for the correct release.
'''EC2'''
If you have access to Amazon EC2, you can use one of the AMIs listed [https://lists.fedoraproject.org/archives/list/cloud@lists.fedoraproject.org/thread/EEOYK5MJQX7UWAP63RPBO6AQH75CK7O4/ here] for testing.


=== Run the tests ===
=== Run the tests ===


If not using the Test Day app, provide a list of test areas or test cases that you'd like contributors to execute. For examples, see [[:Category:Test_Cases]]. If using the Test Day app, link to it here, with some explanation, e.g.:
Visit the [http://testdays.fedorainfracloud.org/events/22 result page] and click on the column title links to see the tests that need to be run: most column titles are links to a specific test case. Follow the instructions there, then enter your results by clicking the ''Enter result'' button for the test.


Visit the [http://testdays.fedorainfracloud.org/events/NUMBER result page] and click on the column title links to see the tests that need to be run: most column titles are links to a specific test case. Follow the instructions there, then enter your results by clicking the ''Enter result'' button for the test.
This testday is also meant to be exploratory, so the list on the testday app is not at all comprehensive!


== Reporting bugs ==
== Reporting bugs ==


Include some instructions on how to report bugs, and any special instructions. Here's an example, from a Palimpsest test day:
If you find anything that seems wrong or off, please report a bug on [https://bugzilla.redhat.com Bugzilla]. The affected component should be clear from whatever error message you happen to find, but if you aren't sure what component to file against, please file it against '''FIXME'''. 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.


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.
== Test Results ==


== Test Results ==
=== Basic tests ===
{|
! User
! Profile
! [http://fedoraproject.org/wiki/QA:Testcase_base_startup Boot]
! [http://fedoraproject.org/wiki/QA:Testcase_base_system_logging Logging]
! [http://fedoraproject.org/wiki/QA:Testcase_Services_start Services Start]
! [http://fedoraproject.org/wiki/QA:Testcase_base_selinux SELinux]
! [http://fedoraproject.org/wiki/QA:Testcase_base_service_manipulation Service Manipulation]
! References
|-
| [[User:cialu|cialu]]
| Fedora Cloud base image x86
| {{result|pass}}
| {{result|pass}}
| {{result|pass}}
| {{result|pass}}
| {{result|pass}}
| <references/>
|-
| [[User:mrniranjan|mrniranjan]]
|  fedora 26 beta atomic qcow2 image
| {{result|pass}}
|
|
|
|
| <references/>
|-
| [[User:roshi|roshi]]
| testcloud x86 Base image
| {{result|pass}}
| {{result|pass}}
| {{result|pass}}
| {{result|pass}}{{result|pass}}
| {{result|pass}}
| <references/>
|-
| [[User:sinnykumari|sinnykumari]]
| Atomic ISO on bare metal
| {{result|pass}}
| {{result|pass}}
| {{result|pass}}
| {{result|pass}}
| {{result|pass}}
| <references/>
|-
| [[User:sinnykumari|sinnykumari]]
| Atomic qcow2 image using testcloud
| {{result|pass}}
| {{result|pass}}
| {{result|pass}}
| {{result|pass}}
| {{result|pass}}
| <references/>
|-
| [[User:sumantrom|sumantrom]]
| F26  beta qcow2
| {{result|pass}}
| {{result|pass}}
| {{result|pass}}
|
|
| <references/>
|-
| [[User:tenk|tenk]]
|  testcloud on F25 -> fedora 26 beta atomic qcow2 image
| {{result|pass}}
|
| {{result|pass}}
| {{result|pass}}
| {{result|pass}}<ref>use docker service for the  test</ref>
| <references/>
|-
| [[User:tenk|tenk]]
| estcloud on F25 -> fedora 26 beta atomic qcow2 image
|
| {{result|pass}}
|
|
|
| <references/>


If you use the [http://testdays.fedorainfracloud.org/events Test Days app], just explain that users should enter results there and they will be transferred to the page later. For e.g.:
|-
|}


Please enter your results on the [http://testdays.fedorainfracloud.org/events/NUMBER result page]. The results will be transferred here after the Test Day is finished.
=== Atomic ===
{|
! User
! Profile
! [http://fedoraproject.org/wiki/User:Roshi/QA/AtomicTests/Atomic_Docker_Storage_Setup Docker Storage Setup]
! [http://fedoraproject.org/wiki/User:Roshi/QA/AtomicTests/Atomic_Docker_Lifecycle Docker Lifecycle]
! [http://fedoraproject.org/wiki/User:Roshi/QA/AtomicTests/Atomic_Upgrade Atomic Upgrade]
! [http://fedoraproject.org/wiki/User:Roshi/QA/AtomicTests/Atomic_Rollback Atomic Downgrade]
! [http://github.com/projectatomic/rpm-ostree/blob/master/docs/manual/administrator-handbook.md rpm-ostree package overlay]
! References
|-
| [[User:roshi|roshi]]
| testcloud
| {{result|pass}}
| {{result|pass}}
| {{result|pass}}
| {{result|pass}}
| {{result|pass}}
| <references/>
|-
| [[User:sinnykumari|sinnykumari]]
| Atomic ISO on bare metal
| {{result|pass}}
| {{result|pass}}
| {{result|pass}}
| {{result|pass}}
| {{result|pass}}{{result|pass}}
| <references/>
|-
| [[User:sinnykumari|sinnykumari]]
| Atomic qcow2 image using testcloud
| {{result|pass}}
| {{result|pass}}
| {{result|pass}}
| {{result|pass}}
| {{result|pass}}
| <references/>
|-
| [[User:tenk|tenk]]
|  testcloud on F25 -> fedora 26 beta atomic qcow2 image
| {{result|pass}}
|
| {{result|pass}}
|
|
| <references/>
|-
| [[User:tenk|tenk]]
| testcloud on F25 -> fedora 26 beta atomic qcow2 image
|
|
|
| {{result|pass}}
| {{result|pass}}
| <references/>


Otherwise, 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 text to explain reporting. Here is a common setup:
|-
|}


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.
=== Exploratory ===
{|
{|
! User
! User
! [[QA:Testcase_sample_1|Sample test 1]]
! Profile
! [[QA:Testcase_sample_2|Sample test 2]]
! [http://fedoraproject.org/wiki/Test_Day:2017-06-20_Cloud-Atomic_Testday Launch app on Cloud Base image]
! [[QA:Testcase_sample_3|Sample test 3]]
! [http://fedoraproject.org/wiki/Test_Day:2017-06-20_Cloud-Atomic_Testday Launch app on FAH]
! [[QA:Testcase_sample_4|Sample test 4]]
! [http://fedoraproject.org/wiki/Test_Day:2017-06-20_Cloud-Atomic_Testday Custom (write in comment what you did)]
! References
! References
|-
|-
| [[User:SampleUser|Sample User]]
| [[User:roshi|roshi]]
| {{result|none}}
| testcloud x86 Base image
| {{result|pass}}
| {{result|pass}}<ref>Launched a couple web applications via git. They seemed to run fine.</ref>
| {{result|warn}} <ref>Test pass, but also encountered {{bz|54321}}</ref>
| {{result|pass}}<ref>Launched a couple web applications via git. They seemed to run fine.</ref>
| {{result|fail}} <ref>{{bz|12345}}</ref>
| {{result|pass}}<ref>Launched a couple web applications via git. They seemed to run fine.</ref>
| <references/>
| <references/>
|-
|}
=== Cloud Providers ===
{|
! User
! Profile
! [http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/using-features.customenv.html Launch on AWS]
! [http://docs.openstack.org/user-guide/dashboard-manage-images.html Launch on OpenStack (requires openstack instance)]
! References
|-
|-
|}
|}

Latest revision as of 22:06, 25 February 2020

Cloud/Atomic Test Day

Date 2017-06-20
Time all day

Website QA/Test Days
IRC #fedora-test-day (webirc)
Mailing list test


Can't make the date?
If you come to this page before or after the test day is completed, your testing is still valuable, and you can use the information on this page to test, file any bugs you find at Bugzilla, and add your results to the results section. If this page is more than a month old when you arrive here, please check the current schedule and see if a similar but more recent Test Day is planned or has already happened.

What to test?[edit]

Today's instalment of Fedora Test Day will focus on Fedora Atomic and Cloud images

Who's available[edit]

The following cast of characters will be available testing, workarounds, bug fixes, and general discussion ...

  • Development - Dustymabe (irc dustymabe)
  • Quality Assurance - Roshi (irc roshi)

Prerequisite for Test Day[edit]

A fresh system (for Fedora Atomic Host), testcloud to test qcow images locally, or access to a cloud provider like OpenStack or AWS ... a desire to break software?

Fedora Atomic Host (FAH)[edit]

FAH can be run as a traditional cloud image, or installed to bare metal. If you have a spare machine you can install FAH to, please test this image. Download the image, write it to a USB stick and install like any other Fedora deliverable. If you need help, please ping in IRC.

Qcow2 images[edit]

The Fedora Cloud base image and Atomic images are also delivered as qcow2 images. You can use testcloud to locally boot and test either of these images. You can run testcloud from a git checkout, or use dnf to install it:


sudo dnf install testcloud

Once it's installed, you can run testcloud like so:

testcloud instance create <name of instance> -u https://kojipkgs.fedoraproject.org/compose/branched/Fedora-26-20170619.n.0/compose/CloudImages/x86_64/images/Fedora-Cloud-Base-26-20170619.n.0.x86_64.qcow2

How to test?[edit]

This testday is more general, so attempt to do anything and everything with these images :) Specifically though, we'd like to take a look at the following scenarios:

Atomic:

  • Deploy applications on top of Atomic
  • Upgrades and downgrades of existing Atomic Hosts (preferably with applications running)
  • Package layering with on top of the base Atomic OSTree

Cloud:

  • Test different cloud-init configs
  • Deploy and run some applications in the cloud

EC2 If you have access to Amazon EC2, you can use one of the AMIs listed here for testing.

Run the tests[edit]

Visit the result page and click on the column title links to see the tests that need to be run: most column titles are links to a specific test case. Follow the instructions there, then enter your results by clicking the Enter result button for the test.

This testday is also meant to be exploratory, so the list on the testday app is not at all comprehensive!

Reporting bugs[edit]

If you find anything that seems wrong or off, please report a bug on Bugzilla. The affected component should be clear from whatever error message you happen to find, but if you aren't sure what component to file against, please file it against FIXME. 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.

Test Results[edit]

Basic tests[edit]

User Profile Boot Logging Services Start SELinux Service Manipulation References
cialu Fedora Cloud base image x86
Pass pass
Pass pass
Pass pass
Pass pass
Pass pass
mrniranjan fedora 26 beta atomic qcow2 image
Pass pass
roshi testcloud x86 Base image
Pass pass
Pass pass
Pass pass
Pass pass
Pass pass
Pass pass
sinnykumari Atomic ISO on bare metal
Pass pass
Pass pass
Pass pass
Pass pass
Pass pass
sinnykumari Atomic qcow2 image using testcloud
Pass pass
Pass pass
Pass pass
Pass pass
Pass pass
sumantrom F26 beta qcow2
Pass pass
Pass pass
Pass pass
tenk testcloud on F25 -> fedora 26 beta atomic qcow2 image
Pass pass
Pass pass
Pass pass
Pass pass
[1]
  1. use docker service for the test
tenk estcloud on F25 -> fedora 26 beta atomic qcow2 image
Pass pass

Atomic[edit]

User Profile Docker Storage Setup Docker Lifecycle Atomic Upgrade Atomic Downgrade rpm-ostree package overlay References
roshi testcloud
Pass pass
Pass pass
Pass pass
Pass pass
Pass pass
sinnykumari Atomic ISO on bare metal
Pass pass
Pass pass
Pass pass
Pass pass
Pass pass
Pass pass
sinnykumari Atomic qcow2 image using testcloud
Pass pass
Pass pass
Pass pass
Pass pass
Pass pass
tenk testcloud on F25 -> fedora 26 beta atomic qcow2 image
Pass pass
Pass pass
tenk testcloud on F25 -> fedora 26 beta atomic qcow2 image
Pass pass
Pass pass

Exploratory[edit]

User Profile Launch app on Cloud Base image Launch app on FAH Custom (write in comment what you did) References
roshi testcloud x86 Base image
Pass pass
[1]
Pass pass
[2]
Pass pass
[3]
  1. Launched a couple web applications via git. They seemed to run fine.
  2. Launched a couple web applications via git. They seemed to run fine.
  3. Launched a couple web applications via git. They seemed to run fine.

Cloud Providers[edit]

User Profile Launch on AWS Launch on OpenStack (requires openstack instance) References