openvino/tests/e2e_tests
dependabot[bot] 5f446b5ebb
Bump py-cpuinfo from 7.0.0 to 9.0.0 in /tests (#24696)
Bumps [py-cpuinfo](https://github.com/workhorsy/py-cpuinfo) from 7.0.0
to 9.0.0.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/workhorsy/py-cpuinfo/blob/master/ChangeLog">py-cpuinfo's
changelog</a>.</em></p>
<blockquote>
<ul>
<li>Release 9.1.0
<ul>
<li>Fixed Bug <a
href="https://redirect.github.com/workhorsy/py-cpuinfo/issues/186">#186</a>:
Move to Python 3 style classes and default UTF-8 encoding</li>
<li>Fixed Bug <a
href="https://redirect.github.com/workhorsy/py-cpuinfo/issues/194">#194</a>:
Add support for LoongArch</li>
</ul>
</li>
</ul>
<p>10/25/2022 Release 9.0.0</p>
<ul>
<li>Fixed Bug <a
href="https://redirect.github.com/workhorsy/py-cpuinfo/issues/178">#178</a>:
Changes to lscpu breaks parsing of cache info</li>
<li>Fixed Bug <a
href="https://redirect.github.com/workhorsy/py-cpuinfo/issues/152">#152</a>:
CPU stepping, model, and family values are blank if 0</li>
<li>Fixed Bug <a
href="https://redirect.github.com/workhorsy/py-cpuinfo/issues/177">#177</a>:
Officially drop support for Python 2</li>
<li>Fixed Bug <a
href="https://redirect.github.com/workhorsy/py-cpuinfo/issues/171">#171</a>:
Replace Python 3.11 deprecated unittest.makeSuite</li>
<li>Fixed Bug <a
href="https://redirect.github.com/workhorsy/py-cpuinfo/issues/173">#173</a>:
Fix lgtm.com alerts</li>
<li>Fixed Bug <a
href="https://redirect.github.com/workhorsy/py-cpuinfo/issues/165">#165</a>:
Support Wheel</li>
<li>Fixed Bug <a
href="https://redirect.github.com/workhorsy/py-cpuinfo/issues/167">#167</a>:
Add support for RISC-V</li>
</ul>
<p>04/14/2021 Release 8.0.0</p>
<ul>
<li>Fixed Bug <a
href="https://redirect.github.com/workhorsy/py-cpuinfo/issues/161">#161</a>:
Accept arm64 as an alias for aarch64</li>
<li>Fixed Bug <a
href="https://redirect.github.com/workhorsy/py-cpuinfo/issues/160">#160</a>:
Add MIPS architecture support</li>
<li>Fixed Bug <a
href="https://redirect.github.com/workhorsy/py-cpuinfo/issues/74">#74</a>:
Add option to trace code paths to file</li>
<li>Fixed Bug <a
href="https://redirect.github.com/workhorsy/py-cpuinfo/issues/157">#157</a>:
Remove multiple checks for sestatus</li>
</ul>
<p>07/05/2020 Release 7.0.0</p>
<ul>
<li>Fixed Bug <a
href="https://redirect.github.com/workhorsy/py-cpuinfo/issues/133">#133</a>:
CPU flags vary between runs on Mac OS X</li>
<li>Fixed Bug <a
href="https://redirect.github.com/workhorsy/py-cpuinfo/issues/150">#150</a>:
Change 'byte code' to 'machine code'</li>
<li>Fixed Bug <a
href="https://redirect.github.com/workhorsy/py-cpuinfo/issues/128">#128</a>:
Overhead from generating machine code throws off CPUID HZ</li>
<li>Fixed Bug <a
href="https://redirect.github.com/workhorsy/py-cpuinfo/issues/136">#136</a>:
On non BeOS systems, calling sysinfo may open GUI program</li>
<li>Fixed Bug <a
href="https://redirect.github.com/workhorsy/py-cpuinfo/issues/138">#138</a>:
Invalid escape sequences warn when building in Python 3.8</li>
<li>Fixed Bug <a
href="https://redirect.github.com/workhorsy/py-cpuinfo/issues/147">#147</a>:
Remove extended_model and extended_family fields</li>
<li>Fixed Bug <a
href="https://redirect.github.com/workhorsy/py-cpuinfo/issues/146">#146</a>:
CPUID family and model is wrong</li>
<li>Fixed Bug <a
href="https://redirect.github.com/workhorsy/py-cpuinfo/issues/144">#144</a>:
Cache fields should be full ints instead of kb strings</li>
</ul>
<p>06/11/2020 Release 6.0.0</p>
<ul>
<li>Fixed Bug <a
href="https://redirect.github.com/workhorsy/py-cpuinfo/issues/140">#140</a>:
The get_cache function has swapped fields</li>
<li>Fixed Bug <a
href="https://redirect.github.com/workhorsy/py-cpuinfo/issues/142">#142</a>:
Remove empty and zeroed fields</li>
<li>Fixed Bug <a
href="https://redirect.github.com/workhorsy/py-cpuinfo/issues/115">#115</a>:
Missing data on Ryzen CPUs</li>
<li>Fixed Bug <a
href="https://redirect.github.com/workhorsy/py-cpuinfo/issues/122">#122</a>:
Rename fields to be more clear</li>
<li>Fixed Bug <a
href="https://redirect.github.com/workhorsy/py-cpuinfo/issues/125">#125</a>:
Add option to return --version</li>
<li>Fixed Bug <a
href="https://redirect.github.com/workhorsy/py-cpuinfo/issues/126">#126</a>:
Make test suite also check SELinux</li>
<li>Fixed Bug <a
href="https://redirect.github.com/workhorsy/py-cpuinfo/issues/120">#120</a>:
Make unit tests also test CPUID</li>
<li>Fixed Bug <a
href="https://redirect.github.com/workhorsy/py-cpuinfo/issues/69">#69</a>:
Add s390x support</li>
</ul>
<p>03/20/2019 Release 5.0.0</p>
<ul>
<li>Fixed Bug <a
href="https://redirect.github.com/workhorsy/py-cpuinfo/issues/117">#117</a>:
Remove PyInstaller hacks</li>
<li>Fixed Bug <a
href="https://redirect.github.com/workhorsy/py-cpuinfo/issues/108">#108</a>:
Client script runs multiple times without <strong>main</strong></li>
<li>Fixed Bug <a
href="https://redirect.github.com/workhorsy/py-cpuinfo/issues/113">#113</a>:
Add option to return results in json</li>
<li>Fixed Bug <a
href="https://redirect.github.com/workhorsy/py-cpuinfo/issues/110">#110</a>:
Always tries to run wmic in get_system_info.py</li>
</ul>
<p>04/01/2018 Release 4.0.0</p>
<ul>
<li>Fixed Bug <a
href="https://redirect.github.com/workhorsy/py-cpuinfo/issues/80">#80</a>:
Broken when using Pyinstaller</li>
<li>Fixed Bug <a
href="https://redirect.github.com/workhorsy/py-cpuinfo/issues/77">#77</a>:
Get L1, L2, and L3 cache info from lscpu</li>
<li>Fixed Bug <a
href="https://redirect.github.com/workhorsy/py-cpuinfo/issues/79">#79</a>:
Byte formats are inconsistent</li>
<li>Fixed Bug <a
href="https://redirect.github.com/workhorsy/py-cpuinfo/issues/81">#81</a>:
Byte formatter breaks on non strings</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="4824ec0746"><code>4824ec0</code></a>
Release 9.0.0</li>
<li><a
href="45b5144505"><code>45b5144</code></a>
Merge pull request <a
href="https://redirect.github.com/workhorsy/py-cpuinfo/issues/182">#182</a>
from workhorsy/lscpu_changes</li>
<li><a
href="850e2a0817"><code>850e2a0</code></a>
Merge branch 'master' into lscpu_changes</li>
<li><a
href="a93e04dea7"><code>a93e04d</code></a>
Fixed Bug <a
href="https://redirect.github.com/workhorsy/py-cpuinfo/issues/178">#178</a>:
Changes to lscpu breaks parsing of cache info</li>
<li><a
href="21e4f3b2af"><code>21e4f3b</code></a>
Fixed Bug <a
href="https://redirect.github.com/workhorsy/py-cpuinfo/issues/152">#152</a>:
CPU stepping, model, and family values are blank if 0</li>
<li><a
href="54e62b796d"><code>54e62b7</code></a>
Added new test that breaks from lscpu changes</li>
<li><a
href="635811dcdd"><code>635811d</code></a>
Merge pull request <a
href="https://redirect.github.com/workhorsy/py-cpuinfo/issues/179">#179</a>
from workhorsy/bye_bye_py2</li>
<li><a
href="5dffea059b"><code>5dffea0</code></a>
Fixed Bug <a
href="https://redirect.github.com/workhorsy/py-cpuinfo/issues/177">#177</a>:
Officially drop support for Python 2</li>
<li><a
href="07eab4ddfb"><code>07eab4d</code></a>
Update build script to build python 3 wheel instead of python 2 and 3
wheel</li>
<li><a
href="f7075479e7"><code>f707547</code></a>
Updated info in readme</li>
<li>Additional commits viewable in <a
href="https://github.com/workhorsy/py-cpuinfo/compare/v7.0.0...v9.0.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=py-cpuinfo&package-manager=pip&previous-version=7.0.0&new-version=9.0.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-31 09:07:00 +00:00
..
common E2E open-sourced (#20429) 2024-03-05 16:35:45 +00:00
pipelines E2E open-sourced (#20429) 2024-03-05 16:35:45 +00:00
test_utils E2E open-sourced (#20429) 2024-03-05 16:35:45 +00:00
CMakeLists.txt copyright year update (#23370) 2024-03-14 09:37:02 +00:00
README.md E2E open-sourced (#20429) 2024-03-05 16:35:45 +00:00
__init__.py E2E open-sourced (#20429) 2024-03-05 16:35:45 +00:00
base_test_rules.yml E2E open-sourced (#20429) 2024-03-05 16:35:45 +00:00
collect_refs.py E2E open-sourced (#20429) 2024-03-05 16:35:45 +00:00
config.py E2E open-sourced (#20429) 2024-03-05 16:35:45 +00:00
conftest.py E2E open-sourced (#20429) 2024-03-05 16:35:45 +00:00
env_config_local.yml E2E open-sourced (#20429) 2024-03-05 16:35:45 +00:00
pytest.ini E2E open-sourced (#20429) 2024-03-05 16:35:45 +00:00
requirements.txt Bump py-cpuinfo from 7.0.0 to 9.0.0 in /tests (#24696) 2024-05-31 09:07:00 +00:00
reshape_test_rules.yml E2E open-sourced (#20429) 2024-03-05 16:35:45 +00:00
test_base.py E2E open-sourced (#20429) 2024-03-05 16:35:45 +00:00
test_config_local.yml E2E open-sourced (#20429) 2024-03-05 16:35:45 +00:00

README.md

End-to-end Tests User Documentation

This folder contains a code to run end-to-end validation of OpenVINO on real models of different frameworks (PyTorch, TensorFlow, and ONNX)

The documentation provides necessary information about environment setup for e2e validation run, adding new model to the validation, and instructions to launch validation.

The following steps assume that your current working directory is: tests/e2e_tests

Environment preparation:

  • Install Python modules required for tests:
    pip3 install -r requirements.txt 
    

Add model from TensorFlow Hub repo to end-to-end validation:

To add new test for model from TF Hub repo just add new line into pipelines/production/tf_hub/precommit.yml This line should contain comma separated model name and its link

movenet/singlepose/lightning,https://www.kaggle.com/models/google/movenet/frameworks/tensorFlow2/variations/singlepose-lightning/versions/4

Main entry-point

There is one main testing entry-point which is responsible for test run - test_base.py. This script performs the following actions:

  1. Loads model from its source
  2. Infers original model through framework
  3. Converts original model through OVC convert model
  4. Infers converted model through OpenVINO
  5. Provides results of element-wise comparison of framework and OpenVINO inference

Launch tests

test_base.py is the main script to run end-to-end tests. Run all end-to-end tests in pipelines/:

pytest test_base.py

test_base.py options:

  • --modules=MODULES [MODULES ...] - Paths to tests.
  • -k TESTNAME [TESTNAME ...]- Test names.
  • -s - Step-by-step logging.

Example:

pytest test_base.py -s --modules=pipelines/production/tf_hub

For full information on pytest options, run pytest --help or see the documentation