You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stratos.apache.org by "Martin Eppel (meppel)" <me...@cisco.com> on 2015/01/20 19:02:37 UTC

build error on master

I pulled the latest source from the repository and got the build error below, anyone else seen this ? There were some email threads related to the ReadWriteLock ?

Last commit log seems to be related,

commit fe0e6f81a673d6db815a56a3592c41441c4be3ae
Author: Imesh Gunaratne <im...@apache.org>
Date:   Tue Jan 20 18:58:40 2015 +0530

    Fixing unreleased locks in rest api utils class

Thanks

Martin



[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3:17.512s
[INFO] Finished at: Tue Jan 20 09:55:51 PST 2015
[INFO] Final Memory: 102M/245M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile (default-compile) on project org.apache.stratos.common: Compilation failure: Compilation failure:
[ERROR] /home/netiq/architecture/stratos_repo2/stratos/components/org.apache.stratos.common/src/main/java/org/apache/stratos/common/concurrent/locks/ReadWriteLock.java:[24,42] error: cannot find symbol
[ERROR] symbol:   class InvalidLockRequestedException
[ERROR] location: package org.apache.stratos.common.exception
[ERROR] /home/netiq/architecture/stratos_repo2/stratos/components/org.apache.stratos.common/src/main/java/org/apache/stratos/common/concurrent/locks/ReadWriteLockMonitor.java:[24,42] error: cannot find symbol
[ERROR] symbol:   class LockNotReleasedException
[ERROR] location: package org.apache.stratos.common.exception
[ERROR] /home/netiq/architecture/stratos_repo2/stratos/components/org.apache.stratos.common/src/main/java/org/apache/stratos/common/concurrent/locks/ReadWriteLock.java:[109,12] error: cannot find symbol
[ERROR] symbol:   class InvalidLockRequestedException
[ERROR] location: class ReadWriteLock
[ERROR] /home/netiq/architecture/stratos_repo2/stratos/components/org.apache.stratos.common/src/main/java/org/apache/stratos/common/concurrent/locks/ReadWriteLock.java:[109,58] error: cannot find symbol
[ERROR] symbol:   class InvalidLockRequestedException
[ERROR] location: class ReadWriteLock
[ERROR] /home/netiq/architecture/stratos_repo2/stratos/components/org.apache.stratos.common/src/main/java/org/apache/stratos/common/concurrent/locks/ReadWriteLockMonitor.java:[71,12] error: cannot find symbol
[ERROR] symbol:   class LockNotReleasedException
[ERROR] location: class ReadWriteLockMonitor
[ERROR] /home/netiq/architecture/stratos_repo2/stratos/components/org.apache.stratos.common/src/main/java/org/apache/stratos/common/concurrent/locks/ReadWriteLockMonitor.java:[71,53] error: cannot find symbol

Re: build error on master

Posted by Imesh Gunaratne <im...@apache.org>.
I have now scheduled a commit build for master branch in builds.apache.org
which will check for commits every 30 min and trigger a build if there are
any changes:

https://builds.apache.org/view/All/job/Stratos-Master-Commit-Build/

If there is a build failure Jenkins will notify dev list and the
individuals who made the commits.

Thanks

On Wed, Jan 21, 2015 at 6:23 AM, Imesh Gunaratne <im...@apache.org> wrote:

> Please accept my appologies, it was my bad. New exception classes were not
> staged in the last git commit. I have now fixed this issue and updated
> master branch.
>
> May be we can schedule a build in Jenkins to trigger on each commit to
> find issues like this. I will have a look.
>
> Thanks
>
> On Wed, Jan 21, 2015 at 12:01 AM, Lakmal Warusawithana <la...@wso2.com>
> wrote:
>
>> I'm also getting this. Looping Imesh.
>>
>> Guys we need to make sure build is working. This is very important.
>> Please used two clones, get a pull and verify the build work, when ever
>> push your commits.
>>
>> On Tue, Jan 20, 2015 at 11:32 PM, Martin Eppel (meppel) <meppel@cisco.com
>> > wrote:
>>
>>>  I pulled the latest source from the repository and got the build error
>>> below, anyone else seen this ? There were some email threads related to the
>>> ReadWriteLock ?
>>>
>>>
>>>
>>> Last commit log seems to be related,
>>>
>>>
>>>
>>> commit fe0e6f81a673d6db815a56a3592c41441c4be3ae
>>>
>>> Author: Imesh Gunaratne <im...@apache.org>
>>>
>>> Date:   Tue Jan 20 18:58:40 2015 +0530
>>>
>>>
>>>
>>>     Fixing unreleased locks in rest api utils class
>>>
>>>
>>>
>>> Thanks
>>>
>>>
>>>
>>> Martin
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> [INFO] BUILD FAILURE
>>>
>>> [INFO]
>>> ------------------------------------------------------------------------
>>>
>>> [INFO] Total time: 3:17.512s
>>>
>>> [INFO] Finished at: Tue Jan 20 09:55:51 PST 2015
>>>
>>> [INFO] Final Memory: 102M/245M
>>>
>>> [INFO]
>>> ------------------------------------------------------------------------
>>>
>>> [ERROR] Failed to execute goal
>>> org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile
>>> (default-compile) on project org.apache.stratos.common: Compilation
>>> failure: Compilation failure:
>>>
>>> [ERROR]
>>> /home/netiq/architecture/stratos_repo2/stratos/components/org.apache.stratos.common/src/main/java/org/apache/stratos/common/concurrent/locks/ReadWriteLock.java:[24,42]
>>> error: cannot find symbol
>>>
>>> [ERROR] symbol:   class InvalidLockRequestedException
>>>
>>> [ERROR] location: package org.apache.stratos.common.exception
>>>
>>> [ERROR]
>>> /home/netiq/architecture/stratos_repo2/stratos/components/org.apache.stratos.common/src/main/java/org/apache/stratos/common/concurrent/locks/ReadWriteLockMonitor.java:[24,42]
>>> error: cannot find symbol
>>>
>>> [ERROR] symbol:   class LockNotReleasedException
>>>
>>> [ERROR] location: package org.apache.stratos.common.exception
>>>
>>> [ERROR]
>>> /home/netiq/architecture/stratos_repo2/stratos/components/org.apache.stratos.common/src/main/java/org/apache/stratos/common/concurrent/locks/ReadWriteLock.java:[109,12]
>>> error: cannot find symbol
>>>
>>> [ERROR] symbol:   class InvalidLockRequestedException
>>>
>>> [ERROR] location: class ReadWriteLock
>>>
>>> [ERROR]
>>> /home/netiq/architecture/stratos_repo2/stratos/components/org.apache.stratos.common/src/main/java/org/apache/stratos/common/concurrent/locks/ReadWriteLock.java:[109,58]
>>> error: cannot find symbol
>>>
>>> [ERROR] symbol:   class InvalidLockRequestedException
>>>
>>> [ERROR] location: class ReadWriteLock
>>>
>>> [ERROR]
>>> /home/netiq/architecture/stratos_repo2/stratos/components/org.apache.stratos.common/src/main/java/org/apache/stratos/common/concurrent/locks/ReadWriteLockMonitor.java:[71,12]
>>> error: cannot find symbol
>>>
>>> [ERROR] symbol:   class LockNotReleasedException
>>>
>>> [ERROR] location: class ReadWriteLockMonitor
>>>
>>> [ERROR]
>>> /home/netiq/architecture/stratos_repo2/stratos/components/org.apache.stratos.common/src/main/java/org/apache/stratos/common/concurrent/locks/ReadWriteLockMonitor.java:[71,53]
>>> error: cannot find symbol
>>>
>>
>>
>>
>> --
>> Lakmal Warusawithana
>> Vice President, Apache Stratos
>> Director - Cloud Architecture; WSO2 Inc.
>> Mobile : +94714289692
>> Blog : http://lakmalsview.blogspot.com/
>>
>>
>
>
> --
> Imesh Gunaratne
>
> Technical Lead, WSO2
> Committer & PMC Member, Apache Stratos
>



-- 
Imesh Gunaratne

Technical Lead, WSO2
Committer & PMC Member, Apache Stratos

Re: build error on master

Posted by Imesh Gunaratne <im...@apache.org>.
Please accept my appologies, it was my bad. New exception classes were not
staged in the last git commit. I have now fixed this issue and updated
master branch.

May be we can schedule a build in Jenkins to trigger on each commit to find
issues like this. I will have a look.

Thanks

On Wed, Jan 21, 2015 at 12:01 AM, Lakmal Warusawithana <la...@wso2.com>
wrote:

> I'm also getting this. Looping Imesh.
>
> Guys we need to make sure build is working. This is very important. Please
> used two clones, get a pull and verify the build work, when ever push your
> commits.
>
> On Tue, Jan 20, 2015 at 11:32 PM, Martin Eppel (meppel) <me...@cisco.com>
> wrote:
>
>>  I pulled the latest source from the repository and got the build error
>> below, anyone else seen this ? There were some email threads related to the
>> ReadWriteLock ?
>>
>>
>>
>> Last commit log seems to be related,
>>
>>
>>
>> commit fe0e6f81a673d6db815a56a3592c41441c4be3ae
>>
>> Author: Imesh Gunaratne <im...@apache.org>
>>
>> Date:   Tue Jan 20 18:58:40 2015 +0530
>>
>>
>>
>>     Fixing unreleased locks in rest api utils class
>>
>>
>>
>> Thanks
>>
>>
>>
>> Martin
>>
>>
>>
>>
>>
>>
>>
>> [INFO] BUILD FAILURE
>>
>> [INFO]
>> ------------------------------------------------------------------------
>>
>> [INFO] Total time: 3:17.512s
>>
>> [INFO] Finished at: Tue Jan 20 09:55:51 PST 2015
>>
>> [INFO] Final Memory: 102M/245M
>>
>> [INFO]
>> ------------------------------------------------------------------------
>>
>> [ERROR] Failed to execute goal
>> org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile
>> (default-compile) on project org.apache.stratos.common: Compilation
>> failure: Compilation failure:
>>
>> [ERROR]
>> /home/netiq/architecture/stratos_repo2/stratos/components/org.apache.stratos.common/src/main/java/org/apache/stratos/common/concurrent/locks/ReadWriteLock.java:[24,42]
>> error: cannot find symbol
>>
>> [ERROR] symbol:   class InvalidLockRequestedException
>>
>> [ERROR] location: package org.apache.stratos.common.exception
>>
>> [ERROR]
>> /home/netiq/architecture/stratos_repo2/stratos/components/org.apache.stratos.common/src/main/java/org/apache/stratos/common/concurrent/locks/ReadWriteLockMonitor.java:[24,42]
>> error: cannot find symbol
>>
>> [ERROR] symbol:   class LockNotReleasedException
>>
>> [ERROR] location: package org.apache.stratos.common.exception
>>
>> [ERROR]
>> /home/netiq/architecture/stratos_repo2/stratos/components/org.apache.stratos.common/src/main/java/org/apache/stratos/common/concurrent/locks/ReadWriteLock.java:[109,12]
>> error: cannot find symbol
>>
>> [ERROR] symbol:   class InvalidLockRequestedException
>>
>> [ERROR] location: class ReadWriteLock
>>
>> [ERROR]
>> /home/netiq/architecture/stratos_repo2/stratos/components/org.apache.stratos.common/src/main/java/org/apache/stratos/common/concurrent/locks/ReadWriteLock.java:[109,58]
>> error: cannot find symbol
>>
>> [ERROR] symbol:   class InvalidLockRequestedException
>>
>> [ERROR] location: class ReadWriteLock
>>
>> [ERROR]
>> /home/netiq/architecture/stratos_repo2/stratos/components/org.apache.stratos.common/src/main/java/org/apache/stratos/common/concurrent/locks/ReadWriteLockMonitor.java:[71,12]
>> error: cannot find symbol
>>
>> [ERROR] symbol:   class LockNotReleasedException
>>
>> [ERROR] location: class ReadWriteLockMonitor
>>
>> [ERROR]
>> /home/netiq/architecture/stratos_repo2/stratos/components/org.apache.stratos.common/src/main/java/org/apache/stratos/common/concurrent/locks/ReadWriteLockMonitor.java:[71,53]
>> error: cannot find symbol
>>
>
>
>
> --
> Lakmal Warusawithana
> Vice President, Apache Stratos
> Director - Cloud Architecture; WSO2 Inc.
> Mobile : +94714289692
> Blog : http://lakmalsview.blogspot.com/
>
>


-- 
Imesh Gunaratne

Technical Lead, WSO2
Committer & PMC Member, Apache Stratos

Re: build error on master

Posted by Lakmal Warusawithana <la...@wso2.com>.
I'm also getting this. Looping Imesh.

Guys we need to make sure build is working. This is very important. Please
used two clones, get a pull and verify the build work, when ever push your
commits.

On Tue, Jan 20, 2015 at 11:32 PM, Martin Eppel (meppel) <me...@cisco.com>
wrote:

>  I pulled the latest source from the repository and got the build error
> below, anyone else seen this ? There were some email threads related to the
> ReadWriteLock ?
>
>
>
> Last commit log seems to be related,
>
>
>
> commit fe0e6f81a673d6db815a56a3592c41441c4be3ae
>
> Author: Imesh Gunaratne <im...@apache.org>
>
> Date:   Tue Jan 20 18:58:40 2015 +0530
>
>
>
>     Fixing unreleased locks in rest api utils class
>
>
>
> Thanks
>
>
>
> Martin
>
>
>
>
>
>
>
> [INFO] BUILD FAILURE
>
> [INFO]
> ------------------------------------------------------------------------
>
> [INFO] Total time: 3:17.512s
>
> [INFO] Finished at: Tue Jan 20 09:55:51 PST 2015
>
> [INFO] Final Memory: 102M/245M
>
> [INFO]
> ------------------------------------------------------------------------
>
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile
> (default-compile) on project org.apache.stratos.common: Compilation
> failure: Compilation failure:
>
> [ERROR]
> /home/netiq/architecture/stratos_repo2/stratos/components/org.apache.stratos.common/src/main/java/org/apache/stratos/common/concurrent/locks/ReadWriteLock.java:[24,42]
> error: cannot find symbol
>
> [ERROR] symbol:   class InvalidLockRequestedException
>
> [ERROR] location: package org.apache.stratos.common.exception
>
> [ERROR]
> /home/netiq/architecture/stratos_repo2/stratos/components/org.apache.stratos.common/src/main/java/org/apache/stratos/common/concurrent/locks/ReadWriteLockMonitor.java:[24,42]
> error: cannot find symbol
>
> [ERROR] symbol:   class LockNotReleasedException
>
> [ERROR] location: package org.apache.stratos.common.exception
>
> [ERROR]
> /home/netiq/architecture/stratos_repo2/stratos/components/org.apache.stratos.common/src/main/java/org/apache/stratos/common/concurrent/locks/ReadWriteLock.java:[109,12]
> error: cannot find symbol
>
> [ERROR] symbol:   class InvalidLockRequestedException
>
> [ERROR] location: class ReadWriteLock
>
> [ERROR]
> /home/netiq/architecture/stratos_repo2/stratos/components/org.apache.stratos.common/src/main/java/org/apache/stratos/common/concurrent/locks/ReadWriteLock.java:[109,58]
> error: cannot find symbol
>
> [ERROR] symbol:   class InvalidLockRequestedException
>
> [ERROR] location: class ReadWriteLock
>
> [ERROR]
> /home/netiq/architecture/stratos_repo2/stratos/components/org.apache.stratos.common/src/main/java/org/apache/stratos/common/concurrent/locks/ReadWriteLockMonitor.java:[71,12]
> error: cannot find symbol
>
> [ERROR] symbol:   class LockNotReleasedException
>
> [ERROR] location: class ReadWriteLockMonitor
>
> [ERROR]
> /home/netiq/architecture/stratos_repo2/stratos/components/org.apache.stratos.common/src/main/java/org/apache/stratos/common/concurrent/locks/ReadWriteLockMonitor.java:[71,53]
> error: cannot find symbol
>



-- 
Lakmal Warusawithana
Vice President, Apache Stratos
Director - Cloud Architecture; WSO2 Inc.
Mobile : +94714289692
Blog : http://lakmalsview.blogspot.com/