Giter VIP home page Giter VIP logo

p4app's People

Contributors

bstpierre avatar maojianwei avatar omeranson avatar qin-nz avatar robertsoule avatar robertsoule-barefoot avatar rst0git avatar sethfowler avatar tcmitchell avatar theojepsen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

p4app's Issues

compile_only example fails; needs updated compiler flag

chris@t1700-vbox-ub16:~/p4/p4app$ p4app run examples/compile_only.p4app/
Entering build directory.
Extracting package.
Reading package manifest.

p4c-bm2-ss --p4v 14 -v --p4runtime-file out.bin --p4runtime-as-json "compile_only.p4" -o "compile_only.p4.json"
error: Unknown option --p4runtime-as-json

Fixed by modifying p4app.json as follows:

  "compiler-flags": ["-v", "--p4runtime-file out.bin", "--p4runtime-format json"],

p4app launch problem

  • "Virgin" Ubuntu 16.04 VM in VirtualBox
  • Docker installed, docker group created, user added to it
  • Docker run hello-world - verified
  • p4app git clone'd
  • p4app copied to /usr/local/bin

Follow instructions:
~/p4/p4app$ p4app run examples/simple_router.p4app
Unable to find image 'p4lang/p4app:stable' locally
docker: Error response from daemon: manifest for p4lang/p4app:stable not found.

Do I need to build the initial docker image using provided Dockerfile or is this handled by p4app?
Thanks.

Is a directory: '/tmp/app.tar.gz'

OS: Ubuntu 17.10 VM
p4app up-to-date (13/09/18)
Trying to invoke any of the p4lang/p4app/examples e.g. compile_only.p4app with the p4app 'run' command as: p4app run examples/compile_only.p4app causes the same error message to be shown.
p4app

The compile_only.p4 code run is exactly as it is on p4lang/p4app/examples.

Any help would be apprectiated, thanks.

The scapy sniff can not work correctly?

Hi, all. I want to use scapy to write my own client and server in multi_switch_mininet.p4app. However, I find that if I modify the echo_server.py to enable sniff() function and enable the pcap_dump in p4app.json. The pcap results will contain a strange packet: an IPv4+ICMP packet which container total IP+UDP packet in its payload! But from the sniff() result, the host received a UDP packet instead of IPv4+ICMP packet.

Here is the echo_server.py codes:

import socket, sys
from scapy.all import *
import time

print("Start to sniff packets...")
sniffed = sniff(iface="h1-eth0", filter="ip", prn=custom_action, count = 5)
for pkt in sniffed:
        pkt.show()
time.sleep(5)

And here is the echo_client.py codes:

import socket, sys
from scapy.all import *
import os

srv_addr = (sys.argv[1], int(sys.argv[2]))
sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
sock.sendto(sys.argv[3], srv_addr)

Anyone has any idea? Besides, the pcap result is a little confusing for me. s1-eth1_out.pcap means that the packets leave the s1 from eth1 or go into s1 from eth1?

custom topology with mininet for multiple l2switch

I'm currently trying to implement a custom topology and my code is as follows. Although it doesn't generate any errors , hosts doesn't seem to start up. Any help you could provide will be greatly appreciated. Thank you in advance

class SingleSwitchTopo(Topo):
    "Single switch connected to n (< 256) hosts."
    def __init__(self, sw_path, json_path, thrift_port, pcap_dump, n, **opts):
        # Initialize topology and default options
        Topo.__init__(self, **opts)

        switch = self.addSwitch('s1',
                                sw_path = sw_path,
                                json_path = json_path,
                                thrift_port = thrift_port,
                                pcap_dump = pcap_dump)
	switch2 = self.addSwitch('s2',
                                sw_path = sw_path,
                                json_path = json_path,
                                thrift_port = thrift_port,
                                pcap_dump = pcap_dump)
	switch3 = self.addSwitch('s3',
                                sw_path = sw_path,
                                json_path = json_path,
                                thrift_port = thrift_port,
                                pcap_dump = pcap_dump)
	
        for h in xrange(n):
            host = self.addHost('h%d' % (h + 1),
                                ip = "10.0.%d.10/24" % h,
                                mac = '00:04:00:00:00:%02x' %h)
	    
	    host2 = self.addHost('h%d' % (h + 1),
                                ip = "10.0.%d.10/24" % h,
                                mac = '00:04:00:00:00:%02x' %h)
	    host3 = self.addHost('h%d' % (h + 1),
                                ip = "10.0.%d.10/24" % h,
                                mac = '00:04:00:00:00:%02x' %h)
	    host4 = self.addHost('h%d' % (h + 1),
                                ip = "10.0.%d.10/24" % h,
                                mac = '00:04:00:00:00:%02x' %h)
	    host5 = self.addHost('h%d' % (h + 1),
                                ip = "10.0.%d.10/24" % h,
                                mac = '00:04:00:00:00:%02x' %h)
	    host6 = self.addHost('h%d' % (h + 1),
                                ip = "10.0.%d.10/24" % h,
                                mac = '00:04:00:00:00:%02x' %h)

            self.addLink(host, switch)
	    self.addLink(switch, switch2)
	    self.addLink(switch2, host2)
	    self.addLink(switch2, host3)
	    self.addLink(switch2, host4)
	    self.addLink(switch1, switch3)
	    self.addLink(switch3, host5)
	    self.addLink(switch3, host6)

def main():
    num_hosts = args.num_hosts
    mode = args.mode

    topo = SingleSwitchTopo(args.behavioral_exe,
                            args.json,
                            args.thrift_port,
                            args.pcap_dump,
                            num_hosts)
    net = Mininet(topo = topo,
                  host = P4Host,
                  switch = P4Switch,
                  controller = None)
    net.start()


    sw_mac = ["00:aa:bb:00:00:%02x" % n for n in xrange(num_hosts)]

    sw_addr = ["10.0.%d.1" % n for n in xrange(num_hosts)]

    for n in xrange(num_hosts):
        h = net.get('h%d' % (n + 1))
        if mode == "l2":
            h.setDefaultRoute("dev eth0")
        else:
            h.setARP(sw_addr[n], sw_mac[n])
            h.setDefaultRoute("dev eth0 via %s" % sw_addr[n])

    for n in xrange(num_hosts):
        h = net.get('h%d' % (n + 1))
        h.describe()

    sleep(1)

    print "Ready !"

    CLI( net )
    net.stop()

if __name__ == '__main__':
    setLogLevel( 'info' )
    main()

PSA support

Is that possible to run PSA (Portable Switch Architecture) by psa_switch provided by bmv2.

xterm not working in mininet CLI with p4app

After starting a mininet CLI with p4app it’s not possible to run xterm on a host.

$ sudo p4app run examples/simple_router.p4app

[...]

mininet> xterm h1
Error: Cannot connect to display

RuntimeCmd: Error: Table has no action _drop()

Hi,
We are experimenting with P4app and P4 programming. Even though the default action is set to _drop(), the packets won't be dropped and we get this in the console:

RuntimeCmd: Error: Table send_frame has no action _drop
RuntimeCmd: Error: Table forward has no action _drop
RuntimeCmd: Error: Table ipv4_lpm has no action _drop

Please let us know the right way to use _drop() and make it the default action.
We are trying this in multiswitch.p4app.

image

Also, can someone please let us know where to find these CLI table_add, table_set, etc. commands in files (if they are stored somewhere) and change the required actions accordingly:
image

Thanks in advance.

Logs available for "s1" switch only

Hello,

I am having a problem in p4app environments with multiple switches.
The log output folder "/tmp/p4app_logs" will only contain logs for the switch with the name "s1" i.e "p4s.s1.log".
Even for the example "multiswitch.p4app", the same problem persists.

As a workaround, I am currently renaming my switch (and links) to s1 to check out the logs from the desired switch.
But I think this shouldn't be the expected behavior.

I think this issue is related to this commit message: 239dc98

There is a hardcoded commands for p4s.s1.log in "docker/scripts/p4apprunner.py":

run_command('touch /tmp/p4app_logs/p4s.s1.log')
run_command('ln -s /tmp/p4app_logs/p4s.s1.log /tmp/p4s.s1.log')

Thank you in advance πŸ‘

simple_router doesn't work out of the box

Steps to reproduce

I just followed the readme

I installed the latest stable version of docker (using apt-get)

git clone https://github.com/p4lang/p4app.git
cd p4apps

I copied the binary to /usr/local/bin and made it readable and executible. ls -l /usr/local/bin/p4app gives:

-rwxr-xr-x 1 root root 4968 Mar 12 23:23 /usr/local/bin/p4app

Then ran the simple_router.p4app example:

p4app run examples/simple_router.p4app

Expected behaviour

Example runs without error messages

Observed behaviour

