celix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [celix] pnoltes commented on pull request #223: Feature/pubsub custom serializers
Date Sun, 17 May 2020 18:57:15 GMT

pnoltes commented on pull request #223:
URL: https://github.com/apache/celix/pull/223#issuecomment-629844098


   > > When running the test `pubsub_utils_test`, I get the following failed test:
   > > ```
   > > [ RUN      ] PubSubSerializationProviderTestSuite.FindSerializationServices
   > > [2020-05-12T11:34:51] [info] [celix_framework] [framework_start:579] Celix framework
started
   > > [2020-05-12T11:34:51] [error] [celix_pubsub_serialization_provider] Error adding
descriptor .pubsub_serialization_provider_cache/bundle1/version0.0/META-INF/descriptors/msg_poi1_invalid1.descriptor.
Found msg types with same fqn, but different msg ids. Msg fqn is poi1, but found msg ids are
'42' and '2090622942'. Not adding descriptor with msg id 42.
   > > [2020-05-12T11:34:51] [error] [celix_pubsub_serialization_provider] Error adding
descriptor .pubsub_serialization_provider_cache/bundle1/version0.0/META-INF/descriptors/msg_poi1_invalid1.descriptor.
Found msg types with same msg id, but different msg fqn. Msg id is 42, but found fully qualified
names are 'poi1' and 'poi2'. Not adding descriptor with msg fqn poi1.
   > > [2020-05-12T11:34:51] [warning] [celix_pubsub_serialization_provider] FILE:/home/oipo-unencrypted/Programming/celix-apache/libs/dfi/src/dyn_common.c,
LINE:118, MSG:Error parsing, expected token '�' got 'h' at position 1
   > > [2020-05-12T11:34:51] [warning] [celix_pubsub_serialization_provider] Cannot
parse message from descriptor from entry .pubsub_serialization_provider_cache/bundle1/version0.0/META-INF/descriptors/garbage.descriptor.
   > > 
   > > [2020-05-12T11:34:51] [error] [celix_pubsub_serialization_provider] Error adding
descriptor .pubsub_serialization_provider_cache/bundle1/version0.0/META-INF/descriptors/msg_poi3_invalid2.descriptor.
Found two different version for msg poi3. This is not supported, please align used versions
between bundles!. Versions found 1.1.0 and 1.0.0. Not adding descriptor with version 1.1.0.
   > > [2020-05-12T11:34:51] [error] [celix_pubsub_serialization_provider] Error adding
descriptor .pubsub_serialization_provider_cache/bundle1/version0.0/META-INF/descriptors/msg_poi2.descriptor.
Found msg types with same msg id, but different msg fqn. Msg id is 5555, but found fully qualified
names are 'poi2' and 'poi2_2'. Not adding descriptor with msg fqn poi2.
   > > [2020-05-12T11:34:51] [error] [celix_pubsub_serialization_provider] Error adding
descriptor .pubsub_serialization_provider_cache/bundle1/version0.0/META-INF/descriptors/msg_poi2.descriptor.
Found msg types with same fqn, but different msg ids. Msg fqn is poi2, but found msg ids are
'5555' and '42'. Not adding descriptor with msg id 5555.
   > > /home/oipo-unencrypted/Programming/celix-apache/bundles/pubsub/pubsub_utils/gtest/src/PubSubSerializationProviderTestSuite.cc:66:
Failure
   > > Expected equality of these values:
   > >   4
   > >   nrEntries
   > >     Which is: 5
   > > /home/oipo-unencrypted/Programming/celix-apache/bundles/pubsub/pubsub_utils/gtest/src/PubSubSerializationProviderTestSuite.cc:68:
Failure
   > > Expected equality of these values:
   > >   4
   > >   nrOfInvalidEntries
   > >     Which is: 3
   > > /home/oipo-unencrypted/Programming/celix-apache/bundles/pubsub/pubsub_utils/gtest/src/PubSubSerializationProviderTestSuite.cc:71:
Failure
   > > Expected equality of these values:
   > >   4
   > >   celix_arrayList_size(services)
   > >     Which is: 5
   > > [2020-05-12T11:34:51] [info] [celix_framework] [framework_stop:644] Celix framework
stopped
   > > [  FAILED  ] PubSubSerializationProviderTestSuite.FindSerializationServices (1
ms)
   > > ```
   > 
   > probably still some dependency on the order of loading the test descriptor files.
I will look into this.
   
   @Oipo Could you retest if the tests still fail?


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



Mime
View raw message