Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TESTS] Added unit tests for bonding #1559

Open
wants to merge 16 commits into
base: master
Choose a base branch
from

Updated and post-fixed. NOTE: Broadcast group still failing.

c3a7a3c
Select commit
Loading
Failed to load commit list.
Open

[TESTS] Added unit tests for bonding #1559

Updated and post-fixed. NOTE: Broadcast group still failing.
c3a7a3c
Select commit
Loading
Failed to load commit list.
Travis CI / Travis CI - Pull Request failed Sep 11, 2024 in 16m 35s

Build Failed

The build failed. This is a change from the previous build, which passed.

Details

This is a pull request build.

It is running a build against the merge commit, after merging #1559 [TESTS] Added unit tests for bonding.
Any changes that have been made to the master branch before the build ran are also included.

Jobs and Stages

This build has eight jobs, running in parallel.

Job Compiler Xcode ENV OS State
6722.1 BUILD_TYPE=Debug Linux failed
6722.2 BUILD_TYPE=Debug Linux failed
6722.3 BUILD_TYPE=Release Linux passed
6722.4 xcode11.1 BUILD_TYPE=Debug macOS passed
6722.5 xcode11.1 BUILD_TYPE=Release macOS passed
6722.6 x86\_64-w64-mingw32-g++ BUILD_TYPE=Release Linux passed
6722.7 BUILD_TYPE=Debug Linux passed
6722.8 BUILD_TYPE=Release Linux passed

Build Configuration

Build Option Setting
Language C++
Operating System Linux (Xenial)
Build Configuration
{
  "language": "cpp",
  "os": [
    "linux"
  ],
  "dist": "xenial",
  "addons": {
    "apt": {
      "packages": [
        "tclsh",
        "pkg-config",
        "cmake",
        "libssl-dev",
        "build-essential",
        "libmbedtls-dev",
        "gdb"
      ]
    },
    "homebrew": {
      "update": false,
      "packages": [
        "openssl"
      ]
    }
  },
  "script": [
    "if [ \"$TRAVIS_COMPILER\" == \"x86_64-w64-mingw32-g++\" ]; then export CC=\"x86_64-w64-mingw32-gcc\"; export CXX=\"x86_64-w64-mingw32-g++\"; cmake . -DCMAKE_BUILD_TYPE=$BUILD_TYPE $BUILD_OPTS -DENABLE_UNITTESTS=\"OFF\" -DUSE_OPENSSL_PC=\"OFF\" -DOPENSSL_ROOT_DIR=\"$PWD/openssl\" -DCMAKE_SYSTEM_NAME=\"Windows\"; elif [ \"$TRAVIS_OS_NAME\" == \"linux\" ]; then cmake . -DCMAKE_BUILD_TYPE=$BUILD_TYPE $BUILD_OPTS -DENABLE_UNITTESTS=\"ON\"; elif [ \"$TRAVIS_OS_NAME\" == \"osx\" ]; then export PKG_CONFIG_PATH=$(brew --prefix openssl)\"/lib/pkgconfig\"; cmake . -DCMAKE_BUILD_TYPE=$BUILD_TYPE $BUILD_OPTS -DENABLE_UNITTESTS=\"ON\"; fi",
    "make -j$(nproc);",
    "if [ \"$TRAVIS_COMPILER\" != \"x86_64-w64-mingw32-g++\" ]; then ulimit -c unlimited; ./test-srt -disable-ipv6; SUCCESS=$?; if [ -f core ]; then gdb -batch ./test-srt -c core -ex bt -ex \"info thread\" -ex quit; else echo \"NO CORE - NO CRY!\"; fi; test $SUCCESS == 0; fi"
  ],
  "jobs": {
    "include": [
      {
        "os": "linux",
        "env": [
          {
            "BUILD_TYPE": "Debug"
          },
          {
            "BUILD_OPTS": "'-DENABLE_BONDING=ON -DCMAKE_CXX_FLAGS=\"-Werror\"'"
          }
        ]
      },
      {
        "env": [
          {
            "BUILD_TYPE": "Debug"
          },
          {
            "BUILD_OPTS": "'-DENABLE_LOGGING=OFF -DUSE_ENCLIB=mbedtls -DENABLE_MONOTONIC_CLOCK=ON -DENABLE_BONDING=ON -DCMAKE_CXX_FLAGS=\"-Werror\"'"
          }
        ]
      },
      {
        "os": "linux",
        "env": [
          {
            "BUILD_TYPE": "Release"
          }
        ]
      },
      {
        "os": "osx",
        "osx_image": "xcode11.1",
        "env": [
          {
            "BUILD_TYPE": "Debug"
          },
          {
            "BUILD_OPTS": "'-DCMAKE_CXX_FLAGS=\"-Werror\"'"
          }
        ]
      },
      {
        "os": "osx",
        "osx_image": "xcode11.1",
        "env": [
          {
            "BUILD_TYPE": "Release"
          },
          {
            "BUILD_OPTS": "'-DCMAKE_CXX_FLAGS=\"-Werror\"'"
          }
        ]
      },
      {
        "os": "linux",
        "compiler": "x86_64-w64-mingw32-g++",
        "addons": {
          "apt": {
            "packages": [
              "gcc-mingw-w64-base",
              "binutils-mingw-w64-x86-64",
              "gcc-mingw-w64-x86-64",
              "gcc-mingw-w64",
              "g++-mingw-w64-x86-64"
            ]
          }
        },
        "before_script": [
          "git clone -b OpenSSL_1_1_1g https://github.com/openssl/openssl.git openssl",
          "cd openssl",
          "./Configure --cross-compile-prefix=x86_64-w64-mingw32- mingw64",
          "make",
          "cd .."
        ],
        "env": [
          {
            "BUILD_TYPE": "Release"
          }
        ]
      },
      {
        "os": "linux",
        "arch": "ppc64le",
        "env": [
          {
            "BUILD_TYPE": "Debug"
          }
        ]
      },
      {
        "arch": "ppc64le",
        "env": [
          {
            "BUILD_TYPE": "Release"
          },
          {
            "BUILD_OPTS": "'-DENABLE_MONOTONIC_CLOCK=ON'"
          }
        ]
      }
    ]
  }
}