jmeter-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Jenkins Server <jenk...@builds.apache.org>
Subject Build failed in Jenkins: JMeter-trunk #5615
Date Wed, 21 Dec 2016 19:59:31 GMT
See <https://builds.apache.org/job/JMeter-trunk/5615/changes>

Changes:

[pmouawad] sonar : Fix false positive

[pmouawad] Sonar : Fix errors

[pmouawad] sonar : Fix false positive

[pmouawad] Sonar : Fix errors

[pmouawad] sonar : close target which can be a FileOutputStream

[pmouawad] sonar : Fix false positive

[pmouawad] Sonar : Fix errors and code smells

[pmouawad] Sonar : Fix errors and code smells
Clarify code by renaming vars

[pmouawad] Sonar : Fix errors and code smells

------------------------------------------
[...truncated 2606 lines...]
    [junit] Running org.apache.jmeter.report.core.SampleMetadataTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.37 sec
    [junit] Running org.apache.jmeter.report.core.TestCsvSampleWriter
    [junit] Tests run: 5, Failures: 0, Errors: 5, Skipped: 0, Time elapsed: 0.714 sec
    [junit] Test org.apache.jmeter.report.core.TestCsvSampleWriter FAILED
    [junit] Running org.apache.jmeter.report.processor.ErrorsSummaryConsumerTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.406 sec
    [junit] Running org.apache.jmeter.report.processor.FieldSampleComparatorTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.397 sec
    [junit] Running org.apache.jmeter.resources.PackageTest
    [junit] Tests run: 354, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.397 sec
    [junit] Running org.apache.jmeter.resources.TestPropertiesFiles
    [junit] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.322 sec
    [junit] Running org.apache.jmeter.samplers.TestSampleResult
    [junit] Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.338 sec
    [junit] Running org.apache.jmeter.samplers.TestSampleSaveConfiguration
    [junit] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.356 sec
    [junit] Running org.apache.jmeter.save.TestCSVSaveService
    [junit] Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.496 sec
    [junit] Running org.apache.jmeter.save.TestSaveService
    [junit] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.056 sec
    [junit] Running org.apache.jmeter.services.TestFileServer
    [junit] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.443 sec
    [junit] Running org.apache.jmeter.testbeans.gui.PackageTest
    [junit] Tests run: 372, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.884 sec
    [junit] Running org.apache.jmeter.testbeans.gui.TestBooleanPropertyEditor
    [junit] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.396 sec
    [junit] Running org.apache.jmeter.testbeans.gui.TestComboStringEditor
    [junit] Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.418 sec
    [junit] Test org.apache.jmeter.testbeans.gui.TestComboStringEditor FAILED
    [junit] Running org.apache.jmeter.testbeans.gui.TestFieldStringEditor
    [junit] Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.435 sec
    [junit] Test org.apache.jmeter.testbeans.gui.TestFieldStringEditor FAILED
    [junit] Running org.apache.jmeter.testelement.PackageTest
    [junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.403 sec
    [junit] Running org.apache.jmeter.testelement.TestElementTest
    [junit] Tests run: 132, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.577 sec
    [junit] Running org.apache.jmeter.testelement.TestNumberProperty
    [junit] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.412 sec
    [junit] Running org.apache.jmeter.testelement.property.PackageTest
    [junit] Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.464 sec
    [junit] Running org.apache.jmeter.threads.TestJMeterContextService
    [junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.363 sec
    [junit] Running org.apache.jmeter.threads.TestTestCompiler
    [junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.356 sec
    [junit] Running org.apache.jmeter.timers.ConstantThroughputTimerTest
    [junit] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.06 sec
    [junit] Running org.apache.jmeter.timers.PackageTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.52 sec
    [junit] Running org.apache.jmeter.util.JSR223TestElementTest
    [junit] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.11 sec
    [junit] Running org.apache.jmeter.util.PackageTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.407 sec
    [junit] Running org.apache.jmeter.util.StringUtilitiesTest
    [junit] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.436 sec
    [junit] Running org.apache.jmeter.util.TestJMeterUtils
    [junit] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.402 sec
    [junit] Running org.apache.jmeter.visualizers.TestRenderAsJson
    [junit] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.533 sec
    [junit] Running org.apache.jmeter.visualizers.TestSamplingStatCalculator
    [junit] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.522 sec
    [junit] Running org.apache.jorphan.TestFunctorUsers
    [junit] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.911 sec
    [junit] Running org.apache.jorphan.TestXMLBuffer
    [junit] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.316 sec
    [junit] Running org.apache.jorphan.collections.PackageTest
    [junit] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.501 sec
    [junit] Running org.apache.jorphan.exec.TestKeyToolUtils
    [junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.432 sec
    [junit] Running org.apache.jorphan.math.TestStatCalculator
    [junit] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.433 sec
    [junit] Running org.apache.jorphan.reflect.TestClassTools
    [junit] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.451 sec
    [junit] Running org.apache.jorphan.reflect.TestFunctor
    [junit] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.406 sec
    [junit] Running org.apache.jorphan.util.TestConverter
    [junit] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.488 sec
    [junit] Running org.apache.jorphan.util.TestJorphanUtils
    [junit] Tests run: 30, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.82 sec

sonar:
[sonar:sonar] Apache Ant(TM) version 1.9.7 compiled on April 9 2016
[sonar:sonar] SonarQube Ant Task version: 2.5
[sonar:sonar] Loaded from: <https://builds.apache.org/job/JMeter-trunk/ws/trunk/lib/opt/sonarqube-ant-task-2.5.jar>
[sonar:sonar] User cache: /home/jenkins/.sonar/cache
[sonar:sonar] Load global repositories
[sonar:sonar] Load global repositories (done) | time=499ms
[sonar:sonar] Server id: 17cad23492ff68b
[sonar:sonar] User cache: /home/jenkins/.sonar/cache
[sonar:sonar] Load plugins index
[sonar:sonar] Load plugins index (done) | time=173ms
[sonar:sonar] Default locale: "en_US", source code encoding: "ISO-8859-1" (analysis is platform
dependent)
[sonar:sonar] Process project properties
[sonar:sonar] Load project repositories
[sonar:sonar] Load project repositories (done) | time=464ms
[sonar:sonar] Load quality profiles
[sonar:sonar] Load quality profiles (done) | time=197ms
[sonar:sonar] Load active rules
[sonar:sonar] Load active rules (done) | time=982ms
[sonar:sonar] Publish mode
[sonar:sonar] -------------  Scan core
[sonar:sonar] Language is forced to java
[sonar:sonar] Load server rules
[sonar:sonar] Load server rules (done) | time=377ms

BUILD FAILED
<https://builds.apache.org/job/JMeter-trunk/ws/trunk/build.xml>:3449: java.lang.IllegalStateException:
Unable to load component class org.sonar.batch.sensor.DefaultSensorStorage
	at org.sonar.core.platform.ComponentContainer$ExtendedDefaultPicoContainer.getComponent(ComponentContainer.java:69)
	at org.picocontainer.DefaultPicoContainer.getComponent(DefaultPicoContainer.java:678)
	at org.sonar.core.platform.ComponentContainer.getComponentByType(ComponentContainer.java:272)
	at org.sonar.batch.scan.ModuleScanContainer.doAfterStart(ModuleScanContainer.java:190)
	at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:142)
	at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:127)
	at org.sonar.batch.scan.ProjectScanContainer.scan(ProjectScanContainer.java:241)
	at org.sonar.batch.scan.ProjectScanContainer.scanRecursively(ProjectScanContainer.java:236)
	at org.sonar.batch.scan.ProjectScanContainer.scanRecursively(ProjectScanContainer.java:234)
	at org.sonar.batch.scan.ProjectScanContainer.doAfterStart(ProjectScanContainer.java:226)
	at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:142)
	at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:127)
	at org.sonar.batch.task.ScanTask.execute(ScanTask.java:47)
	at org.sonar.batch.task.TaskContainer.doAfterStart(TaskContainer.java:86)
	at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:142)
	at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:127)
	at org.sonar.batch.bootstrap.GlobalContainer.executeTask(GlobalContainer.java:106)
	at org.sonar.batch.bootstrapper.Batch.executeTask(Batch.java:119)
	at org.sonarsource.scanner.api.internal.batch.BatchIsolatedLauncher.execute(BatchIsolatedLauncher.java:62)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.sonarsource.scanner.api.internal.IsolatedLauncherProxy.invoke(IsolatedLauncherProxy.java:60)
	at com.sun.proxy.$Proxy3.execute(Unknown Source)
	at org.sonarsource.scanner.api.EmbeddedScanner.doExecute(EmbeddedScanner.java:233)
	at org.sonarsource.scanner.api.EmbeddedScanner.runAnalysis(EmbeddedScanner.java:151)
	at org.sonarsource.scanner.ant.SonarQubeTask.launchAnalysis(SonarQubeTask.java:99)
	at org.sonarsource.scanner.ant.SonarQubeTask.execute(SonarQubeTask.java:81)
	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
	at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
	at org.apache.tools.ant.Task.perform(Task.java:348)
	at org.apache.tools.ant.Target.execute(Target.java:435)
	at org.apache.tools.ant.Target.performTasks(Target.java:456)
	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1405)
	at org.apache.tools.ant.Project.executeTarget(Project.java:1376)
	at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
	at org.apache.tools.ant.Project.executeTargets(Project.java:1260)
	at org.apache.tools.ant.Main.runBuild(Main.java:854)
	at org.apache.tools.ant.Main.startAnt(Main.java:236)
	at org.apache.tools.ant.launch.Launcher.run(Launcher.java:285)
	at org.apache.tools.ant.launch.Launcher.main(Launcher.java:112)
