ctip-yeah's People
ctip-yeah's Issues
[BUILD_ERR]
Build 'ctip-yeah' is failing!
Last 50 lines of build output:
[...truncated 5.21 KB...]
INFO: User cache: /var/lib/jenkins/.sonar/cache
INFO: SonarQube server 7.0.0
INFO: Default locale: "en_US", source code encoding: "UTF-8" (analysis is platform dependent)
INFO: Publish mode
INFO: Load global settings
INFO: Load global settings (done) | time=66ms
INFO: Server id: AWKokl9sVm0WCP9O-R9Z
INFO: User cache: /var/lib/jenkins/.sonar/cache
INFO: Load plugins index
INFO: Load plugins index (done) | time=112ms
INFO: Load/download plugins
INFO: Load/download plugins (done) | time=26ms
INFO: Process project properties
INFO: Load project repositories
INFO: Load project repositories (done) | time=62ms
INFO: Load quality profiles
INFO: Load quality profiles (done) | time=30ms
INFO: Load active rules
INFO: Load active rules (done) | time=1381ms
INFO: Load metrics repository
INFO: Load metrics repository (done) | time=70ms
INFO: Project key: ctip-yeah
INFO: ------------- Scan ctip-yeah
INFO: Base dir: /var/lib/jenkins/workspace/ctip-yeah
INFO: Working dir: /var/lib/jenkins/workspace/ctip-yeah/.scannerwork
INFO: Source paths: unit_test/src
INFO: Source encoding: UTF-8, default locale: en_US
INFO: Load server rules
INFO: Load server rules (done) | time=316ms
INFO: Language is forced to java
INFO: Index files
INFO: 2 files indexed
INFO: Quality profile for java: Sonar way
INFO: Sensor JavaSquidSensor [java]
INFO: Configured Java source version (sonar.java.source): none
INFO: JavaClasspath initialization
ERROR: Invalid value for sonar.java.binaries
INFO: ------------------------------------------------------------------------
INFO: EXECUTION FAILURE
INFO: ------------------------------------------------------------------------
INFO: Total time: 6.262s
INFO: Final Memory: 14M/223M
INFO: ------------------------------------------------------------------------
ERROR: Error during SonarQube Scanner execution
ERROR: No files nor directories matching 'target/classes'
ERROR:
ERROR: Re-run SonarQube Scanner using the -X switch to enable full debug logging.
WARN: Unable to locate 'report-task.txt' in the workspace. Did the SonarScanner succedeed?
ERROR: SonarQube scanner exited with non-zero code: 1
Changes since last successful build:
- [cryptography] 2f6b451 - test
[BUILD_ERR]
Build 'ctip-yeah' is failing!
Last 50 lines of build output:
[...truncated 3.33 KB...]
[ant:checkstyle] [WARN] /var/lib/jenkins/workspace/ctip-yeah/unit_test/src/CalculatorTest.java:5: 'method def modifier' has incorrect indentation level 4, expected level should be 2. [Indentation]
[ant:checkstyle] [WARN] /var/lib/jenkins/workspace/ctip-yeah/unit_test/src/CalculatorTest.java:7: 'method def' child has incorrect indentation level 8, expected level should be 4. [Indentation]
[ant:checkstyle] [WARN] /var/lib/jenkins/workspace/ctip-yeah/unit_test/src/CalculatorTest.java:8: 'method def' child has incorrect indentation level 8, expected level should be 4. [Indentation]
[ant:checkstyle] [WARN] /var/lib/jenkins/workspace/ctip-yeah/unit_test/src/CalculatorTest.java:9: 'method def' child has incorrect indentation level 8, expected level should be 4. [Indentation]
[ant:checkstyle] [WARN] /var/lib/jenkins/workspace/ctip-yeah/unit_test/src/CalculatorTest.java:10: 'method def rcurly' has incorrect indentation level 4, expected level should be 2. [Indentation]
[ant:checkstyle] [WARN] /var/lib/jenkins/workspace/ctip-yeah/unit_test/src/ShortSet.java:2: Wrong lexicographical order for 'java.util.HashSet' import. Should be before 'java.util.Set'. [CustomImportOrder]
[ant:checkstyle] [WARN] /var/lib/jenkins/workspace/ctip-yeah/unit_test/src/ShortSet.java:5: 'method def modifier' has incorrect indentation level 4, expected level should be 2. [Indentation]
[ant:checkstyle] [WARN] /var/lib/jenkins/workspace/ctip-yeah/unit_test/src/ShortSet.java:5:5: Missing a Javadoc comment. [JavadocMethod]
[ant:checkstyle] [WARN] /var/lib/jenkins/workspace/ctip-yeah/unit_test/src/ShortSet.java:5:29: '(' is preceded with whitespace. [MethodParamPad]
[ant:checkstyle] [WARN] /var/lib/jenkins/workspace/ctip-yeah/unit_test/src/ShortSet.java:6: 'method def' child has incorrect indentation level 8, expected level should be 4. [Indentation]
[ant:checkstyle] [WARN] /var/lib/jenkins/workspace/ctip-yeah/unit_test/src/ShortSet.java:7: 'for' has incorrect indentation level 8, expected level should be 4. [Indentation]
[ant:checkstyle] [WARN] /var/lib/jenkins/workspace/ctip-yeah/unit_test/src/ShortSet.java:8: 'for' child has incorrect indentation level 12, expected level should be 6. [Indentation]
[ant:checkstyle] [WARN] /var/lib/jenkins/workspace/ctip-yeah/unit_test/src/ShortSet.java:9: 'for' child has incorrect indentation level 12, expected level should be 6. [Indentation]
[ant:checkstyle] [WARN] /var/lib/jenkins/workspace/ctip-yeah/unit_test/src/ShortSet.java:10: 'for rcurly' has incorrect indentation level 8, expected level should be 4. [Indentation]
[ant:checkstyle] [WARN] /var/lib/jenkins/workspace/ctip-yeah/unit_test/src/ShortSet.java:11: 'method def' child has incorrect indentation level 8, expected level should be 4. [Indentation]
[ant:checkstyle] [WARN] /var/lib/jenkins/workspace/ctip-yeah/unit_test/src/ShortSet.java:12: 'method def rcurly' has incorrect indentation level 4, expected level should be 2. [Indentation]
:compileTestJava NO-SOURCE
:processTestResources NO-SOURCE
:testClasses UP-TO-DATE
:checkstyleTest NO-SOURCE
:findbugsMain
FindBugs rule violations were found. See the report at: file:///var/lib/jenkins/workspace/ctip-yeah/build/reports/findbugs/main.xml
:findbugsTest NO-SOURCE
:pmdMain
Removed misconfigured rule: LoosePackageCoupling cause: No packages or classes specified
Removed misconfigured rule: LoosePackageCoupling cause: No packages or classes specified
16 PMD rule violations were found. See the report at: file:///var/lib/jenkins/workspace/ctip-yeah/build/reports/pmd/main.xml
:pmdTest NO-SOURCE
:spotbugsMain FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':spotbugsMain'.
> SpotBugs rule violations were found. See the report at: file:///var/lib/jenkins/workspace/ctip-yeah/build/reports/spotbugs/main.xml
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 17s
7 actionable tasks: 7 executed
Build step 'Invoke Gradle script' changed build result to FAILURE
Build step 'Invoke Gradle script' marked build as failure
[CHECKSTYLE] Skipping publisher since build result is FAILURE
[FINDBUGS] Skipping publisher since build result is FAILURE
[PMD] Skipping publisher since build result is FAILURE
Changes since last successful build:
- [cryptography] 8757b7f - added a ignoreFailure option
[BUILD_ERR]
Build 'ctip-yeah' is failing!
Last 50 lines of build output:
[...truncated 2.67 KB...]
INFO: Java 1.8.0_161 Oracle Corporation (64-bit)
INFO: Linux 4.13.0-1011-azure amd64
INFO: User cache: /var/lib/jenkins/.sonar/cache
INFO: SonarQube server 7.0.0
INFO: Default locale: "en_US", source code encoding: "UTF-8" (analysis is platform dependent)
INFO: Publish mode
INFO: Load global settings
INFO: Load global settings (done) | time=86ms
INFO: Server id: AWKokl9sVm0WCP9O-R9Z
INFO: User cache: /var/lib/jenkins/.sonar/cache
INFO: Load plugins index
INFO: Load plugins index (done) | time=57ms
INFO: Load/download plugins
INFO: Load/download plugins (done) | time=7218ms
INFO: Process project properties
INFO: Load project repositories
INFO: Load project repositories (done) | time=133ms
INFO: Load quality profiles
INFO: Load quality profiles (done) | time=29ms
INFO: Load active rules
INFO: Load active rules (done) | time=1664ms
INFO: Load metrics repository
INFO: Load metrics repository (done) | time=74ms
INFO: Project key: ctip-yeah
INFO: ------------- Scan ctip-yeah
INFO: Base dir: /var/lib/jenkins/workspace/ctip-yeah
INFO: Working dir: /var/lib/jenkins/workspace/ctip-yeah/.scannerwork
INFO: Source paths: unit_test/src
INFO: Source encoding: UTF-8, default locale: en_US
INFO: Load server rules
INFO: Load server rules (done) | time=454ms
INFO: Index files
INFO: 2 files indexed
INFO: Quality profile for java: Sonar way
INFO: Sensor JavaSquidSensor [java]
INFO: Configured Java source version (sonar.java.source): none
INFO: JavaClasspath initialization
INFO: ------------------------------------------------------------------------
INFO: EXECUTION FAILURE
INFO: ------------------------------------------------------------------------
INFO: Total time: 28.891s
INFO: Final Memory: 17M/225M
INFO: ------------------------------------------------------------------------
ERROR: Error during SonarQube Scanner execution
ERROR: Please provide compiled classes of your project with sonar.java.binaries property
ERROR:
ERROR: Re-run SonarQube Scanner using the -X switch to enable full debug logging.
WARN: Unable to locate 'report-task.txt' in the workspace. Did the SonarScanner succedeed?
ERROR: SonarQube scanner exited with non-zero code: 1
Changes since last successful build:
No changes
[NOTE]gradle script example - spotbug
사용 예제
spotbugs/spotbugs-gradle-plugin#4
spotbugs {
effort = "max"
reportLevel = "low"
includeFilter = file("findbugs-exclude.xml")
}
tasks.withType(com.github.spotbugs.SpotBugsTask) {
reports {
xml.enabled false
}
}
[BUILD_ERR]
Build 'ctip-yeah' is failing!
Last 50 lines of build output:
[...truncated 1.58 KB...]
:classes
:jar
:assemble
:checkstyleMain[ant:checkstyle] [WARN] /var/lib/jenkins/workspace/ctip-yeah/unit_test/src/Calculator.java:2: 'method def modifier' has incorrect indentation level 4, expected level should be 2. [Indentation]
[ant:checkstyle] [WARN] /var/lib/jenkins/workspace/ctip-yeah/unit_test/src/Calculator.java:3: 'method def' child has incorrect indentation level 8, expected level should be 4. [Indentation]
[ant:checkstyle] [WARN] /var/lib/jenkins/workspace/ctip-yeah/unit_test/src/Calculator.java:4: 'method def rcurly' has incorrect indentation level 4, expected level should be 2. [Indentation]
[ant:checkstyle] [WARN] /var/lib/jenkins/workspace/ctip-yeah/unit_test/src/CalculatorTest.java:2: 'import' should be separated from previous statement. [EmptyLineSeparator]
[ant:checkstyle] [WARN] /var/lib/jenkins/workspace/ctip-yeah/unit_test/src/CalculatorTest.java:2: Import statement for 'org.junit.Assert.assertEquals' is in the wrong order. Should be in the 'STATIC' group, expecting not assigned imports on this line. [CustomImportOrder]
[ant:checkstyle] [WARN] /var/lib/jenkins/workspace/ctip-yeah/unit_test/src/CalculatorTest.java:5: 'method def modifier' has incorrect indentation level 4, expected level should be 2. [Indentation]
[ant:checkstyle] [WARN] /var/lib/jenkins/workspace/ctip-yeah/unit_test/src/CalculatorTest.java:7: 'method def' child has incorrect indentation level 8, expected level should be 4. [Indentation]
[ant:checkstyle] [WARN] /var/lib/jenkins/workspace/ctip-yeah/unit_test/src/CalculatorTest.java:8: 'method def' child has incorrect indentation level 8, expected level should be 4. [Indentation]
[ant:checkstyle] [WARN] /var/lib/jenkins/workspace/ctip-yeah/unit_test/src/CalculatorTest.java:9: 'method def' child has incorrect indentation level 8, expected level should be 4. [Indentation]
[ant:checkstyle] [WARN] /var/lib/jenkins/workspace/ctip-yeah/unit_test/src/CalculatorTest.java:10: 'method def rcurly' has incorrect indentation level 4, expected level should be 2. [Indentation]
[ant:checkstyle] [WARN] /var/lib/jenkins/workspace/ctip-yeah/unit_test/src/ShortSet.java:2: Wrong lexicographical order for 'java.util.HashSet' import. Should be before 'java.util.Set'. [CustomImportOrder]
[ant:checkstyle] [WARN] /var/lib/jenkins/workspace/ctip-yeah/unit_test/src/ShortSet.java:5: 'method def modifier' has incorrect indentation level 4, expected level should be 2. [Indentation]
[ant:checkstyle] [WARN] /var/lib/jenkins/workspace/ctip-yeah/unit_test/src/ShortSet.java:5:5: Missing a Javadoc comment. [JavadocMethod]
[ant:checkstyle] [WARN] /var/lib/jenkins/workspace/ctip-yeah/unit_test/src/ShortSet.java:5:29: '(' is preceded with whitespace. [MethodParamPad]
[ant:checkstyle] [WARN] /var/lib/jenkins/workspace/ctip-yeah/unit_test/src/ShortSet.java:6: 'method def' child has incorrect indentation level 8, expected level should be 4. [Indentation]
[ant:checkstyle] [WARN] /var/lib/jenkins/workspace/ctip-yeah/unit_test/src/ShortSet.java:7: 'for' has incorrect indentation level 8, expected level should be 4. [Indentation]
[ant:checkstyle] [WARN] /var/lib/jenkins/workspace/ctip-yeah/unit_test/src/ShortSet.java:8: 'for' child has incorrect indentation level 12, expected level should be 6. [Indentation]
[ant:checkstyle] [WARN] /var/lib/jenkins/workspace/ctip-yeah/unit_test/src/ShortSet.java:9: 'for' child has incorrect indentation level 12, expected level should be 6. [Indentation]
[ant:checkstyle] [WARN] /var/lib/jenkins/workspace/ctip-yeah/unit_test/src/ShortSet.java:10: 'for rcurly' has incorrect indentation level 8, expected level should be 4. [Indentation]
[ant:checkstyle] [WARN] /var/lib/jenkins/workspace/ctip-yeah/unit_test/src/ShortSet.java:11: 'method def' child has incorrect indentation level 8, expected level should be 4. [Indentation]
[ant:checkstyle] [WARN] /var/lib/jenkins/workspace/ctip-yeah/unit_test/src/ShortSet.java:12: 'method def rcurly' has incorrect indentation level 4, expected level should be 2. [Indentation]
:compileTestJava NO-SOURCE
:processTestResources NO-SOURCE
:testClasses UP-TO-DATE
:checkstyleTest NO-SOURCE
:findbugsMain FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':findbugsMain'.
> FindBugs rule violations were found. See the report at: file:///var/lib/jenkins/workspace/ctip-yeah/build/reports/findbugs/main.xml
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 10s
5 actionable tasks: 5 executed
Build step 'Invoke Gradle script' changed build result to FAILURE
Build step 'Invoke Gradle script' marked build as failure
[CHECKSTYLE] Skipping publisher since build result is FAILURE
[FINDBUGS] Skipping publisher since build result is FAILURE
[PMD] Skipping publisher since build result is FAILURE
Changes since last successful build:
- [cryptography] cdda4b6 - added a shortset example
[BUILD_ERR]
Build 'ctip-yeah' is failing!
Last 50 lines of build output:
[...truncated 7.45 KB...]
at hudson.tasks.junit.SuiteResult.parse(SuiteResult.java:178)
at hudson.tasks.junit.TestResult.parse(TestResult.java:348)
at hudson.tasks.junit.TestResult.parsePossiblyEmpty(TestResult.java:281)
at hudson.tasks.junit.TestResult.parse(TestResult.java:206)
at hudson.tasks.junit.TestResult.parse(TestResult.java:178)
at hudson.tasks.junit.TestResult.<init>(TestResult.java:143)
at hudson.tasks.junit.JUnitParser$ParseResultCallable.invoke(JUnitParser.java:146)
at hudson.tasks.junit.JUnitParser$ParseResultCallable.invoke(JUnitParser.java:118)
at hudson.FilePath.act(FilePath.java:1009)
at hudson.FilePath.act(FilePath.java:987)
at hudson.tasks.junit.JUnitParser.parseResult(JUnitParser.java:114)
at hudson.tasks.junit.JUnitResultArchiver.parse(JUnitResultArchiver.java:136)
at hudson.tasks.junit.JUnitResultArchiver.parseAndAttach(JUnitResultArchiver.java:166)
at hudson.tasks.junit.JUnitResultArchiver.perform(JUnitResultArchiver.java:153)
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:744)
at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:690)
at hudson.model.Build$BuildExecution.post2(Build.java:186)
at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:635)
at hudson.model.Run.execute(Run.java:1752)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:97)
at hudson.model.Executor.run(Executor.java:429)
Caused: java.io.IOException: Failed to read /var/lib/jenkins/workspace/ctip-yeah/.gradle/4.6/fileChanges/last-build.bin
Is this really a JUnit report file? Your configuration must be matching too many files
at hudson.tasks.junit.TestResult.parse(TestResult.java:356)
at hudson.tasks.junit.TestResult.parsePossiblyEmpty(TestResult.java:281)
at hudson.tasks.junit.TestResult.parse(TestResult.java:206)
at hudson.tasks.junit.TestResult.parse(TestResult.java:178)
at hudson.tasks.junit.TestResult.<init>(TestResult.java:143)
at hudson.tasks.junit.JUnitParser$ParseResultCallable.invoke(JUnitParser.java:146)
at hudson.tasks.junit.JUnitParser$ParseResultCallable.invoke(JUnitParser.java:118)
at hudson.FilePath.act(FilePath.java:1009)
at hudson.FilePath.act(FilePath.java:987)
at hudson.tasks.junit.JUnitParser.parseResult(JUnitParser.java:114)
at hudson.tasks.junit.JUnitResultArchiver.parse(JUnitResultArchiver.java:136)
at hudson.tasks.junit.JUnitResultArchiver.parseAndAttach(JUnitResultArchiver.java:166)
at hudson.tasks.junit.JUnitResultArchiver.perform(JUnitResultArchiver.java:153)
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:744)
at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:690)
at hudson.model.Build$BuildExecution.post2(Build.java:186)
at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:635)
at hudson.model.Run.execute(Run.java:1752)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:97)
at hudson.model.Executor.run(Executor.java:429)
Changes since last successful build:
No changes
No changes
No changes
No changes
No changes
No changes
No changes
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.