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

[#13804] Extend integration tests to back up seed phrase #13853

Merged
merged 1 commit into from
Aug 29, 2022

Conversation

erikseppanen
Copy link
Contributor

@erikseppanen erikseppanen commented Aug 24, 2022

fixes #13804

Areas that may be impacted

  • account recovery

status: ready

@status-im-auto
Copy link
Member

status-im-auto commented Aug 24, 2022

Jenkins Builds

Click to see older builds (34)
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ ba0de3d #1 2022-08-24 21:46:24 ~7 min android-e2e 📦apk 📲
✔️ ba0de3d #1 2022-08-24 21:46:43 ~7 min android 📦apk 📲
✔️ ba0de3d #1 2022-08-24 21:57:21 ~18 min ios 📦ipa 📲
✔️ 462a279 #2 2022-08-24 22:51:47 ~8 min android-e2e 📦apk 📲
✔️ 462a279 #2 2022-08-24 22:51:58 ~8 min android 📦apk 📲
✔️ 462a279 #2 2022-08-24 23:06:12 ~22 min ios 📦ipa 📲
✔️ be7f86b #3 2022-08-25 16:34:36 ~7 min android-e2e 📦apk 📲
✔️ be7f86b #3 2022-08-25 16:34:44 ~7 min android 📦apk 📲
✔️ be7f86b #3 2022-08-25 16:44:55 ~17 min ios 📦ipa 📲
✔️ 0afeb20 #1 2022-08-26 15:48:20 ~3 min tests 📦log
✔️ 0afeb20 #4 2022-08-26 15:54:36 ~9 min android-e2e 📦apk 📲
✔️ 0afeb20 #4 2022-08-26 15:55:59 ~10 min android 📦apk 📲
✔️ 0afeb20 #4 2022-08-26 16:01:34 ~16 min ios 📦ipa 📲
0afeb20 #5 2022-08-28 17:22:30 ~27 sec android 📄log
✔️ 0afeb20 #6 2022-08-28 17:36:17 ~11 min android 📦apk 📲
✔️ 7b71c87 #2 2022-08-29 11:09:06 ~2 min tests 📦log
✔️ 7b71c87 #7 2022-08-29 11:14:04 ~7 min android 📦apk 📲
✔️ 7b71c87 #5 2022-08-29 11:14:22 ~7 min android-e2e 📦apk 📲
7b71c87 #5 2022-08-29 11:21:43 ~14 min ios 📄log
✔️ 17ef5d2 #3 2022-08-29 12:26:54 ~1 min tests 📦log
✔️ 17ef5d2 #6 2022-08-29 12:31:56 ~6 min android-e2e 📦apk 📲
✔️ 17ef5d2 #8 2022-08-29 12:34:03 ~9 min android 📦apk 📲
✔️ 8340efc #5 2022-08-29 12:49:09 ~5 min tests 📦log
✔️ 8340efc #8 2022-08-29 12:50:45 ~7 min android-e2e 📦apk 📲
✔️ 8340efc #10 2022-08-29 12:51:51 ~8 min android 📦apk 📲
✔️ 8340efc #8 2022-08-29 14:23:18 ~1 hr 39 min ios 📦ipa 📲
✔️ 6a0ecd9 #9 2022-08-29 14:37:02 ~7 min android-e2e 📦apk 📲
✔️ 6a0ecd9 #6 2022-08-29 14:38:50 ~9 min tests 📦log
✔️ 6a0ecd9 #11 2022-08-29 14:43:01 ~13 min android 📦apk 📲
✔️ 6a0ecd9 #9 2022-08-29 15:13:20 ~43 min ios 📦ipa 📲
✔️ 0855bd9 #7 2022-08-29 15:49:28 ~5 min tests 📦log
✔️ 0855bd9 #12 2022-08-29 15:51:48 ~7 min android 📦apk 📲
✔️ 0855bd9 #10 2022-08-29 15:52:08 ~7 min android-e2e 📦apk 📲
0855bd9 #10 2022-08-29 15:54:56 ~10 min ios 📄log
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ 8d21262 #8 2022-08-29 16:07:07 ~2 min tests 📦log
✔️ 8d21262 #13 2022-08-29 16:12:08 ~7 min android 📦apk 📲
✔️ 8d21262 #11 2022-08-29 16:12:43 ~8 min android-e2e 📦apk 📲
✔️ 8d21262 #11 2022-08-29 16:19:50 ~15 min ios 📦ipa 📲
✔️ 45e47ad #9 2022-08-29 18:36:29 ~2 min tests 📦log
✔️ 45e47ad #12 2022-08-29 18:41:29 ~7 min android-e2e 📦apk 📲
✔️ 45e47ad #14 2022-08-29 18:42:09 ~7 min android 📦apk 📲
✔️ 45e47ad #12 2022-08-29 18:51:02 ~16 min ios 📦ipa 📲

Copy link
Contributor

@cammellos cammellos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a couple of minor points, but looks good!

(fx/defn finish
{:events [:my-profile/finish]}
[{:keys [db] :as cofx}]
[cofx]
(fx/merge cofx
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You don't need (fx/merge anymore in this case, you can do:

...
[cofx]
(multiaccounts.update/clean-seed-phrase
   cofx
   {:on-success ....})

@@ -131,5 +140,38 @@
(rf-test/wait-for [::logout/logout-method] ; we need to logout to make sure the node is not in an inconsistent state between tests
(assert-logout))))))))

