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". Paul-Daniel Boca (20): tests: Fixed PMD tests on Windows windows: Added lockf function and lock PID file 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 ovs-ofctl.at: Prevent msys from getting confused with ipv6 address. python tests: Skip ovn-controller-vtep tests on Windows tests: Skip vlog tests that try to move opened file vlog test: Disable default syslog logger lib/daemon-windows.c | 44 +++++++++ python/automake.mk | 1 + python/ovs/daemon.py | 218 +++++++++++++++++++++++++++++++++-------- python/ovs/fatal_signal.py | 28 +++++- python/ovs/fcntl_win.py | 36 +++++++ python/ovs/jsonrpc.py | 3 + python/ovs/poller.py | 5 + python/ovs/socket_util.py | 53 ++++++++-- python/ovs/stream.py | 6 +- python/ovs/unixctl/__init__.py | 10 +- python/ovs/unixctl/server.py | 15 ++- python/ovs/util.py | 2 +- python/ovs/vlog.py | 1 + tests/appctl.py | 27 ++++- tests/atlocal.in | 7 -- tests/daemon-py.at | 7 ++ tests/jsonrpc-py.at | 3 + tests/ovn-controller-vtep.at | 1 + tests/ovn-nbctl.at | 4 +- tests/ovs-monitor-ipsec.at | 1 + tests/ovsdb-idl.at | 1 + tests/pmd.at | 4 +- tests/test-daemon.py | 4 +- tests/test-ovsdb.py | 26 ++++- tests/test-unix-socket.py | 26 ++++- tests/unixctl-py.at | 14 ++- tests/vlog.at | 14 ++- 27 files changed, 473 insertions(+), 88 deletions(-) create mode 100644 python/ovs/fcntl_win.py -- 2.7.2.windows.1 _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev