[Phpmyadmin-devel] Build failed in Jenkins: phpMyAdmin-continuous #8123

Jenkins Daemon jenkins at phpmyadmin.net
Mon Dec 1 12:01:16 CET 2014


See <https://ci.phpmyadmin.net/job/phpMyAdmin-continuous/8123/changes>

Changes:

[Michal Čihař] Always restore mocked instance after test

[Michal Čihař] Add missing call to test

------------------------------------------
Started by GitHub push by nijel
[EnvInject] - Loading node environment variables.
Building in workspace <https://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/>
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url git://github.com/phpmyadmin/phpmyadmin.git # timeout=10
Fetching upstream changes from git://github.com/phpmyadmin/phpmyadmin.git
 > git --version # timeout=10
 > git fetch --tags --progress git://github.com/phpmyadmin/phpmyadmin.git +refs/heads/*:refs/remotes/origin/*
 > git rev-parse origin/master^{commit} # timeout=10
Checking out Revision 2502375982247d21303f87ddf4e0cf1a5ef8a33c (origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 2502375982247d21303f87ddf4e0cf1a5ef8a33c
 > git rev-list baa922e9021c7e179e885505cf6020f49c05b11b # timeout=10
 > git tag -a -f -m Jenkins Build #8123 jenkins-phpMyAdmin-continuous-8123 # timeout=10
[EnvInject] - Executing scripts and injecting environment variables after the SCM step.
[EnvInject] - Injecting as environment variables the properties content 
TESTSUITE_SERVER=localhost
TESTSUITE_USER=pmatest
TESTSUITE_DATABASE=pmatest
TESTSUITE_URL=http://ci-live.phpmyadmin.net/phpMyAdmin-continuous/workspace/
XTESTSUITE_BROWSERSTACK_USER=michaliha

[EnvInject] - Variables injected successfully.
[workspace] $ /bin/sh -xe /tmp/hudson9040834868502207728.sh
+ composer install --dev --no-interaction
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Nothing to install or update
Generating autoload files
[workspace] $ ant ******** ******** clean locales phpunit-nocoverage phpcpd phpcs phploc jshint jshint-checkstyle
Unable to locate tools.jar. Expected to find it in /usr/lib/jvm/java-6-openjdk-amd64/lib/tools.jar
Buildfile: <https://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/build.xml>

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

locales:

phpunit-nocoverage:
     [exec] Enabling headers testing using runkit...
     [exec] Not supported query: SHOW ALL SLAVES STATUS
     [exec] PHPUnit 4.1.6 by Sebastian Bergmann.
     [exec] 
     [exec] Configuration read from <https://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/phpunit.xml.nocoverage>
     [exec] 
     [exec] .............................................................   61 / 2447 (  2%)
     [exec] .........................................I...................  122 / 2447 (  4%)
     [exec] .............................................................  183 / 2447 (  7%)
     [exec] .............................................................  244 / 2447 (  9%)
     [exec] .............................................................  305 / 2447 ( 12%)
     [exec] .............................................................  366 / 2447 ( 14%)
     [exec] .............................................................  427 / 2447 ( 17%)
     [exec] .............................................................  488 / 2447 ( 19%)
     [exec] .........I.......I.....I.....................................  549 / 2447 ( 22%)
     [exec] .............................................................  610 / 2447 ( 24%)
     [exec] .............................................................  671 / 2447 ( 27%)
     [exec] .............................................................  732 / 2447 ( 29%)
     [exec] .............................................................  793 / 2447 ( 32%)
     [exec] .............................................................  854 / 2447 ( 34%)
     [exec] .............................................................  915 / 2447 ( 37%)
     [exec] .............................................................  976 / 2447 ( 39%)
     [exec] ............................................................. 1037 / 2447 ( 42%)
     [exec] ............................................................. 1098 / 2447 ( 44%)
     [exec] ............................................................. 1159 / 2447 ( 47%)
     [exec] ............................................................. 1220 / 2447 ( 49%)
     [exec] ............................................................. 1281 / 2447 ( 52%)
     [exec] ............................................................. 1342 / 2447 ( 54%)
     [exec] ............................................................. 1403 / 2447 ( 57%)
     [exec] ............................................................. 1464 / 2447 ( 59%)
     [exec] ............................................................. 1525 / 2447 ( 62%)
     [exec] ............................................................. 1586 / 2447 ( 64%)
     [exec] ............................................................. 1647 / 2447 ( 67%)
     [exec] ............................................................. 1708 / 2447 ( 69%)
     [exec] ...........................PHP Warning:  Uncaught exception 'PHPUnit_Framework_Error_Notice' with message 'Undefined variable: attrInstance' in <https://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/test/libraries/PMA_insert_edit_test.php>:229
     [exec] Stack trace:
     [exec] #0 <https://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/test/libraries/PMA_insert_edit_test.php(229)>: PHPUnit_Util_ErrorHandler::handleError(8, 'Undefined varia...', '/var/lib/jenkin...', 229, Array)
     [exec] #1 [internal function]: PMA_InsertEditTest->testShowEmptyResultMessageOrSetUniqueCondition()
     [exec] #2 <https://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/vendor/phpunit/phpunit/src/Framework/TestCase.php(962)>: ReflectionMethod->invokeArgs(Object(PMA_InsertEditTest), Array)
     [exec] #3 <https://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/vendor/phpunit/phpunit/src/Framework/TestCase.php(826)>: PHPUnit_Framework_TestCase->runTest()
     [exec] #4 <https://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/vendor/phpunit/phpunit/src/Framework/TestResult.php(686)>: PHPUnit_Framework_TestCase->runBare()
     [exec] #5 /var/lib/jenkins/jobs/phpMyAdmin in <https://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/test/libraries/PMA_insert_edit_test.php> on line 229
     [exec] PHP Fatal error:  Call to a member function setValue() on a non-object in <https://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/test/libraries/PMA_insert_edit_test.php> on line 229
     [exec] ....

BUILD FAILED
<https://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/build.xml>:33: exec returned: 255

Total time: 25 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
[DRY] Collecting duplicate code analysis files...
[DRY] Finding all files that match the pattern build/logs/pmd-cpd.xml
[DRY] Computing warning deltas based on reference build #8120
[TASKS] Skipping publisher since build result is FAILURE
[ANALYSIS-COLLECTOR] Computing warning deltas based on reference build #8120
Recording plot data
[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/phpMyAdmin-continuous/ws/'> for the testing framework 'PHPUnit-3.x (default)'.
[xUnit] [ERROR] - The result file '<https://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/build/logs/junit.xml'> for the metric 'PHPUnit' is empty. The result file has been skipped.
[xUnit] [INFO] - Failing BUILD because 'set build failed if errors' option is activated.
[xUnit] [INFO] - There are errors when processing test results.
[xUnit] [INFO] - Skipping tests recording.
[xUnit] [INFO] - Stop build.




More information about the Developers mailing list