From Fedora Project Wiki
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 5: | Line 5: | ||
| date = 2015-03-24 | | date = 2015-03-24 | ||
| time = all day | | time = all day | ||
| website = [[QA/ | | website = [[QA/Fedora_21_test_days]] | ||
| irc = [irc://irc.freenode.net/#fedora-test-day #fedora-test-day] ([http://webchat.freenode.net/?channels=fedora-test-day webirc]) | | irc = [irc://irc.freenode.net/#fedora-test-day #fedora-test-day] ([http://webchat.freenode.net/?channels=fedora-test-day webirc]) | ||
| fedora_mailing_list = cockpit-devel | | fedora_mailing_list = cockpit-devel | ||
Line 30: | Line 30: | ||
The test machine should ideally have multiple disks and multiple network interfaces. If you use a virtual machine, just add some virtual disks and network adapters. | The test machine should ideally have multiple disks and multiple network interfaces. If you use a virtual machine, just add some virtual disks and network adapters. | ||
* '''Install Fedora 22 Server.''' Make sure that your installation is recent enough. Either install [https://getfedora.org/en/server/prerelease/ Fedora | * '''Install Fedora 22 Server.''' Make sure that your installation is recent enough. Either install [https://getfedora.org/en/server/prerelease/ Fedora 21 Server Alpha] or run <code>yum update</code> in an older Fedora 22 Server installation. You should have at least Cockpit 0.44. In the Server variant of Fedora 22, Cockpit is enabled by default. For other variants, please refer to the Notes at the end of this page. | ||
* '''Image for virt-manager''' : http://fedorapeople.org/groups/qa/xxxxx TODO | |||
** user/password: test/test root/internal | |||
* '''Image for virt-manager''' : | |||
** user/password: | |||
<pre> | <pre> | ||
# curl https://fedorapeople.org/groups/qa/ | # curl https://fedorapeople.org/groups/qa/xxxxx > xxxx-VM-disk-image.qcow2.xz | ||
# unxz | # unxz xxxx-VM-disk-image.qcow2.xz | ||
# yum -y install qemu\* | # yum -y install qemu\* | ||
# systemctl restart libvirtd | # systemctl restart libvirtd | ||
# virt-install --connect qemu:///system --ram | # virt-install --connect qemu:///system --ram 1024 -n cockpit --os-type=linux --os-variant=fedora20 --disk path=xxxx-VM-disk-image.qcow2,device=disk,format=qcow2 --vcpus=1 --vnc --noautoconsole --import | ||
# | # virt-manager & | ||
</pre> | </pre> | ||
Note that Docker is not enabled by default, but the test cases will tell you how to enable it. | |||
== How to test? == | == How to test? == | ||
After boot, Cockpit is up and running and listens on port 9090. | After boot, Cockpit is up and running and listens on port 9090. | ||
* Point a browser at '''<code>http:</code><code>//<server-ip-address>:9090</code>'''. | * Point a browser at '''<code>http:</code><code>//<server-ip-address>:9090</code>'''. | ||
* Cockpit's login page will load. | * Cockpit's login page will load. | ||
Line 61: | Line 53: | ||
(Here, <code><server-ip-address></code> is the IP address of your machine. You can find it by logging into the machine on the text console as "root" and running <code>ip addr</code>.) | (Here, <code><server-ip-address></code> is the IP address of your machine. You can find it by logging into the machine on the text console as "root" and running <code>ip addr</code>.) | ||
Once the Cockpit log in screen is loaded in your browser, log in as "root" | Once the Cockpit log in screen is loaded in your browser, log in as "root". You can log into Cockpit as any user that exists on the machine, but currently only "root" has enough privileges to execute the test cases. Trying with any other user, even those that are in the "wheel" group, will likely lead to "permission denied" or "not authorized". | ||
The test cases are intentionally a bit vague. They don't tell you exactly what button to click, and what to type into which field. You have to figure that out yourself! :-) Cockpit should be `discoverable´, and your feedback about this is very valuable. | The test cases are intentionally a bit vague. They don't tell you exactly what button to click, and what to type into which field. You have to figure that out yourself! :-) Cockpit should be `discoverable´, and your feedback about this is very valuable. | ||
Line 74: | Line 66: | ||
* '''Basic''' | * '''Basic''' | ||
** [[QA:Testcase Cockpit Login|Password change]] | |||
** [[QA:Testcase Cockpit Account|Create user account]] | ** [[QA:Testcase Cockpit Account|Create user account]] | ||
* '''Storage''' | * '''Storage''' | ||
Line 94: | Line 86: | ||
If you have problems with any of the tests, report a bug either on [http://github.org/cockpit-project/cockpit/issues Github] or in [http://bugzilla.redhat.com/enter_bug.cgi?component=cockpit&product=Fedora&version=22 Bugzilla]. | If you have problems with any of the tests, report a bug either on [http://github.org/cockpit-project/cockpit/issues Github] or in [http://bugzilla.redhat.com/enter_bug.cgi?component=cockpit&product=Fedora&version=22 Bugzilla]. | ||
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 tables 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. | 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 tables 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. | ||
Line 105: | Line 94: | ||
! User | ! User | ||
! Hardware | ! Hardware | ||
! [ | ! [http://fedoraproject.org/wiki/QA:Testcase_Cockpit_Login Password change] | ||
! [ | ! [http://fedoraproject.org/wiki/QA:Testcase_Cockpit_Account Create user account] | ||
! References | ! References | ||
|- | |- | ||
| [[User: | | [[User:Stefw|Stefw]] | ||
| Lenovo laptop | | Lenovo laptop | ||
| {{result|pass|| | | {{result|pass||XXXXXXX}}<ref>Example entry</ref> | ||
| {{result|fail|| | | {{result|fail||1000000}} | ||
| <references/> | | <references/> | ||
|- | |- | ||
Line 119: | Line 108: | ||
| {{result|fail||1203632}} | | {{result|fail||1203632}} | ||
| {{result|pass||}} | | {{result|pass||}} | ||
| <references/> | | <references/> | ||
|- | |- | ||
Line 194: | Line 117: | ||
! User | ! User | ||
! Hardware | ! Hardware | ||
! [ | ! [http://fedoraproject.org/wiki/QA:Testcase_Cockpit_DiskIO Monitor disk I/O] | ||
! [ | ! [http://fedoraproject.org/wiki/QA:Testcase_Cockpit_RAID Create a RAID Device] | ||
! [ | ! [http://fedoraproject.org/wiki/QA:Testcase_Cockpit_LVM Create a Logical Volume] | ||
! References | ! References | ||
|- | |- | ||
Line 204: | Line 127: | ||
| {{result|pass}} | | {{result|pass}} | ||
| {{result|pass}} | | {{result|pass}} | ||
| <references/> | | <references/> | ||
|- | |- | ||
Line 277: | Line 137: | ||
! User | ! User | ||
! Hardware | ! Hardware | ||
! [ | ! [http://fedoraproject.org/wiki/QA:Testcase_Cockpit_DockerImage Download and run image] | ||
! [ | ! [http://fedoraproject.org/wiki/QA:Testcase_Cockpit_DockerCommit Create a new image and run it] | ||
! References | ! References | ||
|- | |- | ||
Line 286: | Line 146: | ||
| {{result|pass}} | | {{result|pass}} | ||
| <references/> | | <references/> | ||
|} | |} | ||
Line 392: | Line 153: | ||
<pre> | <pre> | ||
# | # yum -y install cockpit docker-io fedora-dockerfiles wmdocker | ||
# firewall-cmd --permanent --add-service cockpit | # firewall-cmd --permanent --add-service=cockpit | ||
# | # systemctl reload firewalld.service | ||
# systemctl start cockpit.socket | # systemctl start cockpit.socket | ||
# systemctl enable cockpit.socket | # systemctl enable cockpit.socket | ||
</pre> | </pre> | ||
== Long comments == | == Long comments == | ||
<references group="long" /> | <references group="long" /> | ||
[[Category:Fedora 22 Test Days|c]] | [[Category:Fedora 22 Test Days|c]] |