[JBoss JIRA] (WFLY-13865) Enable switching Galleon pack Maven coordinates for the Galleon layers used in the clustering tests
by Yeray Borges Santana (Jira)
Yeray Borges Santana created WFLY-13865:
-------------------------------------------
Summary: Enable switching Galleon pack Maven coordinates for the Galleon layers used in the clustering tests
Key: WFLY-13865
URL: https://issues.redhat.com/browse/WFLY-13865
Project: WildFly
Issue Type: Task
Components: Test Suite
Reporter: Yeray Borges Santana
Assignee: Yeray Borges Santana
The Galleon layers tests for clustering are using two galleon packs, the one for testing to bring in web-clustering and the full Galleon pack.
This configuration is not properly testing the switching of the Galleon packs under test by the CI Jobs.
The take here is to provide this capability replacing the full one by using the Maven properties passed by the CI Job, e.g:
{code:java}
<feature-pack>
<groupId>${testsuite.ee.galleon.pack.groupId}</groupId>
<artifactId>${testsuite.ee.galleon.pack.artifactId}</artifactId>
<version>${testsuite.ee.galleon.pack.version}</version>
<inherit-configs>false</inherit-configs>
<inherit-packages>false</inherit-packages>
</feature-pack>
{code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 10 months
[JBoss JIRA] (DROOLS-5641) Compilation fails when chaining methods with function calls as params
by Ciprian Chiru (Jira)
Ciprian Chiru created DROOLS-5641:
-------------------------------------
Summary: Compilation fails when chaining methods with function calls as params
Key: DROOLS-5641
URL: https://issues.redhat.com/browse/DROOLS-5641
Project: Drools
Issue Type: Bug
Components: executable model
Affects Versions: 7.43.0.Final
Reporter: Ciprian Chiru
Assignee: Luca Molteni
Given the following rule:
{code:java}
global java.util.Set controlSet;
global org.example.drools.service.DummyService dummyService;
declare A
x: String
end
rule "will execute per each Measurement having ID color"
no-loop
when
$m: Measurement( id == "color", $colorVal : val )
$a: A()
String() from dummyService.dummy($m.getSomethingBy($a.x), $a)
then
controlSet.add($colorVal);
end{code}
The compilation fails with:
{code:java}
[...]/target/generated-sources/drools-model-compiler/main/java/rules/Rules7ad4e52deb9d4184b7d7e4646c172273RuleMethods0.java:[27,111] no suitable method found for from(org.drools.model.Global<org.example.drools.service.DummyService>,org.drools.model.Variable<rules.A>,org.drools.model.Variable<org.example.drools.model.Measurement>,rules.P45.LambdaExtractor4580D2619F79AA1C0CC3F15809293690)
[ERROR] method org.drools.model.DSL.<T>from(T) is not applicable
[ERROR] (cannot infer type-variable(s) T
[ERROR] (actual and formal argument lists differ in length))
[ERROR] method org.drools.model.DSL.<T>from(org.drools.model.Variable<T>) is not applicable
[ERROR] (cannot infer type-variable(s) T
[ERROR] (actual and formal argument lists differ in length))
[ERROR] method org.drools.model.DSL.<T>from(org.drools.model.functions.Function0<T>) is not applicable
[ERROR] (cannot infer type-variable(s) T
[ERROR] (actual and formal argument lists differ in length))
[ERROR] method org.drools.model.DSL.<T>from(org.drools.model.Variable<T>,org.drools.model.functions.Function1<T,?>) is not applicable
[ERROR] (cannot infer type-variable(s) T
[ERROR] (actual and formal argument lists differ in length))
[ERROR] method org.drools.model.DSL.<A,B>from(org.drools.model.Variable<A>,org.drools.model.Variable<B>,org.drools.model.functions.Function2<A,B,?>) is not applicable
[ERROR] (cannot infer type-variable(s) A,B
[ERROR] (actual and formal argument lists differ in length))
[ERROR] method org.drools.model.DSL.<A,B,C>from(org.drools.model.Variable<A>,org.drools.model.Variable<B>,org.drools.model.Variable<C>,org.drools.model.functions.Function3<A,B,C,?>) is not applicable
[ERROR] (inference variable B has incompatible equality constraints org.example.drools.model.Measurement,rules.A)
[ERROR] method org.drools.model.DSL.<A,B,C,D>from(org.drools.model.Variable<A>,org.drools.model.Variable<B>,org.drools.model.Variable<C>,org.drools.model.Variable<D>,org.drools.model.functions.Function4<A,B,C,D,?>) is not applicable
[ERROR] (cannot infer type-variable(s) A,B,C,D
[ERROR] (actual and formal argument lists differ in length)){code}
This error is reproducible with the latest _7.44.0-SNAPSHOT_ .
The parameters are flipped between the LambdaExtractor and the RuleMethods generated classes.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 10 months
[JBoss JIRA] (WFCORE-5133) SNICombinedWithALPNTestCase fails with oracle JDK 8 261
by Sonia Zaldana (Jira)
[ https://issues.redhat.com/browse/WFCORE-5133?page=com.atlassian.jira.plug... ]
Sonia Zaldana reassigned WFCORE-5133:
-------------------------------------
Assignee: Sonia Zaldana
> SNICombinedWithALPNTestCase fails with oracle JDK 8 261
> -------------------------------------------------------
>
> Key: WFCORE-5133
> URL: https://issues.redhat.com/browse/WFCORE-5133
> Project: WildFly Core
> Issue Type: Bug
> Components: Security
> Reporter: Jean Francois Denise
> Assignee: Sonia Zaldana
> Priority: Major
>
> Exception while using oracle JDK 261:
>
> {{at io.undertow.client.http.HttpClientConnection.handleError(HttpClientConnection.java:444)
> at io.undertow.client.http.HttpClientConnection.handleError(HttpClientConnection.java:439)
> at io.undertow.client.http.HttpClientConnection.initiateRequest(HttpClientConnection.java:430)
> at io.undertow.client.http.HttpClientConnection.sendRequest(HttpClientConnection.java:347)
> at org.jboss.as.test.integration.security.ssl.sni.SNICombinedWithALPNTestCase.performSimpleTest(SNICombinedWithALPNTestCase.java:242)
> at org.jboss.as.test.integration.security.ssl.sni.SNICombinedWithALPNTestCase.testSimpleViaHostname(SNICombinedWithALPNTestCase.java:220)}}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 10 months
[JBoss JIRA] (WFLY-13856) [WARNING] 'profiles.profile[ts.clustering.layers.profile].plugins.plugin.(groupId:artifactId)' must be unique but found duplicate declaration of plugin org.wildfly.plugins:wildfly-maven-plugin @ line 1255, column 29
by Radoslav Husar (Jira)
[ https://issues.redhat.com/browse/WFLY-13856?page=com.atlassian.jira.plugi... ]
Radoslav Husar updated WFLY-13856:
----------------------------------
Priority: Major (was: Critical)
> [WARNING] 'profiles.profile[ts.clustering.layers.profile].plugins.plugin.(groupId:artifactId)' must be unique but found duplicate declaration of plugin org.wildfly.plugins:wildfly-maven-plugin @ line 1255, column 29
> -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: WFLY-13856
> URL: https://issues.redhat.com/browse/WFLY-13856
> Project: WildFly
> Issue Type: Bug
> Components: Clustering, Test Suite
> Affects Versions: No Release
> Reporter: Radoslav Husar
> Assignee: Radoslav Husar
> Priority: Major
> Fix For: 21.0.0.Beta1
>
>
> [WARNING]
> [WARNING] Some problems were encountered while building the effective model for org.wildfly:wildfly-ts-integ-clustering:jar:21.0.0.Beta1-SNAPSHOT
> [WARNING] 'profiles.profile[ts.clustering.layers.profile].plugins.plugin.(groupId:artifactId)' must be unique but found duplicate declaration of plugin org.wildfly.plugins:wildfly-maven-plugin @ line 1255, column 29
> [WARNING] 'profiles.profile[ts.clustering.layers.profile].plugins.plugin.(groupId:artifactId)' must be unique but found duplicate declaration of plugin org.apache.maven.plugins:maven-antrun-plugin @ line 1283, column 29
> [WARNING] 'profiles.profile[ts.clustering.layers.profile].plugins.plugin.(groupId:artifactId)' must be unique but found duplicate declaration of plugin org.wildfly.plugins:wildfly-maven-plugin @ line 1310, column 29
> [WARNING] 'profiles.profile[ts.clustering.layers.profile].plugins.plugin.(groupId:artifactId)' must be unique but found duplicate declaration of plugin org.apache.maven.plugins:maven-antrun-plugin @ line 1338, column 29
> [WARNING]
> [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
> [WARNING]
> [WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
> [WARNING]
> Regression probably introduced via https://github.com/wildfly/wildfly/commit/773be0569d80667471dd78493604527...
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 10 months