Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for Android error route ip+net: netlinkrib: permission denied #17166

Merged
merged 3 commits into from
Sep 6, 2023

Conversation

Samyoul
Copy link
Member

@Samyoul Samyoul commented Sep 1, 2023

Mobile build of status-im/status-go#3982

Resolved #17156

@Samyoul Samyoul self-assigned this Sep 1, 2023
@status-im-auto
Copy link
Member

status-im-auto commented Sep 1, 2023

Jenkins Builds

Click to see older builds (34)
Commit #️⃣ Finished (UTC) Duration Platform Result
4cfcd5e #1 2023-09-01 12:44:06 ~2 min android-e2e 📄log
4cfcd5e #1 2023-09-01 12:45:14 ~3 min android 📄log
4cfcd5e #2 2023-09-01 12:46:48 ~22 sec android 📄log
4cfcd5e #3 2023-09-01 12:49:47 ~2 min android 📄log
✔️ 4cfcd5e #1 2023-09-01 12:52:27 ~10 min tests 📄log
✔️ 4cfcd5e #1 2023-09-01 12:55:00 ~12 min ios 📱ipa 📲
4cfcd5e #2 2023-09-01 13:19:57 ~7.6 sec android-e2e 📄log
4cfcd5e #4 2023-09-01 13:20:42 ~6.5 sec android 📄log
4cfcd5e #3 2023-09-01 13:20:57 ~6.2 sec android-e2e 📄log
4cfcd5e #4 2023-09-01 13:23:41 ~1 min android-e2e 📄log
4cfcd5e #5 2023-09-01 13:24:09 ~2 min android 📄log
4cfcd5e #5 2023-09-04 08:39:41 ~1 min android-e2e 📄log
d9449e0 #2 2023-09-04 13:08:15 ~3 min ios 📄log
✔️ 4d8af58 #7 2023-09-04 13:18:21 ~5 min android 🤖apk 📲
✔️ 4d8af58 #7 2023-09-04 13:20:20 ~7 min android-e2e 🤖apk 📲
✔️ 4d8af58 #3 2023-09-04 13:21:54 ~9 min ios 📱ipa 📲
✔️ 4d8af58 #3 2023-09-04 13:22:47 ~10 min tests 📄log
✔️ 7058c29 #8 2023-09-04 14:22:35 ~6 min android-e2e 🤖apk 📲
✔️ 7058c29 #8 2023-09-04 14:23:44 ~7 min android 🤖apk 📲
✔️ 7058c29 #4 2023-09-04 14:24:47 ~8 min ios 📱ipa 📲
✔️ 7058c29 #4 2023-09-04 14:28:05 ~11 min tests 📄log
✔️ 2658041 #9 2023-09-04 15:26:41 ~7 min android-e2e 🤖apk 📲
✔️ 2658041 #5 2023-09-04 15:27:17 ~8 min ios 📱ipa 📲
✔️ 2658041 #9 2023-09-04 15:27:46 ~9 min android 🤖apk 📲
✔️ 2658041 #5 2023-09-04 15:30:09 ~11 min tests 📄log
15ff4c7 #6 2023-09-05 09:24:17 ~3 min ios 📄log
7422280 #7 2023-09-05 09:33:52 ~5 min ios 📄log
7422280 #11 2023-09-05 09:33:55 ~6 min android-e2e 📄log
✔️ 7422280 #7 2023-09-05 09:37:38 ~9 min tests 📄log
✔️ 7422280 #11 2023-09-05 09:37:44 ~9 min android 🤖apk 📲
✔️ 3ac8b12 #12 2023-09-05 09:48:57 ~10 min android-e2e 🤖apk 📲
✔️ 3ac8b12 #12 2023-09-05 09:49:52 ~11 min android 🤖apk 📲
✔️ 3ac8b12 #8 2023-09-05 09:50:15 ~11 min tests 📄log
✔️ 3ac8b12 #8 2023-09-05 09:53:04 ~14 min ios 📱ipa 📲
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ cbe4450 #13 2023-09-05 11:58:21 ~8 min android 🤖apk 📲
✔️ cbe4450 #9 2023-09-05 11:59:34 ~9 min tests 📄log
✔️ cbe4450 #13 2023-09-05 12:08:32 ~18 min android-e2e 🤖apk 📲
✔️ cbe4450 #9 2023-09-05 12:09:47 ~19 min ios 📱ipa 📲
✔️ ec47851 #14 2023-09-06 07:20:12 ~5 min android-e2e 🤖apk 📲
✔️ ec47851 #10 2023-09-06 07:21:16 ~6 min ios 📱ipa 📲
✔️ ec47851 #14 2023-09-06 07:22:32 ~7 min android 🤖apk 📲
✔️ ec47851 #10 2023-09-06 07:23:51 ~9 min tests 📄log

@Samyoul
Copy link
Member Author

Samyoul commented Sep 1, 2023

Hey @status-im/on-call there seems to be something weird going on with this PR, it keeps failing to build for Android

@Samyoul
Copy link
Member Author

Samyoul commented Sep 1, 2023

Follow up on the Android build failure, the root status-go PR is building for android fine https://ci.status.im/job/status-go/job/prs/job/android/job/PR-3982/1/display/redirect

@churik
Copy link
Member

churik commented Sep 4, 2023

@Samyoul
Fix for Android error `route ip+net: netlinkrib: permission denied` by Samyoul · Pull Request #17166 · status-im:status-mobile 2023-09-04 11-01-16
is not that an issue?

@churik
Copy link
Member

churik commented Sep 4, 2023

@qfrank
Android still stuck on scanning QR from Desktop RC (go-version 0.164).
Logs from Android: Status-debug-logs.zip

@qfrank can you please recheck whether it is the same #17137 (comment) or #16987 ?

should I report it separately or add info to existing issues?

@qfrank
Copy link
Contributor

qfrank commented Sep 4, 2023

can you please recheck whether it is the same #17137 (comment) or #16987 ?
should I report it separately or add info to existing issues?

they are the same @churik

@Samyoul
Copy link
Member Author

Samyoul commented Sep 4, 2023

@churik I've pushed an updated version using the commit hash as the target. I didn't realise that targeting PR number would cause a problem with the build... Well we'll see what happens

@qfrank
Copy link
Contributor

qfrank commented Sep 4, 2023

@churik I've pushed an updated version using the commit hash as the target. I didn't realise that targeting PR number would cause a problem with the build... Well we'll see what happens

