Actually call PyErr_Occured(), not just refer to its address #30
Travis CI / Travis CI - Pull Request
succeeded
Nov 25, 2024 in 1h 44m 48s
Build Passed
The build passed, just like the previous build.
Details
This is a pull request build.
It is running a build against the merge commit, after merging #30 Actually call PyErr_Occured(), not just refer to its address.
Any changes that have been made to the 1.1 branch before the build ran are also included.
Jobs and Stages
This build has 16 jobs, running in three sequential stages.
Stage 1: Minimal
This stage passed.
Job | ENV | OS | State |
---|---|---|---|
679.1 CS 10.6 | PYTHON_VER="3.10" HOMEBREW_NO_AUTO_UPDATE=1 HOMEBREW_NO_INSTALL_CLEANUP=1 DB=testp CLEAR_TEXT=0 | Linux | passed |
Stage 2: Language
This stage passed.
Job | ENV | OS | State |
---|---|---|---|
679.2 Python 3.9 | PYTHON_VER="3.10" HOMEBREW_NO_AUTO_UPDATE=1 HOMEBREW_NO_INSTALL_CLEANUP=1 DB=testp CLEAR_TEXT=0 | Linux | passed |
679.3 Python 3.10 | PYTHON_VER="3.10" HOMEBREW_NO_AUTO_UPDATE=1 HOMEBREW_NO_INSTALL_CLEANUP=1 DB=testp CLEAR_TEXT=0 | Linux | passed |
679.4 Python 3.11 | PYTHON_VER="3.10" HOMEBREW_NO_AUTO_UPDATE=1 HOMEBREW_NO_INSTALL_CLEANUP=1 DB=testp CLEAR_TEXT=0 | Linux | passed |
679.5 Python 3.12 | PYTHON_VER="3.10" HOMEBREW_NO_AUTO_UPDATE=1 HOMEBREW_NO_INSTALL_CLEANUP=1 DB=testp CLEAR_TEXT=0 | Linux | passed |
679.6 Python 3.13 | PYTHON_VER="3.10" HOMEBREW_NO_AUTO_UPDATE=1 HOMEBREW_NO_INSTALL_CLEANUP=1 DB=testp CLEAR_TEXT=0 | Linux | passed |
Stage 3: Community
This stage passed.
Job | ENV | OS | State | Notes |
---|---|---|---|---|
679.7 CS 11.4 - Windows | PYTHON_VER="3.10" HOMEBREW_NO_AUTO_UPDATE=1 HOMEBREW_NO_INSTALL_CLEANUP=1 DB=testp CLEAR_TEXT=0 | windows | passed | |
679.8 CS 10.5 | PYTHON_VER="3.10" HOMEBREW_NO_AUTO_UPDATE=1 HOMEBREW_NO_INSTALL_CLEANUP=1 DB=testp CLEAR_TEXT=0 | Linux | passed | |
679.9 CS 10.11 | PYTHON_VER="3.10" HOMEBREW_NO_AUTO_UPDATE=1 HOMEBREW_NO_INSTALL_CLEANUP=1 DB=testp CLEAR_TEXT=0 | Linux | passed | |
679.10 CS 11.2 | PYTHON_VER="3.10" HOMEBREW_NO_AUTO_UPDATE=1 HOMEBREW_NO_INSTALL_CLEANUP=1 DB=testp CLEAR_TEXT=0 | Linux | passed | |
679.11 CS 11.4 | PYTHON_VER="3.10" HOMEBREW_NO_AUTO_UPDATE=1 HOMEBREW_NO_INSTALL_CLEANUP=1 DB=testp CLEAR_TEXT=0 | Linux | passed | |
679.12 CS 11.5 | PYTHON_VER="3.10" HOMEBREW_NO_AUTO_UPDATE=1 HOMEBREW_NO_INSTALL_CLEANUP=1 DB=testp CLEAR_TEXT=0 | Linux | passed | |
679.13 CS 11.6 | PYTHON_VER="3.10" HOMEBREW_NO_AUTO_UPDATE=1 HOMEBREW_NO_INSTALL_CLEANUP=1 DB=testp CLEAR_TEXT=0 | Linux | passed | |
679.14 MySQL 8.4 | PYTHON_VER="3.10" HOMEBREW_NO_AUTO_UPDATE=1 HOMEBREW_NO_INSTALL_CLEANUP=1 DB=testp CLEAR_TEXT=0 | Linux | passed | |
679.15 MySQL 9.0 | PYTHON_VER="3.10" HOMEBREW_NO_AUTO_UPDATE=1 HOMEBREW_NO_INSTALL_CLEANUP=1 DB=testp CLEAR_TEXT=0 | Linux | passed | |
679.16 CS build | PYTHON_VER="3.10" HOMEBREW_NO_AUTO_UPDATE=1 HOMEBREW_NO_INSTALL_CLEANUP=1 DB=testp CLEAR_TEXT=0 | Linux | passed | This job is allowed to fail. |
Build Configuration
Build Option | Setting |
---|---|
Language | C |
Operating System | Linux (Jammy) |
Build Configuration
{
"language": "c",
"os": [
"linux"
],
"dist": "jammy",
"sudo": true,
"before_install": [
"export MAIN_PATH=`pwd`",
"if [ \"$TRAVIS_OS_NAME\" == \"windows\" ] ; then\n choco install pyenv-win\n export PYENV_ROOT=$HOME/.pyenv\n export PATH=$PYENV_ROOT/pyenv-win/bin:$PYENV_ROOT/pyenv-win/shims:$PATH\n pyenv update\nelse\n git clone https://github.com/pyenv/pyenv.git ~/.pyenv\n export PYENV_ROOT=\"$HOME/.pyenv\"\n export PATH=\"$PYENV_ROOT/shims:$PYENV_ROOT/bin:$PATH\"\n eval \"$(pyenv init -)\"\nfi",
"if [ \"$TRAVIS_OS_NAME\" == \"linux\" ] ; then\n sudo apt-get install software-properties-common\n sudo apt-get install -f libssl-dev libssl1.1\n sudo apt-get install -f\nfi",
"git clone https://github.com/mariadb-corporation/mariadb-connector-c.git ~/.cc_3",
"cd ~/.cc_3",
"mkdir bld",
"cd bld",
"case $TRAVIS_OS_NAME in\n windows)\n export WIX=\"c:/Program Files (x86)/WiX Toolset v3.14\"\n export MARIADB_CC_INSTALL_DIR=$HOME/conc\n cmake .. -DCMAKE_GENERATOR_PLATFORM=x64 -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=$MARIADB_CC_INSTALL_DIR\n cmake --build . --config RelWithDebInfo\n cmake --install . --config RelWithDebInfo\n ;;\n osx)\n cmake .. -DCMAKE_BUILD_TYPE=Release -DWITH_EXTERNAL_ZLIB:BOOL=ON -DOPENSSL_ROOT_DIR=/usr/local/opt/[email protected]\n make -j4\n ;;\n linux)\n cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr\n make -j4\n ;;\nesac",
"if [ \"$TRAVIS_OS_NAME\" != \"windows\" ] ; then\n sudo make install\n export MARIADB_PLUGIN_DIR==`mariadb_config --plugindir`\n export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/mariadb\nelse\n export MARIADB_PLUGIN_DIR=$MARIADB_CC_INSTALL/lib/mariadb/plugin\nfi",
"git clone https://github.com/momo-lab/pyenv-install-latest.git $PYENV_ROOT/plugins/pyenv-install-latest",
"export REAL_PYTHON_VERSION=$(pyenv install --list | grep --extended-regexp \"^\\s*[0-9][0-9.]*[0-9]\\s*$\" | tail -1 | tr -d ' ')",
"echo $REAL_PYTHON_VERSION",
"pyenv install $REAL_PYTHON_VERSION",
"export PYENV_VERSION=$REAL_PYTHON_VERSION",
"pyenv versions",
"cd $MAIN_PATH"
],
"env": [
"global={:PYTHON_VER=>\"\\\"3.10\\\"\", :HOMEBREW_NO_AUTO_UPDATE=>\"1\", :HOMEBREW_NO_INSTALL_CLEANUP=>\"1\", :DB=>\"testp\", :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",
"dist": "jammy",
"if": "type = push AND fork = false"
},
{
"stage": "Enterprise",
"env": [
{
"srv": "mariadb-es",
"v": "10.5"
}
],
"name": "ES 10.5",
"dist": "jammy",
"if": "type = push AND fork = false"
},
{
"stage": "Enterprise",
"env": [
{
"srv": "mariadb-es-test",
"v": "11.4"
}
],
"dist": "jammy",
"name": "ES 11.4 preview",
"if": "type = push AND fork = false"
},
{
"stage": "Enterprise",
"env": [
{
"srv": "maxscale"
}
],
"dist": "jammy",
"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"
}
],
"dist": "jammy",
"name": "CS 10.11"
},
{
"env": [
{
"srv": "mariadb",
"v": "11.2",
"local": "1",
"CLEAR_TEXT": "1"
}
],
"dist": "jammy",
"name": "CS 11.2"
},
{
"env": [
{
"srv": "mariadb",
"v": "11.4",
"local": "1"
}
],
"dist": "jammy",
"name": "CS 11.4"
},
{
"env": [
{
"srv": "mariadb",
"v": "11.5"
}
],
"name": "CS 11.5"
},
{
"env": [
{
"srv": "mariadb",
"v": "11.6-rc"
}
],
"name": "CS 11.6"
},
{
"env": [
{
"srv": "mysql",
"v": "8.4"
}
],
"name": "MySQL 8.4"
},
{
"env": [
{
"srv": "mysql",
"v": "9.0"
}
],
"name": "MySQL 9.0"
},
{
"env": [
{
"srv": "build"
}
],
"name": "CS build"
},
{
"stage": "Language",
"env": [
{
"srv": "mariadb",
"v": "10.11",
"local": "1",
"PYTHON_VER": "\"3.9\""
}
],
"name": "Python 3.9"
},
{
"env": [
{
"srv": "mariadb",
"v": "10.11",
"local": "1",
"PYTHON_VER": "\"3.10\""
}
],
"name": "Python 3.10"
},
{
"env": [
{
"srv": "mariadb",
"v": "10.11",
"local": "1",
"PYTHON_VER": "\"3.11\""
}
],
"name": "Python 3.11"
},
{
"env": [
{
"srv": "mariadb",
"v": "10.11",
"local": "1",
"PYTHON_VER": "\"3.12\""
}
],
"name": "Python 3.12"
},
{
"env": [
{
"srv": "mariadb",
"v": "10.11",
"local": "1",
"PYTHON_VER": "\"3.13\""
}
],
"name": "Python 3.13"
}
],
"fast_finish": true,
"allow_failures": [
{
"env": [
{
"srv": "build"
}
]
}
]
},
"script": [
"python --version",
"python -m pip install .",
"cd testing",
"if [ -z \"$BENCH\" ] ; then\n python -m unittest discover -v\nelse\n pip install mysql-connector-python pymysql pyperf\n export TEST_MODULE=mariadb\n python bench_init.py --inherit-environ=TEST_MODULE,TEST_DB_USER,TEST_DB_HOST,TEST_DB_DATABASE,TEST_DB_PORT,TEST_REQUIRE_TLS,TEST_DB_PASSWORD --copy-env\n python bench.py -o mariadb_bench.json --inherit-environ=TEST_MODULE,TEST_DB_USER,TEST_DB_HOST,TEST_DB_DATABASE,TEST_DB_PORT,TEST_REQUIRE_TLS,TEST_DB_PASSWORD --copy-env\n export TEST_MODULE=mysql.connector\n python bench.py -o mysql-connector-python_bench.json --inherit-environ=TEST_MODULE,TEST_DB_USER,TEST_DB_HOST,TEST_DB_DATABASE,TEST_DB_PORT,TEST_REQUIRE_TLS,TEST_DB_PASSWORD --copy-env\n export TEST_MODULE=pymysql\n python bench.py -o pymysql_bench.json --inherit-environ=TEST_MODULE,TEST_DB_USER,TEST_DB_HOST,TEST_DB_DATABASE,TEST_DB_PORT,TEST_REQUIRE_TLS,TEST_DB_PASSWORD --copy-env\n python -m pyperf compare_to pymysql_bench.json mysql-connector-python_bench.json mariadb_bench.json --table\nfi"
],
"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"
]
}
Loading