Caused by: java.lang.IllegalStateException: Unable to load component class org.sonar.batch.issue.ModuleIssues
	at org.sonar.core.platform.ComponentContainer$ExtendedDefaultPicoContainer.getComponent(ComponentContainer.java:69)
	at org.picocontainer.DefaultPicoContainer.getComponent(DefaultPicoContainer.java:632)
	at org.picocontainer.parameters.BasicComponentParameter$1.resolveInstance(BasicComponentParameter.java:118)
	at org.picocontainer.parameters.ComponentParameter$1.resolveInstance(ComponentParameter.java:136)
	at org.picocontainer.injectors.SingleMemberInjector.getParameter(SingleMemberInjector.java:78)
	at org.picocontainer.injectors.ConstructorInjector$CtorAndAdapters.getParameterArguments(ConstructorInjector.java:309)
	at org.picocontainer.injectors.ConstructorInjector$1.run(ConstructorInjector.java:335)
	at org.picocontainer.injectors.AbstractInjector$ThreadLocalCyclicDependencyGuard.observe(AbstractInjector.java:270)
	at org.picocontainer.injectors.ConstructorInjector.getComponentInstance(ConstructorInjector.java:364)
	at org.picocontainer.injectors.AbstractInjectionFactory$LifecycleAdapter.getComponentInstance(AbstractInjectionFactory.java:56)
	at org.picocontainer.behaviors.AbstractBehavior.getComponentInstance(AbstractBehavior.java:64)
	at org.picocontainer.behaviors.Stored.getComponentInstance(Stored.java:91)
	at org.picocontainer.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:699)
	at org.picocontainer.DefaultPicoContainer.getComponent(DefaultPicoContainer.java:647)
	at org.sonar.core.platform.ComponentContainer$ExtendedDefaultPicoContainer.getComponent(ComponentContainer.java:67)
	... 44 more
