You are viewing a plain text version of this content. The canonical link for it is here.
Posted to infrastructure-issues@apache.org by "Olivier Lamy (*$^¨%`£ JIRA)" <ji...@apache.org> on 2012/12/28 01:10:14 UTC

[jira] [Issue Comment Deleted] (INFRA-4347) Add Thrift to sonar

     [ https://issues.apache.org/jira/browse/INFRA-4347?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

    Comment: was deleted

(was: yup it works.
sonar-runner installed.
now :
Runner configuration file: /x1/jenkins/sonar-runner/conf/sonar-runner.properties
Project configuration file: /x1/jenkins/jenkins-master/jenkins-home/jobs/thrift/workspace/sonar-project.properties
Runner version: 2.0
Java version: 1.7.0_03, vendor: Oracle Corporation
OS name: "Linux", version: "2.6.32-33-server", arch: "amd64"
Default locale: "en_US", source code encoding: "UTF-8"
Server: https://analysis.apache.org
Work directory: /x1/jenkins/jenkins-master/jenkins-home/jobs/thrift/workspace/.sonar
Total time: 2.078s
Final Memory: 3M/60M
Exception in thread "main" java.lang.IllegalStateException: Fail to request server version
	at org.sonar.runner.Bootstrapper.getServerVersion(Bootstrapper.java:73)
	at org.sonar.runner.Runner.checkSonarVersion(Runner.java:220)
	at org.sonar.runner.Runner.execute(Runner.java:150)
	at org.sonar.runner.Main.execute(Main.java:84)
	at org.sonar.runner.Main.main(Main.java:56)
Caused by: java.io.IOException: Server returned HTTP response code: 503 for URL: https://analysis.apache.org/api/server/version
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1612)
	at java.net.URLConnection.getContent(URLConnection.java:748)
	at sun.net.www.protocol.https.HttpsURLConnectionImpl.getContent(HttpsURLConnectionImpl.java:434)
	at org.sonar.runner.Bootstrapper.remoteContent(Bootstrapper.java:125)
	at org.sonar.runner.Bootstrapper.getServerVersion(Bootstrapper.java:71)
	... 4 more
Build step 'Execute shell' marked build as failure
Skipping sonar analysis due to bad build status FAILURE
Finished: FAILURE)
    
> 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