Skip to content

Instantly share code, notes, and snippets.

@evrardjp
Last active March 15, 2017 16:18
Show Gist options
  • Save evrardjp/3f81e247df9f0821f882dd73146b20b9 to your computer and use it in GitHub Desktop.
Save evrardjp/3f81e247df9f0821f882dd73146b20b9 to your computer and use it in GitHub Desktop.
{
"changed": true,
"end": "2017-03-15 16:11:46.959940",
"stdout": "Loading packages...\nGenerating metadata files and linking package files...",
"cmd": "aptly publish snapshot -distribution=\"r14.0.0rc1-trusty\" miko-r14.0.0rc1-trusty integrated",
"start": "2017-03-15 16:11:02.981904",
"delta": "0:00:43.978036",
"stderr": "panic: unable to unxz data.tar.xz from /var/www/artifacts/apt/pool/ca/d0/unity-tweak-tool_0.0.6ubuntu2~ubuntu14.04.1_all.deb: fork/exec /usr/bin/xz: cannot allocate memory [recovered]\n\tpanic: unable to unxz data.tar.xz from /var/www/artifacts/apt/pool/ca/d0/unity-tweak-tool_0.0.6ubuntu2~ubuntu14.04.1_all.deb: fork/exec /usr/bin/xz: cannot allocate memory\n\ngoroutine 1 [running]:\ngithub.com/smira/aptly/cmd.Run.func1(0xc82065ff18)\n\t/Users/smira/Documents/go/src/github.com/smira/aptly/cmd/run.go:16 +0x7f\ngithub.com/smira/aptly/deb.(*Package).CalculateContents(0xc8219c9bc0, 0x7f9f281e9ac8, 0xc8210c2a20, 0x0, 0x0, 0x0)\n\t/Users/smira/Documents/go/src/github.com/smira/aptly/deb/package.go:427 +0x1b4\ngithub.com/smira/aptly/deb.(*PackageCollection).loadContents(0xc8210c2aa0, 0xc8219c9bc0, 0x7f9f281e9ac8, 0xc8210c2a20, 0x0, 0x0, 0x0)\n\t/Users/smira/Documents/go/src/github.com/smira/aptly/deb/package_collection.go:183 +0x37b\ngithub.com/smira/aptly/deb.(*Package).Contents(0xc8219c9bc0, 0x7f9f281e9ac8, 0xc8210c2a20, 0x0, 0x0, 0x0)\n\t/Users/smira/Documents/go/src/github.com/smira/aptly/deb/package.go:410 +0x75\ngithub.com/smira/aptly/deb.(*ContentsIndex).Push(0xc823202068, 0xc8219c9bc0, 0x7f9f281e9ac8, 0xc8210c2a20)\n\t/Users/smira/Documents/go/src/github.com/smira/aptly/deb/contents.go:26 +0x4a\ngithub.com/smira/aptly/deb.(*PublishedRepo).Publish.func1(0xc8219c9bc0, 0x0, 0x0)\n\t/Users/smira/Documents/go/src/github.com/smira/aptly/deb/publish.go:568 +0x8d5\ngithub.com/smira/aptly/deb.(*PackageList).ForEachIndexed(0xc821043740, 0xc82065f508, 0x0, 0x0)\n\t/Users/smira/Documents/go/src/github.com/smira/aptly/deb/list.go:169 +0xed\ngithub.com/smira/aptly/deb.(*PublishedRepo).Publish(0xc820153040, 0x7f9f281e9ac8, 0xc8210c2a20, 0x7f9f281e9b80, 0xc8201e8000, 0xc8201b6900, 0x7f9f281e9a70, 0xc82109d8c0, 0x7f9f281e9b10, 0xc82109b710, ...)\n\t/Users/smira/Documents/go/src/github.com/smira/aptly/deb/publish.go:593 +0x1135\ngithub.com/smira/aptly/cmd.aptlyPublishSnapshotOrRepo(0xc8201b39e0, 0xc8201b67e0, 0x1, 0x2, 0x0, 0x0)\n\t/Users/smira/Documents/go/src/github.com/smira/aptly/cmd/publish_snapshot.go:145 +0x14fd\ngithub.com/smira/commander.(*Command).Dispatch(0xc8201b39e0, 0xc8201b67e0, 0x2, 0x2, 0x0, 0x0)\n\t/Users/smira/Documents/go/src/github.com/smira/aptly/_vendor/src/github.com/smira/commander/commands.go:305 +0x647\ngithub.com/smira/commander.(*Command).Dispatch(0xc8201b3d40, 0xc8201b67d0, 0x3, 0x3, 0x0, 0x0)\n\t/Users/smira/Documents/go/src/github.com/smira/aptly/_vendor/src/github.com/smira/commander/commands.go:283 +0x1f0\ngithub.com/smira/commander.(*Command).Dispatch(0xc8201da5a0, 0xc8201b67c0, 0x4, 0x4, 0x0, 0x0)\n\t/Users/smira/Documents/go/src/github.com/smira/aptly/_vendor/src/github.com/smira/commander/commands.go:283 +0x1f0\ngithub.com/smira/aptly/cmd.Run(0xc8201da5a0, 0xc82000a130, 0x5, 0x5, 0xd3ed01, 0x0)\n\t/Users/smira/Documents/go/src/github.com/smira/aptly/cmd/run.go:40 +0x19a\nmain.main()\n\t/Users/smira/Documents/go/src/github.com/smira/aptly/main.go:9 +0x73\n\ngoroutine 17 [syscall]:\nos/signal.loop()\n\t/usr/local/Cellar/go/1.5.3/libexec/src/os/signal/signal_unix.go:22 +0x18\ncreated by os/signal.init.1\n\t/usr/local/Cellar/go/1.5.3/libexec/src/os/signal/signal_unix.go:28 +0x37",
"rc": 2,
"invocation": {
"module_args": {
"creates": null,
"executable": null,
"chdir": null,
"_raw_params": "aptly publish snapshot -distribution=\"r14.0.0rc1-trusty\" miko-r14.0.0rc1-trusty integrated",
"removes": null,
"warn": true,
"_uses_shell": true
}
},
"warnings": []
}
@evrardjp
Copy link
Author

