= IG-XN-1: Supported OS tests = This test case verifies each of the supported guest images with non-exclusive and exclusive resources. Guest image support tests will be executed on the Utah InstaGENI rack. For overall status see the [wiki:GENIRacksHome/InstageniRacks/XenTestStatus InstaGENI Xen Virtualization Test Status] page. '' Last Updated: 2013/08/09'' = Test Status = This section captures the status for each step in the acceptance test plan. || '''OS''' || '''Resource Type'''|| '''State''' || ''' Ticket ''' || '''Notes''' || ||FBSSD82-STD || Non-exclusive ||[[Color(green,Pass)]]|| || || ||FEDORA15-STD || Non-exclusive ||[[Color(green,Pass)]]|| ||EOL Image, see Note1|| ||UBUNTU12-64-STD|| Non-exclusive ||[[Color(green,Pass)]]|| || || ||UBUNTU11-64-STD|| Non-exclusive ||[[Color(green,Pass)]]|| ||EOL Image, see Note1|| || || ||FBSSD82-STD || Exclusive ||[[Color(green,Pass)]]|| || || ||FEDORA15-STD || Exclusive ||[[Color(green,Pass)]]|| || || ||UBUNTU12-64-STD|| Exclusive ||[[Color(green,Pass)]]|| || || ||UBUNTU11-64-STD|| Exclusive ||[[Color(green,Pass)]]|| || || Note1: - Ubuntu11 is EOL'ed (http://blog.utlemming.org/2013/06/psa-ubuntu-server-1104-natty-archives.html) to get around initial repo issue. - Fedora 15 is also EOL and modification must be made to /etc/yum.repos.d/fedora.repo to uncomment ''baseurl='' and comment out ''mirrorlist''. [[BR]] || '''State Legend''' || '''Description''' || || [[Color(green,Pass)]] || Test completed and met all criteria || || [[Color(#98FB98,Pass: most criteria)]] || Test completed and met most criteria. Exceptions documented || || [[Color(red,Fail)]] || Test completed and failed to meet criteria. || || [[Color(yellow,Complete)]] || Test completed but will require re-execution due to expected changes || || [[Color(orange,Blocked)]] || Blocked by ticketed issue(s). || || [[Color(#63B8FF,In Progress)]] || Currently under test. || [[BR]] == Test Execution Details == This testing is executed with GENI Clearinghouse Credentials. No assumptions are made. == 1.0 Non-Exclusive nodes == This section captures the validation of Xen OS support for non-exclusive nodes. ==== 1.1 Request RSpec ==== Created an RSpec with 4 VMs each requesting one of the supported OS: {{{ }}} === 1.2 Request each OS with Non-exclusive Resources === Create a slice and sliver: {{{ $ omni.py createslice lnxenos 09:19:01 INFO omni: Loading config file /home/lnevers/.gcf/omni_config 09:19:01 INFO omni: Using control framework portal 09:19:03 INFO omni: Created slice with Name lnxenos, URN urn:publicid:IDN+ch.geni.net:ln-prj+slice+lnxenos, Expiration 2013-08-14 13:19:02 09:19:03 INFO omni: ------------------------------------------------------------ 09:19:03 INFO omni: Completed createslice: Options as run: framework: portal project: ln-prj Args: createslice lnxenos Result Summary: Created slice with Name lnxenos, URN urn:publicid:IDN+ch.geni.net:ln-prj+slice+lnxenos, Expiration 2013-08-14 13:19:02 09:19:03 INFO omni: ============================================================ }}} Created a sliver: {{{ $ omni.py createsliver lnxenos -a ig-utah ./insta-xen-os.rspec 08:34:23 INFO omni: Loading config file /home/lnevers/.gcf/omni_config 08:34:23 INFO omni: Using control framework portal 08:34:23 INFO omni: Substituting AM nickname ig-utah with URL https://boss.utah.geniracks.net:12369/protogeni/xmlrpc/am/2.0, URN urn:publicid:IDN+utah.geniracks.net+authority+cm 08:34:24 INFO omni: Slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+lnxenos expires on 2013-08-14 13:19:02 UTC 08:34:24 INFO omni: Substituting AM nickname ig-utah with URL https://boss.utah.geniracks.net:12369/protogeni/xmlrpc/am/2.0, URN urn:publicid:IDN+utah.geniracks.net+authority+cm 08:34:24 INFO omni: Substituting AM nickname ig-utah with URL https://boss.utah.geniracks.net:12369/protogeni/xmlrpc/am/2.0, URN urn:publicid:IDN+utah.geniracks.net+authority+cm 08:34:24 INFO omni: Creating sliver(s) from rspec file ./insta-xen-os.rspec for slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+lnxenos 08:34:42 INFO omni: (PG log url - look here for details on any failures: https://boss.utah.geniracks.net/spewlogfile.php3?logfile=e1c0050cc0f886936fc3d95c45554312) 08:34:42 INFO omni: Got return from CreateSliver for slice lnxenos at https://boss.utah.geniracks.net:12369/protogeni/xmlrpc/am/2.0: 08:34:42 INFO omni: 08:34:42 INFO omni: 08:34:42 INFO omni: ------------------------------------------------------------ 08:34:42 INFO omni: Completed createsliver: Options as run: aggregate: ['ig-utah'] framework: portal project: ln-prj Args: createsliver lnxenos ./insta-xen-os.rspec Result Summary: Got Reserved resources RSpec from utah-geniracks-net 08:34:42 INFO omni: ============================================================ }}} === 1.3 Login, Verify OS Allocation and Verify Connectivity === Determine login information: {{{ $ readyToLogin.py -a ig-utah lnxenos <...> Ub11's geni_status is: ready (am_status:ready) User lnevers logs in to Ub11 using: ssh -p 30012 -i /home/lnevers/.ssh/geni_cert_portal_key lnevers@pc3.utah.geniracks.net User lnevers logs in to Ub12 using: ssh -p 30013 -i /home/lnevers/.ssh/geni_cert_portal_key lnevers@pc3.utah.geniracks.net User lnevers logs in to BSD82 using: ssh -p 30010 -i /home/lnevers/.ssh/geni_cert_portal_key lnevers@pc3.utah.geniracks.net User lnevers logs in to FED15 using: ssh -p 30011 -i /home/lnevers/.ssh/geni_cert_portal_key lnevers@pc3.utah.geniracks.net }}} Login to host FED15 and verify OS: {{{ $ ssh -p 30011 -i /home/lnevers/.ssh/geni_cert_portal_key lnevers@pc3.utah.geniracks.net Warning: Permanently added '[pc3.utah.geniracks.net]:30011,[155.98.34.13]:30011' (RSA) to the list of known hosts. [lnevers@fed15 ~]$ [lnevers@fed15 ~]$ cat /etc/issue Fedora release 15 (Lovelock) Kernel \r on an \m (\l) [lnevers@fed15 ~]$ }}} Login to host Ub12 and verify OS: {{{ $ ssh -p 30013 -i /home/lnevers/.ssh/geni_cert_portal_key lnevers@pc3.utah.geniracks.net Warning: Permanently added '[pc3.utah.geniracks.net]:30013,[155.98.34.13]:30013' (RSA) to the list of known hosts. Welcome to Ubuntu 12.04 LTS (GNU/Linux 2.6.38.7-1.0emulab x86_64) * Documentation: https://help.ubuntu.com/ The programs included with the Ubuntu system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. ub12:~% ub12:~% cat /etc/issu issue issue.net ub12:~% cat /etc/issue Ubuntu 12.04 LTS \n \l ub12:~% }}} Login to host BSD82 and verify OS: {{{ $ ssh -p 30010 -i /home/lnevers/.ssh/geni_cert_portal_key lnevers@pc3.utah.geniracks.net Warning: Permanently added '[pc3.utah.geniracks.net]:30010,[155.98.34.13]:30010' (RSA) to the list of known hosts. Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 8.2-RELEASE-p5 (XEN) #0: Wed Feb 8 17:15:50 MST 2012 Welcome to FreeBSD! Over quota? "du -s * | sort -n " will give you a sorted list of your directory sizes. -- David Scheidt % uname -a FreeBSD bsd82.lnxenos.ch-geni-net.utah.geniracks.net 8.2-RELEASE-p5 FreeBSD 8.2-RELEASE-p5 #0: Wed Feb 8 17:15:50 MST 2012 root@node.freebsd8-node.testbed.emulab.net:/usr/obj/usr/src/sys/XEN i386 % }}} Login to host Ub11 and verify OS: {{{ $ ssh -p 30012 -i /home/lnevers/.ssh/geni_cert_portal_key lnevers@pc3.utah.geniracks.net Warning: Permanently added '[pc3.utah.geniracks.net]:30012,[155.98.34.13]:30012' (RSA) to the list of known hosts. Welcome to Ubuntu 11.04 (GNU/Linux 2.6.38.7-1.0emulab x86_64) * Documentation: https://help.ubuntu.com/ The programs included with the Ubuntu system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. ub11:~% ub11:~% cat /etc/issue Ubuntu 11.04 \n \l ub11:~% }}} === 1.4 Release Resources === Delete sliver: {{{ $ omni.py deletesliver lnxenos -a ig-utah ... Result Summary: Deleted sliver urn:publicid:IDN+ch.geni.net:ln-prj+slice+lnxenos on urn:publicid:IDN+utah.geniracks.net+authority+cm at https://boss.utah.geniracks.net:12369/protogeni/xmlrpc/am/2.0 19:28:56 INFO omni: ============================================================ }}} == 2.0 Exclusive nodes == This section captures the validation of Xen OS support for exclusive nodes. ==== 2.1 Request RSpec ==== The following RSpec is used to request exclusive nodes: {{{ }}} === 2.2 Request each OS with Exclusive Resources === Create a slice and sliver to request each of the supported OS on an exclusive node: {{{ $ omni.py createslice lnxen-excl 19:37:36 INFO omni: Loading config file /home/lnevers/.gcf/omni_config 19:37:36 INFO omni: Using control framework portal 19:37:37 INFO omni: Created slice with Name lnxen-excl, URN urn:publicid:IDN+ch.geni.net:ln-prj+slice+lnxen-excl, Expiration 2013-08-16 18:20:56 19:37:37 INFO omni: ------------------------------------------------------------ 19:37:37 INFO omni: Completed createslice: Options as run: framework: portal project: ln-prj Args: createslice lnxen-excl Result Summary: Created slice with Name lnxen-excl, URN urn:publicid:IDN+ch.geni.net:ln-prj+slice+lnxen-excl, Expiration 2013-08-16 18:20:56 19:37:37 INFO omni: ============================================================ $ omni.py createsliver lnxen-excl -a ig-utah ./insta-xen-os-excl.rspec 19:44:59 INFO omni: Loading config file /home/lnevers/.gcf/omni_config 19:44:59 INFO omni: Using control framework portal 19:44:59 INFO omni: Substituting AM nickname ig-utah with URL https://boss.utah.geniracks.net:12369/protogeni/xmlrpc/am/2.0, URN urn:publicid:IDN+utah.geniracks.net+authority+cm 19:45:00 INFO omni: Slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+lnxen-excl expires on 2013-08-16 18:20:56 UTC 19:45:00 INFO omni: Substituting AM nickname ig-utah with URL https://boss.utah.geniracks.net:12369/protogeni/xmlrpc/am/2.0, URN urn:publicid:IDN+utah.geniracks.net+authority+cm 19:45:00 INFO omni: Substituting AM nickname ig-utah with URL https://boss.utah.geniracks.net:12369/protogeni/xmlrpc/am/2.0, URN urn:publicid:IDN+utah.geniracks.net+authority+cm 19:45:00 INFO omni: Creating sliver(s) from rspec file ./insta-xen-os-excl.rspec for slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+lnxen-excl 19:45:14 INFO omni: (PG log url - look here for details on any failures: https://boss.utah.geniracks.net/spewlogfile.php3?logfile=aa2e1647e4dcbc6782459d24b241ef42) 19:45:14 INFO omni: Got return from CreateSliver for slice lnxen-excl at https://boss.utah.geniracks.net:12369/protogeni/xmlrpc/am/2.0: 19:45:14 INFO omni: 19:45:14 INFO omni: 19:45:14 INFO omni: ------------------------------------------------------------ 19:45:14 INFO omni: Completed createsliver: Options as run: aggregate: ['ig-utah'] framework: portal project: ln-prj Args: createsliver lnxen-excl ./insta-xen-os-excl.rspec Result Summary: Got Reserved resources RSpec from utah-geniracks-net 19:45:14 INFO omni: ============================================================ }}} === 2.3 Login, Verify OS Allocation and Verify Connectivity === Login to Ubuntu 12 host and verify OS allocation and connectivity: {{{ $ ssh -p 32061 -i /home/lnevers/.ssh/geni_cert_portal_key lnevers@pc4.utah.geniracks.net Welcome to Ubuntu 12.04 LTS (GNU/Linux 2.6.38.7-1.0emulab x86_64) ub12:~% ub12:~% cat /etc/issue Ubuntu 12.04 LTS \n \l ub12:~% /sbin/ifconfig eth1 eth1 Link encap:Ethernet HWaddr 02:ac:02:24:70:60 inet addr:192.168.1.4 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr: fe80::ac:2ff:fe24:7060/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:17 errors:0 dropped:0 overruns:0 frame:0 TX packets:11 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:1212 (1.2 KB) TX bytes:1150 (1.1 KB) Interrupt:245 ub12:~% ping 192.168.1.2 PING 192.168.1.2 (192.168.1.2) 56(84) bytes of data. 64 bytes from 192.168.1.2: icmp_req=1 ttl=64 time=9.09 ms 64 bytes from 192.168.1.2: icmp_req=2 ttl=64 time=0.206 ms 64 bytes from 192.168.1.2: icmp_req=3 ttl=64 time=0.244 ms 64 bytes from 192.168.1.2: icmp_req=4 ttl=64 time=0.197 ms 64 bytes from 192.168.1.2: icmp_req=5 ttl=64 time=0.279 ms 64 bytes from 192.168.1.2: icmp_req=6 ttl=64 time=0.249 ms ^C --- 192.168.1.2 ping statistics --- 6 packets transmitted, 6 received, 0% packet loss, time 4998ms rtt min/avg/max/mdev = 0.197/1.712/9.098/3.303 ms ub12:~% }}} Login to Ubuntu 11 host and verify OS allocation and connectivity: {{{ $ ssh -p 32060 -i /home/lnevers/.ssh/geni_cert_portal_key lnevers@pc4.utah.geniracks.net Welcome to Ubuntu 11.04 (GNU/Linux 2.6.38.7-1.0emulab x86_64) ub11:~% cat /etc/issue Ubuntu 11.04 \n \l ub11:~% /sbin/ifconfig eth1 eth1 Link encap:Ethernet HWaddr 02:6b:10:53:9d:25 inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr: fe80::6b:10ff:fe53:9d25/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:30 errors:0 dropped:0 overruns:0 frame:0 TX packets:13 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:2244 (2.2 KB) TX bytes:1322 (1.3 KB) Interrupt:245 ub11:~% ping 192.168.1.2 PING 192.168.1.2 (192.168.1.2) 56(84) bytes of data. 64 bytes from 192.168.1.2: icmp_req=1 ttl=64 time=1.52 ms 64 bytes from 192.168.1.2: icmp_req=2 ttl=64 time=0.181 ms 64 bytes from 192.168.1.2: icmp_req=3 ttl=64 time=0.258 ms ^C --- 192.168.1.2 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2001ms rtt min/avg/max/mdev = 0.181/0.655/1.528/0.618 ms ub11:~% }}} Login to Free BSD82 host and verify OS allocation and connectivity: {{{ $ ssh -p 32058 -i /home/lnevers/.ssh/geni_cert_portal_key lnevers@pc4.utah.geniracks.net FreeBSD 8.2-RELEASE-p5 (XEN) #0: Wed Feb 8 17:15:50 MST 2012 %uname -a FreeBSD bsd82.lnxen-excl.ch-geni-net.utah.geniracks.net 8.2-RELEASE-p5 FreeBSD 8.2-RELEASE-p5 #0: Wed Feb 8 17:15:50 MST 2012 root@node.freebsd8-node.testbed.emulab.net:/usr/obj/usr/src/sys/XEN i386 %/sbin/ifconfig xn1 xn1: flags=8843 metric 0 mtu 1500 options=503 ether 02:74:68:11:c0:1b inet 192.168.1.3 netmask 0xffffff00 broadcast 192.168.1.255 media: Ethernet manual status: active %ping 192.168.1.4 PING 192.168.1.4 (192.168.1.4): 56 data bytes 64 bytes from 192.168.1.4: icmp_seq=0 ttl=64 time=0.605 ms 64 bytes from 192.168.1.4: icmp_seq=1 ttl=64 time=0.219 ms 64 bytes from 192.168.1.4: icmp_seq=2 ttl=64 time=0.202 ms 64 bytes from 192.168.1.4: icmp_seq=3 ttl=64 time=0.260 ms ^C --- 192.168.1.4 ping statistics --- 4 packets transmitted, 4 packets received, 0.0% packet loss round-trip min/avg/max/stddev = 0.202/0.322/0.605/0.165 ms % }}} Login to Fedora 15 host and verify OS allocation and connectivity: {{{ $ ssh -p 32059 -i /home/lnevers/.ssh/geni_cert_portal_key lnevers@pc4.utah.geniracks.net Warning: Permanently added '[pc4.utah.geniracks.net]:32059,[155.98.34.14]:32059' (RSA) to the list of known hosts. [lnevers@fed15 ~]$ cat /etc/issue Fedora release 15 (Lovelock) Kernel \r on an \m (\l) [lnevers@fed15 ~]$ /sbin/ifconfig eth1 eth1 Link encap:Ethernet HWaddr 02:10:6C:08:AA:68 inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr: fe80::10:6cff:fe08:aa68/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:63 errors:0 dropped:0 overruns:0 frame:0 TX packets:31 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:4588 (4.4 KiB) TX bytes:2518 (2.4 KiB) Interrupt:25 [lnevers@fed15 ~]$ ping 192.168.1.1 PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data. 64 bytes from 192.168.1.1: icmp_req=1 ttl=64 time=0.255 ms 64 bytes from 192.168.1.1: icmp_req=2 ttl=64 time=0.243 ms 64 bytes from 192.168.1.1: icmp_req=3 ttl=64 time=0.173 ms ^C --- 192.168.1.1 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2000ms rtt min/avg/max/mdev = 0.173/0.223/0.255/0.040 ms [lnevers@fed15 ~]$ }}} === 2.4 Release Resources === Delete sliver to release all resources: {{{ $ omni.py deletesliver lnxen-excl -a ig-utah 20:19:55 INFO omni: Loading config file /home/lnevers/.gcf/omni_config 20:19:55 INFO omni: Using control framework portal 20:19:55 INFO omni: Substituting AM nickname ig-utah with URL https://boss.utah.geniracks.net:12369/protogeni/xmlrpc/am/2.0, URN urn:publicid:IDN+utah.geniracks.net+authority+cm 20:19:56 INFO omni: Slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+lnxen-excl expires on 2013-08-16 18:20:56 UTC 20:19:56 INFO omni: Substituting AM nickname ig-utah with URL https://boss.utah.geniracks.net:12369/protogeni/xmlrpc/am/2.0, URN urn:publicid:IDN+utah.geniracks.net+authority+cm 20:20:13 INFO omni: (PG log url - look here for details on any failures: https://boss.utah.geniracks.net/spewlogfile.php3?logfile=cb34d5c87da9f11ce83cfe80458eb663) 20:20:13 INFO omni: Deleted sliver urn:publicid:IDN+ch.geni.net:ln-prj+slice+lnxen-excl on urn:publicid:IDN+utah.geniracks.net+authority+cm at https://boss.utah.geniracks.net:12369/protogeni/xmlrpc/am/2.0 20:20:13 INFO omni: ------------------------------------------------------------ 20:20:13 INFO omni: Completed deletesliver: Options as run: aggregate: ['ig-utah'] framework: portal project: ln-prj Args: deletesliver lnxen-excl Result Summary: Deleted sliver urn:publicid:IDN+ch.geni.net:ln-prj+slice+lnxen-excl on urn:publicid:IDN+utah.geniracks.net+authority+cm at https://boss.utah.geniracks.net:12369/protogeni/xmlrpc/am/2.0 20:20:13 INFO omni: ============================================================ }}}