sonata-nfv / son-emu

Attention! Legacy! This repo will be replaced with https://github.com/containernet/vim-emu
https://github.com/containernet/vim-emu
Apache License 2.0
36 stars 32 forks source link

Migrate to Python 3 #299

Closed mpeuster closed 4 years ago

mpeuster commented 4 years ago

Containernet now supports Python 3, so there is no need to keep vim-emu Python 2.7.

But there might be multiple dependency issues that need to be checked/fixed in a Python 3 version:


Install Containernet and vim-emu using Python3 interpreter as sudo. (can be checked with sudo python --version -> should give something > 3.4)


RafaelSche commented 4 years ago
Doing flake8 style check ...
done.
Running unit tests ...
/home/ich/work/venv2/bin/pytest
/home/ich/work/venv2/bin/python3
/home/ich/work/venv2/bin/pip3
Package            Version   Location                                                              
------------------ --------- ----------------------------------------------------------------------
aniso8601          8.0.0     
atomicwrites       1.3.0     
attrs              19.3.0    
Babel              2.7.0     
certifi            2019.9.11 
chardet            3.0.4     
Click              7.0       
debtcollector      1.22.0    
decorator          4.4.1     
dnspython          1.16.0    
docker             4.1.0     
docker-pycreds     0.4.0     
entrypoints        0.3       
eventlet           0.25.1    
flake8             3.7.9     
Flask              1.1.1     
Flask-RESTful      0.3.7     
gevent             1.4.0     
greenlet           0.4.15    
idna               2.8       
importlib-metadata 0.23      
ipaddress          1.0.23    
itsdangerous       1.1.0     
Jinja2             2.10.3    
latest             0.6.0     
MarkupSafe         1.1.1     
mccabe             0.6.1     
mininet            3.0       /home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg
monotonic          1.5       
more-itertools     5.0.0     
msgpack            0.6.2     
netaddr            0.7.19    
networkx           2.4       
oslo.config        6.11.1    
oslo.i18n          3.24.0    
ovs                2.11.0    
packaging          19.2      
pbr                5.4.3     
pip                19.3.1    
pkg-resources      0.0.0     
pluggy             0.13.0    
prometheus-client  0.7.1     
psutil             5.6.5     
py                 1.8.0     
pyaml              19.4.1    
pycodestyle        2.5.0     
pyflakes           2.1.1     
pyparsing          2.4.5     
pytest             5.2.2     
python-iptables    0.14.0    
pytz               2019.3    
PyYAML             5.1.2     
repoze.lru         0.7       
requests           2.22.0    
rfc3986            1.3.2     
Routes             2.4.1     
ryu                4.32      
setuptools         41.6.0    
simplejson         3.16.0    
six                1.13.0    
sortedcontainers   2.1.0     
stevedore          1.31.0    
tabulate           0.8.5     
tinyrpc            1.0.4     
urllib3            1.25.7    
wcwidth            0.1.7     
WebOb              1.8.5     
websocket-client   0.56.0    
Werkzeug           0.16.0    
wheel              0.33.6    
wrapt              1.11.2    
zipp               0.6.0     
============================= test session starts ==============================
platform linux -- Python 3.6.8, pytest-5.2.2, py-1.8.0, pluggy-0.13.0 -- /home/ich/work/venv2/bin/python3
cachedir: .pytest_cache
rootdir: /home/ich/work/vim-emu, inifile: pytest.ini
collecting ... collected 30 items

src/emuvim/test/unittests/test_emulator.py::testEmulatorTopology::testMultipleDatacenterDirect FAILED [  3%]
src/emuvim/test/unittests/test_emulator.py::testEmulatorTopology::testMultipleDatacenterWithIntermediateSwitches FAILED [  6%]
src/emuvim/test/unittests/test_emulator.py::testEmulatorTopology::testSingleDatacenter FAILED [ 10%]
src/emuvim/test/unittests/test_emulator.py::testEmulatorNetworking::testSDNChainingMultiService FAILED [ 13%]
src/emuvim/test/unittests/test_emulator.py::testEmulatorNetworking::testSDNChainingSingleService FAILED [ 16%]
src/emuvim/test/unittests/test_emulator.py::testEmulatorNetworking::testSDNChainingSingleService_withLearning FAILED [ 20%]
src/emuvim/test/unittests/test_emulator.py::testEmulatorCompute::testAddSingleComputeSingleDC FAILED [ 23%]
src/emuvim/test/unittests/test_emulator.py::testEmulatorCompute::testConnectivityMultiDC FAILED [ 26%]
src/emuvim/test/unittests/test_emulator.py::testEmulatorCompute::testGetStatusSingleComputeSingleDC FAILED [ 30%]
src/emuvim/test/unittests/test_emulator.py::testEmulatorCompute::testInterleavedAddRemoveMultiDC FAILED [ 33%]
src/emuvim/test/unittests/test_emulator.py::testEmulatorCompute::testRemoveSingleComputeSingleDC FAILED [ 36%]
src/emuvim/test/unittests/test_flow_classifier.py::FlowClassifierTest::test_empty_flow_classifier_to_match_conversion PASSED [ 40%]
src/emuvim/test/unittests/test_flow_classifier.py::FlowClassifierTest::test_tcp_ip_flow_classifier_to_match_conversion PASSED [ 43%]
src/emuvim/test/unittests/test_openstack.py::testRestApi::testHeatDummy FAILED [ 46%]
src/emuvim/test/unittests/test_openstack.py::testRestApi::testKeystomeDummy FAILED [ 50%]
src/emuvim/test/unittests/test_openstack.py::testRestApi::testNeutronDummy FAILED [ 53%]
src/emuvim/test/unittests/test_openstack.py::testRestApi::testNeutronSFC FAILED [ 56%]
src/emuvim/test/unittests/test_openstack.py::testRestApi::testNovaDummy FAILED [ 60%]
src/emuvim/test/unittests/test_resourcemodel.py::testResourceModel::testAddRmToDc FAILED [ 63%]
src/emuvim/test/unittests/test_resourcemodel.py::testResourceModel::testBaseResourceModelApi PASSED [ 66%]
src/emuvim/test/unittests/test_resourcemodel.py::testUpbSimpleCloudDcRM::testAllocationComputations FAILED [ 70%]
src/emuvim/test/unittests/test_resourcemodel.py::testUpbSimpleCloudDcRM::testAllocationCpuLimit FAILED [ 73%]
src/emuvim/test/unittests/test_resourcemodel.py::testUpbSimpleCloudDcRM::testAllocationMemLimit FAILED [ 76%]
src/emuvim/test/unittests/test_resourcemodel.py::testUpbSimpleCloudDcRM::testFree FAILED [ 80%]
src/emuvim/test/unittests/test_resourcemodel.py::testUpbSimpleCloudDcRM::testInRealTopo FAILED [ 83%]
src/emuvim/test/unittests/test_resourcemodel.py::testUpbOverprovisioningCloudDcRM::testAllocationComputations FAILED [ 86%]
src/emuvim/test/unittests/test_resourcemodel.py::testUpbDummyRM::testAllocationComputations PASSED [ 90%]
src/emuvim/test/unittests/test_restapi.py::testRestApi::testRestApi FAILED [ 93%]
src/emuvim/test/unittests/test_tango_llcm.py::testTangoLLCM::test_tango_llcm_start_service FAILED [ 96%]
src/emuvim/test/unittests/test_tango_llcm.py::testTangoLLCM::test_tango_llcm_stop_service FAILED [100%]

=================================== FAILURES ===================================
______________ testEmulatorTopology.testMultipleDatacenterDirect _______________

self = <emuvim.test.unittests.test_emulator.testEmulatorTopology testMethod=testMultipleDatacenterDirect>

    def testMultipleDatacenterDirect(self):
        """
        Create a two data centers and interconnect them.
        """
        # create network
>       self.createNet(nswitches=0, ndatacenter=2, nhosts=2, ndockers=0)

src/emuvim/test/unittests/test_emulator.py:66: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
src/emuvim/test/base.py:62: in createNet
    self.net = DCNetwork(controller=controller, **kwargs)
src/emuvim/dcemulator/net.py:114: in __init__
    self.addController('c0', controller=controller)
/home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg/mininet/net.py:322: in addController
    controller_new = controller( name, **params )
/home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg/mininet/node.py:1962: in __init__
    ip=ip, **params  )
/home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg/mininet/node.py:88: in __init__
    self.checkSetup()
/home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg/mininet/node.py:683: in checkSetup
    cls.setup()
/home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg/mininet/node.py:691: in setup
    pathCheck( 'mnexec', 'ifconfig', moduleName='Mininet')
/home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg/mininet/moduledeps.py:68: in pathCheck
    exit( 1 )
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = Use exit() or Ctrl-D (i.e. EOF) to exit, code = 1

    def __call__(self, code=None):
        # Shells like IDLE catch the SystemExit, but listen when their
        # stdin wrapper is closed.
        try:
            sys.stdin.close()
        except:
            pass
>       raise SystemExit(code)
E       SystemExit: 1

../venv2/lib/python3.6/site.py:403: SystemExit
----------------------------- Captured stderr call -----------------------------
Cannot find required executable ifconfig.
Please make sure that Mininet is installed and available in your $PATH:
(/home/ich/work/venv2/bin:/home/ich/work/venv2/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games)
_____ testEmulatorTopology.testMultipleDatacenterWithIntermediateSwitches ______

self = <emuvim.test.unittests.test_emulator.testEmulatorTopology testMethod=testMultipleDatacenterWithIntermediateSwitches>

    def testMultipleDatacenterWithIntermediateSwitches(self):
        """
        Create a two data centers and interconnect them with additional
        switches between them.
        """
        # create network
        self.createNet(
            nswitches=3, ndatacenter=2, nhosts=2, ndockers=0,
>           autolinkswitches=True)

src/emuvim/test/unittests/test_emulator.py:90: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
src/emuvim/test/base.py:62: in createNet
    self.net = DCNetwork(controller=controller, **kwargs)
src/emuvim/dcemulator/net.py:114: in __init__
    self.addController('c0', controller=controller)
/home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg/mininet/net.py:322: in addController
    controller_new = controller( name, **params )
/home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg/mininet/node.py:1962: in __init__
    ip=ip, **params  )
/home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg/mininet/node.py:88: in __init__
    self.checkSetup()
/home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg/mininet/node.py:683: in checkSetup
    cls.setup()
/home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg/mininet/node.py:691: in setup
    pathCheck( 'mnexec', 'ifconfig', moduleName='Mininet')
/home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg/mininet/moduledeps.py:68: in pathCheck
    exit( 1 )
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = Use exit() or Ctrl-D (i.e. EOF) to exit, code = 1

    def __call__(self, code=None):
        # Shells like IDLE catch the SystemExit, but listen when their
        # stdin wrapper is closed.
        try:
            sys.stdin.close()
        except:
            pass
>       raise SystemExit(code)
E       SystemExit: 1

../venv2/lib/python3.6/site.py:403: SystemExit
----------------------------- Captured stderr call -----------------------------
Cannot find required executable ifconfig.
Please make sure that Mininet is installed and available in your $PATH:
(/home/ich/work/venv2/bin:/home/ich/work/venv2/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games)
__________________ testEmulatorTopology.testSingleDatacenter ___________________

self = <emuvim.test.unittests.test_emulator.testEmulatorTopology testMethod=testSingleDatacenter>

    def testSingleDatacenter(self):
        """
        Create a single data center and add check if its switch is up
        by using manually added hosts. Tests especially the
        data center specific addLink method.
        """
        # create network
>       self.createNet(nswitches=0, ndatacenter=1, nhosts=2, ndockers=0)

src/emuvim/test/unittests/test_emulator.py:45: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
src/emuvim/test/base.py:62: in createNet
    self.net = DCNetwork(controller=controller, **kwargs)
src/emuvim/dcemulator/net.py:114: in __init__
    self.addController('c0', controller=controller)
/home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg/mininet/net.py:322: in addController
    controller_new = controller( name, **params )
/home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg/mininet/node.py:1962: in __init__
    ip=ip, **params  )
/home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg/mininet/node.py:88: in __init__
    self.checkSetup()
/home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg/mininet/node.py:683: in checkSetup
    cls.setup()
/home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg/mininet/node.py:691: in setup
    pathCheck( 'mnexec', 'ifconfig', moduleName='Mininet')
/home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg/mininet/moduledeps.py:68: in pathCheck
    exit( 1 )
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = Use exit() or Ctrl-D (i.e. EOF) to exit, code = 1

    def __call__(self, code=None):
        # Shells like IDLE catch the SystemExit, but listen when their
        # stdin wrapper is closed.
        try:
            sys.stdin.close()
        except:
            pass
>       raise SystemExit(code)
E       SystemExit: 1

../venv2/lib/python3.6/site.py:403: SystemExit
----------------------------- Captured stderr call -----------------------------
Cannot find required executable ifconfig.
Please make sure that Mininet is installed and available in your $PATH:
(/home/ich/work/venv2/bin:/home/ich/work/venv2/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games)
______________ testEmulatorNetworking.testSDNChainingMultiService ______________

self = <emuvim.test.unittests.test_emulator.testEmulatorNetworking testMethod=testSDNChainingMultiService>

    def testSDNChainingMultiService(self):
        """
        Create a two data centers and interconnect them with additional
        switches between them.
        Uses Ryu SDN controller.
        Setup 2 services and setup isolated paths between them
        Delete only the first service, and check that other one still works
        """
        # create network
        self.createNet(
            nswitches=3, ndatacenter=2, nhosts=0, ndockers=0,
            autolinkswitches=True,
            controller=RemoteController,
>           enable_learning=False)

src/emuvim/test/unittests/test_emulator.py:231: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
src/emuvim/test/base.py:62: in createNet
    self.net = DCNetwork(controller=controller, **kwargs)
src/emuvim/dcemulator/net.py:114: in __init__
    self.addController('c0', controller=controller)
/home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg/mininet/net.py:322: in addController
    controller_new = controller( name, **params )
/home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg/mininet/node.py:2091: in __init__
    Controller.__init__( self, name, ip=ip, port=port, **kwargs )
/home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg/mininet/node.py:1962: in __init__
    ip=ip, **params  )
/home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg/mininet/node.py:88: in __init__
    self.checkSetup()
/home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg/mininet/node.py:683: in checkSetup
    cls.setup()
/home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg/mininet/node.py:691: in setup
    pathCheck( 'mnexec', 'ifconfig', moduleName='Mininet')
/home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg/mininet/moduledeps.py:68: in pathCheck
    exit( 1 )
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = Use exit() or Ctrl-D (i.e. EOF) to exit, code = 1

    def __call__(self, code=None):
        # Shells like IDLE catch the SystemExit, but listen when their
        # stdin wrapper is closed.
        try:
            sys.stdin.close()
        except:
            pass
>       raise SystemExit(code)
E       SystemExit: 1

../venv2/lib/python3.6/site.py:403: SystemExit
----------------------------- Captured stderr call -----------------------------
DEBUG:dcemulator.net:starting ryu-controller with ['ryu-manager', 'ryu.app.ofctl_rest', '--ofp-tcp-listen-port', '6653']
Cannot find required executable ifconfig.
Please make sure that Mininet is installed and available in your $PATH:
(/home/ich/work/venv2/bin:/home/ich/work/venv2/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games)
------------------------------ Captured log call -------------------------------
DEBUG    dcemulator.net:net.py:943 starting ryu-controller with ['ryu-manager', 'ryu.app.ofctl_rest', '--ofp-tcp-listen-port', '6653']
_____________ testEmulatorNetworking.testSDNChainingSingleService ______________

self = <emuvim.test.unittests.test_emulator.testEmulatorNetworking testMethod=testSDNChainingSingleService>

    def testSDNChainingSingleService(self):
        """
        Create a two data centers and interconnect them with additional
        switches between them.
        Uses Ryu SDN controller.
        Connect the Docker hosts to different datacenters and setup the links between.
        """
        # create network
        self.createNet(
            nswitches=3, ndatacenter=2, nhosts=0, ndockers=0,
            autolinkswitches=True,
            controller=RemoteController,
>           enable_learning=False)

src/emuvim/test/unittests/test_emulator.py:176: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
src/emuvim/test/base.py:62: in createNet
    self.net = DCNetwork(controller=controller, **kwargs)
src/emuvim/dcemulator/net.py:114: in __init__
    self.addController('c0', controller=controller)
/home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg/mininet/net.py:322: in addController
    controller_new = controller( name, **params )
/home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg/mininet/node.py:2091: in __init__
    Controller.__init__( self, name, ip=ip, port=port, **kwargs )
/home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg/mininet/node.py:1962: in __init__
    ip=ip, **params  )
/home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg/mininet/node.py:88: in __init__
    self.checkSetup()
/home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg/mininet/node.py:683: in checkSetup
    cls.setup()
/home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg/mininet/node.py:691: in setup
    pathCheck( 'mnexec', 'ifconfig', moduleName='Mininet')
/home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg/mininet/moduledeps.py:68: in pathCheck
    exit( 1 )
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = Use exit() or Ctrl-D (i.e. EOF) to exit, code = 1

    def __call__(self, code=None):
        # Shells like IDLE catch the SystemExit, but listen when their
        # stdin wrapper is closed.
        try:
            sys.stdin.close()
        except:
            pass
>       raise SystemExit(code)
E       SystemExit: 1

../venv2/lib/python3.6/site.py:403: SystemExit
----------------------------- Captured stderr call -----------------------------
DEBUG:dcemulator.net:starting ryu-controller with ['ryu-manager', 'ryu.app.ofctl_rest', '--ofp-tcp-listen-port', '6653']
Cannot find required executable ifconfig.
Please make sure that Mininet is installed and available in your $PATH:
(/home/ich/work/venv2/bin:/home/ich/work/venv2/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games)
------------------------------ Captured log call -------------------------------
DEBUG    dcemulator.net:net.py:943 starting ryu-controller with ['ryu-manager', 'ryu.app.ofctl_rest', '--ofp-tcp-listen-port', '6653']
_______ testEmulatorNetworking.testSDNChainingSingleService_withLearning _______

self = <emuvim.test.unittests.test_emulator.testEmulatorNetworking testMethod=testSDNChainingSingleService_withLearning>

    def testSDNChainingSingleService_withLearning(self):
        """
        Create a two data centers and interconnect them with additional
        switches between them.
        Uses Ryu SDN controller.
        Connect the Docker hosts to different datacenters and setup the links between.
        """
        # create network
        self.createNet(
            nswitches=3, ndatacenter=2, nhosts=0, ndockers=0,
            autolinkswitches=True,
            controller=RemoteController,
>           enable_learning=True)

src/emuvim/test/unittests/test_emulator.py:122: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
src/emuvim/test/base.py:62: in createNet
    self.net = DCNetwork(controller=controller, **kwargs)
src/emuvim/dcemulator/net.py:114: in __init__
    self.addController('c0', controller=controller)
/home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg/mininet/net.py:322: in addController
    controller_new = controller( name, **params )
/home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg/mininet/node.py:2091: in __init__
    Controller.__init__( self, name, ip=ip, port=port, **kwargs )
/home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg/mininet/node.py:1962: in __init__
    ip=ip, **params  )
/home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg/mininet/node.py:88: in __init__
    self.checkSetup()
/home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg/mininet/node.py:683: in checkSetup
    cls.setup()
/home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg/mininet/node.py:691: in setup
    pathCheck( 'mnexec', 'ifconfig', moduleName='Mininet')
/home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg/mininet/moduledeps.py:68: in pathCheck
    exit( 1 )
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = Use exit() or Ctrl-D (i.e. EOF) to exit, code = 1

    def __call__(self, code=None):
        # Shells like IDLE catch the SystemExit, but listen when their
        # stdin wrapper is closed.
        try:
            sys.stdin.close()
        except:
            pass
>       raise SystemExit(code)
E       SystemExit: 1

../venv2/lib/python3.6/site.py:403: SystemExit
----------------------------- Captured stderr call -----------------------------
DEBUG:dcemulator.net:starting ryu-controller with ['ryu-manager', '/home/ich/work/vim-emu/src/emuvim/dcemulator/son_emu_simple_switch_13.py', 'ryu.app.ofctl_rest', '--ofp-tcp-listen-port', '6653']
Cannot find required executable ifconfig.
Please make sure that Mininet is installed and available in your $PATH:
(/home/ich/work/venv2/bin:/home/ich/work/venv2/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games)
------------------------------ Captured log call -------------------------------
DEBUG    dcemulator.net:net.py:943 starting ryu-controller with ['ryu-manager', '/home/ich/work/vim-emu/src/emuvim/dcemulator/son_emu_simple_switch_13.py', 'ryu.app.ofctl_rest', '--ofp-tcp-listen-port', '6653']
_______________ testEmulatorCompute.testAddSingleComputeSingleDC _______________

self = <emuvim.test.unittests.test_emulator.testEmulatorCompute testMethod=testAddSingleComputeSingleDC>

    def testAddSingleComputeSingleDC(self):
        """
        Adds a single compute instance to
        a single DC and checks its connectivity with a
        manually added host.
        """
        # create network
>       self.createNet(nswitches=0, ndatacenter=1, nhosts=1, ndockers=0)

src/emuvim/test/unittests/test_emulator.py:299: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
src/emuvim/test/base.py:62: in createNet
    self.net = DCNetwork(controller=controller, **kwargs)
src/emuvim/dcemulator/net.py:114: in __init__
    self.addController('c0', controller=controller)
/home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg/mininet/net.py:322: in addController
    controller_new = controller( name, **params )
/home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg/mininet/node.py:1962: in __init__
    ip=ip, **params  )
/home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg/mininet/node.py:88: in __init__
    self.checkSetup()
/home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg/mininet/node.py:683: in checkSetup
    cls.setup()
/home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg/mininet/node.py:691: in setup
    pathCheck( 'mnexec', 'ifconfig', moduleName='Mininet')
/home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg/mininet/moduledeps.py:68: in pathCheck
    exit( 1 )
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = Use exit() or Ctrl-D (i.e. EOF) to exit, code = 1

    def __call__(self, code=None):
        # Shells like IDLE catch the SystemExit, but listen when their
        # stdin wrapper is closed.
        try:
            sys.stdin.close()
        except:
            pass
>       raise SystemExit(code)
E       SystemExit: 1

../venv2/lib/python3.6/site.py:403: SystemExit
----------------------------- Captured stderr call -----------------------------
Cannot find required executable ifconfig.
Please make sure that Mininet is installed and available in your $PATH:
(/home/ich/work/venv2/bin:/home/ich/work/venv2/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games)
_________________ testEmulatorCompute.testConnectivityMultiDC __________________

self = <emuvim.test.unittests.test_emulator.testEmulatorCompute testMethod=testConnectivityMultiDC>

    def testConnectivityMultiDC(self):
        """
        Test if compute instances started in different data centers
        are able to talk to each other.
        """
        # create network
        self.createNet(
            nswitches=3, ndatacenter=2, nhosts=0, ndockers=0,
>           autolinkswitches=True)

src/emuvim/test/unittests/test_emulator.py:391: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
src/emuvim/test/base.py:62: in createNet
    self.net = DCNetwork(controller=controller, **kwargs)
src/emuvim/dcemulator/net.py:114: in __init__
    self.addController('c0', controller=controller)
/home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg/mininet/net.py:322: in addController
    controller_new = controller( name, **params )
/home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg/mininet/node.py:1962: in __init__
    ip=ip, **params  )
/home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg/mininet/node.py:88: in __init__
    self.checkSetup()
/home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg/mininet/node.py:683: in checkSetup
    cls.setup()
/home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg/mininet/node.py:691: in setup
    pathCheck( 'mnexec', 'ifconfig', moduleName='Mininet')
/home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg/mininet/moduledeps.py:68: in pathCheck
    exit( 1 )
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = Use exit() or Ctrl-D (i.e. EOF) to exit, code = 1

    def __call__(self, code=None):
        # Shells like IDLE catch the SystemExit, but listen when their
        # stdin wrapper is closed.
        try:
            sys.stdin.close()
        except:
            pass
>       raise SystemExit(code)
E       SystemExit: 1

../venv2/lib/python3.6/site.py:403: SystemExit
----------------------------- Captured stderr call -----------------------------
Cannot find required executable ifconfig.
Please make sure that Mininet is installed and available in your $PATH:
(/home/ich/work/venv2/bin:/home/ich/work/venv2/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games)
____________ testEmulatorCompute.testGetStatusSingleComputeSingleDC ____________

self = <emuvim.test.unittests.test_emulator.testEmulatorCompute testMethod=testGetStatusSingleComputeSingleDC>

    def testGetStatusSingleComputeSingleDC(self):
        """
        Check if the getStatus functionality of EmulatorCompute
        objects works well.
        """
        # create network
>       self.createNet(nswitches=0, ndatacenter=1, nhosts=1, ndockers=0)

src/emuvim/test/unittests/test_emulator.py:358: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
src/emuvim/test/base.py:62: in createNet
    self.net = DCNetwork(controller=controller, **kwargs)
src/emuvim/dcemulator/net.py:114: in __init__
    self.addController('c0', controller=controller)
/home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg/mininet/net.py:322: in addController
    controller_new = controller( name, **params )
/home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg/mininet/node.py:1962: in __init__
    ip=ip, **params  )
/home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg/mininet/node.py:88: in __init__
    self.checkSetup()
/home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg/mininet/node.py:683: in checkSetup
    cls.setup()
/home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg/mininet/node.py:691: in setup
    pathCheck( 'mnexec', 'ifconfig', moduleName='Mininet')
/home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg/mininet/moduledeps.py:68: in pathCheck
    exit( 1 )
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = Use exit() or Ctrl-D (i.e. EOF) to exit, code = 1

    def __call__(self, code=None):
        # Shells like IDLE catch the SystemExit, but listen when their
        # stdin wrapper is closed.
        try:
            sys.stdin.close()
        except:
            pass
>       raise SystemExit(code)
E       SystemExit: 1

../venv2/lib/python3.6/site.py:403: SystemExit
----------------------------- Captured stderr call -----------------------------
Cannot find required executable ifconfig.
Please make sure that Mininet is installed and available in your $PATH:
(/home/ich/work/venv2/bin:/home/ich/work/venv2/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games)
_____________ testEmulatorCompute.testInterleavedAddRemoveMultiDC ______________

self = <emuvim.test.unittests.test_emulator.testEmulatorCompute testMethod=testInterleavedAddRemoveMultiDC>

    def testInterleavedAddRemoveMultiDC(self):
        """
        Test multiple, interleaved add and remove operations and ensure
        that always all expected compute instances are reachable.
        """
        # create network
        self.createNet(
            nswitches=3, ndatacenter=2, nhosts=0, ndockers=0,
>           autolinkswitches=True)

src/emuvim/test/unittests/test_emulator.py:420: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
src/emuvim/test/base.py:62: in createNet
    self.net = DCNetwork(controller=controller, **kwargs)
src/emuvim/dcemulator/net.py:114: in __init__
    self.addController('c0', controller=controller)
/home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg/mininet/net.py:322: in addController
    controller_new = controller( name, **params )
/home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg/mininet/node.py:1962: in __init__
    ip=ip, **params  )
/home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg/mininet/node.py:88: in __init__
    self.checkSetup()
/home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg/mininet/node.py:683: in checkSetup
    cls.setup()
/home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg/mininet/node.py:691: in setup
    pathCheck( 'mnexec', 'ifconfig', moduleName='Mininet')
/home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg/mininet/moduledeps.py:68: in pathCheck
    exit( 1 )
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = Use exit() or Ctrl-D (i.e. EOF) to exit, code = 1

    def __call__(self, code=None):
        # Shells like IDLE catch the SystemExit, but listen when their
        # stdin wrapper is closed.
        try:
            sys.stdin.close()
        except:
            pass
>       raise SystemExit(code)
E       SystemExit: 1

../venv2/lib/python3.6/site.py:403: SystemExit
----------------------------- Captured stderr call -----------------------------
Cannot find required executable ifconfig.
Please make sure that Mininet is installed and available in your $PATH:
(/home/ich/work/venv2/bin:/home/ich/work/venv2/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games)
_____________ testEmulatorCompute.testRemoveSingleComputeSingleDC ______________

self = <emuvim.test.unittests.test_emulator.testEmulatorCompute testMethod=testRemoveSingleComputeSingleDC>

    def testRemoveSingleComputeSingleDC(self):
        """
        Test stop method for compute instances.
        Check that the instance is really removed.
        """
        # create network
>       self.createNet(nswitches=0, ndatacenter=1, nhosts=1, ndockers=0)

src/emuvim/test/unittests/test_emulator.py:326: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
src/emuvim/test/base.py:62: in createNet
    self.net = DCNetwork(controller=controller, **kwargs)
src/emuvim/dcemulator/net.py:114: in __init__
    self.addController('c0', controller=controller)
/home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg/mininet/net.py:322: in addController
    controller_new = controller( name, **params )
/home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg/mininet/node.py:1962: in __init__
    ip=ip, **params  )
/home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg/mininet/node.py:88: in __init__
    self.checkSetup()
/home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg/mininet/node.py:683: in checkSetup
    cls.setup()
/home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg/mininet/node.py:691: in setup
    pathCheck( 'mnexec', 'ifconfig', moduleName='Mininet')
/home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg/mininet/moduledeps.py:68: in pathCheck
    exit( 1 )
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = Use exit() or Ctrl-D (i.e. EOF) to exit, code = 1

    def __call__(self, code=None):
        # Shells like IDLE catch the SystemExit, but listen when their
        # stdin wrapper is closed.
        try:
            sys.stdin.close()
        except:
            pass
>       raise SystemExit(code)
E       SystemExit: 1

../venv2/lib/python3.6/site.py:403: SystemExit
----------------------------- Captured stderr call -----------------------------
Cannot find required executable ifconfig.
Please make sure that Mininet is installed and available in your $PATH:
(/home/ich/work/venv2/bin:/home/ich/work/venv2/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games)
__________________________ testRestApi.testHeatDummy ___________________________

self = <emuvim.test.unittests.test_openstack.testRestApi testMethod=testHeatDummy>

    def setUp(self):
        # create network
        self.createNet(nswitches=3, ndatacenter=2, nhosts=2,
>                      ndockers=0, autolinkswitches=True)

src/emuvim/test/unittests/test_openstack.py:43: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
src/emuvim/test/api_base_openstack.py:65: in createNet
    self.net = DCNetwork(controller=controller, **kwargs)
src/emuvim/dcemulator/net.py:114: in __init__
    self.addController('c0', controller=controller)
/home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg/mininet/net.py:322: in addController
    controller_new = controller( name, **params )
/home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg/mininet/node.py:1962: in __init__
    ip=ip, **params  )
/home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg/mininet/node.py:88: in __init__
    self.checkSetup()
/home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg/mininet/node.py:683: in checkSetup
    cls.setup()
/home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg/mininet/node.py:691: in setup
    pathCheck( 'mnexec', 'ifconfig', moduleName='Mininet')
/home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg/mininet/moduledeps.py:68: in pathCheck
    exit( 1 )
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = Use exit() or Ctrl-D (i.e. EOF) to exit, code = 1

    def __call__(self, code=None):
        # Shells like IDLE catch the SystemExit, but listen when their
        # stdin wrapper is closed.
        try:
            sys.stdin.close()
        except:
            pass
>       raise SystemExit(code)
E       SystemExit: 1

../venv2/lib/python3.6/site.py:403: SystemExit
----------------------------- Captured stderr call -----------------------------
Cannot find required executable ifconfig.
Please make sure that Mininet is installed and available in your $PATH:
(/home/ich/work/venv2/bin:/home/ich/work/venv2/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games)
________________________ testRestApi.testKeystomeDummy _________________________

self = <emuvim.test.unittests.test_openstack.testRestApi testMethod=testKeystomeDummy>

    def setUp(self):
        # create network
        self.createNet(nswitches=3, ndatacenter=2, nhosts=2,
>                      ndockers=0, autolinkswitches=True)

src/emuvim/test/unittests/test_openstack.py:43: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
src/emuvim/test/api_base_openstack.py:65: in createNet
    self.net = DCNetwork(controller=controller, **kwargs)
src/emuvim/dcemulator/net.py:114: in __init__
    self.addController('c0', controller=controller)
/home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg/mininet/net.py:322: in addController
    controller_new = controller( name, **params )
/home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg/mininet/node.py:1962: in __init__
    ip=ip, **params  )
/home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg/mininet/node.py:88: in __init__
    self.checkSetup()
/home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg/mininet/node.py:683: in checkSetup
    cls.setup()
/home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg/mininet/node.py:691: in setup
    pathCheck( 'mnexec', 'ifconfig', moduleName='Mininet')
/home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg/mininet/moduledeps.py:68: in pathCheck
    exit( 1 )
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = Use exit() or Ctrl-D (i.e. EOF) to exit, code = 1

    def __call__(self, code=None):
        # Shells like IDLE catch the SystemExit, but listen when their
        # stdin wrapper is closed.
        try:
            sys.stdin.close()
        except:
            pass
>       raise SystemExit(code)
E       SystemExit: 1

../venv2/lib/python3.6/site.py:403: SystemExit
----------------------------- Captured stderr call -----------------------------
Cannot find required executable ifconfig.
Please make sure that Mininet is installed and available in your $PATH:
(/home/ich/work/venv2/bin:/home/ich/work/venv2/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games)
_________________________ testRestApi.testNeutronDummy _________________________

self = <emuvim.test.unittests.test_openstack.testRestApi testMethod=testNeutronDummy>

    def setUp(self):
        # create network
        self.createNet(nswitches=3, ndatacenter=2, nhosts=2,
>                      ndockers=0, autolinkswitches=True)

src/emuvim/test/unittests/test_openstack.py:43: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
src/emuvim/test/api_base_openstack.py:65: in createNet
    self.net = DCNetwork(controller=controller, **kwargs)
src/emuvim/dcemulator/net.py:114: in __init__
    self.addController('c0', controller=controller)
/home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg/mininet/net.py:322: in addController
    controller_new = controller( name, **params )
/home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg/mininet/node.py:1962: in __init__
    ip=ip, **params  )
/home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg/mininet/node.py:88: in __init__
    self.checkSetup()
/home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg/mininet/node.py:683: in checkSetup
    cls.setup()
/home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg/mininet/node.py:691: in setup
    pathCheck( 'mnexec', 'ifconfig', moduleName='Mininet')
/home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg/mininet/moduledeps.py:68: in pathCheck
    exit( 1 )
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = Use exit() or Ctrl-D (i.e. EOF) to exit, code = 1

    def __call__(self, code=None):
        # Shells like IDLE catch the SystemExit, but listen when their
        # stdin wrapper is closed.
        try:
            sys.stdin.close()
        except:
            pass
>       raise SystemExit(code)
E       SystemExit: 1

../venv2/lib/python3.6/site.py:403: SystemExit
----------------------------- Captured stderr call -----------------------------
Cannot find required executable ifconfig.
Please make sure that Mininet is installed and available in your $PATH:
(/home/ich/work/venv2/bin:/home/ich/work/venv2/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games)
__________________________ testRestApi.testNeutronSFC __________________________

self = <emuvim.test.unittests.test_openstack.testRestApi testMethod=testNeutronSFC>

    def setUp(self):
        # create network
        self.createNet(nswitches=3, ndatacenter=2, nhosts=2,
>                      ndockers=0, autolinkswitches=True)

src/emuvim/test/unittests/test_openstack.py:43: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
src/emuvim/test/api_base_openstack.py:65: in createNet
    self.net = DCNetwork(controller=controller, **kwargs)
src/emuvim/dcemulator/net.py:114: in __init__
    self.addController('c0', controller=controller)
/home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg/mininet/net.py:322: in addController
    controller_new = controller( name, **params )
/home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg/mininet/node.py:1962: in __init__
    ip=ip, **params  )
/home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg/mininet/node.py:88: in __init__
    self.checkSetup()
/home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg/mininet/node.py:683: in checkSetup
    cls.setup()
/home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg/mininet/node.py:691: in setup
    pathCheck( 'mnexec', 'ifconfig', moduleName='Mininet')
/home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg/mininet/moduledeps.py:68: in pathCheck
    exit( 1 )
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = Use exit() or Ctrl-D (i.e. EOF) to exit, code = 1

    def __call__(self, code=None):
        # Shells like IDLE catch the SystemExit, but listen when their
        # stdin wrapper is closed.
        try:
            sys.stdin.close()
        except:
            pass
>       raise SystemExit(code)
E       SystemExit: 1

../venv2/lib/python3.6/site.py:403: SystemExit
----------------------------- Captured stderr call -----------------------------
Cannot find required executable ifconfig.
Please make sure that Mininet is installed and available in your $PATH:
(/home/ich/work/venv2/bin:/home/ich/work/venv2/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games)
__________________________ testRestApi.testNovaDummy ___________________________

self = <emuvim.test.unittests.test_openstack.testRestApi testMethod=testNovaDummy>

    def setUp(self):
        # create network
        self.createNet(nswitches=3, ndatacenter=2, nhosts=2,
>                      ndockers=0, autolinkswitches=True)

src/emuvim/test/unittests/test_openstack.py:43: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
src/emuvim/test/api_base_openstack.py:65: in createNet
    self.net = DCNetwork(controller=controller, **kwargs)
src/emuvim/dcemulator/net.py:114: in __init__
    self.addController('c0', controller=controller)
/home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg/mininet/net.py:322: in addController
    controller_new = controller( name, **params )
/home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg/mininet/node.py:1962: in __init__
    ip=ip, **params  )
/home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg/mininet/node.py:88: in __init__
    self.checkSetup()
/home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg/mininet/node.py:683: in checkSetup
    cls.setup()
/home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg/mininet/node.py:691: in setup
    pathCheck( 'mnexec', 'ifconfig', moduleName='Mininet')
/home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg/mininet/moduledeps.py:68: in pathCheck
    exit( 1 )
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = Use exit() or Ctrl-D (i.e. EOF) to exit, code = 1

    def __call__(self, code=None):
        # Shells like IDLE catch the SystemExit, but listen when their
        # stdin wrapper is closed.
        try:
            sys.stdin.close()
        except:
            pass
>       raise SystemExit(code)
E       SystemExit: 1

../venv2/lib/python3.6/site.py:403: SystemExit
----------------------------- Captured stderr call -----------------------------
Cannot find required executable ifconfig.
Please make sure that Mininet is installed and available in your $PATH:
(/home/ich/work/venv2/bin:/home/ich/work/venv2/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games)
_______________________ testResourceModel.testAddRmToDc ________________________

self = <emuvim.test.unittests.test_resourcemodel.testResourceModel testMethod=testAddRmToDc>

    def testAddRmToDc(self):
        """
        Test is allocate/free is called when a RM is added to a DC.
        :return:
        """
        # create network
>       self.createNet(nswitches=0, ndatacenter=1, nhosts=2, ndockers=0)

src/emuvim/test/unittests/test_resourcemodel.py:59: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
src/emuvim/test/base.py:62: in createNet
    self.net = DCNetwork(controller=controller, **kwargs)
src/emuvim/dcemulator/net.py:114: in __init__
    self.addController('c0', controller=controller)
/home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg/mininet/net.py:322: in addController
    controller_new = controller( name, **params )
/home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg/mininet/node.py:1962: in __init__
    ip=ip, **params  )
/home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg/mininet/node.py:88: in __init__
    self.checkSetup()
/home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg/mininet/node.py:683: in checkSetup
    cls.setup()
/home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg/mininet/node.py:691: in setup
    pathCheck( 'mnexec', 'ifconfig', moduleName='Mininet')
/home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg/mininet/moduledeps.py:68: in pathCheck
    exit( 1 )
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = Use exit() or Ctrl-D (i.e. EOF) to exit, code = 1

    def __call__(self, code=None):
        # Shells like IDLE catch the SystemExit, but listen when their
        # stdin wrapper is closed.
        try:
            sys.stdin.close()
        except:
            pass
>       raise SystemExit(code)
E       SystemExit: 1

../venv2/lib/python3.6/site.py:403: SystemExit
----------------------------- Captured stderr call -----------------------------
Cannot find required executable ifconfig.
Please make sure that Mininet is installed and available in your $PATH:
(/home/ich/work/venv2/bin:/home/ich/work/venv2/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games)
______________ testUpbSimpleCloudDcRM.testAllocationComputations _______________

self = <emuvim.test.unittests.test_resourcemodel.testUpbSimpleCloudDcRM testMethod=testAllocationComputations>

    def testAllocationComputations(self):
        """
        Test the allocation procedures and correct calculations.
        :return:
        """
        # config
        E_CPU = 1.0
        MAX_CU = 100
        E_MEM = 512
        MAX_MU = 2048
        # create dummy resource model environment
        reg = ResourceModelRegistrar(
            dc_emulation_max_cpu=E_CPU, dc_emulation_max_mem=E_MEM)
        rm = UpbSimpleCloudDcRM(max_cu=MAX_CU, max_mu=MAX_MU)
        reg.register("test_dc", rm)

        c1 = createDummyContainerObject("c1", flavor="tiny")
>       rm.allocate(c1)  # calculate allocation

src/emuvim/test/unittests/test_resourcemodel.py:142: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
src/emuvim/dcemulator/resourcemodel/upb/simple.py:80: in allocate
    self._apply_limits()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = UpbSimpleCloudDcRM

    def _apply_limits(self):
        """
        Recalculate real resource limits for all allocated containers and apply them
        to their cgroups.
        We have to recalculate for all containers to allow e.g. over provisioning models.
        :return:
        """
>       for d in self._allocated_compute_instances.itervalues():
E       AttributeError: 'dict' object has no attribute 'itervalues'

src/emuvim/dcemulator/resourcemodel/upb/simple.py:144: AttributeError
----------------------------- Captured stderr call -----------------------------
INFO:resourcemodel:Resource model registrar created with dc_emulation_max_cpu=1.0 and dc_emulation_max_mem=512
DEBUG:resourcemodel:Create flavor 'tiny' with metrics: {'compute': 0.5, 'memory': 32, 'disk': 1}
DEBUG:resourcemodel:Create flavor 'small' with metrics: {'compute': 1.0, 'memory': 128, 'disk': 20}
DEBUG:resourcemodel:Create flavor 'medium' with metrics: {'compute': 4.0, 'memory': 256, 'disk': 40}
DEBUG:resourcemodel:Create flavor 'large' with metrics: {'compute': 8.0, 'memory': 512, 'disk': 80}
DEBUG:resourcemodel:Create flavor 'xlarge' with metrics: {'compute': 16.0, 'memory': 1024, 'disk': 160}
INFO:resourcemodel:Resource model UpbSimpleCloudDcRM initialized
INFO:resourcemodel:Registrar: Added resource model: UpbSimpleCloudDcRM
------------------------------ Captured log call -------------------------------
INFO     resourcemodel:__init__.py:42 Resource model registrar created with dc_emulation_max_cpu=1.0 and dc_emulation_max_mem=512
DEBUG    resourcemodel:__init__.py:86 Create flavor 'tiny' with metrics: {'compute': 0.5, 'memory': 32, 'disk': 1}
DEBUG    resourcemodel:__init__.py:86 Create flavor 'small' with metrics: {'compute': 1.0, 'memory': 128, 'disk': 20}
DEBUG    resourcemodel:__init__.py:86 Create flavor 'medium' with metrics: {'compute': 4.0, 'memory': 256, 'disk': 40}
DEBUG    resourcemodel:__init__.py:86 Create flavor 'large' with metrics: {'compute': 8.0, 'memory': 512, 'disk': 80}
DEBUG    resourcemodel:__init__.py:86 Create flavor 'xlarge' with metrics: {'compute': 16.0, 'memory': 1024, 'disk': 160}
INFO     resourcemodel:__init__.py:104 Resource model UpbSimpleCloudDcRM initialized
INFO     resourcemodel:__init__.py:57 Registrar: Added resource model: UpbSimpleCloudDcRM
________________ testUpbSimpleCloudDcRM.testAllocationCpuLimit _________________

self = <emuvim.test.unittests.test_resourcemodel.testUpbSimpleCloudDcRM testMethod=testAllocationCpuLimit>

    def testAllocationCpuLimit(self):
        """
        Test CPU allocation limit
        :return:
        """
        # config
        E_CPU = 1.0
        MAX_CU = 40
        E_MEM = 512
        MAX_MU = 4096
        # create dummy resource model environment
        reg = ResourceModelRegistrar(
            dc_emulation_max_cpu=E_CPU, dc_emulation_max_mem=E_MEM)
        rm = UpbSimpleCloudDcRM(max_cu=MAX_CU, max_mu=MAX_MU)
        reg.register("test_dc", rm)

        # test over provisioning exeption
        exception = False
        try:
            c6 = createDummyContainerObject("c6", flavor="xlarge")
            c7 = createDummyContainerObject("c7", flavor="xlarge")
            c8 = createDummyContainerObject("c8", flavor="xlarge")
            c9 = createDummyContainerObject("c9", flavor="xlarge")
>           rm.allocate(c6)  # calculate allocation

src/emuvim/test/unittests/test_resourcemodel.py:209: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
src/emuvim/dcemulator/resourcemodel/upb/simple.py:80: in allocate
    self._apply_limits()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = UpbSimpleCloudDcRM

    def _apply_limits(self):
        """
        Recalculate real resource limits for all allocated containers and apply them
        to their cgroups.
        We have to recalculate for all containers to allow e.g. over provisioning models.
        :return:
        """
>       for d in self._allocated_compute_instances.itervalues():
E       AttributeError: 'dict' object has no attribute 'itervalues'

src/emuvim/dcemulator/resourcemodel/upb/simple.py:144: AttributeError
----------------------------- Captured stderr call -----------------------------
INFO:resourcemodel:Resource model registrar created with dc_emulation_max_cpu=1.0 and dc_emulation_max_mem=512
DEBUG:resourcemodel:Create flavor 'tiny' with metrics: {'compute': 0.5, 'memory': 32, 'disk': 1}
DEBUG:resourcemodel:Create flavor 'small' with metrics: {'compute': 1.0, 'memory': 128, 'disk': 20}
DEBUG:resourcemodel:Create flavor 'medium' with metrics: {'compute': 4.0, 'memory': 256, 'disk': 40}
DEBUG:resourcemodel:Create flavor 'large' with metrics: {'compute': 8.0, 'memory': 512, 'disk': 80}
DEBUG:resourcemodel:Create flavor 'xlarge' with metrics: {'compute': 16.0, 'memory': 1024, 'disk': 160}
INFO:resourcemodel:Resource model UpbSimpleCloudDcRM initialized
INFO:resourcemodel:Registrar: Added resource model: UpbSimpleCloudDcRM
------------------------------ Captured log call -------------------------------
INFO     resourcemodel:__init__.py:42 Resource model registrar created with dc_emulation_max_cpu=1.0 and dc_emulation_max_mem=512
DEBUG    resourcemodel:__init__.py:86 Create flavor 'tiny' with metrics: {'compute': 0.5, 'memory': 32, 'disk': 1}
DEBUG    resourcemodel:__init__.py:86 Create flavor 'small' with metrics: {'compute': 1.0, 'memory': 128, 'disk': 20}
DEBUG    resourcemodel:__init__.py:86 Create flavor 'medium' with metrics: {'compute': 4.0, 'memory': 256, 'disk': 40}
DEBUG    resourcemodel:__init__.py:86 Create flavor 'large' with metrics: {'compute': 8.0, 'memory': 512, 'disk': 80}
DEBUG    resourcemodel:__init__.py:86 Create flavor 'xlarge' with metrics: {'compute': 16.0, 'memory': 1024, 'disk': 160}
INFO     resourcemodel:__init__.py:104 Resource model UpbSimpleCloudDcRM initialized
INFO     resourcemodel:__init__.py:57 Registrar: Added resource model: UpbSimpleCloudDcRM
________________ testUpbSimpleCloudDcRM.testAllocationMemLimit _________________

self = <emuvim.test.unittests.test_resourcemodel.testUpbSimpleCloudDcRM testMethod=testAllocationMemLimit>

    def testAllocationMemLimit(self):
        """
        Test MEM allocation limit
        :return:
        """
        # config
        E_CPU = 1.0
        MAX_CU = 500
        E_MEM = 512
        MAX_MU = 2048
        # create dummy resource model environment
        reg = ResourceModelRegistrar(
            dc_emulation_max_cpu=E_CPU, dc_emulation_max_mem=E_MEM)
        rm = UpbSimpleCloudDcRM(max_cu=MAX_CU, max_mu=MAX_MU)
        reg.register("test_dc", rm)

        # test over provisioning exeption
        exception = False
        try:
            c6 = createDummyContainerObject("c6", flavor="xlarge")
            c7 = createDummyContainerObject("c7", flavor="xlarge")
            c8 = createDummyContainerObject("c8", flavor="xlarge")
>           rm.allocate(c6)  # calculate allocation

src/emuvim/test/unittests/test_resourcemodel.py:240: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
src/emuvim/dcemulator/resourcemodel/upb/simple.py:80: in allocate
    self._apply_limits()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = UpbSimpleCloudDcRM

    def _apply_limits(self):
        """
        Recalculate real resource limits for all allocated containers and apply them
        to their cgroups.
        We have to recalculate for all containers to allow e.g. over provisioning models.
        :return:
        """
>       for d in self._allocated_compute_instances.itervalues():
E       AttributeError: 'dict' object has no attribute 'itervalues'

src/emuvim/dcemulator/resourcemodel/upb/simple.py:144: AttributeError
----------------------------- Captured stderr call -----------------------------
INFO:resourcemodel:Resource model registrar created with dc_emulation_max_cpu=1.0 and dc_emulation_max_mem=512
DEBUG:resourcemodel:Create flavor 'tiny' with metrics: {'compute': 0.5, 'memory': 32, 'disk': 1}
DEBUG:resourcemodel:Create flavor 'small' with metrics: {'compute': 1.0, 'memory': 128, 'disk': 20}
DEBUG:resourcemodel:Create flavor 'medium' with metrics: {'compute': 4.0, 'memory': 256, 'disk': 40}
DEBUG:resourcemodel:Create flavor 'large' with metrics: {'compute': 8.0, 'memory': 512, 'disk': 80}
DEBUG:resourcemodel:Create flavor 'xlarge' with metrics: {'compute': 16.0, 'memory': 1024, 'disk': 160}
INFO:resourcemodel:Resource model UpbSimpleCloudDcRM initialized
INFO:resourcemodel:Registrar: Added resource model: UpbSimpleCloudDcRM
------------------------------ Captured log call -------------------------------
INFO     resourcemodel:__init__.py:42 Resource model registrar created with dc_emulation_max_cpu=1.0 and dc_emulation_max_mem=512
DEBUG    resourcemodel:__init__.py:86 Create flavor 'tiny' with metrics: {'compute': 0.5, 'memory': 32, 'disk': 1}
DEBUG    resourcemodel:__init__.py:86 Create flavor 'small' with metrics: {'compute': 1.0, 'memory': 128, 'disk': 20}
DEBUG    resourcemodel:__init__.py:86 Create flavor 'medium' with metrics: {'compute': 4.0, 'memory': 256, 'disk': 40}
DEBUG    resourcemodel:__init__.py:86 Create flavor 'large' with metrics: {'compute': 8.0, 'memory': 512, 'disk': 80}
DEBUG    resourcemodel:__init__.py:86 Create flavor 'xlarge' with metrics: {'compute': 16.0, 'memory': 1024, 'disk': 160}
INFO     resourcemodel:__init__.py:104 Resource model UpbSimpleCloudDcRM initialized
INFO     resourcemodel:__init__.py:57 Registrar: Added resource model: UpbSimpleCloudDcRM
_______________________ testUpbSimpleCloudDcRM.testFree ________________________

self = <emuvim.test.unittests.test_resourcemodel.testUpbSimpleCloudDcRM testMethod=testFree>

    def testFree(self):
        """
        Test the free procedure.
        :return:
        """
        # create dummy resource model environment
        reg = ResourceModelRegistrar(
            dc_emulation_max_cpu=1.0, dc_emulation_max_mem=512)
        rm = UpbSimpleCloudDcRM(max_cu=100, max_mu=100)
        reg.register("test_dc", rm)
        c1 = createDummyContainerObject("c6", flavor="tiny")
>       rm.allocate(c1)  # calculate allocation

src/emuvim/test/unittests/test_resourcemodel.py:259: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
src/emuvim/dcemulator/resourcemodel/upb/simple.py:80: in allocate
    self._apply_limits()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = UpbSimpleCloudDcRM

    def _apply_limits(self):
        """
        Recalculate real resource limits for all allocated containers and apply them
        to their cgroups.
        We have to recalculate for all containers to allow e.g. over provisioning models.
        :return:
        """
>       for d in self._allocated_compute_instances.itervalues():
E       AttributeError: 'dict' object has no attribute 'itervalues'

src/emuvim/dcemulator/resourcemodel/upb/simple.py:144: AttributeError
----------------------------- Captured stderr call -----------------------------
INFO:resourcemodel:Resource model registrar created with dc_emulation_max_cpu=1.0 and dc_emulation_max_mem=512
DEBUG:resourcemodel:Create flavor 'tiny' with metrics: {'compute': 0.5, 'memory': 32, 'disk': 1}
DEBUG:resourcemodel:Create flavor 'small' with metrics: {'compute': 1.0, 'memory': 128, 'disk': 20}
DEBUG:resourcemodel:Create flavor 'medium' with metrics: {'compute': 4.0, 'memory': 256, 'disk': 40}
DEBUG:resourcemodel:Create flavor 'large' with metrics: {'compute': 8.0, 'memory': 512, 'disk': 80}
DEBUG:resourcemodel:Create flavor 'xlarge' with metrics: {'compute': 16.0, 'memory': 1024, 'disk': 160}
INFO:resourcemodel:Resource model UpbSimpleCloudDcRM initialized
INFO:resourcemodel:Registrar: Added resource model: UpbSimpleCloudDcRM
------------------------------ Captured log call -------------------------------
INFO     resourcemodel:__init__.py:42 Resource model registrar created with dc_emulation_max_cpu=1.0 and dc_emulation_max_mem=512
DEBUG    resourcemodel:__init__.py:86 Create flavor 'tiny' with metrics: {'compute': 0.5, 'memory': 32, 'disk': 1}
DEBUG    resourcemodel:__init__.py:86 Create flavor 'small' with metrics: {'compute': 1.0, 'memory': 128, 'disk': 20}
DEBUG    resourcemodel:__init__.py:86 Create flavor 'medium' with metrics: {'compute': 4.0, 'memory': 256, 'disk': 40}
DEBUG    resourcemodel:__init__.py:86 Create flavor 'large' with metrics: {'compute': 8.0, 'memory': 512, 'disk': 80}
DEBUG    resourcemodel:__init__.py:86 Create flavor 'xlarge' with metrics: {'compute': 16.0, 'memory': 1024, 'disk': 160}
INFO     resourcemodel:__init__.py:104 Resource model UpbSimpleCloudDcRM initialized
INFO     resourcemodel:__init__.py:57 Registrar: Added resource model: UpbSimpleCloudDcRM
____________________ testUpbSimpleCloudDcRM.testInRealTopo _____________________

self = <emuvim.test.unittests.test_resourcemodel.testUpbSimpleCloudDcRM testMethod=testInRealTopo>

    @unittest.skipIf(os.environ.get("SON_EMU_IN_DOCKER") is not None,
                     "skipping test when running inside Docker container")
    def testInRealTopo(self):
        """
        Start a real container and check if limitations are really passed down to Conteinernet.
        :return:
        """
        # create network
>       self.createNet(nswitches=0, ndatacenter=1, nhosts=2, ndockers=0)

src/emuvim/test/unittests/test_resourcemodel.py:272: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
src/emuvim/test/base.py:62: in createNet
    self.net = DCNetwork(controller=controller, **kwargs)
src/emuvim/dcemulator/net.py:114: in __init__
    self.addController('c0', controller=controller)
/home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg/mininet/net.py:322: in addController
    controller_new = controller( name, **params )
/home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg/mininet/node.py:1962: in __init__
    ip=ip, **params  )
/home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg/mininet/node.py:88: in __init__
    self.checkSetup()
/home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg/mininet/node.py:683: in checkSetup
    cls.setup()
/home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg/mininet/node.py:691: in setup
    pathCheck( 'mnexec', 'ifconfig', moduleName='Mininet')
/home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg/mininet/moduledeps.py:68: in pathCheck
    exit( 1 )
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = Use exit() or Ctrl-D (i.e. EOF) to exit, code = 1

    def __call__(self, code=None):
        # Shells like IDLE catch the SystemExit, but listen when their
        # stdin wrapper is closed.
        try:
            sys.stdin.close()
        except:
            pass
>       raise SystemExit(code)
E       SystemExit: 1

../venv2/lib/python3.6/site.py:403: SystemExit
----------------------------- Captured stderr call -----------------------------
Cannot find required executable ifconfig.
Please make sure that Mininet is installed and available in your $PATH:
(/home/ich/work/venv2/bin:/home/ich/work/venv2/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games)
_________ testUpbOverprovisioningCloudDcRM.testAllocationComputations __________

self = <emuvim.test.unittests.test_resourcemodel.testUpbOverprovisioningCloudDcRM testMethod=testAllocationComputations>

    def testAllocationComputations(self):
        """
        Test the allocation procedures and correct calculations.
        :return:
        """
        # config
        E_CPU = 1.0
        MAX_CU = 3
        E_MEM = 512
        MAX_MU = 2048
        # create dummy resource model environment
        reg = ResourceModelRegistrar(
            dc_emulation_max_cpu=E_CPU, dc_emulation_max_mem=E_MEM)
        rm = UpbOverprovisioningCloudDcRM(max_cu=MAX_CU, max_mu=MAX_MU)
        reg.register("test_dc", rm)

        c1 = createDummyContainerObject("c1", flavor="small")
>       rm.allocate(c1)  # calculate allocation

src/emuvim/test/unittests/test_resourcemodel.py:332: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
src/emuvim/dcemulator/resourcemodel/upb/simple.py:80: in allocate
    self._apply_limits()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = UpbOverprovisioningCloudDcRM

    def _apply_limits(self):
        """
        Recalculate real resource limits for all allocated containers and apply them
        to their cgroups.
        We have to recalculate for all containers to allow e.g. over provisioning models.
        :return:
        """
>       for d in self._allocated_compute_instances.itervalues():
E       AttributeError: 'dict' object has no attribute 'itervalues'

src/emuvim/dcemulator/resourcemodel/upb/simple.py:144: AttributeError
----------------------------- Captured stderr call -----------------------------
INFO:resourcemodel:Resource model registrar created with dc_emulation_max_cpu=1.0 and dc_emulation_max_mem=512
DEBUG:resourcemodel:Create flavor 'tiny' with metrics: {'compute': 0.5, 'memory': 32, 'disk': 1}
DEBUG:resourcemodel:Create flavor 'small' with metrics: {'compute': 1.0, 'memory': 128, 'disk': 20}
DEBUG:resourcemodel:Create flavor 'medium' with metrics: {'compute': 4.0, 'memory': 256, 'disk': 40}
DEBUG:resourcemodel:Create flavor 'large' with metrics: {'compute': 8.0, 'memory': 512, 'disk': 80}
DEBUG:resourcemodel:Create flavor 'xlarge' with metrics: {'compute': 16.0, 'memory': 1024, 'disk': 160}
INFO:resourcemodel:Resource model UpbOverprovisioningCloudDcRM initialized
INFO:resourcemodel:Registrar: Added resource model: UpbOverprovisioningCloudDcRM
------------------------------ Captured log call -------------------------------
INFO     resourcemodel:__init__.py:42 Resource model registrar created with dc_emulation_max_cpu=1.0 and dc_emulation_max_mem=512
DEBUG    resourcemodel:__init__.py:86 Create flavor 'tiny' with metrics: {'compute': 0.5, 'memory': 32, 'disk': 1}
DEBUG    resourcemodel:__init__.py:86 Create flavor 'small' with metrics: {'compute': 1.0, 'memory': 128, 'disk': 20}
DEBUG    resourcemodel:__init__.py:86 Create flavor 'medium' with metrics: {'compute': 4.0, 'memory': 256, 'disk': 40}
DEBUG    resourcemodel:__init__.py:86 Create flavor 'large' with metrics: {'compute': 8.0, 'memory': 512, 'disk': 80}
DEBUG    resourcemodel:__init__.py:86 Create flavor 'xlarge' with metrics: {'compute': 16.0, 'memory': 1024, 'disk': 160}
INFO     resourcemodel:__init__.py:104 Resource model UpbOverprovisioningCloudDcRM initialized
INFO     resourcemodel:__init__.py:57 Registrar: Added resource model: UpbOverprovisioningCloudDcRM
___________________________ testRestApi.testRestApi ____________________________

self = <emuvim.test.unittests.test_restapi.testRestApi testMethod=testRestApi>

    def testRestApi(self):
        # create network
>       self.createNet(nswitches=0, ndatacenter=2, nhosts=2, ndockers=0)

src/emuvim/test/unittests/test_restapi.py:40: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
src/emuvim/test/api_base.py:64: in createNet
    self.net = DCNetwork(controller=controller, **kwargs)
src/emuvim/dcemulator/net.py:114: in __init__
    self.addController('c0', controller=controller)
/home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg/mininet/net.py:322: in addController
    controller_new = controller( name, **params )
/home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg/mininet/node.py:1962: in __init__
    ip=ip, **params  )
/home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg/mininet/node.py:88: in __init__
    self.checkSetup()
/home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg/mininet/node.py:683: in checkSetup
    cls.setup()
/home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg/mininet/node.py:691: in setup
    pathCheck( 'mnexec', 'ifconfig', moduleName='Mininet')
/home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg/mininet/moduledeps.py:68: in pathCheck
    exit( 1 )
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = Use exit() or Ctrl-D (i.e. EOF) to exit, code = 1

    def __call__(self, code=None):
        # Shells like IDLE catch the SystemExit, but listen when their
        # stdin wrapper is closed.
        try:
            sys.stdin.close()
        except:
            pass
>       raise SystemExit(code)
E       SystemExit: 1

../venv2/lib/python3.6/site.py:403: SystemExit
----------------------------- Captured stderr call -----------------------------
Cannot find required executable ifconfig.
Please make sure that Mininet is installed and available in your $PATH:
(/home/ich/work/venv2/bin:/home/ich/work/venv2/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games)
_________________ testTangoLLCM.test_tango_llcm_start_service __________________

self = <emuvim.test.unittests.test_tango_llcm.testTangoLLCM testMethod=test_tango_llcm_start_service>

    def test_tango_llcm_start_service(self):
        initialize_GK()
        # create network
        self.createNet(nswitches=0, ndatacenter=2, nhosts=2,
>                      ndockers=0, enable_learning=True)

src/emuvim/test/unittests/test_tango_llcm.py:53: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
src/emuvim/test/base.py:62: in createNet
    self.net = DCNetwork(controller=controller, **kwargs)
src/emuvim/dcemulator/net.py:114: in __init__
    self.addController('c0', controller=controller)
/home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg/mininet/net.py:322: in addController
    controller_new = controller( name, **params )
/home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg/mininet/node.py:1962: in __init__
    ip=ip, **params  )
/home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg/mininet/node.py:88: in __init__
    self.checkSetup()
/home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg/mininet/node.py:683: in checkSetup
    cls.setup()
/home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg/mininet/node.py:691: in setup
    pathCheck( 'mnexec', 'ifconfig', moduleName='Mininet')
/home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg/mininet/moduledeps.py:68: in pathCheck
    exit( 1 )
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = Use exit() or Ctrl-D (i.e. EOF) to exit, code = 1

    def __call__(self, code=None):
        # Shells like IDLE catch the SystemExit, but listen when their
        # stdin wrapper is closed.
        try:
            sys.stdin.close()
        except:
            pass
>       raise SystemExit(code)
E       SystemExit: 1

../venv2/lib/python3.6/site.py:403: SystemExit
----------------------------- Captured stderr call -----------------------------
INFO:5gtango.llcm:Initialized 5GTANGO LLCM module.
Cannot find required executable ifconfig.
Please make sure that Mininet is installed and available in your $PATH:
(/home/ich/work/venv2/bin:/home/ich/work/venv2/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games)
------------------------------ Captured log call -------------------------------
INFO     5gtango.llcm:llcm.py:123 Initialized 5GTANGO LLCM module.
__________________ testTangoLLCM.test_tango_llcm_stop_service __________________

self = <emuvim.test.unittests.test_tango_llcm.testTangoLLCM testMethod=test_tango_llcm_stop_service>

    def test_tango_llcm_stop_service(self):
        initialize_GK()
        # create network
>       self.createNet(ndatacenter=2, nhosts=2)

src/emuvim/test/unittests/test_tango_llcm.py:171: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
src/emuvim/test/base.py:62: in createNet
    self.net = DCNetwork(controller=controller, **kwargs)
src/emuvim/dcemulator/net.py:114: in __init__
    self.addController('c0', controller=controller)
/home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg/mininet/net.py:322: in addController
    controller_new = controller( name, **params )
/home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg/mininet/node.py:1962: in __init__
    ip=ip, **params  )
/home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg/mininet/node.py:88: in __init__
    self.checkSetup()
/home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg/mininet/node.py:683: in checkSetup
    cls.setup()
/home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg/mininet/node.py:691: in setup
    pathCheck( 'mnexec', 'ifconfig', moduleName='Mininet')
/home/ich/work/venv2/lib/python3.6/site-packages/mininet-3.0-py3.6.egg/mininet/moduledeps.py:68: in pathCheck
    exit( 1 )
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = Use exit() or Ctrl-D (i.e. EOF) to exit, code = 1

    def __call__(self, code=None):
        # Shells like IDLE catch the SystemExit, but listen when their
        # stdin wrapper is closed.
        try:
            sys.stdin.close()
        except:
            pass
>       raise SystemExit(code)
E       SystemExit: 1

../venv2/lib/python3.6/site.py:403: SystemExit
----------------------------- Captured stderr call -----------------------------
INFO:5gtango.llcm:Initialized 5GTANGO LLCM module.
Cannot find required executable ifconfig.
Please make sure that Mininet is installed and available in your $PATH:
(/home/ich/work/venv2/bin:/home/ich/work/venv2/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games)
------------------------------ Captured log call -------------------------------
INFO     5gtango.llcm:llcm.py:123 Initialized 5GTANGO LLCM module.
=============================== warnings summary ===============================
/home/ich/work/venv2/lib/python3.6/distutils/__init__.py:4
  /home/ich/work/venv2/lib/python3.6/distutils/__init__.py:4: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
    import imp

-- Docs: https://docs.pytest.org/en/latest/warnings.html
============= 26 failed, 4 passed, 1 warnings in 71.32s (0:01:11) ==============
RafaelSche commented 4 years ago
(venv3) root@ich-p6-2350eg:/home/ich/work/vim-emu# ./pipeline_local.sh 
Running unit tests ...
do everything in Docker, like it is done by Jenkins
Sending build context to Docker daemon  3.949MB
Step 1/27 : FROM ubuntu:xenial
 ---> 56bab49eef2e
Step 2/27 : ENV SON_EMU_IN_DOCKER 1
 ---> Using cache
 ---> c41be321195a
Step 3/27 : ENV PIP_DEFAULT_TIMEOUT=100
 ---> Using cache
 ---> 94ba0452b883
Step 4/27 : RUN apt-get clean
 ---> Using cache
 ---> 41c951b02c86
Step 5/27 : RUN apt-get update     && apt-get install -y  git     net-tools     aptitude     build-essential     python3-setuptools     python3-dev     python3-pip     python-all-dev     libevent-dev     software-properties-common     ansible     curl     iptables     iputils-ping     sudo     vim
 ---> Using cache
 ---> 2499d92fb2f8
Step 6/27 : RUN git clone https://github.com/RafaelSche/containernet.git
 ---> Using cache
 ---> 7fee06763643
Step 7/27 : WORKDIR /containernet/ansible
 ---> Using cache
 ---> 341a1b5c0b7e
Step 8/27 : RUN ansible-playbook -i "localhost," -c local --skip-tags "notindocker" install_py3.yml
 ---> Running in deaa8fefc00d

PLAY ***************************************************************************

TASK [setup] *******************************************************************
ok: [localhost]

TASK [updates apt] *************************************************************
changed: [localhost]
 [WARNING]: Consider using apt-get module rather than running apt-get

TASK [install basic packages] **************************************************
changed: [localhost] => (item=[u'aptitude', u'apt-transport-https', u'ca-certificates', u'curl', u'python3-setuptools', u'python3-dev', u'build-essential', u'python3-pip', u'iptables', u'software-properties-common', u'python-backports.ssl-match-hostname'])

TASK [install Docker CE repos (1/3)] *******************************************
changed: [localhost]
 [WARNING]: Consider using get_url module rather than running curl

TASK [install Docker CE repos (2/3)] *******************************************
changed: [localhost]

TASK [install Docker CE repos (3/3)] *******************************************
changed: [localhost]

TASK [install Docker CE] *******************************************************
changed: [localhost]

TASK [find pip executable] *****************************************************
changed: [localhost]

TASK [install pytest] **********************************************************
changed: [localhost]

TASK [install docker py] *******************************************************
changed: [localhost]

TASK [install python-iptables] *************************************************
changed: [localhost]

TASK [install pexpect] *********************************************************
changed: [localhost]

TASK [build and install Containernet (using Mininet installer)] ****************
fatal: [localhost]: FAILED! => {"changed": true, "cmd": "containernet/util/install.sh", "delta": "0:02:09.992287", "end": "2019-11-28 10:15:36.581634", "failed": true, "rc": 2, "start": "2019-11-28 10:13:26.589347", "stderr": "debconf: delaying package configuration, since apt-utils is not installed\ndebconf: delaying package configuration, since apt-utils is not installed\nTraceback (most recent call last):\n  File \"bin/mn\", line 23, in <module>\n    from mininet.clean import cleanup\n  File \"./mininet/clean.py\", line 23, in <module>\n    import iptc\nImportError: No module named iptc\nTraceback (most recent call last):\n  File \"setup.py\", line 11, in <module>\n    from mininet.net import CONTAINERNET_VERSION\n  File \"/containernet/mininet/net.py\", line 95, in <module>\n    import ipaddress\nImportError: No module named ipaddress\nmake: *** [install] Error 1", "stdout": "Detected Linux distribution: Ubuntu 16.04 xenial amd64\npython is version 2\nInstalling all packages except for -eix (doxypy, ivs, nox-classic)...\nInstall Mininet-compatible kernel if necessary\nHit:1 http://archive.ubuntu.com/ubuntu xenial InRelease\nHit:2 http://security.ubuntu.com/ubuntu xenial-security InRelease\nHit:3 http://archive.ubuntu.com/ubuntu xenial-updates InRelease\nHit:4 http://archive.ubuntu.com/ubuntu xenial-backports InRelease\nHit:5 https://download.docker.com/linux/ubuntu xenial InRelease\nReading package lists...\nReading package lists...\nBuilding dependency tree...\nReading state information...\nThe following additional packages will be installed:\n  busybox-initramfs cpio gettext-base grub-common grub-gfxpayload-lists\n  grub-pc grub-pc-bin grub2-common initramfs-tools initramfs-tools-bin\n  initramfs-tools-core klibc-utils kmod libasprintf0v5 libfreetype6 libfuse2\n  libklibc libpng12-0 linux-base linux-modules-4.15.0-70-generic os-prober\n  udev\nSuggested packages:\n  libarchive1 multiboot-doc grub-emu xorriso desktop-base console-setup\n  bash-completion fuse fdutils linux-hwe-tools linux-headers-4.15.0-70-generic\nThe following NEW packages will be installed:\n  busybox-initramfs cpio gettext-base grub-common grub-gfxpayload-lists\n  grub-pc grub-pc-bin grub2-common initramfs-tools initramfs-tools-bin\n  initramfs-tools-core klibc-utils kmod libasprintf0v5 libfreetype6 libfuse2\n  libklibc libpng12-0 linux-base linux-image-4.15.0-70-generic\n  linux-modules-4.15.0-70-generic os-prober udev\n0 upgraded, 23 newly installed, 0 to remove and 0 not upgraded.\nNeed to get 26.4 MB of archives.\nAfter this operation, 100 MB of additional disk space will be used.\nGet:1 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 udev amd64 229-4ubuntu21.22 [994 kB]\nGet:2 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libpng12-0 amd64 1.2.54-1ubuntu1.1 [116 kB]\nGet:3 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libfreetype6 amd64 2.6.1-0.1ubuntu2.4 [315 kB]\nGet:4 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libfuse2 amd64 2.9.4-1ubuntu3.1 [89.9 kB]\nGet:5 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libasprintf0v5 amd64 0.19.7-2ubuntu3.1 [6568 B]\nGet:6 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 gettext-base amd64 0.19.7-2ubuntu3.1 [48.0 kB]\nGet:7 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 grub-common amd64 2.02~beta2-36ubuntu3.23 [1704 kB]\nGet:8 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 grub2-common amd64 2.02~beta2-36ubuntu3.23 [511 kB]\nGet:9 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 grub-pc-bin amd64 2.02~beta2-36ubuntu3.23 [891 kB]\nGet:10 http://archive.ubuntu.com/ubuntu xenial/main amd64 grub-gfxpayload-lists amd64 0.7 [3658 B]\nGet:11 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 grub-pc amd64 2.02~beta2-36ubuntu3.23 [197 kB]\nGet:12 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 busybox-initramfs amd64 1:1.22.0-15ubuntu1.4 [179 kB]\nGet:13 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 cpio amd64 2.11+dfsg-5ubuntu1.1 [75.2 kB]\nGet:14 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 initramfs-tools-bin amd64 0.122ubuntu8.16 [9354 B]\nGet:15 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libklibc amd64 2.0.4-8ubuntu1.16.04.4 [41.0 kB]\nGet:16 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 klibc-utils amd64 2.0.4-8ubuntu1.16.04.4 [108 kB]\nGet:17 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 kmod amd64 22-1ubuntu5.2 [88.6 kB]\nGet:18 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 initramfs-tools-core all 0.122ubuntu8.16 [45.0 kB]\nGet:19 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 linux-base all 4.5ubuntu1~16.04.1 [18.1 kB]\nGet:20 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 initramfs-tools all 0.122ubuntu8.16 [8928 B]\nGet:21 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 linux-modules-4.15.0-70-generic amd64 4.15.0-70.79~16.04.1 [13.0 MB]\nGet:22 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 linux-image-4.15.0-70-generic amd64 4.15.0-70.79~16.04.1 [7973 kB]\nGet:23 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 os-prober amd64 1.70ubuntu3.3 [19.1 kB]\nFetched 26.4 MB in 1s (21.1 MB/s)\nSelecting previously unselected package udev.\r\n(Reading database ... \r(Reading database ... 5%\r(Reading database ... 10%\r(Reading database ... 15%\r(Reading database ... 20%\r(Reading database ... 25%\r(Reading database ... 30%\r(Reading database ... 35%\r(Reading database ... 40%\r(Reading database ... 45%\r(Reading database ... 50%\r(Reading database ... 55%\r(Reading database ... 60%\r(Reading database ... 65%\r(Reading database ... 70%\r(Reading database ... 75%\r(Reading database ... 80%\r(Reading database ... 85%\r(Reading database ... 90%\r(Reading database ... 95%\r(Reading database ... 100%\r(Reading database ... 22131 files and directories currently installed.)\r\nPreparing to unpack .../udev_229-4ubuntu21.22_amd64.deb ...\r\nUnpacking udev (229-4ubuntu21.22) ...\r\nSelecting previously unselected package libpng12-0:amd64.\r\nPreparing to unpack .../libpng12-0_1.2.54-1ubuntu1.1_amd64.deb ...\r\nUnpacking libpng12-0:amd64 (1.2.54-1ubuntu1.1) ...\r\nSelecting previously unselected package libfreetype6:amd64.\r\nPreparing to unpack .../libfreetype6_2.6.1-0.1ubuntu2.4_amd64.deb ...\r\nUnpacking libfreetype6:amd64 (2.6.1-0.1ubuntu2.4) ...\r\nSelecting previously unselected package libfuse2:amd64.\r\nPreparing to unpack .../libfuse2_2.9.4-1ubuntu3.1_amd64.deb ...\r\nUnpacking libfuse2:amd64 (2.9.4-1ubuntu3.1) ...\r\nSelecting previously unselected package libasprintf0v5:amd64.\r\nPreparing to unpack .../libasprintf0v5_0.19.7-2ubuntu3.1_amd64.deb ...\r\nUnpacking libasprintf0v5:amd64 (0.19.7-2ubuntu3.1) ...\r\nSelecting previously unselected package gettext-base.\r\nPreparing to unpack .../gettext-base_0.19.7-2ubuntu3.1_amd64.deb ...\r\nUnpacking gettext-base (0.19.7-2ubuntu3.1) ...\r\nSelecting previously unselected package grub-common.\r\nPreparing to unpack .../grub-common_2.02~beta2-36ubuntu3.23_amd64.deb ...\r\nUnpacking grub-common (2.02~beta2-36ubuntu3.23) ...\r\nSelecting previously unselected package grub2-common.\r\nPreparing to unpack .../grub2-common_2.02~beta2-36ubuntu3.23_amd64.deb ...\r\nUnpacking grub2-common (2.02~beta2-36ubuntu3.23) ...\r\nSelecting previously unselected package grub-pc-bin.\r\nPreparing to unpack .../grub-pc-bin_2.02~beta2-36ubuntu3.23_amd64.deb ...\r\nUnpacking grub-pc-bin (2.02~beta2-36ubuntu3.23) ...\r\nSelecting previously unselected package grub-gfxpayload-lists.\r\nPreparing to unpack .../grub-gfxpayload-lists_0.7_amd64.deb ...\r\nUnpacking grub-gfxpayload-lists (0.7) ...\r\nSelecting previously unselected package grub-pc.\r\nPreparing to unpack .../grub-pc_2.02~beta2-36ubuntu3.23_amd64.deb ...\r\nUnpacking grub-pc (2.02~beta2-36ubuntu3.23) ...\r\nSelecting previously unselected package busybox-initramfs.\r\nPreparing to unpack .../busybox-initramfs_1%3a1.22.0-15ubuntu1.4_amd64.deb ...\r\nUnpacking busybox-initramfs (1:1.22.0-15ubuntu1.4) ...\r\nSelecting previously unselected package cpio.\r\nPreparing to unpack .../cpio_2.11+dfsg-5ubuntu1.1_amd64.deb ...\r\nUnpacking cpio (2.11+dfsg-5ubuntu1.1) ...\r\nSelecting previously unselected package initramfs-tools-bin.\r\nPreparing to unpack .../initramfs-tools-bin_0.122ubuntu8.16_amd64.deb ...\r\nUnpacking initramfs-tools-bin (0.122ubuntu8.16) ...\r\nSelecting previously unselected package libklibc.\r\nPreparing to unpack .../libklibc_2.0.4-8ubuntu1.16.04.4_amd64.deb ...\r\nUnpacking libklibc (2.0.4-8ubuntu1.16.04.4) ...\r\nSelecting previously unselected package klibc-utils.\r\nPreparing to unpack .../klibc-utils_2.0.4-8ubuntu1.16.04.4_amd64.deb ...\r\nAdding 'diversion of /usr/share/initramfs-tools/hooks/klibc to /usr/share/initramfs-tools/hooks/klibc^i-t by klibc-utils'\r\nUnpacking klibc-utils (2.0.4-8ubuntu1.16.04.4) ...\r\nSelecting previously unselected package kmod.\r\nPreparing to unpack .../kmod_22-1ubuntu5.2_amd64.deb ...\r\nUnpacking kmod (22-1ubuntu5.2) ...\r\nSelecting previously unselected package initramfs-tools-core.\r\nPreparing to unpack .../initramfs-tools-core_0.122ubuntu8.16_all.deb ...\r\nUnpacking initramfs-tools-core (0.122ubuntu8.16) ...\r\nSelecting previously unselected package linux-base.\r\nPreparing to unpack .../linux-base_4.5ubuntu1~16.04.1_all.deb ...\r\nUnpacking linux-base (4.5ubuntu1~16.04.1) ...\r\nSelecting previously unselected package initramfs-tools.\r\nPreparing to unpack .../initramfs-tools_0.122ubuntu8.16_all.deb ...\r\nUnpacking initramfs-tools (0.122ubuntu8.16) ...\r\nSelecting previously unselected package linux-modules-4.15.0-70-generic.\r\nPreparing to unpack .../linux-modules-4.15.0-70-generic_4.15.0-70.79~16.04.1_amd64.deb ...\r\nUnpacking linux-modules-4.15.0-70-generic (4.15.0-70.79~16.04.1) ...\r\nSelecting previously unselected package linux-image-4.15.0-70-generic.\r\nPreparing to unpack .../linux-image-4.15.0-70-generic_4.15.0-70.79~16.04.1_amd64.deb ...\r\nUnpacking linux-image-4.15.0-70-generic (4.15.0-70.79~16.04.1) ...\r\nSelecting previously unselected package os-prober.\r\nPreparing to unpack .../os-prober_1.70ubuntu3.3_amd64.deb ...\r\nUnpacking os-prober (1.70ubuntu3.3) ...\r\nProcessing triggers for systemd (229-4ubuntu21.22) ...\r\nProcessing triggers for libc-bin (2.23-0ubuntu11) ...\r\nSetting up udev (229-4ubuntu21.22) ...\r\nAdding group `input' (GID 110) ...\r\nDone.\r\ninvoke-rc.d: could not determine current runlevel\r\ninvoke-rc.d: policy-rc.d denied execution of start.\r\nSetting up libpng12-0:amd64 (1.2.54-1ubuntu1.1) ...\r\nSetting up libfreetype6:amd64 (2.6.1-0.1ubuntu2.4) ...\r\nSetting up libfuse2:amd64 (2.9.4-1ubuntu3.1) ...\r\nSetting up libasprintf0v5:amd64 (0.19.7-2ubuntu3.1) ...\r\nSetting up gettext-base (0.19.7-2ubuntu3.1) ...\r\nSetting up grub-common (2.02~beta2-36ubuntu3.23) ...\r\nupdate-rc.d: warning: start and stop actions are no longer supported; falling back to defaults\r\ninvoke-rc.d: could not determine current runlevel\r\ninvoke-rc.d: policy-rc.d denied execution of start.\r\nSetting up grub2-common (2.02~beta2-36ubuntu3.23) ...\r\nSetting up grub-pc-bin (2.02~beta2-36ubuntu3.23) ...\r\nSetting up busybox-initramfs (1:1.22.0-15ubuntu1.4) ...\r\nSetting up cpio (2.11+dfsg-5ubuntu1.1) ...\r\nupdate-alternatives: using /bin/mt-gnu to provide /bin/mt (mt) in auto mode\r\nSetting up initramfs-tools-bin (0.122ubuntu8.16) ...\r\nSetting up libklibc (2.0.4-8ubuntu1.16.04.4) ...\r\nSetting up klibc-utils (2.0.4-8ubuntu1.16.04.4) ...\r\nSetting up kmod (22-1ubuntu5.2) ...\r\nSetting up initramfs-tools-core (0.122ubuntu8.16) ...\r\nSetting up linux-base (4.5ubuntu1~16.04.1) ...\r\nSetting up initramfs-tools (0.122ubuntu8.16) ...\r\nupdate-initramfs: deferring update (trigger activated)\r\nSetting up linux-modules-4.15.0-70-generic (4.15.0-70.79~16.04.1) ...\r\nSetting up linux-image-4.15.0-70-generic (4.15.0-70.79~16.04.1) ...\r\nI: /vmlinuz.old is now a symlink to boot/vmlinuz-4.15.0-70-generic\r\nI: /initrd.img.old is now a symlink to boot/initrd.img-4.15.0-70-generic\r\nI: /vmlinuz is now a symlink to boot/vmlinuz-4.15.0-70-generic\r\nI: /initrd.img is now a symlink to boot/initrd.img-4.15.0-70-generic\r\nSetting up os-prober (1.70ubuntu3.3) ...\r\nSetting up grub-pc (2.02~beta2-36ubuntu3.23) ...\r\n\r\nCreating config file /etc/default/grub with new version\r\nSetting up grub-gfxpayload-lists (0.7) ...\r\nProcessing triggers for systemd (229-4ubuntu21.22) ...\r\nProcessing triggers for libc-bin (2.23-0ubuntu11) ...\r\nProcessing triggers for initramfs-tools (0.122ubuntu8.16) ...\r\nProcessing triggers for linux-image-4.15.0-70-generic (4.15.0-70.79~16.04.1) ...\r\n/etc/kernel/postinst.d/initramfs-tools:\r\nupdate-initramfs: Generating /boot/initrd.img-4.15.0-70-generic\r\nInstalling Mininet dependencies\nReading package lists...\nBuilding dependency tree...\nReading state information...\ngcc is already the newest version (4:5.3.1-1ubuntu1).\ngcc set to manually installed.\nmake is already the newest version (4.1-6).\nmake set to manually installed.\nThe following additional packages will be installed:\n  blt cgroup-lite cgroup-tools fontconfig-config fonts-dejavu-core libcgroup1\n  libdrm-amdgpu1 libdrm-common libdrm-intel1 libdrm-nouveau2 libdrm-radeon1\n  libdrm2 libelf1 libfontconfig1 libfontenc1 libgl1-mesa-dri libgl1-mesa-glx\n  libglapi-mesa libice6 libllvm6.0 libnih-dbus1 libnih1 libpciaccess0\n  libplymouth4 libsensors4 libsm6 libtcl8.6 libtk8.6 libtxc-dxtn-s2tc0\n  libutempter0 libwrap0 libx11-xcb1 libxaw7 libxcb-dri2-0 libxcb-dri3-0\n  libxcb-glx0 libxcb-present0 libxcb-shape0 libxcb-sync1 libxcomposite1\n  libxdamage1 libxfixes3 libxft2 libxi6 libxinerama1 libxmu6 libxpm4\n  libxrandr2 libxrender1 libxshmfence1 libxss1 libxt6 libxtst6 libxv1\n  libxxf86dga1 libxxf86vm1 mountall ncurses-term openssh-server\n  openssh-sftp-server plymouth plymouth-theme-ubuntu-text pyflakes3\n  python-astroid python-egenix-mxdatetime python-egenix-mxtools\n  python-lazy-object-proxy python-logilab-common python-ptyprocess\n  python-pyflakes python-wrapt python3-chardet python3-pep8 python3-pyflakes\n  python3-requests python3-six python3-urllib3 ssh-import-id tcpd tk8.6-blt2.5\n  tzdata wget x11-common x11-utils xbitmaps\nSuggested packages:\n  blt-demo pciutils lm-sensors tcl8.6 tk8.6 ssh-askpass rssh molly-guard ufw\n  monkeysphere desktop-base plymouth-themes pylint-doc\n  python-egenix-mxdatetime-dbg python-egenix-mxdatetime-doc\n  python-egenix-mxtools-dbg python-egenix-mxtools-doc pyro python-unittest2\n  python-pexpect-doc python-setuptools-doc tix python-tk-dbg\n  python3-ndg-httpsclient python3-openssl python3-pyasn1 mesa-utils\n  xfonts-cyrillic\nThe following NEW packages will be installed:\n  blt cgroup-bin cgroup-lite cgroup-tools ethtool fontconfig-config\n  fonts-dejavu-core help2man iperf libcgroup1 libdrm-amdgpu1 libdrm-common\n  libdrm-intel1 libdrm-nouveau2 libdrm-radeon1 libdrm2 libelf1 libfontconfig1\n  libfontenc1 libgl1-mesa-dri libgl1-mesa-glx libglapi-mesa libice6 libllvm6.0\n  libnih-dbus1 libnih1 libpciaccess0 libplymouth4 libsensors4 libsm6 libtcl8.6\n  libtk8.6 libtxc-dxtn-s2tc0 libutempter0 libwrap0 libx11-xcb1 libxaw7\n  libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0 libxcb-present0 libxcb-shape0\n  libxcb-sync1 libxcomposite1 libxdamage1 libxfixes3 libxft2 libxi6\n  libxinerama1 libxmu6 libxpm4 libxrandr2 libxrender1 libxshmfence1 libxss1\n  libxt6 libxtst6 libxv1 libxxf86dga1 libxxf86vm1 mountall ncurses-term\n  openssh-server openssh-sftp-server pep8 plymouth plymouth-theme-ubuntu-text\n  psmisc pyflakes pyflakes3 pylint python-astroid python-egenix-mxdatetime\n  python-egenix-mxtools python-lazy-object-proxy python-logilab-common\n  python-pexpect python-ptyprocess python-pyflakes python-setuptools python-tk\n  python-wrapt python3-chardet python3-pep8 python3-pyflakes python3-requests\n  python3-six python3-urllib3 socat ssh ssh-import-id tcpd telnet tk8.6-blt2.5\n  tzdata wget x11-common x11-utils xbitmaps xterm\n0 upgraded, 100 newly installed, 0 to remove and 0 not upgraded.\nNeed to get 29.5 MB of archives.\nAfter this operation, 247 MB of additional disk space will be used.\nGet:1 http://archive.ubuntu.com/ubuntu xenial/main amd64 libnih1 amd64 1.0.3-4.3ubuntu1 [49.0 kB]\nGet:2 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 x11-common all 1:7.7+13ubuntu3.1 [22.9 kB]\nGet:3 http://archive.ubuntu.com/ubuntu xenial/main amd64 libice6 amd64 2:1.0.9-1 [39.2 kB]\nGet:4 http://archive.ubuntu.com/ubuntu xenial/main amd64 libsm6 amd64 2:1.2.2-1 [15.8 kB]\nGet:5 http://archive.ubuntu.com/ubuntu xenial/main amd64 libwrap0 amd64 7.6.q-25 [46.2 kB]\nGet:6 http://archive.ubuntu.com/ubuntu xenial/main amd64 libxcomposite1 amd64 1:0.4.4-1 [7714 B]\nGet:7 http://archive.ubuntu.com/ubuntu xenial/main amd64 libxdamage1 amd64 1:1.1.4-2 [6946 B]\nGet:8 http://archive.ubuntu.com/ubuntu xenial/main amd64 libxfixes3 amd64 1:5.0.1-2 [11.1 kB]\nGet:9 http://archive.ubuntu.com/ubuntu xenial/main amd64 fonts-dejavu-core all 2.35-1 [1039 kB]\nGet:10 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 fontconfig-config all 2.11.94-0ubuntu1.1 [49.9 kB]\nGet:11 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libfontconfig1 amd64 2.11.94-0ubuntu1.1 [131 kB]\nGet:12 http://archive.ubuntu.com/ubuntu xenial/main amd64 libxrender1 amd64 1:0.9.9-0ubuntu1 [18.5 kB]\nGet:13 http://archive.ubuntu.com/ubuntu xenial/main amd64 libxft2 amd64 2.3.2-1 [36.1 kB]\nGet:14 http://archive.ubuntu.com/ubuntu xenial/main amd64 libxinerama1 amd64 2:1.1.3-1 [7908 B]\nGet:15 http://archive.ubuntu.com/ubuntu xenial/main amd64 libxshmfence1 amd64 1.2-1 [5042 B]\nGet:16 http://archive.ubuntu.com/ubuntu xenial/main amd64 libxss1 amd64 1:1.2.2-1 [8582 B]\nGet:17 http://archive.ubuntu.com/ubuntu xenial/main amd64 libxtst6 amd64 2:1.2.2-1 [14.1 kB]\nGet:18 http://archive.ubuntu.com/ubuntu xenial/main amd64 libxv1 amd64 2:1.0.10-1 [10.3 kB]\nGet:19 http://archive.ubuntu.com/ubuntu xenial/main amd64 libxxf86dga1 amd64 2:1.1.4-1 [13.7 kB]\nGet:20 http://archive.ubuntu.com/ubuntu xenial/main amd64 libxxf86vm1 amd64 1:1.1.4-1 [10.6 kB]\nGet:21 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libdrm-common all 2.4.91-2~16.04.1 [4764 B]\nGet:22 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libdrm2 amd64 2.4.91-2~16.04.1 [30.8 kB]\nGet:23 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libplymouth4 amd64 0.9.2-3ubuntu13.5 [85.2 kB]\nGet:24 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 plymouth amd64 0.9.2-3ubuntu13.5 [107 kB]\nGet:25 http://archive.ubuntu.com/ubuntu xenial/main amd64 libnih-dbus1 amd64 1.0.3-4.3ubuntu1 [14.1 kB]\nGet:26 http://archive.ubuntu.com/ubuntu xenial/main amd64 mountall amd64 2.54ubuntu1 [56.8 kB]\nGet:27 http://archive.ubuntu.com/ubuntu xenial/main amd64 python-wrapt amd64 1.8.0-5build2 [25.5 kB]\nGet:28 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 openssh-sftp-server amd64 1:7.2p2-4ubuntu2.8 [38.9 kB]\nGet:29 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 openssh-server amd64 1:7.2p2-4ubuntu2.8 [335 kB]\nGet:30 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 ssh all 1:7.2p2-4ubuntu2.8 [7074 B]\nGet:31 http://archive.ubuntu.com/ubuntu xenial/main amd64 libtxc-dxtn-s2tc0 amd64 0~git20131104-1.1 [51.8 kB]\nGet:32 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 tzdata all 2019c-0ubuntu0.16.04 [168 kB]\nGet:33 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libelf1 amd64 0.165-3ubuntu1.2 [43.5 kB]\nGet:34 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 plymouth-theme-ubuntu-text amd64 0.9.2-3ubuntu13.5 [9090 B]\nGet:35 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 psmisc amd64 22.21-2.1ubuntu0.1 [48.1 kB]\nGet:36 http://archive.ubuntu.com/ubuntu xenial/main amd64 telnet amd64 0.17-40 [63.5 kB]\nGet:37 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 wget amd64 1.17.1-1ubuntu1.5 [299 kB]\nGet:38 http://archive.ubuntu.com/ubuntu xenial/main amd64 libtcl8.6 amd64 8.6.5+dfsg-2 [875 kB]\nGet:39 http://archive.ubuntu.com/ubuntu xenial/main amd64 libtk8.6 amd64 8.6.5-1 [693 kB]\nGet:40 http://archive.ubuntu.com/ubuntu xenial/main amd64 tk8.6-blt2.5 amd64 2.5.3+dfsg-3 [574 kB]\nGet:41 http://archive.ubuntu.com/ubuntu xenial/main amd64 blt amd64 2.5.3+dfsg-3 [4852 B]\nGet:42 http://archive.ubuntu.com/ubuntu xenial/universe amd64 libcgroup1 amd64 0.41-7ubuntu1 [42.1 kB]\nGet:43 http://archive.ubuntu.com/ubuntu xenial/universe amd64 cgroup-lite all 1.11 [4192 B]\nGet:44 http://archive.ubuntu.com/ubuntu xenial/universe amd64 cgroup-tools amd64 0.41-7ubuntu1 [64.4 kB]\nGet:45 http://archive.ubuntu.com/ubuntu xenial/main amd64 ethtool amd64 1:4.5-1 [97.5 kB]\nGet:46 http://archive.ubuntu.com/ubuntu xenial/universe amd64 help2man amd64 1.47.3 [111 kB]\nGet:47 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 iperf amd64 2.0.5+dfsg1-2ubuntu0.1 [50.5 kB]\nGet:48 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libdrm-amdgpu1 amd64 2.4.91-2~16.04.1 [18.9 kB]\nGet:49 http://archive.ubuntu.com/ubuntu xenial/main amd64 libpciaccess0 amd64 0.13.4-1 [18.1 kB]\nGet:50 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libdrm-intel1 amd64 2.4.91-2~16.04.1 [59.9 kB]\nGet:51 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libdrm-nouveau2 amd64 2.4.91-2~16.04.1 [16.3 kB]\nGet:52 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libdrm-radeon1 amd64 2.4.91-2~16.04.1 [21.5 kB]\nGet:53 http://archive.ubuntu.com/ubuntu xenial/main amd64 libfontenc1 amd64 1:1.1.3-1 [13.9 kB]\nGet:54 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libglapi-mesa amd64 18.0.5-0ubuntu0~16.04.1 [23.4 kB]\nGet:55 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libllvm6.0 amd64 1:6.0-1ubuntu2~16.04.1 [14.3 MB]\nGet:56 http://archive.ubuntu.com/ubuntu xenial/main amd64 libsensors4 amd64 1:3.4.0-2 [28.4 kB]\nGet:57 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libgl1-mesa-dri amd64 18.0.5-0ubuntu0~16.04.1 [6080 kB]\nGet:58 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libx11-xcb1 amd64 2:1.6.3-1ubuntu2.1 [9044 B]\nGet:59 http://archive.ubuntu.com/ubuntu xenial/main amd64 libxcb-dri2-0 amd64 1.11.1-1ubuntu1 [6882 B]\nGet:60 http://archive.ubuntu.com/ubuntu xenial/main amd64 libxcb-dri3-0 amd64 1.11.1-1ubuntu1 [5218 B]\nGet:61 http://archive.ubuntu.com/ubuntu xenial/main amd64 libxcb-glx0 amd64 1.11.1-1ubuntu1 [20.9 kB]\nGet:62 http://archive.ubuntu.com/ubuntu xenial/main amd64 libxcb-present0 amd64 1.11.1-1ubuntu1 [5218 B]\nGet:63 http://archive.ubuntu.com/ubuntu xenial/main amd64 libxcb-sync1 amd64 1.11.1-1ubuntu1 [8324 B]\nGet:64 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libgl1-mesa-glx amd64 18.0.5-0ubuntu0~16.04.1 [132 kB]\nGet:65 http://archive.ubuntu.com/ubuntu xenial/main amd64 libutempter0 amd64 1.1.6-3 [7898 B]\nGet:66 http://archive.ubuntu.com/ubuntu xenial/main amd64 libxt6 amd64 1:1.1.5-0ubuntu1 [160 kB]\nGet:67 http://archive.ubuntu.com/ubuntu xenial/main amd64 libxmu6 amd64 2:1.1.2-2 [46.0 kB]\nGet:68 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libxpm4 amd64 1:3.5.11-1ubuntu0.16.04.1 [33.8 kB]\nGet:69 http://archive.ubuntu.com/ubuntu xenial/main amd64 libxaw7 amd64 2:1.0.13-1 [173 kB]\nGet:70 http://archive.ubuntu.com/ubuntu xenial/main amd64 libxcb-shape0 amd64 1.11.1-1ubuntu1 [5756 B]\nGet:71 http://archive.ubuntu.com/ubuntu xenial/main amd64 libxi6 amd64 2:1.7.6-1 [28.6 kB]\nGet:72 http://archive.ubuntu.com/ubuntu xenial/main amd64 libxrandr2 amd64 2:1.5.0-1 [17.6 kB]\nGet:73 http://archive.ubuntu.com/ubuntu xenial/main amd64 ncurses-term all 6.0+20160213-1ubuntu1 [249 kB]\nGet:74 http://archive.ubuntu.com/ubuntu xenial/main amd64 python3-pep8 all 1.7.0-2 [31.0 kB]\nGet:75 http://archive.ubuntu.com/ubuntu xenial/universe amd64 pep8 all 1.7.0-2 [4500 B]\nGet:76 http://archive.ubuntu.com/ubuntu xenial/universe amd64 python-pyflakes all 1.1.0-2 [36.9 kB]\nGet:77 http://archive.ubuntu.com/ubuntu xenial/universe amd64 pyflakes all 1.1.0-2 [3066 B]\nGet:78 http://archive.ubuntu.com/ubuntu xenial/universe amd64 python3-pyflakes all 1.1.0-2 [37.0 kB]\nGet:79 http://archive.ubuntu.com/ubuntu xenial/universe amd64 pyflakes3 all 1.1.0-2 [3108 B]\nGet:80 http://archive.ubuntu.com/ubuntu xenial/universe amd64 python-lazy-object-proxy amd64 1.2.1-1build1 [20.4 kB]\nGet:81 http://archive.ubuntu.com/ubuntu xenial/universe amd64 python-logilab-common all 1.1.0-1 [372 kB]\nGet:82 http://archive.ubuntu.com/ubuntu xenial/universe amd64 python-astroid all 1.4.4-1 [74.1 kB]\nGet:83 http://archive.ubuntu.com/ubuntu xenial/universe amd64 pylint all 1.5.2-1ubuntu1 [161 kB]\nGet:84 http://archive.ubuntu.com/ubuntu xenial/main amd64 python-egenix-mxtools amd64 3.2.9-1 [75.3 kB]\nGet:85 http://archive.ubuntu.com/ubuntu xenial/main amd64 python-egenix-mxdatetime amd64 3.2.9-1 [68.3 kB]\nGet:86 http://archive.ubuntu.com/ubuntu xenial/universe amd64 python-ptyprocess all 0.5-1 [12.9 kB]\nGet:87 http://archive.ubuntu.com/ubuntu xenial/universe amd64 python-pexpect all 4.0.1-1 [40.5 kB]\nGet:88 http://archive.ubuntu.com/ubuntu xenial/main amd64 python-setuptools all 20.7.0-1 [169 kB]\nGet:89 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 python-tk amd64 2.7.12-1~16.04 [26.3 kB]\nGet:90 http://archive.ubuntu.com/ubuntu xenial/main amd64 python3-chardet all 2.3.0-2 [96.2 kB]\nGet:91 http://archive.ubuntu.com/ubuntu xenial/main amd64 python3-six all 1.10.0-3 [11.0 kB]\nGet:92 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 python3-urllib3 all 1.13.1-2ubuntu0.16.04.3 [58.5 kB]\nGet:93 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 python3-requests all 2.9.1-3ubuntu0.1 [55.8 kB]\nGet:94 http://archive.ubuntu.com/ubuntu xenial/main amd64 tcpd amd64 7.6.q-25 [23.0 kB]\nGet:95 http://archive.ubuntu.com/ubuntu xenial/main amd64 x11-utils amd64 7.7+3 [189 kB]\nGet:96 http://archive.ubuntu.com/ubuntu xenial/main amd64 xbitmaps all 1.1.1-2 [28.1 kB]\nGet:97 http://archive.ubuntu.com/ubuntu xenial/main amd64 xterm amd64 322-1ubuntu1 [607 kB]\nGet:98 http://archive.ubuntu.com/ubuntu xenial/universe amd64 cgroup-bin all 0.41-7ubuntu1 [2482 B]\nGet:99 http://archive.ubuntu.com/ubuntu xenial/universe amd64 socat amd64 1.7.3.1-1 [321 kB]\nGet:100 http://archive.ubuntu.com/ubuntu xenial/main amd64 ssh-import-id all 5.5-0ubuntu1 [10.2 kB]\nFetched 29.5 MB in 2s (13.8 MB/s)\nSelecting previously unselected package libnih1:amd64.\r\n(Reading database ... \r(Reading database ... 5%\r(Reading database ... 10%\r(Reading database ... 15%\r(Reading database ... 20%\r(Reading database ... 25%\r(Reading database ... 30%\r(Reading database ... 35%\r(Reading database ... 40%\r(Reading database ... 45%\r(Reading database ... 50%\r(Reading database ... 55%\r(Reading database ... 60%\r(Reading database ... 65%\r(Reading database ... 70%\r(Reading database ... 75%\r(Reading database ... 80%\r(Reading database ... 85%\r(Reading database ... 90%\r(Reading database ... 95%\r(Reading database ... 100%\r(Reading database ... 24227 files and directories currently installed.)\r\nPreparing to unpack .../libnih1_1.0.3-4.3ubuntu1_amd64.deb ...\r\nUnpacking libnih1:amd64 (1.0.3-4.3ubuntu1) ...\r\nSelecting previously unselected package x11-common.\r\nPreparing to unpack .../x11-common_1%3a7.7+13ubuntu3.1_all.deb ...\r\ndpkg-query: no packages found matching nux-tools\r\nUnpacking x11-common (1:7.7+13ubuntu3.1) ...\r\nSelecting previously unselected package libice6:amd64.\r\nPreparing to unpack .../libice6_2%3a1.0.9-1_amd64.deb ...\r\nUnpacking libice6:amd64 (2:1.0.9-1) ...\r\nSelecting previously unselected package libsm6:amd64.\r\nPreparing to unpack .../libsm6_2%3a1.2.2-1_amd64.deb ...\r\nUnpacking libsm6:amd64 (2:1.2.2-1) ...\r\nSelecting previously unselected package libwrap0:amd64.\r\nPreparing to unpack .../libwrap0_7.6.q-25_amd64.deb ...\r\nUnpacking libwrap0:amd64 (7.6.q-25) ...\r\nSelecting previously unselected package libxcomposite1:amd64.\r\nPreparing to unpack .../libxcomposite1_1%3a0.4.4-1_amd64.deb ...\r\nUnpacking libxcomposite1:amd64 (1:0.4.4-1) ...\r\nSelecting previously unselected package libxdamage1:amd64.\r\nPreparing to unpack .../libxdamage1_1%3a1.1.4-2_amd64.deb ...\r\nUnpacking libxdamage1:amd64 (1:1.1.4-2) ...\r\nSelecting previously unselected package libxfixes3:amd64.\r\nPreparing to unpack .../libxfixes3_1%3a5.0.1-2_amd64.deb ...\r\nUnpacking libxfixes3:amd64 (1:5.0.1-2) ...\r\nSelecting previously unselected package fonts-dejavu-core.\r\nPreparing to unpack .../fonts-dejavu-core_2.35-1_all.deb ...\r\nUnpacking fonts-dejavu-core (2.35-1) ...\r\nSelecting previously unselected package fontconfig-config.\r\nPreparing to unpack .../fontconfig-config_2.11.94-0ubuntu1.1_all.deb ...\r\nUnpacking fontconfig-config (2.11.94-0ubuntu1.1) ...\r\nSelecting previously unselected package libfontconfig1:amd64.\r\nPreparing to unpack .../libfontconfig1_2.11.94-0ubuntu1.1_amd64.deb ...\r\nUnpacking libfontconfig1:amd64 (2.11.94-0ubuntu1.1) ...\r\nSelecting previously unselected package libxrender1:amd64.\r\nPreparing to unpack .../libxrender1_1%3a0.9.9-0ubuntu1_amd64.deb ...\r\nUnpacking libxrender1:amd64 (1:0.9.9-0ubuntu1) ...\r\nSelecting previously unselected package libxft2:amd64.\r\nPreparing to unpack .../libxft2_2.3.2-1_amd64.deb ...\r\nUnpacking libxft2:amd64 (2.3.2-1) ...\r\nSelecting previously unselected package libxinerama1:amd64.\r\nPreparing to unpack .../libxinerama1_2%3a1.1.3-1_amd64.deb ...\r\nUnpacking libxinerama1:amd64 (2:1.1.3-1) ...\r\nSelecting previously unselected package libxshmfence1:amd64.\r\nPreparing to unpack .../libxshmfence1_1.2-1_amd64.deb ...\r\nUnpacking libxshmfence1:amd64 (1.2-1) ...\r\nSelecting previously unselected package libxss1:amd64.\r\nPreparing to unpack .../libxss1_1%3a1.2.2-1_amd64.deb ...\r\nUnpacking libxss1:amd64 (1:1.2.2-1) ...\r\nSelecting previously unselected package libxtst6:amd64.\r\nPreparing to unpack .../libxtst6_2%3a1.2.2-1_amd64.deb ...\r\nUnpacking libxtst6:amd64 (2:1.2.2-1) ...\r\nSelecting previously unselected package libxv1:amd64.\r\nPreparing to unpack .../libxv1_2%3a1.0.10-1_amd64.deb ...\r\nUnpacking libxv1:amd64 (2:1.0.10-1) ...\r\nSelecting previously unselected package libxxf86dga1:amd64.\r\nPreparing to unpack .../libxxf86dga1_2%3a1.1.4-1_amd64.deb ...\r\nUnpacking libxxf86dga1:amd64 (2:1.1.4-1) ...\r\nSelecting previously unselected package libxxf86vm1:amd64.\r\nPreparing to unpack .../libxxf86vm1_1%3a1.1.4-1_amd64.deb ...\r\nUnpacking libxxf86vm1:amd64 (1:1.1.4-1) ...\r\nSelecting previously unselected package libdrm-common.\r\nPreparing to unpack .../libdrm-common_2.4.91-2~16.04.1_all.deb ...\r\nUnpacking libdrm-common (2.4.91-2~16.04.1) ...\r\nSelecting previously unselected package libdrm2:amd64.\r\nPreparing to unpack .../libdrm2_2.4.91-2~16.04.1_amd64.deb ...\r\nUnpacking libdrm2:amd64 (2.4.91-2~16.04.1) ...\r\nSelecting previously unselected package libplymouth4:amd64.\r\nPreparing to unpack .../libplymouth4_0.9.2-3ubuntu13.5_amd64.deb ...\r\nUnpacking libplymouth4:amd64 (0.9.2-3ubuntu13.5) ...\r\nSelecting previously unselected package plymouth.\r\nPreparing to unpack .../plymouth_0.9.2-3ubuntu13.5_amd64.deb ...\r\nUnpacking plymouth (0.9.2-3ubuntu13.5) ...\r\nSelecting previously unselected package libnih-dbus1:amd64.\r\nPreparing to unpack .../libnih-dbus1_1.0.3-4.3ubuntu1_amd64.deb ...\r\nUnpacking libnih-dbus1:amd64 (1.0.3-4.3ubuntu1) ...\r\nSelecting previously unselected package mountall.\r\nPreparing to unpack .../mountall_2.54ubuntu1_amd64.deb ...\r\nUnpacking mountall (2.54ubuntu1) ...\r\nSelecting previously unselected package python-wrapt.\r\nPreparing to unpack .../python-wrapt_1.8.0-5build2_amd64.deb ...\r\nUnpacking python-wrapt (1.8.0-5build2) ...\r\nSelecting previously unselected package openssh-sftp-server.\r\nPreparing to unpack .../openssh-sftp-server_1%3a7.2p2-4ubuntu2.8_amd64.deb ...\r\nUnpacking openssh-sftp-server (1:7.2p2-4ubuntu2.8) ...\r\nSelecting previously unselected package openssh-server.\r\nPreparing to unpack .../openssh-server_1%3a7.2p2-4ubuntu2.8_amd64.deb ...\r\nUnpacking openssh-server (1:7.2p2-4ubuntu2.8) ...\r\nSelecting previously unselected package ssh.\r\nPreparing to unpack .../ssh_1%3a7.2p2-4ubuntu2.8_all.deb ...\r\nUnpacking ssh (1:7.2p2-4ubuntu2.8) ...\r\nSelecting previously unselected package libtxc-dxtn-s2tc0:amd64.\r\nPreparing to unpack .../libtxc-dxtn-s2tc0_0~git20131104-1.1_amd64.deb ...\r\nUnpacking libtxc-dxtn-s2tc0:amd64 (0~git20131104-1.1) ...\r\nSelecting previously unselected package tzdata.\r\nPreparing to unpack .../tzdata_2019c-0ubuntu0.16.04_all.deb ...\r\nUnpacking tzdata (2019c-0ubuntu0.16.04) ...\r\nSelecting previously unselected package libelf1:amd64.\r\nPreparing to unpack .../libelf1_0.165-3ubuntu1.2_amd64.deb ...\r\nUnpacking libelf1:amd64 (0.165-3ubuntu1.2) ...\r\nSelecting previously unselected package plymouth-theme-ubuntu-text.\r\nPreparing to unpack .../plymouth-theme-ubuntu-text_0.9.2-3ubuntu13.5_amd64.deb ...\r\nUnpacking plymouth-theme-ubuntu-text (0.9.2-3ubuntu13.5) ...\r\nSelecting previously unselected package psmisc.\r\nPreparing to unpack .../psmisc_22.21-2.1ubuntu0.1_amd64.deb ...\r\nUnpacking psmisc (22.21-2.1ubuntu0.1) ...\r\nSelecting previously unselected package telnet.\r\nPreparing to unpack .../telnet_0.17-40_amd64.deb ...\r\nUnpacking telnet (0.17-40) ...\r\nSelecting previously unselected package wget.\r\nPreparing to unpack .../wget_1.17.1-1ubuntu1.5_amd64.deb ...\r\nUnpacking wget (1.17.1-1ubuntu1.5) ...\r\nSelecting previously unselected package libtcl8.6:amd64.\r\nPreparing to unpack .../libtcl8.6_8.6.5+dfsg-2_amd64.deb ...\r\nUnpacking libtcl8.6:amd64 (8.6.5+dfsg-2) ...\r\nSelecting previously unselected package libtk8.6:amd64.\r\nPreparing to unpack .../libtk8.6_8.6.5-1_amd64.deb ...\r\nUnpacking libtk8.6:amd64 (8.6.5-1) ...\r\nSelecting previously unselected package tk8.6-blt2.5.\r\nPreparing to unpack .../tk8.6-blt2.5_2.5.3+dfsg-3_amd64.deb ...\r\nUnpacking tk8.6-blt2.5 (2.5.3+dfsg-3) ...\r\nSelecting previously unselected package blt.\r\nPreparing to unpack .../blt_2.5.3+dfsg-3_amd64.deb ...\r\nUnpacking blt (2.5.3+dfsg-3) ...\r\nSelecting previously unselected package libcgroup1:amd64.\r\nPreparing to unpack .../libcgroup1_0.41-7ubuntu1_amd64.deb ...\r\nUnpacking libcgroup1:amd64 (0.41-7ubuntu1) ...\r\nSelecting previously unselected package cgroup-lite.\r\nPreparing to unpack .../cgroup-lite_1.11_all.deb ...\r\nUnpacking cgroup-lite (1.11) ...\r\nSelecting previously unselected package cgroup-tools.\r\nPreparing to unpack .../cgroup-tools_0.41-7ubuntu1_amd64.deb ...\r\nUnpacking cgroup-tools (0.41-7ubuntu1) ...\r\nSelecting previously unselected package ethtool.\r\nPreparing to unpack .../ethtool_1%3a4.5-1_amd64.deb ...\r\nUnpacking ethtool (1:4.5-1) ...\r\nSelecting previously unselected package help2man.\r\nPreparing to unpack .../help2man_1.47.3_amd64.deb ...\r\nUnpacking help2man (1.47.3) ...\r\nSelecting previously unselected package iperf.\r\nPreparing to unpack .../iperf_2.0.5+dfsg1-2ubuntu0.1_amd64.deb ...\r\nUnpacking iperf (2.0.5+dfsg1-2ubuntu0.1) ...\r\nSelecting previously unselected package libdrm-amdgpu1:amd64.\r\nPreparing to unpack .../libdrm-amdgpu1_2.4.91-2~16.04.1_amd64.deb ...\r\nUnpacking libdrm-amdgpu1:amd64 (2.4.91-2~16.04.1) ...\r\nSelecting previously unselected package libpciaccess0:amd64.\r\nPreparing to unpack .../libpciaccess0_0.13.4-1_amd64.deb ...\r\nUnpacking libpciaccess0:amd64 (0.13.4-1) ...\r\nSelecting previously unselected package libdrm-intel1:amd64.\r\nPreparing to unpack .../libdrm-intel1_2.4.91-2~16.04.1_amd64.deb ...\r\nUnpacking libdrm-intel1:amd64 (2.4.91-2~16.04.1) ...\r\nSelecting previously unselected package libdrm-nouveau2:amd64.\r\nPreparing to unpack .../libdrm-nouveau2_2.4.91-2~16.04.1_amd64.deb ...\r\nUnpacking libdrm-nouveau2:amd64 (2.4.91-2~16.04.1) ...\r\nSelecting previously unselected package libdrm-radeon1:amd64.\r\nPreparing to unpack .../libdrm-radeon1_2.4.91-2~16.04.1_amd64.deb ...\r\nUnpacking libdrm-radeon1:amd64 (2.4.91-2~16.04.1) ...\r\nSelecting previously unselected package libfontenc1:amd64.\r\nPreparing to unpack .../libfontenc1_1%3a1.1.3-1_amd64.deb ...\r\nUnpacking libfontenc1:amd64 (1:1.1.3-1) ...\r\nSelecting previously unselected package libglapi-mesa:amd64.\r\nPreparing to unpack .../libglapi-mesa_18.0.5-0ubuntu0~16.04.1_amd64.deb ...\r\nUnpacking libglapi-mesa:amd64 (18.0.5-0ubuntu0~16.04.1) ...\r\nSelecting previously unselected package libllvm6.0:amd64.\r\nPreparing to unpack .../libllvm6.0_1%3a6.0-1ubuntu2~16.04.1_amd64.deb ...\r\nUnpacking libllvm6.0:amd64 (1:6.0-1ubuntu2~16.04.1) ...\r\nSelecting previously unselected package libsensors4:amd64.\r\nPreparing to unpack .../libsensors4_1%3a3.4.0-2_amd64.deb ...\r\nUnpacking libsensors4:amd64 (1:3.4.0-2) ...\r\nSelecting previously unselected package libgl1-mesa-dri:amd64.\r\nPreparing to unpack .../libgl1-mesa-dri_18.0.5-0ubuntu0~16.04.1_amd64.deb ...\r\nUnpacking libgl1-mesa-dri:amd64 (18.0.5-0ubuntu0~16.04.1) ...\r\nSelecting previously unselected package libx11-xcb1:amd64.\r\nPreparing to unpack .../libx11-xcb1_2%3a1.6.3-1ubuntu2.1_amd64.deb ...\r\nUnpacking libx11-xcb1:amd64 (2:1.6.3-1ubuntu2.1) ...\r\nSelecting previously unselected package libxcb-dri2-0:amd64.\r\nPreparing to unpack .../libxcb-dri2-0_1.11.1-1ubuntu1_amd64.deb ...\r\nUnpacking libxcb-dri2-0:amd64 (1.11.1-1ubuntu1) ...\r\nSelecting previously unselected package libxcb-dri3-0:amd64.\r\nPreparing to unpack .../libxcb-dri3-0_1.11.1-1ubuntu1_amd64.deb ...\r\nUnpacking libxcb-dri3-0:amd64 (1.11.1-1ubuntu1) ...\r\nSelecting previously unselected package libxcb-glx0:amd64.\r\nPreparing to unpack .../libxcb-glx0_1.11.1-1ubuntu1_amd64.deb ...\r\nUnpacking libxcb-glx0:amd64 (1.11.1-1ubuntu1) ...\r\nSelecting previously unselected package libxcb-present0:amd64.\r\nPreparing to unpack .../libxcb-present0_1.11.1-1ubuntu1_amd64.deb ...\r\nUnpacking libxcb-present0:amd64 (1.11.1-1ubuntu1) ...\r\nSelecting previously unselected package libxcb-sync1:amd64.\r\nPreparing to unpack .../libxcb-sync1_1.11.1-1ubuntu1_amd64.deb ...\r\nUnpacking libxcb-sync1:amd64 (1.11.1-1ubuntu1) ...\r\nSelecting previously unselected package libgl1-mesa-glx:amd64.\r\nPreparing to unpack .../libgl1-mesa-glx_18.0.5-0ubuntu0~16.04.1_amd64.deb ...\r\nUnpacking libgl1-mesa-glx:amd64 (18.0.5-0ubuntu0~16.04.1) ...\r\nSelecting previously unselected package libutempter0:amd64.\r\nPreparing to unpack .../libutempter0_1.1.6-3_amd64.deb ...\r\nUnpacking libutempter0:amd64 (1.1.6-3) ...\r\nSelecting previously unselected package libxt6:amd64.\r\nPreparing to unpack .../libxt6_1%3a1.1.5-0ubuntu1_amd64.deb ...\r\nUnpacking libxt6:amd64 (1:1.1.5-0ubuntu1) ...\r\nSelecting previously unselected package libxmu6:amd64.\r\nPreparing to unpack .../libxmu6_2%3a1.1.2-2_amd64.deb ...\r\nUnpacking libxmu6:amd64 (2:1.1.2-2) ...\r\nSelecting previously unselected package libxpm4:amd64.\r\nPreparing to unpack .../libxpm4_1%3a3.5.11-1ubuntu0.16.04.1_amd64.deb ...\r\nUnpacking libxpm4:amd64 (1:3.5.11-1ubuntu0.16.04.1) ...\r\nSelecting previously unselected package libxaw7:amd64.\r\nPreparing to unpack .../libxaw7_2%3a1.0.13-1_amd64.deb ...\r\nUnpacking libxaw7:amd64 (2:1.0.13-1) ...\r\nSelecting previously unselected package libxcb-shape0:amd64.\r\nPreparing to unpack .../libxcb-shape0_1.11.1-1ubuntu1_amd64.deb ...\r\nUnpacking libxcb-shape0:amd64 (1.11.1-1ubuntu1) ...\r\nSelecting previously unselected package libxi6:amd64.\r\nPreparing to unpack .../libxi6_2%3a1.7.6-1_amd64.deb ...\r\nUnpacking libxi6:amd64 (2:1.7.6-1) ...\r\nSelecting previously unselected package libxrandr2:amd64.\r\nPreparing to unpack .../libxrandr2_2%3a1.5.0-1_amd64.deb ...\r\nUnpacking libxrandr2:amd64 (2:1.5.0-1) ...\r\nSelecting previously unselected package ncurses-term.\r\nPreparing to unpack .../ncurses-term_6.0+20160213-1ubuntu1_all.deb ...\r\nUnpacking ncurses-term (6.0+20160213-1ubuntu1) ...\r\nSelecting previously unselected package python3-pep8.\r\nPreparing to unpack .../python3-pep8_1.7.0-2_all.deb ...\r\nUnpacking python3-pep8 (1.7.0-2) ...\r\nSelecting previously unselected package pep8.\r\nPreparing to unpack .../archives/pep8_1.7.0-2_all.deb ...\r\nUnpacking pep8 (1.7.0-2) ...\r\nSelecting previously unselected package python-pyflakes.\r\nPreparing to unpack .../python-pyflakes_1.1.0-2_all.deb ...\r\nUnpacking python-pyflakes (1.1.0-2) ...\r\nSelecting previously unselected package pyflakes.\r\nPreparing to unpack .../pyflakes_1.1.0-2_all.deb ...\r\nUnpacking pyflakes (1.1.0-2) ...\r\nSelecting previously unselected package python3-pyflakes.\r\nPreparing to unpack .../python3-pyflakes_1.1.0-2_all.deb ...\r\nUnpacking python3-pyflakes (1.1.0-2) ...\r\nSelecting previously unselected package pyflakes3.\r\nPreparing to unpack .../pyflakes3_1.1.0-2_all.deb ...\r\nUnpacking pyflakes3 (1.1.0-2) ...\r\nSelecting previously unselected package python-lazy-object-proxy.\r\nPreparing to unpack .../python-lazy-object-proxy_1.2.1-1build1_amd64.deb ...\r\nUnpacking python-lazy-object-proxy (1.2.1-1build1) ...\r\nSelecting previously unselected package python-logilab-common.\r\nPreparing to unpack .../python-logilab-common_1.1.0-1_all.deb ...\r\nUnpacking python-logilab-common (1.1.0-1) ...\r\nSelecting previously unselected package python-astroid.\r\nPreparing to unpack .../python-astroid_1.4.4-1_all.deb ...\r\nUnpacking python-astroid (1.4.4-1) ...\r\nSelecting previously unselected package pylint.\r\nPreparing to unpack .../pylint_1.5.2-1ubuntu1_all.deb ...\r\nUnpacking pylint (1.5.2-1ubuntu1) ...\r\nSelecting previously unselected package python-egenix-mxtools.\r\nPreparing to unpack .../python-egenix-mxtools_3.2.9-1_amd64.deb ...\r\nUnpacking python-egenix-mxtools (3.2.9-1) ...\r\nSelecting previously unselected package python-egenix-mxdatetime.\r\nPreparing to unpack .../python-egenix-mxdatetime_3.2.9-1_amd64.deb ...\r\nUnpacking python-egenix-mxdatetime (3.2.9-1) ...\r\nSelecting previously unselected package python-ptyprocess.\r\nPreparing to unpack .../python-ptyprocess_0.5-1_all.deb ...\r\nUnpacking python-ptyprocess (0.5-1) ...\r\nSelecting previously unselected package python-pexpect.\r\nPreparing to unpack .../python-pexpect_4.0.1-1_all.deb ...\r\nUnpacking python-pexpect (4.0.1-1) ...\r\nSelecting previously unselected package python-setuptools.\r\nPreparing to unpack .../python-setuptools_20.7.0-1_all.deb ...\r\nUnpacking python-setuptools (20.7.0-1) ...\r\nSelecting previously unselected package python-tk.\r\nPreparing to unpack .../python-tk_2.7.12-1~16.04_amd64.deb ...\r\nUnpacking python-tk (2.7.12-1~16.04) ...\r\nSelecting previously unselected package python3-chardet.\r\nPreparing to unpack .../python3-chardet_2.3.0-2_all.deb ...\r\nUnpacking python3-chardet (2.3.0-2) ...\r\nSelecting previously unselected package python3-six.\r\nPreparing to unpack .../python3-six_1.10.0-3_all.deb ...\r\nUnpacking python3-six (1.10.0-3) ...\r\nSelecting previously unselected package python3-urllib3.\r\nPreparing to unpack .../python3-urllib3_1.13.1-2ubuntu0.16.04.3_all.deb ...\r\nUnpacking python3-urllib3 (1.13.1-2ubuntu0.16.04.3) ...\r\nSelecting previously unselected package python3-requests.\r\nPreparing to unpack .../python3-requests_2.9.1-3ubuntu0.1_all.deb ...\r\nUnpacking python3-requests (2.9.1-3ubuntu0.1) ...\r\nSelecting previously unselected package tcpd.\r\nPreparing to unpack .../tcpd_7.6.q-25_amd64.deb ...\r\nUnpacking tcpd (7.6.q-25) ...\r\nSelecting previously unselected package x11-utils.\r\nPreparing to unpack .../x11-utils_7.7+3_amd64.deb ...\r\nUnpacking x11-utils (7.7+3) ...\r\nSelecting previously unselected package xbitmaps.\r\nPreparing to unpack .../xbitmaps_1.1.1-2_all.deb ...\r\nUnpacking xbitmaps (1.1.1-2) ...\r\nSelecting previously unselected package xterm.\r\nPreparing to unpack .../xterm_322-1ubuntu1_amd64.deb ...\r\nUnpacking xterm (322-1ubuntu1) ...\r\nSelecting previously unselected package cgroup-bin.\r\nPreparing to unpack .../cgroup-bin_0.41-7ubuntu1_all.deb ...\r\nUnpacking cgroup-bin (0.41-7ubuntu1) ...\r\nSelecting previously unselected package socat.\r\nPreparing to unpack .../socat_1.7.3.1-1_amd64.deb ...\r\nUnpacking socat (1.7.3.1-1) ...\r\nSelecting previously unselected package ssh-import-id.\r\nPreparing to unpack .../ssh-import-id_5.5-0ubuntu1_all.deb ...\r\nUnpacking ssh-import-id (5.5-0ubuntu1) ...\r\nProcessing triggers for libc-bin (2.23-0ubuntu11) ...\r\nProcessing triggers for systemd (229-4ubuntu21.22) ...\r\nProcessing triggers for dbus (1.10.6-1ubuntu3.4) ...\r\nProcessing triggers for mime-support (3.59ubuntu1) ...\r\nSetting up libnih1:amd64 (1.0.3-4.3ubuntu1) ...\r\nSetting up x11-common (1:7.7+13ubuntu3.1) ...\r\nupdate-rc.d: warning: start and stop actions are no longer supported; falling back to defaults\r\ninvoke-rc.d: could not determine current runlevel\r\ninvoke-rc.d: policy-rc.d denied execution of start.\r\nSetting up libice6:amd64 (2:1.0.9-1) ...\r\nSetting up libsm6:amd64 (2:1.2.2-1) ...\r\nSetting up libwrap0:amd64 (7.6.q-25) ...\r\nSetting up libxcomposite1:amd64 (1:0.4.4-1) ...\r\nSetting up libxdamage1:amd64 (1:1.1.4-2) ...\r\nSetting up libxfixes3:amd64 (1:5.0.1-2) ...\r\nSetting up fonts-dejavu-core (2.35-1) ...\r\nSetting up fontconfig-config (2.11.94-0ubuntu1.1) ...\r\nSetting up libfontconfig1:amd64 (2.11.94-0ubuntu1.1) ...\r\nSetting up libxrender1:amd64 (1:0.9.9-0ubuntu1) ...\r\nSetting up libxft2:amd64 (2.3.2-1) ...\r\nSetting up libxinerama1:amd64 (2:1.1.3-1) ...\r\nSetting up libxshmfence1:amd64 (1.2-1) ...\r\nSetting up libxss1:amd64 (1:1.2.2-1) ...\r\nSetting up libxtst6:amd64 (2:1.2.2-1) ...\r\nSetting up libxv1:amd64 (2:1.0.10-1) ...\r\nSetting up libxxf86dga1:amd64 (2:1.1.4-1) ...\r\nSetting up libxxf86vm1:amd64 (1:1.1.4-1) ...\r\nSetting up libdrm-common (2.4.91-2~16.04.1) ...\r\nSetting up libdrm2:amd64 (2.4.91-2~16.04.1) ...\r\nSetting up libplymouth4:amd64 (0.9.2-3ubuntu13.5) ...\r\nSetting up plymouth (0.9.2-3ubuntu13.5) ...\r\nupdate-initramfs: deferring update (trigger activated)\r\nupdate-rc.d: warning: start and stop actions are no longer supported; falling back to defaults\r\nupdate-rc.d: warning: start and stop actions are no longer supported; falling back to defaults\r\nSetting up libnih-dbus1:amd64 (1.0.3-4.3ubuntu1) ...\r\nSetting up mountall (2.54ubuntu1) ...\r\nSetting up python-wrapt (1.8.0-5build2) ...\r\nSetting up openssh-sftp-server (1:7.2p2-4ubuntu2.8) ...\r\nSetting up openssh-server (1:7.2p2-4ubuntu2.8) ...\r\nCreating SSH2 RSA key; this may take some time ...\r\n2048 SHA256:iiT3CQD7KENS8pKoSmxD3yIviMxiepT3eMVc2Ac3+eU root@deaa8fefc00d (RSA)\r\nCreating SSH2 DSA key; this may take some time ...\r\n1024 SHA256:npZp6uUIFU1dKlDOLUgQ+2h4FBOgdalDqnkmAeAAd8s root@deaa8fefc00d (DSA)\r\nCreating SSH2 ECDSA key; this may take some time ...\r\n256 SHA256:9CIExPBK2UKwCpx92PZFc2XCtfmmA5Fs4sOHvcPddPQ root@deaa8fefc00d (ECDSA)\r\nCreating SSH2 ED25519 key; this may take some time ...\r\n256 SHA256:Cm4nnB26ft4MLQ3jk+R2r/r0RLpJQUWdvCo3QcQo3kc root@deaa8fefc00d (ED25519)\r\ninvoke-rc.d: could not determine current runlevel\r\ninvoke-rc.d: policy-rc.d denied execution of start.\r\nSetting up ssh (1:7.2p2-4ubuntu2.8) ...\r\nSetting up libtxc-dxtn-s2tc0:amd64 (0~git20131104-1.1) ...\r\nupdate-alternatives: using /usr/lib/x86_64-linux-gnu/libtxc_dxtn_s2tc.so.0 to provide /usr/lib/x86_64-linux-gnu/libtxc_dxtn.so (libtxc-dxtn-x86_64-linux-gnu) in auto mode\r\nSetting up tzdata (2019c-0ubuntu0.16.04) ...\r\n\r\nCurrent default time zone: 'Etc/UTC'\r\nLocal time is now:      Thu Nov 28 10:15:07 UTC 2019.\r\nUniversal Time is now:  Thu Nov 28 10:15:07 UTC 2019.\r\nRun 'dpkg-reconfigure tzdata' if you wish to change it.\r\n\r\nSetting up libelf1:amd64 (0.165-3ubuntu1.2) ...\r\nSetting up plymouth-theme-ubuntu-text (0.9.2-3ubuntu13.5) ...\r\nupdate-alternatives: using /usr/share/plymouth/themes/ubuntu-text/ubuntu-text.plymouth to provide /usr/share/plymouth/themes/text.plymouth (text.plymouth) in auto mode\r\nupdate-initramfs: deferring update (trigger activated)\r\nSetting up psmisc (22.21-2.1ubuntu0.1) ...\r\nSetting up telnet (0.17-40) ...\r\nupdate-alternatives: using /usr/bin/telnet.netkit to provide /usr/bin/telnet (telnet) in auto mode\r\nSetting up wget (1.17.1-1ubuntu1.5) ...\r\nSetting up libtcl8.6:amd64 (8.6.5+dfsg-2) ...\r\nSetting up libtk8.6:amd64 (8.6.5-1) ...\r\nSetting up tk8.6-blt2.5 (2.5.3+dfsg-3) ...\r\nSetting up blt (2.5.3+dfsg-3) ...\r\nSetting up libcgroup1:amd64 (0.41-7ubuntu1) ...\r\nSetting up cgroup-lite (1.11) ...\r\ninvoke-rc.d: unknown initscript, /etc/init.d/cgroup-lite not found.\r\ninvoke-rc.d: could not determine current runlevel\r\nSetting up cgroup-tools (0.41-7ubuntu1) ...\r\nSetting up ethtool (1:4.5-1) ...\r\nSetting up help2man (1.47.3) ...\r\nSetting up iperf (2.0.5+dfsg1-2ubuntu0.1) ...\r\nSetting up libdrm-amdgpu1:amd64 (2.4.91-2~16.04.1) ...\r\nSetting up libpciaccess0:amd64 (0.13.4-1) ...\r\nSetting up libdrm-intel1:amd64 (2.4.91-2~16.04.1) ...\r\nSetting up libdrm-nouveau2:amd64 (2.4.91-2~16.04.1) ...\r\nSetting up libdrm-radeon1:amd64 (2.4.91-2~16.04.1) ...\r\nSetting up libfontenc1:amd64 (1:1.1.3-1) ...\r\nSetting up libglapi-mesa:amd64 (18.0.5-0ubuntu0~16.04.1) ...\r\nSetting up libllvm6.0:amd64 (1:6.0-1ubuntu2~16.04.1) ...\r\nSetting up libsensors4:amd64 (1:3.4.0-2) ...\r\nSetting up libgl1-mesa-dri:amd64 (18.0.5-0ubuntu0~16.04.1) ...\r\nSetting up libx11-xcb1:amd64 (2:1.6.3-1ubuntu2.1) ...\r\nSetting up libxcb-dri2-0:amd64 (1.11.1-1ubuntu1) ...\r\nSetting up libxcb-dri3-0:amd64 (1.11.1-1ubuntu1) ...\r\nSetting up libxcb-glx0:amd64 (1.11.1-1ubuntu1) ...\r\nSetting up libxcb-present0:amd64 (1.11.1-1ubuntu1) ...\r\nSetting up libxcb-sync1:amd64 (1.11.1-1ubuntu1) ...\r\nSetting up libgl1-mesa-glx:amd64 (18.0.5-0ubuntu0~16.04.1) ...\r\nupdate-alternatives: using /usr/lib/x86_64-linux-gnu/mesa/ld.so.conf to provide /etc/ld.so.conf.d/x86_64-linux-gnu_GL.conf (x86_64-linux-gnu_gl_conf) in auto mode\r\nSetting up libutempter0:amd64 (1.1.6-3) ...\r\nSetting up libxt6:amd64 (1:1.1.5-0ubuntu1) ...\r\nSetting up libxmu6:amd64 (2:1.1.2-2) ...\r\nSetting up libxpm4:amd64 (1:3.5.11-1ubuntu0.16.04.1) ...\r\nSetting up libxaw7:amd64 (2:1.0.13-1) ...\r\nSetting up libxcb-shape0:amd64 (1.11.1-1ubuntu1) ...\r\nSetting up libxi6:amd64 (2:1.7.6-1) ...\r\nSetting up libxrandr2:amd64 (2:1.5.0-1) ...\r\nSetting up ncurses-term (6.0+20160213-1ubuntu1) ...\r\nSetting up python3-pep8 (1.7.0-2) ...\r\nSetting up pep8 (1.7.0-2) ...\r\nSetting up python-pyflakes (1.1.0-2) ...\r\nSetting up pyflakes (1.1.0-2) ...\r\nSetting up python3-pyflakes (1.1.0-2) ...\r\nSetting up pyflakes3 (1.1.0-2) ...\r\nSetting up python-lazy-object-proxy (1.2.1-1build1) ...\r\nSetting up python-logilab-common (1.1.0-1) ...\r\nSetting up python-astroid (1.4.4-1) ...\r\nSetting up pylint (1.5.2-1ubuntu1) ...\r\nSetting up python-egenix-mxtools (3.2.9-1) ...\r\nSetting up python-egenix-mxdatetime (3.2.9-1) ...\r\nSetting up python-ptyprocess (0.5-1) ...\r\nSetting up python-pexpect (4.0.1-1) ...\r\nSetting up python-setuptools (20.7.0-1) ...\r\nSetting up python-tk (2.7.12-1~16.04) ...\r\nSetting up python3-chardet (2.3.0-2) ...\r\nSetting up python3-six (1.10.0-3) ...\r\nSetting up python3-urllib3 (1.13.1-2ubuntu0.16.04.3) ...\r\nSetting up python3-requests (2.9.1-3ubuntu0.1) ...\r\nSetting up tcpd (7.6.q-25) ...\r\nSetting up x11-utils (7.7+3) ...\r\nSetting up xbitmaps (1.1.1-2) ...\r\nSetting up xterm (322-1ubuntu1) ...\r\nupdate-alternatives: using /usr/bin/xterm to provide /usr/bin/x-terminal-emulator (x-terminal-emulator) in auto mode\r\nupdate-alternatives: using /usr/bin/lxterm to provide /usr/bin/x-terminal-emulator (x-terminal-emulator) in auto mode\r\nSetting up cgroup-bin (0.41-7ubuntu1) ...\r\nSetting up socat (1.7.3.1-1) ...\r\nSetting up ssh-import-id (5.5-0ubuntu1) ...\r\nProcessing triggers for libc-bin (2.23-0ubuntu11) ...\r\nProcessing triggers for systemd (229-4ubuntu21.22) ...\r\nProcessing triggers for initramfs-tools (0.122ubuntu8.16) ...\r\nupdate-initramfs: Generating /boot/initrd.img-4.15.0-70-generic\r\nProcessing triggers for dbus (1.10.6-1ubuntu3.4) ...\r\nReading package lists...\nBuilding dependency tree...\nReading state information...\niproute2 is already the newest version (4.3.0-1ubuntu3.16.04.5).\niproute2 set to manually installed.\n0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.\nInstalling Mininet core\n//containernet /\ncc -Wall -Wextra  -DVERSION=\\\"`PYTHONPATH=. python -B bin/mn --version`\\\" mnexec.c -o mnexec\ninstall -D mnexec /usr/bin/mnexec\nPYTHONPATH=. help2man -N -n \"create a Mininet network.\" \\\n--no-discard-stderr \"python -B bin/mn\" -o mn.1\nhelp2man -N -n \"execution utility for Mininet.\" \\\n-h \"-h\" -v \"-v\" --no-discard-stderr ./mnexec -o mnexec.1\ninstall -D -t /usr/share/man/man1 mn.1 mnexec.1\npython setup.py install\nMakefile:58: recipe for target 'install' failed", "stdout_lines": ["Detected Linux distribution: Ubuntu 16.04 xenial amd64", "python is version 2", "Installing all packages except for -eix (doxypy, ivs, nox-classic)...", "Install Mininet-compatible kernel if necessary", "Hit:1 http://archive.ubuntu.com/ubuntu xenial InRelease", "Hit:2 http://security.ubuntu.com/ubuntu xenial-security InRelease", "Hit:3 http://archive.ubuntu.com/ubuntu xenial-updates InRelease", "Hit:4 http://archive.ubuntu.com/ubuntu xenial-backports InRelease", "Hit:5 https://download.docker.com/linux/ubuntu xenial InRelease", "Reading package lists...", "Reading package lists...", "Building dependency tree...", "Reading state information...", "The following additional packages will be installed:", "  busybox-initramfs cpio gettext-base grub-common grub-gfxpayload-lists", "  grub-pc grub-pc-bin grub2-common initramfs-tools initramfs-tools-bin", "  initramfs-tools-core klibc-utils kmod libasprintf0v5 libfreetype6 libfuse2", "  libklibc libpng12-0 linux-base linux-modules-4.15.0-70-generic os-prober", "  udev", "Suggested packages:", "  libarchive1 multiboot-doc grub-emu xorriso desktop-base console-setup", "  bash-completion fuse fdutils linux-hwe-tools linux-headers-4.15.0-70-generic", "The following NEW packages will be installed:", "  busybox-initramfs cpio gettext-base grub-common grub-gfxpayload-lists", "  grub-pc grub-pc-bin grub2-common initramfs-tools initramfs-tools-bin", "  initramfs-tools-core klibc-utils kmod libasprintf0v5 libfreetype6 libfuse2", "  libklibc libpng12-0 linux-base linux-image-4.15.0-70-generic", "  linux-modules-4.15.0-70-generic os-prober udev", "0 upgraded, 23 newly installed, 0 to remove and 0 not upgraded.", "Need to get 26.4 MB of archives.", "After this operation, 100 MB of additional disk space will be used.", "Get:1 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 udev amd64 229-4ubuntu21.22 [994 kB]", "Get:2 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libpng12-0 amd64 1.2.54-1ubuntu1.1 [116 kB]", "Get:3 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libfreetype6 amd64 2.6.1-0.1ubuntu2.4 [315 kB]", "Get:4 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libfuse2 amd64 2.9.4-1ubuntu3.1 [89.9 kB]", "Get:5 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libasprintf0v5 amd64 0.19.7-2ubuntu3.1 [6568 B]", "Get:6 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 gettext-base amd64 0.19.7-2ubuntu3.1 [48.0 kB]", "Get:7 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 grub-common amd64 2.02~beta2-36ubuntu3.23 [1704 kB]", "Get:8 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 grub2-common amd64 2.02~beta2-36ubuntu3.23 [511 kB]", "Get:9 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 grub-pc-bin amd64 2.02~beta2-36ubuntu3.23 [891 kB]", "Get:10 http://archive.ubuntu.com/ubuntu xenial/main amd64 grub-gfxpayload-lists amd64 0.7 [3658 B]", "Get:11 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 grub-pc amd64 2.02~beta2-36ubuntu3.23 [197 kB]", "Get:12 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 busybox-initramfs amd64 1:1.22.0-15ubuntu1.4 [179 kB]", "Get:13 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 cpio amd64 2.11+dfsg-5ubuntu1.1 [75.2 kB]", "Get:14 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 initramfs-tools-bin amd64 0.122ubuntu8.16 [9354 B]", "Get:15 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libklibc amd64 2.0.4-8ubuntu1.16.04.4 [41.0 kB]", "Get:16 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 klibc-utils amd64 2.0.4-8ubuntu1.16.04.4 [108 kB]", "Get:17 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 kmod amd64 22-1ubuntu5.2 [88.6 kB]", "Get:18 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 initramfs-tools-core all 0.122ubuntu8.16 [45.0 kB]", "Get:19 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 linux-base all 4.5ubuntu1~16.04.1 [18.1 kB]", "Get:20 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 initramfs-tools all 0.122ubuntu8.16 [8928 B]", "Get:21 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 linux-modules-4.15.0-70-generic amd64 4.15.0-70.79~16.04.1 [13.0 MB]", "Get:22 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 linux-image-4.15.0-70-generic amd64 4.15.0-70.79~16.04.1 [7973 kB]", "Get:23 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 os-prober amd64 1.70ubuntu3.3 [19.1 kB]", "Fetched 26.4 MB in 1s (21.1 MB/s)", "Selecting previously unselected package udev.", "(Reading database ... ", "(Reading database ... 5%", "(Reading database ... 10%", "(Reading database ... 15%", "(Reading database ... 20%", "(Reading database ... 25%", "(Reading database ... 30%", "(Reading database ... 35%", "(Reading database ... 40%", "(Reading database ... 45%", "(Reading database ... 50%", "(Reading database ... 55%", "(Reading database ... 60%", "(Reading database ... 65%", "(Reading database ... 70%", "(Reading database ... 75%", "(Reading database ... 80%", "(Reading database ... 85%", "(Reading database ... 90%", "(Reading database ... 95%", "(Reading database ... 100%", "(Reading database ... 22131 files and directories currently installed.)", "Preparing to unpack .../udev_229-4ubuntu21.22_amd64.deb ...", "Unpacking udev (229-4ubuntu21.22) ...", "Selecting previously unselected package libpng12-0:amd64.", "Preparing to unpack .../libpng12-0_1.2.54-1ubuntu1.1_amd64.deb ...", "Unpacking libpng12-0:amd64 (1.2.54-1ubuntu1.1) ...", "Selecting previously unselected package libfreetype6:amd64.", "Preparing to unpack .../libfreetype6_2.6.1-0.1ubuntu2.4_amd64.deb ...", "Unpacking libfreetype6:amd64 (2.6.1-0.1ubuntu2.4) ...", "Selecting previously unselected package libfuse2:amd64.", "Preparing to unpack .../libfuse2_2.9.4-1ubuntu3.1_amd64.deb ...", "Unpacking libfuse2:amd64 (2.9.4-1ubuntu3.1) ...", "Selecting previously unselected package libasprintf0v5:amd64.", "Preparing to unpack .../libasprintf0v5_0.19.7-2ubuntu3.1_amd64.deb ...", "Unpacking libasprintf0v5:amd64 (0.19.7-2ubuntu3.1) ...", "Selecting previously unselected package gettext-base.", "Preparing to unpack .../gettext-base_0.19.7-2ubuntu3.1_amd64.deb ...", "Unpacking gettext-base (0.19.7-2ubuntu3.1) ...", "Selecting previously unselected package grub-common.", "Preparing to unpack .../grub-common_2.02~beta2-36ubuntu3.23_amd64.deb ...", "Unpacking grub-common (2.02~beta2-36ubuntu3.23) ...", "Selecting previously unselected package grub2-common.", "Preparing to unpack .../grub2-common_2.02~beta2-36ubuntu3.23_amd64.deb ...", "Unpacking grub2-common (2.02~beta2-36ubuntu3.23) ...", "Selecting previously unselected package grub-pc-bin.", "Preparing to unpack .../grub-pc-bin_2.02~beta2-36ubuntu3.23_amd64.deb ...", "Unpacking grub-pc-bin (2.02~beta2-36ubuntu3.23) ...", "Selecting previously unselected package grub-gfxpayload-lists.", "Preparing to unpack .../grub-gfxpayload-lists_0.7_amd64.deb ...", "Unpacking grub-gfxpayload-lists (0.7) ...", "Selecting previously unselected package grub-pc.", "Preparing to unpack .../grub-pc_2.02~beta2-36ubuntu3.23_amd64.deb ...", "Unpacking grub-pc (2.02~beta2-36ubuntu3.23) ...", "Selecting previously unselected package busybox-initramfs.", "Preparing to unpack .../busybox-initramfs_1%3a1.22.0-15ubuntu1.4_amd64.deb ...", "Unpacking busybox-initramfs (1:1.22.0-15ubuntu1.4) ...", "Selecting previously unselected package cpio.", "Preparing to unpack .../cpio_2.11+dfsg-5ubuntu1.1_amd64.deb ...", "Unpacking cpio (2.11+dfsg-5ubuntu1.1) ...", "Selecting previously unselected package initramfs-tools-bin.", "Preparing to unpack .../initramfs-tools-bin_0.122ubuntu8.16_amd64.deb ...", "Unpacking initramfs-tools-bin (0.122ubuntu8.16) ...", "Selecting previously unselected package libklibc.", "Preparing to unpack .../libklibc_2.0.4-8ubuntu1.16.04.4_amd64.deb ...", "Unpacking libklibc (2.0.4-8ubuntu1.16.04.4) ...", "Selecting previously unselected package klibc-utils.", "Preparing to unpack .../klibc-utils_2.0.4-8ubuntu1.16.04.4_amd64.deb ...", "Adding 'diversion of /usr/share/initramfs-tools/hooks/klibc to /usr/share/initramfs-tools/hooks/klibc^i-t by klibc-utils'", "Unpacking klibc-utils (2.0.4-8ubuntu1.16.04.4) ...", "Selecting previously unselected package kmod.", "Preparing to unpack .../kmod_22-1ubuntu5.2_amd64.deb ...", "Unpacking kmod (22-1ubuntu5.2) ...", "Selecting previously unselected package initramfs-tools-core.", "Preparing to unpack .../initramfs-tools-core_0.122ubuntu8.16_all.deb ...", "Unpacking initramfs-tools-core (0.122ubuntu8.16) ...", "Selecting previously unselected package linux-base.", "Preparing to unpack .../linux-base_4.5ubuntu1~16.04.1_all.deb ...", "Unpacking linux-base (4.5ubuntu1~16.04.1) ...", "Selecting previously unselected package initramfs-tools.", "Preparing to unpack .../initramfs-tools_0.122ubuntu8.16_all.deb ...", "Unpacking initramfs-tools (0.122ubuntu8.16) ...", "Selecting previously unselected package linux-modules-4.15.0-70-generic.", "Preparing to unpack .../linux-modules-4.15.0-70-generic_4.15.0-70.79~16.04.1_amd64.deb ...", "Unpacking linux-modules-4.15.0-70-generic (4.15.0-70.79~16.04.1) ...", "Selecting previously unselected package linux-image-4.15.0-70-generic.", "Preparing to unpack .../linux-image-4.15.0-70-generic_4.15.0-70.79~16.04.1_amd64.deb ...", "Unpacking linux-image-4.15.0-70-generic (4.15.0-70.79~16.04.1) ...", "Selecting previously unselected package os-prober.", "Preparing to unpack .../os-prober_1.70ubuntu3.3_amd64.deb ...", "Unpacking os-prober (1.70ubuntu3.3) ...", "Processing triggers for systemd (229-4ubuntu21.22) ...", "Processing triggers for libc-bin (2.23-0ubuntu11) ...", "Setting up udev (229-4ubuntu21.22) ...", "Adding group `input' (GID 110) ...", "Done.", "invoke-rc.d: could not determine current runlevel", "invoke-rc.d: policy-rc.d denied execution of start.", "Setting up libpng12-0:amd64 (1.2.54-1ubuntu1.1) ...", "Setting up libfreetype6:amd64 (2.6.1-0.1ubuntu2.4) ...", "Setting up libfuse2:amd64 (2.9.4-1ubuntu3.1) ...", "Setting up libasprintf0v5:amd64 (0.19.7-2ubuntu3.1) ...", "Setting up gettext-base (0.19.7-2ubuntu3.1) ...", "Setting up grub-common (2.02~beta2-36ubuntu3.23) ...", "update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults", "invoke-rc.d: could not determine current runlevel", "invoke-rc.d: policy-rc.d denied execution of start.", "Setting up grub2-common (2.02~beta2-36ubuntu3.23) ...", "Setting up grub-pc-bin (2.02~beta2-36ubuntu3.23) ...", "Setting up busybox-initramfs (1:1.22.0-15ubuntu1.4) ...", "Setting up cpio (2.11+dfsg-5ubuntu1.1) ...", "update-alternatives: using /bin/mt-gnu to provide /bin/mt (mt) in auto mode", "Setting up initramfs-tools-bin (0.122ubuntu8.16) ...", "Setting up libklibc (2.0.4-8ubuntu1.16.04.4) ...", "Setting up klibc-utils (2.0.4-8ubuntu1.16.04.4) ...", "Setting up kmod (22-1ubuntu5.2) ...", "Setting up initramfs-tools-core (0.122ubuntu8.16) ...", "Setting up linux-base (4.5ubuntu1~16.04.1) ...", "Setting up initramfs-tools (0.122ubuntu8.16) ...", "update-initramfs: deferring update (trigger activated)", "Setting up linux-modules-4.15.0-70-generic (4.15.0-70.79~16.04.1) ...", "Setting up linux-image-4.15.0-70-generic (4.15.0-70.79~16.04.1) ...", "I: /vmlinuz.old is now a symlink to boot/vmlinuz-4.15.0-70-generic", "I: /initrd.img.old is now a symlink to boot/initrd.img-4.15.0-70-generic", "I: /vmlinuz is now a symlink to boot/vmlinuz-4.15.0-70-generic", "I: /initrd.img is now a symlink to boot/initrd.img-4.15.0-70-generic", "Setting up os-prober (1.70ubuntu3.3) ...", "Setting up grub-pc (2.02~beta2-36ubuntu3.23) ...", "", "Creating config file /etc/default/grub with new version", "Setting up grub-gfxpayload-lists (0.7) ...", "Processing triggers for systemd (229-4ubuntu21.22) ...", "Processing triggers for libc-bin (2.23-0ubuntu11) ...", "Processing triggers for initramfs-tools (0.122ubuntu8.16) ...", "Processing triggers for linux-image-4.15.0-70-generic (4.15.0-70.79~16.04.1) ...", "/etc/kernel/postinst.d/initramfs-tools:", "update-initramfs: Generating /boot/initrd.img-4.15.0-70-generic", "Installing Mininet dependencies", "Reading package lists...", "Building dependency tree...", "Reading state information...", "gcc is already the newest version (4:5.3.1-1ubuntu1).", "gcc set to manually installed.", "make is already the newest version (4.1-6).", "make set to manually installed.", "The following additional packages will be installed:", "  blt cgroup-lite cgroup-tools fontconfig-config fonts-dejavu-core libcgroup1", "  libdrm-amdgpu1 libdrm-common libdrm-intel1 libdrm-nouveau2 libdrm-radeon1", "  libdrm2 libelf1 libfontconfig1 libfontenc1 libgl1-mesa-dri libgl1-mesa-glx", "  libglapi-mesa libice6 libllvm6.0 libnih-dbus1 libnih1 libpciaccess0", "  libplymouth4 libsensors4 libsm6 libtcl8.6 libtk8.6 libtxc-dxtn-s2tc0", "  libutempter0 libwrap0 libx11-xcb1 libxaw7 libxcb-dri2-0 libxcb-dri3-0", "  libxcb-glx0 libxcb-present0 libxcb-shape0 libxcb-sync1 libxcomposite1", "  libxdamage1 libxfixes3 libxft2 libxi6 libxinerama1 libxmu6 libxpm4", "  libxrandr2 libxrender1 libxshmfence1 libxss1 libxt6 libxtst6 libxv1", "  libxxf86dga1 libxxf86vm1 mountall ncurses-term openssh-server", "  openssh-sftp-server plymouth plymouth-theme-ubuntu-text pyflakes3", "  python-astroid python-egenix-mxdatetime python-egenix-mxtools", "  python-lazy-object-proxy python-logilab-common python-ptyprocess", "  python-pyflakes python-wrapt python3-chardet python3-pep8 python3-pyflakes", "  python3-requests python3-six python3-urllib3 ssh-import-id tcpd tk8.6-blt2.5", "  tzdata wget x11-common x11-utils xbitmaps", "Suggested packages:", "  blt-demo pciutils lm-sensors tcl8.6 tk8.6 ssh-askpass rssh molly-guard ufw", "  monkeysphere desktop-base plymouth-themes pylint-doc", "  python-egenix-mxdatetime-dbg python-egenix-mxdatetime-doc", "  python-egenix-mxtools-dbg python-egenix-mxtools-doc pyro python-unittest2", "  python-pexpect-doc python-setuptools-doc tix python-tk-dbg", "  python3-ndg-httpsclient python3-openssl python3-pyasn1 mesa-utils", "  xfonts-cyrillic", "The following NEW packages will be installed:", "  blt cgroup-bin cgroup-lite cgroup-tools ethtool fontconfig-config", "  fonts-dejavu-core help2man iperf libcgroup1 libdrm-amdgpu1 libdrm-common", "  libdrm-intel1 libdrm-nouveau2 libdrm-radeon1 libdrm2 libelf1 libfontconfig1", "  libfontenc1 libgl1-mesa-dri libgl1-mesa-glx libglapi-mesa libice6 libllvm6.0", "  libnih-dbus1 libnih1 libpciaccess0 libplymouth4 libsensors4 libsm6 libtcl8.6", "  libtk8.6 libtxc-dxtn-s2tc0 libutempter0 libwrap0 libx11-xcb1 libxaw7", "  libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0 libxcb-present0 libxcb-shape0", "  libxcb-sync1 libxcomposite1 libxdamage1 libxfixes3 libxft2 libxi6", "  libxinerama1 libxmu6 libxpm4 libxrandr2 libxrender1 libxshmfence1 libxss1", "  libxt6 libxtst6 libxv1 libxxf86dga1 libxxf86vm1 mountall ncurses-term", "  openssh-server openssh-sftp-server pep8 plymouth plymouth-theme-ubuntu-text", "  psmisc pyflakes pyflakes3 pylint python-astroid python-egenix-mxdatetime", "  python-egenix-mxtools python-lazy-object-proxy python-logilab-common", "  python-pexpect python-ptyprocess python-pyflakes python-setuptools python-tk", "  python-wrapt python3-chardet python3-pep8 python3-pyflakes python3-requests", "  python3-six python3-urllib3 socat ssh ssh-import-id tcpd telnet tk8.6-blt2.5", "  tzdata wget x11-common x11-utils xbitmaps xterm", "0 upgraded, 100 newly installed, 0 to remove and 0 not upgraded.", "Need to get 29.5 MB of archives.", "After this operation, 247 MB of additional disk space will be used.", "Get:1 http://archive.ubuntu.com/ubuntu xenial/main amd64 libnih1 amd64 1.0.3-4.3ubuntu1 [49.0 kB]", "Get:2 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 x11-common all 1:7.7+13ubuntu3.1 [22.9 kB]", "Get:3 http://archive.ubuntu.com/ubuntu xenial/main amd64 libice6 amd64 2:1.0.9-1 [39.2 kB]", "Get:4 http://archive.ubuntu.com/ubuntu xenial/main amd64 libsm6 amd64 2:1.2.2-1 [15.8 kB]", "Get:5 http://archive.ubuntu.com/ubuntu xenial/main amd64 libwrap0 amd64 7.6.q-25 [46.2 kB]", "Get:6 http://archive.ubuntu.com/ubuntu xenial/main amd64 libxcomposite1 amd64 1:0.4.4-1 [7714 B]", "Get:7 http://archive.ubuntu.com/ubuntu xenial/main amd64 libxdamage1 amd64 1:1.1.4-2 [6946 B]", "Get:8 http://archive.ubuntu.com/ubuntu xenial/main amd64 libxfixes3 amd64 1:5.0.1-2 [11.1 kB]", "Get:9 http://archive.ubuntu.com/ubuntu xenial/main amd64 fonts-dejavu-core all 2.35-1 [1039 kB]", "Get:10 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 fontconfig-config all 2.11.94-0ubuntu1.1 [49.9 kB]", "Get:11 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libfontconfig1 amd64 2.11.94-0ubuntu1.1 [131 kB]", "Get:12 http://archive.ubuntu.com/ubuntu xenial/main amd64 libxrender1 amd64 1:0.9.9-0ubuntu1 [18.5 kB]", "Get:13 http://archive.ubuntu.com/ubuntu xenial/main amd64 libxft2 amd64 2.3.2-1 [36.1 kB]", "Get:14 http://archive.ubuntu.com/ubuntu xenial/main amd64 libxinerama1 amd64 2:1.1.3-1 [7908 B]", "Get:15 http://archive.ubuntu.com/ubuntu xenial/main amd64 libxshmfence1 amd64 1.2-1 [5042 B]", "Get:16 http://archive.ubuntu.com/ubuntu xenial/main amd64 libxss1 amd64 1:1.2.2-1 [8582 B]", "Get:17 http://archive.ubuntu.com/ubuntu xenial/main amd64 libxtst6 amd64 2:1.2.2-1 [14.1 kB]", "Get:18 http://archive.ubuntu.com/ubuntu xenial/main amd64 libxv1 amd64 2:1.0.10-1 [10.3 kB]", "Get:19 http://archive.ubuntu.com/ubuntu xenial/main amd64 libxxf86dga1 amd64 2:1.1.4-1 [13.7 kB]", "Get:20 http://archive.ubuntu.com/ubuntu xenial/main amd64 libxxf86vm1 amd64 1:1.1.4-1 [10.6 kB]", "Get:21 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libdrm-common all 2.4.91-2~16.04.1 [4764 B]", "Get:22 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libdrm2 amd64 2.4.91-2~16.04.1 [30.8 kB]", "Get:23 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libplymouth4 amd64 0.9.2-3ubuntu13.5 [85.2 kB]", "Get:24 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 plymouth amd64 0.9.2-3ubuntu13.5 [107 kB]", "Get:25 http://archive.ubuntu.com/ubuntu xenial/main amd64 libnih-dbus1 amd64 1.0.3-4.3ubuntu1 [14.1 kB]", "Get:26 http://archive.ubuntu.com/ubuntu xenial/main amd64 mountall amd64 2.54ubuntu1 [56.8 kB]", "Get:27 http://archive.ubuntu.com/ubuntu xenial/main amd64 python-wrapt amd64 1.8.0-5build2 [25.5 kB]", "Get:28 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 openssh-sftp-server amd64 1:7.2p2-4ubuntu2.8 [38.9 kB]", "Get:29 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 openssh-server amd64 1:7.2p2-4ubuntu2.8 [335 kB]", "Get:30 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 ssh all 1:7.2p2-4ubuntu2.8 [7074 B]", "Get:31 http://archive.ubuntu.com/ubuntu xenial/main amd64 libtxc-dxtn-s2tc0 amd64 0~git20131104-1.1 [51.8 kB]", "Get:32 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 tzdata all 2019c-0ubuntu0.16.04 [168 kB]", "Get:33 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libelf1 amd64 0.165-3ubuntu1.2 [43.5 kB]", "Get:34 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 plymouth-theme-ubuntu-text amd64 0.9.2-3ubuntu13.5 [9090 B]", "Get:35 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 psmisc amd64 22.21-2.1ubuntu0.1 [48.1 kB]", "Get:36 http://archive.ubuntu.com/ubuntu xenial/main amd64 telnet amd64 0.17-40 [63.5 kB]", "Get:37 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 wget amd64 1.17.1-1ubuntu1.5 [299 kB]", "Get:38 http://archive.ubuntu.com/ubuntu xenial/main amd64 libtcl8.6 amd64 8.6.5+dfsg-2 [875 kB]", "Get:39 http://archive.ubuntu.com/ubuntu xenial/main amd64 libtk8.6 amd64 8.6.5-1 [693 kB]", "Get:40 http://archive.ubuntu.com/ubuntu xenial/main amd64 tk8.6-blt2.5 amd64 2.5.3+dfsg-3 [574 kB]", "Get:41 http://archive.ubuntu.com/ubuntu xenial/main amd64 blt amd64 2.5.3+dfsg-3 [4852 B]", "Get:42 http://archive.ubuntu.com/ubuntu xenial/universe amd64 libcgroup1 amd64 0.41-7ubuntu1 [42.1 kB]", "Get:43 http://archive.ubuntu.com/ubuntu xenial/universe amd64 cgroup-lite all 1.11 [4192 B]", "Get:44 http://archive.ubuntu.com/ubuntu xenial/universe amd64 cgroup-tools amd64 0.41-7ubuntu1 [64.4 kB]", "Get:45 http://archive.ubuntu.com/ubuntu xenial/main amd64 ethtool amd64 1:4.5-1 [97.5 kB]", "Get:46 http://archive.ubuntu.com/ubuntu xenial/universe amd64 help2man amd64 1.47.3 [111 kB]", "Get:47 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 iperf amd64 2.0.5+dfsg1-2ubuntu0.1 [50.5 kB]", "Get:48 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libdrm-amdgpu1 amd64 2.4.91-2~16.04.1 [18.9 kB]", "Get:49 http://archive.ubuntu.com/ubuntu xenial/main amd64 libpciaccess0 amd64 0.13.4-1 [18.1 kB]", "Get:50 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libdrm-intel1 amd64 2.4.91-2~16.04.1 [59.9 kB]", "Get:51 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libdrm-nouveau2 amd64 2.4.91-2~16.04.1 [16.3 kB]", "Get:52 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libdrm-radeon1 amd64 2.4.91-2~16.04.1 [21.5 kB]", "Get:53 http://archive.ubuntu.com/ubuntu xenial/main amd64 libfontenc1 amd64 1:1.1.3-1 [13.9 kB]", "Get:54 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libglapi-mesa amd64 18.0.5-0ubuntu0~16.04.1 [23.4 kB]", "Get:55 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libllvm6.0 amd64 1:6.0-1ubuntu2~16.04.1 [14.3 MB]", "Get:56 http://archive.ubuntu.com/ubuntu xenial/main amd64 libsensors4 amd64 1:3.4.0-2 [28.4 kB]", "Get:57 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libgl1-mesa-dri amd64 18.0.5-0ubuntu0~16.04.1 [6080 kB]", "Get:58 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libx11-xcb1 amd64 2:1.6.3-1ubuntu2.1 [9044 B]", "Get:59 http://archive.ubuntu.com/ubuntu xenial/main amd64 libxcb-dri2-0 amd64 1.11.1-1ubuntu1 [6882 B]", "Get:60 http://archive.ubuntu.com/ubuntu xenial/main amd64 libxcb-dri3-0 amd64 1.11.1-1ubuntu1 [5218 B]", "Get:61 http://archive.ubuntu.com/ubuntu xenial/main amd64 libxcb-glx0 amd64 1.11.1-1ubuntu1 [20.9 kB]", "Get:62 http://archive.ubuntu.com/ubuntu xenial/main amd64 libxcb-present0 amd64 1.11.1-1ubuntu1 [5218 B]", "Get:63 http://archive.ubuntu.com/ubuntu xenial/main amd64 libxcb-sync1 amd64 1.11.1-1ubuntu1 [8324 B]", "Get:64 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libgl1-mesa-glx amd64 18.0.5-0ubuntu0~16.04.1 [132 kB]", "Get:65 http://archive.ubuntu.com/ubuntu xenial/main amd64 libutempter0 amd64 1.1.6-3 [7898 B]", "Get:66 http://archive.ubuntu.com/ubuntu xenial/main amd64 libxt6 amd64 1:1.1.5-0ubuntu1 [160 kB]", "Get:67 http://archive.ubuntu.com/ubuntu xenial/main amd64 libxmu6 amd64 2:1.1.2-2 [46.0 kB]", "Get:68 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libxpm4 amd64 1:3.5.11-1ubuntu0.16.04.1 [33.8 kB]", "Get:69 http://archive.ubuntu.com/ubuntu xenial/main amd64 libxaw7 amd64 2:1.0.13-1 [173 kB]", "Get:70 http://archive.ubuntu.com/ubuntu xenial/main amd64 libxcb-shape0 amd64 1.11.1-1ubuntu1 [5756 B]", "Get:71 http://archive.ubuntu.com/ubuntu xenial/main amd64 libxi6 amd64 2:1.7.6-1 [28.6 kB]", "Get:72 http://archive.ubuntu.com/ubuntu xenial/main amd64 libxrandr2 amd64 2:1.5.0-1 [17.6 kB]", "Get:73 http://archive.ubuntu.com/ubuntu xenial/main amd64 ncurses-term all 6.0+20160213-1ubuntu1 [249 kB]", "Get:74 http://archive.ubuntu.com/ubuntu xenial/main amd64 python3-pep8 all 1.7.0-2 [31.0 kB]", "Get:75 http://archive.ubuntu.com/ubuntu xenial/universe amd64 pep8 all 1.7.0-2 [4500 B]", "Get:76 http://archive.ubuntu.com/ubuntu xenial/universe amd64 python-pyflakes all 1.1.0-2 [36.9 kB]", "Get:77 http://archive.ubuntu.com/ubuntu xenial/universe amd64 pyflakes all 1.1.0-2 [3066 B]", "Get:78 http://archive.ubuntu.com/ubuntu xenial/universe amd64 python3-pyflakes all 1.1.0-2 [37.0 kB]", "Get:79 http://archive.ubuntu.com/ubuntu xenial/universe amd64 pyflakes3 all 1.1.0-2 [3108 B]", "Get:80 http://archive.ubuntu.com/ubuntu xenial/universe amd64 python-lazy-object-proxy amd64 1.2.1-1build1 [20.4 kB]", "Get:81 http://archive.ubuntu.com/ubuntu xenial/universe amd64 python-logilab-common all 1.1.0-1 [372 kB]", "Get:82 http://archive.ubuntu.com/ubuntu xenial/universe amd64 python-astroid all 1.4.4-1 [74.1 kB]", "Get:83 http://archive.ubuntu.com/ubuntu xenial/universe amd64 pylint all 1.5.2-1ubuntu1 [161 kB]", "Get:84 http://archive.ubuntu.com/ubuntu xenial/main amd64 python-egenix-mxtools amd64 3.2.9-1 [75.3 kB]", "Get:85 http://archive.ubuntu.com/ubuntu xenial/main amd64 python-egenix-mxdatetime amd64 3.2.9-1 [68.3 kB]", "Get:86 http://archive.ubuntu.com/ubuntu xenial/universe amd64 python-ptyprocess all 0.5-1 [12.9 kB]", "Get:87 http://archive.ubuntu.com/ubuntu xenial/universe amd64 python-pexpect all 4.0.1-1 [40.5 kB]", "Get:88 http://archive.ubuntu.com/ubuntu xenial/main amd64 python-setuptools all 20.7.0-1 [169 kB]", "Get:89 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 python-tk amd64 2.7.12-1~16.04 [26.3 kB]", "Get:90 http://archive.ubuntu.com/ubuntu xenial/main amd64 python3-chardet all 2.3.0-2 [96.2 kB]", "Get:91 http://archive.ubuntu.com/ubuntu xenial/main amd64 python3-six all 1.10.0-3 [11.0 kB]", "Get:92 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 python3-urllib3 all 1.13.1-2ubuntu0.16.04.3 [58.5 kB]", "Get:93 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 python3-requests all 2.9.1-3ubuntu0.1 [55.8 kB]", "Get:94 http://archive.ubuntu.com/ubuntu xenial/main amd64 tcpd amd64 7.6.q-25 [23.0 kB]", "Get:95 http://archive.ubuntu.com/ubuntu xenial/main amd64 x11-utils amd64 7.7+3 [189 kB]", "Get:96 http://archive.ubuntu.com/ubuntu xenial/main amd64 xbitmaps all 1.1.1-2 [28.1 kB]", "Get:97 http://archive.ubuntu.com/ubuntu xenial/main amd64 xterm amd64 322-1ubuntu1 [607 kB]", "Get:98 http://archive.ubuntu.com/ubuntu xenial/universe amd64 cgroup-bin all 0.41-7ubuntu1 [2482 B]", "Get:99 http://archive.ubuntu.com/ubuntu xenial/universe amd64 socat amd64 1.7.3.1-1 [321 kB]", "Get:100 http://archive.ubuntu.com/ubuntu xenial/main amd64 ssh-import-id all 5.5-0ubuntu1 [10.2 kB]", "Fetched 29.5 MB in 2s (13.8 MB/s)", "Selecting previously unselected package libnih1:amd64.", "(Reading database ... ", "(Reading database ... 5%", "(Reading database ... 10%", "(Reading database ... 15%", "(Reading database ... 20%", "(Reading database ... 25%", "(Reading database ... 30%", "(Reading database ... 35%", "(Reading database ... 40%", "(Reading database ... 45%", "(Reading database ... 50%", "(Reading database ... 55%", "(Reading database ... 60%", "(Reading database ... 65%", "(Reading database ... 70%", "(Reading database ... 75%", "(Reading database ... 80%", "(Reading database ... 85%", "(Reading database ... 90%", "(Reading database ... 95%", "(Reading database ... 100%", "(Reading database ... 24227 files and directories currently installed.)", "Preparing to unpack .../libnih1_1.0.3-4.3ubuntu1_amd64.deb ...", "Unpacking libnih1:amd64 (1.0.3-4.3ubuntu1) ...", "Selecting previously unselected package x11-common.", "Preparing to unpack .../x11-common_1%3a7.7+13ubuntu3.1_all.deb ...", "dpkg-query: no packages found matching nux-tools", "Unpacking x11-common (1:7.7+13ubuntu3.1) ...", "Selecting previously unselected package libice6:amd64.", "Preparing to unpack .../libice6_2%3a1.0.9-1_amd64.deb ...", "Unpacking libice6:amd64 (2:1.0.9-1) ...", "Selecting previously unselected package libsm6:amd64.", "Preparing to unpack .../libsm6_2%3a1.2.2-1_amd64.deb ...", "Unpacking libsm6:amd64 (2:1.2.2-1) ...", "Selecting previously unselected package libwrap0:amd64.", "Preparing to unpack .../libwrap0_7.6.q-25_amd64.deb ...", "Unpacking libwrap0:amd64 (7.6.q-25) ...", "Selecting previously unselected package libxcomposite1:amd64.", "Preparing to unpack .../libxcomposite1_1%3a0.4.4-1_amd64.deb ...", "Unpacking libxcomposite1:amd64 (1:0.4.4-1) ...", "Selecting previously unselected package libxdamage1:amd64.", "Preparing to unpack .../libxdamage1_1%3a1.1.4-2_amd64.deb ...", "Unpacking libxdamage1:amd64 (1:1.1.4-2) ...", "Selecting previously unselected package libxfixes3:amd64.", "Preparing to unpack .../libxfixes3_1%3a5.0.1-2_amd64.deb ...", "Unpacking libxfixes3:amd64 (1:5.0.1-2) ...", "Selecting previously unselected package fonts-dejavu-core.", "Preparing to unpack .../fonts-dejavu-core_2.35-1_all.deb ...", "Unpacking fonts-dejavu-core (2.35-1) ...", "Selecting previously unselected package fontconfig-config.", "Preparing to unpack .../fontconfig-config_2.11.94-0ubuntu1.1_all.deb ...", "Unpacking fontconfig-config (2.11.94-0ubuntu1.1) ...", "Selecting previously unselected package libfontconfig1:amd64.", "Preparing to unpack .../libfontconfig1_2.11.94-0ubuntu1.1_amd64.deb ...", "Unpacking libfontconfig1:amd64 (2.11.94-0ubuntu1.1) ...", "Selecting previously unselected package libxrender1:amd64.", "Preparing to unpack .../libxrender1_1%3a0.9.9-0ubuntu1_amd64.deb ...", "Unpacking libxrender1:amd64 (1:0.9.9-0ubuntu1) ...", "Selecting previously unselected package libxft2:amd64.", "Preparing to unpack .../libxft2_2.3.2-1_amd64.deb ...", "Unpacking libxft2:amd64 (2.3.2-1) ...", "Selecting previously unselected package libxinerama1:amd64.", "Preparing to unpack .../libxinerama1_2%3a1.1.3-1_amd64.deb ...", "Unpacking libxinerama1:amd64 (2:1.1.3-1) ...", "Selecting previously unselected package libxshmfence1:amd64.", "Preparing to unpack .../libxshmfence1_1.2-1_amd64.deb ...", "Unpacking libxshmfence1:amd64 (1.2-1) ...", "Selecting previously unselected package libxss1:amd64.", "Preparing to unpack .../libxss1_1%3a1.2.2-1_amd64.deb ...", "Unpacking libxss1:amd64 (1:1.2.2-1) ...", "Selecting previously unselected package libxtst6:amd64.", "Preparing to unpack .../libxtst6_2%3a1.2.2-1_amd64.deb ...", "Unpacking libxtst6:amd64 (2:1.2.2-1) ...", "Selecting previously unselected package libxv1:amd64.", "Preparing to unpack .../libxv1_2%3a1.0.10-1_amd64.deb ...", "Unpacking libxv1:amd64 (2:1.0.10-1) ...", "Selecting previously unselected package libxxf86dga1:amd64.", "Preparing to unpack .../libxxf86dga1_2%3a1.1.4-1_amd64.deb ...", "Unpacking libxxf86dga1:amd64 (2:1.1.4-1) ...", "Selecting previously unselected package libxxf86vm1:amd64.", "Preparing to unpack .../libxxf86vm1_1%3a1.1.4-1_amd64.deb ...", "Unpacking libxxf86vm1:amd64 (1:1.1.4-1) ...", "Selecting previously unselected package libdrm-common.", "Preparing to unpack .../libdrm-common_2.4.91-2~16.04.1_all.deb ...", "Unpacking libdrm-common (2.4.91-2~16.04.1) ...", "Selecting previously unselected package libdrm2:amd64.", "Preparing to unpack .../libdrm2_2.4.91-2~16.04.1_amd64.deb ...", "Unpacking libdrm2:amd64 (2.4.91-2~16.04.1) ...", "Selecting previously unselected package libplymouth4:amd64.", "Preparing to unpack .../libplymouth4_0.9.2-3ubuntu13.5_amd64.deb ...", "Unpacking libplymouth4:amd64 (0.9.2-3ubuntu13.5) ...", "Selecting previously unselected package plymouth.", "Preparing to unpack .../plymouth_0.9.2-3ubuntu13.5_amd64.deb ...", "Unpacking plymouth (0.9.2-3ubuntu13.5) ...", "Selecting previously unselected package libnih-dbus1:amd64.", "Preparing to unpack .../libnih-dbus1_1.0.3-4.3ubuntu1_amd64.deb ...", "Unpacking libnih-dbus1:amd64 (1.0.3-4.3ubuntu1) ...", "Selecting previously unselected package mountall.", "Preparing to unpack .../mountall_2.54ubuntu1_amd64.deb ...", "Unpacking mountall (2.54ubuntu1) ...", "Selecting previously unselected package python-wrapt.", "Preparing to unpack .../python-wrapt_1.8.0-5build2_amd64.deb ...", "Unpacking python-wrapt (1.8.0-5build2) ...", "Selecting previously unselected package openssh-sftp-server.", "Preparing to unpack .../openssh-sftp-server_1%3a7.2p2-4ubuntu2.8_amd64.deb ...", "Unpacking openssh-sftp-server (1:7.2p2-4ubuntu2.8) ...", "Selecting previously unselected package openssh-server.", "Preparing to unpack .../openssh-server_1%3a7.2p2-4ubuntu2.8_amd64.deb ...", "Unpacking openssh-server (1:7.2p2-4ubuntu2.8) ...", "Selecting previously unselected package ssh.", "Preparing to unpack .../ssh_1%3a7.2p2-4ubuntu2.8_all.deb ...", "Unpacking ssh (1:7.2p2-4ubuntu2.8) ...", "Selecting previously unselected package libtxc-dxtn-s2tc0:amd64.", "Preparing to unpack .../libtxc-dxtn-s2tc0_0~git20131104-1.1_amd64.deb ...", "Unpacking libtxc-dxtn-s2tc0:amd64 (0~git20131104-1.1) ...", "Selecting previously unselected package tzdata.", "Preparing to unpack .../tzdata_2019c-0ubuntu0.16.04_all.deb ...", "Unpacking tzdata (2019c-0ubuntu0.16.04) ...", "Selecting previously unselected package libelf1:amd64.", "Preparing to unpack .../libelf1_0.165-3ubuntu1.2_amd64.deb ...", "Unpacking libelf1:amd64 (0.165-3ubuntu1.2) ...", "Selecting previously unselected package plymouth-theme-ubuntu-text.", "Preparing to unpack .../plymouth-theme-ubuntu-text_0.9.2-3ubuntu13.5_amd64.deb ...", "Unpacking plymouth-theme-ubuntu-text (0.9.2-3ubuntu13.5) ...", "Selecting previously unselected package psmisc.", "Preparing to unpack .../psmisc_22.21-2.1ubuntu0.1_amd64.deb ...", "Unpacking psmisc (22.21-2.1ubuntu0.1) ...", "Selecting previously unselected package telnet.", "Preparing to unpack .../telnet_0.17-40_amd64.deb ...", "Unpacking telnet (0.17-40) ...", "Selecting previously unselected package wget.", "Preparing to unpack .../wget_1.17.1-1ubuntu1.5_amd64.deb ...", "Unpacking wget (1.17.1-1ubuntu1.5) ...", "Selecting previously unselected package libtcl8.6:amd64.", "Preparing to unpack .../libtcl8.6_8.6.5+dfsg-2_amd64.deb ...", "Unpacking libtcl8.6:amd64 (8.6.5+dfsg-2) ...", "Selecting previously unselected package libtk8.6:amd64.", "Preparing to unpack .../libtk8.6_8.6.5-1_amd64.deb ...", "Unpacking libtk8.6:amd64 (8.6.5-1) ...", "Selecting previously unselected package tk8.6-blt2.5.", "Preparing to unpack .../tk8.6-blt2.5_2.5.3+dfsg-3_amd64.deb ...", "Unpacking tk8.6-blt2.5 (2.5.3+dfsg-3) ...", "Selecting previously unselected package blt.", "Preparing to unpack .../blt_2.5.3+dfsg-3_amd64.deb ...", "Unpacking blt (2.5.3+dfsg-3) ...", "Selecting previously unselected package libcgroup1:amd64.", "Preparing to unpack .../libcgroup1_0.41-7ubuntu1_amd64.deb ...", "Unpacking libcgroup1:amd64 (0.41-7ubuntu1) ...", "Selecting previously unselected package cgroup-lite.", "Preparing to unpack .../cgroup-lite_1.11_all.deb ...", "Unpacking cgroup-lite (1.11) ...", "Selecting previously unselected package cgroup-tools.", "Preparing to unpack .../cgroup-tools_0.41-7ubuntu1_amd64.deb ...", "Unpacking cgroup-tools (0.41-7ubuntu1) ...", "Selecting previously unselected package ethtool.", "Preparing to unpack .../ethtool_1%3a4.5-1_amd64.deb ...", "Unpacking ethtool (1:4.5-1) ...", "Selecting previously unselected package help2man.", "Preparing to unpack .../help2man_1.47.3_amd64.deb ...", "Unpacking help2man (1.47.3) ...", "Selecting previously unselected package iperf.", "Preparing to unpack .../iperf_2.0.5+dfsg1-2ubuntu0.1_amd64.deb ...", "Unpacking iperf (2.0.5+dfsg1-2ubuntu0.1) ...", "Selecting previously unselected package libdrm-amdgpu1:amd64.", "Preparing to unpack .../libdrm-amdgpu1_2.4.91-2~16.04.1_amd64.deb ...", "Unpacking libdrm-amdgpu1:amd64 (2.4.91-2~16.04.1) ...", "Selecting previously unselected package libpciaccess0:amd64.", "Preparing to unpack .../libpciaccess0_0.13.4-1_amd64.deb ...", "Unpacking libpciaccess0:amd64 (0.13.4-1) ...", "Selecting previously unselected package libdrm-intel1:amd64.", "Preparing to unpack .../libdrm-intel1_2.4.91-2~16.04.1_amd64.deb ...", "Unpacking libdrm-intel1:amd64 (2.4.91-2~16.04.1) ...", "Selecting previously unselected package libdrm-nouveau2:amd64.", "Preparing to unpack .../libdrm-nouveau2_2.4.91-2~16.04.1_amd64.deb ...", "Unpacking libdrm-nouveau2:amd64 (2.4.91-2~16.04.1) ...", "Selecting previously unselected package libdrm-radeon1:amd64.", "Preparing to unpack .../libdrm-radeon1_2.4.91-2~16.04.1_amd64.deb ...", "Unpacking libdrm-radeon1:amd64 (2.4.91-2~16.04.1) ...", "Selecting previously unselected package libfontenc1:amd64.", "Preparing to unpack .../libfontenc1_1%3a1.1.3-1_amd64.deb ...", "Unpacking libfontenc1:amd64 (1:1.1.3-1) ...", "Selecting previously unselected package libglapi-mesa:amd64.", "Preparing to unpack .../libglapi-mesa_18.0.5-0ubuntu0~16.04.1_amd64.deb ...", "Unpacking libglapi-mesa:amd64 (18.0.5-0ubuntu0~16.04.1) ...", "Selecting previously unselected package libllvm6.0:amd64.", "Preparing to unpack .../libllvm6.0_1%3a6.0-1ubuntu2~16.04.1_amd64.deb ...", "Unpacking libllvm6.0:amd64 (1:6.0-1ubuntu2~16.04.1) ...", "Selecting previously unselected package libsensors4:amd64.", "Preparing to unpack .../libsensors4_1%3a3.4.0-2_amd64.deb ...", "Unpacking libsensors4:amd64 (1:3.4.0-2) ...", "Selecting previously unselected package libgl1-mesa-dri:amd64.", "Preparing to unpack .../libgl1-mesa-dri_18.0.5-0ubuntu0~16.04.1_amd64.deb ...", "Unpacking libgl1-mesa-dri:amd64 (18.0.5-0ubuntu0~16.04.1) ...", "Selecting previously unselected package libx11-xcb1:amd64.", "Preparing to unpack .../libx11-xcb1_2%3a1.6.3-1ubuntu2.1_amd64.deb ...", "Unpacking libx11-xcb1:amd64 (2:1.6.3-1ubuntu2.1) ...", "Selecting previously unselected package libxcb-dri2-0:amd64.", "Preparing to unpack .../libxcb-dri2-0_1.11.1-1ubuntu1_amd64.deb ...", "Unpacking libxcb-dri2-0:amd64 (1.11.1-1ubuntu1) ...", "Selecting previously unselected package libxcb-dri3-0:amd64.", "Preparing to unpack .../libxcb-dri3-0_1.11.1-1ubuntu1_amd64.deb ...", "Unpacking libxcb-dri3-0:amd64 (1.11.1-1ubuntu1) ...", "Selecting previously unselected package libxcb-glx0:amd64.", "Preparing to unpack .../libxcb-glx0_1.11.1-1ubuntu1_amd64.deb ...", "Unpacking libxcb-glx0:amd64 (1.11.1-1ubuntu1) ...", "Selecting previously unselected package libxcb-present0:amd64.", "Preparing to unpack .../libxcb-present0_1.11.1-1ubuntu1_amd64.deb ...", "Unpacking libxcb-present0:amd64 (1.11.1-1ubuntu1) ...", "Selecting previously unselected package libxcb-sync1:amd64.", "Preparing to unpack .../libxcb-sync1_1.11.1-1ubuntu1_amd64.deb ...", "Unpacking libxcb-sync1:amd64 (1.11.1-1ubuntu1) ...", "Selecting previously unselected package libgl1-mesa-glx:amd64.", "Preparing to unpack .../libgl1-mesa-glx_18.0.5-0ubuntu0~16.04.1_amd64.deb ...", "Unpacking libgl1-mesa-glx:amd64 (18.0.5-0ubuntu0~16.04.1) ...", "Selecting previously unselected package libutempter0:amd64.", "Preparing to unpack .../libutempter0_1.1.6-3_amd64.deb ...", "Unpacking libutempter0:amd64 (1.1.6-3) ...", "Selecting previously unselected package libxt6:amd64.", "Preparing to unpack .../libxt6_1%3a1.1.5-0ubuntu1_amd64.deb ...", "Unpacking libxt6:amd64 (1:1.1.5-0ubuntu1) ...", "Selecting previously unselected package libxmu6:amd64.", "Preparing to unpack .../libxmu6_2%3a1.1.2-2_amd64.deb ...", "Unpacking libxmu6:amd64 (2:1.1.2-2) ...", "Selecting previously unselected package libxpm4:amd64.", "Preparing to unpack .../libxpm4_1%3a3.5.11-1ubuntu0.16.04.1_amd64.deb ...", "Unpacking libxpm4:amd64 (1:3.5.11-1ubuntu0.16.04.1) ...", "Selecting previously unselected package libxaw7:amd64.", "Preparing to unpack .../libxaw7_2%3a1.0.13-1_amd64.deb ...", "Unpacking libxaw7:amd64 (2:1.0.13-1) ...", "Selecting previously unselected package libxcb-shape0:amd64.", "Preparing to unpack .../libxcb-shape0_1.11.1-1ubuntu1_amd64.deb ...", "Unpacking libxcb-shape0:amd64 (1.11.1-1ubuntu1) ...", "Selecting previously unselected package libxi6:amd64.", "Preparing to unpack .../libxi6_2%3a1.7.6-1_amd64.deb ...", "Unpacking libxi6:amd64 (2:1.7.6-1) ...", "Selecting previously unselected package libxrandr2:amd64.", "Preparing to unpack .../libxrandr2_2%3a1.5.0-1_amd64.deb ...", "Unpacking libxrandr2:amd64 (2:1.5.0-1) ...", "Selecting previously unselected package ncurses-term.", "Preparing to unpack .../ncurses-term_6.0+20160213-1ubuntu1_all.deb ...", "Unpacking ncurses-term (6.0+20160213-1ubuntu1) ...", "Selecting previously unselected package python3-pep8.", "Preparing to unpack .../python3-pep8_1.7.0-2_all.deb ...", "Unpacking python3-pep8 (1.7.0-2) ...", "Selecting previously unselected package pep8.", "Preparing to unpack .../archives/pep8_1.7.0-2_all.deb ...", "Unpacking pep8 (1.7.0-2) ...", "Selecting previously unselected package python-pyflakes.", "Preparing to unpack .../python-pyflakes_1.1.0-2_all.deb ...", "Unpacking python-pyflakes (1.1.0-2) ...", "Selecting previously unselected package pyflakes.", "Preparing to unpack .../pyflakes_1.1.0-2_all.deb ...", "Unpacking pyflakes (1.1.0-2) ...", "Selecting previously unselected package python3-pyflakes.", "Preparing to unpack .../python3-pyflakes_1.1.0-2_all.deb ...", "Unpacking python3-pyflakes (1.1.0-2) ...", "Selecting previously unselected package pyflakes3.", "Preparing to unpack .../pyflakes3_1.1.0-2_all.deb ...", "Unpacking pyflakes3 (1.1.0-2) ...", "Selecting previously unselected package python-lazy-object-proxy.", "Preparing to unpack .../python-lazy-object-proxy_1.2.1-1build1_amd64.deb ...", "Unpacking python-lazy-object-proxy (1.2.1-1build1) ...", "Selecting previously unselected package python-logilab-common.", "Preparing to unpack .../python-logilab-common_1.1.0-1_all.deb ...", "Unpacking python-logilab-common (1.1.0-1) ...", "Selecting previously unselected package python-astroid.", "Preparing to unpack .../python-astroid_1.4.4-1_all.deb ...", "Unpacking python-astroid (1.4.4-1) ...", "Selecting previously unselected package pylint.", "Preparing to unpack .../pylint_1.5.2-1ubuntu1_all.deb ...", "Unpacking pylint (1.5.2-1ubuntu1) ...", "Selecting previously unselected package python-egenix-mxtools.", "Preparing to unpack .../python-egenix-mxtools_3.2.9-1_amd64.deb ...", "Unpacking python-egenix-mxtools (3.2.9-1) ...", "Selecting previously unselected package python-egenix-mxdatetime.", "Preparing to unpack .../python-egenix-mxdatetime_3.2.9-1_amd64.deb ...", "Unpacking python-egenix-mxdatetime (3.2.9-1) ...", "Selecting previously unselected package python-ptyprocess.", "Preparing to unpack .../python-ptyprocess_0.5-1_all.deb ...", "Unpacking python-ptyprocess (0.5-1) ...", "Selecting previously unselected package python-pexpect.", "Preparing to unpack .../python-pexpect_4.0.1-1_all.deb ...", "Unpacking python-pexpect (4.0.1-1) ...", "Selecting previously unselected package python-setuptools.", "Preparing to unpack .../python-setuptools_20.7.0-1_all.deb ...", "Unpacking python-setuptools (20.7.0-1) ...", "Selecting previously unselected package python-tk.", "Preparing to unpack .../python-tk_2.7.12-1~16.04_amd64.deb ...", "Unpacking python-tk (2.7.12-1~16.04) ...", "Selecting previously unselected package python3-chardet.", "Preparing to unpack .../python3-chardet_2.3.0-2_all.deb ...", "Unpacking python3-chardet (2.3.0-2) ...", "Selecting previously unselected package python3-six.", "Preparing to unpack .../python3-six_1.10.0-3_all.deb ...", "Unpacking python3-six (1.10.0-3) ...", "Selecting previously unselected package python3-urllib3.", "Preparing to unpack .../python3-urllib3_1.13.1-2ubuntu0.16.04.3_all.deb ...", "Unpacking python3-urllib3 (1.13.1-2ubuntu0.16.04.3) ...", "Selecting previously unselected package python3-requests.", "Preparing to unpack .../python3-requests_2.9.1-3ubuntu0.1_all.deb ...", "Unpacking python3-requests (2.9.1-3ubuntu0.1) ...", "Selecting previously unselected package tcpd.", "Preparing to unpack .../tcpd_7.6.q-25_amd64.deb ...", "Unpacking tcpd (7.6.q-25) ...", "Selecting previously unselected package x11-utils.", "Preparing to unpack .../x11-utils_7.7+3_amd64.deb ...", "Unpacking x11-utils (7.7+3) ...", "Selecting previously unselected package xbitmaps.", "Preparing to unpack .../xbitmaps_1.1.1-2_all.deb ...", "Unpacking xbitmaps (1.1.1-2) ...", "Selecting previously unselected package xterm.", "Preparing to unpack .../xterm_322-1ubuntu1_amd64.deb ...", "Unpacking xterm (322-1ubuntu1) ...", "Selecting previously unselected package cgroup-bin.", "Preparing to unpack .../cgroup-bin_0.41-7ubuntu1_all.deb ...", "Unpacking cgroup-bin (0.41-7ubuntu1) ...", "Selecting previously unselected package socat.", "Preparing to unpack .../socat_1.7.3.1-1_amd64.deb ...", "Unpacking socat (1.7.3.1-1) ...", "Selecting previously unselected package ssh-import-id.", "Preparing to unpack .../ssh-import-id_5.5-0ubuntu1_all.deb ...", "Unpacking ssh-import-id (5.5-0ubuntu1) ...", "Processing triggers for libc-bin (2.23-0ubuntu11) ...", "Processing triggers for systemd (229-4ubuntu21.22) ...", "Processing triggers for dbus (1.10.6-1ubuntu3.4) ...", "Processing triggers for mime-support (3.59ubuntu1) ...", "Setting up libnih1:amd64 (1.0.3-4.3ubuntu1) ...", "Setting up x11-common (1:7.7+13ubuntu3.1) ...", "update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults", "invoke-rc.d: could not determine current runlevel", "invoke-rc.d: policy-rc.d denied execution of start.", "Setting up libice6:amd64 (2:1.0.9-1) ...", "Setting up libsm6:amd64 (2:1.2.2-1) ...", "Setting up libwrap0:amd64 (7.6.q-25) ...", "Setting up libxcomposite1:amd64 (1:0.4.4-1) ...", "Setting up libxdamage1:amd64 (1:1.1.4-2) ...", "Setting up libxfixes3:amd64 (1:5.0.1-2) ...", "Setting up fonts-dejavu-core (2.35-1) ...", "Setting up fontconfig-config (2.11.94-0ubuntu1.1) ...", "Setting up libfontconfig1:amd64 (2.11.94-0ubuntu1.1) ...", "Setting up libxrender1:amd64 (1:0.9.9-0ubuntu1) ...", "Setting up libxft2:amd64 (2.3.2-1) ...", "Setting up libxinerama1:amd64 (2:1.1.3-1) ...", "Setting up libxshmfence1:amd64 (1.2-1) ...", "Setting up libxss1:amd64 (1:1.2.2-1) ...", "Setting up libxtst6:amd64 (2:1.2.2-1) ...", "Setting up libxv1:amd64 (2:1.0.10-1) ...", "Setting up libxxf86dga1:amd64 (2:1.1.4-1) ...", "Setting up libxxf86vm1:amd64 (1:1.1.4-1) ...", "Setting up libdrm-common (2.4.91-2~16.04.1) ...", "Setting up libdrm2:amd64 (2.4.91-2~16.04.1) ...", "Setting up libplymouth4:amd64 (0.9.2-3ubuntu13.5) ...", "Setting up plymouth (0.9.2-3ubuntu13.5) ...", "update-initramfs: deferring update (trigger activated)", "update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults", "update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults", "Setting up libnih-dbus1:amd64 (1.0.3-4.3ubuntu1) ...", "Setting up mountall (2.54ubuntu1) ...", "Setting up python-wrapt (1.8.0-5build2) ...", "Setting up openssh-sftp-server (1:7.2p2-4ubuntu2.8) ...", "Setting up openssh-server (1:7.2p2-4ubuntu2.8) ...", "Creating SSH2 RSA key; this may take some time ...", "2048 SHA256:iiT3CQD7KENS8pKoSmxD3yIviMxiepT3eMVc2Ac3+eU root@deaa8fefc00d (RSA)", "Creating SSH2 DSA key; this may take some time ...", "1024 SHA256:npZp6uUIFU1dKlDOLUgQ+2h4FBOgdalDqnkmAeAAd8s root@deaa8fefc00d (DSA)", "Creating SSH2 ECDSA key; this may take some time ...", "256 SHA256:9CIExPBK2UKwCpx92PZFc2XCtfmmA5Fs4sOHvcPddPQ root@deaa8fefc00d (ECDSA)", "Creating SSH2 ED25519 key; this may take some time ...", "256 SHA256:Cm4nnB26ft4MLQ3jk+R2r/r0RLpJQUWdvCo3QcQo3kc root@deaa8fefc00d (ED25519)", "invoke-rc.d: could not determine current runlevel", "invoke-rc.d: policy-rc.d denied execution of start.", "Setting up ssh (1:7.2p2-4ubuntu2.8) ...", "Setting up libtxc-dxtn-s2tc0:amd64 (0~git20131104-1.1) ...", "update-alternatives: using /usr/lib/x86_64-linux-gnu/libtxc_dxtn_s2tc.so.0 to provide /usr/lib/x86_64-linux-gnu/libtxc_dxtn.so (libtxc-dxtn-x86_64-linux-gnu) in auto mode", "Setting up tzdata (2019c-0ubuntu0.16.04) ...", "", "Current default time zone: 'Etc/UTC'", "Local time is now:      Thu Nov 28 10:15:07 UTC 2019.", "Universal Time is now:  Thu Nov 28 10:15:07 UTC 2019.", "Run 'dpkg-reconfigure tzdata' if you wish to change it.", "", "Setting up libelf1:amd64 (0.165-3ubuntu1.2) ...", "Setting up plymouth-theme-ubuntu-text (0.9.2-3ubuntu13.5) ...", "update-alternatives: using /usr/share/plymouth/themes/ubuntu-text/ubuntu-text.plymouth to provide /usr/share/plymouth/themes/text.plymouth (text.plymouth) in auto mode", "update-initramfs: deferring update (trigger activated)", "Setting up psmisc (22.21-2.1ubuntu0.1) ...", "Setting up telnet (0.17-40) ...", "update-alternatives: using /usr/bin/telnet.netkit to provide /usr/bin/telnet (telnet) in auto mode", "Setting up wget (1.17.1-1ubuntu1.5) ...", "Setting up libtcl8.6:amd64 (8.6.5+dfsg-2) ...", "Setting up libtk8.6:amd64 (8.6.5-1) ...", "Setting up tk8.6-blt2.5 (2.5.3+dfsg-3) ...", "Setting up blt (2.5.3+dfsg-3) ...", "Setting up libcgroup1:amd64 (0.41-7ubuntu1) ...", "Setting up cgroup-lite (1.11) ...", "invoke-rc.d: unknown initscript, /etc/init.d/cgroup-lite not found.", "invoke-rc.d: could not determine current runlevel", "Setting up cgroup-tools (0.41-7ubuntu1) ...", "Setting up ethtool (1:4.5-1) ...", "Setting up help2man (1.47.3) ...", "Setting up iperf (2.0.5+dfsg1-2ubuntu0.1) ...", "Setting up libdrm-amdgpu1:amd64 (2.4.91-2~16.04.1) ...", "Setting up libpciaccess0:amd64 (0.13.4-1) ...", "Setting up libdrm-intel1:amd64 (2.4.91-2~16.04.1) ...", "Setting up libdrm-nouveau2:amd64 (2.4.91-2~16.04.1) ...", "Setting up libdrm-radeon1:amd64 (2.4.91-2~16.04.1) ...", "Setting up libfontenc1:amd64 (1:1.1.3-1) ...", "Setting up libglapi-mesa:amd64 (18.0.5-0ubuntu0~16.04.1) ...", "Setting up libllvm6.0:amd64 (1:6.0-1ubuntu2~16.04.1) ...", "Setting up libsensors4:amd64 (1:3.4.0-2) ...", "Setting up libgl1-mesa-dri:amd64 (18.0.5-0ubuntu0~16.04.1) ...", "Setting up libx11-xcb1:amd64 (2:1.6.3-1ubuntu2.1) ...", "Setting up libxcb-dri2-0:amd64 (1.11.1-1ubuntu1) ...", "Setting up libxcb-dri3-0:amd64 (1.11.1-1ubuntu1) ...", "Setting up libxcb-glx0:amd64 (1.11.1-1ubuntu1) ...", "Setting up libxcb-present0:amd64 (1.11.1-1ubuntu1) ...", "Setting up libxcb-sync1:amd64 (1.11.1-1ubuntu1) ...", "Setting up libgl1-mesa-glx:amd64 (18.0.5-0ubuntu0~16.04.1) ...", "update-alternatives: using /usr/lib/x86_64-linux-gnu/mesa/ld.so.conf to provide /etc/ld.so.conf.d/x86_64-linux-gnu_GL.conf (x86_64-linux-gnu_gl_conf) in auto mode", "Setting up libutempter0:amd64 (1.1.6-3) ...", "Setting up libxt6:amd64 (1:1.1.5-0ubuntu1) ...", "Setting up libxmu6:amd64 (2:1.1.2-2) ...", "Setting up libxpm4:amd64 (1:3.5.11-1ubuntu0.16.04.1) ...", "Setting up libxaw7:amd64 (2:1.0.13-1) ...", "Setting up libxcb-shape0:amd64 (1.11.1-1ubuntu1) ...", "Setting up libxi6:amd64 (2:1.7.6-1) ...", "Setting up libxrandr2:amd64 (2:1.5.0-1) ...", "Setting up ncurses-term (6.0+20160213-1ubuntu1) ...", "Setting up python3-pep8 (1.7.0-2) ...", "Setting up pep8 (1.7.0-2) ...", "Setting up python-pyflakes (1.1.0-2) ...", "Setting up pyflakes (1.1.0-2) ...", "Setting up python3-pyflakes (1.1.0-2) ...", "Setting up pyflakes3 (1.1.0-2) ...", "Setting up python-lazy-object-proxy (1.2.1-1build1) ...", "Setting up python-logilab-common (1.1.0-1) ...", "Setting up python-astroid (1.4.4-1) ...", "Setting up pylint (1.5.2-1ubuntu1) ...", "Setting up python-egenix-mxtools (3.2.9-1) ...", "Setting up python-egenix-mxdatetime (3.2.9-1) ...", "Setting up python-ptyprocess (0.5-1) ...", "Setting up python-pexpect (4.0.1-1) ...", "Setting up python-setuptools (20.7.0-1) ...", "Setting up python-tk (2.7.12-1~16.04) ...", "Setting up python3-chardet (2.3.0-2) ...", "Setting up python3-six (1.10.0-3) ...", "Setting up python3-urllib3 (1.13.1-2ubuntu0.16.04.3) ...", "Setting up python3-requests (2.9.1-3ubuntu0.1) ...", "Setting up tcpd (7.6.q-25) ...", "Setting up x11-utils (7.7+3) ...", "Setting up xbitmaps (1.1.1-2) ...", "Setting up xterm (322-1ubuntu1) ...", "update-alternatives: using /usr/bin/xterm to provide /usr/bin/x-terminal-emulator (x-terminal-emulator) in auto mode", "update-alternatives: using /usr/bin/lxterm to provide /usr/bin/x-terminal-emulator (x-terminal-emulator) in auto mode", "Setting up cgroup-bin (0.41-7ubuntu1) ...", "Setting up socat (1.7.3.1-1) ...", "Setting up ssh-import-id (5.5-0ubuntu1) ...", "Processing triggers for libc-bin (2.23-0ubuntu11) ...", "Processing triggers for systemd (229-4ubuntu21.22) ...", "Processing triggers for initramfs-tools (0.122ubuntu8.16) ...", "update-initramfs: Generating /boot/initrd.img-4.15.0-70-generic", "Processing triggers for dbus (1.10.6-1ubuntu3.4) ...", "Reading package lists...", "Building dependency tree...", "Reading state information...", "iproute2 is already the newest version (4.3.0-1ubuntu3.16.04.5).", "iproute2 set to manually installed.", "0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.", "Installing Mininet core", "//containernet /", "cc -Wall -Wextra  -DVERSION=\\\"`PYTHONPATH=. python -B bin/mn --version`\\\" mnexec.c -o mnexec", "install -D mnexec /usr/bin/mnexec", "PYTHONPATH=. help2man -N -n \"create a Mininet network.\" \\", "--no-discard-stderr \"python -B bin/mn\" -o mn.1", "help2man -N -n \"execution utility for Mininet.\" \\", "-h \"-h\" -v \"-v\" --no-discard-stderr ./mnexec -o mnexec.1", "install -D -t /usr/share/man/man1 mn.1 mnexec.1", "python setup.py install", "Makefile:58: recipe for target 'install' failed"], "warnings": []}

PLAY RECAP *********************************************************************
localhost                  : ok=12   changed=11   unreachable=0    failed=1   

The command '/bin/sh -c ansible-playbook -i "localhost," -c local --skip-tags "notindocker" install_py3.yml' returned a non-zero code: 2
RafaelSche commented 4 years ago

____ testWalkthrough.testCustomTopo _____

self = <pexpect.pty_spawn.spawn object at 0x7f2452772668>, size = 2000, timeout = None

def read_nonblocking(self, size=1, timeout=None):
    """This reads data from the file descriptor.

    This is a simple implementation suitable for a regular file. Subclasses using ptys or pipes should override it.

    The timeout parameter is ignored.
    """

    try:
      s = os.read(self.child_fd, size)

E OSError: [Errno 5] Input/output error

../../venv3/lib/python3.6/site-packages/pexpect/spawnbase.py:166: OSError

During handling of the above exception, another exception occurred:

self = <pexpect.expect.Expecter object at 0x7f245254b278>, timeout = 27.895007610321045

def expect_loop(self, timeout=-1):
    """Blocking expect"""
    spawn = self.spawn

    if timeout is not None:
        end_time = time.time() + timeout

    try:
        incoming = spawn.buffer
        spawn._buffer = spawn.buffer_type()
        spawn._before = spawn.buffer_type()
        while True:
            idx = self.new_data(incoming)
            # Keep reading until exception or return.
            if idx is not None:
                return idx
            # No match at this point
            if (timeout is not None) and (timeout < 0):
                return self.timeout()
            # Still have time left, so read more data
          incoming = spawn.read_nonblocking(spawn.maxread, timeout)

../../venv3/lib/python3.6/site-packages/pexpect/expect.py:111:


self = <pexpect.pty_spawn.spawn object at 0x7f2452772668>, size = 2000, timeout = 27.895007610321045

def read_nonblocking(self, size=1, timeout=-1):
    '''This reads at most size characters from the child application. It
    includes a timeout. If the read does not complete within the timeout
    period then a TIMEOUT exception is raised. If the end of file is read
    then an EOF exception will be raised.  If a logfile is specified, a
    copy is written to that log.

    If timeout is None then the read may block indefinitely.
    If timeout is -1 then the self.timeout value is used. If timeout is 0
    then the child is polled and if there is no data immediately ready
    then this will raise a TIMEOUT exception.

    The timeout refers only to the amount of time to read at least one
    character. This is not affected by the 'size' parameter, so if you call
    read_nonblocking(size=100, timeout=30) and only one character is
    available right away then one character will be returned immediately.
    It will not wait for 30 seconds for another 99 characters to come in.

    On the other hand, if there are bytes available to read immediately,
    all those bytes will be read (up to the buffer size). So, if the
    buffer size is 1 megabyte and there is 1 megabyte of data available
    to read, the buffer will be filled, regardless of timeout.

    This is a wrapper around os.read(). It uses select.select() or
    select.poll() to implement the timeout. '''

    if self.closed:
        raise ValueError('I/O operation on closed file.')

    if self.use_poll:
        def select(timeout):
            return poll_ignore_interrupts([self.child_fd], timeout)
    else:
        def select(timeout):
            return select_ignore_interrupts([self.child_fd], [], [], timeout)[0]

    # If there is data available to read right now, read as much as
    # we can. We do this to increase performance if there are a lot
    # of bytes to be read. This also avoids calling isalive() too
    # often. See also:
    # * https://github.com/pexpect/pexpect/pull/304
    # * http://trac.sagemath.org/ticket/10295
    if select(0):
        try:
            incoming = super(spawn, self).read_nonblocking(size)
        except EOF:
            # Maybe the child is dead: update some attributes in that case
            self.isalive()
            raise
        while len(incoming) < size and select(0):
            try:
                incoming += super(spawn, self).read_nonblocking(size - len(incoming))
            except EOF:
                # Maybe the child is dead: update some attributes in that case
                self.isalive()
                # Don't raise EOF, just return what we read so far.
                return incoming
        return incoming

    if timeout == -1:
        timeout = self.timeout

    if not self.isalive():
        # The process is dead, but there may or may not be data
        # available to read. Note that some systems such as Solaris
        # do not give an EOF when the child dies. In fact, you can
        # still try to read from the child_fd -- it will block
        # forever or until TIMEOUT. For that reason, it's important
        # to do this check before calling select() with timeout.
        if select(0):
            return super(spawn, self).read_nonblocking(size)
        self.flag_eof = True
        raise EOF('End Of File (EOF). Braindead platform.')
    elif self.__irix_hack:
        # Irix takes a long time before it realizes a child was terminated.
        # Make sure that the timeout is at least 2 seconds.
        # FIXME So does this mean Irix systems are forced to always have
        # FIXME a 2 second delay when calling read_nonblocking? That sucks.
        if timeout is not None and timeout < 2:
            timeout = 2

    # Because of the select(0) check above, we know that no data
    # is available right now. But if a non-zero timeout is given
    # (possibly timeout=None), we call select() with a timeout.
    if (timeout != 0) and select(timeout):
      return super(spawn, self).read_nonblocking(size)

../../venv3/lib/python3.6/site-packages/pexpect/pty_spawn.py:500:


self = <pexpect.pty_spawn.spawn object at 0x7f2452772668>, size = 2000, timeout = None

def read_nonblocking(self, size=1, timeout=None):
    """This reads data from the file descriptor.

    This is a simple implementation suitable for a regular file. Subclasses using ptys or pipes should override it.

    The timeout parameter is ignored.
    """

    try:
        s = os.read(self.child_fd, size)
    except OSError as err:
        if err.args[0] == errno.EIO:
            # Linux-style EOF
            self.flag_eof = True
          raise EOF('End Of File (EOF). Exception style platform.')

E pexpect.exceptions.EOF: End Of File (EOF). Exception style platform.

../../venv3/lib/python3.6/site-packages/pexpect/spawnbase.py:171: EOF

During handling of the above exception, another exception occurred:

self =

def testCustomTopo( self ):
    "Start Mininet using a custom topo, then run pingall"
    # Satisfy pylint
    assert self
    custom = os.path.dirname( os.path.realpath( __file__ ) )
    custom = os.path.join( custom, '../../custom/topo-2sw-2host.py' )
    custom = os.path.normpath( custom )
    p = pexpect.spawn(
        'mn --custom %s --topo mytopo --test pingall' % custom )
  p.expect( '0% dropped' )

mininet/test/test_walkthrough.py:241:


../../venv3/lib/python3.6/site-packages/pexpect/spawnbase.py:341: in expect timeout, searchwindowsize, async_) ../../venv3/lib/python3.6/site-packages/pexpect/spawnbase.py:369: in expect_list return exp.expect_loop(timeout) ../../venv3/lib/python3.6/site-packages/pexpect/expect.py:117: in expect_loop return self.eof(e)


self = <pexpect.expect.Expecter object at 0x7f245254b278>, err = EOF('End Of File (EOF). Exception style platform.',)

def eof(self, err=None):
    spawn = self.spawn

    spawn.before = spawn.buffer
    spawn._buffer = spawn.buffer_type()
    spawn._before = spawn.buffer_type()
    spawn.after = EOF
    index = self.searcher.eof_index
    if index >= 0:
        spawn.match = EOF
        spawn.match_index = index
        return index
    else:
        spawn.match = None
        spawn.match_index = None
        msg = str(spawn)
        msg += '\nsearcher: %s' % self.searcher
        if err is not None:
            msg = str(err) + '\n' + msg
      raise EOF(msg)

E pexpect.exceptions.EOF: End Of File (EOF). Exception style platform. E <pexpect.pty_spawn.spawn object at 0x7f2452772668> E command: /home/ich/work/venv3/bin/mn E args: ['/home/ich/work/venv3/bin/mn', '--custom', '/home/ich/work/containernet_forked/containernet/custom/topo-2sw-2host.py', '--topo', 'mytopo', '--test', 'pingall'] E buffer (last 100 chars): b'' E before (last 100 chars): b'hernet\r\npkill -9 -f .ssh/mn\r\nrm -f ~/.ssh/mn/*\r\n Removing SAP NAT rules\r\n Cleanup complete.\r\n' E after: <class 'pexpect.exceptions.EOF'> E match: None E match_index: None E exitstatus: None E flag_eof: True E pid: 23325 E child_fd: 26 E closed: False E timeout: 30 E delimiter: <class 'pexpect.exceptions.EOF'> E logfile: None E logfile_read: None E logfile_send: None E maxread: 2000 E ignorecase: False E searchwindowsize: None E delaybeforesend: 0.05 E delayafterclose: 0.1 E delayafterterminate: 0.1 E searcher: searcher_re: E 0: re.compile(b'0% dropped')

../../venv3/lib/python3.6/site-packages/pexpect/expect.py:63: EOF ___ testWalkthrough.testHostCommands ____

self = <pexpect.expect.Expecter object at 0x7f24524496a0>, timeout = 29.120965480804443

def expect_loop(self, timeout=-1):
    """Blocking expect"""
    spawn = self.spawn

    if timeout is not None:
        end_time = time.time() + timeout

    try:
        incoming = spawn.buffer
        spawn._buffer = spawn.buffer_type()
        spawn._before = spawn.buffer_type()
        while True:
            idx = self.new_data(incoming)
            # Keep reading until exception or return.
            if idx is not None:
                return idx
            # No match at this point
            if (timeout is not None) and (timeout < 0):
                return self.timeout()
            # Still have time left, so read more data
          incoming = spawn.read_nonblocking(spawn.maxread, timeout)

../../venv3/lib/python3.6/site-packages/pexpect/expect.py:111:


self = <pexpect.pty_spawn.spawn object at 0x7f2452449a20>, size = 2000, timeout = 29.120965480804443

def read_nonblocking(self, size=1, timeout=-1):
    '''This reads at most size characters from the child application. It
    includes a timeout. If the read does not complete within the timeout
    period then a TIMEOUT exception is raised. If the end of file is read
    then an EOF exception will be raised.  If a logfile is specified, a
    copy is written to that log.

    If timeout is None then the read may block indefinitely.
    If timeout is -1 then the self.timeout value is used. If timeout is 0
    then the child is polled and if there is no data immediately ready
    then this will raise a TIMEOUT exception.

    The timeout refers only to the amount of time to read at least one
    character. This is not affected by the 'size' parameter, so if you call
    read_nonblocking(size=100, timeout=30) and only one character is
    available right away then one character will be returned immediately.
    It will not wait for 30 seconds for another 99 characters to come in.

    On the other hand, if there are bytes available to read immediately,
    all those bytes will be read (up to the buffer size). So, if the
    buffer size is 1 megabyte and there is 1 megabyte of data available
    to read, the buffer will be filled, regardless of timeout.

    This is a wrapper around os.read(). It uses select.select() or
    select.poll() to implement the timeout. '''

    if self.closed:
        raise ValueError('I/O operation on closed file.')

    if self.use_poll:
        def select(timeout):
            return poll_ignore_interrupts([self.child_fd], timeout)
    else:
        def select(timeout):
            return select_ignore_interrupts([self.child_fd], [], [], timeout)[0]

    # If there is data available to read right now, read as much as
    # we can. We do this to increase performance if there are a lot
    # of bytes to be read. This also avoids calling isalive() too
    # often. See also:
    # * https://github.com/pexpect/pexpect/pull/304
    # * http://trac.sagemath.org/ticket/10295
    if select(0):
        try:
            incoming = super(spawn, self).read_nonblocking(size)
        except EOF:
            # Maybe the child is dead: update some attributes in that case
            self.isalive()
            raise
        while len(incoming) < size and select(0):
            try:
                incoming += super(spawn, self).read_nonblocking(size - len(incoming))
            except EOF:
                # Maybe the child is dead: update some attributes in that case
                self.isalive()
                # Don't raise EOF, just return what we read so far.
                return incoming
        return incoming

    if timeout == -1:
        timeout = self.timeout

    if not self.isalive():
        # The process is dead, but there may or may not be data
        # available to read. Note that some systems such as Solaris
        # do not give an EOF when the child dies. In fact, you can
        # still try to read from the child_fd -- it will block
        # forever or until TIMEOUT. For that reason, it's important
        # to do this check before calling select() with timeout.
        if select(0):
            return super(spawn, self).read_nonblocking(size)
        self.flag_eof = True
        raise EOF('End Of File (EOF). Braindead platform.')
    elif self.__irix_hack:
        # Irix takes a long time before it realizes a child was terminated.
        # Make sure that the timeout is at least 2 seconds.
        # FIXME So does this mean Irix systems are forced to always have
        # FIXME a 2 second delay when calling read_nonblocking? That sucks.
        if timeout is not None and timeout < 2:
            timeout = 2

    # Because of the select(0) check above, we know that no data
    # is available right now. But if a non-zero timeout is given
    # (possibly timeout=None), we call select() with a timeout.
    if (timeout != 0) and select(timeout):
        return super(spawn, self).read_nonblocking(size)

    if not self.isalive():
        # Some platforms, such as Irix, will claim that their
        # processes are alive; timeout on the select; and
        # then finally admit that they are not alive.
        self.flag_eof = True
        raise EOF('End of File (EOF). Very slow platform.')
    else:
      raise TIMEOUT('Timeout exceeded.')

E pexpect.exceptions.TIMEOUT: Timeout exceeded.

../../venv3/lib/python3.6/site-packages/pexpect/pty_spawn.py:509: TIMEOUT

During handling of the above exception, another exception occurred:

self =

def testHostCommands( self ):
    "Test ifconfig and ps on h1 and s1"
    p = pexpect.spawn( 'mn' )
  p.expect( self.prompt )

mininet/test/test_walkthrough.py:93:


../../venv3/lib/python3.6/site-packages/pexpect/spawnbase.py:341: in expect timeout, searchwindowsize, async_) ../../venv3/lib/python3.6/site-packages/pexpect/spawnbase.py:369: in expect_list return exp.expect_loop(timeout) ../../venv3/lib/python3.6/site-packages/pexpect/expect.py:119: in expect_loop return self.timeout(e)


self = <pexpect.expect.Expecter object at 0x7f24524496a0>, err = TIMEOUT('Timeout exceeded.',)

def timeout(self, err=None):
    spawn = self.spawn

    spawn.before = spawn.buffer
    spawn.after = TIMEOUT
    index = self.searcher.timeout_index
    if index >= 0:
        spawn.match = TIMEOUT
        spawn.match_index = index
        return index
    else:
        spawn.match = None
        spawn.match_index = None
        msg = str(spawn)
        msg += '\nsearcher: %s' % self.searcher
        if err is not None:
            msg = str(err) + '\n' + msg
      raise TIMEOUT(msg)

E pexpect.exceptions.TIMEOUT: Timeout exceeded. E <pexpect.pty_spawn.spawn object at 0x7f2452449a20> E command: /home/ich/work/venv3/bin/mn E args: ['/home/ich/work/venv3/bin/mn'] E buffer (last 100 chars): b'2 \r\n Starting controller\r\nc0 \r\n Starting 1 switches\r\ns1 ...\r\n Starting CLI:\r\ncontainernet> ' E before (last 100 chars): b'2 \r\n Starting controller\r\nc0 \r\n Starting 1 switches\r\ns1 ...\r\n Starting CLI:\r\ncontainernet> ' E after: <class 'pexpect.exceptions.TIMEOUT'> E match: None E match_index: None E exitstatus: None E flag_eof: False E pid: 23477 E child_fd: 33 E closed: False E timeout: 30 E delimiter: <class 'pexpect.exceptions.EOF'> E logfile: None E logfile_read: None E logfile_send: None E maxread: 2000 E ignorecase: False E searchwindowsize: None E delaybeforesend: 0.05 E delayafterclose: 0.1 E delayafterterminate: 0.1 E searcher: searcher_re: E 0: re.compile(b'mininet>')

../../venv3/lib/python3.6/site-packages/pexpect/expect.py:82: TIMEOUT ___ testWalkthrough.testLink ____

self = <pexpect.pty_spawn.spawn object at 0x7f24526b7160>, size = 2000, timeout = None

def read_nonblocking(self, size=1, timeout=None):
    """This reads data from the file descriptor.

    This is a simple implementation suitable for a regular file. Subclasses using ptys or pipes should override it.

    The timeout parameter is ignored.
    """

    try:
      s = os.read(self.child_fd, size)

E OSError: [Errno 5] Input/output error

../../venv3/lib/python3.6/site-packages/pexpect/spawnbase.py:166: OSError

During handling of the above exception, another exception occurred:

self = <pexpect.expect.Expecter object at 0x7f24526b76a0>, timeout = 27.934834003448486

def expect_loop(self, timeout=-1):
    """Blocking expect"""
    spawn = self.spawn

    if timeout is not None:
        end_time = time.time() + timeout

    try:
        incoming = spawn.buffer
        spawn._buffer = spawn.buffer_type()
        spawn._before = spawn.buffer_type()
        while True:
            idx = self.new_data(incoming)
            # Keep reading until exception or return.
            if idx is not None:
                return idx
            # No match at this point
            if (timeout is not None) and (timeout < 0):
                return self.timeout()
            # Still have time left, so read more data
          incoming = spawn.read_nonblocking(spawn.maxread, timeout)

../../venv3/lib/python3.6/site-packages/pexpect/expect.py:111:


self = <pexpect.pty_spawn.spawn object at 0x7f24526b7160>, size = 2000, timeout = 27.934834003448486

def read_nonblocking(self, size=1, timeout=-1):
    '''This reads at most size characters from the child application. It
    includes a timeout. If the read does not complete within the timeout
    period then a TIMEOUT exception is raised. If the end of file is read
    then an EOF exception will be raised.  If a logfile is specified, a
    copy is written to that log.

    If timeout is None then the read may block indefinitely.
    If timeout is -1 then the self.timeout value is used. If timeout is 0
    then the child is polled and if there is no data immediately ready
    then this will raise a TIMEOUT exception.

    The timeout refers only to the amount of time to read at least one
    character. This is not affected by the 'size' parameter, so if you call
    read_nonblocking(size=100, timeout=30) and only one character is
    available right away then one character will be returned immediately.
    It will not wait for 30 seconds for another 99 characters to come in.

    On the other hand, if there are bytes available to read immediately,
    all those bytes will be read (up to the buffer size). So, if the
    buffer size is 1 megabyte and there is 1 megabyte of data available
    to read, the buffer will be filled, regardless of timeout.

    This is a wrapper around os.read(). It uses select.select() or
    select.poll() to implement the timeout. '''

    if self.closed:
        raise ValueError('I/O operation on closed file.')

    if self.use_poll:
        def select(timeout):
            return poll_ignore_interrupts([self.child_fd], timeout)
    else:
        def select(timeout):
            return select_ignore_interrupts([self.child_fd], [], [], timeout)[0]

    # If there is data available to read right now, read as much as
    # we can. We do this to increase performance if there are a lot
    # of bytes to be read. This also avoids calling isalive() too
    # often. See also:
    # * https://github.com/pexpect/pexpect/pull/304
    # * http://trac.sagemath.org/ticket/10295
    if select(0):
        try:
            incoming = super(spawn, self).read_nonblocking(size)
        except EOF:
            # Maybe the child is dead: update some attributes in that case
            self.isalive()
            raise
        while len(incoming) < size and select(0):
            try:
                incoming += super(spawn, self).read_nonblocking(size - len(incoming))
            except EOF:
                # Maybe the child is dead: update some attributes in that case
                self.isalive()
                # Don't raise EOF, just return what we read so far.
                return incoming
        return incoming

    if timeout == -1:
        timeout = self.timeout

    if not self.isalive():
        # The process is dead, but there may or may not be data
        # available to read. Note that some systems such as Solaris
        # do not give an EOF when the child dies. In fact, you can
        # still try to read from the child_fd -- it will block
        # forever or until TIMEOUT. For that reason, it's important
        # to do this check before calling select() with timeout.
        if select(0):
            return super(spawn, self).read_nonblocking(size)
        self.flag_eof = True
        raise EOF('End Of File (EOF). Braindead platform.')
    elif self.__irix_hack:
        # Irix takes a long time before it realizes a child was terminated.
        # Make sure that the timeout is at least 2 seconds.
        # FIXME So does this mean Irix systems are forced to always have
        # FIXME a 2 second delay when calling read_nonblocking? That sucks.
        if timeout is not None and timeout < 2:
            timeout = 2

    # Because of the select(0) check above, we know that no data
    # is available right now. But if a non-zero timeout is given
    # (possibly timeout=None), we call select() with a timeout.
    if (timeout != 0) and select(timeout):
      return super(spawn, self).read_nonblocking(size)

../../venv3/lib/python3.6/site-packages/pexpect/pty_spawn.py:500:


self = <pexpect.pty_spawn.spawn object at 0x7f24526b7160>, size = 2000, timeout = None

def read_nonblocking(self, size=1, timeout=None):
    """This reads data from the file descriptor.

    This is a simple implementation suitable for a regular file. Subclasses using ptys or pipes should override it.

    The timeout parameter is ignored.
    """

    try:
        s = os.read(self.child_fd, size)
    except OSError as err:
        if err.args[0] == errno.EIO:
            # Linux-style EOF
            self.flag_eof = True
          raise EOF('End Of File (EOF). Exception style platform.')

E pexpect.exceptions.EOF: End Of File (EOF). Exception style platform.

../../venv3/lib/python3.6/site-packages/pexpect/spawnbase.py:171: EOF

During handling of the above exception, another exception occurred:

self =

def testLink( self ):
    "Test link CLI command using ping"
    p = pexpect.spawn( 'mn' )
  p.expect( self.prompt )

mininet/test/test_walkthrough.py:323:


../../venv3/lib/python3.6/site-packages/pexpect/spawnbase.py:341: in expect timeout, searchwindowsize, async_) ../../venv3/lib/python3.6/site-packages/pexpect/spawnbase.py:369: in expect_list return exp.expect_loop(timeout) ../../venv3/lib/python3.6/site-packages/pexpect/expect.py:117: in expect_loop return self.eof(e)


self = <pexpect.expect.Expecter object at 0x7f24526b76a0>, err = EOF('End Of File (EOF). Exception style platform.',)

def eof(self, err=None):
    spawn = self.spawn

    spawn.before = spawn.buffer
    spawn._buffer = spawn.buffer_type()
    spawn._before = spawn.buffer_type()
    spawn.after = EOF
    index = self.searcher.eof_index
    if index >= 0:
        spawn.match = EOF
        spawn.match_index = index
        return index
    else:
        spawn.match = None
        spawn.match_index = None
        msg = str(spawn)
        msg += '\nsearcher: %s' % self.searcher
        if err is not None:
            msg = str(err) + '\n' + msg
      raise EOF(msg)

E pexpect.exceptions.EOF: End Of File (EOF). Exception style platform. E <pexpect.pty_spawn.spawn object at 0x7f24526b7160> E command: /home/ich/work/venv3/bin/mn E args: ['/home/ich/work/venv3/bin/mn'] E buffer (last 100 chars): b'' E before (last 100 chars): b'hernet\r\npkill -9 -f .ssh/mn\r\nrm -f ~/.ssh/mn/*\r\n Removing SAP NAT rules\r\n Cleanup complete.\r\n' E after: <class 'pexpect.exceptions.EOF'> E match: None E match_index: None E exitstatus: None E flag_eof: True E pid: 23621 E child_fd: 173 E closed: False E timeout: 30 E delimiter: <class 'pexpect.exceptions.EOF'> E logfile: None E logfile_read: None E logfile_send: None E maxread: 2000 E ignorecase: False E searchwindowsize: None E delaybeforesend: 0.05 E delayafterclose: 0.1 E delayafterterminate: 0.1 E searcher: searcher_re: E 0: re.compile(b'mininet>')

../../venv3/lib/python3.6/site-packages/pexpect/expect.py:63: EOF ____ testWalkthrough.testLinkChange _____

self = <pexpect.expect.Expecter object at 0x7f245235a860>, timeout = 29.051488637924194

def expect_loop(self, timeout=-1):
    """Blocking expect"""
    spawn = self.spawn

    if timeout is not None:
        end_time = time.time() + timeout

    try:
        incoming = spawn.buffer
        spawn._buffer = spawn.buffer_type()
        spawn._before = spawn.buffer_type()
        while True:
            idx = self.new_data(incoming)
            # Keep reading until exception or return.
            if idx is not None:
                return idx
            # No match at this point
            if (timeout is not None) and (timeout < 0):
                return self.timeout()
            # Still have time left, so read more data
          incoming = spawn.read_nonblocking(spawn.maxread, timeout)

../../venv3/lib/python3.6/site-packages/pexpect/expect.py:111:


self = <pexpect.pty_spawn.spawn object at 0x7f245235a748>, size = 2000, timeout = 29.051488637924194

def read_nonblocking(self, size=1, timeout=-1):
    '''This reads at most size characters from the child application. It
    includes a timeout. If the read does not complete within the timeout
    period then a TIMEOUT exception is raised. If the end of file is read
    then an EOF exception will be raised.  If a logfile is specified, a
    copy is written to that log.

    If timeout is None then the read may block indefinitely.
    If timeout is -1 then the self.timeout value is used. If timeout is 0
    then the child is polled and if there is no data immediately ready
    then this will raise a TIMEOUT exception.

    The timeout refers only to the amount of time to read at least one
    character. This is not affected by the 'size' parameter, so if you call
    read_nonblocking(size=100, timeout=30) and only one character is
    available right away then one character will be returned immediately.
    It will not wait for 30 seconds for another 99 characters to come in.

    On the other hand, if there are bytes available to read immediately,
    all those bytes will be read (up to the buffer size). So, if the
    buffer size is 1 megabyte and there is 1 megabyte of data available
    to read, the buffer will be filled, regardless of timeout.

    This is a wrapper around os.read(). It uses select.select() or
    select.poll() to implement the timeout. '''

    if self.closed:
        raise ValueError('I/O operation on closed file.')

    if self.use_poll:
        def select(timeout):
            return poll_ignore_interrupts([self.child_fd], timeout)
    else:
        def select(timeout):
            return select_ignore_interrupts([self.child_fd], [], [], timeout)[0]

    # If there is data available to read right now, read as much as
    # we can. We do this to increase performance if there are a lot
    # of bytes to be read. This also avoids calling isalive() too
    # often. See also:
    # * https://github.com/pexpect/pexpect/pull/304
    # * http://trac.sagemath.org/ticket/10295
    if select(0):
        try:
            incoming = super(spawn, self).read_nonblocking(size)
        except EOF:
            # Maybe the child is dead: update some attributes in that case
            self.isalive()
            raise
        while len(incoming) < size and select(0):
            try:
                incoming += super(spawn, self).read_nonblocking(size - len(incoming))
            except EOF:
                # Maybe the child is dead: update some attributes in that case
                self.isalive()
                # Don't raise EOF, just return what we read so far.
                return incoming
        return incoming

    if timeout == -1:
        timeout = self.timeout

    if not self.isalive():
        # The process is dead, but there may or may not be data
        # available to read. Note that some systems such as Solaris
        # do not give an EOF when the child dies. In fact, you can
        # still try to read from the child_fd -- it will block
        # forever or until TIMEOUT. For that reason, it's important
        # to do this check before calling select() with timeout.
        if select(0):
            return super(spawn, self).read_nonblocking(size)
        self.flag_eof = True
        raise EOF('End Of File (EOF). Braindead platform.')
    elif self.__irix_hack:
        # Irix takes a long time before it realizes a child was terminated.
        # Make sure that the timeout is at least 2 seconds.
        # FIXME So does this mean Irix systems are forced to always have
        # FIXME a 2 second delay when calling read_nonblocking? That sucks.
        if timeout is not None and timeout < 2:
            timeout = 2

    # Because of the select(0) check above, we know that no data
    # is available right now. But if a non-zero timeout is given
    # (possibly timeout=None), we call select() with a timeout.
    if (timeout != 0) and select(timeout):
        return super(spawn, self).read_nonblocking(size)

    if not self.isalive():
        # Some platforms, such as Irix, will claim that their
        # processes are alive; timeout on the select; and
        # then finally admit that they are not alive.
        self.flag_eof = True
        raise EOF('End of File (EOF). Very slow platform.')
    else:
      raise TIMEOUT('Timeout exceeded.')

E pexpect.exceptions.TIMEOUT: Timeout exceeded.

../../venv3/lib/python3.6/site-packages/pexpect/pty_spawn.py:509: TIMEOUT

During handling of the above exception, another exception occurred:

self =

def testLinkChange( self ):
    "Test TCLink bw and delay"
    p = pexpect.spawn( 'mn --link tc,bw=10,delay=10ms' )
    # test bw
  p.expect( self.prompt )

mininet/test/test_walkthrough.py:200:


../../venv3/lib/python3.6/site-packages/pexpect/spawnbase.py:341: in expect timeout, searchwindowsize, async_) ../../venv3/lib/python3.6/site-packages/pexpect/spawnbase.py:369: in expect_list return exp.expect_loop(timeout) ../../venv3/lib/python3.6/site-packages/pexpect/expect.py:119: in expect_loop return self.timeout(e)


self = <pexpect.expect.Expecter object at 0x7f245235a860>, err = TIMEOUT('Timeout exceeded.',)

def timeout(self, err=None):
    spawn = self.spawn

    spawn.before = spawn.buffer
    spawn.after = TIMEOUT
    index = self.searcher.timeout_index
    if index >= 0:
        spawn.match = TIMEOUT
        spawn.match_index = index
        return index
    else:
        spawn.match = None
        spawn.match_index = None
        msg = str(spawn)
        msg += '\nsearcher: %s' % self.searcher
        if err is not None:
            msg = str(err) + '\n' + msg
      raise TIMEOUT(msg)

E pexpect.exceptions.TIMEOUT: Timeout exceeded. E <pexpect.pty_spawn.spawn object at 0x7f245235a748> E command: /home/ich/work/venv3/bin/mn E args: ['/home/ich/work/venv3/bin/mn', '--link', 'tc,bw=10,delay=10ms'] E buffer (last 100 chars): b'bit 10ms delay) ...(10.00Mbit 10ms delay) (10.00Mbit 10ms delay) \r\n Starting CLI:\r\ncontainernet> ' E before (last 100 chars): b'bit 10ms delay) ...(10.00Mbit 10ms delay) (10.00Mbit 10ms delay) \r\n Starting CLI:\r\ncontainernet> ' E after: <class 'pexpect.exceptions.TIMEOUT'> E match: None E match_index: None E exitstatus: None E flag_eof: False E pid: 23742 E child_fd: 175 E closed: False E timeout: 30 E delimiter: <class 'pexpect.exceptions.EOF'> E logfile: None E logfile_read: None E logfile_send: None E maxread: 2000 E ignorecase: False E searchwindowsize: None E delaybeforesend: 0.05 E delayafterclose: 0.1 E delayafterterminate: 0.1 E searcher: searcher_re: E 0: re.compile(b'mininet>')

../../venv3/lib/python3.6/site-packages/pexpect/expect.py:82: TIMEOUT ___ testWalkthrough.testOwnNamespace ____

self = <pexpect.pty_spawn.spawn object at 0x7f24523af390>, size = 2000, timeout = None

def read_nonblocking(self, size=1, timeout=None):
    """This reads data from the file descriptor.

    This is a simple implementation suitable for a regular file. Subclasses using ptys or pipes should override it.

    The timeout parameter is ignored.
    """

    try:
      s = os.read(self.child_fd, size)

E OSError: [Errno 5] Input/output error

../../venv3/lib/python3.6/site-packages/pexpect/spawnbase.py:166: OSError

During handling of the above exception, another exception occurred:

self = <pexpect.expect.Expecter object at 0x7f24523af3c8>, timeout = 27.921643495559692

def expect_loop(self, timeout=-1):
    """Blocking expect"""
    spawn = self.spawn

    if timeout is not None:
        end_time = time.time() + timeout

    try:
        incoming = spawn.buffer
        spawn._buffer = spawn.buffer_type()
        spawn._before = spawn.buffer_type()
        while True:
            idx = self.new_data(incoming)
            # Keep reading until exception or return.
            if idx is not None:
                return idx
            # No match at this point
            if (timeout is not None) and (timeout < 0):
                return self.timeout()
            # Still have time left, so read more data
          incoming = spawn.read_nonblocking(spawn.maxread, timeout)

../../venv3/lib/python3.6/site-packages/pexpect/expect.py:111:


self = <pexpect.pty_spawn.spawn object at 0x7f24523af390>, size = 2000, timeout = 27.921643495559692

def read_nonblocking(self, size=1, timeout=-1):
    '''This reads at most size characters from the child application. It
    includes a timeout. If the read does not complete within the timeout
    period then a TIMEOUT exception is raised. If the end of file is read
    then an EOF exception will be raised.  If a logfile is specified, a
    copy is written to that log.

    If timeout is None then the read may block indefinitely.
    If timeout is -1 then the self.timeout value is used. If timeout is 0
    then the child is polled and if there is no data immediately ready
    then this will raise a TIMEOUT exception.

    The timeout refers only to the amount of time to read at least one
    character. This is not affected by the 'size' parameter, so if you call
    read_nonblocking(size=100, timeout=30) and only one character is
    available right away then one character will be returned immediately.
    It will not wait for 30 seconds for another 99 characters to come in.

    On the other hand, if there are bytes available to read immediately,
    all those bytes will be read (up to the buffer size). So, if the
    buffer size is 1 megabyte and there is 1 megabyte of data available
    to read, the buffer will be filled, regardless of timeout.

    This is a wrapper around os.read(). It uses select.select() or
    select.poll() to implement the timeout. '''

    if self.closed:
        raise ValueError('I/O operation on closed file.')

    if self.use_poll:
        def select(timeout):
            return poll_ignore_interrupts([self.child_fd], timeout)
    else:
        def select(timeout):
            return select_ignore_interrupts([self.child_fd], [], [], timeout)[0]

    # If there is data available to read right now, read as much as
    # we can. We do this to increase performance if there are a lot
    # of bytes to be read. This also avoids calling isalive() too
    # often. See also:
    # * https://github.com/pexpect/pexpect/pull/304
    # * http://trac.sagemath.org/ticket/10295
    if select(0):
        try:
            incoming = super(spawn, self).read_nonblocking(size)
        except EOF:
            # Maybe the child is dead: update some attributes in that case
            self.isalive()
            raise
        while len(incoming) < size and select(0):
            try:
                incoming += super(spawn, self).read_nonblocking(size - len(incoming))
            except EOF:
                # Maybe the child is dead: update some attributes in that case
                self.isalive()
                # Don't raise EOF, just return what we read so far.
                return incoming
        return incoming

    if timeout == -1:
        timeout = self.timeout

    if not self.isalive():
        # The process is dead, but there may or may not be data
        # available to read. Note that some systems such as Solaris
        # do not give an EOF when the child dies. In fact, you can
        # still try to read from the child_fd -- it will block
        # forever or until TIMEOUT. For that reason, it's important
        # to do this check before calling select() with timeout.
        if select(0):
            return super(spawn, self).read_nonblocking(size)
        self.flag_eof = True
        raise EOF('End Of File (EOF). Braindead platform.')
    elif self.__irix_hack:
        # Irix takes a long time before it realizes a child was terminated.
        # Make sure that the timeout is at least 2 seconds.
        # FIXME So does this mean Irix systems are forced to always have
        # FIXME a 2 second delay when calling read_nonblocking? That sucks.
        if timeout is not None and timeout < 2:
            timeout = 2

    # Because of the select(0) check above, we know that no data
    # is available right now. But if a non-zero timeout is given
    # (possibly timeout=None), we call select() with a timeout.
    if (timeout != 0) and select(timeout):
      return super(spawn, self).read_nonblocking(size)

../../venv3/lib/python3.6/site-packages/pexpect/pty_spawn.py:500:


self = <pexpect.pty_spawn.spawn object at 0x7f24523af390>, size = 2000, timeout = None

def read_nonblocking(self, size=1, timeout=None):
    """This reads data from the file descriptor.

    This is a simple implementation suitable for a regular file. Subclasses using ptys or pipes should override it.

    The timeout parameter is ignored.
    """

    try:
        s = os.read(self.child_fd, size)
    except OSError as err:
        if err.args[0] == errno.EIO:
            # Linux-style EOF
            self.flag_eof = True
          raise EOF('End Of File (EOF). Exception style platform.')

E pexpect.exceptions.EOF: End Of File (EOF). Exception style platform.

../../venv3/lib/python3.6/site-packages/pexpect/spawnbase.py:171: EOF

During handling of the above exception, another exception occurred:

self =

def testOwnNamespace( self ):
    "Test running user switch in its own namespace"
    p = pexpect.spawn( 'mn --innamespace --switch user' )
  p.expect( self.prompt )

mininet/test/test_walkthrough.py:273:


../../venv3/lib/python3.6/site-packages/pexpect/spawnbase.py:341: in expect timeout, searchwindowsize, async_) ../../venv3/lib/python3.6/site-packages/pexpect/spawnbase.py:369: in expect_list return exp.expect_loop(timeout) ../../venv3/lib/python3.6/site-packages/pexpect/expect.py:117: in expect_loop return self.eof(e)


self = <pexpect.expect.Expecter object at 0x7f24523af3c8>, err = EOF('End Of File (EOF). Exception style platform.',)

def eof(self, err=None):
    spawn = self.spawn

    spawn.before = spawn.buffer
    spawn._buffer = spawn.buffer_type()
    spawn._before = spawn.buffer_type()
    spawn.after = EOF
    index = self.searcher.eof_index
    if index >= 0:
        spawn.match = EOF
        spawn.match_index = index
        return index
    else:
        spawn.match = None
        spawn.match_index = None
        msg = str(spawn)
        msg += '\nsearcher: %s' % self.searcher
        if err is not None:
            msg = str(err) + '\n' + msg
      raise EOF(msg)

E pexpect.exceptions.EOF: End Of File (EOF). Exception style platform. E <pexpect.pty_spawn.spawn object at 0x7f24523af390> E command: /home/ich/work/venv3/bin/mn E args: ['/home/ich/work/venv3/bin/mn', '--innamespace', '--switch', 'user'] E buffer (last 100 chars): b'' E before (last 100 chars): b'hernet\r\npkill -9 -f .ssh/mn\r\nrm -f ~/.ssh/mn/*\r\n Removing SAP NAT rules\r\n Cleanup complete.\r\n' E after: <class 'pexpect.exceptions.EOF'> E match: None E match_index: None E exitstatus: None E flag_eof: True E pid: 23943 E child_fd: 176 E closed: False E timeout: 30 E delimiter: <class 'pexpect.exceptions.EOF'> E logfile: None E logfile_read: None E logfile_send: None E maxread: 2000 E ignorecase: False E searchwindowsize: None E delaybeforesend: 0.05 E delayafterclose: 0.1 E delayafterterminate: 0.1 E searcher: searcher_re: E 0: re.compile(b'mininet>')

../../venv3/lib/python3.6/site-packages/pexpect/expect.py:63: EOF testWalkthrough.testPythonInterpreter

self = <pexpect.expect.Expecter object at 0x7f24523244a8>, timeout = 29.10917377471924

def expect_loop(self, timeout=-1):
    """Blocking expect"""
    spawn = self.spawn

    if timeout is not None:
        end_time = time.time() + timeout

    try:
        incoming = spawn.buffer
        spawn._buffer = spawn.buffer_type()
        spawn._before = spawn.buffer_type()
        while True:
            idx = self.new_data(incoming)
            # Keep reading until exception or return.
            if idx is not None:
                return idx
            # No match at this point
            if (timeout is not None) and (timeout < 0):
                return self.timeout()
            # Still have time left, so read more data
          incoming = spawn.read_nonblocking(spawn.maxread, timeout)

../../venv3/lib/python3.6/site-packages/pexpect/expect.py:111:


self = <pexpect.pty_spawn.spawn object at 0x7f2452324d30>, size = 2000, timeout = 29.10917377471924

def read_nonblocking(self, size=1, timeout=-1):
    '''This reads at most size characters from the child application. It
    includes a timeout. If the read does not complete within the timeout
    period then a TIMEOUT exception is raised. If the end of file is read
    then an EOF exception will be raised.  If a logfile is specified, a
    copy is written to that log.

    If timeout is None then the read may block indefinitely.
    If timeout is -1 then the self.timeout value is used. If timeout is 0
    then the child is polled and if there is no data immediately ready
    then this will raise a TIMEOUT exception.

    The timeout refers only to the amount of time to read at least one
    character. This is not affected by the 'size' parameter, so if you call
    read_nonblocking(size=100, timeout=30) and only one character is
    available right away then one character will be returned immediately.
    It will not wait for 30 seconds for another 99 characters to come in.

    On the other hand, if there are bytes available to read immediately,
    all those bytes will be read (up to the buffer size). So, if the
    buffer size is 1 megabyte and there is 1 megabyte of data available
    to read, the buffer will be filled, regardless of timeout.

    This is a wrapper around os.read(). It uses select.select() or
    select.poll() to implement the timeout. '''

    if self.closed:
        raise ValueError('I/O operation on closed file.')

    if self.use_poll:
        def select(timeout):
            return poll_ignore_interrupts([self.child_fd], timeout)
    else:
        def select(timeout):
            return select_ignore_interrupts([self.child_fd], [], [], timeout)[0]

    # If there is data available to read right now, read as much as
    # we can. We do this to increase performance if there are a lot
    # of bytes to be read. This also avoids calling isalive() too
    # often. See also:
    # * https://github.com/pexpect/pexpect/pull/304
    # * http://trac.sagemath.org/ticket/10295
    if select(0):
        try:
            incoming = super(spawn, self).read_nonblocking(size)
        except EOF:
            # Maybe the child is dead: update some attributes in that case
            self.isalive()
            raise
        while len(incoming) < size and select(0):
            try:
                incoming += super(spawn, self).read_nonblocking(size - len(incoming))
            except EOF:
                # Maybe the child is dead: update some attributes in that case
                self.isalive()
                # Don't raise EOF, just return what we read so far.
                return incoming
        return incoming

    if timeout == -1:
        timeout = self.timeout

    if not self.isalive():
        # The process is dead, but there may or may not be data
        # available to read. Note that some systems such as Solaris
        # do not give an EOF when the child dies. In fact, you can
        # still try to read from the child_fd -- it will block
        # forever or until TIMEOUT. For that reason, it's important
        # to do this check before calling select() with timeout.
        if select(0):
            return super(spawn, self).read_nonblocking(size)
        self.flag_eof = True
        raise EOF('End Of File (EOF). Braindead platform.')
    elif self.__irix_hack:
        # Irix takes a long time before it realizes a child was terminated.
        # Make sure that the timeout is at least 2 seconds.
        # FIXME So does this mean Irix systems are forced to always have
        # FIXME a 2 second delay when calling read_nonblocking? That sucks.
        if timeout is not None and timeout < 2:
            timeout = 2

    # Because of the select(0) check above, we know that no data
    # is available right now. But if a non-zero timeout is given
    # (possibly timeout=None), we call select() with a timeout.
    if (timeout != 0) and select(timeout):
        return super(spawn, self).read_nonblocking(size)

    if not self.isalive():
        # Some platforms, such as Irix, will claim that their
        # processes are alive; timeout on the select; and
        # then finally admit that they are not alive.
        self.flag_eof = True
        raise EOF('End of File (EOF). Very slow platform.')
    else:
      raise TIMEOUT('Timeout exceeded.')

E pexpect.exceptions.TIMEOUT: Timeout exceeded.

../../venv3/lib/python3.6/site-packages/pexpect/pty_spawn.py:509: TIMEOUT

During handling of the above exception, another exception occurred:

self =

def testPythonInterpreter( self ):
    "Test py and px by checking IP for h1 and adding h3"
    p = pexpect.spawn( 'mn' )
  p.expect( self.prompt )

mininet/test/test_walkthrough.py:301:


../../venv3/lib/python3.6/site-packages/pexpect/spawnbase.py:341: in expect timeout, searchwindowsize, async_) ../../venv3/lib/python3.6/site-packages/pexpect/spawnbase.py:369: in expect_list return exp.expect_loop(timeout) ../../venv3/lib/python3.6/site-packages/pexpect/expect.py:119: in expect_loop return self.timeout(e)


self = <pexpect.expect.Expecter object at 0x7f24523244a8>, err = TIMEOUT('Timeout exceeded.',)

def timeout(self, err=None):
    spawn = self.spawn

    spawn.before = spawn.buffer
    spawn.after = TIMEOUT
    index = self.searcher.timeout_index
    if index >= 0:
        spawn.match = TIMEOUT
        spawn.match_index = index
        return index
    else:
        spawn.match = None
        spawn.match_index = None
        msg = str(spawn)
        msg += '\nsearcher: %s' % self.searcher
        if err is not None:
            msg = str(err) + '\n' + msg
      raise TIMEOUT(msg)

E pexpect.exceptions.TIMEOUT: Timeout exceeded. E <pexpect.pty_spawn.spawn object at 0x7f2452324d30> E command: /home/ich/work/venv3/bin/mn E args: ['/home/ich/work/venv3/bin/mn'] E buffer (last 100 chars): b'2 \r\n Starting controller\r\nc0 \r\n Starting 1 switches\r\ns1 ...\r\n Starting CLI:\r\ncontainernet> ' E before (last 100 chars): b'2 \r\n Starting controller\r\nc0 \r\n Starting 1 switches\r\ns1 ...\r\n Starting CLI:\r\ncontainernet> ' E after: <class 'pexpect.exceptions.TIMEOUT'> E match: None E match_index: None E exitstatus: None E flag_eof: False E pid: 24063 E child_fd: 177 E closed: False E timeout: 30 E delimiter: <class 'pexpect.exceptions.EOF'> E logfile: None E logfile_read: None E logfile_send: None E maxread: 2000 E ignorecase: False E searchwindowsize: None E delaybeforesend: 0.05 E delayafterclose: 0.1 E delayafterterminate: 0.1 E searcher: searcher_re: E 0: re.compile(b'mininet>')

../../venv3/lib/python3.6/site-packages/pexpect/expect.py:82: TIMEOUT testWalkthrough.testRegressionRun

self = <pexpect.pty_spawn.spawn object at 0x7f24523afa90>, size = 2000, timeout = None

def read_nonblocking(self, size=1, timeout=None):
    """This reads data from the file descriptor.

    This is a simple implementation suitable for a regular file. Subclasses using ptys or pipes should override it.

    The timeout parameter is ignored.
    """

    try:
      s = os.read(self.child_fd, size)

E OSError: [Errno 5] Input/output error

../../venv3/lib/python3.6/site-packages/pexpect/spawnbase.py:166: OSError

During handling of the above exception, another exception occurred:

self = <pexpect.expect.Expecter object at 0x7f24523afb00>, timeout = 27.932271480560303

def expect_loop(self, timeout=-1):
    """Blocking expect"""
    spawn = self.spawn

    if timeout is not None:
        end_time = time.time() + timeout

    try:
        incoming = spawn.buffer
        spawn._buffer = spawn.buffer_type()
        spawn._before = spawn.buffer_type()
        while True:
            idx = self.new_data(incoming)
            # Keep reading until exception or return.
            if idx is not None:
                return idx
            # No match at this point
            if (timeout is not None) and (timeout < 0):
                return self.timeout()
            # Still have time left, so read more data
          incoming = spawn.read_nonblocking(spawn.maxread, timeout)

../../venv3/lib/python3.6/site-packages/pexpect/expect.py:111:


self = <pexpect.pty_spawn.spawn object at 0x7f24523afa90>, size = 2000, timeout = 27.932271480560303

def read_nonblocking(self, size=1, timeout=-1):
    '''This reads at most size characters from the child application. It
    includes a timeout. If the read does not complete within the timeout
    period then a TIMEOUT exception is raised. If the end of file is read
    then an EOF exception will be raised.  If a logfile is specified, a
    copy is written to that log.

    If timeout is None then the read may block indefinitely.
    If timeout is -1 then the self.timeout value is used. If timeout is 0
    then the child is polled and if there is no data immediately ready
    then this will raise a TIMEOUT exception.

    The timeout refers only to the amount of time to read at least one
    character. This is not affected by the 'size' parameter, so if you call
    read_nonblocking(size=100, timeout=30) and only one character is
    available right away then one character will be returned immediately.
    It will not wait for 30 seconds for another 99 characters to come in.

    On the other hand, if there are bytes available to read immediately,
    all those bytes will be read (up to the buffer size). So, if the
    buffer size is 1 megabyte and there is 1 megabyte of data available
    to read, the buffer will be filled, regardless of timeout.

    This is a wrapper around os.read(). It uses select.select() or
    select.poll() to implement the timeout. '''

    if self.closed:
        raise ValueError('I/O operation on closed file.')

    if self.use_poll:
        def select(timeout):
            return poll_ignore_interrupts([self.child_fd], timeout)
    else:
        def select(timeout):
            return select_ignore_interrupts([self.child_fd], [], [], timeout)[0]

    # If there is data available to read right now, read as much as
    # we can. We do this to increase performance if there are a lot
    # of bytes to be read. This also avoids calling isalive() too
    # often. See also:
    # * https://github.com/pexpect/pexpect/pull/304
    # * http://trac.sagemath.org/ticket/10295
    if select(0):
        try:
            incoming = super(spawn, self).read_nonblocking(size)
        except EOF:
            # Maybe the child is dead: update some attributes in that case
            self.isalive()
            raise
        while len(incoming) < size and select(0):
            try:
                incoming += super(spawn, self).read_nonblocking(size - len(incoming))
            except EOF:
                # Maybe the child is dead: update some attributes in that case
                self.isalive()
                # Don't raise EOF, just return what we read so far.
                return incoming
        return incoming

    if timeout == -1:
        timeout = self.timeout

    if not self.isalive():
        # The process is dead, but there may or may not be data
        # available to read. Note that some systems such as Solaris
        # do not give an EOF when the child dies. In fact, you can
        # still try to read from the child_fd -- it will block
        # forever or until TIMEOUT. For that reason, it's important
        # to do this check before calling select() with timeout.
        if select(0):
            return super(spawn, self).read_nonblocking(size)
        self.flag_eof = True
        raise EOF('End Of File (EOF). Braindead platform.')
    elif self.__irix_hack:
        # Irix takes a long time before it realizes a child was terminated.
        # Make sure that the timeout is at least 2 seconds.
        # FIXME So does this mean Irix systems are forced to always have
        # FIXME a 2 second delay when calling read_nonblocking? That sucks.
        if timeout is not None and timeout < 2:
            timeout = 2

    # Because of the select(0) check above, we know that no data
    # is available right now. But if a non-zero timeout is given
    # (possibly timeout=None), we call select() with a timeout.
    if (timeout != 0) and select(timeout):
      return super(spawn, self).read_nonblocking(size)

../../venv3/lib/python3.6/site-packages/pexpect/pty_spawn.py:500:


self = <pexpect.pty_spawn.spawn object at 0x7f24523afa90>, size = 2000, timeout = None

def read_nonblocking(self, size=1, timeout=None):
    """This reads data from the file descriptor.

    This is a simple implementation suitable for a regular file. Subclasses using ptys or pipes should override it.

    The timeout parameter is ignored.
    """

    try:
        s = os.read(self.child_fd, size)
    except OSError as err:
        if err.args[0] == errno.EIO:
            # Linux-style EOF
            self.flag_eof = True
          raise EOF('End Of File (EOF). Exception style platform.')

E pexpect.exceptions.EOF: End Of File (EOF). Exception style platform.

../../venv3/lib/python3.6/site-packages/pexpect/spawnbase.py:171: EOF

During handling of the above exception, another exception occurred:

self =

def testRegressionRun( self ):
    "Test pingpair (0% drop) and iperf (bw > 0) regression tests"
    # test pingpair
    p = pexpect.spawn( 'mn --test pingpair' )
  p.expect( '0% dropped' )

mininet/test/test_walkthrough.py:168:


../../venv3/lib/python3.6/site-packages/pexpect/spawnbase.py:341: in expect timeout, searchwindowsize, async_) ../../venv3/lib/python3.6/site-packages/pexpect/spawnbase.py:369: in expect_list return exp.expect_loop(timeout) ../../venv3/lib/python3.6/site-packages/pexpect/expect.py:117: in expect_loop return self.eof(e)


self = <pexpect.expect.Expecter object at 0x7f24523afb00>, err = EOF('End Of File (EOF). Exception style platform.',)

def eof(self, err=None):
    spawn = self.spawn

    spawn.before = spawn.buffer
    spawn._buffer = spawn.buffer_type()
    spawn._before = spawn.buffer_type()
    spawn.after = EOF
    index = self.searcher.eof_index
    if index >= 0:
        spawn.match = EOF
        spawn.match_index = index
        return index
    else:
        spawn.match = None
        spawn.match_index = None
        msg = str(spawn)
        msg += '\nsearcher: %s' % self.searcher
        if err is not None:
            msg = str(err) + '\n' + msg
      raise EOF(msg)

E pexpect.exceptions.EOF: End Of File (EOF). Exception style platform. E <pexpect.pty_spawn.spawn object at 0x7f24523afa90> E command: /home/ich/work/venv3/bin/mn E args: ['/home/ich/work/venv3/bin/mn', '--test', 'pingpair'] E buffer (last 100 chars): b'' E before (last 100 chars): b'hernet\r\npkill -9 -f .ssh/mn\r\nrm -f ~/.ssh/mn/*\r\n Removing SAP NAT rules\r\n Cleanup complete.\r\n' E after: <class 'pexpect.exceptions.EOF'> E match: None E match_index: None E exitstatus: None E flag_eof: True E pid: 24204 E child_fd: 180 E closed: False E timeout: 30 E delimiter: <class 'pexpect.exceptions.EOF'> E logfile: None E logfile_read: None E logfile_send: None E maxread: 2000 E ignorecase: False E searchwindowsize: None E delaybeforesend: 0.05 E delayafterclose: 0.1 E delayafterterminate: 0.1 E searcher: searcher_re: E 0: re.compile(b'0% dropped')

../../venv3/lib/python3.6/site-packages/pexpect/expect.py:63: EOF ____ testWalkthrough.testSimpleHTTP _____

self = <pexpect.expect.Expecter object at 0x7f24524cf550>, timeout = 29.106892108917236

def expect_loop(self, timeout=-1):
    """Blocking expect"""
    spawn = self.spawn

    if timeout is not None:
        end_time = time.time() + timeout

    try:
        incoming = spawn.buffer
        spawn._buffer = spawn.buffer_type()
        spawn._before = spawn.buffer_type()
        while True:
            idx = self.new_data(incoming)
            # Keep reading until exception or return.
            if idx is not None:
                return idx
            # No match at this point
            if (timeout is not None) and (timeout < 0):
                return self.timeout()
            # Still have time left, so read more data
          incoming = spawn.read_nonblocking(spawn.maxread, timeout)

../../venv3/lib/python3.6/site-packages/pexpect/expect.py:111:


self = <pexpect.pty_spawn.spawn object at 0x7f2452476908>, size = 2000, timeout = 29.106892108917236

def read_nonblocking(self, size=1, timeout=-1):
    '''This reads at most size characters from the child application. It
    includes a timeout. If the read does not complete within the timeout
    period then a TIMEOUT exception is raised. If the end of file is read
    then an EOF exception will be raised.  If a logfile is specified, a
    copy is written to that log.

    If timeout is None then the read may block indefinitely.
    If timeout is -1 then the self.timeout value is used. If timeout is 0
    then the child is polled and if there is no data immediately ready
    then this will raise a TIMEOUT exception.

    The timeout refers only to the amount of time to read at least one
    character. This is not affected by the 'size' parameter, so if you call
    read_nonblocking(size=100, timeout=30) and only one character is
    available right away then one character will be returned immediately.
    It will not wait for 30 seconds for another 99 characters to come in.

    On the other hand, if there are bytes available to read immediately,
    all those bytes will be read (up to the buffer size). So, if the
    buffer size is 1 megabyte and there is 1 megabyte of data available
    to read, the buffer will be filled, regardless of timeout.

    This is a wrapper around os.read(). It uses select.select() or
    select.poll() to implement the timeout. '''

    if self.closed:
        raise ValueError('I/O operation on closed file.')

    if self.use_poll:
        def select(timeout):
            return poll_ignore_interrupts([self.child_fd], timeout)
    else:
        def select(timeout):
            return select_ignore_interrupts([self.child_fd], [], [], timeout)[0]

    # If there is data available to read right now, read as much as
    # we can. We do this to increase performance if there are a lot
    # of bytes to be read. This also avoids calling isalive() too
    # often. See also:
    # * https://github.com/pexpect/pexpect/pull/304
    # * http://trac.sagemath.org/ticket/10295
    if select(0):
        try:
            incoming = super(spawn, self).read_nonblocking(size)
        except EOF:
            # Maybe the child is dead: update some attributes in that case
            self.isalive()
            raise
        while len(incoming) < size and select(0):
            try:
                incoming += super(spawn, self).read_nonblocking(size - len(incoming))
            except EOF:
                # Maybe the child is dead: update some attributes in that case
                self.isalive()
                # Don't raise EOF, just return what we read so far.
                return incoming
        return incoming

    if timeout == -1:
        timeout = self.timeout

    if not self.isalive():
        # The process is dead, but there may or may not be data
        # available to read. Note that some systems such as Solaris
        # do not give an EOF when the child dies. In fact, you can
        # still try to read from the child_fd -- it will block
        # forever or until TIMEOUT. For that reason, it's important
        # to do this check before calling select() with timeout.
        if select(0):
            return super(spawn, self).read_nonblocking(size)
        self.flag_eof = True
        raise EOF('End Of File (EOF). Braindead platform.')
    elif self.__irix_hack:
        # Irix takes a long time before it realizes a child was terminated.
        # Make sure that the timeout is at least 2 seconds.
        # FIXME So does this mean Irix systems are forced to always have
        # FIXME a 2 second delay when calling read_nonblocking? That sucks.
        if timeout is not None and timeout < 2:
            timeout = 2

    # Because of the select(0) check above, we know that no data
    # is available right now. But if a non-zero timeout is given
    # (possibly timeout=None), we call select() with a timeout.
    if (timeout != 0) and select(timeout):
        return super(spawn, self).read_nonblocking(size)

    if not self.isalive():
        # Some platforms, such as Irix, will claim that their
        # processes are alive; timeout on the select; and
        # then finally admit that they are not alive.
        self.flag_eof = True
        raise EOF('End of File (EOF). Very slow platform.')
    else:
      raise TIMEOUT('Timeout exceeded.')

E pexpect.exceptions.TIMEOUT: Timeout exceeded.

../../venv3/lib/python3.6/site-packages/pexpect/pty_spawn.py:509: TIMEOUT

During handling of the above exception, another exception occurred:

self =

def testSimpleHTTP( self ):
    "Start an HTTP server on h1 and wget from h2"
    p = pexpect.spawn( 'mn' )
  p.expect( self.prompt )

mininet/test/test_walkthrough.py:152:


../../venv3/lib/python3.6/site-packages/pexpect/spawnbase.py:341: in expect timeout, searchwindowsize, async_) ../../venv3/lib/python3.6/site-packages/pexpect/spawnbase.py:369: in expect_list return exp.expect_loop(timeout) ../../venv3/lib/python3.6/site-packages/pexpect/expect.py:119: in expect_loop return self.timeout(e)


self = <pexpect.expect.Expecter object at 0x7f24524cf550>, err = TIMEOUT('Timeout exceeded.',)

def timeout(self, err=None):
    spawn = self.spawn

    spawn.before = spawn.buffer
    spawn.after = TIMEOUT
    index = self.searcher.timeout_index
    if index >= 0:
        spawn.match = TIMEOUT
        spawn.match_index = index
        return index
    else:
        spawn.match = None
        spawn.match_index = None
        msg = str(spawn)
        msg += '\nsearcher: %s' % self.searcher
        if err is not None:
            msg = str(err) + '\n' + msg
      raise TIMEOUT(msg)

E pexpect.exceptions.TIMEOUT: Timeout exceeded. E <pexpect.pty_spawn.spawn object at 0x7f2452476908> E command: /home/ich/work/venv3/bin/mn E args: ['/home/ich/work/venv3/bin/mn'] E buffer (last 100 chars): b'2 \r\n Starting controller\r\nc0 \r\n Starting 1 switches\r\ns1 ...\r\n Starting CLI:\r\ncontainernet> ' E before (last 100 chars): b'2 \r\n Starting controller\r\nc0 \r\n Starting 1 switches\r\ns1 ...\r\n Starting CLI:\r\ncontainernet> ' E after: <class 'pexpect.exceptions.TIMEOUT'> E match: None E match_index: None E exitstatus: None E flag_eof: False E pid: 24540 E child_fd: 26 E closed: False E timeout: 30 E delimiter: <class 'pexpect.exceptions.EOF'> E logfile: None E logfile_read: None E logfile_send: None E maxread: 2000 E ignorecase: False E searchwindowsize: None E delaybeforesend: 0.05 E delayafterclose: 0.1 E delayafterterminate: 0.1 E searcher: searcher_re: E 0: re.compile(b'mininet>')

../../venv3/lib/python3.6/site-packages/pexpect/expect.py:82: TIMEOUT testWalkthrough.testStaticMAC

self = <pexpect.pty_spawn.spawn object at 0x7f24526b7080>, size = 2000, timeout = None

def read_nonblocking(self, size=1, timeout=None):
    """This reads data from the file descriptor.

    This is a simple implementation suitable for a regular file. Subclasses using ptys or pipes should override it.

    The timeout parameter is ignored.
    """

    try:
      s = os.read(self.child_fd, size)

E OSError: [Errno 5] Input/output error

../../venv3/lib/python3.6/site-packages/pexpect/spawnbase.py:166: OSError

During handling of the above exception, another exception occurred:

self = <pexpect.expect.Expecter object at 0x7f24526b78d0>, timeout = 27.92542576789856

def expect_loop(self, timeout=-1):
    """Blocking expect"""
    spawn = self.spawn

    if timeout is not None:
        end_time = time.time() + timeout

    try:
        incoming = spawn.buffer
        spawn._buffer = spawn.buffer_type()
        spawn._before = spawn.buffer_type()
        while True:
            idx = self.new_data(incoming)
            # Keep reading until exception or return.
            if idx is not None:
                return idx
            # No match at this point
            if (timeout is not None) and (timeout < 0):
                return self.timeout()
            # Still have time left, so read more data
          incoming = spawn.read_nonblocking(spawn.maxread, timeout)

../../venv3/lib/python3.6/site-packages/pexpect/expect.py:111:


self = <pexpect.pty_spawn.spawn object at 0x7f24526b7080>, size = 2000, timeout = 27.92542576789856

def read_nonblocking(self, size=1, timeout=-1):
    '''This reads at most size characters from the child application. It
    includes a timeout. If the read does not complete within the timeout
    period then a TIMEOUT exception is raised. If the end of file is read
    then an EOF exception will be raised.  If a logfile is specified, a
    copy is written to that log.

    If timeout is None then the read may block indefinitely.
    If timeout is -1 then the self.timeout value is used. If timeout is 0
    then the child is polled and if there is no data immediately ready
    then this will raise a TIMEOUT exception.

    The timeout refers only to the amount of time to read at least one
    character. This is not affected by the 'size' parameter, so if you call
    read_nonblocking(size=100, timeout=30) and only one character is
    available right away then one character will be returned immediately.
    It will not wait for 30 seconds for another 99 characters to come in.

    On the other hand, if there are bytes available to read immediately,
    all those bytes will be read (up to the buffer size). So, if the
    buffer size is 1 megabyte and there is 1 megabyte of data available
    to read, the buffer will be filled, regardless of timeout.

    This is a wrapper around os.read(). It uses select.select() or
    select.poll() to implement the timeout. '''

    if self.closed:
        raise ValueError('I/O operation on closed file.')

    if self.use_poll:
        def select(timeout):
            return poll_ignore_interrupts([self.child_fd], timeout)
    else:
        def select(timeout):
            return select_ignore_interrupts([self.child_fd], [], [], timeout)[0]

    # If there is data available to read right now, read as much as
    # we can. We do this to increase performance if there are a lot
    # of bytes to be read. This also avoids calling isalive() too
    # often. See also:
    # * https://github.com/pexpect/pexpect/pull/304
    # * http://trac.sagemath.org/ticket/10295
    if select(0):
        try:
            incoming = super(spawn, self).read_nonblocking(size)
        except EOF:
            # Maybe the child is dead: update some attributes in that case
            self.isalive()
            raise
        while len(incoming) < size and select(0):
            try:
                incoming += super(spawn, self).read_nonblocking(size - len(incoming))
            except EOF:
                # Maybe the child is dead: update some attributes in that case
                self.isalive()
                # Don't raise EOF, just return what we read so far.
                return incoming
        return incoming

    if timeout == -1:
        timeout = self.timeout

    if not self.isalive():
        # The process is dead, but there may or may not be data
        # available to read. Note that some systems such as Solaris
        # do not give an EOF when the child dies. In fact, you can
        # still try to read from the child_fd -- it will block
        # forever or until TIMEOUT. For that reason, it's important
        # to do this check before calling select() with timeout.
        if select(0):
            return super(spawn, self).read_nonblocking(size)
        self.flag_eof = True
        raise EOF('End Of File (EOF). Braindead platform.')
    elif self.__irix_hack:
        # Irix takes a long time before it realizes a child was terminated.
        # Make sure that the timeout is at least 2 seconds.
        # FIXME So does this mean Irix systems are forced to always have
        # FIXME a 2 second delay when calling read_nonblocking? That sucks.
        if timeout is not None and timeout < 2:
            timeout = 2

    # Because of the select(0) check above, we know that no data
    # is available right now. But if a non-zero timeout is given
    # (possibly timeout=None), we call select() with a timeout.
    if (timeout != 0) and select(timeout):
      return super(spawn, self).read_nonblocking(size)

../../venv3/lib/python3.6/site-packages/pexpect/pty_spawn.py:500:


self = <pexpect.pty_spawn.spawn object at 0x7f24526b7080>, size = 2000, timeout = None

def read_nonblocking(self, size=1, timeout=None):
    """This reads data from the file descriptor.

    This is a simple implementation suitable for a regular file. Subclasses using ptys or pipes should override it.

    The timeout parameter is ignored.
    """

    try:
        s = os.read(self.child_fd, size)
    except OSError as err:
        if err.args[0] == errno.EIO:
            # Linux-style EOF
            self.flag_eof = True
          raise EOF('End Of File (EOF). Exception style platform.')

E pexpect.exceptions.EOF: End Of File (EOF). Exception style platform.

../../venv3/lib/python3.6/site-packages/pexpect/spawnbase.py:171: EOF

During handling of the above exception, another exception occurred:

self =

def testStaticMAC( self ):
    "Verify that MACs are set to easy to read numbers"
    p = pexpect.spawn( 'mn --mac' )
  p.expect( self.prompt )

mininet/test/test_walkthrough.py:247:


../../venv3/lib/python3.6/site-packages/pexpect/spawnbase.py:341: in expect timeout, searchwindowsize, async_) ../../venv3/lib/python3.6/site-packages/pexpect/spawnbase.py:369: in expect_list return exp.expect_loop(timeout) ../../venv3/lib/python3.6/site-packages/pexpect/expect.py:117: in expect_loop return self.eof(e)


self = <pexpect.expect.Expecter object at 0x7f24526b78d0>, err = EOF('End Of File (EOF). Exception style platform.',)

def eof(self, err=None):
    spawn = self.spawn

    spawn.before = spawn.buffer
    spawn._buffer = spawn.buffer_type()
    spawn._before = spawn.buffer_type()
    spawn.after = EOF
    index = self.searcher.eof_index
    if index >= 0:
        spawn.match = EOF
        spawn.match_index = index
        return index
    else:
        spawn.match = None
        spawn.match_index = None
        msg = str(spawn)
        msg += '\nsearcher: %s' % self.searcher
        if err is not None:
            msg = str(err) + '\n' + msg
      raise EOF(msg)

E pexpect.exceptions.EOF: End Of File (EOF). Exception style platform. E <pexpect.pty_spawn.spawn object at 0x7f24526b7080> E command: /home/ich/work/venv3/bin/mn E args: ['/home/ich/work/venv3/bin/mn', '--mac'] E buffer (last 100 chars): b'' E before (last 100 chars): b'hernet\r\npkill -9 -f .ssh/mn\r\nrm -f ~/.ssh/mn/*\r\n Removing SAP NAT rules\r\n Cleanup complete.\r\n' E after: <class 'pexpect.exceptions.EOF'> E match: None E match_index: None E exitstatus: None E flag_eof: True E pid: 24680 E child_fd: 33 E closed: False E timeout: 30 E delimiter: <class 'pexpect.exceptions.EOF'> E logfile: None E logfile_read: None E logfile_send: None E maxread: 2000 E ignorecase: False E searchwindowsize: None E delaybeforesend: 0.05 E delayafterclose: 0.1 E delayafterterminate: 0.1 E searcher: searcher_re: E 0: re.compile(b'mininet>')

../../venv3/lib/python3.6/site-packages/pexpect/expect.py:63: EOF testWalkthrough.testVerbosity

self = <pexpect.expect.Expecter object at 0x7f245235a748>, timeout = 29.13392424583435

def expect_loop(self, timeout=-1):
    """Blocking expect"""
    spawn = self.spawn

    if timeout is not None:
        end_time = time.time() + timeout

    try:
        incoming = spawn.buffer
        spawn._buffer = spawn.buffer_type()
        spawn._before = spawn.buffer_type()
        while True:
            idx = self.new_data(incoming)
            # Keep reading until exception or return.
            if idx is not None:
                return idx
            # No match at this point
            if (timeout is not None) and (timeout < 0):
                return self.timeout()
            # Still have time left, so read more data
          incoming = spawn.read_nonblocking(spawn.maxread, timeout)

../../venv3/lib/python3.6/site-packages/pexpect/expect.py:111:


self = <pexpect.pty_spawn.spawn object at 0x7f245235a978>, size = 2000, timeout = 29.13392424583435

def read_nonblocking(self, size=1, timeout=-1):
    '''This reads at most size characters from the child application. It
    includes a timeout. If the read does not complete within the timeout
    period then a TIMEOUT exception is raised. If the end of file is read
    then an EOF exception will be raised.  If a logfile is specified, a
    copy is written to that log.

    If timeout is None then the read may block indefinitely.
    If timeout is -1 then the self.timeout value is used. If timeout is 0
    then the child is polled and if there is no data immediately ready
    then this will raise a TIMEOUT exception.

    The timeout refers only to the amount of time to read at least one
    character. This is not affected by the 'size' parameter, so if you call
    read_nonblocking(size=100, timeout=30) and only one character is
    available right away then one character will be returned immediately.
    It will not wait for 30 seconds for another 99 characters to come in.

    On the other hand, if there are bytes available to read immediately,
    all those bytes will be read (up to the buffer size). So, if the
    buffer size is 1 megabyte and there is 1 megabyte of data available
    to read, the buffer will be filled, regardless of timeout.

    This is a wrapper around os.read(). It uses select.select() or
    select.poll() to implement the timeout. '''

    if self.closed:
        raise ValueError('I/O operation on closed file.')

    if self.use_poll:
        def select(timeout):
            return poll_ignore_interrupts([self.child_fd], timeout)
    else:
        def select(timeout):
            return select_ignore_interrupts([self.child_fd], [], [], timeout)[0]

    # If there is data available to read right now, read as much as
    # we can. We do this to increase performance if there are a lot
    # of bytes to be read. This also avoids calling isalive() too
    # often. See also:
    # * https://github.com/pexpect/pexpect/pull/304
    # * http://trac.sagemath.org/ticket/10295
    if select(0):
        try:
            incoming = super(spawn, self).read_nonblocking(size)
        except EOF:
            # Maybe the child is dead: update some attributes in that case
            self.isalive()
            raise
        while len(incoming) < size and select(0):
            try:
                incoming += super(spawn, self).read_nonblocking(size - len(incoming))
            except EOF:
                # Maybe the child is dead: update some attributes in that case
                self.isalive()
                # Don't raise EOF, just return what we read so far.
                return incoming
        return incoming

    if timeout == -1:
        timeout = self.timeout

    if not self.isalive():
        # The process is dead, but there may or may not be data
        # available to read. Note that some systems such as Solaris
        # do not give an EOF when the child dies. In fact, you can
        # still try to read from the child_fd -- it will block
        # forever or until TIMEOUT. For that reason, it's important
        # to do this check before calling select() with timeout.
        if select(0):
            return super(spawn, self).read_nonblocking(size)
        self.flag_eof = True
        raise EOF('End Of File (EOF). Braindead platform.')
    elif self.__irix_hack:
        # Irix takes a long time before it realizes a child was terminated.
        # Make sure that the timeout is at least 2 seconds.
        # FIXME So does this mean Irix systems are forced to always have
        # FIXME a 2 second delay when calling read_nonblocking? That sucks.
        if timeout is not None and timeout < 2:
            timeout = 2

    # Because of the select(0) check above, we know that no data
    # is available right now. But if a non-zero timeout is given
    # (possibly timeout=None), we call select() with a timeout.
    if (timeout != 0) and select(timeout):
        return super(spawn, self).read_nonblocking(size)

    if not self.isalive():
        # Some platforms, such as Irix, will claim that their
        # processes are alive; timeout on the select; and
        # then finally admit that they are not alive.
        self.flag_eof = True
        raise EOF('End of File (EOF). Very slow platform.')
    else:
      raise TIMEOUT('Timeout exceeded.')

E pexpect.exceptions.TIMEOUT: Timeout exceeded.

../../venv3/lib/python3.6/site-packages/pexpect/pty_spawn.py:509: TIMEOUT

During handling of the above exception, another exception occurred:

self =

def testVerbosity( self ):
    "Test debug and output verbosity"
    # test output
    p = pexpect.spawn( 'mn -v output' )
  p.expect( self.prompt )

mininet/test/test_walkthrough.py:222:


../../venv3/lib/python3.6/site-packages/pexpect/spawnbase.py:341: in expect timeout, searchwindowsize, async_) ../../venv3/lib/python3.6/site-packages/pexpect/spawnbase.py:369: in expect_list return exp.expect_loop(timeout) ../../venv3/lib/python3.6/site-packages/pexpect/expect.py:119: in expect_loop return self.timeout(e)


self = <pexpect.expect.Expecter object at 0x7f245235a748>, err = TIMEOUT('Timeout exceeded.',)

def timeout(self, err=None):
    spawn = self.spawn

    spawn.before = spawn.buffer
    spawn.after = TIMEOUT
    index = self.searcher.timeout_index
    if index >= 0:
        spawn.match = TIMEOUT
        spawn.match_index = index
        return index
    else:
        spawn.match = None
        spawn.match_index = None
        msg = str(spawn)
        msg += '\nsearcher: %s' % self.searcher
        if err is not None:
            msg = str(err) + '\n' + msg
      raise TIMEOUT(msg)

E pexpect.exceptions.TIMEOUT: Timeout exceeded. E <pexpect.pty_spawn.spawn object at 0x7f245235a978> E command: /home/ich/work/venv3/bin/mn E args: ['/home/ich/work/venv3/bin/mn', '-v', 'output'] E buffer (last 100 chars): b'containernet> ' E before (last 100 chars): b'containernet> ' E after: <class 'pexpect.exceptions.TIMEOUT'> E match: None E match_index: None E exitstatus: None E flag_eof: False E pid: 26607 E child_fd: 173 E closed: False E timeout: 30 E delimiter: <class 'pexpect.exceptions.EOF'> E logfile: None E logfile_read: None E logfile_send: None E maxread: 2000 E ignorecase: False E searchwindowsize: None E delaybeforesend: 0.05 E delayafterclose: 0.1 E delayafterterminate: 0.1 E searcher: searcher_re: E 0: re.compile(b'mininet>')

../../venv3/lib/python3.6/site-packages/pexpect/expect.py:82: TIMEOUT testWalkthrough.testWireshark

self =

def testWireshark( self ):
    "Use tshark to test the of dissector"
    # Satisfy pylint
    assert self
  if StrictVersion( tsharkVersion() ) < StrictVersion( '1.12.0' ):

mininet/test/test_walkthrough.py:41:


def tsharkVersion():
    "Return tshark version"
    versionStr = quietRun( 'tshark -v' )
  versionMatch = re.findall( r'TShark \d+.\d+.\d+', versionStr )[0]

E IndexError: list index out of range

mininet/test/test_walkthrough.py:19: IndexError ============================================================== 87 failed, 56 passed, 18 skipped in 924.35 seconds ===============================================================

RafaelSche commented 4 years ago
(venv3) root@ich-p6-2350eg:/home/ich/work/vim-emu# ./pipeline_local.sh 
Running unit tests ...
============================================================================== test session starts ==============================================================================
platform linux -- Python 3.6.9, pytest-4.6.4, py-1.8.0, pluggy-0.13.1 -- /home/ich/work/venv3/bin/python3
cachedir: .pytest_cache
rootdir: /home/ich/work/vim-emu, inifile: pytest.ini
collected 30 items                                                                                                                                                              

src/emuvim/test/unittests/test_emulator.py::testEmulatorTopology::testMultipleDatacenterDirect PASSED                                                                     [  3%]
src/emuvim/test/unittests/test_emulator.py::testEmulatorTopology::testMultipleDatacenterWithIntermediateSwitches PASSED                                                   [  6%]
src/emuvim/test/unittests/test_emulator.py::testEmulatorTopology::testSingleDatacenter PASSED                                                                             [ 10%]
src/emuvim/test/unittests/test_emulator.py::testEmulatorNetworking::testSDNChainingMultiService PASSED                                                                    [ 13%]
src/emuvim/test/unittests/test_emulator.py::testEmulatorNetworking::testSDNChainingSingleService PASSED                                                                   [ 16%]
src/emuvim/test/unittests/test_emulator.py::testEmulatorNetworking::testSDNChainingSingleService_withLearning PASSED                                                      [ 20%]
src/emuvim/test/unittests/test_emulator.py::testEmulatorCompute::testAddSingleComputeSingleDC PASSED                                                                      [ 23%]
src/emuvim/test/unittests/test_emulator.py::testEmulatorCompute::testConnectivityMultiDC PASSED                                                                           [ 26%]
src/emuvim/test/unittests/test_emulator.py::testEmulatorCompute::testGetStatusSingleComputeSingleDC PASSED                                                                [ 30%]
src/emuvim/test/unittests/test_emulator.py::testEmulatorCompute::testInterleavedAddRemoveMultiDC PASSED                                                                   [ 33%]
src/emuvim/test/unittests/test_emulator.py::testEmulatorCompute::testRemoveSingleComputeSingleDC PASSED                                                                   [ 36%]
src/emuvim/test/unittests/test_flow_classifier.py::FlowClassifierTest::test_empty_flow_classifier_to_match_conversion PASSED                                              [ 40%]
src/emuvim/test/unittests/test_flow_classifier.py::FlowClassifierTest::test_tcp_ip_flow_classifier_to_match_conversion PASSED                                             [ 43%]
src/emuvim/test/unittests/test_openstack.py::testRestApi::testHeatDummy PASSED                                                                                            [ 46%]
src/emuvim/test/unittests/test_openstack.py::testRestApi::testKeystomeDummy PASSED                                                                                        [ 50%]
src/emuvim/test/unittests/test_openstack.py::testRestApi::testNeutronDummy PASSED                                                                                         [ 53%]
src/emuvim/test/unittests/test_openstack.py::testRestApi::testNeutronSFC PASSED                                                                                           [ 56%]
src/emuvim/test/unittests/test_openstack.py::testRestApi::testNovaDummy PASSED                                                                                            [ 60%]
src/emuvim/test/unittests/test_resourcemodel.py::testResourceModel::testAddRmToDc PASSED                                                                                  [ 63%]
src/emuvim/test/unittests/test_resourcemodel.py::testResourceModel::testBaseResourceModelApi PASSED                                                                       [ 66%]
src/emuvim/test/unittests/test_resourcemodel.py::testUpbSimpleCloudDcRM::testAllocationComputations PASSED                                                                [ 70%]
src/emuvim/test/unittests/test_resourcemodel.py::testUpbSimpleCloudDcRM::testAllocationCpuLimit PASSED                                                                    [ 73%]
src/emuvim/test/unittests/test_resourcemodel.py::testUpbSimpleCloudDcRM::testAllocationMemLimit PASSED                                                                    [ 76%]
src/emuvim/test/unittests/test_resourcemodel.py::testUpbSimpleCloudDcRM::testFree PASSED                                                                                  [ 80%]
src/emuvim/test/unittests/test_resourcemodel.py::testUpbSimpleCloudDcRM::testInRealTopo PASSED                                                                            [ 83%]
src/emuvim/test/unittests/test_resourcemodel.py::testUpbOverprovisioningCloudDcRM::testAllocationComputations PASSED                                                      [ 86%]
src/emuvim/test/unittests/test_resourcemodel.py::testUpbDummyRM::testAllocationComputations PASSED                                                                        [ 90%]
src/emuvim/test/unittests/test_restapi.py::testRestApi::testRestApi PASSED                                                                                                [ 93%]
src/emuvim/test/unittests/test_tango_llcm.py::testTangoLLCM::test_tango_llcm_start_service PASSED                                                                         [ 96%]
src/emuvim/test/unittests/test_tango_llcm.py::testTangoLLCM::test_tango_llcm_stop_service PASSED                                                                          [100%]

=============================================================================== warnings summary ================================================================================
src/emuvim/test/unittests/test_openstack.py::testRestApi::testHeatDummy
  /home/ich/work/vim-emu/src/emuvim/test/unittests/test_openstack.py:787: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
    yaml.load(test_heatapi_template_create_stack)), headers=headers)

src/emuvim/test/unittests/test_openstack.py::testRestApi::testHeatDummy
  /home/ich/work/vim-emu/src/emuvim/test/unittests/test_openstack.py:841: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
    updatestackresponse = requests.put(url, data=json.dumps(yaml.load(test_heatapi_template_update_stack)),

src/emuvim/test/unittests/test_openstack.py::testRestApi::testKeystomeDummy
  /home/ich/work/vim-emu/src/emuvim/test/unittests/test_openstack.py:757: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
    yaml.load(test_heatapi_keystone_get_token)), headers=headers)

src/emuvim/test/unittests/test_openstack.py::testRestApi::testNeutronDummy
  /home/ich/work/vim-emu/src/emuvim/test/unittests/test_openstack.py:294: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
    yaml.load(test_heatapi_template_create_stack)), headers=headers)

src/emuvim/test/unittests/test_openstack.py::testRestApi::testNeutronSFC
  /home/ich/work/vim-emu/src/emuvim/api/openstack/resources/port_chain.py:111: DeprecationWarning: The 'warn' function is deprecated, use 'warning' instead
    logging.warn("Updating flows is currently not implemented.")

src/emuvim/test/unittests/test_openstack.py::testRestApi::testNeutronSFC
  /home/ich/work/vim-emu/src/emuvim/api/openstack/resources/port_chain.py:107: DeprecationWarning: The 'warn' function is deprecated, use 'warning' instead
    logging.warn("Removing flows is currently not implemented.")

src/emuvim/test/unittests/test_openstack.py::testRestApi::testNovaDummy
  /home/ich/work/vim-emu/src/emuvim/test/unittests/test_openstack.py:65: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
    requests.post(url, data=json.dumps(yaml.load(test_heatapi_template_create_stack)),

src/emuvim/test/unittests/test_tango_llcm.py::testTangoLLCM::test_tango_llcm_start_service
src/emuvim/test/unittests/test_tango_llcm.py::testTangoLLCM::test_tango_llcm_stop_service
  /home/ich/work/vim-emu/src/emuvim/api/tango/llcm.py:1265: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
    r = yaml.load(f)

-- Docs: https://docs.pytest.org/en/latest/warnings.html
=================================================================== 30 passed, 9 warnings in 1117.37 seconds ====================================================================
do everything in Docker, like it is done by Jenkins
Sending build context to Docker daemon  3.952MB
Step 1/28 : FROM ubuntu:xenial
 ---> 56bab49eef2e
Step 2/28 : ENV SON_EMU_IN_DOCKER 1
 ---> Using cache
 ---> 83c2c09d9fe1
Step 3/28 : ENV PIP_DEFAULT_TIMEOUT=100
 ---> Using cache
 ---> 6e36a70876b3
Step 4/28 : RUN apt-get clean
 ---> Using cache
 ---> 24e63cd888eb
Step 5/28 : RUN apt-get update     && apt-get install -y  git     net-tools     aptitude     apt-utils     build-essential     python3-setuptools     python3-dev     python3-pip     python-all-dev     libevent-dev     software-properties-common     ansible     curl     iptables     iputils-ping     sudo     vim     nano
 ---> Using cache
 ---> 173387e6c162
Step 6/28 : RUN git clone https://github.com/RafaelSche/containernet.git
 ---> Using cache
 ---> 8e5276cb5bfc
Step 7/28 : WORKDIR /containernet/ansible
 ---> Using cache
 ---> e944cae01b30
Step 8/28 : RUN ansible-playbook -i "localhost," -c local --skip-tags "notindocker" install_py3.yml
 ---> Using cache
 ---> ed0b38f01d27
Step 9/28 : COPY . /son-emu
 ---> Using cache
 ---> dd46c746bbd1
Step 10/28 : WORKDIR /son-emu/ansible
 ---> Using cache
 ---> e0ab75f3d4ab
Step 11/28 : RUN ansible-playbook -i "localhost," -c local --skip-tags "notindocker" install_py3.yml
 ---> Using cache
 ---> d8b18ea145e5
Step 12/28 : WORKDIR /son-emu
 ---> Using cache
 ---> f11d8993d799
Step 13/28 : RUN python3 setup.py develop
 ---> Using cache
 ---> ff306bb51e6e
Step 14/28 : RUN pip3 install "more-itertools<=5.0.0"
 ---> Using cache
 ---> 2674a75f7900
Step 15/28 : RUN pip3 install "tinyrpc==1.0.3"
 ---> Using cache
 ---> e7edcc548422
Step 16/28 : ENTRYPOINT ["/son-emu/utils/docker/entrypoint.sh"]
 ---> Using cache
 ---> 6abf2aa1f471
Step 17/28 : CMD ["python3", "examples/default_single_dc_topology.py"]
 ---> Using cache
 ---> 5580942e2295
Step 18/28 : CMD /bin/bash
 ---> Using cache
 ---> 0b80be3fac2b
Step 19/28 : EXPOSE 5000
 ---> Using cache
 ---> 26ce0d768e91
Step 20/28 : EXPOSE 5001
 ---> Using cache
 ---> c71215ed78a5
Step 21/28 : EXPOSE 8081
 ---> Using cache
 ---> 98fafbf380e7
Step 22/28 : EXPOSE 9091
 ---> Using cache
 ---> 5431a363c100
Step 23/28 : EXPOSE 4000
 ---> Using cache
 ---> 45a81295f8e5
Step 24/28 : EXPOSE 10243
 ---> Using cache
 ---> 30bc7ba57406
Step 25/28 : EXPOSE 9005
 ---> Using cache
 ---> 3e598782cacd
Step 26/28 : EXPOSE 6001
 ---> Using cache
 ---> 00cf3d694c67
Step 27/28 : EXPOSE 9775
 ---> Using cache
 ---> 93bc890dcf20
Step 28/28 : EXPOSE 10697
 ---> Using cache
 ---> 0497ab7abd0e
Successfully built 0497ab7abd0e
Successfully tagged vim-emu-loc-test:latest
+ exec /containernet/util/docker/entrypoint.sh python3 -m pytest -v
 * /etc/openvswitch/conf.db does not exist
 * Creating empty database /etc/openvswitch/conf.db
 * Starting ovsdb-server
 * Configuring Open vSwitch system IDs
 * Starting ovs-vswitchd
 * Enabling remote OVSDB managers
Pulling the "ubuntu:trusty" and "ubuntu:xenial" image for later use...
trusty: Pulling from library/ubuntu
Digest: sha256:3590458403b522985068fa21888da3e351e5c72833936757c33baf9555b09e1e
Status: Image is up to date for ubuntu:trusty
docker.io/library/ubuntu:trusty
xenial: Pulling from library/ubuntu
Digest: sha256:e10375c69cf9e22989c82b0a87c932a21e33619ee322d6c7ce6a61456f54c30c
Status: Image is up to date for ubuntu:xenial
docker.io/library/ubuntu:xenial
Welcome to Containernet running within a Docker container ...
============================= test session starts ==============================
platform linux -- Python 3.5.2, pytest-4.6.4, py-1.8.0, pluggy-0.13.1 -- /usr/bin/python3
cachedir: .pytest_cache
rootdir: /son-emu, inifile: pytest.ini
collecting ... collected 30 items

src/emuvim/test/unittests/test_emulator.py::testEmulatorTopology::testMultipleDatacenterDirect PASSED [  3%]
src/emuvim/test/unittests/test_emulator.py::testEmulatorTopology::testMultipleDatacenterWithIntermediateSwitches PASSED [  6%]
src/emuvim/test/unittests/test_emulator.py::testEmulatorTopology::testSingleDatacenter PASSED [ 10%]
src/emuvim/test/unittests/test_emulator.py::testEmulatorNetworking::testSDNChainingMultiService PASSED [ 13%]
src/emuvim/test/unittests/test_emulator.py::testEmulatorNetworking::testSDNChainingSingleService PASSED [ 16%]
src/emuvim/test/unittests/test_emulator.py::testEmulatorNetworking::testSDNChainingSingleService_withLearning PASSED [ 20%]
src/emuvim/test/unittests/test_emulator.py::testEmulatorCompute::testAddSingleComputeSingleDC PASSED [ 23%]
src/emuvim/test/unittests/test_emulator.py::testEmulatorCompute::testConnectivityMultiDC PASSED [ 26%]
src/emuvim/test/unittests/test_emulator.py::testEmulatorCompute::testGetStatusSingleComputeSingleDC PASSED [ 30%]
src/emuvim/test/unittests/test_emulator.py::testEmulatorCompute::testInterleavedAddRemoveMultiDC PASSED [ 33%]
src/emuvim/test/unittests/test_emulator.py::testEmulatorCompute::testRemoveSingleComputeSingleDC PASSED [ 36%]
src/emuvim/test/unittests/test_flow_classifier.py::FlowClassifierTest::test_empty_flow_classifier_to_match_conversion PASSED [ 40%]
src/emuvim/test/unittests/test_flow_classifier.py::FlowClassifierTest::test_tcp_ip_flow_classifier_to_match_conversion PASSED [ 43%]
src/emuvim/test/unittests/test_openstack.py::testRestApi::testHeatDummy FAILED [ 46%]
src/emuvim/test/unittests/test_openstack.py::testRestApi::testKeystomeDummy FAILED [ 50%]
src/emuvim/test/unittests/test_openstack.py::testRestApi::testNeutronDummy ^C

=================================== FAILURES ===================================
__________________________ testRestApi.testHeatDummy ___________________________

self = <emuvim.test.unittests.test_openstack.testRestApi testMethod=testHeatDummy>

    def testHeatDummy(self):
        print('->>>>>>> test Heat Dummy Class->>>>>>>>>>>>>>>')
        print('->>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>')
        print(" ")

        headers = {'Content-type': 'application/json'}
        test_heatapi_template_create_stack = open(os.path.join(os.path.dirname(
            __file__), "templates/test_heatapi_template_create_stack.yml")).read()
        test_heatapi_template_update_stack = open(os.path.join(os.path.dirname(
            __file__), "templates/test_heatapi_template_update_stack.yml")).read()

        print('->>>>>>> test Heat List API Versions Stack ->>>>>>>>>>>>>>>')
        print('->>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>')
        url = "http://0.0.0.0:18004/"
        listapiversionstackresponse = requests.get(url, headers=headers)
        self.assertEqual(listapiversionstackresponse.status_code, 200)
        self.assertEqual(json.loads(listapiversionstackresponse.content)[
                         "versions"][0]["id"], "v1.0")
        print(" ")

        print('->>>>>>> test Create Stack ->>>>>>>>>>>>>>>')
        print('->>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>')
        url = "http://0.0.0.0:18004/v1/tenantabc123/stacks"
        createstackresponse = requests.post(url, data=json.dumps(
            yaml.load(test_heatapi_template_create_stack)), headers=headers)
>       self.assertEqual(createstackresponse.status_code, 201)
E       AssertionError: 500 != 201

src/emuvim/test/unittests/test_openstack.py:788: AssertionError
----------------------------- Captured stdout call -----------------------------
name_or_id:  mgmt
name_or_id:  mgmtnet
name_or_id:  mgmt
name_or_id:  mgmtnet
->>>>>>> test Heat Dummy Class->>>>>>>>>>>>>>>
->>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

->>>>>>> test Heat List API Versions Stack ->>>>>>>>>>>>>>>
->>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

->>>>>>> test Create Stack ->>>>>>>>>>>>>>>
->>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
->>>>>>> tear everything down ->>>>>>>>>>>>>>>
----------------------------- Captured stderr call -----------------------------
INFO:resourcemodel:Resource model registrar created with dc_emulation_max_cpu=1.0 and dc_emulation_max_mem=512
DEBUG:docker.auth:Trying paths: ['/root/.docker/config.json', '/root/.dockercfg']
DEBUG:docker.auth:No config file found
DEBUG:api.openstack.compute:Creating network with name mgmt
WARNING:api.openstack.compute:Could not find net 'mgmt' in dict_keys([]) or []
DEBUG:api.openstack.compute:Creating network with name mgmtnet
WARNING:api.openstack.compute:Could not find net 'mgmtnet' in dict_keys(['d4189d02-4fd8-4af6-be79-052f7cd0de1f']) or ['mgmt']
INFO:root:Starting ChainDummyApi endpoint @ http://0.0.0.0:4000
DEBUG:docker.auth:Trying paths: ['/root/.docker/config.json', '/root/.dockercfg']
DEBUG:docker.auth:No config file found
DEBUG:api.openstack.compute:Creating network with name mgmt
WARNING:api.openstack.compute:Could not find net 'mgmt' in dict_keys([]) or []
DEBUG:api.openstack.compute:Creating network with name mgmtnet
WARNING:api.openstack.compute:Could not find net 'mgmtnet' in dict_keys(['df2c6480-913c-4524-9b46-70e277704a81']) or ['mgmt']
DEBUG:dcemulator.net:addLink: n1=s1 intf1=s1-eth1 -- n2=s2 intf2=s2-eth1
DEBUG:dcemulator.net:addLink: n1=s2 intf1=s2-eth2 -- n2=s3 intf2=s3-eth1
DEBUG:dcemulator.net:addLink: n1=s3 intf1=s3-eth2 -- n2=s1 intf2=s1-eth2
DEBUG:dcemulator.node:created data center switch: dc19.s1
INFO:dcemulator.net:added data center: dc0
DEBUG:dcemulator.node:created data center switch: dc20.s1
INFO:dcemulator.net:added data center: dc1
DEBUG:dcemulator.net:addLink: n1=dc19.s1 intf1=dc19.s1-eth1 -- n2=s1 intf2=s1-eth3
INFO:root:Connected DC(dc0) to API endpoint OpenstackApiEndpoint(0.0.0.0:15000)
DEBUG:dcemulator.net:addLink: n1=root intf1=root-eth0 -- n2=fs1 intf2=fs1-eth1
INFO:root:Connected DCNetwork to API endpoint OpenstackApiEndpoint(0.0.0.0:15000)
INFO:root:Connected DC(dc1) to API endpoint OpenstackApiEndpoint(0.0.0.0:15001)
INFO:root:Connected DCNetwork to API endpoint OpenstackApiEndpoint(0.0.0.0:15001)
DEBUG:dcemulator.net:addLink: n1=dc19.s1 intf1=dc19.s1-eth2 -- n2=h0 intf2=h0-eth0
DEBUG:dcemulator.net:addLink: n1=h1 intf1=h1-eth0 -- n2=dc20.s1 intf2=dc20.s1-eth1
DEBUG:dcemulator.net:addLink: n1=dc19.s1 intf1=dc19.s1-eth3 -- n2=dc20.s1 intf2=dc20.s1-eth2
INFO:api.openstack.base:Starting GlanceDummyApi endpoint @ http://0.0.0.0:19242
INFO:api.openstack.base:Starting KeystoneDummyApi endpoint @ http://0.0.0.0:15000
WARNING:root:Waiting for 0.0.0.0:15000 ... (1/10)
INFO:api.openstack.base:Starting NovaDummyApi endpoint @ http://0.0.0.0:18774
WARNING:root:Waiting for 0.0.0.0:18774 ... (1/10)
INFO:api.openstack.base:Starting HeatDummyApi endpoint @ http://0.0.0.0:18004
WARNING:root:Waiting for 0.0.0.0:18004 ... (1/10)
INFO:api.openstack.base:Starting NeutronDummyApi endpoint @ http://0.0.0.0:19696
WARNING:root:Waiting for 0.0.0.0:19696 ... (1/10)
INFO:api.openstack.base:Starting GlanceDummyApi endpoint @ http://0.0.0.0:19243
WARNING:root:Waiting for 0.0.0.0:19243 ... (1/10)
INFO:api.openstack.base:Starting KeystoneDummyApi endpoint @ http://0.0.0.0:15001
WARNING:root:Waiting for 0.0.0.0:15001 ... (1/10)
INFO:api.openstack.base:Starting NovaDummyApi endpoint @ http://0.0.0.0:18775
WARNING:root:Waiting for 0.0.0.0:18775 ... (1/10)
INFO:api.openstack.base:Starting HeatDummyApi endpoint @ http://0.0.0.0:18005
WARNING:root:Waiting for 0.0.0.0:18005 ... (1/10)
INFO:api.openstack.base:Starting NeutronDummyApi endpoint @ http://0.0.0.0:19697
WARNING:root:Waiting for 0.0.0.0:19697 ... (1/10)
DEBUG:urllib3.connectionpool:Starting new HTTP connection (1): 0.0.0.0
DEBUG:api.openstack.heat:API CALL: HeatListAPIVersions GET
DEBUG:urllib3.connectionpool:http://0.0.0.0:18004 "GET / HTTP/1.1" 200 116
DEBUG:urllib3.connectionpool:Starting new HTTP connection (1): 0.0.0.0
DEBUG:api.openstack.heat:API CALL: HeatCreateStack POST
ERROR:api.openstack.heat:Heat: Create Stack exception.
Traceback (most recent call last):
  File "/son-emu/src/emuvim/api/openstack/openstack_dummies/heat_dummy_api.py", line 110, in post
    stack_dict = json.loads(request.data)
  File "/usr/lib/python3.5/json/__init__.py", line 312, in loads
    s.__class__.__name__))
TypeError: the JSON object must be str, not 'bytes'
DEBUG:urllib3.connectionpool:http://0.0.0.0:18004 "POST /v1/tenantabc123/stacks HTTP/1.1" 500 43
INFO:api.openstack.base:Stopping GlanceDummyApi
INFO:api.openstack.base:Stopping KeystoneDummyApi
INFO:api.openstack.base:Stopping NovaDummyApi
INFO:api.openstack.base:Stopping HeatDummyApi
INFO:api.openstack.base:Stopping NeutronDummyApi
INFO:api.openstack.base:Stopped GlanceDummyApi
INFO:api.openstack.base:Stopped KeystoneDummyApi
INFO:api.openstack.base:Stopped NovaDummyApi
INFO:api.openstack.base:Stopped NeutronDummyApi
INFO:api.openstack.base:Stopped HeatDummyApi
INFO:root:Stopping ChainApi
INFO:root:Stopped ChainApi
INFO:api.openstack.base:Stopping GlanceDummyApi
INFO:api.openstack.base:Stopping KeystoneDummyApi
INFO:api.openstack.base:Stopping NovaDummyApi
INFO:api.openstack.base:Stopping HeatDummyApi
INFO:api.openstack.base:Stopping NeutronDummyApi
INFO:api.openstack.base:Stopped GlanceDummyApi
INFO:api.openstack.base:Stopped KeystoneDummyApi
INFO:api.openstack.base:Stopped NovaDummyApi
INFO:api.openstack.base:Stopped HeatDummyApi
INFO:api.openstack.base:Stopped NeutronDummyApi
INFO:root:Stopping ChainApi
------------------------------ Captured log call -------------------------------
INFO     resourcemodel:__init__.py:42 Resource model registrar created with dc_emulation_max_cpu=1.0 and dc_emulation_max_mem=512
DEBUG    docker.auth:auth.py:221 Trying paths: ['/root/.docker/config.json', '/root/.dockercfg']
DEBUG    docker.auth:auth.py:228 No config file found
DEBUG    api.openstack.compute:compute.py:658 Creating network with name mgmt
WARNING  api.openstack.compute:compute.py:644 Could not find net 'mgmt' in dict_keys([]) or []
DEBUG    api.openstack.compute:compute.py:658 Creating network with name mgmtnet
WARNING  api.openstack.compute:compute.py:644 Could not find net 'mgmtnet' in dict_keys(['d4189d02-4fd8-4af6-be79-052f7cd0de1f']) or ['mgmt']
INFO     root:chain_api.py:81 Starting ChainDummyApi endpoint @ http://0.0.0.0:4000
DEBUG    docker.auth:auth.py:221 Trying paths: ['/root/.docker/config.json', '/root/.dockercfg']
DEBUG    docker.auth:auth.py:228 No config file found
DEBUG    api.openstack.compute:compute.py:658 Creating network with name mgmt
WARNING  api.openstack.compute:compute.py:644 Could not find net 'mgmt' in dict_keys([]) or []
DEBUG    api.openstack.compute:compute.py:658 Creating network with name mgmtnet
WARNING  api.openstack.compute:compute.py:644 Could not find net 'mgmtnet' in dict_keys(['df2c6480-913c-4524-9b46-70e277704a81']) or ['mgmt']
DEBUG    dcemulator.net:net.py:240 addLink: n1=s1 intf1=s1-eth1 -- n2=s2 intf2=s2-eth1
DEBUG    dcemulator.net:net.py:240 addLink: n1=s2 intf1=s2-eth2 -- n2=s3 intf2=s3-eth1
DEBUG    dcemulator.net:net.py:240 addLink: n1=s3 intf1=s3-eth2 -- n2=s1 intf2=s1-eth2
DEBUG    dcemulator.node:node.py:220 created data center switch: dc19.s1
INFO     dcemulator.net:net.py:150 added data center: dc0
DEBUG    dcemulator.node:node.py:220 created data center switch: dc20.s1
INFO     dcemulator.net:net.py:150 added data center: dc1
DEBUG    dcemulator.net:net.py:240 addLink: n1=dc19.s1 intf1=dc19.s1-eth1 -- n2=s1 intf2=s1-eth3
INFO     root:openstack_api_endpoint.py:85 Connected DC(dc0) to API endpoint OpenstackApiEndpoint(0.0.0.0:15000)
DEBUG    dcemulator.net:net.py:240 addLink: n1=root intf1=root-eth0 -- n2=fs1 intf2=fs1-eth1
INFO     root:openstack_api_endpoint.py:97 Connected DCNetwork to API endpoint OpenstackApiEndpoint(0.0.0.0:15000)
INFO     root:openstack_api_endpoint.py:85 Connected DC(dc1) to API endpoint OpenstackApiEndpoint(0.0.0.0:15001)
INFO     root:openstack_api_endpoint.py:97 Connected DCNetwork to API endpoint OpenstackApiEndpoint(0.0.0.0:15001)
DEBUG    dcemulator.net:net.py:240 addLink: n1=dc19.s1 intf1=dc19.s1-eth2 -- n2=h0 intf2=h0-eth0
DEBUG    dcemulator.net:net.py:240 addLink: n1=h1 intf1=h1-eth0 -- n2=dc20.s1 intf2=dc20.s1-eth1
DEBUG    dcemulator.net:net.py:240 addLink: n1=dc19.s1 intf1=dc19.s1-eth3 -- n2=dc20.s1 intf2=dc20.s1-eth2
INFO     api.openstack.base:base_openstack_dummy.py:69 Starting GlanceDummyApi endpoint @ http://0.0.0.0:19242
INFO     api.openstack.base:base_openstack_dummy.py:69 Starting KeystoneDummyApi endpoint @ http://0.0.0.0:15000
WARNING  root:openstack_api_endpoint.py:130 Waiting for 0.0.0.0:15000 ... (1/10)
INFO     api.openstack.base:base_openstack_dummy.py:69 Starting NovaDummyApi endpoint @ http://0.0.0.0:18774
WARNING  root:openstack_api_endpoint.py:130 Waiting for 0.0.0.0:18774 ... (1/10)
INFO     api.openstack.base:base_openstack_dummy.py:69 Starting HeatDummyApi endpoint @ http://0.0.0.0:18004
WARNING  root:openstack_api_endpoint.py:130 Waiting for 0.0.0.0:18004 ... (1/10)
INFO     api.openstack.base:base_openstack_dummy.py:69 Starting NeutronDummyApi endpoint @ http://0.0.0.0:19696
WARNING  root:openstack_api_endpoint.py:130 Waiting for 0.0.0.0:19696 ... (1/10)
INFO     api.openstack.base:base_openstack_dummy.py:69 Starting GlanceDummyApi endpoint @ http://0.0.0.0:19243
WARNING  root:openstack_api_endpoint.py:130 Waiting for 0.0.0.0:19243 ... (1/10)
INFO     api.openstack.base:base_openstack_dummy.py:69 Starting KeystoneDummyApi endpoint @ http://0.0.0.0:15001
WARNING  root:openstack_api_endpoint.py:130 Waiting for 0.0.0.0:15001 ... (1/10)
INFO     api.openstack.base:base_openstack_dummy.py:69 Starting NovaDummyApi endpoint @ http://0.0.0.0:18775
WARNING  root:openstack_api_endpoint.py:130 Waiting for 0.0.0.0:18775 ... (1/10)
INFO     api.openstack.base:base_openstack_dummy.py:69 Starting HeatDummyApi endpoint @ http://0.0.0.0:18005
WARNING  root:openstack_api_endpoint.py:130 Waiting for 0.0.0.0:18005 ... (1/10)
INFO     api.openstack.base:base_openstack_dummy.py:69 Starting NeutronDummyApi endpoint @ http://0.0.0.0:19697
WARNING  root:openstack_api_endpoint.py:130 Waiting for 0.0.0.0:19697 ... (1/10)
DEBUG    urllib3.connectionpool:connectionpool.py:207 Starting new HTTP connection (1): 0.0.0.0
DEBUG    api.openstack.heat:heat_dummy_api.py:74 API CALL: HeatListAPIVersions GET
DEBUG    urllib3.connectionpool:connectionpool.py:395 http://0.0.0.0:18004 "GET / HTTP/1.1" 200 116
DEBUG    urllib3.connectionpool:connectionpool.py:207 Starting new HTTP connection (1): 0.0.0.0
DEBUG    api.openstack.heat:heat_dummy_api.py:107 API CALL: HeatCreateStack POST
ERROR    api.openstack.heat:heat_dummy_api.py:144 Heat: Create Stack exception.
Traceback (most recent call last):
  File "/son-emu/src/emuvim/api/openstack/openstack_dummies/heat_dummy_api.py", line 110, in post
    stack_dict = json.loads(request.data)
  File "/usr/lib/python3.5/json/__init__.py", line 312, in loads
    s.__class__.__name__))
TypeError: the JSON object must be str, not 'bytes'
DEBUG    urllib3.connectionpool:connectionpool.py:395 http://0.0.0.0:18004 "POST /v1/tenantabc123/stacks HTTP/1.1" 500 43
INFO     api.openstack.base:base_openstack_dummy.py:64 Stopping GlanceDummyApi
INFO     api.openstack.base:base_openstack_dummy.py:64 Stopping KeystoneDummyApi
INFO     api.openstack.base:base_openstack_dummy.py:64 Stopping NovaDummyApi
INFO     api.openstack.base:base_openstack_dummy.py:64 Stopping HeatDummyApi
INFO     api.openstack.base:base_openstack_dummy.py:64 Stopping NeutronDummyApi
INFO     api.openstack.base:base_openstack_dummy.py:76 Stopped GlanceDummyApi
INFO     api.openstack.base:base_openstack_dummy.py:76 Stopped KeystoneDummyApi
INFO     api.openstack.base:base_openstack_dummy.py:76 Stopped NovaDummyApi
INFO     api.openstack.base:base_openstack_dummy.py:76 Stopped NeutronDummyApi
INFO     api.openstack.base:base_openstack_dummy.py:76 Stopped HeatDummyApi
INFO     root:chain_api.py:92 Stopping ChainApi
INFO     root:chain_api.py:88 Stopped ChainApi
INFO     api.openstack.base:base_openstack_dummy.py:64 Stopping GlanceDummyApi
INFO     api.openstack.base:base_openstack_dummy.py:64 Stopping KeystoneDummyApi
INFO     api.openstack.base:base_openstack_dummy.py:64 Stopping NovaDummyApi
INFO     api.openstack.base:base_openstack_dummy.py:64 Stopping HeatDummyApi
INFO     api.openstack.base:base_openstack_dummy.py:64 Stopping NeutronDummyApi
INFO     api.openstack.base:base_openstack_dummy.py:76 Stopped GlanceDummyApi
INFO     api.openstack.base:base_openstack_dummy.py:76 Stopped KeystoneDummyApi
INFO     api.openstack.base:base_openstack_dummy.py:76 Stopped NovaDummyApi
INFO     api.openstack.base:base_openstack_dummy.py:76 Stopped HeatDummyApi
INFO     api.openstack.base:base_openstack_dummy.py:76 Stopped NeutronDummyApi
INFO     root:chain_api.py:92 Stopping ChainApi
________________________ testRestApi.testKeystomeDummy _________________________

self = <emuvim.test.unittests.test_openstack.testRestApi testMethod=testKeystomeDummy>

    def testKeystomeDummy(self):
        print('->>>>>>> test Keystone Dummy Class->>>>>>>>>>>>>>>')
        print('->>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>')
        print(" ")

        headers = {'Content-type': 'application/json'}
        test_heatapi_keystone_get_token = open(os.path.join(os.path.dirname(
            __file__), "templates/test_heatapi_keystone_get_token.yml")).read()

        print('->>>>>>> test Keystone List Versions ->>>>>>>>>>>>>>>')
        print('->>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>')
        url = "http://0.0.0.0:15000/"
        listapiversionstackresponse = requests.get(url, headers=headers)
        self.assertEqual(listapiversionstackresponse.status_code, 200)
        self.assertEqual(json.loads(listapiversionstackresponse.content)[
                         "versions"]["values"][0]["id"], "v2.0")
        print(" ")

        print('->>>>>>> test Keystone Show ApiV2 ->>>>>>>>>>>>>>>')
        print('->>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>')
        url = "http://0.0.0.0:15000/v2.0"
        showapiversionstackresponse = requests.get(url, headers=headers)
        self.assertEqual(showapiversionstackresponse.status_code, 200)
        self.assertEqual(json.loads(showapiversionstackresponse.content)[
                         "version"]["id"], "v2.0")
        print(" ")

        print('->>>>>>> test Keystone Get Token ->>>>>>>>>>>>>>>')
        print('->>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>')
        url = "http://0.0.0.0:15000/v2.0/tokens"
        gettokenstackresponse = requests.post(url, data=json.dumps(
            yaml.load(test_heatapi_keystone_get_token)), headers=headers)
>       self.assertEqual(gettokenstackresponse.status_code, 200)
E       AssertionError: 500 != 200

src/emuvim/test/unittests/test_openstack.py:758: AssertionError
----------------------------- Captured stdout call -----------------------------
name_or_id:  mgmt
name_or_id:  mgmtnet
name_or_id:  mgmt
name_or_id:  mgmtnet
->>>>>>> test Keystone Dummy Class->>>>>>>>>>>>>>>
->>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

->>>>>>> test Keystone List Versions ->>>>>>>>>>>>>>>
->>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

->>>>>>> test Keystone Show ApiV2 ->>>>>>>>>>>>>>>
->>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

->>>>>>> test Keystone Get Token ->>>>>>>>>>>>>>>
->>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
->>>>>>> tear everything down ->>>>>>>>>>>>>>>
----------------------------- Captured stderr call -----------------------------
INFO:resourcemodel:Resource model registrar created with dc_emulation_max_cpu=1.0 and dc_emulation_max_mem=512
DEBUG:docker.auth:Trying paths: ['/root/.docker/config.json', '/root/.dockercfg']
DEBUG:docker.auth:No config file found
DEBUG:api.openstack.compute:Creating network with name mgmt
WARNING:api.openstack.compute:Could not find net 'mgmt' in dict_keys([]) or []
DEBUG:api.openstack.compute:Creating network with name mgmtnet
WARNING:api.openstack.compute:Could not find net 'mgmtnet' in dict_keys(['bf6b3e99-fac5-4ac6-96b2-79d5dc290d4d']) or ['mgmt']
DEBUG:docker.auth:Trying paths: ['/root/.docker/config.json', '/root/.dockercfg']
DEBUG:docker.auth:No config file found
DEBUG:api.openstack.compute:Creating network with name mgmt
WARNING:api.openstack.compute:Could not find net 'mgmt' in dict_keys([]) or []
DEBUG:api.openstack.compute:Creating network with name mgmtnet
WARNING:api.openstack.compute:Could not find net 'mgmtnet' in dict_keys(['a42ecbb1-8f26-4785-a966-452a2cf448e1']) or ['mgmt']
DEBUG:dcemulator.net:addLink: n1=s1 intf1=s1-eth1 -- n2=s2 intf2=s2-eth1
DEBUG:dcemulator.net:addLink: n1=s2 intf1=s2-eth2 -- n2=s3 intf2=s3-eth1
DEBUG:dcemulator.net:addLink: n1=s3 intf1=s3-eth2 -- n2=s1 intf2=s1-eth2
DEBUG:dcemulator.node:created data center switch: dc21.s1
INFO:dcemulator.net:added data center: dc0
DEBUG:dcemulator.node:created data center switch: dc22.s1
INFO:dcemulator.net:added data center: dc1
DEBUG:dcemulator.net:addLink: n1=dc21.s1 intf1=dc21.s1-eth1 -- n2=s1 intf2=s1-eth3
INFO:root:Connected DC(dc0) to API endpoint OpenstackApiEndpoint(0.0.0.0:15000)
DEBUG:dcemulator.net:addLink: n1=root intf1=root-eth0 -- n2=fs1 intf2=fs1-eth1
INFO:root:Connected DCNetwork to API endpoint OpenstackApiEndpoint(0.0.0.0:15000)
INFO:root:Connected DC(dc1) to API endpoint OpenstackApiEndpoint(0.0.0.0:15001)
INFO:root:Connected DCNetwork to API endpoint OpenstackApiEndpoint(0.0.0.0:15001)
DEBUG:dcemulator.net:addLink: n1=dc21.s1 intf1=dc21.s1-eth2 -- n2=h0 intf2=h0-eth0
DEBUG:dcemulator.net:addLink: n1=h1 intf1=h1-eth0 -- n2=dc22.s1 intf2=dc22.s1-eth1
DEBUG:dcemulator.net:addLink: n1=dc21.s1 intf1=dc21.s1-eth3 -- n2=dc22.s1 intf2=dc22.s1-eth2
INFO:api.openstack.base:Starting GlanceDummyApi endpoint @ http://0.0.0.0:19242
WARNING:root:Waiting for 0.0.0.0:19242 ... (1/10)
INFO:api.openstack.base:Starting KeystoneDummyApi endpoint @ http://0.0.0.0:15000
WARNING:root:Waiting for 0.0.0.0:15000 ... (1/10)
INFO:api.openstack.base:Starting NovaDummyApi endpoint @ http://0.0.0.0:18774
WARNING:root:Waiting for 0.0.0.0:18774 ... (1/10)
INFO:api.openstack.base:Starting HeatDummyApi endpoint @ http://0.0.0.0:18004
WARNING:root:Waiting for 0.0.0.0:18004 ... (1/10)
INFO:api.openstack.base:Starting NeutronDummyApi endpoint @ http://0.0.0.0:19696
WARNING:root:Waiting for 0.0.0.0:19696 ... (1/10)
INFO:api.openstack.base:Starting GlanceDummyApi endpoint @ http://0.0.0.0:19243
WARNING:root:Waiting for 0.0.0.0:19243 ... (1/10)
INFO:api.openstack.base:Starting KeystoneDummyApi endpoint @ http://0.0.0.0:15001
WARNING:root:Waiting for 0.0.0.0:15001 ... (1/10)
INFO:api.openstack.base:Starting NovaDummyApi endpoint @ http://0.0.0.0:18775
WARNING:root:Waiting for 0.0.0.0:18775 ... (1/10)
INFO:api.openstack.base:Starting HeatDummyApi endpoint @ http://0.0.0.0:18005
WARNING:root:Waiting for 0.0.0.0:18005 ... (1/10)
INFO:api.openstack.base:Starting NeutronDummyApi endpoint @ http://0.0.0.0:19697
WARNING:root:Waiting for 0.0.0.0:19697 ... (1/10)
DEBUG:urllib3.connectionpool:Starting new HTTP connection (1): 0.0.0.0
DEBUG:api.openstack.keystone:API CALL: KeystoneListVersions GET
DEBUG:urllib3.connectionpool:http://0.0.0.0:15000 "GET / HTTP/1.1" 200 265
DEBUG:urllib3.connectionpool:Starting new HTTP connection (1): 0.0.0.0
DEBUG:api.openstack.keystone:API CALL: KeystoneShowAPIv2 GET
DEBUG:api.openstack.keystone:{"version": {"status": "stable", "links": [{"rel": "self", "href": "http://0.0.0.0:15000/v2.0"}], "media-types": [{"base": "application/json", "type": "application/vnd.openstack.identity-v2.0+json"}], "id": "v2.0"}}
DEBUG:urllib3.connectionpool:http://0.0.0.0:15000 "GET /v2.0 HTTP/1.1" 200 215
DEBUG:urllib3.connectionpool:Starting new HTTP connection (1): 0.0.0.0
DEBUG:api.openstack.keystone:API CALL: KeystoneGetToken POST
ERROR:root:Keystone: Get token failed.
Traceback (most recent call last):
  File "/son-emu/src/emuvim/api/openstack/openstack_dummies/keystone_dummy_api.py", line 210, in post
    req = json.loads(request.data)
  File "/usr/lib/python3.5/json/__init__.py", line 312, in loads
    s.__class__.__name__))
TypeError: the JSON object must be str, not 'bytes'
DEBUG:urllib3.connectionpool:http://0.0.0.0:15000 "POST /v2.0/tokens HTTP/1.1" 500 43
INFO:api.openstack.base:Stopping GlanceDummyApi
INFO:api.openstack.base:Stopping KeystoneDummyApi
INFO:api.openstack.base:Stopping NovaDummyApi
INFO:api.openstack.base:Stopping HeatDummyApi
INFO:api.openstack.base:Stopping NeutronDummyApi
INFO:api.openstack.base:Stopped GlanceDummyApi
INFO:api.openstack.base:Stopped NovaDummyApi
INFO:api.openstack.base:Stopped HeatDummyApi
INFO:api.openstack.base:Stopped NeutronDummyApi
INFO:api.openstack.base:Stopped KeystoneDummyApi
INFO:root:Stopping ChainApi
INFO:api.openstack.base:Stopping GlanceDummyApi
INFO:api.openstack.base:Stopping KeystoneDummyApi
INFO:api.openstack.base:Stopping NovaDummyApi
INFO:api.openstack.base:Stopping HeatDummyApi
INFO:api.openstack.base:Stopping NeutronDummyApi
INFO:api.openstack.base:Stopped GlanceDummyApi
INFO:api.openstack.base:Stopped KeystoneDummyApi
INFO:api.openstack.base:Stopped NovaDummyApi
INFO:api.openstack.base:Stopped HeatDummyApi
INFO:api.openstack.base:Stopped NeutronDummyApi
INFO:root:Stopping ChainApi
------------------------------ Captured log call -------------------------------
INFO     resourcemodel:__init__.py:42 Resource model registrar created with dc_emulation_max_cpu=1.0 and dc_emulation_max_mem=512
DEBUG    docker.auth:auth.py:221 Trying paths: ['/root/.docker/config.json', '/root/.dockercfg']
DEBUG    docker.auth:auth.py:228 No config file found
DEBUG    api.openstack.compute:compute.py:658 Creating network with name mgmt
WARNING  api.openstack.compute:compute.py:644 Could not find net 'mgmt' in dict_keys([]) or []
DEBUG    api.openstack.compute:compute.py:658 Creating network with name mgmtnet
WARNING  api.openstack.compute:compute.py:644 Could not find net 'mgmtnet' in dict_keys(['bf6b3e99-fac5-4ac6-96b2-79d5dc290d4d']) or ['mgmt']
DEBUG    docker.auth:auth.py:221 Trying paths: ['/root/.docker/config.json', '/root/.dockercfg']
DEBUG    docker.auth:auth.py:228 No config file found
DEBUG    api.openstack.compute:compute.py:658 Creating network with name mgmt
WARNING  api.openstack.compute:compute.py:644 Could not find net 'mgmt' in dict_keys([]) or []
DEBUG    api.openstack.compute:compute.py:658 Creating network with name mgmtnet
WARNING  api.openstack.compute:compute.py:644 Could not find net 'mgmtnet' in dict_keys(['a42ecbb1-8f26-4785-a966-452a2cf448e1']) or ['mgmt']
DEBUG    dcemulator.net:net.py:240 addLink: n1=s1 intf1=s1-eth1 -- n2=s2 intf2=s2-eth1
DEBUG    dcemulator.net:net.py:240 addLink: n1=s2 intf1=s2-eth2 -- n2=s3 intf2=s3-eth1
DEBUG    dcemulator.net:net.py:240 addLink: n1=s3 intf1=s3-eth2 -- n2=s1 intf2=s1-eth2
DEBUG    dcemulator.node:node.py:220 created data center switch: dc21.s1
INFO     dcemulator.net:net.py:150 added data center: dc0
DEBUG    dcemulator.node:node.py:220 created data center switch: dc22.s1
INFO     dcemulator.net:net.py:150 added data center: dc1
DEBUG    dcemulator.net:net.py:240 addLink: n1=dc21.s1 intf1=dc21.s1-eth1 -- n2=s1 intf2=s1-eth3
INFO     root:openstack_api_endpoint.py:85 Connected DC(dc0) to API endpoint OpenstackApiEndpoint(0.0.0.0:15000)
DEBUG    dcemulator.net:net.py:240 addLink: n1=root intf1=root-eth0 -- n2=fs1 intf2=fs1-eth1
INFO     root:openstack_api_endpoint.py:97 Connected DCNetwork to API endpoint OpenstackApiEndpoint(0.0.0.0:15000)
INFO     root:openstack_api_endpoint.py:85 Connected DC(dc1) to API endpoint OpenstackApiEndpoint(0.0.0.0:15001)
INFO     root:openstack_api_endpoint.py:97 Connected DCNetwork to API endpoint OpenstackApiEndpoint(0.0.0.0:15001)
DEBUG    dcemulator.net:net.py:240 addLink: n1=dc21.s1 intf1=dc21.s1-eth2 -- n2=h0 intf2=h0-eth0
DEBUG    dcemulator.net:net.py:240 addLink: n1=h1 intf1=h1-eth0 -- n2=dc22.s1 intf2=dc22.s1-eth1
DEBUG    dcemulator.net:net.py:240 addLink: n1=dc21.s1 intf1=dc21.s1-eth3 -- n2=dc22.s1 intf2=dc22.s1-eth2
INFO     api.openstack.base:base_openstack_dummy.py:69 Starting GlanceDummyApi endpoint @ http://0.0.0.0:19242
WARNING  root:openstack_api_endpoint.py:130 Waiting for 0.0.0.0:19242 ... (1/10)
INFO     api.openstack.base:base_openstack_dummy.py:69 Starting KeystoneDummyApi endpoint @ http://0.0.0.0:15000
WARNING  root:openstack_api_endpoint.py:130 Waiting for 0.0.0.0:15000 ... (1/10)
INFO     api.openstack.base:base_openstack_dummy.py:69 Starting NovaDummyApi endpoint @ http://0.0.0.0:18774
WARNING  root:openstack_api_endpoint.py:130 Waiting for 0.0.0.0:18774 ... (1/10)
INFO     api.openstack.base:base_openstack_dummy.py:69 Starting HeatDummyApi endpoint @ http://0.0.0.0:18004
WARNING  root:openstack_api_endpoint.py:130 Waiting for 0.0.0.0:18004 ... (1/10)
INFO     api.openstack.base:base_openstack_dummy.py:69 Starting NeutronDummyApi endpoint @ http://0.0.0.0:19696
WARNING  root:openstack_api_endpoint.py:130 Waiting for 0.0.0.0:19696 ... (1/10)
INFO     api.openstack.base:base_openstack_dummy.py:69 Starting GlanceDummyApi endpoint @ http://0.0.0.0:19243
WARNING  root:openstack_api_endpoint.py:130 Waiting for 0.0.0.0:19243 ... (1/10)
INFO     api.openstack.base:base_openstack_dummy.py:69 Starting KeystoneDummyApi endpoint @ http://0.0.0.0:15001
WARNING  root:openstack_api_endpoint.py:130 Waiting for 0.0.0.0:15001 ... (1/10)
INFO     api.openstack.base:base_openstack_dummy.py:69 Starting NovaDummyApi endpoint @ http://0.0.0.0:18775
WARNING  root:openstack_api_endpoint.py:130 Waiting for 0.0.0.0:18775 ... (1/10)
INFO     api.openstack.base:base_openstack_dummy.py:69 Starting HeatDummyApi endpoint @ http://0.0.0.0:18005
WARNING  root:openstack_api_endpoint.py:130 Waiting for 0.0.0.0:18005 ... (1/10)
INFO     api.openstack.base:base_openstack_dummy.py:69 Starting NeutronDummyApi endpoint @ http://0.0.0.0:19697
WARNING  root:openstack_api_endpoint.py:130 Waiting for 0.0.0.0:19697 ... (1/10)
DEBUG    urllib3.connectionpool:connectionpool.py:207 Starting new HTTP connection (1): 0.0.0.0
DEBUG    api.openstack.keystone:keystone_dummy_api.py:68 API CALL: KeystoneListVersions GET
DEBUG    urllib3.connectionpool:connectionpool.py:395 http://0.0.0.0:15000 "GET / HTTP/1.1" 200 265
DEBUG    urllib3.connectionpool:connectionpool.py:207 Starting new HTTP connection (1): 0.0.0.0
DEBUG    api.openstack.keystone:keystone_dummy_api.py:111 API CALL: KeystoneShowAPIv2 GET
DEBUG    api.openstack.keystone:keystone_dummy_api.py:133 {"version": {"status": "stable", "links": [{"rel": "self", "href": "http://0.0.0.0:15000/v2.0"}], "media-types": [{"base": "application/json", "type": "application/vnd.openstack.identity-v2.0+json"}], "id": "v2.0"}}
DEBUG    urllib3.connectionpool:connectionpool.py:395 http://0.0.0.0:15000 "GET /v2.0 HTTP/1.1" 200 215
DEBUG    urllib3.connectionpool:connectionpool.py:207 Starting new HTTP connection (1): 0.0.0.0
DEBUG    api.openstack.keystone:keystone_dummy_api.py:207 API CALL: KeystoneGetToken POST
ERROR    root:keystone_dummy_api.py:325 Keystone: Get token failed.
Traceback (most recent call last):
  File "/son-emu/src/emuvim/api/openstack/openstack_dummies/keystone_dummy_api.py", line 210, in post
    req = json.loads(request.data)
  File "/usr/lib/python3.5/json/__init__.py", line 312, in loads
    s.__class__.__name__))
TypeError: the JSON object must be str, not 'bytes'
DEBUG    urllib3.connectionpool:connectionpool.py:395 http://0.0.0.0:15000 "POST /v2.0/tokens HTTP/1.1" 500 43
INFO     api.openstack.base:base_openstack_dummy.py:64 Stopping GlanceDummyApi
INFO     api.openstack.base:base_openstack_dummy.py:64 Stopping KeystoneDummyApi
INFO     api.openstack.base:base_openstack_dummy.py:64 Stopping NovaDummyApi
INFO     api.openstack.base:base_openstack_dummy.py:64 Stopping HeatDummyApi
INFO     api.openstack.base:base_openstack_dummy.py:64 Stopping NeutronDummyApi
INFO     api.openstack.base:base_openstack_dummy.py:76 Stopped GlanceDummyApi
INFO     api.openstack.base:base_openstack_dummy.py:76 Stopped NovaDummyApi
INFO     api.openstack.base:base_openstack_dummy.py:76 Stopped HeatDummyApi
INFO     api.openstack.base:base_openstack_dummy.py:76 Stopped NeutronDummyApi
INFO     api.openstack.base:base_openstack_dummy.py:76 Stopped KeystoneDummyApi
INFO     root:chain_api.py:92 Stopping ChainApi
INFO     api.openstack.base:base_openstack_dummy.py:64 Stopping GlanceDummyApi
INFO     api.openstack.base:base_openstack_dummy.py:64 Stopping KeystoneDummyApi
INFO     api.openstack.base:base_openstack_dummy.py:64 Stopping NovaDummyApi
INFO     api.openstack.base:base_openstack_dummy.py:64 Stopping HeatDummyApi
INFO     api.openstack.base:base_openstack_dummy.py:64 Stopping NeutronDummyApi
INFO     api.openstack.base:base_openstack_dummy.py:76 Stopped GlanceDummyApi
INFO     api.openstack.base:base_openstack_dummy.py:76 Stopped KeystoneDummyApi
INFO     api.openstack.base:base_openstack_dummy.py:76 Stopped NovaDummyApi
INFO     api.openstack.base:base_openstack_dummy.py:76 Stopped HeatDummyApi
INFO     api.openstack.base:base_openstack_dummy.py:76 Stopped NeutronDummyApi
INFO     root:chain_api.py:92 Stopping ChainApi
=============================== warnings summary ===============================
src/emuvim/test/unittests/test_openstack.py::testRestApi::testHeatDummy
  /son-emu/src/emuvim/test/unittests/test_openstack.py:787: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
    yaml.load(test_heatapi_template_create_stack)), headers=headers)

src/emuvim/test/unittests/test_openstack.py::testRestApi::testKeystomeDummy
  /son-emu/src/emuvim/test/unittests/test_openstack.py:757: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
    yaml.load(test_heatapi_keystone_get_token)), headers=headers)

-- Docs: https://docs.pytest.org/en/latest/warnings.html
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! KeyboardInterrupt !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
/son-emu/src/emuvim/api/openstack/openstack_api_endpoint.py:131: KeyboardInterrupt
(to show a full traceback on KeyboardInterrupt use --fulltrace)
============== 2 failed, 13 passed, 2 warnings in 503.70 seconds ===============
^CException ignored in: <module 'threading' from '/usr/lib/python3.5/threading.py'>
Traceback (most recent call last):
  File "/usr/lib/python3.5/threading.py", line 1288, in _shutdown
    t.join()
  File "/usr/lib/python3.5/threading.py", line 1054, in join
    self._wait_for_tstate_lock()
  File "/usr/lib/python3.5/threading.py", line 1070, in _wait_for_tstate_lock
    elif lock.acquire(block, timeout):
KeyboardInterrupt