serenity-bdd / serenity-core

Serenity BDD is a test automation library designed to make writing automated acceptance tests easier, and more fun.
http://serenity-bdd.info
Other
721 stars 517 forks source link

java.lang.IncompatibleClassChangeError: vtable stub #2671

Closed yavgel closed 2 years ago

yavgel commented 2 years ago

Tried to update Serenity with the latest version 3.1.15 from 2.3.12

got java.lang.IncompatibleClassChangeError: vtable stub:

sasha@rock ~/I/automation (master)> mvn clean verify -Dtags="qa"
[INFO] Scanning for projects...
[INFO] 
[INFO] ------------------------< com.rekki:automation >------------------------
[INFO] Building REKKI UI/API Functionality Autotests 1.0-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ automation ---
[INFO] Deleting /Users/sasha/IdeaProjects/automation/target
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ automation ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 63 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ automation ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ automation ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 9 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ automation ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 120 source files to /Users/sasha/IdeaProjects/automation/target/test-classes
[INFO] 
[INFO] --- maven-surefire-plugin:2.22.2:test (default-test) @ automation ---
[INFO] 
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO] Running features.api_jazo.QueryParameterTests
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.611 s - in features.api_jazo.QueryParameterTests
[INFO] Running features.api_jazo.SizeParameterTests
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in features.api_jazo.SizeParameterTests
[INFO] Running features.api_jazo.SupplierIdParameterTests
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in features.api_jazo.SupplierIdParameterTests
[INFO] Running features.api_jazo.ExplainParameterTests
[main] INFO  - 

