Skip to content
Success

Console Output

Started by an SCM change
Running as SYSTEM
Building in workspace /opt/jenkins/jobs/VuFindHarvest/workspace
The recommended git tool is: NONE
No credentials specified
 > git rev-parse --resolve-git-dir /opt/jenkins/jobs/VuFindHarvest/workspace/.git # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url https://github.com/vufind-org/vufindharvest.git # timeout=10
Fetching upstream changes from https://github.com/vufind-org/vufindharvest.git
 > git --version # timeout=10
 > git --version # 'git version 1.8.3.1'
 > git fetch --tags --progress https://github.com/vufind-org/vufindharvest.git +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git rev-parse refs/remotes/origin/dev^{commit} # timeout=10
Checking out Revision b0b5573ccc7993ed258deda19b8c2ba0a33e6395 (refs/remotes/origin/dev)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f b0b5573ccc7993ed258deda19b8c2ba0a33e6395 # timeout=10
Commit message: "Improved error handling (#6)"
 > git rev-list --no-walk ecf740c2adc4441297e57d3180b37f7a35909f01 # timeout=10
[workspace] $ /bin/sh -xe /tmp/jenkins1993851281493269959.sh
+ composer install
Loading composer repositories with package information
Warning from https://repo.packagist.org: You are using an outdated version of Composer. Composer 2 is now available and you should upgrade. See https://getcomposer.org/2
Updating dependencies (including require-dev)
Package operations: 83 installs, 0 updates, 0 removals
  - Installing psr/container (1.1.1): Loading from cache
  - Installing symfony/service-contracts (v2.4.0): Loading from cache
  - Installing psr/cache (1.0.1): Loading from cache
  - Installing symfony/stopwatch (v5.3.0): Loading from cache
  - Installing symfony/polyfill-php80 (v1.23.0): Loading from cache
  - Installing symfony/process (v5.3.0): Loading from cache
  - Installing symfony/polyfill-php72 (v1.23.0): Loading from cache
  - Installing symfony/polyfill-php70 (v1.20.0)
  - Installing symfony/polyfill-php73 (v1.23.0): Loading from cache
  - Installing symfony/deprecation-contracts (v2.4.0): Loading from cache
  - Installing symfony/options-resolver (v5.3.0): Loading from cache
  - Installing symfony/finder (v5.3.0): Loading from cache
  - Installing symfony/polyfill-ctype (v1.23.0): Loading from cache
  - Installing symfony/filesystem (v5.3.0): Loading from cache
  - Installing psr/event-dispatcher (1.0.0): Loading from cache
  - Installing symfony/event-dispatcher-contracts (v2.4.0): Loading from cache
  - Installing symfony/event-dispatcher (v5.3.0): Loading from cache
  - Installing symfony/polyfill-mbstring (v1.23.0): Loading from cache
  - Installing symfony/polyfill-intl-normalizer (v1.23.0): Loading from cache
  - Installing symfony/polyfill-intl-grapheme (v1.23.0): Loading from cache
  - Installing symfony/string (v5.3.0): Loading from cache
  - Installing symfony/console (v5.3.0): Loading from cache
  - Installing php-cs-fixer/diff (v1.3.1): Loading from cache
  - Installing doctrine/lexer (1.2.1): Loading from cache
  - Installing doctrine/annotations (1.13.1): Loading from cache
  - Installing psr/log (1.1.4): Loading from cache
  - Installing composer/xdebug-handler (1.4.6): Loading from cache
  - Installing composer/semver (3.2.5): Loading from cache
  - Installing friendsofphp/php-cs-fixer (v2.19.0): Loading from cache
  - Installing pear/pear_exception (v1.0.2): Loading from cache
  - Installing pear/net_url2 (v2.2.2): Loading from cache
  - Installing pear/http_request2 (v2.4.2): Loading from cache
  - Installing phpunit/php-file-iterator (3.0.5): Loading from cache
  - Installing sebastian/version (3.0.2): Loading from cache
  - Installing sebastian/cli-parser (1.0.1): Loading from cache
  - Installing phploc/phploc (7.0.2): Loading from cache
  - Installing symfony/polyfill-php81 (v1.23.0): Loading from cache
  - Installing symfony/config (v5.3.0): Loading from cache
  - Installing symfony/dependency-injection (v5.3.0): Loading from cache
  - Installing pdepend/pdepend (2.9.1): Loading from cache
  - Installing phpmd/phpmd (2.10.0): Loading from cache
  - Installing phpstan/phpstan (0.12.85): Loading from cache
  - Installing sebastian/type (2.3.2): Downloading (connecting...)Downloading (0%)           Downloading (60%)Downloading (100%)
  - Installing sebastian/resource-operations (3.0.3): Loading from cache
  - Installing sebastian/recursion-context (4.0.4): Loading from cache
  - Installing sebastian/object-reflector (2.0.4): Loading from cache
  - Installing sebastian/object-enumerator (4.0.4): Loading from cache
  - Installing sebastian/global-state (5.0.2): Loading from cache
  - Installing sebastian/exporter (4.0.3): Loading from cache
  - Installing sebastian/environment (5.1.3): Loading from cache
  - Installing sebastian/diff (4.0.4): Loading from cache
  - Installing sebastian/comparator (4.0.6): Loading from cache
  - Installing sebastian/code-unit (1.0.8): Loading from cache
  - Installing phpunit/php-timer (5.0.3): Loading from cache
  - Installing phpunit/php-text-template (2.0.4): Loading from cache
  - Installing phpunit/php-invoker (3.1.1): Loading from cache
  - Installing theseer/tokenizer (1.2.0): Loading from cache
  - Installing nikic/php-parser (v4.10.5): Loading from cache
  - Installing sebastian/lines-of-code (1.0.3): Loading from cache
  - Installing sebastian/complexity (2.0.2): Loading from cache
  - Installing sebastian/code-unit-reverse-lookup (2.0.3): Loading from cache
  - Installing phpunit/php-code-coverage (9.2.6): Loading from cache
  - Installing doctrine/instantiator (1.4.0): Loading from cache
  - Installing phpdocumentor/reflection-common (2.2.0): Loading from cache
  - Installing webmozart/assert (1.10.0): Loading from cache
  - Installing phpdocumentor/type-resolver (1.4.0): Loading from cache
  - Installing phpdocumentor/reflection-docblock (5.2.2): Loading from cache
  - Installing phpspec/prophecy (1.13.0): Loading from cache
  - Installing phar-io/version (3.1.0): Loading from cache
  - Installing phar-io/manifest (2.0.1): Loading from cache
  - Installing myclabs/deep-copy (1.10.2): Loading from cache
  - Installing phpunit/phpunit (9.5.4): Loading from cache
  - Installing phing/phing (2.16.4): Loading from cache
  - Installing sebastian/phpcpd (6.0.3): Loading from cache
  - Installing squizlabs/php_codesniffer (3.6.0): Loading from cache
  - Installing laminas/laminas-zendframework-bridge (1.2.0): Loading from cache
  - Installing laminas/laminas-stdlib (3.3.1): Loading from cache
  - Installing container-interop/container-interop (1.2.0): Loading from cache
  - Installing laminas/laminas-validator (2.14.4): Loading from cache
  - Installing laminas/laminas-escaper (2.7.0): Loading from cache
  - Installing laminas/laminas-uri (2.8.1): Loading from cache
  - Installing laminas/laminas-loader (2.7.0): Loading from cache
  - Installing laminas/laminas-http (2.14.3): Loading from cache