...
451e2f2a11b0: Pull complete
45096d0e4760: Pull complete
Digest: sha256:1c5d36c6fcc1640d2cc0ea06c448bc13a2c176121b0f318fe85b2a7666d87d24
Status: Downloaded newer image for p4lang/p4app:latest
Entering build directory.
Extracting package.
Reading package manifest.
> p4c-bm2-ss --p4v 16 "simple_router.p4" -o "simple_router.json"
simple_router.p4:1:19: error: no include path in which to search for core.p4
simple_router.p4:2:22: error: no include path in which to search for v1model.p4
parser.p4(1):syntax error, unexpected IDENTIFIER "packet_in"
parser ParserImpl(packet_in
                  ^^^^^^^^^
error: Preprocessor returned exit code 256; aborting compilation
error: 2 errors encountered, aborting compilation
Compile failed.

Are there other dependencies I need to install? (e.g. apt-get install p4-something) I started with a clean VM and then executed only the steps described above.

Custom dynamic topology

Hi,
I would like to use a dynamic topology with p4app, meaning that it depends on some inputs given by the user: number of hosts and switches, and the links to set. Thanks to a python script, the inputs are gathered, and nodes and links are created accordingly with the methods addSwitch(), addHost() and addLink() of the class AppTopo. The used manifest file is similar to the one in the example "p4app/examples/customtopo.p4app", however no link is defined in it since links are not known yet.

When running, all nodes and links defined as inputs seem to be created: the Mininet command "nodes" returns all nodes, and the command "net" returns all links.
However, if "auto-control-plane" variable is set to True, or when trying to implement a controller module (with the class AppController), a KeyError is returned indicating that it doesn't find the node as a key in the dictionary "self.topo._host_links" when the node is a host. I guess it would give the same error for switches and the dictionary "self.topo._sw_links".

proof1

I guess I don't have to create an instance of the class Mininet as the "multiswitch" target is directly fed with the "topo_module" and the "controller_module" (identically to the "customtopo" example).

It seems to me as if the only way to populate the two mentioned dictionaries is by indicating the links in the manifest file, but the problem is that they're not known by the programmer.

Is there any method allowing to populate these dictionaries?
Any help is welcome. Thanks a lot.

can't get icmpv6 checksums to work

icmpv6 neighbor advertisement has no payload but ping does. can someone point to the syntax that can compute icmpv6 checksums for both of these correctly?

When I add if statements in my compute_chk control (like the ones found at the bottom of this example: https://github.com/jafingerhut/p4lang-tests/blob/master/v1.0.3/switch-2017-03-07/out1/switch-translated-to-p4-16.p4, p4c gives me:

test.p4(512): error: IfStatement: Only calls to update_checksum allowed
if (hdr.icmpv6.type == 135) {
^^

I am using the p4lang/p4app docker image 9fa7847fe635 from 2 months ago.

(edit: I'm guessing people are away on vacation? @theojepsen @robertsoule )
(edit2: bump? ping? Mar 2018)

File "./p4apprunner.py", !! Unable to run the example program!

Entering build directory.
Extracting package.
Traceback (most recent call last):
File "./p4apprunner.py", line 320, in
main()
File "./p4apprunner.py", line 286, in main
tar = tarfile.open(args.app)
File "/usr/lib/python2.7/tarfile.py", line 1673, in open
return func(name, "r", fileobj, **kwargs)
File "/usr/lib/python2.7/tarfile.py", line 1738, in gzopen
fileobj = gzip.GzipFile(name, mode, compresslevel, fileobj)
File "/usr/lib/python2.7/gzip.py", line 94, in init
fileobj = self.myfileobj = builtin.open(filename, mode or 'rb')
IOError: [Errno 21] Is a directory: '/tmp/app.tar.gz'

Windows

Some of my students had trouble running on Windows machines (Cygwin / PowerShell). I suggested they just use Docker on a Linux VM we've used for other assignments. But it would be nice to have some instructions to avoid common pitfalls.

Set link bandwidth in multiswitch.p4app

Hello, I am pretty new in p4app and mininet environment. I was wondering if there any way to define the bandwidth of each link, alongside the delay in p4app.json file? I tried the following:

"links": [["h1", "s1"], ["s1", "s2", 20, 10], ["s2", "h2"]],

instead of
"links": [["h1", "s1"], ["s1", "s2", 20], ["s2", "h2"]],

in the p4app.json file of the multiswitch.p4app. But looks like it's not working.

Thanks in advance.

p4app run error

I run the p4app with an extra file and below is the error I got;
`p4c-bm2-ss --p4v 16 "simple_router.p4" -o "simple_router.json"

python2 "/scripts/mininet/multi_switch_mininet.py" --log-dir "/tmp/p4app_logs" --manifest "./p4app.json" --target "multiswitch" --auto-control-plane --behavioral-exe "simple_switch" --cli-path "simple_switch_CLI" --json "simple_router.json"
*** Error setting resource limits. Mininet's performance may be affected.
*** Creating network
*** Adding hosts:
h1 h2
*** Adding switches:
s1 s2
*** Adding links:
(0ms delay) (0ms delay) (h1, s1) (50ms delay) (50ms delay) (h2, s2) (0ms delay) (0ms delay) (s1, s2)
`
I searched online and found out this might be due to kernel issues. This is a new installation with current updates and I'm a bit lost.Thank you.

system
windows 10 and 8.1
ubuntu 16.04

Logging seems broken

Although I am able to compile the p4 app, but logging seems broken. Any suggestions to fix the issue?

Screenshot 2021-08-13 at 10 45 34

Switch error logs destroyed upon simple-switch-grpc failure, due to sys.exit

For p4app version rc-2.0.0

When I ran a weird P4 program causing some trouble for BMV2 switch, the p4app runner only reports that the switch failed to start, and I cannot debug the error. If I understand correctly, the BMV2 switch's error log reside in the /tmp/p4s.{}.log file inside the docker container, and is destroyed upon exit. All I got is:

$ ./p4app run xxx.p4app
> python /p4app/main.py
*** Error setting resource limits. Mininet's performance may be affected.
P4 switch s1 did not start correctly.
$ docker ps
(empty)

The exit is caused by the check_switch_started check, however even if I manually adjust all the exit calls within p4_mininet.py in my local p4app repo (to not exit upon check failure), the container still gets destroyed immediately. I guess it's because there's another copy of the same p4app code that actually gets run within the container.

It will provide great convenience for debugging anomalies by not calling sys.exit directly, even if just by throwing an exception (so it's possible to catch the exception and pause for debugging). Right now, I cannot easily pause after failure by writing anything in the main.py file.

Setting Host IP Not Working

I've tried reverse engineering some of the p4app.json files to figure out how one might set the host IP addresses, but I can't seem to get it right. Looking at the source_routing.p4 example, I believe I can just add in the ip dictionary key, but it has no affect. Here is my p4app.json file:

{
  "program": "basic_fwd.p4",
  "language": "p4-16",
  "targets": {
    "multiswitch": {
        "auto-control-plane": false,
        "cli": true,
        "pcap_dump": true,
        "enable_log": true,
        "links": [["h1", "s1"], ["s1", "h2"]],
        "hosts": {
          "h1": {
            "ip": "10.0.1.10",
            "cmd": "python test.py $echo_msg"
          },
          "h2": {
            "ip": "10.0.2.10",
            "cmd": "python test.py $echo_msg"
          }
        },
        "switches": {
          "s1": {
              "entries": "basic_fwd_switch.config"
          }
        },
        "parameters": {
          "echo_msg": "\nfoobar\n"
        }
      }
  }
}
  • I do not see the IP address change (no matter what)
  • The test.py is just a simple script that prints the argument that is input. This also does not execute on startup, but I can manually run it (i.e., `h1 python test.py "test" ' outputs what I'd expect)
  • Changing other parameters, e.g. links, does affect the network as expected

So I must just not understand how to properly set the host IPs and/or run the host scrips.

Appreciate the help.

R/

Mininet crash when "program" is placed in subdirectory

Hi everyone,

I've got a problem with running my own package when P4 source file are not placed in package root.
It seems to be issue with p4apprunner.py, which set log file from program section of manifest as is, so single_switch_mininet.py cannot create log file in non existing directory.

Changing p4apprunner.py resolved issue and also work with example packages.

log_file = os.path.join('/var/log', manifest.program_file + '.log')

to

log_file = os.path.join('/var/log', (os.path.split(manifest.program_file)[-1]) + '.log')

Config:

{
  "program": "src/main.p4",
  "language": "p4-14",
  "targets": {
    "debug": {
      "use": "mininet",
      "num-hosts": 2,
      "switch-config": "cfg/p4app.d/sim_config.config"
    }
  }
}

Run output:

Entering build directory.
Extracting package.
> touch /tmp/p4app_logs/p4s.s1.log
> ln -s /tmp/p4app_logs/p4s.s1.log /tmp/p4s.s1.log
Reading package manifest.
> p4c-bm2-ss --p4v 14 -D _BMV2_ -I include/ "src/main.p4" -o "main.json"
> python2 "/scripts/mininet/single_switch_mininet.py" --log-file "/var/log/src/main.p4.log" --cli-message "mininet_message.txt" --num-hosts 2 --switch-config "cfg/p4app.d/sim_config.config" --behavioral-exe "simple_switch" --json "main.json"
Adding host h1
Adding host h2
*** Error setting resource limits. Mininet's performance may be affected.
*** Creating network
*** Adding hosts:
h1 h2 
*** Adding switches:
Traceback (most recent call last):
  File "/scripts/mininet/single_switch_mininet.py", line 137, in <module>
    main()
  File "/scripts/mininet/single_switch_mininet.py", line 88, in main
    controller = None)
  File "build/bdist.linux-x86_64/egg/mininet/net.py", line 173, in __init__
  File "build/bdist.linux-x86_64/egg/mininet/net.py", line 501, in build
  File "build/bdist.linux-x86_64/egg/mininet/net.py", line 482, in buildFromTopo
  File "build/bdist.linux-x86_64/egg/mininet/net.py", line 259, in addSwitch
  File "/scripts/mininet/p4_mininet.py", line 80, in __init__
    self.output = open(self.log_file, 'w')
IOError: [Errno 2] No such file or directory: '/var/log/src/main.p4.log'

This change is in my fork of this repo and can be PR here.

multiswitch.p4app starts and stops just after

Hi!

I have problems while running multiswitch.p4app. App starts and and stops just after. Am I able to run it like simple_router.p4app (ping hosts for example) and make some changes in topology? Run on VM of Ubuntu 16.04 LTS.


$ sudo p4app run multiswitch.p4app
Entering build directory.
Extracting package.
Reading package manifest.
> p4c-bm2-ss --p4v 16 "simple_router.p4" -o "simple_router.p4.json"
> python2 "/scripts/mininet/multi_switch_mininet.py" --log-dir "/tmp/p4app_logs" --manifest "./p4app.json" --target "multiswitch" --auto-control-plane --behavioral-exe "simple_switch" --json "simple_router.p4.json"
*** Error setting resource limits. Mininet's performance may be affected.
*** Creating network
*** Adding hosts:
h1 h2 
*** Adding switches:
s1 s2 
*** Adding links:
(0ms delay) (0ms delay) (h1, s1) (50ms delay) (50ms delay) (h2, s2) (0ms delay) (0ms delay) (s1, s2) 
*** Configuring hosts
h1 h2 
*** Starting controller

*** Starting 2 switches
s1 Starting P4 switch s1.
simple_switch -i 1@s1-eth1 -i 2@s1-eth2 --thrift-port 9090 --nanolog ipc:///tmp/bm-0-log.ipc --device-id 0 simple_router.p4.json
P4 switch s1 has been started.
s2 Starting P4 switch s2.
simple_switch -i 1@s2-eth1 -i 2@s2-eth2 --thrift-port 9091 --nanolog ipc:///tmp/bm-1-log.ipc --device-id 1 simple_router.p4.json
P4 switch s2 has been started.

table_set_default send_frame _drop
table_set_default forward _drop
table_set_default ipv4_lpm _drop
table_add send_frame rewrite_mac 1 => 00:aa:00:02:00:02
table_add forward set_dmac 10.0.2.101 => 00:04:00:00:02:01
table_add ipv4_lpm set_nhop 10.0.2.101/32 => 10.0.2.101 1
table_add send_frame rewrite_mac 2 => 00:aa:00:02:01:00
table_add forward set_dmac 10.0.1.101 => 00:aa:00:01:02:00
table_add ipv4_lpm set_nhop 10.0.1.101/32 => 10.0.1.101 2
Obtaining JSON from switch...
Done
Control utility for runtime P4 table manipulation
RuntimeCmd: Setting default action of send_frame
action:              _drop
runtime data:        
RuntimeCmd: Setting default action of forward
action:              _drop
runtime data:        
RuntimeCmd: Setting default action of ipv4_lpm
action:              _drop
runtime data:        
RuntimeCmd: Adding entry to exact match table send_frame
match key:           EXACT-00:01
action:              rewrite_mac
runtime data:        00:aa:00:02:00:02
Entry has been added with handle 0
RuntimeCmd: Adding entry to exact match table forward
match key:           EXACT-0a:00:02:65
action:              set_dmac
runtime data:        00:04:00:00:02:01
Entry has been added with handle 0
RuntimeCmd: Adding entry to lpm match table ipv4_lpm
match key:           LPM-0a:00:02:65/32
action:              set_nhop
runtime data:        0a:00:02:65	00:01
Entry has been added with handle 0
RuntimeCmd: Adding entry to exact match table send_frame
match key:           EXACT-00:02
action:              rewrite_mac
runtime data:        00:aa:00:02:01:00
Entry has been added with handle 1
RuntimeCmd: Adding entry to exact match table forward
match key:           EXACT-0a:00:01:65
action:              set_dmac
runtime data:        00:aa:00:01:02:00
Entry has been added with handle 1
RuntimeCmd: Adding entry to lpm match table ipv4_lpm
match key:           LPM-0a:00:01:65/32
action:              set_nhop
runtime data:        0a:00:01:65	00:02
Entry has been added with handle 1
RuntimeCmd: 

table_set_default send_frame _drop
table_set_default forward _drop
table_set_default ipv4_lpm _drop
table_add send_frame rewrite_mac 1 => 00:aa:00:01:00:01
table_add forward set_dmac 10.0.1.101 => 00:04:00:00:01:01
table_add ipv4_lpm set_nhop 10.0.1.101/32 => 10.0.1.101 1
table_add send_frame rewrite_mac 2 => 00:aa:00:01:02:00
table_add forward set_dmac 10.0.2.101 => 00:aa:00:02:01:00
table_add ipv4_lpm set_nhop 10.0.2.101/32 => 10.0.2.101 2
Obtaining JSON from switch...
Done
Control utility for runtime P4 table manipulation
RuntimeCmd: Setting default action of send_frame
action:              _drop
runtime data:        
RuntimeCmd: Setting default action of forward
action:              _drop
runtime data:        
RuntimeCmd: Setting default action of ipv4_lpm
action:              _drop
runtime data:        
RuntimeCmd: Adding entry to exact match table send_frame
match key:           EXACT-00:01
action:              rewrite_mac
runtime data:        00:aa:00:01:00:01
Entry has been added with handle 0
RuntimeCmd: Adding entry to exact match table forward
match key:           EXACT-0a:00:01:65
action:              set_dmac
runtime data:        00:04:00:00:01:01
Entry has been added with handle 0
RuntimeCmd: Adding entry to lpm match table ipv4_lpm
match key:           LPM-0a:00:01:65/32
action:              set_nhop
runtime data:        0a:00:01:65	00:01
Entry has been added with handle 0
RuntimeCmd: Adding entry to exact match table send_frame
match key:           EXACT-00:02
action:              rewrite_mac
runtime data:        00:aa:00:01:02:00
Entry has been added with handle 1
RuntimeCmd: Adding entry to exact match table forward
match key:           EXACT-0a:00:02:65
action:              set_dmac
runtime data:        00:aa:00:02:01:00
Entry has been added with handle 1
RuntimeCmd: Adding entry to lpm match table ipv4_lpm
match key:           LPM-0a:00:02:65/32
action:              set_nhop
runtime data:        0a:00:02:65	00:02
Entry has been added with handle 1
RuntimeCmd: 

**********
Network configuration for: h1
Default interface: h1-eth0	10.0.0.1	00:04:00:00:01:01
**********
**********
Network configuration for: h2
Default interface: h2-eth0	10.0.0.2	00:04:00:00:02:01
**********
port: 8000
echo_msg: foobar

h1 python echo_server.py $port
h2 python echo_client.py 10.0.1.101 $port $echo_msg
(None, '')
(None, '')
*** Stopping 0 controllers

*** Stopping 3 links
...
*** Stopping 2 switches
s1 s2 
*** Stopping 2 hosts
h1 h2 
*** Done

Allow running simple_switch with custom arguments

When I run my program using p4, it runs with this command -

simple_switch -i 1@s1-eth1 -i 2@s1-eth2 --thrift-port 9090 --nanolog ipc:///tmp/bm-0-log.ipc --device-id 0 monitor.json --debugger --log-console

I would like to pass an additional argument in this command (the --notification-addr argument). I cannot find any way to do this in the documentation.

Enable setting of pcap_dump via target parameters

single_switch_mininet.py and others have a parameter to enable/disable pcap dump. The README says I should be able to set this field in the target params. The p4apprunner.py doesn't appear to read this from the manifest.target config though and so appears to have no effect.

MultiSwitch - Command reformatting replaces host names with IP address of substrings

When using more than 9 hosts names h1,h2, ...etc the command reformatting replaces h11 with (ip for h1)1
for example :
"h1":{
"cmd": "IP_for_h_1 h1",
"startup_sleep": 1,
"wait":true
},"h11":{
"cmd": "IP for h_11 h11",
"startup_sleep": 1,
"wait":true

the 2 commands are reformatted to : "IP_for_h_1 10.0.1.101" and "IP for h_11 10.0.1.1011" respectively.

simple_router.p4app fails to compile

Hi. Just cloned this repo to my MacBook Pro running MacOS 10.14.5. I have Docker 2.0.0.3 (31259) installed and it is working fine for other containers.

I copied p4app to /usr/local/bin. But when I try to follow the example and do:

p4app examples/simple_router.p4app

I get a compile failure and a command prompt back. Here is my complete error message:

$ p4app run examples/simple_router.p4app
Unable to find image 'p4lang/p4app:latest' locally
latest: Pulling from p4lang/p4app
34667c7e4631: Pull complete 
d18d76a881a4: Pull complete 
119c7358fbfc: Pull complete 
2aaf13f3eff0: Pull complete 
47b34b748fb2: Pull complete 
b3563abfb95e: Pull complete 
64edf4bdf081: Pull complete 
e4241818a95c: Pull complete 
afb1be7d4010: Pull complete 
5ff70b4d3d6d: Pull complete 
bf35cb736f24: Pull complete 
20c803f83bc5: Pull complete 
9c11df26b839: Pull complete 
e5c110fd33fc: Pull complete 
b5f96c88e36a: Pull complete 
93ba64dc9572: Pull complete 
22deb6f5ab5a: Pull complete 
091ff7e3f1ae: Pull complete 
0e47b954b4bc: Pull complete 
f5a33b1378ff: Pull complete 
0f232cc8d4d9: Pull complete 
d74da39cb1d6: Pull complete 
7e04da52dd4c: Pull complete 
6f06d0e3cc8c: Pull complete 
162264961137: Pull complete 
278f5184b48a: Pull complete 
1822466a83da: Pull complete 
941179be925f: Pull complete 
b6c23495c6dc: Pull complete 
48ff96de9cda: Pull complete 
69549022b820: Pull complete 
d7118caf490d: Pull complete 
cdf7b1490ab6: Pull complete 
Digest: sha256:99a6c28f2181d60c0cc9d82afe83b7fb903c1d831e628952c4c5aeeb8351447c
Status: Downloaded newer image for p4lang/p4app:latest
Entering build directory.
Extracting package.
> touch /tmp/p4app_logs/p4s.s1.log
> ln -s /tmp/p4app_logs/p4s.s1.log /tmp/p4s.s1.log
Reading package manifest.
> p4c-bm2-ss --p4v 16 "simple_router.p4" -o "simple_router.json"
simple_router.p4(12): [--Wwarn=deprecated] warning: mark_to_drop: Using deprecated feature mark_to_drop. Please use mark_to_drop(standard_metadata) instead.
        mark_to_drop();
        ^^^^^^^^^^^^
/usr/local/share/p4c/p4include/v1model.p4(343)
extern void mark_to_drop();
            ^^^^^^^^^^^^
simple_router.p4(35): [--Wwarn=deprecated] warning: mark_to_drop: Using deprecated feature mark_to_drop. Please use mark_to_drop(standard_metadata) instead.
        mark_to_drop();
        ^^^^^^^^^^^^
/usr/local/share/p4c/p4include/v1model.p4(343)
extern void mark_to_drop();
            ^^^^^^^^^^^^
simple_router.p4(12): [--Werror=target-error] error: mark_to_drop: Unsupported on target Expected 1 argument for mark_to_drop. Are you using an up-to-date v1model.p4?
        mark_to_drop();
        ^^^^^^^^^^^^^^
simple_router.p4(35): [--Werror=target-error] error: mark_to_drop: Unsupported on target Expected 1 argument for mark_to_drop. Are you using an up-to-date v1model.p4?
        mark_to_drop();
        ^^^^^^^^^^^^^^
Compile failed.
$

Not sure what to do next. I've also tried running from the local directory (i.e. ./p4app) with the same result. I've removed the docker image and tried having it pull it again. All gets the same error.

p4app can't compile

I tried running simple_router.p4app and multiswitch.p4app but they couldn't compile. simple_counter.p4app was able to compile though.This was the error
`Entering build directory.
Extracting package.

touch /tmp/p4app_logs/p4s.s1.log
ln -s /tmp/p4app_logs/p4s.s1.log /tmp/p4s.s1.log
Reading package manifest.
p4c-bm2-ss --p4v 16 "simple_router.p4" -o "simple_router.json"
simple_router.p4(12): [--Wwarn=deprecated] warning: mark_to_drop: Using deprecated feature mark_to_drop. Please use mark_to_drop(standard_metadata) instead.
mark_to_drop();
^^^^^^^^^^^^
/usr/local/share/p4c/p4include/v1model.p4(289)
extern void mark_to_drop();
^^^^^^^^^^^^
simple_router.p4(35): [--Wwarn=deprecated] warning: mark_to_drop: Using deprecated feature mark_to_drop. Please use mark_to_drop(standard_metadata) instead.
mark_to_drop();
^^^^^^^^^^^^
/usr/local/share/p4c/p4include/v1model.p4(289)
extern void mark_to_drop();
^^^^^^^^^^^^
simple_router.p4(12): [--Werror=target-error] error: mark_to_drop: Unsupported on target Expected 1 argument for mark_to_drop. Are you using an up-to-date v1model.p4?
mark_to_drop();
^^^^^^^^^^^^^^
simple_router.p4(35): [--Werror=target-error] error: mark_to_drop: Unsupported on target Expected 1 argument for mark_to_drop. Are you using an up-to-date v1model.p4?
mark_to_drop();
^^^^^^^^^^^^^^
Compile failed.
`
I already updated the p4app and did the same for the path.
System: ubuntu 16.04 and 18.04

Simple_Switch stops to work and pops up AttributeError: 'module' object has no attribute 'P4RuntimeStub'

The following message appers after running the p4app script.

s1 Starting P4 switch s1.
simple_switch -i 1@s1-eth1 -i 2@s1-eth2 -i 3@s1-eth3 --nanolog ipc:///tmp/bm-0-log.ipc --device-id 0 /tmp/p4app-logs/polka.json --thrift-port 9090
P4 switch s1 has been started.
Traceback (most recent call last):
  File "/p4app/main.py", line 461, in <module>
    main()
  File "/p4app/main.py", line 415, in main
    net = config_network(bw, method, n, is_fabric)
  File "/p4app/main.py", line 135, in config_network
    net.start()
  File "/scripts/p4app.py", line 100, in start
    Mininet.start(self, *args, **kwargs)
  File "build/bdist.linux-x86_64/egg/mininet/net.py", line 548, in start
  File "/scripts/p4_mininet.py", line 353, in start
    proto_dump_file='/tmp/p4app-logs/' + self.name + '-p4runtime-requests.txt')
  File "/scripts/p4runtime_lib/switch.py", line 44, in __init__
    self.client_stub = p4runtime_pb2.P4RuntimeStub(self.channel)
AttributeError: 'module' object has no attribute 'P4RuntimeStub'

I have used the latest p4app version, and it has appeared for all tested protofub, p4c, PI and behavioral-model versions.

mininet sysctl errors

This appears to be a general problem running mininet inside Docker. For example see the following links:
moby/moby#8103
moby/moby#4717

So this bug report is more of a footnote because I'm not sure there is a remedy. The advice seems to be to make the resource settings per the mininet utils.py file inside your host before launching Docker. Then at least the errors are benign.

chris@t1700-vbox-ub16:~/p4/p4app$ p4app run examples/simple_router.p4app/
Entering build directory.
Extracting package.
Reading package manifest.

 p4c-bm2-ss --p4v 16 "simple_router.p4" -o "simple_router.p4.json"
> python2 "/scripts/mininet/single_switch_mininet.py" --log-file "/var/log/simple_router.p4.log" --cli-message "mininet_message.txt" --num-hosts 2 --switch-config "simple_router.config" --behavioral-exe "simple_switch" --json "simple_router.p4.json"
Adding host h1
Adding host h2
*** Error setting resource limits. Mininet's performance may be affected.

In short, several files inside /proc/sys/net and /proc/sys/core are unavailable inside the Docker container.
From https://github.com/mininet/mininet/blob/master/mininet/util.py I obtained the following; fixLimits() throws the error:

#...
from resource import getrlimit, setrlimit, RLIMIT_NPROC, RLIMIT_NOFILE
#...
def sysctlTestAndSet( name, limit ):
    "Helper function to set sysctl limits"
    #convert non-directory names into directory names
    if '/' not in name:
        name = '/proc/sys/' + name.replace( '.', '/' )
    #read limit
    with open( name, 'r' ) as readFile:
        oldLimit = readFile.readline()
        if isinstance( limit, int ):
            #compare integer limits before overriding
            if int( oldLimit ) < limit:
                with open( name, 'w' ) as writeFile:
                    writeFile.write( "%d" % limit )
        else:
            #overwrite non-integer limits
            with open( name, 'w' ) as writeFile:
                writeFile.write( limit )

def rlimitTestAndSet( name, limit ):
    "Helper function to set rlimits"
    soft, hard = getrlimit( name )
    if soft < limit:
        hardLimit = hard if limit < hard else limit
	setrlimit( name, ( limit, hardLimit ) )

def fixLimits():
    "Fix ridiculously small resource limits."
    debug( "*** Setting resource limits\n" )
    try:
        rlimitTestAndSet( RLIMIT_NPROC, 8192 )
        rlimitTestAndSet( RLIMIT_NOFILE, 16384 )
        #Increase open file limit
        sysctlTestAndSet( 'fs.file-max', 10000 )
        #Increase network buffer space
        sysctlTestAndSet( 'net.core.wmem_max', 16777216 )
        sysctlTestAndSet( 'net.core.rmem_max', 16777216 )
        sysctlTestAndSet( 'net.ipv4.tcp_rmem', '10240 87380 16777216' )
        sysctlTestAndSet( 'net.ipv4.tcp_wmem', '10240 87380 16777216' )
        sysctlTestAndSet( 'net.core.netdev_max_backlog', 5000 )
        #Increase arp cache size
        sysctlTestAndSet( 'net.ipv4.neigh.default.gc_thresh1', 4096 )
        sysctlTestAndSet( 'net.ipv4.neigh.default.gc_thresh2', 8192 )
        sysctlTestAndSet( 'net.ipv4.neigh.default.gc_thresh3', 16384 )
        #Increase routing table size
        sysctlTestAndSet( 'net.ipv4.route.max_size', 32768 )
        #Increase number of PTYs for nodes
        sysctlTestAndSet( 'kernel.pty.max', 20000 )
    # pylint: disable=broad-except
    except Exception:
        warn( "*** Error setting resource limits. "
              "Mininet's performance may be affected.\n" )

If you try to execute the above settings you can easily see which ones fail:

>>> rlimitTestAndSet( RLIMIT_NPROC, 8192 )
>>> rlimitTestAndSet( RLIMIT_NOFILE, 16384 )
>>> sysctlTestAndSet( 'fs.file-max', 10000 )
>>> sysctlTestAndSet( 'net.core.wmem_max', 16777216 )
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "<stdin>", line 7, in sysctlTestAndSet
IOError: [Errno 2] No such file or directory: '/proc/sys/net/core/wmem_max'
>>> sysctlTestAndSet( 'net.core.rmem_max', 16777216 )
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "<stdin>", line 7, in sysctlTestAndSet
IOError: [Errno 2] No such file or directory: '/proc/sys/net/core/rmem_max'
>>> sysctlTestAndSet( 'net.ipv4.tcp_rmem', '10240 87380 16777216' )
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "<stdin>", line 7, in sysctlTestAndSet
IOError: [Errno 2] No such file or directory: '/proc/sys/net/ipv4/tcp_rmem'
>>> sysctlTestAndSet( 'net.ipv4.tcp_wmem', '10240 87380 16777216' )
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "<stdin>", line 7, in sysctlTestAndSet
IOError: [Errno 2] No such file or directory: '/proc/sys/net/ipv4/tcp_wmem'
>>> sysctlTestAndSet( 'net.core.netdev_max_backlog', 5000 )
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "<stdin>", line 7, in sysctlTestAndSet
IOError: [Errno 2] No such file or directory: '/proc/sys/net/core/netdev_max_backlog'
>>> sysctlTestAndSet( 'net.ipv4.neigh.default.gc_thresh1', 4096 )
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "<stdin>", line 7, in sysctlTestAndSet
IOError: [Errno 2] No such file or directory: '/proc/sys/net/ipv4/neigh/default/gc_thresh1'
>>> sysctlTestAndSet( 'net.ipv4.neigh.default.gc_thresh2', 8192 )
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "<stdin>", line 7, in sysctlTestAndSet
IOError: [Errno 2] No such file or directory: '/proc/sys/net/ipv4/neigh/default/gc_thresh2'
>>> sysctlTestAndSet( 'net.ipv4.neigh.default.gc_thresh3', 16384 )
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "<stdin>", line 7, in sysctlTestAndSet
IOError: [Errno 2] No such file or directory: '/proc/sys/net/ipv4/neigh/default/gc_thresh3'
>>> sysctlTestAndSet( 'net.ipv4.route.max_size', 32768 )
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "<stdin>", line 7, in sysctlTestAndSet
IOError: [Errno 2] No such file or directory: '/proc/sys/net/ipv4/route/max_size'
>>> sysctlTestAndSet( 'kernel.pty.max', 20000 )

How to run simple_switch_grpc if using custom target

Hi,

I'm using p4app with custom target.

{
  "program": "p4src/countmin.p4",
  "language": "p4-14",
  "targets": {
      "custom": {
	       "program": "topo.py"
      }
  }
}

It is currently simple_switch:
PYTHONPATH=$PYTHONPATH:/scripts/mininet/ python2 topo.py --behavioral-exe "simple_switch" --json "countmin.json" --cli "simple_switch_CLI"

However, I would like to switch to gRPC which should allow me to develop more complex control of the p4app. What I need to change to run my custom topo.py with --behavioral-exe "simple_switch_grpc"?

I have tempoary work around the problem by modifying scripts/p4apprunner.py (replacing 'simple_switch' with 'simple_switch_grpc' everywhere )but without success. I still see:
PYTHONPATH=$PYTHONPATH:/scripts/mininet/ python2 topo.py --behavioral-exe "simple_switch" --json "countmin.json" --cli "simple_switch_CLI"
From where this line is called?

Unable to ping when "auto-control-plane" is set to false in p4app.json

We are experimenting with multiswitch.p4app.

When we set this "auto-control-plane" in p4app.json to false, we are unable to ping host to host.
Even the CLI table_add, table_set command logs do not appear at runtime in the console.

Can someone please let us know what auto-control-plane setting is and when to set it to true/false?

Thanks

packet drop in p4 switches

Hello All,

In p4app I created a simple topology like:
h1->s1->s2->h2

And I tried to run h1 as TCP client and h2 as TCP server. I am using iperf to generate the traffic. Now here's the problem. From the dmesg command I can see a lot of packet transmission is happening, and I suspect the reason is packet drop. So I have two questions mainly:

  • In the p4 code, is there any way so that I could come to know the packet has been dropped due to buffer overflow, I can see switch log file at the /tmp directory, but not sure what is the syntax to print/log info into those log files from the p4 code.

  • Is there any way I can set the buffer size/ queue size from the p4 code for any switches. If yes, then how and what is the maximum limit for that.

Thanks in advance.

multiple switch definition p4 files

I would like to use the h1<->s1<->s2<->s3<->h2 topology with two different switch p4 definitions (s1,s3 = switch_a, s2 = switch_b). Can this be done?

paxos_acceptor example fails to compile

chris@t1700-vbox-ub16:~/p4/p4app$ p4app run examples/paxos_acceptor.p4app/
Entering build directory.
Extracting package.
Reading package manifest.
> p4c-bm2-ss --p4v 16 "acceptor.p4" -o "acceptor.p4.json"
acceptor.p4(57): error: AssignmentStatement: Cannot unify bit<4> to bit<9>
        standard_metadata.egress_spec = port;
                                      ^
Compile failed.

Fixed by modifying includes/header.p4 as follows:

typedef bit<9> PortId;

mininet xterm fails

I don't know if this is a general problem of running mininet inside Docker or a matter of this specific Docker image.

p4app run examples/simple_router.p4app
...
*** Starting CLI:
mininet> h1 ping -c 1 h2
PING 10.0.1.10 (10.0.1.10) 56(84) bytes of data.
64 bytes from 10.0.1.10: icmp_seq=1 ttl=63 time=0.600 ms

--- 10.0.1.10 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.600/0.600/0.600/0.000 ms
mininet> xterm h1
Error: Cannot connect to display

P4app can't import pycrptodome

I am running a program in p4app that imports pycryptodome but this is the error I'm getting from Crypto.Hash import MD5\nImportError: No module named Crypto.Hash\n'. It seems that p4app can't import the pycryptodome library. Does the p4app support it?

system:
windows 8.1 and 10
ubuntu 16.04

Docker can't rebuild the image

Hi, I'm on macOS Big Sur 11.3.1

tried running docker build . under the directory to have my changes set up, but it throws an error.

executor failed running [/bin/sh -c apt-get update && apt-get install -y --no-install-recommends $NET_TOOLS $MININET_DEPS]: exit code: 100

Below is the output after calling docker build:

[+] Building 31.8s (6/13)                                                                                                                        
 => [internal] load build definition from Dockerfile                                                                                        0.0s
 => => transferring dockerfile: 1.65kB                                                                                                      0.0s
 => [internal] load .dockerignore                                                                                                           0.0s
 => => transferring context: 2B                                                                                                             0.0s
 => [internal] load metadata for docker.io/p4lang/p4c:latest                                                                                0.0s
 => CACHED [1/9] FROM docker.io/p4lang/p4c:latest                                                                                           0.0s
 => [internal] load build context                                                                                                           0.0s
 => => transferring context: 73.90kB                                                                                                        0.0s
 => ERROR [2/9] RUN apt-get update &&     apt-get install -y --no-install-recommends iputils-arping               iputils-ping             31.7s
------                                                                                                                                           
 > [2/9] RUN apt-get update &&     apt-get install -y --no-install-recommends iputils-arping               iputils-ping               iputils-tracepath               net-tools               nmap               python-ipaddr               python-scapy               tcpdump               traceroute               tshark automake                  build-essential                  cgroup-bin                  ethtool                  gcc                  help2man                  iperf                  iproute                  libtool                  make                  pkg-config                  psmisc                  socat                  ssh                  sudo                  telnet                  pep8                  pyflakes                  pylint                  python-pexpect                  python-setuptools:
#5 0.468 Get:1 http://security.ubuntu.com/ubuntu xenial-security InRelease [109 kB]
#5 0.581 Get:2 http://archive.ubuntu.com/ubuntu xenial InRelease [247 kB]
#5 0.917 Get:3 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages [2051 kB]
#5 1.393 Get:4 http://archive.ubuntu.com/ubuntu xenial-updates InRelease [109 kB]
#5 1.440 Get:5 http://security.ubuntu.com/ubuntu xenial-security/restricted amd64 Packages [15.9 kB]
#5 1.443 Get:6 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 Packages [984 kB]
#5 1.476 Get:7 http://security.ubuntu.com/ubuntu xenial-security/multiverse amd64 Packages [8820 B]
#5 1.592 Get:8 http://archive.ubuntu.com/ubuntu xenial-backports InRelease [107 kB]
#5 1.640 Get:9 http://archive.ubuntu.com/ubuntu xenial/main amd64 Packages [1558 kB]
#5 2.069 Get:10 http://archive.ubuntu.com/ubuntu xenial/restricted amd64 Packages [14.1 kB]
#5 2.071 Get:11 http://archive.ubuntu.com/ubuntu xenial/universe amd64 Packages [9827 kB]
#5 2.686 Get:12 http://archive.ubuntu.com/ubuntu xenial/multiverse amd64 Packages [176 kB]
#5 2.690 Get:13 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [2559 kB]
#5 2.843 Get:14 http://archive.ubuntu.com/ubuntu xenial-updates/restricted amd64 Packages [16.4 kB]
#5 2.844 Get:15 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [1544 kB]
#5 2.963 Get:16 http://archive.ubuntu.com/ubuntu xenial-updates/multiverse amd64 Packages [26.2 kB]
#5 2.966 Get:17 http://archive.ubuntu.com/ubuntu xenial-backports/main amd64 Packages [10.9 kB]
#5 2.967 Get:18 http://archive.ubuntu.com/ubuntu xenial-backports/universe amd64 Packages [12.7 kB]
#5 3.539 Fetched 19.4 MB in 3s (5909 kB/s)
#5 3.539 Reading package lists...
#5 4.378 Reading package lists...
#5 5.204 Building dependency tree...
#5 5.356 Reading state information...
#5 5.490 net-tools is already the newest version (1.60-26ubuntu1).
#5 5.490 python-setuptools is already the newest version (20.7.0-1).
#5 5.490 The following additional packages will be installed:
#5 5.490   autoconf autotools-dev bzip2 cgroup-lite cgroup-tools dpkg-dev g++ g++-5
#5 5.490   gcc-5 iproute2 libblas-common libblas3 libc-ares2 libcc1-0 libcgroup1
#5 5.490   libdbus-1-3 libdpkg-perl libdrm-common libdrm2 libgdbm3 libglib2.0-0
#5 5.491   libgnutls-openssl27 libgnutls30 libgssapi-krb5-2 libhogweed4 libidn11
#5 5.491   libjbig0 libjpeg-turbo8 libjpeg8 libk5crypto3 libkeyutils1 libkrb5-3
#5 5.491   libkrb5support0 liblinear3 liblocale-gettext-perl liblua5.2-0 libmaxminddb0
#5 5.491   libmnl0 libnettle6 libnghttp2-14 libnih-dbus1 libnih1 libnl-3-200
#5 5.491   libnl-genl-3-200 libp11-kit0 libperl5.22 libplymouth4 libpng12-0 libsbc1
#5 5.491   libsigsegv2 libsmi2ldbl libsnappy1v5 libspandsp2 libssh-gcrypt-4 libtasn1-6
#5 5.491   libtiff5 libudev1 libwireshark-data libwireshark11 libwiretap8 libwrap0
#5 5.491   libwscodecs2 libwsutil9 libxml2 lua-lpeg m4 mountall netbase openssh-client
#5 5.491   openssh-server openssh-sftp-server patch perl perl-modules-5.22 plymouth
#5 5.491   python-astroid python-lazy-object-proxy python-logilab-common
#5 5.492   python-ptyprocess python-pyflakes python-six python-wrapt python3-pep8
#5 5.492   python3-pkg-resources udev wireshark-common xz-utils
#5 5.493 Suggested packages:
#5 5.493   autoconf-archive gnu-standards autoconf-doc gettext bzip2-doc debian-keyring
#5 5.493   g++-multilib g++-5-multilib gcc-5-doc libstdc++6-5-dbg gcc-multilib
#5 5.493   manpages-dev flex bison gdb gcc-doc gcc-5-multilib gcc-5-locales libgcc1-dbg
#5 5.493   libgomp1-dbg libitm1-dbg libatomic1-dbg libasan2-dbg liblsan0-dbg
#5 5.493   libtsan0-dbg libubsan0-dbg libcilkrts5-dbg libmpx0-dbg libquadmath0-dbg
#5 5.493   iproute2-doc gnutls-bin krb5-doc krb5-user liblinear-tools liblinear-dev
#5 5.493   mmdb-bin snmp-mibs-downloader libtool-doc gfortran | fortran95-compiler
#5 5.493   gcj-jdk wireshark-doc make-doc ssh-askpass libpam-ssh keychain monkeysphere
#5 5.493   rssh molly-guard ufw ed diffutils-doc perl-doc libterm-readline-gnu-perl
#5 5.493   | libterm-readline-perl-perl desktop-base plymouth-themes pylint-doc pyro
#5 5.493   python-unittest2 python-pexpect-doc tcpreplay wireshark graphviz imagemagick
#5 5.493   python-gnuplot python-crypto python-pyx ebtables python-visual sox xpdf gv
#5 5.493   hexer librsvg2-bin python-pcapy python3-setuptools apparmor
#5 5.493 Recommended packages:
#5 5.493   fakeroot libalgorithm-merge-perl libatm1 dbus libfile-fcntllock-perl
#5 5.493   libglib2.0-data shared-mime-info xdg-user-dirs krb5-locales libltdl-dev tcpd
#5 5.493   xml-core ifupdown ndiff xauth ncurses-term ssh-import-id rename
#5 5.493   plymouth-theme-ubuntu-text | plymouth-theme pyflakes3 python-tk
#5 5.493   python-egenix-mxdatetime
#5 5.494 The following NEW packages will be installed:
#5 5.494   autoconf automake autotools-dev build-essential bzip2 cgroup-bin cgroup-lite
#5 5.494   cgroup-tools dpkg-dev ethtool g++ g++-5 gcc gcc-5 help2man iperf iproute
#5 5.494   iproute2 iputils-arping iputils-ping iputils-tracepath libblas-common
#5 5.494   libblas3 libc-ares2 libcc1-0 libcgroup1 libdbus-1-3 libdpkg-perl
#5 5.495   libdrm-common libdrm2 libgdbm3 libglib2.0-0 libgnutls-openssl27 libgnutls30
#5 5.495   libgssapi-krb5-2 libhogweed4 libidn11 libjbig0 libjpeg-turbo8 libjpeg8
#5 5.495   libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0 liblinear3
#5 5.495   liblocale-gettext-perl liblua5.2-0 libmaxminddb0 libmnl0 libnettle6
#5 5.495   libnghttp2-14 libnih-dbus1 libnih1 libnl-3-200 libnl-genl-3-200 libp11-kit0
#5 5.495   libperl5.22 libplymouth4 libpng12-0 libsbc1 libsigsegv2 libsmi2ldbl
#5 5.495   libsnappy1v5 libspandsp2 libssh-gcrypt-4 libtasn1-6 libtiff5 libtool
#5 5.495   libwireshark-data libwireshark11 libwiretap8 libwrap0 libwscodecs2
#5 5.495   libwsutil9 libxml2 lua-lpeg m4 make mountall netbase nmap openssh-client
#5 5.495   openssh-server openssh-sftp-server patch pep8 perl perl-modules-5.22
#5 5.495   pkg-config plymouth psmisc pyflakes pylint python-astroid python-ipaddr
#5 5.495   python-lazy-object-proxy python-logilab-common python-pexpect
#5 5.495   python-ptyprocess python-pyflakes python-scapy python-six python-wrapt
#5 5.496   python3-pep8 python3-pkg-resources socat ssh sudo tcpdump telnet traceroute
#5 5.496   tshark udev wireshark-common xz-utils
#5 5.496 The following packages will be upgraded:
#5 5.497   libudev1
#5 6.072 1 upgraded, 115 newly installed, 0 to remove and 13 not upgraded.
#5 6.072 Need to get 56.9 MB of archives.
#5 6.072 After this operation, 259 MB of additional disk space will be used.
#5 6.072 Get:1 http://archive.ubuntu.com/ubuntu xenial/main amd64 liblocale-gettext-perl amd64 1.07-1build1 [17.1 kB]
#5 6.867 Get:2 http://archive.ubuntu.com/ubuntu xenial/main amd64 libmnl0 amd64 1.0.3-5 [12.0 kB]
#5 6.901 Get:3 http://archive.ubuntu.com/ubuntu xenial/main amd64 libnih1 amd64 1.0.3-4.3ubuntu1 [49.0 kB]
#5 7.088 Get:4 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libudev1 amd64 229-4ubuntu21.31 [54.8 kB]
#5 7.211 Get:5 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 udev amd64 229-4ubuntu21.31 [995 kB]
#5 7.776 Get:6 http://archive.ubuntu.com/ubuntu xenial/main amd64 libgdbm3 amd64 1.8.3-13.1 [16.9 kB]
#5 7.779 Get:7 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libglib2.0-0 amd64 2.48.2-0ubuntu4.8 [1120 kB]
#5 7.961 Get:8 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libjpeg-turbo8 amd64 1.4.2-0ubuntu3.4 [111 kB]
#5 7.968 Get:9 http://archive.ubuntu.com/ubuntu xenial/main amd64 libsigsegv2 amd64 2.10-4 [14.1 kB]
#5 7.968 Get:10 http://archive.ubuntu.com/ubuntu xenial/main amd64 libwrap0 amd64 7.6.q-25 [46.2 kB]
#5 7.970 Get:11 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libdrm-common all 2.4.91-2~16.04.1 [4764 B]
#5 7.971 Get:12 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libdrm2 amd64 2.4.91-2~16.04.1 [30.8 kB]
#5 7.972 Get:13 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libpng12-0 amd64 1.2.54-1ubuntu1.1 [116 kB]
#5 7.988 Get:14 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libplymouth4 amd64 0.9.2-3ubuntu13.5 [85.2 kB]
#5 7.996 Get:15 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 plymouth amd64 0.9.2-3ubuntu13.5 [107 kB]
#5 8.004 Get:16 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libdbus-1-3 amd64 1.10.6-1ubuntu3.6 [161 kB]
#5 8.125 Get:17 http://archive.ubuntu.com/ubuntu xenial/main amd64 libnih-dbus1 amd64 1.0.3-4.3ubuntu1 [14.1 kB]
#5 8.132 Get:18 http://archive.ubuntu.com/ubuntu xenial/main amd64 mountall amd64 2.54ubuntu1 [56.8 kB]
#5 8.137 Get:19 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 perl-modules-5.22 all 5.22.1-9ubuntu0.9 [2634 kB]
#5 8.251 Get:20 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libperl5.22 amd64 5.22.1-9ubuntu0.9 [3360 kB]
#5 8.484 Get:21 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 perl amd64 5.22.1-9ubuntu0.9 [237 kB]
#5 8.493 Get:22 http://archive.ubuntu.com/ubuntu xenial/main amd64 python-six all 1.10.0-3 [10.9 kB]
#5 8.494 Get:23 http://archive.ubuntu.com/ubuntu xenial/main amd64 python-wrapt amd64 1.8.0-5build2 [25.5 kB]
#5 8.495 Get:24 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libkrb5support0 amd64 1.13.2+dfsg-5ubuntu2.2 [31.2 kB]
#5 8.496 Get:25 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libk5crypto3 amd64 1.13.2+dfsg-5ubuntu2.2 [81.2 kB]
#5 8.499 Get:26 http://archive.ubuntu.com/ubuntu xenial/main amd64 libkeyutils1 amd64 1.5.9-8ubuntu1 [9904 B]
#5 8.500 Get:27 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libkrb5-3 amd64 1.13.2+dfsg-5ubuntu2.2 [273 kB]
#5 8.506 Get:28 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libgssapi-krb5-2 amd64 1.13.2+dfsg-5ubuntu2.2 [120 kB]
#5 8.513 Get:29 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 openssh-client amd64 1:7.2p2-4ubuntu2.10 [590 kB]
#5 8.642 Get:30 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 openssh-sftp-server amd64 1:7.2p2-4ubuntu2.10 [38.8 kB]
#5 8.656 Get:31 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 openssh-server amd64 1:7.2p2-4ubuntu2.10 [335 kB]
#5 8.701 Get:32 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 ssh all 1:7.2p2-4ubuntu2.10 [7072 B]
#5 8.702 Get:33 http://archive.ubuntu.com/ubuntu xenial/main amd64 libjbig0 amd64 2.1-3.1 [26.6 kB]
#5 8.703 Get:34 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 bzip2 amd64 1.0.6-8ubuntu0.2 [32.5 kB]
#5 8.705 Get:35 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 iproute2 amd64 4.3.0-1ubuntu3.16.04.5 [523 kB]
#5 8.720 Get:36 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libnettle6 amd64 3.2-1ubuntu0.16.04.2 [93.7 kB]
#5 8.726 Get:37 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libhogweed4 amd64 3.2-1ubuntu0.16.04.2 [136 kB]
#5 8.729 Get:38 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libidn11 amd64 1.32-3ubuntu1.2 [46.5 kB]
#5 8.731 Get:39 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libp11-kit0 amd64 0.23.2-5~ubuntu16.04.2 [107 kB]
#5 8.811 Get:40 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libtasn1-6 amd64 4.7-3ubuntu0.16.04.3 [43.5 kB]
#5 8.869 Get:41 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libgnutls30 amd64 3.4.10-4ubuntu1.8 [548 kB]
#5 8.889 Get:42 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libgnutls-openssl27 amd64 3.4.10-4ubuntu1.8 [21.9 kB]
#5 8.890 Get:43 http://archive.ubuntu.com/ubuntu xenial/main amd64 iputils-ping amd64 3:20121221-5ubuntu2 [52.7 kB]
#5 8.892 Get:44 http://archive.ubuntu.com/ubuntu xenial/main amd64 netbase all 5.3 [12.9 kB]
#5 8.894 Get:45 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 sudo amd64 1.8.16-0ubuntu1.10 [390 kB]
#5 8.906 Get:46 http://archive.ubuntu.com/ubuntu xenial/main amd64 iputils-tracepath amd64 3:20121221-5ubuntu2 [32.8 kB]
#5 8.907 Get:47 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libxml2 amd64 2.9.3+dfsg1-1ubuntu0.7 [698 kB]
#5 8.932 Get:48 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 psmisc amd64 22.21-2.1ubuntu0.1 [48.1 kB]
#5 8.934 Get:49 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 tcpdump amd64 4.9.3-0ubuntu0.16.04.1 [363 kB]
#5 8.999 Get:50 http://archive.ubuntu.com/ubuntu xenial/main amd64 telnet amd64 0.17-40 [63.5 kB]
#5 9.049 Get:51 http://archive.ubuntu.com/ubuntu xenial/main amd64 m4 amd64 1.4.17-5 [195 kB]
#5 9.057 Get:52 http://archive.ubuntu.com/ubuntu xenial/main amd64 autoconf all 2.69-9 [321 kB]
#5 9.068 Get:53 http://archive.ubuntu.com/ubuntu xenial/main amd64 autotools-dev all 20150820.1 [39.8 kB]
#5 9.070 Get:54 http://archive.ubuntu.com/ubuntu xenial/main amd64 automake all 1:1.15-4ubuntu1 [510 kB]
#5 9.089 Get:55 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libcc1-0 amd64 5.4.0-6ubuntu1~16.04.12 [38.8 kB]
#5 9.090 Get:56 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 gcc-5 amd64 5.4.0-6ubuntu1~16.04.12 [8612 kB]
#5 10.65 Get:57 http://archive.ubuntu.com/ubuntu xenial/main amd64 gcc amd64 4:5.3.1-1ubuntu1 [5244 B]
#5 10.65 Get:58 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 g++-5 amd64 5.4.0-6ubuntu1~16.04.12 [8430 kB]
#5 12.06 Get:59 http://archive.ubuntu.com/ubuntu xenial/main amd64 g++ amd64 4:5.3.1-1ubuntu1 [1504 B]
#5 12.06 Get:60 http://archive.ubuntu.com/ubuntu xenial/main amd64 make amd64 4.1-6 [151 kB]
#5 12.07 Get:61 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libdpkg-perl all 1.18.4ubuntu1.7 [195 kB]
#5 12.07 Get:62 http://archive.ubuntu.com/ubuntu xenial/main amd64 xz-utils amd64 5.1.1alpha+20120614-2ubuntu2 [78.8 kB]
#5 12.07 Get:63 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 patch amd64 2.7.5-1ubuntu0.16.04.2 [90.8 kB]
#5 12.08 Get:64 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 dpkg-dev all 1.18.4ubuntu1.7 [584 kB]
#5 12.09 Get:65 http://archive.ubuntu.com/ubuntu xenial/main amd64 build-essential amd64 12.1ubuntu2 [4758 B]
#5 12.09 Get:66 http://archive.ubuntu.com/ubuntu xenial/universe amd64 libcgroup1 amd64 0.41-7ubuntu1 [42.1 kB]
#5 12.09 Get:67 http://archive.ubuntu.com/ubuntu xenial/universe amd64 cgroup-lite all 1.11 [4192 B]
#5 12.24 Get:68 http://archive.ubuntu.com/ubuntu xenial/universe amd64 cgroup-tools amd64 0.41-7ubuntu1 [64.4 kB]
#5 12.25 Get:69 http://archive.ubuntu.com/ubuntu xenial/main amd64 ethtool amd64 1:4.5-1 [97.5 kB]
#5 12.26 Get:70 http://archive.ubuntu.com/ubuntu xenial/universe amd64 help2man amd64 1.47.3 [111 kB]
#5 12.26 Get:71 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 iperf amd64 2.0.5+dfsg1-2ubuntu0.1 [50.5 kB]
#5 12.27 Get:72 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 iproute all 1:4.3.0-1ubuntu3.16.04.5 [2434 B]
#5 12.27 Get:73 http://archive.ubuntu.com/ubuntu xenial/main amd64 iputils-arping amd64 3:20121221-5ubuntu2 [26.6 kB]
#5 12.27 Get:74 http://archive.ubuntu.com/ubuntu xenial/main amd64 libblas-common amd64 3.6.0-2ubuntu2 [5342 B]
#5 12.27 Get:75 http://archive.ubuntu.com/ubuntu xenial/main amd64 libblas3 amd64 3.6.0-2ubuntu2 [147 kB]
#5 12.27 Get:76 http://archive.ubuntu.com/ubuntu xenial/main amd64 libjpeg8 amd64 8c-2ubuntu8 [2194 B]
#5 12.27 Get:77 http://archive.ubuntu.com/ubuntu xenial/main amd64 liblinear3 amd64 2.1.0+dfsg-1 [39.3 kB]
#5 12.55 Get:78 http://archive.ubuntu.com/ubuntu xenial/main amd64 liblua5.2-0 amd64 5.2.4-1ubuntu1 [106 kB]
#5 12.56 Get:79 http://archive.ubuntu.com/ubuntu xenial/universe amd64 libmaxminddb0 amd64 1.0.4-2.1 [22.8 kB]
#5 12.56 Get:80 http://archive.ubuntu.com/ubuntu xenial/universe amd64 libnghttp2-14 amd64 1.7.1-1 [71.1 kB]
#5 12.56 Get:81 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libnl-3-200 amd64 3.2.27-1ubuntu0.16.04.1 [52.2 kB]
#5 12.56 Get:82 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libnl-genl-3-200 amd64 3.2.27-1ubuntu0.16.04.1 [11.2 kB]
#5 12.57 Get:83 http://archive.ubuntu.com/ubuntu xenial/main amd64 libsmi2ldbl amd64 0.4.8+dfsg2-11 [101 kB]
#5 12.57 Get:84 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libtiff5 amd64 4.0.6-1ubuntu0.8 [149 kB]
#5 12.57 Get:85 http://archive.ubuntu.com/ubuntu xenial/universe amd64 libspandsp2 amd64 0.0.6-2.1 [273 kB]
#5 12.58 Get:86 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libssh-gcrypt-4 amd64 0.6.3-4.3ubuntu0.6 [120 kB]
#5 12.58 Get:87 http://archive.ubuntu.com/ubuntu xenial/main amd64 libtool all 2.4.6-0.1 [193 kB]
#5 12.73 Get:88 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 libwireshark-data all 2.6.10-1~ubuntu16.04.0 [1418 kB]
#5 12.78 Get:89 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libc-ares2 amd64 1.10.0-3ubuntu0.2 [34.1 kB]
#5 12.78 Get:90 http://archive.ubuntu.com/ubuntu xenial/main amd64 libsnappy1v5 amd64 1.1.3-2 [16.0 kB]
#5 12.78 Get:91 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 libwsutil9 amd64 2.6.10-1~ubuntu16.04.0 [55.7 kB]
#5 12.78 Get:92 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 libwiretap8 amd64 2.6.10-1~ubuntu16.04.0 [176 kB]
#5 12.79 Get:93 http://archive.ubuntu.com/ubuntu xenial/main amd64 libsbc1 amd64 1.3-1 [30.9 kB]
#5 12.79 Get:94 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 libwscodecs2 amd64 2.6.10-1~ubuntu16.04.0 [17.6 kB]
#5 13.24 Get:95 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 libwireshark11 amd64 2.6.10-1~ubuntu16.04.0 [13.5 MB]
#5 14.71 Get:96 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 lua-lpeg amd64 0.12.2-1ubuntu1 [28.6 kB]
#5 14.71 Get:97 http://archive.ubuntu.com/ubuntu xenial/main amd64 python3-pkg-resources all 20.7.0-1 [79.0 kB]
#5 14.71 Get:98 http://archive.ubuntu.com/ubuntu xenial/main amd64 python3-pep8 all 1.7.0-2 [31.0 kB]
#5 14.72 Get:99 http://archive.ubuntu.com/ubuntu xenial/universe amd64 pep8 all 1.7.0-2 [4500 B]
#5 14.72 Get:100 http://archive.ubuntu.com/ubuntu xenial/main amd64 pkg-config amd64 0.29.1-0ubuntu1 [45.0 kB]
#5 14.72 Get:101 http://archive.ubuntu.com/ubuntu xenial/universe amd64 python-pyflakes all 1.1.0-2 [36.9 kB]
#5 15.17 Get:102 http://archive.ubuntu.com/ubuntu xenial/universe amd64 pyflakes all 1.1.0-2 [3066 B]
#5 15.34 Get:103 http://archive.ubuntu.com/ubuntu xenial/universe amd64 python-lazy-object-proxy amd64 1.2.1-1build1 [20.4 kB]
#5 15.70 Get:104 http://archive.ubuntu.com/ubuntu xenial/universe amd64 python-logilab-common all 1.1.0-1 [372 kB]
#5 16.51 Get:105 http://archive.ubuntu.com/ubuntu xenial/universe amd64 python-astroid all 1.4.4-1 [74.1 kB]
#5 16.62 Get:106 http://archive.ubuntu.com/ubuntu xenial/universe amd64 pylint all 1.5.2-1ubuntu1 [161 kB]
#5 16.68 Get:107 http://archive.ubuntu.com/ubuntu xenial/main amd64 python-ipaddr all 2.1.11-2 [14.9 kB]
#5 16.68 Get:108 http://archive.ubuntu.com/ubuntu xenial/universe amd64 python-ptyprocess all 0.5-1 [12.9 kB]
#5 16.69 Get:109 http://archive.ubuntu.com/ubuntu xenial/universe amd64 python-pexpect all 4.0.1-1 [40.5 kB]
#5 16.71 Get:110 http://archive.ubuntu.com/ubuntu xenial/universe amd64 python-scapy all 2.2.0-1 [236 kB]
#5 16.83 Get:111 http://archive.ubuntu.com/ubuntu xenial/universe amd64 traceroute amd64 1:2.0.21-1 [45.5 kB]
#5 16.84 Get:112 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 wireshark-common amd64 2.6.10-1~ubuntu16.04.0 [388 kB]
#5 16.96 Get:113 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 tshark amd64 2.6.10-1~ubuntu16.04.0 [132 kB]
#5 16.98 Get:114 http://archive.ubuntu.com/ubuntu xenial/universe amd64 cgroup-bin all 0.41-7ubuntu1 [2482 B]
#5 16.98 Get:115 http://archive.ubuntu.com/ubuntu xenial/main amd64 nmap amd64 7.01-2ubuntu2 [4638 kB]
#5 17.89 Get:116 http://archive.ubuntu.com/ubuntu xenial/universe amd64 socat amd64 1.7.3.1-1 [321 kB]
#5 17.97 debconf: delaying package configuration, since apt-utils is not installed
#5 17.99 Fetched 56.9 MB in 12s (4686 kB/s)
#5 18.01 Selecting previously unselected package liblocale-gettext-perl.
(Reading database ... 10515 files and directories currently installed.)
#5 18.02 Preparing to unpack .../liblocale-gettext-perl_1.07-1build1_amd64.deb ...
#5 18.02 Unpacking liblocale-gettext-perl (1.07-1build1) ...
#5 18.05 Selecting previously unselected package libmnl0:amd64.
#5 18.05 Preparing to unpack .../libmnl0_1.0.3-5_amd64.deb ...
#5 18.06 Unpacking libmnl0:amd64 (1.0.3-5) ...
#5 18.08 Selecting previously unselected package libnih1:amd64.
#5 18.08 Preparing to unpack .../libnih1_1.0.3-4.3ubuntu1_amd64.deb ...
#5 18.09 Unpacking libnih1:amd64 (1.0.3-4.3ubuntu1) ...
#5 18.12 Preparing to unpack .../libudev1_229-4ubuntu21.31_amd64.deb ...
#5 18.12 Unpacking libudev1:amd64 (229-4ubuntu21.31) over (229-4ubuntu21.29) ...
#5 18.15 Processing triggers for libc-bin (2.23-0ubuntu11.2) ...
#5 18.19 Setting up libudev1:amd64 (229-4ubuntu21.31) ...
#5 18.20 Processing triggers for libc-bin (2.23-0ubuntu11.2) ...
#5 18.23 Selecting previously unselected package udev.
(Reading database ... 10542 files and directories currently installed.)
#5 18.24 Preparing to unpack .../udev_229-4ubuntu21.31_amd64.deb ...
#5 18.26 Unpacking udev (229-4ubuntu21.31) ...
#5 18.39 Selecting previously unselected package libgdbm3:amd64.
#5 18.39 Preparing to unpack .../libgdbm3_1.8.3-13.1_amd64.deb ...
#5 18.40 Unpacking libgdbm3:amd64 (1.8.3-13.1) ...
#5 18.42 Selecting previously unselected package libglib2.0-0:amd64.
#5 18.43 Preparing to unpack .../libglib2.0-0_2.48.2-0ubuntu4.8_amd64.deb ...
#5 18.43 Unpacking libglib2.0-0:amd64 (2.48.2-0ubuntu4.8) ...
#5 18.55 Selecting previously unselected package libjpeg-turbo8:amd64.
#5 18.55 Preparing to unpack .../libjpeg-turbo8_1.4.2-0ubuntu3.4_amd64.deb ...
#5 18.56 Unpacking libjpeg-turbo8:amd64 (1.4.2-0ubuntu3.4) ...
#5 18.59 Selecting previously unselected package libsigsegv2:amd64.
#5 18.59 Preparing to unpack .../libsigsegv2_2.10-4_amd64.deb ...
#5 18.60 Unpacking libsigsegv2:amd64 (2.10-4) ...
#5 18.62 Selecting previously unselected package libwrap0:amd64.
#5 18.63 Preparing to unpack .../libwrap0_7.6.q-25_amd64.deb ...
#5 18.63 Unpacking libwrap0:amd64 (7.6.q-25) ...
#5 18.66 Selecting previously unselected package libdrm-common.
#5 18.66 Preparing to unpack .../libdrm-common_2.4.91-2~16.04.1_all.deb ...
#5 18.66 Unpacking libdrm-common (2.4.91-2~16.04.1) ...
#5 18.69 Selecting previously unselected package libdrm2:amd64.
#5 18.69 Preparing to unpack .../libdrm2_2.4.91-2~16.04.1_amd64.deb ...
#5 18.69 Unpacking libdrm2:amd64 (2.4.91-2~16.04.1) ...
#5 18.71 Selecting previously unselected package libpng12-0:amd64.
#5 18.72 Preparing to unpack .../libpng12-0_1.2.54-1ubuntu1.1_amd64.deb ...
#5 18.72 Unpacking libpng12-0:amd64 (1.2.54-1ubuntu1.1) ...
#5 18.75 Selecting previously unselected package libplymouth4:amd64.
#5 18.75 Preparing to unpack .../libplymouth4_0.9.2-3ubuntu13.5_amd64.deb ...
#5 18.76 Unpacking libplymouth4:amd64 (0.9.2-3ubuntu13.5) ...
#5 18.79 Selecting previously unselected package plymouth.
#5 18.79 Preparing to unpack .../plymouth_0.9.2-3ubuntu13.5_amd64.deb ...
#5 18.79 Unpacking plymouth (0.9.2-3ubuntu13.5) ...
#5 18.83 Selecting previously unselected package libdbus-1-3:amd64.
#5 18.83 Preparing to unpack .../libdbus-1-3_1.10.6-1ubuntu3.6_amd64.deb ...
#5 18.83 Unpacking libdbus-1-3:amd64 (1.10.6-1ubuntu3.6) ...
#5 18.88 Selecting previously unselected package libnih-dbus1:amd64.
#5 18.88 Preparing to unpack .../libnih-dbus1_1.0.3-4.3ubuntu1_amd64.deb ...
#5 18.88 Unpacking libnih-dbus1:amd64 (1.0.3-4.3ubuntu1) ...
#5 18.91 Selecting previously unselected package mountall.
#5 18.91 Preparing to unpack .../mountall_2.54ubuntu1_amd64.deb ...
#5 18.91 Unpacking mountall (2.54ubuntu1) ...
#5 18.94 Selecting previously unselected package perl-modules-5.22.
#5 18.94 Preparing to unpack .../perl-modules-5.22_5.22.1-9ubuntu0.9_all.deb ...
#5 18.95 Unpacking perl-modules-5.22 (5.22.1-9ubuntu0.9) ...
#5 19.29 Selecting previously unselected package libperl5.22:amd64.
#5 19.29 Preparing to unpack .../libperl5.22_5.22.1-9ubuntu0.9_amd64.deb ...
#5 19.30 Unpacking libperl5.22:amd64 (5.22.1-9ubuntu0.9) ...
#5 19.68 Selecting previously unselected package perl.
#5 19.69 Preparing to unpack .../perl_5.22.1-9ubuntu0.9_amd64.deb ...
#5 19.69 Unpacking perl (5.22.1-9ubuntu0.9) ...
#5 19.73 Selecting previously unselected package python-six.
#5 19.73 Preparing to unpack .../python-six_1.10.0-3_all.deb ...
#5 19.74 Unpacking python-six (1.10.0-3) ...
#5 19.76 Selecting previously unselected package python-wrapt.
#5 19.77 Preparing to unpack .../python-wrapt_1.8.0-5build2_amd64.deb ...
#5 19.77 Unpacking python-wrapt (1.8.0-5build2) ...
#5 19.80 Selecting previously unselected package libkrb5support0:amd64.
#5 19.80 Preparing to unpack .../libkrb5support0_1.13.2+dfsg-5ubuntu2.2_amd64.deb ...
#5 19.80 Unpacking libkrb5support0:amd64 (1.13.2+dfsg-5ubuntu2.2) ...
#5 19.83 Selecting previously unselected package libk5crypto3:amd64.
#5 19.83 Preparing to unpack .../libk5crypto3_1.13.2+dfsg-5ubuntu2.2_amd64.deb ...
#5 19.84 Unpacking libk5crypto3:amd64 (1.13.2+dfsg-5ubuntu2.2) ...
#5 19.87 Selecting previously unselected package libkeyutils1:amd64.
#5 19.87 Preparing to unpack .../libkeyutils1_1.5.9-8ubuntu1_amd64.deb ...
#5 19.87 Unpacking libkeyutils1:amd64 (1.5.9-8ubuntu1) ...
#5 19.90 Selecting previously unselected package libkrb5-3:amd64.
#5 19.90 Preparing to unpack .../libkrb5-3_1.13.2+dfsg-5ubuntu2.2_amd64.deb ...
#5 19.91 Unpacking libkrb5-3:amd64 (1.13.2+dfsg-5ubuntu2.2) ...
#5 19.96 Selecting previously unselected package libgssapi-krb5-2:amd64.
#5 19.96 Preparing to unpack .../libgssapi-krb5-2_1.13.2+dfsg-5ubuntu2.2_amd64.deb ...
#5 19.97 Unpacking libgssapi-krb5-2:amd64 (1.13.2+dfsg-5ubuntu2.2) ...
#5 20.00 Selecting previously unselected package openssh-client.
#5 20.00 Preparing to unpack .../openssh-client_1%3a7.2p2-4ubuntu2.10_amd64.deb ...
#5 20.01 Unpacking openssh-client (1:7.2p2-4ubuntu2.10) ...
#5 20.09 Selecting previously unselected package openssh-sftp-server.
#5 20.09 Preparing to unpack .../openssh-sftp-server_1%3a7.2p2-4ubuntu2.10_amd64.deb ...
#5 20.09 Unpacking openssh-sftp-server (1:7.2p2-4ubuntu2.10) ...
#5 20.13 Selecting previously unselected package openssh-server.
#5 20.13 Preparing to unpack .../openssh-server_1%3a7.2p2-4ubuntu2.10_amd64.deb ...
#5 20.14 Unpacking openssh-server (1:7.2p2-4ubuntu2.10) ...
#5 20.19 Selecting previously unselected package ssh.
#5 20.19 Preparing to unpack .../ssh_1%3a7.2p2-4ubuntu2.10_all.deb ...
#5 20.20 Unpacking ssh (1:7.2p2-4ubuntu2.10) ...
#5 20.23 Selecting previously unselected package libjbig0:amd64.
#5 20.23 Preparing to unpack .../libjbig0_2.1-3.1_amd64.deb ...
#5 20.23 Unpacking libjbig0:amd64 (2.1-3.1) ...
#5 20.23 Selecting previously unselected package bzip2.
#5 20.23 Preparing to unpack .../bzip2_1.0.6-8ubuntu0.2_amd64.deb ...
#5 20.23 Unpacking bzip2 (1.0.6-8ubuntu0.2) ...
#5 20.25 Selecting previously unselected package iproute2.
#5 20.26 Preparing to unpack .../iproute2_4.3.0-1ubuntu3.16.04.5_amd64.deb ...
#5 20.26 Unpacking iproute2 (4.3.0-1ubuntu3.16.04.5) ...
#5 20.34 Selecting previously unselected package libnettle6:amd64.
#5 20.34 Preparing to unpack .../libnettle6_3.2-1ubuntu0.16.04.2_amd64.deb ...
#5 20.35 Unpacking libnettle6:amd64 (3.2-1ubuntu0.16.04.2) ...
#5 20.38 Selecting previously unselected package libhogweed4:amd64.
#5 20.38 Preparing to unpack .../libhogweed4_3.2-1ubuntu0.16.04.2_amd64.deb ...
#5 20.39 Unpacking libhogweed4:amd64 (3.2-1ubuntu0.16.04.2) ...
#5 20.43 Selecting previously unselected package libidn11:amd64.
#5 20.43 Preparing to unpack .../libidn11_1.32-3ubuntu1.2_amd64.deb ...
#5 20.43 Unpacking libidn11:amd64 (1.32-3ubuntu1.2) ...
#5 20.46 Selecting previously unselected package libp11-kit0:amd64.
#5 20.46 Preparing to unpack .../libp11-kit0_0.23.2-5~ubuntu16.04.2_amd64.deb ...
#5 20.46 Unpacking libp11-kit0:amd64 (0.23.2-5~ubuntu16.04.2) ...
#5 20.50 Selecting previously unselected package libtasn1-6:amd64.
#5 20.51 Preparing to unpack .../libtasn1-6_4.7-3ubuntu0.16.04.3_amd64.deb ...
#5 20.51 Unpacking libtasn1-6:amd64 (4.7-3ubuntu0.16.04.3) ...
#5 20.55 Selecting previously unselected package libgnutls30:amd64.
#5 20.55 Preparing to unpack .../libgnutls30_3.4.10-4ubuntu1.8_amd64.deb ...
#5 20.55 Unpacking libgnutls30:amd64 (3.4.10-4ubuntu1.8) ...
#5 20.63 Selecting previously unselected package libgnutls-openssl27:amd64.
#5 20.63 Preparing to unpack .../libgnutls-openssl27_3.4.10-4ubuntu1.8_amd64.deb ...
#5 20.63 Unpacking libgnutls-openssl27:amd64 (3.4.10-4ubuntu1.8) ...
#5 20.65 Selecting previously unselected package iputils-ping.
#5 20.66 Preparing to unpack .../iputils-ping_3%3a20121221-5ubuntu2_amd64.deb ...
#5 20.66 Unpacking iputils-ping (3:20121221-5ubuntu2) ...
#5 20.69 Selecting previously unselected package netbase.
#5 20.69 Preparing to unpack .../archives/netbase_5.3_all.deb ...
#5 20.70 Unpacking netbase (5.3) ...
#5 20.73 Selecting previously unselected package sudo.
#5 20.73 Preparing to unpack .../sudo_1.8.16-0ubuntu1.10_amd64.deb ...
#5 20.74 Unpacking sudo (1.8.16-0ubuntu1.10) ...
#5 20.80 Selecting previously unselected package iputils-tracepath.
#5 20.80 Preparing to unpack .../iputils-tracepath_3%3a20121221-5ubuntu2_amd64.deb ...
#5 20.80 Unpacking iputils-tracepath (3:20121221-5ubuntu2) ...
#5 20.83 Selecting previously unselected package libxml2:amd64.
#5 20.83 Preparing to unpack .../libxml2_2.9.3+dfsg1-1ubuntu0.7_amd64.deb ...
#5 20.83 Unpacking libxml2:amd64 (2.9.3+dfsg1-1ubuntu0.7) ...
#5 21.03 Selecting previously unselected package psmisc.
#5 21.03 Preparing to unpack .../psmisc_22.21-2.1ubuntu0.1_amd64.deb ...
#5 21.04 Unpacking psmisc (22.21-2.1ubuntu0.1) ...
#5 21.06 Selecting previously unselected package tcpdump.
#5 21.07 Preparing to unpack .../tcpdump_4.9.3-0ubuntu0.16.04.1_amd64.deb ...
#5 21.07 Unpacking tcpdump (4.9.3-0ubuntu0.16.04.1) ...
#5 21.13 Selecting previously unselected package telnet.
#5 21.13 Preparing to unpack .../telnet_0.17-40_amd64.deb ...
#5 21.13 Unpacking telnet (0.17-40) ...
#5 21.16 Selecting previously unselected package m4.
#5 21.16 Preparing to unpack .../archives/m4_1.4.17-5_amd64.deb ...
#5 21.16 Unpacking m4 (1.4.17-5) ...
#5 21.20 Selecting previously unselected package autoconf.
#5 21.20 Preparing to unpack .../autoconf_2.69-9_all.deb ...
#5 21.21 Unpacking autoconf (2.69-9) ...
#5 21.26 Selecting previously unselected package autotools-dev.
#5 21.26 Preparing to unpack .../autotools-dev_20150820.1_all.deb ...
#5 21.27 Unpacking autotools-dev (20150820.1) ...
#5 21.29 Selecting previously unselected package automake.
#5 21.30 Preparing to unpack .../automake_1%3a1.15-4ubuntu1_all.deb ...
#5 21.30 Unpacking automake (1:1.15-4ubuntu1) ...
#5 21.37 Selecting previously unselected package libcc1-0:amd64.
#5 21.37 Preparing to unpack .../libcc1-0_5.4.0-6ubuntu1~16.04.12_amd64.deb ...
#5 21.37 Unpacking libcc1-0:amd64 (5.4.0-6ubuntu1~16.04.12) ...
#5 21.40 Selecting previously unselected package gcc-5.
#5 21.40 Preparing to unpack .../gcc-5_5.4.0-6ubuntu1~16.04.12_amd64.deb ...
#5 21.41 Unpacking gcc-5 (5.4.0-6ubuntu1~16.04.12) ...
#5 22.14 Selecting previously unselected package gcc.
#5 22.14 Preparing to unpack .../gcc_4%3a5.3.1-1ubuntu1_amd64.deb ...
#5 22.14 Unpacking gcc (4:5.3.1-1ubuntu1) ...
#5 22.17 Selecting previously unselected package g++-5.
#5 22.17 Preparing to unpack .../g++-5_5.4.0-6ubuntu1~16.04.12_amd64.deb ...
#5 22.17 Unpacking g++-5 (5.4.0-6ubuntu1~16.04.12) ...
#5 22.94 Selecting previously unselected package g++.
#5 22.94 Preparing to unpack .../g++_4%3a5.3.1-1ubuntu1_amd64.deb ...
#5 22.94 Unpacking g++ (4:5.3.1-1ubuntu1) ...
#5 22.97 Selecting previously unselected package make.
#5 22.97 Preparing to unpack .../archives/make_4.1-6_amd64.deb ...
#5 22.97 Unpacking make (4.1-6) ...
#5 23.00 Selecting previously unselected package libdpkg-perl.
#5 23.00 Preparing to unpack .../libdpkg-perl_1.18.4ubuntu1.7_all.deb ...
#5 23.01 Unpacking libdpkg-perl (1.18.4ubuntu1.7) ...
#5 23.05 Selecting previously unselected package xz-utils.
#5 23.05 Preparing to unpack .../xz-utils_5.1.1alpha+20120614-2ubuntu2_amd64.deb ...
#5 23.05 Unpacking xz-utils (5.1.1alpha+20120614-2ubuntu2) ...
#5 23.08 Selecting previously unselected package patch.
#5 23.08 Preparing to unpack .../patch_2.7.5-1ubuntu0.16.04.2_amd64.deb ...
#5 23.08 Unpacking patch (2.7.5-1ubuntu0.16.04.2) ...
#5 23.11 Selecting previously unselected package dpkg-dev.
#5 23.11 Preparing to unpack .../dpkg-dev_1.18.4ubuntu1.7_all.deb ...
#5 23.11 Unpacking dpkg-dev (1.18.4ubuntu1.7) ...
#5 23.18 Selecting previously unselected package build-essential.
#5 23.18 Preparing to unpack .../build-essential_12.1ubuntu2_amd64.deb ...
#5 23.18 Unpacking build-essential (12.1ubuntu2) ...
#5 23.21 Selecting previously unselected package libcgroup1:amd64.
#5 23.21 Preparing to unpack .../libcgroup1_0.41-7ubuntu1_amd64.deb ...
#5 23.21 Unpacking libcgroup1:amd64 (0.41-7ubuntu1) ...
#5 23.24 Selecting previously unselected package cgroup-lite.
#5 23.24 Preparing to unpack .../cgroup-lite_1.11_all.deb ...
#5 23.25 Unpacking cgroup-lite (1.11) ...
#5 23.27 Selecting previously unselected package cgroup-tools.
#5 23.27 Preparing to unpack .../cgroup-tools_0.41-7ubuntu1_amd64.deb ...
#5 23.27 Unpacking cgroup-tools (0.41-7ubuntu1) ...
#5 23.30 Selecting previously unselected package ethtool.
#5 23.30 Preparing to unpack .../ethtool_1%3a4.5-1_amd64.deb ...
#5 23.30 Unpacking ethtool (1:4.5-1) ...
#5 23.33 Selecting previously unselected package help2man.
#5 23.33 Preparing to unpack .../help2man_1.47.3_amd64.deb ...
#5 23.34 Unpacking help2man (1.47.3) ...
#5 23.37 Selecting previously unselected package iperf.
#5 23.37 Preparing to unpack .../iperf_2.0.5+dfsg1-2ubuntu0.1_amd64.deb ...
#5 23.38 Unpacking iperf (2.0.5+dfsg1-2ubuntu0.1) ...
#5 23.40 Selecting previously unselected package iproute.
#5 23.40 Preparing to unpack .../iproute_1%3a4.3.0-1ubuntu3.16.04.5_all.deb ...
#5 23.40 Unpacking iproute (1:4.3.0-1ubuntu3.16.04.5) ...
#5 23.42 Selecting previously unselected package iputils-arping.
#5 23.43 Preparing to unpack .../iputils-arping_3%3a20121221-5ubuntu2_amd64.deb ...
#5 23.43 Unpacking iputils-arping (3:20121221-5ubuntu2) ...
#5 23.45 Selecting previously unselected package libblas-common.
#5 23.45 Preparing to unpack .../libblas-common_3.6.0-2ubuntu2_amd64.deb ...
#5 23.45 Unpacking libblas-common (3.6.0-2ubuntu2) ...
#5 23.48 Selecting previously unselected package libblas3.
#5 23.48 Preparing to unpack .../libblas3_3.6.0-2ubuntu2_amd64.deb ...
#5 23.48 Unpacking libblas3 (3.6.0-2ubuntu2) ...
#5 23.52 Selecting previously unselected package libjpeg8:amd64.
#5 23.52 Preparing to unpack .../libjpeg8_8c-2ubuntu8_amd64.deb ...
#5 23.52 Unpacking libjpeg8:amd64 (8c-2ubuntu8) ...
#5 23.55 Selecting previously unselected package liblinear3:amd64.
#5 23.55 Preparing to unpack .../liblinear3_2.1.0+dfsg-1_amd64.deb ...
#5 23.55 Unpacking liblinear3:amd64 (2.1.0+dfsg-1) ...
#5 23.57 Selecting previously unselected package liblua5.2-0:amd64.
#5 23.57 Preparing to unpack .../liblua5.2-0_5.2.4-1ubuntu1_amd64.deb ...
#5 23.58 Unpacking liblua5.2-0:amd64 (5.2.4-1ubuntu1) ...
#5 23.61 Selecting previously unselected package libmaxminddb0:amd64.
#5 23.61 Preparing to unpack .../libmaxminddb0_1.0.4-2.1_amd64.deb ...
#5 23.62 Unpacking libmaxminddb0:amd64 (1.0.4-2.1) ...
#5 23.64 Selecting previously unselected package libnghttp2-14:amd64.
#5 23.64 Preparing to unpack .../libnghttp2-14_1.7.1-1_amd64.deb ...
#5 23.65 Unpacking libnghttp2-14:amd64 (1.7.1-1) ...
#5 23.68 Selecting previously unselected package libnl-3-200:amd64.
#5 23.68 Preparing to unpack .../libnl-3-200_3.2.27-1ubuntu0.16.04.1_amd64.deb ...
#5 23.68 Unpacking libnl-3-200:amd64 (3.2.27-1ubuntu0.16.04.1) ...
#5 23.71 Selecting previously unselected package libnl-genl-3-200:amd64.
#5 23.71 Preparing to unpack .../libnl-genl-3-200_3.2.27-1ubuntu0.16.04.1_amd64.deb ...
#5 23.71 Unpacking libnl-genl-3-200:amd64 (3.2.27-1ubuntu0.16.04.1) ...
#5 23.74 Selecting previously unselected package libsmi2ldbl:amd64.
#5 23.74 Preparing to unpack .../libsmi2ldbl_0.4.8+dfsg2-11_amd64.deb ...
#5 23.75 Unpacking libsmi2ldbl:amd64 (0.4.8+dfsg2-11) ...
#5 23.78 Selecting previously unselected package libtiff5:amd64.
#5 23.78 Preparing to unpack .../libtiff5_4.0.6-1ubuntu0.8_amd64.deb ...
#5 23.78 Unpacking libtiff5:amd64 (4.0.6-1ubuntu0.8) ...
#5 23.82 Selecting previously unselected package libspandsp2:amd64.
#5 23.82 Preparing to unpack .../libspandsp2_0.0.6-2.1_amd64.deb ...
#5 23.83 Unpacking libspandsp2:amd64 (0.0.6-2.1) ...
#5 23.88 Selecting previously unselected package libssh-gcrypt-4:amd64.
#5 23.88 Preparing to unpack .../libssh-gcrypt-4_0.6.3-4.3ubuntu0.6_amd64.deb ...
#5 23.88 Unpacking libssh-gcrypt-4:amd64 (0.6.3-4.3ubuntu0.6) ...
#5 23.91 Selecting previously unselected package libtool.
#5 23.91 Preparing to unpack .../libtool_2.4.6-0.1_all.deb ...
#5 23.91 Unpacking libtool (2.4.6-0.1) ...
#5 23.96 Selecting previously unselected package libwireshark-data.
#5 23.97 Preparing to unpack .../libwireshark-data_2.6.10-1~ubuntu16.04.0_all.deb ...
#5 23.97 Unpacking libwireshark-data (2.6.10-1~ubuntu16.04.0) ...
#5 24.14 Selecting previously unselected package libc-ares2:amd64.
#5 24.14 Preparing to unpack .../libc-ares2_1.10.0-3ubuntu0.2_amd64.deb ...
#5 24.14 Unpacking libc-ares2:amd64 (1.10.0-3ubuntu0.2) ...
#5 24.17 Selecting previously unselected package libsnappy1v5:amd64.
#5 24.17 Preparing to unpack .../libsnappy1v5_1.1.3-2_amd64.deb ...
#5 24.18 Unpacking libsnappy1v5:amd64 (1.1.3-2) ...
#5 24.20 Selecting previously unselected package libwsutil9:amd64.
#5 24.20 Preparing to unpack .../libwsutil9_2.6.10-1~ubuntu16.04.0_amd64.deb ...
#5 24.20 Unpacking libwsutil9:amd64 (2.6.10-1~ubuntu16.04.0) ...
#5 24.23 Selecting previously unselected package libwiretap8:amd64.
#5 24.23 Preparing to unpack .../libwiretap8_2.6.10-1~ubuntu16.04.0_amd64.deb ...
#5 24.23 Unpacking libwiretap8:amd64 (2.6.10-1~ubuntu16.04.0) ...
#5 24.27 Selecting previously unselected package libsbc1:amd64.
#5 24.27 Preparing to unpack .../libsbc1_1.3-1_amd64.deb ...
#5 24.27 Unpacking libsbc1:amd64 (1.3-1) ...
#5 24.30 Selecting previously unselected package libwscodecs2:amd64.
#5 24.30 Preparing to unpack .../libwscodecs2_2.6.10-1~ubuntu16.04.0_amd64.deb ...
#5 24.31 Unpacking libwscodecs2:amd64 (2.6.10-1~ubuntu16.04.0) ...
#5 24.33 Selecting previously unselected package libwireshark11:amd64.
#5 24.34 Preparing to unpack .../libwireshark11_2.6.10-1~ubuntu16.04.0_amd64.deb ...
#5 24.34 Unpacking libwireshark11:amd64 (2.6.10-1~ubuntu16.04.0) ...
#5 25.77 Selecting previously unselected package lua-lpeg:amd64.
#5 25.77 Preparing to unpack .../lua-lpeg_0.12.2-1ubuntu1_amd64.deb ...
#5 25.77 Unpacking lua-lpeg:amd64 (0.12.2-1ubuntu1) ...
#5 25.80 Selecting previously unselected package python3-pkg-resources.
#5 25.80 Preparing to unpack .../python3-pkg-resources_20.7.0-1_all.deb ...
#5 25.80 Unpacking python3-pkg-resources (20.7.0-1) ...
#5 25.83 Selecting previously unselected package python3-pep8.
#5 25.83 Preparing to unpack .../python3-pep8_1.7.0-2_all.deb ...
#5 25.84 Unpacking python3-pep8 (1.7.0-2) ...
#5 25.86 Selecting previously unselected package pep8.
#5 25.86 Preparing to unpack .../archives/pep8_1.7.0-2_all.deb ...
#5 25.86 Unpacking pep8 (1.7.0-2) ...
#5 25.89 Selecting previously unselected package pkg-config.
#5 25.89 Preparing to unpack .../pkg-config_0.29.1-0ubuntu1_amd64.deb ...
#5 25.89 Unpacking pkg-config (0.29.1-0ubuntu1) ...
#5 25.92 Selecting previously unselected package python-pyflakes.
#5 25.92 Preparing to unpack .../python-pyflakes_1.1.0-2_all.deb ...
#5 25.92 Unpacking python-pyflakes (1.1.0-2) ...
#5 25.94 Selecting previously unselected package pyflakes.
#5 25.94 Preparing to unpack .../pyflakes_1.1.0-2_all.deb ...
#5 25.95 Unpacking pyflakes (1.1.0-2) ...
#5 25.97 Selecting previously unselected package python-lazy-object-proxy.
#5 25.97 Preparing to unpack .../python-lazy-object-proxy_1.2.1-1build1_amd64.deb ...
#5 25.97 Unpacking python-lazy-object-proxy (1.2.1-1build1) ...
#5 25.99 Selecting previously unselected package python-logilab-common.
#5 25.99 Preparing to unpack .../python-logilab-common_1.1.0-1_all.deb ...
#5 26.00 Unpacking python-logilab-common (1.1.0-1) ...
#5 26.08 Selecting previously unselected package python-astroid.
#5 26.08 Preparing to unpack .../python-astroid_1.4.4-1_all.deb ...
#5 26.08 Unpacking python-astroid (1.4.4-1) ...
#5 26.11 Selecting previously unselected package pylint.
#5 26.11 Preparing to unpack .../pylint_1.5.2-1ubuntu1_all.deb ...
#5 26.12 Unpacking pylint (1.5.2-1ubuntu1) ...
#5 26.16 Selecting previously unselected package python-ipaddr.
#5 26.16 Preparing to unpack .../python-ipaddr_2.1.11-2_all.deb ...
#5 26.16 Unpacking python-ipaddr (2.1.11-2) ...
#5 26.18 Selecting previously unselected package python-ptyprocess.
#5 26.18 Preparing to unpack .../python-ptyprocess_0.5-1_all.deb ...
#5 26.19 Unpacking python-ptyprocess (0.5-1) ...
#5 26.21 Selecting previously unselected package python-pexpect.
#5 26.21 Preparing to unpack .../python-pexpect_4.0.1-1_all.deb ...
#5 26.21 Unpacking python-pexpect (4.0.1-1) ...
#5 26.23 Selecting previously unselected package python-scapy.
#5 26.23 Preparing to unpack .../python-scapy_2.2.0-1_all.deb ...
#5 26.24 Unpacking python-scapy (2.2.0-1) ...
#5 26.28 Selecting previously unselected package traceroute.
#5 26.29 Preparing to unpack .../traceroute_1%3a2.0.21-1_amd64.deb ...
#5 26.29 Unpacking traceroute (1:2.0.21-1) ...
#5 26.32 Selecting previously unselected package wireshark-common.
#5 26.32 Preparing to unpack .../wireshark-common_2.6.10-1~ubuntu16.04.0_amd64.deb ...
#5 26.32 Unpacking wireshark-common (2.6.10-1~ubuntu16.04.0) ...
#5 26.37 Selecting previously unselected package tshark.
#5 26.37 Preparing to unpack .../tshark_2.6.10-1~ubuntu16.04.0_amd64.deb ...
#5 26.37 Unpacking tshark (2.6.10-1~ubuntu16.04.0) ...
#5 26.41 Selecting previously unselected package cgroup-bin.
#5 26.41 Preparing to unpack .../cgroup-bin_0.41-7ubuntu1_all.deb ...
#5 26.41 Unpacking cgroup-bin (0.41-7ubuntu1) ...
#5 26.43 Selecting previously unselected package nmap.
#5 26.43 Preparing to unpack .../nmap_7.01-2ubuntu2_amd64.deb ...
#5 26.43 Unpacking nmap (7.01-2ubuntu2) ...
#5 26.87 Selecting previously unselected package socat.
#5 26.87 Preparing to unpack .../socat_1.7.3.1-1_amd64.deb ...
#5 26.87 Unpacking socat (1.7.3.1-1) ...
#5 26.92 Processing triggers for systemd (229-4ubuntu21.29) ...
#5 26.92 Processing triggers for libc-bin (2.23-0ubuntu11.2) ...
#5 26.95 Setting up liblocale-gettext-perl (1.07-1build1) ...
#5 26.96 Setting up libmnl0:amd64 (1.0.3-5) ...
#5 26.97 Setting up libnih1:amd64 (1.0.3-4.3ubuntu1) ...
#5 26.99 Setting up udev (229-4ubuntu21.31) ...
#5 27.26 Adding group `input' (GID 106) ...
#5 27.33 Done.
#5 27.33 invoke-rc.d: could not determine current runlevel
#5 27.34 invoke-rc.d: policy-rc.d denied execution of start.
#5 27.37 Setting up libgdbm3:amd64 (1.8.3-13.1) ...
#5 27.38 Setting up libglib2.0-0:amd64 (2.48.2-0ubuntu4.8) ...
#5 27.39 No schema files found: doing nothing.
#5 27.39 Setting up libjpeg-turbo8:amd64 (1.4.2-0ubuntu3.4) ...
#5 27.40 Setting up libsigsegv2:amd64 (2.10-4) ...
#5 27.41 Setting up libwrap0:amd64 (7.6.q-25) ...
#5 27.43 Setting up libdrm-common (2.4.91-2~16.04.1) ...
#5 27.44 Setting up libdrm2:amd64 (2.4.91-2~16.04.1) ...
#5 27.44 Setting up libpng12-0:amd64 (1.2.54-1ubuntu1.1) ...
#5 27.45 Setting up libplymouth4:amd64 (0.9.2-3ubuntu13.5) ...
#5 27.46 Setting up plymouth (0.9.2-3ubuntu13.5) ...
#5 27.48 update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
#5 27.49 update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
#5 27.50 Setting up libdbus-1-3:amd64 (1.10.6-1ubuntu3.6) ...
#5 27.52 Setting up libnih-dbus1:amd64 (1.0.3-4.3ubuntu1) ...
#5 27.53 Setting up mountall (2.54ubuntu1) ...
#5 27.59 Setting up perl-modules-5.22 (5.22.1-9ubuntu0.9) ...
#5 27.60 Setting up libperl5.22:amd64 (5.22.1-9ubuntu0.9) ...
#5 27.62 Setting up perl (5.22.1-9ubuntu0.9) ...
#5 27.63 update-alternatives: using /usr/bin/prename to provide /usr/bin/rename (rename) in auto mode
#5 27.64 Setting up python-six (1.10.0-3) ...
#5 27.81 Setting up python-wrapt (1.8.0-5build2) ...
#5 27.97 Setting up libkrb5support0:amd64 (1.13.2+dfsg-5ubuntu2.2) ...
#5 27.98 Setting up libk5crypto3:amd64 (1.13.2+dfsg-5ubuntu2.2) ...
#5 27.99 Setting up libkeyutils1:amd64 (1.5.9-8ubuntu1) ...
#5 27.99 Setting up libkrb5-3:amd64 (1.13.2+dfsg-5ubuntu2.2) ...
#5 28.00 Setting up libgssapi-krb5-2:amd64 (1.13.2+dfsg-5ubuntu2.2) ...
#5 28.01 Setting up openssh-client (1:7.2p2-4ubuntu2.10) ...
#5 28.08 Setting up openssh-sftp-server (1:7.2p2-4ubuntu2.10) ...
#5 28.09 Setting up openssh-server (1:7.2p2-4ubuntu2.10) ...
#5 28.17 Creating SSH2 RSA key; this may take some time ...
#5 28.20 2048 SHA256:o0IzSI/NmB0HYEjvjO/85MakJ/Q01ZBeZkPDG8kMbKw root@buildkitsandbox (RSA)
#5 28.20 Creating SSH2 DSA key; this may take some time ...
#5 28.23 1024 SHA256:QEty57LS/5wFIVQKFX3zEE50hwkpLc0ZQPtUfqWP9bs root@buildkitsandbox (DSA)
#5 28.23 Creating SSH2 ECDSA key; this may take some time ...
#5 28.24 256 SHA256:gYWBXhdeRbKuHKQdavBiu4Rpi2NwaXU2boeRQRaqMbQ root@buildkitsandbox (ECDSA)
#5 28.24 Creating SSH2 ED25519 key; this may take some time ...
#5 28.25 256 SHA256:lPTKn3/sql2mV/eNiBa6t2rS9i+74p+PJhOMl5HnsLA root@buildkitsandbox (ED25519)
#5 28.53 invoke-rc.d: could not determine current runlevel
#5 28.54 invoke-rc.d: policy-rc.d denied execution of start.
#5 28.55 Setting up ssh (1:7.2p2-4ubuntu2.10) ...
#5 28.56 Setting up libjbig0:amd64 (2.1-3.1) ...
#5 28.57 Setting up bzip2 (1.0.6-8ubuntu0.2) ...
#5 28.58 Setting up iproute2 (4.3.0-1ubuntu3.16.04.5) ...
#5 28.58 
#5 28.58 Configuration file '/etc/iproute2/ematch_map'
#5 28.58  ==> File on system created by you or by a script.
#5 28.58  ==> File also in package provided by package maintainer.
#5 28.58    What would you like to do about it ?  Your options are:
#5 28.58     Y or I  : install the package maintainer's version
#5 28.58     N or O  : keep your currently-installed version
#5 28.58       D     : show the differences between the versions
#5 28.58       Z     : start a shell to examine the situation
#5 28.58  The default action is to keep your current version.
#5 28.58 *** ematch_map (Y/I/N/O/D/Z) [default=N] ? dpkg: error processing package iproute2 (--configure):
#5 28.58  end of file on stdin at conffile prompt
#5 28.58 Setting up libnettle6:amd64 (3.2-1ubuntu0.16.04.2) ...
#5 28.59 Setting up libhogweed4:amd64 (3.2-1ubuntu0.16.04.2) ...
#5 28.60 Setting up libidn11:amd64 (1.32-3ubuntu1.2) ...
#5 28.61 Setting up libp11-kit0:amd64 (0.23.2-5~ubuntu16.04.2) ...
#5 28.61 Setting up libtasn1-6:amd64 (4.7-3ubuntu0.16.04.3) ...
#5 28.62 Setting up libgnutls30:amd64 (3.4.10-4ubuntu1.8) ...
#5 28.63 Setting up libgnutls-openssl27:amd64 (3.4.10-4ubuntu1.8) ...
#5 28.64 Setting up iputils-ping (3:20121221-5ubuntu2) ...
#5 28.64 Setcap is not installed, falling back to setuid
#5 28.65 Setting up netbase (5.3) ...
#5 28.66 Setting up sudo (1.8.16-0ubuntu1.10) ...
#5 28.68 Setting up iputils-tracepath (3:20121221-5ubuntu2) ...
#5 28.69 update-alternatives: using /usr/bin/traceroute6.iputils to provide /usr/bin/traceroute6 (traceroute6) in auto mode
#5 28.70 Setcap worked! traceroute6 is not suid!
#5 28.70 Setting up libxml2:amd64 (2.9.3+dfsg1-1ubuntu0.7) ...
#5 28.71 Setting up psmisc (22.21-2.1ubuntu0.1) ...
#5 28.72 Setting up tcpdump (4.9.3-0ubuntu0.16.04.1) ...
#5 28.73 Setting up telnet (0.17-40) ...
#5 28.74 update-alternatives: using /usr/bin/telnet.netkit to provide /usr/bin/telnet (telnet) in auto mode
#5 28.75 Setting up m4 (1.4.17-5) ...
#5 28.76 Setting up autoconf (2.69-9) ...
#5 28.77 Setting up autotools-dev (20150820.1) ...
#5 28.77 Setting up automake (1:1.15-4ubuntu1) ...
#5 28.78 update-alternatives: using /usr/bin/automake-1.15 to provide /usr/bin/automake (automake) in auto mode
#5 28.78 Setting up libcc1-0:amd64 (5.4.0-6ubuntu1~16.04.12) ...
#5 28.79 Setting up gcc-5 (5.4.0-6ubuntu1~16.04.12) ...
#5 28.80 Setting up gcc (4:5.3.1-1ubuntu1) ...
#5 28.81 Setting up g++-5 (5.4.0-6ubuntu1~16.04.12) ...
#5 28.82 Setting up g++ (4:5.3.1-1ubuntu1) ...
#5 28.85 update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode
#5 28.85 Setting up make (4.1-6) ...
#5 28.86 Setting up libdpkg-perl (1.18.4ubuntu1.7) ...
#5 28.87 Setting up xz-utils (5.1.1alpha+20120614-2ubuntu2) ...
#5 28.87 update-alternatives: using /usr/bin/xz to provide /usr/bin/lzma (lzma) in auto mode
#5 28.88 Setting up patch (2.7.5-1ubuntu0.16.04.2) ...
#5 28.89 Setting up dpkg-dev (1.18.4ubuntu1.7) ...
#5 28.90 Setting up build-essential (12.1ubuntu2) ...
#5 28.91 Setting up libcgroup1:amd64 (0.41-7ubuntu1) ...
#5 28.92 Setting up cgroup-lite (1.11) ...
#5 28.93 invoke-rc.d: unknown initscript, /etc/init.d/cgroup-lite not found.
#5 28.93 invoke-rc.d: could not determine current runlevel
#5 28.93 Setting up cgroup-tools (0.41-7ubuntu1) ...
#5 28.95 Setting up ethtool (1:4.5-1) ...
#5 28.96 Setting up help2man (1.47.3) ...
#5 28.97 Setting up iperf (2.0.5+dfsg1-2ubuntu0.1) ...
#5 28.98 dpkg: dependency problems prevent configuration of iproute:
#5 28.98  iproute depends on iproute2; however:
#5 28.98   Package iproute2 is not configured yet.
#5 28.98 
#5 28.98 dpkg: error processing package iproute (--configure):
#5 28.98  dependency problems - leaving unconfigured
#5 28.98 Setting up iputils-arping (3:20121221-5ubuntu2) ...
#5 28.99 Setcap worked! arping is not suid!
#5 28.99 Setting up libblas-common (3.6.0-2ubuntu2) ...
#5 29.00 Setting up libblas3 (3.6.0-2ubuntu2) ...
#5 29.00 update-alternatives: using /usr/lib/libblas/libblas.so.3 to provide /usr/lib/libblas.so.3 (libblas.so.3) in auto mode
#5 29.01 Setting up libjpeg8:amd64 (8c-2ubuntu8) ...
#5 29.02 Setting up liblinear3:amd64 (2.1.0+dfsg-1) ...
#5 29.02 Setting up liblua5.2-0:amd64 (5.2.4-1ubuntu1) ...
#5 29.03 Setting up libmaxminddb0:amd64 (1.0.4-2.1) ...
#5 29.04 Setting up libnghttp2-14:amd64 (1.7.1-1) ...
#5 29.05 Setting up libnl-3-200:amd64 (3.2.27-1ubuntu0.16.04.1) ...
#5 29.06 Setting up libnl-genl-3-200:amd64 (3.2.27-1ubuntu0.16.04.1) ...
#5 29.07 Setting up libsmi2ldbl:amd64 (0.4.8+dfsg2-11) ...
#5 29.07 Setting up libtiff5:amd64 (4.0.6-1ubuntu0.8) ...
#5 29.08 Setting up libspandsp2:amd64 (0.0.6-2.1) ...
#5 29.09 Setting up libssh-gcrypt-4:amd64 (0.6.3-4.3ubuntu0.6) ...
#5 29.10 Setting up libtool (2.4.6-0.1) ...
#5 29.11 Setting up libwireshark-data (2.6.10-1~ubuntu16.04.0) ...
#5 29.12 Setting up libc-ares2:amd64 (1.10.0-3ubuntu0.2) ...
#5 29.12 Setting up libsnappy1v5:amd64 (1.1.3-2) ...
#5 29.14 Setting up libwsutil9:amd64 (2.6.10-1~ubuntu16.04.0) ...
#5 29.14 Setting up libwiretap8:amd64 (2.6.10-1~ubuntu16.04.0) ...
#5 29.15 Setting up libsbc1:amd64 (1.3-1) ...
#5 29.16 Setting up libwscodecs2:amd64 (2.6.10-1~ubuntu16.04.0) ...
#5 29.17 Setting up libwireshark11:amd64 (2.6.10-1~ubuntu16.04.0) ...
#5 29.18 Setting up lua-lpeg:amd64 (0.12.2-1ubuntu1) ...
#5 29.19 Setting up python3-pkg-resources (20.7.0-1) ...
#5 29.41 Setting up python3-pep8 (1.7.0-2) ...
#5 29.58 Setting up pep8 (1.7.0-2) ...
#5 29.59 Setting up pkg-config (0.29.1-0ubuntu1) ...
#5 29.63 Setting up python-pyflakes (1.1.0-2) ...
#5 29.82 Setting up pyflakes (1.1.0-2) ...
#5 29.83 Setting up python-lazy-object-proxy (1.2.1-1build1) ...
#5 29.99 Setting up python-logilab-common (1.1.0-1) ...
#5 30.20 Setting up python-astroid (1.4.4-1) ...
#5 30.40 Setting up pylint (1.5.2-1ubuntu1) ...
#5 30.65 Setting up python-ipaddr (2.1.11-2) ...
#5 30.82 Setting up python-ptyprocess (0.5-1) ...
#5 30.98 Setting up python-pexpect (4.0.1-1) ...
#5 31.15 Setting up python-scapy (2.2.0-1) ...
#5 31.46 Setting up traceroute (1:2.0.21-1) ...
#5 31.46 update-alternatives: using /usr/bin/traceroute.db to provide /usr/bin/traceroute (traceroute) in auto mode
#5 31.47 update-alternatives: using /usr/bin/lft.db to provide /usr/bin/lft (lft) in auto mode
#5 31.47 update-alternatives: using /usr/bin/traceproto.db to provide /usr/bin/traceproto (traceproto) in auto mode
#5 31.48 update-alternatives: using /usr/sbin/tcptraceroute.db to provide /usr/sbin/tcptraceroute (tcptraceroute) in auto mode
#5 31.48 Setting up wireshark-common (2.6.10-1~ubuntu16.04.0) ...
#5 31.57 Setting up tshark (2.6.10-1~ubuntu16.04.0) ...
#5 31.58 Setting up cgroup-bin (0.41-7ubuntu1) ...
#5 31.59 Setting up nmap (7.01-2ubuntu2) ...
#5 31.60 Setting up socat (1.7.3.1-1) ...
#5 31.60 Processing triggers for libc-bin (2.23-0ubuntu11.2) ...
#5 31.62 Processing triggers for systemd (229-4ubuntu21.29) ...
#5 31.63 Errors were encountered while processing:
#5 31.63  iproute2
#5 31.63  iproute
#5 31.66 E: Sub-process /usr/bin/dpkg returned an error code (1)
------
executor failed running [/bin/sh -c apt-get update &&     apt-get install -y --no-install-recommends $NET_TOOLS $MININET_DEPS]: exit code: 100

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.