ojs ojs stable-3_4_0 3.4.0 upgrade tests #4260
Merged
Travis CI / Travis CI - Pull Request
required action
Apr 29, 2024 in 1m 12s
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 #4260 ojs ojs stable-3_4_0 3.4.0 upgrade tests.
Any changes that have been made to the stable-3_4_0 branch before the build ran are also included.
Jobs and Stages
This build has 17 jobs, running in three sequential stages.
Stage 1: validate
This stage errored.
Job | PHP | ENV | OS | State |
---|---|---|---|---|
16751.1 Validate and lint | 8.0 | GITHUB_ACCESS_KEY=[secure] | Linux | errored |
Stage 2: test
This stage canceled.
Job | PHP | ENV | OS | State |
---|---|---|---|---|
16751.2 | 8.0 | GITHUB_ACCESS_KEY=[secure] | Linux | canceled |
16751.3 | 8.1.0 | GITHUB_ACCESS_KEY=[secure] | Linux | canceled |
16751.4 | 8.0 | GITHUB_ACCESS_KEY=[secure] | Linux | canceled |
16751.5 | 8.1.0 | GITHUB_ACCESS_KEY=[secure] | Linux | canceled |
16751.6 | 8.2.0 | GITHUB_ACCESS_KEY=[secure] | Linux | canceled |
16751.7 | 8.2.0 | GITHUB_ACCESS_KEY=[secure] | Linux | canceled |
Stage 3: upgrade
This stage canceled.
Job | PHP | ENV | OS | State |
---|---|---|---|---|
16751.8 | 8.0 | GITHUB_ACCESS_KEY=[secure] | Linux | canceled |
16751.9 | 8.0 | GITHUB_ACCESS_KEY=[secure] | Linux | canceled |
16751.10 | 8.0 | GITHUB_ACCESS_KEY=[secure] | Linux | canceled |
16751.11 | 8.0 | GITHUB_ACCESS_KEY=[secure] | Linux | canceled |
16751.12 | 8.0 | GITHUB_ACCESS_KEY=[secure] | Linux | canceled |
16751.13 | 8.0 | GITHUB_ACCESS_KEY=[secure] | Linux | canceled |
16751.14 | 8.0 | GITHUB_ACCESS_KEY=[secure] | Linux | canceled |
16751.15 | 8.0 | GITHUB_ACCESS_KEY=[secure] | Linux | canceled |
16751.16 | 8.0 | GITHUB_ACCESS_KEY=[secure] | Linux | canceled |
16751.17 | 8.0 | GITHUB_ACCESS_KEY=[secure] | Linux | canceled |
Build Configuration
Build Option | Setting |
---|---|
Language | PHP |
Operating System | Linux (Focal) |
Python Version | 3.3 |
Build Configuration
{
"language": "php",
"os": [
"linux"
],
"dist": "focal",
"env": [
"global=GITHUB_ACCESS_KEY=[secure]={:APPLICATION=>\"ojs\"}"
],
"python": [
"3.3"
],
"git": {
"submodules": false
},
"cache": {
"npm": true,
"directories": [
"$HOME/.composer/cache",
"$HOME/.cache"
]
},
"addons": {
"chrome": "beta",
"postgresql": "9.5",
"apt": {
"update": true,
"packages": [
"libvulkan1",
"libu2f-udev"
]
}
},
"before_install": [
"if [[ \"$TEST\" == \"mariadb\" ]]; then\n sudo apt-get remove --purge mysql-server mysql-client mysql-common mysql-server-core-* mysql-client-core-*\n sudo apt-get autoremove -y\n sudo apt-get autoclean\n sudo rm -rf /var/lib/mysql/\n sudo rm -rf /etc/mysql/\n sudo apt-get install mariadb-server mariadb-client\nfi\n",
"if [ -n \"$LIBONIG_INSTALL\" ]; then sudo apt-get install libonig5; fi",
"./tools/startSubmodulesTRAVIS.sh",
"npm i g -npm",
"./lib/pkp/tools/travis/prepare-webserver.sh",
"./lib/pkp/tools/travis/install-composer-dependencies.sh",
"npm install && npm run build"
],
"stages": [
{
"name": "validate"
},
{
"name": "test"
},
{
"name": "upgrade"
}
],
"jobs": {
"include": [
{
"stage": "test",
"env": [
{
"TEST": "pgsql",
"SAVE_BUILD": "true"
}
],
"php": "8.0"
},
{
"env": [
{
"TEST": "pgsql"
}
],
"php": "8.1.0"
},
{
"env": [
{
"TEST": "mariadb",
"SAVE_BUILD": "true"
}
],
"php": "8.0"
},
{
"env": [
{
"TEST": "mysql",
"SAVE_BUILD": "true"
}
],
"php": "8.1.0"
},
{
"env": [
{
"TEST": "mysql",
"LIBONIG_INSTALL": "1"
}
],
"php": "8.2.0"
},
{
"env": [
{
"TEST": "pgsql",
"LIBONIG_INSTALL": "1"
}
],
"php": "8.2.0"
},
{
"stage": "validate",
"php": "8.0",
"name": "Validate and lint",
"script": [
"npm install\n./lib/pkp/tools/travis/install-linter.sh\n./lib/pkp/tools/travis/validate-xml.sh\n./lib/pkp/tools/buildjs.sh -n\n./lib/pkp/tools/checkHelp.sh\n./lib/pkp/tools/travis/validate-json.sh\nnpm run lint\n"
]
},
{
"stage": "upgrade",
"env": [
{
"DATASET_BRANCH": "stable-3_3_0",
"TEST": "mysql"
}
],
"php": "8.0",
"script": [
"source ./lib/pkp/tools/travis/prepare-tests.sh",
"git clone https://github.com/pkp/datasets",
"cp -r datasets/${APPLICATION}/${DATASET_BRANCH}/${TEST}/files/* files/",
"cp -r datasets/${APPLICATION}/${DATASET_BRANCH}/${TEST}/public/* public/",
"cp datasets/${APPLICATION}/${DATASET_BRANCH}/${TEST}/config.inc.php .",
"patch -p1 < datasets/upgrade/3_4_0-add-email-config.diff",
"patch -p1 < datasets/upgrade/3_4_0-update-locale.diff",
"./datasets/tools/dbclient.sh < datasets/${APPLICATION}/${DATASET_BRANCH}/${TEST}/database.sql",
"source ./lib/pkp/tools/travis/migration/v3_4_0/prepare-logs.sh",
"php tools/upgrade.php check",
"php tools/upgrade.php upgrade"
]
},
{
"env": [
{
"DATASET_BRANCH": "stable-3_2_1",
"TEST": "mysql"
}
],
"php": "8.0",
"script": [
"source ./lib/pkp/tools/travis/prepare-tests.sh",
"git clone https://github.com/pkp/datasets",
"cp -r datasets/${APPLICATION}/${DATASET_BRANCH}/${TEST}/files/* files/",
"cp -r datasets/${APPLICATION}/${DATASET_BRANCH}/${TEST}/public/* public/",
"cp datasets/${APPLICATION}/${DATASET_BRANCH}/${TEST}/config.inc.php .",
"patch -p1 < datasets/upgrade/3_4_0-add-email-config.diff",
"patch -p1 < datasets/upgrade/3_4_0-update-locale.diff",
"./datasets/tools/dbclient.sh < datasets/${APPLICATION}/${DATASET_BRANCH}/${TEST}/database.sql",
"source ./lib/pkp/tools/travis/migration/v3_4_0/prepare-logs.sh",
"php tools/upgrade.php check",
"php tools/upgrade.php upgrade"
]
},
{
"env": [
{
"DATASET_BRANCH": "stable-3_2_0",
"TEST": "mysql"
}
],
"php": "8.0",
"script": [
"source ./lib/pkp/tools/travis/prepare-tests.sh",
"git clone https://github.com/pkp/datasets",
"cp -r datasets/${APPLICATION}/${DATASET_BRANCH}/${TEST}/files/* files/",
"cp -r datasets/${APPLICATION}/${DATASET_BRANCH}/${TEST}/public/* public/",
"cp datasets/${APPLICATION}/${DATASET_BRANCH}/${TEST}/config.inc.php .",
"patch -p1 < datasets/upgrade/3_4_0-add-email-config.diff",
"patch -p1 < datasets/upgrade/3_4_0-update-locale.diff",
"./datasets/tools/dbclient.sh < datasets/${APPLICATION}/${DATASET_BRANCH}/${TEST}/database.sql",
"source ./lib/pkp/tools/travis/migration/v3_4_0/prepare-logs.sh",
"php tools/upgrade.php check",
"php tools/upgrade.php upgrade"
]
},
{
"env": [
{
"DATASET_BRANCH": "3.1.2",
"TEST": "mysql"
}
],
"php": "8.0",
"script": [
"source ./lib/pkp/tools/travis/prepare-tests.sh",
"git clone https://github.com/pkp/datasets",
"cp -r datasets/${APPLICATION}/${DATASET_BRANCH}/${TEST}/files/* files/",
"cp -r datasets/${APPLICATION}/${DATASET_BRANCH}/${TEST}/public/* public/",
"cp datasets/${APPLICATION}/${DATASET_BRANCH}/${TEST}/config.inc.php .",
"patch -p1 < datasets/upgrade/3_4_0-add-email-config.diff",
"patch -p1 < datasets/upgrade/3_4_0-update-locale.diff",
"./datasets/tools/dbclient.sh < datasets/${APPLICATION}/${DATASET_BRANCH}/${TEST}/database.sql",
"source ./lib/pkp/tools/travis/migration/v3_4_0/prepare-logs.sh",
"php tools/upgrade.php check",
"php tools/upgrade.php upgrade"
]
},
{
"env": [
{
"DATASET_BRANCH": "3.1.1-2",
"TEST": "mysql"
}
],
"php": "8.0",
"script": [
"source ./lib/pkp/tools/travis/prepare-tests.sh",
"git clone https://github.com/pkp/datasets",
"cp -r datasets/${APPLICATION}/${DATASET_BRANCH}/${TEST}/files/* files/",
"cp -r datasets/${APPLICATION}/${DATASET_BRANCH}/${TEST}/public/* public/",
"cp datasets/${APPLICATION}/${DATASET_BRANCH}/${TEST}/config.inc.php .",
"patch -p1 < datasets/upgrade/3_4_0-add-email-config.diff",
"patch -p1 < datasets/upgrade/3_4_0-update-locale.diff",
"./datasets/tools/dbclient.sh < datasets/${APPLICATION}/${DATASET_BRANCH}/${TEST}/database.sql",
"source ./lib/pkp/tools/travis/migration/v3_4_0/prepare-logs.sh",
"php tools/upgrade.php check",
"php tools/upgrade.php upgrade"
]
},
{
"env": [
{
"DATASET_BRANCH": "3.1.0",
"TEST": "mysql"
}
],
"php": "8.0",
"script": [
"source ./lib/pkp/tools/travis/prepare-tests.sh",
"git clone https://github.com/pkp/datasets",
"cp -r datasets/${APPLICATION}/${DATASET_BRANCH}/${TEST}/files/* files/",
"cp -r datasets/${APPLICATION}/${DATASET_BRANCH}/${TEST}/public/* public/",
"cp datasets/${APPLICATION}/${DATASET_BRANCH}/${TEST}/config.inc.php .",
"patch -p1 < datasets/upgrade/3_4_0-add-email-config.diff",
"patch -p1 < datasets/upgrade/3_4_0-update-locale.diff",
"./datasets/tools/dbclient.sh < datasets/${APPLICATION}/${DATASET_BRANCH}/${TEST}/database.sql",
"source ./lib/pkp/tools/travis/migration/v3_4_0/prepare-logs.sh",
"php tools/upgrade.php check",
"php tools/upgrade.php upgrade"
]
},
{
"env": [
{
"DATASET_BRANCH": "stable-3_3_0",
"TEST": "pgsql"
}
],
"php": "8.0",
"script": [
"source ./lib/pkp/tools/travis/prepare-tests.sh",
"git clone https://github.com/pkp/datasets",
"cp -r datasets/${APPLICATION}/${DATASET_BRANCH}/${TEST}/files/* files/",
"cp -r datasets/${APPLICATION}/${DATASET_BRANCH}/${TEST}/public/* public/",
"cp datasets/${APPLICATION}/${DATASET_BRANCH}/${TEST}/config.inc.php .",
"patch -p1 < datasets/upgrade/3_4_0-add-email-config.diff",
"patch -p1 < datasets/upgrade/3_4_0-update-locale.diff",
"./datasets/tools/dbclient.sh --quiet < datasets/${APPLICATION}/${DATASET_BRANCH}/${TEST}/database.sql",
"source ./lib/pkp/tools/travis/migration/v3_4_0/prepare-logs.sh",
"php tools/upgrade.php check",
"php tools/upgrade.php upgrade"
]
},
{
"env": [
{
"DATASET_BRANCH": "stable-3_2_1",
"TEST": "pgsql"
}
],
"php": "8.0",
"script": [
"source ./lib/pkp/tools/travis/prepare-tests.sh",
"git clone https://github.com/pkp/datasets",
"cp -r datasets/${APPLICATION}/${DATASET_BRANCH}/${TEST}/files/* files/",
"cp -r datasets/${APPLICATION}/${DATASET_BRANCH}/${TEST}/public/* public/",
"cp datasets/${APPLICATION}/${DATASET_BRANCH}/${TEST}/config.inc.php .",
"patch -p1 < datasets/upgrade/3_4_0-add-email-config.diff",
"patch -p1 < datasets/upgrade/3_4_0-update-locale.diff",
"./datasets/tools/dbclient.sh --quiet < datasets/${APPLICATION}/${DATASET_BRANCH}/${TEST}/database.sql",
"source ./lib/pkp/tools/travis/migration/v3_4_0/prepare-logs.sh",
"php tools/upgrade.php check",
"php tools/upgrade.php upgrade"
]
},
{
"env": [
{
"DATASET_BRANCH": "stable-3_2_0",
"TEST": "pgsql"
}
],
"php": "8.0",
"script": [
"source ./lib/pkp/tools/travis/prepare-tests.sh",
"git clone https://github.com/pkp/datasets",
"cp -r datasets/${APPLICATION}/${DATASET_BRANCH}/${TEST}/files/* files/",
"cp -r datasets/${APPLICATION}/${DATASET_BRANCH}/${TEST}/public/* public/",
"cp datasets/${APPLICATION}/${DATASET_BRANCH}/${TEST}/config.inc.php .",
"patch -p1 < datasets/upgrade/3_4_0-add-email-config.diff",
"patch -p1 < datasets/upgrade/3_4_0-update-locale.diff",
"./datasets/tools/dbclient.sh --quiet < datasets/${APPLICATION}/${DATASET_BRANCH}/${TEST}/database.sql",
"source ./lib/pkp/tools/travis/migration/v3_4_0/prepare-logs.sh",
"php tools/upgrade.php check",
"php tools/upgrade.php upgrade"
]
},
{
"env": [
{
"DATASET_BRANCH": "3.1.0",
"TEST": "pgsql"
}
],
"php": "8.0",
"script": [
"source ./lib/pkp/tools/travis/prepare-tests.sh",
"git clone https://github.com/pkp/datasets",
"cp -r datasets/${APPLICATION}/${DATASET_BRANCH}/${TEST}/files/* files/",
"cp -r datasets/${APPLICATION}/${DATASET_BRANCH}/${TEST}/public/* public/",
"cp datasets/${APPLICATION}/${DATASET_BRANCH}/${TEST}/config.inc.php .",
"patch -p1 < datasets/upgrade/3_4_0-add-email-config.diff",
"patch -p1 < datasets/upgrade/3_4_0-update-locale.diff",
"./datasets/tools/dbclient.sh --quiet < datasets/${APPLICATION}/${DATASET_BRANCH}/${TEST}/database.sql",
"source ./lib/pkp/tools/travis/migration/v3_4_0/prepare-logs.sh",
"php tools/upgrade.php check",
"php tools/upgrade.php upgrade"
]
}
]
},
"script": [
"source ./lib/pkp/tools/travis/prepare-tests.sh",
"./lib/pkp/tools/travis/run-tests.sh"
],
"after_failure": [
"tail -n 500 error.log",
"sudo apt-get install sharutils",
"find cypress/screenshots -type f -printf '%T+\\t%p\\n' | sort | head -n 1 | cut -f 2 | tar -cz -T - | uuencode /dev/stdout"
],
"after_success": [
"head -n 500 error.log"
]
}
Loading