symfony/event-dispatcher suggests installing symfony/http-kernel
symfony/console suggests installing symfony/lock
friendsofphp/php-cs-fixer suggests installing php-cs-fixer/phpunit-constraint-isidenticalstring (For IsIdenticalString constraint.)
friendsofphp/php-cs-fixer suggests installing php-cs-fixer/phpunit-constraint-xmlmatchesxsd (For XmlMatchesXsd constraint.)
symfony/config suggests installing symfony/yaml (To use the yaml reference dumper)
symfony/dependency-injection suggests installing symfony/yaml
symfony/dependency-injection suggests installing symfony/expression-language (For using expressions in service container configuration)
symfony/dependency-injection suggests installing symfony/proxy-manager-bridge (Generate service proxies to lazy load them)
sebastian/global-state suggests installing ext-uopz (*)
phpunit/php-code-coverage suggests installing ext-pcov (*)
phing/phing suggests installing phpdocumentor/phpdocumentor (Documentation Generator for PHP)
phing/phing suggests installing pear/versioncontrol_svn (A simple OO-style interface for Subversion, the free/open-source version control system)
phing/phing suggests installing pear/versioncontrol_git (A library that provides OO interface to handle Git repository)
phing/phing suggests installing pear/archive_tar (Tar file management class)
phing/phing suggests installing siad007/versioncontrol_hg (A library for interfacing with Mercurial repositories.)
phing/phing suggests installing tedivm/jshrink (Javascript Minifier built in PHP)
laminas/laminas-validator suggests installing laminas/laminas-db (Laminas\Db component, required by the (No)RecordExists validator)
laminas/laminas-validator suggests installing laminas/laminas-filter (Laminas\Filter component, required by the Digits validator)
laminas/laminas-validator suggests installing laminas/laminas-i18n (Laminas\I18n component to allow translation of validation error messages)
laminas/laminas-validator suggests installing laminas/laminas-i18n-resources (Translations of validator messages)
laminas/laminas-validator suggests installing laminas/laminas-math (Laminas\Math component, required by the Csrf validator)
laminas/laminas-validator suggests installing laminas/laminas-servicemanager (Laminas\ServiceManager component to allow using the ValidatorPluginManager and validator chains)
laminas/laminas-validator suggests installing laminas/laminas-session (Laminas\Session component, ^2.8; required by the Csrf validator)
laminas/laminas-validator suggests installing psr/http-message (psr/http-message, required when validating PSR-7 UploadedFileInterface instances via the Upload and UploadFile validators)
laminas/laminas-http suggests installing paragonie/certainty (For automated management of cacert.pem)
Package container-interop/container-interop is abandoned, you should avoid using it. Use psr/container instead.
Writing lock file
Generating autoload files
looking for '/opt/jenkins/jobs/VuFindHarvest/workspace/build.xml' ... 
use '/opt/jenkins/jobs/VuFindHarvest/workspace' as a working directory. 
[workspace] $ /opt/jenkins/jobs/VuFindHarvest/workspace/vendor/bin/phing -buildfile /opt/jenkins/jobs/VuFindHarvest/workspace/build.xml -Dtmp=/opt/jenkins/jobs/VuFindHarvest/workspace main -logger phing.listener.DefaultLogger
Buildfile: /opt/jenkins/jobs/VuFindHarvest/workspace/build.xml

