Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 1 | [ |
| 2 | { |
| 3 | "test": { |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 4 | "@alias": "bsps-hw.bsps-hw.rpm_-__install_dependency_package", |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 5 | "author": [ |
| 6 | { |
| 7 | "email": "alexandru.c.georgescu@intel.com", |
| 8 | "name": "alexandru.c.georgescu@intel.com" |
| 9 | } |
| 10 | ], |
| 11 | "execution": { |
| 12 | "1": { |
| 13 | "action": "Get a not previously installed RPM package or build one on local machine, which should have run-time dependency.For example, \"mc\" (Midnight Commander, which is a visual file manager) should depend on \"ncurses-terminfo\". \n\n$ bitbake mc \n\n\n", |
| 14 | "expected_results": "" |
| 15 | }, |
| 16 | "2": { |
| 17 | "action": "Copy the package into a system folder (for example /home/root/rpm_packages). \n\n\n", |
| 18 | "expected_results": "" |
| 19 | }, |
| 20 | "3": { |
| 21 | "action": "Run \"rpm -ivh package_name\" and check the output, for example \"rpm -ivh mc.rpm*\" should report the dependency on \"ncurses-terminfo\".\n\n\n\n", |
| 22 | "expected_results": "3 . rpm command should report message when some RPM installation depends on other packages." |
| 23 | } |
| 24 | }, |
| 25 | "summary": "rpm_-__install_dependency_package" |
| 26 | } |
| 27 | }, |
| 28 | { |
| 29 | "test": { |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 30 | "@alias": "bsps-hw.bsps-hw.boot_and_install_from_USB", |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 31 | "author": [ |
| 32 | { |
| 33 | "email": "alexandru.c.georgescu@intel.com", |
| 34 | "name": "alexandru.c.georgescu@intel.com" |
| 35 | } |
| 36 | ], |
| 37 | "execution": { |
| 38 | "1": { |
| 39 | "action": "plugin usb which contains live image burned", |
| 40 | "expected_results": "User can choose install system from usb stick onto harddisk from boot menu or command line option \n" |
| 41 | }, |
| 42 | "2": { |
| 43 | "action": "configure device BIOS to firstly boot from USB if necessary", |
| 44 | "expected_results": "Installed system can boot up" |
| 45 | }, |
| 46 | "3": { |
| 47 | "action": "boot the device and select option \"Install\" from boot menu", |
| 48 | "expected_results": "" |
| 49 | }, |
| 50 | "4": { |
| 51 | "action": "proceed through default install process", |
| 52 | "expected_results": "" |
| 53 | }, |
| 54 | "5": { |
| 55 | "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.", |
| 56 | "expected_results": "" |
| 57 | } |
| 58 | }, |
| 59 | "summary": "boot_and_install_from_USB" |
| 60 | } |
| 61 | }, |
| 62 | { |
| 63 | "test": { |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 64 | "@alias": "bsps-hw.bsps-hw.live_boot_from_USB", |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 65 | "author": [ |
| 66 | { |
| 67 | "email": "juan.fernandox.ramos.frayle@intel.com", |
| 68 | "name": "juan.fernandox.ramos.frayle@intel.com" |
| 69 | } |
| 70 | ], |
| 71 | "execution": { |
| 72 | "1": { |
| 73 | "action": "Plugin usb which contains live image burned.", |
| 74 | "expected_results": "User can choose boot from live image on usb stick from boot menu or command line option" |
| 75 | }, |
| 76 | "2": { |
| 77 | "action": "Configure device BIOS to firstly boot from USB if necessary.", |
| 78 | "expected_results": "" |
| 79 | }, |
| 80 | "3": { |
| 81 | "action": "Reboot the device and boot from USB stick.", |
| 82 | "expected_results": "Live image can boot up with usb stick" |
| 83 | } |
| 84 | }, |
| 85 | "summary": "live_boot_from_USB" |
| 86 | } |
| 87 | }, |
| 88 | { |
| 89 | "test": { |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 90 | "@alias": "bsps-hw.bsps-hw.boot_from_runlevel_3", |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 91 | "author": [ |
| 92 | { |
| 93 | "email": "alexandru.c.georgescu@intel.com", |
| 94 | "name": "alexandru.c.georgescu@intel.com" |
| 95 | } |
| 96 | ], |
| 97 | "execution": { |
| 98 | "1": { |
| 99 | "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", |
| 100 | "expected_results": "" |
| 101 | }, |
| 102 | "2": { |
| 103 | "action": "Reboot system, and press \"Tab\" to enter \"grub\"", |
| 104 | "expected_results": "" |
| 105 | }, |
| 106 | "3": { |
| 107 | "action": "Get into the \"kernel\" line with the edit option \"e\" and add \"psplash=false text\" at the end line.", |
| 108 | "expected_results": "" |
| 109 | }, |
| 110 | "4": { |
| 111 | "action": "Press \"F10\" or \"ctrl+x\" to boot system", |
| 112 | "expected_results": "" |
| 113 | }, |
| 114 | "5": { |
| 115 | "action": "If system ask you for a login type \"root\"", |
| 116 | "expected_results": "System should boot to run level 3, showing the command prompt." |
| 117 | } |
| 118 | }, |
| 119 | "summary": "boot_from_runlevel_3" |
| 120 | } |
| 121 | }, |
| 122 | { |
| 123 | "test": { |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 124 | "@alias": "bsps-hw.bsps-hw.boot_from_runlevel_5", |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 125 | "author": [ |
| 126 | { |
| 127 | "email": "alexandru.c.georgescu@intel.com", |
| 128 | "name": "alexandru.c.georgescu@intel.com" |
| 129 | } |
| 130 | ], |
| 131 | "execution": { |
| 132 | "1": { |
| 133 | "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", |
| 134 | "expected_results": "" |
| 135 | }, |
| 136 | "2": { |
| 137 | "action": "Reboot system, and press \"Tab\" to enter \"grub\"", |
| 138 | "expected_results": "" |
| 139 | }, |
| 140 | "3": { |
| 141 | "action": "Get into the \"kernel\" line with the edit option \"e\" and add \"psplash=false text\" at the end line.", |
| 142 | "expected_results": "" |
| 143 | }, |
| 144 | "4": { |
| 145 | "action": "Press \"F10\" or \"ctrl+x\" to boot system \nNote: The test is only for sato image.", |
| 146 | "expected_results": "System should boot to runlevel 5 ." |
| 147 | } |
| 148 | }, |
| 149 | "summary": "boot_from_runlevel_5" |
| 150 | } |
| 151 | }, |
| 152 | { |
| 153 | "test": { |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 154 | "@alias": "bsps-hw.bsps-hw.shutdown_system", |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 155 | "author": [ |
| 156 | { |
| 157 | "email": "alexandru.c.georgescu@intel.com", |
| 158 | "name": "alexandru.c.georgescu@intel.com" |
| 159 | } |
| 160 | ], |
| 161 | "execution": { |
| 162 | "1": { |
| 163 | "action": "boot system", |
| 164 | "expected_results": "" |
| 165 | }, |
| 166 | "2": { |
| 167 | "action": "launch terminal and run \"shutdown -h now\" or \"poweroff\"", |
| 168 | "expected_results": "System can be shutdown successfully . " |
| 169 | } |
| 170 | }, |
| 171 | "summary": "shutdown_system" |
| 172 | } |
| 173 | }, |
| 174 | { |
| 175 | "test": { |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 176 | "@alias": "bsps-hw.bsps-hw.reboot_system", |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 177 | "author": [ |
| 178 | { |
| 179 | "email": "alexandru.c.georgescu@intel.com", |
| 180 | "name": "alexandru.c.georgescu@intel.com" |
| 181 | } |
| 182 | ], |
| 183 | "execution": { |
| 184 | "1": { |
| 185 | "action": "boot system", |
| 186 | "expected_results": "" |
| 187 | }, |
| 188 | "2": { |
| 189 | "action": "launch terminal and run \"reboot\"", |
| 190 | "expected_results": "System can reboot successfully . " |
| 191 | } |
| 192 | }, |
| 193 | "summary": "reboot_system" |
| 194 | } |
| 195 | }, |
| 196 | { |
| 197 | "test": { |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 198 | "@alias": "bsps-hw.bsps-hw.switch_among_multi_applications_and_desktop", |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 199 | "author": [ |
| 200 | { |
| 201 | "email": "alexandru.c.georgescu@intel.com", |
| 202 | "name": "alexandru.c.georgescu@intel.com" |
| 203 | } |
| 204 | ], |
| 205 | "execution": { |
| 206 | "1": { |
| 207 | "action": "launch several applications(like contacts, file manager, notes, etc)", |
| 208 | "expected_results": "user could switch among multi applications and desktop" |
| 209 | }, |
| 210 | "2": { |
| 211 | "action": "launch terminal", |
| 212 | "expected_results": "" |
| 213 | }, |
| 214 | "3": { |
| 215 | "action": "switch among multi applications and desktop", |
| 216 | "expected_results": "" |
| 217 | }, |
| 218 | "4": { |
| 219 | "action": "close applications \nNote: The case is for sato image only. ", |
| 220 | "expected_results": "" |
| 221 | } |
| 222 | }, |
| 223 | "summary": "switch_among_multi_applications_and_desktop" |
| 224 | } |
| 225 | }, |
| 226 | { |
| 227 | "test": { |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 228 | "@alias": "bsps-hw.bsps-hw.USB_-_mount", |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 229 | "author": [ |
| 230 | { |
| 231 | "email": "alexandru.c.georgescu@intel.com", |
| 232 | "name": "alexandru.c.georgescu@intel.com" |
| 233 | } |
| 234 | ], |
| 235 | "execution": { |
| 236 | "1": { |
| 237 | "action": "Boot system \n\n", |
| 238 | "expected_results": "" |
| 239 | }, |
| 240 | "2": { |
| 241 | "action": "Plug USB stick, it should be mount in /run/media/sd(x) If X-window system does not start and show USB device, then use the terminal to mount it, following the next steps: \na. Locate the usb stick (usually it is on /dev/sdb) \nb. Create a directory with \"mkdir stick\" (so you will have such a path as: /home/root/stick). \nc. Run the command \"mount /dev/sdb /home/root/stick\" to mount USB device on it. \n\n", |
| 242 | "expected_results": "USB device should be mounted in /run/media/sd(x) \nor in /home/root/stick \n\n" |
| 243 | }, |
| 244 | "3": { |
| 245 | "action": "Then you can access USB stick (/home/root/stick) via Terminal or GUI and try various commands and actions like \"cp\", \"mv\", \"touch\" and \"rm\". Type \"dmesg\" command and check for recent mounted devices.", |
| 246 | "expected_results": "Basic commands work properly. The system sends a notification in \"dmesg\" command, showing that the USB stick is accessible and the device is mounted ." |
| 247 | } |
| 248 | }, |
| 249 | "summary": "USB_-_mount" |
| 250 | } |
| 251 | }, |
| 252 | { |
| 253 | "test": { |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 254 | "@alias": "bsps-hw.bsps-hw.USB_-_read_files", |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 255 | "author": [ |
| 256 | { |
| 257 | "email": "alexandru.c.georgescu@intel.com", |
| 258 | "name": "alexandru.c.georgescu@intel.com" |
| 259 | } |
| 260 | ], |
| 261 | "execution": { |
| 262 | "1": { |
| 263 | "action": "boot system", |
| 264 | "expected_results": "view/copy successfully" |
| 265 | }, |
| 266 | "2": { |
| 267 | "action": "plug usb stick", |
| 268 | "expected_results": "" |
| 269 | }, |
| 270 | "3": { |
| 271 | "action": "view files in usb by file browser", |
| 272 | "expected_results": "" |
| 273 | }, |
| 274 | "4": { |
| 275 | "action": "copy some files from usb to local hardware", |
| 276 | "expected_results": "" |
| 277 | } |
| 278 | }, |
| 279 | "summary": "USB_-_read_files" |
| 280 | } |
| 281 | }, |
| 282 | { |
| 283 | "test": { |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 284 | "@alias": "bsps-hw.bsps-hw.USB_-_umount", |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 285 | "author": [ |
| 286 | { |
| 287 | "email": "alexandru.c.georgescu@intel.com", |
| 288 | "name": "alexandru.c.georgescu@intel.com" |
| 289 | } |
| 290 | ], |
| 291 | "execution": { |
| 292 | "1": { |
| 293 | "action": "boot system", |
| 294 | "expected_results": "usb directory in file browser automatically missed" |
| 295 | }, |
| 296 | "2": { |
| 297 | "action": "plug usb stick", |
| 298 | "expected_results": "" |
| 299 | }, |
| 300 | "3": { |
| 301 | "action": "view files in usb by file browser \n4.unplug usb", |
| 302 | "expected_results": "" |
| 303 | } |
| 304 | }, |
| 305 | "summary": "USB_-_umount" |
| 306 | } |
| 307 | }, |
| 308 | { |
| 309 | "test": { |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 310 | "@alias": "bsps-hw.bsps-hw.USB_-_write_files", |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 311 | "author": [ |
| 312 | { |
| 313 | "email": "alexandru.c.georgescu@intel.com", |
| 314 | "name": "alexandru.c.georgescu@intel.com" |
| 315 | } |
| 316 | ], |
| 317 | "execution": { |
| 318 | "1": { |
| 319 | "action": "boot system", |
| 320 | "expected_results": "create/copy successfully" |
| 321 | }, |
| 322 | "2": { |
| 323 | "action": "plug usb stick", |
| 324 | "expected_results": "" |
| 325 | }, |
| 326 | "3": { |
| 327 | "action": "create files in usb \n4.copy some files from local hardware to usb", |
| 328 | "expected_results": "" |
| 329 | } |
| 330 | }, |
| 331 | "summary": "USB_-_write_files" |
| 332 | } |
| 333 | }, |
| 334 | { |
| 335 | "test": { |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 336 | "@alias": "bsps-hw.bsps-hw.ethernet_static_ip_set_in_connman", |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 337 | "author": [ |
| 338 | { |
| 339 | "email": "alexandru.c.georgescu@intel.com", |
| 340 | "name": "alexandru.c.georgescu@intel.com" |
| 341 | } |
| 342 | ], |
| 343 | "execution": { |
| 344 | "1": { |
| 345 | "action": "Boot the system and check internet connection is on . ", |
| 346 | "expected_results": "" |
| 347 | }, |
| 348 | "2": { |
| 349 | "action": "Launch connmand-properties (up-right corner on desktop)", |
| 350 | "expected_results": "" |
| 351 | }, |
| 352 | "3": { |
| 353 | "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", |
| 354 | "expected_results": "" |
| 355 | }, |
| 356 | "4": { |
| 357 | "action": "Check the Network configuration with \"ifconfig\"", |
| 358 | "expected_results": "Static IP was set successfully \n" |
| 359 | }, |
| 360 | "5": { |
| 361 | "action": "ping to another IP adress", |
| 362 | "expected_results": "Ping works correclty\n" |
| 363 | } |
| 364 | }, |
| 365 | "summary": "ethernet_static_ip_set_in_connman" |
| 366 | } |
| 367 | }, |
| 368 | { |
| 369 | "test": { |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 370 | "@alias": "bsps-hw.bsps-hw.ethernet_get_IP_in_connman_via_DHCP", |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 371 | "author": [ |
| 372 | { |
| 373 | "email": "alexandru.c.georgescu@intel.com", |
| 374 | "name": "alexandru.c.georgescu@intel.com" |
| 375 | } |
| 376 | ], |
| 377 | "execution": { |
| 378 | "1": { |
| 379 | "action": "Launch connmand-properties (up-right corner on your desktop). ", |
| 380 | "expected_results": "" |
| 381 | }, |
| 382 | "2": { |
| 383 | "action": "Check if Ethernet device can work properly with static IP, doing \"ping XXX.XXX.XXX.XXX\", once this is set.", |
| 384 | "expected_results": "Ping executed successfully . \n\n" |
| 385 | }, |
| 386 | "3": { |
| 387 | "action": "Then choose DHCP method for Ethernet device in connmand-properties.", |
| 388 | "expected_results": "" |
| 389 | }, |
| 390 | "4": { |
| 391 | "action": "Check with 'ifconfig\" and \"ping\" if Ethernet device get IP address via DHCP.", |
| 392 | "expected_results": "Ethernet device can get dynamic IP address via DHCP in connmand ." |
| 393 | } |
| 394 | }, |
| 395 | "summary": "ethernet_get_IP_in_connman_via_DHCP" |
| 396 | } |
| 397 | }, |
| 398 | { |
| 399 | "test": { |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 400 | "@alias": "bsps-hw.bsps-hw.connman_offline_mode_in_connman-gnome", |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 401 | "author": [ |
| 402 | { |
| 403 | "email": "alexandru.c.georgescu@intel.com", |
| 404 | "name": "alexandru.c.georgescu@intel.com" |
| 405 | } |
| 406 | ], |
| 407 | "execution": { |
| 408 | "1": { |
| 409 | "action": "Launch connman-properties after system booting \n\n", |
| 410 | "expected_results": "" |
| 411 | }, |
| 412 | "2": { |
| 413 | "action": "choose \"offline mode\" and check the connection of all network interfaces ", |
| 414 | "expected_results": "All connection should be off after clicking \"offline mode\" . " |
| 415 | } |
| 416 | }, |
| 417 | "summary": "connman_offline_mode_in_connman-gnome" |
| 418 | } |
| 419 | }, |
| 420 | { |
| 421 | "test": { |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 422 | "@alias": "bsps-hw.bsps-hw.X_server_can_start_up_with_runlevel_5_boot", |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 423 | "author": [ |
| 424 | { |
| 425 | "email": "alexandru.c.georgescu@intel.com", |
| 426 | "name": "alexandru.c.georgescu@intel.com" |
| 427 | } |
| 428 | ], |
| 429 | "execution": { |
| 430 | "1": { |
| 431 | "action": "boot up system with default runlevel \n\n", |
| 432 | "expected_results": "X server can start up well and desktop display has no problem . \n\n" |
| 433 | }, |
| 434 | "2": { |
| 435 | "action": "type runlevel at command prompt", |
| 436 | "expected_results": "Output:N 5" |
| 437 | } |
| 438 | }, |
| 439 | "summary": "X_server_can_start_up_with_runlevel_5_boot" |
| 440 | } |
| 441 | }, |
| 442 | { |
| 443 | "test": { |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 444 | "@alias": "bsps-hw.bsps-hw.standby", |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 445 | "author": [ |
| 446 | { |
| 447 | "email": "alexandru.c.georgescu@intel.com", |
| 448 | "name": "alexandru.c.georgescu@intel.com" |
| 449 | } |
| 450 | ], |
| 451 | "execution": { |
| 452 | "1": { |
| 453 | "action": "boot system and launch terminal; check output of \"date\" and launch script \"continue.sh\"", |
| 454 | "expected_results": "" |
| 455 | }, |
| 456 | "2": { |
| 457 | "action": "echo \"mem\" > /sys/power/state", |
| 458 | "expected_results": "" |
| 459 | }, |
| 460 | "3": { |
| 461 | "action": "After system go into S3 mode, move mouse or press any key to make it resume (on NUC press power button)", |
| 462 | "expected_results": "" |
| 463 | }, |
| 464 | "4": { |
| 465 | "action": "Check \"date\" and script \"continue.sh\"", |
| 466 | "expected_results": "" |
| 467 | }, |
| 468 | "5": { |
| 469 | "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 ", |
| 470 | "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." |
| 471 | } |
| 472 | }, |
| 473 | "summary": "standby" |
| 474 | } |
| 475 | }, |
| 476 | { |
| 477 | "test": { |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 478 | "@alias": "bsps-hw.bsps-hw.check_CPU_utilization_after_standby", |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 479 | "author": [ |
| 480 | { |
| 481 | "email": "alexandru.c.georgescu@intel.com", |
| 482 | "name": "alexandru.c.georgescu@intel.com" |
| 483 | } |
| 484 | ], |
| 485 | "execution": { |
| 486 | "1": { |
| 487 | "action": "Start up system", |
| 488 | "expected_results": "" |
| 489 | }, |
| 490 | "2": { |
| 491 | "action": "run \"top\" command and check if there is any process eating CPU time", |
| 492 | "expected_results": "" |
| 493 | }, |
| 494 | "3": { |
| 495 | "action": "make system into standby and resume it", |
| 496 | "expected_results": "" |
| 497 | }, |
| 498 | "4": { |
| 499 | "action": "run \"top\" command and check if there is any difference with the data before standby", |
| 500 | "expected_results": "There should be no big difference before/after standby with \"top\" . " |
| 501 | } |
| 502 | }, |
| 503 | "summary": "check_CPU_utilization_after_standby" |
| 504 | } |
| 505 | }, |
| 506 | { |
| 507 | "test": { |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 508 | "@alias": "bsps-hw.bsps-hw.Test_if_LAN_device_works_well_after_resume_from_suspend_state", |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 509 | "author": [ |
| 510 | { |
| 511 | "email": "alexandru.c.georgescu@intel.com", |
| 512 | "name": "alexandru.c.georgescu@intel.com" |
| 513 | } |
| 514 | ], |
| 515 | "execution": { |
| 516 | "1": { |
| 517 | "action": "boot system and launch terminal", |
| 518 | "expected_results": "" |
| 519 | }, |
| 520 | "2": { |
| 521 | "action": "echo \"mem\" > /sys/power/state", |
| 522 | "expected_results": "" |
| 523 | }, |
| 524 | "3": { |
| 525 | "action": "After system go into S3 mode, move mouse or press any key to make it resume", |
| 526 | "expected_results": "" |
| 527 | }, |
| 528 | "4": { |
| 529 | "action": "check ping status \n\nNote: This TC apply only for core-image-full-cmd and core-image-lsb .", |
| 530 | "expected_results": "ping should always work before/after standby" |
| 531 | } |
| 532 | }, |
| 533 | "summary": "Test_if_LAN_device_works_well_after_resume_from_suspend_state" |
| 534 | } |
| 535 | }, |
| 536 | { |
| 537 | "test": { |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 538 | "@alias": "bsps-hw.bsps-hw.Test_if_usb_hid_device_works_well_after_resume_from_suspend_state", |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 539 | "author": [ |
| 540 | { |
| 541 | "email": "alexandru.c.georgescu@intel.com", |
| 542 | "name": "alexandru.c.georgescu@intel.com" |
| 543 | } |
| 544 | ], |
| 545 | "execution": { |
| 546 | "1": { |
| 547 | "action": "boot system and launch terminal", |
| 548 | "expected_results": "" |
| 549 | }, |
| 550 | "2": { |
| 551 | "action": "echo \"mem\" > /sys/power/state", |
| 552 | "expected_results": "" |
| 553 | }, |
| 554 | "3": { |
| 555 | "action": "After system go into S3 mode, resume the device by pressing the power button or using HID devices", |
| 556 | "expected_results": "Devices resumes " |
| 557 | }, |
| 558 | "4": { |
| 559 | "action": "check usb mouse and keyboard", |
| 560 | "expected_results": "Usb mouse and keyboard should work" |
| 561 | } |
| 562 | }, |
| 563 | "summary": "Test_if_usb_hid_device_works_well_after_resume_from_suspend_state" |
| 564 | } |
| 565 | }, |
| 566 | { |
| 567 | "test": { |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 568 | "@alias": "bsps-hw.bsps-hw.click_terminal_icon_on_X_desktop", |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 569 | "author": [ |
| 570 | { |
| 571 | "email": "alexandru.c.georgescu@intel.com", |
| 572 | "name": "alexandru.c.georgescu@intel.com" |
| 573 | } |
| 574 | ], |
| 575 | "execution": { |
| 576 | "1": { |
| 577 | "action": "After system launch and X start up, click terminal icon on desktop", |
| 578 | "expected_results": "" |
| 579 | }, |
| 580 | "2": { |
| 581 | "action": "Check if only one terminal window launched and no other problem met", |
| 582 | "expected_results": "There should be no problem after launching terminal . " |
| 583 | } |
| 584 | }, |
| 585 | "summary": "click_terminal_icon_on_X_desktop" |
| 586 | } |
| 587 | }, |
| 588 | { |
| 589 | "test": { |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 590 | "@alias": "bsps-hw.bsps-hw.Add_multiple_files_in_media_player", |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 591 | "author": [ |
| 592 | { |
| 593 | "email": "alexandru.c.georgescu@intel.com", |
| 594 | "name": "alexandru.c.georgescu@intel.com" |
| 595 | } |
| 596 | ], |
| 597 | "execution": { |
| 598 | "1": { |
| 599 | "action": "Launch media player", |
| 600 | "expected_results": "" |
| 601 | }, |
| 602 | "2": { |
| 603 | "action": "Add multiple files(5 files) in media player at same time (ogg or wav)", |
| 604 | "expected_results": "" |
| 605 | }, |
| 606 | "3": { |
| 607 | "action": "Verify the sound.", |
| 608 | "expected_results": "Media player should be OK with this action, it reproduce files correctly." |
| 609 | } |
| 610 | }, |
| 611 | "summary": "Add_multiple_files_in_media_player" |
| 612 | } |
| 613 | }, |
| 614 | { |
| 615 | "test": { |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 616 | "@alias": "bsps-hw.bsps-hw.check_bash_in_image", |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 617 | "author": [ |
| 618 | { |
| 619 | "email": "alexandru.c.georgescu@intel.com", |
| 620 | "name": "alexandru.c.georgescu@intel.com" |
| 621 | } |
| 622 | ], |
| 623 | "execution": { |
| 624 | "1": { |
| 625 | "action": "After system is up, check if bash command exists with command \"which bash\"", |
| 626 | "expected_results": "bash command should exist in image giving something as below \"/bin/bash\"" |
| 627 | } |
| 628 | }, |
| 629 | "summary": "check_bash_in_image" |
| 630 | } |
| 631 | }, |
| 632 | { |
| 633 | "test": { |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 634 | "@alias": "bsps-hw.bsps-hw.MicroSD_-__mount", |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 635 | "author": [ |
| 636 | { |
| 637 | "email": "alexandru.c.georgescu@intel.com", |
| 638 | "name": "alexandru.c.georgescu@intel.com" |
| 639 | } |
| 640 | ], |
| 641 | "execution": { |
| 642 | "1": { |
| 643 | "action": "boot system", |
| 644 | "expected_results": "system notify that MicroSDis accessible" |
| 645 | }, |
| 646 | "2": { |
| 647 | "action": "plug MicroSD card", |
| 648 | "expected_results": "" |
| 649 | } |
| 650 | }, |
| 651 | "summary": "MicroSD_-__mount" |
| 652 | } |
| 653 | }, |
| 654 | { |
| 655 | "test": { |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 656 | "@alias": "bsps-hw.bsps-hw.MicroSD_-__read_files", |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 657 | "author": [ |
| 658 | { |
| 659 | "email": "alexandru.c.georgescu@intel.com", |
| 660 | "name": "alexandru.c.georgescu@intel.com" |
| 661 | } |
| 662 | ], |
| 663 | "execution": { |
| 664 | "1": { |
| 665 | "action": "boot system", |
| 666 | "expected_results": "view/copy successfully" |
| 667 | }, |
| 668 | "2": { |
| 669 | "action": "plug MicroSD card", |
| 670 | "expected_results": "" |
| 671 | }, |
| 672 | "3": { |
| 673 | "action": "view files inMicroSD by file browser", |
| 674 | "expected_results": "" |
| 675 | }, |
| 676 | "4": { |
| 677 | "action": "copy some files fromMicroSD to local hardware", |
| 678 | "expected_results": "" |
| 679 | } |
| 680 | }, |
| 681 | "summary": "MicroSD_-__read_files" |
| 682 | } |
| 683 | }, |
| 684 | { |
| 685 | "test": { |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 686 | "@alias": "bsps-hw.bsps-hw.MicroSD_-__umount", |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 687 | "author": [ |
| 688 | { |
| 689 | "email": "alexandru.c.georgescu@intel.com", |
| 690 | "name": "alexandru.c.georgescu@intel.com" |
| 691 | } |
| 692 | ], |
| 693 | "execution": { |
| 694 | "1": { |
| 695 | "action": "boot system", |
| 696 | "expected_results": "MicroSD in file browser automatically missed . " |
| 697 | }, |
| 698 | "2": { |
| 699 | "action": "plug MicroSD card", |
| 700 | "expected_results": "" |
| 701 | }, |
| 702 | "3": { |
| 703 | "action": "view files in MicroSDby file browser", |
| 704 | "expected_results": "" |
| 705 | }, |
| 706 | "4": { |
| 707 | "action": "unplug MicroSD", |
| 708 | "expected_results": "" |
| 709 | } |
| 710 | }, |
| 711 | "summary": "MicroSD_-__umount" |
| 712 | } |
| 713 | }, |
| 714 | { |
| 715 | "test": { |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 716 | "@alias": "bsps-hw.bsps-hw.MicroSD_-__write_files", |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 717 | "author": [ |
| 718 | { |
| 719 | "email": "alexandru.c.georgescu@intel.com", |
| 720 | "name": "alexandru.c.georgescu@intel.com" |
| 721 | } |
| 722 | ], |
| 723 | "execution": { |
| 724 | "1": { |
| 725 | "action": "boot system", |
| 726 | "expected_results": "create/copy successfully" |
| 727 | }, |
| 728 | "2": { |
| 729 | "action": "plug MicroSD card", |
| 730 | "expected_results": "" |
| 731 | }, |
| 732 | "3": { |
| 733 | "action": "create files in MicroSD", |
| 734 | "expected_results": "" |
| 735 | }, |
| 736 | "4": { |
| 737 | "action": "copy some files from local hardware to MicroSD", |
| 738 | "expected_results": "" |
| 739 | } |
| 740 | }, |
| 741 | "summary": "MicroSD_-__write_files" |
| 742 | } |
| 743 | }, |
| 744 | { |
| 745 | "test": { |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 746 | "@alias": "bsps-hw.bsps-hw.video_-_libva_check_(ogg_video_play)", |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 747 | "author": [ |
| 748 | { |
| 749 | "email": "alexandru.c.georgescu@intel.com", |
| 750 | "name": "alexandru.c.georgescu@intel.com" |
| 751 | } |
| 752 | ], |
| 753 | "execution": { |
| 754 | "1": { |
| 755 | "action": "check if libva is installed on system (or libogg)", |
| 756 | "expected_results": "" |
| 757 | }, |
| 758 | "2": { |
| 759 | "action": "copy sample ogg file to system", |
| 760 | "expected_results": "" |
| 761 | }, |
| 762 | "3": { |
| 763 | "action": "launch media player can play the ogg file", |
| 764 | "expected_results": "ogg file can be played without problem when libva is used (or libogg) " |
| 765 | } |
| 766 | }, |
| 767 | "summary": "video_-_libva_check_(ogg_video_play)" |
| 768 | } |
| 769 | }, |
| 770 | { |
| 771 | "test": { |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 772 | "@alias": "bsps-hw.bsps-hw.media_player_-_play_video_(ogv)", |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 773 | "author": [ |
| 774 | { |
| 775 | "email": "alexandru.c.georgescu@intel.com", |
| 776 | "name": "alexandru.c.georgescu@intel.com" |
| 777 | } |
| 778 | ], |
| 779 | "execution": { |
| 780 | "1": { |
| 781 | "action": "copy sample ogv file to system", |
| 782 | "expected_results": "" |
| 783 | }, |
| 784 | "2": { |
| 785 | "action": "launch media player and make sure it can play the ogv file", |
| 786 | "expected_results": "ogv file can be played without problem" |
| 787 | } |
| 788 | }, |
| 789 | "summary": "media_player_-_play_video_(ogv)" |
| 790 | } |
| 791 | }, |
| 792 | { |
| 793 | "test": { |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 794 | "@alias": "bsps-hw.bsps-hw.media_player_-_stop/play_button_(ogv)", |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 795 | "author": [ |
| 796 | { |
| 797 | "email": "alexandru.c.georgescu@intel.com", |
| 798 | "name": "alexandru.c.georgescu@intel.com" |
| 799 | } |
| 800 | ], |
| 801 | "execution": { |
| 802 | "1": { |
| 803 | "action": "copy sample ogv file to system", |
| 804 | "expected_results": "" |
| 805 | }, |
| 806 | "2": { |
| 807 | "action": "launch media player can play the ogv file", |
| 808 | "expected_results": "" |
| 809 | }, |
| 810 | "3": { |
| 811 | "action": "click \"stop\" button to stop playing", |
| 812 | "expected_results": "" |
| 813 | }, |
| 814 | "4": { |
| 815 | "action": "click \"start\" button to resume playing", |
| 816 | "expected_results": "ogv file can be start/stop without problem" |
| 817 | } |
| 818 | }, |
| 819 | "summary": "media_player_-_stop/play_button_(ogv)" |
| 820 | } |
| 821 | }, |
| 822 | { |
| 823 | "test": { |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 824 | "@alias": "bsps-hw.bsps-hw.audio_-_play_(ogg)_with_HDMI", |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 825 | "author": [ |
| 826 | { |
| 827 | "email": "alexandru.c.georgescu@intel.com", |
| 828 | "name": "alexandru.c.georgescu@intel.com" |
| 829 | } |
| 830 | ], |
| 831 | "execution": { |
| 832 | "1": { |
| 833 | "action": "copy sample ogg file to system", |
| 834 | "expected_results": "" |
| 835 | }, |
| 836 | "2": { |
| 837 | "action": "connect system with a monitor with HDMI", |
| 838 | "expected_results": "" |
| 839 | }, |
| 840 | "3": { |
| 841 | "action": "launch media player and play the ogg file", |
| 842 | "expected_results": "ogg file can be played without problem with HDMI" |
| 843 | } |
| 844 | }, |
| 845 | "summary": "audio_-_play_(ogg)_with_HDMI" |
| 846 | } |
| 847 | }, |
| 848 | { |
| 849 | "test": { |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 850 | "@alias": "bsps-hw.bsps-hw.audio_-_play_(wav)_with_HDMI", |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 851 | "author": [ |
| 852 | { |
| 853 | "email": "alexandru.c.georgescu@intel.com", |
| 854 | "name": "alexandru.c.georgescu@intel.com" |
| 855 | } |
| 856 | ], |
| 857 | "execution": { |
| 858 | "1": { |
| 859 | "action": "copy sample wav file to system", |
| 860 | "expected_results": "" |
| 861 | }, |
| 862 | "2": { |
| 863 | "action": "connect system with a monitor with HDMI", |
| 864 | "expected_results": "" |
| 865 | }, |
| 866 | "3": { |
| 867 | "action": "launch media player and play the wav file", |
| 868 | "expected_results": "wav file can be played without problem, with HDMI" |
| 869 | } |
| 870 | }, |
| 871 | "summary": "audio_-_play_(wav)_with_HDMI" |
| 872 | } |
| 873 | }, |
| 874 | { |
| 875 | "test": { |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 876 | "@alias": "bsps-hw.bsps-hw.Graphics_-_ABAT", |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 877 | "author": [ |
| 878 | { |
| 879 | "email": "alexandru.c.georgescu@intel.com", |
| 880 | "name": "alexandru.c.georgescu@intel.com" |
| 881 | } |
| 882 | ], |
| 883 | "execution": { |
| 884 | "1": { |
| 885 | "action": "Download ABAT test suite from internal git repository, git clone git://tinderbox.sh.intel.com/git/abat", |
| 886 | "expected_results": "" |
| 887 | }, |
| 888 | "2": { |
| 889 | "action": "Apply following patch to make it work on yocto environment", |
| 890 | "expected_results": "" |
| 891 | }, |
| 892 | "3": { |
| 893 | "action": "Run \"./abat.sh\" to run ABAT test refer to abat.patch", |
| 894 | "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]" |
| 895 | } |
| 896 | }, |
| 897 | "summary": "Graphics_-_ABAT" |
| 898 | } |
| 899 | }, |
| 900 | { |
| 901 | "test": { |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 902 | "@alias": "bsps-hw.bsps-hw.Graphics_-_x11perf_-_2D", |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 903 | "author": [ |
| 904 | { |
| 905 | "email": "alexandru.c.georgescu@intel.com", |
| 906 | "name": "alexandru.c.georgescu@intel.com" |
| 907 | } |
| 908 | ], |
| 909 | "execution": { |
| 910 | "1": { |
| 911 | "action": "Run \"x11perf -aa10text\" and \"x11perf -rgb10text\"", |
| 912 | "expected_results": "" |
| 913 | }, |
| 914 | "2": { |
| 915 | "action": "Get the FPS result and compare it with upstream graphics data on Sandybridge", |
| 916 | "expected_results": "There should not be big regression between Yocto and upstream linux . " |
| 917 | } |
| 918 | }, |
| 919 | "summary": "Graphics_-_x11perf_-_2D" |
| 920 | } |
| 921 | }, |
| 922 | { |
| 923 | "test": { |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 924 | "@alias": "bsps-hw.bsps-hw.Check_if_SATA_disk_can_work_correctly", |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 925 | "author": [ |
| 926 | { |
| 927 | "email": "yi.zhao@windriver.com", |
| 928 | "name": "yi.zhao@windriver.com" |
| 929 | } |
| 930 | ], |
| 931 | "execution": { |
| 932 | "1": { |
| 933 | "action": "Run fdisk command to create partition on SATA disk. ", |
| 934 | "expected_results": "The SATA device can mount, umount, read and write. " |
| 935 | }, |
| 936 | "2": { |
| 937 | "action": "Mount/Umount \n mke2fs /dev/sda1 \n mount -t ext2 /dev/sda1 /mnt/disk \n umount /mnt/disk", |
| 938 | "expected_results": "" |
| 939 | }, |
| 940 | "3": { |
| 941 | "action": "Read/Write (filesystem) \n touch /mnt/disk/test.txt \n echo abcd > /mnt/disk/test.txt \n cat /mnt/disk/test.txt", |
| 942 | "expected_results": "" |
| 943 | }, |
| 944 | "4": { |
| 945 | "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", |
| 946 | "expected_results": "" |
| 947 | } |
| 948 | }, |
| 949 | "summary": "Check_if_SATA_disk_can_work_correctly" |
| 950 | } |
| 951 | }, |
| 952 | { |
| 953 | "test": { |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 954 | "@alias": "bsps-hw.bsps-hw.Install_and_boot_from_USB-drive_to_HDD-drive", |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 955 | "author": [ |
| 956 | { |
| 957 | "email": "david.israelx.rodriguez.castellanos@intel.com", |
| 958 | "name": "david.israelx.rodriguez.castellanos@intel.com" |
| 959 | } |
| 960 | ], |
| 961 | "execution": { |
| 962 | "1": { |
| 963 | "action": "Get a HDD drive.", |
| 964 | "expected_results": "User can choose install system from USB stick on HDD drive from boot menu or command line option \n" |
| 965 | }, |
| 966 | "2": { |
| 967 | "action": "Plugin USB which contains live image burned (USB1).", |
| 968 | "expected_results": "Installed system can boot up." |
| 969 | }, |
| 970 | "3": { |
| 971 | "action": "Configure device BIOS to firstly boot from USB if necessary", |
| 972 | "expected_results": "" |
| 973 | }, |
| 974 | "4": { |
| 975 | "action": "Boot the device and select option \"Install\" from boot menu.", |
| 976 | "expected_results": "" |
| 977 | }, |
| 978 | "5": { |
| 979 | "action": "Make sure that the divice in which image is going to be installed is the HDD drive.", |
| 980 | "expected_results": "" |
| 981 | }, |
| 982 | "6": { |
| 983 | "action": "Proceed through default install process.", |
| 984 | "expected_results": "" |
| 985 | }, |
| 986 | "7": { |
| 987 | "action": "Remove USB1, and reboot into new installed system.", |
| 988 | "expected_results": "" |
| 989 | } |
| 990 | }, |
| 991 | "summary": "Install_and_boot_from_USB-drive_to_HDD-drive" |
| 992 | } |
| 993 | }, |
| 994 | { |
| 995 | "test": { |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 996 | "@alias": "bsps-hw.bsps-hw.Install_and_boot_from_USB-drive_to_SD-drive", |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 997 | "author": [ |
| 998 | { |
| 999 | "email": "david.israelx.rodriguez.castellanos@intel.com", |
| 1000 | "name": "david.israelx.rodriguez.castellanos@intel.com" |
| 1001 | } |
| 1002 | ], |
| 1003 | "execution": { |
| 1004 | "1": { |
| 1005 | "action": "Get a SD-drive with enough free space to install an image.", |
| 1006 | "expected_results": "User can choose install system from USB stick on SD-drive from boot menu or command line option. \n" |
| 1007 | }, |
| 1008 | "2": { |
| 1009 | "action": "Plugin USB which contains live image burned (USB1).", |
| 1010 | "expected_results": "Installed system can boot up." |
| 1011 | }, |
| 1012 | "3": { |
| 1013 | "action": "Configure device BIOS to firstly boot from USB if necessary", |
| 1014 | "expected_results": "" |
| 1015 | }, |
| 1016 | "4": { |
| 1017 | "action": "Boot the device and select option \"Install\" from boot menu.", |
| 1018 | "expected_results": "" |
| 1019 | }, |
| 1020 | "5": { |
| 1021 | "action": "Make sure that the device in which image is going to be installed is the SD-drive.", |
| 1022 | "expected_results": "" |
| 1023 | }, |
| 1024 | "6": { |
| 1025 | "action": "Proceed through default install process.", |
| 1026 | "expected_results": "" |
| 1027 | }, |
| 1028 | "7": { |
| 1029 | "action": "Remove USB1, and reboot into new installed system.", |
| 1030 | "expected_results": "" |
| 1031 | } |
| 1032 | }, |
| 1033 | "summary": "Install_and_boot_from_USB-drive_to_SD-drive" |
| 1034 | } |
| 1035 | }, |
| 1036 | { |
| 1037 | "test": { |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 1038 | "@alias": "bsps-hw.bsps-hw.Test_boot_on_serial_communication_SD", |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 1039 | "author": [ |
| 1040 | { |
| 1041 | "email": "juan.fernandox.ramos.frayle@intel.com", |
| 1042 | "name": "juan.fernandox.ramos.frayle@intel.com" |
| 1043 | } |
| 1044 | ], |
| 1045 | "execution": { |
| 1046 | "1": { |
| 1047 | "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\"", |
| 1048 | "expected_results": "Verify you can create a live image \n" |
| 1049 | } |
| 1050 | }, |
| 1051 | "summary": "Test_boot_on_serial_communication_SD" |
| 1052 | } |
| 1053 | }, |
| 1054 | { |
| 1055 | "test": { |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 1056 | "@alias": "bsps-hw.bsps-hw.Test_boot_on_serial_communication_HDD", |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 1057 | "author": [ |
| 1058 | { |
| 1059 | "email": "juan.fernandox.ramos.frayle@intel.com", |
| 1060 | "name": "juan.fernandox.ramos.frayle@intel.com" |
| 1061 | } |
| 1062 | ], |
| 1063 | "execution": { |
| 1064 | "1": { |
| 1065 | "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\"> ", |
| 1066 | "expected_results": "Verify you can create a live image \n" |
| 1067 | } |
| 1068 | }, |
| 1069 | "summary": "Test_boot_on_serial_communication_HDD" |
| 1070 | } |
| 1071 | }, |
| 1072 | { |
| 1073 | "test": { |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 1074 | "@alias": "bsps-hw.bsps-hw.Test_boot_on_serial_communication_USB", |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 1075 | "author": [ |
| 1076 | { |
| 1077 | "email": "juan.fernandox.ramos.frayle@intel.com", |
| 1078 | "name": "juan.fernandox.ramos.frayle@intel.com" |
| 1079 | } |
| 1080 | ], |
| 1081 | "execution": { |
| 1082 | "1": { |
| 1083 | "action": "1.- Create a yocto project image in a USB \nexample <dd if= core-image-sato-sdk.hddimg of =/dev/sdb>", |
| 1084 | "expected_results": "Verify you can create a live image \n" |
| 1085 | }, |
| 1086 | "2": { |
| 1087 | "action": "Configure a connection like shown in the link avobe: \nhttps://wiki.yoctoproject.org/wiki/MinnowMax_board_Serial_video_connection_guide\n\n", |
| 1088 | "expected_results": "Video signal is present and not delayed \n" |
| 1089 | }, |
| 1090 | "3": { |
| 1091 | "action": " Verify the Minow Max board is connected to the host", |
| 1092 | "expected_results": "Verify the system boot ok and no errors are present \n" |
| 1093 | }, |
| 1094 | "4": { |
| 1095 | "action": " Boot the system to desktop", |
| 1096 | "expected_results": " Check that a valid IP is retrieved" |
| 1097 | }, |
| 1098 | "5": { |
| 1099 | "action": " Open a Terminal and check the IP \nIn Terminal type $ifconfig\" ", |
| 1100 | "expected_results": "" |
| 1101 | } |
| 1102 | }, |
| 1103 | "summary": "Test_boot_on_serial_communication_USB" |
| 1104 | } |
| 1105 | }, |
| 1106 | { |
| 1107 | "test": { |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 1108 | "@alias": "bsps-hw.bsps-hw.Test_Seek_bar_and_volume_control", |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 1109 | "author": [ |
| 1110 | { |
| 1111 | "email": "juan.fernandox.ramos.frayle@intel.com", |
| 1112 | "name": "juan.fernandox.ramos.frayle@intel.com" |
| 1113 | } |
| 1114 | ], |
| 1115 | "execution": { |
| 1116 | "1": { |
| 1117 | "action": "Run media player and load a media file ", |
| 1118 | "expected_results": "Media player correctly open audio/video file \n" |
| 1119 | }, |
| 1120 | "2": { |
| 1121 | "action": "Verify that seek and volume control are present ", |
| 1122 | "expected_results": "Seek bar and volume control are present \n" |
| 1123 | }, |
| 1124 | "3": { |
| 1125 | "action": "Verify that selecting the speaker icon opens the volume control", |
| 1126 | "expected_results": "Volume control bar must appear \n" |
| 1127 | }, |
| 1128 | "4": { |
| 1129 | "action": "Verify you can increase and decrease volume level with the volume control", |
| 1130 | "expected_results": "Volume level must be increased and decreased \n" |
| 1131 | }, |
| 1132 | "5": { |
| 1133 | "action": "Observe that slider on the seek bar moves along with the video/audio play", |
| 1134 | "expected_results": "Video/audio file can be played and slider moves along with the video/audio play \n" |
| 1135 | }, |
| 1136 | "6": { |
| 1137 | "action": "Verify you can navigate the video with the slider back and forward", |
| 1138 | "expected_results": "The slider can move back and forward in the seek bar \n" |
| 1139 | }, |
| 1140 | "7": { |
| 1141 | "action": "Verify that seek and volume control are functional in full screen mode", |
| 1142 | "expected_results": "Press the full screen mode icon, seek bar and volume control must work fine \n" |
| 1143 | }, |
| 1144 | "8": { |
| 1145 | "action": "Verify that pressing << or >> while playing a file makes the slide goes slow/backwards or faster", |
| 1146 | "expected_results": "Verify << and >> works correctly" |
| 1147 | } |
| 1148 | }, |
| 1149 | "summary": "Test_Seek_bar_and_volume_control" |
| 1150 | } |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 1151 | }, |
| 1152 | { |
| 1153 | "test": { |
| 1154 | "@alias": "bsps-hw.bsps-hw.Check_if_watchdog_can_reset_the_target_system", |
| 1155 | "author": [ |
| 1156 | { |
| 1157 | "email": "yi.zhao@windriver.com", |
| 1158 | "name": "yi.zhao@windriver.com" |
| 1159 | } |
| 1160 | ], |
| 1161 | "execution": { |
| 1162 | "1": { |
| 1163 | "action": "1.Check if watchdog device exist in /dev/ directory. Run command echo 1 > /dev/watchdog and wait for 60s. Then, the target will reboot.", |
| 1164 | "expected_results": "The watchdog device exist in /dev/ directory and can reboot the target.\n" |
| 1165 | } |
| 1166 | }, |
| 1167 | "summary": "Check_if_watchdog_can_reset_the_target_system" |
| 1168 | } |
| 1169 | }, |
| 1170 | { |
| 1171 | "test": { |
| 1172 | "@alias": "bsps-hw.bsps-hw.Check_if_RTC_(Real_Time_Clock)_can_work_correctly", |
| 1173 | "author": [ |
| 1174 | { |
| 1175 | "email": "yi.zhao@windriver.com", |
| 1176 | "name": "yi.zhao@windriver.com" |
| 1177 | } |
| 1178 | ], |
| 1179 | "execution": { |
| 1180 | "1": { |
| 1181 | "action": "Read time from RTC registers. root@localhost:/root> hwclock -r Sun Mar 22 04:05:47 1970 -0.001948 seconds ", |
| 1182 | "expected_results": "Can read and set the time from RTC.\n" |
| 1183 | }, |
| 1184 | "2": { |
| 1185 | "action": "Set system current time root@localhost:/root> date 062309452008 ", |
| 1186 | "expected_results": "" |
| 1187 | }, |
| 1188 | "3": { |
| 1189 | "action": "Synchronize the system current time to RTC registers root@localhost:/root> hwclock -w ", |
| 1190 | "expected_results": "" |
| 1191 | }, |
| 1192 | "4": { |
| 1193 | "action": "Read time from RTC registers root@localhost:/root> hwclock -r ", |
| 1194 | "expected_results": "" |
| 1195 | }, |
| 1196 | "5": { |
| 1197 | "action": "Reboot target and read time from RTC again\n", |
| 1198 | "expected_results": "" |
| 1199 | } |
| 1200 | }, |
| 1201 | "summary": "Check_if_RTC_(Real_Time_Clock)_can_work_correctly" |
| 1202 | } |
| 1203 | }, |
| 1204 | { |
| 1205 | "test": { |
| 1206 | "@alias": "bsps-hw.bsps-hw.Check_if_target_can_support_EEPROM", |
| 1207 | "author": [ |
| 1208 | { |
| 1209 | "email": "yi.zhao@windriver.com", |
| 1210 | "name": "yi.zhao@windriver.com" |
| 1211 | } |
| 1212 | ], |
| 1213 | "execution": { |
| 1214 | "1": { |
| 1215 | "action": "Check eeprom device exist in /sys/bus/i2c/devices/ ", |
| 1216 | "expected_results": "Hexdump can read data from eeprom.\n" |
| 1217 | }, |
| 1218 | "2": { |
| 1219 | "action": "Run \"hexdump eeprom\" commandroot@mpc8315e-rdb:/sys/bus/i2c/devices/1-0051> hexdump eeprom0000000 9210 0b02 0211 0009 0b52 0108 0c00 3c000000010 6978 6930 6911 208c 7003 3c3c 00f0 8381\u2026\n", |
| 1220 | "expected_results": "" |
| 1221 | } |
| 1222 | }, |
| 1223 | "summary": "Check_if_target_can_support_EEPROM" |
| 1224 | } |
| 1225 | }, |
| 1226 | { |
| 1227 | "test": { |
| 1228 | "@alias": "bsps-hw.bsps-hw.System_can_boot_up_via_NFS", |
| 1229 | "author": [ |
| 1230 | { |
| 1231 | "email": "yi.zhao@windriver.com", |
| 1232 | "name": "yi.zhao@windriver.com" |
| 1233 | } |
| 1234 | ], |
| 1235 | "execution": { |
| 1236 | "1": { |
| 1237 | "action": "Connect the board's first serial port to your workstation and then start up your favourite serial terminal so that you will be able to interact with the serial console. If you don't have a favourite, picocom is suggested: $ picocom /dev/ttyS0 -b 115200 ", |
| 1238 | "expected_results": "The system can boot up without problem\n" |
| 1239 | }, |
| 1240 | "2": { |
| 1241 | "action": "Power up or reset the board and press a key on the terminal when prompted to get to the U-Boot command line ", |
| 1242 | "expected_results": "" |
| 1243 | }, |
| 1244 | "3": { |
| 1245 | "action": "Set up the environment in U-Boot: => setenv ipaddr => setenv serverip ", |
| 1246 | "expected_results": "" |
| 1247 | }, |
| 1248 | "4": { |
| 1249 | "action": "Download the kernel and boot: => tftp tftp $loadaddr vmlinux => bootoctlinux $loadaddr coremask=0x3 root=/dev/nfs rw nfsroot=: ip=::::edgerouter:eth0:off mtdparts=phys_mapped_flash:512k(boot0),512k(boot1),64k@3072k(eeprom)\n", |
| 1250 | "expected_results": "" |
| 1251 | } |
| 1252 | }, |
| 1253 | "summary": "System_can_boot_up_via_NFS" |
| 1254 | } |
| 1255 | }, |
| 1256 | { |
| 1257 | "test": { |
| 1258 | "@alias": "bsps-hw.bsps-hw.Boot_from_JFFS2_image", |
| 1259 | "author": [ |
| 1260 | { |
| 1261 | "email": "yi.zhao@windriver.com", |
| 1262 | "name": "yi.zhao@windriver.com" |
| 1263 | } |
| 1264 | ], |
| 1265 | "execution": { |
| 1266 | "1": { |
| 1267 | "action": "First boot the board with NFS root. ", |
| 1268 | "expected_results": "The system can boot up without problem\n" |
| 1269 | }, |
| 1270 | "2": { |
| 1271 | "action": "Install mtd-utils package. Erase the MTD partition which will be used as root: $ flash_eraseall /dev/mtd3 ", |
| 1272 | "expected_results": "" |
| 1273 | }, |
| 1274 | "3": { |
| 1275 | "action": "Copy the JFFS2 image to the MTD partition: $ flashcp core-image-minimal-mpc8315e-rdb.jffs2 /dev/mtd3 ", |
| 1276 | "expected_results": "" |
| 1277 | }, |
| 1278 | "4": { |
| 1279 | "action": "Then reboot the board and set up the environment in U-Boot: => setenv bootargs root=/dev/mtdblock3 rootfstype=jffs2 console=ttyS0,115200 ", |
| 1280 | "expected_results": "" |
| 1281 | } |
| 1282 | }, |
| 1283 | "summary": "Boot_from_JFFS2_image" |
| 1284 | } |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 1285 | } |
| 1286 | ] |