Caused by: java.lang.IllegalStateException: Unable to load component class org.sonar.batch.issue.IssueFilters
	at org.sonar.core.platform.ComponentContainer$ExtendedDefaultPicoContainer.getComponent(ComponentContainer.java:69)
	at org.picocontainer.DefaultPicoContainer.getComponent(DefaultPicoContainer.java:632)
	at org.picocontainer.parameters.BasicComponentParameter$1.resolveInstance(BasicComponentParameter.java:118)
	at org.picocontainer.parameters.ComponentParameter$1.resolveInstance(ComponentParameter.java:136)
	at org.picocontainer.injectors.SingleMemberInjector.getParameter(SingleMemberInjector.java:78)
	at org.picocontainer.injectors.ConstructorInjector$CtorAndAdapters.getParameterArguments(ConstructorInjector.java:309)
	at org.picocontainer.injectors.ConstructorInjector$1.run(ConstructorInjector.java:335)
	at org.picocontainer.injectors.AbstractInjector$ThreadLocalCyclicDependencyGuard.observe(AbstractInjector.java:270)
	at org.picocontainer.injectors.ConstructorInjector.getComponentInstance(ConstructorInjector.java:364)
	at org.picocontainer.injectors.AbstractInjectionFactory$LifecycleAdapter.getComponentInstance(AbstractInjectionFactory.java:56)
	at org.picocontainer.behaviors.AbstractBehavior.getComponentInstance(AbstractBehavior.java:64)
	at org.picocontainer.behaviors.Stored.getComponentInstance(Stored.java:91)
	at org.picocontainer.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:699)
	at org.picocontainer.DefaultPicoContainer.getComponent(DefaultPicoContainer.java:647)
	at org.sonar.core.platform.ComponentContainer$ExtendedDefaultPicoContainer.getComponent(ComponentContainer.java:67)
	... 58 more
