Copyright 2017. All rights reserved. Advantech Co. Ltd.
Page 62
| 10:20:10 07/16/2018 | [INFO] | Verify core count OK!
| 10:20:10 07/16/2018 | [INFO] | Verify vendor_id OK!
| 10:20:10 07/16/2018 | [INFO] | Verify frequency OK!
| 10:20:10 07/16/2018 | [INFO] | Verify model_name OK!
| 10:20:10 07/16/2018 | [RESULT] | [PASS]
| 10:20:10 07/16/2018 |
| 10:20:10 07/16/2018 | Test Summary: PASSED
| 10:20:10 07/16/2018 | Test ID: cpu_ver
| 10:20:10 07/16/2018 | Report Name: cpu_ver
| 10:20:10 07/16/2018 | File Name: /var/log/dui_01_03_20180716_102010433.log
| 10:20:10 07/16/2018 | Sub Tests: cpu_ver
| 10:20:10 07/16/2018 | Failed Sub Tests:
| 10:20:10 07/16/2018 | Start Time: 2018-07-16 10:20:10
| 10:20:10 07/16/2018 | End Time: 2018-07-16 10:20:10
| 10:20:10 07/16/2018 | Board Manufacturer: Advantech
| 10:20:10 07/16/2018 | Board Name: ACPI6-B
Figure 49: The ‘run’ Command
3.10.4
DUI with Fast-Batch
A new feature named fast-batch had been built in DUI, which is designed to run destined
bulk commands and provides a total sanity test summary report. It provides the following
functions:
Allow to remote control, execute commands, and collect information or logs via HTTP
protocol
Summarize result table
System information collection
Run different test sets with different configuration files
The DUI fast-batch is located under root/bin/dui/fastbatch
directory. There is a main script
“fastbatch.sh” and the other three sub folders are:
1
CFG:
The files in CFG folder contain diagnostic items with corresponding parameters, HTTP
access IP and corresponding port number, and the other static system information. The
format about diagnostic items with corresponding parameters will be described later
2
LOG:
This folder stores all test log results in the formant of
“log-<time>-DUI_<test item
number>-<test item name>-<DUI action>.res”
. Generally, it’s the DUI log in detail. The
summarized log in the format of
“SUM_<platform>_<sku>.sum”
contains diagnostic
report summary, static system info and queried OS info.
3
URL:
The file with the format of
“URL_<Platform>_<SKU>.lst”
is a resolved URL list for HTTP
access from CFG file. The URL is named as:
“<protocol>://<IP>:<port>/<DUI
Action>?service_id=<service ID>&func_id=<function
ID>&[<parameters1>&[<parameters2>&....]]”
.