Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
integration
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
elixxir
integration
Commits
f26dcba0
Commit
f26dcba0
authored
Dec 7, 2021
by
Richard T. Carback III
Browse files
Options
Downloads
Plain Diff
Merge branch 'release' of git.xx.network:elixxir/integration into release
parents
9efb919c
4a2828d2
No related branches found
No related tags found
2 merge requests
!68
Master merge
,
!11
Release
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
basice2e/devnet.txt
+3
-6
3 additions, 6 deletions
basice2e/devnet.txt
basice2e/run.sh
+29
-29
29 additions, 29 deletions
basice2e/run.sh
smokeinfra/registration.json
+1
-1
1 addition, 1 deletion
smokeinfra/registration.json
with
33 additions
and
36 deletions
basice2e/devnet.txt
+
3
−
6
View file @
f26dcba0
34.219.228.165:11420
35.86.94.226:11420
54.203.24.52:11420
54.213.135.174:11420
34.222.85.101:11420
35.87.130.21:11420
34.219.242.38:11420
35.167.60.76:11420
52.89.133.230:11420
This diff is collapsed.
Click to expand it.
basice2e/run.sh
+
29
−
29
View file @
f26dcba0
...
@@ -253,17 +253,17 @@ then
...
@@ -253,17 +253,17 @@ then
mkdir
-p
blob18
mkdir
-p
blob18
mkdir
-p
blob91
mkdir
-p
blob91
echo
"TEST E2E WITH PRECANNED USERS..."
echo
"TEST E2E WITH PRECANNED USERS..."
CLIENTCMD
=
"timeout 240s ../bin/client
$CLIENTOPTS
-l
$CLIENTOUT
/client9.log --sendDelay 1000 --sendCount 2 --receiveCount 2 -s blob9/blob9 --sendid 9 --destid 9 -m
\"
Hi 9->9, with E2E Encryption
\"
"
CLIENTCMD
=
"timeout 240s ../bin/client
$CLIENTOPTS
--verify-sends
-l
$CLIENTOUT
/client9.log --sendDelay 1000 --sendCount 2 --receiveCount 2 -s blob9/blob9 --sendid 9 --destid 9 -m
\"
Hi 9->9, with E2E Encryption
\"
"
eval
$CLIENTCMD
>>
$CLIENTOUT
/client9.txt 2>&1 &
eval
$CLIENTCMD
>>
$CLIENTOUT
/client9.txt 2>&1 &
PIDVAL
=
$!
PIDVAL
=
$!
echo
"
$CLIENTCMD
--
$PIDVAL
"
echo
"
$CLIENTCMD
--
$PIDVAL
"
wait
$PIDVAL
wait
$PIDVAL
CLIENTCMD
=
"timeout 240s ../bin/client
$CLIENTOPTS
-l
$CLIENTOUT
/client9.log --sendDelay 1000 --sendCount 2 --receiveCount 2 -s blob9/blob9 --sendid 9 --destid 9 -m
\"
Hi 9->9, with E2E Encryption
\"
"
CLIENTCMD
=
"timeout 240s ../bin/client
$CLIENTOPTS
--verify-sends
-l
$CLIENTOUT
/client9.log --sendDelay 1000 --sendCount 2 --receiveCount 2 -s blob9/blob9 --sendid 9 --destid 9 -m
\"
Hi 9->9, with E2E Encryption
\"
"
eval
$CLIENTCMD
>>
$CLIENTOUT
/client9.txt 2>&1 &
eval
$CLIENTCMD
>>
$CLIENTOUT
/client9.txt 2>&1 &
PIDVAL
=
$!
PIDVAL
=
$!
echo
"
$CLIENTCMD
--
$PIDVAL
"
echo
"
$CLIENTCMD
--
$PIDVAL
"
wait
$PIDVAL
wait
$PIDVAL
CLIENTCMD
=
"timeout 240s ../bin/client
$CLIENTOPTS
-l
$CLIENTOUT
/client18.log --sendDelay 1000 --sendCount 2 --receiveCount 2 -s blob18/blob18 --slowPolling --sendid 18 --destid 18 -m
\"
Hi 18->18, with E2E Encryption
\"
"
CLIENTCMD
=
"timeout 240s ../bin/client
$CLIENTOPTS
--verify-sends
-l
$CLIENTOUT
/client18.log --sendDelay 1000 --sendCount 2 --receiveCount 2 -s blob18/blob18 --slowPolling --sendid 18 --destid 18 -m
\"
Hi 18->18, with E2E Encryption
\"
"
eval
$CLIENTCMD
>>
$CLIENTOUT
/client18.txt 2>&1 &
eval
$CLIENTCMD
>>
$CLIENTOUT
/client18.txt 2>&1 &
PIDVAL
=
$!
PIDVAL
=
$!
echo
"
$CLIENTCMD
--
$PIDVAL
"
echo
"
$CLIENTCMD
--
$PIDVAL
"
...
@@ -271,11 +271,11 @@ then
...
@@ -271,11 +271,11 @@ then
# Send E2E messages between two users
# Send E2E messages between two users
CLIENTCMD
=
"timeout 240s ../bin/client
$CLIENTOPTS
-l
$CLIENTOUT
/client9.log --sendDelay 1000 --sendCount 3 --receiveCount 3 -s blob9/blob9 --sendid 9 --destid 18 -m
\"
Hi 9->18, with E2E Encryption
\"
"
CLIENTCMD
=
"timeout 240s ../bin/client
$CLIENTOPTS
--verify-sends
-l
$CLIENTOUT
/client9.log --sendDelay 1000 --sendCount 3 --receiveCount 3 -s blob9/blob9 --sendid 9 --destid 18 -m
\"
Hi 9->18, with E2E Encryption
\"
"
eval
$CLIENTCMD
>>
$CLIENTOUT
/client9.txt 2>&1 &
eval
$CLIENTCMD
>>
$CLIENTOUT
/client9.txt 2>&1 &
PIDVAL1
=
$!
PIDVAL1
=
$!
echo
"
$CLIENTCMD
--
$PIDVAL
"
echo
"
$CLIENTCMD
--
$PIDVAL
"
CLIENTCMD
=
"timeout 240s ../bin/client
$CLIENTOPTS
-l
$CLIENTOUT
/client18.log --sendDelay 1000 --sendCount 3 --receiveCount 3 -s blob18/blob18 --sendid 18 --destid 9 -m
\"
Hi 18->9, with E2E Encryption
\"
"
CLIENTCMD
=
"timeout 240s ../bin/client
$CLIENTOPTS
--verify-sends
-l
$CLIENTOUT
/client18.log --sendDelay 1000 --sendCount 3 --receiveCount 3 -s blob18/blob18 --sendid 18 --destid 9 -m
\"
Hi 18->9, with E2E Encryption
\"
"
eval
$CLIENTCMD
>>
$CLIENTOUT
/client18.txt 2>&1 &
eval
$CLIENTCMD
>>
$CLIENTOUT
/client18.txt 2>&1 &
PIDVAL2
=
$!
PIDVAL2
=
$!
echo
"
$CLIENTCMD
--
$PIDVAL
"
echo
"
$CLIENTCMD
--
$PIDVAL
"
...
@@ -285,22 +285,22 @@ then
...
@@ -285,22 +285,22 @@ then
# Send multiple E2E encrypted messages between users that discovered each other
# Send multiple E2E encrypted messages between users that discovered each other
echo
"SENDING MESSAGES TO PRECANNED USERS AND FORCING A REKEY..."
echo
"SENDING MESSAGES TO PRECANNED USERS AND FORCING A REKEY..."
CLIENTCMD
=
"timeout 240s ../bin/client
$CLIENTOPTS
-l
$CLIENTOUT
/client18_rekey.log --sendCount 20 --receiveCount 20 --destid 9 -s blob18/blob18 -m
\"
Hello, 9, with E2E Encryption
\"
"
CLIENTCMD
=
"timeout 240s ../bin/client
$CLIENTOPTS
--verify-sends
-l
$CLIENTOUT
/client18_rekey.log --sendCount 20 --receiveCount 20 --destid 9 -s blob18/blob18 -m
\"
Hello, 9, with E2E Encryption
\"
"
eval
$CLIENTCMD
>>
$CLIENTOUT
/client18_rekey.txt 2>&1
||
true
&
eval
$CLIENTCMD
>>
$CLIENTOUT
/client18_rekey.txt 2>&1
||
true
&
PIDVAL
=
$!
PIDVAL
=
$!
echo
"
$CLIENTCMD
--
$PIDVAL
"
echo
"
$CLIENTCMD
--
$PIDVAL
"
CLIENTCMD
=
"timeout 240s ../bin/client
$CLIENTOPTS
-l
$CLIENTOUT
/client9_rekey.log --sendCount 20 --receiveCount 20 --destid 18 -s blob9/blob9 -m
\"
Hello, 18, with E2E Encryption
\"
"
CLIENTCMD
=
"timeout 240s ../bin/client
$CLIENTOPTS
--verify-sends
-l
$CLIENTOUT
/client9_rekey.log --sendCount 20 --receiveCount 20 --destid 18 -s blob9/blob9 -m
\"
Hello, 18, with E2E Encryption
\"
"
eval
$CLIENTCMD
>>
$CLIENTOUT
/client9_rekey.txt 2>&1
||
true
&
eval
$CLIENTCMD
>>
$CLIENTOUT
/client9_rekey.txt 2>&1
||
true
&
PIDVAL
=
$!
PIDVAL
=
$!
echo
"
$CLIENTCMD
--
$PIDVAL
"
echo
"
$CLIENTCMD
--
$PIDVAL
"
wait
$PIDVAL
||
true
wait
$PIDVAL
||
true
echo
"FORCING HISTORICAL ROUNDS... (NON-E2E, PRECAN)"
echo
"FORCING HISTORICAL ROUNDS... (NON-E2E, PRECAN)"
CLIENTCMD
=
"timeout 240s ../bin/client
$CLIENTOPTS
--forceHistoricalRounds --unsafe -l
$CLIENTOUT
/client35.log -s blob35 --sendid 1 --destid 2 --sendCount 5 --receiveCount 5 -m
\"
Hello from 1, without E2E Encryption
\"
"
CLIENTCMD
=
"timeout 240s ../bin/client
$CLIENTOPTS
--verify-sends
--forceHistoricalRounds --unsafe -l
$CLIENTOUT
/client35.log -s blob35 --sendid 1 --destid 2 --sendCount 5 --receiveCount 5 -m
\"
Hello from 1, without E2E Encryption
\"
"
eval
$CLIENTCMD
>>
$CLIENTOUT
/client35.txt
||
true
&
eval
$CLIENTCMD
>>
$CLIENTOUT
/client35.txt
||
true
&
PIDVAL
=
$!
PIDVAL
=
$!
echo
"
$CLIENTCMD
--
$PIDVAL
"
echo
"
$CLIENTCMD
--
$PIDVAL
"
CLIENTCMD
=
"timeout 240s ../bin/client
$CLIENTOPTS
--forceHistoricalRounds --unsafe -l
$CLIENTOUT
/client36.log -s blob36 --sendid 2 --destid 1 --sendCount 5 --receiveCount 5 -m
\"
Hello from 2, without E2E Encryption
\"
"
CLIENTCMD
=
"timeout 240s ../bin/client
$CLIENTOPTS
--verify-sends
--forceHistoricalRounds --unsafe -l
$CLIENTOUT
/client36.log -s blob36 --sendid 2 --destid 1 --sendCount 5 --receiveCount 5 -m
\"
Hello from 2, without E2E Encryption
\"
"
eval
$CLIENTCMD
>>
$CLIENTOUT
/client36.txt
||
true
&
eval
$CLIENTCMD
>>
$CLIENTOUT
/client36.txt
||
true
&
PIDVAL2
=
$!
PIDVAL2
=
$!
echo
"
$CLIENTCMD
--
$PIDVAL
"
echo
"
$CLIENTCMD
--
$PIDVAL
"
...
@@ -309,11 +309,11 @@ then
...
@@ -309,11 +309,11 @@ then
echo
"FORCING MESSAGE PICKUP RETRY... (NON-E2E, PRECAN)"
echo
"FORCING MESSAGE PICKUP RETRY... (NON-E2E, PRECAN)"
# Higher timeouts for this test to allow message pickup retry to function
# Higher timeouts for this test to allow message pickup retry to function
CLIENTCMD
=
"timeout 360s ../bin/client
$CLIENTOPTS
--forceMessagePickupRetry --unsafe -l
$CLIENTOUT
/client20.log -s blob20 --sendid 20 --destid 21 --sendCount 5 --receiveCount 5 -m
\"
Hello from 20, without E2E Encryption
\"
"
CLIENTCMD
=
"timeout 360s ../bin/client
$CLIENTOPTS
--verify-sends
--forceMessagePickupRetry --unsafe -l
$CLIENTOUT
/client20.log -s blob20 --sendid 20 --destid 21 --sendCount 5 --receiveCount 5 -m
\"
Hello from 20, without E2E Encryption
\"
"
eval
$CLIENTCMD
>>
$CLIENTOUT
/client20.txt
||
true
&
eval
$CLIENTCMD
>>
$CLIENTOUT
/client20.txt
||
true
&
PIDVAL
=
$!
PIDVAL
=
$!
echo
"
$CLIENTCMD
--
$PIDVAL
"
echo
"
$CLIENTCMD
--
$PIDVAL
"
CLIENTCMD
=
"timeout 360s ../bin/client
$CLIENTOPTS
--forceMessagePickupRetry --unsafe -l
$CLIENTOUT
/client21.log -s blob21 --sendid 21 --destid 20 --sendCount 5 --receiveCount 5 -m
\"
Hello from 21, without E2E Encryption
\"
"
CLIENTCMD
=
"timeout 360s ../bin/client
$CLIENTOPTS
--verify-sends
--forceMessagePickupRetry --unsafe -l
$CLIENTOUT
/client21.log -s blob21 --sendid 21 --destid 20 --sendCount 5 --receiveCount 5 -m
\"
Hello from 21, without E2E Encryption
\"
"
eval
$CLIENTCMD
>>
$CLIENTOUT
/client21.txt
||
true
&
eval
$CLIENTCMD
>>
$CLIENTOUT
/client21.txt
||
true
&
PIDVAL2
=
$!
PIDVAL2
=
$!
echo
"
$CLIENTCMD
--
$PIDVAL
"
echo
"
$CLIENTCMD
--
$PIDVAL
"
...
@@ -325,12 +325,12 @@ fi
...
@@ -325,12 +325,12 @@ fi
# Non-precanned E2E user messaging
# Non-precanned E2E user messaging
echo
"SENDING E2E MESSAGES TO NEW USERS..."
echo
"SENDING E2E MESSAGES TO NEW USERS..."
CLIENTCMD
=
"timeout 240s ../bin/client
$CLIENTOPTS
-l
$CLIENTOUT
/client42.log -s blob42 --writeContact
$CLIENTOUT
/rick42-contact.bin --unsafe -m
\"
Hello from Rick42 to myself, without E2E Encryption
\"
"
CLIENTCMD
=
"timeout 240s ../bin/client
$CLIENTOPTS
--verify-sends
-l
$CLIENTOUT
/client42.log -s blob42 --writeContact
$CLIENTOUT
/rick42-contact.bin --unsafe -m
\"
Hello from Rick42 to myself, without E2E Encryption
\"
"
eval
$CLIENTCMD
>>
$CLIENTOUT
/client42.txt
||
true
&
eval
$CLIENTCMD
>>
$CLIENTOUT
/client42.txt
||
true
&
PIDVAL
=
$!
PIDVAL
=
$!
echo
"
$CLIENTCMD
--
$PIDVAL
"
echo
"
$CLIENTCMD
--
$PIDVAL
"
wait
$PIDVAL
wait
$PIDVAL
CLIENTCMD
=
"timeout 240s ../bin/client
$CLIENTOPTS
-l
$CLIENTOUT
/client43.log -s blob43 --writeContact
$CLIENTOUT
/ben43-contact.bin --destfile
$CLIENTOUT
/rick42-contact.bin --send-auth-request --sendCount 0 --receiveCount 0"
CLIENTCMD
=
"timeout 240s ../bin/client
$CLIENTOPTS
--verify-sends
-l
$CLIENTOUT
/client43.log -s blob43 --writeContact
$CLIENTOUT
/ben43-contact.bin --destfile
$CLIENTOUT
/rick42-contact.bin --send-auth-request --sendCount 0 --receiveCount 0"
eval
$CLIENTCMD
>>
$CLIENTOUT
/client43.txt
||
true
&
eval
$CLIENTCMD
>>
$CLIENTOUT
/client43.txt
||
true
&
PIDVAL2
=
$!
PIDVAL2
=
$!
echo
"
$CLIENTCMD
--
$PIDVAL
"
echo
"
$CLIENTCMD
--
$PIDVAL
"
...
@@ -349,7 +349,7 @@ BENID=${TMPID}
...
@@ -349,7 +349,7 @@ BENID=${TMPID}
echo
"BEN ID:
$BENID
"
echo
"BEN ID:
$BENID
"
# Client 42 will now wait for client 43's E2E Auth channel request and confirm
# Client 42 will now wait for client 43's E2E Auth channel request and confirm
CLIENTCMD
=
"timeout 240s ../bin/client
$CLIENTOPTS
-l
$CLIENTOUT
/client42.log -s blob42 --destfile
$CLIENTOUT
/ben43-contact.bin --sendCount 0 --receiveCount 0"
CLIENTCMD
=
"timeout 240s ../bin/client
$CLIENTOPTS
--verify-sends
-l
$CLIENTOUT
/client42.log -s blob42 --destfile
$CLIENTOUT
/ben43-contact.bin --sendCount 0 --receiveCount 0"
eval
$CLIENTCMD
>>
$CLIENTOUT
/client42.txt
||
true
&
eval
$CLIENTCMD
>>
$CLIENTOUT
/client42.txt
||
true
&
PIDVAL
=
$!
PIDVAL
=
$!
echo
"
$CLIENTCMD
--
$PIDVAL
"
echo
"
$CLIENTCMD
--
$PIDVAL
"
...
@@ -357,21 +357,21 @@ wait $PIDVAL
...
@@ -357,21 +357,21 @@ wait $PIDVAL
wait
$PIDVAL2
wait
$PIDVAL2
# Test destid syntax too, note wait for 11 messages to catch the message from above ^^^
# Test destid syntax too, note wait for 11 messages to catch the message from above ^^^
CLIENTCMD
=
"timeout 240s ../bin/client
$CLIENTOPTS
-l
$CLIENTOUT
/client42.log -s blob42 --destid b64:
$BENID
--sendCount 5 --receiveCount 5 -m
\"
Hello from Rick42, with E2E Encryption
\"
"
CLIENTCMD
=
"timeout 240s ../bin/client
$CLIENTOPTS
--verify-sends
-l
$CLIENTOUT
/client42.log -s blob42 --destid b64:
$BENID
--sendCount 5 --receiveCount 5 -m
\"
Hello from Rick42, with E2E Encryption
\"
"
eval
$CLIENTCMD
>>
$CLIENTOUT
/client42.txt
||
true
&
eval
$CLIENTCMD
>>
$CLIENTOUT
/client42.txt
||
true
&
PIDVAL
=
$!
PIDVAL
=
$!
echo
"
$CLIENTCMD
--
$PIDVAL
"
echo
"
$CLIENTCMD
--
$PIDVAL
"
CLIENTCMD
=
"timeout 240s ../bin/client
$CLIENTOPTS
-l
$CLIENTOUT
/client43.log -s blob43 --destid b64:
$RICKID
--sendCount 5 --receiveCount 5 -m
\"
Hello from Ben43, with E2E Encryption
\"
"
CLIENTCMD
=
"timeout 240s ../bin/client
$CLIENTOPTS
--verify-sends
-l
$CLIENTOUT
/client43.log -s blob43 --destid b64:
$RICKID
--sendCount 5 --receiveCount 5 -m
\"
Hello from Ben43, with E2E Encryption
\"
"
eval
$CLIENTCMD
>>
$CLIENTOUT
/client43.txt
||
true
&
eval
$CLIENTCMD
>>
$CLIENTOUT
/client43.txt
||
true
&
PIDVAL2
=
$!
PIDVAL2
=
$!
echo
"
$CLIENTCMD
--
$PIDVAL
"
echo
"
$CLIENTCMD
--
$PIDVAL
"
wait
$PIDVAL
wait
$PIDVAL
wait
$PIDVAL2
wait
$PIDVAL2
CLIENTCMD
=
"timeout 240s ../bin/client
$CLIENTOPTS
-l
$CLIENTOUT
/client42.log -s blob42 --destid b64:
$BENID
--sendCount 5 --receiveCount 5 -m
\"
Hello from Rick42, with E2E Encryption
\"
"
CLIENTCMD
=
"timeout 240s ../bin/client
$CLIENTOPTS
--verify-sends
-l
$CLIENTOUT
/client42.log -s blob42 --destid b64:
$BENID
--sendCount 5 --receiveCount 5 -m
\"
Hello from Rick42, with E2E Encryption
\"
"
eval
$CLIENTCMD
>>
$CLIENTOUT
/client42.txt
||
true
&
eval
$CLIENTCMD
>>
$CLIENTOUT
/client42.txt
||
true
&
PIDVAL
=
$!
PIDVAL
=
$!
echo
"
$CLIENTCMD
--
$PIDVAL
"
echo
"
$CLIENTCMD
--
$PIDVAL
"
CLIENTCMD
=
"timeout 240s ../bin/client
$CLIENTOPTS
-l
$CLIENTOUT
/client43.log -s blob43 --destid b64:
$RICKID
--sendCount 5 --receiveCount 5 -m
\"
Hello from Ben43, with E2E Encryption
\"
"
CLIENTCMD
=
"timeout 240s ../bin/client
$CLIENTOPTS
--verify-sends
-l
$CLIENTOUT
/client43.log -s blob43 --destid b64:
$RICKID
--sendCount 5 --receiveCount 5 -m
\"
Hello from Ben43, with E2E Encryption
\"
"
eval
$CLIENTCMD
>>
$CLIENTOUT
/client43.txt
||
true
&
eval
$CLIENTCMD
>>
$CLIENTOUT
/client43.txt
||
true
&
PIDVAL2
=
$!
PIDVAL2
=
$!
echo
"
$CLIENTCMD
--
$PIDVAL
"
echo
"
$CLIENTCMD
--
$PIDVAL
"
...
@@ -477,25 +477,25 @@ wait $PIDVAL2
...
@@ -477,25 +477,25 @@ wait $PIDVAL2
# Generate contact and proto user file for client25
# Generate contact and proto user file for client25
echo
"TESTING PROTO USER FILE..."
echo
"TESTING PROTO USER FILE..."
CLIENTCMD
=
"timeout 20s ../bin/client -l
$CLIENTOUT
/client25.log -s blob11420 --password hello --ndf results/ndf.json --writeContact
$CLIENTOUT
/josh25-contact.bin --protoUserOut
$CLIENTOUT
/client25Proto.json "
CLIENTCMD
=
"timeout 20s ../bin/client
--verify-sends
-l
$CLIENTOUT
/client25.log -s blob11420 --password hello --ndf results/ndf.json --writeContact
$CLIENTOUT
/josh25-contact.bin --protoUserOut
$CLIENTOUT
/client25Proto.json "
eval
$CLIENTCMD
>>
$CLIENTOUT
/client25.txt
||
true
&
eval
$CLIENTCMD
>>
$CLIENTOUT
/client25.txt
||
true
&
PIDVAL
=
$!
PIDVAL
=
$!
echo
"
$CLIENTCMD
--
$PIDVAL
"
echo
"
$CLIENTCMD
--
$PIDVAL
"
wait
$PIDVAL
wait
$PIDVAL
# Generate contact and proto user file for client 26
# Generate contact and proto user file for client 26
CLIENTCMD
=
"timeout 20s ../bin/client -l
$CLIENTOUT
/client26.log -s blob11421 --password hello --ndf results/ndf.json --writeContact
$CLIENTOUT
/jonah26-contact.bin --protoUserOut
$CLIENTOUT
/client26Proto.json"
CLIENTCMD
=
"timeout 20s ../bin/client
--verify-sends
-l
$CLIENTOUT
/client26.log -s blob11421 --password hello --ndf results/ndf.json --writeContact
$CLIENTOUT
/jonah26-contact.bin --protoUserOut
$CLIENTOUT
/client26Proto.json"
eval
$CLIENTCMD
>>
$CLIENTOUT
/client26.txt
||
true
&
eval
$CLIENTCMD
>>
$CLIENTOUT
/client26.txt
||
true
&
PIDVAL
=
$!
PIDVAL
=
$!
echo
"
$CLIENTCMD
--
$PIDVAL
"
echo
"
$CLIENTCMD
--
$PIDVAL
"
wait
$PIDVAL
wait
$PIDVAL
# Clients will now load from the protoUser file and write to session
# Clients will now load from the protoUser file and write to session
CLIENTCMD
=
"timeout 60s ../bin/client
$CLIENTOPTS
-l
$CLIENTOUT
/client25.log -s blob25 --protoUserPath
$CLIENTOUT
/client25Proto.json"
CLIENTCMD
=
"timeout 60s ../bin/client
$CLIENTOPTS
--verify-sends
-l
$CLIENTOUT
/client25.log -s blob25 --protoUserPath
$CLIENTOUT
/client25Proto.json"
eval
$CLIENTCMD
>>
$CLIENTOUT
/client25.txt
||
true
&
eval
$CLIENTCMD
>>
$CLIENTOUT
/client25.txt
||
true
&
PIDVAL
=
$!
PIDVAL
=
$!
echo
"
$CLIENTCMD
--
$PIDVAL
"
echo
"
$CLIENTCMD
--
$PIDVAL
"
CLIENTCMD
=
"timeout 60s ../bin/client
$CLIENTOPTS
-l
$CLIENTOUT
/client26.log -s blob26 --protoUserPath
$CLIENTOUT
/client26Proto.json"
CLIENTCMD
=
"timeout 60s ../bin/client
$CLIENTOPTS
--verify-sends
-l
$CLIENTOUT
/client26.log -s blob26 --protoUserPath
$CLIENTOUT
/client26Proto.json"
eval
$CLIENTCMD
>>
$CLIENTOUT
/client26.txt
||
true
&
eval
$CLIENTCMD
>>
$CLIENTOUT
/client26.txt
||
true
&
PIDVAL2
=
$!
PIDVAL2
=
$!
echo
"
$CLIENTCMD
--
$PIDVAL2
"
echo
"
$CLIENTCMD
--
$PIDVAL2
"
...
@@ -503,12 +503,12 @@ wait $PIDVAL
...
@@ -503,12 +503,12 @@ wait $PIDVAL
wait
$PIDVAL2
wait
$PIDVAL2
# Continue with E2E testing with session files loaded from proto
# Continue with E2E testing with session files loaded from proto
CLIENTCMD
=
"timeout 240s ../bin/client
$CLIENTOPTS
-l
$CLIENTOUT
/client25.log -s blob25 --writeContact
$CLIENTOUT
/josh25-contact.bin --unsafe -m
\"
Hello from Josh25 to myself, without E2E Encryption
\"
"
CLIENTCMD
=
"timeout 240s ../bin/client
$CLIENTOPTS
--verify-sends
-l
$CLIENTOUT
/client25.log -s blob25 --writeContact
$CLIENTOUT
/josh25-contact.bin --unsafe -m
\"
Hello from Josh25 to myself, without E2E Encryption
\"
"
eval
$CLIENTCMD
>>
$CLIENTOUT
/client25.txt
||
true
&
eval
$CLIENTCMD
>>
$CLIENTOUT
/client25.txt
||
true
&
PIDVAL
=
$!
PIDVAL
=
$!
echo
"
$CLIENTCMD
--
$PIDVAL
"
echo
"
$CLIENTCMD
--
$PIDVAL
"
wait
$PIDVAL
wait
$PIDVAL
CLIENTCMD
=
"timeout 240s ../bin/client
$CLIENTOPTS
-l
$CLIENTOUT
/client26.log -s blob26 --writeContact
$CLIENTOUT
/jonah26-contact.bin --destfile
$CLIENTOUT
/josh25-contact.bin --send-auth-request --sendCount 0 --receiveCount 0"
CLIENTCMD
=
"timeout 240s ../bin/client
$CLIENTOPTS
--verify-sends
-l
$CLIENTOUT
/client26.log -s blob26 --writeContact
$CLIENTOUT
/jonah26-contact.bin --destfile
$CLIENTOUT
/josh25-contact.bin --send-auth-request --sendCount 0 --receiveCount 0"
eval
$CLIENTCMD
>>
$CLIENTOUT
/client26.txt
||
true
&
eval
$CLIENTCMD
>>
$CLIENTOUT
/client26.txt
||
true
&
PIDVAL2
=
$!
PIDVAL2
=
$!
echo
"
$CLIENTCMD
--
$PIDVAL
"
echo
"
$CLIENTCMD
--
$PIDVAL
"
...
@@ -527,7 +527,7 @@ JONAHID=${TMPID}
...
@@ -527,7 +527,7 @@ JONAHID=${TMPID}
echo
"JONAH ID:
$JONAHID
"
echo
"JONAH ID:
$JONAHID
"
## Client 25 will now wait for client 26's E2E Auth channel request and confirm
## Client 25 will now wait for client 26's E2E Auth channel request and confirm
CLIENTCMD
=
"timeout 240s ../bin/client
$CLIENTOPTS
-l
$CLIENTOUT
/client25.log -s blob25 --destfile
$CLIENTOUT
/jonah26-contact.bin --sendCount 0 --receiveCount 0"
CLIENTCMD
=
"timeout 240s ../bin/client
$CLIENTOPTS
--verify-sends
-l
$CLIENTOUT
/client25.log -s blob25 --destfile
$CLIENTOUT
/jonah26-contact.bin --sendCount 0 --receiveCount 0"
eval
$CLIENTCMD
>>
$CLIENTOUT
/client25.txt
||
true
&
eval
$CLIENTCMD
>>
$CLIENTOUT
/client25.txt
||
true
&
PIDVAL
=
$!
PIDVAL
=
$!
echo
"
$CLIENTCMD
--
$PIDVAL
"
echo
"
$CLIENTCMD
--
$PIDVAL
"
...
@@ -536,21 +536,21 @@ wait $PIDVAL2
...
@@ -536,21 +536,21 @@ wait $PIDVAL2
#
#
# Send E2E messages with written sessions
# Send E2E messages with written sessions
CLIENTCMD
=
"timeout 240s ../bin/client
$CLIENTOPTS
-l
$CLIENTOUT
/client25.log -s blob25 --destid b64:
$JONAHID
--sendCount 5 --receiveCount 5 -m
\"
Hello from Josh25, with E2E Encryption
\"
"
CLIENTCMD
=
"timeout 240s ../bin/client
$CLIENTOPTS
--verify-sends
-l
$CLIENTOUT
/client25.log -s blob25 --destid b64:
$JONAHID
--sendCount 5 --receiveCount 5 -m
\"
Hello from Josh25, with E2E Encryption
\"
"
eval
$CLIENTCMD
>>
$CLIENTOUT
/client25.txt
||
true
&
eval
$CLIENTCMD
>>
$CLIENTOUT
/client25.txt
||
true
&
PIDVAL
=
$!
PIDVAL
=
$!
echo
"
$CLIENTCMD
--
$PIDVAL
"
echo
"
$CLIENTCMD
--
$PIDVAL
"
CLIENTCMD
=
"timeout 240s ../bin/client
$CLIENTOPTS
-l
$CLIENTOUT
/client26.log -s blob26 --destid b64:
$JOSHID
--sendCount 5 --receiveCount 5 -m
\"
Hello from Jonah26, with E2E Encryption
\"
"
CLIENTCMD
=
"timeout 240s ../bin/client
$CLIENTOPTS
--verify-sends
-l
$CLIENTOUT
/client26.log -s blob26 --destid b64:
$JOSHID
--sendCount 5 --receiveCount 5 -m
\"
Hello from Jonah26, with E2E Encryption
\"
"
eval
$CLIENTCMD
>>
$CLIENTOUT
/client26.txt
||
true
&
eval
$CLIENTCMD
>>
$CLIENTOUT
/client26.txt
||
true
&
PIDVAL2
=
$!
PIDVAL2
=
$!
echo
"
$CLIENTCMD
--
$PIDVAL
"
echo
"
$CLIENTCMD
--
$PIDVAL
"
wait
$PIDVAL
wait
$PIDVAL
wait
$PIDVAL2
wait
$PIDVAL2
CLIENTCMD
=
"timeout 240s ../bin/client
$CLIENTOPTS
-l
$CLIENTOUT
/client25.log -s blob25 --destid b64:
$JONAHID
--sendCount 5 --receiveCount 5 -m
\"
Hello from Josh25, with E2E Encryption
\"
"
CLIENTCMD
=
"timeout 240s ../bin/client
$CLIENTOPTS
--verify-sends
-l
$CLIENTOUT
/client25.log -s blob25 --destid b64:
$JONAHID
--sendCount 5 --receiveCount 5 -m
\"
Hello from Josh25, with E2E Encryption
\"
"
eval
$CLIENTCMD
>>
$CLIENTOUT
/client25.txt
||
true
&
eval
$CLIENTCMD
>>
$CLIENTOUT
/client25.txt
||
true
&
PIDVAL
=
$!
PIDVAL
=
$!
echo
"
$CLIENTCMD
--
$PIDVAL
"
echo
"
$CLIENTCMD
--
$PIDVAL
"
CLIENTCMD
=
"timeout 240s ../bin/client
$CLIENTOPTS
-l
$CLIENTOUT
/client26.log -s blob26 --destid b64:
$JOSHID
--sendCount 5 --receiveCount 5 -m
\"
Hello from Jonah26, with E2E Encryption
\"
"
CLIENTCMD
=
"timeout 240s ../bin/client
$CLIENTOPTS
--verify-sends
-l
$CLIENTOUT
/client26.log -s blob26 --destid b64:
$JOSHID
--sendCount 5 --receiveCount 5 -m
\"
Hello from Jonah26, with E2E Encryption
\"
"
eval
$CLIENTCMD
>>
$CLIENTOUT
/client26.txt
||
true
&
eval
$CLIENTCMD
>>
$CLIENTOUT
/client26.txt
||
true
&
PIDVAL2
=
$!
PIDVAL2
=
$!
echo
"
$CLIENTCMD
--
$PIDVAL
"
echo
"
$CLIENTCMD
--
$PIDVAL
"
...
...
This diff is collapsed.
Click to expand it.
smokeinfra/registration.json
+
1
−
1
View file @
f26dcba0
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
"MinimumDelay"
:
60
,
"MinimumDelay"
:
60
,
"RealtimeDelay"
:
120
,
"RealtimeDelay"
:
120
,
"SemiOptimalOrdering"
:
true
,
"SemiOptimalOrdering"
:
true
,
"Threshold"
:
3
,
"Threshold"
:
0.
3
,
"NodeCleanUpInterval"
:
3
,
"NodeCleanUpInterval"
:
3
,
"ResourceQueueTimeout"
:
300000
"ResourceQueueTimeout"
:
300000
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment