Skip to content

Instantly share code, notes, and snippets.

@mythril
Created May 15, 2013 21:33
Show Gist options
  • Save mythril/5587588 to your computer and use it in GitHub Desktop.
Save mythril/5587588 to your computer and use it in GitHub Desktop.
Build log
Started by user anonymous
Building in workspace /var/lib/jenkins/jobs/viper/workspace
Checkout:workspace / /var/lib/jenkins/jobs/viper/workspace - hudson.remoting.LocalChannel@4922c082
Using strategy: Default
Last Built Revision: Revision 1d0ee1d8ebf059b1e3a42ebeb49c7a7d135b7f0c (origin/master, origin/HEAD)
Fetching changes from 1 remote Git repository
Fetching upstream changes from origin
Seen branch in repository origin/HEAD
Seen branch in repository origin/master
Seen 2 remote branches
Commencing build of Revision 1d0ee1d8ebf059b1e3a42ebeb49c7a7d135b7f0c (origin/master, origin/HEAD)
Checking out Revision 1d0ee1d8ebf059b1e3a42ebeb49c7a7d135b7f0c (origin/master, origin/HEAD)
Warning : There are multiple branch changesets here
[workspace] $ ant
Buildfile: /var/lib/jenkins/jobs/viper/workspace/build.xml
clean:
[delete] Deleting directory /var/lib/jenkins/jobs/viper/workspace/build/api
[delete] Deleting directory /var/lib/jenkins/jobs/viper/workspace/build/code-browser
[delete] Deleting directory /var/lib/jenkins/jobs/viper/workspace/build/coverage
[delete] Deleting directory /var/lib/jenkins/jobs/viper/workspace/build/logs
[delete] Deleting directory /var/lib/jenkins/jobs/viper/workspace/build/pdepend
prepare:
[mkdir] Created dir: /var/lib/jenkins/jobs/viper/workspace/build/api
[mkdir] Created dir: /var/lib/jenkins/jobs/viper/workspace/build/code-browser
[mkdir] Created dir: /var/lib/jenkins/jobs/viper/workspace/build/coverage
[mkdir] Created dir: /var/lib/jenkins/jobs/viper/workspace/build/logs
[mkdir] Created dir: /var/lib/jenkins/jobs/viper/workspace/build/pdepend
lint:
phploc:
[exec] phploc 1.7.4 by Sebastian Bergmann.
[exec]
[exec] Directories: 5
[exec] Files: 13
[exec]
[exec] Lines of Code (LOC): 1333
[exec] Cyclomatic Complexity / Lines of Code: 0.09
[exec] Comment Lines of Code (CLOC): 613
[exec] Non-Comment Lines of Code (NCLOC): 720
[exec]
[exec] Namespaces: 0
[exec] Interfaces: 1
[exec] Traits: 0
[exec] Classes: 7
[exec] Abstract: 0 (0.00%)
[exec] Concrete: 7 (100.00%)
[exec] Average Class Length (NCLOC): 49
[exec] Methods: 56
[exec] Scope:
[exec] Non-Static: 46 (82.14%)
[exec] Static: 10 (17.86%)
[exec] Visibility:
[exec] Public: 53 (94.64%)
[exec] Non-Public: 3 (5.36%)
[exec] Average Method Length (NCLOC): 6
[exec] Cyclomatic Complexity / Number of Methods: 1.45
[exec]
[exec] Anonymous Functions: 0
[exec] Functions: 5
[exec]
[exec] Constants: 5
[exec] Global constants: 0
[exec] Class constants: 5
pdepend:
[exec] PHP_Depend 1.1.0 by Manuel Pichler
[exec]
[exec] Parsing source files:
[exec] ............. 13
[exec]
[exec] Executing Coupling-Analyzer:
[exec] .... 87
[exec]
[exec] Executing CyclomaticComplexity-Analyzer:
[exec] ... 72
[exec]
[exec] Executing Dependency-Analyzer:
[exec] ... 66
[exec]
[exec] Executing Inheritance-Analyzer:
[exec] .. 45
[exec]
[exec] Executing NodeCount-Analyzer:
[exec] ... 70
[exec]
[exec] Executing NodeLoc-Analyzer:
[exec] .... 81
[exec]
[exec] Generating pdepend log files, this may take a moment.
[exec]
[exec] Time: 00:00; Memory: 11.75Mb
phpmd-ci:
[exec] Cannot find specified rule-set "/var/lib/jenkins/jobs/viper/workspace/build/phpmd.xml".
[exec] Result: 1
phpcs-ci:
[exec] Result: 2
phpcpd:
[exec] phpcpd 1.4.1 by Sebastian Bergmann.
[exec]
[exec] Found 1 exact clones with 14 duplicated lines in 2 files:
[exec]
[exec] - /var/lib/jenkins/jobs/viper/workspace/src/includes/contact.exception.php:24-38
[exec] /var/lib/jenkins/jobs/viper/workspace/src/includes/client.exception.php:25-39
[exec]
[exec] 1.05% duplicated lines out of 1333 total lines of code.
[exec]
[exec] Time: 0 seconds, Memory: 2.75Mb
[exec] Result: 1
phpdox:
[exec] phpDox 0.5.0 - Copyright (C) 2010 - 2013 by Arne Blankerts
[exec]
[exec]
[exec] An error occured while trying to load the configuration file:
[exec] None of the candidate files found
[exec]
[exec] Using --skel might get you started.
[exec]
[exec] Result: 3
phpunit:
[exec] PHPUnit 3.7.20 by Sebastian Bergmann.
[exec]
[exec] Usage: phpunit [switches] UnitTest [UnitTest.php]
[exec] phpunit [switches] <directory>
[exec]
[exec] --log-junit <file> Log test execution in JUnit XML format to file.
[exec] --log-tap <file> Log test execution in TAP format to file.
[exec] --log-json <file> Log test execution in JSON format.
[exec]
[exec] --coverage-clover <file> Generate code coverage report in Clover XML format.
[exec] --coverage-html <dir> Generate code coverage report in HTML format.
[exec] --coverage-php <file> Serialize PHP_CodeCoverage object to file.
[exec] --coverage-text=<file> Generate code coverage report in text format.
[exec] Default to writing to the standard output.
[exec]
[exec] --testdox-html <file> Write agile documentation in HTML format to file.
[exec] --testdox-text <file> Write agile documentation in Text format to file.
[exec]
[exec] --filter <pattern> Filter which tests to run.
[exec] --testsuite <pattern> Filter which testsuite to run.
[exec] --group ... Only runs tests from the specified group(s).
[exec] --exclude-group ... Exclude tests from the specified group(s).
[exec] --list-groups
[exec] List available test groups.
[exec] --test-suffix ... Only search for test in files with specified
[exec] suffix(es). Default: Test.php,.phpt
[exec]
[exec] --loader <loader> TestSuiteLoader implementation to use.
[exec] --printer <printer> TestSuiteListener implementation to use.
[exec] --repeat <times> Runs the test(s) repeatedly.
[exec]
[exec] --tap Report test execution progress in TAP format.
[exec] --testdox Report test execution progress in TestDox format.
[exec]
[exec] --colors Use colors in output.
[exec] --stderr Write to STDERR instead of STDOUT.
[exec] --stop-on-error Stop execution upon first error.
[exec] --stop-on-failure Stop execution upon first error or failure.
[exec] --stop-on-skipped Stop execution upon first skipped test.
[exec] --stop-on-incomplete Stop execution upon first incomplete test.
[exec] --strict Run tests in strict mode.
[exec] -v|--verbose Output more verbose information.
[exec] --debug Display debugging information during test execution.
[exec]
[exec] --process-isolation Run each test in a separate PHP process.
[exec] --no-globals-backup Do not backup and restore $GLOBALS for each test.
[exec] --static-backup Backup and restore static attributes for each test.
[exec]
[exec] --bootstrap <file> A "bootstrap" PHP file that is run before the tests.
[exec] -c|--configuration <file> Read configuration from XML file.
[exec] --no-configuration Ignore default configuration file (phpunit.xml).
[exec] --include-path <path(s)> Prepend PHP's include_path with given path(s).
[exec] -d key[=value] Sets a php.ini value.
[exec]
[exec] -h|--help Prints this usage information.
[exec] --version Prints the version and exits.
BUILD FAILED
/var/lib/jenkins/jobs/viper/workspace/build.xml:122: exec returned: 2
Total time: 3 seconds
Build step 'Invoke Ant' marked build as failure
[CHECKSTYLE] Collecting checkstyle analysis files...
[CHECKSTYLE] Finding all files that match the pattern build/logs/checkstyle.xml
[PMD] Collecting PMD analysis files...
[PMD] Finding all files that match the pattern build/logs/pmd.xml
[PMD] Parsing 1 files in /var/lib/jenkins/jobs/viper/workspace
[PMD] Skipping file of module /var/lib/jenkins/jobs/viper/workspace/build/logs/pmd.xml because it's empty.
[DRY] Collecting duplicate code analysis files...
[DRY] Finding all files that match the pattern build/logs/pmd-cpd.xml
[DRY] Parsing 1 files in /var/lib/jenkins/jobs/viper/workspace
[DRY] Successfully parsed file /var/lib/jenkins/jobs/viper/workspace/build/logs/pmd-cpd.xml of module with 2 warnings.
Recording plot data
Publishing Clover coverage report...
No Clover report will be published due to a Build Failure
[htmlpublisher] Archiving HTML reports...
[htmlpublisher] Archiving at BUILD level /var/lib/jenkins/jobs/viper/workspace/build/api to /var/lib/jenkins/jobs/viper/builds/2013-05-15_17-28-39/htmlreports/API_Documentation
ERROR: Directory '/var/lib/jenkins/jobs/viper/workspace/build/api' exists but failed copying to '/var/lib/jenkins/jobs/viper/builds/2013-05-15_17-28-39/htmlreports/API_Documentation'.
[xUnit] [INFO] - Starting to record.
[xUnit] [INFO] - Processing PHPUnit-3.x (default)
[xUnit] [WARNING] - Can't create the path /var/lib/jenkins/jobs/viper/workspace/generatedJUnitFiles. Maybe the directory already exists.
[xUnit] [INFO] - [PHPUnit-3.x (default)] - No test report file(s) were found with the pattern 'build/logs/junit.xml' relative to '/var/lib/jenkins/jobs/viper/workspace' 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] - Fail BUILD because 'set build failed if errors' option is activated.
[xUnit] [INFO] - There are errors when processing test results.
[xUnit] [INFO] - Skipping tests recording.
[xUnit] [INFO] - Stop build.
[JDepend] JDepend plugin is ready
[JDepend] Found 9 classes in 1 packages
ERROR: Publisher hudson.plugins.violations.ViolationsPublisher aborted due to exception
java.io.EOFException: input contained no data
at org.xmlpull.mxp1.MXParser.fillBuf(MXParser.java:3003)
at org.xmlpull.mxp1.MXParser.more(MXParser.java:3046)
at org.xmlpull.mxp1.MXParser.parseProlog(MXParser.java:1410)
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.pmd.PMDParser.execute(PMDParser.java:39)
at hudson.plugins.violations.parse.AbstractTypeParser.parse(AbstractTypeParser.java:57)
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:904)
at hudson.FilePath.act(FilePath.java:877)
at hudson.plugins.violations.ViolationsPublisher.perform(ViolationsPublisher.java:74)
at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36)
at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:804)
at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:776)
at hudson.model.Build$BuildExecution.post2(Build.java:183)
at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:726)
at hudson.model.Run.execute(Run.java:1600)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:241)
Finished: FAILURE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment