Advertisement
Guest User

Untitled

a guest
Feb 13th, 2013
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.80 KB | None | 0 0
  1. <JoseeAntonioR> Logs for this session will be available at http://irclogs.ubuntu.com/2013/02/13/%23ubuntu-classroom.html following the conclusion of the session.
  2. <smartboyhw> JoseeAntonioR, thanks!
  3. <JoseeAntonioR> :)
  4. <smartboyhw> Hello everyone!
  5. <smartboyhw> I'm Howard Chan, an active QA contributor mainly doing ISO testing.
  6. * ChanServ quita voz a balloons
  7. * ChanServ da voz a balloons2
  8. <smartboyhw> If you have been paying attention to our previous sessions, you would have learnt:
  9. <smartboyhw> How to sign up in Launchpad and mailing list
  10. * jackyalcine es ahora conocido como zz_jackyalcine
  11. <smartboyhw> How to use the wiki and IRC and toolset
  12. * zz_jackyalcine es ahora conocido como jackyalcine
  13. <smartboyhw> How to write manual testcases and report bugs
  14. <smartboyhw> How to use zsync, VirtualBox, KVM and testdrive
  15. <smartboyhw> And finally, how to do laptop testing
  16. <smartboyhw> So today we are doing ISO testing!
  17. <smartboyhw> Why do we need to do ISO testing?
  18. <smartboyhw> When a normal user goes and installs Ubuntu, there are many ways that he/she will install Ubuntu
  19. <smartboyhw> For example, using a desktop image
  20. <smartboyhw> Or using Wubi
  21. <smartboyhw> Even maybe a netboot ISO
  22. <smartboyhw> If a user meets a bug during installation, he will get unpleased or maybe even remove Ubuntu, which we absolutely don't want to
  23. <smartboyhw> mote asked: ISO testing are mainly to test the installation process?
  24. <smartboyhw> Well mote: You are correct!
  25. <smartboyhw> We normally do ISO testing to make sure they are bug-free (at least critical-bug-free) and that they can install it
  26. <smartboyhw> That's one of the main testing roles we do
  27. <smartboyhw> So what do you need ?
  28. <smartboyhw> 1. A Launchpad account. It shouldn't be difficult if you have been following balloons2's sessions
  29. <smartboyhw> *session
  30. <JoseeAntonioR> mote asked: Are testing in WM, not insuffient, as many problems are due to hardware setup?
  31. <smartboyhw> mote, I can't really understand the question.....
  32. <smartboyhw> But if mote is asking about VMs are not good enough
  33. <smartboyhw> Then yes!
  34. * jackyalcine es ahora conocido como zz_jackyalcine
  35. * zz_jackyalcine es ahora conocido como jackyalcine
  36. <smartboyhw> For example, if we want to test UEFI bootloaders it would be difficult to do so in a VM.
  37. <smartboyhw> So this is our second requirement for doing ISO tests: A real machine (spare one, don't use your main one) or a VM
  38. <smartboyhw> You can have multiple choices
  39. <smartboyhw> For example Oracle VM VirtualBox, VMware Player, Testdrive or KVm
  40. <JoseeAntonioR> nearst asked: can we use this iso test for example when i backup my ubuntu with remastersys?
  41. <smartboyhw> nearst, the ISO test must go through an ISO (image) installation
  42. <smartboyhw> So if the backup is just simply an backup then no
  43. * smartboyhw has never used remastersys before
  44. <JoseeAntonioR> plustwo asked: if using a VM for ISO testing, would the results be close enough to testing using physical h/w?
  45. <smartboyhw> plustwo: Nice one
  46. <smartboyhw> Answer: Not quite
  47. <smartboyhw> As I have said before, it can be completely different
  48. <smartboyhw> For example, you can't really do wireless connection in a VM
  49. <smartboyhw> But when you can't connect to the network in a real machine using wireless, that is a problem
  50. <JoseeAntonioR> GridCube asked: Which tests are critical on alpha, beta, and final release tests?
  51. <smartboyhw> GridCube, basically everything
  52. <smartboyhw> We need to make sure all the tests can pass on release
  53. <smartboyhw> GridCube, for example
  54. <smartboyhw> Kubuntu can't release their 13.04 Alpha 1 amd64+mac images
  55. <smartboyhw> Since the tests aren't met
  56. <smartboyhw> Especially when final release all tests must be a passed one
  57. * jackyalcine es ahora conocido como zz_jackyalcine
  58. * zz_jackyalcine es ahora conocido como jackyalcine
  59. <smartboyhw> In Alpha releases we normally use Virtual machines
  60. <smartboyhw> In beta and especially in final releases though we use real machines to do testing
  61. <smartboyhw> So, any questions about the requirements?
  62. <smartboyhw> If not let's move on.
  63. <smartboyhw> Now, if you have read the wiki page https://wiki.ubuntu.com/Testing/Activities/Classroom/Section3
  64. <smartboyhw> (which is included in the classroom blog post
  65. <smartboyhw> You should have downloaded an ISO.
  66. <smartboyhw> I myself will test a Ubuntu 12.04.2 Desktop amd64 image today
  67. <smartboyhw> Alongside you guys:)
  68. <JoseeAntonioR> plustwo asked: can one select which part of the ISO testing to do and send the test results back to you guys?
  69. <smartboyhw> plustwo, certainly!
  70. <smartboyhw> That is exactly what I want to talk about later
  71. <smartboyhw> The ISO tracker
  72. <smartboyhw> But for the first part of the question: You can freely choose whatever flavour you want
  73. <smartboyhw> For example, Ubuntu 12.04.2 Alternate amd64
  74. <smartboyhw> Or Ubuntu Studio 12.04.2 DVD i386
  75. <smartboyhw> Or Kubuntu Desktop 13.04 Alpha 2 amd64
  76. <JoseeAntonioR> nearst asked: if im setup vmware with usb wireless connect to vm, is it pass for requirement?
  77. <smartboyhw> nearst: Hmm
  78. <smartboyhw> The problem is that even though you have done that
  79. <smartboyhw> It still doesn't really emulate the real hardware environment
  80. <smartboyhw> Sure that is also OK. It is just that it isn't good enough
  81. <smartboyhw> Enough questions? We need to move on:P
  82. <smartboyhw> Now if you haven't downloaded an ISO please download one at cdimage.ubuntu.com
  83. <balloons2> it would help test the installer, and usb wireless may be used, but as smartboyhw said, if possible real hw is preferred. its very much a valid testpoint though and useful to have
  84. <smartboyhw> That's the point of using real h/w
  85. <smartboyhw> Of course if you want to test the same ISO as mine
  86. <smartboyhw> Download it from http://cdimage.ubuntu.com/precise/daily-live/current
  87. <balloons2> I actually think the usb wireless in a vm is kind of slick ;-)
  88. * jackyalcine es ahora conocido como zz_jackyalcine
  89. <smartboyhw> Yes 1
  90. * zz_jackyalcine es ahora conocido como jackyalcine
  91. <smartboyhw> * Yes !
  92. <smartboyhw> Now let's drop in into the ISO QA Tracker!!!!
  93. <smartboyhw> Go to iso.qa.ubuntu.com
  94. <smartboyhw> You should see a "Log in" button on the left-hand side
  95. <smartboyhw> Click on it, enter your Launchpad e-mail address and password
  96. <smartboyhw> Then click "Log in again"
  97. <smartboyhw> You should see a page about what credentials would you like to share
  98. <smartboyhw> Just click "Yes, sign me in"
  99. <smartboyhw> After login, you should see your launchpad nick on the top-right hand corner
  100. <smartboyhw> Raring Alpha 2 and Precise 12.04.2 is going to be released tomorrow (seriously) so we need to set these images as priority
  101. <smartboyhw> We shall ignore Raring Alpha 2 since only Kubuntu is going to have it, other flavours don't
  102. <smartboyhw> So let
  103. <smartboyhw> us click on "Precise 12.04.2"!
  104. <smartboyhw> In this page you can see all the ISO images available for testing, the number of testcases done and also the number of bugs....
  105. <smartboyhw> Since I downloaded a Ubuntu Desktop image, I shall select "Ubuntu Desktop amd64"
  106. * balloons2 notes if you have a different iso downloaded you can still follow along without worry
  107. <smartboyhw> Then you shall see the testcases available for you to test:)
  108. <smartboyhw> If you don't want to follow me no worries
  109. <smartboyhw> Plenty of ISOs for you to choose from (LOL)
  110. <smartboyhw> Now I'm going to do "Install (entire disk)" since I'm going to use VirtualBox
  111. <smartboyhw> To start with:)
  112. <smartboyhw> Click on the testcase you want to help test
  113. <smartboyhw> And in the testcase page click on testcase
  114. <smartboyhw> You might wonder why there is only a link to testcases.qa.ubuntu.com instead of a full testcase listed here for convenience
  115. <smartboyhw> Truth be told: It isn't available for Precise only
  116. <smartboyhw> If you go click on the Raring testcases you shall see full beautifully-written testcases, written by the testcase admins team
  117. <smartboyhw> phillw should have taught you how to write one:)
  118. <smartboyhw> So now: It is time to start installing the image!
  119. <smartboyhw> So first of all I'm setting up my VirtualBox VM
  120. <smartboyhw> Launch VirtualBox (If you haven't installed it, type "sudo apt-get install virtualbox virtualbox-dkms"
  121. <smartboyhw> Select "New"
  122. <smartboyhw> Click "Next"
  123. <smartboyhw> Type whatever the name you want (it doesn't matter)
  124. <smartboyhw> For me I will be using this name:
  125. <smartboyhw> "Ubuntu 12.04.2 LTS 20130211 64-bit"
  126. <smartboyhw> Make sure in "OS Type" the Operating System is "Linux" and the version is "Ubuntu" or "Ubuntu (64 bit)"
  127. <smartboyhw> Select a suitable memory size
  128. <smartboyhw> You don't want too much (unless you have a machine with 1TB ram:P)
  129. * jackyalcine es ahora conocido como zz_jackyalcine
  130. <smartboyhw> Click "Next" (and sorry for missing it between the operating system and the memory part)
  131. <smartboyhw> Tick "Start-up Disk" and choose "Create new hard disk"
  132. <smartboyhw> Click "Next" again and the "virtual disk creation wizard" shall appear
  133. <smartboyhw> For this test I will choose "VDI (VirtualBox Disk Image)
  134. <smartboyhw> Click "Next"
  135. <smartboyhw> You can either choose "dynamically allocated" or "fixed size".
  136. <smartboyhw> However if you are planning to have a big Virtual disk use "dynamically allocated"
  137. <smartboyhw> Click "Next"
  138. <smartboyhw> Leave the file location by default
  139. <smartboyhw> Select the disk size. Make sure it is at least 6 GB.
  140. <smartboyhw> The default (8 GB) should be good enough anyway
  141. <smartboyhw> Click "Next"
  142. <smartboyhw> Make sure nothing is wrong, then select "Create"
  143. <smartboyhw> Same screen again for the VM.
  144. <smartboyhw> Click "create" and you have successfully created a VirtualBox VM!
  145. <smartboyhw> Click "start" (don't worry about your ISO image not yet used, it is coming!)
  146. <smartboyhw> You might have some messages popping out, so just click "OK" for these.
  147. <smartboyhw> You shall see a "First run Wizard" if you hadn't chose an ISO image for the VM.
  148. <smartboyhw> Click "next"
  149. <smartboyhw> Select the ISO you downloaded
  150. <smartboyhw> Click "Next" again
  151. <smartboyhw> Click "start"
  152. <smartboyhw> We are now booting the image!!!!!
  153. <smartboyhw> Now listen: You might have problems using VirtualBox for this image because I delibrately selected one image that has a bug so you can see how to submit a failed result....
  154. <smartboyhw> You should have a blank screen with a orange cursor
  155. <smartboyhw> You might ask: Are you kidding me?
  156. <smartboyhw> no
  157. <smartboyhw> For those of you who are using other hardware, use these prodecures to test
  158. <smartboyhw> Make sure you see a screen that has two buttons: "Try Ubuntu" and "Install Ubuntu"
  159. <smartboyhw> Click on "Install Ubuntu"
  160. <smartboyhw> Make sure all three requirements (or two) listed on the page are with a green tick!
  161. <smartboyhw> You can choose whether to tick "Download updates while installing" and/or "Install this third-party software'
  162. <smartboyhw> Click "Continue"
  163. <smartboyhw> For "Installation type" click "Erase disk and Install Ubuntu"
  164. <smartboyhw> Again click "continue"
  165. <smartboyhw> Make sure that the full drive space is allocated, the drive space is correct and such.
  166. <smartboyhw> Click on "Install now"!
  167. <smartboyhw> You should then (if you have internet connection) put into a screen where your timezone is selected
  168. <smartboyhw> Check that it is correct
  169. <smartboyhw> If it is, click "Continue"
  170. <smartboyhw> If it isn't, select the correct timezone and then continue
  171. <smartboyhw> After that you should land on a "Keyboard Layout" page.
  172. <smartboyhw> Select the correct Keyboard Layout, test it by typing into the test area, then click "Continue"
  173. <smartboyhw> In the screen "Who are you?" you should input your real name, your computer name, your username, your password (twice) and select whether you want to login automatically or needing a password to log in
  174. <smartboyhw> If you need a password to log in, you can also choose to encrypt your home partition
  175. <smartboyhw> Then click "Continue"
  176. <smartboyhw> The slides should be playing now and change automatically. Make sure you can navigate through slides via clicking on the arrows
  177. <smartboyhw> Don't forget: If you have any question, use the QUESTION: tag to ask it in #ubuntu-classroom-chat !
  178. <smartboyhw> The installation will take a while, so relax for a bit
  179. <smartboyhw> If you have any bugs while installing, report them!
  180. <smartboyhw> Press Ctrl+Alt+F1 to launch terminal
  181. <smartboyhw> then type "apport-bug ubiquity" to report a bug against the installer
  182. <smartboyhw> Actually
  183. <smartboyhw> if you have problems with the ISO image, type "ubuntu-bug syslinux"
  184. <JoseeAntonioR> GridCub asked: apport-bug its the same as ubuntu-bug?
  185. <smartboyhw> GridCube, YES
  186. <smartboyhw> apport-bug = ubuntu-bug
  187. <smartboyhw> I used apport-bug more, but that's just your personal preference
  188. <smartboyhw> If you have problems with graphics, use ubuntu-bug xorg
  189. <smartboyhw> For VirtualBox users who can't install: Follow me!
  190. <JoseeAntonioR> plustwo asked: if bugs are not reported like today and the release happens tomorrow, will the ISO tests results still be valid?
  191. <smartboyhw> plustwo, frankly: Yes.
  192. <smartboyhw> There would be no way to save the release
  193. <smartboyhw> Also guys: The results you handed in might be invalid after the images went through a respin
  194. <smartboyhw> VirtualBox users: At that page's "Results" box
  195. <smartboyhw> Click on "failed"
  196. <smartboyhw> In critical bugs type 1122072
  197. <smartboyhw> Then click "Submit result"
  198. <smartboyhw> Has anyone finished the test and it shows "Installation completed"?
  199. <smartboyhw> If yes, click on "Restart now"
  200. <smartboyhw> Remove the disk (if you used a real one), close the tray (if your CD driver is a tray) and press "Enter"
  201. <smartboyhw> It should auto reboot
  202. <smartboyhw> Login and that's it!
  203. <smartboyhw> Don't hand in a pass result yet, instead, we need to do vertification
  204. <smartboyhw> First of all, open a terminal, and type "arch"
  205. <smartboyhw> It should show the correct architecture of the ISO you installed.
  206. <smartboyhw> Then type "lsb_release -a"
  207. <smartboyhw> The DIstributor ID should be Ubuntu
  208. <smartboyhw> Description should be Ubuntu 12.04.2
  209. <smartboyhw> Release should be 12.04
  210. <smartboyhw> Codename should be precise
  211. <smartboyhw> Then try "sudo apt-get update" and make sure it doesn't throw any errors.
  212. <smartboyhw> Then you can really submit a pass result!
  213. <smartboyhw> In the "results" block of the testcase page select "passed"
  214. <smartboyhw> However if you got any bugs that you found during installation but doesn't block it, type the bug number in the "bugs" section
  215. <JoseeAntonioR> GridCube asked: What if you finished a test, and it took a long time to complete, say you used a real hw which is slow, and you find a bug, but when you go to report it the iso was already rolled away for a different bug. can you still report the found bug against the new release?
  216. <smartboyhw> GridCube, hmm. We need to test it again. However if that bug isn't related to the bug you found, it probably still exists
  217. <smartboyhw> Make sure you test it again though.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement