Skip to content

adam900710/fstests_result_webui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fstests_result_webui

About

This is a tool to generate static pages of one or more fstests runs.

Usage

./generate.py <result.xml> [-D <output_dir>]

result.xml is generate by utilizing fstests xunit report facility. This can be done by the following command:

# cd fstests
# ./check -R xunit

If no output_dir is specified,, current directory will be used.

For now, users still have to do the following works by themselves:

  • Run fstests

  • Copy the result.xml to the host

Output directory hierarchy

The hierarchy of output_dir would look like this:

.
|- index.html                   # The summary page of all runs
|- details/
   |- <hostname>-<section>/     # The config of the run, based on hostname and section
      |- <timestamp>/           # Timestamp of the run, ISO 8601, to seconds.
         |- result.xml          # Backup of the result.xml generated by fstests
         |- index.html          # Summary of the specific run
         |- <testcase_type>     # Failed test case type (generic/btrfs/xfs etc..)
            |- <number>.out.bad # Failed test case output
            |- <number>.dmesg   # Failed test case dmesg (if there is warning)

One example would look like this:

.
|- details
|  |- btrfs-rock5b-global
|  |  |- 2022-12-16T15:22:20
|  |  |  |- btrfs
|  |  |  |   |- 011.dmesg
|  |  |  |   `- 011.out.bad
|  |  |  |- generic
|  |  |  |   |- 648.dmesg
|  |  |  |   `- 648.out.bad
|  |  |  |- index.html
|  |  |  `- result.xml
|  |  |- 2022-12-21T21:50:56
|  |     |- btrfs
|  |     |  |- 011.dmesg
|  |     |  |- 011.out.bad
|  |     |  |- 220.dmesg
|  |     |  |- 249.dmesg
|  |     |  `- 249.out.bad
|  |     |- index.html
|  |     `- result.xml
|  `- btrfs-rockpro64-global
|     `- 2022-12-20T20:20:20
|        |- index.html
|        `- result.xml
|- index.html
`- style.css

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors