www-infrastructure-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Olivier Lamy (*$^¨%`£) (JIRA) <j...@apache.org>
Subject [jira] [Commented] (INFRA-4347) Add Thrift to sonar
Date Sat, 29 Dec 2012 21:56:12 GMT

    [ https://issues.apache.org/jira/browse/INFRA-4347?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13541004#comment-13541004
] 

Olivier Lamy (*$^¨%`£) commented on INFRA-4347:
-----------------------------------------------

a bit better but still an issue:

21:41:33.645 INFO  jectFileSystemLogger -   /x1/jenkins/jenkins-master/jenkins-home/jobs/thrift/workspace/lib/java/src
21:41:33.648 INFO  jectFileSystemLogger - Test directories:
21:41:33.648 INFO  jectFileSystemLogger -   /x1/jenkins/jenkins-master/jenkins-home/jobs/thrift/workspace/lib/java/test
21:41:33.648 INFO  .b.p.SensorsExecutor - Initializer ProjectFileSystemLogger done: 44 ms
21:41:34.146 INFO  p.PhasesTimeProfiler - Sensor JavaSourceImporter...
21:41:39.328 INFO  p.PhasesTimeProfiler - Sensor JavaSourceImporter done: 5182 ms
21:41:39.328 INFO  p.PhasesTimeProfiler - Sensor JavaSquidSensor...
21:41:39.532 INFO    o.s.java.JavaSquid - Java AST scan...
21:41:46.379 INFO    o.s.java.JavaSquid - Java AST scan done: 6847 ms
21:41:47.345 INFO  p.PhasesTimeProfiler - Sensor JavaSquidSensor done: 8017 ms
21:41:47.353 INFO  p.PhasesTimeProfiler - Sensor FindbugsSensor...
21:41:47.354 INFO        org.sonar.INFO - Execute Findbugs 2.0.1...
21:42:00.268 INFO  p.f.FindbugsExecutor - Found findbugs plugin: /tmp/sonar-batch47524201497531419672406750496644586/plugins/fbcontrib/META-INF/lib/fbcontrib-4.6.1.jar
Total time: 1:12.636s
Final Memory: 12M/61M
Exception in thread "main" org.sonar.runner.RunnerException: org.sonar.api.utils.SonarException:
Can not execute Findbugs
	at org.sonar.runner.Runner.delegateExecution(Runner.java:288)
	at org.sonar.runner.Runner.execute(Runner.java:151)
	at org.sonar.runner.Main.execute(Main.java:84)
	at org.sonar.runner.Main.main(Main.java:56)
Caused by: org.sonar.api.utils.SonarException: Can not execute Findbugs
	at org.sonar.plugins.findbugs.FindbugsExecutor.execute(FindbugsExecutor.java:134)
	at org.sonar.plugins.findbugs.FindbugsSensor.analyse(FindbugsSensor.java:62)
	at org.sonar.batch.phases.SensorsExecutor.execute(SensorsExecutor.java:64)
	at org.sonar.batch.phases.Phases.execute(Phases.java:91)
	at org.sonar.batch.bootstrap.ProjectModule.doStart(ProjectModule.java:129)
	at org.sonar.batch.bootstrap.Module.start(Module.java:68)
	at org.sonar.batch.bootstrap.BatchModule.analyze(BatchModule.java:147)
	at org.sonar.batch.bootstrap.BatchModule.analyze(BatchModule.java:141)
	at org.sonar.batch.bootstrap.BatchModule.doStart(BatchModule.java:136)
	at org.sonar.batch.bootstrap.Module.start(Module.java:68)
	at org.sonar.batch.bootstrap.BootstrapModule.doStart(BootstrapModule.java:83)
	at org.sonar.batch.bootstrap.Module.start(Module.java:68)
	at org.sonar.batch.Batch.execute(Batch.java:106)
	at org.sonar.runner.internal.batch.Launcher.executeBatch(Launcher.java:69)
	at org.sonar.runner.internal.batch.Launcher.execute(Launcher.java:61)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:601)
	at org.sonar.runner.Runner.delegateExecution(Runner.java:285)
	... 3 more
Caused by: org.sonar.api.utils.SonarException: Findbugs needs sources to be compiled. Please
build project before executing sonar and check the location of compiled classes.
	at org.sonar.plugins.findbugs.FindbugsConfiguration.getFindbugsProject(FindbugsConfiguration.java:72)
	at org.sonar.plugins.findbugs.FindbugsExecutor.execute(FindbugsExecutor.java:93)
	... 22 more
Build step 'Execute shell' marked build as failure
Finished: FAILURE

@ [~roger.meier] any ideas ?
                
> Add Thrift to sonar
> -------------------
>
>                 Key: INFRA-4347
>                 URL: https://issues.apache.org/jira/browse/INFRA-4347
>             Project: Infrastructure
>          Issue Type: Task
>      Security Level: public(Regular issues) 
>          Components: Analysis
>            Reporter: Roger Meier
>
> I would like to add Apache Thrift to the sonar instance at analysis.apache.org
> * svnurl : http://svn.apache.org/repos/asf/thrift/trunk/
> * pom path : will be built after building thrift (e.g. lib/java/build/libthrift-0.9.0-snapshot.pom)
> * maven version : 
> * jdk version : 
> * maven profiles to use : (leave blank if none, if profiles to activate please use comma
: foo,bar )
> * maven build properties : (leave blank if none, if some to activate please format :
-Dmyprop=foo -Dbar=beer ) 
> one important thing is that we build a c++ based compiler first, which generates Java
source.
> the build procedure is as follows:
> sh bootstrap.sh
> sh configure --without-csharp --without-cpp --without-erlang --without-python --without-perl
--without-php --without-php_extension --without-ruby --without-haskell
> make

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message