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

Jenkins Daemon jenkins at phpmyadmin.net
Tue Dec 13 14:00:08 CET 2016


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

Changes:

[devenbansod.bits] Change Create's headers to application/json and add nosniff header

------------------------------------------
Started by GitHub push by nijel
[EnvInject] - Loading node environment variables.
Building in workspace <https://ci.phpmyadmin.net/job/error-reporting-server/ws/>
 > git rev-parse --is-inside-work-tree # timeout=10
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 be48fd599278db678a92396e0297851374cca33d (origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f be48fd599278db678a92396e0297851374cca33d
 > git rev-list 170065f7815de42615ed5b1c2b04a82e74fb8670 # timeout=10
[workspace] $ /bin/sh -xe /tmp/hudson3738934658446816608.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 cakephp/chronos (1.0.0)
  - Installing cakephp/chronos (1.0.2)
    Downloading: Connecting...    Downloading: 0%               Downloading: 10%    Downloading: 35%    Downloading: 45%    Downloading: 50%    Downloading: 70%    Downloading: 95%    Downloading: 100%

  - Removing psr/log (1.0.0)
  - Installing psr/log (1.0.2)
    Loading from cache

  - Removing cakephp/cakephp (3.3.8)
  - Installing cakephp/cakephp (3.3.10)
    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.1.6)
  - Installing symfony/yaml (v3.2.0)
    Loading from cache

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

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

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

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

  - Removing cakephp/migrations (1.6.3)
  - Installing cakephp/migrations (1.6.4)
    Downloading: Connecting...    Downloading: 0%               Downloading: 10%    Downloading: 20%    Downloading: 35%    Downloading: 45%    Downloading: 50%    Downloading: 60%    Downloading: 70%    Downloading: 75%    Downloading: 85%    Downloading: 95%    Downloading: 100%

  - Removing nikic/php-parser (v2.1.1)
  - Installing nikic/php-parser (v3.0.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 symfony/var-dumper (v3.1.6)
  - Installing symfony/var-dumper (v3.2.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: 100%

  - Removing psy/psysh (v0.7.2)
  - Installing psy/psysh (v0.8.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/debug_kit (3.4.1)
  - Installing cakephp/debug_kit (3.4.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 sebastian/version (2.0.0)
  - Installing sebastian/version (2.0.1)
    Downloading: Connecting...    Downloading: 0%               Downloading: 100%

  - Removing sebastian/recursion-context (1.0.3)
  - Installing sebastian/recursion-context (2.0.0)
    Downloading: Connecting...    Downloading: 0%               Downloading: 100%

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

  - Removing sebastian/exporter (1.2.2)
  - Installing sebastian/exporter (2.0.0)
    Downloading: Connecting...    Downloading: 0%               Downloading: 100%

  - Removing sebastian/environment (1.3.8)
  - Installing sebastian/environment (2.0.0)
    Downloading: Connecting...    Downloading: 0%               Downloading: 15%    Downloading: 30%    Downloading: 45%    Downloading: 60%    Downloading: 75%    Downloading: 90%    Downloading: 100%

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

  - Removing phpunit/phpunit-mock-objects (3.4.0)
  - Installing phpunit/phpunit-mock-objects (3.4.3)
    Downloading: Connecting...    Downloading: 0%               Downloading: 5%    Downloading: 10%    Downloading: 20%    Downloading: 25%    Downloading: 30%    Downloading: 35%    Downloading: 40%    Downloading: 45%    Downloading: 50%    Downloading: 55%    Downloading: 60%    Downloading: 70%    Downloading: 75%    Downloading: 80%    Downloading: 85%    Downloading: 90%    Downloading: 95%    Downloading: 100%

  - Removing phpunit/php-file-iterator (1.4.1)
  - Installing phpunit/php-file-iterator (1.4.2)
    Loading from cache

  - Removing phpunit/php-token-stream (1.4.8)
  - Installing phpunit/php-token-stream (1.4.9)
    Loading from cache

  - Removing phpunit/php-code-coverage (4.0.2)
  - Installing phpunit/php-code-coverage (4.0.3)
    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 webmozart/assert (1.1.0)
  - Installing webmozart/assert (1.2.0)
    Loading from cache

  - Removing phpdocumentor/type-resolver (0.2)
  - Installing phpdocumentor/type-resolver (0.2.1)
    Loading from cache

  - Removing phpspec/prophecy (v1.6.1)
  - Installing phpspec/prophecy (v1.6.2)
    Loading from cache

  - Removing phpunit/phpunit (5.6.3)
  - Installing phpunit/phpunit (5.7.3)
    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/stopwatch (v3.1.6)
  - Installing symfony/stopwatch (v3.2.0)
    Loading from cache

  - Removing symfony/event-dispatcher (v2.8.13)
  - Installing symfony/event-dispatcher (v2.8.15)
    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.3.10 Console
     [exec] ---------------------------------------------------------------
     [exec] App : src
     [exec] Path: <https://ci.phpmyadmin.net/job/error-reporting-server/ws/src/>
     [exec] PHP : 7.0.12-1+0~20161015153741.13+jessie~1.gbp5ec345
     [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.5334s
     [exec] 
     [exec]  == 20150607192040 AddReportIdIndexToIncidents: migrating
     [exec]  == 20150607192040 AddReportIdIndexToIncidents: migrated 0.1923s
     [exec] 
     [exec]  == 20150607192459 AddDevReportIndexToNotifications: migrating
     [exec]  == 20150607192459 AddDevReportIndexToNotifications: migrated 0.1543s
     [exec] 
     [exec]  == 20160111023543 AddLocaleToIncidents: migrating
     [exec]  == 20160111023543 AddLocaleToIncidents: migrated 0.2341s
     [exec] 
     [exec] All Done. Took 1.1472s
     [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 5.7.3 by Sebastian Bergmann and contributors.
     [exec] 
     [exec] Runtime:       PHP 7.0.12-1+0~20161015153741.13+jessie~1.gbp5ec345
     [exec] Configuration: <https://ci.phpmyadmin.net/job/error-reporting-server/ws/phpunit.xml.dist>
     [exec] Error:         No code coverage driver is available
     [exec] 
     [exec] ...............F.....                                             21 / 21 (100%)
     [exec] 
     [exec] Time: 15.6 seconds, Memory: 14.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: 19 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/163/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