[bisq-network/bisq] Release/v1.3.5 TestCase restore wallet from seed from pwd prompt at app startup failed (#4293)

Stan notifications at github.com
Thu Jun 11 16:17:53 UTC 2020


<!--
   SUPPORT REQUESTS: This is for reporting bugs in the Bisq app.
   If you have a support request, please join #support on Bisq's
   Keybase team at https://keybase.io/team/Bisq
-->

### Description

<!-- brief description of the bug -->
The test case described in https://bisq.ontestpad.com/script/200#11
_"Scenario: Password protected wallet can be restored using seed words from the password prompt at application startup"_ failed.

Each window in the process freezes my Ubuntu 18 display multiple times, and procedure fails to restore the password encrypted wallet.  Note:  the frozen display problem may be related to running multiple Bisq processes on a single host.  This happens during every test cycle I work on, but the problem is not as pronounced as it is in this test case failure.

#### Version

<!-- commit id or version number -->
release/v1.3.5   at   commit 4ee2f355dca1e0b8e6a482a192d1c0b0c214b4d8


### Steps to reproduce

<!--if you can reliably reproduce the bug, list the steps here  -->

#### Start Bitcond and Bisq test/regtest mode processes

You may be able to reproduce the problem running a desktop on mainnet (I'm working on it now), and not have to run all the processes needed for testing in regtest mode. 

BITCOIND  Start bitcoind in regtest mode

SEEDNODE 
	`seednode/build/libs/seednode-all.jar --seedNodes=localhost:2002 --bitcoinRegtestHost=localhost --rpcBlockNotificationPort=5000 --rpcHost=localhost --rpcUser=me --rpcPassword=password --baseCurrencyNetwork=BTC_REGTEST --rpcPort=18443 --daoActivated=true --fullDaoNode=true --useLocalhostForP2P=true --useDevPrivilegeKeys=true --nodePort=2002 --appName=bisq-BTC_REGTEST_Seed_2002`


ARBITRATION NODE (register mediator and refund agent after arbitration desktop starts up)
	`desktop/build/libs/desktop-1.3.5-all.jar -seedNodes=localhost:2002 --daoActivated=true --fullDaoNode=true --genesisBlockHeight=111 --genesisTxId=30af0050040befd8af25068cc697e418e09c2d8ebd8d411d2240591b9ec203cf --baseCurrencyNetwork=BTC_REGTEST --useLocalhostForP2P=true --nodePort=4444 --appName=bisq-BTC_REGTEST_Arb_dao --useDevPrivilegeKeys=true --bitcoinRegtestHost=localhost --rpcHost=localhost --rpcUser=me --rpcPassword=password --rpcPort=18443 --rpcBlockNotificationPort=5001`

BOB
	`desktop/build/libs/desktop-1.3.5-all.jar --seedNodes=localhost:2002 --daoActivated=true --fullDaoNode=false --baseCurrencyNetwork=BTC_REGTEST --bitcoinRegtestHost=localhost --rpcHost=localhost --rpcPort=18443 --rpcUser=me --rpcPassword=password --rpcBlockNotificationPort=5003 --genesisBlockHeight=111 --genesisTxId=30af0050040befd8af25068cc697e418e09c2d8ebd8d411d2240591b9ec203cf --useDevPrivilegeKeys=true --useLocalhostForP2P=true --nodePort=6666 --appName=bisq-BTC_REGTEST_Bob_dao` 


#### Encrypt Bob's wallet with a password and shut down 

#### Restart Bob's desktop

#### Click "FORGOT PASSWORD?" under "Enter password to unlock" prompt

	
![forgot-pwd-1](https://user-images.githubusercontent.com/36207203/84409744-26cbb900-abe4-11ea-9136-dfded1721121.png)

#### Type or paste seed words into "Restore wallets from seedwords" text box, and click "RESTORE WALLETS" button

![forgot-pwd-2](https://user-images.githubusercontent.com/36207203/84409924-3519d500-abe4-11ea-8c91-b92faed439db.png)

#### Click "I WANT TO RESTORE ANYWAY" button

![forgot-pwd-3](https://user-images.githubusercontent.com/36207203/84410079-406d0080-abe4-11ea-9d13-48d7c38c8d19.png)

	
#### Find yourself back to the "Restore wallets from seedwords" window (nothing changed)
	
![forgot-pwd-4](https://user-images.githubusercontent.com/36207203/84410148-45ca4b00-abe4-11ea-8b17-c0a85dba2a55.png)

	 

### Expected behaviour

<!--description of the expected behavior -->
After completing the steps described above, the wallet should be restored, unencrypted, and desktop should shut down.  On failure, an error message describing the failure should appear.

### Actual behaviour

Bisq UI goes into a loop:  "RESTORE WALLETS" -> "I WANT TO RESTORE ANYWAY"
		->  "RESTORE WALLETS" -> "I WANT TO RESTORE ANYWAY" 
		->  "RESTORE WALLETS" -> "I WANT TO RESTORE ANYWAY" 
		...

And each window freezes the computer screen.  
(This could be a problem specific to my NVIDIA on Ubuntu 18 GPU.)		

#### Device or machine

MSI laptop, Ubuntu 18, NVIDIA GTX 960M


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/bisq-network/bisq/issues/4293
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20200611/2bda5e80/attachment-0001.html>


More information about the bisq-github mailing list