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

Test an identity exchange with the real live system hangs on iOS #219

Open
vjrantal opened this Issue Oct 23, 2015 · 2 comments

Comments

Projects
None yet
3 participants
@vjrantal
Member

vjrantal commented Oct 23, 2015

Testing locally with 2 iOS devices using branch story_001_vjrantal (but I suspect the same is on story_001).

Below what gets printed to the logs before hanging:

Server log:

~ UT840565 test do a cb and then a rnmine then a wrong peer then repeat rnmine to make sure state didn't get lost done!
~ UT55993 test do a cb and then a rnmine then a wrong peer then repeat rnmine to make sure state didn't get lost done!
------- stopping the test : do a cb and then a rnmine then a wrong peer then repeat rnmine to make sure state didn't get lost
UT840565 added test : do a cb and then a rnmine with a rnmine that doesn't match the cb value
UT55993 added test : do a cb and then a rnmine with a rnmine that doesn't match the cb value
+++++++ starting the test : do a cb and then a rnmine with a rnmine that doesn't match the cb value
~ UT840565 test do a cb and then a rnmine with a rnmine that doesn't match the cb value done!
~ UT55993 test do a cb and then a rnmine with a rnmine that doesn't match the cb value done!
------- stopping the test : do a cb and then a rnmine with a rnmine that doesn't match the cb value
UT55993 added test : Make sure apis don't allow incorrect states
UT840565 added test : Make sure apis don't allow incorrect states
+++++++ starting the test : Make sure apis don't allow incorrect states
~ UT840565 test Make sure apis don't allow incorrect states done!
~ UT55993 test Make sure apis don't allow incorrect states done!
------- stopping the test : Make sure apis don't allow incorrect states
UT55993 added test : Make sure we can start, complete and then restart and complete, no state gets horked
UT840565 added test : Make sure we can start, complete and then restart and complete, no state gets horked
+++++++ starting the test : Make sure we can start, complete and then restart and complete, no state gets horked
~ UT840565 test Make sure we can start, complete and then restart and complete, no state gets horked done!
~ UT55993 test Make sure we can start, complete and then restart and complete, no state gets horked done!
------- stopping the test : Make sure we can start, complete and then restart and complete, no state gets horked
UT5062 added test : Now do an identity Exchange with the real live system!
UT306978 added test : Now do an identity Exchange with the real live system!
+++++++ starting the test : Now do an identity Exchange with the real live system!

iOS device log:

{"type":"test","name":"Make sure we can start, complete and then restart and complete, no state gets horked","id":85}
{"type":"end","test":85}
{"type":"test","name":"teardown","id":86}
{"type":"end","test":86}
{"type":"test","name":"setup","id":87}
{"type":"end","test":87}
{"type":"test","name":"Now do an identity Exchange with the real live system!","id":88}
DB value for ThaliReplicationManager is: {"__opts":{"prefix":"/private/var/mobile/Containers/Data/Application/5096F0CB-A440-4021-Aailed":false,"queue":[]},"_adapter":"leveldb","_db_name":"thali","adapter":"leveldb","replicate":{}}
INFO identityExchange We will advertise the following device name as we start: 7HuwaGrZsrYlAZuEBBKlvg==;Sreejumon
2015-10-23 16:00:08.996 ThaliTest[2393:1477374] jxcore: startBroadcasting
2015-10-23 16:00:09.117 ThaliTest[2393:1477374] server: starting 7HuwaGrZsrYlAZuEBBKlvg==;Sreejumon.KpQGBQ==
2015-10-23 16:00:09.118 ThaliTest[2393:1477374] THEMultipeerSession initialized peer 7HuwaGrZsrYlAZuEBBKlvg==;Sreejumon
2015-10-23 16:00:09.118 ThaliTest[2393:1477374] jxcore: startBroadcasting: success
{"id":0,"ok":true,"name":"Did we successfully get a callback from start?","operator":"notOk","actual":null,"expected":false,"test":88,"type":"assert"}
"We found a peer - [{\"peerIdentifier\":\"SqI8iQsj8f/3RhKB9L8jxA==;Sreejumon.I72Z/w==\",\"peerName\":\"(null)\",\"peerAvailable\":true}]"
2015-10-23 16:00:10.167 ThaliTest[2393:1477374] jxcore: connect SqI8iQsj8f/3RhKB9L8jxA==;Sreejumon.I72Z/w==
2015-10-23 16:00:11.180 ThaliTest[2393:1477063] server: accepting invitation SqI8iQsj8f/3RhKB9L8jxA==;Sreejumon
2015-10-23 16:00:11.589 ThaliTest[2393:1477433] jxcore: connect: success
2015-10-23 16:00:11.614 ThaliTest[2393:1477063] client: relay established
2015-10-23 16:00:11.615 ThaliTest[2393:1477063] client: new accepted socket: 0x1ad52550
client bridge: new client socket
client bridge: new client socket
2015-10-23 16:00:12.728 ThaliTest[2393:1477063] server relay: connected (to port: 57381)
server bridge: new client socket
client bridge: socket closed
client bridge: socket closed
client bridge: new client socket
client bridge: new client socket
client bridge: socket closed
client bridge: socket closed
client bridge: new client socket
client bridge: new client socket
client bridge: socket closed
client bridge: socket closed
client bridge: new client socket
client bridge: new client socket
client bridge: socket closed
@vjrantal

This comment has been minimized.

Show comment
Hide comment
@vjrantal

vjrantal Oct 23, 2015

Member

@DrJukka: Was it that this hangs on Android as well?

Member

vjrantal commented Oct 23, 2015

@DrJukka: Was it that this hangs on Android as well?

@DrJukka

This comment has been minimized.

Show comment
Hide comment
@DrJukka

DrJukka Oct 23, 2015

Contributor

yep, that and the replication manager test.
Also the nativelayer tests are having a bug, thus I took all three out for initial testing, you should try the same

Contributor

DrJukka commented Oct 23, 2015

yep, that and the replication manager test.
Also the nativelayer tests are having a bug, thus I took all three out for initial testing, you should try the same

@yaronyg yaronyg added the 1 - Backlog label Nov 18, 2015

@yaronyg yaronyg added 0 - Icebox and removed 1 - Backlog labels Jan 6, 2016

@yaronyg yaronyg self-assigned this Jul 12, 2016

@yaronyg yaronyg added this to the New Infra milestone Jul 12, 2016

@yaronyg yaronyg added 2 - Ready and removed 0 - Icebox labels Jul 12, 2016

@yaronyg yaronyg added the iOS label Sep 1, 2016

@yaronyg yaronyg added bug and removed 2 - Ready labels Oct 6, 2016

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