[JBoss JIRA] (ISPN-9990) Integrationtests missing java.se module
by Ryan Emerson (Jira)
[ https://issues.jboss.org/browse/ISPN-9990?page=com.atlassian.jira.plugin.... ]
Ryan Emerson updated ISPN-9990:
-------------------------------
Sprint: (was: Sprint 10.0.0.Beta1, DataGrid Sprint #31, DataGrid Sprint #32, DataGrid Sprint #33, DataGrid Sprint #34, DataGrid Sprint #35, DataGrid Sprint #36, DataGrid Sprint #37)
> Integrationtests missing java.se module
> ---------------------------------------
>
> Key: ISPN-9990
> URL: https://issues.jboss.org/browse/ISPN-9990
> Project: Infinispan
> Issue Type: Bug
> Components: Test Suite
> Affects Versions: 10.0.0.Beta1
> Reporter: Ryan Emerson
> Assignee: Ryan Emerson
> Priority: Major
> Fix For: 9.4.10.Final, 10.0.0.Beta3
>
>
> standalone.sh adds the required {{--add-modules java.se}} to the JVM args for most tests, however if the the container is managed by the test this is not present.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 1 month
[JBoss JIRA] (ISPN-10819) GracefulShutdownRestartIT Failure
by Ryan Emerson (Jira)
[ https://issues.jboss.org/browse/ISPN-10819?page=com.atlassian.jira.plugin... ]
Ryan Emerson updated ISPN-10819:
--------------------------------
Sprint: (was: DataGrid Sprint #35, DataGrid Sprint #36, DataGrid Sprint #37)
> GracefulShutdownRestartIT Failure
> ---------------------------------
>
> Key: ISPN-10819
> URL: https://issues.jboss.org/browse/ISPN-10819
> Project: Infinispan
> Issue Type: Bug
> Components: Server, Test Suite
> Reporter: Ryan Emerson
> Assignee: Ryan Emerson
> Priority: Major
> Fix For: 10.0.0.Final
>
>
> The GlobalMarshaller is unable to marshall {{Server.ShutdownRunnable}} as it does not have an externalizer defined. This wasn't an issue when jboss-marshalling was used in the Server as the class was marshalled via Serialization, however now that the default user marshaller is Protostream based this is not possible. The solution is to enable the GlobalMarshaller to be able to marshall the class directly. This can be achieved by defining an Externalizer for the class.
> {code:java}_emphasized text_
> [0] STDOUT: 19:05:14,244 WARN [org.infinispan.PERSISTENCE] (SINGLE_PORT-ServerIO-7-2) ISPN000559: Cannot marshall 'class org.infinispan.server.Server$ShutdownRunnable': java.lang.IllegalArgumentException: No marshaller registered for Java type org.infinispan.server.Server$ShutdownRunnable
> [0] STDOUT: at org.infinispan.protostream.impl.SerializationContextImpl.getMarshallerDelegate(SerializationContextImpl.java:279)
> [0] STDOUT: at org.infinispan.protostream.WrappedMessage.writeMessage(WrappedMessage.java:240)
> [0] STDOUT: at org.infinispan.protostream.ProtobufUtil.toWrappedStream(ProtobufUtil.java:196)
> [0] STDOUT: at org.infinispan.marshall.persistence.impl.PersistenceMarshallerImpl.objectToBuffer(PersistenceMarshallerImpl.java:157)
> [0] STDOUT: at org.infinispan.marshall.persistence.impl.PersistenceMarshallerImpl.objectToByteBuffer(PersistenceMarshallerImpl.java:137)
> [0] STDOUT: at org.infinispan.marshall.persistence.impl.PersistenceMarshallerImpl.objectToByteBuffer(PersistenceMarshallerImpl.java:145)
> [0] STDOUT: at org.infinispan.marshall.core.GlobalMarshaller.writeRawUnknown(GlobalMarshaller.java:638)
> [0] STDOUT: at org.infinispan.marshall.core.GlobalMarshaller.writeUnknown(GlobalMarshaller.java:627)
> [0] STDOUT: at org.infinispan.marshall.core.GlobalMarshaller.writeUnknown(GlobalMarshaller.java:618)
> [0] STDOUT: at org.infinispan.marshall.core.GlobalMarshaller.writeNonNullableObject(GlobalMarshaller.java:384)
> [0] STDOUT: at org.infinispan.marshall.core.GlobalMarshaller.writeNullableObject(GlobalMarshaller.java:352)
> [0] STDOUT: at org.infinispan.marshall.core.BytesObjectOutput.writeObject(BytesObjectOutput.java:26)
> [0] STDOUT: at org.infinispan.manager.impl.ReplicableManagerFunctionCommand.writeTo(ReplicableManagerFunctionCommand.java:54)
> [0] STDOUT: at org.infinispan.marshall.exts.ReplicableCommandExternalizer.writeCommandParameters(ReplicableCommandExternalizer.java:70)
> [0] STDOUT: at org.infinispan.marshall.exts.ReplicableCommandExternalizer.writeObject(ReplicableCommandExternalizer.java:66)
> [0] STDOUT: at org.infinispan.marshall.exts.ReplicableCommandExternalizer.writeObject(ReplicableCommandExternalizer.java:54)
> [0] STDOUT: at org.infinispan.marshall.core.GlobalMarshaller.writeInternal(GlobalMarshaller.java:656)
> [0] STDOUT: at org.infinispan.marshall.core.GlobalMarshaller.writeNonNullableObject(GlobalMarshaller.java:371)
> [0] STDOUT: at org.infinispan.marshall.core.GlobalMarshaller.writeNullableObject(GlobalMarshaller.java:352)
> [0] STDOUT: at org.infinispan.marshall.core.GlobalMarshaller.writeObjectOutput(GlobalMarshaller.java:181)
> [0] STDOUT: at org.infinispan.marshall.core.GlobalMarshaller.writeObjectOutput(GlobalMarshaller.java:174)
> [0] STDOUT: at org.infinispan.marshall.core.GlobalMarshaller.objectToBuffer(GlobalMarshaller.java:302)+underlined text+
> {code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 1 month
[JBoss JIRA] (ISPN-10413) os-maven-plugin not setting `os.detected.classifier` property on partial maven builds
by Ryan Emerson (Jira)
[ https://issues.jboss.org/browse/ISPN-10413?page=com.atlassian.jira.plugin... ]
Ryan Emerson updated ISPN-10413:
--------------------------------
Sprint: (was: DataGrid Sprint #31, DataGrid Sprint #32, DataGrid Sprint #33, DataGrid Sprint #34, DataGrid Sprint #35, DataGrid Sprint #36, DataGrid Sprint #37)
> os-maven-plugin not setting `os.detected.classifier` property on partial maven builds
> -------------------------------------------------------------------------------------
>
> Key: ISPN-10413
> URL: https://issues.jboss.org/browse/ISPN-10413
> Project: Infinispan
> Issue Type: Bug
> Components: Build
> Affects Versions: 10.0.0.Beta4
> Reporter: Ryan Emerson
> Assignee: Ryan Emerson
> Priority: Major
> Fix For: 10.0.0.Beta5
>
>
> When executing {{mvn clean install -am -pl core}} the commons module will fail because the property {{os.detected.classifier}} is not set by the {{os-maven-plugin}} resulting in a NPE being thrown by the {{proto-schema-compatibility}} maven plugin.
> {code:java}
> [ERROR] Failed to execute goal org.infinispan.maven-plugins:proto-schema-compatibility:1.0.1.Final:proto-schema-compatibility-check (default) on project infinispan-commons: Execution default of goal org.infinispan.maven-plugins:proto-schema-compatibility:1.0.1.Final:proto-schema-compatibility-check failed.: NullPointerException -> [Help 1]
> {code}
> The solution is to add the following to the parent pom:
> {code:java}
> <extensions>
> <extension>
> <groupId>kr.motd.maven</groupId>
> <artifactId>os-maven-plugin</artifactId>
> </extension>
> </extensions>
> {code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 1 month
[JBoss JIRA] (ISPN-9905) Rest store should retrieve created and lastUsed TS from server
by Ryan Emerson (Jira)
[ https://issues.jboss.org/browse/ISPN-9905?page=com.atlassian.jira.plugin.... ]
Ryan Emerson updated ISPN-9905:
-------------------------------
Sprint: (was: Sprint 10.0.0.Beta1, DataGrid Sprint #31, DataGrid Sprint #32, DataGrid Sprint #33, DataGrid Sprint #34, DataGrid Sprint #35, DataGrid Sprint #36, DataGrid Sprint #37)
> Rest store should retrieve created and lastUsed TS from server
> --------------------------------------------------------------
>
> Key: ISPN-9905
> URL: https://issues.jboss.org/browse/ISPN-9905
> Project: Infinispan
> Issue Type: Enhancement
> Components: Loaders and Stores, REST
> Affects Versions: 10.0.0.Alpha2
> Reporter: Ryan Emerson
> Assignee: Ryan Emerson
> Priority: Major
> Fix For: 10.0.0.Beta1
>
>
> Currently the rest store simply sets the created and lastUsed entries to the current time of the node loading an entry, instead we should retrieve this value from the server if fetchMetadata is true.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 1 month
[JBoss JIRA] (ISPN-10743) Serializer should only serialize user defined AdvancedExternalizers
by Ryan Emerson (Jira)
[ https://issues.jboss.org/browse/ISPN-10743?page=com.atlassian.jira.plugin... ]
Ryan Emerson updated ISPN-10743:
--------------------------------
Sprint: (was: DataGrid Sprint #35, DataGrid Sprint #36, DataGrid Sprint #37)
> Serializer should only serialize user defined AdvancedExternalizers
> -------------------------------------------------------------------
>
> Key: ISPN-10743
> URL: https://issues.jboss.org/browse/ISPN-10743
> Project: Infinispan
> Issue Type: Bug
> Components: Configuration
> Affects Versions: 10.0.0.CR3
> Reporter: Ryan Emerson
> Assignee: Ryan Emerson
> Priority: Major
> Fix For: 10.0.0.Final
>
>
> ISPN-10727 Is caused because the Serialization configuration is deemed to have been modified by a user in the test setup. However, the classes being serialized are the internal Externalizers that are defined in various modules ModuleLifecycle implementations and are of no significance to the user, as they will always be applied regardless of the xml configuration. Therefore, we should hide all internal Externalizer classes from the user.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 1 month
[JBoss JIRA] (ISPN-10609) Extend Marshaller interface to expose configured ClassWhiteList to implementation
by Ryan Emerson (Jira)
[ https://issues.jboss.org/browse/ISPN-10609?page=com.atlassian.jira.plugin... ]
Ryan Emerson updated ISPN-10609:
--------------------------------
Sprint: (was: DataGrid Sprint #34, DataGrid Sprint #35, DataGrid Sprint #36, DataGrid Sprint #37)
> Extend Marshaller interface to expose configured ClassWhiteList to implementation
> ---------------------------------------------------------------------------------
>
> Key: ISPN-10609
> URL: https://issues.jboss.org/browse/ISPN-10609
> Project: Infinispan
> Issue Type: Enhancement
> Components: Core
> Affects Versions: 10.0.0.CR2
> Reporter: Ryan Emerson
> Assignee: Ryan Emerson
> Priority: Major
> Fix For: 10.0.0.Final
>
>
> ClassWhiteList is a generic white list that can be configured via our XML, it doesn't have anything specifc to Serialization. We should allow a user's marshaller implementation, set via SerializationConfiguration#marshaller, to utilise the configured values to limit what can/can't be marshalled.
> For our internal code this is nice because it will prevent us from requiring hacky code like the following in the PersistenceMarshallerImpl if the user wants to utilise our provided JavaSerializationMarshaller:
> {code:java}
> if (userMarshaller instanceof JavaSerializationMarshaller) {
> ((JavaSerialzationMarshaller) userMarshaller).setWhiteList(whiteListImpl);
> } else if (userMarshaller instanceof ...) {
> ...
> }
> {code}
> Proposed change to the Marshaller interface:
> {code:java}
> default void initialize(ClassWhiteList whiteList) {
> // no-op
> }
> {code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 1 month
[JBoss JIRA] (ISPN-10978) Fix infinispan-console-ng dependency in pom.xml
by Pedro Ruivo (Jira)
Pedro Ruivo created ISPN-10978:
----------------------------------
Summary: Fix infinispan-console-ng dependency in pom.xml
Key: ISPN-10978
URL: https://issues.jboss.org/browse/ISPN-10978
Project: Infinispan
Issue Type: Task
Components: Build
Affects Versions: 10.1.0.Beta1
Reporter: Pedro Ruivo
Assignee: Pedro Ruivo
The downstream pipeline is unable to update the {{infinispan-console-ng}} version.
It needs to be declared in the {{dependencyManagement}} section.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 1 month