[phpMyAdmin Developers] Build failed in Jenkins: phpMyAdmin #2243

Jenkins Daemon jenkins at phpmyadmin.net
Wed Sep 27 05:17:42 CEST 2017


See <https://ci.phpmyadmin.net/job/phpMyAdmin/2243/display/redirect?page=changes>

Changes:

[Maurício Meneghini Fauth] Move DbSearch to Database/Search

[Maurício Meneghini Fauth] Move DbQbe to Database/Qbe

[Maurício Meneghini Fauth] Move DbMultiTableQuery to Database/MultiTableQuery

[Maurício Meneghini Fauth] Move DbList to Database/DatabaseList

[Maurício Meneghini Fauth] Move Advisor dependencies to constructor

------------------------------------------
[...truncated 40.27 KB...]
     [exec] ............................................................ 21600
     [exec] ......................................                       22377
     [exec] 
     [exec] Calculating Node Loc metrics:
     [exec] ............................................................  1200
     [exec] ............................................................  2400
     [exec] ............................................................  3600
     [exec] ............................................................  4800
     [exec] ............................................................  6000
     [exec] ............................................................  7200
     [exec] ............................................................  8400
     [exec] ............................................................  9600
     [exec] ............................................................ 10800
     [exec] ............................................................ 12000
     [exec] ............................................................ 13200
     [exec] ............................................................ 14400
     [exec] ............................................................ 15600
     [exec] ............................................................ 16800
     [exec] ............................................................ 18000
     [exec] ............................................................ 19200
     [exec] ............................................................ 20400
     [exec] ............................................................ 21600
     [exec] ............................................................ 22800
     [exec] ............................................................ 24000
     [exec] ............................................................ 25200
     [exec] .........................                                    25711
     [exec] 
     [exec] Generating pdepend log files, this may take a moment.
     [exec] 
     [exec] Time: 0:15:24; Memory: 495.03Mb

phpmd:
     [exec] Result: 2

phpcpd:
     [exec] phpcpd 3.0.0 by Sebastian Bergmann.
     [exec] 
     [exec] Found 6 clones with 400 duplicated lines in 8 files:
     [exec] 
     [exec]   - <https://ci.phpmyadmin.net/job/phpMyAdmin/ws/libraries/dbi/dbi_dummy.inc.php>:295-403
     [exec]     <https://ci.phpmyadmin.net/job/phpMyAdmin/ws/libraries/dbi/dbi_dummy.inc.php>:401-509
     [exec] 
     [exec]   - <https://ci.phpmyadmin.net/job/phpMyAdmin/ws/libraries/classes/Plugins/Schema/Svg/SvgRelationSchema.php>:105-155
     [exec]     <https://ci.phpmyadmin.net/job/phpMyAdmin/ws/libraries/classes/Plugins/Schema/Eps/EpsRelationSchema.php>:93-143
     [exec] 
     [exec]   - <https://ci.phpmyadmin.net/job/phpMyAdmin/ws/libraries/classes/Plugins/Export/Helpers/Pdf.php>:235-276
     [exec]     <https://ci.phpmyadmin.net/job/phpMyAdmin/ws/libraries/classes/Plugins/Export/Helpers/Pdf.php>:392-433
     [exec] 
     [exec]   - <https://ci.phpmyadmin.net/job/phpMyAdmin/ws/libraries/classes/Plugins/Export/Helpers/Pdf.php>:357-423
     [exec]     <https://ci.phpmyadmin.net/job/phpMyAdmin/ws/libraries/classes/Plugins/Export/Helpers/Pdf.php>:597-663
     [exec] 
     [exec]   - <https://ci.phpmyadmin.net/job/phpMyAdmin/ws/libraries/classes/Plugins/Export/ExportYaml.php>:106-173
     [exec]     <https://ci.phpmyadmin.net/job/phpMyAdmin/ws/libraries/classes/Plugins/Export/ExportPhparray.php>:130-197
     [exec] 
     [exec]   - <https://ci.phpmyadmin.net/job/phpMyAdmin/ws/libraries/classes/Plugins/Export/ExportOds.php>:174-242
     [exec]     <https://ci.phpmyadmin.net/job/phpMyAdmin/ws/libraries/classes/Plugins/Export/ExportOdt.php>:202-270
     [exec] 
     [exec] 0.24% duplicated lines out of 163620 total lines of code.
     [exec] 
     [exec] Time: 9.5 seconds, Memory: 111.00MB
     [exec] Result: 1