(deftest back-up-seed-phrase-test
(println "========= back-up-seed-phrase-test")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we could use log instead of println?

@status-im-auto
Copy link
Member

61% of end-end tests have passed

Total executed tests: 85
Failed tests: 33
Passed tests: 52
Not executed tests: 2
IDs of not executed tests: 702157,702188 
IDs of failed tests: 702186,702158,702197,702394,700765,700743,702176,702393,700747,702392,702175,702196,700764,700757,702153,6253,702156,700746,700744,702194,702195,702076,702199,702198,6265,702155,702152,702177,700763,6263,700742,5342,700745 

Not executed tests (2)

Click to expand
  • Rerun not executed tests
  • Failed tests (33)

    Click to expand
  • Rerun failed tests

  • Class TestEnsStickersMultipleDevicesMerged:

    1. test_start_new_chat_public_key_validation, id: 702158
    Test setup failed: critical/chats/test_1_1_public_chats.py:964: in prepare_devices
        self.drivers, self.loop = create_shared_drivers(2)
    base_test_case.py:306: in create_shared_drivers
        drivers = loop.run_until_complete(start_threads(quantity,
    /usr/lib/python3.8/asyncio/base_events.py:616: in run_until_complete
        return future.result()
    __init__.py:16: in start_threads
        if 16 - len([job for job in sauce.jobs.get_jobs() if job['status'] == 'in progress']) < quantity:
    /usr/local/lib/python3.8/dist-packages/sauceclient.py:262: in get_jobs
        return self.client.request(method, endpoint)
    /usr/local/lib/python3.8/dist-packages/sauceclient.py:89: in request
        raise SauceException('{}: {}.\nSauce Status NOT OK'.format(
    E   sauceclient.SauceException: 502: Bad Gateway.
    E   Sauce Status NOT OK
    



    2. test_ens_command_send_tx_eth_1_1_chat, id: 702153

    Test setup failed: critical/chats/test_1_1_public_chats.py:964: in prepare_devices
        self.drivers, self.loop = create_shared_drivers(2)
    base_test_case.py:306: in create_shared_drivers
        drivers = loop.run_until_complete(start_threads(quantity,
    /usr/lib/python3.8/asyncio/base_events.py:616: in run_until_complete
        return future.result()
    __init__.py:16: in start_threads
        if 16 - len([job for job in sauce.jobs.get_jobs() if job['status'] == 'in progress']) < quantity:
    /usr/local/lib/python3.8/dist-packages/sauceclient.py:262: in get_jobs
        return self.client.request(method, endpoint)
    /usr/local/lib/python3.8/dist-packages/sauceclient.py:89: in request
        raise SauceException('{}: {}.\nSauce Status NOT OK'.format(
    E   sauceclient.SauceException: 502: Bad Gateway.
    E   Sauce Status NOT OK
    



    3. test_ens_mention_push_highlighted_public_chat, id: 702156

    Test setup failed: critical/chats/test_1_1_public_chats.py:964: in prepare_devices
        self.drivers, self.loop = create_shared_drivers(2)
    base_test_case.py:306: in create_shared_drivers
        drivers = loop.run_until_complete(start_threads(quantity,
    /usr/lib/python3.8/asyncio/base_events.py:616: in run_until_complete
        return future.result()
    __init__.py:16: in start_threads
        if 16 - len([job for job in sauce.jobs.get_jobs() if job['status'] == 'in progress']) < quantity:
    /usr/local/lib/python3.8/dist-packages/sauceclient.py:262: in get_jobs
        return self.client.request(method, endpoint)
    /usr/local/lib/python3.8/dist-packages/sauceclient.py:89: in request
        raise SauceException('{}: {}.\nSauce Status NOT OK'.format(
    E   sauceclient.SauceException: 502: Bad Gateway.
    E   Sauce Status NOT OK
    



    4. test_ens_mention_nickname_1_1_chat, id: 702155

    Test setup failed: critical/chats/test_1_1_public_chats.py:964: in prepare_devices
        self.drivers, self.loop = create_shared_drivers(2)
    base_test_case.py:306: in create_shared_drivers
        drivers = loop.run_until_complete(start_threads(quantity,
    /usr/lib/python3.8/asyncio/base_events.py:616: in run_until_complete
        return future.result()
    __init__.py:16: in start_threads
        if 16 - len([job for job in sauce.jobs.get_jobs() if job['status'] == 'in progress']) < quantity:
    /usr/local/lib/python3.8/dist-packages/sauceclient.py:262: in get_jobs
        return self.client.request(method, endpoint)
    /usr/local/lib/python3.8/dist-packages/sauceclient.py:89: in request
        raise SauceException('{}: {}.\nSauce Status NOT OK'.format(
    E   sauceclient.SauceException: 502: Bad Gateway.
    E   Sauce Status NOT OK
    



    5. test_ens_purchased_in_profile, id: 702152

    Test setup failed: critical/chats/test_1_1_public_chats.py:964: in prepare_devices
        self.drivers, self.loop = create_shared_drivers(2)
    base_test_case.py:306: in create_shared_drivers
        drivers = loop.run_until_complete(start_threads(quantity,
    /usr/lib/python3.8/asyncio/base_events.py:616: in run_until_complete
        return future.result()
    __init__.py:16: in start_threads
        if 16 - len([job for job in sauce.jobs.get_jobs() if job['status'] == 'in progress']) < quantity:
    /usr/local/lib/python3.8/dist-packages/sauceclient.py:262: in get_jobs
        return self.client.request(method, endpoint)
    /usr/local/lib/python3.8/dist-packages/sauceclient.py:89: in request
        raise SauceException('{}: {}.\nSauce Status NOT OK'.format(
    E   sauceclient.SauceException: 502: Bad Gateway.
    E   Sauce Status NOT OK
    



    Class TestSendTxDeviceMerged:

    1. test_send_tx_custom_token_18_decimals_invalid_password, id: 700765

    Test setup failed: critical/wallet_and_tx/test_send_tx_dapp_keycard.py:19: in prepare_devices
        self.drivers, self.loop = create_shared_drivers(1)
    base_test_case.py:306: in create_shared_drivers
        drivers = loop.run_until_complete(start_threads(quantity,
    /usr/lib/python3.8/asyncio/base_events.py:616: in run_until_complete
        return future.result()
    __init__.py:16: in start_threads
        if 16 - len([job for job in sauce.jobs.get_jobs() if job['status'] == 'in progress']) < quantity:
    /usr/local/lib/python3.8/dist-packages/sauceclient.py:262: in get_jobs
        return self.client.request(method, endpoint)
    /usr/local/lib/python3.8/dist-packages/sauceclient.py:89: in request
        raise SauceException('{}: {}.\nSauce Status NOT OK'.format(
    E   sauceclient.SauceException: 502: Bad Gateway.
    E   Sauce Status NOT OK
    



    2. test_send_tx_token_8_decimals, id: 700764

    Test setup failed: critical/wallet_and_tx/test_send_tx_dapp_keycard.py:19: in prepare_devices
        self.drivers, self.loop = create_shared_drivers(1)
    base_test_case.py:306: in create_shared_drivers
        drivers = loop.run_until_complete(start_threads(quantity,
    /usr/lib/python3.8/asyncio/base_events.py:616: in run_until_complete
        return future.result()
    __init__.py:16: in start_threads
        if 16 - len([job for job in sauce.jobs.get_jobs() if job['status'] == 'in progress']) < quantity:
    /usr/local/lib/python3.8/dist-packages/sauceclient.py:262: in get_jobs
        return self.client.request(method, endpoint)
    /usr/local/lib/python3.8/dist-packages/sauceclient.py:89: in request
        raise SauceException('{}: {}.\nSauce Status NOT OK'.format(
    E   sauceclient.SauceException: 502: Bad Gateway.
    E   Sauce Status NOT OK
    



    3. test_send_tx_set_recipient_options, id: 700757

    Test setup failed: critical/wallet_and_tx/test_send_tx_dapp_keycard.py:19: in prepare_devices
        self.drivers, self.loop = create_shared_drivers(1)
    base_test_case.py:306: in create_shared_drivers
        drivers = loop.run_until_complete(start_threads(quantity,
    /usr/lib/python3.8/asyncio/base_events.py:616: in run_until_complete
        return future.result()
    __init__.py:16: in start_threads
        if 16 - len([job for job in sauce.jobs.get_jobs() if job['status'] == 'in progress']) < quantity:
    /usr/local/lib/python3.8/dist-packages/sauceclient.py:262: in get_jobs
        return self.client.request(method, endpoint)
    /usr/local/lib/python3.8/dist-packages/sauceclient.py:89: in request
        raise SauceException('{}: {}.\nSauce Status NOT OK'.format(
    E   sauceclient.SauceException: 502: Bad Gateway.
    E   Sauce Status NOT OK
    



    4. test_send_tx_eth_check_logcat, id: 700763

    Test setup failed: critical/wallet_and_tx/test_send_tx_dapp_keycard.py:19: in prepare_devices
        self.drivers, self.loop = create_shared_drivers(1)
    base_test_case.py:306: in create_shared_drivers
        drivers = loop.run_until_complete(start_threads(quantity,
    /usr/lib/python3.8/asyncio/base_events.py:616: in run_until_complete
        return future.result()
    __init__.py:16: in start_threads
        if 16 - len([job for job in sauce.jobs.get_jobs() if job['status'] == 'in progress']) < quantity:
    /usr/local/lib/python3.8/dist-packages/sauceclient.py:262: in get_jobs
        return self.client.request(method, endpoint)
    /usr/local/lib/python3.8/dist-packages/sauceclient.py:89: in request
        raise SauceException('{}: {}.\nSauce Status NOT OK'.format(
    E   sauceclient.SauceException: 502: Bad Gateway.
    E   Sauce Status NOT OK
    



    5. test_send_tx_sign_message_2tx_in_batch_tx_filters_request_stt_testdapp, id: 5342

    Test setup failed: critical/wallet_and_tx/test_send_tx_dapp_keycard.py:19: in prepare_devices
        self.drivers, self.loop = create_shared_drivers(1)
    base_test_case.py:306: in create_shared_drivers
        drivers = loop.run_until_complete(start_threads(quantity,
    /usr/lib/python3.8/asyncio/base_events.py:616: in run_until_complete
        return future.result()
    __init__.py:16: in start_threads
        if 16 - len([job for job in sauce.jobs.get_jobs() if job['status'] == 'in progress']) < quantity:
    /usr/local/lib/python3.8/dist-packages/sauceclient.py:262: in get_jobs
        return self.client.request(method, endpoint)
    /usr/local/lib/python3.8/dist-packages/sauceclient.py:89: in request
        raise SauceException('{}: {}.\nSauce Status NOT OK'.format(
    E   sauceclient.SauceException: 502: Bad Gateway.
    E   Sauce Status NOT OK
    



    Class TestPublicChatBrowserOneDeviceMerged:

    1. test_browser_delete_close_tabs, id: 702076

    Device 1: Find Button by xpath: //*[contains(@text, 'bbc.com')]/../../../../*[@content-desc='empty-tab']
    Device 1: Tap on found: Button

    critical/test_public_chat_browsing.py:423: in test_browser_delete_close_tabs
        web_page.element_by_text_part(urls['bbc.com']).wait_for_invisibility_of_element()
    ../views/base_element.py:144: in wait_for_invisibility_of_element
        raise TimeoutException("Device %s: %s by %s: `%s`  is still visible on the screen after %s seconds after wait_for_invisibility_of_element" % (
     Device 1: Button by xpath: `//*[contains(@text, "bbc.com")]`  is still visible on the screen after 10 seconds after wait_for_invisibility_of_element
    



    Device sessions

    Class TestCommandsMultipleDevicesMerged:

    1. test_1_1_chat_command_send_tx_eth_outgoing_tx_push, id: 6253

    Test setup failed: critical/chats/test_1_1_public_chats.py:17: in prepare_devices
        self.drivers, self.loop = create_shared_drivers(2)
    base_test_case.py:306: in create_shared_drivers
        drivers = loop.run_until_complete(start_threads(quantity,
    /usr/lib/python3.8/asyncio/base_events.py:616: in run_until_complete
        return future.result()
    __init__.py:16: in start_threads
        if 16 - len([job for job in sauce.jobs.get_jobs() if job['status'] == 'in progress']) < quantity:
    /usr/local/lib/python3.8/dist-packages/sauceclient.py:262: in get_jobs
        return self.client.request(method, endpoint)
    /usr/local/lib/python3.8/dist-packages/sauceclient.py:89: in request
        raise SauceException('{}: {}.\nSauce Status NOT OK'.format(
    E   sauceclient.SauceException: 502: Bad Gateway.
    E   Sauce Status NOT OK
    



    2. test_1_1_chat_command_decline_eth_push_changing_state, id: 6265

    Test setup failed: critical/chats/test_1_1_public_chats.py:17: in prepare_devices
        self.drivers, self.loop = create_shared_drivers(2)
    base_test_case.py:306: in create_shared_drivers
        drivers = loop.run_until_complete(start_threads(quantity,
    /usr/lib/python3.8/asyncio/base_events.py:616: in run_until_complete
        return future.result()
    __init__.py:16: in start_threads
        if 16 - len([job for job in sauce.jobs.get_jobs() if job['status'] == 'in progress']) < quantity:
    /usr/local/lib/python3.8/dist-packages/sauceclient.py:262: in get_jobs
        return self.client.request(method, endpoint)
    /usr/local/lib/python3.8/dist-packages/sauceclient.py:89: in request
        raise SauceException('{}: {}.\nSauce Status NOT OK'.format(
    E   sauceclient.SauceException: 502: Bad Gateway.
    E   Sauce Status NOT OK
    



    3. test_1_1_chat_command_request_and_send_tx_stt_in_1_1_chat_offline, id: 6263

    Test setup failed: critical/chats/test_1_1_public_chats.py:17: in prepare_devices
        self.drivers, self.loop = create_shared_drivers(2)
    base_test_case.py:306: in create_shared_drivers
        drivers = loop.run_until_complete(start_threads(quantity,
    /usr/lib/python3.8/asyncio/base_events.py:616: in run_until_complete
        return future.result()
    __init__.py:16: in start_threads
        if 16 - len([job for job in sauce.jobs.get_jobs() if job['status'] == 'in progress']) < quantity:
    /usr/local/lib/python3.8/dist-packages/sauceclient.py:262: in get_jobs
        return self.client.request(method, endpoint)
    /usr/local/lib/python3.8/dist-packages/sauceclient.py:89: in request
        raise SauceException('{}: {}.\nSauce Status NOT OK'.format(
    E   sauceclient.SauceException: 502: Bad Gateway.
    E   Sauce Status NOT OK
    



    Class TestContactBlockMigrateKeycardMultipleSharedDevices:

    1. test_keycard_command_send_tx_eth_1_1_chat, id: 702186

    Test setup failed: critical/chats/test_1_1_public_chats.py:615: in prepare_devices
        self.drivers, self.loop = create_shared_drivers(2)
    base_test_case.py:306: in create_shared_drivers
        drivers = loop.run_until_complete(start_threads(quantity,
    /usr/lib/python3.8/asyncio/base_events.py:616: in run_until_complete
        return future.result()
    __init__.py:16: in start_threads
        if 16 - len([job for job in sauce.jobs.get_jobs() if job['status'] == 'in progress']) < quantity:
    /usr/local/lib/python3.8/dist-packages/sauceclient.py:262: in get_jobs
        return self.client.request(method, endpoint)
    /usr/local/lib/python3.8/dist-packages/sauceclient.py:91: in request
        return json.loads(data.decode('utf-8'))
    /usr/lib/python3.8/json/__init__.py:357: in loads
        return _default_decoder.decode(s)
    /usr/lib/python3.8/json/decoder.py:337: in decode
        obj, end = self.raw_decode(s, idx=_w(s, 0).end())
    /usr/lib/python3.8/json/decoder.py:353: in raw_decode
        obj, end = self.scan_once(s, idx)
     Unterminated string starting at: line 1 column 7702 (char 7701)
    



    2. test_contact_block_unblock_public_chat_offline, id: 702176

    Test setup failed: critical/chats/test_1_1_public_chats.py:615: in prepare_devices
        self.drivers, self.loop = create_shared_drivers(2)
    base_test_case.py:306: in create_shared_drivers
        drivers = loop.run_until_complete(start_threads(quantity,
    /usr/lib/python3.8/asyncio/base_events.py:616: in run_until_complete
        return future.result()
    __init__.py:16: in start_threads
        if 16 - len([job for job in sauce.jobs.get_jobs() if job['status'] == 'in progress']) < quantity:
    /usr/local/lib/python3.8/dist-packages/sauceclient.py:262: in get_jobs
        return self.client.request(method, endpoint)
    /usr/local/lib/python3.8/dist-packages/sauceclient.py:91: in request
        return json.loads(data.decode('utf-8'))
    /usr/lib/python3.8/json/__init__.py:357: in loads
        return _default_decoder.decode(s)
    /usr/lib/python3.8/json/decoder.py:337: in decode
        obj, end = self.raw_decode(s, idx=_w(s, 0).end())
    /usr/lib/python3.8/json/decoder.py:353: in raw_decode
        obj, end = self.scan_once(s, idx)
     Unterminated string starting at: line 1 column 7702 (char 7701)
    



    3. test_contact_add_remove_mention_default_username_nickname_public_chat, id: 702175

    Test setup failed: critical/chats/test_1_1_public_chats.py:615: in prepare_devices
        self.drivers, self.loop = create_shared_drivers(2)
    base_test_case.py:306: in create_shared_drivers
        drivers = loop.run_until_complete(start_threads(quantity,
    /usr/lib/python3.8/asyncio/base_events.py:616: in run_until_complete
        return future.result()
    __init__.py:16: in start_threads
        if 16 - len([job for job in sauce.jobs.get_jobs() if job['status'] == 'in progress']) < quantity:
    /usr/local/lib/python3.8/dist-packages/sauceclient.py:262: in get_jobs
        return self.client.request(method, endpoint)
    /usr/local/lib/python3.8/dist-packages/sauceclient.py:91: in request
        return json.loads(data.decode('utf-8'))
    /usr/lib/python3.8/json/__init__.py:357: in loads
        return _default_decoder.decode(s)
    /usr/lib/python3.8/json/decoder.py:337: in decode
        obj, end = self.raw_decode(s, idx=_w(s, 0).end())
    /usr/lib/python3.8/json/decoder.py:353: in raw_decode
        obj, end = self.scan_once(s, idx)
     Unterminated string starting at: line 1 column 7702 (char 7701)
    



    4. test_restore_account_migrate_multiaccount_to_keycard_db_saved, id: 702177

    Test setup failed: critical/chats/test_1_1_public_chats.py:615: in prepare_devices
        self.drivers, self.loop = create_shared_drivers(2)
    base_test_case.py:306: in create_shared_drivers
        drivers = loop.run_until_complete(start_threads(quantity,
    /usr/lib/python3.8/asyncio/base_events.py:616: in run_until_complete
        return future.result()
    __init__.py:16: in start_threads
        if 16 - len([job for job in sauce.jobs.get_jobs() if job['status'] == 'in progress']) < quantity:
    /usr/local/lib/python3.8/dist-packages/sauceclient.py:262: in get_jobs
        return self.client.request(method, endpoint)
    /usr/local/lib/python3.8/dist-packages/sauceclient.py:91: in request
        return json.loads(data.decode('utf-8'))
    /usr/lib/python3.8/json/__init__.py:357: in loads
        return _default_decoder.decode(s)
    /usr/lib/python3.8/json/decoder.py:337: in decode
        obj, end = self.raw_decode(s, idx=_w(s, 0).end())
    /usr/lib/python3.8/json/decoder.py:353: in raw_decode
        obj, end = self.scan_once(s, idx)
     Unterminated string starting at: line 1 column 7702 (char 7701)
    



    Class TestOnboardingOneDeviceMerged:

    1. test_onboarding_share_contact_address, id: 700743

    Test setup failed: critical/onboarding/test_onboarding_flows.py:16: in prepare_devices
        self.drivers, self.loop = create_shared_drivers(1)
    base_test_case.py:306: in create_shared_drivers
        drivers = loop.run_until_complete(start_threads(quantity,
    /usr/lib/python3.8/asyncio/base_events.py:616: in run_until_complete
        return future.result()
    __init__.py:16: in start_threads
        if 16 - len([job for job in sauce.jobs.get_jobs() if job['status'] == 'in progress']) < quantity:
    /usr/local/lib/python3.8/dist-packages/sauceclient.py:262: in get_jobs
        return self.client.request(method, endpoint)
    /usr/local/lib/python3.8/dist-packages/sauceclient.py:89: in request
        raise SauceException('{}: {}.\nSauce Status NOT OK'.format(
    E   sauceclient.SauceException: 502: Bad Gateway.
    E   Sauce Status NOT OK
    



    2. test_onboarding_add_new_multiaccount_username_by_position_pass_validation, id: 700747

    Test setup failed: critical/onboarding/test_onboarding_flows.py:16: in prepare_devices
        self.drivers, self.loop = create_shared_drivers(1)
    base_test_case.py:306: in create_shared_drivers
        drivers = loop.run_until_complete(start_threads(quantity,
    /usr/lib/python3.8/asyncio/base_events.py:616: in run_until_complete
        return future.result()
    __init__.py:16: in start_threads
        if 16 - len([job for job in sauce.jobs.get_jobs() if job['status'] == 'in progress']) < quantity:
    /usr/local/lib/python3.8/dist-packages/sauceclient.py:262: in get_jobs
        return self.client.request(method, endpoint)
    /usr/local/lib/python3.8/dist-packages/sauceclient.py:89: in request
        raise SauceException('{}: {}.\nSauce Status NOT OK'.format(
    E   sauceclient.SauceException: 502: Bad Gateway.
    E   Sauce Status NOT OK
    



    3. test_onboarding_cant_sign_in_with_invalid_password_logcat, id: 700746

    Test setup failed: critical/onboarding/test_onboarding_flows.py:16: in prepare_devices
        self.drivers, self.loop = create_shared_drivers(1)
    base_test_case.py:306: in create_shared_drivers
        drivers = loop.run_until_complete(start_threads(quantity,
    /usr/lib/python3.8/asyncio/base_events.py:616: in run_until_complete
        return future.result()
    __init__.py:16: in start_threads
        if 16 - len([job for job in sauce.jobs.get_jobs() if job['status'] == 'in progress']) < quantity:
    /usr/local/lib/python3.8/dist-packages/sauceclient.py:262: in get_jobs
        return self.client.request(method, endpoint)
    /usr/local/lib/python3.8/dist-packages/sauceclient.py:89: in request
        raise SauceException('{}: {}.\nSauce Status NOT OK'.format(
    E   sauceclient.SauceException: 502: Bad Gateway.
    E   Sauce Status NOT OK
    



    4. test_onboarding_share_wallet_address, id: 700744

    Test setup failed: critical/onboarding/test_onboarding_flows.py:16: in prepare_devices
        self.drivers, self.loop = create_shared_drivers(1)
    base_test_case.py:306: in create_shared_drivers
        drivers = loop.run_until_complete(start_threads(quantity,
    /usr/lib/python3.8/asyncio/base_events.py:616: in run_until_complete
        return future.result()
    __init__.py:16: in start_threads
        if 16 - len([job for job in sauce.jobs.get_jobs() if job['status'] == 'in progress']) < quantity:
    /usr/local/lib/python3.8/dist-packages/sauceclient.py:262: in get_jobs
        return self.client.request(method, endpoint)
    /usr/local/lib/python3.8/dist-packages/sauceclient.py:89: in request
        raise SauceException('{}: {}.\nSauce Status NOT OK'.format(
    E   sauceclient.SauceException: 502: Bad Gateway.
    E   Sauce Status NOT OK
    



    5. test_onboarding_home_initial_popup, id: 700742

    Test setup failed: critical/onboarding/test_onboarding_flows.py:16: in prepare_devices
        self.drivers, self.loop = create_shared_drivers(1)
    base_test_case.py:306: in create_shared_drivers
        drivers = loop.run_until_complete(start_threads(quantity,
    /usr/lib/python3.8/asyncio/base_events.py:616: in run_until_complete
        return future.result()
    __init__.py:16: in start_threads
        if 16 - len([job for job in sauce.jobs.get_jobs() if job['status'] == 'in progress']) < quantity:
    /usr/local/lib/python3.8/dist-packages/sauceclient.py:262: in get_jobs
        return self.client.request(method, endpoint)
    /usr/local/lib/python3.8/dist-packages/sauceclient.py:89: in request
        raise SauceException('{}: {}.\nSauce Status NOT OK'.format(
    E   sauceclient.SauceException: 502: Bad Gateway.
    E   Sauce Status NOT OK
    



    6. test_onboarding_backup_seed_phrase_restore_same_login_logcat, id: 700745

    Test setup failed: critical/onboarding/test_onboarding_flows.py:16: in prepare_devices
        self.drivers, self.loop = create_shared_drivers(1)
    base_test_case.py:306: in create_shared_drivers
        drivers = loop.run_until_complete(start_threads(quantity,
    /usr/lib/python3.8/asyncio/base_events.py:616: in run_until_complete
        return future.result()
    __init__.py:16: in start_threads
        if 16 - len([job for job in sauce.jobs.get_jobs() if job['status'] == 'in progress']) < quantity:
    /usr/local/lib/python3.8/dist-packages/sauceclient.py:262: in get_jobs
        return self.client.request(method, endpoint)
    /usr/local/lib/python3.8/dist-packages/sauceclient.py:89: in request
        raise SauceException('{}: {}.\nSauce Status NOT OK'.format(
    E   sauceclient.SauceException: 502: Bad Gateway.
    E   Sauce Status NOT OK
    



    Class TestPairingSyncMultipleDevicesMerged:

    1. test_pairing_sync_contacts_add_remove_set_nickname_ens, id: 702197

    Test setup failed: critical/test_pairing_devices_sync.py:92: in prepare_devices
        self.drivers, self.loop = create_shared_drivers(2)
    base_test_case.py:306: in create_shared_drivers
        drivers = loop.run_until_complete(start_threads(quantity,
    /usr/lib/python3.8/asyncio/base_events.py:616: in run_until_complete
        return future.result()
    __init__.py:16: in start_threads
        if 16 - len([job for job in sauce.jobs.get_jobs() if job['status'] == 'in progress']) < quantity:
    /usr/local/lib/python3.8/dist-packages/sauceclient.py:262: in get_jobs
        return self.client.request(method, endpoint)
    /usr/local/lib/python3.8/dist-packages/sauceclient.py:89: in request
        raise SauceException('{}: {}.\nSauce Status NOT OK'.format(
    E   sauceclient.SauceException: 502: Bad Gateway.
    E   Sauce Status NOT OK
    



    2. test_pairing_sync_clear_history, id: 702394

    Test setup failed: critical/test_pairing_devices_sync.py:92: in prepare_devices
        self.drivers, self.loop = create_shared_drivers(2)
    base_test_case.py:306: in create_shared_drivers
        drivers = loop.run_until_complete(start_threads(quantity,
    /usr/lib/python3.8/asyncio/base_events.py:616: in run_until_complete
        return future.result()
    __init__.py:16: in start_threads
        if 16 - len([job for job in sauce.jobs.get_jobs() if job['status'] == 'in progress']) < quantity:
    /usr/local/lib/python3.8/dist-packages/sauceclient.py:262: in get_jobs
        return self.client.request(method, endpoint)
    /usr/local/lib/python3.8/dist-packages/sauceclient.py:89: in request
        raise SauceException('{}: {}.\nSauce Status NOT OK'.format(
    E   sauceclient.SauceException: 502: Bad Gateway.
    E   Sauce Status NOT OK
    



    3. test_pairing_sync_initial_bookmarks, id: 702393

    Test setup failed: critical/test_pairing_devices_sync.py:92: in prepare_devices
        self.drivers, self.loop = create_shared_drivers(2)
    base_test_case.py:306: in create_shared_drivers
        drivers = loop.run_until_complete(start_threads(quantity,
    /usr/lib/python3.8/asyncio/base_events.py:616: in run_until_complete
        return future.result()
    __init__.py:16: in start_threads
        if 16 - len([job for job in sauce.jobs.get_jobs() if job['status'] == 'in progress']) < quantity:
    /usr/local/lib/python3.8/dist-packages/sauceclient.py:262: in get_jobs
        return self.client.request(method, endpoint)
    /usr/local/lib/python3.8/dist-packages/sauceclient.py:89: in request
        raise SauceException('{}: {}.\nSauce Status NOT OK'.format(
    E   sauceclient.SauceException: 502: Bad Gateway.
    E   Sauce Status NOT OK
    



    4. test_pairing_sync_initial_profile_picture, id: 702392

    Test setup failed: critical/test_pairing_devices_sync.py:92: in prepare_devices
        self.drivers, self.loop = create_shared_drivers(2)
    base_test_case.py:306: in create_shared_drivers
        drivers = loop.run_until_complete(start_threads(quantity,
    /usr/lib/python3.8/asyncio/base_events.py:616: in run_until_complete
        return future.result()
    __init__.py:16: in start_threads
        if 16 - len([job for job in sauce.jobs.get_jobs() if job['status'] == 'in progress']) < quantity:
    /usr/local/lib/python3.8/dist-packages/sauceclient.py:262: in get_jobs
        return self.client.request(method, endpoint)
    /usr/local/lib/python3.8/dist-packages/sauceclient.py:89: in request
        raise SauceException('{}: {}.\nSauce Status NOT OK'.format(
    E   sauceclient.SauceException: 502: Bad Gateway.
    E   Sauce Status NOT OK
    



    5. test_pairing_sync_contacts_block_unblock, id: 702196

    Test setup failed: critical/test_pairing_devices_sync.py:92: in prepare_devices
        self.drivers, self.loop = create_shared_drivers(2)
    base_test_case.py:306: in create_shared_drivers
        drivers = loop.run_until_complete(start_threads(quantity,
    /usr/lib/python3.8/asyncio/base_events.py:616: in run_until_complete
        return future.result()
    __init__.py:16: in start_threads
        if 16 - len([job for job in sauce.jobs.get_jobs() if job['status'] == 'in progress']) < quantity:
    /usr/local/lib/python3.8/dist-packages/sauceclient.py:262: in get_jobs
        return self.client.request(method, endpoint)
    /usr/local/lib/python3.8/dist-packages/sauceclient.py:89: in request
        raise SauceException('{}: {}.\nSauce Status NOT OK'.format(
    E   sauceclient.SauceException: 502: Bad Gateway.
    E   Sauce Status NOT OK
    



    6. test_pairing_sync_initial_contacts_blocked_users, id: 702194

    Test setup failed: critical/test_pairing_devices_sync.py:92: in prepare_devices
        self.drivers, self.loop = create_shared_drivers(2)
    base_test_case.py:306: in create_shared_drivers
        drivers = loop.run_until_complete(start_threads(quantity,
    /usr/lib/python3.8/asyncio/base_events.py:616: in run_until_complete
        return future.result()
    __init__.py:16: in start_threads
        if 16 - len([job for job in sauce.jobs.get_jobs() if job['status'] == 'in progress']) < quantity:
    /usr/local/lib/python3.8/dist-packages/sauceclient.py:262: in get_jobs
        return self.client.request(method, endpoint)
    /usr/local/lib/python3.8/dist-packages/sauceclient.py:89: in request
        raise SauceException('{}: {}.\nSauce Status NOT OK'.format(
    E   sauceclient.SauceException: 502: Bad Gateway.
    E   Sauce Status NOT OK
    



    7. test_pairing_sync_initial_public_chats, id: 702195

    Test setup failed: critical/test_pairing_devices_sync.py:92: in prepare_devices
        self.drivers, self.loop = create_shared_drivers(2)
    base_test_case.py:306: in create_shared_drivers
        drivers = loop.run_until_complete(start_threads(quantity,
    /usr/lib/python3.8/asyncio/base_events.py:616: in run_until_complete
        return future.result()
    __init__.py:16: in start_threads
        if 16 - len([job for job in sauce.jobs.get_jobs() if job['status'] == 'in progress']) < quantity:
    /usr/local/lib/python3.8/dist-packages/sauceclient.py:262: in get_jobs
        return self.client.request(method, endpoint)
    /usr/local/lib/python3.8/dist-packages/sauceclient.py:89: in request
        raise SauceException('{}: {}.\nSauce Status NOT OK'.format(
    E   sauceclient.SauceException: 502: Bad Gateway.
    E   Sauce Status NOT OK
    



    8. test_pairing_sync_public_chat_add_remove, id: 702199

    Test setup failed: critical/test_pairing_devices_sync.py:92: in prepare_devices
        self.drivers, self.loop = create_shared_drivers(2)
    base_test_case.py:306: in create_shared_drivers
        drivers = loop.run_until_complete(start_threads(quantity,
    /usr/lib/python3.8/asyncio/base_events.py:616: in run_until_complete
        return future.result()
    __init__.py:16: in start_threads
        if 16 - len([job for job in sauce.jobs.get_jobs() if job['status'] == 'in progress']) < quantity:
    /usr/local/lib/python3.8/dist-packages/sauceclient.py:262: in get_jobs
        return self.client.request(method, endpoint)
    /usr/local/lib/python3.8/dist-packages/sauceclient.py:89: in request
        raise SauceException('{}: {}.\nSauce Status NOT OK'.format(
    E   sauceclient.SauceException: 502: Bad Gateway.
    E   Sauce Status NOT OK
    



    9. test_pairing_sync_1_1_chat_message, id: 702198

    Test setup failed: critical/test_pairing_devices_sync.py:92: in prepare_devices
        self.drivers, self.loop = create_shared_drivers(2)
    base_test_case.py:306: in create_shared_drivers
        drivers = loop.run_until_complete(start_threads(quantity,
    /usr/lib/python3.8/asyncio/base_events.py:616: in run_until_complete
        return future.result()
    __init__.py:16: in start_threads
        if 16 - len([job for job in sauce.jobs.get_jobs() if job['status'] == 'in progress']) < quantity:
    /usr/local/lib/python3.8/dist-packages/sauceclient.py:262: in get_jobs
        return self.client.request(method, endpoint)
    /usr/local/lib/python3.8/dist-packages/sauceclient.py:89: in request
        raise SauceException('{}: {}.\nSauce Status NOT OK'.format(
    E   sauceclient.SauceException: 502: Bad Gateway.
    E   Sauce Status NOT OK
    



    Passed tests (52)

    Click to expand

    Class TestPublicChatMultipleDeviceMerged:

    1. test_public_chat_link_send_open, id: 700736
    Device sessions

    2. test_public_chat_message_delete, id: 700735
    Device sessions

    3. test_public_chat_unread_messages_counter, id: 5360
    Device sessions

    4. test_public_chat_unread_messages_counter_for_mention_relogin, id: 700718
    Device sessions

    5. test_public_chat_delete_chat_long_press, id: 5319
    Device sessions

    6. test_public_chat_message_send_check_timestamps_while_on_different_tab, id: 5313
    Device sessions

    7. test_public_chat_emoji_send_copy_paste_reply, id: 700719
    Device sessions

    8. test_public_chat_mark_all_messages_as_read, id: 6270
    Device sessions

    9. test_public_chat_links_with_previews_github_youtube_twitter_gif_send_enable, id: 700737
    Device sessions

    10. test_public_chat_message_edit, id: 700734
    Device sessions

    Class TestOneToOneChatMultipleSharedDevices:

    1. test_1_1_chat_push_emoji, id: 6283
    Device sessions

    2. test_1_1_chat_image_send_save_reply, id: 6305
    Device sessions

    3. test_1_1_chat_is_shown_message_sent_delivered_from_offline, id: 5310
    Device sessions

    4. test_1_1_chat_message_reaction, id: 6315
    Device sessions

    5. test_1_1_chat_delete_via_delete_button_relogin, id: 5387
    Device sessions

    6. test_1_1_chat_emoji_send_reply_and_open_link, id: 5373
    Device sessions

    7. test_1_1_chat_non_latin_message_to_newly_added_contact_with_profile_picture_on_different_networks, id: 5315
    Device sessions

    8. test_1_1_chat_text_message_edit_delete_push_disappear, id: 695843
    Device sessions

    9. test_1_1_chat_text_message_with_push, id: 6316
    Device sessions

    Class TestKeycardTxOneDeviceMerged:

    1. test_keycard_send_tx_eth, id: 700767
    Device sessions

    2. test_keycard_create_account_unlock_same_seed, id: 5689
    Device sessions

    3. test_keycard_wallet_recover_pairing_check_balance_after_offline_tx_history, id: 700770
    Device sessions

    4. test_keycard_relogin_after_restore, id: 700768
    Device sessions

    5. test_keycard_send_tx_sign_message_request_stt_testdapp, id: 700769
    Device sessions

    Class TestPublicChatBrowserOneDeviceMerged:

    1. test_browser_connection_is_secure_not_secure_warning, id: 702073
    Device sessions

    2. test_public_chat_copy_and_paste_message_in_chat_input, id: 5317
    Device sessions

    3. test_browser_invalid_url, id: 702074
    Device sessions

    4. test_browser_bookmarks_create_edit_remove, id: 702077
    Device sessions

    5. test_public_chat_tag_message, id: 700738
    Device sessions

    6. test_browser_offline, id: 702075
    Device sessions

    7. test_public_chat_navigate_to_chat_when_relaunch, id: 5396
    Device sessions

    8. test_public_chat_open_using_deep_link, id: 700739
    Device sessions

    9. test_browser_blocked_url, id: 702072
    Device sessions

    10. test_browser_web3_permissions_testdapp, id: 702078
    Device sessions

    11. test_public_chat_fetch_more_history, id: 5675
    Device sessions

    Class TestWalletManagementDeviceMerged:

    1. test_wallet_add_account_generate_new, id: 700759
    Device sessions

    2. test_wallet_add_hide_unhide_account_private_key, id: 700761
    Device sessions

    3. test_wallet_add_delete_watch_only_account, id: 700760
    Device sessions

    4. test_wallet_tx_history_copy_tx_hash_on_cellular, id: 700756
    Device sessions

    5. test_wallet_fetching_balance_after_offline_insufficient_funds_errors, id: 700766
    Device sessions

    6. test_wallet_add_account_seed_phrase_validation, id: 700762
    Device sessions

    7. test_wallet_manage_assets, id: 700758
    Device sessions

    Class TestRestoreOneDeviceMerged:

    1. test_restore_account_migrate_multiaccount_to_keycard_no_db_saved_add_wallet_send_tx, id: 702189
    Device sessions

    2. test_restore_uppercase_whitespaces_seed_phrase_special_char_passw_logcat, id: 700748
    Device sessions

    3. test_restore_set_up_wallet_sign_phrase, id: 700749
    Device sessions

    4. test_restore_seed_phrase_field_validation, id: 700750
    Device sessions

    Class TestGroupChatMultipleDeviceMerged:

    1. test_group_chat_leave_relogin, id: 3997
    Device sessions

    2. test_group_chat_highligted, id: 5756
    Device sessions

    3. test_group_chat_push_system_messages_when_invited, id: 3994
    Device sessions

    4. test_group_chat_join_send_text_messages_push, id: 700731
    Device sessions

    5. test_group_chat_add_new_member_activity_centre, id: 700732
    Device sessions

    6. test_group_chat_offline_pn, id: 3998
    Device sessions

    @status-im-auto
    Copy link
    Member

    79% of end-end tests have passed

    Total executed tests: 33
    Failed tests: 7
    Passed tests: 26
    
    IDs of failed tests: 700764,6253,700763,6263,702153,702186,6265 
    

    Failed tests (7)

    Click to expand
  • Rerun failed tests

  • Class TestSendTxDeviceMerged:

    1. test_send_tx_token_8_decimals, id: 700764

    Device 1: Find `WalletButton` by `xpath`: `//*[contains(@content-desc,'tab, 3 out of 5')]`
    Device 1: Find `WalletButton` by `xpath`: `//*[contains(@content-desc,'tab, 3 out of 5')]`

    critical/wallet_and_tx/test_send_tx_dapp_keycard.py:53: in test_send_tx_token_8_decimals
        self.network_api.find_transaction_by_hash(transaction_adi)
    ../support/api/network_api.py:76: in find_transaction_by_hash
        transaction = w3.transaction_status(transaction_hash)
    ../support/api/web3_api.py:80: in transaction_status
        return w3.eth.getTransaction(hash)
    /home/jenkins/.local/lib/python3.8/site-packages/web3/eth.py:636: in get_transaction
        return self._get_transaction(transaction_hash)
    /home/jenkins/.local/lib/python3.8/site-packages/web3/module.py:57: in caller
        result = w3.manager.request_blocking(method_str,
    /home/jenkins/.local/lib/python3.8/site-packages/web3/manager.py:197: in request_blocking
        response = self._make_request(method, params)
    /home/jenkins/.local/lib/python3.8/site-packages/web3/manager.py:150: in _make_request
        return request_func(method, params)
    cytoolz/functoolz.pyx:250: in cytoolz.functoolz.curry.__call__
        ???
    /home/jenkins/.local/lib/python3.8/site-packages/web3/middleware/formatting.py:76: in apply_formatters
        response = make_request(method, params)
    /home/jenkins/.local/lib/python3.8/site-packages/web3/middleware/gas_price_strategy.py:90: in middleware
        return make_request(method, params)
    cytoolz/functoolz.pyx:250: in cytoolz.functoolz.curry.__call__
        ???
    /home/jenkins/.local/lib/python3.8/site-packages/web3/middleware/formatting.py:74: in apply_formatters
        response = make_request(method, formatted_params)
    /home/jenkins/.local/lib/python3.8/site-packages/web3/middleware/attrdict.py:33: in middleware
        response = make_request(method, params)
    cytoolz/functoolz.pyx:250: in cytoolz.functoolz.curry.__call__
        ???
    /home/jenkins/.local/lib/python3.8/site-packages/web3/middleware/formatting.py:76: in apply_formatters
        response = make_request(method, params)
    cytoolz/functoolz.pyx:250: in cytoolz.functoolz.curry.__call__
        ???
    /home/jenkins/.local/lib/python3.8/site-packages/web3/middleware/formatting.py:76: in apply_formatters
        response = make_request(method, params)
    cytoolz/functoolz.pyx:250: in cytoolz.functoolz.curry.__call__
        ???
    /home/jenkins/.local/lib/python3.8/site-packages/web3/middleware/formatting.py:74: in apply_formatters
        response = make_request(method, formatted_params)
    /home/jenkins/.local/lib/python3.8/site-packages/web3/middleware/buffered_gas_estimate.py:40: in middleware
        return make_request(method, params)
    cytoolz/functoolz.pyx:250: in cytoolz.functoolz.curry.__call__
        ???
    /home/jenkins/.local/lib/python3.8/site-packages/web3/middleware/formatting.py:76: in apply_formatters
        response = make_request(method, params)
    /home/jenkins/.local/lib/python3.8/site-packages/web3/providers/websocket.py:144: in make_request
        return future.result()
    /usr/lib/python3.8/concurrent/futures/_base.py:444: in result
        return self.__get_result()
    /usr/lib/python3.8/concurrent/futures/_base.py:389: in __get_result
        raise self._exception
    /home/jenkins/.local/lib/python3.8/site-packages/web3/providers/websocket.py:124: in coro_make_request
        async with self.conn as conn:
    /home/jenkins/.local/lib/python3.8/site-packages/web3/providers/websocket.py:72: in __aenter__
        self.ws = await connect(
    /home/jenkins/.local/lib/python3.8/site-packages/websockets/legacy/client.py:629: in __await_impl__
        await protocol.handshake(
    /home/jenkins/.local/lib/python3.8/site-packages/websockets/legacy/client.py:388: in handshake
        raise InvalidStatusCode(status_code)
    E   websockets.exceptions.InvalidStatusCode: server rejected WebSocket connection: HTTP 401
    



    Device sessions

    2. test_send_tx_eth_check_logcat, id: 700763

    Finding tx in ETH transactions, attempt #1
    Tx is found: 0x69ee55970dcc0b275d88c931c5e37bef3751bda0dba37b6eb64ff89b247ff834 (etherscan API)

    critical/wallet_and_tx/test_send_tx_dapp_keycard.py:39: in test_send_tx_eth_check_logcat
        self.network_api.wait_for_confirmation_of_transaction(self.user['address'], self.amount_eth)
    ../support/api/network_api.py:126: in wait_for_confirmation_of_transaction
        transaction = self.find_transaction_by_unique_amount(address, amount, token)
    ../support/api/network_api.py:108: in find_transaction_by_unique_amount
        w3.transaction_status(transaction['hash'])
    ../support/api/web3_api.py:80: in transaction_status
        return w3.eth.getTransaction(hash)
    /home/jenkins/.local/lib/python3.8/site-packages/web3/eth.py:636: in get_transaction
        return self._get_transaction(transaction_hash)
    /home/jenkins/.local/lib/python3.8/site-packages/web3/module.py:57: in caller
        result = w3.manager.request_blocking(method_str,
    /home/jenkins/.local/lib/python3.8/site-packages/web3/manager.py:197: in request_blocking
        response = self._make_request(method, params)
    /home/jenkins/.local/lib/python3.8/site-packages/web3/manager.py:150: in _make_request
        return request_func(method, params)
    cytoolz/functoolz.pyx:250: in cytoolz.functoolz.curry.__call__
        ???
    /home/jenkins/.local/lib/python3.8/site-packages/web3/middleware/formatting.py:76: in apply_formatters
        response = make_request(method, params)
    /home/jenkins/.local/lib/python3.8/site-packages/web3/middleware/gas_price_strategy.py:90: in middleware
        return make_request(method, params)
    cytoolz/functoolz.pyx:250: in cytoolz.functoolz.curry.__call__
        ???
    /home/jenkins/.local/lib/python3.8/site-packages/web3/middleware/formatting.py:74: in apply_formatters
        response = make_request(method, formatted_params)
    /home/jenkins/.local/lib/python3.8/site-packages/web3/middleware/attrdict.py:33: in middleware
        response = make_request(method, params)
    cytoolz/functoolz.pyx:250: in cytoolz.functoolz.curry.__call__
        ???
    /home/jenkins/.local/lib/python3.8/site-packages/web3/middleware/formatting.py:76: in apply_formatters
        response = make_request(method, params)
    cytoolz/functoolz.pyx:250: in cytoolz.functoolz.curry.__call__
        ???
    /home/jenkins/.local/lib/python3.8/site-packages/web3/middleware/formatting.py:76: in apply_formatters
        response = make_request(method, params)
    cytoolz/functoolz.pyx:250: in cytoolz.functoolz.curry.__call__
        ???
    /home/jenkins/.local/lib/python3.8/site-packages/web3/middleware/formatting.py:74: in apply_formatters
        response = make_request(method, formatted_params)
    /home/jenkins/.local/lib/python3.8/site-packages/web3/middleware/buffered_gas_estimate.py:40: in middleware
        return make_request(method, params)
    cytoolz/functoolz.pyx:250: in cytoolz.functoolz.curry.__call__
        ???
    /home/jenkins/.local/lib/python3.8/site-packages/web3/middleware/formatting.py:76: in apply_formatters
        response = make_request(method, params)
    /home/jenkins/.local/lib/python3.8/site-packages/web3/providers/websocket.py:144: in make_request
        return future.result()
    /usr/lib/python3.8/concurrent/futures/_base.py:444: in result
        return self.__get_result()
    /usr/lib/python3.8/concurrent/futures/_base.py:389: in __get_result
        raise self._exception
    /home/jenkins/.local/lib/python3.8/site-packages/web3/providers/websocket.py:124: in coro_make_request
        async with self.conn as conn:
    /home/jenkins/.local/lib/python3.8/site-packages/web3/providers/websocket.py:72: in __aenter__
        self.ws = await connect(
    /home/jenkins/.local/lib/python3.8/site-packages/websockets/legacy/client.py:629: in __await_impl__
        await protocol.handshake(
    /home/jenkins/.local/lib/python3.8/site-packages/websockets/legacy/client.py:388: in handshake
        raise InvalidStatusCode(status_code)
    E   websockets.exceptions.InvalidStatusCode: server rejected WebSocket connection: HTTP 401
    



    Device sessions

    Class TestCommandsMultipleDevicesMerged:

    1. test_1_1_chat_command_send_tx_eth_outgoing_tx_push, id: 6253

    Finding tx in ETH transactions, attempt #2
    Tx is found: 0x9c4d0457aefe70bfe5f9154b8e90363b614d613b23842cf5b238b0f654ceb676 (etherscan API)

    critical/chats/test_1_1_public_chats.py:84: in test_1_1_chat_command_send_tx_eth_outgoing_tx_push
        self.network_api.wait_for_confirmation_of_transaction(self.sender['address'], amount)
    ../support/api/network_api.py:126: in wait_for_confirmation_of_transaction
        transaction = self.find_transaction_by_unique_amount(address, amount, token)
    ../support/api/network_api.py:108: in find_transaction_by_unique_amount
        w3.transaction_status(transaction['hash'])
    ../support/api/web3_api.py:80: in transaction_status
        return w3.eth.getTransaction(hash)
    /home/jenkins/.local/lib/python3.8/site-packages/web3/eth.py:636: in get_transaction
        return self._get_transaction(transaction_hash)
    /home/jenkins/.local/lib/python3.8/site-packages/web3/module.py:57: in caller
        result = w3.manager.request_blocking(method_str,
    /home/jenkins/.local/lib/python3.8/site-packages/web3/manager.py:197: in request_blocking
        response = self._make_request(method, params)
    /home/jenkins/.local/lib/python3.8/site-packages/web3/manager.py:150: in _make_request
        return request_func(method, params)
    cytoolz/functoolz.pyx:250: in cytoolz.functoolz.curry.__call__
        ???
    /home/jenkins/.local/lib/python3.8/site-packages/web3/middleware/formatting.py:76: in apply_formatters
        response = make_request(method, params)
    /home/jenkins/.local/lib/python3.8/site-packages/web3/middleware/gas_price_strategy.py:90: in middleware
        return make_request(method, params)
    cytoolz/functoolz.pyx:250: in cytoolz.functoolz.curry.__call__
        ???
    /home/jenkins/.local/lib/python3.8/site-packages/web3/middleware/formatting.py:74: in apply_formatters
        response = make_request(method, formatted_params)
    /home/jenkins/.local/lib/python3.8/site-packages/web3/middleware/attrdict.py:33: in middleware
        response = make_request(method, params)
    cytoolz/functoolz.pyx:250: in cytoolz.functoolz.curry.__call__
        ???
    /home/jenkins/.local/lib/python3.8/site-packages/web3/middleware/formatting.py:76: in apply_formatters
        response = make_request(method, params)
    cytoolz/functoolz.pyx:250: in cytoolz.functoolz.curry.__call__
        ???
    /home/jenkins/.local/lib/python3.8/site-packages/web3/middleware/formatting.py:76: in apply_formatters
        response = make_request(method, params)
    cytoolz/functoolz.pyx:250: in cytoolz.functoolz.curry.__call__
        ???
    /home/jenkins/.local/lib/python3.8/site-packages/web3/middleware/formatting.py:74: in apply_formatters
        response = make_request(method, formatted_params)
    /home/jenkins/.local/lib/python3.8/site-packages/web3/middleware/buffered_gas_estimate.py:40: in middleware
        return make_request(method, params)
    cytoolz/functoolz.pyx:250: in cytoolz.functoolz.curry.__call__
        ???
    /home/jenkins/.local/lib/python3.8/site-packages/web3/middleware/formatting.py:76: in apply_formatters
        response = make_request(method, params)
    /home/jenkins/.local/lib/python3.8/site-packages/web3/providers/websocket.py:144: in make_request
        return future.result()
    /usr/lib/python3.8/concurrent/futures/_base.py:444: in result
        return self.__get_result()
    /usr/lib/python3.8/concurrent/futures/_base.py:389: in __get_result
        raise self._exception
    /home/jenkins/.local/lib/python3.8/site-packages/web3/providers/websocket.py:124: in coro_make_request
        async with self.conn as conn:
    /home/jenkins/.local/lib/python3.8/site-packages/web3/providers/websocket.py:72: in __aenter__
        self.ws = await connect(
    /home/jenkins/.local/lib/python3.8/site-packages/websockets/legacy/client.py:629: in __await_impl__
        await protocol.handshake(
    /home/jenkins/.local/lib/python3.8/site-packages/websockets/legacy/client.py:388: in handshake
        raise InvalidStatusCode(status_code)
    E   websockets.exceptions.InvalidStatusCode: server rejected WebSocket connection: HTTP 401
    



    Device sessions

    2. test_1_1_chat_command_request_and_send_tx_stt_in_1_1_chat_offline, id: 6263

    Device 2: Selecting asset(s)
    Device 2: Find Button by accessibility id: accounts-more-options

    critical/chats/test_1_1_public_chats.py:158: in test_1_1_chat_command_request_and_send_tx_stt_in_1_1_chat_offline
        self.wallet_2.select_asset(asset_name)
    ../views/wallet_view.py:276: in select_asset
        self.multiaccount_more_options.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: `accounts-more-options` is not found on the screen
    



    Device sessions

    3. test_1_1_chat_command_decline_eth_push_changing_state, id: 6265

    Device 1: Double tap on: HomeButton
    Device 1: Find HomeButton by xpath: //*[contains(@content-desc,'tab, 1 out of 5')]

    critical/chats/test_1_1_public_chats.py:111: in test_1_1_chat_command_decline_eth_push_changing_state
        self.home_1.home_button.double_click()
    ../views/base_element.py:110: in double_click
        [self.find_element().click() for _ in range(2)]
    ../views/base_element.py:110: in <listcomp>
        [self.find_element().click() for _ in range(2)]
    ../views/base_element.py:79: in find_element
        raise NoSuchElementException(
     Device 1: HomeButton by xpath: `//*[contains(@content-desc,'tab, 1 out of 5')]` is not found on the screen
    



    Device sessions

    Class TestContactBlockMigrateKeycardMultipleSharedDevices:

    1. test_keycard_command_send_tx_eth_1_1_chat, id: 702186

    Finding tx in ETH transactions, attempt #2
    Tx is found: 0xc1e2a44ec751cad3dcff73e64696b2db8e33b67dbb31f261d8156e0be368657e (etherscan API)

    critical/chats/test_1_1_public_chats.py:698: in test_keycard_command_send_tx_eth_1_1_chat
        self.network_api.wait_for_confirmation_of_transaction(self.sender['address'], amount, confirmations=3)
    ../support/api/network_api.py:126: in wait_for_confirmation_of_transaction
        transaction = self.find_transaction_by_unique_amount(address, amount, token)
    ../support/api/network_api.py:108: in find_transaction_by_unique_amount
        w3.transaction_status(transaction['hash'])
    ../support/api/web3_api.py:80: in transaction_status
        return w3.eth.getTransaction(hash)
    /home/jenkins/.local/lib/python3.8/site-packages/web3/eth.py:636: in get_transaction
        return self._get_transaction(transaction_hash)
    /home/jenkins/.local/lib/python3.8/site-packages/web3/module.py:57: in caller
        result = w3.manager.request_blocking(method_str,
    /home/jenkins/.local/lib/python3.8/site-packages/web3/manager.py:197: in request_blocking
        response = self._make_request(method, params)
    /home/jenkins/.local/lib/python3.8/site-packages/web3/manager.py:150: in _make_request
        return request_func(method, params)
    cytoolz/functoolz.pyx:250: in cytoolz.functoolz.curry.__call__
        ???
    /home/jenkins/.local/lib/python3.8/site-packages/web3/middleware/formatting.py:76: in apply_formatters
        response = make_request(method, params)
    /home/jenkins/.local/lib/python3.8/site-packages/web3/middleware/gas_price_strategy.py:90: in middleware
        return make_request(method, params)
    cytoolz/functoolz.pyx:250: in cytoolz.functoolz.curry.__call__
        ???
    /home/jenkins/.local/lib/python3.8/site-packages/web3/middleware/formatting.py:74: in apply_formatters
        response = make_request(method, formatted_params)
    /home/jenkins/.local/lib/python3.8/site-packages/web3/middleware/attrdict.py:33: in middleware
        response = make_request(method, params)
    cytoolz/functoolz.pyx:250: in cytoolz.functoolz.curry.__call__
        ???
    /home/jenkins/.local/lib/python3.8/site-packages/web3/middleware/formatting.py:76: in apply_formatters
        response = make_request(method, params)
    cytoolz/functoolz.pyx:250: in cytoolz.functoolz.curry.__call__
        ???
    /home/jenkins/.local/lib/python3.8/site-packages/web3/middleware/formatting.py:76: in apply_formatters
        response = make_request(method, params)
    cytoolz/functoolz.pyx:250: in cytoolz.functoolz.curry.__call__
        ???
    /home/jenkins/.local/lib/python3.8/site-packages/web3/middleware/formatting.py:74: in apply_formatters
        response = make_request(method, formatted_params)
    /home/jenkins/.local/lib/python3.8/site-packages/web3/middleware/buffered_gas_estimate.py:40: in middleware
        return make_request(method, params)
    cytoolz/functoolz.pyx:250: in cytoolz.functoolz.curry.__call__
        ???
    /home/jenkins/.local/lib/python3.8/site-packages/web3/middleware/formatting.py:76: in apply_formatters
        response = make_request(method, params)
    /home/jenkins/.local/lib/python3.8/site-packages/web3/providers/websocket.py:144: in make_request
        return future.result()
    /usr/lib/python3.8/concurrent/futures/_base.py:444: in result
        return self.__get_result()
    /usr/lib/python3.8/concurrent/futures/_base.py:389: in __get_result
        raise self._exception
    /home/jenkins/.local/lib/python3.8/site-packages/web3/providers/websocket.py:124: in coro_make_request
        async with self.conn as conn:
    /home/jenkins/.local/lib/python3.8/site-packages/web3/providers/websocket.py:72: in __aenter__
        self.ws = await connect(
    /home/jenkins/.local/lib/python3.8/site-packages/websockets/legacy/client.py:629: in __await_impl__
        await protocol.handshake(
    /home/jenkins/.local/lib/python3.8/site-packages/websockets/legacy/client.py:388: in handshake
        raise InvalidStatusCode(status_code)
    E   websockets.exceptions.InvalidStatusCode: server rejected WebSocket connection: HTTP 401
    



    Device sessions

    Class TestEnsStickersMultipleDevicesMerged:

    1. test_ens_command_send_tx_eth_1_1_chat, id: 702153

    Finding tx in ETH transactions, attempt #2
    Tx is found: 0x6f52449d229f31fea1180d1358e5fc7571b7b8bf12a8c9710dcfd584de6738b5 (etherscan API)

    critical/chats/test_1_1_public_chats.py:1030: in test_ens_command_send_tx_eth_1_1_chat
        self.network_api.wait_for_confirmation_of_transaction(self.sender['address'], amount, confirmations=3)
    ../support/api/network_api.py:126: in wait_for_confirmation_of_transaction
        transaction = self.find_transaction_by_unique_amount(address, amount, token)
    ../support/api/network_api.py:108: in find_transaction_by_unique_amount
        w3.transaction_status(transaction['hash'])
    ../support/api/web3_api.py:80: in transaction_status
        return w3.eth.getTransaction(hash)
    /home/jenkins/.local/lib/python3.8/site-packages/web3/eth.py:636: in get_transaction
        return self._get_transaction(transaction_hash)
    /home/jenkins/.local/lib/python3.8/site-packages/web3/module.py:57: in caller
        result = w3.manager.request_blocking(method_str,
    /home/jenkins/.local/lib/python3.8/site-packages/web3/manager.py:197: in request_blocking
        response = self._make_request(method, params)
    /home/jenkins/.local/lib/python3.8/site-packages/web3/manager.py:150: in _make_request
        return request_func(method, params)
    cytoolz/functoolz.pyx:250: in cytoolz.functoolz.curry.__call__
        ???
    /home/jenkins/.local/lib/python3.8/site-packages/web3/middleware/formatting.py:76: in apply_formatters
        response = make_request(method, params)
    /home/jenkins/.local/lib/python3.8/site-packages/web3/middleware/gas_price_strategy.py:90: in middleware
        return make_request(method, params)
    cytoolz/functoolz.pyx:250: in cytoolz.functoolz.curry.__call__
        ???
    /home/jenkins/.local/lib/python3.8/site-packages/web3/middleware/formatting.py:74: in apply_formatters
        response = make_request(method, formatted_params)
    /home/jenkins/.local/lib/python3.8/site-packages/web3/middleware/attrdict.py:33: in middleware
        response = make_request(method, params)
    cytoolz/functoolz.pyx:250: in cytoolz.functoolz.curry.__call__
        ???
    /home/jenkins/.local/lib/python3.8/site-packages/web3/middleware/formatting.py:76: in apply_formatters
        response = make_request(method, params)
    cytoolz/functoolz.pyx:250: in cytoolz.functoolz.curry.__call__
        ???
    /home/jenkins/.local/lib/python3.8/site-packages/web3/middleware/formatting.py:76: in apply_formatters
        response = make_request(method, params)
    cytoolz/functoolz.pyx:250: in cytoolz.functoolz.curry.__call__
        ???
    /home/jenkins/.local/lib/python3.8/site-packages/web3/middleware/formatting.py:74: in apply_formatters
        response = make_request(method, formatted_params)
    /home/jenkins/.local/lib/python3.8/site-packages/web3/middleware/buffered_gas_estimate.py:40: in middleware
        return make_request(method, params)
    cytoolz/functoolz.pyx:250: in cytoolz.functoolz.curry.__call__
        ???
    /home/jenkins/.local/lib/python3.8/site-packages/web3/middleware/formatting.py:76: in apply_formatters
        response = make_request(method, params)
    /home/jenkins/.local/lib/python3.8/site-packages/web3/providers/websocket.py:144: in make_request
        return future.result()
    /usr/lib/python3.8/concurrent/futures/_base.py:444: in result
        return self.__get_result()
    /usr/lib/python3.8/concurrent/futures/_base.py:389: in __get_result
        raise self._exception
    /home/jenkins/.local/lib/python3.8/site-packages/web3/providers/websocket.py:124: in coro_make_request
        async with self.conn as conn:
    /home/jenkins/.local/lib/python3.8/site-packages/web3/providers/websocket.py:72: in __aenter__
        self.ws = await connect(
    /home/jenkins/.local/lib/python3.8/site-packages/websockets/legacy/client.py:629: in __await_impl__
        await protocol.handshake(
    /home/jenkins/.local/lib/python3.8/site-packages/websockets/legacy/client.py:388: in handshake
        raise InvalidStatusCode(status_code)
    E   websockets.exceptions.InvalidStatusCode: server rejected WebSocket connection: HTTP 401
    



    Device sessions

    Passed tests (26)

    Click to expand

    Class TestPairingSyncMultipleDevicesMerged:

    1. test_pairing_sync_initial_profile_picture, id: 702392
    Device sessions

    2. test_pairing_sync_initial_bookmarks, id: 702393
    Device sessions

    3. test_pairing_sync_initial_contacts_blocked_users, id: 702194
    Device sessions

    4. test_pairing_sync_public_chat_add_remove, id: 702199
    Device sessions

    5. test_pairing_sync_contacts_add_remove_set_nickname_ens, id: 702197
    Device sessions

    6. test_pairing_sync_initial_public_chats, id: 702195
    Device sessions

    7. test_pairing_sync_contacts_block_unblock, id: 702196
    Device sessions

    8. test_pairing_sync_1_1_chat_message, id: 702198
    Device sessions

    9. test_pairing_sync_clear_history, id: 702394
    Device sessions

    Class TestPublicChatBrowserOneDeviceMerged:

    1. test_browser_delete_close_tabs, id: 702076
    Device sessions

    Class TestSendTxDeviceMerged:

    1. test_send_tx_sign_message_2tx_in_batch_tx_filters_request_stt_testdapp, id: 5342
    Device sessions

    2. test_send_tx_custom_token_18_decimals_invalid_password, id: 700765
    Device sessions

    3. test_send_tx_set_recipient_options, id: 700757
    Device sessions

    Class TestEnsStickersMultipleDevicesMerged:

    1. test_ens_mention_nickname_1_1_chat, id: 702155
    Device sessions

    2. test_ens_mention_push_highlighted_public_chat, id: 702156
    Device sessions

    3. test_ens_purchased_in_profile, id: 702152
    Device sessions

    4. test_start_new_chat_public_key_validation, id: 702158
    Device sessions

    Class TestContactBlockMigrateKeycardMultipleSharedDevices:

    1. test_restore_account_migrate_multiaccount_to_keycard_db_saved, id: 702177
    Device sessions

    2. test_contact_add_remove_mention_default_username_nickname_public_chat, id: 702175
    Device sessions

    3. test_contact_block_unblock_public_chat_offline, id: 702176
    Device sessions

    Class TestOnboardingOneDeviceMerged:

    1. test_onboarding_cant_sign_in_with_invalid_password_logcat, id: 700746
    Device sessions

    2. test_onboarding_backup_seed_phrase_restore_same_login_logcat, id: 700745
    Device sessions

    3. test_onboarding_share_contact_address, id: 700743
    Device sessions

    4. test_onboarding_add_new_multiaccount_username_by_position_pass_validation, id: 700747
    Device sessions

    5. test_onboarding_home_initial_popup, id: 700742
    Device sessions

    6. test_onboarding_share_wallet_address, id: 700744
    Device sessions

    @erikseppanen erikseppanen force-pushed the feature-13804 branch 8 times, most recently from 8d21262 to f60a5e0 Compare August 29, 2022 16:33
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    Projects
    No open projects
    Archived in project
    Development

    Successfully merging this pull request may close these issues.

    Extend integration tests to back up seed phrase
    4 participants