Hi @Samyoul , welcome back! Your PR on status-go side seems not work according their test result (I've updated status-go-version.go to point to your status-go PR before) ..

@churik
Copy link
Member

churik commented Sep 4, 2023

@qfrank
scanning QR with the current desktop master (go v 0.166.5) is not working either (Android)

Logs:
Status-debug-logs.zip

@qfrank
Copy link
Contributor

qfrank commented Sep 4, 2023

Hi @churik , pls let me know if the new commit works for you, thank you! cc @pavloburykh @VolodLytvynenko

@status-im-auto
Copy link
Member

63% of end-end tests have passed

Total executed tests: 43
Failed tests: 16
Passed tests: 27
IDs of failed tests: 702733,702784,702732,702813,702957,703086,702948,702745,702783,703503,703496,702786,702947,702807,702731,702808 

Failed tests (16)

Click to expand
  • Rerun failed tests

  • Class TestCommunityMultipleDeviceMerged:

    1. test_community_mark_all_messages_as_read, id: 703086

    Device 2: Type `hello` to `ChatMessageInput`
    Device 2: Find `SendMessageButton` by `accessibility id`: `send-message-button`

    critical/test_public_chat_browsing.py:1003: in test_community_mark_all_messages_as_read
        self.channel_2.send_message(self.text_message)
    ../views/chat_view.py:1002: in send_message
        self.send_message_button.click()
    ../views/base_element.py:90: in click
        self.find_element().click()
    ../views/base_element.py:79: in find_element
        raise NoSuchElementException(
     Device 2: SendMessageButton by accessibility id: `send-message-button` is not found on the screen; For documentation on this error, please visit: https://www.selenium.dev/documentation/webdriver/troubleshooting/errors#no-such-element-exception
    



    Device sessions

    Class TestOneToOneChatMultipleSharedDevicesNewUi:

    1. test_1_1_chat_text_message_delete_push_disappear, id: 702733

    Device 1: Could not reach home view by pressing system back button
    Device 2: Could not reach home view by pressing system back button

    critical/chats/test_1_1_public_chats.py:1327: in test_1_1_chat_text_message_delete_push_disappear
        self.errors.verify_no_errors()
    base_test_case.py:187: in verify_no_errors
        pytest.fail('\n '.join([self.errors.pop(0) for _ in range(len(self.errors))]))
     Push notification doesn't appear
    



    Device sessions

    2. test_1_1_chat_delete_via_long_press_relogin, id: 702784

    Device 2: Could not reach home view by pressing system back button
    Device 2: Find ChatsTab by accessibility id: chats-stack-tab

    critical/chats/test_1_1_public_chats.py:1423: in test_1_1_chat_delete_via_long_press_relogin
        self.home_2.chats_tab.click()
    ../views/base_element.py:90: in click
        self.find_element().click()
    ../views/base_element.py:79: in find_element
        raise NoSuchElementException(
     Device 2: ChatsTab by accessibility id: `chats-stack-tab` is not found on the screen; For documentation on this error, please visit: https://www.selenium.dev/documentation/webdriver/troubleshooting/errors#no-such-element-exception
    



    Device sessions

    3. test_1_1_chat_push_emoji, id: 702813

    Device 1: Find Button by xpath: //*[contains(@content-desc,'Status')]
    Device 1: Tap on found: Button

    critical/chats/test_1_1_public_chats.py:1166: in test_1_1_chat_push_emoji
        self.device_1.driver.fail("Push notification with emoji was not received")
    base_test_case.py:175: in fail
        pytest.fail('Device %s: %s' % (self.number, text))
     Device 1: Push notification with emoji was not received
    



    Device sessions

    4. test_1_1_chat_non_latin_messages_stack_update_profile_photo, id: 702745

    Device 2: Find MemberPhoto by xpath: //*[starts-with(@text,'profile_photo')]/ancestor::android.view.ViewGroup[@content-desc='chat-item']//*[@content-desc='user-avatar']
    Device 2: Image differs from template to 8.812543083639705 percents

    critical/chats/test_1_1_public_chats.py:1127: in test_1_1_chat_non_latin_messages_stack_update_profile_photo
        self.errors.verify_no_errors()
    base_test_case.py:187: in verify_no_errors
        pytest.fail('\n '.join([self.errors.pop(0) for _ in range(len(self.errors))]))
     Image of user in 1-1 chat is too different from template!
    



    Device sessions

    5. test_1_1_chat_is_shown_message_sent_delivered_from_offline, id: 702783

    Device 2: Find Button by accessibility id: jump-to

    critical/chats/test_1_1_public_chats.py:1331: in test_1_1_chat_is_shown_message_sent_delivered_from_offline
        self.chat_2.jump_to_card_by_text(self.username_1)
    ../views/base_view.py:639: in jump_to_card_by_text
        self.click_on_floating_jump_to()
    ../views/base_view.py:628: in click_on_floating_jump_to
        self.jump_to_button.click()
    ../views/base_element.py:90: in click
        self.find_element().click()
    ../views/base_element.py:79: in find_element
        raise NoSuchElementException(
     Device 2: Button by accessibility id: `jump-to` is not found on the screen; For documentation on this error, please visit: https://www.selenium.dev/documentation/webdriver/troubleshooting/errors#no-such-element-exception
    



    Device sessions

    6. test_1_1_chat_mute_chat, id: 703496

    Device 1: Tap on found: Button
    Device 2: Sending message 'should be muted'

    critical/chats/test_1_1_public_chats.py:1387: in test_1_1_chat_mute_chat
        self.chat_2.send_message(muted_message)
    ../views/chat_view.py:991: in send_message
        self.chat_message_input.wait_for_element(wait_chat_input_sec)
    ../views/base_element.py:121: in wait_for_element
        raise TimeoutException(
     Device `2`: `ChatMessageInput` by` accessibility id`: `chat-message-input` is not found on the screen after wait_for_element
    



    Device sessions

    7. test_1_1_chat_pin_messages, id: 702731

    Test is not run, e2e blocker  
    

    [[reason: [NOTRUN] Pin feature is in development]]

    Class TestGroupChatMultipleDeviceMergedNewUI:

    1. test_group_chat_pin_messages, id: 702732

    Test is not run, e2e blocker  
    

    [[reason: [NOTRUN] Pin feature is in development]]

    2. test_group_chat_join_send_text_messages_push, id: 702807

    Device 2: Text is Delivered
    Device 1: Looking for a message by text: Hey, admin!

    critical/chats/test_group_chat.py:231: in test_group_chat_join_send_text_messages_push
        self.errors.verify_no_errors()
    base_test_case.py:187: in verify_no_errors
        pytest.fail('\n '.join([self.errors.pop(0) for _ in range(len(self.errors))]))
     No PN was received on new message for message in group chat
    



    Device sessions

    3. test_group_chat_offline_pn, id: 702808

    Device 3: Looking for a message by text: message from old member
    Device 3: Looking for a message by text: message from new member

    critical/chats/test_group_chat.py:441: in test_group_chat_offline_pn
        self.errors.verify_no_errors()
    base_test_case.py:187: in verify_no_errors
        pytest.fail('\n '.join([self.errors.pop(0) for _ in range(len(self.errors))]))
     Messages PN was not fetched from offline
    



    Device sessions

    Class TestActivityMultipleDevicePR:

    1. test_activity_center_reply_read_unread_delete_filter_swipe, id: 702947

    Device 1: Find Button by accessibility id: close-activity-center
    Device 1: Tap on found: Button

    None; 
     RemoteDisconnected
    



    Device sessions

    Class TestActivityMultipleDevicePRTwo:

    1. test_activity_center_mentions, id: 702957

    # STEP: Tap on it and check redirect to channel
    Device 1: Looking for a message by text: user1

    None; 
     RemoteDisconnected
    



    Device sessions

    Class TestCommunityOneDeviceMerged:

    1. test_community_discovery, id: 703503

    Device 1: Tap on found: Button
    Device 1: Find Button by xpath: //*[@text="Contributors' test community"]

    critical/test_public_chat_browsing.py:332: in test_community_discovery
        self.home.element_by_text(self.discovery_community_attributes[0]).click()
    ../views/base_element.py:90: in click
        self.find_element().click()
    ../views/base_element.py:79: in find_element
        raise NoSuchElementException(
     Device 1: Button by xpath: `//*[@text="Contributors' test community"]` is not found on the screen; For documentation on this error, please visit: https://www.selenium.dev/documentation/webdriver/troubleshooting/errors#no-such-element-exception
    



    Device sessions

    Class TestCommunityMultipleDeviceMergedTwo:

    1. test_community_hashtag_links_to_community_channels, id: 702948

    Device 2: Sending message '#cats'
    Device 2: Find ChatMessageInput by accessibility id: chat-message-input

    critical/test_public_chat_browsing.py:1274: in test_community_hashtag_links_to_community_channels
        self.chat_2.send_message(message_with_hashtag)
    ../views/chat_view.py:999: in send_message
        raise e
    ../views/chat_view.py:994: in send_message
        self.chat_message_input.send_keys(message)
    ../views/base_element.py:375: in send_keys
        self.find_element().send_keys(value)
    /home/jenkins/.local/lib/python3.10/site-packages/appium/webdriver/webelement.py:235: in send_keys
        self._execute(RemoteCommand.SEND_KEYS_TO_ELEMENT, {'text': ''.join(keys), 'value': keys})
    /home/jenkins/.local/lib/python3.10/site-packages/selenium/webdriver/remote/webelement.py:395: in _execute
        return self._parent.execute(command, params)
    /home/jenkins/.local/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py:345: in execute
        self.error_handler.check_response(response)
    /home/jenkins/.local/lib/python3.10/site-packages/appium/webdriver/errorhandler.py:122: in check_response
        raise exception_class(msg=message, stacktrace=format_stacktrace(stacktrace))
     Cannot set the element to '#cats'. Did you interact with the correct element?
    E   Stacktrace:
    E   io.appium.uiautomator2.common.exceptions.InvalidElementStateException: Cannot set the element to '#cats'. Did you interact with the correct element?
    E   	at io.appium.uiautomator2.handler.SendKeysToElement.setText(SendKeysToElement.java:87)
    E   	at io.appium.uiautomator2.handler.SendKeysToElement.safeHandle(SendKeysToElement.java:115)
    E   	at io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:59)
    E   	at io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:277)
    E   	at io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:271)
    E   	at io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:68)
    E   	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
    E   	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
    E   	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345)
    E   	at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:102)
    E   	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
    E   	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
    E   	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345)
    E   	at io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.fireChannelRead(CombinedChannelDuplexHandler.java:435)
    E   	at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:293)
    E   	at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:267)
    E   	at io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:250)
    E   	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
    E   	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
    E   	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345)
    E   	at io.netty.handler.timeout.IdleStateHandler.channelRead(IdleStateHandler.java:266)
    E   	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
    E   	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
    E   	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345)
    E   	at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1294)
    E   	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
    E   	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
    E   	at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:911)
    E   	at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:131)
    E   	at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:611)
    E   	at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:552)
    E   	at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:466)
    E   	at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:438)
    E   	at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:140)
    E   	at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:144)
    E   	at java.lang.Thread.run(Thread.java:919)
    



    Device sessions

    2. test_community_mentions_push_notification, id: 702786

    # STEP: Invited member gets push notification with the mention and tap it
    Device 2: Getting PN by 'user_2'

    critical/test_public_chat_browsing.py:1143: in test_community_mentions_push_notification
        self.errors.verify_no_errors()
    base_test_case.py:187: in verify_no_errors
        pytest.fail('\n '.join([self.errors.pop(0) for _ in range(len(self.errors))]))
     Push notification with the mention was not received by admin
    E    Can not edit a message with a mention
    E    Push notification with the mention was not received by the invited member 
    

    [[Issue with username in PN, issue #6 in https://github.com//issues/15500]]

    Device sessions

    Passed tests (27)

    Click to expand

    Class TestCommunityMultipleDeviceMerged:

    1. test_community_several_images_send_reply, id: 703194
    Device sessions

    2. test_community_one_image_send_reply, id: 702859
    Device sessions

    3. test_community_emoji_send_copy_paste_reply, id: 702840
    Device sessions

    4. test_community_contact_block_unblock_offline, id: 702894
    Device sessions

    5. test_community_message_delete, id: 702839
    Device sessions

    6. test_community_message_send_check_timestamps_sender_username, id: 702838
    Device sessions

    7. test_community_links_with_previews_github_youtube_twitter_gif_send_enable, id: 702844
    Device sessions

    8. test_community_message_edit, id: 702843
    Device sessions

    9. test_community_unread_messages_badge, id: 702841
    Device sessions

    Class TestOneToOneChatMultipleSharedDevicesNewUi:

    1. test_1_1_chat_emoji_send_reply_and_open_link, id: 702782
    Device sessions

    2. test_1_1_chat_edit_message, id: 702855
    Device sessions

    3. test_1_1_chat_send_image_save_and_share, id: 703391
    Device sessions

    4. test_1_1_chat_message_reaction, id: 702730
    Device sessions

    Class TestActivityCenterContactRequestMultipleDevicePR:

    1. test_activity_center_contact_request_accept_swipe_mark_all_as_read, id: 702851
    Device sessions

    2. test_activity_center_contact_request_decline, id: 702850
    Device sessions

    Class TestGroupChatMultipleDeviceMergedNewUI:

    1. test_group_chat_mute_chat, id: 703495
    Device sessions

    2. test_group_chat_send_image_save_and_share, id: 703297
    Device sessions

    3. test_group_chat_reactions, id: 703202
    Device sessions

    Class TestActivityMultipleDevicePR:

    1. test_navigation_jump_to, id: 702936
    Device sessions

    Class TestActivityMultipleDevicePRTwo:

    1. test_activity_center_admin_notification_accept_swipe, id: 702958
    Device sessions

    Class TestCommunityOneDeviceMerged:

    1. test_restore_multiaccount_with_waku_backup_remove_switch, id: 703133
    Device sessions

    2. test_community_copy_and_paste_message_in_chat_input, id: 702742
    Device sessions

    3. test_community_undo_delete_message, id: 702869
    Device sessions

    4. test_community_navigate_to_channel_when_relaunch, id: 702846
    Device sessions

    5. test_community_mute_community_and_channel, id: 703382
    Device sessions

    Class TestCommunityMultipleDeviceMergedTwo:

    1. test_community_markdown_support, id: 702809
    Device sessions

    2. test_community_leave, id: 702845
    Device sessions

    @churik
    Copy link
    Member

    churik commented Sep 4, 2023

    @qfrank
    With current desktop master now I can scan QR, but the app is stuck on the "Syncing device" stage, waited for 5 mins - no success.
    IMAGE 2023-09-04 17:53:14
    Status-debug-logs.zip

    @qfrank
    Copy link
    Contributor

    qfrank commented Sep 5, 2023

    @qfrank With current desktop master now I can scan QR, but the app is stuck on the "Syncing device" stage, waited for 5 mins - no success. IMAGE 2023-09-04 17:53:14 Status-debug-logs.zip

    Hi @churik , would you mind retry using release version of desktop which use status-go v0.164.0 ? because the test get passed with my last commit in my local machine using android emulator, but the issue can be reproduced without my last commit

    @VolodLytvynenko
    Copy link
    Contributor

    VolodLytvynenko commented Sep 5, 2023

    v0.164.0

    Hi @qfrank I'm still unable to sync using Android and IOS, even when trying to sync with the release desktop where status go is v0.164.0.

    Actual result:

    • When the camera is pointed at the sync QR code, the "Oops, something went wrong" screen is displayed.
    • Then: The app is stuck on the "Syncing device" stage when 'try again' button is tapped
    Untitled.mp4

    Device:

    • Real device: Pixel 7a, Android 13
    • Real device: iPhone 11 Pro max, IOS 16.6

    Logs:

    android_logcat.txt
    Status.log
    geth.log

    @qfrank
    Copy link
    Contributor

    qfrank commented Sep 5, 2023

    emm...
    another error:

    09-05 10:32:54.880 15935 16043 I ReactNativeJS: INFO [status-im2.contexts.syncing.events:70] - Initiated local pairing {:response "{\"error\":\"failed to connect to any of given addresses. connecting to 'https://192.168.0.103:57548' failed: dial tcp 192.168.0.103:57548: connect: no route to host; \"}", :event :syncing/input-connection-string-for-bootstrapping}
    

    cc @Samyoul

    @VolodLytvynenko
    Copy link
    Contributor

    @qfrank Just wanted to collect logs from iOS, but it seems this issue is not reproducible for me anymore. I've successfully synced with the desktop, and the same goes for Android. I will investigate it and let you know if it happens again.

    @churik
    Copy link
    Member

    churik commented Sep 5, 2023

    I'll try last builds too with desktop master and desktop RC.

    @VolodLytvynenko
    Copy link
    Contributor

    VolodLytvynenko commented Sep 5, 2023

    @Samyoul @qfrank One question: Did I understand correctly that the scope of this PR is to fix only the happy path, which includes:

    • Successful syncing from mobile to desktop.
    • Successful syncing from mobile to mobile.
    • The mobile device can generate the QR code.

    I'm asking because there is an additional issue: the iOS app always crashes after the initial QR code syncing. However, when the app is reopened, the synced account is already displayed and able to be logged in

    Steps

    1. The IOS user does not have any created accounts
    2. The IOS user syncs with the desktop (status go v0.164.0 or v0.166.5)

    Actual result:

    The app crashes on IOS during sync process (but as result the account is synced)

    ioscrash.mp4

    Logs:

    Status.log
    https://www.dropbox.com/s/hlt862peoreoa9o/geth.log?dl=0

    Device:

    iPhone 11 Pro max, IOS 16

    @churik
    Copy link
    Member

    churik commented Sep 5, 2023

    the iOS app always crashes after the initial QR code syncing

    @VolodLytvynenko yes, it is reproducible for me too

    @status-im-auto
    Copy link
    Member

    51% of end-end tests have passed

    Total executed tests: 43
    Failed tests: 21
    Passed tests: 22
    
    IDs of failed tests: 702733,703194,702859,702732,702813,702840,703086,702894,702745,702783,703503,702936,702786,702839,702838,702844,702843,702807,702731,702808,702841 
    

    Failed tests (21)

    Click to expand
  • Rerun failed tests

  • Class TestActivityMultipleDevicePR:

    1. test_navigation_jump_to, id: 702936

    Device 1: Click system back button
    Device 1: Find `Button` by `accessibility id`: `jump-to`

    medium/test_activity_center.py:190: in test_navigation_jump_to
        self.community_1.jump_to_button.click()
    ../views/base_element.py:90: in click
        self.find_element().click()
    /home/jenkins/.local/lib/python3.10/site-packages/selenium/webdriver/remote/webelement.py:94: in click
        self._execute(Command.CLICK_ELEMENT)
    /home/jenkins/.local/lib/python3.10/site-packages/selenium/webdriver/remote/webelement.py:395: in _execute
        return self._parent.execute(command, params)
    /home/jenkins/.local/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py:345: in execute
        self.error_handler.check_response(response)
    /home/jenkins/.local/lib/python3.10/site-packages/appium/webdriver/errorhandler.py:122: in check_response
        raise exception_class(msg=message, stacktrace=format_stacktrace(stacktrace))
     The element 'By.accessibilityId: jump-to' is not linked to the same object in DOM anymore; For documentation on this error, please visit: https://www.selenium.dev/documentation/webdriver/troubleshooting/errors#stale-element-reference-exception
    E   Stacktrace:
    E   io.appium.uiautomator2.common.exceptions.StaleElementReferenceException: The element 'By.accessibilityId: jump-to' is not linked to the same object in DOM anymore
    E   	at io.appium.uiautomator2.model.ElementsCache.restore(ElementsCache.java:122)
    E   	at io.appium.uiautomator2.model.ElementsCache.get(ElementsCache.java:153)
    E   	at io.appium.uiautomator2.handler.Click.safeHandle(Click.java:36)
    E   	at io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:59)
    E   	at io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:277)
    E   	at io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:271)
    E   	at io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:68)
    E   	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
    E   	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
    E   	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345)
    E   	at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:102)
    E   	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
    E   	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
    E   	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345)
    E   	at io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.fireChannelRead(CombinedChannelDuplexHandler.java:435)
    E   	at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:293)
    E   	at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:267)
    E   	at io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:250)
    E   	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
    E   	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
    E   	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345)
    E   	at io.netty.handler.timeout.IdleStateHandler.channelRead(IdleStateHandler.java:266)
    E   	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
    E   	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
    E   	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345)
    E   	at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1294)
    E   	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
    E   	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
    E   	at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:911)
    E   	at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:131)
    E   	at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:611)
    E   	at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:552)
    E   	at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:466)
    E   	at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:438)
    E   	at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:140)
    E   	at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:144)
    E   	at java.lang.Thread.run(Thread.java:919)
    



    Device sessions

    Class TestCommunityOneDeviceMerged:

    1. test_community_discovery, id: 703503

    Device 1: Tap on found: Button
    Device 1: Find Button by xpath: //*[@text="Contributors' test community"]

    critical/test_public_chat_browsing.py:333: in test_community_discovery
        self.home.element_by_text(self.discovery_community_attributes[0]).click()
    ../views/base_element.py:90: in click
        self.find_element().click()
    ../views/base_element.py:79: in find_element
        raise NoSuchElementException(
     Device 1: Button by xpath: `//*[@text="Contributors' test community"]` is not found on the screen; For documentation on this error, please visit: https://www.selenium.dev/documentation/webdriver/troubleshooting/errors#no-such-element-exception
    



    Device sessions

    Class TestGroupChatMultipleDeviceMergedNewUI:

    1. test_group_chat_pin_messages, id: 702732

    Test is not run, e2e blocker  
    

    [[reason: [NOTRUN] Pin feature is in development]]

    2. test_group_chat_join_send_text_messages_push, id: 702807

    Device 2: Text is Delivered
    Device 1: Looking for a message by text: Hey, admin!

    critical/chats/test_group_chat.py:231: in test_group_chat_join_send_text_messages_push
        self.errors.verify_no_errors()
    base_test_case.py:187: in verify_no_errors
        pytest.fail('\n '.join([self.errors.pop(0) for _ in range(len(self.errors))]))
     No PN was received on new message for message in group chat
    



    Device sessions

    3. test_group_chat_offline_pn, id: 702808

    Device 3: Looking for a message by text: message from old member
    Device 3: Looking for a message by text: message from new member

    critical/chats/test_group_chat.py:441: in test_group_chat_offline_pn
        self.errors.verify_no_errors()
    base_test_case.py:187: in verify_no_errors
        pytest.fail('\n '.join([self.errors.pop(0) for _ in range(len(self.errors))]))
     Messages PN was not fetched from offline
    



    Device sessions

    Class TestCommunityMultipleDeviceMergedTwo:

    1. test_community_mentions_push_notification, id: 702786

    # STEP: Invited member gets push notification with the mention and tap it
    Device 2: Getting PN by 'user_2'

    critical/test_public_chat_browsing.py:1146: in test_community_mentions_push_notification
        self.errors.verify_no_errors()
    base_test_case.py:187: in verify_no_errors
        pytest.fail('\n '.join([self.errors.pop(0) for _ in range(len(self.errors))]))
     Push notification with the mention was not received by admin
    E    Can not edit a message with a mention
    E    Push notification with the mention was not received by the invited member 
    

    [[Issue with username in PN, issue #6 in 15500]]

    Device sessions

    Class TestCommunityMultipleDeviceMerged:

    1. test_community_several_images_send_reply, id: 703194

    Test setup failed: critical/test_public_chat_browsing.py:582: in prepare_devices
        self.channel_2.chat_message_input.wait_for_visibility_of_element(20)
    ../views/base_element.py:139: in wait_for_visibility_of_element
        raise TimeoutException(
     Device 2: ChatMessageInput by accessibility id:`chat-message-input` is not found on the screen after wait_for_visibility_of_element
    



    2. test_community_one_image_send_reply, id: 702859

    Test setup failed: critical/test_public_chat_browsing.py:582: in prepare_devices
        self.channel_2.chat_message_input.wait_for_visibility_of_element(20)
    ../views/base_element.py:139: in wait_for_visibility_of_element
        raise TimeoutException(
     Device 2: ChatMessageInput by accessibility id:`chat-message-input` is not found on the screen after wait_for_visibility_of_element
    



    3. test_community_emoji_send_copy_paste_reply, id: 702840

    Test setup failed: critical/test_public_chat_browsing.py:582: in prepare_devices
        self.channel_2.chat_message_input.wait_for_visibility_of_element(20)
    ../views/base_element.py:139: in wait_for_visibility_of_element
        raise TimeoutException(
     Device 2: ChatMessageInput by accessibility id:`chat-message-input` is not found on the screen after wait_for_visibility_of_element
    



    4. test_community_mark_all_messages_as_read, id: 703086

    Test setup failed: critical/test_public_chat_browsing.py:582: in prepare_devices
        self.channel_2.chat_message_input.wait_for_visibility_of_element(20)
    ../views/base_element.py:139: in wait_for_visibility_of_element
        raise TimeoutException(
     Device 2: ChatMessageInput by accessibility id:`chat-message-input` is not found on the screen after wait_for_visibility_of_element
    



    5. test_community_contact_block_unblock_offline, id: 702894

    Test setup failed: critical/test_public_chat_browsing.py:582: in prepare_devices
        self.channel_2.chat_message_input.wait_for_visibility_of_element(20)
    ../views/base_element.py:139: in wait_for_visibility_of_element
        raise TimeoutException(
     Device 2: ChatMessageInput by accessibility id:`chat-message-input` is not found on the screen after wait_for_visibility_of_element
    



    6. test_community_message_delete, id: 702839

    Test setup failed: critical/test_public_chat_browsing.py:582: in prepare_devices
        self.channel_2.chat_message_input.wait_for_visibility_of_element(20)
    ../views/base_element.py:139: in wait_for_visibility_of_element
        raise TimeoutException(
     Device 2: ChatMessageInput by accessibility id:`chat-message-input` is not found on the screen after wait_for_visibility_of_element
    



    7. test_community_message_send_check_timestamps_sender_username, id: 702838

    Device 2: Looking for chat: 'general'
    Device 2: Click until ChatMessageInput by accessibility id: chat-message-input will be presented

    Test setup failed: critical/test_public_chat_browsing.py:582: in prepare_devices
        self.channel_2.chat_message_input.wait_for_visibility_of_element(20)
    ../views/base_element.py:139: in wait_for_visibility_of_element
        raise TimeoutException(
     Device 2: ChatMessageInput by accessibility id:`chat-message-input` is not found on the screen after wait_for_visibility_of_element
    



    Device sessions

    8. test_community_links_with_previews_github_youtube_twitter_gif_send_enable, id: 702844

    Test setup failed: critical/test_public_chat_browsing.py:582: in prepare_devices
        self.channel_2.chat_message_input.wait_for_visibility_of_element(20)
    ../views/base_element.py:139: in wait_for_visibility_of_element
        raise TimeoutException(
     Device 2: ChatMessageInput by accessibility id:`chat-message-input` is not found on the screen after wait_for_visibility_of_element
    



    9. test_community_message_edit, id: 702843

    Test setup failed: critical/test_public_chat_browsing.py:582: in prepare_devices
        self.channel_2.chat_message_input.wait_for_visibility_of_element(20)
    ../views/base_element.py:139: in wait_for_visibility_of_element
        raise TimeoutException(
     Device 2: ChatMessageInput by accessibility id:`chat-message-input` is not found on the screen after wait_for_visibility_of_element
    



    10. test_community_unread_messages_badge, id: 702841

    Test setup failed: critical/test_public_chat_browsing.py:582: in prepare_devices
        self.channel_2.chat_message_input.wait_for_visibility_of_element(20)
    ../views/base_element.py:139: in wait_for_visibility_of_element
        raise TimeoutException(
     Device 2: ChatMessageInput by accessibility id:`chat-message-input` is not found on the screen after wait_for_visibility_of_element
    



    Class TestOneToOneChatMultipleSharedDevicesNewUi:

    1. test_1_1_chat_text_message_delete_push_disappear, id: 702733

    Device 1: Could not reach home view by pressing system back button
    Device 2: Could not reach home view by pressing system back button

    critical/chats/test_1_1_public_chats.py:1328: in test_1_1_chat_text_message_delete_push_disappear
        self.errors.verify_no_errors()
    base_test_case.py:187: in verify_no_errors
        pytest.fail('\n '.join([self.errors.pop(0) for _ in range(len(self.errors))]))
     Push notification doesn't appear
    



    Device sessions

    2. test_1_1_chat_push_emoji, id: 702813

    Device 1: App to background
    Device 2: Sending message 'emoji'

    critical/chats/test_1_1_public_chats.py:1160: in test_1_1_chat_push_emoji
        chat_2.send_message(emoji.emojize(emoji_message))
    ../views/chat_view.py:994: in send_message
        self.chat_message_input.wait_for_element(wait_chat_input_sec)
    ../views/base_element.py:121: in wait_for_element
        raise TimeoutException(
     Device `2`: `ChatMessageInput` by` accessibility id`: `chat-message-input` is not found on the screen after wait_for_element
    



    Device sessions

    3. test_1_1_chat_non_latin_messages_stack_update_profile_photo, id: 702745

    Device 2: Find MemberPhoto by xpath: //*[starts-with(@text,'profile_photo')]/ancestor::android.view.ViewGroup[@content-desc='chat-item']//*[@content-desc='user-avatar']
    Device 2: Image differs from template to 6.251053155637256 percents

    critical/chats/test_1_1_public_chats.py:1127: in test_1_1_chat_non_latin_messages_stack_update_profile_photo
        self.errors.verify_no_errors()
    base_test_case.py:187: in verify_no_errors
        pytest.fail('\n '.join([self.errors.pop(0) for _ in range(len(self.errors))]))
     Image of user in 1-1 chat is too different from template!
    



    Device sessions

    4. test_1_1_chat_is_shown_message_sent_delivered_from_offline, id: 702783

    Device 2: Find Text by xpath: //*[starts-with(@text,'test message')]/ancestor::android.view.ViewGroup[@content-desc='chat-item']//*[@content-desc='message-status']/android.widget.TextView
    Device 2: Text is Delivered

    critical/chats/test_1_1_public_chats.py:1378: in test_1_1_chat_is_shown_message_sent_delivered_from_offline
        self.errors.verify_no_errors()
    base_test_case.py:187: in verify_no_errors
        pytest.fail('\n '.join([self.errors.pop(0) for _ in range(len(self.errors))]))
     Message was not delivered after resending from offline
    



    Device sessions

    5. test_1_1_chat_pin_messages, id: 702731

    Test is not run, e2e blocker  
    

    [[reason: [NOTRUN] Pin feature is in development]]

    Passed tests (22)

    Click to expand

    Class TestActivityMultipleDevicePR:

    1. test_activity_center_reply_read_unread_delete_filter_swipe, id: 702947
    Device sessions

    Class TestActivityMultipleDevicePRTwo:

    1. test_activity_center_mentions, id: 702957
    Device sessions

    2. test_activity_center_admin_notification_accept_swipe, id: 702958
    Device sessions

    Class TestCommunityOneDeviceMerged:

    1. test_restore_multiaccount_with_waku_backup_remove_switch, id: 703133
    Device sessions

    2. test_community_copy_and_paste_message_in_chat_input, id: 702742
    Device sessions

    3. test_community_undo_delete_message, id: 702869
    Device sessions

    4. test_community_navigate_to_channel_when_relaunch, id: 702846
    Device sessions

    5. test_community_mute_community_and_channel, id: 703382
    Device sessions

    Class TestGroupChatMultipleDeviceMergedNewUI:

    1. test_group_chat_mute_chat, id: 703495
    Device sessions

    2. test_group_chat_send_image_save_and_share, id: 703297
    Device sessions

    3. test_group_chat_reactions, id: 703202
    Device sessions

    Class TestCommunityMultipleDeviceMergedTwo:

    1. test_community_markdown_support, id: 702809
    Device sessions

    2. test_community_hashtag_links_to_community_channels, id: 702948
    Device sessions

    3. test_community_leave, id: 702845
    Device sessions

    Class TestOneToOneChatMultipleSharedDevicesNewUi:

    1. test_1_1_chat_emoji_send_reply_and_open_link, id: 702782
    Device sessions

    2. test_1_1_chat_delete_via_long_press_relogin, id: 702784
    Device sessions

    3. test_1_1_chat_mute_chat, id: 703496
    Device sessions

    4. test_1_1_chat_edit_message, id: 702855
    Device sessions

    5. test_1_1_chat_send_image_save_and_share, id: 703391
    Device sessions

    6. test_1_1_chat_message_reaction, id: 702730
    Device sessions

    Class TestActivityCenterContactRequestMultipleDevicePR:

    1. test_activity_center_contact_request_accept_swipe_mark_all_as_read, id: 702851
    Device sessions

    2. test_activity_center_contact_request_decline, id: 702850
    Device sessions

    @churik
    Copy link
    Member

    churik commented Sep 5, 2023

    @VolodLytvynenko @qfrank
    sync is also working in base flow for me between desktop master / pr, desktop rc / pr

    If there is no option to fix crash mentioned #17166 (comment) quite fast, I believe it would be better to merge current PR

    @qfrank
    Copy link
    Contributor

    qfrank commented Sep 5, 2023

    @VolodLytvynenko @qfrank sync is also working in base flow for me between desktop master / pr, desktop rc / pr

    If there is no option to fix crash mentioned #17166 (comment) quite fast, I believe it would be better to merge current PR

    agreed, not that easy to reproduce using xcode, but it can be reproduced with PR build in 100%, i need to find out the difference between xcode build and PR build.

    cc @Samyoul

    @Samyoul
    Copy link
    Member Author

    Samyoul commented Sep 5, 2023

    Ok, I'll merge status-im/status-go#3982 as this does fix a set of problems. I do have this PR #16694 which is trying to / has already fixed some other pairing issues that seem related to double scanning a QR code.

    @Samyoul
    Copy link
    Member Author

    Samyoul commented Sep 5, 2023

    Steps

    1. The IOS user does not have any created accounts
    2. The IOS user syncs with the desktop (status go v0.164.0 or v0.166.5)

    Actual result:

    The app crashes on IOS during sync process (but as result the account is synced)

    Ok, this sounds like another problem though with iOS. Where iOS syncs but returns an error after the process has completed Or one of the end pairing processes fail.

    @VolodLytvynenko
    Copy link
    Contributor

    Steps

    1. The IOS user does not have any created accounts
    2. The IOS user syncs with the desktop (status go v0.164.0 or v0.166.5)

    Actual result:

    The app crashes on IOS during sync process (but as result the account is synced)

    Ok, this sounds like another problem though with iOS. Where iOS syncs but returns an error after the process has completed Or one of the end pairing processes fail.

    I will create a separate issue for this with xcode logs if they are helpful

    @VolodLytvynenko
    Copy link
    Contributor

    No additional issues from my side. @Samyoul @qfrank thank you for the fixes

    @status-im-auto
    Copy link
    Member

    79% of end-end tests have passed

    Total executed tests: 43
    Failed tests: 9
    Passed tests: 34
    
    IDs of failed tests: 702733,702732,702813,702745,703503,702786,702807,702731,702808 
    

    Failed tests (9)

    Click to expand
  • Rerun failed tests

  • Class TestCommunityMultipleDeviceMergedTwo:

    1. test_community_mentions_push_notification, id: 702786

    # STEP: Invited member gets push notification with the mention and tap it
    Device 2: Getting PN by 'user_2'

    critical/test_public_chat_browsing.py:1146: in test_community_mentions_push_notification
        self.errors.verify_no_errors()
    base_test_case.py:187: in verify_no_errors
        pytest.fail('\n '.join([self.errors.pop(0) for _ in range(len(self.errors))]))
     Push notification with the mention was not received by admin
    E    Can not edit a message with a mention
    E    Push notification with the mention was not received by the invited member 
    

    [[Issue with username in PN, issue #6 in 15500]]

    Device sessions

    Class TestCommunityOneDeviceMerged:

    1. test_community_discovery, id: 703503

    Device 1: Tap on found: Button
    Device 1: Find Button by xpath: //*[@text="Contributors' test community"]

    critical/test_public_chat_browsing.py:333: in test_community_discovery
        self.home.element_by_text(self.discovery_community_attributes[0]).click()
    ../views/base_element.py:90: in click
        self.find_element().click()
    ../views/base_element.py:79: in find_element
        raise NoSuchElementException(
     Device 1: Button by xpath: `//*[@text="Contributors' test community"]` is not found on the screen; For documentation on this error, please visit: https://www.selenium.dev/documentation/webdriver/troubleshooting/errors#no-such-element-exception
    



    Device sessions

    Class TestOneToOneChatMultipleSharedDevicesNewUi:

    1. test_1_1_chat_text_message_delete_push_disappear, id: 702733

    Device 1: Could not reach home view by pressing system back button
    Device 2: Could not reach home view by pressing system back button

    critical/chats/test_1_1_public_chats.py:1328: in test_1_1_chat_text_message_delete_push_disappear
        self.errors.verify_no_errors()
    base_test_case.py:187: in verify_no_errors
        pytest.fail('\n '.join([self.errors.pop(0) for _ in range(len(self.errors))]))
     Push notification doesn't appear
    



    Device sessions

    2. test_1_1_chat_push_emoji, id: 702813

    Device 1: Find Button by xpath: //*[contains(@content-desc,'Status')]
    Device 1: Tap on found: Button

    critical/chats/test_1_1_public_chats.py:1166: in test_1_1_chat_push_emoji
        self.device_1.driver.fail("Push notification with emoji was not received")
    base_test_case.py:175: in fail
        pytest.fail('Device %s: %s' % (self.number, text))
     Device 1: Push notification with emoji was not received
    



    Device sessions

    3. test_1_1_chat_non_latin_messages_stack_update_profile_photo, id: 702745

    Device 2: Find MemberPhoto by xpath: //*[starts-with(@text,'profile_photo')]/ancestor::android.view.ViewGroup[@content-desc='chat-item']//*[@content-desc='user-avatar']
    Device 2: Image differs from template to 9.189548866421568 percents

    critical/chats/test_1_1_public_chats.py:1127: in test_1_1_chat_non_latin_messages_stack_update_profile_photo
        self.errors.verify_no_errors()
    base_test_case.py:187: in verify_no_errors
        pytest.fail('\n '.join([self.errors.pop(0) for _ in range(len(self.errors))]))
     Image of user in 1-1 chat is too different from template!
    



    Device sessions

    4. test_1_1_chat_pin_messages, id: 702731

    Test is not run, e2e blocker  
    

    [[reason: [NOTRUN] Pin feature is in development]]

    Class TestGroupChatMultipleDeviceMergedNewUI:

    1. test_group_chat_pin_messages, id: 702732

    Test is not run, e2e blocker  
    

    [[reason: [NOTRUN] Pin feature is in development]]

    2. test_group_chat_join_send_text_messages_push, id: 702807

    Device 2: Text is Delivered
    Device 1: Looking for a message by text: Hey, admin!

    critical/chats/test_group_chat.py:231: in test_group_chat_join_send_text_messages_push
        self.errors.verify_no_errors()
    base_test_case.py:187: in verify_no_errors
        pytest.fail('\n '.join([self.errors.pop(0) for _ in range(len(self.errors))]))
     No PN was received on new message for message in group chat
    



    Device sessions

    3. test_group_chat_offline_pn, id: 702808

    Device 3: Looking for a message by text: message from old member
    Device 3: Looking for a message by text: message from new member

    critical/chats/test_group_chat.py:441: in test_group_chat_offline_pn
        self.errors.verify_no_errors()
    base_test_case.py:187: in verify_no_errors
        pytest.fail('\n '.join([self.errors.pop(0) for _ in range(len(self.errors))]))
     Messages PN was not fetched from offline
    



    Device sessions

    Passed tests (34)

    Click to expand

    Class TestGroupChatMultipleDeviceMergedNewUI:

    1. test_group_chat_mute_chat, id: 703495
    Device sessions

    2. test_group_chat_send_image_save_and_share, id: 703297
    Device sessions

    3. test_group_chat_reactions, id: 703202
    Device sessions

    Class TestActivityMultipleDevicePR:

    1. test_navigation_jump_to, id: 702936
    Device sessions

    2. test_activity_center_reply_read_unread_delete_filter_swipe, id: 702947
    Device sessions

    Class TestCommunityMultipleDeviceMerged:

    1. test_community_several_images_send_reply, id: 703194
    Device sessions

    2. test_community_one_image_send_reply, id: 702859
    Device sessions

    3. test_community_emoji_send_copy_paste_reply, id: 702840
    Device sessions

    4. test_community_mark_all_messages_as_read, id: 703086
    Device sessions

    5. test_community_contact_block_unblock_offline, id: 702894
    Device sessions

    6. test_community_message_delete, id: 702839
    Device sessions

    7. test_community_message_send_check_timestamps_sender_username, id: 702838
    Device sessions

    8. test_community_links_with_previews_github_youtube_twitter_gif_send_enable, id: 702844
    Device sessions

    9. test_community_message_edit, id: 702843
    Device sessions

    10. test_community_unread_messages_badge, id: 702841
    Device sessions

    Class TestCommunityOneDeviceMerged:

    1. test_restore_multiaccount_with_waku_backup_remove_switch, id: 703133
    Device sessions

    2. test_community_copy_and_paste_message_in_chat_input, id: 702742
    Device sessions

    3. test_community_undo_delete_message, id: 702869
    Device sessions

    4. test_community_navigate_to_channel_when_relaunch, id: 702846
    Device sessions

    5. test_community_mute_community_and_channel, id: 703382
    Device sessions

    Class TestActivityMultipleDevicePRTwo:

    1. test_activity_center_mentions, id: 702957
    Device sessions

    2. test_activity_center_admin_notification_accept_swipe, id: 702958
    Device sessions

    Class TestActivityCenterContactRequestMultipleDevicePR:

    1. test_activity_center_contact_request_accept_swipe_mark_all_as_read, id: 702851
    Device sessions

    2. test_activity_center_contact_request_decline, id: 702850
    Device sessions

    Class TestCommunityMultipleDeviceMergedTwo:

    1. test_community_markdown_support, id: 702809
    Device sessions

    2. test_community_hashtag_links_to_community_channels, id: 702948
    Device sessions

    3. test_community_leave, id: 702845
    Device sessions

    Class TestOneToOneChatMultipleSharedDevicesNewUi:

    1. test_1_1_chat_emoji_send_reply_and_open_link, id: 702782
    Device sessions

    2. test_1_1_chat_delete_via_long_press_relogin, id: 702784
    Device sessions

    3. test_1_1_chat_is_shown_message_sent_delivered_from_offline, id: 702783
    Device sessions

    4. test_1_1_chat_mute_chat, id: 703496
    Device sessions

    5. test_1_1_chat_edit_message, id: 702855
    Device sessions

    6. test_1_1_chat_send_image_save_and_share, id: 703391
    Device sessions

    7. test_1_1_chat_message_reaction, id: 702730
    Device sessions

    @pavloburykh
    Copy link
    Contributor

    hey @qfrank! If there are no additional issues, could you please merge this PR when you have a chance? We need this fix to unblock testing of #16916 Thank you!

    @qfrank
    Copy link
    Contributor

    qfrank commented Sep 6, 2023

    hey @qfrank! If there are no additional issues, could you please merge this PR when you have a chance? We need this fix to unblock testing of #16916 Thank you!

    doing it now

    @qfrank qfrank merged commit d63b124 into develop Sep 6, 2023
    6 checks passed
    @qfrank qfrank deleted the fix/android-net-permissions branch September 6, 2023 07:24
    @qfrank
    Copy link
    Contributor

    qfrank commented Sep 6, 2023

    Oh, i made a mistake... i saw @Samyoul changed file VERSION to 0.166.6, and status-go-version.json already pointed to v0.166.6 , so i reverted status-go-version.json , but someone else taged the wrong commit as v0.166.6 @pavloburykh , i'll fix this right now

    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Projects
    Archived in project
    Archived in project
    Development

    Successfully merging this pull request may close these issues.

    Reveal sync code is broken on Android (stays blurred)
    6 participants