osate / osate2

Open Source AADL2 Tool Environment
http://osate.org
Eclipse Public License 2.0
36 stars 8 forks source link

Confusing error on subprogram group versus bus access. #338

Closed stevevestal closed 10 years ago

stevevestal commented 10 years ago

I get errors on lines 50 and 51 of the following that say a bus access connection is malformed, although this is a subprogram group access connection.

package SGAccess public

subprogram CriticalSection
features
    d: requires data access {Concurrency_Control_Protocol => Priority_Inheritance;};
end CriticalSection;

subprogram implementation CriticalSection.Imp
end CriticalSection.Imp;

subprogram group Queue
features
    enque: provides subprogram access CriticalSection.Imp;
    deque: provides subprogram access CriticalSection.Imp;
end Queue;

subprogram group implementation Queue.Imp
subcomponents
    queue: data {Source_Data_Size => 1024 Bytes;};
    enq: subprogram CriticalSection.Imp {Compute_Execution_Time => 50 us .. 100 us;};
    deq: subprogram CriticalSection.Imp {Compute_Execution_Time => 25 us .. 50 us;};        
connections
    d1: data access queue -> enq.d;
    s1: subprogram access enq -> enque;
    d2: data access queue -> deq.d;
    s2: subprogram access deq -> deque;
end Queue.Imp;

thread queingThread
features
    queue: requires subprogram group access Queue.Imp;                  
end queingThread;

thread implementation queingThread.Imp
end queingThread.Imp;

process queingProc
end queingProc;

process implementation queingProc.Imp
subcomponents
    q: subprogram group Queue.Imp;
    t1: thread queingThread.Imp;
    t2: thread queingThread.Imp;
connections
    -- Why errors on the following two lines?
    -- Similar to pattern used for data and subprogram accesses in Queue.Imp.
    -- Error message talks about bus access, not subprogram group access.
    sga1: subprogram group access q -> t1.queue;
    sga2: subprogram group access q -> t2.queue;
end queingProc.Imp; 

end SGAccess;

juli1 commented 10 years ago

Fixed in bf46dcb9c4639c5e08f55ee4f2721d54b3859274

stevevestal commented 10 years ago

Is this supposed to have removed the error messages? I updated and I still get them.

Is there a new URL for the nightly test builds, now?

On 3/7/2014 11:06 AM, Julien wrote:

Fixed in bf46dcb https://github.com/osate/osate2-core/commit/bf46dcb9c4639c5e08f55ee4f2721d54b3859274

— Reply to this email directly or view it on GitHub https://github.com/osate/osate2-core/issues/338#issuecomment-37044519.

juli1 commented 10 years ago

Dear Steve,

Can you tell me where you get the testing version of OSATE? Thanks.

On Tue, Mar 11, 2014 at 7:29 PM, stevevestal notifications@github.comwrote:

Is this supposed to have removed the error messages? I updated and I still get them.

Is there a new URL for the nightly test builds, now?

On 3/7/2014 11:06 AM, Julien wrote:

Fixed in bf46dcb < https://github.com/osate/osate2-core/commit/bf46dcb9c4639c5e08f55ee4f2721d54b3859274

— Reply to this email directly or view it on GitHub https://github.com/osate/osate2-core/issues/338#issuecomment-37044519.

— Reply to this email directly or view it on GitHubhttps://github.com/osate/osate2-core/issues/338#issuecomment-37359201 .

stevevestal commented 10 years ago

The update site is http://aadl.info/aadl/osate/testing/update-site

I downloaded the initial install from http://www.aadl.info/aadl/osate/testing/products/

When I checked for updates, one was found on Monday but not yesterday or this morning.

On 3/11/2014 7:11 PM, Julien wrote:

Dear Steve,

Can you tell me where you get the testing version of OSATE? Thanks.

On Tue, Mar 11, 2014 at 7:29 PM, stevevestal notifications@github.comwrote:

Is this supposed to have removed the error messages? I updated and I still get them.

Is there a new URL for the nightly test builds, now?

On 3/7/2014 11:06 AM, Julien wrote:

Fixed in bf46dcb <

https://github.com/osate/osate2-core/commit/bf46dcb9c4639c5e08f55ee4f2721d54b3859274

