[phpMyAdmin Developers] Build failed in Jenkins: error-reporting-server #164

Jenkins Daemon jenkins at phpmyadmin.net
Wed Feb 22 09:26:34 CET 2017


See <https://ci.phpmyadmin.net/job/error-reporting-server/164/changes>

Changes:

[Michal Čihař] Escape user supplied data

[Michal Čihař] Correctly mention we use github

------------------------------------------
[...truncated 157 B...]
Fetching changes from the remote Git repository
 > git config remote.origin.url https://github.com/phpmyadmin/error-reporting-server.git # timeout=10
Fetching upstream changes from https://github.com/phpmyadmin/error-reporting-server.git
 > git --version # timeout=10
 > git -c core.askpass=true fetch --tags --progress https://github.com/phpmyadmin/error-reporting-server.git +refs/heads/*:refs/remotes/origin/*
 > git rev-parse origin/master^{commit} # timeout=10
Checking out Revision 6d3b9f00ef05866b1477337a916ea4c5570274ff (origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 6d3b9f00ef05866b1477337a916ea4c5570274ff
 > git rev-list be48fd599278db678a92396e0297851374cca33d # timeout=10
[workspace] $ /bin/sh -xe /tmp/hudson5449769459079746928.sh
+ mysql -utravis -e DROP DATABASE IF EXISTS pmaerr
+ mysql -utravis -e CREATE DATABASE pmaerr
+ composer update
Loading composer repositories with package information
Updating dependencies (including require-dev)
  - Removing aura/installer-default (1.0.0)
  - Removing zendframework/zend-diactoros (1.3.7)
  - Installing zendframework/zend-diactoros (1.3.10)
    Downloading: Connecting...    Downloading: 0%               Downloading: 10%    Downloading: 20%    Downloading: 25%    Downloading: 30%    Downloading: 35%    Downloading: 45%    Downloading: 55%    Downloading: 65%    Downloading: 80%    Downloading: 90%    Downloading: 100%

  - Removing cakephp/chronos (1.0.2)
  - Installing cakephp/chronos (1.1.0)
    Downloading: Connecting...    Downloading: 0%               Downloading: 10%    Downloading: 20%    Downloading: 30%    Downloading: 40%    Downloading: 100%

  - Removing aura/intl (1.1.1)
  - Installing aura/intl (3.0.0)
    Downloading: Connecting...    Downloading: 0%               Downloading: 5%    Downloading: 10%    Downloading: 15%    Downloading: 20%    Downloading: 25%    Downloading: 30%    Downloading: 35%    Downloading: 100%

  - Removing cakephp/cakephp (3.3.10)
  - Installing cakephp/cakephp (3.4.1)
    Downloading: Connecting...    Downloading: 0%               Downloading: 5%    Downloading: 10%    Downloading: 15%    Downloading: 20%    Downloading: 25%    Downloading: 30%    Downloading: 35%    Downloading: 40%    Downloading: 45%    Downloading: 50%    Downloading: 55%    Downloading: 60%    Downloading: 65%    Downloading: 70%    Downloading: 75%    Downloading: 80%    Downloading: 85%    Downloading: 90%    Downloading: 95%    Downloading: 100%

  - Removing symfony/yaml (v3.2.0)
  - Installing symfony/yaml (v3.2.4)
    Loading from cache

  - Removing symfony/debug (v3.2.0)
  - Installing symfony/debug (v3.2.4)
    Loading from cache

  - Removing symfony/console (v3.2.0)
  - Installing symfony/console (v3.2.4)
    Loading from cache

  - Removing symfony/filesystem (v3.2.0)
  - Installing symfony/filesystem (v3.2.4)
    Loading from cache

  - Removing symfony/config (v3.2.0)
  - Installing symfony/config (v3.2.4)
    Loading from cache

  - Removing robmorgan/phinx (v0.5.3)
  - Installing robmorgan/phinx (v0.6.5)
    Downloading: Connecting...    Downloading: 0%               Downloading: 5%    Downloading: 10%    Downloading: 15%    Downloading: 20%    Downloading: 25%    Downloading: 30%    Downloading: 35%    Downloading: 40%    Downloading: 45%    Downloading: 50%    Downloading: 55%    Downloading: 60%    Downloading: 65%    Downloading: 70%    Downloading: 75%    Downloading: 80%    Downloading: 85%    Downloading: 90%    Downloading: 95%    Downloading: 100%

  - Removing cakephp/migrations (1.6.4)
  - Installing cakephp/migrations (1.6.7)
    Downloading: Connecting...    Downloading: 0%               Downloading: 10%    Downloading: 20%    Downloading: 40%    Downloading: 45%    Downloading: 55%    Downloading: 60%    Downloading: 70%    Downloading: 80%    Downloading: 90%    Downloading: 100%

  - Removing nikic/php-parser (v3.0.2)
  - Installing nikic/php-parser (v3.0.4)
    Downloading: Connecting...    Downloading: 0%               Downloading: 5%    Downloading: 10%    Downloading: 15%    Downloading: 20%    Downloading: 25%    Downloading: 30%    Downloading: 35%    Downloading: 40%    Downloading: 45%    Downloading: 50%    Downloading: 55%    Downloading: 60%    Downloading: 65%    Downloading: 70%    Downloading: 75%    Downloading: 80%    Downloading: 85%    Downloading: 90%    Downloading: 95%    Downloading: 100%

  - Removing symfony/var-dumper (v3.2.0)
  - Installing symfony/var-dumper (v3.2.4)
    Downloading: Connecting...    Downloading: 0%               Downloading: 5%    Downloading: 10%    Downloading: 15%    Downloading: 20%    Downloading: 25%    Downloading: 30%    Downloading: 35%    Downloading: 40%    Downloading: 45%    Downloading: 50%    Downloading: 55%    Downloading: 60%    Downloading: 65%    Downloading: 70%    Downloading: 75%    Downloading: 80%    Downloading: 85%    Downloading: 90%    Downloading: 95%    Downloading: 100%

  - Removing psy/psysh (v0.8.0)
  - Installing psy/psysh (v0.8.1)
    Downloading: Connecting...    Downloading: 0%               Downloading: 5%    Downloading: 10%    Downloading: 15%    Downloading: 20%    Downloading: 25%    Downloading: 30%    Downloading: 35%    Downloading: 40%    Downloading: 45%    Downloading: 50%    Downloading: 55%    Downloading: 60%    Downloading: 65%    Downloading: 70%    Downloading: 75%    Downloading: 80%    Downloading: 85%    Downloading: 90%    Downloading: 95%    Downloading: 100%

  - Installing symfony/process (v3.2.4)
    Loading from cache

  - Installing symfony/finder (v3.2.4)
    Downloading: Connecting...    Downloading: 0%               Downloading: 5%    Downloading: 10%    Downloading: 15%    Downloading: 20%    Downloading: 25%    Downloading: 30%    Downloading: 35%    Downloading: 40%    Downloading: 45%    Downloading: 50%    Downloading: 100%

  - Installing seld/phar-utils (1.0.1)
    Downloading: Connecting...    Downloading: 0%               Downloading: 30%    Downloading: 60%    Downloading: 90%    Downloading: 100%

  - Installing seld/jsonlint (1.5.0)
    Downloading: Connecting...    Downloading: 0%               Downloading: 40%    Downloading: 70%    Downloading: 95%    Downloading: 100%

  - Installing seld/cli-prompt (1.0.2)
    Downloading: Connecting...    Downloading: 0%               Downloading: 15%    Downloading: 30%    Downloading: 100%

  - Installing justinrainbow/json-schema (4.1.0)
    Downloading: Connecting...    Downloading: 0%               Downloading: 5%    Downloading: 25%    Downloading: 30%    Downloading: 35%    Downloading: 55%    Downloading: 60%    Downloading: 85%    Downloading: 90%    Downloading: 100%

  - Installing composer/spdx-licenses (1.1.5)
    Downloading: Connecting...    Downloading: 0%               Downloading: 35%    Downloading: 100%

  - Installing composer/semver (1.4.2)
    Downloading: Connecting...    Downloading: 0%               Downloading: 35%    Downloading: 100%

  - Installing composer/ca-bundle (1.0.6)
    Downloading: Connecting...    Downloading: 0%               Downloading: 5%    Downloading: 10%    Downloading: 15%    Downloading: 20%    Downloading: 25%    Downloading: 30%    Downloading: 35%    Downloading: 40%    Downloading: 45%    Downloading: 50%    Downloading: 55%    Downloading: 60%    Downloading: 65%    Downloading: 70%    Downloading: 75%    Downloading: 80%    Downloading: 85%    Downloading: 90%    Downloading: 95%    Downloading: 100%

  - Installing composer/composer (1.3.2)
    Downloading: Connecting...    Downloading: 0%               Downloading: 5%    Downloading: 10%    Downloading: 15%    Downloading: 20%    Downloading: 25%    Downloading: 30%    Downloading: 35%    Downloading: 40%    Downloading: 45%    Downloading: 50%    Downloading: 55%    Downloading: 60%    Downloading: 65%    Downloading: 70%    Downloading: 75%    Downloading: 80%    Downloading: 85%    Downloading: 90%    Downloading: 95%    Downloading: 100%

  - Removing cakephp/debug_kit (3.4.2)
  - Installing cakephp/debug_kit (3.9.0)
    Downloading: Connecting...    Downloading: 0%               Downloading: 5%    Downloading: 10%    Downloading: 15%    Downloading: 20%    Downloading: 25%    Downloading: 30%    Downloading: 35%    Downloading: 40%    Downloading: 45%    Downloading: 50%    Downloading: 55%    Downloading: 60%    Downloading: 65%    Downloading: 70%    Downloading: 75%    Downloading: 80%    Downloading: 85%    Downloading: 90%    Downloading: 95%    Downloading: 100%

  - Removing cakephp/bake (1.2.8)
  - Installing cakephp/bake (1.3.0)
    Downloading: Connecting...    Downloading: 0%               Downloading: 5%    Downloading: 10%    Downloading: 20%    Downloading: 25%    Downloading: 35%    Downloading: 40%    Downloading: 45%    Downloading: 50%    Downloading: 55%    Downloading: 60%    Downloading: 75%    Downloading: 80%    Downloading: 85%    Downloading: 90%    Downloading: 100%

  - Removing sebastian/object-enumerator (2.0.0)
  - Installing sebastian/object-enumerator (2.0.1)
    Downloading: Connecting...    Downloading: 0%               Downloading: 100%

  - Removing sebastian/comparator (1.2.2)
  - Installing sebastian/comparator (1.2.4)
    Loading from cache

  - Removing phpunit/phpunit-mock-objects (3.4.3)
  - Installing phpunit/phpunit-mock-objects (4.0.0)
    Downloading: Connecting...    Downloading: 0%               Downloading: 5%    Downloading: 15%    Downloading: 20%    Downloading: 25%    Downloading: 35%    Downloading: 40%    Downloading: 45%    Downloading: 50%    Downloading: 55%    Downloading: 60%    Downloading: 65%    Downloading: 75%    Downloading: 80%    Downloading: 85%    Downloading: 95%    Downloading: 100%

  - Removing phpunit/php-code-coverage (4.0.3)
  - Installing phpunit/php-code-coverage (5.0.0)
    Downloading: Connecting...    Downloading: 0%               Downloading: 5%    Downloading: 10%    Downloading: 15%    Downloading: 20%    Downloading: 25%    Downloading: 30%    Downloading: 35%    Downloading: 40%    Downloading: 45%    Downloading: 50%    Downloading: 55%    Downloading: 60%    Downloading: 65%    Downloading: 70%    Downloading: 75%    Downloading: 80%    Downloading: 85%    Downloading: 90%    Downloading: 95%    Downloading: 100%

  - Removing myclabs/deep-copy (1.5.5)
  - Installing myclabs/deep-copy (1.6.0)
    Downloading: Connecting...    Downloading: 0%               Downloading: 5%    Downloading: 10%    Downloading: 15%    Downloading: 20%    Downloading: 55%    Downloading: 60%    Downloading: 65%    Downloading: 70%    Downloading: 75%    Downloading: 80%    Downloading: 85%    Downloading: 90%    Downloading: 95%    Downloading: 100%

  - Removing phpunit/phpunit (5.7.3)
  - Installing phpunit/phpunit (6.0.7)
    Downloading: Connecting...    Downloading: 0%               Downloading: 5%    Downloading: 10%    Downloading: 15%    Downloading: 20%    Downloading: 25%    Downloading: 30%    Downloading: 35%    Downloading: 40%    Downloading: 45%    Downloading: 50%    Downloading: 55%    Downloading: 60%    Downloading: 65%    Downloading: 70%    Downloading: 80%    Downloading: 85%    Downloading: 90%    Downloading: 95%    Downloading: 100%

  - Removing symfony/stopwatch (v3.2.0)
  - Installing symfony/stopwatch (v3.2.4)
    Loading from cache

  - Removing symfony/event-dispatcher (v2.8.15)
  - Installing symfony/event-dispatcher (v2.8.17)
    Loading from cache

Package guzzle/guzzle is abandoned, you should avoid using it. Use guzzlehttp/guzzle instead.
Writing lock file
Generating autoload files
> Cake\Composer\Installer\PluginInstaller::postAutoloadDump
[workspace] $ ant build
Unable to locate tools.jar. Expected to find it in /usr/lib/jvm/java-7-openjdk-amd64/lib/tools.jar
Buildfile: <https://ci.phpmyadmin.net/job/error-reporting-server/ws/build.xml>

clean:
   [delete] Deleting directory <https://ci.phpmyadmin.net/job/error-reporting-server/ws/build/api>
   [delete] Deleting directory <https://ci.phpmyadmin.net/job/error-reporting-server/ws/build/code-browser>
   [delete] Deleting directory <https://ci.phpmyadmin.net/job/error-reporting-server/ws/build/coverage>
   [delete] Deleting directory <https://ci.phpmyadmin.net/job/error-reporting-server/ws/build/logs>
   [delete] Deleting directory <https://ci.phpmyadmin.net/job/error-reporting-server/ws/build/pdepend>
    [mkdir] Created dir: <https://ci.phpmyadmin.net/job/error-reporting-server/ws/build/api>
    [mkdir] Created dir: <https://ci.phpmyadmin.net/job/error-reporting-server/ws/build/code-browser>
    [mkdir] Created dir: <https://ci.phpmyadmin.net/job/error-reporting-server/ws/build/coverage>
    [mkdir] Created dir: <https://ci.phpmyadmin.net/job/error-reporting-server/ws/build/logs>
    [mkdir] Created dir: <https://ci.phpmyadmin.net/job/error-reporting-server/ws/build/pdepend>

migrate:
     [exec] 
     [exec] Welcome to CakePHP v3.4.1 Console
     [exec] ---------------------------------------------------------------
     [exec] App : src
     [exec] Path: <https://ci.phpmyadmin.net/job/error-reporting-server/ws/src/>
     [exec] PHP : 7.0.15-1+0~20170120094752.20+jessie~1.gbpe03972
     [exec] ---------------------------------------------------------------
     [exec] using migration path <https://ci.phpmyadmin.net/job/error-reporting-server/ws/config/Migrations>
     [exec] using seed path <https://ci.phpmyadmin.net/job/error-reporting-server/ws/config/Seeds>
     [exec] using environment default
     [exec] using adapter mysql
     [exec] using database pmaerr
     [exec] 
     [exec]  == 20150607191654 Initial: migrating
     [exec]  == 20150607191654 Initial: migrated 0.4208s
     [exec] 
     [exec]  == 20150607192040 AddReportIdIndexToIncidents: migrating
     [exec]  == 20150607192040 AddReportIdIndexToIncidents: migrated 0.2089s
     [exec] 
     [exec]  == 20150607192459 AddDevReportIndexToNotifications: migrating
     [exec]  == 20150607192459 AddDevReportIndexToNotifications: migrated 0.1923s
     [exec] 
     [exec]  == 20160111023543 AddLocaleToIncidents: migrating
     [exec]  == 20160111023543 AddLocaleToIncidents: migrated 0.2505s
     [exec] 
     [exec] All Done. Took 1.1135s
     [exec] using migration path <https://ci.phpmyadmin.net/job/error-reporting-server/ws/config/Migrations>
     [exec] using seed path <https://ci.phpmyadmin.net/job/error-reporting-server/ws/config/Seeds>
     [exec] Writing dump file `<https://ci.phpmyadmin.net/job/error-reporting-server/ws/config/Migrations/schema-dump-default.lock`...>
     [exec] Dump file `<https://ci.phpmyadmin.net/job/error-reporting-server/ws/config/Migrations/schema-dump-default.lock`> was successfully written

phpunit:
     [exec] PHPUnit 6.0.7 by Sebastian Bergmann and contributors.
     [exec] 
     [exec] Runtime:       PHP 7.0.15-1+0~20170120094752.20+jessie~1.gbpe03972
     [exec] Configuration: <https://ci.phpmyadmin.net/job/error-reporting-server/ws/phpunit.xml.dist>
     [exec] Error:         No code coverage driver is available
     [exec] 
     [exec] Warning Error: fwrite() expects parameter 2 to be string, array given in [<https://ci.phpmyadmin.net/job/error-reporting-server/ws/vendor/zendframework/zend-diactoros/src/Stream.php,> line 214]
     [exec] 
     [exec] ...............F.....                                             21 / 21 (100%)
     [exec] 
     [exec] Time: 13.77 seconds, Memory: 16.00MB
     [exec] 
     [exec] There was 1 failure:
     [exec] 
     [exec] 1) App\Test\TestCase\Controller\IncidentsControllerTest::testJson
     [exec] Failed asserting that two arrays are equal.
     [exec] --- Expected
     [exec] +++ Actual
     [exec] @@ @@
     [exec]      'report_id' => 1
     [exec] -    'created' => '2013-08-29T18:10:01'
     [exec] -    'modified' => '2013-08-29T18:10:01'
     [exec] +    'created' => '2013-08-29T18:10:01+00:00'
     [exec] +    'modified' => '2013-08-29T18:10:01+00:00'
     [exec]      'exception_type' => null
     [exec]  )
     [exec] 
     [exec] <https://ci.phpmyadmin.net/job/error-reporting-server/ws/tests/TestCase/Controller/IncidentsControllerTest.php>:69
     [exec] 
     [exec] FAILURES!
     [exec] Tests: 21, Assertions: 87, Failures: 1.

