Skip to content
Failed

Console Output

Started by user Demian Katz
Running as SYSTEM
Building in workspace /opt/jenkins/jobs/VuFindCode/workspace
No credentials specified
Cloning the remote Git repository
Cloning repository https://github.com/vufind-org/vufindcode.git
 > git init /opt/jenkins/jobs/VuFindCode/workspace # timeout=10
Fetching upstream changes from https://github.com/vufind-org/vufindcode.git
 > git --version # timeout=10
 > git fetch --tags --progress https://github.com/vufind-org/vufindcode.git +refs/heads/*:refs/remotes/origin/*
 > git config remote.origin.url https://github.com/vufind-org/vufindcode.git # timeout=10
 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
 > 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 fetch --tags --progress https://github.com/vufind-org/vufindcode.git +refs/heads/*:refs/remotes/origin/*
 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10
 > git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
Checking out Revision c95683bbe2ed5259a807669fd3d0f58ad24964fe (refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f c95683bbe2ed5259a807669fd3d0f58ad24964fe
Commit message: "Use regexp to extract ISBN candidate in normalizeISBN($raw) (#4)"
 > git rev-list --no-walk c95683bbe2ed5259a807669fd3d0f58ad24964fe # timeout=10
[workspace] $ /bin/sh -xe /tmp/jenkins4779996083070331126.sh
+ composer install
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 62 installs, 0 updates, 0 removals
  - Installing psr/container (1.0.0): Loading from cache
  - Installing symfony/stopwatch (v3.4.31): Loading from cache
  - Installing symfony/process (v3.4.31): Loading from cache
  - Installing symfony/polyfill-php72 (v1.12.0): Loading from cache
  - Installing paragonie/random_compat (v9.99.99): Loading from cache
  - Installing symfony/polyfill-php70 (v1.12.0): Loading from cache
  - Installing symfony/options-resolver (v3.4.31): Loading from cache
  - Installing symfony/finder (v3.4.31): Loading from cache
  - Installing symfony/polyfill-ctype (v1.12.0): Loading from cache
  - Installing symfony/filesystem (v3.4.31): Loading from cache
  - Installing symfony/event-dispatcher (v3.4.31): Loading from cache
  - Installing symfony/polyfill-mbstring (v1.12.0): Loading from cache
  - Installing psr/log (1.1.0): Loading from cache
  - Installing symfony/debug (v3.4.31): Loading from cache
  - Installing symfony/console (v3.4.31): Loading from cache
  - Installing php-cs-fixer/diff (v1.3.0): Loading from cache
  - Installing doctrine/lexer (1.0.2): Loading from cache
  - Installing doctrine/annotations (v1.4.0): Loading from cache
  - Installing composer/semver (1.5.0): Loading from cache
  - Installing friendsofphp/php-cs-fixer (v2.11.1): Loading from cache
  - Installing pear/pear_exception (v1.0.0): Loading from cache
  - Installing pear/net_url2 (v2.2.2): Loading from cache
  - Installing pear/http_request2 (v2.3.0): Loading from cache
  - Installing sebastian/version (2.0.1): Loading from cache
  - Installing theseer/fdomdocument (1.6.6): Loading from cache
  - Installing sebastian/resource-operations (1.0.0): Loading from cache
  - Installing sebastian/recursion-context (3.0.0): Loading from cache
  - Installing sebastian/object-reflector (1.1.1): Loading from cache
  - Installing sebastian/object-enumerator (3.0.3): Loading from cache
  - Installing sebastian/global-state (2.0.0): Loading from cache
  - Installing sebastian/exporter (3.1.1): Loading from cache
  - Installing sebastian/environment (3.1.0): Loading from cache
  - Installing sebastian/diff (2.0.1): Loading from cache
  - Installing sebastian/comparator (2.1.3): Loading from cache
  - Installing doctrine/instantiator (1.0.5): Loading from cache
  - Installing phpunit/php-text-template (1.2.1): Loading from cache
  - Installing phpunit/phpunit-mock-objects (5.0.10): Loading from cache
  - Installing phpunit/php-timer (1.0.9): Loading from cache
  - Installing phpunit/php-file-iterator (1.4.5): Loading from cache
  - Installing theseer/tokenizer (1.1.3): Loading from cache
  - Installing sebastian/code-unit-reverse-lookup (1.0.1): Loading from cache
  - Installing phpunit/php-token-stream (2.0.2): Loading from cache
  - Installing phpunit/php-code-coverage (5.3.2): Loading from cache
  - Installing webmozart/assert (1.5.0): Loading from cache
  - Installing phpdocumentor/reflection-common (1.0.1): Loading from cache
  - Installing phpdocumentor/type-resolver (0.4.0): Loading from cache
  - Installing phpdocumentor/reflection-docblock (4.3.1): Loading from cache
  - Installing phpspec/prophecy (1.8.1): Loading from cache
  - Installing phar-io/version (1.0.1): Loading from cache
  - Installing phar-io/manifest (1.0.1): Loading from cache
  - Installing myclabs/deep-copy (1.7.0): Loading from cache
  - Installing phpunit/phpunit (6.5.8): Loading from cache
  - Installing sebastian/finder-facade (1.2.2): Loading from cache
  - Installing phploc/phploc (4.0.1): Loading from cache
  - Installing symfony/config (v3.4.31): Loading from cache
  - Installing symfony/dependency-injection (v3.4.31): Loading from cache
  - Installing pdepend/pdepend (2.5.2): Loading from cache
  - Installing phpmd/phpmd (2.6.0): Loading from cache
  - Installing symfony/yaml (v3.4.31): Loading from cache
  - Installing phing/phing (2.16.1): Loading from cache
  - Installing sebastian/phpcpd (3.0.1): Loading from cache
  - Installing squizlabs/php_codesniffer (3.2.3): Loading from cache
paragonie/random_compat suggests installing ext-libsodium (Provides a modern crypto API that can be used to generate random bytes.)
symfony/event-dispatcher suggests installing symfony/http-kernel
symfony/console suggests installing symfony/lock
sebastian/global-state suggests installing ext-uopz (*)
phpunit/phpunit suggests installing phpunit/php-invoker (^1.1)
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)
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)
Package phpunit/phpunit-mock-objects is abandoned, you should avoid using it. No replacement was suggested.
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 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 6.5.8 by Sebastian Bergmann and contributors.

