[phpMyAdmin Developers] Build failed in Jenkins: phpMyAdmin-continuous #13390

Jenkins Daemon jenkins at phpmyadmin.net
Wed Aug 23 13:08:56 CEST 2017


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

Changes:

[devenbansod.bits] Refactor methods in selenium tests

[devenbansod.bits] Replace usleep with sleep calls

[devenbansod.bits] Add navigateDatabase method to prevent navigation errors

------------------------------------------
[...truncated 27.36 KB...]
     [exec] <https://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/test/selenium/TestBase.php>:169
     [exec] <https://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/test/selenium/PmaSeleniumTableOperationsTest.php>:28
     [exec] 
     [exec] 61) PMA_SeleniumTableOperationsTest::testDropTable
     [exec] Selenium testing not configured.
     [exec] 
     [exec] <https://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/test/selenium/TestBase.php>:169
     [exec] <https://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/test/selenium/PmaSeleniumTableOperationsTest.php>:28
     [exec] 
     [exec] 62) PMA_SeleniumTableStructureTest::testAddColumn
     [exec] Selenium testing not configured.
     [exec] 
     [exec] <https://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/test/selenium/TestBase.php>:169
     [exec] <https://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/test/selenium/PmaSeleniumTableStructureTest.php>:28
     [exec] 
     [exec] 63) PMA_SeleniumTableStructureTest::testChangeColumn
     [exec] Selenium testing not configured.
     [exec] 
     [exec] <https://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/test/selenium/TestBase.php>:169
     [exec] <https://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/test/selenium/PmaSeleniumTableStructureTest.php>:28
     [exec] 
     [exec] 64) PMA_SeleniumTableStructureTest::testDropColumns
     [exec] Selenium testing not configured.
     [exec] 
     [exec] <https://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/test/selenium/TestBase.php>:169
     [exec] <https://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/test/selenium/PmaSeleniumTableStructureTest.php>:28
     [exec] 
     [exec] 65) PMA_SeleniumTrackingTest::testTrackingData
     [exec] Selenium testing not configured.
     [exec] 
     [exec] <https://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/test/selenium/TestBase.php>:169
     [exec] <https://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/test/selenium/PmaSeleniumTrackingTest.php>:28
     [exec] 
     [exec] 66) PMA_SeleniumTrackingTest::testDeactivateTracking
     [exec] Selenium testing not configured.
     [exec] 
     [exec] <https://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/test/selenium/TestBase.php>:169
     [exec] <https://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/test/selenium/PmaSeleniumTrackingTest.php>:28
     [exec] 
     [exec] 67) PMA_SeleniumTrackingTest::testDropTracking
     [exec] Selenium testing not configured.
     [exec] 
     [exec] <https://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/test/selenium/TestBase.php>:169
     [exec] <https://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/test/selenium/PmaSeleniumTrackingTest.php>:28
     [exec] 
     [exec] 68) PMA_SeleniumTrackingTest::testStructureSnapshot
     [exec] Selenium testing not configured.
     [exec] 
     [exec] <https://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/test/selenium/TestBase.php>:169
     [exec] <https://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/test/selenium/PmaSeleniumTrackingTest.php>:28
     [exec] 
     [exec] 69) PMA_SeleniumXSSTest::testQueryTabWithNullValue
     [exec] Selenium testing not configured.
     [exec] 
     [exec] <https://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/test/selenium/TestBase.php>:169
     [exec] 
     [exec] OK, but incomplete, skipped, or risky tests!
     [exec] Tests: 2363, Assertions: 6396, Skipped: 69, Incomplete: 5, Risky: 1.

phpcpd:
     [exec] phpcpd 2.0.2 by Sebastian Bergmann.
     [exec] 
     [exec] Found 6 exact clones with 400 duplicated lines in 8 files:
     [exec] 
     [exec]   -	<https://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/dbi/dbi_dummy.inc.php>:295-403
     [exec]  	<https://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/dbi/dbi_dummy.inc.php>:401-509
     [exec]  
     [exec]   -	<https://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/classes/Plugins/Schema/Svg/SvgRelationSchema.php>:104-154
     [exec]  	<https://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/classes/Plugins/Schema/Eps/EpsRelationSchema.php>:92-142
     [exec]  
     [exec]   -	<https://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/classes/Plugins/Export/Helpers/Pdf.php>:234-275
     [exec]  	<https://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/classes/Plugins/Export/Helpers/Pdf.php>:391-432
     [exec]  
     [exec]   -	<https://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/classes/Plugins/Export/Helpers/Pdf.php>:356-422
     [exec]  	<https://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/classes/Plugins/Export/Helpers/Pdf.php>:596-662
     [exec]  
     [exec]   -	<https://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/classes/Plugins/Export/ExportYaml.php>:105-172
     [exec]  	<https://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/classes/Plugins/Export/ExportPhparray.php>:129-196
     [exec]  
     [exec]   -	<https://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/classes/Plugins/Export/ExportOds.php>:173-241
     [exec]  	<https://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/classes/Plugins/Export/ExportOdt.php>:200-268
     [exec]  
     [exec] 0.25% duplicated lines out of 162429 total lines of code.
     [exec] 
     [exec] Time: 2.24 seconds, Memory: 105.00Mb
     [exec] Result: 1

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

phpcs:
     [exec] Time: 17.98 secs; Memory: 52Mb
     [exec] 
     [exec] Result: 1

phploc:
     [exec] phploc 3.0.0 by Sebastian Bergmann.
     [exec] 
     [exec] PHP Notice:  Undefined index: ccn in /var/lib/jenkins/.composer/vendor/phploc/phploc/src/Analyser.php on line 507
     [exec] Directories                                         49
     [exec] Files                                              478
     [exec] 
     [exec] Size
     [exec]   Lines of Code (LOC)                           162429
     [exec]   Comment Lines of Code (CLOC)                   42315 (26.05%)
     [exec]   Non-Comment Lines of Code (NCLOC)             120114 (73.95%)
     [exec]   Logical Lines of Code (LLOC)                   35548 (21.89%)
     [exec]     Classes                                      21152 (59.50%)
     [exec]       Average Class Length                          75
     [exec]         Minimum Class Length                         0
     [exec]         Maximum Class Length                      1096
     [exec]       Average Method Length                          8
     [exec]         Minimum Method Length                        0
     [exec]         Maximum Method Length                      537
     [exec]     Functions                                     7104 (19.98%)
     [exec]       Average Function Length                       15
     [exec]     Not in classes or functions                   7292 (20.51%)
     [exec] 
     [exec] Cyclomatic Complexity
     [exec]   Average Complexity per LLOC                     0.36
     [exec]   Average Complexity per Class                   31.32
     [exec]     Minimum Class Complexity                      1.00
     [exec]     Maximum Class Complexity                    575.00
     [exec]   Average Complexity per Method                   4.41
     [exec]     Minimum Method Complexity                     1.00
     [exec]     Maximum Method Complexity                   130.00
     [exec] 
     [exec] Dependencies
     [exec]   Global Accesses                                 7348
     [exec]     Global Constants                                84 (1.14%)
     [exec]     Global Variables                              4718 (64.21%)
     [exec]     Super-Global Variables                        2546 (34.65%)
     [exec]   Attribute Accesses                              4647
     [exec]     Non-Static                                    4524 (97.35%)
     [exec]     Static                                         123 (2.65%)
     [exec]   Method Calls                                   11157
     [exec]     Non-Static                                    7097 (63.61%)
     [exec]     Static                                        4060 (36.39%)
     [exec] 
     [exec] Structure
     [exec]   Namespaces                                        36
     [exec]   Interfaces                                         4
     [exec]   Traits                                             0
     [exec]   Classes                                          278
     [exec]     Abstract Classes                                40 (14.39%)
     [exec]     Concrete Classes                               238 (85.61%)
     [exec]   Methods                                         2538
     [exec]     Scope
     [exec]       Non-Static Methods                          1814 (71.47%)
     [exec]       Static Methods                               724 (28.53%)
     [exec]     Visibility
     [exec]       Public Methods                              2055 (80.97%)
     [exec]       Non-Public Methods                           483 (19.03%)
     [exec]   Functions                                        465
     [exec]     Named Functions                                434 (93.33%)
     [exec]     Anonymous Functions                             31 (6.67%)
     [exec]   Constants                                        135
     [exec]     Global Constants                                64 (47.41%)
     [exec]     Class Constants                                 71 (52.59%)

jshint:
    [apply] Result: 2

jshint-checkstyle:
    [apply] Result: 2

BUILD SUCCESSFUL
Total time: 1 minute 56 seconds
[CHECKSTYLE] Collecting checkstyle analysis files...
[CHECKSTYLE] Searching for all files in <https://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/> that match the pattern build/logs/checkstyle.xml
[CHECKSTYLE] Parsing 1 file in <https://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/>
[CHECKSTYLE] Successfully parsed file <https://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/build/logs/checkstyle.xml> with 783 unique warnings and 0 duplicates.
[CHECKSTYLE] Computing warning deltas based on reference build #13379
[JSLINT] Collecting JSLint analysis files...
[JSLINT] Searching for all files in <https://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/> that match the pattern build/logs/jshint-checkstyle.xml
[JSLINT] Parsing 1 file in <https://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/>
[JSLINT] Successfully parsed file <https://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/build/logs/jshint-checkstyle.xml> with 189 unique warnings and 0 duplicates.
[JSLINT] Computing warning deltas based on reference build #13379
[DRY] Collecting duplicate code analysis files...
[DRY] Searching for all files in <https://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/> that match the pattern build/logs/pmd-cpd.xml
[DRY] Parsing 1 file in <https://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/>
[DRY] Successfully parsed file <https://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/build/logs/pmd-cpd.xml> with 12 unique warnings and 0 duplicates.
<Git Blamer> Using GitBlamer to create author and commit information for all warnings.
<Git Blamer> GIT_COMMIT=8256945ec2f79155f8dae765118efe1201d1436c, workspace=<https://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/>
 > git rev-parse 8256945ec2f79155f8dae765118efe1201d1436c^{commit} # timeout=10
[DRY] Computing warning deltas based on reference build #13379
[TASKS] Scanning folder '<https://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/'> for files matching the pattern '**/*.php' - excludes: build/**,vendor/**
[TASKS] Found 1003 files to scan for tasks
[TASKS] Found 143 open tasks.
<Git Blamer> Using GitBlamer to create author and commit information for all warnings.
<Git Blamer> GIT_COMMIT=8256945ec2f79155f8dae765118efe1201d1436c, workspace=<https://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/>
 > git rev-parse 8256945ec2f79155f8dae765118efe1201d1436c^{commit} # timeout=10
ERROR: Build step failed with exception
java.lang.OutOfMemoryError: Java heap space
Caused: org.eclipse.jgit.errors.LargeObjectException$OutOfMemory: Out of memory loading unknown object
	at org.eclipse.jgit.internal.storage.file.PackFile.load(PackFile.java:881)
	at org.eclipse.jgit.internal.storage.file.PackFile.get(PackFile.java:273)
	at org.eclipse.jgit.internal.storage.file.ObjectDirectory.openPackedObject(ObjectDirectory.java:421)
	at org.eclipse.jgit.internal.storage.file.ObjectDirectory.openPackedFromSelfOrAlternate(ObjectDirectory.java:390)
	at org.eclipse.jgit.internal.storage.file.ObjectDirectory.openObject(ObjectDirectory.java:382)
	at org.eclipse.jgit.internal.storage.file.WindowCursor.open(WindowCursor.java:154)
	at org.eclipse.jgit.treewalk.CanonicalTreeParser.reset(CanonicalTreeParser.java:214)
	at org.eclipse.jgit.treewalk.CanonicalTreeParser.createSubtreeIterator0(CanonicalTreeParser.java:248)
	at org.eclipse.jgit.treewalk.CanonicalTreeParser.createSubtreeIterator(CanonicalTreeParser.java:226)
	at org.eclipse.jgit.treewalk.CanonicalTreeParser.createSubtreeIterator(CanonicalTreeParser.java:70)
	at org.eclipse.jgit.treewalk.TreeWalk.enterSubtree(TreeWalk.java:1210)
	at org.eclipse.jgit.treewalk.TreeWalk.next(TreeWalk.java:828)
	at org.eclipse.jgit.blame.BlameGenerator.find(BlameGenerator.java:955)
	at org.eclipse.jgit.blame.BlameGenerator.processMerge(BlameGenerator.java:680)
	at org.eclipse.jgit.blame.BlameGenerator.next(BlameGenerator.java:500)
	at org.eclipse.jgit.blame.BlameResult.computeAll(BlameResult.java:239)
	at org.eclipse.jgit.blame.BlameGenerator.computeBlameResult(BlameGenerator.java:450)
	at org.eclipse.jgit.api.BlameCommand.call(BlameCommand.java:230)
	at hudson.plugins.analysis.util.GitBlamer$BlameCallback.invoke(GitBlamer.java:130)
	at hudson.plugins.analysis.util.GitBlamer$BlameCallback.invoke(GitBlamer.java:104)
	at org.jenkinsci.plugins.gitclient.AbstractGitAPIImpl.withRepository(AbstractGitAPIImpl.java:29)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.withRepository(CliGitAPIImpl.java:71)
	at hudson.plugins.analysis.util.GitBlamer.loadBlameResultsForFiles(GitBlamer.java:61)
	at hudson.plugins.analysis.util.GitBlamer.blame(GitBlamer.java:54)
	at hudson.plugins.analysis.util.AbstractBlamer$1.invoke(AbstractBlamer.java:62)
	at hudson.plugins.analysis.util.AbstractBlamer$1.invoke(AbstractBlamer.java:59)
	at hudson.FilePath.act(FilePath.java:998)
	at hudson.FilePath.act(FilePath.java:976)
	at hudson.plugins.analysis.util.AbstractBlamer.invokeBlamer(AbstractBlamer.java:59)
	at hudson.plugins.analysis.util.AbstractBlamer.blame(AbstractBlamer.java:45)
	at hudson.plugins.analysis.core.HealthAwarePublisher.blame(HealthAwarePublisher.java:109)
	at hudson.plugins.tasks.TasksPublisher.perform(TasksPublisher.java:187)
	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)
Build step 'Scan workspace for open tasks' marked build as failure
[ANALYSIS-COLLECTOR] Computing warning deltas based on reference build #13379
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] [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