vufindharvest > main:


vufindharvest > startup:


vufindharvest > ci-tasks:


vufindharvest > phpcs:


vufindharvest > phpunit:

PHPUnit 9.5.4 by Sebastian Bergmann and contributors.

Warning:       XDEBUG_MODE=coverage or xdebug.mode=coverage has to be set

..........................................                        42 / 42 (100%)

Time: 00:01.280, Memory: 10.00 MB

OK (42 tests, 98 assertions)

vufindharvest > phpdoc:

  [httpget] Fetching https://github.com/phpDocumentor/phpDocumentor2/releases/download/v3.0.0/phpDocumentor.phar
  [httpget] Contents from https://github.com/phpDocumentor/phpDocumentor2/releases/download/v3.0.0/phpDocumentor.phar saved to /opt/jenkins/jobs/VuFindHarvest/workspace/vendor/bin/phpDocumentor-3.0.0.phar
    [chmod] Changed file mode on '/opt/jenkins/jobs/VuFindHarvest/workspace/vendor/bin/phpDocumentor-3.0.0.phar' to 755
phpDocumentor v3.0.0

Parsing files

  1/19 [=>--------------------------]   5%
  8/19 [===========>----------------]  42%
 14/19 [====================>-------]  73%
 19/19 [============================] 100%
Applying transformations (can take a while)

  1/19 [=>--------------------------]   5%
  2/19 [==>-------------------------]  10%
  4/19 [=====>----------------------]  21%
  5/19 [=======>--------------------]  26%
  8/19 [===========>----------------]  42%
 10/19 [==============>-------------]  52%
 12/19 [=================>----------]  63%
 16/19 [=======================>----]  84%
 19/19 [============================] 100%
All done in 4 seconds!

vufindharvest > phpcpd:


vufindharvest > phpmd:


vufindharvest > pdepend:


vufindharvest > phploc:


vufindharvest > phpstan-checkstyle:

  0/19 [░░░░░░░░░░░░░░░░░░░░░░░░░░░░]   0%
  2/19 [▓▓░░░░░░░░░░░░░░░░░░░░░░░░░░]  10%
  4/19 [▓▓▓▓▓░░░░░░░░░░░░░░░░░░░░░░░]  21%
  6/19 [▓▓▓▓▓▓▓▓░░░░░░░░░░░░░░░░░░░░]  31%
 12/19 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░░]  63%
 14/19 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░]  73%
 16/19 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░]  84%
 18/19 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░]  94%
 19/19 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100%


vufindharvest > shutdown:

   [delete] Deleting directory /opt/jenkins/jobs/VuFindHarvest/workspace/vendor
   [delete] Deleting: /opt/jenkins/jobs/VuFindHarvest/workspace/composer.lock

BUILD FINISHED

Total time: 17.9246 seconds

