[peqi-hackathon-orga] Instructions and Files for Connection Test
Matt Skrzypczyk M.D.Skrzypczyk at student.tudelft.nl
Wed Oct 2 11:24:54 CEST 2019
Hey Daniel! Awesome to hear! 😊 -Matt ________________________________ From: Daniel Adam Dobos <Daniel.Dobos at cern.ch> Sent: Wednesday, October 2, 2019 11:24:05 AM To: Matt Skrzypczyk Cc: peqi-hackathon-orga at ripe.net Subject: Re: [peqi-hackathon-orga] Instructions and Files for Connection Test Hi Matt, creating EPR pairs - CHECK sending qubits - CHECK all works from inside red bus - CHECK Geneva venue technical test all fine (12 points to you - and your testing script): [cid:8FA2FD2D-3F06-4BDD-8947-535E34F59059 at cern.ch] Cheers, Daniel Beginning Simulaqron connection tests Test 1: Successfully verified creating EPR pairs. Test 2: Successfully verified sending qubits. Simulaqron tests passed! Beginning port scan tests Port scan tests passed! Beginning port forwarding tests Test 1: Successfully verified creating EPR pairs. Test 2: Successfully verified sending qubits. Port forwarding tests passed! All tests have been run On 30 Sep 2019, at 12:35, Matt Skrzypczyk <M.D.Skrzypczyk at student.tudelft.nl<mailto:M.D.Skrzypczyk at student.tudelft.nl>> wrote: Hello technical contacts! This morning I have had the opportunity to verify the test set up for tomorrow. There were a few unexpected hiccups due to a couple restricted ports on AWS's end but this only requires a few modifications to resolve. Please find the necessary connection test script and configuration file attached to this email as well as a short description of how to perform the test below. We will need a little bit of coordination among ourselves to make sure we do not interfere with each other while executing the test code. The infrastructure for the test involves two AWS instances each of which is running a single simulated network node (Alice and Bob). The tests will perform the following set of actions: 1. Verify that the machine at your local node is able to communicate with the Alice and Bob simulated nodes and that Alice and Bob are able to communicate across the AWS instances. This communication will rely on access to ports 8011 and 8014. 2. Verify that the remaining ports in the default port range are accessible. Due to the AWS hiccups I mentioned this port range has been slightly modified to 8016 to 8079, (the simulaqron tests from 1 verify 8010-8015 are fine). 3. Rerun the same tests in 1 but this time using port 80 for communications to verify port forwarding. These tests should be sufficient for verifying that machines in your local network will be able to connect to the infrastructure we plan to set up for the hackathon event. In order to run the tests I have included a configuration file (connection_test_config.json) which needs to be placed in the correct location on your test machine. If you followed the previous email regarding setting up simulaqron in preparation for the tests, you can find where the default simulaqron configuration file is located by running the following command: simulaqron get network-config-file On my own local machine this provides me the following path in the output: /usr/local/lib/python3.7/site-packages/simulaqron/config/network.json The path output on your own machine may be slightly different and should be noted. Next, copy the connection_test_config.json to this same path: cp connection_test_config.json /usr/local/lib/python3.7/site-packages/simulaqron/config/network.json Alternatively, you can combine the two: cp connection_test_config.json $(simulaqron get network-config-file) Once the configuration file has been copied, verify that the contents of the path to the simulaqron network config file matches the configuration file I have provided. After the configuration file has been copied, we can begin the tests! Simply run the python script using Python 3 and this will execute the tests: python3 connection_test.py Some output will appear indicating the status of the tests, if all goes well then you should see the following output indicating no failures: Beginning Simulaqron connection tests Test 1: Successfully verified creating EPR pairs. Test 2: Successfully verified sending qubits. Simulaqron tests passed! Beginning port scan tests Port scan tests passed! Beginning port forwarding tests Test 1: Successfully verified creating EPR pairs. Test 2: Successfully verified sending qubits. Port forwarding tests passed! All tests have been run If you see the output above then great your location's network configuration should be sufficient and your node will be ready to test the final infrastructure before the hackathon! If you get any errors running the script please email the output to me and I will try to help however I can :). If anyone has any other questions regarding the instructions above please feel free to reach out to me :). At this point from Harold we know that they will need to run the test around 9:30am or around 5:00pm, if the other technical contacts can please choose a time they would like to run the tests tomorrow then we can ensure that the tests are isolated from one another. As I mentioned before, I will leave the test infrastructure stood up (starting as of now) throughout the day of October 1st so that tests can be done whenever (even today if you are eager). Thanks for everything and fingers crossed for the tests! -Matt <connection_test_files.zip>-- peqi-hackathon-orga mailing list peqi-hackathon-orga at ripe.net<mailto:peqi-hackathon-orga at ripe.net> https://lists.ripe.net/mailman/listinfo/peqi-hackathon-orga -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.ripe.net/ripe/mail/archives/peqi-hackathon-orga/attachments/20191002/d25313d7/attachment-0001.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: 20191002_111932.jpeg Type: image/jpeg Size: 34054 bytes Desc: 20191002_111932.jpeg URL: <https://lists.ripe.net/ripe/mail/archives/peqi-hackathon-orga/attachments/20191002/d25313d7/attachment-0001.jpeg>