Public bug reported:

Hi, this is the output I get while trying to generate the latest image
for rolling/edge (the same happens for other combinations of release and
channel):

$ sudo ubuntu-device-flash --verbose core rolling --output 
/tmp/snappy-test/image/snappy-rolling-edge-latest.img --channel edge 
--developer-mode
Determining oem configuration
Starting download of generic-amd64
41.70 KB / 41.70 KB  100.00 % 313.25 KB/s 
Done
Starting download of icon for package
38.97 KB / 38.97 KB  100.00 % 312.42 KB/s 
Done
Fetching information from server...
Downloading and setting up...
Download finished for 
/home/fgimenez/.cache/ubuntuimages/ubuntu-core/rolling/edge/generic_amd64/version-99.tar.xz
Download finished for 
/home/fgimenez/.cache/ubuntuimages/pool/ubuntu-cc9ca46955f8d50e97c112038ec99e9e078f38b0287a29d9fc079000ce88c0de.tar.xz
Searching for hardware.yaml in device part
Download finished for 
/home/fgimenez/.cache/ubuntuimages/pool/device-6eefef46a44267fa92c1d3d8a8079399df13778d7bb64a0635c6c4c197c59e04.tar.xz
Partitioning...
Mapping...
Formatting...
Mounting...
panic: cannot double map partitions

goroutine 1 [running, locked to thread]:
launchpad.net/goget-ubuntu-touch/diskimage.(*BaseImage).Map(0xc2080bd4a0, 0x0, 
0x0)
        
/build/goget-ubuntu-touch-3MD6Z_/goget-ubuntu-touch-0.26/obj-x86_64-linux-gnu/src/launchpad.net/goget-ubuntu-touch/diskimage/common.go:294
 +0xc5
launchpad.net/goget-ubuntu-touch/diskimage.(*BaseImage).Mount(0xc2080bd4a0, 
0x0, 0x0)
        
/build/goget-ubuntu-touch-3MD6Z_/goget-ubuntu-touch-0.26/obj-x86_64-linux-gnu/src/launchpad.net/goget-ubuntu-touch/diskimage/common.go:203
 +0x5d
main.(*Snapper).setup(0xcfdc28, 0xc20823b620, 0x3, 0x0, 0x0)
        
/build/goget-ubuntu-touch-3MD6Z_/goget-ubuntu-touch-0.26/obj-x86_64-linux-gnu/src/launchpad.net/goget-ubuntu-touch/ubuntu-device-flash/snappy.go:343
 +0x15b
main.(*Snapper).deploy(0xcfdc28, 0xc2082cef00, 0xc20823b620, 0x0, 0x0)
        
/build/goget-ubuntu-touch-3MD6Z_/goget-ubuntu-touch-0.26/obj-x86_64-linux-gnu/src/launchpad.net/goget-ubuntu-touch/ubuntu-device-flash/snappy.go:409
 +0x130
main.(*Snapper).create(0xcfdc28, 0x0, 0x0)
        
/build/goget-ubuntu-touch-3MD6Z_/goget-ubuntu-touch-0.26/obj-x86_64-linux-gnu/src/launchpad.net/goget-ubuntu-touch/ubuntu-device-flash/snappy.go:553
 +0x12aa
main.(*CoreCmd).Execute(0xcfdc00, 0xc20800aa20, 0x1, 0x9, 0x0, 0x0)
        
/build/goget-ubuntu-touch-3MD6Z_/goget-ubuntu-touch-0.26/obj-x86_64-linux-gnu/src/launchpad.net/goget-ubuntu-touch/ubuntu-device-flash/core.go:82
 +0x458
github.com/jessevdk/go-flags.(*Parser).ParseArgs(0xc2080626c0, 0xc20800a000, 
0x9, 0x9, 0x0, 0x0, 0x0, 0x0, 0x0)
        
/build/goget-ubuntu-touch-3MD6Z_/goget-ubuntu-touch-0.26/obj-x86_64-linux-gnu/src/github.com/jessevdk/go-flags/parser.go:241
 +0x8b8
main.main()
        
/build/goget-ubuntu-touch-3MD6Z_/goget-ubuntu-touch-0.26/obj-x86_64-linux-gnu/src/launchpad.net/goget-ubuntu-touch/ubuntu-device-flash/main.go:62
 +0x3ac

goroutine 5 [syscall]:
os/signal.loop()
        /usr/lib/go/src/os/signal/signal_unix.go:21 +0x1f
created by os/signal.init·1
        /usr/lib/go/src/os/signal/signal_unix.go:27 +0x35

goroutine 6 [chan receive]:
launchpad.net/snappy/partition.func·007()
        
/build/goget-ubuntu-touch-3MD6Z_/goget-ubuntu-touch-0.26/obj-x86_64-linux-gnu/src/launchpad.net/snappy/partition/partition.go:134
 +0x52
created by launchpad.net/snappy/partition.setupSignalHandler
        
/build/goget-ubuntu-touch-3MD6Z_/goget-ubuntu-touch-0.26/obj-x86_64-linux-gnu/src/launchpad.net/snappy/partition/partition.go:139
 +0x21e

goroutine 17 [syscall, locked to thread]:
runtime.goexit()
        /usr/lib/go/src/runtime/asm_amd64.s:2232 +0x1

goroutine 45 [chan receive]:
main.func·005()
        
/build/goget-ubuntu-touch-3MD6Z_/goget-ubuntu-touch-0.26/obj-x86_64-linux-gnu/src/launchpad.net/goget-ubuntu-touch/ubuntu-device-flash/snappy.go:547
 +0x1e8
created by main.(*Snapper).create
        
/build/goget-ubuntu-touch-3MD6Z_/goget-ubuntu-touch-0.26/obj-x86_64-linux-gnu/src/launchpad.net/goget-ubuntu-touch/ubuntu-device-flash/snappy.go:550
 +0x1277
2015/07/08 10:07:38 Error while running [sudo ubuntu-device-flash --verbose 
core rolling --output /tmp/snappy-test/image/snappy-rolling-edge-latest.img 
--channel edge --developer-mode]: exit status 2
exit status 1


The installed version of udf:

$ apt-cache policy ubuntu-device-flash
ubuntu-device-flash:
  Installed: 0.26-0ubuntu1
  Candidate: 0.26-0ubuntu1
  Version table:
 *** 0.26-0ubuntu1 0
        500 http://es.archive.ubuntu.com/ubuntu/ wily/universe amd64 Packages
        100 /var/lib/dpkg/status


Thanks!

** Affects: goget-ubuntu-touch (Ubuntu)
     Importance: Undecided
         Status: New

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

Title:
  udf cannot double map partitions error

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/goget-ubuntu-touch/+bug/1472516/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to