Caused by: java.lang.IllegalStateException: Unable to load component class org.sonar.batch.issue.ignore.IgnoreIssuesFilter
	at org.sonar.core.platform.ComponentContainer$ExtendedDefaultPicoContainer.getComponent(ComponentContainer.java:69)
	at org.picocontainer.DefaultPicoContainer.getComponent(DefaultPicoContainer.java:621)
	at org.picocontainer.parameters.CollectionComponentParameter.getArrayInstance(CollectionComponentParameter.java:334)
	at org.picocontainer.parameters.CollectionComponentParameter.access$100(CollectionComponentParameter.java:49)
	at org.picocontainer.parameters.CollectionComponentParameter$1.resolveInstance(CollectionComponentParameter.java:139)
	at org.picocontainer.parameters.ComponentParameter$1.resolveInstance(ComponentParameter.java:141)
	at org.picocontainer.injectors.SingleMemberInjector.getParameter(SingleMemberInjector.java:78)
	at org.picocontainer.injectors.ConstructorInjector$CtorAndAdapters.getParameterArguments(ConstructorInjector.java:309)
	at org.picocontainer.injectors.ConstructorInjector$1.run(ConstructorInjector.java:335)
	at org.picocontainer.injectors.AbstractInjector$ThreadLocalCyclicDependencyGuard.observe(AbstractInjector.java:270)
	at org.picocontainer.injectors.ConstructorInjector.getComponentInstance(ConstructorInjector.java:364)
	at org.picocontainer.injectors.AbstractInjectionFactory$LifecycleAdapter.getComponentInstance(AbstractInjectionFactory.java:56)
	at org.picocontainer.behaviors.AbstractBehavior.getComponentInstance(AbstractBehavior.java:64)
	at org.picocontainer.behaviors.Stored.getComponentInstance(Stored.java:91)
	at org.picocontainer.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:699)
	at org.picocontainer.DefaultPicoContainer.getComponent(DefaultPicoContainer.java:647)
	at org.sonar.core.platform.ComponentContainer$ExtendedDefaultPicoContainer.getComponent(ComponentContainer.java:67)
	... 72 more
Caused by: java.lang.IllegalStateException: Unable to load component class org.sonar.batch.issue.ignore.pattern.IssueExclusionPatternInitializer
	at org.sonar.core.platform.ComponentContainer$ExtendedDefaultPicoContainer.getComponent(ComponentContainer.java:69)
	at org.picocontainer.DefaultPicoContainer.getComponent(DefaultPicoContainer.java:632)
	at org.picocontainer.parameters.BasicComponentParameter$1.resolveInstance(BasicComponentParameter.java:118)
	at org.picocontainer.parameters.ComponentParameter$1.resolveInstance(ComponentParameter.java:136)
	at org.picocontainer.injectors.SingleMemberInjector.getParameter(SingleMemberInjector.java:78)
	at org.picocontainer.injectors.ConstructorInjector$CtorAndAdapters.getParameterArguments(ConstructorInjector.java:309)
	at org.picocontainer.injectors.ConstructorInjector$1.run(ConstructorInjector.java:335)
	at org.picocontainer.injectors.AbstractInjector$ThreadLocalCyclicDependencyGuard.observe(AbstractInjector.java:270)
	at org.picocontainer.injectors.ConstructorInjector.getComponentInstance(ConstructorInjector.java:364)
	at org.picocontainer.injectors.AbstractInjectionFactory$LifecycleAdapter.getComponentInstance(AbstractInjectionFactory.java:56)
	at org.picocontainer.behaviors.AbstractBehavior.getComponentInstance(AbstractBehavior.java:64)
	at org.picocontainer.behaviors.Stored.getComponentInstance(Stored.java:91)
	at org.picocontainer.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:699)
	at org.picocontainer.DefaultPicoContainer.getComponent(DefaultPicoContainer.java:647)
	at org.sonar.core.platform.ComponentContainer$ExtendedDefaultPicoContainer.getComponent(ComponentContainer.java:67)
	... 88 more
Caused by: org.sonar.api.utils.SonarException: Exclusions > Issues : Invalid format. The
first field does not define a resource pattern: ,squid:S1948,*
	at org.sonar.batch.issue.ignore.pattern.PatternDecoder.checkRegularLineConstraints(PatternDecoder.java:78)
	at org.sonar.batch.issue.ignore.pattern.AbstractPatternInitializer.initPatterns(AbstractPatternInitializer.java:73)
	at org.sonar.batch.issue.ignore.pattern.AbstractPatternInitializer.<init>(AbstractPatternInitializer.java:41)
	at org.sonar.batch.issue.ignore.pattern.IssueExclusionPatternInitializer.<init>(IssueExclusionPatternInitializer.java:39)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
	at org.picocontainer.injectors.AbstractInjector.newInstance(AbstractInjector.java:145)
	at org.picocontainer.injectors.ConstructorInjector$1.run(ConstructorInjector.java:342)
	at org.picocontainer.injectors.AbstractInjector$ThreadLocalCyclicDependencyGuard.observe(AbstractInjector.java:270)
	at org.picocontainer.injectors.ConstructorInjector.getComponentInstance(ConstructorInjector.java:364)
	at org.picocontainer.injectors.AbstractInjectionFactory$LifecycleAdapter.getComponentInstance(AbstractInjectionFactory.java:56)
	at org.picocontainer.behaviors.AbstractBehavior.getComponentInstance(AbstractBehavior.java:64)
	at org.picocontainer.behaviors.Stored.getComponentInstance(Stored.java:91)
	at org.picocontainer.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:699)
	at org.picocontainer.DefaultPicoContainer.getComponent(DefaultPicoContainer.java:647)
	at org.sonar.core.platform.ComponentContainer$ExtendedDefaultPicoContainer.getComponent(ComponentContainer.java:67)
	... 102 more

Total time: 12 minutes 8 seconds
Build step 'Invoke Ant' marked build as failure
[locks-and-latches] Releasing all the locks
[locks-and-latches] All the locks released
Archiving artifacts
Compressed 125.45 MB of artifacts by 28.2% relative to #5614

Mime
View raw message