...........................................                       43 / 43 (100%)

Time: 255 ms, Memory: 6.00MB

OK (43 tests, 89 assertions)

Generating code coverage report in Clover XML format ... done

Generating code coverage report in HTML format ... done

vufindcode > phpdoc:

  [httpget] Fetching https://github.com/phpDocumentor/phpDocumentor2/releases/download/v2.9.0/phpDocumentor.phar
  [httpget] Contents from https://github.com/phpDocumentor/phpDocumentor2/releases/download/v2.9.0/phpDocumentor.phar saved to /opt/jenkins/jobs/VuFindCode/workspace/vendor/bin/phpDocumentor-2.9.0.phar
    [chmod] Changed file mode on '/opt/jenkins/jobs/VuFindCode/workspace/vendor/bin/phpDocumentor-2.9.0.phar' to 755
Unable to find the `dot` command of the GraphViz package. Is GraphViz correctly installed and present in your path?
vufindcode > phpcpd:


vufindcode > phpmd:


vufindcode > pdepend:


vufindcode > phploc:


vufindcode > shutdown:

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

BUILD FINISHED

Total time: 4.1573 seconds

Recording plot data
Publishing Javadoc
ERROR: Build step failed with exception
java.lang.IllegalStateException: basedir /opt/jenkins/jobs/VuFindCode/workspace/build/vufindcode/apidocs does not exist.
	at org.apache.tools.ant.DirectoryScanner.scan(DirectoryScanner.java:894)
	at hudson.FilePath$ValidateAntFileMask.hasMatch(FilePath.java:2800)
	at hudson.FilePath$ValidateAntFileMask.invoke(FilePath.java:2684)
	at hudson.FilePath$ValidateAntFileMask.invoke(FilePath.java:2665)
	at hudson.FilePath.act(FilePath.java:1078)
	at hudson.FilePath.act(FilePath.java:1061)
	at hudson.FilePath.validateAntFileMask(FilePath.java:2663)
	at hudson.FilePath.validateAntFileMask(FilePath.java:2640)
	at hudson.FilePath.validateAntFileMask(FilePath.java:2633)
	at hudson.tasks.JavadocArchiver.perform(JavadocArchiver.java:114)
	at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:79)
	at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
	at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:741)
	at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:690)
	at hudson.model.Build$BuildExecution.post2(Build.java:186)
	at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:635)
	at hudson.model.Run.execute(Run.java:1840)
	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 Javadoc' marked build as failure
Publishing Clover coverage report...
No Clover report will be published due to a Build Failure
INFO: Starting to record.
INFO: Processing PHPUnit-4.x (default)
ERROR: Step ‘Publish xUnit test result report’ failed: [PHPUnit-4.x (default)] - No test report file(s) were found with the pattern 'build/vufindcode/reports/phpunit.xml' relative to '/opt/jenkins/jobs/VuFindCode/workspace' for the testing framework 'PHPUnit-4.x (default)'.
Did you enter a pattern relative to (and within) the workspace directory?
Did you generate the result report(s) for 'PHPUnit-4.x (default)'?"
[CheckStylePMDCPD] Skipping execution of recorder since overall result is 'FAILURE'
[JDepend] JDepend plugin is ready
[JDepend] Couldn't generate JDepend file at 'build/vufindcode/reports/jdepend.xml'java.nio.file.NoSuchFileException: /opt/jenkins/jobs/VuFindCode/workspace/build/vufindcode/reports/jdepend.xml
Sending e-mails to: vufind-admins@lists.sourceforge.net
Finished: FAILURE