Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 907167 Details for
Bug 1107638
ami-d88476b0 RHEL 6.5 x86_64 us-east-1
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
ami-d88476b0.yaml
ami-d88476b0.yaml (text/yaml), 234.05 KB, created by
mkovacik
on 2014-06-10 11:32:54 UTC
(
hide
)
Description:
ami-d88476b0.yaml
Filename:
MIME Type:
Creator:
mkovacik
Created:
2014-06-10 11:32:54 UTC
Size:
234.05 KB
patch
obsolete
>ami: ami-d88476b0 >arch: x86_64 >console_output: {c1.xlarge: "Xen Minimal OS!\r\n start_info: 0x17ae000(VA)\r\n \ > \ nr_pages: 0x1c0000\r\n shared_inf: 0xde8e9000(MA)\r\n pt_base: 0x17b1000(VA)\r\ > \nnr_pt_frames: 0x11\r\n mfn_list: 0x9ae000(VA)\r\n mod_start: 0x0(VA)\r\n\ > \ mod_len: 0\r\n flags: 0x0\r\n cmd_line: root=/dev/sda1 ro 4\r\n\ > \ stack: 0x96d840-0x98d840\r\nMM: Init\r\n _text: 0x0(VA)\r\n _etext:\ > \ 0x7dc7d(VA)\r\n _erodata: 0x9a000(VA)\r\n _edata: 0x9fce0(VA)\r\nstack\ > \ start: 0x96d840(VA)\r\n _end: 0x9ade40(VA)\r\n start_pfn: 17c5\r\n \ > \ max_pfn: 1c0000\r\nMapping memory range 0x1c00000 - 0x1c0000000\r\nsetting\ > \ 0x0-0x9a000 readonly\r\nskipped 0x1000\r\nMM: Initialise page allocator for\ > \ 25bd000(25bd000)-1c0000000(1c0000000)\r\nMM: done\r\nDemand map pfns at 1c0001000-21c0001000.\r\ > \nHeap resides at 21c0002000-41c0002000.\r\nInitialising timer interface\r\nInitialising\ > \ console ... done.\r\ngnttab_table mapped at 0x1c0001000.\r\nInitialising scheduler\r\ > \nThread \"Idle\": pointer: 0x21c0002050, stack: 0x3410000\r\nThread \"xenstore\"\ > : pointer: 0x21c0002800, stack: 0x3420000\r\nxenbus initialised on irq 1 mfn 0x205f8f\r\ > \nThread \"shutdown\": pointer: 0x21c0002fb0, stack: 0x3430000\r\nDummy main:\ > \ start_info=0x98d940\r\nThread \"main\": pointer: 0x21c0003760, stack: 0x3440000\r\ > \n\"main\" \"root=/dev/sda1\" \"ro\" \"4\" \r\nvbd 2049 is hd0\r\n*******************\ > \ BLKFRONT for device/vbd/2049 **********\r\n\r\n\r\nbackend at /local/domain/0/backend/vbd/254/2049\r\ > \nFailed to read /local/domain/0/backend/vbd/254/2049/feature-barrier.\r\nFailed\ > \ to read /local/domain/0/backend/vbd/254/2049/feature-flush-cache.\r\n31457280\ > \ sectors of 512 bytes\r\n**************************\r\nvbd 2128 is hd1\r\n*******************\ > \ BLKFRONT for device/vbd/2128 **********\r\n\r\n\r\nbackend at /local/domain/0/backend/vbd/254/2128\r\ > \nFailed to read /local/domain/0/backend/vbd/254/2128/feature-barrier.\r\nFailed\ > \ to read /local/domain/0/backend/vbd/254/2128/feature-flush-cache.\r\n880732160\ > \ sectors of 512 bytes\r\n**************************\r\nThread \"kbdfront\": pointer:\ > \ 0x21c00046d0, stack: 0x3450000\r\n******************* FBFRONT for device/vfb/0\ > \ **********\r\n\r\n\r\n******************* KBDFRONT for device/vkbd/0 **********\r\ > \n\r\n\r\nFailed to read device/vfb/0/backend-id.\r\nFailed to read device/vkbd/0/backend-id.\r\ > \nerror writing initialized: ENOENT\r\nAbort transaction switching state\r\n\r\ > Press `ESC' to enter the menu... 0 \e[H\e[J Booting 'Red Hat Enterprise Linux\ > \ (2.6.32-431.17.1.el6.x86_64)'\r\r\n\r\r\nroot (hd0)\r\r\nError ENOENT when reading\ > \ the backend path device/vkbd/0/backend\r\nThread \"kbdfront\" exited.\r\n Filesystem\ > \ type is ext2fs, using whole disk\r\r\nkernel /boot/vmlinuz-2.6.32-431.17.1.el6.x86_64\ > \ console=ttyS0 ro root=UUID=23ce\r\r\ncb9c-baa3-4407-9485-ddf59583c3ed rd_NO_LUKS\ > \ KEYBOARDTYPE=pc KEYTABLE=us LANG=e\r\r\nn_US.UTF-8 xen_blkfront.sda_is_xvda=1\ > \ console=ttyS0,115200n8 console=tty0 rd_NO\r\r\n_MD SYSFONT=latarcyrheb-sun16\ > \ crashkernel=auto rd_NO_LVM rd_NO_DM rhgb quiet\r\r\ninitrd /boot/initramfs-2.6.32-431.17.1.el6.x86_64.img\r\ > \r\n\r\r\n============= Init TPM Front ================\r\nTpmfront:Error Unable\ > \ to read device/vtpm/0/backend-id during tpmfront initialization! error = ENOENT\r\ > \nTpmfront:Info Shutting down tpmfront\r\nclose blk: backend=/local/domain/0/backend/vbd/254/2049\ > \ node=device/vbd/2049\r\nclose blk: backend=/local/domain/0/backend/vbd/254/2128\ > \ node=device/vbd/2128\r\nPCI: Warning: Cannot find a gap in the 32bit address\ > \ range\r\nPCI: Unassigned devices with 32bit resource registers may break!\r\n\ > PCI: Warning: Cannot find a gap in the 32bit address range\r\nPCI: Unassigned\ > \ devices with 32bit resource registers may break!\r\nPCI: Fatal: No config space\ > \ access function found\r\nipmi_si: Could not set up I/O space\r\nipmi_si: Could\ > \ not set up I/O space\r\nipmi_si: Could not set up I/O space\r\nmicrocode: CPU0\ > \ update to revision 0xa0b failed\r\nmicrocode: CPU1 update to revision 0xa0b\ > \ failed\r\nmicrocode: CPU2 update to revision 0xa0b failed\r\nmicrocode: CPU3\ > \ update to revision 0xa0b failed\r\nmicrocode: CPU4 update to revision 0xa0b\ > \ failed\r\nmicrocode: CPU5 update to revision 0xa0b failed\r\nmicrocode: CPU6\ > \ update to revision 0xa0b failed\r\nmicrocode: CPU7 update to revision 0xa0b\ > \ failed\r\nmicrocode: CPU0 update to revision 0xa0b failed\r\nmicrocode: CPU1\ > \ update to revision 0xa0b failed\r\nmicrocode: CPU2 update to revision 0xa0b\ > \ failed\r\nmicrocode: CPU3 update to revision 0xa0b failed\r\nmicrocode: CPU4\ > \ update to revision 0xa0b failed\r\nmicrocode: CPU5 update to revision 0xa0b\ > \ failed\r\nmicrocode: CPU6 update to revision 0xa0b failed\r\nmicrocode: CPU7\ > \ update to revision 0xa0b failed\r\nmicrocode: CPU0 update to revision 0xa0b\ > \ failed\r\nmicrocode: CPU1 update to revision 0xa0b failed\r\nmicrocode: CPU2\ > \ update to revision 0xa0b failed\r\nmicrocode: CPU3 update to revision 0xa0b\ > \ failed\r\nmicrocode: CPU4 update to revision 0xa0b failed\r\nmicrocode: CPU5\ > \ update to revision 0xa0b failed\r\nmicrocode: CPU6 update to revision 0xa0b\ > \ failed\r\nmicrocode: CPU7 update to revision 0xa0b failed\r\nmicrocode: CPU0\ > \ update to revision 0xa0b failed\r\nmicrocode: CPU1 update to revision 0xa0b\ > \ failed\r\nmicrocode: CPU2 update to revision 0xa0b failed\r\nmicrocode: CPU3\ > \ update to revision 0xa0b failed\r\nmicrocode: CPU4 update to revision 0xa0b\ > \ failed\r\nmicrocode: CPU5 update to revision 0xa0b failed\r\nmicrocode: CPU6\ > \ update to revision 0xa0b failed\r\nmicrocode: CPU7 update to revision 0xa0b\ > \ failed\r\nmicrocode: CPU0 update to revision 0xa0b failed\r\nmicrocode: CPU1\ > \ update to revision 0xa0b failed\r\nmicrocode: CPU2 update to revision 0xa0b\ > \ failed\r\nmicrocode: CPU3 update to revision 0xa0b failed\r\nmicrocode: CPU4\ > \ update to revision 0xa0b failed\r\nmicrocode: CPU5 update to revision 0xa0b\ > \ failed\r\nmicrocode: CPU6 update to revision 0xa0b failed\r\nmicrocode: CPU7\ > \ update to revision 0xa0b failed\r\nmicrocode: CPU0 update to revision 0xa0b\ > \ failed\r\nmicrocode: CPU1 update to revision 0xa0b failed\r\nmicrocode: CPU2\ > \ update to revision 0xa0b failed\r\nmicrocode: CPU3 update to revision 0xa0b\ > \ failed\r\nmicrocode: CPU4 update to revision 0xa0b failed\r\nmicrocode: CPU5\ > \ update to revision 0xa0b failed\r\nmicrocode: CPU6 update to revision 0xa0b\ > \ failed\r\nmicrocode: CPU7 update to revision 0xa0b failed\r\nmicrocode: CPU0\ > \ update to revision 0xa0b failed\r\nmicrocode: CPU1 update to revision 0xa0b\ > \ failed\r\nmicrocode: CPU2 update to revision 0xa0b failed\r\nmicrocode: CPU3\ > \ update to revision 0xa0b failed\r\nmicrocode: CPU4 update to revision 0xa0b\ > \ failed\r\nmicrocode: CPU5 update to revision 0xa0b failed\r\nmicrocode: CPU6\ > \ update to revision 0xa0b failed\r\nmicrocode: CPU7 update to revision 0xa0b\ > \ failed\r\nRestarting system.\r\n", m1.large: "microcode: CPU0 update to revision\ > \ 0x19 failed\r\nmicrocode: CPU1 update to revision 0x19 failed\r\nmicrocode:\ > \ CPU0 update to revision 0x19 failed\r\nmicrocode: CPU1 update to revision 0x19\ > \ failed\r\nmicrocode: CPU0 update to revision 0x19 failed\r\nmicrocode: CPU1\ > \ update to revision 0x19 failed\r\nmicrocode: CPU0 update to revision 0x19 failed\r\ > \nmicrocode: CPU1 update to revision 0x19 failed\r\nmicrocode: CPU0 update to\ > \ revision 0x19 failed\r\nmicrocode: CPU1 update to revision 0x19 failed\r\nRestarting\ > \ system.\r\n", m1.small: "Xen Minimal OS!\r\n start_info: 0xd00000(VA)\r\n \ > \ nr_pages: 0x6a400\r\n shared_inf: 0x7defe000(MA)\r\n pt_base: 0xd03000(VA)\r\ > \nnr_pt_frames: 0xb\r\n mfn_list: 0x9ae000(VA)\r\n mod_start: 0x0(VA)\r\n\ > \ mod_len: 0\r\n flags: 0x0\r\n cmd_line: root=/dev/sda1 ro 4\r\n\ > \ stack: 0x96d840-0x98d840\r\nMM: Init\r\n _text: 0x0(VA)\r\n _etext:\ > \ 0x7dc7d(VA)\r\n _erodata: 0x9a000(VA)\r\n _edata: 0x9fce0(VA)\r\nstack\ > \ start: 0x96d840(VA)\r\n _end: 0x9ade40(VA)\r\n start_pfn: d11\r\n \ > \ max_pfn: 6a400\r\nMapping memory range 0x1000000 - 0x6a400000\r\nsetting 0x0-0x9a000\ > \ readonly\r\nskipped 0x1000\r\nMM: Initialise page allocator for 105c000(105c000)-6a400000(6a400000)\r\ > \nMM: done\r\nDemand map pfns at 6a401000-206a401000.\r\nHeap resides at 206a402000-406a402000.\r\ > \nInitialising timer interface\r\nInitialising console ... done.\r\ngnttab_table\ > \ mapped at 0x6a401000.\r\nInitialising scheduler\r\nThread \"Idle\": pointer:\ > \ 0x206a402050, stack: 0x13d0000\r\nThread \"xenstore\": pointer: 0x206a402800,\ > \ stack: 0x13e0000\r\nxenbus initialised on irq 1 mfn 0xd764fe\r\nThread \"shutdown\"\ > : pointer: 0x206a402fb0, stack: 0x13f0000\r\nDummy main: start_info=0x98d940\r\ > \nThread \"main\": pointer: 0x206a403760, stack: 0x6a000000\r\n\"main\" \"root=/dev/sda1\"\ > \ \"ro\" \"4\" \r\nvbd 2049 is hd0\r\n******************* BLKFRONT for device/vbd/2049\ > \ **********\r\n\r\n\r\nbackend at /local/domain/0/backend/vbd/7338/2049\r\nFailed\ > \ to read /local/domain/0/backend/vbd/7338/2049/feature-barrier.\r\nFailed to\ > \ read /local/domain/0/backend/vbd/7338/2049/feature-flush-cache.\r\n31457280\ > \ sectors of 512 bytes\r\n**************************\r\nvbd 2051 is hd1\r\n*******************\ > \ BLKFRONT for device/vbd/2051 **********\r\n\r\n\r\nbackend at /local/domain/0/backend/vbd/7338/2051\r\ > \nFailed to read /local/domain/0/backend/vbd/7338/2051/feature-barrier.\r\nFailed\ > \ to read /local/domain/0/backend/vbd/7338/2051/feature-flush-cache.\r\n1835008\ > \ sectors of 512 bytes\r\n**************************\r\nvbd 2128 is hd2\r\n*******************\ > \ BLKFRONT for device/vbd/2128 **********\r\n\r\n\r\nbackend at /local/domain/0/backend/vbd/7338/2128\r\ > \nFailed to read /local/domain/0/backend/vbd/7338/2128/feature-barrier.\r\nFailed\ > \ to read /local/domain/0/backend/vbd/7338/2128/feature-flush-cache.\r\n312705024\ > \ sectors of 512 bytes\r\n**************************\r\nThread \"kbdfront\": pointer:\ > \ 0x206a404850, stack: 0x6a010000\r\n******************* FBFRONT for device/vfb/0\ > \ **********\r\n\r\n\r\n******************* KBDFRONT for device/vkbd/0 **********\r\ > \n\r\n\r\nFailed to read device/vfb/0/backend-id.\r\nFailed to read device/vkbd/0/backend-id.\r\ > \nerror writing initialized: ENOENT\r\nAbort transaction switching state\r\n\r\ > Press `ESC' to enter the menu... 0 \e[H\e[J Booting 'Red Hat Enterprise Linux\ > \ (2.6.32-431.17.1.el6.x86_64)'\r\r\n\r\r\nroot (hd0)\r\r\nError ENOENT when reading\ > \ the backend path device/vkbd/0/backend\r\nThread \"kbdfront\" exited.\r\n Filesystem\ > \ type is ext2fs, using whole disk\r\r\nkernel /boot/vmlinuz-2.6.32-431.17.1.el6.x86_64\ > \ console=ttyS0 ro root=UUID=23ce\r\r\ncb9c-baa3-4407-9485-ddf59583c3ed rd_NO_LUKS\ > \ KEYBOARDTYPE=pc KEYTABLE=us LANG=e\r\r\nn_US.UTF-8 xen_blkfront.sda_is_xvda=1\ > \ console=ttyS0,115200n8 console=tty0 rd_NO\r\r\n_MD SYSFONT=latarcyrheb-sun16\ > \ crashkernel=auto rd_NO_LVM rd_NO_DM rhgb quiet\r\r\ninitrd /boot/initramfs-2.6.32-431.17.1.el6.x86_64.img\r\ > \r\n\r\r\n============= Init TPM Front ================\r\nTpmfront:Error Unable\ > \ to read device/vtpm/0/backend-id during tpmfront initialization! error = ENOENT\r\ > \nTpmfront:Info Shutting down tpmfront\r\nclose blk: backend=/local/domain/0/backend/vbd/7338/2049\ > \ node=device/vbd/2049\r\nclose blk: backend=/local/domain/0/backend/vbd/7338/2051\ > \ node=device/vbd/2051\r\nclose blk: backend=/local/domain/0/backend/vbd/7338/2128\ > \ node=device/vbd/2128\r\nPCI: Fatal: No config space access function found\r\n\ > ipmi_si: Could not set up I/O space\r\nipmi_si: Could not set up I/O space\r\n\ > ipmi_si: Could not set up I/O space\r\nmicrocode: CPU0 update to revision 0x710\ > \ failed\r\nmicrocode: CPU0 update to revision 0x710 failed\r\nmicrocode: CPU0\ > \ update to revision 0x710 failed\r\nmicrocode: CPU0 update to revision 0x710\ > \ failed\r\nRestarting system.\r\n", m1.xlarge: "Xen Minimal OS!\r\n start_info:\ > \ 0x27ae000(VA)\r\n nr_pages: 0x3c0000\r\n shared_inf: 0xbf78c000(MA)\r\n\ > \ pt_base: 0x27b1000(VA)\r\nnr_pt_frames: 0x19\r\n mfn_list: 0x9ae000(VA)\r\ > \n mod_start: 0x0(VA)\r\n mod_len: 0\r\n flags: 0x0\r\n cmd_line:\ > \ root=/dev/sda1 ro 4\r\n stack: 0x96d840-0x98d840\r\nMM: Init\r\n \ > \ _text: 0x0(VA)\r\n _etext: 0x7dc7d(VA)\r\n _erodata: 0x9a000(VA)\r\n \ > \ _edata: 0x9fce0(VA)\r\nstack start: 0x96d840(VA)\r\n _end: 0x9ade40(VA)\r\ > \n start_pfn: 27cd\r\n max_pfn: 3c0000\r\nMapping memory range 0x2c00000 -\ > \ 0x3c0000000\r\nsetting 0x0-0x9a000 readonly\r\nskipped 0x1000\r\nMM: Initialise\ > \ page allocator for 45c5000(45c5000)-3c0000000(3c0000000)\r\nMM: done\r\nDemand\ > \ map pfns at 3c0001000-23c0001000.\r\nHeap resides at 23c0002000-43c0002000.\r\ > \nInitialising timer interface\r\nInitialising console ... done.\r\ngnttab_table\ > \ mapped at 0x3c0001000.\r\nInitialising scheduler\r\nThread \"Idle\": pointer:\ > \ 0x23c0002050, stack: 0x6460000\r\nThread \"xenstore\": pointer: 0x23c0002800,\ > \ stack: 0x6470000\r\nxenbus initialised on irq 1 mfn 0x6fd850\r\nThread \"shutdown\"\ > : pointer: 0x23c0002fb0, stack: 0x6480000\r\nDummy main: start_info=0x98d940\r\ > \nThread \"main\": pointer: 0x23c0003760, stack: 0x6490000\r\n\"main\" \"root=/dev/sda1\"\ > \ \"ro\" \"4\" \r\nvbd 2049 is hd0\r\n******************* BLKFRONT for device/vbd/2049\ > \ **********\r\n\r\n\r\nbackend at /local/domain/0/backend/vbd/241/2049\r\nFailed\ > \ to read /local/domain/0/backend/vbd/241/2049/feature-barrier.\r\nFailed to read\ > \ /local/domain/0/backend/vbd/241/2049/feature-flush-cache.\r\n31457280 sectors\ > \ of 512 bytes\r\n**************************\r\nvbd 2128 is hd1\r\n*******************\ > \ BLKFRONT for device/vbd/2128 **********\r\n\r\n\r\nbackend at /local/domain/0/backend/vbd/241/2128\r\ > \nFailed to read /local/domain/0/backend/vbd/241/2128/feature-barrier.\r\nFailed\ > \ to read /local/domain/0/backend/vbd/241/2128/feature-flush-cache.\r\n880732160\ > \ sectors of 512 bytes\r\n**************************\r\nThread \"kbdfront\": pointer:\ > \ 0x23c00046d0, stack: 0x64a0000\r\n******************* FBFRONT for device/vfb/0\ > \ **********\r\n\r\n\r\n******************* KBDFRONT for device/vkbd/0 **********\r\ > \n\r\n\r\nFailed to read device/vfb/0/backend-id.\r\nFailed to read device/vkbd/0/backend-id.\r\ > \nerror writing initialized: ENOENT\r\nAbort transaction switching state\r\n\r\ > Press `ESC' to enter the menu... 0 \e[H\e[J Booting 'Red Hat Enterprise Linux\ > \ (2.6.32-431.17.1.el6.x86_64)'\r\r\n\r\r\nroot (hd0)\r\r\nError ENOENT when reading\ > \ the backend path device/vkbd/0/backend\r\nThread \"kbdfront\" exited.\r\n Filesystem\ > \ type is ext2fs, using whole disk\r\r\nkernel /boot/vmlinuz-2.6.32-431.17.1.el6.x86_64\ > \ console=ttyS0 ro root=UUID=23ce\r\r\ncb9c-baa3-4407-9485-ddf59583c3ed rd_NO_LUKS\ > \ KEYBOARDTYPE=pc KEYTABLE=us LANG=e\r\r\nn_US.UTF-8 xen_blkfront.sda_is_xvda=1\ > \ console=ttyS0,115200n8 console=tty0 rd_NO\r\r\n_MD SYSFONT=latarcyrheb-sun16\ > \ crashkernel=auto rd_NO_LVM rd_NO_DM rhgb quiet\r\r\ninitrd /boot/initramfs-2.6.32-431.17.1.el6.x86_64.img\r\ > \r\n\r\r\n============= Init TPM Front ================\r\nTpmfront:Error Unable\ > \ to read device/vtpm/0/backend-id during tpmfront initialization! error = ENOENT\r\ > \nTpmfront:Info Shutting down tpmfront\r\nclose blk: backend=/local/domain/0/backend/vbd/241/2049\ > \ node=device/vbd/2049\r\nclose blk: backend=/local/domain/0/backend/vbd/241/2128\ > \ node=device/vbd/2128\r\nPCI: Warning: Cannot find a gap in the 32bit address\ > \ range\r\nPCI: Unassigned devices with 32bit resource registers may break!\r\n\ > PCI: Warning: Cannot find a gap in the 32bit address range\r\nPCI: Unassigned\ > \ devices with 32bit resource registers may break!\r\nPCI: Fatal: No config space\ > \ access function found\r\nipmi_si: Could not set up I/O space\r\nipmi_si: Could\ > \ not set up I/O space\r\nipmi_si: Could not set up I/O space\r\nRestarting system.\r\ > \n", m2.2xlarge: "Xen Minimal OS!\r\n start_info: 0x4e0a000(VA)\r\n nr_pages:\ > \ 0x88b800\r\n shared_inf: 0x7c15a000(MA)\r\n pt_base: 0x4e0d000(VA)\r\n\ > nr_pt_frames: 0x2b\r\n mfn_list: 0x9ae000(VA)\r\n mod_start: 0x0(VA)\r\n\ > \ mod_len: 0\r\n flags: 0x0\r\n cmd_line: root=/dev/sda1 ro 4\r\n\ > \ stack: 0x96d840-0x98d840\r\nMM: Init\r\n _text: 0x0(VA)\r\n _etext:\ > \ 0x7dc7d(VA)\r\n _erodata: 0x9a000(VA)\r\n _edata: 0x9fce0(VA)\r\nstack\ > \ start: 0x96d840(VA)\r\n _end: 0x9ade40(VA)\r\n start_pfn: 4e3b\r\n \ > \ max_pfn: 88b800\r\nMapping memory range 0x5000000 - 0x88b800000\r\nsetting\ > \ 0x0-0x9a000 readonly\r\nskipped 0x1000\r\nMM: Initialise page allocator for\ > \ 9291000(9291000)-88b800000(88b800000)\r\nMM: done\r\nDemand map pfns at 88b801000-288b801000.\r\ > \nHeap resides at 288b802000-488b802000.\r\nInitialising timer interface\r\nInitialising\ > \ console ... done.\r\ngnttab_table mapped at 0x88b801000.\r\nInitialising scheduler\r\ > \nThread \"Idle\": pointer: 0x288b802050, stack: 0xa030000\r\nThread \"xenstore\"\ > : pointer: 0x288b802800, stack: 0xa040000\r\nxenbus initialised on irq 1 mfn 0x1f0ed9a\r\ > \nThread \"shutdown\": pointer: 0x288b802fb0, stack: 0xa050000\r\nDummy main:\ > \ start_info=0x98d940\r\nThread \"main\": pointer: 0x288b803760, stack: 0xa060000\r\ > \n\"main\" \"root=/dev/sda1\" \"ro\" \"4\" \r\nvbd 2049 is hd0\r\n*******************\ > \ BLKFRONT for device/vbd/2049 **********\r\n\r\n\r\nbackend at /local/domain/0/backend/vbd/839/2049\r\ > \nFailed to read /local/domain/0/backend/vbd/839/2049/feature-barrier.\r\nFailed\ > \ to read /local/domain/0/backend/vbd/839/2049/feature-flush-cache.\r\n31457280\ > \ sectors of 512 bytes\r\n**************************\r\nvbd 2128 is hd1\r\n*******************\ > \ BLKFRONT for device/vbd/2128 **********\r\n\r\n\r\nbackend at /local/domain/0/backend/vbd/839/2128\r\ > \nFailed to read /local/domain/0/backend/vbd/839/2128/feature-barrier.\r\nFailed\ > \ to read /local/domain/0/backend/vbd/839/2128/feature-flush-cache.\r\n1761474560\ > \ sectors of 512 bytes\r\n**************************\r\nThread \"kbdfront\": pointer:\ > \ 0x288b8046d0, stack: 0xa070000\r\n******************* FBFRONT for device/vfb/0\ > \ **********\r\n\r\n\r\n******************* KBDFRONT for device/vkbd/0 **********\r\ > \n\r\n\r\nFailed to read device/vfb/0/backend-id.\r\nFailed to read device/vkbd/0/backend-id.\r\ > \nerror writing initialized: ENOENT\r\nAbort transaction switching state\r\n\r\ > Press `ESC' to enter the menu... 0 \e[H\e[J Booting 'Red Hat Enterprise Linux\ > \ (2.6.32-431.17.1.el6.x86_64)'\r\r\n\r\r\nroot (hd0)\r\r\nError ENOENT when reading\ > \ the backend path device/vkbd/0/backend\r\nThread \"kbdfront\" exited.\r\n Filesystem\ > \ type is ext2fs, using whole disk\r\r\nkernel /boot/vmlinuz-2.6.32-431.17.1.el6.x86_64\ > \ console=ttyS0 ro root=UUID=23ce\r\r\ncb9c-baa3-4407-9485-ddf59583c3ed rd_NO_LUKS\ > \ KEYBOARDTYPE=pc KEYTABLE=us LANG=e\r\r\nn_US.UTF-8 xen_blkfront.sda_is_xvda=1\ > \ console=ttyS0,115200n8 console=tty0 rd_NO\r\r\n_MD SYSFONT=latarcyrheb-sun16\ > \ crashkernel=auto rd_NO_LVM rd_NO_DM rhgb quiet\r\r\ninitrd /boot/initramfs-2.6.32-431.17.1.el6.x86_64.img\r\ > \r\n\r\r\n============= Init TPM Front ================\r\nTpmfront:Error Unable\ > \ to read device/vtpm/0/backend-id during tpmfront initialization! error = ENOENT\r\ > \nTpmfront:Info Shutting down tpmfront\r\nclose blk: backend=/local/domain/0/backend/vbd/839/2049\ > \ node=device/vbd/2049\r\nclose blk: backend=/local/domain/0/backend/vbd/839/2128\ > \ node=device/vbd/2128\r\nPCI: Warning: Cannot find a gap in the 32bit address\ > \ range\r\nPCI: Unassigned devices with 32bit resource registers may break!\r\n\ > PCI: Warning: Cannot find a gap in the 32bit address range\r\nPCI: Unassigned\ > \ devices with 32bit resource registers may break!\r\nPCI: Fatal: No config space\ > \ access function found\r\nipmi_si: Could not set up I/O space\r\nipmi_si: Could\ > \ not set up I/O space\r\nipmi_si: Could not set up I/O space\r\nmicrocode: CPU0\ > \ update to revision 0x710 failed\r\nmicrocode: CPU1 update to revision 0x710\ > \ failed\r\nmicrocode: CPU2 update to revision 0x710 failed\r\nmicrocode: CPU3\ > \ update to revision 0x710 failed\r\nmicrocode: CPU0 update to revision 0x710\ > \ failed\r\nmicrocode: CPU1 update to revision 0x710 failed\r\nmicrocode: CPU2\ > \ update to revision 0x710 failed\r\nmicrocode: CPU3 update to revision 0x710\ > \ failed\r\nmicrocode: CPU0 update to revision 0x710 failed\r\nmicrocode: CPU1\ > \ update to revision 0x710 failed\r\nmicrocode: CPU2 update to revision 0x710\ > \ failed\r\nmicrocode: CPU3 update to revision 0x710 failed\r\nmicrocode: CPU0\ > \ update to revision 0x710 failed\r\nmicrocode: CPU1 update to revision 0x710\ > \ failed\r\nmicrocode: CPU2 update to revision 0x710 failed\r\nmicrocode: CPU3\ > \ update to revision 0x710 failed\r\nmicrocode: CPU0 update to revision 0x710\ > \ failed\r\nmicrocode: CPU1 update to revision 0x710 failed\r\nmicrocode: CPU2\ > \ update to revision 0x710 failed\r\nmicrocode: CPU3 update to revision 0x710\ > \ failed\r\nmicrocode: CPU0 update to revision 0x710 failed\r\nmicrocode: CPU1\ > \ update to revision 0x710 failed\r\nmicrocode: CPU2 update to revision 0x710\ > \ failed\r\nmicrocode: CPU3 update to revision 0x710 failed\r\nRestarting system.\r\ > \n", m2.4xlarge: "Xen Minimal OS!\r\n start_info: 0x9266000(VA)\r\n nr_pages:\ > \ 0x1117000\r\n shared_inf: 0xbf71a000(MA)\r\n pt_base: 0x9269000(VA)\r\n\ > nr_pt_frames: 0x4d\r\n mfn_list: 0x9ae000(VA)\r\n mod_start: 0x0(VA)\r\n\ > \ mod_len: 0\r\n flags: 0x0\r\n cmd_line: root=/dev/sda1 ro 4\r\n\ > \ stack: 0x96d840-0x98d840\r\nMM: Init\r\n _text: 0x0(VA)\r\n _etext:\ > \ 0x7dc7d(VA)\r\n _erodata: 0x9a000(VA)\r\n _edata: 0x9fce0(VA)\r\nstack\ > \ start: 0x96d840(VA)\r\n _end: 0x9ade40(VA)\r\n start_pfn: 92b9\r\n \ > \ max_pfn: 1117000\r\nMapping memory range 0x9400000 - 0x1117000000\r\nsetting\ > \ 0x0-0x9a000 readonly\r\nskipped 0x1000\r\nMM: Initialise page allocator for\ > \ 11b6b000(11b6b000)-1117000000(1117000000)\r\nMM: done\r\nDemand map pfns at\ > \ 1117001000-3117001000.\r\nHeap resides at 3117002000-5117002000.\r\nInitialising\ > \ timer interface\r\nInitialising console ... done.\r\ngnttab_table mapped at\ > \ 0x1117001000.\r\nInitialising scheduler\r\nThread \"Idle\": pointer: 0x3117002050,\ > \ stack: 0x1113690000\r\nThread \"xenstore\": pointer: 0x3117002800, stack: 0x11136a0000\r\ > \nxenbus initialised on irq 1 mfn 0x10abfed\r\nThread \"shutdown\": pointer: 0x3117002fb0,\ > \ stack: 0x11136c0000\r\nDummy main: start_info=0x98d940\r\nThread \"main\": pointer:\ > \ 0x3117003760, stack: 0x11136d0000\r\n\"main\" \"root=/dev/sda1\" \"ro\" \"4\"\ > \ \r\nvbd 2049 is hd0\r\n******************* BLKFRONT for device/vbd/2049 **********\r\ > \n\r\n\r\nbackend at /local/domain/0/backend/vbd/111/2049\r\nFailed to read /local/domain/0/backend/vbd/111/2049/feature-barrier.\r\ > \nFailed to read /local/domain/0/backend/vbd/111/2049/feature-flush-cache.\r\n\ > 31457280 sectors of 512 bytes\r\n**************************\r\nvbd 2128 is hd1\r\ > \n******************* BLKFRONT for device/vbd/2128 **********\r\n\r\n\r\nbackend\ > \ at /local/domain/0/backend/vbd/111/2128\r\nFailed to read /local/domain/0/backend/vbd/111/2128/feature-barrier.\r\ > \nFailed to read /local/domain/0/backend/vbd/111/2128/feature-flush-cache.\r\n\ > 1761475584 sectors of 512 bytes\r\n**************************\r\nThread \"kbdfront\"\ > : pointer: 0x31170046d0, stack: 0x11136e0000\r\n******************* FBFRONT for\ > \ device/vfb/0 **********\r\n\r\n\r\n******************* KBDFRONT for device/vkbd/0\ > \ **********\r\n\r\n\r\nFailed to read device/vfb/0/backend-id.\r\nFailed to read\ > \ device/vkbd/0/backend-id.\r\nerror writing initialized: ENOENT\r\nAbort transaction\ > \ switching state\r\n\rPress `ESC' to enter the menu... 0 \e[H\e[J Booting\ > \ 'Red Hat Enterprise Linux (2.6.32-431.17.1.el6.x86_64)'\r\r\n\r\r\nroot (hd0)\r\ > \r\nError ENOENT when reading the backend path device/vkbd/0/backend\r\nThread\ > \ \"kbdfront\" exited.\r\n Filesystem type is ext2fs, using whole disk\r\r\nkernel\ > \ /boot/vmlinuz-2.6.32-431.17.1.el6.x86_64 console=ttyS0 ro root=UUID=23ce\r\r\ > \ncb9c-baa3-4407-9485-ddf59583c3ed rd_NO_LUKS KEYBOARDTYPE=pc KEYTABLE=us LANG=e\r\ > \r\nn_US.UTF-8 xen_blkfront.sda_is_xvda=1 console=ttyS0,115200n8 console=tty0\ > \ rd_NO\r\r\n_MD SYSFONT=latarcyrheb-sun16 crashkernel=auto rd_NO_LVM rd_NO_DM\ > \ rhgb quiet\r\r\ninitrd /boot/initramfs-2.6.32-431.17.1.el6.x86_64.img\r\r\n\r\ > \r\n============= Init TPM Front ================\r\nTpmfront:Error Unable to\ > \ read device/vtpm/0/backend-id during tpmfront initialization! error = ENOENT\r\ > \nTpmfront:Info Shutting down tpmfront\r\nclose blk: backend=/local/domain/0/backend/vbd/111/2049\ > \ node=device/vbd/2049\r\nclose blk: backend=/local/domain/0/backend/vbd/111/2128\ > \ node=device/vbd/2128\r\nPCI: Warning: Cannot find a gap in the 32bit address\ > \ range\r\nPCI: Unassigned devices with 32bit resource registers may break!\r\n\ > PCI: Warning: Cannot find a gap in the 32bit address range\r\nPCI: Unassigned\ > \ devices with 32bit resource registers may break!\r\nPCI: Fatal: No config space\ > \ access function found\r\nipmi_si: Could not set up I/O space\r\nipmi_si: Could\ > \ not set up I/O space\r\nipmi_si: Could not set up I/O space\r\nmicrocode: CPU0\ > \ update to revision 0x19 failed\r\nmicrocode: CPU1 update to revision 0x19 failed\r\ > \nmicrocode: CPU2 update to revision 0x19 failed\r\nmicrocode: CPU3 update to\ > \ revision 0x19 failed\r\nmicrocode: CPU4 update to revision 0x19 failed\r\nmicrocode:\ > \ CPU5 update to revision 0x19 failed\r\nmicrocode: CPU6 update to revision 0x19\ > \ failed\r\nmicrocode: CPU7 update to revision 0x19 failed\r\nmicrocode: CPU0\ > \ update to revision 0x19 failed\r\nmicrocode: CPU1 update to revision 0x19 failed\r\ > \nmicrocode: CPU2 update to revision 0x19 failed\r\nmicrocode: CPU3 update to\ > \ revision 0x19 failed\r\nmicrocode: CPU4 update to revision 0x19 failed\r\nmicrocode:\ > \ CPU5 update to revision 0x19 failed\r\nmicrocode: CPU6 update to revision 0x19\ > \ failed\r\nmicrocode: CPU7 update to revision 0x19 failed\r\nmicrocode: CPU0\ > \ update to revision 0x19 failed\r\nmicrocode: CPU1 update to revision 0x19 failed\r\ > \nmicrocode: CPU2 update to revision 0x19 failed\r\nmicrocode: CPU3 update to\ > \ revision 0x19 failed\r\nmicrocode: CPU4 update to revision 0x19 failed\r\nmicrocode:\ > \ CPU5 update to revision 0x19 failed\r\nmicrocode: CPU6 update to revision 0x19\ > \ failed\r\nmicrocode: CPU7 update to revision 0x19 failed\r\nmicrocode: CPU0\ > \ update to revision 0x19 failed\r\nmicrocode: CPU1 update to revision 0x19 failed\r\ > \nmicrocode: CPU2 update to revision 0x19 failed\r\nmicrocode: CPU3 update to\ > \ revision 0x19 failed\r\nmicrocode: CPU4 update to revision 0x19 failed\r\nmicrocode:\ > \ CPU5 update to revision 0x19 failed\r\nmicrocode: CPU6 update to revision 0x19\ > \ failed\r\nmicrocode: CPU7 update to revision 0x19 failed\r\nmicrocode: CPU0\ > \ update to revision 0x19 failed\r\nmicrocode: CPU1 update to revision 0x19 failed\r\ > \nmicrocode: CPU2 update to revision 0x19 failed\r\nmicrocode: CPU3 update to\ > \ revision 0x19 failed\r\nmicrocode: CPU4 update to revision 0x19 failed\r\nmicrocode:\ > \ CPU5 update to revision 0x19 failed\r\nmicrocode: CPU6 update to revision 0x19\ > \ failed\r\nmicrocode: CPU7 update to revision 0x19 failed\r\nmicrocode: CPU0\ > \ update to revision 0x19 failed\r\nmicrocode: CPU1 update to revision 0x19 failed\r\ > \nmicrocode: CPU2 update to revision 0x19 failed\r\nmicrocode: CPU3 update to\ > \ revision 0x19 failed\r\nmicrocode: CPU4 update to revision 0x19 failed\r\nmicrocode:\ > \ CPU5 update to revision 0x19 failed\r\nmicrocode: CPU6 update to revision 0x19\ > \ failed\r\nmicrocode: CPU7 update to revision 0x19 failed\r\nmicrocode: CPU0\ > \ update to revision 0x19 failed\r\nmicrocode: CPU1 update to revision 0x19 failed\r\ > \nmicrocode: CPU2 update to revision 0x19 failed\r\nmicrocode: CPU3 update to\ > \ revision 0x19 failed\r\nmicrocode: CPU4 update to revision 0x19 failed\r\nmicrocode:\ > \ CPU5 update to revision 0x19 failed\r\nmicrocode: CPU6 update to revision 0x19\ > \ failed\r\nmicrocode: CPU7 update to revision 0x19 failed\r\nRestarting system.\r\ > \n", m2.xlarge: "Xen Minimal OS!\r\n start_info: 0x2bdc000(VA)\r\n nr_pages:\ > \ 0x445c00\r\n shared_inf: 0xbf5ef000(MA)\r\n pt_base: 0x2bdf000(VA)\r\n\ > nr_pt_frames: 0x1b\r\n mfn_list: 0x9ae000(VA)\r\n mod_start: 0x0(VA)\r\n\ > \ mod_len: 0\r\n flags: 0x0\r\n cmd_line: root=/dev/sda1 ro 4\r\n\ > \ stack: 0x96d840-0x98d840\r\nMM: Init\r\n _text: 0x0(VA)\r\n _etext:\ > \ 0x7dc7d(VA)\r\n _erodata: 0x9a000(VA)\r\n _edata: 0x9fce0(VA)\r\nstack\ > \ start: 0x96d840(VA)\r\n _end: 0x9ade40(VA)\r\n start_pfn: 2bfd\r\n \ > \ max_pfn: 445c00\r\nMapping memory range 0x3000000 - 0x445c00000\r\nsetting\ > \ 0x0-0x9a000 readonly\r\nskipped 0x1000\r\nMM: Initialise page allocator for\ > \ 4e24000(4e24000)-445c00000(445c00000)\r\nMM: done\r\nDemand map pfns at 445c01000-2445c01000.\r\ > \nHeap resides at 2445c02000-4445c02000.\r\nInitialising timer interface\r\nInitialising\ > \ console ... done.\r\ngnttab_table mapped at 0x445c01000.\r\nInitialising scheduler\r\ > \nThread \"Idle\": pointer: 0x2445c02050, stack: 0x5500000\r\nThread \"xenstore\"\ > : pointer: 0x2445c02800, stack: 0x5510000\r\nxenbus initialised on irq 1 mfn 0x10b44ef\r\ > \nThread \"shutdown\": pointer: 0x2445c02fb0, stack: 0x5520000\r\nDummy main:\ > \ start_info=0x98d940\r\nThread \"main\": pointer: 0x2445c03760, stack: 0x5530000\r\ > \n\"main\" \"root=/dev/sda1\" \"ro\" \"4\" \r\nvbd 2049 is hd0\r\n*******************\ > \ BLKFRONT for device/vbd/2049 **********\r\n\r\n\r\nbackend at /local/domain/0/backend/vbd/247/2049\r\ > \nFailed to read /local/domain/0/backend/vbd/247/2049/feature-barrier.\r\nFailed\ > \ to read /local/domain/0/backend/vbd/247/2049/feature-flush-cache.\r\n31457280\ > \ sectors of 512 bytes\r\n**************************\r\nvbd 2128 is hd1\r\n*******************\ > \ BLKFRONT for device/vbd/2128 **********\r\n\r\n\r\nbackend at /local/domain/0/backend/vbd/247/2128\r\ > \nFailed to read /local/domain/0/backend/vbd/247/2128/feature-barrier.\r\nFailed\ > \ to read /local/domain/0/backend/vbd/247/2128/feature-flush-cache.\r\n859761664\ > \ sectors of 512 bytes\r\n**************************\r\nThread \"kbdfront\": pointer:\ > \ 0x2445c046d0, stack: 0x5540000\r\n******************* FBFRONT for device/vfb/0\ > \ **********\r\n\r\n\r\n******************* KBDFRONT for device/vkbd/0 **********\r\ > \n\r\n\r\nFailed to read device/vfb/0/backend-id.\r\nFailed to read device/vkbd/0/backend-id.\r\ > \nerror writing initialized: ENOENT\r\nAbort transaction switching state\r\n\r\ > Press `ESC' to enter the menu... 0 \e[H\e[J Booting 'Red Hat Enterprise Linux\ > \ (2.6.32-431.17.1.el6.x86_64)'\r\r\n\r\r\nroot (hd0)\r\r\nError ENOENT when reading\ > \ the backend path device/vkbd/0/backend\r\nThread \"kbdfront\" exited.\r\n Filesystem\ > \ type is ext2fs, using whole disk\r\r\nkernel /boot/vmlinuz-2.6.32-431.17.1.el6.x86_64\ > \ console=ttyS0 ro root=UUID=23ce\r\r\ncb9c-baa3-4407-9485-ddf59583c3ed rd_NO_LUKS\ > \ KEYBOARDTYPE=pc KEYTABLE=us LANG=e\r\r\nn_US.UTF-8 xen_blkfront.sda_is_xvda=1\ > \ console=ttyS0,115200n8 console=tty0 rd_NO\r\r\n_MD SYSFONT=latarcyrheb-sun16\ > \ crashkernel=auto rd_NO_LVM rd_NO_DM rhgb quiet\r\r\ninitrd /boot/initramfs-2.6.32-431.17.1.el6.x86_64.img\r\ > \r\n\r\r\n============= Init TPM Front ================\r\nTpmfront:Error Unable\ > \ to read device/vtpm/0/backend-id during tpmfront initialization! error = ENOENT\r\ > \nTpmfront:Info Shutting down tpmfront\r\nclose blk: backend=/local/domain/0/backend/vbd/247/2049\ > \ node=device/vbd/2049\r\nclose blk: backend=/local/domain/0/backend/vbd/247/2128\ > \ node=device/vbd/2128\r\nPCI: Warning: Cannot find a gap in the 32bit address\ > \ range\r\nPCI: Unassigned devices with 32bit resource registers may break!\r\n\ > PCI: Warning: Cannot find a gap in the 32bit address range\r\nPCI: Unassigned\ > \ devices with 32bit resource registers may break!\r\nPCI: Fatal: No config space\ > \ access function found\r\nipmi_si: Could not set up I/O space\r\nipmi_si: Could\ > \ not set up I/O space\r\nipmi_si: Could not set up I/O space\r\nmicrocode: CPU0\ > \ update to revision 0x19 failed\r\nmicrocode: CPU1 update to revision 0x19 failed\r\ > \nmicrocode: CPU0 update to revision 0x19 failed\r\nmicrocode: CPU1 update to\ > \ revision 0x19 failed\r\nmicrocode: CPU0 update to revision 0x19 failed\r\nmicrocode:\ > \ CPU1 update to revision 0x19 failed\r\nmicrocode: CPU0 update to revision 0x19\ > \ failed\r\nmicrocode: CPU1 update to revision 0x19 failed\r\nmicrocode: CPU0\ > \ update to revision 0x19 failed\r\nmicrocode: CPU1 update to revision 0x19 failed\r\ > \nRestarting system.\r\n", t1.micro: "Xen Minimal OS!\r\n start_info: 0xae2000(VA)\r\ > \n nr_pages: 0x26700\r\n shared_inf: 0xbfb29000(MA)\r\n pt_base: 0xae5000(VA)\r\ > \nnr_pt_frames: 0x9\r\n mfn_list: 0x9ae000(VA)\r\n mod_start: 0x0(VA)\r\n\ > \ mod_len: 0\r\n flags: 0x0\r\n cmd_line: root=/dev/sda1 ro 4\r\n\ > \ stack: 0x96d840-0x98d840\r\nMM: Init\r\n _text: 0x0(VA)\r\n _etext:\ > \ 0x7dc7d(VA)\r\n _erodata: 0x9a000(VA)\r\n _edata: 0x9fce0(VA)\r\nstack\ > \ start: 0x96d840(VA)\r\n _end: 0x9ade40(VA)\r\n start_pfn: af1\r\n \ > \ max_pfn: 26700\r\nMapping memory range 0xc00000 - 0x26700000\r\nsetting 0x0-0x9a000\ > \ readonly\r\nskipped 0x1000\r\nMM: Initialise page allocator for c1f000(c1f000)-26700000(26700000)\r\ > \nMM: done\r\nDemand map pfns at 26701000-2026701000.\r\nHeap resides at 2026702000-4026702000.\r\ > \nInitialising timer interface\r\nInitialising console ... done.\r\ngnttab_table\ > \ mapped at 0x26701000.\r\nInitialising scheduler\r\nThread \"Idle\": pointer:\ > \ 0x2026702050, stack: 0x26660000\r\nThread \"xenstore\": pointer: 0x2026702800,\ > \ stack: 0x26670000\r\nxenbus initialised on irq 1 mfn 0x2d1b00\r\nThread \"shutdown\"\ > : pointer: 0x2026702fb0, stack: 0x26680000\r\nDummy main: start_info=0x98d940\r\ > \nThread \"main\": pointer: 0x2026703760, stack: 0x26690000\r\n\"main\" \"root=/dev/sda1\"\ > \ \"ro\" \"4\" \r\nvbd 2049 is hd0\r\n******************* BLKFRONT for device/vbd/2049\ > \ **********\r\n\r\n\r\nbackend at /local/domain/0/backend/vbd/3753/2049\r\nFailed\ > \ to read /local/domain/0/backend/vbd/3753/2049/feature-barrier.\r\nFailed to\ > \ read /local/domain/0/backend/vbd/3753/2049/feature-flush-cache.\r\n31457280\ > \ sectors of 512 bytes\r\n**************************\r\nThread \"kbdfront\": pointer:\ > \ 0x20267045a0, stack: 0x266b0000\r\n******************* FBFRONT for device/vfb/0\ > \ **********\r\n\r\n\r\n******************* KBDFRONT for device/vkbd/0 **********\r\ > \n\r\n\r\nFailed to read device/vfb/0/backend-id.\r\nFailed to read device/vkbd/0/backend-id.\r\ > \nerror writing initialized: ENOENT\r\nAbort transaction switching state\r\n\r\ > Press `ESC' to enter the menu... 0 \e[H\e[J Booting 'Red Hat Enterprise Linux\ > \ (2.6.32-431.17.1.el6.x86_64)'\r\r\n\r\r\nroot (hd0)\r\r\nError ENOENT when reading\ > \ the backend path device/vkbd/0/backend\r\nThread \"kbdfront\" exited.\r\n Filesystem\ > \ type is ext2fs, using whole disk\r\r\nkernel /boot/vmlinuz-2.6.32-431.17.1.el6.x86_64\ > \ console=ttyS0 ro root=UUID=23ce\r\r\ncb9c-baa3-4407-9485-ddf59583c3ed rd_NO_LUKS\ > \ KEYBOARDTYPE=pc KEYTABLE=us LANG=e\r\r\nn_US.UTF-8 xen_blkfront.sda_is_xvda=1\ > \ console=ttyS0,115200n8 console=tty0 rd_NO\r\r\n_MD SYSFONT=latarcyrheb-sun16\ > \ crashkernel=auto rd_NO_LVM rd_NO_DM rhgb quiet\r\r\ninitrd /boot/initramfs-2.6.32-431.17.1.el6.x86_64.img\r\ > \r\n\r\r\n============= Init TPM Front ================\r\nTpmfront:Error Unable\ > \ to read device/vtpm/0/backend-id during tpmfront initialization! error = ENOENT\r\ > \nTpmfront:Info Shutting down tpmfront\r\nclose blk: backend=/local/domain/0/backend/vbd/3753/2049\ > \ node=device/vbd/2049\r\nPCI: Fatal: No config space access function found\r\n\ > ipmi_si: Could not set up I/O space\r\nipmi_si: Could not set up I/O space\r\n\ > ipmi_si: Could not set up I/O space\r\nmicrocode: CPU0 update to revision 0xa0b\ > \ failed\r\nmicrocode: CPU0 update to revision 0xa0b failed\r\nmicrocode: CPU0\ > \ update to revision 0xa0b failed\r\nmicrocode: CPU0 update to revision 0xa0b\ > \ failed\r\nRestarting system.\r\n"} >product: RHEL >region: us-east-1 >result: > c1.xlarge: > stage1:testcase_01_bash_history: > - {command: '[ ! -f ~/.bash_history ] && echo 0 || cat ~/.bash_history | wc -l', > expectation: "\r\n0\r\n", result: passed} > stage1:testcase_02_selinux_context: > - {command: 'restorecon -R -v -n -e /proc -e /sys -e /mnt / | sed -e ''s, context > , ,'' -e ''s,^restorecon reset ,,'' | cat > /tmp/restorecon_output.txt && > echo SUCCESS', expectation: "\r\nSUCCESS\r\n", result: passed} > - {comment: ' > > Lost entries:[[''/var/cache/yum.*'', [''file_t'', ''rpm_var_cache_t'']]]', > result: warning} > stage1:testcase_03_running_services: > - {command: rpm -q systemd > /dev/null && echo True || echo False, result: passed, > value: 'False'} > - {command: chkconfig --list auditd, expectation: '3:on', result: passed} > - {command: chkconfig --list crond, expectation: '3:on', result: passed} > stage1:testcase_04_cloud_firstboot: > - {command: chkconfig --list rh-cloud-firstboot, expectation: '3:off', result: passed} > - {command: test -f /etc/sysconfig/rh-cloud-firstboot, result: passed} > - {command: cat /etc/sysconfig/rh-cloud-firstboot, expectation: RUN_FIRSTBOOT=NO, > result: passed} > stage1:testcase_05_grub: > - {command: test -h /boot/grub/menu.lst, result: passed} > - {command: readlink -e /boot/grub/menu.lst, expectation: /boot/grub/grub.conf, > result: passed} > - {command: 'grep ''(hd0,0)'' /boot/grub/grub.conf', result: passed} > stage1:testcase_06_inittab: > - {command: rpm -q systemd > /dev/null && echo True || echo False, result: passed, > value: 'False'} > - {command: 'grep ''^id:'' /etc/inittab', expectation: 'id:3:initdefault', result: passed} > stage1:testcase_07_libc6_xen_conf: > - {command: test -f /etc/ld.so.conf.d/libc6-xen.conf, result: passed} > stage1:testcase_08_memory: > - {command: 'grep --color=none ''MemTotal:'' /proc/meminfo', match: '.*\r\nMemTotal:\s*([0-9]+) ', > result: passed, value: '[''6997904'']'} > - {command: '[ 6997904 -gt 6997900 ]', result: passed} > stage1:testcase_09_nameserver: > - {command: dig clock.redhat.com | grep 66.187.233.4, result: passed} > stage1:testcase_10_networking: > - {command: grep "^NETWORKING=yes" /etc/sysconfig/network, result: passed} > - {command: egrep "^DEVICE=(|\")eth0(|\")" /etc/sysconfig/network-scripts/ifcfg-eth0, > result: passed} > stage1:testcase_11_package_set: > - {command: 'rpm -qa --queryformat ''%{NAME},'' && echo', match: ".*\r\n(.*),\r\ > \n.*", result: passed, value: '[''cronie,libssh2,filesystem,redhat-lsb-compat,plymouth-scripts,tzdata-java,iptables-ipv6,libsndfile,iso-codes,kernel-firmware,poppler,mailcap,systemtap-runtime,bind-utils,nss-softokn-freebl,selinux-policy-targeted,at,libattr,cloud-init,ConsoleKit-libs,info,lvm2,logrotate,popt,openssh-clients,nss-tools,freetype,bfa-firmware,gnupg2,gawk,b43-openfwwf,man,elfutils-libelf,iwl1000-firmware,nss_compat_ossl,libselinux,rng-tools,libaio,cyrus-sasl-lib,smartmontools,libsss_autofs,libICE,latencytop,hdparm,tcp_wrappers-libs,yum-plugin-security,libpcap,findutils,vim-enhanced,sgpio,xz-libs,libhugetlbfs-utils,ustr,libidn,ledmon,python,libgcrypt,pinfo,python-dateutil,libgssglue,perl-Crypt-SSLeay,libxml2-python,pcre,tcsh,python-dmidecode,libvorbis,latencytop-tui,pygobject2,psmisc,ntsysv,python-nose,make,oprofile,redhat-support-lib-python,perl-Pod-Escapes,ltrace,python-ldap,perl-Pod-Simple,attr,python-kerberos,perl-Module-Load,mtr,python-crypto,perl-Package-Constants,zip,yum,libmng,bridge-utils,blktrace,perl-Compress-Zlib,latrace,python-argparse,perl-Term-UI,man-pages,python-markdown,perl-Digest-SHA,iwl5000-firmware,gettext,perl-DBI,xorg-x11-drv-ati-firmware,libreport-plugin-rhtsupport,libldb,iwl4965-firmware,libreport-plugin-reportuploader,vim-minimal,rt73usb-firmware,abrt-addon-python,acl,rootfiles,libreport-plugin-mailx,e2fsprogs,python-backports-ssl_match_hostname,snappy,SDL,libedit,libX11,pth,libXi,libusb1,libXrandr,libXfont,libXdamage,perl-DBD-SQLite,java-1.7.0-openjdk,perl-parent,libXv,perl-HTML-Tagset,gtk2,perl-libxml-perl,liboil,shared-mime-info,kbd-misc,atk,iproute,grubby,udev,libxslt,mesa-dri-drivers,tcp_wrappers,device-mapper,patch,kpartx,pinentry,rsyslog,ed,samba-winbind-clients,db4-cxx,policycoreutils-python,vim-common,foomatic-db-ppds,glibc-devel,cryptsetup-luks,perl-devel,rhnsd,perl-Test-Simple,plymouth,perl-ExtUtils-Embed,crda,groff,ntp,cracklib,certmonger,openssl,postfix,hwdata,libgcc,jpackage-utils,tzdata,xdg-utils,mesa-dri-filesystem,rpcbind,latencytop-common,qt-sqlite,basesystem,libpciaccess,xml-common,xorg-x11-fonts-Type1,kernel-headers,ghostscript-fonts,dejavu-fonts-common,poppler-utils,libX11-common,bind-libs,glibc-common,mysql-libs,glibc,fipscheck,bash,pam_krb5,libcap,sssd-client,libstdc++,polkit,libcom_err,cvs,libxml2,nss,chkconfig,mailx,audit-libs,openldap,nss-util,xmlrpc-c-client,bzip2-libs,curl,libpng,rpm,db4,libuser,expat,gpgme,libsepol,hicolor-icon-theme,shadow-utils,rhino,readline,ethtool,sqlite,mingetty,libuuid,sg3_utils-libs,libSM,plymouth-core-libs,xmlrpc-c,libsss_idmap,keyutils-libs,c-ares,libtdb,gpm-libs,btparser,pixman,libnl,libref_array,libogg,libini_config,which,libsemanage,libcap-ng,libffi,libgpg-error,python-libs,libudev,newt-python,elfutils-libs,python-iniparse,bzip2,python-simplejson,binutils,python-ethtool,grep,dbus-python,libtirpc,authconfig,nss-softokn,libselinux-python,net-tools,python-ordereddict,tar,python-pygments,e2fsprogs-libs,numpy,dmidecode,rhnlib,gdbm,python-rhsm,perl-libs,PyYAML,perl-Module-Pluggable,yum-metadata-parser,perl,python-nss,perl-Params-Check,libipa_hbac-python,perl-Module-Load-Conditional,setools-libs-python,perl-IO-Compress-Base,python-paramiko,perl-Compress-Raw-Zlib,python-urlgrabber,lcms-libs,rhn-client-tools,p11-kit,samba4-libs,perl-IO-Compress-Zlib,python-boto,perl-IO-Zlib,python-configobj,perl-Log-Message-Simple,python-krbV,perl-Object-Accessor,audit-libs-python,perl-Module-CoreList,python-cheetah,perl-Compress-Raw-Bzip2,perl-URI,file,xz,cyrus-sasl-gssapi,bc,libselinux-utils,jasper-libs,avahi-libs,libss,diffutils,gmp,libusb,libfontenc,numactl,crash,slang,libcollection,libgfortran,atlas,xorg-x11-font-utils,perl-DBIx-Simple,perl-IO-Compress-Bzip2,ca-certificates,perl-Time-Piece,perl-Parse-CPAN-Meta,perl-HTML-Parser,perl-XML-Parser,gdbm-devel,elfutils,glib2,dbus-glib,libipa_hbac,eggdbus,desktop-file-utils,gstreamer,hal-libs,iw,setools-libs,MAKEDEV,device-mapper-persistent-data,ttmkfdir,portreserve,upstart,time,hunspell,db4-devel,libhugetlbfs,dash,glibc-headers,perl-Test-Harness,perl-ExtUtils-MakeMaker,perl-IPC-Cmd,perl-Archive-Extract,perl-ExtUtils-CBuilder,perl-CPANPLUS,perl-CPAN,ncurses,less,gzip,cracklib-dicts,pam,fontconfig,alsa-lib,cronie-anacron,redhat-lsb-core,redhat-lsb-graphics,redhat-lsb,ipa-python,system-config-firewall-base,dhcp-common,kernel,ipa-client,irqbalance,dhclient,system-config-firewall-tui,sysstat,system-config-network-tui,rh-amazon-rhui-client,samba-client,openssh-server,numad,setuptool,iwl5150-firmware,iwl6050-firmware,iwl6000g2a-firmware,iwl6000-firmware,biosdevname,acpid,readahead,cpuspeed,prelink,seekwatcher,java-1.6.0-openjdk,abrt-cli,yum-utils,redhat-support-tool,gdb,grub,iotop,tcpdump,elinks,sudo,Red_Hat_Enterprise_Linux-Release_Notes-6-en-US,alsa-utils,pam_passwdqc,psacct,powertop,hunspell-en,perl-XML-Grove,perl-XML-Dumper,crash-gcore-command,mlocate,efibootmgr,lsof,unzip,nano,nfs4-acl-tools,libitm,traceroute,vconfig,dosfstools,rdate,eject,b43-fwcutter,trace-cmd,libtopology,words,ql2400-firmware,python-chardet,ql2100-firmware,libproxy-bin,libertas-usb8388-firmware,libproxy-python,ql2500-firmware,libreport-python,zd1211-firmware,libreport,rt61pci-firmware,abrt-libs,ql2200-firmware,abrt-addon-ccpp,ipw2100-firmware,abrt-tui,ipw2200-firmware,abrt-addon-kerneloops,gpg-pubkey,libreport-plugin-logger,xdelta,python-six,python-urllib3,pax,theora-tools,libxcb,libXext,cairo,libXfixes,libXcursor,libXft,pulseaudio-libs,giflib,ghostscript,qt3,libXxf86vm,libXcomposite,pango,python-matplotlib,fprintd,libvisual,busybox,redhat-release-server,iptables,iputils,initscripts,libdrm,mesa-dri1-drivers,usermode,device-mapper-libs,device-mapper-event-libs,device-mapper-event,qt-x11,kbd,libcgroup,samba-common,samba-winbind,nfs-utils,dmraid,lvm2-libs,foomatic-db,cryptsetup-luks-libs,pm-utils,hal,rhn-setup,rhn-check,dracut,mdadm,wireless-tools,ntpdate,yp-tools,sssd,oddjob,cyrus-sasl,crontabs,qt,setup,redhat-lsb-printing,redhat-logos,foomatic-db-filesystem,virt-what,pciutils,poppler-data,selinux-policy,urw-fonts,fontpackages-filesystem,autofs,wget,ncurses-base,pcmciautils,fipscheck-lib,ncurses-libs,subscription-manager,krb5-workstation,zlib,kexec-tools,ConsoleKit,dbus-libs,cifs-utils,nss-sysinit,nspr,parted,libcurl,libacl,iwl100-firmware,rpm-libs,libjpeg-turbo,aic94xx-firmware,passwd,libtalloc,quota,jline,sed,microcode_ctl,hesiod,libtevent,fprintd-pam,libevent,libblkid,hwloc,libdhash,krb5-libs,cas,libyaml,pciutils-libs,perf,libpath_utils,procps,dstat,libasyncns,dbus,man-pages-overrides,rpm-python,pkgconfig,usbutils,python-lxml,cpio,audit,m2crypto,file-libs,perl-core,pyOpenSSL,lua,perl-XML-Twig,python-setuptools,libtiff,valgrind,python-gudev,sysvinit-tools,cyrus-sasl-plain,sos,perl-version,rsync,pygpgme,perl-Locale-Maketext-Simple,scl-utils,libsemanage-python,perl-Log-Message,setserial,python-pycurl,libtasn1,rfkill,pytalloc,gnutls,strace,python-prettytable,perl-Archive-Tar,crash-trace-command,python-netaddr,perl-Module-Loaded,redhat-indexhtml,pytz,perl-CGI,ivtv-firmware,libproxy,libtheora,atmel-firmware,libreport-compat,keyutils,iwl3945-firmware,abrt,checkpolicy,ql23xx-firmware,libreport-plugin-kerneloops,cups-libs,gpg-pubkey,libreport-cli,m4,python-requests,libtar,libXau,lzo,libXrender,newt,libXtst,openjpeg-libs,libXinerama,xz-lzma-compat,libXt,p11-kit-trust,pycairo,perl-Time-HiRes,libthai,perl-libwww-perl,libfprint,tmpwatch,gstreamer-plugins-base,gamin,policycoreutils,libgudev1,util-linux-ng,gstreamer-tools,mesa-libGL,flac,mesa-libGLU,libutempter,cups,db4-utils,phonon-backend-gstreamer,libnih,openssh,libgomp,nfs-utils-lib,mesa-private-llvm,dmraid-events,dejavu-sans-fonts,foomatic,perl-ExtUtils-ParseXS,hal-info,perl-File-Fetch,yum-rhn-plugin,perl-Module-Build,dracut-kernel,cdparanoia-libs,python-iwlib,coreutils-libs,ypbind,coreutils,oddjob-mkhomedir,module-init-tools'']'} > - {comment: 'Newly introduced packages: [''db4-cxx'', ''db4-devel'', ''gdbm-devel'', > ''glibc-devel'', ''glibc-headers'', ''kernel-headers'', ''lzo'', ''mesa-private-llvm'', > ''p11-kit'', ''p11-kit-trust'', ''python-backports-ssl_match_hostname'', ''python-chardet'', > ''python-ordereddict'', ''python-requests'', ''python-six'', ''python-urllib3'', > ''redhat-support-lib-python'', ''redhat-support-tool'', ''shared-mime-info'', > ''snappy'', ''ttmkfdir'', ''xorg-x11-fonts-Type1'']', result: passed} > - {comment: All required package are included, result: passed} > stage1:testcase_12_passwd_group: > - {command: 'grep ''^root:x:0:0:root:/root:/bin/bash'' /etc/passwd', result: passed} > - {command: 'grep ''^nobody:x:99:99:Nobody:/:/sbin/nologin'' /etc/passwd', result: passed} > - {command: 'grep ''^sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/sbin/nologin'' > /etc/passwd', result: passed} > - {command: 'grep ''^root:x:0:'' /etc/group', result: passed} > - {command: 'grep ''^daemon:x:2:bin,daemon'' /etc/group', result: passed} > - {command: 'grep ''^bin:x:1:bin,daemon'' /etc/group', result: passed} > stage1:testcase_13_resize2fs: > - {command: df -h | grep 15G, result: passed} > stage1:testcase_14_host_details: > - {command: '[ ! -z ''`curl http://169.254.169.254/latest/dynamic/instance-identity/signature`'' > ]', result: passed} > - {command: 'curl http://169.254.169.254/latest/dynamic/instance-identity/document', > match: '.*({.*}).*', result: passed, value: '[''{\r\n "instanceId" : "i-8c017adf",\r\n "billingProducts" > : [ "bp-63a5400a" ],\r\n "imageId" : "ami-d88476b0",\r\n "architecture" > : "x86_64",\r\n "pendingTime" : "2014-06-10T08:54:33Z",\r\n "instanceType" > : "c1.xlarge",\r\n "accountId" : "567014786890",\r\n "kernelId" : "aki-919dcaf8",\r\n "ramdiskId" > : null,\r\n "region" : "us-east-1",\r\n "version" : "2010-08-31",\r\n "availabilityZone" > : "us-east-1d",\r\n "devpayProductCodes" : null,\r\n "privateIp" : "10.102.63.94"\r\n}'']'} > - {command: '[ ''ami-d88476b0'' = ''ami-d88476b0'' ]', result: passed} > - {command: '[ ''x86_64'' = ''x86_64'' ]', result: passed} > - {command: '[ ''us-east-1'' = ''us-east-1'' ]', result: passed} > - {command: '[ ''bp-63a5400a'' = ''bp-63a5400a'' ]', result: passed} > stage1:testcase_15_rhel_version: > - {command: 'rpm -q --qf ''%{RELEASE} > > '' --whatprovides redhat-release', match: '.*\r\n([0-9]\.[0-9]+\..*)\r\n.*', > result: passed, value: '[''6.5.0.1.el6'']'} > - {command: '[ ''6.5'' = ''6.5'' ]', result: passed} > stage1:testcase_16_selinux: > - {command: getenforce, expectation: "\r\nEnforcing\r\n", result: passed} > - {command: grep '^SELINUX=enforcing' /etc/sysconfig/selinux, result: passed} > - {command: grep '^SELINUXTYPE=targeted' /etc/sysconfig/selinux, result: passed} > - {command: setenforce Permissive && getenforce, expectation: "\r\nPermissive\r\ > \n", result: passed} > - {command: setenforce Enforcing && getenforce, expectation: "\r\nEnforcing\r\n", > result: passed} > stage1:testcase_17_shells: > - {command: grep 'bin/bash$' /etc/shells, result: passed} > - {command: grep 'bin/nologin$' /etc/shells, result: passed} > stage1:testcase_18_sshd: > - {command: rpm -q systemd > /dev/null && echo True || echo False, result: passed, > value: 'False'} > - {command: 'chkconfig --list sshd | grep ''0:off[[:space:]]*1:off[[:space:]]*2:on[[:space:]]*3:on[[:space:]]*4:on[[:space:]]*5:on[[:space:]]*6:off''', > result: passed} > - {command: service sshd status | grep running, result: passed} > - {command: grep 'PasswordAuthentication no' /etc/ssh/sshd_config, result: passed} > stage1:testcase_19_rhn_system_id: > - {command: '[ ! -f /etc/sysconfig/rhn/systemid ]', result: passed} > stage1:testcase_20_auditd: > - {command: md5sum /etc/sysconfig/auditd | cut -f 1 -d ' ', expectation: d4d43637708e30418c30003e212f76fc, > result: passed} > - {command: md5sum /etc/audit/auditd.conf | cut -f 1 -d ' ', expectation: e1886162554c18906df2ecd258aa4794, > result: passed} > - {command: md5sum /etc/audit/audit.rules | cut -f 1 -d ' ', expectation: f9869e1191838c461f5b9051c78a638d, > result: passed} > stage1:testcase_21_disk_size_format: > - {command: 'mount | grep ''^/dev'' | awk ''{print $1}''', result: passed, value: "/dev/xvda1\r\ > \n/dev/xvdf"} > - {command: 'echo ''###'' ;mount | grep ''^/dev/xvda1'' | awk ''{print $3}''; > echo ''###''', match: ".*\r\n###\r\n(.*)\r\n###\r\n.*", result: passed, value: '[''/'']'} > - {command: 'echo ''###'' ;mount | grep ''^/dev/xvda1'' | awk ''{print $5}''; > echo ''###''', match: ".*\r\n###\r\n(.*)\r\n###\r\n.*", result: passed, value: '[''ext4'']'} > - {command: '[ `df -k /dev/xvda1 | awk ''{ print $2 }'' | tail -n 1` -gt 3937219 > ]', result: passed} > - {command: '[ ext4 = ext4 ]', result: passed} > - {command: 'echo ''###'' ;mount | grep ''^/dev/xvdf'' | awk ''{print $3}''; echo > ''###''', match: ".*\r\n###\r\n(.*)\r\n###\r\n.*", result: passed, value: '[''/mnt'']'} > - {command: 'echo ''###'' ;mount | grep ''^/dev/xvdf'' | awk ''{print $5}''; echo > ''###''', match: ".*\r\n###\r\n(.*)\r\n###\r\n.*", result: passed, value: '[''ext3'']'} > - {command: '[ `df -k /dev/xvdf | awk ''{ print $2 }'' | tail -n 1` -gt 3937219 > ]', result: passed} > - {command: '[ ext3 = ext3 ]', result: passed} > stage1:testcase_22_gpg_keys: > - {command: grep '^gpgcheck=' /etc/yum.repos.d/redhat-*.repo | cut -d\= -f2 | > sort -uf | tr -d ' ', expectation: "\r\n1\r\n", result: passed} > - {command: rpm -qa gpg-pubkey* | wc -l, expectation: "\r\n2\r\n", result: passed} > - {command: rpm -q gpg-pubkey-2fa658e0-45700c69, result: passed} > - {command: rpm -q gpg-pubkey-fd431d51-4ae0493b, result: passed} > stage1:testcase_23_syslog: > - {command: md5sum /etc/rsyslog.conf | cut -f 1 -d ' ', result: passed, value: 8b91b32300134e98ef4aee632ed61e21} > - {comment: /etc/rsyslog.conf md5 matches, result: passed} > stage1:testcase_24_yum_plugin: > - {command: 'grep ''^enabled[[:space:]]*=[[:space:]]*[^0 ]'' /etc/yum/pluginconf.d/rhnplugin.conf', > result: passed} > stage1:testcase_25_uname: > - {command: 'uname -r | sed -e ''s,\.i686$,,'' -e ''s,\.x86_64$,,''', result: passed, > value: 2.6.32-431.17.1.el6} > - {command: 'rpm -q --last kernel | sed -e ''s,^kernel-,,'' -e ''s,[[:space:]].*$,,'' > | head -1 | sed -e ''s,\.i686$,,'' -e ''s,\.x86_64$,,''', result: passed, > value: 2.6.32-431.17.1.el6} > - {command: uname -o, result: passed, value: GNU/Linux} > - {command: '[ 2.6.32-431.17.1.el6 = 2.6.32-431.17.1.el6 ]', result: passed} > - {command: '[ GNU/Linux = ''GNU/Linux'' ]', result: passed} > - {command: grep UPDATEDEFAULT=yes /etc/sysconfig/kernel, result: passed} > - {command: grep DEFAULTKERNEL=kernel /etc/sysconfig/kernel, result: passed} > stage1:testcase_26_verify_rpms: > - actual modified files: {/etc/pam.d/fingerprint-auth: true, /etc/pam.d/password-auth: true, > /etc/pam.d/smartcard-auth: true, /etc/pam.d/system-auth: true, /etc/ssh/sshd_config: true} > expected modified files: {/etc/pam.d/fingerprint-auth: true, /etc/pam.d/password-auth: true, > /etc/pam.d/smartcard-auth: true, /etc/pam.d/system-auth: true, /etc/ssh/sshd_config: true} > result: passed > stage1:testcase_27_yum_repos: > - actual repos: {rhel-source: false, rhel-source-beta: false, rhui-REGION-client-config-server-6: true, > rhui-REGION-rhel-server-debug-rh-common: false, rhui-REGION-rhel-server-debug-rhscl: false, > rhui-REGION-rhel-server-debug-supplementary: false, rhui-REGION-rhel-server-releases: true, > rhui-REGION-rhel-server-releases-optional: true, rhui-REGION-rhel-server-releases-optional-source: false, > rhui-REGION-rhel-server-releases-source: false, rhui-REGION-rhel-server-rh-common: true, > rhui-REGION-rhel-server-rhscl: true, rhui-REGION-rhel-server-source-rh-common: false, > rhui-REGION-rhel-server-source-rhscl: false, rhui-REGION-rhel-server-source-supplementary: false, > rhui-REGION-rhel-server-supplementary: false} > expected repos: {rhel-source: false, rhel-source-beta: false, rhui-REGION-client-config-server-6: true, > rhui-REGION-rhel-server-debug-rh-common: false, rhui-REGION-rhel-server-debug-rhscl: false, > rhui-REGION-rhel-server-debug-supplementary: false, rhui-REGION-rhel-server-releases: true, > rhui-REGION-rhel-server-releases-optional: true, rhui-REGION-rhel-server-releases-optional-source: false, > rhui-REGION-rhel-server-releases-source: false, rhui-REGION-rhel-server-rh-common: true, > rhui-REGION-rhel-server-rhscl: true, rhui-REGION-rhel-server-source-rh-common: false, > rhui-REGION-rhel-server-source-rhscl: false, rhui-REGION-rhel-server-source-supplementary: false, > rhui-REGION-rhel-server-supplementary: false} > result: passed > stage1:testcase_30_rhn_certificates: > - {command: rpm -ql rh-amazon-rhui-client | egrep '.*\.(pem|crt)', result: passed, > value: "/etc/pki/rhui/ca.crt\r\n/etc/pki/rhui/cdn.redhat.com-chain.crt\r\n/etc/pki/rhui/product/content-rhel6.crt\r\ > \n/etc/pki/rhui/product/rhui-client-config-server-6.crt"} > - {command: openssl x509 -in /etc/pki/rhui/ca.crt -noout -dates | grep notAfter, > result: passed, value: 'notAfter=Nov 30 19:46:02 2017 GMT'} > - {comment: '(/etc/pki/rhui/ca.crt).notAfter=2017-11-30 19:46:02; expecting: 2017-11-10 > 00:00:00', result: passed} > - {command: openssl x509 -in /etc/pki/rhui/cdn.redhat.com-chain.crt -noout -dates > | grep notAfter, result: passed, value: 'notAfter=Mar 13 11:24:54 2030 GMT'} > - {comment: '(/etc/pki/rhui/cdn.redhat.com-chain.crt).notAfter=2030-03-13 11:24:54; > expecting: 2017-11-10 00:00:00', result: passed} > - {command: openssl x509 -in /etc/pki/rhui/product/content-rhel6.crt -noout -dates > | grep notAfter, result: passed, value: 'notAfter=Nov 16 15:35:48 2023 GMT'} > - {comment: '(/etc/pki/rhui/product/content-rhel6.crt).notAfter=2023-11-16 15:35:48; > expecting: 2017-11-10 00:00:00', result: passed} > - {command: openssl x509 -in /etc/pki/rhui/product/rhui-client-config-server-6.crt > -noout -dates | grep notAfter, result: passed, value: 'notAfter=Nov 30 18:38:07 > 2020 GMT'} > - {comment: '(/etc/pki/rhui/product/rhui-client-config-server-6.crt).notAfter=2020-11-30 > 18:38:07; expecting: 2017-11-10 00:00:00', result: passed} > stage1:testcase_31_subscription_management: > - {command: yum --disablerepo='*' -v repolist, expectation: Not loading "subscription-manager" > plugin, result: passed} > - {command: yum --enableplugin=subscription-manager --disablerepo='*' -v repolist, > expectation: Loading "subscription-manager" plugin, result: passed} > - {command: subscription-manager list, expectation: Installed Product Status, > result: passed} > stage1:testcase_32_ephemeral: > - {command: ls -la /sbin/mkfs.vfat 2> /dev/null | wc -l, result: passed, value: '1'} > - {command: fdisk -l /dev/xvdf | grep '^Disk', result: passed} > - {command: grep '/dev/xvdf ' /proc/mounts | wc -l, result: passed, value: '1'} > stage1:testcase_33_userdata: > - {command: 'rpm -q --queryformat ''%{NAME} > > '' cloud-init', result: passed, value: cloud-init} > - {command: ls -l /userdata_test, result: passed} > - {command: rpm -q xdelta, result: passed} > stage1:testcase_34_cpu: > - {command: cat /proc/cpuinfo | grep '^processor' | wc -l, expectation: '8', result: passed} > stage1:testcase_360_ebs: > - {command: ls -l /dev/xvdk, result: passed} > - {command: ls -la /sbin/mkfs.vfat 2> /dev/null | wc -l, result: passed, value: '1'} > - {command: mkfs.vfat -I /dev/xvdk, result: passed} > stage1:testcase_39_root_is_locked: > - {command: 'egrep "^root:(\!\!|\*|x|locked):" /etc/shadow', result: passed} > stage1:testcase_41_rh_amazon_rhui_client: > - {command: rpm -q rh-amazon-rhui-client, result: passed} > stage1:testcase_42_ipv6: > - {command: grep NETWORKING_IPV6=no /etc/sysconfig/network, result: passed} > stage1:testcase_50_yum_package_install: > - {command: yum clean all, result: passed} > - {command: yum repolist, result: passed} > - {command: yum search zsh, result: passed} > - {command: yum -y install zsh, result: passed} > - {command: 'rpm -q --queryformat ''%{NAME}'' zsh', result: passed} > - {command: rpm -e zsh, result: passed} > stage1:testcase_55_yum_group_install: > - {command: yum -y groupinstall 'Development tools', result: passed} > - {command: rpm -q glibc-devel, result: passed} > stage1:testcase_60_yum_update: > - {command: 'rpm -q matahari-net && yum -y remove matahari-net ||:', result: passed} > - {command: yum -y install kernel, result: passed} > - {command: yum -y update, result: passed} > stage1:testcase_61_yum_proxy: > - {comment: No proxy set, result: skip} > stage1:testcase_80_no_avc_denials: > - {command: 'echo START; grep ''avc:[[:space:]]*denied'' /var/log/messages /var/log/audit/audit.log > | grep -v userdata; echo END', expectation: "\r\nSTART\r\nEND\r\n", result: passed} > stage1:testcase_99_reboot: > - {command: echo 'doing reboot', result: passed} > - {command: nohup sleep 1s && nohup reboot &, result: passed} > stage2:testcase_08_memory: > - {command: 'grep --color=none ''MemTotal:'' /proc/meminfo', match: '.*\r\nMemTotal:\s*([0-9]+) ', > result: passed, value: '[''6997904'']'} > - {command: '[ 6997904 -gt 6997900 ]', result: passed} > stage2:testcase_25_uname: > - {command: 'uname -r | sed -e ''s,\.i686$,,'' -e ''s,\.x86_64$,,''', result: passed, > value: 2.6.32-431.17.1.el6} > - {command: 'rpm -q --last kernel | sed -e ''s,^kernel-,,'' -e ''s,[[:space:]].*$,,'' > | head -1 | sed -e ''s,\.i686$,,'' -e ''s,\.x86_64$,,''', result: passed, > value: 2.6.32-431.17.1.el6} > - {command: uname -o, result: passed, value: GNU/Linux} > - {command: '[ 2.6.32-431.17.1.el6 = 2.6.32-431.17.1.el6 ]', result: passed} > - {command: '[ GNU/Linux = ''GNU/Linux'' ]', result: passed} > - {command: grep UPDATEDEFAULT=yes /etc/sysconfig/kernel, result: passed} > - {command: grep DEFAULTKERNEL=kernel /etc/sysconfig/kernel, result: passed} > stage2:testcase_37_sshd_bug923996: > - {command: '[ `grep ^PermitRootLogin /etc/ssh/sshd_config | wc -l` -eq 0 ]', > result: passed} > stage2:testcase_80_no_avc_denials: > - {command: 'echo START; grep ''avc:[[:space:]]*denied'' /var/log/messages /var/log/audit/audit.log > | grep -v userdata; echo END', expectation: "\r\nSTART\r\nEND\r\n", result: passed} > m1.large: > stage1:testcase_01_bash_history: > - {command: '[ ! -f ~/.bash_history ] && echo 0 || cat ~/.bash_history | wc -l', > expectation: "\r\n0\r\n", result: passed} > stage1:testcase_02_selinux_context: > - {command: 'restorecon -R -v -n -e /proc -e /sys -e /mnt / | sed -e ''s, context > , ,'' -e ''s,^restorecon reset ,,'' | cat > /tmp/restorecon_output.txt && > echo SUCCESS', expectation: "\r\nSUCCESS\r\n", result: passed} > - {comment: ' > > Lost entries:[[''/var/cache/yum.*'', [''file_t'', ''rpm_var_cache_t'']]]', > result: warning} > stage1:testcase_03_running_services: > - {command: rpm -q systemd > /dev/null && echo True || echo False, result: passed, > value: 'False'} > - {command: chkconfig --list auditd, expectation: '3:on', result: passed} > - {command: chkconfig --list crond, expectation: '3:on', result: passed} > stage1:testcase_04_cloud_firstboot: > - {command: chkconfig --list rh-cloud-firstboot, expectation: '3:off', result: passed} > - {command: test -f /etc/sysconfig/rh-cloud-firstboot, result: passed} > - {command: cat /etc/sysconfig/rh-cloud-firstboot, expectation: RUN_FIRSTBOOT=NO, > result: passed} > stage1:testcase_05_grub: > - {command: test -h /boot/grub/menu.lst, result: passed} > - {command: readlink -e /boot/grub/menu.lst, expectation: /boot/grub/grub.conf, > result: passed} > - {command: 'grep ''(hd0,0)'' /boot/grub/grub.conf', result: passed} > stage1:testcase_06_inittab: > - {command: rpm -q systemd > /dev/null && echo True || echo False, result: passed, > value: 'False'} > - {command: 'grep ''^id:'' /etc/inittab', expectation: 'id:3:initdefault', result: passed} > stage1:testcase_07_libc6_xen_conf: > - {command: test -f /etc/ld.so.conf.d/libc6-xen.conf, result: passed} > stage1:testcase_08_memory: > - {command: 'grep --color=none ''MemTotal:'' /proc/meminfo', match: '.*\r\nMemTotal:\s*([0-9]+) ', > result: passed, value: '[''7513700'']'} > - {command: '[ 7513700 -gt 7500000 ]', result: passed} > stage1:testcase_09_nameserver: > - {command: dig clock.redhat.com | grep 66.187.233.4, result: passed} > stage1:testcase_10_networking: > - {command: grep "^NETWORKING=yes" /etc/sysconfig/network, result: passed} > - {command: egrep "^DEVICE=(|\")eth0(|\")" /etc/sysconfig/network-scripts/ifcfg-eth0, > result: passed} > stage1:testcase_11_package_set: > - {command: 'rpm -qa --queryformat ''%{NAME},'' && echo', match: ".*\r\n(.*),\r\ > \n.*", result: passed, value: '[''cronie,libssh2,filesystem,redhat-lsb-compat,plymouth-scripts,tzdata-java,iptables-ipv6,libsndfile,iso-codes,kernel-firmware,poppler,mailcap,systemtap-runtime,bind-utils,nss-softokn-freebl,selinux-policy-targeted,at,libattr,cloud-init,ConsoleKit-libs,info,lvm2,logrotate,popt,openssh-clients,nss-tools,freetype,bfa-firmware,gnupg2,gawk,b43-openfwwf,man,elfutils-libelf,iwl1000-firmware,nss_compat_ossl,libselinux,rng-tools,libaio,cyrus-sasl-lib,smartmontools,libsss_autofs,libICE,latencytop,hdparm,tcp_wrappers-libs,yum-plugin-security,libpcap,findutils,vim-enhanced,sgpio,xz-libs,libhugetlbfs-utils,ustr,libidn,ledmon,python,libgcrypt,pinfo,python-dateutil,libgssglue,perl-Crypt-SSLeay,libxml2-python,pcre,tcsh,python-dmidecode,libvorbis,latencytop-tui,pygobject2,psmisc,ntsysv,python-nose,make,oprofile,redhat-support-lib-python,perl-Pod-Escapes,ltrace,python-ldap,perl-Pod-Simple,attr,python-kerberos,perl-Module-Load,mtr,python-crypto,perl-Package-Constants,zip,yum,libmng,bridge-utils,blktrace,perl-Compress-Zlib,latrace,python-argparse,perl-Term-UI,man-pages,python-markdown,perl-Digest-SHA,iwl5000-firmware,gettext,perl-DBI,xorg-x11-drv-ati-firmware,libreport-plugin-rhtsupport,libldb,iwl4965-firmware,libreport-plugin-reportuploader,vim-minimal,rt73usb-firmware,abrt-addon-python,acl,rootfiles,libreport-plugin-mailx,e2fsprogs,python-backports-ssl_match_hostname,snappy,SDL,libedit,libX11,pth,libXi,libusb1,libXrandr,libXfont,libXdamage,perl-DBD-SQLite,java-1.7.0-openjdk,perl-parent,libXv,perl-HTML-Tagset,gtk2,perl-libxml-perl,liboil,shared-mime-info,kbd-misc,atk,iproute,grubby,udev,libxslt,mesa-dri-drivers,tcp_wrappers,device-mapper,patch,kpartx,pinentry,rsyslog,ed,samba-winbind-clients,db4-cxx,policycoreutils-python,vim-common,foomatic-db-ppds,glibc-devel,cryptsetup-luks,perl-devel,rhnsd,perl-Test-Simple,plymouth,perl-ExtUtils-Embed,crda,groff,ntp,cracklib,certmonger,openssl,postfix,hwdata,libgcc,jpackage-utils,tzdata,xdg-utils,mesa-dri-filesystem,rpcbind,latencytop-common,qt-sqlite,basesystem,libpciaccess,xml-common,xorg-x11-fonts-Type1,kernel-headers,ghostscript-fonts,dejavu-fonts-common,poppler-utils,libX11-common,bind-libs,glibc-common,mysql-libs,glibc,fipscheck,bash,pam_krb5,libcap,sssd-client,libstdc++,polkit,libcom_err,cvs,libxml2,nss,chkconfig,mailx,audit-libs,openldap,nss-util,xmlrpc-c-client,bzip2-libs,curl,libpng,rpm,db4,libuser,expat,gpgme,libsepol,hicolor-icon-theme,shadow-utils,rhino,readline,ethtool,sqlite,mingetty,libuuid,sg3_utils-libs,libSM,plymouth-core-libs,xmlrpc-c,libsss_idmap,keyutils-libs,c-ares,libtdb,gpm-libs,btparser,pixman,libnl,libref_array,libogg,libini_config,which,libsemanage,libcap-ng,libffi,libgpg-error,python-libs,libudev,newt-python,elfutils-libs,python-iniparse,bzip2,python-simplejson,binutils,python-ethtool,grep,dbus-python,libtirpc,authconfig,nss-softokn,libselinux-python,net-tools,python-ordereddict,tar,python-pygments,e2fsprogs-libs,numpy,dmidecode,rhnlib,gdbm,python-rhsm,perl-libs,PyYAML,perl-Module-Pluggable,yum-metadata-parser,perl,python-nss,perl-Params-Check,libipa_hbac-python,perl-Module-Load-Conditional,setools-libs-python,perl-IO-Compress-Base,python-paramiko,perl-Compress-Raw-Zlib,python-urlgrabber,lcms-libs,rhn-client-tools,p11-kit,samba4-libs,perl-IO-Compress-Zlib,python-boto,perl-IO-Zlib,python-configobj,perl-Log-Message-Simple,python-krbV,perl-Object-Accessor,audit-libs-python,perl-Module-CoreList,python-cheetah,perl-Compress-Raw-Bzip2,perl-URI,file,xz,cyrus-sasl-gssapi,bc,libselinux-utils,jasper-libs,avahi-libs,libss,diffutils,gmp,libusb,libfontenc,numactl,crash,slang,libcollection,libgfortran,atlas,xorg-x11-font-utils,perl-DBIx-Simple,perl-IO-Compress-Bzip2,ca-certificates,perl-Time-Piece,perl-Parse-CPAN-Meta,perl-HTML-Parser,perl-XML-Parser,gdbm-devel,elfutils,glib2,dbus-glib,libipa_hbac,eggdbus,desktop-file-utils,gstreamer,hal-libs,iw,setools-libs,MAKEDEV,device-mapper-persistent-data,ttmkfdir,portreserve,upstart,time,hunspell,db4-devel,libhugetlbfs,dash,glibc-headers,perl-Test-Harness,perl-ExtUtils-MakeMaker,perl-IPC-Cmd,perl-Archive-Extract,perl-ExtUtils-CBuilder,perl-CPANPLUS,perl-CPAN,ncurses,less,gzip,cracklib-dicts,pam,fontconfig,alsa-lib,cronie-anacron,redhat-lsb-core,redhat-lsb-graphics,redhat-lsb,ipa-python,system-config-firewall-base,dhcp-common,kernel,ipa-client,irqbalance,dhclient,system-config-firewall-tui,sysstat,system-config-network-tui,rh-amazon-rhui-client,samba-client,openssh-server,numad,setuptool,iwl5150-firmware,iwl6050-firmware,iwl6000g2a-firmware,iwl6000-firmware,biosdevname,acpid,readahead,cpuspeed,prelink,seekwatcher,java-1.6.0-openjdk,abrt-cli,yum-utils,redhat-support-tool,gdb,grub,iotop,tcpdump,elinks,sudo,Red_Hat_Enterprise_Linux-Release_Notes-6-en-US,alsa-utils,pam_passwdqc,psacct,powertop,hunspell-en,perl-XML-Grove,perl-XML-Dumper,crash-gcore-command,mlocate,efibootmgr,lsof,unzip,nano,nfs4-acl-tools,libitm,traceroute,vconfig,dosfstools,rdate,eject,b43-fwcutter,trace-cmd,libtopology,words,ql2400-firmware,python-chardet,ql2100-firmware,libproxy-bin,libertas-usb8388-firmware,libproxy-python,ql2500-firmware,libreport-python,zd1211-firmware,libreport,rt61pci-firmware,abrt-libs,ql2200-firmware,abrt-addon-ccpp,ipw2100-firmware,abrt-tui,ipw2200-firmware,abrt-addon-kerneloops,gpg-pubkey,libreport-plugin-logger,xdelta,python-six,python-urllib3,pax,theora-tools,libxcb,libXext,cairo,libXfixes,libXcursor,libXft,pulseaudio-libs,giflib,ghostscript,qt3,libXxf86vm,libXcomposite,pango,python-matplotlib,fprintd,libvisual,busybox,redhat-release-server,iptables,iputils,initscripts,libdrm,mesa-dri1-drivers,usermode,device-mapper-libs,device-mapper-event-libs,device-mapper-event,qt-x11,kbd,libcgroup,samba-common,samba-winbind,nfs-utils,dmraid,lvm2-libs,foomatic-db,cryptsetup-luks-libs,pm-utils,hal,rhn-setup,rhn-check,dracut,mdadm,wireless-tools,ntpdate,yp-tools,sssd,oddjob,cyrus-sasl,crontabs,qt,setup,redhat-lsb-printing,redhat-logos,foomatic-db-filesystem,virt-what,pciutils,poppler-data,selinux-policy,urw-fonts,fontpackages-filesystem,autofs,wget,ncurses-base,pcmciautils,fipscheck-lib,ncurses-libs,subscription-manager,krb5-workstation,zlib,kexec-tools,ConsoleKit,dbus-libs,cifs-utils,nss-sysinit,nspr,parted,libcurl,libacl,iwl100-firmware,rpm-libs,libjpeg-turbo,aic94xx-firmware,passwd,libtalloc,quota,jline,sed,microcode_ctl,hesiod,libtevent,fprintd-pam,libevent,libblkid,hwloc,libdhash,krb5-libs,cas,libyaml,pciutils-libs,perf,libpath_utils,procps,dstat,libasyncns,dbus,man-pages-overrides,rpm-python,pkgconfig,usbutils,python-lxml,cpio,audit,m2crypto,file-libs,perl-core,pyOpenSSL,lua,perl-XML-Twig,python-setuptools,libtiff,valgrind,python-gudev,sysvinit-tools,cyrus-sasl-plain,sos,perl-version,rsync,pygpgme,perl-Locale-Maketext-Simple,scl-utils,libsemanage-python,perl-Log-Message,setserial,python-pycurl,libtasn1,rfkill,pytalloc,gnutls,strace,python-prettytable,perl-Archive-Tar,crash-trace-command,python-netaddr,perl-Module-Loaded,redhat-indexhtml,pytz,perl-CGI,ivtv-firmware,libproxy,libtheora,atmel-firmware,libreport-compat,keyutils,iwl3945-firmware,abrt,checkpolicy,ql23xx-firmware,libreport-plugin-kerneloops,cups-libs,gpg-pubkey,libreport-cli,m4,python-requests,libtar,libXau,lzo,libXrender,newt,libXtst,openjpeg-libs,libXinerama,xz-lzma-compat,libXt,p11-kit-trust,pycairo,perl-Time-HiRes,libthai,perl-libwww-perl,libfprint,tmpwatch,gstreamer-plugins-base,gamin,policycoreutils,libgudev1,util-linux-ng,gstreamer-tools,mesa-libGL,flac,mesa-libGLU,libutempter,cups,db4-utils,phonon-backend-gstreamer,libnih,openssh,libgomp,nfs-utils-lib,mesa-private-llvm,dmraid-events,dejavu-sans-fonts,foomatic,perl-ExtUtils-ParseXS,hal-info,perl-File-Fetch,yum-rhn-plugin,perl-Module-Build,dracut-kernel,cdparanoia-libs,python-iwlib,coreutils-libs,ypbind,coreutils,oddjob-mkhomedir,module-init-tools'']'} > - {comment: 'Newly introduced packages: [''db4-cxx'', ''db4-devel'', ''gdbm-devel'', > ''glibc-devel'', ''glibc-headers'', ''kernel-headers'', ''lzo'', ''mesa-private-llvm'', > ''p11-kit'', ''p11-kit-trust'', ''python-backports-ssl_match_hostname'', ''python-chardet'', > ''python-ordereddict'', ''python-requests'', ''python-six'', ''python-urllib3'', > ''redhat-support-lib-python'', ''redhat-support-tool'', ''shared-mime-info'', > ''snappy'', ''ttmkfdir'', ''xorg-x11-fonts-Type1'']', result: passed} > - {comment: All required package are included, result: passed} > stage1:testcase_12_passwd_group: > - {command: 'grep ''^root:x:0:0:root:/root:/bin/bash'' /etc/passwd', result: passed} > - {command: 'grep ''^nobody:x:99:99:Nobody:/:/sbin/nologin'' /etc/passwd', result: passed} > - {command: 'grep ''^sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/sbin/nologin'' > /etc/passwd', result: passed} > - {command: 'grep ''^root:x:0:'' /etc/group', result: passed} > - {command: 'grep ''^daemon:x:2:bin,daemon'' /etc/group', result: passed} > - {command: 'grep ''^bin:x:1:bin,daemon'' /etc/group', result: passed} > stage1:testcase_13_resize2fs: > - {command: df -h | grep 15G, result: passed} > stage1:testcase_14_host_details: > - {command: '[ ! -z ''`curl http://169.254.169.254/latest/dynamic/instance-identity/signature`'' > ]', result: passed} > - {command: 'curl http://169.254.169.254/latest/dynamic/instance-identity/document', > match: '.*({.*}).*', result: passed, value: '[''{\r\n "version" : "2010-08-31",\r\n "imageId" > : "ami-d88476b0",\r\n "architecture" : "x86_64",\r\n "pendingTime" : "2014-06-10T08:54:31Z",\r\n "instanceType" > : "m1.large",\r\n "devpayProductCodes" : null,\r\n "privateIp" : "10.110.253.234",\r\n "region" > : "us-east-1",\r\n "accountId" : "567014786890",\r\n "instanceId" : "i-72c69e22",\r\n "billingProducts" > : [ "bp-63a5400a" ],\r\n "availabilityZone" : "us-east-1c",\r\n "kernelId" > : "aki-919dcaf8",\r\n "ramdiskId" : null\r\n}'']'} > - {command: '[ ''ami-d88476b0'' = ''ami-d88476b0'' ]', result: passed} > - {command: '[ ''x86_64'' = ''x86_64'' ]', result: passed} > - {command: '[ ''us-east-1'' = ''us-east-1'' ]', result: passed} > - {command: '[ ''bp-63a5400a'' = ''bp-63a5400a'' ]', result: passed} > stage1:testcase_15_rhel_version: > - {command: 'rpm -q --qf ''%{RELEASE} > > '' --whatprovides redhat-release', match: '.*\r\n([0-9]\.[0-9]+\..*)\r\n.*', > result: passed, value: '[''6.5.0.1.el6'']'} > - {command: '[ ''6.5'' = ''6.5'' ]', result: passed} > stage1:testcase_16_selinux: > - {command: getenforce, expectation: "\r\nEnforcing\r\n", result: passed} > - {command: grep '^SELINUX=enforcing' /etc/sysconfig/selinux, result: passed} > - {command: grep '^SELINUXTYPE=targeted' /etc/sysconfig/selinux, result: passed} > - {command: setenforce Permissive && getenforce, expectation: "\r\nPermissive\r\ > \n", result: passed} > - {command: setenforce Enforcing && getenforce, expectation: "\r\nEnforcing\r\n", > result: passed} > stage1:testcase_17_shells: > - {command: grep 'bin/bash$' /etc/shells, result: passed} > - {command: grep 'bin/nologin$' /etc/shells, result: passed} > stage1:testcase_18_sshd: > - {command: rpm -q systemd > /dev/null && echo True || echo False, result: passed, > value: 'False'} > - {command: 'chkconfig --list sshd | grep ''0:off[[:space:]]*1:off[[:space:]]*2:on[[:space:]]*3:on[[:space:]]*4:on[[:space:]]*5:on[[:space:]]*6:off''', > result: passed} > - {command: service sshd status | grep running, result: passed} > - {command: grep 'PasswordAuthentication no' /etc/ssh/sshd_config, result: passed} > stage1:testcase_19_rhn_system_id: > - {command: '[ ! -f /etc/sysconfig/rhn/systemid ]', result: passed} > stage1:testcase_20_auditd: > - {command: md5sum /etc/sysconfig/auditd | cut -f 1 -d ' ', expectation: d4d43637708e30418c30003e212f76fc, > result: passed} > - {command: md5sum /etc/audit/auditd.conf | cut -f 1 -d ' ', expectation: e1886162554c18906df2ecd258aa4794, > result: passed} > - {command: md5sum /etc/audit/audit.rules | cut -f 1 -d ' ', expectation: f9869e1191838c461f5b9051c78a638d, > result: passed} > stage1:testcase_21_disk_size_format: > - {command: 'mount | grep ''^/dev'' | awk ''{print $1}''', result: passed, value: "/dev/xvda1\r\ > \n/dev/xvdf"} > - {command: 'echo ''###'' ;mount | grep ''^/dev/xvda1'' | awk ''{print $3}''; > echo ''###''', match: ".*\r\n###\r\n(.*)\r\n###\r\n.*", result: passed, value: '[''/'']'} > - {command: 'echo ''###'' ;mount | grep ''^/dev/xvda1'' | awk ''{print $5}''; > echo ''###''', match: ".*\r\n###\r\n(.*)\r\n###\r\n.*", result: passed, value: '[''ext4'']'} > - {command: '[ `df -k /dev/xvda1 | awk ''{ print $2 }'' | tail -n 1` -gt 3937219 > ]', result: passed} > - {command: '[ ext4 = ext4 ]', result: passed} > - {command: 'echo ''###'' ;mount | grep ''^/dev/xvdf'' | awk ''{print $3}''; echo > ''###''', match: ".*\r\n###\r\n(.*)\r\n###\r\n.*", result: passed, value: '[''/mnt'']'} > - {command: 'echo ''###'' ;mount | grep ''^/dev/xvdf'' | awk ''{print $5}''; echo > ''###''', match: ".*\r\n###\r\n(.*)\r\n###\r\n.*", result: passed, value: '[''ext3'']'} > - {command: '[ `df -k /dev/xvdf | awk ''{ print $2 }'' | tail -n 1` -gt 3937219 > ]', result: passed} > - {command: '[ ext3 = ext3 ]', result: passed} > stage1:testcase_22_gpg_keys: > - {command: grep '^gpgcheck=' /etc/yum.repos.d/redhat-*.repo | cut -d\= -f2 | > sort -uf | tr -d ' ', expectation: "\r\n1\r\n", result: passed} > - {command: rpm -qa gpg-pubkey* | wc -l, expectation: "\r\n2\r\n", result: passed} > - {command: rpm -q gpg-pubkey-2fa658e0-45700c69, result: passed} > - {command: rpm -q gpg-pubkey-fd431d51-4ae0493b, result: passed} > stage1:testcase_23_syslog: > - {command: md5sum /etc/rsyslog.conf | cut -f 1 -d ' ', result: passed, value: 8b91b32300134e98ef4aee632ed61e21} > - {comment: /etc/rsyslog.conf md5 matches, result: passed} > stage1:testcase_24_yum_plugin: > - {command: 'grep ''^enabled[[:space:]]*=[[:space:]]*[^0 ]'' /etc/yum/pluginconf.d/rhnplugin.conf', > result: passed} > stage1:testcase_25_uname: > - {command: 'uname -r | sed -e ''s,\.i686$,,'' -e ''s,\.x86_64$,,''', result: passed, > value: 2.6.32-431.17.1.el6} > - {command: 'rpm -q --last kernel | sed -e ''s,^kernel-,,'' -e ''s,[[:space:]].*$,,'' > | head -1 | sed -e ''s,\.i686$,,'' -e ''s,\.x86_64$,,''', result: passed, > value: 2.6.32-431.17.1.el6} > - {command: uname -o, result: passed, value: GNU/Linux} > - {command: '[ 2.6.32-431.17.1.el6 = 2.6.32-431.17.1.el6 ]', result: passed} > - {command: '[ GNU/Linux = ''GNU/Linux'' ]', result: passed} > - {command: grep UPDATEDEFAULT=yes /etc/sysconfig/kernel, result: passed} > - {command: grep DEFAULTKERNEL=kernel /etc/sysconfig/kernel, result: passed} > stage1:testcase_26_verify_rpms: > - actual modified files: {/etc/pam.d/fingerprint-auth: true, /etc/pam.d/password-auth: true, > /etc/pam.d/smartcard-auth: true, /etc/pam.d/system-auth: true, /etc/ssh/sshd_config: true} > expected modified files: {/etc/pam.d/fingerprint-auth: true, /etc/pam.d/password-auth: true, > /etc/pam.d/smartcard-auth: true, /etc/pam.d/system-auth: true, /etc/ssh/sshd_config: true} > result: passed > stage1:testcase_27_yum_repos: > - actual repos: {rhel-source: false, rhel-source-beta: false, rhui-REGION-client-config-server-6: true, > rhui-REGION-rhel-server-debug-rh-common: false, rhui-REGION-rhel-server-debug-rhscl: false, > rhui-REGION-rhel-server-debug-supplementary: false, rhui-REGION-rhel-server-releases: true, > rhui-REGION-rhel-server-releases-optional: true, rhui-REGION-rhel-server-releases-optional-source: false, > rhui-REGION-rhel-server-releases-source: false, rhui-REGION-rhel-server-rh-common: true, > rhui-REGION-rhel-server-rhscl: true, rhui-REGION-rhel-server-source-rh-common: false, > rhui-REGION-rhel-server-source-rhscl: false, rhui-REGION-rhel-server-source-supplementary: false, > rhui-REGION-rhel-server-supplementary: false} > expected repos: {rhel-source: false, rhel-source-beta: false, rhui-REGION-client-config-server-6: true, > rhui-REGION-rhel-server-debug-rh-common: false, rhui-REGION-rhel-server-debug-rhscl: false, > rhui-REGION-rhel-server-debug-supplementary: false, rhui-REGION-rhel-server-releases: true, > rhui-REGION-rhel-server-releases-optional: true, rhui-REGION-rhel-server-releases-optional-source: false, > rhui-REGION-rhel-server-releases-source: false, rhui-REGION-rhel-server-rh-common: true, > rhui-REGION-rhel-server-rhscl: true, rhui-REGION-rhel-server-source-rh-common: false, > rhui-REGION-rhel-server-source-rhscl: false, rhui-REGION-rhel-server-source-supplementary: false, > rhui-REGION-rhel-server-supplementary: false} > result: passed > stage1:testcase_30_rhn_certificates: > - {command: rpm -ql rh-amazon-rhui-client | egrep '.*\.(pem|crt)', result: passed, > value: "/etc/pki/rhui/ca.crt\r\n/etc/pki/rhui/cdn.redhat.com-chain.crt\r\n/etc/pki/rhui/product/content-rhel6.crt\r\ > \n/etc/pki/rhui/product/rhui-client-config-server-6.crt"} > - {command: openssl x509 -in /etc/pki/rhui/ca.crt -noout -dates | grep notAfter, > result: passed, value: 'notAfter=Nov 30 19:46:02 2017 GMT'} > - {comment: '(/etc/pki/rhui/ca.crt).notAfter=2017-11-30 19:46:02; expecting: 2017-11-10 > 00:00:00', result: passed} > - {command: openssl x509 -in /etc/pki/rhui/cdn.redhat.com-chain.crt -noout -dates > | grep notAfter, result: passed, value: 'notAfter=Mar 13 11:24:54 2030 GMT'} > - {comment: '(/etc/pki/rhui/cdn.redhat.com-chain.crt).notAfter=2030-03-13 11:24:54; > expecting: 2017-11-10 00:00:00', result: passed} > - {command: openssl x509 -in /etc/pki/rhui/product/content-rhel6.crt -noout -dates > | grep notAfter, result: passed, value: 'notAfter=Nov 16 15:35:48 2023 GMT'} > - {comment: '(/etc/pki/rhui/product/content-rhel6.crt).notAfter=2023-11-16 15:35:48; > expecting: 2017-11-10 00:00:00', result: passed} > - {command: openssl x509 -in /etc/pki/rhui/product/rhui-client-config-server-6.crt > -noout -dates | grep notAfter, result: passed, value: 'notAfter=Nov 30 18:38:07 > 2020 GMT'} > - {comment: '(/etc/pki/rhui/product/rhui-client-config-server-6.crt).notAfter=2020-11-30 > 18:38:07; expecting: 2017-11-10 00:00:00', result: passed} > stage1:testcase_31_subscription_management: > - {command: yum --disablerepo='*' -v repolist, expectation: Not loading "subscription-manager" > plugin, result: passed} > - {command: yum --enableplugin=subscription-manager --disablerepo='*' -v repolist, > expectation: Loading "subscription-manager" plugin, result: passed} > - {command: subscription-manager list, expectation: Installed Product Status, > result: passed} > stage1:testcase_32_ephemeral: > - {command: ls -la /sbin/mkfs.vfat 2> /dev/null | wc -l, result: passed, value: '1'} > - {command: fdisk -l /dev/xvdf | grep '^Disk', result: passed} > - {command: grep '/dev/xvdf ' /proc/mounts | wc -l, result: passed, value: '1'} > stage1:testcase_33_userdata: > - {command: 'rpm -q --queryformat ''%{NAME} > > '' cloud-init', result: passed, value: cloud-init} > - {command: ls -l /userdata_test, result: passed} > - {command: rpm -q xdelta, result: passed} > stage1:testcase_34_cpu: > - {command: cat /proc/cpuinfo | grep '^processor' | wc -l, expectation: '2', result: passed} > stage1:testcase_360_ebs: > - {command: ls -l /dev/xvdk, result: passed} > - {command: ls -la /sbin/mkfs.vfat 2> /dev/null | wc -l, result: passed, value: '1'} > - {command: mkfs.vfat -I /dev/xvdk, result: passed} > stage1:testcase_39_root_is_locked: > - {command: 'egrep "^root:(\!\!|\*|x|locked):" /etc/shadow', result: passed} > stage1:testcase_41_rh_amazon_rhui_client: > - {command: rpm -q rh-amazon-rhui-client, result: passed} > stage1:testcase_42_ipv6: > - {command: grep NETWORKING_IPV6=no /etc/sysconfig/network, result: passed} > stage1:testcase_50_yum_package_install: > - {command: yum clean all, result: passed} > - {command: yum repolist, result: passed} > - {command: yum search zsh, result: passed} > - {command: yum -y install zsh, result: passed} > - {command: 'rpm -q --queryformat ''%{NAME}'' zsh', result: passed} > - {command: rpm -e zsh, result: passed} > stage1:testcase_55_yum_group_install: > - {command: yum -y groupinstall 'Development tools', result: passed} > - {command: rpm -q glibc-devel, result: passed} > stage1:testcase_60_yum_update: > - {command: 'rpm -q matahari-net && yum -y remove matahari-net ||:', result: passed} > - {command: yum -y install kernel, result: passed} > - {command: yum -y update, result: passed} > stage1:testcase_61_yum_proxy: > - {comment: No proxy set, result: skip} > stage1:testcase_80_no_avc_denials: > - {command: 'echo START; grep ''avc:[[:space:]]*denied'' /var/log/messages /var/log/audit/audit.log > | grep -v userdata; echo END', expectation: "\r\nSTART\r\nEND\r\n", result: passed} > stage1:testcase_99_reboot: > - {command: echo 'doing reboot', result: passed} > - {command: nohup sleep 1s && nohup reboot &, result: passed} > stage2:testcase_08_memory: > - {command: 'grep --color=none ''MemTotal:'' /proc/meminfo', match: '.*\r\nMemTotal:\s*([0-9]+) ', > result: passed, value: '[''7513700'']'} > - {command: '[ 7513700 -gt 7500000 ]', result: passed} > stage2:testcase_25_uname: > - {command: 'uname -r | sed -e ''s,\.i686$,,'' -e ''s,\.x86_64$,,''', result: passed, > value: 2.6.32-431.17.1.el6} > - {command: 'rpm -q --last kernel | sed -e ''s,^kernel-,,'' -e ''s,[[:space:]].*$,,'' > | head -1 | sed -e ''s,\.i686$,,'' -e ''s,\.x86_64$,,''', result: passed, > value: 2.6.32-431.17.1.el6} > - {command: uname -o, result: passed, value: GNU/Linux} > - {command: '[ 2.6.32-431.17.1.el6 = 2.6.32-431.17.1.el6 ]', result: passed} > - {command: '[ GNU/Linux = ''GNU/Linux'' ]', result: passed} > - {command: grep UPDATEDEFAULT=yes /etc/sysconfig/kernel, result: passed} > - {command: grep DEFAULTKERNEL=kernel /etc/sysconfig/kernel, result: passed} > stage2:testcase_37_sshd_bug923996: > - {command: '[ `grep ^PermitRootLogin /etc/ssh/sshd_config | wc -l` -eq 0 ]', > result: passed} > stage2:testcase_80_no_avc_denials: > - {command: 'echo START; grep ''avc:[[:space:]]*denied'' /var/log/messages /var/log/audit/audit.log > | grep -v userdata; echo END', expectation: "\r\nSTART\r\nEND\r\n", result: passed} > m1.small: > stage1:testcase_01_bash_history: > - {command: '[ ! -f ~/.bash_history ] && echo 0 || cat ~/.bash_history | wc -l', > expectation: "\r\n0\r\n", result: passed} > stage1:testcase_02_selinux_context: > - {command: 'restorecon -R -v -n -e /proc -e /sys -e /mnt / | sed -e ''s, context > , ,'' -e ''s,^restorecon reset ,,'' | cat > /tmp/restorecon_output.txt && > echo SUCCESS', expectation: "\r\nSUCCESS\r\n", result: passed} > - {comment: ' > > Lost entries:[[''/var/cache/yum.*'', [''file_t'', ''rpm_var_cache_t'']]]', > result: warning} > stage1:testcase_03_running_services: > - {command: rpm -q systemd > /dev/null && echo True || echo False, result: passed, > value: 'False'} > - {command: chkconfig --list auditd, expectation: '3:on', result: passed} > - {command: chkconfig --list crond, expectation: '3:on', result: passed} > stage1:testcase_04_cloud_firstboot: > - {command: chkconfig --list rh-cloud-firstboot, expectation: '3:off', result: passed} > - {command: test -f /etc/sysconfig/rh-cloud-firstboot, result: passed} > - {command: cat /etc/sysconfig/rh-cloud-firstboot, expectation: RUN_FIRSTBOOT=NO, > result: passed} > stage1:testcase_05_grub: > - {command: test -h /boot/grub/menu.lst, result: passed} > - {command: readlink -e /boot/grub/menu.lst, expectation: /boot/grub/grub.conf, > result: passed} > - {command: 'grep ''(hd0,0)'' /boot/grub/grub.conf', result: passed} > stage1:testcase_06_inittab: > - {command: rpm -q systemd > /dev/null && echo True || echo False, result: passed, > value: 'False'} > - {command: 'grep ''^id:'' /etc/inittab', expectation: 'id:3:initdefault', result: passed} > stage1:testcase_07_libc6_xen_conf: > - {command: test -f /etc/ld.so.conf.d/libc6-xen.conf, result: passed} > stage1:testcase_08_memory: > - {command: 'grep --color=none ''MemTotal:'' /proc/meminfo', match: '.*\r\nMemTotal:\s*([0-9]+) ', > result: passed, value: '[''1695024'']'} > - {command: '[ 1695024 -gt 1690000 ]', result: passed} > stage1:testcase_09_nameserver: > - {command: dig clock.redhat.com | grep 66.187.233.4, result: passed} > stage1:testcase_10_networking: > - {command: grep "^NETWORKING=yes" /etc/sysconfig/network, result: passed} > - {command: egrep "^DEVICE=(|\")eth0(|\")" /etc/sysconfig/network-scripts/ifcfg-eth0, > result: passed} > stage1:testcase_11_package_set: > - {command: 'rpm -qa --queryformat ''%{NAME},'' && echo', match: ".*\r\n(.*),\r\ > \n.*", result: passed, value: '[''cronie,libssh2,filesystem,redhat-lsb-compat,plymouth-scripts,tzdata-java,iptables-ipv6,libsndfile,iso-codes,kernel-firmware,poppler,mailcap,systemtap-runtime,bind-utils,nss-softokn-freebl,selinux-policy-targeted,at,libattr,cloud-init,ConsoleKit-libs,info,lvm2,logrotate,popt,openssh-clients,nss-tools,freetype,bfa-firmware,gnupg2,gawk,b43-openfwwf,man,elfutils-libelf,iwl1000-firmware,nss_compat_ossl,libselinux,rng-tools,libaio,cyrus-sasl-lib,smartmontools,libsss_autofs,libICE,latencytop,hdparm,tcp_wrappers-libs,yum-plugin-security,libpcap,findutils,vim-enhanced,sgpio,xz-libs,libhugetlbfs-utils,ustr,libidn,ledmon,python,libgcrypt,pinfo,python-dateutil,libgssglue,perl-Crypt-SSLeay,libxml2-python,pcre,tcsh,python-dmidecode,libvorbis,latencytop-tui,pygobject2,psmisc,ntsysv,python-nose,make,oprofile,redhat-support-lib-python,perl-Pod-Escapes,ltrace,python-ldap,perl-Pod-Simple,attr,python-kerberos,perl-Module-Load,mtr,python-crypto,perl-Package-Constants,zip,yum,libmng,bridge-utils,blktrace,perl-Compress-Zlib,latrace,python-argparse,perl-Term-UI,man-pages,python-markdown,perl-Digest-SHA,iwl5000-firmware,gettext,perl-DBI,xorg-x11-drv-ati-firmware,libreport-plugin-rhtsupport,libldb,iwl4965-firmware,libreport-plugin-reportuploader,vim-minimal,rt73usb-firmware,abrt-addon-python,acl,rootfiles,libreport-plugin-mailx,e2fsprogs,python-backports-ssl_match_hostname,snappy,SDL,libedit,libX11,pth,libXi,libusb1,libXrandr,libXfont,libXdamage,perl-DBD-SQLite,java-1.7.0-openjdk,perl-parent,libXv,perl-HTML-Tagset,gtk2,perl-libxml-perl,liboil,shared-mime-info,kbd-misc,atk,iproute,grubby,udev,libxslt,mesa-dri-drivers,tcp_wrappers,device-mapper,patch,kpartx,pinentry,rsyslog,ed,samba-winbind-clients,db4-cxx,policycoreutils-python,vim-common,foomatic-db-ppds,glibc-devel,cryptsetup-luks,perl-devel,rhnsd,perl-Test-Simple,plymouth,perl-ExtUtils-Embed,crda,groff,ntp,cracklib,certmonger,openssl,postfix,hwdata,libgcc,jpackage-utils,tzdata,xdg-utils,mesa-dri-filesystem,rpcbind,latencytop-common,qt-sqlite,basesystem,libpciaccess,xml-common,xorg-x11-fonts-Type1,kernel-headers,ghostscript-fonts,dejavu-fonts-common,poppler-utils,libX11-common,bind-libs,glibc-common,mysql-libs,glibc,fipscheck,bash,pam_krb5,libcap,sssd-client,libstdc++,polkit,libcom_err,cvs,libxml2,nss,chkconfig,mailx,audit-libs,openldap,nss-util,xmlrpc-c-client,bzip2-libs,curl,libpng,rpm,db4,libuser,expat,gpgme,libsepol,hicolor-icon-theme,shadow-utils,rhino,readline,ethtool,sqlite,mingetty,libuuid,sg3_utils-libs,libSM,plymouth-core-libs,xmlrpc-c,libsss_idmap,keyutils-libs,c-ares,libtdb,gpm-libs,btparser,pixman,libnl,libref_array,libogg,libini_config,which,libsemanage,libcap-ng,libffi,libgpg-error,python-libs,libudev,newt-python,elfutils-libs,python-iniparse,bzip2,python-simplejson,binutils,python-ethtool,grep,dbus-python,libtirpc,authconfig,nss-softokn,libselinux-python,net-tools,python-ordereddict,tar,python-pygments,e2fsprogs-libs,numpy,dmidecode,rhnlib,gdbm,python-rhsm,perl-libs,PyYAML,perl-Module-Pluggable,yum-metadata-parser,perl,python-nss,perl-Params-Check,libipa_hbac-python,perl-Module-Load-Conditional,setools-libs-python,perl-IO-Compress-Base,python-paramiko,perl-Compress-Raw-Zlib,python-urlgrabber,lcms-libs,rhn-client-tools,p11-kit,samba4-libs,perl-IO-Compress-Zlib,python-boto,perl-IO-Zlib,python-configobj,perl-Log-Message-Simple,python-krbV,perl-Object-Accessor,audit-libs-python,perl-Module-CoreList,python-cheetah,perl-Compress-Raw-Bzip2,perl-URI,file,xz,cyrus-sasl-gssapi,bc,libselinux-utils,jasper-libs,avahi-libs,libss,diffutils,gmp,libusb,libfontenc,numactl,crash,slang,libcollection,libgfortran,atlas,xorg-x11-font-utils,perl-DBIx-Simple,perl-IO-Compress-Bzip2,ca-certificates,perl-Time-Piece,perl-Parse-CPAN-Meta,perl-HTML-Parser,perl-XML-Parser,gdbm-devel,elfutils,glib2,dbus-glib,libipa_hbac,eggdbus,desktop-file-utils,gstreamer,hal-libs,iw,setools-libs,MAKEDEV,device-mapper-persistent-data,ttmkfdir,portreserve,upstart,time,hunspell,db4-devel,libhugetlbfs,dash,glibc-headers,perl-Test-Harness,perl-ExtUtils-MakeMaker,perl-IPC-Cmd,perl-Archive-Extract,perl-ExtUtils-CBuilder,perl-CPANPLUS,perl-CPAN,ncurses,less,gzip,cracklib-dicts,pam,fontconfig,alsa-lib,cronie-anacron,redhat-lsb-core,redhat-lsb-graphics,redhat-lsb,ipa-python,system-config-firewall-base,dhcp-common,kernel,ipa-client,irqbalance,dhclient,system-config-firewall-tui,sysstat,system-config-network-tui,rh-amazon-rhui-client,samba-client,openssh-server,numad,setuptool,iwl5150-firmware,iwl6050-firmware,iwl6000g2a-firmware,iwl6000-firmware,biosdevname,acpid,readahead,cpuspeed,prelink,seekwatcher,java-1.6.0-openjdk,abrt-cli,yum-utils,redhat-support-tool,gdb,grub,iotop,tcpdump,elinks,sudo,Red_Hat_Enterprise_Linux-Release_Notes-6-en-US,alsa-utils,pam_passwdqc,psacct,powertop,hunspell-en,perl-XML-Grove,perl-XML-Dumper,crash-gcore-command,mlocate,efibootmgr,lsof,unzip,nano,nfs4-acl-tools,libitm,traceroute,vconfig,dosfstools,rdate,eject,b43-fwcutter,trace-cmd,libtopology,words,ql2400-firmware,python-chardet,ql2100-firmware,libproxy-bin,libertas-usb8388-firmware,libproxy-python,ql2500-firmware,libreport-python,zd1211-firmware,libreport,rt61pci-firmware,abrt-libs,ql2200-firmware,abrt-addon-ccpp,ipw2100-firmware,abrt-tui,ipw2200-firmware,abrt-addon-kerneloops,gpg-pubkey,libreport-plugin-logger,xdelta,python-six,python-urllib3,pax,theora-tools,libxcb,libXext,cairo,libXfixes,libXcursor,libXft,pulseaudio-libs,giflib,ghostscript,qt3,libXxf86vm,libXcomposite,pango,python-matplotlib,fprintd,libvisual,busybox,redhat-release-server,iptables,iputils,initscripts,libdrm,mesa-dri1-drivers,usermode,device-mapper-libs,device-mapper-event-libs,device-mapper-event,qt-x11,kbd,libcgroup,samba-common,samba-winbind,nfs-utils,dmraid,lvm2-libs,foomatic-db,cryptsetup-luks-libs,pm-utils,hal,rhn-setup,rhn-check,dracut,mdadm,wireless-tools,ntpdate,yp-tools,sssd,oddjob,cyrus-sasl,crontabs,qt,setup,redhat-lsb-printing,redhat-logos,foomatic-db-filesystem,virt-what,pciutils,poppler-data,selinux-policy,urw-fonts,fontpackages-filesystem,autofs,wget,ncurses-base,pcmciautils,fipscheck-lib,ncurses-libs,subscription-manager,krb5-workstation,zlib,kexec-tools,ConsoleKit,dbus-libs,cifs-utils,nss-sysinit,nspr,parted,libcurl,libacl,iwl100-firmware,rpm-libs,libjpeg-turbo,aic94xx-firmware,passwd,libtalloc,quota,jline,sed,microcode_ctl,hesiod,libtevent,fprintd-pam,libevent,libblkid,hwloc,libdhash,krb5-libs,cas,libyaml,pciutils-libs,perf,libpath_utils,procps,dstat,libasyncns,dbus,man-pages-overrides,rpm-python,pkgconfig,usbutils,python-lxml,cpio,audit,m2crypto,file-libs,perl-core,pyOpenSSL,lua,perl-XML-Twig,python-setuptools,libtiff,valgrind,python-gudev,sysvinit-tools,cyrus-sasl-plain,sos,perl-version,rsync,pygpgme,perl-Locale-Maketext-Simple,scl-utils,libsemanage-python,perl-Log-Message,setserial,python-pycurl,libtasn1,rfkill,pytalloc,gnutls,strace,python-prettytable,perl-Archive-Tar,crash-trace-command,python-netaddr,perl-Module-Loaded,redhat-indexhtml,pytz,perl-CGI,ivtv-firmware,libproxy,libtheora,atmel-firmware,libreport-compat,keyutils,iwl3945-firmware,abrt,checkpolicy,ql23xx-firmware,libreport-plugin-kerneloops,cups-libs,gpg-pubkey,libreport-cli,m4,python-requests,libtar,libXau,lzo,libXrender,newt,libXtst,openjpeg-libs,libXinerama,xz-lzma-compat,libXt,p11-kit-trust,pycairo,perl-Time-HiRes,libthai,perl-libwww-perl,libfprint,tmpwatch,gstreamer-plugins-base,gamin,policycoreutils,libgudev1,util-linux-ng,gstreamer-tools,mesa-libGL,flac,mesa-libGLU,libutempter,cups,db4-utils,phonon-backend-gstreamer,libnih,openssh,libgomp,nfs-utils-lib,mesa-private-llvm,dmraid-events,dejavu-sans-fonts,foomatic,perl-ExtUtils-ParseXS,hal-info,perl-File-Fetch,yum-rhn-plugin,perl-Module-Build,dracut-kernel,cdparanoia-libs,python-iwlib,coreutils-libs,ypbind,coreutils,oddjob-mkhomedir,module-init-tools'']'} > - {comment: 'Newly introduced packages: [''db4-cxx'', ''db4-devel'', ''gdbm-devel'', > ''glibc-devel'', ''glibc-headers'', ''kernel-headers'', ''lzo'', ''mesa-private-llvm'', > ''p11-kit'', ''p11-kit-trust'', ''python-backports-ssl_match_hostname'', ''python-chardet'', > ''python-ordereddict'', ''python-requests'', ''python-six'', ''python-urllib3'', > ''redhat-support-lib-python'', ''redhat-support-tool'', ''shared-mime-info'', > ''snappy'', ''ttmkfdir'', ''xorg-x11-fonts-Type1'']', result: passed} > - {comment: All required package are included, result: passed} > stage1:testcase_12_passwd_group: > - {command: 'grep ''^root:x:0:0:root:/root:/bin/bash'' /etc/passwd', result: passed} > - {command: 'grep ''^nobody:x:99:99:Nobody:/:/sbin/nologin'' /etc/passwd', result: passed} > - {command: 'grep ''^sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/sbin/nologin'' > /etc/passwd', result: passed} > - {command: 'grep ''^root:x:0:'' /etc/group', result: passed} > - {command: 'grep ''^daemon:x:2:bin,daemon'' /etc/group', result: passed} > - {command: 'grep ''^bin:x:1:bin,daemon'' /etc/group', result: passed} > stage1:testcase_13_resize2fs: > - {command: df -h | grep 15G, result: passed} > stage1:testcase_14_host_details: > - {command: '[ ! -z ''`curl http://169.254.169.254/latest/dynamic/instance-identity/signature`'' > ]', result: passed} > - {command: 'curl http://169.254.169.254/latest/dynamic/instance-identity/document', > match: '.*({.*}).*', result: passed, value: '[''{\r\n "instanceId" : "i-50c19900",\r\n "billingProducts" > : [ "bp-63a5400a" ],\r\n "imageId" : "ami-d88476b0",\r\n "architecture" > : "x86_64",\r\n "pendingTime" : "2014-06-10T08:54:31Z",\r\n "instanceType" > : "m1.small",\r\n "accountId" : "567014786890",\r\n "kernelId" : "aki-919dcaf8",\r\n "ramdiskId" > : null,\r\n "region" : "us-east-1",\r\n "version" : "2010-08-31",\r\n "availabilityZone" > : "us-east-1c",\r\n "devpayProductCodes" : null,\r\n "privateIp" : "10.136.22.124"\r\n}'']'} > - {command: '[ ''ami-d88476b0'' = ''ami-d88476b0'' ]', result: passed} > - {command: '[ ''x86_64'' = ''x86_64'' ]', result: passed} > - {command: '[ ''us-east-1'' = ''us-east-1'' ]', result: passed} > - {command: '[ ''bp-63a5400a'' = ''bp-63a5400a'' ]', result: passed} > stage1:testcase_15_rhel_version: > - {command: 'rpm -q --qf ''%{RELEASE} > > '' --whatprovides redhat-release', match: '.*\r\n([0-9]\.[0-9]+\..*)\r\n.*', > result: passed, value: '[''6.5.0.1.el6'']'} > - {command: '[ ''6.5'' = ''6.5'' ]', result: passed} > stage1:testcase_16_selinux: > - {command: getenforce, expectation: "\r\nEnforcing\r\n", result: passed} > - {command: grep '^SELINUX=enforcing' /etc/sysconfig/selinux, result: passed} > - {command: grep '^SELINUXTYPE=targeted' /etc/sysconfig/selinux, result: passed} > - {command: setenforce Permissive && getenforce, expectation: "\r\nPermissive\r\ > \n", result: passed} > - {command: setenforce Enforcing && getenforce, expectation: "\r\nEnforcing\r\n", > result: passed} > stage1:testcase_17_shells: > - {command: grep 'bin/bash$' /etc/shells, result: passed} > - {command: grep 'bin/nologin$' /etc/shells, result: passed} > stage1:testcase_18_sshd: > - {command: rpm -q systemd > /dev/null && echo True || echo False, result: passed, > value: 'False'} > - {command: 'chkconfig --list sshd | grep ''0:off[[:space:]]*1:off[[:space:]]*2:on[[:space:]]*3:on[[:space:]]*4:on[[:space:]]*5:on[[:space:]]*6:off''', > result: passed} > - {command: service sshd status | grep running, result: passed} > - {command: grep 'PasswordAuthentication no' /etc/ssh/sshd_config, result: passed} > stage1:testcase_19_rhn_system_id: > - {command: '[ ! -f /etc/sysconfig/rhn/systemid ]', result: passed} > stage1:testcase_20_auditd: > - {command: md5sum /etc/sysconfig/auditd | cut -f 1 -d ' ', expectation: d4d43637708e30418c30003e212f76fc, > result: passed} > - {command: md5sum /etc/audit/auditd.conf | cut -f 1 -d ' ', expectation: e1886162554c18906df2ecd258aa4794, > result: passed} > - {command: md5sum /etc/audit/audit.rules | cut -f 1 -d ' ', expectation: f9869e1191838c461f5b9051c78a638d, > result: passed} > stage1:testcase_21_disk_size_format: > - {command: 'mount | grep ''^/dev'' | awk ''{print $1}''', result: passed, value: "/dev/xvda1\r\ > \n/dev/xvdf"} > - {command: 'echo ''###'' ;mount | grep ''^/dev/xvda1'' | awk ''{print $3}''; > echo ''###''', match: ".*\r\n###\r\n(.*)\r\n###\r\n.*", result: passed, value: '[''/'']'} > - {command: 'echo ''###'' ;mount | grep ''^/dev/xvda1'' | awk ''{print $5}''; > echo ''###''', match: ".*\r\n###\r\n(.*)\r\n###\r\n.*", result: passed, value: '[''ext4'']'} > - {command: '[ `df -k /dev/xvda1 | awk ''{ print $2 }'' | tail -n 1` -gt 3937219 > ]', result: passed} > - {command: '[ ext4 = ext4 ]', result: passed} > - {command: 'echo ''###'' ;mount | grep ''^/dev/xvdf'' | awk ''{print $3}''; echo > ''###''', match: ".*\r\n###\r\n(.*)\r\n###\r\n.*", result: passed, value: '[''/mnt'']'} > - {command: 'echo ''###'' ;mount | grep ''^/dev/xvdf'' | awk ''{print $5}''; echo > ''###''', match: ".*\r\n###\r\n(.*)\r\n###\r\n.*", result: passed, value: '[''ext3'']'} > - {command: '[ `df -k /dev/xvdf | awk ''{ print $2 }'' | tail -n 1` -gt 3937219 > ]', result: passed} > - {command: '[ ext3 = ext3 ]', result: passed} > stage1:testcase_22_gpg_keys: > - {command: grep '^gpgcheck=' /etc/yum.repos.d/redhat-*.repo | cut -d\= -f2 | > sort -uf | tr -d ' ', expectation: "\r\n1\r\n", result: passed} > - {command: rpm -qa gpg-pubkey* | wc -l, expectation: "\r\n2\r\n", result: passed} > - {command: rpm -q gpg-pubkey-2fa658e0-45700c69, result: passed} > - {command: rpm -q gpg-pubkey-fd431d51-4ae0493b, result: passed} > stage1:testcase_23_syslog: > - {command: md5sum /etc/rsyslog.conf | cut -f 1 -d ' ', result: passed, value: 8b91b32300134e98ef4aee632ed61e21} > - {comment: /etc/rsyslog.conf md5 matches, result: passed} > stage1:testcase_24_yum_plugin: > - {command: 'grep ''^enabled[[:space:]]*=[[:space:]]*[^0 ]'' /etc/yum/pluginconf.d/rhnplugin.conf', > result: passed} > stage1:testcase_25_uname: > - {command: 'uname -r | sed -e ''s,\.i686$,,'' -e ''s,\.x86_64$,,''', result: passed, > value: 2.6.32-431.17.1.el6} > - {command: 'rpm -q --last kernel | sed -e ''s,^kernel-,,'' -e ''s,[[:space:]].*$,,'' > | head -1 | sed -e ''s,\.i686$,,'' -e ''s,\.x86_64$,,''', result: passed, > value: 2.6.32-431.17.1.el6} > - {command: uname -o, result: passed, value: GNU/Linux} > - {command: '[ 2.6.32-431.17.1.el6 = 2.6.32-431.17.1.el6 ]', result: passed} > - {command: '[ GNU/Linux = ''GNU/Linux'' ]', result: passed} > - {command: grep UPDATEDEFAULT=yes /etc/sysconfig/kernel, result: passed} > - {command: grep DEFAULTKERNEL=kernel /etc/sysconfig/kernel, result: passed} > stage1:testcase_26_verify_rpms: > - actual modified files: {/etc/pam.d/fingerprint-auth: true, /etc/pam.d/password-auth: true, > /etc/pam.d/smartcard-auth: true, /etc/pam.d/system-auth: true, /etc/ssh/sshd_config: true} > expected modified files: {/etc/pam.d/fingerprint-auth: true, /etc/pam.d/password-auth: true, > /etc/pam.d/smartcard-auth: true, /etc/pam.d/system-auth: true, /etc/ssh/sshd_config: true} > result: passed > stage1:testcase_27_yum_repos: > - actual repos: {rhel-source: false, rhel-source-beta: false, rhui-REGION-client-config-server-6: true, > rhui-REGION-rhel-server-debug-rh-common: false, rhui-REGION-rhel-server-debug-rhscl: false, > rhui-REGION-rhel-server-debug-supplementary: false, rhui-REGION-rhel-server-releases: true, > rhui-REGION-rhel-server-releases-optional: true, rhui-REGION-rhel-server-releases-optional-source: false, > rhui-REGION-rhel-server-releases-source: false, rhui-REGION-rhel-server-rh-common: true, > rhui-REGION-rhel-server-rhscl: true, rhui-REGION-rhel-server-source-rh-common: false, > rhui-REGION-rhel-server-source-rhscl: false, rhui-REGION-rhel-server-source-supplementary: false, > rhui-REGION-rhel-server-supplementary: false} > expected repos: {rhel-source: false, rhel-source-beta: false, rhui-REGION-client-config-server-6: true, > rhui-REGION-rhel-server-debug-rh-common: false, rhui-REGION-rhel-server-debug-rhscl: false, > rhui-REGION-rhel-server-debug-supplementary: false, rhui-REGION-rhel-server-releases: true, > rhui-REGION-rhel-server-releases-optional: true, rhui-REGION-rhel-server-releases-optional-source: false, > rhui-REGION-rhel-server-releases-source: false, rhui-REGION-rhel-server-rh-common: true, > rhui-REGION-rhel-server-rhscl: true, rhui-REGION-rhel-server-source-rh-common: false, > rhui-REGION-rhel-server-source-rhscl: false, rhui-REGION-rhel-server-source-supplementary: false, > rhui-REGION-rhel-server-supplementary: false} > result: passed > stage1:testcase_30_rhn_certificates: > - {command: rpm -ql rh-amazon-rhui-client | egrep '.*\.(pem|crt)', result: passed, > value: "/etc/pki/rhui/ca.crt\r\n/etc/pki/rhui/cdn.redhat.com-chain.crt\r\n/etc/pki/rhui/product/content-rhel6.crt\r\ > \n/etc/pki/rhui/product/rhui-client-config-server-6.crt"} > - {command: openssl x509 -in /etc/pki/rhui/ca.crt -noout -dates | grep notAfter, > result: passed, value: 'notAfter=Nov 30 19:46:02 2017 GMT'} > - {comment: '(/etc/pki/rhui/ca.crt).notAfter=2017-11-30 19:46:02; expecting: 2017-11-10 > 00:00:00', result: passed} > - {command: openssl x509 -in /etc/pki/rhui/cdn.redhat.com-chain.crt -noout -dates > | grep notAfter, result: passed, value: 'notAfter=Mar 13 11:24:54 2030 GMT'} > - {comment: '(/etc/pki/rhui/cdn.redhat.com-chain.crt).notAfter=2030-03-13 11:24:54; > expecting: 2017-11-10 00:00:00', result: passed} > - {command: openssl x509 -in /etc/pki/rhui/product/content-rhel6.crt -noout -dates > | grep notAfter, result: passed, value: 'notAfter=Nov 16 15:35:48 2023 GMT'} > - {comment: '(/etc/pki/rhui/product/content-rhel6.crt).notAfter=2023-11-16 15:35:48; > expecting: 2017-11-10 00:00:00', result: passed} > - {command: openssl x509 -in /etc/pki/rhui/product/rhui-client-config-server-6.crt > -noout -dates | grep notAfter, result: passed, value: 'notAfter=Nov 30 18:38:07 > 2020 GMT'} > - {comment: '(/etc/pki/rhui/product/rhui-client-config-server-6.crt).notAfter=2020-11-30 > 18:38:07; expecting: 2017-11-10 00:00:00', result: passed} > stage1:testcase_31_subscription_management: > - {command: yum --disablerepo='*' -v repolist, expectation: Not loading "subscription-manager" > plugin, result: passed} > - {command: yum --enableplugin=subscription-manager --disablerepo='*' -v repolist, > expectation: Loading "subscription-manager" plugin, result: passed} > - {command: subscription-manager list, expectation: Installed Product Status, > result: passed} > stage1:testcase_32_ephemeral: > - {command: ls -la /sbin/mkfs.vfat 2> /dev/null | wc -l, result: passed, value: '1'} > - {command: fdisk -l /dev/xvdf | grep '^Disk', result: passed} > - {command: grep '/dev/xvdf ' /proc/mounts | wc -l, result: passed, value: '1'} > stage1:testcase_33_userdata: > - {command: 'rpm -q --queryformat ''%{NAME} > > '' cloud-init', result: passed, value: cloud-init} > - {command: ls -l /userdata_test, result: passed} > - {command: rpm -q xdelta, result: passed} > stage1:testcase_34_cpu: > - {command: cat /proc/cpuinfo | grep '^processor' | wc -l, expectation: '1', result: passed} > stage1:testcase_360_ebs: > - {command: ls -l /dev/xvdk, result: passed} > - {command: ls -la /sbin/mkfs.vfat 2> /dev/null | wc -l, result: passed, value: '1'} > - {command: mkfs.vfat -I /dev/xvdk, result: passed} > stage1:testcase_39_root_is_locked: > - {command: 'egrep "^root:(\!\!|\*|x|locked):" /etc/shadow', result: passed} > stage1:testcase_41_rh_amazon_rhui_client: > - {command: rpm -q rh-amazon-rhui-client, result: passed} > stage1:testcase_42_ipv6: > - {command: grep NETWORKING_IPV6=no /etc/sysconfig/network, result: passed} > stage1:testcase_50_yum_package_install: > - {command: yum clean all, result: passed} > - {command: yum repolist, result: passed} > - {command: yum search zsh, result: passed} > - {command: yum -y install zsh, result: passed} > - {command: 'rpm -q --queryformat ''%{NAME}'' zsh', result: passed} > - {command: rpm -e zsh, result: passed} > stage1:testcase_55_yum_group_install: > - {command: yum -y groupinstall 'Development tools', result: passed} > - {command: rpm -q glibc-devel, result: passed} > stage1:testcase_60_yum_update: > - {command: 'rpm -q matahari-net && yum -y remove matahari-net ||:', result: passed} > - {command: yum -y install kernel, result: passed} > - {command: yum -y update, result: passed} > stage1:testcase_61_yum_proxy: > - {comment: No proxy set, result: skip} > stage1:testcase_80_no_avc_denials: > - {command: 'echo START; grep ''avc:[[:space:]]*denied'' /var/log/messages /var/log/audit/audit.log > | grep -v userdata; echo END', expectation: "\r\nSTART\r\nEND\r\n", result: passed} > stage1:testcase_99_reboot: > - {command: echo 'doing reboot', result: passed} > - {command: nohup sleep 1s && nohup reboot &, result: passed} > stage2:testcase_08_memory: > - {command: 'grep --color=none ''MemTotal:'' /proc/meminfo', match: '.*\r\nMemTotal:\s*([0-9]+) ', > result: passed, value: '[''1695024'']'} > - {command: '[ 1695024 -gt 1690000 ]', result: passed} > stage2:testcase_25_uname: > - {command: 'uname -r | sed -e ''s,\.i686$,,'' -e ''s,\.x86_64$,,''', result: passed, > value: 2.6.32-431.17.1.el6} > - {command: 'rpm -q --last kernel | sed -e ''s,^kernel-,,'' -e ''s,[[:space:]].*$,,'' > | head -1 | sed -e ''s,\.i686$,,'' -e ''s,\.x86_64$,,''', result: passed, > value: 2.6.32-431.17.1.el6} > - {command: uname -o, result: passed, value: GNU/Linux} > - {command: '[ 2.6.32-431.17.1.el6 = 2.6.32-431.17.1.el6 ]', result: passed} > - {command: '[ GNU/Linux = ''GNU/Linux'' ]', result: passed} > - {command: grep UPDATEDEFAULT=yes /etc/sysconfig/kernel, result: passed} > - {command: grep DEFAULTKERNEL=kernel /etc/sysconfig/kernel, result: passed} > stage2:testcase_37_sshd_bug923996: > - {command: '[ `grep ^PermitRootLogin /etc/ssh/sshd_config | wc -l` -eq 0 ]', > result: passed} > stage2:testcase_80_no_avc_denials: > - {command: 'echo START; grep ''avc:[[:space:]]*denied'' /var/log/messages /var/log/audit/audit.log > | grep -v userdata; echo END', expectation: "\r\nSTART\r\nEND\r\n", result: passed} > m1.xlarge: > stage1:testcase_01_bash_history: > - {command: '[ ! -f ~/.bash_history ] && echo 0 || cat ~/.bash_history | wc -l', > expectation: "\r\n0\r\n", result: passed} > stage1:testcase_02_selinux_context: > - {command: 'restorecon -R -v -n -e /proc -e /sys -e /mnt / | sed -e ''s, context > , ,'' -e ''s,^restorecon reset ,,'' | cat > /tmp/restorecon_output.txt && > echo SUCCESS', expectation: "\r\nSUCCESS\r\n", result: passed} > - {comment: ' > > Lost entries:[[''/var/cache/yum.*'', [''file_t'', ''rpm_var_cache_t'']]]', > result: warning} > stage1:testcase_03_running_services: > - {command: rpm -q systemd > /dev/null && echo True || echo False, result: passed, > value: 'False'} > - {command: chkconfig --list auditd, expectation: '3:on', result: passed} > - {command: chkconfig --list crond, expectation: '3:on', result: passed} > stage1:testcase_04_cloud_firstboot: > - {command: chkconfig --list rh-cloud-firstboot, expectation: '3:off', result: passed} > - {command: test -f /etc/sysconfig/rh-cloud-firstboot, result: passed} > - {command: cat /etc/sysconfig/rh-cloud-firstboot, expectation: RUN_FIRSTBOOT=NO, > result: passed} > stage1:testcase_05_grub: > - {command: test -h /boot/grub/menu.lst, result: passed} > - {command: readlink -e /boot/grub/menu.lst, expectation: /boot/grub/grub.conf, > result: passed} > - {command: 'grep ''(hd0,0)'' /boot/grub/grub.conf', result: passed} > stage1:testcase_06_inittab: > - {command: rpm -q systemd > /dev/null && echo True || echo False, result: passed, > value: 'False'} > - {command: 'grep ''^id:'' /etc/inittab', expectation: 'id:3:initdefault', result: passed} > stage1:testcase_07_libc6_xen_conf: > - {command: test -f /etc/ld.so.conf.d/libc6-xen.conf, result: passed} > stage1:testcase_08_memory: > - {command: 'grep --color=none ''MemTotal:'' /proc/meminfo', match: '.*\r\nMemTotal:\s*([0-9]+) ', > result: passed, value: '[''15239292'']'} > - {command: '[ 15239292 -gt 15000000 ]', result: passed} > stage1:testcase_09_nameserver: > - {command: dig clock.redhat.com | grep 66.187.233.4, result: passed} > stage1:testcase_10_networking: > - {command: grep "^NETWORKING=yes" /etc/sysconfig/network, result: passed} > - {command: egrep "^DEVICE=(|\")eth0(|\")" /etc/sysconfig/network-scripts/ifcfg-eth0, > result: passed} > stage1:testcase_11_package_set: > - {command: 'rpm -qa --queryformat ''%{NAME},'' && echo', match: ".*\r\n(.*),\r\ > \n.*", result: passed, value: '[''cronie,libssh2,filesystem,redhat-lsb-compat,plymouth-scripts,tzdata-java,iptables-ipv6,libsndfile,iso-codes,kernel-firmware,poppler,mailcap,systemtap-runtime,bind-utils,nss-softokn-freebl,selinux-policy-targeted,at,libattr,cloud-init,ConsoleKit-libs,info,lvm2,logrotate,popt,openssh-clients,nss-tools,freetype,bfa-firmware,gnupg2,gawk,b43-openfwwf,man,elfutils-libelf,iwl1000-firmware,nss_compat_ossl,libselinux,rng-tools,libaio,cyrus-sasl-lib,smartmontools,libsss_autofs,libICE,latencytop,hdparm,tcp_wrappers-libs,yum-plugin-security,libpcap,findutils,vim-enhanced,sgpio,xz-libs,libhugetlbfs-utils,ustr,libidn,ledmon,python,libgcrypt,pinfo,python-dateutil,libgssglue,perl-Crypt-SSLeay,libxml2-python,pcre,tcsh,python-dmidecode,libvorbis,latencytop-tui,pygobject2,psmisc,ntsysv,python-nose,make,oprofile,redhat-support-lib-python,perl-Pod-Escapes,ltrace,python-ldap,perl-Pod-Simple,attr,python-kerberos,perl-Module-Load,mtr,python-crypto,perl-Package-Constants,zip,yum,libmng,bridge-utils,blktrace,perl-Compress-Zlib,latrace,python-argparse,perl-Term-UI,man-pages,python-markdown,perl-Digest-SHA,iwl5000-firmware,gettext,perl-DBI,xorg-x11-drv-ati-firmware,libreport-plugin-rhtsupport,libldb,iwl4965-firmware,libreport-plugin-reportuploader,vim-minimal,rt73usb-firmware,abrt-addon-python,acl,rootfiles,libreport-plugin-mailx,e2fsprogs,python-backports-ssl_match_hostname,snappy,SDL,libedit,libX11,pth,libXi,libusb1,libXrandr,libXfont,libXdamage,perl-DBD-SQLite,java-1.7.0-openjdk,perl-parent,libXv,perl-HTML-Tagset,gtk2,perl-libxml-perl,liboil,shared-mime-info,kbd-misc,atk,iproute,grubby,udev,libxslt,mesa-dri-drivers,tcp_wrappers,device-mapper,patch,kpartx,pinentry,rsyslog,ed,samba-winbind-clients,db4-cxx,policycoreutils-python,vim-common,foomatic-db-ppds,glibc-devel,cryptsetup-luks,perl-devel,rhnsd,perl-Test-Simple,plymouth,perl-ExtUtils-Embed,crda,groff,ntp,cracklib,certmonger,openssl,postfix,hwdata,libgcc,jpackage-utils,tzdata,xdg-utils,mesa-dri-filesystem,rpcbind,latencytop-common,qt-sqlite,basesystem,libpciaccess,xml-common,xorg-x11-fonts-Type1,kernel-headers,ghostscript-fonts,dejavu-fonts-common,poppler-utils,libX11-common,bind-libs,glibc-common,mysql-libs,glibc,fipscheck,bash,pam_krb5,libcap,sssd-client,libstdc++,polkit,libcom_err,cvs,libxml2,nss,chkconfig,mailx,audit-libs,openldap,nss-util,xmlrpc-c-client,bzip2-libs,curl,libpng,rpm,db4,libuser,expat,gpgme,libsepol,hicolor-icon-theme,shadow-utils,rhino,readline,ethtool,sqlite,mingetty,libuuid,sg3_utils-libs,libSM,plymouth-core-libs,xmlrpc-c,libsss_idmap,keyutils-libs,c-ares,libtdb,gpm-libs,btparser,pixman,libnl,libref_array,libogg,libini_config,which,libsemanage,libcap-ng,libffi,libgpg-error,python-libs,libudev,newt-python,elfutils-libs,python-iniparse,bzip2,python-simplejson,binutils,python-ethtool,grep,dbus-python,libtirpc,authconfig,nss-softokn,libselinux-python,net-tools,python-ordereddict,tar,python-pygments,e2fsprogs-libs,numpy,dmidecode,rhnlib,gdbm,python-rhsm,perl-libs,PyYAML,perl-Module-Pluggable,yum-metadata-parser,perl,python-nss,perl-Params-Check,libipa_hbac-python,perl-Module-Load-Conditional,setools-libs-python,perl-IO-Compress-Base,python-paramiko,perl-Compress-Raw-Zlib,python-urlgrabber,lcms-libs,rhn-client-tools,p11-kit,samba4-libs,perl-IO-Compress-Zlib,python-boto,perl-IO-Zlib,python-configobj,perl-Log-Message-Simple,python-krbV,perl-Object-Accessor,audit-libs-python,perl-Module-CoreList,python-cheetah,perl-Compress-Raw-Bzip2,perl-URI,file,xz,cyrus-sasl-gssapi,bc,libselinux-utils,jasper-libs,avahi-libs,libss,diffutils,gmp,libusb,libfontenc,numactl,crash,slang,libcollection,libgfortran,atlas,xorg-x11-font-utils,perl-DBIx-Simple,perl-IO-Compress-Bzip2,ca-certificates,perl-Time-Piece,perl-Parse-CPAN-Meta,perl-HTML-Parser,perl-XML-Parser,gdbm-devel,elfutils,glib2,dbus-glib,libipa_hbac,eggdbus,desktop-file-utils,gstreamer,hal-libs,iw,setools-libs,MAKEDEV,device-mapper-persistent-data,ttmkfdir,portreserve,upstart,time,hunspell,db4-devel,libhugetlbfs,dash,glibc-headers,perl-Test-Harness,perl-ExtUtils-MakeMaker,perl-IPC-Cmd,perl-Archive-Extract,perl-ExtUtils-CBuilder,perl-CPANPLUS,perl-CPAN,ncurses,less,gzip,cracklib-dicts,pam,fontconfig,alsa-lib,cronie-anacron,redhat-lsb-core,redhat-lsb-graphics,redhat-lsb,ipa-python,system-config-firewall-base,dhcp-common,kernel,ipa-client,irqbalance,dhclient,system-config-firewall-tui,sysstat,system-config-network-tui,rh-amazon-rhui-client,samba-client,openssh-server,numad,setuptool,iwl5150-firmware,iwl6050-firmware,iwl6000g2a-firmware,iwl6000-firmware,biosdevname,acpid,readahead,cpuspeed,prelink,seekwatcher,java-1.6.0-openjdk,abrt-cli,yum-utils,redhat-support-tool,gdb,grub,iotop,tcpdump,elinks,sudo,Red_Hat_Enterprise_Linux-Release_Notes-6-en-US,alsa-utils,pam_passwdqc,psacct,powertop,hunspell-en,perl-XML-Grove,perl-XML-Dumper,crash-gcore-command,mlocate,efibootmgr,lsof,unzip,nano,nfs4-acl-tools,libitm,traceroute,vconfig,dosfstools,rdate,eject,b43-fwcutter,trace-cmd,libtopology,words,ql2400-firmware,python-chardet,ql2100-firmware,libproxy-bin,libertas-usb8388-firmware,libproxy-python,ql2500-firmware,libreport-python,zd1211-firmware,libreport,rt61pci-firmware,abrt-libs,ql2200-firmware,abrt-addon-ccpp,ipw2100-firmware,abrt-tui,ipw2200-firmware,abrt-addon-kerneloops,gpg-pubkey,libreport-plugin-logger,xdelta,python-six,python-urllib3,pax,theora-tools,libxcb,libXext,cairo,libXfixes,libXcursor,libXft,pulseaudio-libs,giflib,ghostscript,qt3,libXxf86vm,libXcomposite,pango,python-matplotlib,fprintd,libvisual,busybox,redhat-release-server,iptables,iputils,initscripts,libdrm,mesa-dri1-drivers,usermode,device-mapper-libs,device-mapper-event-libs,device-mapper-event,qt-x11,kbd,libcgroup,samba-common,samba-winbind,nfs-utils,dmraid,lvm2-libs,foomatic-db,cryptsetup-luks-libs,pm-utils,hal,rhn-setup,rhn-check,dracut,mdadm,wireless-tools,ntpdate,yp-tools,sssd,oddjob,cyrus-sasl,crontabs,qt,setup,redhat-lsb-printing,redhat-logos,foomatic-db-filesystem,virt-what,pciutils,poppler-data,selinux-policy,urw-fonts,fontpackages-filesystem,autofs,wget,ncurses-base,pcmciautils,fipscheck-lib,ncurses-libs,subscription-manager,krb5-workstation,zlib,kexec-tools,ConsoleKit,dbus-libs,cifs-utils,nss-sysinit,nspr,parted,libcurl,libacl,iwl100-firmware,rpm-libs,libjpeg-turbo,aic94xx-firmware,passwd,libtalloc,quota,jline,sed,microcode_ctl,hesiod,libtevent,fprintd-pam,libevent,libblkid,hwloc,libdhash,krb5-libs,cas,libyaml,pciutils-libs,perf,libpath_utils,procps,dstat,libasyncns,dbus,man-pages-overrides,rpm-python,pkgconfig,usbutils,python-lxml,cpio,audit,m2crypto,file-libs,perl-core,pyOpenSSL,lua,perl-XML-Twig,python-setuptools,libtiff,valgrind,python-gudev,sysvinit-tools,cyrus-sasl-plain,sos,perl-version,rsync,pygpgme,perl-Locale-Maketext-Simple,scl-utils,libsemanage-python,perl-Log-Message,setserial,python-pycurl,libtasn1,rfkill,pytalloc,gnutls,strace,python-prettytable,perl-Archive-Tar,crash-trace-command,python-netaddr,perl-Module-Loaded,redhat-indexhtml,pytz,perl-CGI,ivtv-firmware,libproxy,libtheora,atmel-firmware,libreport-compat,keyutils,iwl3945-firmware,abrt,checkpolicy,ql23xx-firmware,libreport-plugin-kerneloops,cups-libs,gpg-pubkey,libreport-cli,m4,python-requests,libtar,libXau,lzo,libXrender,newt,libXtst,openjpeg-libs,libXinerama,xz-lzma-compat,libXt,p11-kit-trust,pycairo,perl-Time-HiRes,libthai,perl-libwww-perl,libfprint,tmpwatch,gstreamer-plugins-base,gamin,policycoreutils,libgudev1,util-linux-ng,gstreamer-tools,mesa-libGL,flac,mesa-libGLU,libutempter,cups,db4-utils,phonon-backend-gstreamer,libnih,openssh,libgomp,nfs-utils-lib,mesa-private-llvm,dmraid-events,dejavu-sans-fonts,foomatic,perl-ExtUtils-ParseXS,hal-info,perl-File-Fetch,yum-rhn-plugin,perl-Module-Build,dracut-kernel,cdparanoia-libs,python-iwlib,coreutils-libs,ypbind,coreutils,oddjob-mkhomedir,module-init-tools'']'} > - {comment: 'Newly introduced packages: [''db4-cxx'', ''db4-devel'', ''gdbm-devel'', > ''glibc-devel'', ''glibc-headers'', ''kernel-headers'', ''lzo'', ''mesa-private-llvm'', > ''p11-kit'', ''p11-kit-trust'', ''python-backports-ssl_match_hostname'', ''python-chardet'', > ''python-ordereddict'', ''python-requests'', ''python-six'', ''python-urllib3'', > ''redhat-support-lib-python'', ''redhat-support-tool'', ''shared-mime-info'', > ''snappy'', ''ttmkfdir'', ''xorg-x11-fonts-Type1'']', result: passed} > - {comment: All required package are included, result: passed} > stage1:testcase_12_passwd_group: > - {command: 'grep ''^root:x:0:0:root:/root:/bin/bash'' /etc/passwd', result: passed} > - {command: 'grep ''^nobody:x:99:99:Nobody:/:/sbin/nologin'' /etc/passwd', result: passed} > - {command: 'grep ''^sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/sbin/nologin'' > /etc/passwd', result: passed} > - {command: 'grep ''^root:x:0:'' /etc/group', result: passed} > - {command: 'grep ''^daemon:x:2:bin,daemon'' /etc/group', result: passed} > - {command: 'grep ''^bin:x:1:bin,daemon'' /etc/group', result: passed} > stage1:testcase_13_resize2fs: > - {command: df -h | grep 15G, result: passed} > stage1:testcase_14_host_details: > - {command: '[ ! -z ''`curl http://169.254.169.254/latest/dynamic/instance-identity/signature`'' > ]', result: passed} > - {command: 'curl http://169.254.169.254/latest/dynamic/instance-identity/document', > match: '.*({.*}).*', result: passed, value: '[''{\r\n "instanceId" : "i-bc0378ef",\r\n "billingProducts" > : [ "bp-63a5400a" ],\r\n "imageId" : "ami-d88476b0",\r\n "architecture" > : "x86_64",\r\n "pendingTime" : "2014-06-10T08:54:31Z",\r\n "instanceType" > : "m1.xlarge",\r\n "accountId" : "567014786890",\r\n "kernelId" : "aki-919dcaf8",\r\n "ramdiskId" > : null,\r\n "region" : "us-east-1",\r\n "version" : "2010-08-31",\r\n "availabilityZone" > : "us-east-1d",\r\n "devpayProductCodes" : null,\r\n "privateIp" : "10.60.5.247"\r\n}'']'} > - {command: '[ ''ami-d88476b0'' = ''ami-d88476b0'' ]', result: passed} > - {command: '[ ''x86_64'' = ''x86_64'' ]', result: passed} > - {command: '[ ''us-east-1'' = ''us-east-1'' ]', result: passed} > - {command: '[ ''bp-63a5400a'' = ''bp-63a5400a'' ]', result: passed} > stage1:testcase_15_rhel_version: > - {command: 'rpm -q --qf ''%{RELEASE} > > '' --whatprovides redhat-release', match: '.*\r\n([0-9]\.[0-9]+\..*)\r\n.*', > result: passed, value: '[''6.5.0.1.el6'']'} > - {command: '[ ''6.5'' = ''6.5'' ]', result: passed} > stage1:testcase_16_selinux: > - {command: getenforce, expectation: "\r\nEnforcing\r\n", result: passed} > - {command: grep '^SELINUX=enforcing' /etc/sysconfig/selinux, result: passed} > - {command: grep '^SELINUXTYPE=targeted' /etc/sysconfig/selinux, result: passed} > - {command: setenforce Permissive && getenforce, expectation: "\r\nPermissive\r\ > \n", result: passed} > - {command: setenforce Enforcing && getenforce, expectation: "\r\nEnforcing\r\n", > result: passed} > stage1:testcase_17_shells: > - {command: grep 'bin/bash$' /etc/shells, result: passed} > - {command: grep 'bin/nologin$' /etc/shells, result: passed} > stage1:testcase_18_sshd: > - {command: rpm -q systemd > /dev/null && echo True || echo False, result: passed, > value: 'False'} > - {command: 'chkconfig --list sshd | grep ''0:off[[:space:]]*1:off[[:space:]]*2:on[[:space:]]*3:on[[:space:]]*4:on[[:space:]]*5:on[[:space:]]*6:off''', > result: passed} > - {command: service sshd status | grep running, result: passed} > - {command: grep 'PasswordAuthentication no' /etc/ssh/sshd_config, result: passed} > stage1:testcase_19_rhn_system_id: > - {command: '[ ! -f /etc/sysconfig/rhn/systemid ]', result: passed} > stage1:testcase_20_auditd: > - {command: md5sum /etc/sysconfig/auditd | cut -f 1 -d ' ', expectation: d4d43637708e30418c30003e212f76fc, > result: passed} > - {command: md5sum /etc/audit/auditd.conf | cut -f 1 -d ' ', expectation: e1886162554c18906df2ecd258aa4794, > result: passed} > - {command: md5sum /etc/audit/audit.rules | cut -f 1 -d ' ', expectation: f9869e1191838c461f5b9051c78a638d, > result: passed} > stage1:testcase_21_disk_size_format: > - {command: 'mount | grep ''^/dev'' | awk ''{print $1}''', result: passed, value: "/dev/xvda1\r\ > \n/dev/xvdf"} > - {command: 'echo ''###'' ;mount | grep ''^/dev/xvda1'' | awk ''{print $3}''; > echo ''###''', match: ".*\r\n###\r\n(.*)\r\n###\r\n.*", result: passed, value: '[''/'']'} > - {command: 'echo ''###'' ;mount | grep ''^/dev/xvda1'' | awk ''{print $5}''; > echo ''###''', match: ".*\r\n###\r\n(.*)\r\n###\r\n.*", result: passed, value: '[''ext4'']'} > - {command: '[ `df -k /dev/xvda1 | awk ''{ print $2 }'' | tail -n 1` -gt 3937219 > ]', result: passed} > - {command: '[ ext4 = ext4 ]', result: passed} > - {command: 'echo ''###'' ;mount | grep ''^/dev/xvdf'' | awk ''{print $3}''; echo > ''###''', match: ".*\r\n###\r\n(.*)\r\n###\r\n.*", result: passed, value: '[''/mnt'']'} > - {command: 'echo ''###'' ;mount | grep ''^/dev/xvdf'' | awk ''{print $5}''; echo > ''###''', match: ".*\r\n###\r\n(.*)\r\n###\r\n.*", result: passed, value: '[''ext3'']'} > - {command: '[ `df -k /dev/xvdf | awk ''{ print $2 }'' | tail -n 1` -gt 3937219 > ]', result: passed} > - {command: '[ ext3 = ext3 ]', result: passed} > stage1:testcase_22_gpg_keys: > - {command: grep '^gpgcheck=' /etc/yum.repos.d/redhat-*.repo | cut -d\= -f2 | > sort -uf | tr -d ' ', expectation: "\r\n1\r\n", result: passed} > - {command: rpm -qa gpg-pubkey* | wc -l, expectation: "\r\n2\r\n", result: passed} > - {command: rpm -q gpg-pubkey-2fa658e0-45700c69, result: passed} > - {command: rpm -q gpg-pubkey-fd431d51-4ae0493b, result: passed} > stage1:testcase_23_syslog: > - {command: md5sum /etc/rsyslog.conf | cut -f 1 -d ' ', result: passed, value: 8b91b32300134e98ef4aee632ed61e21} > - {comment: /etc/rsyslog.conf md5 matches, result: passed} > stage1:testcase_24_yum_plugin: > - {command: 'grep ''^enabled[[:space:]]*=[[:space:]]*[^0 ]'' /etc/yum/pluginconf.d/rhnplugin.conf', > result: passed} > stage1:testcase_25_uname: > - {command: 'uname -r | sed -e ''s,\.i686$,,'' -e ''s,\.x86_64$,,''', result: passed, > value: 2.6.32-431.17.1.el6} > - {command: 'rpm -q --last kernel | sed -e ''s,^kernel-,,'' -e ''s,[[:space:]].*$,,'' > | head -1 | sed -e ''s,\.i686$,,'' -e ''s,\.x86_64$,,''', result: passed, > value: 2.6.32-431.17.1.el6} > - {command: uname -o, result: passed, value: GNU/Linux} > - {command: '[ 2.6.32-431.17.1.el6 = 2.6.32-431.17.1.el6 ]', result: passed} > - {command: '[ GNU/Linux = ''GNU/Linux'' ]', result: passed} > - {command: grep UPDATEDEFAULT=yes /etc/sysconfig/kernel, result: passed} > - {command: grep DEFAULTKERNEL=kernel /etc/sysconfig/kernel, result: passed} > stage1:testcase_26_verify_rpms: > - actual modified files: {/etc/pam.d/fingerprint-auth: true, /etc/pam.d/password-auth: true, > /etc/pam.d/smartcard-auth: true, /etc/pam.d/system-auth: true, /etc/ssh/sshd_config: true} > expected modified files: {/etc/pam.d/fingerprint-auth: true, /etc/pam.d/password-auth: true, > /etc/pam.d/smartcard-auth: true, /etc/pam.d/system-auth: true, /etc/ssh/sshd_config: true} > result: passed > stage1:testcase_27_yum_repos: > - actual repos: {rhel-source: false, rhel-source-beta: false, rhui-REGION-client-config-server-6: true, > rhui-REGION-rhel-server-debug-rh-common: false, rhui-REGION-rhel-server-debug-rhscl: false, > rhui-REGION-rhel-server-debug-supplementary: false, rhui-REGION-rhel-server-releases: true, > rhui-REGION-rhel-server-releases-optional: true, rhui-REGION-rhel-server-releases-optional-source: false, > rhui-REGION-rhel-server-releases-source: false, rhui-REGION-rhel-server-rh-common: true, > rhui-REGION-rhel-server-rhscl: true, rhui-REGION-rhel-server-source-rh-common: false, > rhui-REGION-rhel-server-source-rhscl: false, rhui-REGION-rhel-server-source-supplementary: false, > rhui-REGION-rhel-server-supplementary: false} > expected repos: {rhel-source: false, rhel-source-beta: false, rhui-REGION-client-config-server-6: true, > rhui-REGION-rhel-server-debug-rh-common: false, rhui-REGION-rhel-server-debug-rhscl: false, > rhui-REGION-rhel-server-debug-supplementary: false, rhui-REGION-rhel-server-releases: true, > rhui-REGION-rhel-server-releases-optional: true, rhui-REGION-rhel-server-releases-optional-source: false, > rhui-REGION-rhel-server-releases-source: false, rhui-REGION-rhel-server-rh-common: true, > rhui-REGION-rhel-server-rhscl: true, rhui-REGION-rhel-server-source-rh-common: false, > rhui-REGION-rhel-server-source-rhscl: false, rhui-REGION-rhel-server-source-supplementary: false, > rhui-REGION-rhel-server-supplementary: false} > result: passed > stage1:testcase_30_rhn_certificates: > - {command: rpm -ql rh-amazon-rhui-client | egrep '.*\.(pem|crt)', result: passed, > value: "/etc/pki/rhui/ca.crt\r\n/etc/pki/rhui/cdn.redhat.com-chain.crt\r\n/etc/pki/rhui/product/content-rhel6.crt\r\ > \n/etc/pki/rhui/product/rhui-client-config-server-6.crt"} > - {command: openssl x509 -in /etc/pki/rhui/ca.crt -noout -dates | grep notAfter, > result: passed, value: 'notAfter=Nov 30 19:46:02 2017 GMT'} > - {comment: '(/etc/pki/rhui/ca.crt).notAfter=2017-11-30 19:46:02; expecting: 2017-11-10 > 00:00:00', result: passed} > - {command: openssl x509 -in /etc/pki/rhui/cdn.redhat.com-chain.crt -noout -dates > | grep notAfter, result: passed, value: 'notAfter=Mar 13 11:24:54 2030 GMT'} > - {comment: '(/etc/pki/rhui/cdn.redhat.com-chain.crt).notAfter=2030-03-13 11:24:54; > expecting: 2017-11-10 00:00:00', result: passed} > - {command: openssl x509 -in /etc/pki/rhui/product/content-rhel6.crt -noout -dates > | grep notAfter, result: passed, value: 'notAfter=Nov 16 15:35:48 2023 GMT'} > - {comment: '(/etc/pki/rhui/product/content-rhel6.crt).notAfter=2023-11-16 15:35:48; > expecting: 2017-11-10 00:00:00', result: passed} > - {command: openssl x509 -in /etc/pki/rhui/product/rhui-client-config-server-6.crt > -noout -dates | grep notAfter, result: passed, value: 'notAfter=Nov 30 18:38:07 > 2020 GMT'} > - {comment: '(/etc/pki/rhui/product/rhui-client-config-server-6.crt).notAfter=2020-11-30 > 18:38:07; expecting: 2017-11-10 00:00:00', result: passed} > stage1:testcase_31_subscription_management: > - {command: yum --disablerepo='*' -v repolist, expectation: Not loading "subscription-manager" > plugin, result: passed} > - {command: yum --enableplugin=subscription-manager --disablerepo='*' -v repolist, > expectation: Loading "subscription-manager" plugin, result: passed} > - {command: subscription-manager list, expectation: Installed Product Status, > result: passed} > stage1:testcase_32_ephemeral: > - {command: ls -la /sbin/mkfs.vfat 2> /dev/null | wc -l, result: passed, value: '1'} > - {command: fdisk -l /dev/xvdf | grep '^Disk', result: passed} > - {command: grep '/dev/xvdf ' /proc/mounts | wc -l, result: passed, value: '1'} > stage1:testcase_33_userdata: > - {command: 'rpm -q --queryformat ''%{NAME} > > '' cloud-init', result: passed, value: cloud-init} > - {command: ls -l /userdata_test, result: passed} > - {command: rpm -q xdelta, result: passed} > stage1:testcase_34_cpu: > - {command: cat /proc/cpuinfo | grep '^processor' | wc -l, expectation: '4', result: passed} > stage1:testcase_360_ebs: > - {command: ls -l /dev/xvdk, result: passed} > - {command: ls -la /sbin/mkfs.vfat 2> /dev/null | wc -l, result: passed, value: '1'} > - {command: mkfs.vfat -I /dev/xvdk, result: passed} > stage1:testcase_39_root_is_locked: > - {command: 'egrep "^root:(\!\!|\*|x|locked):" /etc/shadow', result: passed} > stage1:testcase_41_rh_amazon_rhui_client: > - {command: rpm -q rh-amazon-rhui-client, result: passed} > stage1:testcase_42_ipv6: > - {command: grep NETWORKING_IPV6=no /etc/sysconfig/network, result: passed} > stage1:testcase_50_yum_package_install: > - {command: yum clean all, result: passed} > - {command: yum repolist, result: passed} > - {command: yum search zsh, result: passed} > - {command: yum -y install zsh, result: passed} > - {command: 'rpm -q --queryformat ''%{NAME}'' zsh', result: passed} > - {command: rpm -e zsh, result: passed} > stage1:testcase_55_yum_group_install: > - {command: yum -y groupinstall 'Development tools', result: passed} > - {command: rpm -q glibc-devel, result: passed} > stage1:testcase_60_yum_update: > - {command: 'rpm -q matahari-net && yum -y remove matahari-net ||:', result: passed} > - {command: yum -y install kernel, result: passed} > - {command: yum -y update, result: passed} > stage1:testcase_61_yum_proxy: > - {comment: No proxy set, result: skip} > stage1:testcase_80_no_avc_denials: > - {command: 'echo START; grep ''avc:[[:space:]]*denied'' /var/log/messages /var/log/audit/audit.log > | grep -v userdata; echo END', expectation: "\r\nSTART\r\nEND\r\n", result: passed} > stage1:testcase_99_reboot: > - {command: echo 'doing reboot', result: passed} > - {command: nohup sleep 1s && nohup reboot &, result: passed} > stage2:testcase_08_memory: > - {command: 'grep --color=none ''MemTotal:'' /proc/meminfo', match: '.*\r\nMemTotal:\s*([0-9]+) ', > result: passed, value: '[''15239292'']'} > - {command: '[ 15239292 -gt 15000000 ]', result: passed} > stage2:testcase_25_uname: > - {command: 'uname -r | sed -e ''s,\.i686$,,'' -e ''s,\.x86_64$,,''', result: passed, > value: 2.6.32-431.17.1.el6} > - {command: 'rpm -q --last kernel | sed -e ''s,^kernel-,,'' -e ''s,[[:space:]].*$,,'' > | head -1 | sed -e ''s,\.i686$,,'' -e ''s,\.x86_64$,,''', result: passed, > value: 2.6.32-431.17.1.el6} > - {command: uname -o, result: passed, value: GNU/Linux} > - {command: '[ 2.6.32-431.17.1.el6 = 2.6.32-431.17.1.el6 ]', result: passed} > - {command: '[ GNU/Linux = ''GNU/Linux'' ]', result: passed} > - {command: grep UPDATEDEFAULT=yes /etc/sysconfig/kernel, result: passed} > - {command: grep DEFAULTKERNEL=kernel /etc/sysconfig/kernel, result: passed} > stage2:testcase_37_sshd_bug923996: > - {command: '[ `grep ^PermitRootLogin /etc/ssh/sshd_config | wc -l` -eq 0 ]', > result: passed} > stage2:testcase_80_no_avc_denials: > - {command: 'echo START; grep ''avc:[[:space:]]*denied'' /var/log/messages /var/log/audit/audit.log > | grep -v userdata; echo END', expectation: "\r\nSTART\r\nEND\r\n", result: passed} > m2.2xlarge: > stage1:testcase_01_bash_history: > - {command: '[ ! -f ~/.bash_history ] && echo 0 || cat ~/.bash_history | wc -l', > expectation: "\r\n0\r\n", result: passed} > stage1:testcase_02_selinux_context: > - {command: 'restorecon -R -v -n -e /proc -e /sys -e /mnt / | sed -e ''s, context > , ,'' -e ''s,^restorecon reset ,,'' | cat > /tmp/restorecon_output.txt && > echo SUCCESS', expectation: "\r\nSUCCESS\r\n", result: passed} > - {comment: ' > > Lost entries:[[''/var/cache/yum.*'', [''file_t'', ''rpm_var_cache_t'']]]', > result: warning} > stage1:testcase_03_running_services: > - {command: rpm -q systemd > /dev/null && echo True || echo False, result: passed, > value: 'False'} > - {command: chkconfig --list auditd, expectation: '3:on', result: passed} > - {command: chkconfig --list crond, expectation: '3:on', result: passed} > stage1:testcase_04_cloud_firstboot: > - {command: chkconfig --list rh-cloud-firstboot, expectation: '3:off', result: passed} > - {command: test -f /etc/sysconfig/rh-cloud-firstboot, result: passed} > - {command: cat /etc/sysconfig/rh-cloud-firstboot, expectation: RUN_FIRSTBOOT=NO, > result: passed} > stage1:testcase_05_grub: > - {command: test -h /boot/grub/menu.lst, result: passed} > - {command: readlink -e /boot/grub/menu.lst, expectation: /boot/grub/grub.conf, > result: passed} > - {command: 'grep ''(hd0,0)'' /boot/grub/grub.conf', result: passed} > stage1:testcase_06_inittab: > - {command: rpm -q systemd > /dev/null && echo True || echo False, result: passed, > value: 'False'} > - {command: 'grep ''^id:'' /etc/inittab', expectation: 'id:3:initdefault', result: passed} > stage1:testcase_07_libc6_xen_conf: > - {command: test -f /etc/ld.so.conf.d/libc6-xen.conf, result: passed} > stage1:testcase_08_memory: > - {command: 'grep --color=none ''MemTotal:'' /proc/meminfo', match: '.*\r\nMemTotal:\s*([0-9]+) ', > result: passed, value: '[''34993436'']'} > - {command: '[ 34993436 -gt 34200000 ]', result: passed} > stage1:testcase_09_nameserver: > - {command: dig clock.redhat.com | grep 66.187.233.4, result: passed} > stage1:testcase_10_networking: > - {command: grep "^NETWORKING=yes" /etc/sysconfig/network, result: passed} > - {command: egrep "^DEVICE=(|\")eth0(|\")" /etc/sysconfig/network-scripts/ifcfg-eth0, > result: passed} > stage1:testcase_11_package_set: > - {command: 'rpm -qa --queryformat ''%{NAME},'' && echo', match: ".*\r\n(.*),\r\ > \n.*", result: passed, value: '[''cronie,libssh2,filesystem,redhat-lsb-compat,plymouth-scripts,tzdata-java,iptables-ipv6,libsndfile,iso-codes,kernel-firmware,poppler,mailcap,systemtap-runtime,bind-utils,nss-softokn-freebl,selinux-policy-targeted,at,libattr,cloud-init,ConsoleKit-libs,info,lvm2,logrotate,popt,openssh-clients,nss-tools,freetype,bfa-firmware,gnupg2,gawk,b43-openfwwf,man,elfutils-libelf,iwl1000-firmware,nss_compat_ossl,libselinux,rng-tools,libaio,cyrus-sasl-lib,smartmontools,libsss_autofs,libICE,latencytop,hdparm,tcp_wrappers-libs,yum-plugin-security,libpcap,findutils,vim-enhanced,sgpio,xz-libs,libhugetlbfs-utils,ustr,libidn,ledmon,python,libgcrypt,pinfo,python-dateutil,libgssglue,perl-Crypt-SSLeay,libxml2-python,pcre,tcsh,python-dmidecode,libvorbis,latencytop-tui,pygobject2,psmisc,ntsysv,python-nose,make,oprofile,redhat-support-lib-python,perl-Pod-Escapes,ltrace,python-ldap,perl-Pod-Simple,attr,python-kerberos,perl-Module-Load,mtr,python-crypto,perl-Package-Constants,zip,yum,libmng,bridge-utils,blktrace,perl-Compress-Zlib,latrace,python-argparse,perl-Term-UI,man-pages,python-markdown,perl-Digest-SHA,iwl5000-firmware,gettext,perl-DBI,xorg-x11-drv-ati-firmware,libreport-plugin-rhtsupport,libldb,iwl4965-firmware,libreport-plugin-reportuploader,vim-minimal,rt73usb-firmware,abrt-addon-python,acl,rootfiles,libreport-plugin-mailx,e2fsprogs,python-backports-ssl_match_hostname,snappy,SDL,libedit,libX11,pth,libXi,libusb1,libXrandr,libXfont,libXdamage,perl-DBD-SQLite,java-1.7.0-openjdk,perl-parent,libXv,perl-HTML-Tagset,gtk2,perl-libxml-perl,liboil,shared-mime-info,kbd-misc,atk,iproute,grubby,udev,libxslt,mesa-dri-drivers,tcp_wrappers,device-mapper,patch,kpartx,pinentry,rsyslog,ed,samba-winbind-clients,db4-cxx,policycoreutils-python,vim-common,foomatic-db-ppds,glibc-devel,cryptsetup-luks,perl-devel,rhnsd,perl-Test-Simple,plymouth,perl-ExtUtils-Embed,crda,groff,ntp,cracklib,certmonger,openssl,postfix,hwdata,libgcc,jpackage-utils,tzdata,xdg-utils,mesa-dri-filesystem,rpcbind,latencytop-common,qt-sqlite,basesystem,libpciaccess,xml-common,xorg-x11-fonts-Type1,kernel-headers,ghostscript-fonts,dejavu-fonts-common,poppler-utils,libX11-common,bind-libs,glibc-common,mysql-libs,glibc,fipscheck,bash,pam_krb5,libcap,sssd-client,libstdc++,polkit,libcom_err,cvs,libxml2,nss,chkconfig,mailx,audit-libs,openldap,nss-util,xmlrpc-c-client,bzip2-libs,curl,libpng,rpm,db4,libuser,expat,gpgme,libsepol,hicolor-icon-theme,shadow-utils,rhino,readline,ethtool,sqlite,mingetty,libuuid,sg3_utils-libs,libSM,plymouth-core-libs,xmlrpc-c,libsss_idmap,keyutils-libs,c-ares,libtdb,gpm-libs,btparser,pixman,libnl,libref_array,libogg,libini_config,which,libsemanage,libcap-ng,libffi,libgpg-error,python-libs,libudev,newt-python,elfutils-libs,python-iniparse,bzip2,python-simplejson,binutils,python-ethtool,grep,dbus-python,libtirpc,authconfig,nss-softokn,libselinux-python,net-tools,python-ordereddict,tar,python-pygments,e2fsprogs-libs,numpy,dmidecode,rhnlib,gdbm,python-rhsm,perl-libs,PyYAML,perl-Module-Pluggable,yum-metadata-parser,perl,python-nss,perl-Params-Check,libipa_hbac-python,perl-Module-Load-Conditional,setools-libs-python,perl-IO-Compress-Base,python-paramiko,perl-Compress-Raw-Zlib,python-urlgrabber,lcms-libs,rhn-client-tools,p11-kit,samba4-libs,perl-IO-Compress-Zlib,python-boto,perl-IO-Zlib,python-configobj,perl-Log-Message-Simple,python-krbV,perl-Object-Accessor,audit-libs-python,perl-Module-CoreList,python-cheetah,perl-Compress-Raw-Bzip2,perl-URI,file,xz,cyrus-sasl-gssapi,bc,libselinux-utils,jasper-libs,avahi-libs,libss,diffutils,gmp,libusb,libfontenc,numactl,crash,slang,libcollection,libgfortran,atlas,xorg-x11-font-utils,perl-DBIx-Simple,perl-IO-Compress-Bzip2,ca-certificates,perl-Time-Piece,perl-Parse-CPAN-Meta,perl-HTML-Parser,perl-XML-Parser,gdbm-devel,elfutils,glib2,dbus-glib,libipa_hbac,eggdbus,desktop-file-utils,gstreamer,hal-libs,iw,setools-libs,MAKEDEV,device-mapper-persistent-data,ttmkfdir,portreserve,upstart,time,hunspell,db4-devel,libhugetlbfs,dash,glibc-headers,perl-Test-Harness,perl-ExtUtils-MakeMaker,perl-IPC-Cmd,perl-Archive-Extract,perl-ExtUtils-CBuilder,perl-CPANPLUS,perl-CPAN,ncurses,less,gzip,cracklib-dicts,pam,fontconfig,alsa-lib,cronie-anacron,redhat-lsb-core,redhat-lsb-graphics,redhat-lsb,ipa-python,system-config-firewall-base,dhcp-common,kernel,ipa-client,irqbalance,dhclient,system-config-firewall-tui,sysstat,system-config-network-tui,rh-amazon-rhui-client,samba-client,openssh-server,numad,setuptool,iwl5150-firmware,iwl6050-firmware,iwl6000g2a-firmware,iwl6000-firmware,biosdevname,acpid,readahead,cpuspeed,prelink,seekwatcher,java-1.6.0-openjdk,abrt-cli,yum-utils,redhat-support-tool,gdb,grub,iotop,tcpdump,elinks,sudo,Red_Hat_Enterprise_Linux-Release_Notes-6-en-US,alsa-utils,pam_passwdqc,psacct,powertop,hunspell-en,perl-XML-Grove,perl-XML-Dumper,crash-gcore-command,mlocate,efibootmgr,lsof,unzip,nano,nfs4-acl-tools,libitm,traceroute,vconfig,dosfstools,rdate,eject,b43-fwcutter,trace-cmd,libtopology,words,ql2400-firmware,python-chardet,ql2100-firmware,libproxy-bin,libertas-usb8388-firmware,libproxy-python,ql2500-firmware,libreport-python,zd1211-firmware,libreport,rt61pci-firmware,abrt-libs,ql2200-firmware,abrt-addon-ccpp,ipw2100-firmware,abrt-tui,ipw2200-firmware,abrt-addon-kerneloops,gpg-pubkey,libreport-plugin-logger,xdelta,python-six,python-urllib3,pax,theora-tools,libxcb,libXext,cairo,libXfixes,libXcursor,libXft,pulseaudio-libs,giflib,ghostscript,qt3,libXxf86vm,libXcomposite,pango,python-matplotlib,fprintd,libvisual,busybox,redhat-release-server,iptables,iputils,initscripts,libdrm,mesa-dri1-drivers,usermode,device-mapper-libs,device-mapper-event-libs,device-mapper-event,qt-x11,kbd,libcgroup,samba-common,samba-winbind,nfs-utils,dmraid,lvm2-libs,foomatic-db,cryptsetup-luks-libs,pm-utils,hal,rhn-setup,rhn-check,dracut,mdadm,wireless-tools,ntpdate,yp-tools,sssd,oddjob,cyrus-sasl,crontabs,qt,setup,redhat-lsb-printing,redhat-logos,foomatic-db-filesystem,virt-what,pciutils,poppler-data,selinux-policy,urw-fonts,fontpackages-filesystem,autofs,wget,ncurses-base,pcmciautils,fipscheck-lib,ncurses-libs,subscription-manager,krb5-workstation,zlib,kexec-tools,ConsoleKit,dbus-libs,cifs-utils,nss-sysinit,nspr,parted,libcurl,libacl,iwl100-firmware,rpm-libs,libjpeg-turbo,aic94xx-firmware,passwd,libtalloc,quota,jline,sed,microcode_ctl,hesiod,libtevent,fprintd-pam,libevent,libblkid,hwloc,libdhash,krb5-libs,cas,libyaml,pciutils-libs,perf,libpath_utils,procps,dstat,libasyncns,dbus,man-pages-overrides,rpm-python,pkgconfig,usbutils,python-lxml,cpio,audit,m2crypto,file-libs,perl-core,pyOpenSSL,lua,perl-XML-Twig,python-setuptools,libtiff,valgrind,python-gudev,sysvinit-tools,cyrus-sasl-plain,sos,perl-version,rsync,pygpgme,perl-Locale-Maketext-Simple,scl-utils,libsemanage-python,perl-Log-Message,setserial,python-pycurl,libtasn1,rfkill,pytalloc,gnutls,strace,python-prettytable,perl-Archive-Tar,crash-trace-command,python-netaddr,perl-Module-Loaded,redhat-indexhtml,pytz,perl-CGI,ivtv-firmware,libproxy,libtheora,atmel-firmware,libreport-compat,keyutils,iwl3945-firmware,abrt,checkpolicy,ql23xx-firmware,libreport-plugin-kerneloops,cups-libs,gpg-pubkey,libreport-cli,m4,python-requests,libtar,libXau,lzo,libXrender,newt,libXtst,openjpeg-libs,libXinerama,xz-lzma-compat,libXt,p11-kit-trust,pycairo,perl-Time-HiRes,libthai,perl-libwww-perl,libfprint,tmpwatch,gstreamer-plugins-base,gamin,policycoreutils,libgudev1,util-linux-ng,gstreamer-tools,mesa-libGL,flac,mesa-libGLU,libutempter,cups,db4-utils,phonon-backend-gstreamer,libnih,openssh,libgomp,nfs-utils-lib,mesa-private-llvm,dmraid-events,dejavu-sans-fonts,foomatic,perl-ExtUtils-ParseXS,hal-info,perl-File-Fetch,yum-rhn-plugin,perl-Module-Build,dracut-kernel,cdparanoia-libs,python-iwlib,coreutils-libs,ypbind,coreutils,oddjob-mkhomedir,module-init-tools'']'} > - {comment: 'Newly introduced packages: [''db4-cxx'', ''db4-devel'', ''gdbm-devel'', > ''glibc-devel'', ''glibc-headers'', ''kernel-headers'', ''lzo'', ''mesa-private-llvm'', > ''p11-kit'', ''p11-kit-trust'', ''python-backports-ssl_match_hostname'', ''python-chardet'', > ''python-ordereddict'', ''python-requests'', ''python-six'', ''python-urllib3'', > ''redhat-support-lib-python'', ''redhat-support-tool'', ''shared-mime-info'', > ''snappy'', ''ttmkfdir'', ''xorg-x11-fonts-Type1'']', result: passed} > - {comment: All required package are included, result: passed} > stage1:testcase_12_passwd_group: > - {command: 'grep ''^root:x:0:0:root:/root:/bin/bash'' /etc/passwd', result: passed} > - {command: 'grep ''^nobody:x:99:99:Nobody:/:/sbin/nologin'' /etc/passwd', result: passed} > - {command: 'grep ''^sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/sbin/nologin'' > /etc/passwd', result: passed} > - {command: 'grep ''^root:x:0:'' /etc/group', result: passed} > - {command: 'grep ''^daemon:x:2:bin,daemon'' /etc/group', result: passed} > - {command: 'grep ''^bin:x:1:bin,daemon'' /etc/group', result: passed} > stage1:testcase_13_resize2fs: > - {command: df -h | grep 15G, result: passed} > stage1:testcase_14_host_details: > - {command: '[ ! -z ''`curl http://169.254.169.254/latest/dynamic/instance-identity/signature`'' > ]', result: passed} > - {command: 'curl http://169.254.169.254/latest/dynamic/instance-identity/document', > match: '.*({.*}).*', result: passed, value: '[''{\r\n "version" : "2010-08-31",\r\n "pendingTime" > : "2014-06-10T08:54:32Z",\r\n "instanceType" : "m2.2xlarge",\r\n "imageId" > : "ami-d88476b0",\r\n "architecture" : "x86_64",\r\n "kernelId" : "aki-919dcaf8",\r\n "ramdiskId" > : null,\r\n "availabilityZone" : "us-east-1c",\r\n "devpayProductCodes" > : null,\r\n "privateIp" : "10.225.27.25",\r\n "region" : "us-east-1",\r\n "instanceId" > : "i-6ed1893e",\r\n "billingProducts" : [ "bp-63a5400a" ],\r\n "accountId" > : "567014786890"\r\n}'']'} > - {command: '[ ''ami-d88476b0'' = ''ami-d88476b0'' ]', result: passed} > - {command: '[ ''x86_64'' = ''x86_64'' ]', result: passed} > - {command: '[ ''us-east-1'' = ''us-east-1'' ]', result: passed} > - {command: '[ ''bp-63a5400a'' = ''bp-63a5400a'' ]', result: passed} > stage1:testcase_15_rhel_version: > - {command: 'rpm -q --qf ''%{RELEASE} > > '' --whatprovides redhat-release', match: '.*\r\n([0-9]\.[0-9]+\..*)\r\n.*', > result: passed, value: '[''6.5.0.1.el6'']'} > - {command: '[ ''6.5'' = ''6.5'' ]', result: passed} > stage1:testcase_16_selinux: > - {command: getenforce, expectation: "\r\nEnforcing\r\n", result: passed} > - {command: grep '^SELINUX=enforcing' /etc/sysconfig/selinux, result: passed} > - {command: grep '^SELINUXTYPE=targeted' /etc/sysconfig/selinux, result: passed} > - {command: setenforce Permissive && getenforce, expectation: "\r\nPermissive\r\ > \n", result: passed} > - {command: setenforce Enforcing && getenforce, expectation: "\r\nEnforcing\r\n", > result: passed} > stage1:testcase_17_shells: > - {command: grep 'bin/bash$' /etc/shells, result: passed} > - {command: grep 'bin/nologin$' /etc/shells, result: passed} > stage1:testcase_18_sshd: > - {command: rpm -q systemd > /dev/null && echo True || echo False, result: passed, > value: 'False'} > - {command: 'chkconfig --list sshd | grep ''0:off[[:space:]]*1:off[[:space:]]*2:on[[:space:]]*3:on[[:space:]]*4:on[[:space:]]*5:on[[:space:]]*6:off''', > result: passed} > - {command: service sshd status | grep running, result: passed} > - {command: grep 'PasswordAuthentication no' /etc/ssh/sshd_config, result: passed} > stage1:testcase_19_rhn_system_id: > - {command: '[ ! -f /etc/sysconfig/rhn/systemid ]', result: passed} > stage1:testcase_20_auditd: > - {command: md5sum /etc/sysconfig/auditd | cut -f 1 -d ' ', expectation: d4d43637708e30418c30003e212f76fc, > result: passed} > - {command: md5sum /etc/audit/auditd.conf | cut -f 1 -d ' ', expectation: e1886162554c18906df2ecd258aa4794, > result: passed} > - {command: md5sum /etc/audit/audit.rules | cut -f 1 -d ' ', expectation: f9869e1191838c461f5b9051c78a638d, > result: passed} > stage1:testcase_21_disk_size_format: > - {command: 'mount | grep ''^/dev'' | awk ''{print $1}''', result: passed, value: "/dev/xvda1\r\ > \n/dev/xvdf"} > - {command: 'echo ''###'' ;mount | grep ''^/dev/xvda1'' | awk ''{print $3}''; > echo ''###''', match: ".*\r\n###\r\n(.*)\r\n###\r\n.*", result: passed, value: '[''/'']'} > - {command: 'echo ''###'' ;mount | grep ''^/dev/xvda1'' | awk ''{print $5}''; > echo ''###''', match: ".*\r\n###\r\n(.*)\r\n###\r\n.*", result: passed, value: '[''ext4'']'} > - {command: '[ `df -k /dev/xvda1 | awk ''{ print $2 }'' | tail -n 1` -gt 3937219 > ]', result: passed} > - {command: '[ ext4 = ext4 ]', result: passed} > - {command: 'echo ''###'' ;mount | grep ''^/dev/xvdf'' | awk ''{print $3}''; echo > ''###''', match: ".*\r\n###\r\n(.*)\r\n###\r\n.*", result: passed, value: '[''/mnt'']'} > - {command: 'echo ''###'' ;mount | grep ''^/dev/xvdf'' | awk ''{print $5}''; echo > ''###''', match: ".*\r\n###\r\n(.*)\r\n###\r\n.*", result: passed, value: '[''ext3'']'} > - {command: '[ `df -k /dev/xvdf | awk ''{ print $2 }'' | tail -n 1` -gt 3937219 > ]', result: passed} > - {command: '[ ext3 = ext3 ]', result: passed} > stage1:testcase_22_gpg_keys: > - {command: grep '^gpgcheck=' /etc/yum.repos.d/redhat-*.repo | cut -d\= -f2 | > sort -uf | tr -d ' ', expectation: "\r\n1\r\n", result: passed} > - {command: rpm -qa gpg-pubkey* | wc -l, expectation: "\r\n2\r\n", result: passed} > - {command: rpm -q gpg-pubkey-2fa658e0-45700c69, result: passed} > - {command: rpm -q gpg-pubkey-fd431d51-4ae0493b, result: passed} > stage1:testcase_23_syslog: > - {command: md5sum /etc/rsyslog.conf | cut -f 1 -d ' ', result: passed, value: 8b91b32300134e98ef4aee632ed61e21} > - {comment: /etc/rsyslog.conf md5 matches, result: passed} > stage1:testcase_24_yum_plugin: > - {command: 'grep ''^enabled[[:space:]]*=[[:space:]]*[^0 ]'' /etc/yum/pluginconf.d/rhnplugin.conf', > result: passed} > stage1:testcase_25_uname: > - {command: 'uname -r | sed -e ''s,\.i686$,,'' -e ''s,\.x86_64$,,''', result: passed, > value: 2.6.32-431.17.1.el6} > - {command: 'rpm -q --last kernel | sed -e ''s,^kernel-,,'' -e ''s,[[:space:]].*$,,'' > | head -1 | sed -e ''s,\.i686$,,'' -e ''s,\.x86_64$,,''', result: passed, > value: 2.6.32-431.17.1.el6} > - {command: uname -o, result: passed, value: GNU/Linux} > - {command: '[ 2.6.32-431.17.1.el6 = 2.6.32-431.17.1.el6 ]', result: passed} > - {command: '[ GNU/Linux = ''GNU/Linux'' ]', result: passed} > - {command: grep UPDATEDEFAULT=yes /etc/sysconfig/kernel, result: passed} > - {command: grep DEFAULTKERNEL=kernel /etc/sysconfig/kernel, result: passed} > stage1:testcase_26_verify_rpms: > - actual modified files: {/etc/pam.d/fingerprint-auth: true, /etc/pam.d/password-auth: true, > /etc/pam.d/smartcard-auth: true, /etc/pam.d/system-auth: true, /etc/ssh/sshd_config: true} > expected modified files: {/etc/pam.d/fingerprint-auth: true, /etc/pam.d/password-auth: true, > /etc/pam.d/smartcard-auth: true, /etc/pam.d/system-auth: true, /etc/ssh/sshd_config: true} > result: passed > stage1:testcase_27_yum_repos: > - actual repos: {rhel-source: false, rhel-source-beta: false, rhui-REGION-client-config-server-6: true, > rhui-REGION-rhel-server-debug-rh-common: false, rhui-REGION-rhel-server-debug-rhscl: false, > rhui-REGION-rhel-server-debug-supplementary: false, rhui-REGION-rhel-server-releases: true, > rhui-REGION-rhel-server-releases-optional: true, rhui-REGION-rhel-server-releases-optional-source: false, > rhui-REGION-rhel-server-releases-source: false, rhui-REGION-rhel-server-rh-common: true, > rhui-REGION-rhel-server-rhscl: true, rhui-REGION-rhel-server-source-rh-common: false, > rhui-REGION-rhel-server-source-rhscl: false, rhui-REGION-rhel-server-source-supplementary: false, > rhui-REGION-rhel-server-supplementary: false} > expected repos: {rhel-source: false, rhel-source-beta: false, rhui-REGION-client-config-server-6: true, > rhui-REGION-rhel-server-debug-rh-common: false, rhui-REGION-rhel-server-debug-rhscl: false, > rhui-REGION-rhel-server-debug-supplementary: false, rhui-REGION-rhel-server-releases: true, > rhui-REGION-rhel-server-releases-optional: true, rhui-REGION-rhel-server-releases-optional-source: false, > rhui-REGION-rhel-server-releases-source: false, rhui-REGION-rhel-server-rh-common: true, > rhui-REGION-rhel-server-rhscl: true, rhui-REGION-rhel-server-source-rh-common: false, > rhui-REGION-rhel-server-source-rhscl: false, rhui-REGION-rhel-server-source-supplementary: false, > rhui-REGION-rhel-server-supplementary: false} > result: passed > stage1:testcase_30_rhn_certificates: > - {command: rpm -ql rh-amazon-rhui-client | egrep '.*\.(pem|crt)', result: passed, > value: "/etc/pki/rhui/ca.crt\r\n/etc/pki/rhui/cdn.redhat.com-chain.crt\r\n/etc/pki/rhui/product/content-rhel6.crt\r\ > \n/etc/pki/rhui/product/rhui-client-config-server-6.crt"} > - {command: openssl x509 -in /etc/pki/rhui/ca.crt -noout -dates | grep notAfter, > result: passed, value: 'notAfter=Nov 30 19:46:02 2017 GMT'} > - {comment: '(/etc/pki/rhui/ca.crt).notAfter=2017-11-30 19:46:02; expecting: 2017-11-10 > 00:00:00', result: passed} > - {command: openssl x509 -in /etc/pki/rhui/cdn.redhat.com-chain.crt -noout -dates > | grep notAfter, result: passed, value: 'notAfter=Mar 13 11:24:54 2030 GMT'} > - {comment: '(/etc/pki/rhui/cdn.redhat.com-chain.crt).notAfter=2030-03-13 11:24:54; > expecting: 2017-11-10 00:00:00', result: passed} > - {command: openssl x509 -in /etc/pki/rhui/product/content-rhel6.crt -noout -dates > | grep notAfter, result: passed, value: 'notAfter=Nov 16 15:35:48 2023 GMT'} > - {comment: '(/etc/pki/rhui/product/content-rhel6.crt).notAfter=2023-11-16 15:35:48; > expecting: 2017-11-10 00:00:00', result: passed} > - {command: openssl x509 -in /etc/pki/rhui/product/rhui-client-config-server-6.crt > -noout -dates | grep notAfter, result: passed, value: 'notAfter=Nov 30 18:38:07 > 2020 GMT'} > - {comment: '(/etc/pki/rhui/product/rhui-client-config-server-6.crt).notAfter=2020-11-30 > 18:38:07; expecting: 2017-11-10 00:00:00', result: passed} > stage1:testcase_31_subscription_management: > - {command: yum --disablerepo='*' -v repolist, expectation: Not loading "subscription-manager" > plugin, result: passed} > - {command: yum --enableplugin=subscription-manager --disablerepo='*' -v repolist, > expectation: Loading "subscription-manager" plugin, result: passed} > - {command: subscription-manager list, expectation: Installed Product Status, > result: passed} > stage1:testcase_32_ephemeral: > - {command: ls -la /sbin/mkfs.vfat 2> /dev/null | wc -l, result: passed, value: '1'} > - {command: fdisk -l /dev/xvdf | grep '^Disk', result: passed} > - {command: grep '/dev/xvdf ' /proc/mounts | wc -l, result: passed, value: '1'} > stage1:testcase_33_userdata: > - {command: 'rpm -q --queryformat ''%{NAME} > > '' cloud-init', result: passed, value: cloud-init} > - {command: ls -l /userdata_test, result: passed} > - {command: rpm -q xdelta, result: passed} > stage1:testcase_34_cpu: > - {command: cat /proc/cpuinfo | grep '^processor' | wc -l, expectation: '4', result: passed} > stage1:testcase_360_ebs: > - {command: ls -l /dev/xvdk, result: passed} > - {command: ls -la /sbin/mkfs.vfat 2> /dev/null | wc -l, result: passed, value: '1'} > - {command: mkfs.vfat -I /dev/xvdk, result: passed} > stage1:testcase_39_root_is_locked: > - {command: 'egrep "^root:(\!\!|\*|x|locked):" /etc/shadow', result: passed} > stage1:testcase_41_rh_amazon_rhui_client: > - {command: rpm -q rh-amazon-rhui-client, result: passed} > stage1:testcase_42_ipv6: > - {command: grep NETWORKING_IPV6=no /etc/sysconfig/network, result: passed} > stage1:testcase_50_yum_package_install: > - {command: yum clean all, result: passed} > - {command: yum repolist, result: passed} > - {command: yum search zsh, result: passed} > - {command: yum -y install zsh, result: passed} > - {command: 'rpm -q --queryformat ''%{NAME}'' zsh', result: passed} > - {command: rpm -e zsh, result: passed} > stage1:testcase_55_yum_group_install: > - {command: yum -y groupinstall 'Development tools', result: passed} > - {command: rpm -q glibc-devel, result: passed} > stage1:testcase_60_yum_update: > - {command: 'rpm -q matahari-net && yum -y remove matahari-net ||:', result: passed} > - {command: yum -y install kernel, result: passed} > - {command: yum -y update, result: passed} > stage1:testcase_61_yum_proxy: > - {comment: No proxy set, result: skip} > stage1:testcase_80_no_avc_denials: > - {command: 'echo START; grep ''avc:[[:space:]]*denied'' /var/log/messages /var/log/audit/audit.log > | grep -v userdata; echo END', expectation: "\r\nSTART\r\nEND\r\n", result: passed} > stage1:testcase_99_reboot: > - {command: echo 'doing reboot', result: passed} > - {command: nohup sleep 1s && nohup reboot &, result: passed} > stage2:testcase_08_memory: > - {command: 'grep --color=none ''MemTotal:'' /proc/meminfo', match: '.*\r\nMemTotal:\s*([0-9]+) ', > result: passed, value: '[''34993436'']'} > - {command: '[ 34993436 -gt 34200000 ]', result: passed} > stage2:testcase_25_uname: > - {command: 'uname -r | sed -e ''s,\.i686$,,'' -e ''s,\.x86_64$,,''', result: passed, > value: 2.6.32-431.17.1.el6} > - {command: 'rpm -q --last kernel | sed -e ''s,^kernel-,,'' -e ''s,[[:space:]].*$,,'' > | head -1 | sed -e ''s,\.i686$,,'' -e ''s,\.x86_64$,,''', result: passed, > value: 2.6.32-431.17.1.el6} > - {command: uname -o, result: passed, value: GNU/Linux} > - {command: '[ 2.6.32-431.17.1.el6 = 2.6.32-431.17.1.el6 ]', result: passed} > - {command: '[ GNU/Linux = ''GNU/Linux'' ]', result: passed} > - {command: grep UPDATEDEFAULT=yes /etc/sysconfig/kernel, result: passed} > - {command: grep DEFAULTKERNEL=kernel /etc/sysconfig/kernel, result: passed} > stage2:testcase_37_sshd_bug923996: > - {command: '[ `grep ^PermitRootLogin /etc/ssh/sshd_config | wc -l` -eq 0 ]', > result: passed} > stage2:testcase_80_no_avc_denials: > - {command: 'echo START; grep ''avc:[[:space:]]*denied'' /var/log/messages /var/log/audit/audit.log > | grep -v userdata; echo END', expectation: "\r\nSTART\r\nEND\r\n", result: passed} > m2.4xlarge: > stage1:testcase_01_bash_history: > - {command: '[ ! -f ~/.bash_history ] && echo 0 || cat ~/.bash_history | wc -l', > expectation: "\r\n0\r\n", result: passed} > stage1:testcase_02_selinux_context: > - {command: 'restorecon -R -v -n -e /proc -e /sys -e /mnt / | sed -e ''s, context > , ,'' -e ''s,^restorecon reset ,,'' | cat > /tmp/restorecon_output.txt && > echo SUCCESS', expectation: "\r\nSUCCESS\r\n", result: passed} > - {comment: ' > > Lost entries:[[''/var/cache/yum.*'', [''file_t'', ''rpm_var_cache_t'']]]', > result: warning} > stage1:testcase_03_running_services: > - {command: rpm -q systemd > /dev/null && echo True || echo False, result: passed, > value: 'False'} > - {command: chkconfig --list auditd, expectation: '3:on', result: passed} > - {command: chkconfig --list crond, expectation: '3:on', result: passed} > stage1:testcase_04_cloud_firstboot: > - {command: chkconfig --list rh-cloud-firstboot, expectation: '3:off', result: passed} > - {command: test -f /etc/sysconfig/rh-cloud-firstboot, result: passed} > - {command: cat /etc/sysconfig/rh-cloud-firstboot, expectation: RUN_FIRSTBOOT=NO, > result: passed} > stage1:testcase_05_grub: > - {command: test -h /boot/grub/menu.lst, result: passed} > - {command: readlink -e /boot/grub/menu.lst, expectation: /boot/grub/grub.conf, > result: passed} > - {command: 'grep ''(hd0,0)'' /boot/grub/grub.conf', result: passed} > stage1:testcase_06_inittab: > - {command: rpm -q systemd > /dev/null && echo True || echo False, result: passed, > value: 'False'} > - {command: 'grep ''^id:'' /etc/inittab', expectation: 'id:3:initdefault', result: passed} > stage1:testcase_07_libc6_xen_conf: > - {command: test -f /etc/ld.so.conf.d/libc6-xen.conf, result: passed} > stage1:testcase_08_memory: > - {command: 'grep --color=none ''MemTotal:'' /proc/meminfo', match: '.*\r\nMemTotal:\s*([0-9]+) ', > result: passed, value: '[''70200560'']'} > - {command: '[ 70200560 -gt 68400000 ]', result: passed} > stage1:testcase_09_nameserver: > - {command: dig clock.redhat.com | grep 66.187.233.4, result: passed} > stage1:testcase_10_networking: > - {command: grep "^NETWORKING=yes" /etc/sysconfig/network, result: passed} > - {command: egrep "^DEVICE=(|\")eth0(|\")" /etc/sysconfig/network-scripts/ifcfg-eth0, > result: passed} > stage1:testcase_11_package_set: > - {command: 'rpm -qa --queryformat ''%{NAME},'' && echo', match: ".*\r\n(.*),\r\ > \n.*", result: passed, value: '[''cronie,libssh2,filesystem,redhat-lsb-compat,plymouth-scripts,tzdata-java,iptables-ipv6,libsndfile,iso-codes,kernel-firmware,poppler,mailcap,systemtap-runtime,bind-utils,nss-softokn-freebl,selinux-policy-targeted,at,libattr,cloud-init,ConsoleKit-libs,info,lvm2,logrotate,popt,openssh-clients,nss-tools,freetype,bfa-firmware,gnupg2,gawk,b43-openfwwf,man,elfutils-libelf,iwl1000-firmware,nss_compat_ossl,libselinux,rng-tools,libaio,cyrus-sasl-lib,smartmontools,libsss_autofs,libICE,latencytop,hdparm,tcp_wrappers-libs,yum-plugin-security,libpcap,findutils,vim-enhanced,sgpio,xz-libs,libhugetlbfs-utils,ustr,libidn,ledmon,python,libgcrypt,pinfo,python-dateutil,libgssglue,perl-Crypt-SSLeay,libxml2-python,pcre,tcsh,python-dmidecode,libvorbis,latencytop-tui,pygobject2,psmisc,ntsysv,python-nose,make,oprofile,redhat-support-lib-python,perl-Pod-Escapes,ltrace,python-ldap,perl-Pod-Simple,attr,python-kerberos,perl-Module-Load,mtr,python-crypto,perl-Package-Constants,zip,yum,libmng,bridge-utils,blktrace,perl-Compress-Zlib,latrace,python-argparse,perl-Term-UI,man-pages,python-markdown,perl-Digest-SHA,iwl5000-firmware,gettext,perl-DBI,xorg-x11-drv-ati-firmware,libreport-plugin-rhtsupport,libldb,iwl4965-firmware,libreport-plugin-reportuploader,vim-minimal,rt73usb-firmware,abrt-addon-python,acl,rootfiles,libreport-plugin-mailx,e2fsprogs,python-backports-ssl_match_hostname,snappy,SDL,libedit,libX11,pth,libXi,libusb1,libXrandr,libXfont,libXdamage,perl-DBD-SQLite,java-1.7.0-openjdk,perl-parent,libXv,perl-HTML-Tagset,gtk2,perl-libxml-perl,liboil,shared-mime-info,kbd-misc,atk,iproute,grubby,udev,libxslt,mesa-dri-drivers,tcp_wrappers,device-mapper,patch,kpartx,pinentry,rsyslog,ed,samba-winbind-clients,db4-cxx,policycoreutils-python,vim-common,foomatic-db-ppds,glibc-devel,cryptsetup-luks,perl-devel,rhnsd,perl-Test-Simple,plymouth,perl-ExtUtils-Embed,crda,groff,ntp,cracklib,certmonger,openssl,postfix,hwdata,libgcc,jpackage-utils,tzdata,xdg-utils,mesa-dri-filesystem,rpcbind,latencytop-common,qt-sqlite,basesystem,libpciaccess,xml-common,xorg-x11-fonts-Type1,kernel-headers,ghostscript-fonts,dejavu-fonts-common,poppler-utils,libX11-common,bind-libs,glibc-common,mysql-libs,glibc,fipscheck,bash,pam_krb5,libcap,sssd-client,libstdc++,polkit,libcom_err,cvs,libxml2,nss,chkconfig,mailx,audit-libs,openldap,nss-util,xmlrpc-c-client,bzip2-libs,curl,libpng,rpm,db4,libuser,expat,gpgme,libsepol,hicolor-icon-theme,shadow-utils,rhino,readline,ethtool,sqlite,mingetty,libuuid,sg3_utils-libs,libSM,plymouth-core-libs,xmlrpc-c,libsss_idmap,keyutils-libs,c-ares,libtdb,gpm-libs,btparser,pixman,libnl,libref_array,libogg,libini_config,which,libsemanage,libcap-ng,libffi,libgpg-error,python-libs,libudev,newt-python,elfutils-libs,python-iniparse,bzip2,python-simplejson,binutils,python-ethtool,grep,dbus-python,libtirpc,authconfig,nss-softokn,libselinux-python,net-tools,python-ordereddict,tar,python-pygments,e2fsprogs-libs,numpy,dmidecode,rhnlib,gdbm,python-rhsm,perl-libs,PyYAML,perl-Module-Pluggable,yum-metadata-parser,perl,python-nss,perl-Params-Check,libipa_hbac-python,perl-Module-Load-Conditional,setools-libs-python,perl-IO-Compress-Base,python-paramiko,perl-Compress-Raw-Zlib,python-urlgrabber,lcms-libs,rhn-client-tools,p11-kit,samba4-libs,perl-IO-Compress-Zlib,python-boto,perl-IO-Zlib,python-configobj,perl-Log-Message-Simple,python-krbV,perl-Object-Accessor,audit-libs-python,perl-Module-CoreList,python-cheetah,perl-Compress-Raw-Bzip2,perl-URI,file,xz,cyrus-sasl-gssapi,bc,libselinux-utils,jasper-libs,avahi-libs,libss,diffutils,gmp,libusb,libfontenc,numactl,crash,slang,libcollection,libgfortran,atlas,xorg-x11-font-utils,perl-DBIx-Simple,perl-IO-Compress-Bzip2,ca-certificates,perl-Time-Piece,perl-Parse-CPAN-Meta,perl-HTML-Parser,perl-XML-Parser,gdbm-devel,elfutils,glib2,dbus-glib,libipa_hbac,eggdbus,desktop-file-utils,gstreamer,hal-libs,iw,setools-libs,MAKEDEV,device-mapper-persistent-data,ttmkfdir,portreserve,upstart,time,hunspell,db4-devel,libhugetlbfs,dash,glibc-headers,perl-Test-Harness,perl-ExtUtils-MakeMaker,perl-IPC-Cmd,perl-Archive-Extract,perl-ExtUtils-CBuilder,perl-CPANPLUS,perl-CPAN,ncurses,less,gzip,cracklib-dicts,pam,fontconfig,alsa-lib,cronie-anacron,redhat-lsb-core,redhat-lsb-graphics,redhat-lsb,ipa-python,system-config-firewall-base,dhcp-common,kernel,ipa-client,irqbalance,dhclient,system-config-firewall-tui,sysstat,system-config-network-tui,rh-amazon-rhui-client,samba-client,openssh-server,numad,setuptool,iwl5150-firmware,iwl6050-firmware,iwl6000g2a-firmware,iwl6000-firmware,biosdevname,acpid,readahead,cpuspeed,prelink,seekwatcher,java-1.6.0-openjdk,abrt-cli,yum-utils,redhat-support-tool,gdb,grub,iotop,tcpdump,elinks,sudo,Red_Hat_Enterprise_Linux-Release_Notes-6-en-US,alsa-utils,pam_passwdqc,psacct,powertop,hunspell-en,perl-XML-Grove,perl-XML-Dumper,crash-gcore-command,mlocate,efibootmgr,lsof,unzip,nano,nfs4-acl-tools,libitm,traceroute,vconfig,dosfstools,rdate,eject,b43-fwcutter,trace-cmd,libtopology,words,ql2400-firmware,python-chardet,ql2100-firmware,libproxy-bin,libertas-usb8388-firmware,libproxy-python,ql2500-firmware,libreport-python,zd1211-firmware,libreport,rt61pci-firmware,abrt-libs,ql2200-firmware,abrt-addon-ccpp,ipw2100-firmware,abrt-tui,ipw2200-firmware,abrt-addon-kerneloops,gpg-pubkey,libreport-plugin-logger,xdelta,python-six,python-urllib3,pax,theora-tools,libxcb,libXext,cairo,libXfixes,libXcursor,libXft,pulseaudio-libs,giflib,ghostscript,qt3,libXxf86vm,libXcomposite,pango,python-matplotlib,fprintd,libvisual,busybox,redhat-release-server,iptables,iputils,initscripts,libdrm,mesa-dri1-drivers,usermode,device-mapper-libs,device-mapper-event-libs,device-mapper-event,qt-x11,kbd,libcgroup,samba-common,samba-winbind,nfs-utils,dmraid,lvm2-libs,foomatic-db,cryptsetup-luks-libs,pm-utils,hal,rhn-setup,rhn-check,dracut,mdadm,wireless-tools,ntpdate,yp-tools,sssd,oddjob,cyrus-sasl,crontabs,qt,setup,redhat-lsb-printing,redhat-logos,foomatic-db-filesystem,virt-what,pciutils,poppler-data,selinux-policy,urw-fonts,fontpackages-filesystem,autofs,wget,ncurses-base,pcmciautils,fipscheck-lib,ncurses-libs,subscription-manager,krb5-workstation,zlib,kexec-tools,ConsoleKit,dbus-libs,cifs-utils,nss-sysinit,nspr,parted,libcurl,libacl,iwl100-firmware,rpm-libs,libjpeg-turbo,aic94xx-firmware,passwd,libtalloc,quota,jline,sed,microcode_ctl,hesiod,libtevent,fprintd-pam,libevent,libblkid,hwloc,libdhash,krb5-libs,cas,libyaml,pciutils-libs,perf,libpath_utils,procps,dstat,libasyncns,dbus,man-pages-overrides,rpm-python,pkgconfig,usbutils,python-lxml,cpio,audit,m2crypto,file-libs,perl-core,pyOpenSSL,lua,perl-XML-Twig,python-setuptools,libtiff,valgrind,python-gudev,sysvinit-tools,cyrus-sasl-plain,sos,perl-version,rsync,pygpgme,perl-Locale-Maketext-Simple,scl-utils,libsemanage-python,perl-Log-Message,setserial,python-pycurl,libtasn1,rfkill,pytalloc,gnutls,strace,python-prettytable,perl-Archive-Tar,crash-trace-command,python-netaddr,perl-Module-Loaded,redhat-indexhtml,pytz,perl-CGI,ivtv-firmware,libproxy,libtheora,atmel-firmware,libreport-compat,keyutils,iwl3945-firmware,abrt,checkpolicy,ql23xx-firmware,libreport-plugin-kerneloops,cups-libs,gpg-pubkey,libreport-cli,m4,python-requests,libtar,libXau,lzo,libXrender,newt,libXtst,openjpeg-libs,libXinerama,xz-lzma-compat,libXt,p11-kit-trust,pycairo,perl-Time-HiRes,libthai,perl-libwww-perl,libfprint,tmpwatch,gstreamer-plugins-base,gamin,policycoreutils,libgudev1,util-linux-ng,gstreamer-tools,mesa-libGL,flac,mesa-libGLU,libutempter,cups,db4-utils,phonon-backend-gstreamer,libnih,openssh,libgomp,nfs-utils-lib,mesa-private-llvm,dmraid-events,dejavu-sans-fonts,foomatic,perl-ExtUtils-ParseXS,hal-info,perl-File-Fetch,yum-rhn-plugin,perl-Module-Build,dracut-kernel,cdparanoia-libs,python-iwlib,coreutils-libs,ypbind,coreutils,oddjob-mkhomedir,module-init-tools'']'} > - {comment: 'Newly introduced packages: [''db4-cxx'', ''db4-devel'', ''gdbm-devel'', > ''glibc-devel'', ''glibc-headers'', ''kernel-headers'', ''lzo'', ''mesa-private-llvm'', > ''p11-kit'', ''p11-kit-trust'', ''python-backports-ssl_match_hostname'', ''python-chardet'', > ''python-ordereddict'', ''python-requests'', ''python-six'', ''python-urllib3'', > ''redhat-support-lib-python'', ''redhat-support-tool'', ''shared-mime-info'', > ''snappy'', ''ttmkfdir'', ''xorg-x11-fonts-Type1'']', result: passed} > - {comment: All required package are included, result: passed} > stage1:testcase_12_passwd_group: > - {command: 'grep ''^root:x:0:0:root:/root:/bin/bash'' /etc/passwd', result: passed} > - {command: 'grep ''^nobody:x:99:99:Nobody:/:/sbin/nologin'' /etc/passwd', result: passed} > - {command: 'grep ''^sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/sbin/nologin'' > /etc/passwd', result: passed} > - {command: 'grep ''^root:x:0:'' /etc/group', result: passed} > - {command: 'grep ''^daemon:x:2:bin,daemon'' /etc/group', result: passed} > - {command: 'grep ''^bin:x:1:bin,daemon'' /etc/group', result: passed} > stage1:testcase_13_resize2fs: > - {command: df -h | grep 15G, result: passed} > stage1:testcase_14_host_details: > - {command: '[ ! -z ''`curl http://169.254.169.254/latest/dynamic/instance-identity/signature`'' > ]', result: passed} > - {command: 'curl http://169.254.169.254/latest/dynamic/instance-identity/document', > match: '.*({.*}).*', result: passed, value: '[''{\r\n "version" : "2010-08-31",\r\n "pendingTime" > : "2014-06-10T08:54:33Z",\r\n "instanceType" : "m2.4xlarge",\r\n "imageId" > : "ami-d88476b0",\r\n "architecture" : "x86_64",\r\n "kernelId" : "aki-919dcaf8",\r\n "ramdiskId" > : null,\r\n "availabilityZone" : "us-east-1c",\r\n "devpayProductCodes" > : null,\r\n "privateIp" : "10.217.55.136",\r\n "region" : "us-east-1",\r\n "instanceId" > : "i-6cd1893c",\r\n "billingProducts" : [ "bp-63a5400a" ],\r\n "accountId" > : "567014786890"\r\n}'']'} > - {command: '[ ''ami-d88476b0'' = ''ami-d88476b0'' ]', result: passed} > - {command: '[ ''x86_64'' = ''x86_64'' ]', result: passed} > - {command: '[ ''us-east-1'' = ''us-east-1'' ]', result: passed} > - {command: '[ ''bp-63a5400a'' = ''bp-63a5400a'' ]', result: passed} > stage1:testcase_15_rhel_version: > - {command: 'rpm -q --qf ''%{RELEASE} > > '' --whatprovides redhat-release', match: '.*\r\n([0-9]\.[0-9]+\..*)\r\n.*', > result: passed, value: '[''6.5.0.1.el6'']'} > - {command: '[ ''6.5'' = ''6.5'' ]', result: passed} > stage1:testcase_16_selinux: > - {command: getenforce, expectation: "\r\nEnforcing\r\n", result: passed} > - {command: grep '^SELINUX=enforcing' /etc/sysconfig/selinux, result: passed} > - {command: grep '^SELINUXTYPE=targeted' /etc/sysconfig/selinux, result: passed} > - {command: setenforce Permissive && getenforce, expectation: "\r\nPermissive\r\ > \n", result: passed} > - {command: setenforce Enforcing && getenforce, expectation: "\r\nEnforcing\r\n", > result: passed} > stage1:testcase_17_shells: > - {command: grep 'bin/bash$' /etc/shells, result: passed} > - {command: grep 'bin/nologin$' /etc/shells, result: passed} > stage1:testcase_18_sshd: > - {command: rpm -q systemd > /dev/null && echo True || echo False, result: passed, > value: 'False'} > - {command: 'chkconfig --list sshd | grep ''0:off[[:space:]]*1:off[[:space:]]*2:on[[:space:]]*3:on[[:space:]]*4:on[[:space:]]*5:on[[:space:]]*6:off''', > result: passed} > - {command: service sshd status | grep running, result: passed} > - {command: grep 'PasswordAuthentication no' /etc/ssh/sshd_config, result: passed} > stage1:testcase_19_rhn_system_id: > - {command: '[ ! -f /etc/sysconfig/rhn/systemid ]', result: passed} > stage1:testcase_20_auditd: > - {command: md5sum /etc/sysconfig/auditd | cut -f 1 -d ' ', expectation: d4d43637708e30418c30003e212f76fc, > result: passed} > - {command: md5sum /etc/audit/auditd.conf | cut -f 1 -d ' ', expectation: e1886162554c18906df2ecd258aa4794, > result: passed} > - {command: md5sum /etc/audit/audit.rules | cut -f 1 -d ' ', expectation: f9869e1191838c461f5b9051c78a638d, > result: passed} > stage1:testcase_21_disk_size_format: > - {command: 'mount | grep ''^/dev'' | awk ''{print $1}''', result: passed, value: "/dev/xvda1\r\ > \n/dev/xvdf"} > - {command: 'echo ''###'' ;mount | grep ''^/dev/xvda1'' | awk ''{print $3}''; > echo ''###''', match: ".*\r\n###\r\n(.*)\r\n###\r\n.*", result: passed, value: '[''/'']'} > - {command: 'echo ''###'' ;mount | grep ''^/dev/xvda1'' | awk ''{print $5}''; > echo ''###''', match: ".*\r\n###\r\n(.*)\r\n###\r\n.*", result: passed, value: '[''ext4'']'} > - {command: '[ `df -k /dev/xvda1 | awk ''{ print $2 }'' | tail -n 1` -gt 3937219 > ]', result: passed} > - {command: '[ ext4 = ext4 ]', result: passed} > - {command: 'echo ''###'' ;mount | grep ''^/dev/xvdf'' | awk ''{print $3}''; echo > ''###''', match: ".*\r\n###\r\n(.*)\r\n###\r\n.*", result: passed, value: '[''/mnt'']'} > - {command: 'echo ''###'' ;mount | grep ''^/dev/xvdf'' | awk ''{print $5}''; echo > ''###''', match: ".*\r\n###\r\n(.*)\r\n###\r\n.*", result: passed, value: '[''ext3'']'} > - {command: '[ `df -k /dev/xvdf | awk ''{ print $2 }'' | tail -n 1` -gt 3937219 > ]', result: passed} > - {command: '[ ext3 = ext3 ]', result: passed} > stage1:testcase_22_gpg_keys: > - {command: grep '^gpgcheck=' /etc/yum.repos.d/redhat-*.repo | cut -d\= -f2 | > sort -uf | tr -d ' ', expectation: "\r\n1\r\n", result: passed} > - {command: rpm -qa gpg-pubkey* | wc -l, expectation: "\r\n2\r\n", result: passed} > - {command: rpm -q gpg-pubkey-2fa658e0-45700c69, result: passed} > - {command: rpm -q gpg-pubkey-fd431d51-4ae0493b, result: passed} > stage1:testcase_23_syslog: > - {command: md5sum /etc/rsyslog.conf | cut -f 1 -d ' ', result: passed, value: 8b91b32300134e98ef4aee632ed61e21} > - {comment: /etc/rsyslog.conf md5 matches, result: passed} > stage1:testcase_24_yum_plugin: > - {command: 'grep ''^enabled[[:space:]]*=[[:space:]]*[^0 ]'' /etc/yum/pluginconf.d/rhnplugin.conf', > result: passed} > stage1:testcase_25_uname: > - {command: 'uname -r | sed -e ''s,\.i686$,,'' -e ''s,\.x86_64$,,''', result: passed, > value: 2.6.32-431.17.1.el6} > - {command: 'rpm -q --last kernel | sed -e ''s,^kernel-,,'' -e ''s,[[:space:]].*$,,'' > | head -1 | sed -e ''s,\.i686$,,'' -e ''s,\.x86_64$,,''', result: passed, > value: 2.6.32-431.17.1.el6} > - {command: uname -o, result: passed, value: GNU/Linux} > - {command: '[ 2.6.32-431.17.1.el6 = 2.6.32-431.17.1.el6 ]', result: passed} > - {command: '[ GNU/Linux = ''GNU/Linux'' ]', result: passed} > - {command: grep UPDATEDEFAULT=yes /etc/sysconfig/kernel, result: passed} > - {command: grep DEFAULTKERNEL=kernel /etc/sysconfig/kernel, result: passed} > stage1:testcase_26_verify_rpms: > - actual modified files: {/etc/pam.d/fingerprint-auth: true, /etc/pam.d/password-auth: true, > /etc/pam.d/smartcard-auth: true, /etc/pam.d/system-auth: true, /etc/ssh/sshd_config: true} > expected modified files: {/etc/pam.d/fingerprint-auth: true, /etc/pam.d/password-auth: true, > /etc/pam.d/smartcard-auth: true, /etc/pam.d/system-auth: true, /etc/ssh/sshd_config: true} > result: passed > stage1:testcase_27_yum_repos: > - actual repos: {rhel-source: false, rhel-source-beta: false, rhui-REGION-client-config-server-6: true, > rhui-REGION-rhel-server-debug-rh-common: false, rhui-REGION-rhel-server-debug-rhscl: false, > rhui-REGION-rhel-server-debug-supplementary: false, rhui-REGION-rhel-server-releases: true, > rhui-REGION-rhel-server-releases-optional: true, rhui-REGION-rhel-server-releases-optional-source: false, > rhui-REGION-rhel-server-releases-source: false, rhui-REGION-rhel-server-rh-common: true, > rhui-REGION-rhel-server-rhscl: true, rhui-REGION-rhel-server-source-rh-common: false, > rhui-REGION-rhel-server-source-rhscl: false, rhui-REGION-rhel-server-source-supplementary: false, > rhui-REGION-rhel-server-supplementary: false} > expected repos: {rhel-source: false, rhel-source-beta: false, rhui-REGION-client-config-server-6: true, > rhui-REGION-rhel-server-debug-rh-common: false, rhui-REGION-rhel-server-debug-rhscl: false, > rhui-REGION-rhel-server-debug-supplementary: false, rhui-REGION-rhel-server-releases: true, > rhui-REGION-rhel-server-releases-optional: true, rhui-REGION-rhel-server-releases-optional-source: false, > rhui-REGION-rhel-server-releases-source: false, rhui-REGION-rhel-server-rh-common: true, > rhui-REGION-rhel-server-rhscl: true, rhui-REGION-rhel-server-source-rh-common: false, > rhui-REGION-rhel-server-source-rhscl: false, rhui-REGION-rhel-server-source-supplementary: false, > rhui-REGION-rhel-server-supplementary: false} > result: passed > stage1:testcase_30_rhn_certificates: > - {command: rpm -ql rh-amazon-rhui-client | egrep '.*\.(pem|crt)', result: passed, > value: "/etc/pki/rhui/ca.crt\r\n/etc/pki/rhui/cdn.redhat.com-chain.crt\r\n/etc/pki/rhui/product/content-rhel6.crt\r\ > \n/etc/pki/rhui/product/rhui-client-config-server-6.crt"} > - {command: openssl x509 -in /etc/pki/rhui/ca.crt -noout -dates | grep notAfter, > result: passed, value: 'notAfter=Nov 30 19:46:02 2017 GMT'} > - {comment: '(/etc/pki/rhui/ca.crt).notAfter=2017-11-30 19:46:02; expecting: 2017-11-10 > 00:00:00', result: passed} > - {command: openssl x509 -in /etc/pki/rhui/cdn.redhat.com-chain.crt -noout -dates > | grep notAfter, result: passed, value: 'notAfter=Mar 13 11:24:54 2030 GMT'} > - {comment: '(/etc/pki/rhui/cdn.redhat.com-chain.crt).notAfter=2030-03-13 11:24:54; > expecting: 2017-11-10 00:00:00', result: passed} > - {command: openssl x509 -in /etc/pki/rhui/product/content-rhel6.crt -noout -dates > | grep notAfter, result: passed, value: 'notAfter=Nov 16 15:35:48 2023 GMT'} > - {comment: '(/etc/pki/rhui/product/content-rhel6.crt).notAfter=2023-11-16 15:35:48; > expecting: 2017-11-10 00:00:00', result: passed} > - {command: openssl x509 -in /etc/pki/rhui/product/rhui-client-config-server-6.crt > -noout -dates | grep notAfter, result: passed, value: 'notAfter=Nov 30 18:38:07 > 2020 GMT'} > - {comment: '(/etc/pki/rhui/product/rhui-client-config-server-6.crt).notAfter=2020-11-30 > 18:38:07; expecting: 2017-11-10 00:00:00', result: passed} > stage1:testcase_31_subscription_management: > - {command: yum --disablerepo='*' -v repolist, expectation: Not loading "subscription-manager" > plugin, result: passed} > - {command: yum --enableplugin=subscription-manager --disablerepo='*' -v repolist, > expectation: Loading "subscription-manager" plugin, result: passed} > - {command: subscription-manager list, expectation: Installed Product Status, > result: passed} > stage1:testcase_32_ephemeral: > - {command: ls -la /sbin/mkfs.vfat 2> /dev/null | wc -l, result: passed, value: '1'} > - {command: fdisk -l /dev/xvdf | grep '^Disk', result: passed} > - {command: grep '/dev/xvdf ' /proc/mounts | wc -l, result: passed, value: '1'} > stage1:testcase_33_userdata: > - {command: 'rpm -q --queryformat ''%{NAME} > > '' cloud-init', result: passed, value: cloud-init} > - {command: ls -l /userdata_test, result: passed} > - {command: rpm -q xdelta, result: passed} > stage1:testcase_34_cpu: > - {command: cat /proc/cpuinfo | grep '^processor' | wc -l, expectation: '8', result: passed} > stage1:testcase_360_ebs: > - {command: ls -l /dev/xvdk, result: passed} > - {command: ls -la /sbin/mkfs.vfat 2> /dev/null | wc -l, result: passed, value: '1'} > - {command: mkfs.vfat -I /dev/xvdk, result: passed} > stage1:testcase_39_root_is_locked: > - {command: 'egrep "^root:(\!\!|\*|x|locked):" /etc/shadow', result: passed} > stage1:testcase_41_rh_amazon_rhui_client: > - {command: rpm -q rh-amazon-rhui-client, result: passed} > stage1:testcase_42_ipv6: > - {command: grep NETWORKING_IPV6=no /etc/sysconfig/network, result: passed} > stage1:testcase_50_yum_package_install: > - {command: yum clean all, result: passed} > - {command: yum repolist, result: passed} > - {command: yum search zsh, result: passed} > - {command: yum -y install zsh, result: passed} > - {command: 'rpm -q --queryformat ''%{NAME}'' zsh', result: passed} > - {actual: None, command: rpm -e zsh, result: failed} > stage1:testcase_55_yum_group_install: > - {command: yum -y groupinstall 'Development tools', result: passed} > - {command: rpm -q glibc-devel, result: passed} > stage1:testcase_60_yum_update: > - {command: 'rpm -q matahari-net && yum -y remove matahari-net ||:', result: passed} > - {command: yum -y install kernel, result: passed} > - {command: yum -y update, result: passed} > stage1:testcase_61_yum_proxy: > - {comment: No proxy set, result: skip} > stage1:testcase_80_no_avc_denials: > - {command: 'echo START; grep ''avc:[[:space:]]*denied'' /var/log/messages /var/log/audit/audit.log > | grep -v userdata; echo END', expectation: "\r\nSTART\r\nEND\r\n", result: passed} > stage1:testcase_99_reboot: > - {command: echo 'doing reboot', result: passed} > - {command: nohup sleep 1s && nohup reboot &, result: passed} > stage2:testcase_08_memory: > - {command: 'grep --color=none ''MemTotal:'' /proc/meminfo', match: '.*\r\nMemTotal:\s*([0-9]+) ', > result: passed, value: '[''70200560'']'} > - {command: '[ 70200560 -gt 68400000 ]', result: passed} > stage2:testcase_25_uname: > - {command: 'uname -r | sed -e ''s,\.i686$,,'' -e ''s,\.x86_64$,,''', result: passed, > value: 2.6.32-431.17.1.el6} > - {command: 'rpm -q --last kernel | sed -e ''s,^kernel-,,'' -e ''s,[[:space:]].*$,,'' > | head -1 | sed -e ''s,\.i686$,,'' -e ''s,\.x86_64$,,''', result: passed, > value: 2.6.32-431.17.1.el6} > - {command: uname -o, result: passed, value: GNU/Linux} > - {command: '[ 2.6.32-431.17.1.el6 = 2.6.32-431.17.1.el6 ]', result: passed} > - {command: '[ GNU/Linux = ''GNU/Linux'' ]', result: passed} > - {command: grep UPDATEDEFAULT=yes /etc/sysconfig/kernel, result: passed} > - {command: grep DEFAULTKERNEL=kernel /etc/sysconfig/kernel, result: passed} > stage2:testcase_37_sshd_bug923996: > - {command: '[ `grep ^PermitRootLogin /etc/ssh/sshd_config | wc -l` -eq 0 ]', > result: passed} > stage2:testcase_80_no_avc_denials: > - {command: 'echo START; grep ''avc:[[:space:]]*denied'' /var/log/messages /var/log/audit/audit.log > | grep -v userdata; echo END', expectation: "\r\nSTART\r\nEND\r\n", result: passed} > m2.xlarge: > stage1:testcase_01_bash_history: > - {command: '[ ! -f ~/.bash_history ] && echo 0 || cat ~/.bash_history | wc -l', > expectation: "\r\n0\r\n", result: passed} > stage1:testcase_02_selinux_context: > - {command: 'restorecon -R -v -n -e /proc -e /sys -e /mnt / | sed -e ''s, context > , ,'' -e ''s,^restorecon reset ,,'' | cat > /tmp/restorecon_output.txt && > echo SUCCESS', expectation: "\r\nSUCCESS\r\n", result: passed} > - {comment: ' > > Lost entries:[[''/var/cache/yum.*'', [''file_t'', ''rpm_var_cache_t'']]]', > result: warning} > stage1:testcase_03_running_services: > - {command: rpm -q systemd > /dev/null && echo True || echo False, result: passed, > value: 'False'} > - {command: chkconfig --list auditd, expectation: '3:on', result: passed} > - {command: chkconfig --list crond, expectation: '3:on', result: passed} > stage1:testcase_04_cloud_firstboot: > - {command: chkconfig --list rh-cloud-firstboot, expectation: '3:off', result: passed} > - {command: test -f /etc/sysconfig/rh-cloud-firstboot, result: passed} > - {command: cat /etc/sysconfig/rh-cloud-firstboot, expectation: RUN_FIRSTBOOT=NO, > result: passed} > stage1:testcase_05_grub: > - {command: test -h /boot/grub/menu.lst, result: passed} > - {command: readlink -e /boot/grub/menu.lst, expectation: /boot/grub/grub.conf, > result: passed} > - {command: 'grep ''(hd0,0)'' /boot/grub/grub.conf', result: passed} > stage1:testcase_06_inittab: > - {command: rpm -q systemd > /dev/null && echo True || echo False, result: passed, > value: 'False'} > - {command: 'grep ''^id:'' /etc/inittab', expectation: 'id:3:initdefault', result: passed} > stage1:testcase_07_libc6_xen_conf: > - {command: test -f /etc/ld.so.conf.d/libc6-xen.conf, result: passed} > stage1:testcase_08_memory: > - {command: 'grep --color=none ''MemTotal:'' /proc/meminfo', match: '.*\r\nMemTotal:\s*([0-9]+) ', > result: passed, value: '[''17390772'']'} > - {command: '[ 17390772 -gt 17100000 ]', result: passed} > stage1:testcase_09_nameserver: > - {command: dig clock.redhat.com | grep 66.187.233.4, result: passed} > stage1:testcase_10_networking: > - {command: grep "^NETWORKING=yes" /etc/sysconfig/network, result: passed} > - {command: egrep "^DEVICE=(|\")eth0(|\")" /etc/sysconfig/network-scripts/ifcfg-eth0, > result: passed} > stage1:testcase_11_package_set: > - {command: 'rpm -qa --queryformat ''%{NAME},'' && echo', match: ".*\r\n(.*),\r\ > \n.*", result: passed, value: '[''cronie,libssh2,filesystem,redhat-lsb-compat,plymouth-scripts,tzdata-java,iptables-ipv6,libsndfile,iso-codes,kernel-firmware,poppler,mailcap,systemtap-runtime,bind-utils,nss-softokn-freebl,selinux-policy-targeted,at,libattr,cloud-init,ConsoleKit-libs,info,lvm2,logrotate,popt,openssh-clients,nss-tools,freetype,bfa-firmware,gnupg2,gawk,b43-openfwwf,man,elfutils-libelf,iwl1000-firmware,nss_compat_ossl,libselinux,rng-tools,libaio,cyrus-sasl-lib,smartmontools,libsss_autofs,libICE,latencytop,hdparm,tcp_wrappers-libs,yum-plugin-security,libpcap,findutils,vim-enhanced,sgpio,xz-libs,libhugetlbfs-utils,ustr,libidn,ledmon,python,libgcrypt,pinfo,python-dateutil,libgssglue,perl-Crypt-SSLeay,libxml2-python,pcre,tcsh,python-dmidecode,libvorbis,latencytop-tui,pygobject2,psmisc,ntsysv,python-nose,make,oprofile,redhat-support-lib-python,perl-Pod-Escapes,ltrace,python-ldap,perl-Pod-Simple,attr,python-kerberos,perl-Module-Load,mtr,python-crypto,perl-Package-Constants,zip,yum,libmng,bridge-utils,blktrace,perl-Compress-Zlib,latrace,python-argparse,perl-Term-UI,man-pages,python-markdown,perl-Digest-SHA,iwl5000-firmware,gettext,perl-DBI,xorg-x11-drv-ati-firmware,libreport-plugin-rhtsupport,libldb,iwl4965-firmware,libreport-plugin-reportuploader,vim-minimal,rt73usb-firmware,abrt-addon-python,acl,rootfiles,libreport-plugin-mailx,e2fsprogs,python-backports-ssl_match_hostname,snappy,SDL,libedit,libX11,pth,libXi,libusb1,libXrandr,libXfont,libXdamage,perl-DBD-SQLite,java-1.7.0-openjdk,perl-parent,libXv,perl-HTML-Tagset,gtk2,perl-libxml-perl,liboil,shared-mime-info,kbd-misc,atk,iproute,grubby,udev,libxslt,mesa-dri-drivers,tcp_wrappers,device-mapper,patch,kpartx,pinentry,rsyslog,ed,samba-winbind-clients,db4-cxx,policycoreutils-python,vim-common,foomatic-db-ppds,glibc-devel,cryptsetup-luks,perl-devel,rhnsd,perl-Test-Simple,plymouth,perl-ExtUtils-Embed,crda,groff,ntp,cracklib,certmonger,openssl,postfix,hwdata,libgcc,jpackage-utils,tzdata,xdg-utils,mesa-dri-filesystem,rpcbind,latencytop-common,qt-sqlite,basesystem,libpciaccess,xml-common,xorg-x11-fonts-Type1,kernel-headers,ghostscript-fonts,dejavu-fonts-common,poppler-utils,libX11-common,bind-libs,glibc-common,mysql-libs,glibc,fipscheck,bash,pam_krb5,libcap,sssd-client,libstdc++,polkit,libcom_err,cvs,libxml2,nss,chkconfig,mailx,audit-libs,openldap,nss-util,xmlrpc-c-client,bzip2-libs,curl,libpng,rpm,db4,libuser,expat,gpgme,libsepol,hicolor-icon-theme,shadow-utils,rhino,readline,ethtool,sqlite,mingetty,libuuid,sg3_utils-libs,libSM,plymouth-core-libs,xmlrpc-c,libsss_idmap,keyutils-libs,c-ares,libtdb,gpm-libs,btparser,pixman,libnl,libref_array,libogg,libini_config,which,libsemanage,libcap-ng,libffi,libgpg-error,python-libs,libudev,newt-python,elfutils-libs,python-iniparse,bzip2,python-simplejson,binutils,python-ethtool,grep,dbus-python,libtirpc,authconfig,nss-softokn,libselinux-python,net-tools,python-ordereddict,tar,python-pygments,e2fsprogs-libs,numpy,dmidecode,rhnlib,gdbm,python-rhsm,perl-libs,PyYAML,perl-Module-Pluggable,yum-metadata-parser,perl,python-nss,perl-Params-Check,libipa_hbac-python,perl-Module-Load-Conditional,setools-libs-python,perl-IO-Compress-Base,python-paramiko,perl-Compress-Raw-Zlib,python-urlgrabber,lcms-libs,rhn-client-tools,p11-kit,samba4-libs,perl-IO-Compress-Zlib,python-boto,perl-IO-Zlib,python-configobj,perl-Log-Message-Simple,python-krbV,perl-Object-Accessor,audit-libs-python,perl-Module-CoreList,python-cheetah,perl-Compress-Raw-Bzip2,perl-URI,file,xz,cyrus-sasl-gssapi,bc,libselinux-utils,jasper-libs,avahi-libs,libss,diffutils,gmp,libusb,libfontenc,numactl,crash,slang,libcollection,libgfortran,atlas,xorg-x11-font-utils,perl-DBIx-Simple,perl-IO-Compress-Bzip2,ca-certificates,perl-Time-Piece,perl-Parse-CPAN-Meta,perl-HTML-Parser,perl-XML-Parser,gdbm-devel,elfutils,glib2,dbus-glib,libipa_hbac,eggdbus,desktop-file-utils,gstreamer,hal-libs,iw,setools-libs,MAKEDEV,device-mapper-persistent-data,ttmkfdir,portreserve,upstart,time,hunspell,db4-devel,libhugetlbfs,dash,glibc-headers,perl-Test-Harness,perl-ExtUtils-MakeMaker,perl-IPC-Cmd,perl-Archive-Extract,perl-ExtUtils-CBuilder,perl-CPANPLUS,perl-CPAN,ncurses,less,gzip,cracklib-dicts,pam,fontconfig,alsa-lib,cronie-anacron,redhat-lsb-core,redhat-lsb-graphics,redhat-lsb,ipa-python,system-config-firewall-base,dhcp-common,kernel,ipa-client,irqbalance,dhclient,system-config-firewall-tui,sysstat,system-config-network-tui,rh-amazon-rhui-client,samba-client,openssh-server,numad,setuptool,iwl5150-firmware,iwl6050-firmware,iwl6000g2a-firmware,iwl6000-firmware,biosdevname,acpid,readahead,cpuspeed,prelink,seekwatcher,java-1.6.0-openjdk,abrt-cli,yum-utils,redhat-support-tool,gdb,grub,iotop,tcpdump,elinks,sudo,Red_Hat_Enterprise_Linux-Release_Notes-6-en-US,alsa-utils,pam_passwdqc,psacct,powertop,hunspell-en,perl-XML-Grove,perl-XML-Dumper,crash-gcore-command,mlocate,efibootmgr,lsof,unzip,nano,nfs4-acl-tools,libitm,traceroute,vconfig,dosfstools,rdate,eject,b43-fwcutter,trace-cmd,libtopology,words,ql2400-firmware,python-chardet,ql2100-firmware,libproxy-bin,libertas-usb8388-firmware,libproxy-python,ql2500-firmware,libreport-python,zd1211-firmware,libreport,rt61pci-firmware,abrt-libs,ql2200-firmware,abrt-addon-ccpp,ipw2100-firmware,abrt-tui,ipw2200-firmware,abrt-addon-kerneloops,gpg-pubkey,libreport-plugin-logger,xdelta,python-six,python-urllib3,pax,theora-tools,libxcb,libXext,cairo,libXfixes,libXcursor,libXft,pulseaudio-libs,giflib,ghostscript,qt3,libXxf86vm,libXcomposite,pango,python-matplotlib,fprintd,libvisual,busybox,redhat-release-server,iptables,iputils,initscripts,libdrm,mesa-dri1-drivers,usermode,device-mapper-libs,device-mapper-event-libs,device-mapper-event,qt-x11,kbd,libcgroup,samba-common,samba-winbind,nfs-utils,dmraid,lvm2-libs,foomatic-db,cryptsetup-luks-libs,pm-utils,hal,rhn-setup,rhn-check,dracut,mdadm,wireless-tools,ntpdate,yp-tools,sssd,oddjob,cyrus-sasl,crontabs,qt,setup,redhat-lsb-printing,redhat-logos,foomatic-db-filesystem,virt-what,pciutils,poppler-data,selinux-policy,urw-fonts,fontpackages-filesystem,autofs,wget,ncurses-base,pcmciautils,fipscheck-lib,ncurses-libs,subscription-manager,krb5-workstation,zlib,kexec-tools,ConsoleKit,dbus-libs,cifs-utils,nss-sysinit,nspr,parted,libcurl,libacl,iwl100-firmware,rpm-libs,libjpeg-turbo,aic94xx-firmware,passwd,libtalloc,quota,jline,sed,microcode_ctl,hesiod,libtevent,fprintd-pam,libevent,libblkid,hwloc,libdhash,krb5-libs,cas,libyaml,pciutils-libs,perf,libpath_utils,procps,dstat,libasyncns,dbus,man-pages-overrides,rpm-python,pkgconfig,usbutils,python-lxml,cpio,audit,m2crypto,file-libs,perl-core,pyOpenSSL,lua,perl-XML-Twig,python-setuptools,libtiff,valgrind,python-gudev,sysvinit-tools,cyrus-sasl-plain,sos,perl-version,rsync,pygpgme,perl-Locale-Maketext-Simple,scl-utils,libsemanage-python,perl-Log-Message,setserial,python-pycurl,libtasn1,rfkill,pytalloc,gnutls,strace,python-prettytable,perl-Archive-Tar,crash-trace-command,python-netaddr,perl-Module-Loaded,redhat-indexhtml,pytz,perl-CGI,ivtv-firmware,libproxy,libtheora,atmel-firmware,libreport-compat,keyutils,iwl3945-firmware,abrt,checkpolicy,ql23xx-firmware,libreport-plugin-kerneloops,cups-libs,gpg-pubkey,libreport-cli,m4,python-requests,libtar,libXau,lzo,libXrender,newt,libXtst,openjpeg-libs,libXinerama,xz-lzma-compat,libXt,p11-kit-trust,pycairo,perl-Time-HiRes,libthai,perl-libwww-perl,libfprint,tmpwatch,gstreamer-plugins-base,gamin,policycoreutils,libgudev1,util-linux-ng,gstreamer-tools,mesa-libGL,flac,mesa-libGLU,libutempter,cups,db4-utils,phonon-backend-gstreamer,libnih,openssh,libgomp,nfs-utils-lib,mesa-private-llvm,dmraid-events,dejavu-sans-fonts,foomatic,perl-ExtUtils-ParseXS,hal-info,perl-File-Fetch,yum-rhn-plugin,perl-Module-Build,dracut-kernel,cdparanoia-libs,python-iwlib,coreutils-libs,ypbind,coreutils,oddjob-mkhomedir,module-init-tools'']'} > - {comment: 'Newly introduced packages: [''db4-cxx'', ''db4-devel'', ''gdbm-devel'', > ''glibc-devel'', ''glibc-headers'', ''kernel-headers'', ''lzo'', ''mesa-private-llvm'', > ''p11-kit'', ''p11-kit-trust'', ''python-backports-ssl_match_hostname'', ''python-chardet'', > ''python-ordereddict'', ''python-requests'', ''python-six'', ''python-urllib3'', > ''redhat-support-lib-python'', ''redhat-support-tool'', ''shared-mime-info'', > ''snappy'', ''ttmkfdir'', ''xorg-x11-fonts-Type1'']', result: passed} > - {comment: All required package are included, result: passed} > stage1:testcase_12_passwd_group: > - {command: 'grep ''^root:x:0:0:root:/root:/bin/bash'' /etc/passwd', result: passed} > - {command: 'grep ''^nobody:x:99:99:Nobody:/:/sbin/nologin'' /etc/passwd', result: passed} > - {command: 'grep ''^sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/sbin/nologin'' > /etc/passwd', result: passed} > - {command: 'grep ''^root:x:0:'' /etc/group', result: passed} > - {command: 'grep ''^daemon:x:2:bin,daemon'' /etc/group', result: passed} > - {command: 'grep ''^bin:x:1:bin,daemon'' /etc/group', result: passed} > stage1:testcase_13_resize2fs: > - {command: df -h | grep 15G, result: passed} > stage1:testcase_14_host_details: > - {command: '[ ! -z ''`curl http://169.254.169.254/latest/dynamic/instance-identity/signature`'' > ]', result: passed} > - {command: 'curl http://169.254.169.254/latest/dynamic/instance-identity/document', > match: '.*({.*}).*', result: passed, value: '[''{\r\n "instanceId" : "i-51c19901",\r\n "billingProducts" > : [ "bp-63a5400a" ],\r\n "imageId" : "ami-d88476b0",\r\n "architecture" > : "x86_64",\r\n "pendingTime" : "2014-06-10T08:54:31Z",\r\n "instanceType" > : "m2.xlarge",\r\n "accountId" : "567014786890",\r\n "kernelId" : "aki-919dcaf8",\r\n "ramdiskId" > : null,\r\n "region" : "us-east-1",\r\n "version" : "2010-08-31",\r\n "availabilityZone" > : "us-east-1c",\r\n "devpayProductCodes" : null,\r\n "privateIp" : "10.140.65.67"\r\n}'']'} > - {command: '[ ''ami-d88476b0'' = ''ami-d88476b0'' ]', result: passed} > - {command: '[ ''x86_64'' = ''x86_64'' ]', result: passed} > - {command: '[ ''us-east-1'' = ''us-east-1'' ]', result: passed} > - {command: '[ ''bp-63a5400a'' = ''bp-63a5400a'' ]', result: passed} > stage1:testcase_15_rhel_version: > - {command: 'rpm -q --qf ''%{RELEASE} > > '' --whatprovides redhat-release', match: '.*\r\n([0-9]\.[0-9]+\..*)\r\n.*', > result: passed, value: '[''6.5.0.1.el6'']'} > - {command: '[ ''6.5'' = ''6.5'' ]', result: passed} > stage1:testcase_16_selinux: > - {command: getenforce, expectation: "\r\nEnforcing\r\n", result: passed} > - {command: grep '^SELINUX=enforcing' /etc/sysconfig/selinux, result: passed} > - {command: grep '^SELINUXTYPE=targeted' /etc/sysconfig/selinux, result: passed} > - {command: setenforce Permissive && getenforce, expectation: "\r\nPermissive\r\ > \n", result: passed} > - {command: setenforce Enforcing && getenforce, expectation: "\r\nEnforcing\r\n", > result: passed} > stage1:testcase_17_shells: > - {command: grep 'bin/bash$' /etc/shells, result: passed} > - {command: grep 'bin/nologin$' /etc/shells, result: passed} > stage1:testcase_18_sshd: > - {command: rpm -q systemd > /dev/null && echo True || echo False, result: passed, > value: 'False'} > - {command: 'chkconfig --list sshd | grep ''0:off[[:space:]]*1:off[[:space:]]*2:on[[:space:]]*3:on[[:space:]]*4:on[[:space:]]*5:on[[:space:]]*6:off''', > result: passed} > - {command: service sshd status | grep running, result: passed} > - {command: grep 'PasswordAuthentication no' /etc/ssh/sshd_config, result: passed} > stage1:testcase_19_rhn_system_id: > - {command: '[ ! -f /etc/sysconfig/rhn/systemid ]', result: passed} > stage1:testcase_20_auditd: > - {command: md5sum /etc/sysconfig/auditd | cut -f 1 -d ' ', expectation: d4d43637708e30418c30003e212f76fc, > result: passed} > - {command: md5sum /etc/audit/auditd.conf | cut -f 1 -d ' ', expectation: e1886162554c18906df2ecd258aa4794, > result: passed} > - {command: md5sum /etc/audit/audit.rules | cut -f 1 -d ' ', expectation: f9869e1191838c461f5b9051c78a638d, > result: passed} > stage1:testcase_21_disk_size_format: > - {command: 'mount | grep ''^/dev'' | awk ''{print $1}''', result: passed, value: "/dev/xvda1\r\ > \n/dev/xvdf"} > - {command: 'echo ''###'' ;mount | grep ''^/dev/xvda1'' | awk ''{print $3}''; > echo ''###''', match: ".*\r\n###\r\n(.*)\r\n###\r\n.*", result: passed, value: '[''/'']'} > - {command: 'echo ''###'' ;mount | grep ''^/dev/xvda1'' | awk ''{print $5}''; > echo ''###''', match: ".*\r\n###\r\n(.*)\r\n###\r\n.*", result: passed, value: '[''ext4'']'} > - {command: '[ `df -k /dev/xvda1 | awk ''{ print $2 }'' | tail -n 1` -gt 3937219 > ]', result: passed} > - {command: '[ ext4 = ext4 ]', result: passed} > - {command: 'echo ''###'' ;mount | grep ''^/dev/xvdf'' | awk ''{print $3}''; echo > ''###''', match: ".*\r\n###\r\n(.*)\r\n###\r\n.*", result: passed, value: '[''/mnt'']'} > - {command: 'echo ''###'' ;mount | grep ''^/dev/xvdf'' | awk ''{print $5}''; echo > ''###''', match: ".*\r\n###\r\n(.*)\r\n###\r\n.*", result: passed, value: '[''ext3'']'} > - {command: '[ `df -k /dev/xvdf | awk ''{ print $2 }'' | tail -n 1` -gt 3937219 > ]', result: passed} > - {command: '[ ext3 = ext3 ]', result: passed} > stage1:testcase_22_gpg_keys: > - {command: grep '^gpgcheck=' /etc/yum.repos.d/redhat-*.repo | cut -d\= -f2 | > sort -uf | tr -d ' ', expectation: "\r\n1\r\n", result: passed} > - {command: rpm -qa gpg-pubkey* | wc -l, expectation: "\r\n2\r\n", result: passed} > - {command: rpm -q gpg-pubkey-2fa658e0-45700c69, result: passed} > - {command: rpm -q gpg-pubkey-fd431d51-4ae0493b, result: passed} > stage1:testcase_23_syslog: > - {command: md5sum /etc/rsyslog.conf | cut -f 1 -d ' ', result: passed, value: 8b91b32300134e98ef4aee632ed61e21} > - {comment: /etc/rsyslog.conf md5 matches, result: passed} > stage1:testcase_24_yum_plugin: > - {command: 'grep ''^enabled[[:space:]]*=[[:space:]]*[^0 ]'' /etc/yum/pluginconf.d/rhnplugin.conf', > result: passed} > stage1:testcase_25_uname: > - {command: 'uname -r | sed -e ''s,\.i686$,,'' -e ''s,\.x86_64$,,''', result: passed, > value: 2.6.32-431.17.1.el6} > - {command: 'rpm -q --last kernel | sed -e ''s,^kernel-,,'' -e ''s,[[:space:]].*$,,'' > | head -1 | sed -e ''s,\.i686$,,'' -e ''s,\.x86_64$,,''', result: passed, > value: 2.6.32-431.17.1.el6} > - {command: uname -o, result: passed, value: GNU/Linux} > - {command: '[ 2.6.32-431.17.1.el6 = 2.6.32-431.17.1.el6 ]', result: passed} > - {command: '[ GNU/Linux = ''GNU/Linux'' ]', result: passed} > - {command: grep UPDATEDEFAULT=yes /etc/sysconfig/kernel, result: passed} > - {command: grep DEFAULTKERNEL=kernel /etc/sysconfig/kernel, result: passed} > stage1:testcase_26_verify_rpms: > - actual modified files: {/etc/pam.d/fingerprint-auth: true, /etc/pam.d/password-auth: true, > /etc/pam.d/smartcard-auth: true, /etc/pam.d/system-auth: true, /etc/ssh/sshd_config: true} > expected modified files: {/etc/pam.d/fingerprint-auth: true, /etc/pam.d/password-auth: true, > /etc/pam.d/smartcard-auth: true, /etc/pam.d/system-auth: true, /etc/ssh/sshd_config: true} > result: passed > stage1:testcase_27_yum_repos: > - actual repos: {rhel-source: false, rhel-source-beta: false, rhui-REGION-client-config-server-6: true, > rhui-REGION-rhel-server-debug-rh-common: false, rhui-REGION-rhel-server-debug-rhscl: false, > rhui-REGION-rhel-server-debug-supplementary: false, rhui-REGION-rhel-server-releases: true, > rhui-REGION-rhel-server-releases-optional: true, rhui-REGION-rhel-server-releases-optional-source: false, > rhui-REGION-rhel-server-releases-source: false, rhui-REGION-rhel-server-rh-common: true, > rhui-REGION-rhel-server-rhscl: true, rhui-REGION-rhel-server-source-rh-common: false, > rhui-REGION-rhel-server-source-rhscl: false, rhui-REGION-rhel-server-source-supplementary: false, > rhui-REGION-rhel-server-supplementary: false} > expected repos: {rhel-source: false, rhel-source-beta: false, rhui-REGION-client-config-server-6: true, > rhui-REGION-rhel-server-debug-rh-common: false, rhui-REGION-rhel-server-debug-rhscl: false, > rhui-REGION-rhel-server-debug-supplementary: false, rhui-REGION-rhel-server-releases: true, > rhui-REGION-rhel-server-releases-optional: true, rhui-REGION-rhel-server-releases-optional-source: false, > rhui-REGION-rhel-server-releases-source: false, rhui-REGION-rhel-server-rh-common: true, > rhui-REGION-rhel-server-rhscl: true, rhui-REGION-rhel-server-source-rh-common: false, > rhui-REGION-rhel-server-source-rhscl: false, rhui-REGION-rhel-server-source-supplementary: false, > rhui-REGION-rhel-server-supplementary: false} > result: passed > stage1:testcase_30_rhn_certificates: > - {command: rpm -ql rh-amazon-rhui-client | egrep '.*\.(pem|crt)', result: passed, > value: "/etc/pki/rhui/ca.crt\r\n/etc/pki/rhui/cdn.redhat.com-chain.crt\r\n/etc/pki/rhui/product/content-rhel6.crt\r\ > \n/etc/pki/rhui/product/rhui-client-config-server-6.crt"} > - {command: openssl x509 -in /etc/pki/rhui/ca.crt -noout -dates | grep notAfter, > result: passed, value: 'notAfter=Nov 30 19:46:02 2017 GMT'} > - {comment: '(/etc/pki/rhui/ca.crt).notAfter=2017-11-30 19:46:02; expecting: 2017-11-10 > 00:00:00', result: passed} > - {command: openssl x509 -in /etc/pki/rhui/cdn.redhat.com-chain.crt -noout -dates > | grep notAfter, result: passed, value: 'notAfter=Mar 13 11:24:54 2030 GMT'} > - {comment: '(/etc/pki/rhui/cdn.redhat.com-chain.crt).notAfter=2030-03-13 11:24:54; > expecting: 2017-11-10 00:00:00', result: passed} > - {command: openssl x509 -in /etc/pki/rhui/product/content-rhel6.crt -noout -dates > | grep notAfter, result: passed, value: 'notAfter=Nov 16 15:35:48 2023 GMT'} > - {comment: '(/etc/pki/rhui/product/content-rhel6.crt).notAfter=2023-11-16 15:35:48; > expecting: 2017-11-10 00:00:00', result: passed} > - {command: openssl x509 -in /etc/pki/rhui/product/rhui-client-config-server-6.crt > -noout -dates | grep notAfter, result: passed, value: 'notAfter=Nov 30 18:38:07 > 2020 GMT'} > - {comment: '(/etc/pki/rhui/product/rhui-client-config-server-6.crt).notAfter=2020-11-30 > 18:38:07; expecting: 2017-11-10 00:00:00', result: passed} > stage1:testcase_31_subscription_management: > - {command: yum --disablerepo='*' -v repolist, expectation: Not loading "subscription-manager" > plugin, result: passed} > - {command: yum --enableplugin=subscription-manager --disablerepo='*' -v repolist, > expectation: Loading "subscription-manager" plugin, result: passed} > - {command: subscription-manager list, expectation: Installed Product Status, > result: passed} > stage1:testcase_32_ephemeral: > - {command: ls -la /sbin/mkfs.vfat 2> /dev/null | wc -l, result: passed, value: '1'} > - {command: fdisk -l /dev/xvdf | grep '^Disk', result: passed} > - {command: grep '/dev/xvdf ' /proc/mounts | wc -l, result: passed, value: '1'} > stage1:testcase_33_userdata: > - {command: 'rpm -q --queryformat ''%{NAME} > > '' cloud-init', result: passed, value: cloud-init} > - {command: ls -l /userdata_test, result: passed} > - {command: rpm -q xdelta, result: passed} > stage1:testcase_34_cpu: > - {command: cat /proc/cpuinfo | grep '^processor' | wc -l, expectation: '2', result: passed} > stage1:testcase_360_ebs: > - {command: ls -l /dev/xvdk, result: passed} > - {command: ls -la /sbin/mkfs.vfat 2> /dev/null | wc -l, result: passed, value: '1'} > - {command: mkfs.vfat -I /dev/xvdk, result: passed} > stage1:testcase_39_root_is_locked: > - {command: 'egrep "^root:(\!\!|\*|x|locked):" /etc/shadow', result: passed} > stage1:testcase_41_rh_amazon_rhui_client: > - {command: rpm -q rh-amazon-rhui-client, result: passed} > stage1:testcase_42_ipv6: > - {command: grep NETWORKING_IPV6=no /etc/sysconfig/network, result: passed} > stage1:testcase_50_yum_package_install: > - {command: yum clean all, result: passed} > - {command: yum repolist, result: passed} > - {command: yum search zsh, result: passed} > - {command: yum -y install zsh, result: passed} > - {command: 'rpm -q --queryformat ''%{NAME}'' zsh', result: passed} > - {command: rpm -e zsh, result: passed} > stage1:testcase_55_yum_group_install: > - {command: yum -y groupinstall 'Development tools', result: passed} > - {command: rpm -q glibc-devel, result: passed} > stage1:testcase_60_yum_update: > - {command: 'rpm -q matahari-net && yum -y remove matahari-net ||:', result: passed} > - {command: yum -y install kernel, result: passed} > - {command: yum -y update, result: passed} > stage1:testcase_61_yum_proxy: > - {comment: No proxy set, result: skip} > stage1:testcase_80_no_avc_denials: > - {command: 'echo START; grep ''avc:[[:space:]]*denied'' /var/log/messages /var/log/audit/audit.log > | grep -v userdata; echo END', expectation: "\r\nSTART\r\nEND\r\n", result: passed} > stage1:testcase_99_reboot: > - {command: echo 'doing reboot', result: passed} > - {command: nohup sleep 1s && nohup reboot &, result: passed} > stage2:testcase_08_memory: > - {command: 'grep --color=none ''MemTotal:'' /proc/meminfo', match: '.*\r\nMemTotal:\s*([0-9]+) ', > result: passed, value: '[''17390772'']'} > - {command: '[ 17390772 -gt 17100000 ]', result: passed} > stage2:testcase_25_uname: > - {command: 'uname -r | sed -e ''s,\.i686$,,'' -e ''s,\.x86_64$,,''', result: passed, > value: 2.6.32-431.17.1.el6} > - {command: 'rpm -q --last kernel | sed -e ''s,^kernel-,,'' -e ''s,[[:space:]].*$,,'' > | head -1 | sed -e ''s,\.i686$,,'' -e ''s,\.x86_64$,,''', result: passed, > value: 2.6.32-431.17.1.el6} > - {command: uname -o, result: passed, value: GNU/Linux} > - {command: '[ 2.6.32-431.17.1.el6 = 2.6.32-431.17.1.el6 ]', result: passed} > - {command: '[ GNU/Linux = ''GNU/Linux'' ]', result: passed} > - {command: grep UPDATEDEFAULT=yes /etc/sysconfig/kernel, result: passed} > - {command: grep DEFAULTKERNEL=kernel /etc/sysconfig/kernel, result: passed} > stage2:testcase_37_sshd_bug923996: > - {command: '[ `grep ^PermitRootLogin /etc/ssh/sshd_config | wc -l` -eq 0 ]', > result: passed} > stage2:testcase_80_no_avc_denials: > - {command: 'echo START; grep ''avc:[[:space:]]*denied'' /var/log/messages /var/log/audit/audit.log > | grep -v userdata; echo END', expectation: "\r\nSTART\r\nEND\r\n", result: passed} > t1.micro: > stage1:testcase_01_bash_history: > - {command: '[ ! -f ~/.bash_history ] && echo 0 || cat ~/.bash_history | wc -l', > expectation: "\r\n0\r\n", result: passed} > stage1:testcase_02_selinux_context: > - {command: 'restorecon -R -v -n -e /proc -e /sys -e /mnt / | sed -e ''s, context > , ,'' -e ''s,^restorecon reset ,,'' | cat > /tmp/restorecon_output.txt && > echo SUCCESS', expectation: "\r\nSUCCESS\r\n", result: passed} > - {comment: ' > > Lost entries:[[''/var/cache/yum.*'', [''file_t'', ''rpm_var_cache_t'']]]', > result: warning} > stage1:testcase_03_running_services: > - {command: rpm -q systemd > /dev/null && echo True || echo False, result: passed, > value: 'False'} > - {command: chkconfig --list auditd, expectation: '3:on', result: passed} > - {command: chkconfig --list crond, expectation: '3:on', result: passed} > stage1:testcase_04_cloud_firstboot: > - {command: chkconfig --list rh-cloud-firstboot, expectation: '3:off', result: passed} > - {command: test -f /etc/sysconfig/rh-cloud-firstboot, result: passed} > - {command: cat /etc/sysconfig/rh-cloud-firstboot, expectation: RUN_FIRSTBOOT=NO, > result: passed} > stage1:testcase_05_grub: > - {command: test -h /boot/grub/menu.lst, result: passed} > - {command: readlink -e /boot/grub/menu.lst, expectation: /boot/grub/grub.conf, > result: passed} > - {command: 'grep ''(hd0,0)'' /boot/grub/grub.conf', result: passed} > stage1:testcase_06_inittab: > - {command: rpm -q systemd > /dev/null && echo True || echo False, result: passed, > value: 'False'} > - {command: 'grep ''^id:'' /etc/inittab', expectation: 'id:3:initdefault', result: passed} > stage1:testcase_07_libc6_xen_conf: > - {command: test -f /etc/ld.so.conf.d/libc6-xen.conf, result: passed} > stage1:testcase_08_memory: > - {command: 'grep --color=none ''MemTotal:'' /proc/meminfo', match: '.*\r\nMemTotal:\s*([0-9]+) ', > result: passed, value: '[''604484'']'} > - {command: '[ 604484 -gt 600000 ]', result: passed} > stage1:testcase_09_nameserver: > - {command: dig clock.redhat.com | grep 66.187.233.4, result: passed} > stage1:testcase_10_networking: > - {command: grep "^NETWORKING=yes" /etc/sysconfig/network, result: passed} > - {command: egrep "^DEVICE=(|\")eth0(|\")" /etc/sysconfig/network-scripts/ifcfg-eth0, > result: passed} > stage1:testcase_11_package_set: > - {command: 'rpm -qa --queryformat ''%{NAME},'' && echo', match: ".*\r\n(.*),\r\ > \n.*", result: passed, value: '[''cronie,libssh2,filesystem,redhat-lsb-compat,plymouth-scripts,tzdata-java,iptables-ipv6,libsndfile,iso-codes,kernel-firmware,poppler,mailcap,systemtap-runtime,bind-utils,nss-softokn-freebl,selinux-policy-targeted,at,libattr,cloud-init,ConsoleKit-libs,info,lvm2,logrotate,popt,openssh-clients,nss-tools,freetype,bfa-firmware,gnupg2,gawk,b43-openfwwf,man,elfutils-libelf,iwl1000-firmware,nss_compat_ossl,libselinux,rng-tools,libaio,cyrus-sasl-lib,smartmontools,libsss_autofs,libICE,latencytop,hdparm,tcp_wrappers-libs,yum-plugin-security,libpcap,findutils,vim-enhanced,sgpio,xz-libs,libhugetlbfs-utils,ustr,libidn,ledmon,python,libgcrypt,pinfo,python-dateutil,libgssglue,perl-Crypt-SSLeay,libxml2-python,pcre,tcsh,python-dmidecode,libvorbis,latencytop-tui,pygobject2,psmisc,ntsysv,python-nose,make,oprofile,redhat-support-lib-python,perl-Pod-Escapes,ltrace,python-ldap,perl-Pod-Simple,attr,python-kerberos,perl-Module-Load,mtr,python-crypto,perl-Package-Constants,zip,yum,libmng,bridge-utils,blktrace,perl-Compress-Zlib,latrace,python-argparse,perl-Term-UI,man-pages,python-markdown,perl-Digest-SHA,iwl5000-firmware,gettext,perl-DBI,xorg-x11-drv-ati-firmware,libreport-plugin-rhtsupport,libldb,iwl4965-firmware,libreport-plugin-reportuploader,vim-minimal,rt73usb-firmware,abrt-addon-python,acl,rootfiles,libreport-plugin-mailx,e2fsprogs,python-backports-ssl_match_hostname,snappy,SDL,libedit,libX11,pth,libXi,libusb1,libXrandr,libXfont,libXdamage,perl-DBD-SQLite,java-1.7.0-openjdk,perl-parent,libXv,perl-HTML-Tagset,gtk2,perl-libxml-perl,liboil,shared-mime-info,kbd-misc,atk,iproute,grubby,udev,libxslt,mesa-dri-drivers,tcp_wrappers,device-mapper,patch,kpartx,pinentry,rsyslog,ed,samba-winbind-clients,db4-cxx,policycoreutils-python,vim-common,foomatic-db-ppds,glibc-devel,cryptsetup-luks,perl-devel,rhnsd,perl-Test-Simple,plymouth,perl-ExtUtils-Embed,crda,groff,ntp,cracklib,certmonger,openssl,postfix,hwdata,libgcc,jpackage-utils,tzdata,xdg-utils,mesa-dri-filesystem,rpcbind,latencytop-common,qt-sqlite,basesystem,libpciaccess,xml-common,xorg-x11-fonts-Type1,kernel-headers,ghostscript-fonts,dejavu-fonts-common,poppler-utils,libX11-common,bind-libs,glibc-common,mysql-libs,glibc,fipscheck,bash,pam_krb5,libcap,sssd-client,libstdc++,polkit,libcom_err,cvs,libxml2,nss,chkconfig,mailx,audit-libs,openldap,nss-util,xmlrpc-c-client,bzip2-libs,curl,libpng,rpm,db4,libuser,expat,gpgme,libsepol,hicolor-icon-theme,shadow-utils,rhino,readline,ethtool,sqlite,mingetty,libuuid,sg3_utils-libs,libSM,plymouth-core-libs,xmlrpc-c,libsss_idmap,keyutils-libs,c-ares,libtdb,gpm-libs,btparser,pixman,libnl,libref_array,libogg,libini_config,which,libsemanage,libcap-ng,libffi,libgpg-error,python-libs,libudev,newt-python,elfutils-libs,python-iniparse,bzip2,python-simplejson,binutils,python-ethtool,grep,dbus-python,libtirpc,authconfig,nss-softokn,libselinux-python,net-tools,python-ordereddict,tar,python-pygments,e2fsprogs-libs,numpy,dmidecode,rhnlib,gdbm,python-rhsm,perl-libs,PyYAML,perl-Module-Pluggable,yum-metadata-parser,perl,python-nss,perl-Params-Check,libipa_hbac-python,perl-Module-Load-Conditional,setools-libs-python,perl-IO-Compress-Base,python-paramiko,perl-Compress-Raw-Zlib,python-urlgrabber,lcms-libs,rhn-client-tools,p11-kit,samba4-libs,perl-IO-Compress-Zlib,python-boto,perl-IO-Zlib,python-configobj,perl-Log-Message-Simple,python-krbV,perl-Object-Accessor,audit-libs-python,perl-Module-CoreList,python-cheetah,perl-Compress-Raw-Bzip2,perl-URI,file,xz,cyrus-sasl-gssapi,bc,libselinux-utils,jasper-libs,avahi-libs,libss,diffutils,gmp,libusb,libfontenc,numactl,crash,slang,libcollection,libgfortran,atlas,xorg-x11-font-utils,perl-DBIx-Simple,perl-IO-Compress-Bzip2,ca-certificates,perl-Time-Piece,perl-Parse-CPAN-Meta,perl-HTML-Parser,perl-XML-Parser,gdbm-devel,elfutils,glib2,dbus-glib,libipa_hbac,eggdbus,desktop-file-utils,gstreamer,hal-libs,iw,setools-libs,MAKEDEV,device-mapper-persistent-data,ttmkfdir,portreserve,upstart,time,hunspell,db4-devel,libhugetlbfs,dash,glibc-headers,perl-Test-Harness,perl-ExtUtils-MakeMaker,perl-IPC-Cmd,perl-Archive-Extract,perl-ExtUtils-CBuilder,perl-CPANPLUS,perl-CPAN,ncurses,less,gzip,cracklib-dicts,pam,fontconfig,alsa-lib,cronie-anacron,redhat-lsb-core,redhat-lsb-graphics,redhat-lsb,ipa-python,system-config-firewall-base,dhcp-common,kernel,ipa-client,irqbalance,dhclient,system-config-firewall-tui,sysstat,system-config-network-tui,rh-amazon-rhui-client,samba-client,openssh-server,numad,setuptool,iwl5150-firmware,iwl6050-firmware,iwl6000g2a-firmware,iwl6000-firmware,biosdevname,acpid,readahead,cpuspeed,prelink,seekwatcher,java-1.6.0-openjdk,abrt-cli,yum-utils,redhat-support-tool,gdb,grub,iotop,tcpdump,elinks,sudo,Red_Hat_Enterprise_Linux-Release_Notes-6-en-US,alsa-utils,pam_passwdqc,psacct,powertop,hunspell-en,perl-XML-Grove,perl-XML-Dumper,crash-gcore-command,mlocate,efibootmgr,lsof,unzip,nano,nfs4-acl-tools,libitm,traceroute,vconfig,dosfstools,rdate,eject,b43-fwcutter,trace-cmd,libtopology,words,ql2400-firmware,python-chardet,ql2100-firmware,libproxy-bin,libertas-usb8388-firmware,libproxy-python,ql2500-firmware,libreport-python,zd1211-firmware,libreport,rt61pci-firmware,abrt-libs,ql2200-firmware,abrt-addon-ccpp,ipw2100-firmware,abrt-tui,ipw2200-firmware,abrt-addon-kerneloops,gpg-pubkey,libreport-plugin-logger,xdelta,python-six,python-urllib3,pax,theora-tools,libxcb,libXext,cairo,libXfixes,libXcursor,libXft,pulseaudio-libs,giflib,ghostscript,qt3,libXxf86vm,libXcomposite,pango,python-matplotlib,fprintd,libvisual,busybox,redhat-release-server,iptables,iputils,initscripts,libdrm,mesa-dri1-drivers,usermode,device-mapper-libs,device-mapper-event-libs,device-mapper-event,qt-x11,kbd,libcgroup,samba-common,samba-winbind,nfs-utils,dmraid,lvm2-libs,foomatic-db,cryptsetup-luks-libs,pm-utils,hal,rhn-setup,rhn-check,dracut,mdadm,wireless-tools,ntpdate,yp-tools,sssd,oddjob,cyrus-sasl,crontabs,qt,setup,redhat-lsb-printing,redhat-logos,foomatic-db-filesystem,virt-what,pciutils,poppler-data,selinux-policy,urw-fonts,fontpackages-filesystem,autofs,wget,ncurses-base,pcmciautils,fipscheck-lib,ncurses-libs,subscription-manager,krb5-workstation,zlib,kexec-tools,ConsoleKit,dbus-libs,cifs-utils,nss-sysinit,nspr,parted,libcurl,libacl,iwl100-firmware,rpm-libs,libjpeg-turbo,aic94xx-firmware,passwd,libtalloc,quota,jline,sed,microcode_ctl,hesiod,libtevent,fprintd-pam,libevent,libblkid,hwloc,libdhash,krb5-libs,cas,libyaml,pciutils-libs,perf,libpath_utils,procps,dstat,libasyncns,dbus,man-pages-overrides,rpm-python,pkgconfig,usbutils,python-lxml,cpio,audit,m2crypto,file-libs,perl-core,pyOpenSSL,lua,perl-XML-Twig,python-setuptools,libtiff,valgrind,python-gudev,sysvinit-tools,cyrus-sasl-plain,sos,perl-version,rsync,pygpgme,perl-Locale-Maketext-Simple,scl-utils,libsemanage-python,perl-Log-Message,setserial,python-pycurl,libtasn1,rfkill,pytalloc,gnutls,strace,python-prettytable,perl-Archive-Tar,crash-trace-command,python-netaddr,perl-Module-Loaded,redhat-indexhtml,pytz,perl-CGI,ivtv-firmware,libproxy,libtheora,atmel-firmware,libreport-compat,keyutils,iwl3945-firmware,abrt,checkpolicy,ql23xx-firmware,libreport-plugin-kerneloops,cups-libs,gpg-pubkey,libreport-cli,m4,python-requests,libtar,libXau,lzo,libXrender,newt,libXtst,openjpeg-libs,libXinerama,xz-lzma-compat,libXt,p11-kit-trust,pycairo,perl-Time-HiRes,libthai,perl-libwww-perl,libfprint,tmpwatch,gstreamer-plugins-base,gamin,policycoreutils,libgudev1,util-linux-ng,gstreamer-tools,mesa-libGL,flac,mesa-libGLU,libutempter,cups,db4-utils,phonon-backend-gstreamer,libnih,openssh,libgomp,nfs-utils-lib,mesa-private-llvm,dmraid-events,dejavu-sans-fonts,foomatic,perl-ExtUtils-ParseXS,hal-info,perl-File-Fetch,yum-rhn-plugin,perl-Module-Build,dracut-kernel,cdparanoia-libs,python-iwlib,coreutils-libs,ypbind,coreutils,oddjob-mkhomedir,module-init-tools'']'} > - {comment: 'Newly introduced packages: [''db4-cxx'', ''db4-devel'', ''gdbm-devel'', > ''glibc-devel'', ''glibc-headers'', ''kernel-headers'', ''lzo'', ''mesa-private-llvm'', > ''p11-kit'', ''p11-kit-trust'', ''python-backports-ssl_match_hostname'', ''python-chardet'', > ''python-ordereddict'', ''python-requests'', ''python-six'', ''python-urllib3'', > ''redhat-support-lib-python'', ''redhat-support-tool'', ''shared-mime-info'', > ''snappy'', ''ttmkfdir'', ''xorg-x11-fonts-Type1'']', result: passed} > - {comment: All required package are included, result: passed} > stage1:testcase_12_passwd_group: > - {command: 'grep ''^root:x:0:0:root:/root:/bin/bash'' /etc/passwd', result: passed} > - {command: 'grep ''^nobody:x:99:99:Nobody:/:/sbin/nologin'' /etc/passwd', result: passed} > - {command: 'grep ''^sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/sbin/nologin'' > /etc/passwd', result: passed} > - {command: 'grep ''^root:x:0:'' /etc/group', result: passed} > - {command: 'grep ''^daemon:x:2:bin,daemon'' /etc/group', result: passed} > - {command: 'grep ''^bin:x:1:bin,daemon'' /etc/group', result: passed} > stage1:testcase_13_resize2fs: > - {command: df -h | grep 15G, result: passed} > stage1:testcase_14_host_details: > - {command: '[ ! -z ''`curl http://169.254.169.254/latest/dynamic/instance-identity/signature`'' > ]', result: passed} > - {command: 'curl http://169.254.169.254/latest/dynamic/instance-identity/document', > match: '.*({.*}).*', result: passed, value: '[''{\r\n "instanceId" : "i-bec49cee",\r\n "billingProducts" > : [ "bp-63a5400a" ],\r\n "imageId" : "ami-d88476b0",\r\n "architecture" > : "x86_64",\r\n "pendingTime" : "2014-06-10T08:54:31Z",\r\n "instanceType" > : "t1.micro",\r\n "accountId" : "567014786890",\r\n "kernelId" : "aki-919dcaf8",\r\n "ramdiskId" > : null,\r\n "region" : "us-east-1",\r\n "version" : "2010-08-31",\r\n "devpayProductCodes" > : null,\r\n "privateIp" : "10.211.173.131",\r\n "availabilityZone" : "us-east-1c"\r\n}'']'} > - {command: '[ ''ami-d88476b0'' = ''ami-d88476b0'' ]', result: passed} > - {command: '[ ''x86_64'' = ''x86_64'' ]', result: passed} > - {command: '[ ''us-east-1'' = ''us-east-1'' ]', result: passed} > - {command: '[ ''bp-63a5400a'' = ''bp-63a5400a'' ]', result: passed} > stage1:testcase_15_rhel_version: > - {command: 'rpm -q --qf ''%{RELEASE} > > '' --whatprovides redhat-release', match: '.*\r\n([0-9]\.[0-9]+\..*)\r\n.*', > result: passed, value: '[''6.5.0.1.el6'']'} > - {command: '[ ''6.5'' = ''6.5'' ]', result: passed} > stage1:testcase_16_selinux: > - {command: getenforce, expectation: "\r\nEnforcing\r\n", result: passed} > - {command: grep '^SELINUX=enforcing' /etc/sysconfig/selinux, result: passed} > - {command: grep '^SELINUXTYPE=targeted' /etc/sysconfig/selinux, result: passed} > - {command: setenforce Permissive && getenforce, expectation: "\r\nPermissive\r\ > \n", result: passed} > - {command: setenforce Enforcing && getenforce, expectation: "\r\nEnforcing\r\n", > result: passed} > stage1:testcase_17_shells: > - {command: grep 'bin/bash$' /etc/shells, result: passed} > - {command: grep 'bin/nologin$' /etc/shells, result: passed} > stage1:testcase_18_sshd: > - {command: rpm -q systemd > /dev/null && echo True || echo False, result: passed, > value: 'False'} > - {command: 'chkconfig --list sshd | grep ''0:off[[:space:]]*1:off[[:space:]]*2:on[[:space:]]*3:on[[:space:]]*4:on[[:space:]]*5:on[[:space:]]*6:off''', > result: passed} > - {command: service sshd status | grep running, result: passed} > - {command: grep 'PasswordAuthentication no' /etc/ssh/sshd_config, result: passed} > stage1:testcase_19_rhn_system_id: > - {command: '[ ! -f /etc/sysconfig/rhn/systemid ]', result: passed} > stage1:testcase_20_auditd: > - {command: md5sum /etc/sysconfig/auditd | cut -f 1 -d ' ', expectation: d4d43637708e30418c30003e212f76fc, > result: passed} > - {command: md5sum /etc/audit/auditd.conf | cut -f 1 -d ' ', expectation: e1886162554c18906df2ecd258aa4794, > result: passed} > - {command: md5sum /etc/audit/audit.rules | cut -f 1 -d ' ', expectation: f9869e1191838c461f5b9051c78a638d, > result: passed} > stage1:testcase_21_disk_size_format: > - {command: 'mount | grep ''^/dev'' | awk ''{print $1}''', result: passed, value: /dev/xvda1} > - {command: 'echo ''###'' ;mount | grep ''^/dev/xvda1'' | awk ''{print $3}''; > echo ''###''', match: ".*\r\n###\r\n(.*)\r\n###\r\n.*", result: passed, value: '[''/'']'} > - {command: 'echo ''###'' ;mount | grep ''^/dev/xvda1'' | awk ''{print $5}''; > echo ''###''', match: ".*\r\n###\r\n(.*)\r\n###\r\n.*", result: passed, value: '[''ext4'']'} > - {command: '[ `df -k /dev/xvda1 | awk ''{ print $2 }'' | tail -n 1` -gt 3937219 > ]', result: passed} > - {command: '[ ext4 = ext4 ]', result: passed} > stage1:testcase_22_gpg_keys: > - {command: grep '^gpgcheck=' /etc/yum.repos.d/redhat-*.repo | cut -d\= -f2 | > sort -uf | tr -d ' ', expectation: "\r\n1\r\n", result: passed} > - {command: rpm -qa gpg-pubkey* | wc -l, expectation: "\r\n2\r\n", result: passed} > - {command: rpm -q gpg-pubkey-2fa658e0-45700c69, result: passed} > - {command: rpm -q gpg-pubkey-fd431d51-4ae0493b, result: passed} > stage1:testcase_23_syslog: > - {command: md5sum /etc/rsyslog.conf | cut -f 1 -d ' ', result: passed, value: 8b91b32300134e98ef4aee632ed61e21} > - {comment: /etc/rsyslog.conf md5 matches, result: passed} > stage1:testcase_24_yum_plugin: > - {command: 'grep ''^enabled[[:space:]]*=[[:space:]]*[^0 ]'' /etc/yum/pluginconf.d/rhnplugin.conf', > result: passed} > stage1:testcase_25_uname: > - {command: 'uname -r | sed -e ''s,\.i686$,,'' -e ''s,\.x86_64$,,''', result: passed, > value: 2.6.32-431.17.1.el6} > - {command: 'rpm -q --last kernel | sed -e ''s,^kernel-,,'' -e ''s,[[:space:]].*$,,'' > | head -1 | sed -e ''s,\.i686$,,'' -e ''s,\.x86_64$,,''', result: passed, > value: 2.6.32-431.17.1.el6} > - {command: uname -o, result: passed, value: GNU/Linux} > - {command: '[ 2.6.32-431.17.1.el6 = 2.6.32-431.17.1.el6 ]', result: passed} > - {command: '[ GNU/Linux = ''GNU/Linux'' ]', result: passed} > - {command: grep UPDATEDEFAULT=yes /etc/sysconfig/kernel, result: passed} > - {command: grep DEFAULTKERNEL=kernel /etc/sysconfig/kernel, result: passed} > stage1:testcase_26_verify_rpms: > - actual modified files: {/etc/pam.d/fingerprint-auth: true, /etc/pam.d/password-auth: true, > /etc/pam.d/smartcard-auth: true, /etc/pam.d/system-auth: true, /etc/ssh/sshd_config: true} > expected modified files: {/etc/pam.d/fingerprint-auth: true, /etc/pam.d/password-auth: true, > /etc/pam.d/smartcard-auth: true, /etc/pam.d/system-auth: true, /etc/ssh/sshd_config: true} > result: passed > stage1:testcase_27_yum_repos: > - actual repos: {rhel-source: false, rhel-source-beta: false, rhui-REGION-client-config-server-6: true, > rhui-REGION-rhel-server-debug-rh-common: false, rhui-REGION-rhel-server-debug-rhscl: false, > rhui-REGION-rhel-server-debug-supplementary: false, rhui-REGION-rhel-server-releases: true, > rhui-REGION-rhel-server-releases-optional: true, rhui-REGION-rhel-server-releases-optional-source: false, > rhui-REGION-rhel-server-releases-source: false, rhui-REGION-rhel-server-rh-common: true, > rhui-REGION-rhel-server-rhscl: true, rhui-REGION-rhel-server-source-rh-common: false, > rhui-REGION-rhel-server-source-rhscl: false, rhui-REGION-rhel-server-source-supplementary: false, > rhui-REGION-rhel-server-supplementary: false} > expected repos: {rhel-source: false, rhel-source-beta: false, rhui-REGION-client-config-server-6: true, > rhui-REGION-rhel-server-debug-rh-common: false, rhui-REGION-rhel-server-debug-rhscl: false, > rhui-REGION-rhel-server-debug-supplementary: false, rhui-REGION-rhel-server-releases: true, > rhui-REGION-rhel-server-releases-optional: true, rhui-REGION-rhel-server-releases-optional-source: false, > rhui-REGION-rhel-server-releases-source: false, rhui-REGION-rhel-server-rh-common: true, > rhui-REGION-rhel-server-rhscl: true, rhui-REGION-rhel-server-source-rh-common: false, > rhui-REGION-rhel-server-source-rhscl: false, rhui-REGION-rhel-server-source-supplementary: false, > rhui-REGION-rhel-server-supplementary: false} > result: passed > stage1:testcase_30_rhn_certificates: > - {command: rpm -ql rh-amazon-rhui-client | egrep '.*\.(pem|crt)', result: passed, > value: "/etc/pki/rhui/ca.crt\r\n/etc/pki/rhui/cdn.redhat.com-chain.crt\r\n/etc/pki/rhui/product/content-rhel6.crt\r\ > \n/etc/pki/rhui/product/rhui-client-config-server-6.crt"} > - {command: openssl x509 -in /etc/pki/rhui/ca.crt -noout -dates | grep notAfter, > result: passed, value: 'notAfter=Nov 30 19:46:02 2017 GMT'} > - {comment: '(/etc/pki/rhui/ca.crt).notAfter=2017-11-30 19:46:02; expecting: 2017-11-10 > 00:00:00', result: passed} > - {command: openssl x509 -in /etc/pki/rhui/cdn.redhat.com-chain.crt -noout -dates > | grep notAfter, result: passed, value: 'notAfter=Mar 13 11:24:54 2030 GMT'} > - {comment: '(/etc/pki/rhui/cdn.redhat.com-chain.crt).notAfter=2030-03-13 11:24:54; > expecting: 2017-11-10 00:00:00', result: passed} > - {command: openssl x509 -in /etc/pki/rhui/product/content-rhel6.crt -noout -dates > | grep notAfter, result: passed, value: 'notAfter=Nov 16 15:35:48 2023 GMT'} > - {comment: '(/etc/pki/rhui/product/content-rhel6.crt).notAfter=2023-11-16 15:35:48; > expecting: 2017-11-10 00:00:00', result: passed} > - {command: openssl x509 -in /etc/pki/rhui/product/rhui-client-config-server-6.crt > -noout -dates | grep notAfter, result: passed, value: 'notAfter=Nov 30 18:38:07 > 2020 GMT'} > - {comment: '(/etc/pki/rhui/product/rhui-client-config-server-6.crt).notAfter=2020-11-30 > 18:38:07; expecting: 2017-11-10 00:00:00', result: passed} > stage1:testcase_31_subscription_management: > - {command: yum --disablerepo='*' -v repolist, expectation: Not loading "subscription-manager" > plugin, result: passed} > - {command: yum --enableplugin=subscription-manager --disablerepo='*' -v repolist, > expectation: Loading "subscription-manager" plugin, result: passed} > - {command: subscription-manager list, expectation: Installed Product Status, > result: passed} > stage1:testcase_32_ephemeral: > - {comment: no ephemeral devices in block map, result: skip} > stage1:testcase_33_userdata: > - {command: 'rpm -q --queryformat ''%{NAME} > > '' cloud-init', result: passed, value: cloud-init} > - {command: ls -l /userdata_test, result: passed} > - {command: rpm -q xdelta, result: passed} > stage1:testcase_34_cpu: > - {command: cat /proc/cpuinfo | grep '^processor' | wc -l, expectation: '1', result: passed} > stage1:testcase_360_ebs: > - {command: ls -l /dev/xvdk, result: passed} > - {command: ls -la /sbin/mkfs.vfat 2> /dev/null | wc -l, result: passed, value: '1'} > - {command: mkfs.vfat -I /dev/xvdk, result: passed} > stage1:testcase_39_root_is_locked: > - {command: 'egrep "^root:(\!\!|\*|x|locked):" /etc/shadow', result: passed} > stage1:testcase_41_rh_amazon_rhui_client: > - {command: rpm -q rh-amazon-rhui-client, result: passed} > stage1:testcase_42_ipv6: > - {command: grep NETWORKING_IPV6=no /etc/sysconfig/network, result: passed} > stage1:testcase_50_yum_package_install: > - {command: yum clean all, result: passed} > - {command: yum repolist, result: passed} > - {command: yum search zsh, result: passed} > - {command: yum -y install zsh, result: passed} > - {command: 'rpm -q --queryformat ''%{NAME}'' zsh', result: passed} > - {command: rpm -e zsh, result: passed} > stage1:testcase_55_yum_group_install: > - {command: yum -y groupinstall 'Development tools', result: passed} > - {command: rpm -q glibc-devel, result: passed} > stage1:testcase_60_yum_update: > - {command: head -c $((1024*1024*1024)) /dev/zero > /swap && echo SUCCESS, expectation: "\r\n\ > SUCCESS\r\n", result: passed} > - {command: mkswap /swap, result: passed} > - {command: echo '/swap swap swap defaults 0 0' >> /etc/fstab && > echo SUCCESS, expectation: "\r\nSUCCESS\r\n", result: passed} > - {command: swapon -a -e, result: passed} > - {command: 'rpm -q matahari-net && yum -y remove matahari-net ||:', result: passed} > - {command: yum -y install kernel, result: passed} > - {command: yum -y update, result: passed} > stage1:testcase_61_yum_proxy: > - {comment: No proxy set, result: skip} > stage1:testcase_80_no_avc_denials: > - {command: 'echo START; grep ''avc:[[:space:]]*denied'' /var/log/messages /var/log/audit/audit.log > | grep -v userdata; echo END', expectation: "\r\nSTART\r\nEND\r\n", result: passed} > stage1:testcase_99_reboot: > - {command: echo 'doing reboot', result: passed} > - {command: nohup sleep 1s && nohup reboot &, result: passed} > stage2:testcase_08_memory: > - {command: 'grep --color=none ''MemTotal:'' /proc/meminfo', match: '.*\r\nMemTotal:\s*([0-9]+) ', > result: passed, value: '[''604484'']'} > - {command: '[ 604484 -gt 600000 ]', result: passed} > stage2:testcase_25_uname: > - {command: 'uname -r | sed -e ''s,\.i686$,,'' -e ''s,\.x86_64$,,''', result: passed, > value: 2.6.32-431.17.1.el6} > - {command: 'rpm -q --last kernel | sed -e ''s,^kernel-,,'' -e ''s,[[:space:]].*$,,'' > | head -1 | sed -e ''s,\.i686$,,'' -e ''s,\.x86_64$,,''', result: passed, > value: 2.6.32-431.17.1.el6} > - {command: uname -o, result: passed, value: GNU/Linux} > - {command: '[ 2.6.32-431.17.1.el6 = 2.6.32-431.17.1.el6 ]', result: passed} > - {command: '[ GNU/Linux = ''GNU/Linux'' ]', result: passed} > - {command: grep UPDATEDEFAULT=yes /etc/sysconfig/kernel, result: passed} > - {command: grep DEFAULTKERNEL=kernel /etc/sysconfig/kernel, result: passed} > stage2:testcase_37_sshd_bug923996: > - {command: '[ `grep ^PermitRootLogin /etc/ssh/sshd_config | wc -l` -eq 0 ]', > result: passed} > stage2:testcase_80_no_avc_denials: > - {command: 'echo START; grep ''avc:[[:space:]]*denied'' /var/log/messages /var/log/audit/audit.log > | grep -v userdata; echo END', expectation: "\r\nSTART\r\nEND\r\n", result: passed} >version: '6.5'
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 1107638
: 907167