Uploaded image for project: 'Linux Kernel Quality'
  1. Linux Kernel Quality
  2. LKQ-168

lkft bisecting script

    XMLWordPrintable

    Details

    • Type: Epic
    • Status: Closed
    • Priority: Minor
    • Resolution: Delivered
    • Affects Version/s: None
    • Fix Version/s: 2019.05
    • Component/s: None
    • Labels:
      None
    • Epic Name:
      lkft bisecting script
    • Upstream:
      No

      Description

      The goal of this story is to deliver a working solution for bisecting tests that exercise linux kernel. When such test fails in consistent way it should be possible to find the offending kernel commit.

      The initial idea is as follows:

      1. test on HiKey board
      2. only kernel image needs to be rebuild for bisecting
      3. download pre-built image and replace the stock kernel with the one built for bisection
      4. run tests
      5. repeat...

      It is assumed that the script(s) that implements this algorithm can be executed locally without dependencies on jenkins. Testing will be done in LAVA and results will be retrieved using LAVA APIs. Script should accept the following parameters:

      • Good commit
      • Bad commit
      • Kernel git-url
      • Machine
      • Test to be executed

      Kernel config will be taken from the existing build (OE build) that is published on snapshots.l.o. The result of the script will be the commit ID of the offending patch.

      Example build: http://snapshots.linaro.org/openembedded/lkft/morty/hikey/rpb/linux-mainline/425/ (v4.14-885-gd6ec9d9a4def)
      Failing test is: LTP (fs) proc01. The same test passed on 4.14

      In the long run the script might be migrated to jenkins and the whole execution might be automated in qa-reports. However this part is not in scope of the story.

        Attachments

          Issue Links

            Structure

              People

              Assignee:
              daniel.diaz@linaro.org Daniel Díaz
              Reporter:
              milosz.wasilewski@linaro.org Milosz Wasilewski [X] (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Start date: