See https://ci.phpmyadmin.net/job/phpMyAdmin-error-reporting-server/139/
------------------------------------------ Started by user Michal Čihař [EnvInject] - Loading node environment variables. Building in workspace https://ci.phpmyadmin.net/job/phpMyAdmin-error-reporting-server/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/error-reporting-server.git # timeout=10
Fetching upstream changes from git://github.com/phpmyadmin/error-reporting-server.git
git --version # timeout=10 git -c core.askpass=true fetch --tags --progress git://github.com/phpmyadmin/error-reporting-server.git +refs/heads/*:refs/remotes/origin/* git rev-parse origin/master^{commit} # timeout=10
Checking out Revision 08427569b0ede36f543241a5fe2de55b96fff6bb (origin/master)
git config core.sparsecheckout # timeout=10 git checkout -f 08427569b0ede36f543241a5fe2de55b96fff6bb git rev-list 08427569b0ede36f543241a5fe2de55b96fff6bb # timeout=10
[workspace] $ /bin/sh -xe /tmp/hudson7046042913685713316.sh + mysql -utravis -e DROP DATABASE IF EXISTS pmaerr + mysql -utravis -e CREATE DATABASE pmaerr [workspace] $ ant build Unable to locate tools.jar. Expected to find it in /usr/lib/jvm/java-7-openjdk-amd64/lib/tools.jar Buildfile: https://ci.phpmyadmin.net/job/phpMyAdmin-error-reporting-server/ws/build.xml
clean: [delete] Deleting directory https://ci.phpmyadmin.net/job/phpMyAdmin-error-reporting-server/ws/build/api [delete] Deleting directory https://ci.phpmyadmin.net/job/phpMyAdmin-error-reporting-server/ws/build/code-browser [delete] Deleting directory https://ci.phpmyadmin.net/job/phpMyAdmin-error-reporting-server/ws/build/coverage [delete] Deleting directory https://ci.phpmyadmin.net/job/phpMyAdmin-error-reporting-server/ws/build/logs [delete] Deleting directory https://ci.phpmyadmin.net/job/phpMyAdmin-error-reporting-server/ws/build/pdepend [mkdir] Created dir: https://ci.phpmyadmin.net/job/phpMyAdmin-error-reporting-server/ws/build/api [mkdir] Created dir: https://ci.phpmyadmin.net/job/phpMyAdmin-error-reporting-server/ws/build/code-browser [mkdir] Created dir: https://ci.phpmyadmin.net/job/phpMyAdmin-error-reporting-server/ws/build/coverage [mkdir] Created dir: https://ci.phpmyadmin.net/job/phpMyAdmin-error-reporting-server/ws/build/logs [mkdir] Created dir: https://ci.phpmyadmin.net/job/phpMyAdmin-error-reporting-server/ws/build/pdepend
migrate: [exec] [exec] Welcome to CakePHP v3.1.8 Console [exec] --------------------------------------------------------------- [exec] App : src [exec] Path: https://ci.phpmyadmin.net/job/phpMyAdmin-error-reporting-server/ws/src/ [exec] PHP : 5.6.17-0+deb8u1 [exec] --------------------------------------------------------------- [exec] using migration path https://ci.phpmyadmin.net/job/phpMyAdmin-error-reporting-server/ws/config/Migrations [exec] using environment default [exec] using adapter mysql [exec] using database pmaerr [exec] [exec] == 20150607191654 Initial: migrating [exec] == 20150607191654 Initial: migrated 0.4272s [exec] [exec] == 20150607192040 AddReportIdIndexToIncidents: migrating [exec] == 20150607192040 AddReportIdIndexToIncidents: migrated 0.1486s [exec] [exec] == 20150607192459 AddDevReportIndexToNotifications: migrating [exec] == 20150607192459 AddDevReportIndexToNotifications: migrated 0.1690s [exec] [exec] == 20160111023543 AddLocaleToIncidents: migrating [exec] == 20160111023543 AddLocaleToIncidents: migrated 0.2173s [exec] [exec] All Done. Took 0.9875s
phpunit: [exec] PHPUnit 5.1.4 by Sebastian Bergmann and contributors. [exec] [exec] Runtime: PHP 5.6.17-0+deb8u1 [exec] Configuration: https://ci.phpmyadmin.net/job/phpMyAdmin-error-reporting-server/ws/phpunit.xml.dist [exec] [exec] ..................... 21 / 21 (100%) [exec] [exec] Time: 8.92 seconds, Memory: 16.50Mb [exec] [exec] OK (21 tests, 87 assertions)
phpmd: [exec] Result: 2
phpcpd: [exec] phpcpd 2.0.2 by Sebastian Bergmann. [exec] [exec] Found 4 exact clones with 487 duplicated lines in 5 files: [exec] [exec] - https://ci.phpmyadmin.net/job/phpMyAdmin-error-reporting-server/ws/config/app_travis.php:76-223 [exec] https://ci.phpmyadmin.net/job/phpMyAdmin-error-reporting-server/ws/config/app.default.php:76-223 [exec] [exec] - https://ci.phpmyadmin.net/job/phpMyAdmin-error-reporting-server/ws/config/app_travis.php:2-87 [exec] https://ci.phpmyadmin.net/job/phpMyAdmin-error-reporting-server/ws/config/app_example.php:2-87 [exec] [exec] - https://ci.phpmyadmin.net/job/phpMyAdmin-error-reporting-server/ws/config/app_travis.php:94-325 [exec] https://ci.phpmyadmin.net/job/phpMyAdmin-error-reporting-server/ws/config/app_example.php:95-326 [exec] [exec] - https://ci.phpmyadmin.net/job/phpMyAdmin-error-reporting-server/ws/src/Controller/DevelopersController.php:97-121 [exec] https://ci.phpmyadmin.net/job/phpMyAdmin-error-reporting-server/ws/src/Controller/GithubController.php:54-78 [exec] [exec] 7.45% duplicated lines out of 6537 total lines of code. [exec] [exec] Time: 143 ms, Memory: 8.00Mb [exec] Result: 1
phpcs: [exec] ERROR: the "CakePHP" coding standard is not installed. The installed coding standards are PSR1, PHPCS, Squiz, PSR2, Zend, PEAR and MySource [exec] Result: 2
phploc: [exec] phploc 3.0.0 by Sebastian Bergmann. [exec] [exec] Directories 18 [exec] Files 52 [exec] [exec] Size [exec] Lines of Code (LOC) 6537 [exec] Comment Lines of Code (CLOC) 2295 (35.11%) [exec] Non-Comment Lines of Code (NCLOC) 4242 (64.89%) [exec] Logical Lines of Code (LLOC) 1226 (18.75%) [exec] Classes 966 (78.79%) [exec] Average Class Length 25 [exec] Minimum Class Length 0 [exec] Maximum Class Length 118 [exec] Average Method Length 7 [exec] Minimum Method Length 0 [exec] Maximum Method Length 28 [exec] Functions 31 (2.53%) [exec] Average Function Length 4 [exec] Not in classes or functions 229 (18.68%) [exec] [exec] Cyclomatic Complexity [exec] Average Complexity per LLOC 0.16 [exec] Average Complexity per Class 5.55 [exec] Minimum Class Complexity 1.00 [exec] Maximum Class Complexity 31.00 [exec] Average Complexity per Method 2.32 [exec] Minimum Method Complexity 1.00 [exec] Maximum Method Complexity 11.00 [exec] [exec] Dependencies [exec] Global Accesses 105 [exec] Global Constants 103 (98.10%) [exec] Global Variables 0 (0.00%) [exec] Super-Global Variables 2 (1.90%) [exec] Attribute Accesses 335 [exec] Non-Static 335 (100.00%) [exec] Static 0 (0.00%) [exec] Method Calls 763 [exec] Non-Static 622 (81.52%) [exec] Static 141 (18.48%) [exec] [exec] Structure [exec] Namespaces 14 [exec] Interfaces 0 [exec] Traits 0 [exec] Classes 38 [exec] Abstract Classes 0 (0.00%) [exec] Concrete Classes 38 (100.00%) [exec] Methods 131 [exec] Scope [exec] Non-Static Methods 125 (95.42%) [exec] Static Methods 6 (4.58%) [exec] Visibility [exec] Public Methods 110 (83.97%) [exec] Non-Public Methods 21 (16.03%) [exec] PHP Notice: Undefined index: ccn in /var/lib/jenkins/.composer/vendor/phploc/phploc/src/Analyser.php on line 507 [exec] Functions 7 [exec] Named Functions 1 (14.29%) [exec] Anonymous Functions 6 (85.71%) [exec] Constants 14 [exec] Global Constants 14 (100.00%) [exec] Class Constants 0 (0.00%)
lint:
jshint:
build:
BUILD SUCCESSFUL Total time: 23 seconds [CHECKSTYLE] Collecting checkstyle analysis files... [CHECKSTYLE] Finding all files that match the pattern build/logs/checkstyle.xml [CHECKSTYLE] Computing warning deltas based on reference build #130 [JSLINT] Collecting JSLint analysis files... [JSLINT] Finding all files that match the pattern build/logs/jslint.xml [JSLINT] Computing warning deltas based on reference build #130 [PMD] Collecting PMD analysis files... [PMD] Finding all files that match the pattern build/logs/pmd.xml [PMD] Parsing 1 file in https://ci.phpmyadmin.net/job/phpMyAdmin-error-reporting-server/ws/ [PMD] Successfully parsed file https://ci.phpmyadmin.net/job/phpMyAdmin-error-reporting-server/ws/build/logs/pmd.xml with 24 unique warnings and 0 duplicates. [PMD] Computing warning deltas based on reference build #130 [DRY] Collecting duplicate code analysis files... [DRY] Finding all files that match the pattern build/logs/pmd-cpd.xml [DRY] Parsing 1 file in https://ci.phpmyadmin.net/job/phpMyAdmin-error-reporting-server/ws/ [DRY] Successfully parsed file https://ci.phpmyadmin.net/job/phpMyAdmin-error-reporting-server/ws/build/logs/pmd-cpd.xml with 8 unique warnings and 0 duplicates. [DRY] Computing warning deltas based on reference build #130 [TASKS] Scanning folder 'https://ci.phpmyadmin.net/job/phpMyAdmin-error-reporting-server/ws/' for files matching the pattern '**/*.py' - excludes: [TASKS] Found 4 files to scan for tasks [TASKS] Found 0 open tasks. [TASKS] Computing warning deltas based on reference build #130 [ANALYSIS-COLLECTOR] Computing warning deltas based on reference build #130 [xUnit] [INFO] - Starting to record. [xUnit] [INFO] - Processing PHPUnit-3.x (default) [xUnit] [INFO] - [PHPUnit-3.x (default)] - No test report file(s) were found with the pattern 'build/logs/junit.xml' relative to 'https://ci.phpmyadmin.net/job/phpMyAdmin-error-reporting-server/ws/' for the testing framework 'PHPUnit-3.x (default)'. Did you enter a pattern relative to the correct directory? Did you generate the result report(s) for 'PHPUnit-3.x (default)'? [xUnit] [ERROR] - No test reports found for the metric 'PHPUnit' with the resolved pattern 'build/logs/junit.xml'. Configuration error?. [xUnit] [INFO] - Failing BUILD. [xUnit] [INFO] - There are errors when processing test results. [xUnit] [INFO] - Skipping tests recording. [xUnit] [INFO] - Stop build. Build step 'Publish xUnit test result report' changed build result to FAILURE