[ovs-dev] [PATCH V7 00/16] Fix and enable Python tests on Windows

Alin Serdean aserdean at cloudbasesolutions.com
Thu Jul 21 13:21:03 UTC 2016


Please do not forget to update the documentation with the python libraries needed on Windows.

> -----Mesaj original-----
> De la: dev [mailto:dev-bounces at openvswitch.org] În numele Paul Boca
> Trimis: Friday, July 15, 2016 5:21 PM
> Către: dev at openvswitch.org
> Subiect: [ovs-dev] [PATCH V7 00/16] Fix and enable Python tests on
> Windows
> 
> This series of patches ports the python damons to Windows and fixes the
> tests to work on Windows.
> There are still some python tests that fail on Windows, from which some are
> failing on Linux too.
> The patches in this series are dependent and are related to python tests on
> Windows.
> 
> V2: Fixes more porting issues for Windows
> V3: Fixes all python tests
>     This series was extended from 16 to 21 patches in order to solve
>     all python related tests in one series.
>     To run the tests on windows 'pypiwin32' is required to be
>     installed for both Python2 and Python3 (pip install pypiwin32).
> V4: Rebased the entire series, if didn't apply anymore.
>     Fixed delete of PID file on exit of python daemon, this leaded to
>     removal of patch "python tests: Don't check if the PID file
>     gets deleted".
> V5: Removed "windows: Added lockf function and lock PID file to be sent
>     individually and removed already merged patches from this series.
> V6: Fixed some issues in porting the python daemon and enabled vlog/close
>     tests.
> V7: Addressed the required changes after review.
>     Fixed flake8 errors, tested on Linux with flake8 and hacking libs
>     installed.
> 
> Paul-Daniel Boca (16):
>   python tests: Implemented signal.alarm for Windows
>   python tests: Register signal handlers only on supported types on
>     Windows
>   python tests: Fixed ctl file name for Windows
>   python tests: Fixed unixctl python tests for Windows
>   python tests: Added fcntl module for Windows
>   python tests: Skip IPsec test on Windows
>   python tests: Skip TCP6 idl tests on Windows
>   python tests: Skip python tests on Windows where POSIX pid is used
>   python tests: Fixed OSError not iterable on Windows
>   python tests: Fixed abs_file_name function for Windows
>   python tests: Ported UNIX sockets to Windows
>   python tests: Ported Python daemon to Windows
>   at tests: Allow Python tests to be run on Windows
>   python tests: Ignore stderr output
>   python tests: Skip ovn-controller-vtep tests on Windows
>   tests: Skip vlog tests that try to move opened file
> 
>  python/automake.mk             |   1 +
>  python/ovs/daemon.py           | 239
> ++++++++++++++++++++++++++++++++++-------
>  python/ovs/fatal_signal.py     |  44 +++++++-
>  python/ovs/fcntl_win.py        |  28 +++++
>  python/ovs/jsonrpc.py          |   4 +
>  python/ovs/poller.py           |   5 +
>  python/ovs/socket_util.py      |  56 ++++++++--
>  python/ovs/stream.py           |   9 +-
>  python/ovs/unixctl/__init__.py |  11 +-
>  python/ovs/unixctl/server.py   |  16 ++-
>  python/ovs/util.py             |   2 +-
>  python/ovs/vlog.py             |  12 +++
>  tests/appctl.py                |   4 +-
>  tests/atlocal.in               |   7 --
>  tests/daemon-py.at             |  14 +++
>  tests/ovn-controller-vtep.at   |   2 +-
>  tests/ovs-monitor-ipsec.at     |   1 +
>  tests/ovsdb-idl.at             |   1 +
>  tests/test-daemon.py           |   4 +-
>  tests/test-ovsdb.py            |   4 +-
>  tests/test-unix-socket.py      |   3 +-
>  tests/unixctl-py.at            |  15 ++-
>  tests/vlog.at                  |  12 ++-
>  23 files changed, 411 insertions(+), 83 deletions(-)  create mode 100644
> python/ovs/fcntl_win.py
> 
> --
> 2.7.2.windows.1
> _______________________________________________
> dev mailing list
> dev at openvswitch.org
> http://openvswitch.org/mailman/listinfo/dev


More information about the dev mailing list