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

Socket connections now try all possible IP addresses #196

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

fix remote socket check error

5d6e7b2
Select commit
Loading
Failed to load commit list.
Open

Socket connections now try all possible IP addresses #196

fix remote socket check error
5d6e7b2
Select commit
Loading
Failed to load commit list.
Travis CI / Travis CI - Pull Request succeeded Aug 18, 2024 in 1h 37m 29s

Build Passed

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

Details

This is a pull request build.

It is running a build against the merge commit, after merging #196 Socket connections now try all possible IP addresses.
Any changes that have been made to the master branch before the build ran are also included.

Jobs and Stages

This build has 15 jobs, running in three sequential stages.

Stage 1: Minimal

This stage passed.

Job JDK ENV OS State
3803.1 CS 10.6 openjdk17 local=0 RUN_LONG_TEST=true PROFILE=default DB=testj CLEAR_TEXT=0 Linux passed

Stage 2: Language

This stage passed.

Job JDK ENV OS State
3803.2 CS 11.4 - openjdk 8 openjdk8 local=0 RUN_LONG_TEST=true PROFILE=default DB=testj CLEAR_TEXT=0 Linux passed
3803.3 CS 11.4 - openjdk 11 - packet 8M openjdk11 local=0 RUN_LONG_TEST=true PROFILE=default DB=testj CLEAR_TEXT=0 Linux passed
3803.4 CS 11.4 - openjdk 17 - packet 40M openjdk17 local=0 RUN_LONG_TEST=true PROFILE=default DB=testj CLEAR_TEXT=0 Linux passed
3803.5 CS 11.4 - openjdk 21 openjdk21 local=0 RUN_LONG_TEST=true PROFILE=default DB=testj CLEAR_TEXT=0 Linux passed
3803.6 CS 10.6 - openjdk 21 openjdk21 local=0 RUN_LONG_TEST=true PROFILE=default DB=testj CLEAR_TEXT=0 Linux passed

Stage 3: Community

This stage passed.

Job JDK ENV OS State Notes
3803.7 CS 11.4 - Windows local=0 RUN_LONG_TEST=true PROFILE=default DB=testj CLEAR_TEXT=0 windows passed
3803.8 CS 10.5 openjdk17 local=0 RUN_LONG_TEST=true PROFILE=default DB=testj CLEAR_TEXT=0 Linux passed
3803.9 CS 10.11 openjdk17 local=0 RUN_LONG_TEST=true PROFILE=default DB=testj CLEAR_TEXT=0 Linux passed
3803.10 CS 11.1 openjdk17 local=0 RUN_LONG_TEST=true PROFILE=default DB=testj CLEAR_TEXT=0 Linux passed
3803.11 CS 11.2 openjdk17 local=0 RUN_LONG_TEST=true PROFILE=default DB=testj CLEAR_TEXT=0 Linux passed
3803.12 CS 11.4 openjdk17 local=0 RUN_LONG_TEST=true PROFILE=default DB=testj CLEAR_TEXT=0 Linux passed
3803.13 CS 11.5 - noble openjdk17 local=0 RUN_LONG_TEST=true PROFILE=default DB=testj CLEAR_TEXT=0 Linux passed
3803.14 MySQL 8.4 openjdk17 local=0 RUN_LONG_TEST=true PROFILE=default DB=testj CLEAR_TEXT=0 Linux passed
3803.15 CS build openjdk17 local=0 RUN_LONG_TEST=true PROFILE=default DB=testj CLEAR_TEXT=0 Linux passed This job is allowed to fail.

Build Configuration

