[P4-dev] Error when running the INT app from p4factory

Lucas Souza Santos lucassouzasantos at gmail.com
Sun Oct 7 17:28:36 EDT 2018


Hi, I'm trying to execute the reference application from INT on
https://github.com/p4lang/p4factory/blob/master/apps/int/README.md and i
got a error, i have followed the entire setup...

my setup:

*hypervisor: virtualbox
**os image: ubuntu 14.04.5-desktop-amd64.iso*

*ram: 2G
**storage: dynamic
**linux kernel header: 3.19.0-80-generic*

i'm getting the following error:


$ sudo python int_ref_topology.py --model-dir=$HOME/install

Adding switch spine1
Traceback (most recent call last):
  File "int_ref_topology.py", line 131, in <module>
    run_cfg(model_dir)
  File "int_ref_topology.py", line 91, in run_cfg
    net = mgr.setupAndStartNetwork()
  File "/home/mininet/p4factory/mininet/int_cfg.py", line 140, in
setupAndStartNetwork
    self.addSwitches()
  File "/home/mininet/p4factory/mininet/int_cfg.py", line 177, in addSwitches
    pps = s.pps, qdepth = s.qdepth )
  File "build/bdist.linux-x86_64/egg/mininet/net.py", line 260, in addSwitch
  File "/home/mininet/p4factory/mininet/docker/p4model.py", line 55, in __init__
    DockerSwitch.__init__( self, name, **kwargs )
  File "/home/mininet/p4factory/mininet/docker/docker_node.py", line
30, in __init__
    Node.__init__( self, name, **kwargs )
  File "build/bdist.linux-x86_64/egg/mininet/node.py", line 111, in __init__
  File "/home/mininet/p4factory/mininet/docker/docker_node.py", line
119, in startShell
    self.pid = int(ps_out[0])
ValueError: invalid literal for int() with base 10: "'28218'\n"


Best regards,
Lucas Santos
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.p4.org/pipermail/p4-dev_lists.p4.org/attachments/20181007/6e35e5f1/attachment.html>


More information about the P4-dev mailing list