~djacobs98/checkbox-iiotg/+git/checkbox-provider-intliotg:cyclictest

Last commit made on 2023-04-11
Get this branch:
git clone -b cyclictest https://git.launchpad.net/~djacobs98/checkbox-iiotg/+git/checkbox-provider-intliotg
Only Doug Jacobs can upload to this branch. If you are Doug Jacobs please log in for upload directions.

Branch merges

Branch information

Recent commits

cc3c353... by Doug Jacobs

Initial commit. Add cyclictest to stress tests for Desktop & Server.
The test is run as a python script in bin/

f20ed4c... by Ubuntu <email address hidden>

Merge #434759 from ~baconyao/checkbox-iiotg/+git/checkbox-provider-intliotg:fix-ishtp

Fix: Refactor the ISHTP test cases

According to the answer from Intel in LP#1979735, I refactor the ISHTP
cases.
1. Remove the ishtp/is-support job and adjust the dependency.
2. For EHL deivce which supports the Eclite feature, add eclite
   cases and has_eclite manifest.
3. For other devices which unsopport the the Eclite, just check the
   ishtp modules be loaded is enough.
4. Modify the ishtp path of job "ishtp/device-detect" from iio to
   ishtp. Once the ishtp modules are loaded, the path /sys/bus/ishtp
   will exist and there should have at least one node under devices
   directory.

be8e933... by PeiYao Chang

Fix: Refactor the ISHTP test cases

According to the answer from Intel in LP#1979735, I refactor the ISHTP
cases.
1. Remove the ishtp/is-support job and adjust the dependency.
2. For EHL deivce which supports the Eclite feature, add eclite
   cases and has_eclite manifest.
3. For other devices which unsopport the the Eclite, just check the
   ishtp modules be loaded is enough.
4. Modify the ishtp path of job "ishtp/device-detect" from iio to
   ishtp. Once the ishtp modules are loaded, the path /sys/bus/ishtp
   will exist and there should have at least one node under devices
   directory.

12f9fb4... by Ubuntu <email address hidden>

Merge #437652 from ~djacobs98/checkbox-iiotg/+git/checkbox-provider-intliotg:tsn_tests2

Initial check in.
Add new manual tests for TSN and update the test plan.
Work on automation later.

Pastebin of test verification:
https://pastebin.canonical.com/p/P9Pgw7H3bH/

7568dbb... by Doug Jacobs

Initial check in. Add additional manual TSN tests and update the test plan. Work on automation later.

57dd6bc... by Ubuntu <email address hidden>

Merge #435625 from ~baconyao/checkbox-iiotg/+git/checkbox-provider-intliotg:fix-thermal

Modify: Append the CPU mode to blacklist

According to the support list of thermald, the EHL (mode:150) and the
ICL-D (mode: 108) are no supported by thermald.

We also check the thermald should be active in classic image and
inactive in core image

Please see:
  - https://github.com/intel/thermal_daemon/blob/master/src/thd_engine.cpp#L688

c71a505... by PeiYao Chang

Modify: Append the CPU mode to blacklist

According to the support list of thermald, the EHL (mode:150) and the
ICL-D (mode: 108) are no supported by thermald.

We also check the thermald should be active in classic image and
inactive in core image

Please see:
 - https://github.com/intel/thermal_daemon/blob/master/src/thd_engine.cpp#L688

a0f8449... by Ubuntu <email address hidden>

Merge #434914 from ~baconyao/checkbox-iiotg/+git/checkbox-provider-intliotg:fix-watchdog

Change: Redesign the watchdog test plan

Redesign the watchdog test plan in order to cover the more generic
scenario, therefore, I exclude all of the genereic watchdog cases and
use the new designed flow.

For an image, there are four combinations based on the source and
type. There are two sources, stock and oem, and two types, classic
and core.

The differences between stock and oem image is the value of
RuntimeWatchdogSec is 0 in stock but should not be 0 in oem image.

For stock classic image, we have to probe the module of watchdog by
ourself via the WATCHDOG_TYPE variable in config. As for core image,
the module is loaded automatically, however, we still need to check
its identity because it might be the wrong moudle if the BIOS setting
is wrong.

The following files are migrating from generic checkbox, so no need to be reviewed
  - failed_service_check.sh
    - for watchdog/general/post-trigger-system-reset-auto only
  - udev_resource.py
    - for watchdog/general/detect
    - I keep the original logic of watchdog/detect for project image

1fa7cdb... by PeiYao Chang

Change: Redesign the watchdog test plan

Redesign the watchdog test plan in order to cover the more generic
scenario, therefore, I exclude all of the genereic watchdog cases and
use the new designed flow.

For an image, there are four combinations based on the source and
type. There are two sources, stock and oem, and two types, classic
and core.

The differences between stock and oem image is the value of
RuntimeWatchdogSec is 0 in stock but should not be 0 in oem image.

For stock classic image, we have to probe the module of watchdog by
ourself via the WATCHDOG_TYPE variable in config. As for core image,
the module is loaded automatically, however, we still need to check
its identity because it might be the wrong moudle if the BIOS setting
is wrong.

The following files are migrating from generic checkbox, so no need to be reviewed
  - failed_service_check.sh
    - for watchdog/general/post-trigger-system-reset-auto only
  - udev_resource.py
    - for watchdog/general/detect
    - I keep the origianl logic of watchdog/detect for project image

0a920e3... by Ubuntu <email address hidden>

Merge #434531 from ~baconyao/checkbox-iiotg/+git/checkbox-provider-intliotg:fix-va-api

Change: Remove va-api plan from server and core

The va-api case is for testing the video acceleration and it shouldn't be
executed in Server and Core environment.