You are viewing a plain text version of this content. The canonical link for it is here.
Posted to builds@apache.org by Imesh Gunaratne <im...@apache.org> on 2013/12/20 19:02:16 UTC

[Sonar] Is it possible to setup Sonar for Apache Stratos

Hi,

I would like to setup Sonar for Apache Stratos (incubating).
Could anyone please guide me on this?

Many Thanks
Imesh

Re: [Sonar] Is it possible to setup Sonar for Apache Stratos

Posted by Imesh Gunaratne <im...@gmail.com>.
No problem Jacques! :-)

Cheers
Imesh
On Dec 22, 2013 11:37 PM, "Jacques Le Roux" <ja...@les7arts.com>
wrote:

> Sorry for thread hijacking Imesh
>
> Jacques
>
> On Sunday, December 22, 2013 6:25 PM imesh@apache.org wrote
> > Hi Olivier,
> >
> > I just created a jira to setup Sonar for Apache Stratos (incubating):
> > https://issues.apache.org/jira/browse/INFRA-7129
> >
> > Many Thanks
> > Imesh
> >
> >
> > On Sun, Dec 22, 2013 at 5:27 PM, Jacques Le Roux <
> > jacques.le.roux@les7arts.com> wrote:
> >
> >> On Sunday, December 22, 2013 12:33 PM olamy@apache.org wrote
> >>>> I can't access to the OFBiz Jenkins project configuration, could that
> be possible?
> >>
> >> Hu? (not sure I need it)
> >>
> >>>> I have worked for https://issues.apache.org/jira/browse/INFRA-3590 to
> >> add a -Dportoffset option to ant run-tests
> >>>
> >>> I didn't know that as there is no comment in the jira.
> >>
> >> Yes I did not comment yet because as explained below crossed an issue
> with
> >> a SOAP test. This however does not concern Sonar.
> >> It's now 2/3 months I worked on this and we have an issue with our
> >> Cobertura target which fails, that's why I also stopped
> >> https://issues.apache.org/jira/browse/OFBIZ-4757
> >>
> >>> Can I run -Dportoffset=which value ?
> >>
> >> Not yet as explained above
> >>
> >>> I changed that but the server has some issues (running in read-only
> mode)
> >>
> >> No hurry, thanks again. I will keep you posted when I will get a chance
> to
> >> seriously get back to this, maybe soon...
> >>
> >> Jacques
> >>
> >>>
> >>>> I finally stopped because of a weird test case (only one on ~830, SOAP
> >> related), but have -Dportoffset working for running OFBiz
> >>>> in standard mode (not test mode)
> >>>> I believe I have still those changes for the tests target somewhere.
> So
> >> then we could use it to run Sonar from Jenkins.
> >>>> But I have to also fix issues we got with Cobertura, so it's a lon
> run...
> >>>>
> >>>> Thanks for your help :)
> >>> no worries!
> >>>>
> >>>> Jacques
> >>>>
> >>>> On Sunday, December 22, 2013 1:53 AM olamy@apache.org wrote
> >>>>> No should be ok.
> >>>>>
> >>>>> For some reason the build fail:
> >>>>> https://analysis.apache.org/jenkins/job/ofbiz/667/console
>

Re: [Sonar] Is it possible to setup Sonar for Apache Stratos

Posted by Jacques Le Roux <ja...@les7arts.com>.
Sorry for thread hijacking Imesh

Jacques

On Sunday, December 22, 2013 6:25 PM imesh@apache.org wrote
> Hi Olivier,
> 
> I just created a jira to setup Sonar for Apache Stratos (incubating):
> https://issues.apache.org/jira/browse/INFRA-7129
> 
> Many Thanks
> Imesh
> 
> 
> On Sun, Dec 22, 2013 at 5:27 PM, Jacques Le Roux <
> jacques.le.roux@les7arts.com> wrote:
> 
>> On Sunday, December 22, 2013 12:33 PM olamy@apache.org wrote
>>>> I can't access to the OFBiz Jenkins project configuration, could that be possible?
>> 
>> Hu? (not sure I need it)
>> 
>>>> I have worked for https://issues.apache.org/jira/browse/INFRA-3590 to
>> add a -Dportoffset option to ant run-tests
>>> 
>>> I didn't know that as there is no comment in the jira.
>> 
>> Yes I did not comment yet because as explained below crossed an issue with
>> a SOAP test. This however does not concern Sonar.
>> It's now 2/3 months I worked on this and we have an issue with our
>> Cobertura target which fails, that's why I also stopped
>> https://issues.apache.org/jira/browse/OFBIZ-4757
>> 
>>> Can I run -Dportoffset=which value ?
>> 
>> Not yet as explained above
>> 
>>> I changed that but the server has some issues (running in read-only mode)
>> 
>> No hurry, thanks again. I will keep you posted when I will get a chance to
>> seriously get back to this, maybe soon...
>> 
>> Jacques
>> 
>>> 
>>>> I finally stopped because of a weird test case (only one on ~830, SOAP
>> related), but have -Dportoffset working for running OFBiz
>>>> in standard mode (not test mode)
>>>> I believe I have still those changes for the tests target somewhere. So
>> then we could use it to run Sonar from Jenkins.
>>>> But I have to also fix issues we got with Cobertura, so it's a lon run...
>>>> 
>>>> Thanks for your help :)
>>> no worries!
>>>> 
>>>> Jacques
>>>> 
>>>> On Sunday, December 22, 2013 1:53 AM olamy@apache.org wrote
>>>>> No should be ok.
>>>>> 
>>>>> For some reason the build fail:
>>>>> https://analysis.apache.org/jenkins/job/ofbiz/667/console

