You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@aries.apache.org by "Christian Schneider (Jira)" <ji...@apache.org> on 2021/09/16 07:50:00 UTC

[jira] [Commented] (ARIES-2058) Aries 1.16.0 RSA fails OSGi RemoteServiceAdmin TCK test

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

Christian Schneider commented on ARIES-2058:
--------------------------------------------

I got some more details about the failures from [~timothyjward] who also provided the fixes.
 
1. Export Registrations were not properly closed
[https://github.com/apache/aries-rsa/commit/568642c463239e8081c93eead94cb010cc598bcf]
2. The TCP provider had the intents string “osgi.basic,osgi.async” instead of a String[] with “osgi.basic”, “osgi.async”
[https://github.com/apache/aries-rsa/commit/2b0d2fbd086c1003d4cce12fe633bd1a755b4478]
3. The local discovery provider only injected a single event listener, not all event listeners
[https://github.com/apache/aries-rsa/commit/33579827bc4533fde8fdedca8313a6ec039475ce]
 
 
 
 

> Aries 1.16.0 RSA fails OSGi RemoteServiceAdmin TCK test
> -------------------------------------------------------
>
>                 Key: ARIES-2058
>                 URL: https://issues.apache.org/jira/browse/ARIES-2058
>             Project: Aries
>          Issue Type: Bug
>          Components: Remote Service Admin
>    Affects Versions: rsa-1.16.0
>            Reporter: A. J. David Bosschaert
>            Priority: Major
>             Fix For: rsa-1.17.0
>
>         Attachments: aries.log
>
>
> When running the OSGi RSA TCK 13 of the 39 tests fail:
> {code:java}
> Test run finished after 458266 ms
> [        11 containers found      ]
> [         0 containers skipped    ]
> [        11 containers started    ]
> [         0 containers aborted    ]
> [        11 containers successful ]
> [         0 containers failed     ]
> [        39 tests found           ]
> [         0 tests skipped         ]
> [        39 tests started         ]
> [         0 tests aborted         ]
> [        26 tests successful      ]
> [        13 tests failed          ]
> # test ran
> # queue []
>  
> > Task :org.osgi.test.cases.remoteserviceadmin:testOSGi FAILED {code}
> To reproduce make the following change in https://github.com/osgi/osgi:
> {code}
> $ git diff
> diff --git a/cnf/ext/central.mvn b/cnf/ext/central.mvn
> index 2a8e2f44b2..e43331adac 100644
> --- a/cnf/ext/central.mvn
> +++ b/cnf/ext/central.mvn
> @@ -89,12 +89,12 @@ org.apache.aries.jpa:org.apache.aries.jpa.eclipselink.adapter:2.4.0
>  org.apache.aries.spec:org.apache.aries.javax.jax.rs-api:1.0.4
>  org.apache.aries.spifly:org.apache.aries.spifly.dynamic.bundle:1.0.8
>  org.apache.aries.spifly:org.apache.aries.spifly.dynamic.framework.extension:1.3.3
> -org.apache.aries.rsa:org.apache.aries.rsa.core:1.13.0
> -org.apache.aries.rsa:org.apache.aries.rsa.spi:1.13.0
> -org.apache.aries.rsa:org.apache.aries.rsa.topology-manager:1.13.0
> -org.apache.aries.rsa.discovery:org.apache.aries.rsa.discovery.local:1.13.0
> -org.apache.aries.rsa.discovery:org.apache.aries.rsa.discovery.zookeeper:1.13.0
> -org.apache.aries.rsa.provider:org.apache.aries.rsa.provider.tcp:1.13.0
> +org.apache.aries.rsa:org.apache.aries.rsa.core:1.16.0
> +org.apache.aries.rsa:org.apache.aries.rsa.spi:1.16.0
> +org.apache.aries.rsa:org.apache.aries.rsa.topology-manager:1.16.0
> +org.apache.aries.rsa.discovery:org.apache.aries.rsa.discovery.local:1.16.0
> +org.apache.aries.rsa.discovery:org.apache.aries.rsa.discovery.zookeeper:1.16.0
> +org.apache.aries.rsa.provider:org.apache.aries.rsa.provider.tcp:1.16.0
>  org.apache.felix:org.apache.felix.configadmin:1.9.22
>  org.apache.felix:org.apache.felix.configurator:1.0.8
> {code}
> Then run in the {{org.osgi.test.cases.remoteserviceadmin}} directory:
> {code}
> $ ../gradlew check
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)