Skip to content
Failed

Console Output

Started by user Demian Katz
Running as SYSTEM
Building in workspace /opt/jenkins/jobs/VuFindCode/workspace
The recommended git tool is: NONE
No credentials specified
 > git rev-parse --resolve-git-dir /opt/jenkins/jobs/VuFindCode/workspace/.git # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url https://github.com/vufind-org/vufindcode.git # timeout=10
Fetching upstream changes from https://github.com/vufind-org/vufindcode.git
 > git --version # timeout=10
 > git --version # 'git version 1.8.3.1'
 > git fetch --tags --progress https://github.com/vufind-org/vufindcode.git +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git rev-parse refs/remotes/origin/dev^{commit} # timeout=10
Checking out Revision cf0abb6f7191bee1cf54671a11b8c6ac26d10e89 (refs/remotes/origin/dev)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f cf0abb6f7191bee1cf54671a11b8c6ac26d10e89 # timeout=10
Commit message: "Bump PHPDocumentor version."
 > git rev-list --no-walk fada47c2f9bb18bfdc983f208894c967372bfd9f # timeout=10
[workspace] $ /bin/sh -xe /tmp/jenkins5630804613816117680.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: 75 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 psr/log (1.1.4): 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 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.3.0): 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.1): Loading from cache
  - 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
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)
Writing lock file
Generating autoload files
looking for '/opt/jenkins/jobs/VuFindCode/workspace/build.xml' ... 
use '/opt/jenkins/jobs/VuFindCode/workspace' as a working directory. 
[workspace] $ /opt/jenkins/jobs/VuFindCode/workspace/vendor/bin/phing -buildfile /opt/jenkins/jobs/VuFindCode/workspace/build.xml -Dtmp=/opt/jenkins/jobs/VuFindCode/workspace main -logger phing.listener.DefaultLogger
Buildfile: /opt/jenkins/jobs/VuFindCode/workspace/build.xml

vufindcode > main:


vufindcode > startup:


vufindcode > ci-tasks:


vufindcode > phpcs:


vufindcode > phpunit:

PHPUnit 9.5.4 by Sebastian Bergmann and contributors.

Warning:       XDEBUG_MODE=coverage or xdebug.mode=coverage has to be set
Warning:       Your XML configuration validates against a deprecated schema.
Suggestion:    Migrate your XML configuration using "--migrate-configuration"!

................................................................. 65 / 79 ( 82%)
..............                                                    79 / 79 (100%)

Time: 00:00.085, Memory: 6.00 MB

OK (79 tests, 169 assertions)

vufindcode > 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/VuFindCode/workspace/vendor/bin/phpDocumentor-3.0.0.phar
    [chmod] Changed file mode on '/opt/jenkins/jobs/VuFindCode/workspace/vendor/bin/phpDocumentor-3.0.0.phar' to 755
[phingcall] /opt/jenkins/jobs/VuFindCode/workspace/build.xml:107:9: /opt/jenkins/jobs/VuFindCode/workspace/vendor/bin/phpDocumentor-3.0.0.phar does not look like a phpDocumentor 2 .phar
[phingcall] /opt/jenkins/jobs/VuFindCode/workspace/build.xml:34:22: Execution of the target buildfile failed. Aborting.

vufindcode > shutdown:

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

BUILD FAILED
/opt/jenkins/jobs/VuFindCode/workspace/build.xml:11:23: /opt/jenkins/jobs/VuFindCode/workspace/build.xml:19:14: Unexpected error during continuous integration tasks -- /opt/jenkins/jobs/VuFindCode/workspace/build.xml:14:26: Execution of the target buildfile failed. Aborting.

Total time: 4.5400 seconds

Build step 'Invoke Phing targets' marked build as failure
Recording plot data
Publishing Javadoc
Publishing Clover coverage report...
No Clover report will be published due to a build Failure
ERROR: Build step failed with exception
java.lang.IllegalArgumentException: The tools section is required.
	at org.jenkinsci.plugins.xunit.XUnitProcessor.<init>(XUnitProcessor.java:139)
	at org.jenkinsci.plugins.xunit.XUnitPublisher.perform(XUnitPublisher.java:204)
	at jenkins.tasks.SimpleBuildStep.perform(SimpleBuildStep.java:123)
	at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:80)
	at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
	at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:803)
	at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:752)
	at hudson.model.Build$BuildExecution.post2(Build.java:177)
	at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:697)
	at hudson.model.Run.execute(Run.java:1932)
	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
	at hudson.model.ResourceController.execute(ResourceController.java:97)
	at hudson.model.Executor.run(Executor.java:429)
Build step 'Publish xUnit test result report' marked build as failure
[PMDCPD] Skipping execution of recorder since overall result is 'FAILURE'
[JDepend] JDepend plugin is ready
[JDepend] Found 3 classes in 1 packages
Sending e-mails to: vufind-admins@lists.sourceforge.net
Finished: FAILURE