[ { "test": { "@alias": "bsps-hw.bsps-hw.boot_and_install_from_USB", "author": [ { "email": "alexandru.c.georgescu@intel.com", "name": "alexandru.c.georgescu@intel.com" } ], "execution": { "1": { "action": "plugin usb which contains live image burned", "expected_results": "User can choose install system from usb stick onto harddisk from boot menu or command line option \n" }, "2": { "action": "configure device BIOS to firstly boot from USB if necessary", "expected_results": "Installed system can boot up" }, "3": { "action": "boot the device and select option \"Install\" from boot menu", "expected_results": "" }, "4": { "action": "proceed through default install process", "expected_results": "" }, "5": { "action": "Remove USB, and reboot into new installed system. \nNote: If installation was successfully completed and received this message \"\"(sdx): Volume was not properly unmounted...Please run fsck.\"\" ignore it because this was whitelisted according to bug 9652.", "expected_results": "" } }, "summary": "boot_and_install_from_USB" } }, { "test": { "@alias": "bsps-hw.bsps-hw.live_boot_from_USB", "author": [ { "email": "juan.fernandox.ramos.frayle@intel.com", "name": "juan.fernandox.ramos.frayle@intel.com" } ], "execution": { "1": { "action": "Plugin usb which contains live image burned.", "expected_results": "User can choose boot from live image on usb stick from boot menu or command line option" }, "2": { "action": "Configure device BIOS to firstly boot from USB if necessary.", "expected_results": "" }, "3": { "action": "Reboot the device and boot from USB stick.", "expected_results": "Live image can boot up with usb stick" } }, "summary": "live_boot_from_USB" } }, { "test": { "@alias": "bsps-hw.bsps-hw.boot_from_runlevel_3", "author": [ { "email": "alexandru.c.georgescu@intel.com", "name": "alexandru.c.georgescu@intel.com" } ], "execution": { "1": { "action": "Boot into system and edit /etc/inittab to make sure that system enter at the run level 3 by default, this is done by changing the line \n\n\nid:5:initdefault \n\nto \n\nid:3:initdefault \n\n", "expected_results": "" }, "2": { "action": "Reboot system, and press \"Tab\" to enter \"grub\"", "expected_results": "" }, "3": { "action": "Get into the \"kernel\" line with the edit option \"e\" and add \"psplash=false text\" at the end line.", "expected_results": "" }, "4": { "action": "Press \"F10\" or \"ctrl+x\" to boot system", "expected_results": "" }, "5": { "action": "If system ask you for a login type \"root\"", "expected_results": "System should boot to run level 3, showing the command prompt." } }, "summary": "boot_from_runlevel_3" } }, { "test": { "@alias": "bsps-hw.bsps-hw.boot_from_runlevel_5", "author": [ { "email": "alexandru.c.georgescu@intel.com", "name": "alexandru.c.georgescu@intel.com" } ], "execution": { "1": { "action": "Boot into system and edit /etc/inittab to make sure that system enter at the run level 5 by default, this is done by changing the line \n\nid:3:initdefault \n\nto \n\nid:5:initdefault \n\n", "expected_results": "" }, "2": { "action": "Reboot system, and press \"Tab\" to enter \"grub\"", "expected_results": "" }, "3": { "action": "Get into the \"kernel\" line with the edit option \"e\" and add \"psplash=false text\" at the end line.", "expected_results": "" }, "4": { "action": "Press \"F10\" or \"ctrl+x\" to boot system \nNote: The test is only for sato image.", "expected_results": "System should boot to runlevel 5 ." } }, "summary": "boot_from_runlevel_5" } }, { "test": { "@alias": "bsps-hw.bsps-hw.switch_among_multi_applications_and_desktop", "author": [ { "email": "alexandru.c.georgescu@intel.com", "name": "alexandru.c.georgescu@intel.com" } ], "execution": { "1": { "action": "launch several applications(like contacts, file manager, notes, etc)", "expected_results": "user could switch among multi applications and desktop" }, "2": { "action": "launch terminal", "expected_results": "" }, "3": { "action": "switch among multi applications and desktop", "expected_results": "" }, "4": { "action": "close applications \nNote: The case is for sato image only. ", "expected_results": "" } }, "summary": "switch_among_multi_applications_and_desktop" } }, { "test": { "@alias": "bsps-hw.bsps-hw.ethernet_static_ip_set_in_connman", "author": [ { "email": "alexandru.c.georgescu@intel.com", "name": "alexandru.c.georgescu@intel.com" } ], "execution": { "1": { "action": "Boot the system and check internet connection is on . ", "expected_results": "" }, "2": { "action": "Launch connmand-properties (up-right corner on desktop)", "expected_results": "" }, "3": { "action": "Choose Ethernet device and set a valid static ip address for it. \nFor example, in our internal network, we can set as following: \nip address: 10.239.48.xxx \nMask: 255.255.255.0 \nGateway (Broadcast): 10.239.48.255", "expected_results": "" }, "4": { "action": "Check the Network configuration with \"ifconfig\"", "expected_results": "Static IP was set successfully \n" }, "5": { "action": "ping to another IP adress", "expected_results": "Ping works correclty\n" } }, "summary": "ethernet_static_ip_set_in_connman" } }, { "test": { "@alias": "bsps-hw.bsps-hw.ethernet_get_IP_in_connman_via_DHCP", "author": [ { "email": "alexandru.c.georgescu@intel.com", "name": "alexandru.c.georgescu@intel.com" } ], "execution": { "1": { "action": "Launch connmand-properties (up-right corner on your desktop). ", "expected_results": "" }, "2": { "action": "Check if Ethernet device can work properly with static IP, doing \"ping XXX.XXX.XXX.XXX\", once this is set.", "expected_results": "Ping executed successfully . \n\n" }, "3": { "action": "Then choose DHCP method for Ethernet device in connmand-properties.", "expected_results": "" }, "4": { "action": "Check with 'ifconfig\" and \"ping\" if Ethernet device get IP address via DHCP.", "expected_results": "Ethernet device can get dynamic IP address via DHCP in connmand ." } }, "summary": "ethernet_get_IP_in_connman_via_DHCP" } }, { "test": { "@alias": "bsps-hw.bsps-hw.connman_offline_mode_in_connman-gnome", "author": [ { "email": "alexandru.c.georgescu@intel.com", "name": "alexandru.c.georgescu@intel.com" } ], "execution": { "1": { "action": "Launch connman-properties after system booting \n\n", "expected_results": "" }, "2": { "action": "choose \"offline mode\" and check the connection of all network interfaces ", "expected_results": "All connection should be off after clicking \"offline mode\" . " } }, "summary": "connman_offline_mode_in_connman-gnome" } }, { "test": { "@alias": "bsps-hw.bsps-hw.standby", "author": [ { "email": "alexandru.c.georgescu@intel.com", "name": "alexandru.c.georgescu@intel.com" } ], "execution": { "1": { "action": "boot system and launch terminal; check output of \"date\" and launch script \"continue.sh\"", "expected_results": "" }, "2": { "action": "echo \"mem\" > /sys/power/state", "expected_results": "" }, "3": { "action": "After system go into S3 mode, move mouse or press any key to make it resume (on NUC press power button)", "expected_results": "" }, "4": { "action": "Check \"date\" and script \"continue.sh\"", "expected_results": "" }, "5": { "action": "Check if application can work as normal \ncontinue.sh as below: \n \n#!/bin/sh \n \ni=1 \nwhile [ 0 ] \ndo \n echo $i \n sleep 1 \n i=$((i+1)) \ndone ", "expected_results": "Screen should resume back and script can run continuously incrementing the i's value from where it was before going to standby state. Date should be the same with the corresponding time increment." } }, "summary": "standby" } }, { "test": { "@alias": "bsps-hw.bsps-hw.check_CPU_utilization_after_standby", "author": [ { "email": "alexandru.c.georgescu@intel.com", "name": "alexandru.c.georgescu@intel.com" } ], "execution": { "1": { "action": "Start up system", "expected_results": "" }, "2": { "action": "run \"top\" command and check if there is any process eating CPU time", "expected_results": "" }, "3": { "action": "make system into standby and resume it", "expected_results": "" }, "4": { "action": "run \"top\" command and check if there is any difference with the data before standby", "expected_results": "There should be no big difference before/after standby with \"top\" . " } }, "summary": "check_CPU_utilization_after_standby" } }, { "test": { "@alias": "bsps-hw.bsps-hw.Test_if_LAN_device_works_well_after_resume_from_suspend_state", "author": [ { "email": "alexandru.c.georgescu@intel.com", "name": "alexandru.c.georgescu@intel.com" } ], "execution": { "1": { "action": "boot system and launch terminal", "expected_results": "" }, "2": { "action": "echo \"mem\" > /sys/power/state", "expected_results": "" }, "3": { "action": "After system go into S3 mode, move mouse or press any key to make it resume", "expected_results": "" }, "4": { "action": "check ping status \n\nNote: This TC apply only for core-image-full-cmd.", "expected_results": "ping should always work before/after standby" } }, "summary": "Test_if_LAN_device_works_well_after_resume_from_suspend_state" } }, { "test": { "@alias": "bsps-hw.bsps-hw.Test_if_usb_hid_device_works_well_after_resume_from_suspend_state", "author": [ { "email": "alexandru.c.georgescu@intel.com", "name": "alexandru.c.georgescu@intel.com" } ], "execution": { "1": { "action": "boot system and launch terminal", "expected_results": "" }, "2": { "action": "echo \"mem\" > /sys/power/state", "expected_results": "" }, "3": { "action": "After system go into S3 mode, resume the device by pressing the power button or using HID devices", "expected_results": "Devices resumes " }, "4": { "action": "check usb mouse and keyboard", "expected_results": "Usb mouse and keyboard should work" } }, "summary": "Test_if_usb_hid_device_works_well_after_resume_from_suspend_state" } }, { "test": { "@alias": "bsps-hw.bsps-hw.click_terminal_icon_on_X_desktop", "author": [ { "email": "alexandru.c.georgescu@intel.com", "name": "alexandru.c.georgescu@intel.com" } ], "execution": { "1": { "action": "After system launch and X start up, click terminal icon on desktop", "expected_results": "" }, "2": { "action": "Check if only one terminal window launched and no other problem met", "expected_results": "There should be no problem after launching terminal . " } }, "summary": "click_terminal_icon_on_X_desktop" } }, { "test": { "@alias": "bsps-hw.bsps-hw.Add_multiple_files_in_media_player", "author": [ { "email": "alexandru.c.georgescu@intel.com", "name": "alexandru.c.georgescu@intel.com" } ], "execution": { "1": { "action": "Launch media player", "expected_results": "" }, "2": { "action": "Add multiple files(5 files) in media player at same time (ogg or wav)", "expected_results": "" }, "3": { "action": "Verify the sound.", "expected_results": "Media player should be OK with this action, it reproduce files correctly." } }, "summary": "Add_multiple_files_in_media_player" } }, { "test": { "@alias": "bsps-hw.bsps-hw.video_-_libva_check_(ogg_video_play)", "author": [ { "email": "alexandru.c.georgescu@intel.com", "name": "alexandru.c.georgescu@intel.com" } ], "execution": { "1": { "action": "check if libva is installed on system (or libogg)", "expected_results": "" }, "2": { "action": "copy sample ogg file to system", "expected_results": "" }, "3": { "action": "launch media player can play the ogg file", "expected_results": "ogg file can be played without problem when libva is used (or libogg) " } }, "summary": "video_-_libva_check_(ogg_video_play)" } }, { "test": { "@alias": "bsps-hw.bsps-hw.media_player_-_play_video_(ogv)", "author": [ { "email": "alexandru.c.georgescu@intel.com", "name": "alexandru.c.georgescu@intel.com" } ], "execution": { "1": { "action": "copy sample ogv file to system", "expected_results": "" }, "2": { "action": "launch media player and make sure it can play the ogv file", "expected_results": "ogv file can be played without problem" } }, "summary": "media_player_-_play_video_(ogv)" } }, { "test": { "@alias": "bsps-hw.bsps-hw.media_player_-_stop/play_button_(ogv)", "author": [ { "email": "alexandru.c.georgescu@intel.com", "name": "alexandru.c.georgescu@intel.com" } ], "execution": { "1": { "action": "copy sample ogv file to system", "expected_results": "" }, "2": { "action": "launch media player can play the ogv file", "expected_results": "" }, "3": { "action": "click \"stop\" button to stop playing", "expected_results": "" }, "4": { "action": "click \"start\" button to resume playing", "expected_results": "ogv file can be start/stop without problem" } }, "summary": "media_player_-_stop/play_button_(ogv)" } }, { "test": { "@alias": "bsps-hw.bsps-hw.audio_-_play_(ogg)_with_HDMI", "author": [ { "email": "alexandru.c.georgescu@intel.com", "name": "alexandru.c.georgescu@intel.com" } ], "execution": { "1": { "action": "copy sample ogg file to system", "expected_results": "" }, "2": { "action": "connect system with a monitor with HDMI", "expected_results": "" }, "3": { "action": "launch media player and play the ogg file", "expected_results": "ogg file can be played without problem with HDMI" } }, "summary": "audio_-_play_(ogg)_with_HDMI" } }, { "test": { "@alias": "bsps-hw.bsps-hw.audio_-_play_(wav)_with_HDMI", "author": [ { "email": "alexandru.c.georgescu@intel.com", "name": "alexandru.c.georgescu@intel.com" } ], "execution": { "1": { "action": "copy sample wav file to system", "expected_results": "" }, "2": { "action": "connect system with a monitor with HDMI", "expected_results": "" }, "3": { "action": "launch media player and play the wav file", "expected_results": "wav file can be played without problem, with HDMI" } }, "summary": "audio_-_play_(wav)_with_HDMI" } }, { "test": { "@alias": "bsps-hw.bsps-hw.Graphics_-_ABAT", "author": [ { "email": "alexandru.c.georgescu@intel.com", "name": "alexandru.c.georgescu@intel.com" } ], "execution": { "1": { "action": "Download ABAT test suite from internal git repository, git clone git://tinderbox.sh.intel.com/git/abat", "expected_results": "" }, "2": { "action": "Apply following patch to make it work on yocto environment", "expected_results": "" }, "3": { "action": "Run \"./abat.sh\" to run ABAT test refer to abat.patch", "expected_results": "All ABAT test should pass. \nNote : If below 3 fails appears ignore them. \n- start up X server fail.. due is already up \n- module [intel_agp] \n- module [i915]" } }, "summary": "Graphics_-_ABAT" } }, { "test": { "@alias": "bsps-hw.bsps-hw.Graphics_-_x11perf_-_2D", "author": [ { "email": "alexandru.c.georgescu@intel.com", "name": "alexandru.c.georgescu@intel.com" } ], "execution": { "1": { "action": "Run \"x11perf -aa10text\" and \"x11perf -rgb10text\"", "expected_results": "" }, "2": { "action": "Get the FPS result and compare it with upstream graphics data on Sandybridge", "expected_results": "There should not be big regression between Yocto and upstream linux . " } }, "summary": "Graphics_-_x11perf_-_2D" } }, { "test": { "@alias": "bsps-hw.bsps-hw.Check_if_SATA_disk_can_work_correctly", "author": [ { "email": "yi.zhao@windriver.com", "name": "yi.zhao@windriver.com" } ], "execution": { "1": { "action": "Run fdisk command to create partition on SATA disk. ", "expected_results": "The SATA device can mount, umount, read and write. " }, "2": { "action": "Mount/Umount \n mke2fs /dev/sda1 \n mount -t ext2 /dev/sda1 /mnt/disk \n umount /mnt/disk", "expected_results": "" }, "3": { "action": "Read/Write (filesystem) \n touch /mnt/disk/test.txt \n echo abcd > /mnt/disk/test.txt \n cat /mnt/disk/test.txt", "expected_results": "" }, "4": { "action": "Read/Write (raw) \n dd if=/dev/sda1 of=/tmp/test bs=1k count=1k \n This command will read 1MB from /dev/sda1 to /tmp/test", "expected_results": "" } }, "summary": "Check_if_SATA_disk_can_work_correctly" } }, { "test": { "@alias": "bsps-hw.bsps-hw.Install_and_boot_from_USB-drive_to_HDD-drive", "author": [ { "email": "david.israelx.rodriguez.castellanos@intel.com", "name": "david.israelx.rodriguez.castellanos@intel.com" } ], "execution": { "1": { "action": "Get a HDD drive.", "expected_results": "User can choose install system from USB stick on HDD drive from boot menu or command line option \n" }, "2": { "action": "Plugin USB which contains live image burned (USB1).", "expected_results": "Installed system can boot up." }, "3": { "action": "Configure device BIOS to firstly boot from USB if necessary", "expected_results": "" }, "4": { "action": "Boot the device and select option \"Install\" from boot menu.", "expected_results": "" }, "5": { "action": "Make sure that the divice in which image is going to be installed is the HDD drive.", "expected_results": "" }, "6": { "action": "Proceed through default install process.", "expected_results": "" }, "7": { "action": "Remove USB1, and reboot into new installed system.", "expected_results": "" } }, "summary": "Install_and_boot_from_USB-drive_to_HDD-drive" } }, { "test": { "@alias": "bsps-hw.bsps-hw.Install_and_boot_from_USB-drive_to_SD-drive", "author": [ { "email": "david.israelx.rodriguez.castellanos@intel.com", "name": "david.israelx.rodriguez.castellanos@intel.com" } ], "execution": { "1": { "action": "Get a SD-drive with enough free space to install an image.", "expected_results": "User can choose install system from USB stick on SD-drive from boot menu or command line option. \n" }, "2": { "action": "Plugin USB which contains live image burned (USB1).", "expected_results": "Installed system can boot up." }, "3": { "action": "Configure device BIOS to firstly boot from USB if necessary", "expected_results": "" }, "4": { "action": "Boot the device and select option \"Install\" from boot menu.", "expected_results": "" }, "5": { "action": "Make sure that the device in which image is going to be installed is the SD-drive.", "expected_results": "" }, "6": { "action": "Proceed through default install process.", "expected_results": "" }, "7": { "action": "Remove USB1, and reboot into new installed system.", "expected_results": "" } }, "summary": "Install_and_boot_from_USB-drive_to_SD-drive" } }, { "test": { "@alias": "bsps-hw.bsps-hw.Test_boot_on_serial_communication_SD", "author": [ { "email": "juan.fernandox.ramos.frayle@intel.com", "name": "juan.fernandox.ramos.frayle@intel.com" } ], "execution": { "1": { "action": "1.- Create a yocto project image in a SD card \nexample \n2 - Configure a connection like shown in the link avobe: \nhttps://wiki.yoctoproject.org/wiki/MinnowMax_board_Serial_video_connection_guide \n3 - Verify the Minow Max board is connected to the host \n4 - Boot the system to desktop \n5 - Open a Terminal and check the IP \nIn Terminal type $ifconfig\"", "expected_results": "Verify you can create a live image \n" } }, "summary": "Test_boot_on_serial_communication_SD" } }, { "test": { "@alias": "bsps-hw.bsps-hw.Test_boot_on_serial_communication_HDD", "author": [ { "email": "juan.fernandox.ramos.frayle@intel.com", "name": "juan.fernandox.ramos.frayle@intel.com" } ], "execution": { "1": { "action": "1 - Create a yocto project image in a HDD \nexample \n2 - Configure a connection like shown in the link avobe: \nhttps://wiki.yoctoproject.org/wiki/MinnowMax_board_Serial_video_connection_guide \n3 - Verify the Minow Max board is connected to the host \n4 - Boot the system to desktop \n5 - Open a Terminal and check the IP \nIn Terminal type $ifconfig\"> ", "expected_results": "Verify you can create a live image \n" } }, "summary": "Test_boot_on_serial_communication_HDD" } }, { "test": { "@alias": "bsps-hw.bsps-hw.Test_boot_on_serial_communication_USB", "author": [ { "email": "juan.fernandox.ramos.frayle@intel.com", "name": "juan.fernandox.ramos.frayle@intel.com" } ], "execution": { "1": { "action": "1.- Create a yocto project image in a USB \nexample