evrardjp commented Mar 15, 2017

panic: unable to unxz data.tar.xz from /var/www/artifacts/apt/pool/ca/d0/unity-tweak-tool_0.0.6ubuntu2~ubuntu14.04.1_all.deb: fork/exec /usr/bin/xz: cannot allocate memory [recovered]
      panic: unable to unxz data.tar.xz from /var/www/artifacts/apt/pool/ca/d0/unity-tweak-tool_0.0.6ubuntu2~ubuntu14.04.1_all.deb: fork/exec /usr/bin/xz: cannot allocate memory

goroutine 1 [running]:
github.com/smira/aptly/cmd.Run.func1(0xc82065ff18)
      /Users/smira/Documents/go/src/github.com/smira/aptly/cmd/run.go:16 +0x7f
github.com/smira/aptly/deb.(*Package).CalculateContents(0xc8219c9bc0, 0x7f9f281e9ac8, 0xc8210c2a20, 0x0, 0x0, 0x0)
      /Users/smira/Documents/go/src/github.com/smira/aptly/deb/package.go:427 +0x1b4
github.com/smira/aptly/deb.(*PackageCollection).loadContents(0xc8210c2aa0, 0xc8219c9bc0, 0x7f9f281e9ac8, 0xc8210c2a20, 0x0, 0x0, 0x0)
      /Users/smira/Documents/go/src/github.com/smira/aptly/deb/package_collection.go:183 +0x37b
github.com/smira/aptly/deb.(*Package).Contents(0xc8219c9bc0, 0x7f9f281e9ac8, 0xc8210c2a20, 0x0, 0x0, 0x0)
      /Users/smira/Documents/go/src/github.com/smira/aptly/deb/package.go:410 +0x75
github.com/smira/aptly/deb.(*ContentsIndex).Push(0xc823202068, 0xc8219c9bc0, 0x7f9f281e9ac8, 0xc8210c2a20)
      /Users/smira/Documents/go/src/github.com/smira/aptly/deb/contents.go:26 +0x4a
github.com/smira/aptly/deb.(*PublishedRepo).Publish.func1(0xc8219c9bc0, 0x0, 0x0)
      /Users/smira/Documents/go/src/github.com/smira/aptly/deb/publish.go:568 +0x8d5
github.com/smira/aptly/deb.(*PackageList).ForEachIndexed(0xc821043740, 0xc82065f508, 0x0, 0x0)
      /Users/smira/Documents/go/src/github.com/smira/aptly/deb/list.go:169 +0xed
github.com/smira/aptly/deb.(*PublishedRepo).Publish(0xc820153040, 0x7f9f281e9ac8, 0xc8210c2a20, 0x7f9f281e9b80, 0xc8201e8000, 0xc8201b6900, 0x7f9f281e9a70, 0xc82109d8c0, 0x7f9f281e9b10, 0xc82109b710, ...)
      /Users/smira/Documents/go/src/github.com/smira/aptly/deb/publish.go:593 +0x1135
github.com/smira/aptly/cmd.aptlyPublishSnapshotOrRepo(0xc8201b39e0, 0xc8201b67e0, 0x1, 0x2, 0x0, 0x0)
      /Users/smira/Documents/go/src/github.com/smira/aptly/cmd/publish_snapshot.go:145 +0x14fd
github.com/smira/commander.(*Command).Dispatch(0xc8201b39e0, 0xc8201b67e0, 0x2, 0x2, 0x0, 0x0)
      /Users/smira/Documents/go/src/github.com/smira/aptly/_vendor/src/github.com/smira/commander/commands.go:305 +0x647
github.com/smira/commander.(*Command).Dispatch(0xc8201b3d40, 0xc8201b67d0, 0x3, 0x3, 0x0, 0x0)
      /Users/smira/Documents/go/src/github.com/smira/aptly/_vendor/src/github.com/smira/commander/commands.go:283 +0x1f0
github.com/smira/commander.(*Command).Dispatch(0xc8201da5a0, 0xc8201b67c0, 0x4, 0x4, 0x0, 0x0)
      /Users/smira/Documents/go/src/github.com/smira/aptly/_vendor/src/github.com/smira/commander/commands.go:283 +0x1f0
github.com/smira/aptly/cmd.Run(0xc8201da5a0, 0xc82000a130, 0x5, 0x5, 0xd3ed01, 0x0)
      /Users/smira/Documents/go/src/github.com/smira/aptly/cmd/run.go:40 +0x19a
main.main()
      /Users/smira/Documents/go/src/github.com/smira/aptly/main.go:9 +0x73

goroutine 17 [syscall]:
os/signal.loop()
      /usr/local/Cellar/go/1.5.3/libexec/src/os/signal/signal_unix.go:22 +0x18
created by os/signal.init.1
      /usr/local/Cellar/go/1.5.3/libexec/src/os/signal/signal_unix.go:28 +0x37"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment