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

michal at cihar.com michal at cihar.com
Tue Dec 17 22:48:50 CET 2013


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

------------------------------------------
[...truncated 224 lines...]
     [exec] 22) PMA_FormDisplay_Tpl_Test::testDisplayGroupHeader
     [exec] Cannot modify constant
     [exec] 
     [exec] <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/test/libraries/PMA_FormDisplay_tpl_test.php>:537
     [exec] 
     [exec] 23) PMA_FormDisplay_Tpl_Test::testDisplayFieldsetBottom
     [exec] Cannot modify constant
     [exec] 
     [exec] <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/test/libraries/PMA_FormDisplay_tpl_test.php>:618
     [exec] 
     [exec] 24) PMA_From_Processing_Test::testProcessFormSet
     [exec] Cannot redefine constant/function - missing runkit extension
     [exec] 
     [exec] <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/test/libraries/PMA_Form_Processing_test.php>:35
     [exec] 
     [exec] 25) PMA_SetupIndex_Test::testPMACheckConfigRw
     [exec] Cannot redefine constant
     [exec] 
     [exec] <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/test/libraries/PMA_SetupIndex_test.php>:327
     [exec] 
     [exec] 26) PMA_Tracker_Test::testGetLogComment
     [exec] Cannot override internal function date()
     [exec] 
     [exec] <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/test/libraries/PMA_Tracker_test.php>:273
     [exec] 
     [exec] 27) PMA_Tracker_Test::testCreateVersion
     [exec] Cannot override internal function date()
     [exec] 
     [exec] <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/test/libraries/PMA_Tracker_test.php>:296
     [exec] 
     [exec] 28) PMA_Tracker_Test::testCreateDatabaseVersion
     [exec] Cannot override internal function date()
     [exec] 
     [exec] <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/test/libraries/PMA_Tracker_test.php>:465
     [exec] 
     [exec] 29) PMA_Tracker_Test::testChangeTrackingData
     [exec] Cannot override internal function date()
     [exec] 
     [exec] <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/test/libraries/PMA_Tracker_test.php>:586
     [exec] 
     [exec] 30) PMA_Tracker_Test::testGetVersion
     [exec] Cannot redefine constant
     [exec] 
     [exec] <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/test/libraries/PMA_Tracker_test.php>:697
     [exec] 
     [exec] 31) PMA_Tracker_Test::testTransformTrackingSet
     [exec] Cannot redefine constant
     [exec] 
     [exec] <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/test/libraries/PMA_Tracker_test.php>:1078
     [exec] 
     [exec] 32) PMA_MySQL_Charsets_Test::testGenerateCharsetQueryPart with data set #0 (false, 'a_b_c_d', ' CHARACTER SET a COLLATE a_b_c_d')
     [exec] Cannot redefine constant - missing runkit extension
     [exec] 
     [exec] <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/test/libraries/PMA_mysql_charsets_test.php>:39
     [exec] 
     [exec] 33) PMA_MySQL_Charsets_Test::testGenerateCharsetQueryPart with data set #1 (false, 'a_', ' CHARACTER SET a COLLATE a_')
     [exec] Cannot redefine constant - missing runkit extension
     [exec] 
     [exec] <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/test/libraries/PMA_mysql_charsets_test.php>:39
     [exec] 
     [exec] 34) PMA_MySQL_Charsets_Test::testGenerateCharsetQueryPart with data set #2 (false, 'a', ' CHARACTER SET a')
     [exec] Cannot redefine constant - missing runkit extension
     [exec] 
     [exec] <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/test/libraries/PMA_mysql_charsets_test.php>:39
     [exec] 
     [exec] 35) PMA_MySQL_Charsets_Test::testGenerateCharsetQueryPart with data set #3 (true, 'a_b_c_d', ' COLLATE a_b_c_d')
     [exec] Cannot redefine constant - missing runkit extension
     [exec] 
     [exec] <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/test/libraries/PMA_mysql_charsets_test.php>:39
     [exec] 
     [exec] 36) PMA_MySQL_Charsets_Test::testGetDbCollation
     [exec] Cannot redefine constant - missing runkit extension
     [exec] 
     [exec] <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/test/libraries/PMA_mysql_charsets_test.php>:91
     [exec] 
     [exec] 37) PMA_User_Preferences_Test::testUserprefsRedirect
     [exec] Cannot redefine constant/function - missing runkit extension
     [exec] 
     [exec] <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/test/libraries/PMA_user_preferences_test.php>:355
     [exec] 
     [exec] 38) 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] OK, but incomplete or skipped tests!
     [exec] Tests: 2206, Assertions: 5199, Incomplete: 6, Skipped: 38.
     [exec] 

