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

michal at cihar.com michal at cihar.com
Fri Jan 10 22:37:44 CET 2014


See <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/5150/changes>

Changes:

[vpowerrc] added #1004 Create indexes at the end in SQL export

[marc] Fix coding style

------------------------------------------
Started by GitHub push by lem9
Building in workspace <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/>
Fetching changes from the remote Git repository
Fetching upstream changes from git://github.com/phpmyadmin/phpmyadmin.git
Checking out Revision 5cce4dbae4b493621c9f3cbfe1f7f9f37aa589d3 (origin/master)
[workspace] $ /bin/sh -xe /tmp/hudson8128307209193545576.sh
+ ./scripts/generate-mo --quiet
[workspace] $ ant clean phpunit-nocoverage phpcpd phpcs phploc jshint
Unable to locate tools.jar. Expected to find it in /usr/lib/jvm/java-6-openjdk-amd64/lib/tools.jar
Buildfile: <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/build.xml>

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

phpunit-nocoverage:
     [exec] Enabling headers testing...
     [exec] 
     [exec] 
     [exec] 
     [exec] 
     [exec] 
     [exec] 
     [exec] 
     [exec] 
     [exec] 
     [exec] 
     [exec] 
     [exec] 
     [exec] PHPUnit 3.7.28 by Sebastian Bergmann.
     [exec] 
     [exec] Configuration read from <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/phpunit.xml.nocoverage>
     [exec] 
     [exec] .............................................................   61 / 2206 (  2%)
     [exec] I........................................I...................  122 / 2206 (  5%)
     [exec] .............................................................  183 / 2206 (  8%)
     [exec] .............................................................  244 / 2206 ( 11%)
     [exec] .............................................................  305 / 2206 ( 13%)
     [exec] .............................................................  366 / 2206 ( 16%)
     [exec] .............................................................  427 / 2206 ( 19%)
     [exec] .............................................................  488 / 2206 ( 22%)
     [exec] .............................................................  549 / 2206 ( 24%)
     [exec] .............................................................  610 / 2206 ( 27%)
     [exec] ..............................................I..............  671 / 2206 ( 30%)
     [exec] .............................................................  732 / 2206 ( 33%)
     [exec] ...........................................EE................  793 / 2206 ( 35%)
     [exec] .........................................................F.F.  854 / 2206 ( 38%)
     [exec] .......F.....................................................  915 / 2206 ( 41%)
     [exec] .............................................................  976 / 2206 ( 44%)
     [exec] ............................................................. 1037 / 2206 ( 47%)
     [exec] ............................................................. 1098 / 2206 ( 49%)
     [exec] ............................................................. 1159 / 2206 ( 52%)
     [exec] ............................................................. 1220 / 2206 ( 55%)
     [exec] ............................................................. 1281 / 2206 ( 58%)
     [exec] ............................................................. 1342 / 2206 ( 60%)
     [exec] ............................................................. 1403 / 2206 ( 63%)
     [exec] ............................................................. 1464 / 2206 ( 66%)
     [exec] ............................................................. 1525 / 2206 ( 69%)
     [exec] ............................................................. 1586 / 2206 ( 71%)
     [exec] ............................................................. 1647 / 2206 ( 74%)
     [exec] ............................................................. 1708 / 2206 ( 77%)
     [exec] ............................................................. 1769 / 2206 ( 80%)
     [exec] ............................................................. 1830 / 2206 ( 82%)
     [exec] ............................................................. 1891 / 2206 ( 85%)
     [exec] ............................................................. 1952 / 2206 ( 88%)
     [exec] ..........................................................I.. 2013 / 2206 ( 91%)
     [exec] ............................................................. 2074 / 2206 ( 94%)
     [exec] ............................................................. 2135 / 2206 ( 96%)
     [exec] ............................................................. 2196 / 2206 ( 99%)
     [exec] ........SI
     [exec] 
     [exec] Time: 16.64 seconds, Memory: 106.75Mb
     [exec] 
     [exec] There were 2 errors:
     [exec] 
     [exec] 1) PMA_ExportSql_Test::testGetTableDefWithoutDrizzle
     [exec] Undefined variable: has_constraintsi
     [exec] 
     [exec] <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/plugins/export/ExportSql.class.php>:1406
     [exec] <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/test/classes/plugin/export/PMA_ExportSql_test.php>:1196
     [exec] 
     [exec] 2) PMA_ExportSql_Test::testGetTableDefWithDrizzle
     [exec] Undefined variable: has_constraintsi
     [exec] 
     [exec] <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/plugins/export/ExportSql.class.php>:1406
     [exec] <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/test/classes/plugin/export/PMA_ExportSql_test.php>:1372
     [exec] 
     [exec] --
     [exec] 
     [exec] 
     [exec] There were 3 failures:
     [exec] 
     [exec] 1) ImportCsv_Test::testDoImport
     [exec] Failed asserting that 'CREATE DATABASE IF NOT EXISTS `CSV_DB` COLLATE utf8_general_ciCREATE TABLE IF NOT EXISTS `CSV_DB`.`TBL_NAME` (`COL 1` varchar(48)) COLLATE utf8_general_ci;INSERT INTO `CSV_DB`.`TBL_NAME` (`COL 1`) VALUES ('1,dbbase,,ddd,SELECT * FROM `db_content` WHERE 1');' contains "CREATE DATABASE IF NOT EXISTS `CSV_DB` DEFAULT CHARACTER".
     [exec] 
     [exec] <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/test/classes/plugin/import/ImportCsv_test.php>:140
     [exec] 
     [exec] 2) ImportCsv_Test::testDoImportNotAnalysis
     [exec] Failed asserting that 'CREATE DATABASE IF NOT EXISTS `CSV_DB` COLLATE utf8_general_ciCREATE TABLE IF NOT EXISTS `CSV_DB`.`TBL_NAME` (`COL 1` varchar(48)) COLLATE utf8_general_ci;INSERT INTO `CSV_DB`.`TBL_NAME` (`COL 1`) VALUES ('1,dbbase,,ddd,SELECT * FROM `db_content` WHERE 1');' contains "CREATE DATABASE IF NOT EXISTS `CSV_DB` DEFAULT CHARACTER".
     [exec] 
     [exec] <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/test/classes/plugin/import/ImportCsv_test.php>:199
     [exec] 
     [exec] 3) ImportOds_Test::testDoImport
     [exec] Failed asserting that 'CREATE DATABASE IF NOT EXISTS `ODS_DB` COLLATE utf8_general_ciCREATE TABLE IF NOT EXISTS `ODS_DB`.`pma_bookmark` (`A` int(1), `B` varchar(6), `C` varchar(10), `D` varchar(3)) COLLATE utf8_general_ci;INSERT INTO `ODS_DB`.`pma_bookmark` (`A`, `B`, `C`, `D`) VALUES (1, 'dbbase', NULL, 'ddd');' contains "CREATE DATABASE IF NOT EXISTS `ODS_DB` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci".
     [exec] 
     [exec] <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/test/classes/plugin/import/ImportOds_test.php>:144
     [exec] 
     [exec] --
     [exec] 
     [exec] 
     [exec] There were 5 incomplete tests:
     [exec] 
     [exec] 1) PMA_ConfigTest::testCheckPermissions
     [exec] This test has not been implemented yet.
     [exec] 
     [exec] <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/test/classes/PMA_Config_test.php>:956
     [exec] 
     [exec] 2) PMA_DisplayResults_Test::testGetTableNavigation with data set #0 (21, 41, '123', false, '310')
     [exec] Not yet implemented!
     [exec] 
     [exec] <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/test/classes/PMA_DisplayResults_test.php>:438
     [exec] 
     [exec] 3) PMA_AuthenticationCookie_Test::testBlowfishDecrypt
     [exec] Not testing mcrypt support
     [exec] 
     [exec] <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/test/classes/plugin/auth/PMA_AuthenticationCookie_test.php>:1104
     [exec] 
     [exec] 4) PMA_TblColumnsDefinitionFormTest::testGetFormParamsForOldColumn
     [exec] Not yet implemented!
     [exec] 
     [exec] <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/test/libraries/PMA_tbl_columns_definition_form_test.php>:1101
     [exec] 
     [exec] 5) Environment_Test::testSession
     [exec] No session testing
     [exec] 
     [exec] <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/test/Environment_test.php>:83
     [exec] 
     [exec] --
     [exec] 
     [exec] 
     [exec] There was 1 skipped test:
     [exec] 
     [exec] 1) Environment_Test::testMySQL
     [exec] Error: SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
     [exec] 
     [exec] <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/test/Environment_test.php>:62
     [exec] 
     [exec] FAILURES!
     [exec] Tests: 2206, Assertions: 5333, Failures: 3, Errors: 2, Incomplete: 5, Skipped: 1.
     [exec] 

BUILD FAILED
<http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/build.xml>:30: exec returned: 2

Total time: 17 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] 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 #5149
[TASKS] Skipping publisher since build result is FAILURE
[ANALYSIS-COLLECTOR] Computing warning deltas based on reference build #5149
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 '<http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/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