14 Commits

Author SHA1 Message Date
Federico Ressi
73698270d5 Revert "Remove voting from requirements-check job"
After the RTD Theme requirement has been accepted to global
openstack/requirement project we can restore voting status
to the requirements-check job.

This reverts commit 15babc73c2da38498fefce0db6bb82fa62a9b5c9.

Change-Id: I3981faedd6e5d0e80dd949fde39769700f97d626
2021-11-19 09:03:05 +01:00
Federico Ressi
03b9eec659 Use local upper-constraints.txt
- Remove support for constrains file from infrared plugin
- Use file stored on tobiko repository by default

Change-Id: I0f835d753fb9d3a1670e8eb9b196e02e989d4262
2021-10-27 14:33:56 +02:00
Federico Ressi
4af7676b3a Add PyYaml to project requirements
Change-Id: I7b3f06199a277bf8b5f7a9bf5c495f521c9162dd
2021-09-17 09:31:26 +02:00
Federico Ressi
8c73c8feb5 Deprecate tobiko.required_setup_fixture
Change-Id: I96b96346080a4706a6229958f1f432c43ab44d96
2021-08-19 09:24:27 +02:00
Eduardo Olivares
1d8a0b18e6 Add tcpdump support and verify DSCP marking in QoS tests
tcpdump can be executed as a background process. A capture file,
a filter and an interface can be defined
Once the process is launched, traffic can be sent
After that, the process can be stopped and the capture file can be read
and verified if any packets have been captured

For the specific DSCP scenario, a filter is defined based on the DSCP
marking value configured for the QoS policy

Change-Id: I68a6529284aee27f162e7c27a322b83b767e2504
2021-07-21 20:06:53 +00:00
Federico Ressi
41389ec8ae Move validations-lib to core requirements
Change-Id: I228885d0a8d90058bd52eed52e32273962300a57
Depends-On: https://review.opendev.org/c/openstack/requirements/+/797011
2021-06-18 11:34:04 +02:00
Federico Ressi
f42ddc9b17 Integrate Ironic client
Change-Id: If956902cf63517d62c600d54b12af6eb232f7dd1
2021-04-14 11:51:23 +02:00
Federico Ressi
c1fcde26b0 Implement call proxy handling
- Implement call proxy handling.
  Example:

 import tobiko

 class MyProtocol(tobiko.Protocol):

     def do_something(some='argument'):
         raise NotImplementedError

 def handle_call(method, *args, **kwargs)
     print(f'do something with some={some}')

 proxy = tobiko.call_proxy(MyProtocol, handle_call)
 proxy.do_something('aple')

It will print:

 do something with some=apple

- Add new depenency from decorator library

Change-Id: I4a933e779739cfd953cafb275b074a308822aaac
2021-03-18 18:25:00 +00:00
Federico Ressi
d44b3051bf Add check requirements job
Change-Id: I06e035a5570ffd25563f0483e6859ea55825b6f1
2021-01-05 13:35:44 +01:00
Federico Ressi
4d88f7d81a Update requirements
Requires docker==4.4.1 since version 4.4.0 can't be installed
Rerun tests on integration failures
Remove redundant requirements

Co-Author: pini <pkomarov@redhat.com>
Change-Id: I0cd54b6a9361e8e3c3205da2ba939baba2c6b1ce
2021-01-04 15:20:06 +01:00
Federico Ressi
9c2a2e749d Pass broken jobs with Python 3.8 (Ubuntu Focal and Fedora 32)
- Pass linters and lower-constrains jobs with Python 3.8
- Use master version of pylint only with python version >= 3.9
- Update requirements files
- Fix install_bindeps.sh
- Disable running DevStack jobs on ubuntu focal nodes

Change-Id: Ie745fe5b5a08fe088fcf39edb312170c6cbdc5bb
2020-12-10 13:00:04 +01:00
Federico Ressi
5252001658 Introduce pre-commit hooks for linters verifications
Change-Id: Icd098df8adf72bf53955b0f07d9ed606c7803296
2020-07-03 06:15:47 +00:00
Federico Ressi
8cb808f22a Declass Pandas as an extra optional requirement
Change-Id: I244107c5d1d9a74c6fdbf3053014ff20a727e24c
2020-06-25 12:27:14 +00:00
Federico Ressi
aa32375454 Add lower-contraints job
Change-Id: I273e7ae3d82374f087c1b57a2a37886310a08e2f
2020-06-18 16:26:03 +02:00