1. Prateek Jain

Prateek Jain

Forum Replies Created

Viewing 7 posts - 16 through 22 (of 22 total)
  • Author
    Posts
  • in reply to: Using One Way Latency with Measurement Framework #5324
    Prateek Jain
    Participant

      Hi Mami.. I will try the approach that you suggested..

      This is exactly what I want to do… I plan to send a tracer packet just before sending the file and after sending the file… and check my file transfer time.. I will be there at KNIT7 and if I could not figure out how to timestamp and check packet then I will definitely be in contact with the team working on it..

      Thanks 🙂

      Prateek Jain
      Participant

        I figured out the issue.

        in reply to: Using One Way Latency with Measurement Framework #5319
        Prateek Jain
        Participant

          Hey Mami.. I checked the link that you shared but I could not find instructions for using owl for MF slice. The link that you provided prepares a non MF slice for owl. My slice is already MF slice so I am not sure if it works for me.

          I have another question.. I am not sure if you can help me with that. So in my experiment I am transferring a file from one node(on site 1) to another node(on site 5).. passing the file through some intermediate nodes on site 2, site3 and site 4. I want to calculate the precise time for my file transfer from site 1 to site 5. I am not sure which FABRIC measurement facility I can use to calculate this. It will be of great help if you could guide me in the right direction on how to achieve this (maybe you can share a link to some content about such functionality or some link to jupyter notebook about such functionality will be highly appreciated).

          Thank You

          Prateek Jain
          Participant

            No I did not create a new slice…
            Thanks Hussam, I will create a new slice and get back to you if I get into any issues..

            Prateek Jain
            Participant

              Hi Hussam

              I am still getting the same error

              I installed the version 1.0.3:

              %%bash
              pip install fabrictestbed-mflib==1.0.3
              Requirement already satisfied: fabrictestbed-mflib==1.0.3 in /opt/conda/lib/python3.10/site-packages (1.0.3)

              %%bash
              pip list | grep fabrictestbed-mflib
              pip show fabrictestbed-mflib
              ​
              fabrictestbed-mflib 1.0.3
              Name: fabrictestbed-mflib
              Version: 1.0.3
              Summary: FABRIC Measurement Framework Python Client Library – Makes monitoring FABRIC Slice easy.
              Home-page:
              Author: Song, Pinyi, Hussam
              Author-email: Carpenter <csacarp0@g.uky.edu>
              License:
              Location: /opt/conda/lib/python3.10/site-packages
              Requires:
              Required-by:

              I reloaded the kernel and then ran all my cells again but I am still getting the same error:

              09/13/2023 03:26:06 PM root INFO TASK [elk : Start ELK dockers] *************************************************
              09/13/2023 03:26:06 PM root INFO Wednesday 13 September 2023 15:26:06 +0000 (0:00:00.429) 0:00:04.956 ***
              09/13/2023 03:26:06 PM root INFO Wednesday 13 September 2023 15:26:06 +0000 (0:00:00.429) 0:00:04.955 ***
              09/13/2023 03:26:18 PM root INFO fatal: [meas-node]: FAILED! => {“changed”: true, “cmd”: “docker-compose up -d es01 es02 es03”, “delta”: “0:00:11.440929”, “end”: “2023-09-13 15:26:18.485877”, “msg”: “non-zero return code”, “rc”: 18, “start”: “2023-09-13 15:26:07.044948”, “stderr”: “es01 Pulling \nes02 Pulling \nes03 Pulling \nes03 Error \nes01 Error \nes02 Error \nError response from daemon: Get \”https://registry-1.docker.io/v2/\”: EOF”, “stderr_lines”: [“es01 Pulling “, “es02 Pulling “, “es03 Pulling “, “es03 Error “, “es01 Error “, “es02 Error “, “Error response from daemon: Get \”https://registry-1.docker.io/v2/\”: EOF”], “stdout”: “”, “stdout_lines”: []}
              09/13/2023 03:26:18 PM root INFO
              09/13/2023 03:26:18 PM root INFO PLAY RECAP *********************************************************************
              09/13/2023 03:26:18 PM root INFO meas-node : ok=11 changed=5 unreachable=0 failed=1 skipped=10 rescued=0 ignored=0
              09/13/2023 03:26:18 PM root INFO
              09/13/2023 03:26:18 PM root INFO Playbook run took 0 days, 0 hours, 0 minutes, 16 seconds
              09/13/2023 03:26:18 PM root INFO Wednesday 13 September 2023 15:26:18 +0000 (0:00:11.577) 0:00:16.534 ***
              09/13/2023 03:26:18 PM root INFO ===============================================================================
              09/13/2023 03:26:18 PM root INFO elk : Start ELK dockers ———————————————— 11.58s
              09/13/2023 03:26:18 PM root INFO elk : Installing packages in elk/tasks/main.yml for Ubuntu ————– 1.67s
              09/13/2023 03:26:18 PM root INFO Gathering Facts ——————————————————— 1.48s
              09/13/2023 03:26:18 PM root INFO elk : Update nginx configuration —————————————- 0.43s
              09/13/2023 03:26:18 PM root INFO elk : Check if file already exists ————————————– 0.23s
              09/13/2023 03:26:18 PM root INFO elk : Check If Docker Is Installed ————————————– 0.22s
              09/13/2023 03:26:18 PM root INFO elk : Check if Docker Compose is installed —————————— 0.16s
              09/13/2023 03:26:18 PM root INFO elk : Setting login info for nginx ————————————– 0.15s
              09/13/2023 03:26:18 PM root INFO elk : Setting Folders for ELK Stack ————————————- 0.15s
              09/13/2023 03:26:18 PM root INFO elk : Setting vm.max_map_count —————————————— 0.14s
              09/13/2023 03:26:18 PM root INFO elk : Check if elk folders already exists ——————————- 0.14s
              09/13/2023 03:26:18 PM root INFO elk : Generate random password for Nginx ——————————– 0.03s
              09/13/2023 03:26:18 PM root INFO elk : Add apt repository for stable version for Ubuntu —————— 0.02s
              09/13/2023 03:26:18 PM root INFO elk : Add an apt signing key for Docker for Ubuntu ———————- 0.02s
              09/13/2023 03:26:18 PM root INFO elk : Installing packages in elk/tasks/main.yml for CentOS 7 ———— 0.02s
              09/13/2023 03:26:18 PM root INFO elk : Configure docker-ce repo —————————————— 0.02s
              09/13/2023 03:26:18 PM root INFO elk : Installing packages in elk/tasks/main.yml for CentOS 8 ———— 0.02s
              09/13/2023 03:26:18 PM root INFO elk : Download and install Docker Compose ——————————- 0.02s
              09/13/2023 03:26:18 PM root INFO elk : Create docker group ———————————————– 0.02s
              09/13/2023 03:26:18 PM root INFO elk : Install docker —————————————————- 0.02s
              09/13/2023 03:26:18 PM root INFO Wednesday 13 September 2023 15:26:18 +0000 (0:00:11.578) 0:00:16.533 ***
              09/13/2023 03:26:18 PM root INFO ===============================================================================
              09/13/2023 03:26:18 PM root INFO elk ——————————————————————– 15.05s
              09/13/2023 03:26:18 PM root INFO gather_facts ———————————————————— 1.48s
              09/13/2023 03:26:18 PM root INFO ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
              09/13/2023 03:26:18 PM root INFO total —————————————————————— 16.52s
              09/13/2023 03:26:18 PM root INFO ELK playbook install failed..
              09/13/2023 03:26:18 PM root INFO Ansible elk install playbooks completed.
              09/13/2023 03:26:18 PM root INFO —–End Ceate Script.—–

              Prateek Jain
              Participant

                Hi Arash,
                This is the output I get when I run it in the terminal

                ERROR: Could not find a version that satisfies the requirement fabrictestbed-mflib==1.0.4 (from versions: 0.0.0b1, 0.1.0b0, 0.1.0b1, 0.2.0b0, 1.0.0, 1.0.1, 1.0.3)
                ERROR: No matching distribution found for fabrictestbed-mflib==1.0.4

                Prateek Jain
                Participant

                  Hi I tried to install the latest fabrictestbed-mflib using the command

                  %%bash
                  pip install fabrictestbed-mflib==1.0.4

                  I am getting the following error:
                  —————————————————————————
                  CalledProcessError Traceback (most recent call last)
                  Cell In[29], line 1
                  —-> 1 get_ipython().run_cell_magic(‘bash’, ”, ‘pip install fabrictestbed-mflib==1.0.4\n’)

                  File /opt/conda/lib/python3.10/site-packages/IPython/core/interactiveshell.py:2478, in InteractiveShell.run_cell_magic(self, magic_name, line, cell)
                  2476 with self.builtin_trap:
                  2477 args = (magic_arg_s, cell)
                  -> 2478 result = fn(*args, **kwargs)
                  2480 # The code below prevents the output from being displayed
                  2481 # when using magics with decodator @output_can_be_silenced
                  2482 # when the last Python token in the expression is a ‘;’.
                  2483 if getattr(fn, magic.MAGIC_OUTPUT_CAN_BE_SILENCED, False):

                  File /opt/conda/lib/python3.10/site-packages/IPython/core/magics/script.py:154, in ScriptMagics._make_script_magic.<locals>.named_script_magic(line, cell)
                  152 else:
                  153 line = script
                  –> 154 return self.shebang(line, cell)

                  File /opt/conda/lib/python3.10/site-packages/IPython/core/magics/script.py:314, in ScriptMagics.shebang(self, line, cell)
                  309 if args.raise_error and p.returncode != 0:
                  310 # If we get here and p.returncode is still None, we must have
                  311 # killed it but not yet seen its return code. We don’t wait for it,
                  312 # in case it’s stuck in uninterruptible sleep. -9 = SIGKILL
                  313 rc = p.returncode or -9
                  –> 314 raise CalledProcessError(rc, cell)

                  CalledProcessError: Command ‘b’pip install fabrictestbed-mflib==1.0.4\n” returned non-zero exit status 1.

                Viewing 7 posts - 16 through 22 (of 22 total)
                FABRIC invites nominations for four awards recognizing innovative uses of FABRIC resources—Best Published Paper, Best FABRIC Matrix, Best FABRIC Experiment, and Best Classroom Use of FABRIC — submissions due by **Monday, February 24 at 11:59 PM ET**, and winners announced at KNIT10. [>>>Submit Form](https://docs.google.com/forms/d/e/1FAIpQLSeTp3i2iDhB7bHgN8ryMxZci8ya87yjeQd7_JMZImUodNinVA/viewform)

                KNIT10 Call for Demos Now Open! Submit your demo by **February 24**. [>>>Submit Demo](https://docs.google.com/forms/d/e/1FAIpQLScRIWqHliNP3DFWBCnalYN_fBXJXVM0PpP9YWWJdSebC95TvA/viewform)
                FABRIC invites nominations for four awards recognizing innovative uses of FABRIC resources—Best Published Paper, Best FABRIC Matrix, Best FABRIC Experiment, and Best Classroom Use of FABRIC — submissions due by **Monday, February 24 at 11:59 PM ET**, and winners announced at KNIT10. [>>>Submit Form](https://docs.google.com/forms/d/e/1FAIpQLSeTp3i2iDhB7bHgN8ryMxZci8ya87yjeQd7_JMZImUodNinVA/viewform)

                KNIT10 Call for Demos Now Open! Submit your demo by **February 24**. [>>>Submit Demo](https://docs.google.com/forms/d/e/1FAIpQLScRIWqHliNP3DFWBCnalYN_fBXJXVM0PpP9YWWJdSebC95TvA/viewform)