Coder Social home page Coder Social logo

kernelci / test-definitions Goto Github PK

View Code? Open in Web Editor NEW

This project forked from linaro/test-definitions

4.0 3.0 14.0 35.76 MB

Test definitions work with and without LAVA

License: GNU General Public License v2.0

Shell 74.00% Python 24.28% PHP 0.51% HTML 1.04% RobotFramework 0.14% C 0.01% Dockerfile 0.01%

test-definitions's Introduction

Build Status REUSE Compliance Check

Test Definitions

A set of testing scripts designed to work with LAVA. Also contains test-runner script that allows execution outside LAVA.

More details in docs

test-definitions's People

Contributors

algodev-github avatar bhcopeland avatar brenwoo avatar broonie avatar chase-qi avatar ciprian-barbu-linaro avatar danrue avatar embeddedandroid avatar esla avatar fboudra avatar federico-gelmo avatar hrw avatar igaw avatar ivoire avatar iwamatsu-t avatar kateyy avatar kees avatar liuyq avatar luislinaro avatar mike-holmes-linaro avatar mrchapp avatar mwasilew avatar nareshgbhat avatar ndechesne avatar roxell avatar stylesen avatar theodorertg avatar vincenthsu avatar vireshk avatar vishalbhoj avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

test-definitions's Issues

kselftest log and results appear to be mangled

As a follow-up from kernelci/kernelci-core#445, there appears to be some issues with the kselftest log being mangled in the LAVA logs. Also, the output appear to be parsed by sed rather than a proper TAP13 parser. These 2 things may be related, if the mangled log output is a side effect of parsing results with sed.

A better approach would seem to be capturing the TAP13 results and parse it with something such as tappy. Then ideally, the output associated with each test case should be output before telling LAVA the test case name and pass/fail status.

False positives in kselftests-rtc (arm64 - kevin)

Seen in some builds but not all. At least in stable-rc/linux-4.19.y: https://linux.kernelci.org/test/plan/id/637dd59d221061bf322abd0b/

Saved log:
kselftest-rtc-rk3399-gru-kevin.html.gz

The job definition yaml is missing a few important parameters:
Example: https://lava.collabora.dev/scheduler/job/7971458

in job definition:

- from: git
  name: kselftest-rtc
  parameters:
    BOARD: rk3399-gru-kevin
    BRANCH: stable-rc
    SKIPFILE: skipfile-lkft.yaml
    TESTPROG_URL: None
    TST_CASENAME: null
    TST_CMDFILES: rtc
  path: automated/linux/kselftest/kselftest.yaml
  repository: https://github.com/kernelci/test-definitions.git
  revision: kernelci.org

TESTPROG_URL and TST_CASENAME aren't getting filled, but I don't know who is supposed to fill in the kselftests_url and kselftest_tests parameters in the job template: https://github.com/kernelci/kernelci-core/blob/main/config/lava/kselftest/kselftest.jinja2

Anyway, this doesn't sit well with the https://github.com/kernelci/test-definitions/blob/main/automated/linux/kselftest/kselftest.sh script. The script will use a default URL if no URL is supplied (

TESTPROG_URL=http://testdata.validation.linaro.org/tests/kselftest/"${TESTPROG}"
) but here it's getting "None" instead, so the actual kselftests aren't even downloaded or run (https://lava.collabora.dev/scheduler/job/7971458#L1802)

I don't know why LAVA considers this a success, though.

Results are showing some skipped tests that aren't related to the collection

Since inclusion of -t and -c options in kselftest framework it's a bit weird show on results unrelated tests to the collection causing some noise on reports. It would be a good improvement to have for collection and tests cases not show this tests from skip list.

E.g.
https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20211111/testrun/6396555/suite/kselftest-seccomp/tests/
https://linux.kernelci.org/test/plan/id/618ca944db6db902573358dc/

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.