Public bug reported:

Tried to snapcraft run gopaste:

 snapcraft run
Using the following ssh key: /home/michal/.ssh/id_rsa
Setting up virtual snappy environment, root access required
Determining oem configuration
Starting download of generic-amd64
41.70 KB / 41.70 KB 
[====================================================================================================================================================================================================================================]
 100.00 % 404.33 KB/s 
Done
Starting download of icon for package
38.97 KB / 38.97 KB 
[====================================================================================================================================================================================================================================]
 100.00 % 370.72 KB/s 
Done
Fetching information from server...
Downloading and setting up...
45.99 MB / 45.99 MB 
[======================================================================================================================================================================================================================================]
 100.00 % 4.10 MB/s 
76.77 MB / 76.77 MB 
[======================================================================================================================================================================================================================================]
 100.00 % 2.42 MB/s 
error while executing external command kpartx -ds 15.04.img: device-mapper: 
remove ioctl on loop0p5 failed: Device or resource busy
loop deleted : /dev/loop0

Running: ssh -i /home/michal/.ssh/id_rsa -oStrictHostKeyChecking=no 
-oUserKnownHostsFile=/tmp/tmpk23e62ge -oKbdInteractiveAuthentication=no 
ubuntu@localhost -p 8022 true
ssh: connect to host localhost port 8022: Connection refused
Waiting for device
Running: ssh -i /home/michal/.ssh/id_rsa -oStrictHostKeyChecking=no 
-oUserKnownHostsFile=/tmp/tmpk23e62ge -oKbdInteractiveAuthentication=no 
ubuntu@localhost -p 8022 true
ssh_exchange_identification: read: Connection reset by peer
Waiting for device
Running: ssh -i /home/michal/.ssh/id_rsa -oStrictHostKeyChecking=no 
-oUserKnownHostsFile=/tmp/tmpk23e62ge -oKbdInteractiveAuthentication=no 
ubuntu@localhost -p 8022 true
ssh_exchange_identification: read: Connection reset by peer
Waiting for device
Running: ssh -i /home/michal/.ssh/id_rsa -oStrictHostKeyChecking=no 
-oUserKnownHostsFile=/tmp/tmpk23e62ge -oKbdInteractiveAuthentication=no 
ubuntu@localhost -p 8022 true
ssh_exchange_identification: read: Connection reset by peer
Waiting for device
Running: ssh -i /home/michal/.ssh/id_rsa -oStrictHostKeyChecking=no 
-oUserKnownHostsFile=/tmp/tmpk23e62ge -oKbdInteractiveAuthentication=no 
ubuntu@localhost -p 8022 true
^Cqemu: terminating on signal 2Traceback (most recent call last):
  File "/usr/lib/python3.4/subprocess.py", line 539, in call
    return p.wait(timeout=timeout)
  File "/usr/lib/python3.4/subprocess.py", line 1568, in wait
    (pid, sts) = self._try_wait(0)
  File "/usr/lib/python3.4/subprocess.py", line 1516, in _try_wait
    (pid, sts) = _eintr_retry_call(os.waitpid, self.pid, wait_flags)
  File "/usr/lib/python3.4/subprocess.py", line 491, in _eintr_retry_call
    return func(*args)
KeyboardInterrupt

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/snapcraft", line 33, in <module>
    snapcraft.main.main()
  File "/usr/lib/python3/dist-packages/snapcraft/main.py", line 80, in main
    args.func(args)
  File "/usr/lib/python3/dist-packages/snapcraft/cmds.py", line 212, in run
    ["ubuntu@localhost", "-p", "8022", "true"])
  File "/usr/lib/python3/dist-packages/snapcraft/cmds.py", line 338, in _call
    return subprocess.call(args, **kwargs)
  File "/usr/lib/python3.4/subprocess.py", line 541, in call
    p.kill()
  File "/usr/lib/python3.4/subprocess.py", line 1693, in kill
    self.send_signal(signal.SIGKILL)
  File "/usr/lib/python3.4/subprocess.py", line 1683, in send_signal
    os.kill(self.pid, sig)
ProcessLookupError: [Errno 3] No such process

ProblemType: Bug
DistroRelease: Ubuntu 15.10
Package: snapcraft 0.2-0~207~ubuntu15.10.1 [origin: LP-PPA-snappy-dev-tools]
ProcVersionSignature: Ubuntu 4.2.0-10.12-generic 4.2.0
Uname: Linux 4.2.0-10-generic x86_64
ApportVersion: 2.18.1-0ubuntu1
Architecture: amd64
CurrentDesktop: Unity
Date: Thu Sep 24 15:54:56 2015
PackageArchitecture: all
SourcePackage: snapcraft
UpgradeStatus: Upgraded to wily on 2015-09-18 (6 days ago)

** Affects: snapcraft
     Importance: High
         Status: New

** Affects: snapcraft (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug third-party-packages wily

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1499376

Title:
  snapcraft run stuck after device busy error

To manage notifications about this bug go to:
https://bugs.launchpad.net/snapcraft/+bug/1499376/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to