[ovs-build] Passed: ovsrobot/ovs#3607 (series_231626 - a6df116)

Travis CI builds at travis-ci.com
Tue Mar 2 13:08:15 UTC 2021


Build Update for ovsrobot/ovs
-------------------------------------

Build: #3607
Status: Passed

Duration: 11 mins and 41 secs
Commit: a6df116 (series_231626)
Author: Dumitru Ceara
Message: ovsdb-idl.at: Make test outputs predictable.

IDL tests need predictable output from test-ovsdb.

This used to be done by first sorting the output of test-ovsdb and then
applying uuidfilt to predictably translate UUIDs.  This was not
reliable enough in case test-ovsdb processes two or more insert/delete
operations in the same iteration because the order of lines in the
output depends on the automatically generated UUID values.

To fix this we now perform another sort operation after uuidfilt has
been applied.  This might not be the most efficient way of ensuring
predictable output but it seems to be the one that requires the least
code changes.

Assuming the following equivalent outputs:
  $ cat o1
  001: x=0 y=00000000-0000-0000-0000-000000000000
  001: x=1 y=10000000-0000-0000-0000-000000000000
  002: z=10000000-0000-0000-0000-000000000000
  002: z=00000000-0000-0000-0000-000000000000
  $ cat o2
  001: x=0 y=10000000-0000-0000-0000-000000000000
  001: x=1 y=00000000-0000-0000-0000-000000000000
  002: z=00000000-0000-0000-0000-000000000000
  002: z=10000000-0000-0000-0000-000000000000

Without the additional sort:
  $ sort o1 | tests/uuidfilt.py
  001: x=0 y=<0>
  001: x=1 y=<1>
  002: z=<0>
  002: z=<1>
  $ sort o2 | tests/uuidfilt.py
  001: x=0 y=<0>
  001: x=1 y=<1>
  002: z=<1>
  002: z=<0>

With the additional sort:
  $ sort o1 | tests/uuidfilt.py | sort
  001: x=0 y=<0>
  001: x=1 y=<1>
  002: z=<0>
  002: z=<1>
  $ sort o2 | tests/uuidfilt.py | sort
  001: x=0 y=<0>
  001: x=1 y=<1>
  002: z=<0>
  002: z=<1>

Signed-off-by: Dumitru Ceara <dceara at redhat.com>
Signed-off-by: 0-day Robot <robot at bytheb.org>

View the changeset: https://github.com/ovsrobot/ovs/commit/a6df11663a63

View the full build log and details: https://travis-ci.com/github/ovsrobot/ovs/builds/218715255?utm_medium=notification&utm_source=email


--

You can unsubscribe from build emails from the ovsrobot/ovs repository going to https://travis-ci.com/account/preferences/unsubscribe?repository=9111024&utm_medium=notification&utm_source=email.
Or unsubscribe from *all* email updating your settings at https://travis-ci.com/account/preferences/unsubscribe?utm_medium=notification&utm_source=email.
Or configure specific recipients for build notifications in your .travis.yml file. See https://docs.travis-ci.com/user/notifications.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-build/attachments/20210302/836a0020/attachment-0001.html>


More information about the build mailing list