Test Case Index

Test Case source

latency-test

  • format: Lava-Test-Shell Test Definition 1.0
  • maintainers:
    • <mike.holmes@linaro.org>

  • scope:
  • devices:
  • os:
  • description:

latency-test sets up and runs one or two real-time threads.Each time a thread is started by the scheduler, the code set up by latency-test gets the time and subtracts from it the previous time the same thread started. latency-test determines the maximum deviation (both larger and smaller) of this difference compared to the selected period, compares the absolute values of the two deviations, and reports the larger absolute value as the max jitter.

Example JSON job file

{
    "device_type": "arndale",
    "health_check": false,
    "job_name": "example latency-test",
    "timeout": 1800
    "actions": [
        {
            "command": "deploy_linaro_image",
            "parameters": {
                "image": "<IMAGE_URL>"
            }
        },
        {
            "command": "lava_test_shell",
            "parameters": {
                "testdef_repos": [
                    {
                        "git-repo": "git://git.linaro.org/qa/test-definitions.git",
                        "testdef": "ubuntu/latency-test.yaml"
                    }
                ],
                "timeout": 900
            }
        },

        {
            "command": "submit_results",
            "parameters": {
                "server": "http://username@your.lava.server/RPC2/",
                "stream": "/your/bundle/stream/",
                "token": "<your_token>"
            }
        }
    ],
}

Platform/QA/TestCases/Automated/ubuntu_latency-test (last modified 2016-03-30 19:36:27)