For some reason logging to syslog on TravisCI become very slow.

For exmaple, following appctl call took around 3 seconds:

  14:52:27.095Z|00637| received: OFPST_TABLE request (xid=0x2):
  14:52:29.884Z|00638| sent (Success): OFPST_TABLE reply (xid=0x2)

In this situation testsuite spends all the available 50 minutes to
execute only ~950 tests.
Disabling the rsyslog daemon allowes testsuite to finish in a
reasonable time.

Signed-off-by: Ilya Maximets <i.maxim...@samsung.com>
---
 .travis/linux-prepare.sh | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/.travis/linux-prepare.sh b/.travis/linux-prepare.sh
index 89770c28d..7d6603739 100755
--- a/.travis/linux-prepare.sh
+++ b/.travis/linux-prepare.sh
@@ -2,6 +2,10 @@
 
 set -ev
 
+# Logging to syslog could be way too slow on Travis.
+# Stopping the rsyslog daemon to allow tests to fit the time limit.
+sudo service rsyslog stop
+
 # Build and install sparse.
 #
 # Explicitly disable sparse support for llvm because some travis
-- 
2.17.1

_______________________________________________
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to