-------------------------------------------------------------------------------------
     _______. _______ .______       _______ .__   __.  __  .___________.____    ____ 
    /       ||   ____||   _  \     |   ____||  \ |  | |  | |           |\   \  /   / 
   |   (----`|  |__   |  |_)  |    |  |__   |   \|  | |  | `---|  |----` \   \/   /  
    \   \    |   __|  |      /     |   __|  |  . `  | |  |     |  |       \_    _/   
.----)   |   |  |____ |  |\  \----.|  |____ |  |\   | |  |     |  |         |  |     
|_______/    |_______|| _| `._____||_______||__| \__| |__|     |__|         |__|    

 News and tutorials at http://www.serenity-bdd.info                                  
 Documentation at https://wakaleo.gitbooks.io/the-serenity-book/content/             
 Join the Serenity Community on Gitter: https://gitter.im/serenity-bdd/serenity-core 
 Serenity BDD Support and Training at http://serenity-bdd.info/#/trainingandsupport  
-------------------------------------------------------------------------------------

[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.221 s - in features.api_jazo.ExplainParameterTests
[INFO] Running features.api_jazo.QueriesParameterTests
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in features.api_jazo.QueriesParameterTests
[INFO] Running features.api_jazo.ChatIdWithSupplierIdParametersTest
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 s - in features.api_jazo.ChatIdWithSupplierIdParametersTest
[INFO] Running features.api_jazo.OffsetParameterTest
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 s - in features.api_jazo.OffsetParameterTest
[INFO] Running features.ui_supplier.payments.ExistingPaymentSettingsTest
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 s - in features.ui_supplier.payments.ExistingPaymentSettingsTest
[INFO] Running features.ui_supplier.payments.NewPaymentSettingsTest
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 s - in features.ui_supplier.payments.NewPaymentSettingsTest
[INFO] Running features.ui_supplier.supplier_buyer_invite.InviteFromSupplierProductTest
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 s - in features.ui_supplier.supplier_buyer_invite.InviteFromSupplierProductTest
[INFO] Running features.ui_supplier.catalogue.AddProductTest
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 s - in features.ui_supplier.catalogue.AddProductTest
[INFO] Running features.ui_supplier.broadcast.BroadcastProductsTest
[main] INFO  - Test Suite Started: Broadcast products test
[main] INFO  - 
  _____   ___   ___   _____     ___   _____     _     ___   _____   ___   ___  
 |_   _| | __| / __| |_   _|   / __| |_   _|   /_\   | _ \ |_   _| | __| |   \ 
   | |   | _|  \__ \   | |     \__ \   | |    / _ \  |   /   | |   | _|  | |) |
   |_|   |___| |___/   |_|     |___/   |_|   /_/ \_\ |_|_\   |_|   |___| |___/ 

broadcast_products_test
--------------------------------------------------------------------------------
[main] INFO org.reflections.Reflections - Reflections took 58 ms to scan 1 urls, producing 11 keys and 124 values
[main] ERROR  - 
  _____   ___   ___   _____     ___   ___   ___    ___    ___ 
 |_   _| | __| / __| |_   _|   | __| | _ \ | _ \  / _ \  | _ \
   | |   | _|  \__ \   | |     | _|  |   / |   / | (_) | |   /
   |_|   |___| |___/   |_|     |___| |_|_\ |_|_\  \___/  |_|_\

Broadcast products test
---------------------------------------------------------------
[main] ERROR  -     vtable stub
[main] INFO org.reflections.Reflections - Reflections took 20 ms to scan 1 urls, producing 11 keys and 124 values
[pool-24-thread-1] INFO org.reflections.Reflections - Reflections took 27 ms to scan 1 urls, producing 11 keys and 124 values
[pool-24-thread-1] INFO serenity.reporting - 
--------------------------------------
| TEST NAME:   broadcast_products_test
| RESULT:      Broken
| REQUIREMENT: Broadcast products test
| REPORT:      file:///Users/sasha/IdeaProjects/automation/target/site/serenity/0cc96c8f47181390e69a1cdcdc39fd377f1e6c929f2599a9c840522304c91779.html
--------------------------------------
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 2.217 s <<< FAILURE! - in features.ui_supplier.broadcast.BroadcastProductsTest
[ERROR] broadcast_products_test(features.ui_supplier.broadcast.BroadcastProductsTest)  Time elapsed: 0.282 s  <<< ERROR!
java.lang.IncompatibleClassChangeError: vtable stub

[INFO] Running features.ui_supplier.login.LogoutTest
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in features.ui_supplier.login.LogoutTest
[INFO] Running features.emails.ReceivingOrderEmailRepresentativeTest
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 s - in features.emails.ReceivingOrderEmailRepresentativeTest
[INFO] Running features.emails.feat.ReceivingMediaMessageEmailFeatTest
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 s - in features.emails.feat.ReceivingMediaMessageEmailFeatTest
[INFO] Running features.emails.feat.ReceivingOrderEmailFeatTest
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 s - in features.emails.feat.ReceivingOrderEmailFeatTest
[INFO] Running features.emails.feat.ReceivingOrderEmailRepresentativeFeatTest
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 s - in features.emails.feat.ReceivingOrderEmailRepresentativeFeatTest
[INFO] Running features.emails.feat.ReceivingTextMessageEmailFeatTest
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 s - in features.emails.feat.ReceivingTextMessageEmailFeatTest
[INFO] Running features.emails.ReceivingMediaMessageEmailTest
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 s - in features.emails.ReceivingMediaMessageEmailTest
[INFO] Running features.emails.ReceivingOrderForwardingEmailTest
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 s - in features.emails.ReceivingOrderForwardingEmailTest
[INFO] Running features.emails.ReceivingOrderEmailTest
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in features.emails.ReceivingOrderEmailTest
[INFO] Running features.emails.ReceivingTextMessageEmailTest
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in features.emails.ReceivingTextMessageEmailTest
[INFO] Running features.api_hulk.flags.FlagsWebsocketTokenTest
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in features.api_hulk.flags.FlagsWebsocketTokenTest
[INFO] Running features.api_hulk.suppliers.SupplierDetailsSignupRecordTest
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in features.api_hulk.suppliers.SupplierDetailsSignupRecordTest
[INFO] Running features.api_hulk.suppliers.ListSupplierCatalogueItemsTest
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in features.api_hulk.suppliers.ListSupplierCatalogueItemsTest
[INFO] Running features.api_hulk.suppliers.SearchForSuppliersTest
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in features.api_hulk.suppliers.SearchForSuppliersTest
[INFO] Running features.api_hulk.suppliers.GetExistingSupplierChatsForBuyerTest
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in features.api_hulk.suppliers.GetExistingSupplierChatsForBuyerTest
[INFO] Running features.api_hulk.chat.GetUpdateInformationTest
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in features.api_hulk.chat.GetUpdateInformationTest
[INFO] Running features.api_hulk.chat.RetrieveDynconfSettingsTest
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in features.api_hulk.chat.RetrieveDynconfSettingsTest
[INFO] Running features.api_hulk.chat.FeatRetrieveDynconfSettingsTest
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in features.api_hulk.chat.FeatRetrieveDynconfSettingsTest
[INFO] Running features.api_hulk.chat.channel_actions.convo.GetSupplierChatSettingsTest
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in features.api_hulk.chat.channel_actions.convo.GetSupplierChatSettingsTest
[INFO] Running features.api_hulk.chat.channel_actions.order.GetMostRecentProductListTest
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in features.api_hulk.chat.channel_actions.order.GetMostRecentProductListTest
[INFO] Running features.api_hulk.chat.channel_actions.order.GetOrderDefaultsTest
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in features.api_hulk.chat.channel_actions.order.GetOrderDefaultsTest
[INFO] Running features.api_hulk.chat.channel_actions.order.GetMostRecentlyPlacedOrderTest
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in features.api_hulk.chat.channel_actions.order.GetMostRecentlyPlacedOrderTest
[INFO] Running features.api_hulk.chat.channel_actions.order.CatalogueItemsTest
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in features.api_hulk.chat.channel_actions.order.CatalogueItemsTest
[INFO] Running features.api_hulk.chat.channel_actions.order.AddItemManuallyTest
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in features.api_hulk.chat.channel_actions.order.AddItemManuallyTest
[INFO] Running features.api_hulk.chat.channel_actions.order.CreateNewOrderTest
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in features.api_hulk.chat.channel_actions.order.CreateNewOrderTest
[INFO] Running features.api_hulk.chat.channel_actions.order.AddCatalogueItemsToProductListTest
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in features.api_hulk.chat.channel_actions.order.AddCatalogueItemsToProductListTest
[INFO] Running features.api_hulk.chat.channel_actions.order.SearchSupplierCatalogueTest
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in features.api_hulk.chat.channel_actions.order.SearchSupplierCatalogueTest
[INFO] Running features.api_hulk.chat.channel_actions.order.GetCurrentDeliveryLocationTest
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in features.api_hulk.chat.channel_actions.order.GetCurrentDeliveryLocationTest
[INFO] Running features.api_hulk.chat.channel_actions.user_channel.FeatCreateBrandNewChatSupplierTest
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in features.api_hulk.chat.channel_actions.user_channel.FeatCreateBrandNewChatSupplierTest
[INFO] Running features.api_hulk.chat.channel_actions.user_channel.FeatCreateNewSupplierChatTest
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in features.api_hulk.chat.channel_actions.user_channel.FeatCreateNewSupplierChatTest
[INFO] Running features.api_hulk.chat.channel_actions.user_channel.CreateNewSupplierChatTest
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in features.api_hulk.chat.channel_actions.user_channel.CreateNewSupplierChatTest
[INFO] Running features.api_hulk.chat.channel_actions.user_channel.CreateNewBuyerBranchTest
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in features.api_hulk.chat.channel_actions.user_channel.CreateNewBuyerBranchTest
[INFO] Running features.api_hulk.chat.channel_actions.user_channel.ChatParticipantTests
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in features.api_hulk.chat.channel_actions.user_channel.ChatParticipantTests
[INFO] Running features.api_hulk.chat.channel_actions.buyer.GetListOfDeliveryAddressesTest
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in features.api_hulk.chat.channel_actions.buyer.GetListOfDeliveryAddressesTest
[INFO] Running features.api_hulk.chat.channel_actions.buyer.RemoveParticipantFromBranchTest
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in features.api_hulk.chat.channel_actions.buyer.RemoveParticipantFromBranchTest
[INFO] Running features.api_hulk.auth.users.CreateNewUserTest
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in features.api_hulk.auth.users.CreateNewUserTest
[INFO] Running features.api_hulk.auth.users.CheckUserExistsTests
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in features.api_hulk.auth.users.CheckUserExistsTests
[INFO] Running features.api_hulk.auth.users.CheckAvailabilityTests
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in features.api_hulk.auth.users.CheckAvailabilityTests
[INFO] Running features.api_hulk.auth.codes.RequestLoginCodeTest
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 s - in features.api_hulk.auth.codes.RequestLoginCodeTest
[INFO] Running features.api_hulk.auth.codes.ValidateCodeTests
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 s - in features.api_hulk.auth.codes.ValidateCodeTests
[INFO] Running features.api_hulk.buyers_item.DeleteItemFromProductListTest
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 s - in features.api_hulk.buyers_item.DeleteItemFromProductListTest
[INFO] Running features.api_hulk.market.onboarding.GetListOfSuppliersForSpecificCityTest
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 s - in features.api_hulk.market.onboarding.GetListOfSuppliersForSpecificCityTest
[INFO] Running features.api_hulk.market.onboarding.GetListOfSuppliersByCityTest
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 s - in features.api_hulk.market.onboarding.GetListOfSuppliersByCityTest
[INFO] Running features.api_hulk.buyer.SupplierChatExistsTests
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 s - in features.api_hulk.buyer.SupplierChatExistsTests
[INFO] Running features.api_wasabi.catalog.ListMessagesBySupplierChatTest
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 s - in features.api_wasabi.catalog.ListMessagesBySupplierChatTest
[INFO] Running features.api_wasabi.catalog.sp_user.SetConvosLastSeenTest
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 s - in features.api_wasabi.catalog.sp_user.SetConvosLastSeenTest
[INFO] Running features.api_wasabi.catalog.sp_user.GetMyTeamTest
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in features.api_wasabi.catalog.sp_user.GetMyTeamTest
[INFO] Running features.api_wasabi.catalog.sp_user.GetOrdersForTimeRangeTest
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 s - in features.api_wasabi.catalog.sp_user.GetOrdersForTimeRangeTest
[INFO] Running features.api_wasabi.catalog.ListProductsBySupplierTests
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in features.api_wasabi.catalog.ListProductsBySupplierTests
[INFO] Running features.api_wasabi.catalog.SetProductListItemTest
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in features.api_wasabi.catalog.SetProductListItemTest
[INFO] Running features.api_wasabi.catalog.GetChatSettingsBySupplierTest
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 s - in features.api_wasabi.catalog.GetChatSettingsBySupplierTest
[INFO] Running features.api_wasabi.catalog.ListConvosBySupplierTests
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 s - in features.api_wasabi.catalog.ListConvosBySupplierTests
[INFO] Running features.api_wasabi.catalog.SupplierExperimentTest
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 s - in features.api_wasabi.catalog.SupplierExperimentTest
[INFO] Running features.api_wasabi.catalog.SendMessageTests
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 s - in features.api_wasabi.catalog.SendMessageTests
[INFO] Running features.api_wasabi.catalog.ConfirmOrderBySupplierTest
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 s - in features.api_wasabi.catalog.ConfirmOrderBySupplierTest
[INFO] Running features.api_wasabi.catalog.SetProductBySupplierTests
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 s - in features.api_wasabi.catalog.SetProductBySupplierTests
[INFO] Running features.api_wasabi.catalog.SendOpenMessageBySupplierTest
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in features.api_wasabi.catalog.SendOpenMessageBySupplierTest
[INFO] Running features.api_wasabi.catalog.LoginBySupplierTests
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 s - in features.api_wasabi.catalog.LoginBySupplierTests
[INFO] Running features.api_wasabi.supplier.GetSupplierSettingsTest
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 s - in features.api_wasabi.supplier.GetSupplierSettingsTest
[INFO] Running features.api_wasabi.supplier.TagsAllTest
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in features.api_wasabi.supplier.TagsAllTest
[INFO] Running features.api_marketplace.MarketplaceWordsTest
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 s - in features.api_marketplace.MarketplaceWordsTest
[INFO] Running features.api_marketplace.TemplatesTest
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in features.api_marketplace.TemplatesTest
[INFO] Running features.api_marketplace.prefer.PreferCategoriesTest
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in features.api_marketplace.prefer.PreferCategoriesTest
[INFO] Running features.api_marketplace.count.CountCategoriesTest
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 s - in features.api_marketplace.count.CountCategoriesTest
[INFO] Running features.api_marketplace.SupplierTest
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 s - in features.api_marketplace.SupplierTest
[INFO] Running features.api_marketplace.list.SuppliersTest
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 s - in features.api_marketplace.list.SuppliersTest
[INFO] Running features.api_marketplace.ExpTest
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in features.api_marketplace.ExpTest
[INFO] Running features.api_marketplace.OffersTest
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in features.api_marketplace.OffersTest
[INFO] Running features.api_marketplace.MarketplaceTest
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 s - in features.api_marketplace.MarketplaceTest
[INFO] 
[INFO] Results:
[INFO] 
[ERROR] Errors: 
[ERROR]   BroadcastProductsTest.broadcast_products_test » IncompatibleClassChange vtable...
[INFO] 
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0
[INFO] 
[ERROR] There are test failures.

Please refer to /Users/sasha/IdeaProjects/automation/target/surefire-reports for the individual test results.
Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
[INFO] 
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ automation ---
[INFO] Building jar: /Users/sasha/IdeaProjects/automation/target/automation-1.0-SNAPSHOT.jar
[INFO] 
[INFO] --- maven-failsafe-plugin:2.22.2:integration-test (default) @ automation ---
[INFO] 
[INFO] --- serenity-maven-plugin:3.1.15:aggregate (serenity-reports) @ automation ---
[INFO] Reflections took 61 ms to scan 1 urls, producing 11 keys and 124 values
[INFO] Test results for 1 tests generated in 817 ms in directory: file:/Users/sasha/IdeaProjects/automation/target/site/serenity/
[INFO] -----------------------------------------
[INFO]  SERENITY TESTS: ERROR
[INFO] -----------------------------------------
[INFO] | Tests executed         | 1
[INFO] | Tests passed           | 0
[INFO] | Tests failed           | 0
[INFO] | Tests with errors      | 1
[INFO] | Tests compromised      | 0
[INFO] | Tests aborted          | 0
[INFO] | Tests pending          | 0
[INFO] | Tests ignored/skipped  | 0
[INFO] ------------------------ | --------------
[INFO] | Total Duration         | 292ms
[INFO] | Fastest test took      | 292ms
[INFO] | Slowest test took      | 292ms
[INFO] -----------------------------------------
[INFO] 
[INFO] SERENITY REPORTS
[INFO]   - Full Report: file:///Users/sasha/IdeaProjects/automation/target/site/serenity/index.html
[INFO] 
[INFO] --- maven-failsafe-plugin:2.22.2:verify (default) @ automation ---
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  13.043 s
[INFO] Finished at: 2022-01-21T18:21:27+01:00
[INFO] ------------------------------------------------------------------------
sasha@rock ~/I/automation (master)> 

Here is my POM:

<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>

    <groupId>com.rekki</groupId>
    <artifactId>automation</artifactId>
    <version>1.0-SNAPSHOT</version>

    <name>REKKI UI/API Functionality Autotests</name>

    <properties>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
        <serenity.version>3.1.15</serenity.version>
        <maven.surefire.and.failsafe.plugins.version>2.22.2</maven.surefire.and.failsafe.plugins.version>
        <java.version>1.8</java.version>
    </properties>

    <dependencies>

        <dependency>
            <groupId>net.serenity-bdd</groupId>
            <artifactId>serenity-junit</artifactId>
            <version>${serenity.version}</version>
        </dependency>

        <dependency>
            <groupId>net.serenity-bdd</groupId>
            <artifactId>serenity-rest-assured</artifactId>
            <version>${serenity.version}</version>
        </dependency>

        <dependency>
            <groupId>org.slf4j</groupId>
            <artifactId>slf4j-simple</artifactId>
            <version>1.7.32</version>
            <scope>test</scope>
        </dependency>

        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <version>4.13.2</version>
            <scope>test</scope>
        </dependency>

        <!--NOTE!!! Should be the same version as REST Assured wrapped into Serenity-->
        <dependency>
            <groupId>io.rest-assured</groupId>
            <artifactId>json-schema-validator</artifactId>
            <version>4.4.0</version>
            <scope>test</scope>
            <exclusions>
                <exclusion>
                    <groupId>com.github.java-json-tools</groupId>
                    <artifactId>json-schema-validator</artifactId>
                </exclusion>
            </exclusions>
        </dependency>

        <!--TODO refactor dependencies-->
        <dependency>
            <groupId>com.github.java-json-tools</groupId>
            <artifactId>json-schema-validator</artifactId>
            <version>2.2.14</version>
            <exclusions>
                <exclusion>
                    <groupId>javax.mail</groupId>
                    <artifactId>mailapi</artifactId>
                </exclusion>
            </exclusions>
        </dependency>

        <dependency>
            <groupId>org.assertj</groupId>
            <artifactId>assertj-core</artifactId>
            <version>3.22.0</version>
            <scope>test</scope>
        </dependency>

        <dependency>
            <groupId>com.fasterxml.jackson.core</groupId>
            <artifactId>jackson-databind</artifactId>
            <version>2.13.1</version>
            <scope>test</scope>
        </dependency>

        <dependency>
            <groupId>org.json</groupId>
            <artifactId>json</artifactId>
            <version>20210307</version>
            <scope>test</scope>
        </dependency>

        <dependency>
            <groupId>org.hamcrest</groupId>
            <artifactId>hamcrest-core</artifactId>
            <version>2.2</version>
            <scope>test</scope>
        </dependency>

        <!--JavaMail API-->
        <dependency>
            <groupId>javax.mail</groupId>
            <artifactId>javax.mail-api</artifactId>
            <version>1.6.2</version>
        </dependency>

        <dependency>
            <groupId>com.sun.mail</groupId>
            <artifactId>smtp</artifactId>
            <version>2.0.1</version>
        </dependency>

        <dependency>
            <groupId>com.sun.mail</groupId>
            <artifactId>javax.mail</artifactId>
            <version>1.6.2</version>
        </dependency>

    </dependencies>

    <build>
        <pluginManagement>
            <plugins>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-compiler-plugin</artifactId>
                    <version>3.8.1</version>
                    <configuration>
                        <source>${java.version}</source>
                        <target>${java.version}</target>
                    </configuration>
                </plugin>

            </plugins>
        </pluginManagement>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-surefire-plugin</artifactId>
                <version>${maven.surefire.and.failsafe.plugins.version}</version>
                <configuration>
                    <includes>
                        <include>**/*Test.java</include>
                        <include>**/*Tests.java</include>
                    </includes>
                    <testFailureIgnore>true</testFailureIgnore>
                </configuration>
            </plugin>

            <plugin>
                <artifactId>maven-failsafe-plugin</artifactId>
                <version>${maven.surefire.and.failsafe.plugins.version}</version>
                <executions>
                    <execution>
                        <goals>
                            <goal>integration-test</goal>
                            <goal>verify</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>

            <plugin>
                <groupId>net.serenity-bdd.maven.plugins</groupId>
                <artifactId>serenity-maven-plugin</artifactId>
                <version>${serenity.version}</version>

                <dependencies>
                    <dependency>
                        <groupId>net.serenity-bdd</groupId>
                        <artifactId>serenity-core</artifactId>
                        <version>${serenity.version}</version>
                    </dependency>
                </dependencies>

                <executions>
                    <execution>
                        <id>serenity-reports</id>
                        <phase>post-integration-test</phase>
                        <goals>
                            <goal>aggregate</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>

</project>
yavgel commented 2 years ago

image

wakaleo commented 2 years ago

"vtable stub" is a JVM error - try doing a clean build.

wakaleo commented 2 years ago

Closing presumed fixed.

yavgel commented 2 years ago

clean build

hi, @wakaleo - could you please give me a hint on how to clean rebuild my project in order to fix this issue. Cannot fix it...

wakaleo commented 2 years ago

mvn clean verify

yavgel commented 2 years ago

mvn clean verify

Doesn’t help, unfortunately

wakaleo commented 2 years ago

It's a JVM issue, not related to Serenity I think. Check your dependencies for dependency conflicts and maybe try different JVM versions