phpcs-config:
     [exec] Config value "installed_paths" updated successfully; old value was "/var/lib/jenkins/jobs/phpMyAdmin-continuous/workspace/vendor/phpmyadmin/coding-standard"

phpcs:
     [exec] Time: 1 mins, 18.4 secs; Memory: 48.01Mb
     [exec] 
     [exec] Result: 1

phploc:
     [exec] phploc 4.0.0 by Sebastian Bergmann.
     [exec] 
     [exec] Directories                                         56
     [exec] Files                                              504
     [exec] 
     [exec] Size
     [exec]   Lines of Code (LOC)                           163620
     [exec]   Comment Lines of Code (CLOC)                   42685 (26.09%)
     [exec]   Non-Comment Lines of Code (NCLOC)             120935 (73.91%)
     [exec]   Logical Lines of Code (LLOC)                   35759 (21.85%)
     [exec]     Classes                                      28433 (79.51%)
     [exec]       Average Class Length                          78
     [exec]         Minimum Class Length                         0
     [exec]         Maximum Class Length                      1098
     [exec]       Average Method Length                          9
     [exec]         Minimum Method Length                        0
     [exec]         Maximum Method Length                      562
     [exec]     Functions                                      476 (1.33%)
     [exec]       Average Function Length                       12
     [exec]     Not in classes or functions                   6850 (19.16%)
     [exec] 
     [exec] Cyclomatic Complexity
     [exec]   Average Complexity per LLOC                     0.37
     [exec]   Average Complexity per Class                   32.75
     [exec]     Minimum Class Complexity                      1.00
     [exec]     Maximum Class Complexity                    575.00
     [exec]   Average Complexity per Method                   4.89
     [exec]     Minimum Method Complexity                     1.00
     [exec]     Maximum Method Complexity                   562.00
     [exec] 
     [exec] Dependencies
     [exec]   Global Accesses                                 7333
     [exec]     Global Constants                                82 (1.12%)
     [exec]     Global Variables                              4702 (64.12%)
     [exec]     Super-Global Variables                        2549 (34.76%)
     [exec]   Attribute Accesses                              4661
     [exec]     Non-Static                                    4532 (97.23%)
     [exec]     Static                                         129 (2.77%)
     [exec]   Method Calls                                   12390
     [exec]     Non-Static                                    7113 (57.41%)
     [exec]     Static                                        5277 (42.59%)
     [exec] 
     [exec] Structure
     [exec]   Namespaces                                        44
     [exec]   Interfaces                                         4
     [exec]   Traits                                             0
     [exec]   Classes                                          359
     [exec]     Abstract Classes                                41 (11.42%)
     [exec]     Concrete Classes                               318 (88.58%)
     [exec]   Methods                                         3004
     [exec]     Scope
     [exec]       Non-Static Methods                          1825 (60.75%)
     [exec]       Static Methods                              1179 (39.25%)
     [exec]     Visibility
     [exec]       Public Methods                              2517 (83.79%)
     [exec]       Non-Public Methods                           487 (16.21%)
     [exec]   Functions                                         37
     [exec]     Named Functions                                  6 (16.22%)
     [exec]     Anonymous Functions                             31 (83.78%)
     [exec]   Constants                                        134
     [exec]     Global Constants                                46 (34.33%)
     [exec]     Class Constants                                 88 (65.67%)

jshint:
    [apply] Result: 1

jshint-checkstyle:
    [apply] Result: 1

