Martin,
I was out the last few days, sorry for the delay and happy new year!
So the packaging scripts, one of them is failing? You mentioned compilation
helper,where can i find it?
Thank you!

在 2012年12月25日星期二UTC+8下午5时48分37秒,Martin Englund写道:
Alan,

you need to look at your packaging scripts - one of them is failing.
You can try Dr Nic's compilation helper to see where it fails...

/M

On Tue, Dec 25, 2012 at 7:05 AM, Alan Sun <alan...@gmail.com <javascript:>>
wrote:
Hi guys,
Since I have almost finish the Cloudstack CPI, i tried to rake micro
stemcell to test it.I did some work on the related part in both bosh and
bosh-release to support the new CPI(including registry),and use "bosh create
release --with-tarball --force" to create a bosh release.Then i use "rake
stemcell2:micro["cloudstack",manifest.bosh-release.tgz]" to build a
cloudstack micro stemcell. After serveral times tries, i got this error when
compiling packages :

#[17281] INFO: Message: {"method"=>"get_task",
"arguments"=>["efbced24-6212-4fc8-b537-b65173f1a7ad"],
"reply_to"=>"Bosh::Agent::HTTPClient"}
127.0.0.1 - vcap [24/Dec/2012 09:46:54] "POST /agent HTTP/1.1" 200 85 0.0013
#[17281] INFO: #<Bosh::Agent::MessageHandlerError: Compile Package Failure
(exit code: 16)>:
["/var/vcap/bosh/agent/lib/agent/message/compile_package.rb:181:in `block in
compile'",
"/var/vcap/bosh/agent/lib/agent/message/compile_package.rb:165:in
`chdir'",
"/var/vcap/bosh/agent/lib/agent/message/compile_package.rb:165:in
`compile'",
"/var/vcap/bosh/agent/lib/agent/message/compile_package.rb:46:in
`start'",
"/var/vcap/bosh/agent/lib/agent/message/compile_package.rb:13:in
`process'", "/var/vcap/bosh/agent/lib/agent/handler.rb:274:in
`process'",
"/var/vcap/bosh/agent/lib/agent/handler.rb:259:in
`process_long_running'",
"/var/vcap/bosh/agent/lib/agent/handler.rb:181:in `block in
process_in_thread'", "<internal:prelude>:10:in `synchronize'",
"/var/vcap/bosh/agent/lib/agent/handler.rb:179:in `process_in_thread'",
"/var/vcap/bosh/agent/lib/agent/handler.rb:160:in `block in
handle_message'"]
#[17281] INFO: Uploading blob for 'Compile Package Failure (exit code: 16)'
to blobstore
127.0.0.1 - - [24/Dec/2012 09:46:55] "POST /agent HTTP/1.1" 401 - 0.0002
#[17281] INFO: Message: {"method"=>"get_task",
"arguments"=>["efbced24-6212-4fc8-b537-b65173f1a7ad"],
"reply_to"=>"Bosh::Agent::HTTPClient"}
127.0.0.1 - vcap [24/Dec/2012 09:46:55] "POST /agent HTTP/1.1" 200 928
0.0013
E, [2012-12-24T09:46:55.375552 #17290] ERROR -- : Error
{"message"=>"Compile
Package Failure (exit code: 16)",
"backtrace"=>["/var/vcap/bosh/agent/lib/agent/message/compile_package.rb:181:in
`block in compile'",
"/var/vcap/bosh/agent/lib/agent/message/compile_package.rb:165:in `chdir'",
"/var/vcap/bosh/agent/lib/agent/message/compile_package.rb:165:in
`compile'",
"/var/vcap/bosh/agent/lib/agent/message/compile_package.rb:46:in
`start'",
"/var/vcap/bosh/agent/lib/agent/message/compile_package.rb:13:in
`process'", "/var/vcap/bosh/agent/lib/agent/handler.rb:274:in
`process'",
"/var/vcap/bosh/agent/lib/agent/handler.rb:259:in
`process_long_running'",
"/var/vcap/bosh/agent/lib/agent/handler.rb:181:in `block in
process_in_thread'", "<internal:prelude>:10:in `synchronize'",
"/var/vcap/bosh/agent/lib/agent/handler.rb:179:in `process_in_thread'",
"/var/vcap/bosh/agent/lib/agent/handler.rb:160:in `block in
handle_message'"],
"blobstore_id"=>"981db757-3e3f-4f97-98f7-eed858368bca"},

/var/vcap/bosh/src/micro_bosh/bosh/gems/ruby/1.9.1/gems/agent_client-0.1.1/lib/agent_client/base.rb:19:in
`method_missing'
/var/vcap/bosh/src/micro_bosh/bosh/gems/ruby/1.9.1/gems/agent_client-0.1.1/lib/agent_client/base.rb:10:in
`run_task'
/var/vcap/bosh/src/micro_bosh/package_compiler/lib/package_compiler/compiler.rb:158:in
`compile_package'
/var/vcap/bosh/src/micro_bosh/package_compiler/lib/package_compiler/compiler.rb:131:in
`block in compile_packages'
/var/vcap/bosh/src/micro_bosh/package_compiler/lib/package_compiler/compiler.rb:123:in
`each'
/var/vcap/bosh/src/micro_bosh/package_compiler/lib/package_compiler/compiler.rb:123:in
`compile_packages'
/var/vcap/bosh/src/micro_bosh/package_compiler/lib/package_compiler/compiler.rb:76:in
`block (2 levels) in compile'
/var/vcap/bosh/src/micro_bosh/package_compiler/lib/package_compiler/compiler.rb:182:in
`untar'
/var/vcap/bosh/src/micro_bosh/package_compiler/lib/package_compiler/compiler.rb:74:in
`block in compile'
/var/vcap/bosh/src/micro_bosh/package_compiler/lib/package_compiler/compiler.rb:182:in
`untar'
/var/vcap/bosh/src/micro_bosh/package_compiler/lib/package_compiler/compiler.rb:55:in
`compile'
/var/vcap/bosh/src/micro_bosh/package_compiler/lib/package_compiler/compiler.rb:27:in
`start'
/var/vcap/bosh/src/micro_bosh/package_compiler/lib/package_compiler.rb:14:in
`start'
/var/vcap/bosh/src/micro_bosh/package_compiler/bin/package_compiler:61:in
`<main>'
cp: cannot stat
`/var/tmp/bosh/agent-0.6.7-20635/work/work/chroot//var/vcap/micro/apply_spec.yml':
No such file or directory


--
cheers,
/Martin
--
Martin Englund, Staff Engineer, Cloud Foundry, VMware Inc.
"The question is not if you are paranoid, it is if you are paranoid
enough."

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 3 of 4 | next ›
Discussion Overview
groupbosh-dev @
postedDec 25, '12 at 6:05a
activeJan 3, '13 at 9:26a
posts4
users2

2 users in discussion

Alan Sun: 2 posts Martin Englund: 2 posts

People

Translate

site design / logo © 2021 Grokbase