— Reply to this email directly or view it on GitHub

https://github.com/osate/osate2-core/issues/338#issuecomment-37044519.

— Reply to this email directly or view it on GitHubhttps://github.com/osate/osate2-core/issues/338#issuecomment-37359201 .

— Reply to this email directly or view it on GitHub https://github.com/osate/osate2-core/issues/338#issuecomment-37362061.

reteprelief commented 10 years ago

Steve,

The build server was down – Julien noticed that last night. We are trying to get IT to get it going again. We hope it will be up shortly. The changes are on the develop branch if you want to run it from sources.

Peter

From: stevevestal [mailto:notifications@github.com] Sent: Wednesday, March 12, 2014 7:08 AM To: osate/osate2-core Subject: Re: [osate2-core] Confusing error on subprogram group versus bus access. (#338)

The update site is http://aadl.info/aadl/osate/testing/update-site

I downloaded the initial install from http://www.aadl.info/aadl/osate/testing/products/

When I checked for updates, one was found on Monday but not yesterday or this morning.

On 3/11/2014 7:11 PM, Julien wrote:

Dear Steve,

Can you tell me where you get the testing version of OSATE? Thanks.

On Tue, Mar 11, 2014 at 7:29 PM, stevevestal notifications@github.com<mailto:notifications@github.com>wrote:

Is this supposed to have removed the error messages? I updated and I still get them.

Is there a new URL for the nightly test builds, now?

On 3/7/2014 11:06 AM, Julien wrote:

Fixed in bf46dcb <

https://github.com/osate/osate2-core/commit/bf46dcb9c4639c5e08f55ee4f2721d54b3859274

— Reply to this email directly or view it on GitHub

https://github.com/osate/osate2-core/issues/338#issuecomment-37044519.

— Reply to this email directly or view it on GitHubhttps://github.com/osate/osate2-core/issues/338#issuecomment-37359201 .

— Reply to this email directly or view it on GitHub https://github.com/osate/osate2-core/issues/338#issuecomment-37362061.

— Reply to this email directly or view it on GitHubhttps://github.com/osate/osate2-core/issues/338#issuecomment-37396877.

stevevestal commented 10 years ago

No rush on this, a minor issue for a small set of test cases that we won't even try running for quite awhile still. I just wanted to make sure I have my update stuff set up right.

Thanks!

On 3/12/2014 6:59 AM, Peter Feiler wrote:

Steve,

The build server was down – Julien noticed that last night. We are trying to get IT to get it going again. We hope it will be up shortly. The changes are on the develop branch if you want to run it from sources.

Peter

From: stevevestal [mailto:notifications@github.com] Sent: Wednesday, March 12, 2014 7:08 AM To: osate/osate2-core Subject: Re: [osate2-core] Confusing error on subprogram group versus bus access. (#338)

The update site is http://aadl.info/aadl/osate/testing/update-site

I downloaded the initial install from http://www.aadl.info/aadl/osate/testing/products/

When I checked for updates, one was found on Monday but not yesterday or this morning.

On 3/11/2014 7:11 PM, Julien wrote:

Dear Steve,

Can you tell me where you get the testing version of OSATE? Thanks.

On Tue, Mar 11, 2014 at 7:29 PM, stevevestal notifications@github.com<mailto:notifications@github.com>wrote:

Is this supposed to have removed the error messages? I updated and I still get them.

Is there a new URL for the nightly test builds, now?

On 3/7/2014 11:06 AM, Julien wrote:

Fixed in bf46dcb <

https://github.com/osate/osate2-core/commit/bf46dcb9c4639c5e08f55ee4f2721d54b3859274

— Reply to this email directly or view it on GitHub

https://github.com/osate/osate2-core/issues/338#issuecomment-37044519.

— Reply to this email directly or view it on

GitHubhttps://github.com/osate/osate2-core/issues/338#issuecomment-37359201

.

— Reply to this email directly or view it on GitHub https://github.com/osate/osate2-core/issues/338#issuecomment-37362061.

— Reply to this email directly or view it on GitHubhttps://github.com/osate/osate2-core/issues/338#issuecomment-37396877.

— Reply to this email directly or view it on GitHub https://github.com/osate/osate2-core/issues/338#issuecomment-37400444.

stevevestal commented 10 years ago

I checked updates again. Still no luck with the server?

On 3/12/2014 6:59 AM, Peter Feiler wrote:

Steve,

The build server was down – Julien noticed that last night. We are trying to get IT to get it going again. We hope it will be up shortly. The changes are on the develop branch if you want to run it from sources.

Peter

From: stevevestal [mailto:notifications@github.com] Sent: Wednesday, March 12, 2014 7:08 AM To: osate/osate2-core Subject: Re: [osate2-core] Confusing error on subprogram group versus bus access. (#338)

The update site is http://aadl.info/aadl/osate/testing/update-site

I downloaded the initial install from http://www.aadl.info/aadl/osate/testing/products/

When I checked for updates, one was found on Monday but not yesterday or this morning.

On 3/11/2014 7:11 PM, Julien wrote:

Dear Steve,

Can you tell me where you get the testing version of OSATE? Thanks.

On Tue, Mar 11, 2014 at 7:29 PM, stevevestal notifications@github.com<mailto:notifications@github.com>wrote:

Is this supposed to have removed the error messages? I updated and I still get them.

Is there a new URL for the nightly test builds, now?

On 3/7/2014 11:06 AM, Julien wrote:

Fixed in bf46dcb <

https://github.com/osate/osate2-core/commit/bf46dcb9c4639c5e08f55ee4f2721d54b3859274

— Reply to this email directly or view it on GitHub

https://github.com/osate/osate2-core/issues/338#issuecomment-37044519.

— Reply to this email directly or view it on

GitHubhttps://github.com/osate/osate2-core/issues/338#issuecomment-37359201

.

— Reply to this email directly or view it on GitHub https://github.com/osate/osate2-core/issues/338#issuecomment-37362061.

— Reply to this email directly or view it on GitHubhttps://github.com/osate/osate2-core/issues/338#issuecomment-37396877.

— Reply to this email directly or view it on GitHub https://github.com/osate/osate2-core/issues/338#issuecomment-37400444.

reteprelief commented 10 years ago

As far as I understand IT is still struggling – something about corrupted file system. Julien did a build on his machine for Denso last week where he was doing a workshop. Maybe he can push this build out to the download area.

Peter

From: stevevestal [mailto:notifications@github.com] Sent: Sunday, March 16, 2014 8:32 PM To: osate/osate2-core Cc: Peter Feiler Subject: Re: [osate2-core] Confusing error on subprogram group versus bus access. (#338)

I checked updates again. Still no luck with the server?

On 3/12/2014 6:59 AM, Peter Feiler wrote:

Steve,

The build server was down – Julien noticed that last night. We are trying to get IT to get it going again. We hope it will be up shortly. The changes are on the develop branch if you want to run it from sources.

Peter

From: stevevestal [mailto:notifications@github.com] Sent: Wednesday, March 12, 2014 7:08 AM To: osate/osate2-core Subject: Re: [osate2-core] Confusing error on subprogram group versus bus access. (#338)

The update site is http://aadl.info/aadl/osate/testing/update-site

I downloaded the initial install from http://www.aadl.info/aadl/osate/testing/products/

When I checked for updates, one was found on Monday but not yesterday or this morning.

On 3/11/2014 7:11 PM, Julien wrote:

Dear Steve,

Can you tell me where you get the testing version of OSATE? Thanks.

On Tue, Mar 11, 2014 at 7:29 PM, stevevestal notifications@github.com<mailto:notifications@github.com<mailto:notifications@github.com%3cmailto:notifications@github.com>>wrote:

Is this supposed to have removed the error messages? I updated and I still get them.

Is there a new URL for the nightly test builds, now?

On 3/7/2014 11:06 AM, Julien wrote:

Fixed in bf46dcb <

https://github.com/osate/osate2-core/commit/bf46dcb9c4639c5e08f55ee4f2721d54b3859274

— Reply to this email directly or view it on GitHub

https://github.com/osate/osate2-core/issues/338#issuecomment-37044519.

— Reply to this email directly or view it on

GitHubhttps://github.com/osate/osate2-core/issues/338#issuecomment-37359201

.

— Reply to this email directly or view it on GitHub https://github.com/osate/osate2-core/issues/338#issuecomment-37362061.

— Reply to this email directly or view it on GitHubhttps://github.com/osate/osate2-core/issues/338#issuecomment-37396877.

— Reply to this email directly or view it on GitHub https://github.com/osate/osate2-core/issues/338#issuecomment-37400444.

— Reply to this email directly or view it on GitHubhttps://github.com/osate/osate2-core/issues/338#issuecomment-37777015.

juli1 commented 10 years ago

Dear Steve, Changes are available on the source tree. If you want to use an updated product, please check the update site, we will release an update as soon as our server are back online.

Thanks.

stevevestal commented 10 years ago

No need to rush, this is just a sanity check as I switched to a new Eclipse development configuration. (BTW, installing Kepler SR2 Eclipse for RCP and RAP Developers and then pointing it to http://www.aadl.info/aadl/osate/testing/update-site/ to install the test configuration seems to work for plugin development. I don't suppose the javadocs for the OSATE plugins API are included in the OSATE jars?)

On 3/16/2014 7:53 PM, Peter Feiler wrote:

As far as I understand IT is still struggling – something about corrupted file system. Julien did a build on his machine for Denso last week where he was doing a workshop. Maybe he can push this build out to the download area.

Peter

From: stevevestal [mailto:notifications@github.com] Sent: Sunday, March 16, 2014 8:32 PM To: osate/osate2-core Cc: Peter Feiler Subject: Re: [osate2-core] Confusing error on subprogram group versus bus access. (#338)

I checked updates again. Still no luck with the server?

On 3/12/2014 6:59 AM, Peter Feiler wrote:

Steve,

The build server was down – Julien noticed that last night. We are trying to get IT to get it going again. We hope it will be up shortly. The changes are on the develop branch if you want to run it from sources.

Peter

From: stevevestal [mailto:notifications@github.com] Sent: Wednesday, March 12, 2014 7:08 AM To: osate/osate2-core Subject: Re: [osate2-core] Confusing error on subprogram group versus bus access. (#338)

The update site is http://aadl.info/aadl/osate/testing/update-site

I downloaded the initial install from http://www.aadl.info/aadl/osate/testing/products/

When I checked for updates, one was found on Monday but not yesterday or this morning.

On 3/11/2014 7:11 PM, Julien wrote:

Dear Steve,

Can you tell me where you get the testing version of OSATE? Thanks.

On Tue, Mar 11, 2014 at 7:29 PM, stevevestal

notifications@github.com<mailto:notifications@github.com<mailto:notifications@github.com%3cmailto:notifications@github.com>>wrote:

Is this supposed to have removed the error messages? I updated and I still get them.

Is there a new URL for the nightly test builds, now?

On 3/7/2014 11:06 AM, Julien wrote:

Fixed in bf46dcb <

https://github.com/osate/osate2-core/commit/bf46dcb9c4639c5e08f55ee4f2721d54b3859274

— Reply to this email directly or view it on GitHub

https://github.com/osate/osate2-core/issues/338#issuecomment-37044519.

— Reply to this email directly or view it on

GitHubhttps://github.com/osate/osate2-core/issues/338#issuecomment-37359201

.

— Reply to this email directly or view it on GitHub

https://github.com/osate/osate2-core/issues/338#issuecomment-37362061.

— Reply to this email directly or view it on

GitHubhttps://github.com/osate/osate2-core/issues/338#issuecomment-37396877.

— Reply to this email directly or view it on GitHub https://github.com/osate/osate2-core/issues/338#issuecomment-37400444.

— Reply to this email directly or view it on GitHubhttps://github.com/osate/osate2-core/issues/338#issuecomment-37777015.

— Reply to this email directly or view it on GitHub https://github.com/osate/osate2-core/issues/338#issuecomment-37777545.

stevevestal commented 10 years ago

The server is now online and I updated. It fixed this error, but now new errors appear for declarations of the form:

        Reference_Processor => classifier

(ComputeModule::Core.Cache256K);

On 3/17/2014 7:34 AM, Julien wrote:

Dear Steve, Changes are available on the source tree. If you want to use an updated product, please check the update site, we will release an update as soon as our server are back online.

Thanks.

— Reply to this email directly or view it on GitHub https://github.com/osate/osate2-core/issues/338#issuecomment-37810085.