lint:
    [apply] No syntax errors detected in <https://ci.phpmyadmin.net/job/phpMyAdmin/ws/db_multi_table_query.php>
    [apply] No syntax errors detected in <https://ci.phpmyadmin.net/job/phpMyAdmin/ws/db_qbe.php>
    [apply] No syntax errors detected in <https://ci.phpmyadmin.net/job/phpMyAdmin/ws/db_search.php>
    [apply] No syntax errors detected in <https://ci.phpmyadmin.net/job/phpMyAdmin/ws/libraries/classes/Advisor.php>
    [apply] No syntax errors detected in <https://ci.phpmyadmin.net/job/phpMyAdmin/ws/libraries/classes/Database/DatabaseList.php>
    [apply] No syntax errors detected in <https://ci.phpmyadmin.net/job/phpMyAdmin/ws/libraries/classes/Database/MultiTableQuery.php>
    [apply] No syntax errors detected in <https://ci.phpmyadmin.net/job/phpMyAdmin/ws/libraries/classes/Database/Qbe.php>
    [apply] No syntax errors detected in <https://ci.phpmyadmin.net/job/phpMyAdmin/ws/libraries/classes/Database/Search.php>
    [apply] No syntax errors detected in <https://ci.phpmyadmin.net/job/phpMyAdmin/ws/libraries/classes/Server/Status/Advisor.php>
    [apply] No syntax errors detected in <https://ci.phpmyadmin.net/job/phpMyAdmin/ws/libraries/common.inc.php>
    [apply] No syntax errors detected in <https://ci.phpmyadmin.net/job/phpMyAdmin/ws/test/classes/AdvisorTest.php>
    [apply] No syntax errors detected in <https://ci.phpmyadmin.net/job/phpMyAdmin/ws/test/classes/Database/QbeTest.php>
    [apply] No syntax errors detected in <https://ci.phpmyadmin.net/job/phpMyAdmin/ws/test/classes/Database/SearchTest.php>

BUILD SUCCESSFUL
Total time: 20 minutes 48 seconds
[CHECKSTYLE] Collecting checkstyle analysis files...
[CHECKSTYLE] Searching for all files in <https://ci.phpmyadmin.net/job/phpMyAdmin/ws/> that match the pattern build/logs/checkstyle.xml
[CHECKSTYLE] Parsing 1 file in <https://ci.phpmyadmin.net/job/phpMyAdmin/ws/>
[CHECKSTYLE] Successfully parsed file <https://ci.phpmyadmin.net/job/phpMyAdmin/ws/build/logs/checkstyle.xml> with 424 unique warnings and 0 duplicates.
[CHECKSTYLE] Computing warning deltas based on reference build #2241
[JSLINT] Collecting JSLint analysis files...
[JSLINT] Searching for all files in <https://ci.phpmyadmin.net/job/phpMyAdmin/ws/> that match the pattern build/logs/jshint-checkstyle.xml
[JSLINT] Parsing 1 file in <https://ci.phpmyadmin.net/job/phpMyAdmin/ws/>
[JSLINT] Parsing of file <https://ci.phpmyadmin.net/job/phpMyAdmin/ws/build/logs/jshint-checkstyle.xml> failed due to an exception:

org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Content is not allowed in prolog.
	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1239)
	at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:643)
	at org.apache.commons.digester.Digester.parse(Digester.java:1940)
	at hudson.plugins.jslint.parser.CheckStyleParser.parse(CheckStyleParser.java:67)
	at hudson.plugins.analysis.core.AbstractAnnotationParser.parse(AbstractAnnotationParser.java:54)
	at hudson.plugins.analysis.core.FilesParser.parseFile(FilesParser.java:323)
	at hudson.plugins.analysis.core.FilesParser.parseFiles(FilesParser.java:281)
	at hudson.plugins.analysis.core.FilesParser.parserCollectionOfFiles(FilesParser.java:232)
	at hudson.plugins.analysis.core.FilesParser.invoke(FilesParser.java:203)
	at hudson.plugins.analysis.core.FilesParser.invoke(FilesParser.java:31)
	at hudson.FilePath.act(FilePath.java:998)
	at hudson.FilePath.act(FilePath.java:976)
	at hudson.plugins.jslint.CheckStylePublisher.perform(CheckStylePublisher.java:145)
	at hudson.plugins.analysis.core.HealthAwarePublisher.perform(HealthAwarePublisher.java:157)
	at hudson.plugins.analysis.core.HealthAwarePublisher.perform(HealthAwarePublisher.java:69)
	at hudson.plugins.analysis.core.HealthAwareRecorder.perform(HealthAwareRecorder.java:298)
	at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:81)
	at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
	at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:736)
	at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:682)
	at hudson.model.Build$BuildExecution.post2(Build.java:186)
	at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:627)
	at hudson.model.Run.execute(Run.java:1764)
	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
	at hudson.model.ResourceController.execute(ResourceController.java:97)
	at hudson.model.Executor.run(Executor.java:419)