Build Option Setting
Language Java
Operating System Linux (Jammy)
JDK Version openjdk17
Build Configuration
{
  "language": "java",
  "os": [
    "linux"
  ],
  "dist": "jammy",
  "jdk": [
    "openjdk17"
  ],
  "version": "~> 1.0",
  "before_install": [
    "case $TRAVIS_OS_NAME in\n  windows)\n    choco install openjdk11 maven\n    export PATH=$(cmd.exe //c \"refreshenv > nul & C:\\Progra~1\\Git\\bin\\bash -c 'echo \\$PATH' \")\n    ;;\nesac"
  ],
  "env": [
    "global={:local=>\"0\", :RUN_LONG_TEST=>\"true\", :PROFILE=>\"default\", :DB=>\"testj\", :CLEAR_TEXT=>\"0\"}"
  ],
  "jobs": {
    "include": [
      {
        "stage": "Minimal",
        "env": [
          {
            "srv": "mariadb",
            "v": "10.6",
            "local": "1"
          }
        ],
        "name": "CS 10.6"
      },
      {
        "stage": "Minimal",
        "env": [
          {
            "srv": "mariadb-es",
            "v": "10.6"
          }
        ],
        "name": "ES 10.6",
        "if": "type = push AND fork = false"
      },
      {
        "stage": "Enterprise",
        "env": [
          {
            "srv": "mariadb-es",
            "v": "10.4"
          }
        ],
        "name": "ES 10.4",
        "if": "type = push AND fork = false"
      },
      {
        "stage": "Enterprise",
        "env": [
          {
            "srv": "mariadb-es",
            "v": "10.5"
          }
        ],
        "name": "ES 10.5",
        "if": "type = push AND fork = false"
      },
      {
        "stage": "Enterprise",
        "env": [
          {
            "srv": "mariadb-es",
            "v": "23.08"
          }
        ],
        "name": "ES 23.08",
        "if": "type = push AND fork = false"
      },
      {
        "stage": "Enterprise",
        "env": [
          {
            "srv": "maxscale"
          }
        ],
        "name": "Maxscale"
      },
      {
        "stage": "Community",
        "env": [
          {
            "srv": "mariadb",
            "v": "11.4"
          }
        ],
        "os": "windows",
        "language": "shell",
        "name": "CS 11.4 - Windows"
      },
      {
        "stage": "Community",
        "env": [
          {
            "srv": "mariadb",
            "v": "10.5",
            "local": "1"
          }
        ],
        "dist": "bionic",
        "name": "CS 10.5",
        "node_js": "16"
      },
      {
        "env": [
          {
            "srv": "mariadb",
            "v": "10.11",
            "local": "1"
          }
        ],
        "name": "CS 10.11"
      },
      {
        "env": [
          {
            "srv": "mariadb",
            "v": "11.1",
            "local": "1"
          }
        ],
        "name": "CS 11.1"
      },
      {
        "env": [
          {
            "srv": "mariadb",
            "v": "11.2",
            "local": "1",
            "CLEAR_TEXT": "1"
          }
        ],
        "name": "CS 11.2"
      },
      {
        "env": [
          {
            "srv": "mariadb",
            "v": "11.4",
            "local": "1"
          }
        ],
        "name": "CS 11.4"
      },
      {
        "env": [
          {
            "srv": "mariadb",
            "v": "11.5-rc"
          }
        ],
        "dist": "noble",
        "name": "CS 11.5 - noble"
      },
      {
        "env": [
          {
            "srv": "mysql",
            "v": "8.4"
          }
        ],
        "name": "MySQL 8.4"
      },
      {
        "env": [
          {
            "srv": "build"
          }
        ],
        "name": "CS build"
      },
      {
        "stage": "Language",
        "env": [
          {
            "srv": "mariadb",
            "v": "11.4",
            "packet": "40",
            "PROFILE": "java8"
          }
        ],
        "jdk": "openjdk8",
        "name": "CS 11.4 - openjdk 8"
      },
      {
        "stage": "Language",
        "env": [
          {
            "srv": "mariadb",
            "v": "11.4",
            "packet": "8"
          }
        ],
        "jdk": "openjdk11",
        "name": "CS 11.4 - openjdk 11 - packet 8M"
      },
      {
        "stage": "Language",
        "env": [
          {
            "srv": "mariadb",
            "v": "11.4",
            "packet": "40"
          }
        ],
        "jdk": "openjdk17",
        "name": "CS 11.4 - openjdk 17 - packet 40M"
      },
      {
        "stage": "Language",
        "env": [
          {
            "srv": "mariadb",
            "v": "11.4"
          }
        ],
        "jdk": "openjdk21",
        "name": "CS 11.4 - openjdk 21"
      },
      {
        "stage": "Benchmarks",
        "env": [
          {
            "srv": "mariadb",
            "v": "10.6",
            "local": "1",
            "BENCH": "1"
          }
        ],
        "name": "Benchmarks"
      },
      {
        "stage": "Language",
        "env": [
          {
            "srv": "mariadb",
            "v": "10.6",
            "packet": "40"
          }
        ],
        "jdk": "openjdk21",
        "name": "CS 10.6 - openjdk 21"
      }
    ],
    "fast_finish": true,
    "allow_failures": [
      {
        "env": [
          {
            "srv": "build"
          }
        ]
      }
    ]
  },
  "script": [
    "echo $PROFILE",
    "mvn clean -Dmaven.test.skip -P $PROFILE",
    "if [ \"java8\" == \"$PROFILE\" ]; then\n  rm -R .mvn\n      java -version\n  mvn -version\nfi",
    "if [ -n \"$BENCH\" ] ; then mvn package -P bench -Dmaven.test.skip -Dmaven.javadoc.skip=true ; fi",
    "if [ -n \"$BENCH\" ] ; then java -Duser.country=US -Duser.language=en -DTEST_PORT=$TEST_DB_PORT -DTEST_HOST=$TEST_DB_HOST -DTEST_USERNAME=$TEST_DB_USER -DTEST_PASSWORD=$TEST_DB_PASSWORD -jar target/benchmarks.jar; fi",
    "if [ -z \"$BENCH\" ] ; then MAVEN_SKIP_RC=true MAVEN_OPTS=\"-Xmx2g\" mvn clean test -P ${PROFILE} -DjobId=${TRAVIS_JOB_ID}; fi"
  ],
  "after_script": [
    "bash <(curl -s https://codecov.io/bash)"
  ],
  "services": [
    "docker"
  ],
  "addons": {
    "hosts": [
      "mariadb.example.com",
      "mariadb1.example.com",
      "mariadb2.example.com",
      "mariadb3.example.com"
    ]
  },
  "install": [
    "git clone https://github.com/mariadb-corporation/connector-test-machine.git",
    "if [ -z \"$server_branch\" ] ; then\n  case $TRAVIS_OS_NAME in\n    windows)\n      connector-test-machine/launch.bat -t \"$srv\" -v \"$v\" -d \"$DB\"\n      # Since refreshenv doesn't seem to work, we set this manually\n      export WIX=\"/c/Program Files (x86)/WiX Toolset v3.11\"\n      ;;\n    linux)\n      source connector-test-machine/launch.sh -t \"$srv\" -v \"$v\" -d \"$DB\" -l \"$local\" -c \"$CLEAR_TEXT\" -p \"$packet\"\n      ;;\n  esac\nfi"
  ],
  "stages": [
    {
      "name": "Minimal"
    },
    {
      "name": "Language"
    },
    {
      "name": "Enterprise",
      "if": "type = push AND fork = false"
    },
    {
      "name": "Community"
    },
    {
      "name": "Other"
    },
    {
      "name": "Benchmarks",
      "if": "type = push AND fork = false"
    }
  ],
  "after_failure": [
    "if [ \"$srv\" == \"maxscale\" ] ; then docker-compose -f ${COMPOSE_FILE} exec -u root maxscale tail -500 /var/log/maxscale/maxscale.log; fi"
  ]
}