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

Jenkins Daemon jenkins at phpmyadmin.net
Sun May 7 17:52:41 CEST 2017


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

Changes:

[devenbansod.bits] Auto fixes by php-cs-fixer

[devenbansod.bits] Add php_cs.cache in gitignore

------------------------------------------
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 e6f651afbcb4611ea3570931089975dc7f59666c (origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f e6f651afbcb4611ea3570931089975dc7f59666c
 > git rev-list 46bda92487057f92853a0e995245ddf409d95208 # timeout=10
[workspace] $ /bin/sh -xe /tmp/jenkins4501919942622704495.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)
Nothing to install or update
Package guzzle/guzzle is abandoned, you should avoid using it. Use guzzlehttp/guzzle instead.
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-8-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.6 Console
     [exec] ---------------------------------------------------------------
     [exec] App : src
     [exec] Path: <https://ci.phpmyadmin.net/job/error-reporting-server/ws/src/>
     [exec] PHP : 7.0.16-3
     [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 4.4461s
     [exec] 
     [exec]  == 20150607192040 AddReportIdIndexToIncidents: migrating
     [exec]  == 20150607192040 AddReportIdIndexToIncidents: migrated 0.8200s
     [exec] 
     [exec]  == 20150607192459 AddDevReportIndexToNotifications: migrating
     [exec]  == 20150607192459 AddDevReportIndexToNotifications: migrated 0.6161s
     [exec] 
     [exec]  == 20160111023543 AddLocaleToIncidents: migrating
     [exec]  == 20160111023543 AddLocaleToIncidents: migrated 2.8611s
     [exec] 
     [exec] All Done. Took 8.7479s
     [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.1.3 by Sebastian Bergmann and contributors.
     [exec] 
     [exec] Runtime:       PHP 7.0.16-3
     [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: 2.65 minutes, 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>:73
     [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: 2 minutes 49 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/169/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