BUILD FAILED
<https://ci.phpmyadmin.net/job/error-reporting-server/ws/build.xml>:25: exec returned: 1

Total time: 16 seconds
Build step 'Invoke Ant' marked build as failure
[CHECKSTYLE] Skipping publisher since build result is FAILURE
[JSLINT] Skipping publisher since build result is FAILURE
[PMD] Skipping publisher since build result is FAILURE
[DRY] Skipping publisher since build result is FAILURE
[TASKS] Skipping publisher since build result is FAILURE
[ANALYSIS-COLLECTOR] Skipping publisher since build result is FAILURE
Publishing Clover coverage report...
Clover xml file does not exist in: <https://ci.phpmyadmin.net/job/error-reporting-server/ws/> called: build/logs/clover.xml and will not be copied to: /var/lib/jenkins/jobs/error-reporting-server/builds/164/cloverphp/clover.xml
Could not find 'null/build/logs/clover.xml'.  Did you generate the XML report for Clover?
[xUnit] [INFO] - Starting to record.
[xUnit] [INFO] - Processing PHPUnit-3.x (default)
[xUnit] [INFO] - [PHPUnit-3.x (default)] - 1 test report file(s) were found with the pattern 'build/logs/junit.xml' relative to '<https://ci.phpmyadmin.net/job/error-reporting-server/ws/'> for the testing framework 'PHPUnit-3.x (default)'.
[xUnit] [INFO] - Check 'Failed Tests' threshold.
[xUnit] [INFO] - Check 'Skipped Tests' threshold.
[xUnit] [INFO] - Setting the build status to FAILURE
[xUnit] [INFO] - Stopping recording.



More information about the Developers mailing list