[JSLINT] Computing warning deltas based on reference build #2241
[PMD] Collecting PMD analysis files...
[PMD] Searching for all files in <https://ci.phpmyadmin.net/job/phpMyAdmin/ws/> that match the pattern build/logs/pmd.xml
[PMD] Parsing 1 file in <https://ci.phpmyadmin.net/job/phpMyAdmin/ws/>
[PMD] Successfully parsed file <https://ci.phpmyadmin.net/job/phpMyAdmin/ws/build/logs/pmd.xml> with 2017 unique warnings and 0 duplicates.
[PMD] Computing warning deltas based on reference build #2241
[DRY] Collecting duplicate code analysis files...
[DRY] Searching for all files in <https://ci.phpmyadmin.net/job/phpMyAdmin/ws/> that match the pattern build/logs/pmd-cpd.xml
[DRY] Parsing 1 file in <https://ci.phpmyadmin.net/job/phpMyAdmin/ws/>
[DRY] Successfully parsed file <https://ci.phpmyadmin.net/job/phpMyAdmin/ws/build/logs/pmd-cpd.xml> with 12 unique warnings and 0 duplicates.
[DRY] Computing warning deltas based on reference build #2241
[TASKS] Scanning folder '<https://ci.phpmyadmin.net/job/phpMyAdmin/ws/'> for files matching the pattern '**/*.php' - excludes: build/**,vendor/**,tmp/**
[TASKS] Found 753 files to scan for tasks
[TASKS] Found 143 open tasks.
[TASKS] Computing warning deltas based on reference build #2241
[ANALYSIS-COLLECTOR] Computing warning deltas based on reference build #2241
Recording plot data
Publishing Clover coverage report...
Clover xml file does not exist in: <https://ci.phpmyadmin.net/job/phpMyAdmin/ws/> called: build/logs/clover.xml and will not be copied to: /var/lib/jenkins/jobs/phpMyAdmin/builds/2243/cloverphp/clover.xml
Could not find 'build/coverage/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/phpMyAdmin/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 SUCCESS
[xUnit] [INFO] - Stopping recording.
[JDepend] JDepend plugin is ready
[JDepend] Found 3430 classes in 264 packages
ERROR: Step ‘Report Violations’ aborted due to exception: 
org.xmlpull.v1.XmlPullParserException: only whitespace content allowed before start tag and not \u1b (position: START_DOCUMENT seen \u1b... @1:1) 
	at org.xmlpull.mxp1.MXParser.parseProlog(MXParser.java:1519)
	at org.xmlpull.mxp1.MXParser.nextImpl(MXParser.java:1395)
	at org.xmlpull.mxp1.MXParser.next(MXParser.java:1093)
	at hudson.plugins.violations.parse.AbstractParser.expectNextTag(AbstractParser.java:262)
	at hudson.plugins.violations.types.jslint.JsLintParser.execute(JsLintParser.java:25)
	at hudson.plugins.violations.parse.AbstractTypeParser.parse(AbstractTypeParser.java:57)
Caused: hudson.util.IOException2: Cannot parse build/logs/jshint-jslint.xml
	at hudson.plugins.violations.parse.AbstractTypeParser.parse(AbstractTypeParser.java:62)
	at hudson.plugins.violations.ViolationsCollector.doType(ViolationsCollector.java:187)
	at hudson.plugins.violations.ViolationsCollector.invoke(ViolationsCollector.java:114)
	at hudson.plugins.violations.ViolationsCollector.invoke(ViolationsCollector.java:25)
	at hudson.FilePath.act(FilePath.java:998)
	at hudson.FilePath.act(FilePath.java:976)
	at hudson.plugins.violations.ViolationsPublisher.perform(ViolationsPublisher.java:74)
	at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:45)
	at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:736)
	at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:682)
	at hudson.model.Build$BuildExecution.post2(Build.java:186)
	at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:627)
	at hudson.model.Run.execute(Run.java:1764)
	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
	at hudson.model.ResourceController.execute(ResourceController.java:97)
	at hudson.model.Executor.run(Executor.java:419)



More information about the Developers mailing list