Commit Graph

28 Commits

Author SHA1 Message Date
Yogesh Tyagi
e973862547 openvino-inference-engine : Remove openvino related recipes and tests
* Remove all openvino related recipes, tests and other data from meta-intel
  layer as a new layer (meta-oepnvino) specific to openvino has been created.

* Update openvino documentation

meta-openvino layer URL:
https://github.com/intel/meta-openvino

Signed-off-by: Yogesh Tyagi <yogesh.tyagi@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2024-07-12 16:40:57 +08:00
Anuj Mittal
f222ac31c5 recipes: remove secureboot selftest and images
This no longer works and is not maintained and tested.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2024-05-30 10:27:20 +08:00
Ross Burton
2d8d97f295 Add oeqa parselog ignores
As of oe-core 97dacf, the parselogs oeqa runtime test now loads ignores
from files on disk, instead of hardcoding them.

This will likely cause meta-intel to fail because the meta-intel-specific
ignores have been removed from oe-core.  This patch adds them back to
meta-intel.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2024-01-08 10:19:07 +08:00
Anuj Mittal
48e5fcbf52 jhi: remove recipe and test
This project is no longer maintained.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2023-03-15 10:46:28 +08:00
sangeeta jain
34119f3f41 microcode.py: updated test to read microcode for exact signature
Updated testcase to read microcode versions applied for exact signature
for CPU and for any microcode versions that are updated already. This change
will cover scenario when there is no microcode being early loaded by OS.

Signed-off-by: sangeeta jain <sangeeta.jain@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-02-17 14:43:43 +08:00
Naveen Saini
0e8b3cd2c5 thermald.py: fix 'thermald --no-daemon' taking forever issue
skip test if CONFIG_THERMAL_EMULATION is not set

Observed multiple issues:

(1) Randomly not picking pid of thermld daemon (not sure why)
(2) 'thermald --no-daemon --loglevle=info' taking forever

Increase sleep time to make sure pid is avaialble.
Added timeout for the command.

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-02-04 11:32:57 +08:00
Naveen Saini
1fe615d8fa intel_vaapi_driver.py: fix encoding pipeline
Add missing h264parse in pipeline

Error log:

dd Pipeline is PREROLLING ...
Got context from element 'vaapisink0': gst.vaapi.Display=context, gst.vaapi.Display=(GstVaapiDisplay)"\(GstVaapiDisplayDRM\)\ vaapidisplaydrm1";
ERROR: from element /GstPipeline:pipeline0/GstQTDemux:qtdemux0: This file is corrupt and cannot be played.
Additional debug info:
../gst-plugins-good-1.18.2/gst/isomp4/qtdemux.c(12726): qtdemux_parse_trak (): /GstPipeline:pipeline0/GstQTDemux:qtdemux0
ERROR: pipeline doesn't want to preroll.
ERROR: from element /GstPipeline:pipeline0/GstQTDemux:qtdemux0: This file contains no playable streams.

No need to export i965 driver anymore.

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-12-29 08:15:58 +08:00
sangeeta jain
9084989040 runtime/cases/mkl_dnn: change package name
For test test_mkldnn_can_compile_and_execute and
test_mkldnn_benchdnn_package_available, required
package name is updated to 'libdnnl2' from 'libdnnl1'.

Signed-off-by: sangeeta jain <sangeeta.jain@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-12-18 17:10:22 +08:00
sangeeta jain
37787d86a8 runtime/miutils/tests/mkl_dnn_test: update test test_mkldnn_rnn_api
Update test_mkldnn_rnn_api to run batch test 'test_rnn_all'.
Previously it was not ready and testcase was running 'test_rnn_small'.

test_rnn_small is no longer available.

