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

Jenkins Daemon jenkins at phpmyadmin.net
Mon Mar 13 10:38:33 CET 2017


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

Changes:

[devenbansod.bits] Use proper and complete JS script name while comparing to skip

[devenbansod.bits] Fix failing tests

------------------------------------------
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 ec4169f14ddcc48d3fab5a878d58631d0a80df25 (origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f ec4169f14ddcc48d3fab5a878d58631d0a80df25
 > git rev-list 699e5633a2161904c744a0b7896e1959986a80ba # timeout=10
[workspace] $ /bin/sh -xe /tmp/hudson6226622440026398227.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/bake (1.3.1)
  - Installing cakephp/bake (1.3.2)
    Downloading: Connecting...    Downloading: 0%               Downloading: 5%    Downloading: 10%    Downloading: 20%    Downloading: 25%    Downloading: 30%    Downloading: 35%    Downloading: 40%    Downloading: 50%    Downloading: 55%    Downloading: 60%    Downloading: 65%    Downloading: 70%    Downloading: 85%    Downloading: 90%    Downloading: 95%    Downloading: 100%

  - Installing sebastian/object-reflector (1.0.0)
    Downloading: Connecting...    Downloading: 0%               Downloading: 100%

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

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-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.3 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 1.3809s
     [exec] 
     [exec]  == 20150607192040 AddReportIdIndexToIncidents: migrating
     [exec]  == 20150607192040 AddReportIdIndexToIncidents: migrated 0.2850s
     [exec] 
     [exec]  == 20150607192459 AddDevReportIndexToNotifications: migrating
     [exec]  == 20150607192459 AddDevReportIndexToNotifications: migrated 0.4145s
     [exec] 
     [exec]  == 20160111023543 AddLocaleToIncidents: migrating
     [exec]  == 20160111023543 AddLocaleToIncidents: migrated 0.4210s
     [exec] 
     [exec] All Done. Took 2.5499s
     [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.8 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: 42.56 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: 47 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/167/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