phpcpd:
     [exec] phpcpd 2.0.0 by Sebastian Bergmann.
     [exec] 
     [exec] Found 12 exact clones with 547 duplicated lines in 14 files:
     [exec] 
     [exec]   -
     [exec] 	<http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/rte/rte_triggers.lib.php>:225-261 
     [exec] 	<http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/rte/rte_events.lib.php>:250-286 
     [exec]   -
     [exec] 	<http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/dbi/DBIDummy.class.php>:237-262 
     [exec] 	<http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/dbi/DBIDummy.class.php>:277-302 
     [exec]   -
     [exec] 	<http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/plugins/export/ExportJson.class.php>:121-179 
     [exec] 	<http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/plugins/export/ExportYaml.class.php>:119-177 
     [exec]   -
     [exec] 	<http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/plugins/export/ExportLatex.class.php>:134-163 
     [exec] 	<http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/plugins/export/ExportOdt.class.php>:100-129 
     [exec]   -
     [exec] 	<http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/schema/Dia_Relation_Schema.class.php>:274-294 
     [exec] 	<http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/schema/Eps_Relation_Schema.class.php>:411-431 
     [exec]   -
     [exec] 	<http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/schema/Dia_Relation_Schema.class.php>:274-310 
     [exec] 	<http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/schema/Pdf_Relation_Schema.class.php>:458-494 
     [exec]   -
     [exec] 	<http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/schema/Eps_Relation_Schema.class.php>:568-611 
     [exec] 	<http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/schema/Pdf_Relation_Schema.class.php>:657-700 
     [exec]   -
     [exec] 	<http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/schema/Eps_Relation_Schema.class.php>:361-410 
     [exec] 	<http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/schema/Svg_Relation_Schema.class.php>:330-379 
     [exec]   -
     [exec] 	<http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/schema/Dia_Relation_Schema.class.php>:274-338 
     [exec] 	<http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/schema/Svg_Relation_Schema.class.php>:382-446 
     [exec]   -
     [exec] 	<http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/schema/Eps_Relation_Schema.class.php>:552-612 
     [exec] 	<http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/schema/Svg_Relation_Schema.class.php>:537-597 
     [exec]   -
     [exec] 	<http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/properties/plugins/ImportPluginProperties.class.php>:79-182 
     [exec] 	<http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/properties/plugins/ExportPluginProperties.class.php>:87-190 
     [exec]   -
     [exec] 	<http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/schema/Pdf_Relation_Schema.class.php>:1292-1316 
     [exec] 	<http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/db_datadict.php>:91-115 
     [exec] 0.36% duplicated lines out of 152461 total lines of code.
     [exec] 
     [exec] Time: 3.8 seconds, Memory: 119.25Mb
     [exec] Result: 1

phpcs:
     [exec] Time: 43.91 seconds, Memory: 53.50Mb
     [exec] 
     [exec] Result: 1

