[ovs-git] [openvswitch/ovs] cde7a4: ovsdb-cluster.at: Fix infinite loop in torture tests.

Ilya Maximets noreply at github.com
Thu Nov 26 19:38:14 UTC 2020


  Branch: refs/heads/branch-2.10
  Home:   https://github.com/openvswitch/ovs
  Commit: cde7a4de74d26fb37d322643f681ba6ba2034abe
      https://github.com/openvswitch/ovs/commit/cde7a4de74d26fb37d322643f681ba6ba2034abe
  Author: Ilya Maximets <i.maximets at ovn.org>
  Date:   2020-11-26 (Thu, 26 Nov 2020)

  Changed paths:
    M tests/ovsdb-cluster.at

  Log Message:
  -----------
  ovsdb-cluster.at: Fix infinite loop in torture tests.

For some reason, while running cluster torture tests in GitHub Actions
workflow, failure of 'echo' command doesn't fail the loop and subshell
never exits, but keeps infinitely printing:

  testsuite: line 8591: echo: write error: Broken pipe

Presumably, that is caused by some shell configuration option, but
I have no idea which one.  Let's just add explicit 'exit' on 'echo'
failure.  This will guarantee exit from the loop and the subshell
regardless of configuration.

Fixes: 0f03ae3754ec ("ovsdb: Improve timing in cluster torture test.")
Acked-by: Simon Horman <simon.horman at netronome.com>
Signed-off-by: Ilya Maximets <i.maximets at ovn.org>


  Commit: 335b26cb60afc67552faf084431e56eed1e7540a
      https://github.com/openvswitch/ovs/commit/335b26cb60afc67552faf084431e56eed1e7540a
  Author: Ilya Maximets <i.maximets at ovn.org>
  Date:   2020-11-26 (Thu, 26 Nov 2020)

  Changed paths:
    A .ci/linux-build.sh
    A .ci/linux-prepare.sh
    A .ci/osx-build.sh
    A .ci/osx-prepare.sh
    A .github/workflows/build-and-test.yml
    M .travis.yml
    R .travis/linux-build.sh
    R .travis/linux-prepare.sh
    R .travis/osx-build.sh
    R .travis/osx-prepare.sh
    M Documentation/internals/contributing/submitting-patches.rst
    M Makefile.am
    M README.rst

  Log Message:
  -----------
  github: Add GitHub Actions workflow.

This is an initial version of GitHub Actions support.  It mostly
mimics our current Travis CI build matrix with slight differences.

Minor difference that we can not install 32-bit versions of libunbound
since it is not avaialble in repository.

.travis folder renamed to .ci to highlight that it used not only for
Travis CI.  Travis CI support will be completely removed by the next
patch.

What happened to Travis CI:
https://mail.openvswitch.org/pipermail/ovs-dev/2020-November/377773.html

Acked-by: Simon Horman <simon.horman at netronome.com>
Signed-off-by: Ilya Maximets <i.maximets at ovn.org>


  Commit: 3f8312b670eebca569d1f532ae1c94d4356708d1
      https://github.com/openvswitch/ovs/commit/3f8312b670eebca569d1f532ae1c94d4356708d1
  Author: Ilya Maximets <i.maximets at ovn.org>
  Date:   2020-11-26 (Thu, 26 Nov 2020)

  Changed paths:
    R .travis.yml
    M Documentation/internals/contributing/submitting-patches.rst
    M Documentation/topics/testing.rst
    M Makefile.am
    M README.rst

  Log Message:
  -----------
  travis: Remove support for Travis CI.

All CI jobs are covered by GitHub Actions now.

What happened to Travis CI:
https://mail.openvswitch.org/pipermail/ovs-dev/2020-November/377773.html

Acked-by: Simon Horman <simon.horman at netronome.com>
Signed-off-by: Ilya Maximets <i.maximets at ovn.org>


Compare: https://github.com/openvswitch/ovs/compare/09576003196b...3f8312b670ee


More information about the git mailing list