Re: [Sonar] Is it possible to setup Sonar for Apache Stratos

Posted by Imesh Gunaratne <im...@apache.org>.
Hi Olivier,

I just created a jira to setup Sonar for Apache Stratos (incubating):
https://issues.apache.org/jira/browse/INFRA-7129

Many Thanks
Imesh


On Sun, Dec 22, 2013 at 5:27 PM, Jacques Le Roux <
jacques.le.roux@les7arts.com> wrote:

> On Sunday, December 22, 2013 12:33 PM olamy@apache.org wrote
> >> I can't access to the OFBiz Jenkins project configuration, could that
> be possible?
>
> Hu? (not sure I need it)
>
> >> I have worked for https://issues.apache.org/jira/browse/INFRA-3590 to
> add a -Dportoffset option to ant run-tests
> >
> > I didn't know that as there is no comment in the jira.
>
> Yes I did not comment yet because as explained below crossed an issue with
> a SOAP test. This however does not concern Sonar.
> It's now 2/3 months I worked on this and we have an issue with our
> Cobertura target which fails, that's why I also stopped
> https://issues.apache.org/jira/browse/OFBIZ-4757
>
> > Can I run -Dportoffset=which value ?
>
> Not yet as explained above
>
> > I changed that but the server has some issues (running in read-only mode)
>
> No hurry, thanks again. I will keep you posted when I will get a chance to
> seriously get back to this, maybe soon...
>
> Jacques
>
> >
> >> I finally stopped because of a weird test case (only one on ~830, SOAP
> related), but have -Dportoffset working for running OFBiz
> >> in standard mode (not test mode)
> >> I believe I have still those changes for the tests target somewhere. So
> then we could use it to run Sonar from Jenkins.
> >> But I have to also fix issues we got with Cobertura, so it's a lon
> run...
> >>
> >> Thanks for your help :)
> > no worries!
> >>
> >> Jacques
> >>
> >> On Sunday, December 22, 2013 1:53 AM olamy@apache.org wrote
> >>> No should be ok.
> >>>
> >>> For some reason the build fail:
> >>> https://analysis.apache.org/jenkins/job/ofbiz/667/console
> >>>
>

Re: [Sonar] Is it possible to setup Sonar for Apache Stratos

Posted by Jacques Le Roux <ja...@les7arts.com>.
On Sunday, December 22, 2013 12:33 PM olamy@apache.org wrote
>> I can't access to the OFBiz Jenkins project configuration, could that be possible?

Hu? (not sure I need it)

>> I have worked for https://issues.apache.org/jira/browse/INFRA-3590 to add a -Dportoffset option to ant run-tests
> 
> I didn't know that as there is no comment in the jira.

Yes I did not comment yet because as explained below crossed an issue with a SOAP test. This however does not concern Sonar.
It's now 2/3 months I worked on this and we have an issue with our Cobertura target which fails, that's why I also stopped
https://issues.apache.org/jira/browse/OFBIZ-4757

> Can I run -Dportoffset=which value ?

Not yet as explained above

> I changed that but the server has some issues (running in read-only mode)

No hurry, thanks again. I will keep you posted when I will get a chance to seriously get back to this, maybe soon...

Jacques