phploc:
     [exec] phploc 2.0.3 by Sebastian Bergmann.
     [exec] 
     [exec] Directories                                         33
     [exec] Files                                              440
     [exec] 
     [exec] Size
     [exec]   Lines of Code (LOC)                           152461
     [exec]   Comment Lines of Code (CLOC)                   40928 (26.84%)
     [exec]   Non-Comment Lines of Code (NCLOC)             111533 (73.16%)
     [exec]   Logical Lines of Code (LLOC)                   33990 (22.29%)
     [exec]     Classes                                      14628 (43.04%)
     [exec]       Average Class Length                          68
     [exec]       Average Method Length                          8
     [exec]     Functions                                    12054 (35.46%)
     [exec]       Average Function Length                       14
     [exec]     Not in classes or functions                   7308 (21.50%)
     [exec] 
     [exec] Complexity
     [exec]   Cyclomatic Complexity / LLOC                    0.39
     [exec]   Cyclomatic Complexity / Number of Methods       4.17
     [exec] 
     [exec] Dependencies
     [exec]   Global Accesses                                 6429
     [exec]     Global Constants                               300 (4.67%)
     [exec]     Global Variables                              4016 (62.47%)
     [exec]     Super-Global Variables                        2113 (32.87%)
     [exec]   Attribute Accesses                              3133
     [exec]     Non-Static                                    3025 (96.55%)
     [exec]     Static                                         108 (3.45%)
     [exec]   Method Calls                                    8127
     [exec]     Non-Static                                    5249 (64.59%)
     [exec]     Static                                        2878 (35.41%)
     [exec] 
     [exec] Structure
     [exec]   Namespaces                                         0
     [exec]   Interfaces                                         5
     [exec]   Traits                                             0
     [exec]   Classes                                          213
     [exec]     Abstract Classes                                29 (13.62%)
     [exec]     Concrete Classes                               184 (86.38%)
     [exec]   Methods                                         1828
     [exec]     Scope
     [exec]       Non-Static Methods                          1542 (84.35%)
     [exec]       Static Methods                               286 (15.65%)
     [exec]     Visibility
     [exec]       Public Method                               1423 (77.84%)
     [exec]       Non-Public Methods                           405 (22.16%)
     [exec]   Functions                                        847
     [exec]     Named Functions                                845 (99.76%)
     [exec]     Anonymous Functions                              2 (0.24%)
     [exec]   Constants                                        175
     [exec]     Global Constants                               112 (64.00%)
     [exec]     Class Constants                                 63 (36.00%)

jshint:

BUILD FAILED
<http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/build.xml>:113: Execute failed: java.io.IOException: Cannot run program "jshint": java.io.IOException: error=2, No such file or directory
	at java.lang.ProcessBuilder.start(ProcessBuilder.java:488)
	at java.lang.Runtime.exec(Runtime.java:610)
	at org.apache.tools.ant.taskdefs.Execute$Java13CommandLauncher.exec(Execute.java:862)
	at org.apache.tools.ant.taskdefs.Execute.launch(Execute.java:481)
	at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:495)
	at org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:631)
	at org.apache.tools.ant.taskdefs.ExecuteOn.runParallel(ExecuteOn.java:716)
	at org.apache.tools.ant.taskdefs.ExecuteOn.runExec(ExecuteOn.java:479)
	at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:498)
	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
	at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:616)
	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
	at org.apache.tools.ant.Task.perform(Task.java:348)
	at org.apache.tools.ant.Target.execute(Target.java:390)
	at org.apache.tools.ant.Target.performTasks(Target.java:411)
	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
	at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
	at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
	at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
	at org.apache.tools.ant.Main.runBuild(Main.java:809)
	at org.apache.tools.ant.Main.startAnt(Main.java:217)
	at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
	at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
Caused by: java.io.IOException: java.io.IOException: error=2, No such file or directory
	at java.lang.UNIXProcess.<init>(UNIXProcess.java:164)
	at java.lang.ProcessImpl.start(ProcessImpl.java:81)
	at java.lang.ProcessBuilder.start(ProcessBuilder.java:470)
	... 24 more

Total time: 1 minute 8 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] Parsing 1 files in <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/>
[DRY] Successfully parsed file <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/build/logs/pmd-cpd.xml> of module  with 24 warnings.
[DRY] Computing warning deltas based on reference build #4932
[TASKS] Skipping publisher since build result is FAILURE
[ANALYSIS-COLLECTOR] Computing warning deltas based on reference build #4932
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