Creates a docker container per eclipse instance and a dockerd xmpp server.
- limit network bandwith and latency (upload 5mbit, 15ms) per client
- starts eclipse with debug enabled and java mission control
- linux (tested with mint 18.3 / ubuntu)
- docker
- sudo
- socat # for port forwarding
- iproute2 # for traffic control
Saros is complex, so this is a bit hacky. To use this, it is mandatory to keep a certain folder structure:
□ folder somewhere in your filesystem
┣╸eclipse
┣╸jdk
┣╸git (the repository folder)
┃ ┗╸saros (checkout with all needed projects)
┣╸workspaces
┃ ┗╸your eclipse project
┃ ┗╸created eclipse project folder for alice, bob, ...
┗╸docker (this git repo)
┗╸copy configuration.properties to git/saros/de.fu_berlin.inf.dpp/test/stf/de/fu_berlin/inf/dpp/stf/client
- start alice, bob, ... once via eclipse to create workspace folder
- use script
./testenv.sh
connect to 192.168.25.100:6006 for alice, 192.168.25.101:6006 for bob, ...
connect to 192.168.25.100:9090 for alice, 192.168.25.101:9090 for bob, ...
- saros uses tls 1.0 -> ejabberd is set to this support this unsecure method
- self signed certifcate -> seems to be no problem, and who cares about hostnames...
- some dns server at fu network are blocked -> configre docker accordingly