> 
>> I finally stopped because of a weird test case (only one on ~830, SOAP related), but have -Dportoffset working for running OFBiz
>> in standard mode (not test mode) 
>> I believe I have still those changes for the tests target somewhere. So then we could use it to run Sonar from Jenkins.
>> But I have to also fix issues we got with Cobertura, so it's a lon run...
>> 
>> Thanks for your help :)
> no worries!
>> 
>> Jacques
>> 
>> On Sunday, December 22, 2013 1:53 AM olamy@apache.org wrote
>>> No should be ok.
>>> 
>>> For some reason the build fail:
>>> https://analysis.apache.org/jenkins/job/ofbiz/667/console
>>> 

Re: [Sonar] Is it possible to setup Sonar for Apache Stratos

Posted by Olivier Lamy <ol...@apache.org>.
Hi/Salut,

On 22 December 2013 20:27, Jacques Le Roux <ja...@les7arts.com> wrote:
> Ha that's interesting. I did not know we had a test instance running in Jenkins. Because I only follow Buildbot ones. Is that for long? I see only since 17 Dec.

Yup long (when asked in the jira entry :-) ) but only last 5 build are
stored in the history.

> Is this instance running in Jenkins related to Sonar, or only running tests?
Only sonar build

> I guess only trunk is concerned? Because in Builbot we have also all active releases branches tested (even a trunk ARM which fails one time in two, when the std trunk is OK :D )

only trunk

> I can't access to the OFBiz Jenkins project configuration, could that be possible?
>
> I have worked for https://issues.apache.org/jira/browse/INFRA-3590 to add a -Dportoffset option to ant run-tests

I didn't know that as there is no comment in the jira.
Can I run -Dportoffset=which value ?
I changed that but the server has some issues (running in read-only mode)


> I finally stopped because of a weird test case (only one on ~830, SOAP related), but have -Dportoffset working for running OFBiz in standard mode (not test mode)
> I believe I have still those changes for the tests target somewhere. So then we could use it to run Sonar from Jenkins.
> But I have to also fix issues we got with Cobertura, so it's a lon run...
>
> Thanks for your help :)
no worries!
>
> Jacques
>
> On Sunday, December 22, 2013 1:53 AM olamy@apache.org wrote
>> No should be ok.
>>
>> For some reason the build fail:
>> https://analysis.apache.org/jenkins/job/ofbiz/667/console
>>
>> ....
>>
>>    [mkdir] Created dir:
>> /x1/jenkins/jenkins-master/jenkins-home/jobs/ofbiz/workspace/runtime/logs/test-results/html
>> [junitreport] Processing
>> /x1/jenkins/jenkins-master/jenkins-home/jobs/ofbiz/workspace/runtime/logs/test-results/TESTS-TestSuites.xml
>> to /tmp/null1334149429
>> [junitreport] Loading stylesheet
>> jar:file:/x1/jenkins/jenkins-master/jenkins-home/tools/hudson.tasks.Ant_AntInstallation/ant-1.8.2/lib/ant-junit.jar!/org/apache/tools/ant/taskdefs/optional/junit/xsl/junit-frames.xsl
>> [junitreport] Transform time: 1695ms
>> [junitreport] Deleting: /tmp/null1334149429
>>
>> BUILD FAILED
>> /x1/jenkins/jenkins-master/jenkins-home/jobs/ofbiz/workspace/build.xml:1139:
>> The following error occurred while executing this line:
>> /x1/jenkins/jenkins-master/jenkins-home/jobs/ofbiz/workspace/build.xml:928:
>> Test run was unsuccessful
>>
>> Total time: 14 minutes 29 seconds
>> Build step 'Invoke A
>> ...
>>
>>
>> I wanted to test just now but some reasons the vm has moved *again* to
>> read only mode....
>>
>> https://analysis.apache.org/jenkins/job/ofbiz/671/console
>>
>> olamy@analysis-vm:~$ touch beer
>>
>> touch: cannot touch `beer': Read-only file system
>>
>>
>>
>> On 21 December 2013 20:32, Jacques Le Roux <ja...@les7arts.com> wrote:
>>> Hi Olivier,
>>>
>>> Does it works only with Maven?
>>> I want to ressurect https://issues.apache.org/jira/browse/INFRA-3590 (I have a version working locally, but still issues with
>>> Cobertura, maybe I will use Jacoco) But OFBiz uses only Ant+Yvy, is this an issue?
>>>
>>> Thanks
>>>
>>> Jacques
>>>
>>> On Saturday, December 21, 2013 8:48 AM olamy@apache.org wrote
>>>> http://wiki.apache.org/general/SonarInstance
>>>>
>>>>
>>>> On 21 December 2013 05:02, Imesh Gunaratne <im...@apache.org> wrote:
>>>>> Hi,
>>>>>
>>>>> I would like to setup Sonar for Apache Stratos (incubating).
>>>>> Could anyone please guide me on this?
>>>>>
>>>>> Many Thanks
>>>>> Imesh



-- 
Olivier Lamy
Ecetera: http://ecetera.com.au
http://twitter.com/olamy | http://linkedin.com/in/olamy

Re: [Sonar] Is it possible to setup Sonar for Apache Stratos

Posted by Jacques Le Roux <ja...@les7arts.com>.
Ha that's interesting. I did not know we had a test instance running in Jenkins. Because I only follow Buildbot ones. Is that for long? I see only since 17 Dec.
Is this instance running in Jenkins related to Sonar, or only running tests?
I guess only trunk is concerned? Because in Builbot we have also all active releases branches tested (even a trunk ARM which fails one time in two, when the std trunk is OK :D )
I can't access to the OFBiz Jenkins project configuration, could that be possible?

I have worked for https://issues.apache.org/jira/browse/INFRA-3590 to add a -Dportoffset option to ant run-tests
I finally stopped because of a weird test case (only one on ~830, SOAP related), but have -Dportoffset working for running OFBiz in standard mode (not test mode)
I believe I have still those changes for the tests target somewhere. So then we could use it to run Sonar from Jenkins.
But I have to also fix issues we got with Cobertura, so it's a lon run...

Thanks for your help :)

Jacques

On Sunday, December 22, 2013 1:53 AM olamy@apache.org wrote
> No should be ok.
> 
> For some reason the build fail:
> https://analysis.apache.org/jenkins/job/ofbiz/667/console
> 
> ....
> 
>    [mkdir] Created dir:
> /x1/jenkins/jenkins-master/jenkins-home/jobs/ofbiz/workspace/runtime/logs/test-results/html
> [junitreport] Processing
> /x1/jenkins/jenkins-master/jenkins-home/jobs/ofbiz/workspace/runtime/logs/test-results/TESTS-TestSuites.xml
> to /tmp/null1334149429
> [junitreport] Loading stylesheet
> jar:file:/x1/jenkins/jenkins-master/jenkins-home/tools/hudson.tasks.Ant_AntInstallation/ant-1.8.2/lib/ant-junit.jar!/org/apache/tools/ant/taskdefs/optional/junit/xsl/junit-frames.xsl
> [junitreport] Transform time: 1695ms
> [junitreport] Deleting: /tmp/null1334149429
> 
> BUILD FAILED
> /x1/jenkins/jenkins-master/jenkins-home/jobs/ofbiz/workspace/build.xml:1139:
> The following error occurred while executing this line:
> /x1/jenkins/jenkins-master/jenkins-home/jobs/ofbiz/workspace/build.xml:928:
> Test run was unsuccessful
> 
> Total time: 14 minutes 29 seconds
> Build step 'Invoke A
> ...
> 
> 
> I wanted to test just now but some reasons the vm has moved *again* to
> read only mode....
> 
> https://analysis.apache.org/jenkins/job/ofbiz/671/console
> 
> olamy@analysis-vm:~$ touch beer
> 
> touch: cannot touch `beer': Read-only file system
> 
> 
> 
> On 21 December 2013 20:32, Jacques Le Roux <ja...@les7arts.com> wrote:
>> Hi Olivier,
>> 
>> Does it works only with Maven?
>> I want to ressurect https://issues.apache.org/jira/browse/INFRA-3590 (I have a version working locally, but still issues with
>> Cobertura, maybe I will use Jacoco) But OFBiz uses only Ant+Yvy, is this an issue?
>> 
>> Thanks
>> 
>> Jacques
>> 
>> On Saturday, December 21, 2013 8:48 AM olamy@apache.org wrote
>>> http://wiki.apache.org/general/SonarInstance
>>> 
>>> 
>>> On 21 December 2013 05:02, Imesh Gunaratne <im...@apache.org> wrote:
>>>> Hi,
>>>> 
>>>> I would like to setup Sonar for Apache Stratos (incubating).
>>>> Could anyone please guide me on this?
>>>> 
>>>> Many Thanks
>>>> Imesh

Re: [Sonar] Is it possible to setup Sonar for Apache Stratos

Posted by Olivier Lamy <ol...@apache.org>.
No should be ok.

For some reason the build fail:
https://analysis.apache.org/jenkins/job/ofbiz/667/console

....

    [mkdir] Created dir:
/x1/jenkins/jenkins-master/jenkins-home/jobs/ofbiz/workspace/runtime/logs/test-results/html
[junitreport] Processing
/x1/jenkins/jenkins-master/jenkins-home/jobs/ofbiz/workspace/runtime/logs/test-results/TESTS-TestSuites.xml
to /tmp/null1334149429
[junitreport] Loading stylesheet
jar:file:/x1/jenkins/jenkins-master/jenkins-home/tools/hudson.tasks.Ant_AntInstallation/ant-1.8.2/lib/ant-junit.jar!/org/apache/tools/ant/taskdefs/optional/junit/xsl/junit-frames.xsl
[junitreport] Transform time: 1695ms
[junitreport] Deleting: /tmp/null1334149429

BUILD FAILED
/x1/jenkins/jenkins-master/jenkins-home/jobs/ofbiz/workspace/build.xml:1139:
The following error occurred while executing this line:
/x1/jenkins/jenkins-master/jenkins-home/jobs/ofbiz/workspace/build.xml:928:
Test run was unsuccessful

Total time: 14 minutes 29 seconds
Build step 'Invoke A
...


I wanted to test just now but some reasons the vm has moved *again* to
read only mode....

https://analysis.apache.org/jenkins/job/ofbiz/671/console

olamy@analysis-vm:~$ touch beer

touch: cannot touch `beer': Read-only file system



On 21 December 2013 20:32, Jacques Le Roux <ja...@les7arts.com> wrote:
> Hi Olivier,
>
> Does it works only with Maven?
> I want to ressurect https://issues.apache.org/jira/browse/INFRA-3590 (I have a version working locally, but still issues with Cobertura, maybe I will use Jacoco)
> But OFBiz uses only Ant+Yvy, is this an issue?
>
> Thanks
>
> Jacques
>
> On Saturday, December 21, 2013 8:48 AM olamy@apache.org wrote
>> http://wiki.apache.org/general/SonarInstance
>>
>>
>> On 21 December 2013 05:02, Imesh Gunaratne <im...@apache.org> wrote:
>>> Hi,
>>>
>>> I would like to setup Sonar for Apache Stratos (incubating).
>>> Could anyone please guide me on this?
>>>
>>> Many Thanks
>>> Imesh



-- 
Olivier Lamy
Ecetera: http://ecetera.com.au
http://twitter.com/olamy | http://linkedin.com/in/olamy

Re: [Sonar] Is it possible to setup Sonar for Apache Stratos

Posted by Jacques Le Roux <ja...@les7arts.com>.
Hi Olivier,

Does it works only with Maven?
I want to ressurect https://issues.apache.org/jira/browse/INFRA-3590 (I have a version working locally, but still issues with Cobertura, maybe I will use Jacoco)
But OFBiz uses only Ant+Yvy, is this an issue?

Thanks

Jacques

On Saturday, December 21, 2013 8:48 AM olamy@apache.org wrote
> http://wiki.apache.org/general/SonarInstance
> 
> 
> On 21 December 2013 05:02, Imesh Gunaratne <im...@apache.org> wrote:
>> Hi,
>> 
>> I would like to setup Sonar for Apache Stratos (incubating).
>> Could anyone please guide me on this?
>> 
>> Many Thanks
>> Imesh

Re: [Sonar] Is it possible to setup Sonar for Apache Stratos

Posted by Imesh Gunaratne <im...@apache.org>.
Thanks Olivier! I will create an issue in JIRA.

Thanks
Imesh
On Dec 21, 2013 1:19 PM, "Olivier Lamy" <ol...@apache.org> wrote:

> http://wiki.apache.org/general/SonarInstance
>
>
> On 21 December 2013 05:02, Imesh Gunaratne <im...@apache.org> wrote:
> > Hi,
> >
> > I would like to setup Sonar for Apache Stratos (incubating).
> > Could anyone please guide me on this?
> >
> > Many Thanks
> > Imesh
>
>
>
> --
> Olivier Lamy
> Ecetera: http://ecetera.com.au
> http://twitter.com/olamy | http://linkedin.com/in/olamy
>

Re: [Sonar] Is it possible to setup Sonar for Apache Stratos

Posted by Olivier Lamy <ol...@apache.org>.
http://wiki.apache.org/general/SonarInstance


On 21 December 2013 05:02, Imesh Gunaratne <im...@apache.org> wrote:
> Hi,
>
> I would like to setup Sonar for Apache Stratos (incubating).
> Could anyone please guide me on this?
>
> Many Thanks
> Imesh



-- 
Olivier Lamy
Ecetera: http://ecetera.com.au
http://twitter.com/olamy | http://linkedin.com/in/olamy