Signed-off-by: sangeeta jain <sangeeta.jain@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-12-18 17:09:07 +08:00
Naveen Saini
508aad8e15 oeqa/dldt_inference_engine : link to recommended opencl loader
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-06-11 15:35:56 +08:00
Yeoh Ee Peng
89dc2a5ea2 runtime/onednn: Check onednn file exist
Previously, the status return with 0 even though the file
required was not exist.
Fixed the file exist checking for onednn source file required
for compilation testing.

Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-04-28 11:09:36 +08:00
Yeoh Ee Peng
b6175f453d runtime/onednn: Update tests as mkldnn rename to onednn
Update test pakcages checking and referencing as mkldnn
rename to onednn.

Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-04-28 11:09:36 +08:00
Yeoh Ee Peng
eaf525c087 runtime/intel_vaapi_driver: Set i965 dirver for tests
Set i965 driver for libVA in order to enable vaapi plugin
because by default libVA use iHD driver where vaapi plugin
was not available.

Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-04-16 13:40:43 +08:00
Yeoh Ee Peng
0c4812e3f8 runtime/dldt_inference_engine: Remove cpu extension
Remove cpu extension as it was not needed anymore for OpenVINO 2020.

Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-04-14 14:00:30 +08:00
Yeoh Ee Peng
e0a8e6e48f runtime/dldt_inference_engine: Check MYRIAD device before test
Checking MYRIAD device availability before execute MYRIAD test.

Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-04-09 19:17:01 +08:00
Yeoh Ee Peng
3813e50e14 runtime/tests/dldt_inference_engine_test: Enable check available ie devices
Enable checking of available inference engine devices.

Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-04-09 19:17:01 +08:00
Yeoh Ee Peng
bd539ea962 runtime/jhi: Enable sanity test
jhi test validate that jhi daemon and jhi library can work to deliver
dynamic application loading.

Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-04-07 08:39:51 +08:00
Yeoh Ee Peng
60df7066e5 runtime/thermald: Enable sanity test
Enable thermald sanity test:
     - test that thermal daemon was monitoring temperature
     - test that thermal emulation was enabled in the image
     - test that emulation of temparature changes will be
       detected by thermal daemon

Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-04-02 12:08:51 +08:00
Yeoh Ee Peng
9756afd47a runtime/cyclictest: Enable cyclictest for image with rt kernel
Enable cyclictest:
 - test execute cyclictest, retrieve the maximum latency captured inside log and compare it to the
   target latency
 - cyclictest arguments based on public cyclictest arguments used for intel corei7
   https://www.osadl.org/Latency-plot-of-system-in-rack-9-slot.qa-latencyplot-r9s5.0.html?shadow=1
 - set default target latency based on 24 us (captured from public cyclictest execution) multiple
   by 1.2 (buffer)
 - enable user defined target latency by configuring 'RTKERNEL_TARGET_LATENCY' as bitbake config
   example, inside local.conf: RTKERNEL_TARGET_LATENCY = "25"

Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-04-02 00:18:46 +08:00
Yeoh Ee Peng
47659db192 runtime/libxcam: Enable sanity test
Enable sanity tests:
 - test libxcam soft sample app can perform image remap using libxcam library

Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-04-02 00:09:06 +08:00
Yeoh Ee Peng
f87b2f24d8 oeqa/runtime/libipt: Enable sanity test
Enable libipt sanity test:
 - test that libipt can generate trace packet
 - test that libipt can perform dump on trace packet generated

Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-03-27 10:09:21 +08:00
Yeoh Ee Peng
36b7c0a3c6 runtime/isal: Enable sanity test
isal test validate that intel intelligent storage acceleration library
can provide accelerated compression using igzip executable.

Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-03-23 07:55:54 +08:00
Yeoh Ee Peng
e7520b119c runtime/intel_vaapi_driver: Enable sanity test
Sanity test for:
 - using intel vaapi driver (i965)
 - validate intel vaapi encode was working through gstreamer
 - validate intel vaapi decode was working through gstreamer

Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-03-23 07:55:54 +08:00
Yeoh Ee Peng
0badb16573 runtime/intel_mediasdk: Enable sanity test
Sanity test for:
 - using intel media driver (iHD)
 - validate intel msdk encode was working through gstreamer
 - validate intel msdk decode was working through gstreamer

Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-03-23 07:55:54 +08:00
Yeoh Ee Peng
0c092dde58 oeqa/runtime/mkl_dnn: Add mkldnn tests
Add automated tests that:
 - test that mkl_dnn shared libraries and headers can be used to
   compile mkl_dnn sample application and execute it
 - test that mkl_dnn various api (eg. convolution, deconv, rnn, etc)
   are executable
 - add extra packages checking for test compiling mkldnn application

Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-01-22 15:35:08 +08:00
Yeoh Ee Peng
1e514838df oeqa/runtime/cases/dldt: Enable inference engine and model optimizer tests
Add sanity tests for inference engine:
   - test inference engine c/cpp shared library
   - test inference engine python api
   - test inference engine cpu, gpu, myriad plugin

Add sanity tests for model optimizer
   - test model optmizer can generate ir

Licenses:
   - classification_sample.py
     license: Apache 2.0
     source: <install_root>/deployment_tools/inference_engine/samples/*

Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-12-10 13:31:24 +08:00
Yeoh Ee Peng
0b5476b20d oeqa/runtime/microcode: Enable microcode update test
With iucode-tool, identified the selected microcode to be used for
microcode update by the specific processor. Compared the updated
microcode from dmesg to the selected microcode, test failed if the
updated microcode revision does not match the available selected
microcode revision from the iucode-tool. Compute int from hexadecimal
for comparison based on Naveen Kumar suggestion.

Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-07-08 08:24:00 +08:00
California Sullivan
fbee56b786 Add secureboot selftests
This was based on the secureboot selftests in meta-refkit:

3bf04941a3/meta-refkit/lib/oeqa/selftest/cases/secureboot.py

It had to be modified a bit to work in meta-intel, as we can't depend on
efivar which resides in meta-openembedded. Instead, in order to test
that secureboot is enabled, we first try to boot with an unsigned, then
image signed with incorrect keys, and search for a "Security Violation"
error message in each log. If the image booted successfully or that
error did not occur, something went wrong and the third test becomes
invalid. The third test is simply booting an image that is signed with
the enrolled keys, getting to a login screen and running a simple
command.

Note that these tests can be quite time consuming, as we have to wait
for the first two tests to timeout, and the timeout values have to be
somewhat high as it sometimes takes a while for the ovmf firmware to
come up.

Original work by Mikko Ylinen and Patrick Ohly.

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-08-30 14:25:25 -07:00