Recording plot data
Publishing Javadoc
Publishing Clover coverage report...
Publishing Clover HTML report...
Publishing Clover XML report...
Processing Clover XML report ...
Publishing Clover coverage results...
INFO: Processing PHPUnit-4.x (default)
INFO: [PHPUnit-4.x (default)] - 1 test report file(s) were found with the pattern 'build/vufindharvest/reports/phpunit.xml' relative to '/opt/jenkins/jobs/VuFindHarvest/workspace' for the testing framework 'PHPUnit-4.x (default)'.
INFO: Check 'Failed Tests' threshold.
INFO: Check 'Skipped Tests' threshold.
INFO: Setting the build status to SUCCESS
[PMD] Searching for all files in '/opt/jenkins/jobs/VuFindHarvest/workspace' that match the pattern 'build/vufindharvest/reports/phpmd.xml'
[PMD] -> found 1 file
[PMD] Successfully parsed file /opt/jenkins/jobs/VuFindHarvest/workspace/build/vufindharvest/reports/phpmd.xml
[PMD] -> found 2 issues (skipped 0 duplicates)
[PMD] Post processing issues on 'Master' with source code encoding 'UTF-8'
[PMD] Creating SCM blamer to obtain author and commit information for affected files
[PMD] -> No blamer installed yet. You need to install the 'git-forensics' plugin to enable blaming for Git.
[PMD] Resolving file names for all issues in source directory '/opt/jenkins/jobs/VuFindHarvest/workspace'
[PMD] -> resolved paths in source directory (1 found, 0 not found)
[PMD] Resolving module names from module definitions (build.xml, pom.xml, or Manifest.mf files)
[PMD] -> resolved module names for 2 issues
[PMD] Resolving package names (or namespaces) by parsing the affected files
[PMD] -> all affected files already have a valid package name
[PMD] No filter has been set, publishing all 2 issues
[PMD] Creating fingerprints for all affected code blocks to track issues over different builds
[PMD] -> created fingerprints for 2 issues (skipped 0 issues)
[PMD] Copying affected files to Jenkins' build folder '/opt/jenkins/jobs/VuFindHarvest/builds/82/files-with-issues'
[PMD] -> 1 copied, 0 not in workspace, 0 not-found, 0 with I/O error
[PMD] Repository miner is not configured, skipping repository mining
[PMD] Reference build recorder is not configured
[PMD] Obtaining reference build from same job (VuFindHarvest)
[PMD] Using reference build 'VuFindHarvest #81' to compute new, fixed, and outstanding issues
[PMD] Issues delta (vs. reference build): outstanding: 0, new: 2, fixed: 0
[PMD] No quality gates have been set - skipping
[PMD] Health report is disabled - skipping
[PMD] Created analysis result for 2 issues (found 2 new issues, fixed 0 issues)
[PMD] Attaching ResultAction with ID 'pmd' to build 'VuFindHarvest #82'.
[Checks API] No suitable checks publisher found.
[CPD] Searching for all files in '/opt/jenkins/jobs/VuFindHarvest/workspace' that match the pattern 'build/vufindharvest/reports/pmd-cpd.xml'
[CPD] -> found 1 file
[CPD] Successfully parsed file /opt/jenkins/jobs/VuFindHarvest/workspace/build/vufindharvest/reports/pmd-cpd.xml
[CPD] -> found 0 issues (skipped 0 duplicates)
[CPD] Skipping post processing
[CPD] No filter has been set, publishing all 0 issues
[CPD] Repository miner is not configured, skipping repository mining
[CPD] Reference build recorder is not configured
[CPD] Obtaining reference build from same job (VuFindHarvest)
[CPD] Using reference build 'VuFindHarvest #81' to compute new, fixed, and outstanding issues
[CPD] Issues delta (vs. reference build): outstanding: 0, new: 0, fixed: 0
[CPD] No quality gates have been set - skipping
[CPD] Health report is disabled - skipping
[CPD] Created analysis result for 0 issues (found 0 new issues, fixed 0 issues)
[CPD] Attaching ResultAction with ID 'cpd' to build 'VuFindHarvest #82'.
[Checks API] No suitable checks publisher found.
[CheckStyle] Searching for all files in '/opt/jenkins/jobs/VuFindHarvest/workspace' that match the pattern 'build/vufindharvest/reports/*checkstyle.xml'
[CheckStyle] -> found 2 files
[CheckStyle] Successfully parsed file /opt/jenkins/jobs/VuFindHarvest/workspace/build/vufindharvest/reports/checkstyle.xml
[CheckStyle] -> found 0 issues (skipped 0 duplicates)
[CheckStyle] Successfully parsed file /opt/jenkins/jobs/VuFindHarvest/workspace/build/vufindharvest/reports/phpstan-checkstyle.xml
[CheckStyle] -> found 0 issues (skipped 0 duplicates)
[CheckStyle] Skipping post processing
[CheckStyle] No filter has been set, publishing all 0 issues
[CheckStyle] Repository miner is not configured, skipping repository mining
[CheckStyle] Reference build recorder is not configured
[CheckStyle] Obtaining reference build from same job (VuFindHarvest)
[CheckStyle] Using reference build 'VuFindHarvest #81' to compute new, fixed, and outstanding issues
[CheckStyle] Issues delta (vs. reference build): outstanding: 0, new: 0, fixed: 0
[CheckStyle] No quality gates have been set - skipping
[CheckStyle] Health report is disabled - skipping
[CheckStyle] Created analysis result for 0 issues (found 0 new issues, fixed 0 issues)
[CheckStyle] Attaching ResultAction with ID 'checkstyle' to build 'VuFindHarvest #82'.
[Checks API] No suitable checks publisher found.
[JDepend] JDepend plugin is ready
[JDepend] Found 18 classes in 5 packages
Finished: SUCCESS