Distributor ID: Ubuntu
Description:    Ubuntu 16.04.3 LTS
Release:        16.04
Codename:       xenial

cat /etc/apt/sources.list.d/docker.list
deb [arch=amd64] https://apt.dockerproject.org/repo ubuntu-xenial main
# deb-src [arch=amd64] https://apt.dockerproject.org/repo ubuntu-xenial main

cat /etc/apt/sources.list.d/runner_gitlab-ci-multi-runner.list
# this file was generated by packages.gitlab.com for
# the repository at https://packages.gitlab.com/runner/gitlab-ci-multi-runner

deb https://packages.gitlab.com/runner/gitlab-ci-multi-runner/ubuntu/ xenial 
main
deb-src https://packages.gitlab.com/runner/gitlab-ci-multi-runner/ubuntu/ 
xenial main


dpkg -l | grep gitlab
ii  gitlab-ci-multi-runner                   9.4.2                              
        amd64        GitLab Runner

dpkg -l | grep docker
ii  docker-engine                            17.05.0~ce-0~ubuntu-xenial         
        amd64        Docker: the open-source application container engine

Seems to only occur when running docker with privileged inside of
gitlab-runner. On "close" of the docker container, the process fails
with the following:

Aug 17 17:53:04 WIS-DOCKERPHY kernel: [ 1579.245473] unregister_netdevice: 
waiting for lo to become free. Usage count = 1
Aug 17 17:53:15 WIS-DOCKERPHY kernel: [ 1589.356182] unregister_netdevice: 
waiting for lo to become free. Usage count = 1
Aug 17 17:53:25 WIS-DOCKERPHY kernel: [ 1599.466898] unregister_netdevice: 
waiting for lo to become free. Usage count = 1
Aug 17 17:53:35 WIS-DOCKERPHY kernel: [ 1609.577597] unregister_netdevice: 
waiting for lo to become free. Usage count = 1
Aug 17 17:53:45 WIS-DOCKERPHY kernel: [ 1619.692335] unregister_netdevice: 
waiting for lo to become free. Usage count = 1
Aug 17 17:53:54 WIS-DOCKERPHY dockerd[18386]: 
time="2017-08-17T17:53:54.994924776-05:00" level=error msg="containerd: start 
container" error="containerd: container did not start before the specified 
timeout" id=2ef6677cc840f3597e5b38024cfb337856adfaccdcc1a2739f78413979c0fa2b
Aug 17 17:53:54 WIS-DOCKERPHY dockerd[18386]: 
time="2017-08-17T17:53:54.995769254-05:00" level=error msg="Create container 
failed with error: containerd: container did not start before the specified 
timeout"
Aug 17 17:53:55 WIS-DOCKERPHY kernel: [ 1629.366310] docker0: port 
1(veth9f03d7e) entered disabled state
Aug 17 17:53:55 WIS-DOCKERPHY kernel: [ 1629.367889] device veth9f03d7e left 
promiscuous mode
Aug 17 17:53:55 WIS-DOCKERPHY kernel: [ 1629.367891] docker0: port 
1(veth9f03d7e) entered disabled state
Aug 17 17:53:55 WIS-DOCKERPHY kernel: [ 1629.449744] auplink[25254]: segfault 
at 7ffdd8ddb0d8 ip 00007facdfff1579 sp 00007ffdd8ddb0e0 error 6 in 
libc-2.23.so[7facdfef8000+1c0000]
Aug 17 17:53:55 WIS-DOCKERPHY dockerd[18386]: 
time="2017-08-17T17:53:55.215290996-05:00" level=warning msg="Couldn't run 
auplink before unmount 
/var/lib/docker/aufs/mnt/90bdc718c5e518ef7b03df0e1769ab4638642ad0e847a38dbf16c6e600783f00:
 signal: segmentation fault (core dumped)"
Aug 17 17:53:55 WIS-DOCKERPHY dockerd[18386]: 
time="2017-08-17T17:53:55.215372764-05:00" level=error msg="Error unmounting 
container 2ef6677cc840f3597e5b38024cfb337856adfaccdcc1a2739f78413979c0fa2b: 
device or resource busy"
Aug 17 17:53:55 WIS-DOCKERPHY dockerd[18386]: 
time="2017-08-17T17:53:55.243281045-05:00" level=error msg="Handler for POST 
/v1.18/containers/2ef6677cc840f3597e5b38024cfb337856adfaccdcc1a2739f78413979c0fa2b/start
 returned error: containerd: container did not start before the specified 
timeout"
Aug 17 17:53:55 WIS-DOCKERPHY kernel: [ 1629.862984] unregister_netdevice: 
waiting for lo to become free. Usage count = 1
Aug 17 17:54:05 WIS-DOCKERPHY kernel: [ 1640.005751] unregister_netdevice: 
waiting for lo to become free. Usage count = 1
Aug 17 17:54:15 WIS-DOCKERPHY kernel: [ 1650.084470] unregister_netdevice: 
waiting for lo to become free. Usage count = 1
Aug 17 17:54:25 WIS-DOCKERPHY dockerd[18386]: 
time="2017-08-17T17:54:25.123304254-05:00" level=error msg="containerd: start 
container" error="containerd: container did not start before the specified 
timeout" id=891adb44118b9114d73a600748e52160a250ec0dd7f94a7ad1fc2352d492252d
Aug 17 17:54:25 WIS-DOCKERPHY dockerd[18386]: 
time="2017-08-17T17:54:25.124077481-05:00" level=error msg="Create container 
failed with error: containerd: container did not start before the specified 
timeout"
Aug 17 17:54:25 WIS-DOCKERPHY kernel: [ 1659.490959] docker0: port 
2(vetha61fb77) entered disabled state
Aug 17 17:54:25 WIS-DOCKERPHY kernel: [ 1659.492532] device vetha61fb77 left 
promiscuous mode
Aug 17 17:54:25 WIS-DOCKERPHY kernel: [ 1659.492534] docker0: port 
2(vetha61fb77) entered disabled state
Aug 17 17:54:25 WIS-DOCKERPHY dockerd[18386]: 
time="2017-08-17T17:54:25.249728323-05:00" level=error msg="Error unmounting 
container 891adb44118b9114d73a600748e52160a250ec0dd7f94a7ad1fc2352d492252d: 
device or resource busy"
Aug 17 17:54:25 WIS-DOCKERPHY dockerd[18386]: 
time="2017-08-17T17:54:25.271272174-05:00" level=error msg="Handler for POST 
/v1.18/containers/891adb44118b9114d73a600748e52160a250ec0dd7f94a7ad1fc2352d492252d/start
 returned error: containerd: container did not start before the specified 
timeout"
Aug 17 17:54:25 WIS-DOCKERPHY kernel: [ 1660.163205] unregister_netdevice: 
waiting for lo to become free. Usage count = 1
Aug 17 17:54:35 WIS-DOCKERPHY kernel: [ 1670.241938] unregister_netdevice: 
waiting for lo to become free. Usage count = 1
Aug 17 17:54:45 WIS-DOCKERPHY kernel: [ 1680.320664] unregister_netdevice: 
waiting for lo to become free. Usage count = 1
Aug 17 17:54:56 WIS-DOCKERPHY kernel: [ 1690.399418] unregister_netdevice: 
waiting for lo to become free. Usage count = 1
Aug 17 17:55:06 WIS-DOCKERPHY kernel: [ 1700.478157] unregister_netdevice: 
waiting for lo to become free. Usage count = 1


** Changed in: linux (Ubuntu)
       Status: In Progress => Confirmed

** Tags added: apport-collected xenial

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1711407

Title:
  unregister_netdevice: waiting for lo to become free

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  This is a "continuation" of bug 1403152, as that bug has been marked
  "fix released" and recent reports of failure may (or may not) be a new
  bug.  Any further reports of the problem should please be reported
  here instead of that bug.

  --

  [Impact]

  When shutting down and starting containers the container network
  namespace may experience a dst reference counting leak which results
  in this message repeated in the logs:

      unregister_netdevice: waiting for lo to become free. Usage count =
  1

  This can cause issues when trying to create net network namespace and
  thus block a user from creating new containers.

  [Test Case]

  ?

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1711407/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to