Make room for other database engines #1139
+22
−23
Closed
Travis CI / Travis CI - Pull Request
required action
Dec 4, 2023 in 4m 20s
Build Errored
The build errored. 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 #1139 Make room for other database engines.
Any changes that have been made to the develop branch before the build ran are also included.
Jobs and Stages
This build has six jobs, running in parallel.
Stage 1: test
This stage errored.
Job | Perl | ENV | OS | State |
---|---|---|---|---|
2186.1 | 5.32 | TARGET=SQLite ZONEMASTER_RECORD=0 ZONEMASTER_BACKEND_CONFIG_FILE=./share/travis_sqlite_backend_config.ini | Linux | errored |
2186.2 | 5.32 | TARGET=MySQL ZONEMASTER_RECORD=0 ZONEMASTER_BACKEND_CONFIG_FILE=./share/travis_mysql_backend_config.ini | Linux | errored |
2186.3 | 5.32 | TARGET=PostgreSQL ZONEMASTER_RECORD=0 ZONEMASTER_BACKEND_CONFIG_FILE=./share/travis_postgresql_backend_config.ini | Linux | errored |
2186.4 | 5.30.2 | TARGET=SQLite ZONEMASTER_RECORD=0 ZONEMASTER_BACKEND_CONFIG_FILE=./share/travis_sqlite_backend_config.ini | Linux | errored |
2186.5 | 5.26 | TARGET=SQLite ZONEMASTER_RECORD=0 ZONEMASTER_BACKEND_CONFIG_FILE=./share/travis_sqlite_backend_config.ini | Linux | errored |
2186.6 | 5.16 | TARGET=SQLite ZONEMASTER_RECORD=0 ZONEMASTER_BACKEND_CONFIG_FILE=./share/travis_sqlite_backend_config.ini | Linux | errored |
Build Configuration
Build Option | Setting |
---|---|
Language | Perl |
Operating System | Linux (Focal) |
Perl Version | 5.32 |
Build Configuration
{
"language": "perl",
"os": [
"linux"
],
"dist": "focal",
"perl": [
"5.32"
],
"stages": [
{
"name": "test"
}
],
"script": [
"perl Makefile.PL && make test TEST_VERBOSE=1"
],
"jobs": {
"include": [
{
"stage": "test",
"env": [
{
"TARGET": "SQLite",
"ZONEMASTER_RECORD": "0",
"ZONEMASTER_BACKEND_CONFIG_FILE": "./share/travis_sqlite_backend_config.ini"
}
]
},
{
"env": [
{
"TARGET": "MySQL",
"ZONEMASTER_RECORD": "0",
"ZONEMASTER_BACKEND_CONFIG_FILE": "./share/travis_mysql_backend_config.ini"
}
],
"services": [
"mysql"
]
},
{
"env": [
{
"TARGET": "PostgreSQL",
"ZONEMASTER_RECORD": "0",
"ZONEMASTER_BACKEND_CONFIG_FILE": "./share/travis_postgresql_backend_config.ini"
}
],
"services": [
"postgresql"
]
},
{
"perl": "5.30.2",
"env": [
{
"TARGET": "SQLite",
"ZONEMASTER_RECORD": "0",
"ZONEMASTER_BACKEND_CONFIG_FILE": "./share/travis_sqlite_backend_config.ini"
}
]
},
{
"perl": "5.26",
"env": [
{
"TARGET": "SQLite",
"ZONEMASTER_RECORD": "0",
"ZONEMASTER_BACKEND_CONFIG_FILE": "./share/travis_sqlite_backend_config.ini"
}
]
},
{
"perl": "5.16",
"dist": "bionic",
"env": [
{
"TARGET": "SQLite",
"ZONEMASTER_RECORD": "0",
"ZONEMASTER_BACKEND_CONFIG_FILE": "./share/travis_sqlite_backend_config.ini"
}
]
}
]
},
"addons": {
"apt": {
"packages": [
"autoconf",
"automake",
"build-essential",
"cpanminus",
"libclone-perl",
"libfile-sharedir-perl",
"libfile-slurp-perl",
"libidn2-dev",
"libintl-perl",
"libio-socket-inet6-perl",
"libjson-pp-perl",
"liblist-moreutils-perl",
"liblocale-msgfmt-perl",
"libmail-rfc822-address-perl",
"libmodule-find-perl",
"libnet-ip-xs-perl",
"libpod-coverage-perl",
"libreadonly-perl",
"libreadonly-xs-perl",
"libssl-dev",
"libtest-differences-perl",
"libtest-exception-perl",
"libtest-fatal-perl",
"libtest-pod-perl",
"libtext-csv-perl",
"libtool",
"m4",
"libclass-method-modifiers-perl",
"libconfig-inifiles-perl",
"libdbd-sqlite3-perl",
"libdbi-perl",
"libfile-sharedir-perl",
"libfile-slurp-perl",
"libhtml-parser-perl",
"libio-captureoutput-perl",
"libio-stringy-perl",
"libjson-pp-perl",
"libjson-rpc-perl",
"liblog-any-adapter-dispatch-perl",
"liblog-any-perl",
"liblog-dispatch-perl",
"libplack-middleware-debug-perl",
"libplack-perl",
"librole-tiny-perl",
"librouter-simple-perl",
"libtest-nowarnings-perl",
"libtry-tiny-perl",
"postgresql",
"starman"
]
}
},
"before_install": [
"export PERL5LIB=/usr/share/perl5",
"eval \"$(curl https://travis-perl.github.io/init)\" --auto",
"cpan-install Module::Install Module::Install::XSUtil",
"cpan-install Devel::CheckLib",
"cpan-install Devel::OverloadInfo Moose",
"cpan-install Socket6",
"git clone --depth=1 --branch=$TRAVIS_BRANCH https://github.com/zonemaster/zonemaster-ldns.git",
"( cd zonemaster-ldns && cpanm --verbose --notest --configure-args=\"--no-ed25519\" . ) && rm -rf zonemaster-ldns",
"git clone --depth=1 --branch=$TRAVIS_BRANCH https://github.com/zonemaster/zonemaster-engine.git",
"( cd zonemaster-engine && cpanm --verbose --notest . ) && rm -rf zonemaster-engine",
"mkdir -p ./lib/auto/share/dist/",
"ln -s ../../../../share ./lib/auto/share/dist/Zonemaster-Backend",
"if [[ \"$TARGET\" == \"PostgreSQL\" ]]; then sudo sed -i 's/port = 5433/port = 5432/' /etc/postgresql/12/main/postgresql.conf; fi",
"if [[ \"$TARGET\" == \"PostgreSQL\" ]]; then sudo pg_ctlcluster 12 main restart; fi"
],
"before_script": [
"if [[ \"$TARGET\" == \"PostgreSQL\" ]]; then psql -U travis -c \"CREATE USER travis_zonemaster WITH PASSWORD 'travis_zonemaster';\"; fi",
"if [[ \"$TARGET\" == \"PostgreSQL\" ]]; then psql -U travis -c 'CREATE DATABASE travis_zonemaster OWNER travis_zonemaster;'; fi",
"if [[ \"$TARGET\" == \"PostgreSQL\" ]]; then cpanm DBD::Pg; fi",
"if [[ \"$TARGET\" == \"MySQL\" ]]; then mysql -u root -e \"CREATE USER 'travis_zm'@'localhost' IDENTIFIED BY 'travis_zonemaster';\"; fi",
"if [[ \"$TARGET\" == \"MySQL\" ]]; then mysql -u root -e \"CREATE DATABASE travis_zonemaster CHARACTER SET utf8 COLLATE utf8_bin;\"; fi",
"if [[ \"$TARGET\" == \"MySQL\" ]]; then mysql -u root -e \"GRANT ALL ON travis_zonemaster.* TO 'travis_zm'@'localhost';\"; fi",
"if [[ \"$TARGET\" == \"MySQL\" ]]; then cpanm DBD::mysql; fi"
]
}
Loading