blob: 5c5b9b50bb9b4ec96407ff1fd67507a46203a423 [file] [log] [blame]
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08001[
2 {
3 "test": {
Brad Bishop19323692019-04-05 15:28:33 -04004 "@alias": "bsps-hw.bsps-hw.boot_and_install_from_USB",
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08005 "author": [
6 {
7 "email": "alexandru.c.georgescu@intel.com",
8 "name": "alexandru.c.georgescu@intel.com"
9 }
10 ],
11 "execution": {
12 "1": {
13 "action": "plugin usb which contains live image burned",
14 "expected_results": "User can choose install system from usb stick onto harddisk from boot menu or command line option \n"
15 },
16 "2": {
17 "action": "configure device BIOS to firstly boot from USB if necessary",
18 "expected_results": "Installed system can boot up"
19 },
20 "3": {
21 "action": "boot the device and select option \"Install\" from boot menu",
22 "expected_results": ""
23 },
24 "4": {
25 "action": "proceed through default install process",
26 "expected_results": ""
27 },
28 "5": {
29 "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.",
30 "expected_results": ""
31 }
32 },
33 "summary": "boot_and_install_from_USB"
34 }
35 },
36 {
37 "test": {
Brad Bishop19323692019-04-05 15:28:33 -040038 "@alias": "bsps-hw.bsps-hw.live_boot_from_USB",
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080039 "author": [
40 {
41 "email": "juan.fernandox.ramos.frayle@intel.com",
42 "name": "juan.fernandox.ramos.frayle@intel.com"
43 }
44 ],
45 "execution": {
46 "1": {
47 "action": "Plugin usb which contains live image burned.",
48 "expected_results": "User can choose boot from live image on usb stick from boot menu or command line option"
49 },
50 "2": {
51 "action": "Configure device BIOS to firstly boot from USB if necessary.",
52 "expected_results": ""
53 },
54 "3": {
55 "action": "Reboot the device and boot from USB stick.",
56 "expected_results": "Live image can boot up with usb stick"
57 }
58 },
59 "summary": "live_boot_from_USB"
60 }
61 },
62 {
63 "test": {
Brad Bishop19323692019-04-05 15:28:33 -040064 "@alias": "bsps-hw.bsps-hw.boot_from_runlevel_3",
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080065 "author": [
66 {
67 "email": "alexandru.c.georgescu@intel.com",
68 "name": "alexandru.c.georgescu@intel.com"
69 }
70 ],
71 "execution": {
72 "1": {
73 "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",
74 "expected_results": ""
75 },
76 "2": {
77 "action": "Reboot system, and press \"Tab\" to enter \"grub\"",
78 "expected_results": ""
79 },
80 "3": {
81 "action": "Get into the \"kernel\" line with the edit option \"e\" and add \"psplash=false text\" at the end line.",
82 "expected_results": ""
83 },
84 "4": {
85 "action": "Press \"F10\" or \"ctrl+x\" to boot system",
86 "expected_results": ""
87 },
88 "5": {
89 "action": "If system ask you for a login type \"root\"",
90 "expected_results": "System should boot to run level 3, showing the command prompt."
91 }
92 },
93 "summary": "boot_from_runlevel_3"
94 }
95 },
96 {
97 "test": {
Brad Bishop19323692019-04-05 15:28:33 -040098 "@alias": "bsps-hw.bsps-hw.boot_from_runlevel_5",
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080099 "author": [
100 {
101 "email": "alexandru.c.georgescu@intel.com",
102 "name": "alexandru.c.georgescu@intel.com"
103 }
104 ],
105 "execution": {
106 "1": {
107 "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",
108 "expected_results": ""
109 },
110 "2": {
111 "action": "Reboot system, and press \"Tab\" to enter \"grub\"",
112 "expected_results": ""
113 },
114 "3": {
115 "action": "Get into the \"kernel\" line with the edit option \"e\" and add \"psplash=false text\" at the end line.",
116 "expected_results": ""
117 },
118 "4": {
119 "action": "Press \"F10\" or \"ctrl+x\" to boot system \nNote: The test is only for sato image.",
120 "expected_results": "System should boot to runlevel 5 ."
121 }
122 },
123 "summary": "boot_from_runlevel_5"
124 }
125 },
126 {
127 "test": {
Brad Bishop19323692019-04-05 15:28:33 -0400128 "@alias": "bsps-hw.bsps-hw.shutdown_system",
Brad Bishop1a4b7ee2018-12-16 17:11:34 -0800129 "author": [
130 {
131 "email": "alexandru.c.georgescu@intel.com",
132 "name": "alexandru.c.georgescu@intel.com"
133 }
134 ],
135 "execution": {
136 "1": {
137 "action": "boot system",
138 "expected_results": ""
139 },
140 "2": {
141 "action": "launch terminal and run \"shutdown -h now\" or \"poweroff\"",
142 "expected_results": "System can be shutdown successfully . "
143 }
144 },
145 "summary": "shutdown_system"
146 }
147 },
148 {
149 "test": {
Brad Bishop19323692019-04-05 15:28:33 -0400150 "@alias": "bsps-hw.bsps-hw.switch_among_multi_applications_and_desktop",
Brad Bishop1a4b7ee2018-12-16 17:11:34 -0800151 "author": [
152 {
153 "email": "alexandru.c.georgescu@intel.com",
154 "name": "alexandru.c.georgescu@intel.com"
155 }
156 ],
157 "execution": {
158 "1": {
159 "action": "launch several applications(like contacts, file manager, notes, etc)",
160 "expected_results": "user could switch among multi applications and desktop"
161 },
162 "2": {
163 "action": "launch terminal",
164 "expected_results": ""
165 },
166 "3": {
167 "action": "switch among multi applications and desktop",
168 "expected_results": ""
169 },
170 "4": {
171 "action": "close applications \nNote: The case is for sato image only. ",
172 "expected_results": ""
173 }
174 },
175 "summary": "switch_among_multi_applications_and_desktop"
176 }
177 },
178 {
179 "test": {
Brad Bishop19323692019-04-05 15:28:33 -0400180 "@alias": "bsps-hw.bsps-hw.ethernet_static_ip_set_in_connman",
Brad Bishop1a4b7ee2018-12-16 17:11:34 -0800181 "author": [
182 {
183 "email": "alexandru.c.georgescu@intel.com",
184 "name": "alexandru.c.georgescu@intel.com"
185 }
186 ],
187 "execution": {
188 "1": {
189 "action": "Boot the system and check internet connection is on . ",
190 "expected_results": ""
191 },
192 "2": {
193 "action": "Launch connmand-properties (up-right corner on desktop)",
194 "expected_results": ""
195 },
196 "3": {
197 "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",
198 "expected_results": ""
199 },
200 "4": {
201 "action": "Check the Network configuration with \"ifconfig\"",
202 "expected_results": "Static IP was set successfully \n"
203 },
204 "5": {
205 "action": "ping to another IP adress",
206 "expected_results": "Ping works correclty\n"
207 }
208 },
209 "summary": "ethernet_static_ip_set_in_connman"
210 }
211 },
212 {
213 "test": {
Brad Bishop19323692019-04-05 15:28:33 -0400214 "@alias": "bsps-hw.bsps-hw.ethernet_get_IP_in_connman_via_DHCP",
Brad Bishop1a4b7ee2018-12-16 17:11:34 -0800215 "author": [
216 {
217 "email": "alexandru.c.georgescu@intel.com",
218 "name": "alexandru.c.georgescu@intel.com"
219 }
220 ],
221 "execution": {
222 "1": {
223 "action": "Launch connmand-properties (up-right corner on your desktop). ",
224 "expected_results": ""
225 },
226 "2": {
227 "action": "Check if Ethernet device can work properly with static IP, doing \"ping XXX.XXX.XXX.XXX\", once this is set.",
228 "expected_results": "Ping executed successfully . \n\n"
229 },
230 "3": {
231 "action": "Then choose DHCP method for Ethernet device in connmand-properties.",
232 "expected_results": ""
233 },
234 "4": {
235 "action": "Check with 'ifconfig\" and \"ping\" if Ethernet device get IP address via DHCP.",
236 "expected_results": "Ethernet device can get dynamic IP address via DHCP in connmand ."
237 }
238 },
239 "summary": "ethernet_get_IP_in_connman_via_DHCP"
240 }
241 },
242 {
243 "test": {
Brad Bishop19323692019-04-05 15:28:33 -0400244 "@alias": "bsps-hw.bsps-hw.connman_offline_mode_in_connman-gnome",
Brad Bishop1a4b7ee2018-12-16 17:11:34 -0800245 "author": [
246 {
247 "email": "alexandru.c.georgescu@intel.com",
248 "name": "alexandru.c.georgescu@intel.com"
249 }
250 ],
251 "execution": {
252 "1": {
253 "action": "Launch connman-properties after system booting \n\n",
254 "expected_results": ""
255 },
256 "2": {
257 "action": "choose \"offline mode\" and check the connection of all network interfaces ",
258 "expected_results": "All connection should be off after clicking \"offline mode\" . "
259 }
260 },
261 "summary": "connman_offline_mode_in_connman-gnome"
262 }
263 },
264 {
265 "test": {
Brad Bishop19323692019-04-05 15:28:33 -0400266 "@alias": "bsps-hw.bsps-hw.X_server_can_start_up_with_runlevel_5_boot",
Brad Bishop1a4b7ee2018-12-16 17:11:34 -0800267 "author": [
268 {
269 "email": "alexandru.c.georgescu@intel.com",
270 "name": "alexandru.c.georgescu@intel.com"
271 }
272 ],
273 "execution": {
274 "1": {
275 "action": "boot up system with default runlevel \n\n",
276 "expected_results": "X server can start up well and desktop display has no problem . \n\n"
277 },
278 "2": {
279 "action": "type runlevel at command prompt",
280 "expected_results": "Output:N 5"
281 }
282 },
283 "summary": "X_server_can_start_up_with_runlevel_5_boot"
284 }
285 },
286 {
287 "test": {
Brad Bishop19323692019-04-05 15:28:33 -0400288 "@alias": "bsps-hw.bsps-hw.standby",
Brad Bishop1a4b7ee2018-12-16 17:11:34 -0800289 "author": [
290 {
291 "email": "alexandru.c.georgescu@intel.com",
292 "name": "alexandru.c.georgescu@intel.com"
293 }
294 ],
295 "execution": {
296 "1": {
297 "action": "boot system and launch terminal; check output of \"date\" and launch script \"continue.sh\"",
298 "expected_results": ""
299 },
300 "2": {
301 "action": "echo \"mem\" > /sys/power/state",
302 "expected_results": ""
303 },
304 "3": {
305 "action": "After system go into S3 mode, move mouse or press any key to make it resume (on NUC press power button)",
306 "expected_results": ""
307 },
308 "4": {
309 "action": "Check \"date\" and script \"continue.sh\"",
310 "expected_results": ""
311 },
312 "5": {
313 "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 ",
314 "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."
315 }
316 },
317 "summary": "standby"
318 }
319 },
320 {
321 "test": {
Brad Bishop19323692019-04-05 15:28:33 -0400322 "@alias": "bsps-hw.bsps-hw.check_CPU_utilization_after_standby",
Brad Bishop1a4b7ee2018-12-16 17:11:34 -0800323 "author": [
324 {
325 "email": "alexandru.c.georgescu@intel.com",
326 "name": "alexandru.c.georgescu@intel.com"
327 }
328 ],
329 "execution": {
330 "1": {
331 "action": "Start up system",
332 "expected_results": ""
333 },
334 "2": {
335 "action": "run \"top\" command and check if there is any process eating CPU time",
336 "expected_results": ""
337 },
338 "3": {
339 "action": "make system into standby and resume it",
340 "expected_results": ""
341 },
342 "4": {
343 "action": "run \"top\" command and check if there is any difference with the data before standby",
344 "expected_results": "There should be no big difference before/after standby with \"top\" . "
345 }
346 },
347 "summary": "check_CPU_utilization_after_standby"
348 }
349 },
350 {
351 "test": {
Brad Bishop19323692019-04-05 15:28:33 -0400352 "@alias": "bsps-hw.bsps-hw.Test_if_LAN_device_works_well_after_resume_from_suspend_state",
Brad Bishop1a4b7ee2018-12-16 17:11:34 -0800353 "author": [
354 {
355 "email": "alexandru.c.georgescu@intel.com",
356 "name": "alexandru.c.georgescu@intel.com"
357 }
358 ],
359 "execution": {
360 "1": {
361 "action": "boot system and launch terminal",
362 "expected_results": ""
363 },
364 "2": {
365 "action": "echo \"mem\" > /sys/power/state",
366 "expected_results": ""
367 },
368 "3": {
369 "action": "After system go into S3 mode, move mouse or press any key to make it resume",
370 "expected_results": ""
371 },
372 "4": {
Brad Bishop79641f22019-09-10 07:20:22 -0400373 "action": "check ping status \n\nNote: This TC apply only for core-image-full-cmd.",
Brad Bishop1a4b7ee2018-12-16 17:11:34 -0800374 "expected_results": "ping should always work before/after standby"
375 }
376 },
377 "summary": "Test_if_LAN_device_works_well_after_resume_from_suspend_state"
378 }
379 },
380 {
381 "test": {
Brad Bishop19323692019-04-05 15:28:33 -0400382 "@alias": "bsps-hw.bsps-hw.Test_if_usb_hid_device_works_well_after_resume_from_suspend_state",
Brad Bishop1a4b7ee2018-12-16 17:11:34 -0800383 "author": [
384 {
385 "email": "alexandru.c.georgescu@intel.com",
386 "name": "alexandru.c.georgescu@intel.com"
387 }
388 ],
389 "execution": {
390 "1": {
391 "action": "boot system and launch terminal",
392 "expected_results": ""
393 },
394 "2": {
395 "action": "echo \"mem\" > /sys/power/state",
396 "expected_results": ""
397 },
398 "3": {
399 "action": "After system go into S3 mode, resume the device by pressing the power button or using HID devices",
400 "expected_results": "Devices resumes "
401 },
402 "4": {
403 "action": "check usb mouse and keyboard",
404 "expected_results": "Usb mouse and keyboard should work"
405 }
406 },
407 "summary": "Test_if_usb_hid_device_works_well_after_resume_from_suspend_state"
408 }
409 },
410 {
411 "test": {
Brad Bishop19323692019-04-05 15:28:33 -0400412 "@alias": "bsps-hw.bsps-hw.click_terminal_icon_on_X_desktop",
Brad Bishop1a4b7ee2018-12-16 17:11:34 -0800413 "author": [
414 {
415 "email": "alexandru.c.georgescu@intel.com",
416 "name": "alexandru.c.georgescu@intel.com"
417 }
418 ],
419 "execution": {
420 "1": {
421 "action": "After system launch and X start up, click terminal icon on desktop",
422 "expected_results": ""
423 },
424 "2": {
425 "action": "Check if only one terminal window launched and no other problem met",
426 "expected_results": "There should be no problem after launching terminal . "
427 }
428 },
429 "summary": "click_terminal_icon_on_X_desktop"
430 }
431 },
432 {
433 "test": {
Brad Bishop19323692019-04-05 15:28:33 -0400434 "@alias": "bsps-hw.bsps-hw.Add_multiple_files_in_media_player",
Brad Bishop1a4b7ee2018-12-16 17:11:34 -0800435 "author": [
436 {
437 "email": "alexandru.c.georgescu@intel.com",
438 "name": "alexandru.c.georgescu@intel.com"
439 }
440 ],
441 "execution": {
442 "1": {
443 "action": "Launch media player",
444 "expected_results": ""
445 },
446 "2": {
447 "action": "Add multiple files(5 files) in media player at same time (ogg or wav)",
448 "expected_results": ""
449 },
450 "3": {
451 "action": "Verify the sound.",
452 "expected_results": "Media player should be OK with this action, it reproduce files correctly."
453 }
454 },
455 "summary": "Add_multiple_files_in_media_player"
456 }
457 },
458 {
459 "test": {
Brad Bishop19323692019-04-05 15:28:33 -0400460 "@alias": "bsps-hw.bsps-hw.video_-_libva_check_(ogg_video_play)",
Brad Bishop1a4b7ee2018-12-16 17:11:34 -0800461 "author": [
462 {
463 "email": "alexandru.c.georgescu@intel.com",
464 "name": "alexandru.c.georgescu@intel.com"
465 }
466 ],
467 "execution": {
468 "1": {
469 "action": "check if libva is installed on system (or libogg)",
470 "expected_results": ""
471 },
472 "2": {
473 "action": "copy sample ogg file to system",
474 "expected_results": ""
475 },
476 "3": {
477 "action": "launch media player can play the ogg file",
478 "expected_results": "ogg file can be played without problem when libva is used (or libogg) "
479 }
480 },
481 "summary": "video_-_libva_check_(ogg_video_play)"
482 }
483 },
484 {
485 "test": {
Brad Bishop19323692019-04-05 15:28:33 -0400486 "@alias": "bsps-hw.bsps-hw.media_player_-_play_video_(ogv)",
Brad Bishop1a4b7ee2018-12-16 17:11:34 -0800487 "author": [
488 {
489 "email": "alexandru.c.georgescu@intel.com",
490 "name": "alexandru.c.georgescu@intel.com"
491 }
492 ],
493 "execution": {
494 "1": {
495 "action": "copy sample ogv file to system",
496 "expected_results": ""
497 },
498 "2": {
499 "action": "launch media player and make sure it can play the ogv file",
500 "expected_results": "ogv file can be played without problem"
501 }
502 },
503 "summary": "media_player_-_play_video_(ogv)"
504 }
505 },
506 {
507 "test": {
Brad Bishop19323692019-04-05 15:28:33 -0400508 "@alias": "bsps-hw.bsps-hw.media_player_-_stop/play_button_(ogv)",
Brad Bishop1a4b7ee2018-12-16 17:11:34 -0800509 "author": [
510 {
511 "email": "alexandru.c.georgescu@intel.com",
512 "name": "alexandru.c.georgescu@intel.com"
513 }
514 ],
515 "execution": {
516 "1": {
517 "action": "copy sample ogv file to system",
518 "expected_results": ""
519 },
520 "2": {
521 "action": "launch media player can play the ogv file",
522 "expected_results": ""
523 },
524 "3": {
525 "action": "click \"stop\" button to stop playing",
526 "expected_results": ""
527 },
528 "4": {
529 "action": "click \"start\" button to resume playing",
530 "expected_results": "ogv file can be start/stop without problem"
531 }
532 },
533 "summary": "media_player_-_stop/play_button_(ogv)"
534 }
535 },
536 {
537 "test": {
Brad Bishop19323692019-04-05 15:28:33 -0400538 "@alias": "bsps-hw.bsps-hw.audio_-_play_(ogg)_with_HDMI",
Brad Bishop1a4b7ee2018-12-16 17:11:34 -0800539 "author": [
540 {
541 "email": "alexandru.c.georgescu@intel.com",
542 "name": "alexandru.c.georgescu@intel.com"
543 }
544 ],
545 "execution": {
546 "1": {
547 "action": "copy sample ogg file to system",
548 "expected_results": ""
549 },
550 "2": {
551 "action": "connect system with a monitor with HDMI",
552 "expected_results": ""
553 },
554 "3": {
555 "action": "launch media player and play the ogg file",
556 "expected_results": "ogg file can be played without problem with HDMI"
557 }
558 },
559 "summary": "audio_-_play_(ogg)_with_HDMI"
560 }
561 },
562 {
563 "test": {
Brad Bishop19323692019-04-05 15:28:33 -0400564 "@alias": "bsps-hw.bsps-hw.audio_-_play_(wav)_with_HDMI",
Brad Bishop1a4b7ee2018-12-16 17:11:34 -0800565 "author": [
566 {
567 "email": "alexandru.c.georgescu@intel.com",
568 "name": "alexandru.c.georgescu@intel.com"
569 }
570 ],
571 "execution": {
572 "1": {
573 "action": "copy sample wav file to system",
574 "expected_results": ""
575 },
576 "2": {
577 "action": "connect system with a monitor with HDMI",
578 "expected_results": ""
579 },
580 "3": {
581 "action": "launch media player and play the wav file",
582 "expected_results": "wav file can be played without problem, with HDMI"
583 }
584 },
585 "summary": "audio_-_play_(wav)_with_HDMI"
586 }
587 },
588 {
589 "test": {
Brad Bishop19323692019-04-05 15:28:33 -0400590 "@alias": "bsps-hw.bsps-hw.Graphics_-_ABAT",
Brad Bishop1a4b7ee2018-12-16 17:11:34 -0800591 "author": [
592 {
593 "email": "alexandru.c.georgescu@intel.com",
594 "name": "alexandru.c.georgescu@intel.com"
595 }
596 ],
597 "execution": {
598 "1": {
599 "action": "Download ABAT test suite from internal git repository, git clone git://tinderbox.sh.intel.com/git/abat",
600 "expected_results": ""
601 },
602 "2": {
603 "action": "Apply following patch to make it work on yocto environment",
604 "expected_results": ""
605 },
606 "3": {
607 "action": "Run \"./abat.sh\" to run ABAT test refer to abat.patch",
608 "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]"
609 }
610 },
611 "summary": "Graphics_-_ABAT"
612 }
613 },
614 {
615 "test": {
Brad Bishop19323692019-04-05 15:28:33 -0400616 "@alias": "bsps-hw.bsps-hw.Graphics_-_x11perf_-_2D",
Brad Bishop1a4b7ee2018-12-16 17:11:34 -0800617 "author": [
618 {
619 "email": "alexandru.c.georgescu@intel.com",
620 "name": "alexandru.c.georgescu@intel.com"
621 }
622 ],
623 "execution": {
624 "1": {
625 "action": "Run \"x11perf -aa10text\" and \"x11perf -rgb10text\"",
626 "expected_results": ""
627 },
628 "2": {
629 "action": "Get the FPS result and compare it with upstream graphics data on Sandybridge",
630 "expected_results": "There should not be big regression between Yocto and upstream linux . "
631 }
632 },
633 "summary": "Graphics_-_x11perf_-_2D"
634 }
635 },
636 {
637 "test": {
Brad Bishop19323692019-04-05 15:28:33 -0400638 "@alias": "bsps-hw.bsps-hw.Check_if_SATA_disk_can_work_correctly",
Brad Bishop1a4b7ee2018-12-16 17:11:34 -0800639 "author": [
640 {
641 "email": "yi.zhao@windriver.com",
642 "name": "yi.zhao@windriver.com"
643 }
644 ],
645 "execution": {
646 "1": {
647 "action": "Run fdisk command to create partition on SATA disk. ",
648 "expected_results": "The SATA device can mount, umount, read and write. "
649 },
650 "2": {
651 "action": "Mount/Umount \n mke2fs /dev/sda1 \n mount -t ext2 /dev/sda1 /mnt/disk \n umount /mnt/disk",
652 "expected_results": ""
653 },
654 "3": {
655 "action": "Read/Write (filesystem) \n touch /mnt/disk/test.txt \n echo abcd > /mnt/disk/test.txt \n cat /mnt/disk/test.txt",
656 "expected_results": ""
657 },
658 "4": {
659 "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",
660 "expected_results": ""
661 }
662 },
663 "summary": "Check_if_SATA_disk_can_work_correctly"
664 }
665 },
666 {
667 "test": {
Brad Bishop19323692019-04-05 15:28:33 -0400668 "@alias": "bsps-hw.bsps-hw.Install_and_boot_from_USB-drive_to_HDD-drive",
Brad Bishop1a4b7ee2018-12-16 17:11:34 -0800669 "author": [
670 {
671 "email": "david.israelx.rodriguez.castellanos@intel.com",
672 "name": "david.israelx.rodriguez.castellanos@intel.com"
673 }
674 ],
675 "execution": {
676 "1": {
677 "action": "Get a HDD drive.",
678 "expected_results": "User can choose install system from USB stick on HDD drive from boot menu or command line option \n"
679 },
680 "2": {
681 "action": "Plugin USB which contains live image burned (USB1).",
682 "expected_results": "Installed system can boot up."
683 },
684 "3": {
685 "action": "Configure device BIOS to firstly boot from USB if necessary",
686 "expected_results": ""
687 },
688 "4": {
689 "action": "Boot the device and select option \"Install\" from boot menu.",
690 "expected_results": ""
691 },
692 "5": {
693 "action": "Make sure that the divice in which image is going to be installed is the HDD drive.",
694 "expected_results": ""
695 },
696 "6": {
697 "action": "Proceed through default install process.",
698 "expected_results": ""
699 },
700 "7": {
701 "action": "Remove USB1, and reboot into new installed system.",
702 "expected_results": ""
703 }
704 },
705 "summary": "Install_and_boot_from_USB-drive_to_HDD-drive"
706 }
707 },
708 {
709 "test": {
Brad Bishop19323692019-04-05 15:28:33 -0400710 "@alias": "bsps-hw.bsps-hw.Install_and_boot_from_USB-drive_to_SD-drive",
Brad Bishop1a4b7ee2018-12-16 17:11:34 -0800711 "author": [
712 {
713 "email": "david.israelx.rodriguez.castellanos@intel.com",
714 "name": "david.israelx.rodriguez.castellanos@intel.com"
715 }
716 ],
717 "execution": {
718 "1": {
719 "action": "Get a SD-drive with enough free space to install an image.",
720 "expected_results": "User can choose install system from USB stick on SD-drive from boot menu or command line option. \n"
721 },
722 "2": {
723 "action": "Plugin USB which contains live image burned (USB1).",
724 "expected_results": "Installed system can boot up."
725 },
726 "3": {
727 "action": "Configure device BIOS to firstly boot from USB if necessary",
728 "expected_results": ""
729 },
730 "4": {
731 "action": "Boot the device and select option \"Install\" from boot menu.",
732 "expected_results": ""
733 },
734 "5": {
735 "action": "Make sure that the device in which image is going to be installed is the SD-drive.",
736 "expected_results": ""
737 },
738 "6": {
739 "action": "Proceed through default install process.",
740 "expected_results": ""
741 },
742 "7": {
743 "action": "Remove USB1, and reboot into new installed system.",
744 "expected_results": ""
745 }
746 },
747 "summary": "Install_and_boot_from_USB-drive_to_SD-drive"
748 }
749 },
750 {
751 "test": {
Brad Bishop19323692019-04-05 15:28:33 -0400752 "@alias": "bsps-hw.bsps-hw.Test_boot_on_serial_communication_SD",
Brad Bishop1a4b7ee2018-12-16 17:11:34 -0800753 "author": [
754 {
755 "email": "juan.fernandox.ramos.frayle@intel.com",
756 "name": "juan.fernandox.ramos.frayle@intel.com"
757 }
758 ],
759 "execution": {
760 "1": {
761 "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\"",
762 "expected_results": "Verify you can create a live image \n"
763 }
764 },
765 "summary": "Test_boot_on_serial_communication_SD"
766 }
767 },
768 {
769 "test": {
Brad Bishop19323692019-04-05 15:28:33 -0400770 "@alias": "bsps-hw.bsps-hw.Test_boot_on_serial_communication_HDD",
Brad Bishop1a4b7ee2018-12-16 17:11:34 -0800771 "author": [
772 {
773 "email": "juan.fernandox.ramos.frayle@intel.com",
774 "name": "juan.fernandox.ramos.frayle@intel.com"
775 }
776 ],
777 "execution": {
778 "1": {
779 "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\"> ",
780 "expected_results": "Verify you can create a live image \n"
781 }
782 },
783 "summary": "Test_boot_on_serial_communication_HDD"
784 }
785 },
786 {
787 "test": {
Brad Bishop19323692019-04-05 15:28:33 -0400788 "@alias": "bsps-hw.bsps-hw.Test_boot_on_serial_communication_USB",
Brad Bishop1a4b7ee2018-12-16 17:11:34 -0800789 "author": [
790 {
791 "email": "juan.fernandox.ramos.frayle@intel.com",
792 "name": "juan.fernandox.ramos.frayle@intel.com"
793 }
794 ],
795 "execution": {
796 "1": {
797 "action": "1.- Create a yocto project image in a USB \nexample <dd if= core-image-sato-sdk.hddimg of =/dev/sdb>",
798 "expected_results": "Verify you can create a live image \n"
799 },
800 "2": {
801 "action": "Configure a connection like shown in the link avobe: \nhttps://wiki.yoctoproject.org/wiki/MinnowMax_board_Serial_video_connection_guide\n\n",
802 "expected_results": "Video signal is present and not delayed \n"
803 },
804 "3": {
805 "action": " Verify the Minow Max board is connected to the host",
806 "expected_results": "Verify the system boot ok and no errors are present \n"
807 },
808 "4": {
809 "action": " Boot the system to desktop",
810 "expected_results": " Check that a valid IP is retrieved"
811 },
812 "5": {
813 "action": " Open a Terminal and check the IP \nIn Terminal type $ifconfig\" ",
814 "expected_results": ""
815 }
816 },
817 "summary": "Test_boot_on_serial_communication_USB"
818 }
819 },
820 {
821 "test": {
Brad Bishop19323692019-04-05 15:28:33 -0400822 "@alias": "bsps-hw.bsps-hw.Test_Seek_bar_and_volume_control",
Brad Bishop1a4b7ee2018-12-16 17:11:34 -0800823 "author": [
824 {
825 "email": "juan.fernandox.ramos.frayle@intel.com",
826 "name": "juan.fernandox.ramos.frayle@intel.com"
827 }
828 ],
829 "execution": {
830 "1": {
831 "action": "Run media player and load a media file ",
832 "expected_results": "Media player correctly open audio/video file \n"
833 },
834 "2": {
835 "action": "Verify that seek and volume control are present ",
836 "expected_results": "Seek bar and volume control are present \n"
837 },
838 "3": {
839 "action": "Verify that selecting the speaker icon opens the volume control",
840 "expected_results": "Volume control bar must appear \n"
841 },
842 "4": {
843 "action": "Verify you can increase and decrease volume level with the volume control",
844 "expected_results": "Volume level must be increased and decreased \n"
845 },
846 "5": {
847 "action": "Observe that slider on the seek bar moves along with the video/audio play",
848 "expected_results": "Video/audio file can be played and slider moves along with the video/audio play \n"
849 },
850 "6": {
851 "action": "Verify you can navigate the video with the slider back and forward",
852 "expected_results": "The slider can move back and forward in the seek bar \n"
853 },
854 "7": {
855 "action": "Verify that seek and volume control are functional in full screen mode",
856 "expected_results": "Press the full screen mode icon, seek bar and volume control must work fine \n"
857 },
858 "8": {
859 "action": "Verify that pressing << or >> while playing a file makes the slide goes slow/backwards or faster",
860 "expected_results": "Verify << and >> works correctly"
861 }
862 },
863 "summary": "Test_Seek_bar_and_volume_control"
864 }
Brad Bishop19323692019-04-05 15:28:33 -0400865 },
866 {
867 "test": {
868 "@alias": "bsps-hw.bsps-hw.Check_if_watchdog_can_reset_the_target_system",
869 "author": [
870 {
871 "email": "yi.zhao@windriver.com",
872 "name": "yi.zhao@windriver.com"
873 }
874 ],
875 "execution": {
876 "1": {
877 "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.",
878 "expected_results": "The watchdog device exist in /dev/ directory and can reboot the target.\n"
879 }
880 },
881 "summary": "Check_if_watchdog_can_reset_the_target_system"
882 }
883 },
884 {
885 "test": {
886 "@alias": "bsps-hw.bsps-hw.Check_if_RTC_(Real_Time_Clock)_can_work_correctly",
887 "author": [
888 {
889 "email": "yi.zhao@windriver.com",
890 "name": "yi.zhao@windriver.com"
891 }
892 ],
893 "execution": {
894 "1": {
895 "action": "Read time from RTC registers. root@localhost:/root> hwclock -r Sun Mar 22 04:05:47 1970 -0.001948 seconds ",
896 "expected_results": "Can read and set the time from RTC.\n"
897 },
898 "2": {
899 "action": "Set system current time root@localhost:/root> date 062309452008 ",
900 "expected_results": ""
901 },
902 "3": {
903 "action": "Synchronize the system current time to RTC registers root@localhost:/root> hwclock -w ",
904 "expected_results": ""
905 },
906 "4": {
907 "action": "Read time from RTC registers root@localhost:/root> hwclock -r ",
908 "expected_results": ""
909 },
910 "5": {
911 "action": "Reboot target and read time from RTC again\n",
912 "expected_results": ""
913 }
914 },
915 "summary": "Check_if_RTC_(Real_Time_Clock)_can_work_correctly"
916 }
917 },
918 {
919 "test": {
920 "@alias": "bsps-hw.bsps-hw.Check_if_target_can_support_EEPROM",
921 "author": [
922 {
923 "email": "yi.zhao@windriver.com",
924 "name": "yi.zhao@windriver.com"
925 }
926 ],
927 "execution": {
928 "1": {
929 "action": "Check eeprom device exist in /sys/bus/i2c/devices/ ",
930 "expected_results": "Hexdump can read data from eeprom.\n"
931 },
932 "2": {
933 "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",
934 "expected_results": ""
935 }
936 },
937 "summary": "Check_if_target_can_support_EEPROM"
938 }
939 },
940 {
941 "test": {
942 "@alias": "bsps-hw.bsps-hw.System_can_boot_up_via_NFS",
943 "author": [
944 {
945 "email": "yi.zhao@windriver.com",
946 "name": "yi.zhao@windriver.com"
947 }
948 ],
949 "execution": {
950 "1": {
951 "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 ",
952 "expected_results": "The system can boot up without problem\n"
953 },
954 "2": {
955 "action": "Power up or reset the board and press a key on the terminal when prompted to get to the U-Boot command line ",
956 "expected_results": ""
957 },
958 "3": {
959 "action": "Set up the environment in U-Boot: => setenv ipaddr => setenv serverip ",
960 "expected_results": ""
961 },
962 "4": {
963 "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",
964 "expected_results": ""
965 }
966 },
967 "summary": "System_can_boot_up_via_NFS"
968 }
969 },
970 {
971 "test": {
972 "@alias": "bsps-hw.bsps-hw.Boot_from_JFFS2_image",
973 "author": [
974 {
975 "email": "yi.zhao@windriver.com",
976 "name": "yi.zhao@windriver.com"
977 }
978 ],
979 "execution": {
980 "1": {
981 "action": "First boot the board with NFS root. ",
982 "expected_results": "The system can boot up without problem\n"
983 },
984 "2": {
985 "action": "Install mtd-utils package. Erase the MTD partition which will be used as root: $ flash_eraseall /dev/mtd3 ",
986 "expected_results": ""
987 },
988 "3": {
989 "action": "Copy the JFFS2 image to the MTD partition: $ flashcp core-image-minimal-mpc8315e-rdb.jffs2 /dev/mtd3 ",
990 "expected_results": ""
991 },
992 "4": {
993 "action": "Then reboot the board and set up the environment in U-Boot: => setenv bootargs root=/dev/mtdblock3 rootfstype=jffs2 console=ttyS0,115200 ",
994 "expected_results": ""
995 }
996 },
997 "summary": "Boot_from_JFFS2_image"
998 }
Brad Bishop1a4b7ee2018-12-16 17:11:34 -0800999 }
Brad Bishop6dbb3162019-11-25 09:41:34 -05001000]