Giter Club home page Giter Club logo

unik's Introduction

Build and run unikernels

A platform for automating unikernel & MicroVM compilation and deployment


UniK (pronounced you-neek) is a tool for compiling application sources into unikernels (lightweight bootable disk images) and MicroVM rather than binaries.

UniK runs and manages instances of compiled images across a variety of cloud providers as well as locally.

UniK utilizes a simple docker-like command line interface, making building unikernels and MicroVM as easy as building containers.

UniK is built to be easily extensible, allowing (and encouraging) adding support for unikernel/MicroVM compilers and cloud providers. See architecture for a better understanding of UniK's pluggable code design.

To learn more about the motivation behind project UniK, read our blog post, or watch session (Slides). We also encourage you to read this blog about IoT Security.

To stay up-to-date on UniK, follow us at twitter and join us on our slack channel.


Changelog:

Due to the frequency with which features and patches are applied to UniK, we have decided to list these changes by date in our unversioned changelog.


Documentation


Supported unikernel types:

  • Firecracker: UniK supports compiling GO code into Firecracker MicroVMs
  • rump: UniK supports compiling Python, Node.js and Go code into rumprun unikernels
  • OSv: UniK supports compiling Java, Node.js, C and C++ code into OSv unikernels
  • IncludeOS: UniK supports compiling C++ code into IncludeOS unikernels
  • MirageOS: UniK supports compiling OCaml, code into MirageOS unikernels

We are looking for community help to add support for more unikernel types and languages.

Supported providers:

Roadmap:

  • extend unik to build & deploy Kata Containers
  • extend unik to build & deploy FreeRTOS
  • extend unik to build & deploy LinuxKit
  • dynamic volume and application arguments configuration at instance runtime (rather than at compile time)
  • expanding test coverage
  • better code documentation
  • multi-account support per provider (i.e. multiple AWS accounts/regions, etc.)
  • migrate from martini to echo

UniK is still experimental! APIs and compatibility are subject to change. We are looking for community support to help identify potential bugs and compatibility issues. Please open a Github issue for any problems you may experience, and join us on our slack channel


Thanks

UniK would not be possible without the valuable open-source work of projects in the unikernel community. We would like to extend a special thank-you to Firecracker, rumprun, deferpanic, cloudius systems, mirageos and includeOS.

unik's People

Contributors

aafrey avatar adam-hanna avatar beriberikix avatar charithe avatar djannot avatar ericwb avatar fiorix avatar gcetusic avatar gmembre-zenika avatar guoxiao avatar hsluoyz avatar ilackarms avatar ilevine avatar ingve avatar jeaye avatar jlaceda avatar leecalcote avatar mathiasmah avatar miha-plesko avatar mswilson avatar nctiggy avatar phenixrizen avatar rstomasalberto avatar ryangalamb avatar sajal avatar thepont avatar urjitbhatia avatar victorklijmeij avatar volltin avatar yuval-k avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

unik's Issues

Trying to run the daemon for the 1st time

Getting the following error:

$ sudo unik daemon
INFO[0000] daemon started                                config={Providers:{Aws:[] Vsphere:[] Virtualbox:[{Name:my-vbox AdapterName:vboxnet0 VirtualboxAdapterType:host_only}]} Version:}
INFO[0000] Bootstrapping provider virtualbox with config {my-vbox vboxnet0 host_only} 
INFO[0000] checking if instance listener is alive...    
INFO[0000] listening for udp heartbeat...               
INFO[0000] UDP Server listening on 0.0.0.0:9876         
INFO[0010] cannot contact instance listener... cleaning up previous if it exists.. 
INFO[0010] compiling new instance listener              
INFO[0022] staging new instance listener image          
INFO[0022] creating boot volume from raw image           raw-image=&{LocalImagePath:/tmp/455626125 StageSpec:{ImageFormat:raw XenVirtualizationType:} RunSpec:{DeviceMappings:[{MountPoint:/ DeviceName:sd0} {MountPoint:/data DeviceName:sd1a}] DefaultInstanceMemory:512 StorageDriver:SCSI VsphereNetworkType:}}
ERRO[0023] running daemon failed: [cmd/daemon.go:74] daemon failed to initialize: {[daemon/daemon.go:80] initializing virtualbox provider: {[virtualbox/virtualbox_provider.go:36] deploing virtualbox instance listener: {[virtualbox/deploy_instance_listener.go:48] building bootable vsphere image for instsance listener: {[virtualbox/stage.go:44] converting raw image to vmdk: {[common/qemu.go:23] failed converting raw image to vmdk: qemu-img: /home/nater/.unik/virtualbox/images/VboxUnikInstanceListener/boot.vmdk: error while converting vmdk: Could not create file: No such file or directory
: {exit status 1}}}}}} 

here is the ~/.unik/daemon-config.yaml file:

providers:
  #...
  virtualbox:
    - name: my-vbox
      adapter_name: "vboxnet0"
      adapter_type: host_only

Problem instaling UniK

I am trying to install UniK on my Linux machine. I an running Fedora 23 and have installed Docker rum the make command. Everything seems to go fine until make come to building UniK. Here is the output from make:

...
Successfully built f16be26089f4
mkdir -p ./_build
docker run --rm -v /home/jonsi/src/UniK/unik/_build:/opt/build -e TARGET_OS=linux projectunik/binary
go install github.com/emc-advanced-dev/unik: open /opt/build/unik: permission denied
Makefile:113: receptet för målet ”binary” misslyckades (recipe for goal ”binary” failed)
make: *** [binary] Fel 1 (Error 1)

What is the problem?

example build command is impossible

Running unik build --help show this example command:

unik build --name myUnikernel --path ./myApp/src --compiler rump-go-xen --provider aws --mountpoint /foo --mountpoint /bar --args '-myParameter MYVALUE' --force

However, if you try to actually use the rump-go-xen compiler with the aws provider, produces an error:

error=[daemon/daemon.go:240] provider aws does not support compiler rump-go-xen; supported compilers: rump-go-aws|rump-nodejs-aws|osv-java-aws

Just a small thing, but the example command should probably use one of these.

Mention "jq" as a requirement

Installing unik with make fails:

docker pull projectunik/compilers-rump-nodejs-hw-no-stub:
Pulling repository projectunik/compilers-rump-nodejs-hw-no-stub
FATA[0003] Repository not found                         
make: *** [pull] Error 1

But when I run

sudo apt-get install jq

it works. Please mention "jq" as requirement or assert it.

mount boot volume

currently filesystem is loaded into memory at boot time, boot volume is never mounted
this forces us to bake static files into the kernel
this causes the memory footprint to be >= the size of the boot volume

Bootstrapping vSphere provided doesn't work

INFO[0000] daemon started                                config={Providers:{Aws:[] Vsphere:[{Name:vsphere VsphereUser:root VspherePassword:****** VsphereURL:https://10.64.231.190 Datastore:DATA11}] Virtualbox:[]} Version:0.0.0}
INFO[0000] Bootstrapping provider vsphere with config {vsphere root ****** https://10.64.231.190 DATA11} 
DEBU[0000] running command                               command=[docker run --rm projectunik/vsphere-client govc datastore.mkdir -ds DATA11 -k -u https://root:******@10.64.231.190/sdk unik]
DEBU[0001] govc: ServerFaultCode: Cannot complete the operation because the file or folder [DATA11] unik already exists 
WARN[0008] failed running govc datastore.mkdir unik      error=exit status 1
DEBU[0008] running command                               command=[docker run --rm projectunik/vsphere-client govc datastore.mkdir -ds DATA11 -k -u https://root:******@10.64.231.190/sdk unik/vsphere]
DEBU[0009] govc: ServerFaultCode: Cannot complete the operation because the file or folder [DATA11] unik/vsphere already exists 
WARN[0017] failed running govc datastore.mkdir unik/vsphere  error=exit status 1
DEBU[0017] running command                               command=[docker run --rm projectunik/vsphere-client govc datastore.mkdir -ds DATA11 -k -u https://root:******@10.64.231.190/sdk unik/vsphere/images]
DEBU[0018] govc: ServerFaultCode: Cannot complete the operation because the file or folder [DATA11] unik/vsphere/images already exists 
WARN[0026] failed running govc datastore.mkdir unik/vsphere/images  error=exit status 1
DEBU[0026] running command                               command=[docker run --rm projectunik/vsphere-client govc datastore.mkdir -ds DATA11 -k -u https://root:******@10.64.231.190/sdk unik/vsphere/volumes]
DEBU[0027] govc: ServerFaultCode: Cannot complete the operation because the file or folder [DATA11] unik/vsphere/volumes already exists 
WARN[0034] failed running govc datastore.mkdir unik/vsphere/volumes  error=exit status 1
INFO[0034] checking if instance listener base vmdk already exists on vsphere datastore 
DEBU[0034] running command                               command=[docker run --rm projectunik/vsphere-client govc vm.info -k -u https://root:******@10.64.231.190/sdk --json VsphereUnikInstanceListener]
INFO[0053] deploying vsphere instance listener          
DEBU[0053] running command                               command=[docker run --rm projectunik/vsphere-client govc vm.create -k -u https://root:******@10.64.231.190/sdk --force=true --m=256 --on=false -ds DATA11 -net.adapter=e1000 VsphereUnikInstanceListener]
DEBU[0054] govc: default network resolves to multiple instances, please specify 
ERRO[0062] running daemon failed: [cmd/daemon.go:74] daemon failed to initialize: {[daemon/daemon.go:64] initializing vsphere provider: {[vsphere/vsphere_provider.go:45] deploing virtualbox instance listener: {[vsphere/deploy_instance_listener.go:68] creating vm: {[vsphereclient/client.go:131] failed running govc vm.create VsphereUnikInstanceListener: {exit status 1}}}}} 

I've tried to delete the other switches in my vCenter to keep only one, but I still have the error.

I've also trie to manually run the Docker command with -e GOVC_NETWORK=DSwitchExternal to specify the network:

docker run --rm -e GOVC_NETWORK=DSwitchExternal projectunik/vsphere-client govc vm.create -k -u https://root:******@10.64.231.190/sdk --force=true --m=256 --on=false -ds DATA11 -net.adapter=e1000 VsphereUnikInstanceListener
govc: not supported (vCenter only)

The error is different, but it still doesn't work.

Non trivial example is moaning about not finding imports

$> unik build --name appImage --path ./ --compiler rump-go-virtualbox --provider virtualbox

--- unik daemon ---

CC=x86_64-rumprun-netbsd-gcc CGO_ENABLED=1 GOOS=rumprun /usr/local/go/bin/go build -buildmode=c-archive -v -a -x gomaincaller.go appmain.go 
DEBU[1498] WORK=/tmp/go-build948203013                  
DEBU[1498] app.go:6:2: cannot find package "app/control" in any of:
DEBU[1498]  /usr/local/go/src/app/control (from $GOROOT) 
DEBU[1498]  /go/src/app/control (from $GOPATH)         
DEBU[1498] app.go:7:2: cannot find package "app/memory" in any of: 
DEBU[1498]  /usr/local/go/src/app/memory (from $GOROOT) 
DEBU[1498]  /go/src/app/memory (from $GOPATH)          
DEBU[1498] app.go:8:2: cannot find package "app/system" in any of: 
DEBU[1498]  /usr/local/go/src/app/system (from $GOROOT) 
DEBU[1498]  /go/src/app/system (from $GOPATH)          
ERRO[1498] error handling request                        error=[daemon/daemon.go:271] failed to compile raw image: {[rump/generic.go:139] running container projectunik/compilers-rump-go-hw: {exit status 1}}

failed to read client configuration file client-config.yaml

unik build --name ecspicsImage --path ./ --compiler rump-go-virtualbox --provider virtual box

ERRO[0000] failed to read client configuration file at /Users/denisjannot/.unik/client-config.yaml\n
Try setting your config with 'unik target HOST_URL' error=open /Users/denisjannot/.unik/client-config.yaml: no such file or directory
ERRO[0000] build failed: open /Users/denisjannot/.unik/client-config.yaml: no such file or directory

I don't find any documentation about this client-config.yaml, so I don't know how to create it

Incorrect link to missing file "docs/api.md" in README.md

On the GitHub page for UniK, in README.md, in the Documentation section, under the Developer Documentation heading, the first link ("UniK's REST API") does not work (the linked-to file "docs/api.md" does not exist in the repo), so GitHub returns a 404 error.

Failed to umount when starting daemon

When starting the daemon I'm still getting this issue:

Jul 07 08:37:55 localhost.localdomain forward-journal[1551]: time="2016-07-07T08:37:55.465927839-04:00" level=info msg="{Action=start, ID=66bf3e7847089c0b5691f5827e05263b52b7aad4858a534b7bb1241c1c0ae67c, Username=root, LoginUID=0, PID=4215, Config={Hostname=66bf3e784708, AttachStdin=false, AttachStdout=true, AttachStderr=true, Tty=false, OpenStdin=false, StdinOnce=false, Env=[ROOT_PATH=github.com/emc-advanced-dev/unik/instance-listener PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/go/bin:/go/bin RUMPDIR=/usr/local PLATFORM=hw BUILDRUMP_EXTRA= GOROOT=/usr/local/go GOPATH=/go RUMP_BAKE=hw_generic], Cmd={parts:[/bin/sh -c set -x &&     cp /tmp/build/gomaincaller.go /tmp/build/mainstub.c . &&     mkdir -p ${GOPATH}/src/${ROOT_PATH} &&     cp -r ./* ${GOPATH}/src/${ROOT_PATH} &&     cd ${GOPATH}/src/${ROOT_PATH} &&     GO15VENDOREXPERIMENT=1 CC=x86_64-rumprun-netbsd-gcc CGO_ENABLED=1 GOOS=rumprun /usr/local/go/bin/go build -buildmode=c-archive -v -a -x  *.go &&     RUMPRUN_STUBLINK=succeed x86_64-rumprun-netbsd-gcc -g -o /opt/code/program mainstub.c $(find . -name \"*.a\") &&     rm -f /opt/code/mainstub.c /opt/code/gomaincaller.go &&     rumprun-bake $RUMP_BAKE /opt/code/program.bin /opt/code/program]}, Image=projectunik/compilers-rump-go-hw-no-stub:0.1, Volumes=map[/opt/code:{}], WorkingDir=/opt/code, NetworkDisabled=false, Labels=map[], StopSignal=SIGTERM}, HostConfig={Binds=[/tmp/vbox.instancelistener.378829908:/opt/code], LxcConf={values:[]}, OomKillDisable=false, MemorySwappiness=-1, Privileged=false, PortBindings=map[], PublishAllPorts=false, DNS=[], DNSOptions=[], DNSSearch=[], Devices=[], NetworkMode=default, RestartPolicy={Name:no MaximumRetryCount:0}, ReadonlyRootfs=false, Sysctls=map[], LogConfig={Type:json-file Config:map[]}, ShmSize=67108864}}"
Jul 07 08:37:56 localhost.localdomain forward-journal[1551]: time="2016-07-07T08:37:56.357696286-04:00" level=warning msg="exit status 143"
Jul 07 08:37:59 localhost.localdomain forward-journal[1551]: 

> **time="2016-07-07T08:37:59.166769641-04:00" level=warning msg="failed to cleanup ipc mounts:\nfailed to umount /var/lib/docker/containers/66bf3e7847089c0b5691f5827e05263b52b7aad4858a534b7bb1241c1c0ae67c/shm: invalid argument\nfailed to umount /var/lib/docker/containers****



> /66bf3e7847089c0b5691f5827e05263b52b7aad4858a534b7bb1241c1c0ae67c/mqueue: invalid argument"

**
Jul 07 08:37:59 localhost.localdomain forward-journal[1551]: time="2016-07-07T08:37:59.166817216-04:00" level=error msg="Error unmounting device 66bf3e7847089c0b5691f5827e05263b52b7aad4858a534b7bb1241c1c0ae67c: UnmountDevice: device not-mounted id 66bf3e7847089c0b5691f5827e05263b52b7aad4858a534b7bb1241c1c0ae67c"
Jul 07 08:37:59 localhost.localdomain forward-journal[1551]: time="2016-07-07T08:37:59.167013784-04:00" level=error msg="Handler for POST /v1.21/containers/66bf3e7847089c0b5691f5827e05263b52b7aad4858a534b7bb1241c1c0ae67c/start returned error: Cannot start container 66bf3e7847089c0b5691f5827e05263b52b7aad4858a534b7bb1241c1c0ae67c: [8] System error: read parent: connection reset by peer"
[logs.txt](https://github.com/emc-advanced-dev/unik/files/352176/logs.txt)

ARM support

On the blog post it is mentioned that experimental ARM support is added. How would I build/run UniK on the Raspberry Pi 3 Model B?

windows support

need to add windows support for make binary
(or make-less install since windows doesn't run make)

Can't download https://s3.amazonaws.com/unik-instance-listener/vsphere-instancelistener-base.vmdk

Access is denied:

unik daemon --debug
INFO[0000] daemon started                                config={Providers:{Aws:[] Vsphere:[{Name:vsphere VsphereUser:root VspherePassword:****** VsphereURL:https://10.64.231.190 Datastore:DATA11}] Virtualbox:[]} Version:0.0.0}
INFO[0000] Bootstrapping provider vsphere with config {vsphere root ****** https://10.64.231.190 DATA11} 
DEBU[0000] running command                               command=[docker run --rm projectunik/vsphere-client govc datastore.mkdir -ds DATA11 -k -u https://root:******@10.64.231.190/sdk unik]
DEBU[0009] running command                               command=[docker run --rm projectunik/vsphere-client govc datastore.mkdir -ds DATA11 -k -u https://root:******@10.64.231.190/sdk unik/vsphere]
DEBU[0018] running command                               command=[docker run --rm projectunik/vsphere-client govc datastore.mkdir -ds DATA11 -k -u https://root:******@10.64.231.190/sdk unik/vsphere/images]
DEBU[0027] running command                               command=[docker run --rm projectunik/vsphere-client govc datastore.mkdir -ds DATA11 -k -u https://root:******@10.64.231.190/sdk unik/vsphere/volumes]
INFO[0035] checking if instance listener base vmdk already exists on vsphere datastore 
DEBU[0035] running command                               command=[docker run --rm projectunik/vsphere-client govc vm.info -k -u https://root:******@10.64.231.190/sdk --json VsphereUnikInstanceListener]
INFO[0054] vsphere instance listener vmdk not found, attempting to download from https://s3.amazonaws.com/unik-instance-listener/vsphere-instancelistener-base.vmdk  error=stat vsphere-instancelistener-base.vmdk: no such file or directory
 243 / ? [--------------------------------------------------------------------------------------=----------------------]   2.43%0 
download complete
INFO[0055] 243 bytes written                            
INFO[0055] uploading vsphere-instancelistener-base.vmdk 
DEBU[0055] running command                               command=[docker run --rm -v /root/unik:/root/unik projectunik/vsphere-client govc import.vmdk -ds DATA11 -k -u https://root:******@10.64.231.190/sdk vsphere-instancelistener-base.vmdk unik/vsphere-instancelistener-base.vmdk]
DEBU[0057] govc: stat vsphere-instancelistener-base.vmdk: no such file or directory 
[15-05-16 20:15:06] Uploading... OK      
ERRO[0065] running daemon failed: [cmd/daemon.go:74] daemon failed to initialize: {[daemon/daemon.go:64] initializing vsphere provider: {[vsphere/vsphere_provider.go:45] deploing virtualbox instance listener: {[vsphere/deploy_instance_listener.go:62] copying instance listener vmdk: {[vsphereclient/client.go:203] failed running govc import.vmdk unik/vsphere-instancelistener-base.vmdk: {exit status 1}}}}} 

python3.5 unikernel with boto3

I am not 100% sure if I'm doing the packaging wrong or if my experiences behaviour is "as to be expected". I've created a simple python program acting as a HTTP server and utilizing the boto3 library to access a S3 bucket. This works as expected with python3.5 on my local computer.

I can build and deploy the unikernel on Amazon EC2.

Problem is, that I cannot execute the program. The exception (caught by my python exception handler as it wasn't displayed within the EC2 image's system output on the AWS console) shows an No module named multiprocessing exception during boto3 initialization. Does this mean that the python rumprun unikernel does not support multiple processes/threads and thus does not implement multiprocessing or have i packaged my kernel wrong? (so I'm also not sure where to ask --- unik or rumprun).

A "normal" deployment (without s3) works as expected! thanks for your work

getting started page. a few questions.

the url is 👍
https://github.com/emc-advanced-dev/unik/blob/master/docs/getting_started.md

I am a golang programer and use Docker, but some things on this page are a little unclear for me, and so maybe others. SO here we go with a few things that came up for me:

  1. Does this work ok with Docker for Mac (This is the one that does not need virtual box). ?https://beta.docker.com/docs/
    I tried it and it worked, but would be good for others to know.
    Docker for Mac is beta and invite only at the moment btw.
  2. QEMU for OSX. A bit of googling shows me about 5 different ways to install this. Its not a world i have played in yet.
    So what to do ? Maybe you could link to a "blessed" way of installing ?

BTW i have done 2 IOT related projects in the past and this project looks really great. There are lots of gotchas architecturally that are unique to that space.

document make binary

The documentation is only referring to do the build with make, this will download many large containers. make binary allows to only build unikand the container will be downloaded on demand.

How to debug build issues ?

I'm trying to build a Go program:

GO15VENDOREXPERIMENT=1 /Users/denisjannot/Syncplicity/Documents/Dev/go/bin/godep save .
unik build --name ecsproxyImage --path ./ --compiler rump-go-virtualbox --provider virtual box
INFO[0000] running unik build                            args=[] compiler=rump-go-virtualbox force=false host=localhost:3000 mountPoints=[] name=ecsproxyImage path=./ provider=virtualbox
INFO[0000] App packaged as tarball: /Users/denisjannot/.unik/050277923

ERRO[0097] build failed: [cmd/build.go:95] building image failed: {[client/images.go:54] failed with status 500: [daemon/daemon.go:254] failed to compile raw image: {[rump/generic.go:116] Returned non zero status}} 

When I look at the daemon logs:

INFO[0000] daemon started                                config={Providers:{Aws:[] Vsphere:[] Virtualbox:[{Name:virtualbox AdapterName:vboxnet3 VirtualboxAdapterType:host_only}]} Version:0.0.0}
INFO[0000] Bootstrapping provider virtualbox with config {virtualbox vboxnet3 host_only} 
[martini] listening on :3000 (development)
INFO[0023] Created container                             binds=[/Users/denisjannot/.unik/217224120:/opt/code] cmd=[] id=6b60dcb0414131322deaa4015058c97f1f33129371c00d2a92b2a7b16822486b
ERRO[0117] Container exit status non zero                status=1
ERRO[0118] 8+ cp /tmp/build/gomaincaller.go /tmp/build/mainstub.c .
+ [ -d Godeps ]
'+ GO15VENDOREXPERIMENT=1 godep restore
Tgodep: [WARNING]: godep should only be used inside a valid go package directory and
Xgodep: [WARNING]: may not function correctly. You are probably outside of your $GOPATH.
/godep: [WARNING]:  Current Directory: /opt/code
godep: [WARNING]:   $GOPATH: /go
?+ CC=x86_64-rumprun-netbsd-gcc CGO_ENABLED=1 GOOS=rumprun /usr/local/go/bin/go build -buildmode=c-archive -v -a -x config.go diskcache.go ecsproxy.go gomaincaller.go sign.go utils.go
WORK=/tmp/go-build957439561
runtime
mkdir -p $WORK/runtime/_obj/
mkdir -p $WORK/
cd /usr/local/go/src/runtime
?/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/runtime.a -trimpath $WORK -p runtime -+ -buildid 65d4f2b5556374f639e61da82890c23c9c8d6ba5 -D _/usr/local/go/src/runtime -I $WORK -pack -asmhdr $WORK/runtime/_obj/go_asm.h ./alg.go ./arch1_amd64.go ./arch_amd64.go ./atomic_amd64x.go ./atomic_pointer.go ./cgo.go ./cgocall.go ./cgocallback.go ./chan.go ./compiler.go ./complex.go ./cpuprof.go ./cputicks.go ./debug.go ./defs1_rumprun_amd64.go ./env_posix.go ./error.go ./extern.go ./hash64.go ./hashmap.go ./hashmap_fast.go ./heapdump.go ./iface.go ./lfstack.go ./lfstack_amd64.go ./lock_sema.go ./malloc.go ./mbarrier.go ./mbitmap.go ./mcache.go ./mcentral.go ./mem_rumprun.go ./mfinal.go ./mfixalloc.go ./mgc.go ./mgcmark.go ./mgcsweep.go ./mgcwork.go ./mheap.go ./mprof.go ./msize.go ./mstats.go ./netpoll.go ./netpoll_kqueue.go ./os1_rumprun.go ./os1_rumprun_amd64.go ./os2_rumprun.go ./os_rumprun.go ./panic.go ./panic1.go ./parfor.go ./print1.go ./print1_write.go ./proc.go ./proc1.go ./race0.go ./rdebug.go ./rune.go ./runtime.go ./runtime1.go ./runtime2.go ./select.go ./sema.go ./signal1_unix.go ./signal_amd64x.go ./signal_rumprun.go ./signal_rumprun_amd64.go ./signal_unix.go ./sigpanic_unix.go ./sigqueue.go ./slice.go ./softfloat64.go ./sqrt.go ./stack1.go ./stack2.go ./string.go ./string1.go ./stubs.go ./stubs2.go ./symtab.go ./sys_x86.go ./time.go ./trace.go ./traceback.go ./type.go ./typekind.go ./typekind1.go ./unaligned1.go ./vdso_none.go ./wbfat.go ./zgoarch_amd64.go ./zgoos_rumprun.go ./zversion.go
?/usr/local/go/pkg/tool/linux_amd64/asm -o $WORK/runtime/_obj/asm.o -trimpath $WORK -I $WORK/runtime/_obj/ -I /usr/local/go/pkg/include -D GOOS_rumprun -D GOARCH_amd64 ./asm.s
?/usr/local/go/pkg/tool/linux_amd64/asm -o $WORK/runtime/_obj/asm_amd64.o -trimpath $WORK -I $WORK/runtime/_obj/ -I /usr/local/go/pkg/include -D GOOS_rumprun -D GOARCH_amd64 ./asm_amd64.s
?/usr/local/go/pkg/tool/linux_amd64/asm -o $WORK/runtime/_obj/duff_amd64.o -trimpath $WORK -I $WORK/runtime/_obj/ -I /usr/local/go/pkg/include -D GOOS_rumprun -D GOARCH_amd64 ./duff_amd64.s
?/usr/local/go/pkg/tool/linux_amd64/asm -o $WORK/runtime/_obj/memclr_amd64.o -trimpath $WORK -I $WORK/runtime/_obj/ -I /usr/local/go/pkg/include -D GOOS_rumprun -D GOARCH_amd64 ./memclr_amd64.s
?/usr/local/go/pkg/tool/linux_amd64/asm -o $WORK/runtime/_obj/memmove_amd64.o -trimpath $WORK -I $WORK/runtime/_obj/ -I /usr/local/go/pkg/include -D GOOS_rumprun -D GOARCH_amd64 ./memmove_amd64.s
?/usr/local/go/pkg/tool/linux_amd64/asm -o $WORK/runtime/_obj/rt0_rumprun_amd64.o -trimpath $WORK -I $WORK/runtime/_obj/ -I /usr/local/go/pkg/include -D GOOS_rumprun -D GOARCH_amd64 ./rt0_rumprun_amd64.s
?/usr/local/go/pkg/tool/linux_amd64/asm -o $WORK/runtime/_obj/sys_rumprun_amd64.o -trimpath $WORK -I $WORK/runtime/_obj/ -I /usr/local/go/pkg/include -D GOOS_rumprun -D GOARCH_amd64 ./sys_rumprun_amd64.s
pack r $WORK/runtime.a $WORK/runtime/_obj/asm.o $WORK/runtime/_obj/asm_amd64.o $WORK/runtime/_obj/duff_amd64.o $WORK/runtime/_obj/memclr_amd64.o $WORK/runtime/_obj/memmove_amd64.o $WORK/runtime/_obj/rt0_rumprun_amd64.o $WORK/runtime/_obj/sys_rumprun_amd64.o # internal
errors
mkdir -p $WORK/errors/_obj/
cd /usr/local/go/src/errors
?/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/errors.a -trimpath $WORK -p errors -complete -buildid 69900cfaae72b183988706edf2320dd80ec3f06b -D _/usr/local/go/src/errors -I $WORK -pack ./errors.go

d /usr/local/go/src/bufio
?/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/bufio.a -trimpath $WORK -p bufio -complete -buildid e639acf9dbd9d09e653da1bd4ecf68bf9ac4e73f -D _/usr/local/go/src/bufio -I $WORK -pack ./bufio.go ./scan.go
crypto/subtle
#mkdir -p $WORK/crypto/subtle/_obj/
mkdir -p $WORK/crypto/
#cd /usr/local/go/src/crypto/subtle
?/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/crypto/subtle.a -trimpath $WORK -p crypto/subtle -complete -buildid 75a1168f6c66b3bbfb107ac44a17f35f2c1e9e49 -D _/usr/local/go/src/crypto/subtle -I $WORK -pack ./constant_time.go
hash
mkdir -p $WORK/hash/_obj/
cd /usr/local/go/src/hash
?/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/hash.a -trimpath $WORK -p hash -complete -buildid 0803a034b0bb1691d1e6b8be5676238a728e1661 -D _/usr/local/go/src/hash -I $WORK -pack ./hash.go

crypto/hmac
!mkdir -p $WORK/crypto/hmac/_obj/
!cd /usr/local/go/src/crypto/hmac
?/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/crypto/hmac.a -trimpath $WORK -p crypto/hmac -complete -buildid c62a3fd40744423696ff97540186430e727929a7 -D _/usr/local/go/src/crypto/hmac -I $WORK -pack ./hmac.go
math
mkdir -p $WORK/math/_obj/
cd /usr/local/go/src/math
?/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/math.a -trimpath $WORK -p math -buildid 1d63fd04694b944e095aff2ae16615631e9be1c0 -D _/usr/local/go/src/math -I $WORK -pack -asmhdr $WORK/math/_obj/go_asm.h ./abs.go ./acosh.go ./asin.go ./asinh.go ./atan.go ./atan2.go ./atanh.go ./bits.go ./cbrt.go ./const.go ./copysign.go ./dim.go ./erf.go ./exp.go ./expm1.go ./floor.go ./frexp.go ./gamma.go ./hypot.go ./j0.go ./j1.go ./jn.go ./ldexp.go ./lgamma.go ./log.go ./log10.go ./log1p.go ./logb.go ./mod.go ./modf.go ./nextafter.go ./pow.go ./pow10.go ./remainder.go ./signbit.go ./sin.go ./sincos.go ./sinh.go ./sqrt.go ./tan.go ./tanh.go ./unsafe.go
?/usr/local/go/pkg/tool/linux_amd64/asm -o $WORK/math/_obj/abs_amd64.o -trimpath $WORK -I $WORK/math/_obj/ -I /usr/local/go/pkg/include -D GOOS_rumprun -D GOARCH_amd64 ./abs_amd64.s
?/usr/local/go/pkg/tool/linux_amd64/asm -o $WORK/math/_obj/asin_amd64.o -trimpath $WORK -I $WORK/math/_obj/ -I /usr/local/go/pkg/include -D GOOS_rumprun -D GOARCH_amd64 ./asin_amd64.s
?/usr/local/go/pkg/tool/linux_amd64/asm -o $WORK/math/_obj/atan2_amd64.o -trimpath $WORK -I $WORK/math/_obj/ -I /usr/local/go/pkg/include -D GOOS_rumprun -D GOARCH_amd64 ./atan2_amd64.s
?/usr/local/go/pkg/tool/linux_amd64/asm -o $WORK/math/_obj/atan_amd64.o -trimpath $WORK -I $WORK/math/_obj/ -I /usr/local/go/pkg/include -D GOOS_rumprun -D GOARCH_amd64 ./atan_amd64.s
?/usr/local/go/pkg/tool/linux_amd64/asm -o $WORK/math/_obj/dim_amd64.o -trimpath $WORK -I $WORK/math/_obj/ -I /usr/local/go/pkg/include -D GOOS_rumprun -D GOARCH_amd64 ./dim_amd64.s
?/usr/local/go/pkg/tool/linux_amd64/asm -o $WORK/math/_obj/exp2_amd64.o -trimpath $WORK -I $WORK/math/_obj/ -I /usr/local/go/pkg/include -D GOOS_rumprun -D GOARCH_amd64 ./exp2_amd64.s
?/usr/local/go/pkg/tool/linux_amd64/asm -o $WORK/math/_obj/exp_amd64.o -trimpath $WORK -I $WORK/math/_obj/ -I /usr/local/go/pkg/include -D GOOS_rumprun -D GOARCH_amd64 ./exp_amd64.s
?/usr/local/go/pkg/tool/linux_amd64/asm -o $WORK/math/_obj/expm1_amd64.o -trimpath $WORK -I $WORK/math/_obj/ -I /usr/local/go/pkg/include -D GOOS_rumprun -D GOARCH_amd64 ./expm1_amd64.s
?/usr/local/go/pkg/tool/linux_amd64/asm -o $WORK/math/_obj/floor_amd64.o -trimpath $WORK -I $WORK/math/_obj/ -I /usr/local/go/pkg/include -D GOOS_rumprun -D GOARCH_amd64 ./floor_amd64.s
?/usr/local/go/pkg/tool/linux_amd64/asm -o $WORK/math/_obj/frexp_amd64.o -trimpath $WORK -I $WORK/math/_obj/ -I /usr/local/go/pkg/include -D GOOS_rumprun -D GOARCH_amd64 ./frexp_amd64.s
?/usr/local/go/pkg/tool/linux_amd64/asm -o $WORK/math/_obj/hypot_amd64.o -trimpath $WORK -I $WORK/math/_obj/ -I /usr/local/go/pkg/include -D GOOS_rumprun -D GOARCH_amd64 ./hypot_amd64.s
?/usr/local/go/pkg/tool/linux_amd64/asm -o $WORK/math/_obj/ldexp_amd64.o -trimpath $WORK -I $WORK/math/_obj/ -I /usr/local/go/pkg/include -D GOOS_rumprun -D GOARCH_amd64 ./ldexp_amd64.s
?/usr/local/go/pkg/tool/linux_amd64/asm -o $WORK/math/_obj/log10_amd64.o -trimpath $WORK -I $WORK/math/_obj/ -I /usr/local/go/pkg/include -D GOOS_rumprun -D GOARCH_amd64 ./log10_amd64.s
?/usr/local/go/pkg/tool/linux_amd64/asm -o $WORK/math/_obj/log1p_amd64.o -trimpath $WORK -I $WORK/math/_obj/ -I /usr/local/go/pkg/include -D GOOS_rumprun -D GOARCH_amd64 ./log1p_amd64.s
?/usr/local/go/pkg/tool/linux_amd64/asm -o $WORK/math/_obj/log_amd64.o -trimpath $WORK -I $WORK/math/_obj/ -I /usr/local/go/pkg/include -D GOOS_rumprun -D GOARCH_amd64 ./log_amd64.s
?/usr/local/go/pkg/tool/linux_amd64/asm -o $WORK/math/_obj/mod_amd64.o -trimpath $WORK -I $WORK/math/_obj/ -I /usr/local/go/pkg/include -D GOOS_rumprun -D GOARCH_amd64 ./mod_amd64.s
?/usr/local/go/pkg/tool/linux_amd64/asm -o $WORK/math/_obj/modf_amd64.o -trimpath $WORK -I $WORK/math/_obj/ -I /usr/local/go/pkg/include -D GOOS_rumprun -D GOARCH_amd64 ./modf_amd64.s
?/usr/local/go/pkg/tool/linux_amd64/asm -o $WORK/math/_obj/remainder_amd64.o -trimpath $WORK -I $WORK/math/_obj/ -I /usr/local/go/pkg/include -D GOOS_rumprun -D GOARCH_amd64 ./remainder_amd64.s
?/usr/local/go/pkg/tool/linux_amd64/asm -o $WORK/math/_obj/sin_amd64.o -trimpath $WORK -I $WORK/math/_obj/ -I /usr/local/go/pkg/include -D GOOS_rumprun -D GOARCH_amd64 ./sin_amd64.s
?/usr/local/go/pkg/tool/linux_amd64/asm -o $WORK/math/_obj/sincos_amd64.o -trimpath $WORK -I $WORK/math/_obj/ -I /usr/local/go/pkg/include -D GOOS_rumprun -D GOARCH_amd64 ./sincos_amd64.s
?/usr/local/go/pkg/tool/linux_amd64/asm -o $WORK/math/_obj/sqrt_amd64.o -trimpath $WORK -I $WORK/math/_obj/ -I /usr/local/go/pkg/include -D GOOS_rumprun -D GOARCH_amd64 ./sqrt_amd64.s
?/usr/local/go/pkg/tool/linux_amd64/asm -o $WORK/math/_obj/tan_amd64.o -trimpath $WORK -I $WORK/math/_obj/ -I /usr/local/go/pkg/include -D GOOS_rumprun -D GOARCH_amd64 ./tan_amd64.s
?pack r $WORK/math.a $WORK/math/_obj/abs_amd64.o $WORK/math/_obj/asin_amd64.o $WORK/math/_obj/atan2_amd64.o $WORK/math/_obj/atan_amd64.o $WORK/math/_obj/dim_amd64.o $WORK/math/_obj/exp2_amd64.o $WORK/math/_obj/exp_amd64.o $WORK/math/_obj/expm1_amd64.o $WORK/math/_obj/floor_amd64.o $WORK/math/_obj/frexp_amd64.o $WORK/math/_obj/hypot_amd64.o $WORK/math/_obj/ldexp_amd64.o $WORK/math/_obj/log10_amd64.o $WORK/math/_obj/log1p_amd64.o $WORK/math/_obj/log_amd64.o $WORK/math/_obj/mod_amd64.o $WORK/math/_obj/modf_amd64.o $WORK/math/_obj/remainder_amd64.o $WORK/math/_obj/sin_amd64.o $WORK/math/_obj/sincos_amd64.o $WORK/math/_obj/sqrt_amd64.o $WORK/math/_obj/tan_amd64.o # internal
strconv
mkdir -p $WORK/strconv/_obj/
cd /usr/local/go/src/strconv
0/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/strconv.a -trimpath $WORK -p strconv -complete -buildid cb1e123400e33c357232450b05a16762ba70acce -D _/usr/local/go/src/strconv -I $WORK -pack ./atob.go ./atof.go ./atoi.go ./decimal.go ./doc.go ./extfloat.go ./ftoa.go ./isprint.go ./itoa.go ./quote.go
crypto
mkdir -p $WORK/crypto/_obj/
cd /usr/local/go/src/crypto
?/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/crypto.a -trimpath $WORK -p crypto -complete -buildid 120c238e84d1e7bb3f6d529793876fc6dfa8b5c7 -D _/usr/local/go/src/crypto -I $WORK -pack ./crypto.go

crypto/sha1
!mkdir -p $WORK/crypto/sha1/_obj/
!cd /usr/local/go/src/crypto/sha1
/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/crypto/sha1.a -trimpath $WORK -p crypto/sha1 -buildid c85f4aeb30d31edbe1fdbd96c92efb6f3abd6336 -D _/usr/local/go/src/crypto/sha1 -I $WORK -pack -asmhdr $WORK/crypto/sha1/_obj/go_asm.h ./sha1.go ./sha1block.go ./sha1block_decl.go
?/usr/local/go/pkg/tool/linux_amd64/asm -o $WORK/crypto/sha1/_obj/sha1block_amd64.o -trimpath $WORK -I $WORK/crypto/sha1/_obj/ -I /usr/local/go/pkg/include -D GOOS_rumprun -D GOARCH_amd64 ./sha1block_amd64.s
Opack r $WORK/crypto/sha1.a $WORK/crypto/sha1/_obj/sha1block_amd64.o # internal
container/list
$mkdir -p $WORK/container/list/_obj/
mkdir -p $WORK/container/
$cd /usr/local/go/src/container/list
?/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/container/list.a -trimpath $WORK -p container/list -complete -buildid 12252dae5ca99fe03c1a4cc2487d83027293fad2 -D _/usr/local/go/src/container/list -I $WORK -pack ./list.go
crypto/cipher
#mkdir -p $WORK/crypto/cipher/_obj/
#cd /usr/local/go/src/crypto/cipher
/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/crypto/cipher.a -trimpath $WORK -p crypto/cipher -complete -buildid f3c18112229e2050cf5067cdd2046b4040be4b5a -D _/usr/local/go/src/crypto/cipher -I $WORK -pack ./cbc.go ./cfb.go ./cipher.go ./ctr.go ./gcm.go ./io.go ./ofb.go ./xor.go

crypto/aes
 mkdir -p $WORK/crypto/aes/_obj/
 cd /usr/local/go/src/crypto/aes
/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/crypto/aes.a -trimpath $WORK -p crypto/aes -buildid 5b20263c372af540c860aab43ce462c3090b8fa5 -D _/usr/local/go/src/crypto/aes -I $WORK -pack -asmhdr $WORK/crypto/aes/_obj/go_asm.h ./block.go ./cipher.go ./cipher_asm.go ./const.go
?/usr/local/go/pkg/tool/linux_amd64/asm -o $WORK/crypto/aes/_obj/asm_amd64.o -trimpath $WORK -I $WORK/crypto/aes/_obj/ -I /usr/local/go/pkg/include -D GOOS_rumprun -D GOARCH_amd64 ./asm_amd64.s
Gpack r $WORK/crypto/aes.a $WORK/crypto/aes/_obj/asm_amd64.o # internal
reflect
mkdir -p $WORK/reflect/_obj/
cd /usr/local/go/src/reflect
/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/reflect.a -trimpath $WORK -p reflect -buildid ba8a65f5c91c5819e0b8be508751a824f9b59317 -D _/usr/local/go/src/reflect -I $WORK -pack -asmhdr $WORK/reflect/_obj/go_asm.h ./deepequal.go ./makefunc.go ./type.go ./value.go
?/usr/local/go/pkg/tool/linux_amd64/asm -o $WORK/reflect/_obj/asm_amd64.o -trimpath $WORK -I $WORK/reflect/_obj/ -I /usr/local/go/pkg/include -D GOOS_rumprun -D GOARCH_amd64 ./asm_amd64.s
Apack r $WORK/reflect.a $WORK/reflect/_obj/asm_amd64.o # internal
encoding/binary
%mkdir -p $WORK/encoding/binary/_obj/
mkdir -p $WORK/encoding/
%cd /usr/local/go/src/encoding/binary
?/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/encoding/binary.a -trimpath $WORK -p encoding/binary -complete -buildid 8725aa335e1671456863dabb127f41b789befd1d -D _/usr/local/go/src/encoding/binary -I $WORK -pack ./binary.go ./varint.go

crypto/des
 mkdir -p $WORK/crypto/des/_obj/
 cd /usr/local/go/src/crypto/des
?/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/crypto/des.a -trimpath $WORK -p crypto/des -complete -buildid 3b1933dcfef3eff6bfb9a04d681b40f6d4663eab -D _/usr/local/go/src/crypto/des -I $WORK -pack ./block.go ./cipher.go ./const.go
syscall
mkdir -p $WORK/syscall/_obj/
cd /usr/local/go/src/syscall
J/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/syscall.a -trimpath $WORK -p syscall -buildid 6a08b6af3d6f330992bbbcada891708d925e426c -D _/usr/local/go/src/syscall -I $WORK -pack -asmhdr $WORK/syscall/_obj/go_asm.h ./bpf_bsd.go ./env_unix.go ./exec_bsd.go ./exec_unix.go ./flock.go ./race0.go ./route_bsd.go ./route_rumprun.go ./sockcmsg_unix.go ./str.go ./syscall.go ./syscall_bsd.go ./syscall_no_getwd.go ./syscall_rumprun.go ./syscall_rumprun_amd64.go ./syscall_unix.go ./zerrors_rumprun_amd64.go ./zsyscall_rumprun_amd64.go ./zsysnum_rumprun_amd64.go ./ztypes_rumprun_amd64.go
?/usr/local/go/pkg/tool/linux_amd64/asm -o $WORK/syscall/_obj/asm.o -trimpath $WORK -I $WORK/syscall/_obj/ -I /usr/local/go/pkg/include -D GOOS_rumprun -D GOARCH_amd64 ./asm.s
?/usr/local/go/pkg/tool/linux_amd64/asm -o $WORK/syscall/_obj/asm_rumprun_amd64.o -trimpath $WORK -I $WORK/syscall/_obj/ -I /usr/local/go/pkg/include -D GOOS_rumprun -D GOARCH_amd64 ./asm_rumprun_amd64.s
bpack r $WORK/syscall.a $WORK/syscall/_obj/asm.o $WORK/syscall/_obj/asm_rumprun_amd64.o # internal
time
mkdir -p $WORK/time/_obj/
cd /usr/local/go/src/time
/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/time.a -trimpath $WORK -p time -buildid 26d4466fbaec52002043fb7f73c6b93aa9912d37 -D _/usr/local/go/src/time -I $WORK -pack ./format.go ./sleep.go ./sys_unix.go ./tick.go ./time.go ./zoneinfo.go ./zoneinfo_read.go ./zoneinfo_unix.go
os
mkdir -p $WORK/os/_obj/
cd /usr/local/go/src/os
?/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/os.a -trimpath $WORK -p os -buildid 19652fb4e83b36c5b7f446576c44c26769386455 -D _/usr/local/go/src/os -I $WORK -pack ./dir_unix.go ./doc.go ./env.go ./error.go ./error_unix.go ./exec.go ./exec_posix.go ./exec_unix.go ./file.go ./file_posix.go ./file_unix.go ./getwd.go ./path.go ./path_unix.go ./pipe_bsd.go ./proc.go ./stat_rumprun.go ./sticky_bsd.go ./str.go ./sys_bsd.go ./sys_unix.go ./types.go ./types_notwin.go
fmt
mkdir -p $WORK/fmt/_obj/
cd /usr/local/go/src/fmt
?/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/fmt.a -trimpath $WORK -p fmt -complete -buildid 93c6ff640b14fd909a12079f618bd872248623ed -D _/usr/local/go/src/fmt -I $WORK -pack ./doc.go ./format.go ./print.go ./scan.go

math/rand
mkdir -p $WORK/math/rand/_obj/
mkdir -p $WORK/math/
cd /usr/local/go/src/math/rand
?/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/math/rand.a -trimpath $WORK -p math/rand -complete -buildid 572f11a364721b555aa93cb546711f92142896b4 -D _/usr/local/go/src/math/rand -I $WORK -pack ./exp.go ./normal.go ./rand.go ./rng.go ./zipf.go
strings
mkdir -p $WORK/strings/_obj/
cd /usr/local/go/src/strings
-/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/strings.a -trimpath $WORK -p strings -buildid 6286c5082a199867c6a98d53a7fec3f5ff02480a -D _/usr/local/go/src/strings -I $WORK -pack -asmhdr $WORK/strings/_obj/go_asm.h ./compare.go ./reader.go ./replace.go ./search.go ./strings.go ./strings_decl.go
?/usr/local/go/pkg/tool/linux_amd64/asm -o $WORK/strings/_obj/strings.o -trimpath $WORK -I $WORK/strings/_obj/ -I /usr/local/go/pkg/include -D GOOS_rumprun -D GOARCH_amd64 ./strings.s
?pack r $WORK/strings.a $WORK/strings/_obj/strings.o # internal
    math/big
mkdir -p $WORK/math/big/_obj/
cd /usr/local/go/src/math/big
?/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/math/big.a -trimpath $WORK -p math/big -buildid 20caf308c74c4bad3126decb50c9e138c2c56244 -D _/usr/local/go/src/math/big -I $WORK -pack -asmhdr $WORK/math/big/_obj/go_asm.h ./accuracy_string.go ./arith.go ./arith_decl.go ./decimal.go ./float.go ./floatconv.go ./ftoa.go ./int.go ./intconv.go ./nat.go ./natconv.go ./rat.go ./ratconv.go ./roundingmode_string.go
?/usr/local/go/pkg/tool/linux_amd64/asm -o $WORK/math/big/_obj/arith_amd64.o -trimpath $WORK -I $WORK/math/big/_obj/ -I /usr/local/go/pkg/include -D GOOS_rumprun -D GOARCH_amd64 ./arith_amd64.s
Epack r $WORK/math/big.a $WORK/math/big/_obj/arith_amd64.o # internal
crypto/elliptic
%mkdir -p $WORK/crypto/elliptic/_obj/
%cd /usr/local/go/src/crypto/elliptic
?/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/crypto/elliptic.a -trimpath $WORK -p crypto/elliptic -complete -buildid cec4a9464868fe80556e0c41237057f169be9743 -D _/usr/local/go/src/crypto/elliptic -I $WORK -pack ./elliptic.go ./p224.go ./p256.go
crypto/sha512
#mkdir -p $WORK/crypto/sha512/_obj/
#cd /usr/local/go/src/crypto/sha512
/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/crypto/sha512.a -trimpath $WORK -p crypto/sha512 -buildid 7d28d3816e7a369d0231228e139d7de6dc51b26a -D _/usr/local/go/src/crypto/sha512 -I $WORK -pack -asmhdr $WORK/crypto/sha512/_obj/go_asm.h ./sha512.go ./sha512block_decl.go
?/usr/local/go/pkg/tool/linux_amd64/asm -o $WORK/crypto/sha512/_obj/sha512block_amd64.o -trimpath $WORK -I $WORK/crypto/sha512/_obj/ -I /usr/local/go/pkg/include -D GOOS_rumprun -D GOARCH_amd64 ./sha512block_amd64.s
Upack r $WORK/crypto/sha512.a $WORK/crypto/sha512/_obj/sha512block_amd64.o # internal
encoding/asn1
#mkdir -p $WORK/encoding/asn1/_obj/
#cd /usr/local/go/src/encoding/asn1
?/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/encoding/asn1.a -trimpath $WORK -p encoding/asn1 -complete -buildid 567e4a90864cfe8440a9a5063bd916e0b16969f0 -D _/usr/local/go/src/encoding/asn1 -I $WORK -pack ./asn1.go ./common.go ./marshal.go
crypto/ecdsa
"mkdir -p $WORK/crypto/ecdsa/_obj/
"cd /usr/local/go/src/crypto/ecdsa
?/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/crypto/ecdsa.a -trimpath $WORK -p crypto/ecdsa -complete -buildid 5ae752c877e742a799697754b75ab5dbe159d162 -D _/usr/local/go/src/crypto/ecdsa -I $WORK -pack ./ecdsa.go

crypto/md5
 mkdir -p $WORK/crypto/md5/_obj/
 cd /usr/local/go/src/crypto/md5
/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/crypto/md5.a -trimpath $WORK -p crypto/md5 -buildid 7ccd292e2bcc39d6e5db944225b0b10135ace3a3 -D _/usr/local/go/src/crypto/md5 -I $WORK -pack -asmhdr $WORK/crypto/md5/_obj/go_asm.h ./md5.go ./md5block.go ./md5block_decl.go
?/usr/local/go/pkg/tool/linux_amd64/asm -o $WORK/crypto/md5/_obj/md5block_amd64.o -trimpath $WORK -I $WORK/crypto/md5/_obj/ -I /usr/local/go/pkg/include -D GOOS_rumprun -D GOARCH_amd64 ./md5block_amd64.s
Lpack r $WORK/crypto/md5.a $WORK/crypto/md5/_obj/md5block_amd64.o # internal

crypto/rand
!mkdir -p $WORK/crypto/rand/_obj/
!cd /usr/local/go/src/crypto/rand
?/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/crypto/rand.a -trimpath $WORK -p crypto/rand -complete -buildid 968c4c4361f0f51d5dd926225587a22ba1819eb9 -D _/usr/local/go/src/crypto/rand -I $WORK -pack ./eagain.go ./rand.go ./rand_unix.go ./util.go

crypto/rc4
 mkdir -p $WORK/crypto/rc4/_obj/
 cd /usr/local/go/src/crypto/rc4
?/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/crypto/rc4.a -trimpath $WORK -p crypto/rc4 -buildid 9bdf0ad7e59ccd36436154dd45b5a0667063b32c -D _/usr/local/go/src/crypto/rc4 -I $WORK -pack -asmhdr $WORK/crypto/rc4/_obj/go_asm.h ./rc4.go ./rc4_asm.go
?/usr/local/go/pkg/tool/linux_amd64/asm -o $WORK/crypto/rc4/_obj/rc4_amd64.o -trimpath $WORK -I $WORK/crypto/rc4/_obj/ -I /usr/local/go/pkg/include -D GOOS_rumprun -D GOARCH_amd64 ./rc4_amd64.s
Gpack r $WORK/crypto/rc4.a $WORK/crypto/rc4/_obj/rc4_amd64.o # internal

crypto/rsa
 mkdir -p $WORK/crypto/rsa/_obj/
 cd /usr/local/go/src/crypto/rsa
?/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/crypto/rsa.a -trimpath $WORK -p crypto/rsa -complete -buildid d0ffc78c232fc747d2e668017f8a7c014a938872 -D _/usr/local/go/src/crypto/rsa -I $WORK -pack ./pkcs1v15.go ./pss.go ./rsa.go
crypto/sha256
#mkdir -p $WORK/crypto/sha256/_obj/
#cd /usr/local/go/src/crypto/sha256
/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/crypto/sha256.a -trimpath $WORK -p crypto/sha256 -buildid 13bfa991767ba82dadf4dfbf1b1c0b93d716527e -D _/usr/local/go/src/crypto/sha256 -I $WORK -pack -asmhdr $WORK/crypto/sha256/_obj/go_asm.h ./sha256.go ./sha256block_decl.go
?/usr/local/go/pkg/tool/linux_amd64/asm -o $WORK/crypto/sha256/_obj/sha256block_amd64.o -trimpath $WORK -I $WORK/crypto/sha256/_obj/ -I /usr/local/go/pkg/include -D GOOS_rumprun -D GOARCH_amd64 ./sha256block_amd64.s
Upack r $WORK/crypto/sha256.a $WORK/crypto/sha256/_obj/sha256block_amd64.o # internal

crypto/dsa
 mkdir -p $WORK/crypto/dsa/_obj/
 cd /usr/local/go/src/crypto/dsa
?/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/crypto/dsa.a -trimpath $WORK -p crypto/dsa -complete -buildid b4e58272decfb9d3104e56b32213943bd1936dc4 -D _/usr/local/go/src/crypto/dsa -I $WORK -pack ./dsa.go
crypto/x509/pkix
&mkdir -p $WORK/crypto/x509/pkix/_obj/
mkdir -p $WORK/crypto/x509/
&cd /usr/local/go/src/crypto/x509/pkix
?/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/crypto/x509/pkix.a -trimpath $WORK -p crypto/x509/pkix -complete -buildid 6c902501ff66c10ab35cc9be863f460b3d7da1f6 -D _/usr/local/go/src/crypto/x509/pkix -I $WORK -pack ./pkix.go
encoding/hex
"mkdir -p $WORK/encoding/hex/_obj/
"cd /usr/local/go/src/encoding/hex
?/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/encoding/hex.a -trimpath $WORK -p encoding/hex -complete -buildid bcb2b5e60b76b2fce60f205920652aad82aa66e9 -D _/usr/local/go/src/encoding/hex -I $WORK -pack ./hex.go
encoding/base64
%mkdir -p $WORK/encoding/base64/_obj/
%cd /usr/local/go/src/encoding/base64
?/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/encoding/base64.a -trimpath $WORK -p encoding/base64 -complete -buildid dd35ae9bf2afb664f0ed3b6285cd79fa4e8c60c1 -D _/usr/local/go/src/encoding/base64 -I $WORK -pack ./base64.go
sort
mkdir -p $WORK/sort/_obj/
cd /usr/local/go/src/sort
?/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/sort.a -trimpath $WORK -p sort -complete -buildid db831b3640f7367ad3f4840ec69df749c25cb9f9 -D _/usr/local/go/src/sort -I $WORK -pack ./search.go ./sort.go
encoding/pem
"mkdir -p $WORK/encoding/pem/_obj/
"cd /usr/local/go/src/encoding/pem
?/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/encoding/pem.a -trimpath $WORK -p encoding/pem -complete -buildid da9a776b3d86ed1fe759213d37b5032c2d0e5dc3 -D _/usr/local/go/src/encoding/pem -I $WORK -pack ./pem.go
path/filepath
#mkdir -p $WORK/path/filepath/_obj/
mkdir -p $WORK/path/
#cd /usr/local/go/src/path/filepath
/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/path/filepath.a -trimpath $WORK -p path/filepath -complete -buildid 4e8b470d7fe015a6d096108fb2a26bb4e83dc4b7 -D _/usr/local/go/src/path/filepath -I $WORK -pack ./match.go ./path.go ./path_unix.go ./symlink.go ./symlink_unix.go

io/ioutil
mkdir -p $WORK/io/ioutil/_obj/
mkdir -p $WORK/io/
cd /usr/local/go/src/io/ioutil
?/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/io/ioutil.a -trimpath $WORK -p io/ioutil -complete -buildid 4dca36975b9ff82d7016126c973c9488c075e4d4 -D _/usr/local/go/src/io/ioutil -I $WORK -pack ./ioutil.go ./tempfile.go
internal/singleflight
+mkdir -p $WORK/internal/singleflight/_obj/
mkdir -p $WORK/internal/
+cd /usr/local/go/src/internal/singleflight
?/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/internal/singleflight.a -trimpath $WORK -p internal/singleflight -complete -buildid d488d773dd05d474780c49b1e5d782a3e76a3193 -D _/usr/local/go/src/internal/singleflight -I $WORK -pack ./singleflight.go

runtime/cgo
!mkdir -p $WORK/runtime/cgo/_obj/
mkdir -p $WORK/runtime/
!cd /usr/local/go/src/runtime/cgo
CGO_LDFLAGS="-g" "-O2" /usr/local/go/pkg/tool/linux_amd64/cgo -objdir $WORK/runtime/cgo/_obj/ -importpath runtime/cgo -import_runtime_cgo=false -import_syscall=false -exportheader=$WORK/runtime/cgo/_obj/_cgo_install.h -- -I $WORK/runtime/cgo/_obj/ -Wall -Werror cgo.go
^x86_64-rumprun-netbsd-gcc -I . -fPIC -m64 -pthread -fmessage-length=0 -print-libgcc-file-name
?x86_64-rumprun-netbsd-gcc -I . -fPIC -m64 -pthread -fmessage-length=0 -I $WORK/runtime/cgo/_obj/ -g -O2 -Wall -Werror -o $WORK/runtime/cgo/_obj/_cgo_main.o -c $WORK/runtime/cgo/_obj/_cgo_main.c
?x86_64-rumprun-netbsd-gcc -I . -fPIC -m64 -pthread -fmessage-length=0 -I $WORK/runtime/cgo/_obj/ -g -O2 -Wall -Werror -o $WORK/runtime/cgo/_obj/_cgo_export.o -c $WORK/runtime/cgo/_obj/_cgo_export.c
?x86_64-rumprun-netbsd-gcc -I . -fPIC -m64 -pthread -fmessage-length=0 -I $WORK/runtime/cgo/_obj/ -g -O2 -Wall -Werror -o $WORK/runtime/cgo/_obj/cgo.cgo2.o -c $WORK/runtime/cgo/_obj/cgo.cgo2.c
?x86_64-rumprun-netbsd-gcc -I . -fPIC -m64 -pthread -fmessage-length=0 -I $WORK/runtime/cgo/_obj/ -g -O2 -Wall -Werror -o $WORK/runtime/cgo/_obj/gcc_libinit.o -c ./gcc_libinit.c
?x86_64-rumprun-netbsd-gcc -I . -fPIC -m64 -pthread -fmessage-length=0 -I $WORK/runtime/cgo/_obj/ -g -O2 -Wall -Werror -o $WORK/runtime/cgo/_obj/gcc_rumprun_amd64.o -c ./gcc_rumprun_amd64.c
?x86_64-rumprun-netbsd-gcc -I . -fPIC -m64 -pthread -fmessage-length=0 -I $WORK/runtime/cgo/_obj/ -g -O2 -Wall -Werror -o $WORK/runtime/cgo/_obj/gcc_setenv.o -c ./gcc_setenv.c
?x86_64-rumprun-netbsd-gcc -I . -fPIC -m64 -pthread -fmessage-length=0 -I $WORK/runtime/cgo/_obj/ -g -O2 -Wall -Werror -o $WORK/runtime/cgo/_obj/gcc_util.o -c ./gcc_util.c
?x86_64-rumprun-netbsd-gcc -I . -fPIC -m64 -pthread -fmessage-length=0 -I $WORK/runtime/cgo/_obj/ -g -O2 -Wall -Werror -o $WORK/runtime/cgo/_obj/gcc_amd64.o -c ./gcc_amd64.S
?x86_64-rumprun-netbsd-gcc -I . -fPIC -m64 -pthread -fmessage-length=0 -o $WORK/runtime/cgo/_obj/_cgo_.o $WORK/runtime/cgo/_obj/_cgo_main.o $WORK/runtime/cgo/_obj/_cgo_export.o $WORK/runtime/cgo/_obj/cgo.cgo2.o $WORK/runtime/cgo/_obj/gcc_libinit.o $WORK/runtime/cgo/_obj/gcc_rumprun_amd64.o $WORK/runtime/cgo/_obj/gcc_setenv.o $WORK/runtime/cgo/_obj/gcc_util.o $WORK/runtime/cgo/_obj/gcc_amd64.o -g -O2
i/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/runtime/cgo.a -trimpath $WORK -p runtime/cgo -buildid ed638401a1319d491d9674428d49fed84671cdcf -D _/usr/local/go/src/runtime/cgo -I $WORK -pack -asmhdr $WORK/runtime/cgo/_obj/go_asm.h ./callbacks.go ./iscgo.go ./rumprun.go ./setenv.go $WORK/runtime/cgo/_obj/_cgo_gotypes.go $WORK/runtime/cgo/_obj/cgo.cgo1.go
?/usr/local/go/pkg/tool/linux_amd64/asm -o $WORK/runtime/cgo/_obj/asm_amd64.o -trimpath $WORK -I $WORK/runtime/cgo/_obj/ -I /usr/local/go/pkg/include -D GOOS_rumprun -D GOARCH_amd64 ./asm_amd64.s
Ipack r $WORK/runtime/cgo.a $WORK/runtime/cgo/_obj/asm_amd64.o $WORK/runtime/cgo/_obj/_cgo_export.o $WORK/runtime/cgo/_obj/cgo.cgo2.o $WORK/runtime/cgo/_obj/gcc_libinit.o $WORK/runtime/cgo/_obj/gcc_rumprun_amd64.o $WORK/runtime/cgo/_obj/gcc_setenv.o $WORK/runtime/cgo/_obj/gcc_util.o $WORK/runtime/cgo/_obj/gcc_amd64.o # internal
net
mkdir -p $WORK/net/_obj/
cd /usr/local/go/src/net
?CGO_LDFLAGS="-g" "-O2" /usr/local/go/pkg/tool/linux_amd64/cgo -objdir $WORK/net/_obj/ -importpath net -exportheader=$WORK/net/_obj/_cgo_install.h -- -I $WORK/net/_obj/ cgo_resnew.go cgo_rumprun.go cgo_sockold.go cgo_unix.go
?x86_64-rumprun-netbsd-gcc -I . -fPIC -m64 -pthread -fmessage-length=0 -I $WORK/net/_obj/ -g -O2 -o $WORK/net/_obj/_cgo_main.o -c $WORK/net/_obj/_cgo_main.c
?x86_64-rumprun-netbsd-gcc -I . -fPIC -m64 -pthread -fmessage-length=0 -I $WORK/net/_obj/ -g -O2 -o $WORK/net/_obj/_cgo_export.o -c $WORK/net/_obj/_cgo_export.c
?x86_64-rumprun-netbsd-gcc -I . -fPIC -m64 -pthread -fmessage-length=0 -I $WORK/net/_obj/ -g -O2 -o $WORK/net/_obj/cgo_resnew.cgo2.o -c $WORK/net/_obj/cgo_resnew.cgo2.c
?x86_64-rumprun-netbsd-gcc -I . -fPIC -m64 -pthread -fmessage-length=0 -I $WORK/net/_obj/ -g -O2 -o $WORK/net/_obj/cgo_rumprun.cgo2.o -c $WORK/net/_obj/cgo_rumprun.cgo2.c
?x86_64-rumprun-netbsd-gcc -I . -fPIC -m64 -pthread -fmessage-length=0 -I $WORK/net/_obj/ -g -O2 -o $WORK/net/_obj/cgo_sockold.cgo2.o -c $WORK/net/_obj/cgo_sockold.cgo2.c
?x86_64-rumprun-netbsd-gcc -I . -fPIC -m64 -pthread -fmessage-length=0 -I $WORK/net/_obj/ -g -O2 -o $WORK/net/_obj/cgo_unix.cgo2.o -c $WORK/net/_obj/cgo_unix.cgo2.c
#x86_64-rumprun-netbsd-gcc -I . -fPIC -m64 -pthread -fmessage-length=0 -o $WORK/net/_obj/_cgo_.o $WORK/net/_obj/_cgo_main.o $WORK/net/_obj/_cgo_export.o $WORK/net/_obj/cgo_resnew.cgo2.o $WORK/net/_obj/cgo_rumprun.cgo2.o $WORK/net/_obj/cgo_sockold.cgo2.o $WORK/net/_obj/cgo_unix.cgo2.o -g -O2
9/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/net.a -trimpath $WORK -p net -buildid 3884e796c4fe2af1f6dce59ccb12e69cc35c2e34 -D _/usr/local/go/src/net -I $WORK -pack ./addrselect.go ./conf.go ./dial.go ./dnsclient.go ./dnsclient_unix.go ./dnsconfig_unix.go ./dnsmsg.go ./fd_mutex.go ./fd_poll_runtime.go ./fd_posix.go ./fd_unix.go ./file.go ./file_unix.go ./hook.go ./hook_unix.go ./hosts.go ./interface.go ./interface_bsd.go ./interface_rumprun.go ./ip.go ./iprawsock.go ./iprawsock_posix.go ./ipsock.go ./ipsock_posix.go ./lookup.go ./lookup_unix.go ./mac.go ./net.go ./nss.go ./parse.go ./pipe.go ./port.go ./port_unix.go ./sendfile_stub.go ./sock_bsd.go ./sock_posix.go ./sockopt_bsd.go ./sockopt_posix.go ./sockoptip_bsd.go ./sockoptip_posix.go ./sys_cloexec.go ./tcpsock.go ./tcpsock_posix.go ./tcpsockopt_posix.go ./tcpsockopt_unix.go ./udpsock.go ./udpsock_posix.go ./unixsock.go ./unixsock_posix.go $WORK/net/_obj/_cgo_gotypes.go $WORK/net/_obj/cgo_resnew.cgo1.go $WORK/net/_obj/cgo_rumprun.cgo1.go $WORK/net/_obj/cgo_sockold.cgo1.go $WORK/net/_obj/cgo_unix.cgo1.go
?pack r $WORK/net.a $WORK/net/_obj/_cgo_export.o $WORK/net/_obj/cgo_resnew.cgo2.o $WORK/net/_obj/cgo_rumprun.cgo2.o $WORK/net/_obj/cgo_sockold.cgo2.o $WORK/net/_obj/cgo_unix.cgo2.o # internal

crypto/x509
!mkdir -p $WORK/crypto/x509/_obj/
!cd /usr/local/go/src/crypto/x509
K/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/crypto/x509.a -trimpath $WORK -p crypto/x509 -complete -buildid d670d9884116d8b3c6b61ae519d0d53290362164 -D _/usr/local/go/src/crypto/x509 -I $WORK -pack ./cert_pool.go ./pem_decrypt.go ./pkcs1.go ./pkcs8.go ./root.go ./root_bsd.go ./root_unix.go ./sec1.go ./verify.go ./x509.go

crypto/tls
 mkdir -p $WORK/crypto/tls/_obj/
 cd /usr/local/go/src/crypto/tls
t/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/crypto/tls.a -trimpath $WORK -p crypto/tls -complete -buildid a7dca5f8e4067b8c23704fdac46367045434bc3b -D _/usr/local/go/src/crypto/tls -I $WORK -pack ./alert.go ./cipher_suites.go ./common.go ./conn.go ./handshake_client.go ./handshake_messages.go ./handshake_server.go ./key_agreement.go ./prf.go ./ticket.go ./tls.go
    encoding
mkdir -p $WORK/encoding/_obj/
cd /usr/local/go/src/encoding
?/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/encoding.a -trimpath $WORK -p encoding -complete -buildid 4be288348e2416996d27a002522d77494d14aed1 -D _/usr/local/go/src/encoding -I $WORK -pack ./encoding.go
unicode/utf16
#mkdir -p $WORK/unicode/utf16/_obj/
#cd /usr/local/go/src/unicode/utf16
?/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/unicode/utf16.a -trimpath $WORK -p unicode/utf16 -complete -buildid 06c9c498576619a10f90fa155afb3f47f088961c -D _/usr/local/go/src/unicode/utf16 -I $WORK -pack ./utf16.go
encoding/json
#mkdir -p $WORK/encoding/json/_obj/
#cd /usr/local/go/src/encoding/json
%/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/encoding/json.a -trimpath $WORK -p encoding/json -complete -buildid 0e15dd10358c92d8086f6df59d26950d848c249e -D _/usr/local/go/src/encoding/json -I $WORK -pack ./decode.go ./encode.go ./fold.go ./indent.go ./scanner.go ./stream.go ./tags.go
regexp/syntax
#mkdir -p $WORK/regexp/syntax/_obj/
mkdir -p $WORK/regexp/
#cd /usr/local/go/src/regexp/syntax
*/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/regexp/syntax.a -trimpath $WORK -p regexp/syntax -complete -buildid d0ea66d6a55d03424b7099d191a0f254b5eca23e -D _/usr/local/go/src/regexp/syntax -I $WORK -pack ./compile.go ./doc.go ./parse.go ./perl_groups.go ./prog.go ./regexp.go ./simplify.go
regexp
mkdir -p $WORK/regexp/_obj/
cd /usr/local/go/src/regexp
?/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/regexp.a -trimpath $WORK -p regexp -complete -buildid b18c3b33147d6e3ed7d1821ca89ec260b7f97517 -D _/usr/local/go/src/regexp -I $WORK -pack ./backtrack.go ./exec.go ./onepass.go ./regexp.go
ithub.com/vaughan0/go-ini
0mkdir -p $WORK/github.com/vaughan0/go-ini/_obj/
$mkdir -p $WORK/github.com/vaughan0/
&cd /go/src/github.com/vaughan0/go-ini
?/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/github.com/vaughan0/go-ini.a -trimpath $WORK -p github.com/vaughan0/go-ini -complete -buildid 6639b61cbe9a6bc7ed17bf27085db08ebeddf0de -D _/go/src/github.com/vaughan0/go-ini -I $WORK -pack ./ini.go
compress/flate
$mkdir -p $WORK/compress/flate/_obj/
mkdir -p $WORK/compress/
$cd /usr/local/go/src/compress/flate
Q/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/compress/flate.a -trimpath $WORK -p compress/flate -complete -buildid 96064a37e80b68a449e599bbfeb6e14db6f3cc56 -D _/usr/local/go/src/compress/flate -I $WORK -pack ./copy.go ./deflate.go ./fixedhuff.go ./huffman_bit_writer.go ./huffman_code.go ./inflate.go ./reverse_bits.go ./token.go

hash/crc32
 mkdir -p $WORK/hash/crc32/_obj/
mkdir -p $WORK/hash/
 cd /usr/local/go/src/hash/crc32
/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/hash/crc32.a -trimpath $WORK -p hash/crc32 -buildid 4957773b0d0c62024bfd892b45dbf2ec04e2fac9 -D _/usr/local/go/src/hash/crc32 -I $WORK -pack -asmhdr $WORK/hash/crc32/_obj/go_asm.h ./crc32.go ./crc32_amd64x.go
?/usr/local/go/pkg/tool/linux_amd64/asm -o $WORK/hash/crc32/_obj/crc32_amd64.o -trimpath $WORK -I $WORK/hash/crc32/_obj/ -I /usr/local/go/pkg/include -D GOOS_rumprun -D GOARCH_amd64 ./crc32_amd64.s
Ipack r $WORK/hash/crc32.a $WORK/hash/crc32/_obj/crc32_amd64.o # internal
compress/gzip
#mkdir -p $WORK/compress/gzip/_obj/
#cd /usr/local/go/src/compress/gzip
?/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/compress/gzip.a -trimpath $WORK -p compress/gzip -complete -buildid 8b8483bef8dac7db746eaf35d44ccf97c31bfd43 -D _/usr/local/go/src/compress/gzip -I $WORK -pack ./gunzip.go ./gzip.go
log
mkdir -p $WORK/log/_obj/
cd /usr/local/go/src/log
?/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/log.a -trimpath $WORK -p log -complete -buildid 500d2fa3f93b3f2d768f6b23c4416aca9bb08f7d -D _/usr/local/go/src/log -I $WORK -pack ./log.go
mime
mkdir -p $WORK/mime/_obj/
cd /usr/local/go/src/mime
?/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/mime.a -trimpath $WORK -p mime -complete -buildid 9b012d87985b83a0f080a1acfe654aa4b2b838e4 -D _/usr/local/go/src/mime -I $WORK -pack ./encodedword.go ./grammar.go ./mediatype.go ./type.go ./type_unix.go
mime/quotedprintable
*mkdir -p $WORK/mime/quotedprintable/_obj/
mkdir -p $WORK/mime/
*cd /usr/local/go/src/mime/quotedprintable
/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/mime/quotedprintable.a -trimpath $WORK -p mime/quotedprintable -complete -buildid 4cb5020a18ba24195853271b0dc91e9e57a6c86a -D _/usr/local/go/src/mime/quotedprintable -I $WORK -pack ./reader.go ./writer.go
net/textproto
#mkdir -p $WORK/net/textproto/_obj/
mkdir -p $WORK/net/
#cd /usr/local/go/src/net/textproto
/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/net/textproto.a -trimpath $WORK -p net/textproto -complete -buildid 98be4da0dd670086eb5ad3817291274cf378ef00 -D _/usr/local/go/src/net/textproto -I $WORK -pack ./header.go ./pipeline.go ./reader.go ./textproto.go ./writer.go
mime/multipart
$mkdir -p $WORK/mime/multipart/_obj/
$cd /usr/local/go/src/mime/multipart
/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/mime/multipart.a -trimpath $WORK -p mime/multipart -complete -buildid 662918a3bfc399b62f83b5ae9fd5727b85db468e -D _/usr/local/go/src/mime/multipart -I $WORK -pack ./formdata.go ./multipart.go ./writer.go
net/http/internal
'mkdir -p $WORK/net/http/internal/_obj/
mkdir -p $WORK/net/http/
'cd /usr/local/go/src/net/http/internal
?/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/net/http/internal.a -trimpath $WORK -p net/http/internal -complete -buildid 6936b0f44c0bf44ac69914dd31f4d187afff8ed1 -D _/usr/local/go/src/net/http/internal -I $WORK -pack ./chunked.go
net/url
mkdir -p $WORK/net/url/_obj/
cd /usr/local/go/src/net/url
?/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/net/url.a -trimpath $WORK -p net/url -complete -buildid bfe63b3e1d944231af10456b841c67d445fd68bb -D _/usr/local/go/src/net/url -I $WORK -pack ./url.go
path
mkdir -p $WORK/path/_obj/
cd /usr/local/go/src/path
?/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/path.a -trimpath $WORK -p path -complete -buildid 125cee6fe7f5f9b26224557ce9caf1ea092caaf4 -D _/usr/local/go/src/path -I $WORK -pack ./match.go ./path.go
    net/http
mkdir -p $WORK/net/http/_obj/
cd /usr/local/go/src/net/http
z/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/net/http.a -trimpath $WORK -p net/http -complete -buildid 784a26fe2e9512d046cc985b89fa59e8be19a259 -D _/usr/local/go/src/net/http -I $WORK -pack ./client.go ./cookie.go ./doc.go ./filetransport.go ./fs.go ./header.go ./jar.go ./lex.go ./request.go ./response.go ./server.go ./sniff.go ./status.go ./transfer.go ./transport.go
github.com/mitchellh/goamz/aws
4mkdir -p $WORK/github.com/mitchellh/goamz/aws/_obj/
+mkdir -p $WORK/github.com/mitchellh/goamz/
*cd /go/src/github.com/mitchellh/goamz/aws
8/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/github.com/mitchellh/goamz/aws.a -trimpath $WORK -p github.com/mitchellh/goamz/aws -complete -buildid 7e26b3019bee5fe34cf02bee59a2c6b9b91e8a72 -D _/go/src/github.com/mitchellh/goamz/aws -I $WORK -I /go/pkg/rumprun_amd64 -pack ./attempt.go ./aws.go ./client.go
ithub.com/klauspost/cpuid
0mkdir -p $WORK/github.com/klauspost/cpuid/_obj/
%mkdir -p $WORK/github.com/klauspost/
&cd /go/src/github.com/klauspost/cpuid
I/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/github.com/klauspost/cpuid.a -trimpath $WORK -p github.com/klauspost/cpuid -buildid 93d66984d58fcf79c05109846530c6931dd05e6f -D _/go/src/github.com/klauspost/cpuid -I $WORK -pack -asmhdr $WORK/github.com/klauspost/cpuid/_obj/go_asm.h ./cpuid.go ./detect_intel.go ./generate.go
?/usr/local/go/pkg/tool/linux_amd64/asm -o $WORK/github.com/klauspost/cpuid/_obj/cpuid_amd64.o -trimpath $WORK -I $WORK/github.com/klauspost/cpuid/_obj/ -I /usr/local/go/pkg/include -D GOOS_rumprun -D GOARCH_amd64 ./cpuid_amd64.s
ipack r $WORK/github.com/klauspost/cpuid.a $WORK/github.com/klauspost/cpuid/_obj/cpuid_amd64.o # internal
$github.com/klauspost/compress/flate
9mkdir -p $WORK/github.com/klauspost/compress/flate/_obj/
.mkdir -p $WORK/github.com/klauspost/compress/
/cd /go/src/github.com/klauspost/compress/flate
?/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/github.com/klauspost/compress/flate.a -trimpath $WORK -p github.com/klauspost/compress/flate -buildid 4e068caff435b97764c9b8ea3e01ef0696a8f91a -D _/go/src/github.com/klauspost/compress/flate -I $WORK -I /go/pkg/rumprun_amd64 -pack -asmhdr $WORK/github.com/klauspost/compress/flate/_obj/go_asm.h ./copy.go ./crc32_amd64.go ./deflate.go ./fixedhuff.go ./huffman_bit_writer.go ./huffman_code.go ./inflate.go ./reverse_bits.go ./snappy.go ./token.go
?/usr/local/go/pkg/tool/linux_amd64/asm -o $WORK/github.com/klauspost/compress/flate/_obj/crc32_amd64.o -trimpath $WORK -I $WORK/github.com/klauspost/compress/flate/_obj/ -I /usr/local/go/pkg/include -D GOOS_rumprun -D GOARCH_amd64 ./crc32_amd64.s
{pack r $WORK/github.com/klauspost/compress/flate.a $WORK/github.com/klauspost/compress/flate/_obj/crc32_amd64.o # internal
ithub.com/klauspost/crc32
0mkdir -p $WORK/github.com/klauspost/crc32/_obj/
&cd /go/src/github.com/klauspost/crc32
:/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/github.com/klauspost/crc32.a -trimpath $WORK -p github.com/klauspost/crc32 -buildid 687086cb4955c557b4696f8a74ed17781cee6b66 -D _/go/src/github.com/klauspost/crc32 -I $WORK -pack -asmhdr $WORK/github.com/klauspost/crc32/_obj/go_asm.h ./crc32.go ./crc32_amd64.go
?/usr/local/go/pkg/tool/linux_amd64/asm -o $WORK/github.com/klauspost/crc32/_obj/crc32_amd64.o -trimpath $WORK -I $WORK/github.com/klauspost/crc32/_obj/ -I /usr/local/go/pkg/include -D GOOS_rumprun -D GOARCH_amd64 ./crc32_amd64.s
ipack r $WORK/github.com/klauspost/crc32.a $WORK/github.com/klauspost/crc32/_obj/crc32_amd64.o # internal
#github.com/klauspost/compress/gzip
8mkdir -p $WORK/github.com/klauspost/compress/gzip/_obj/
.cd /go/src/github.com/klauspost/compress/gzip
8/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/github.com/klauspost/compress/gzip.a -trimpath $WORK -p github.com/klauspost/compress/gzip -complete -buildid 0f9f62311c81b277de4cfd7a4664ad2887081b73 -D _/go/src/github.com/klauspost/compress/gzip -I $WORK -I /go/pkg/rumprun_amd64 -pack ./gunzip.go ./gzip.go
hash/adler32
"mkdir -p $WORK/hash/adler32/_obj/
"cd /usr/local/go/src/hash/adler32
?/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/hash/adler32.a -trimpath $WORK -p hash/adler32 -complete -buildid 4218a12a23bf5ef2a3ecf03df2084fafdbd97359 -D _/usr/local/go/src/hash/adler32 -I $WORK -pack ./adler32.go
#github.com/klauspost/compress/zlib
8mkdir -p $WORK/github.com/klauspost/compress/zlib/_obj/
.cd /go/src/github.com/klauspost/compress/zlib
:/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/github.com/klauspost/compress/zlib.a -trimpath $WORK -p github.com/klauspost/compress/zlib -complete -buildid 87ccc704d05d301cf408d8d0409b18a2a669f1d1 -D _/go/src/github.com/klauspost/compress/zlib -I $WORK -I /go/pkg/rumprun_amd64 -pack ./reader.go ./writer.go
html
mkdir -p $WORK/html/_obj/
cd /usr/local/go/src/html
?/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/html.a -trimpath $WORK -p html -complete -buildid da3b2ebf9001d33e33130ce112be7bb1a47cb7ac -D _/usr/local/go/src/html -I $WORK -pack ./entity.go ./escape.go
runtime/debug
#mkdir -p $WORK/runtime/debug/_obj/
#cd /usr/local/go/src/runtime/debug
/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/runtime/debug.a -trimpath $WORK -p runtime/debug -buildid 31e387fb2708ca844b17a3cfac5f18583fc6bbd0 -D _/usr/local/go/src/runtime/debug -I $WORK -pack -asmhdr $WORK/runtime/debug/_obj/go_asm.h ./garbage.go ./stack.go ./stubs.go
?/usr/local/go/pkg/tool/linux_amd64/asm -o $WORK/runtime/debug/_obj/debug.o -trimpath $WORK -I $WORK/runtime/debug/_obj/ -I /usr/local/go/pkg/include -D GOOS_rumprun -D GOARCH_amd64 ./debug.s
?/usr/local/go/pkg/tool/linux_amd64/asm -o $WORK/runtime/debug/_obj/stubs.o -trimpath $WORK -I $WORK/runtime/debug/_obj/ -I /usr/local/go/pkg/include -D GOOS_rumprun -D GOARCH_amd64 ./stubs.s
jpack r $WORK/runtime/debug.a $WORK/runtime/debug/_obj/debug.o $WORK/runtime/debug/_obj/stubs.o # internal
github.com/valyala/fasthttp
1mkdir -p $WORK/github.com/valyala/fasthttp/_obj/
#mkdir -p $WORK/github.com/valyala/
'cd /go/src/github.com/valyala/fasthttp
/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/github.com/valyala/fasthttp.a -trimpath $WORK -p github.com/valyala/fasthttp -complete -buildid d70334e733a06fd3e180eedf7739e7b6ac44b3b3 -D _/go/src/github.com/valyala/fasthttp -I $WORK -I /go/pkg/rumprun_amd64 -pack ./args.go ./bytebuffer.go ./bytesconv.go ./bytesconv_64.go ./client.go ./compress.go ./cookie.go ./doc.go ./fs.go ./header.go ./http.go ./peripconn.go ./server.go ./status.go ./stream.go ./strings.go ./tcpdialer.go ./timer.go ./uri.go ./userdata.go ./workerpool.go
&github.com/valyala/fasthttp/reuseport
;mkdir -p $WORK/github.com/valyala/fasthttp/reuseport/_obj/
,mkdir -p $WORK/github.com/valyala/fasthttp/
~go build github.com/valyala/fasthttp/reuseport: no buildable Go source files in /go/src/github.com/valyala/fasthttp/reuseport
gopkg.in/bsm/ratelimit.v1
/mkdir -p $WORK/gopkg.in/bsm/ratelimit.v1/_obj/
mkdir -p $WORK/gopkg.in/bsm/
%cd /go/src/gopkg.in/bsm/ratelimit.v1
?/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/gopkg.in/bsm/ratelimit.v1.a -trimpath $WORK -p gopkg.in/bsm/ratelimit.v1 -complete -buildid 7374dfc9e2171be9515e0f878bdeefd50f842371 -D _/go/src/gopkg.in/bsm/ratelimit.v1 -I $WORK -pack ./ratelimit.go
*gopkg.in/redis.v3/internal/consistenthash
?mkdir -p $WORK/gopkg.in/redis.v3/internal/consistenthash/_obj/
+mkdir -p $WORK/gopkg.in/redis.v3/internal/
5cd /go/src/gopkg.in/redis.v3/internal/consistenthash
2/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/gopkg.in/redis.v3/internal/consistenthash.a -trimpath $WORK -p gopkg.in/redis.v3/internal/consistenthash -complete -buildid 6e1de6a1212a850f946645020e9635f1ef4b3991 -D _/go/src/gopkg.in/redis.v3/internal/consistenthash -I $WORK -pack ./consistenthash.go
#gopkg.in/redis.v3/internal/hashtag
8mkdir -p $WORK/gopkg.in/redis.v3/internal/hashtag/_obj/
.cd /go/src/gopkg.in/redis.v3/internal/hashtag
/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/gopkg.in/redis.v3/internal/hashtag.a -trimpath $WORK -p gopkg.in/redis.v3/internal/hashtag -complete -buildid b0fe937b4ca8ade120867f6b313c15bdc3fdd81e -D _/go/src/gopkg.in/redis.v3/internal/hashtag -I $WORK -pack ./hashtag.go
gopkg.in/redis.v3
'mkdir -p $WORK/gopkg.in/redis.v3/_obj/
mkdir -p $WORK/gopkg.in/
cd /go/src/gopkg.in/redis.v3
?/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/gopkg.in/redis.v3.a -trimpath $WORK -p gopkg.in/redis.v3 -complete -buildid bbfbbd82f79428cd0fc4d7f394581442abbf5621 -D _/go/src/gopkg.in/redis.v3 -I $WORK -I /go/pkg/rumprun_amd64 -pack ./cluster.go ./cluster_pipeline.go ./command.go ./commands.go ./conn.go ./doc.go ./error.go ./multi.go ./parser.go ./pipeline.go ./pool.go ./pubsub.go ./redis.go ./ring.go ./script.go ./sentinel.go ./unsafe.go

ERRO[0118] error handling request                        error=[daemon/daemon.go:254] failed to compile raw image: {[rump/generic.go:116] Returned non zero status}

So, it looks like the issue comes from the redis module. But how can I troubleshoot that ?

Lacking documentation on UDP broadcasting

So I'm trying to implement NodeJS compiler for OSv. Managed to come pretty far, but I'm stuck with UDP broadcast error appearing during unik build and unik run:

failed to retrieve ip for instance ... instance may be running but has not responded to udp broadcast

I could not find any documentation about what and when does instance need to UDP broadcast.

Compiling new instance listener fails

unik daemon --debug
INFO[0000] daemon started                                config={Providers:{Aws:[] Vsphere:[{Name:vsphere VsphereUser:root VspherePassword:****** VsphereURL:https://10.64.231.190 Datastore:DATA21}] Virtualbox:[]} Version:0.0.0}
INFO[0000] Bootstrapping provider vsphere with config {vsphere root ****** https://10.64.231.190 DATA21} 
DEBU[0000] running command                               command=[docker run --rm projectunik/vsphere-client govc datastore.mkdir -ds DATA21 -k -u https://root:******@10.64.231.190/sdk unik]
DEBU[0002] running command                               command=[docker run --rm projectunik/vsphere-client govc datastore.mkdir -ds DATA21 -k -u https://root:******@10.64.231.190/sdk unik/vsphere]
DEBU[0005] running command                               command=[docker run --rm projectunik/vsphere-client govc datastore.mkdir -ds DATA21 -k -u https://root:******@10.64.231.190/sdk unik/vsphere/images]
DEBU[0008] running command                               command=[docker run --rm projectunik/vsphere-client govc datastore.mkdir -ds DATA21 -k -u https://root:******@10.64.231.190/sdk unik/vsphere/volumes]
INFO[0010] checking if instance listener is alive...    
INFO[0010] listening for udp heartbeat...               
INFO[0010] UDP Server listening on 0.0.0.0:9876         
INFO[0020] cannot contact instance listener... cleaning up previous if it exists.. 
DEBU[0020] running command                               command=[docker run --rm projectunik/vsphere-client govc vm.power --off=true -k -u https://root:******@10.64.231.190/sdk VsphereUnikInstanceListener]
DEBU[0022] govc: vm 'VsphereUnikInstanceListener' not found 
DEBU[0024] running command                               command=[docker run --rm projectunik/vsphere-client govc vm.destroy -k -u https://root:******@10.64.231.190/sdk VsphereUnikInstanceListener]
DEBU[0025] govc: vm 'VsphereUnikInstanceListener' not found 
INFO[0026] compiling new instance listener              
INFO[0027] Created container                             binds=[/tmp/510914362:/opt/code] cmd=[] id=5f44f9499c9ac55f64fc785e9a87537c0a8885a8278fb44fd0c18b1a70853c40
DEBU[0054] finished kernel binary at /tmp/510914362/program.bin 
DEBU[0054] running command                               command=[docker run --rm --privileged -v /tmp/447900497:/opt/vol/ -v /dev/:/dev/ projectunik/boot-creator -d /opt/vol/ -p program.bin -a {"cmdline":"program.bin -prefix unik_vsphere","net":{"if":"wm0","type":"inet","method":"dhcp"},"blk": {"source":"dev","path":"/dev/sd1a","fstype":"blk","mountpoint":"/data"}}]
DEBU[0055] time="2016-05-16T19:35:11Z" level=debug msg="calling CreateBootImageWithSize" args="{\"cmdline\":\"program.bin -prefix unik_vsphere\",\"net\":{\"if\":\"wm0\",\"type\":\"inet\",\"method\":\"dhcp\"},\"blk\": {\"source\":\"dev\",\"path\":\"/dev/sd1a\",\"fstype\":\"blk\",\"mountpoint\":\"/data\"}}" imgFile="/opt/vol/vol.img" kernelFile="/opt/vol/program.bin"  
DEBU[0055] time="2016-05-16T19:35:11Z" level=debug msg="created sparse file" imgFile="/opt/vol/vol.img"  
DEBU[0055] time="2016-05-16T19:35:11Z" level=debug msg="attaching sparse file" imgFile="/opt/vol/vol.img"  
DEBU[0055] time="2016-05-16T19:35:11Z" level=debug msg="running losetup -f" cmd=losetup device="/opt/vol/vol.img"  
DEBU[0055] time="2016-05-16T19:35:11Z" level=debug msg="losetup -f failed" cmd=losetup device="/opt/vol/vol.img" out="losetup: could not find any free loop device\n"  
DEBU[0055] time="2016-05-16T19:35:11Z" level=fatal msg="exit status 255"  
ERRO[0057] running daemon failed: [cmd/daemon.go:74] daemon failed to initialize: {[daemon/daemon.go:65] initializing vsphere provider: {[vsphere/vsphere_provider.go:46] deploing virtualbox instance listener: {[vsphere/deploy_instance_listener.go:36] compiling instance listener source to unikernel: {[rump/rump.go:35] creating boot volume from kernel binary: {[rump/generic.go:138] running container projectunik/boot-creator: {exit status 1}}}}}} 

Running uniK build on OS X fails with 'unik target --host HOST_URL'

I'm attempting to bring up uniK on OS X. Docker version Docker version 1.10.3, build d12ea79c9de6d144ce6bc7ccfe41c507cca6fd35 from macports.

Starting the daemon the first time produces:

 ./_build/unik daemon
INFO[0000] daemon started                                config={Providers:{Aws:[] Vsphere:[] Virtualbox:[{Name:my-vbox AdapterName:vboxnet0 VirtualboxAdapterType:host_only}]} Version:}
INFO[0000] Bootstrapping provider virtualbox with config {my-vbox vboxnet0 host_only}
INFO[0000] checking if instance listener is alive...
INFO[0000] listening for udp heartbeat...
INFO[0000] UDP Server listening on 0.0.0.0:9876
INFO[0010] cannot contact instance listener... cleaning up previous if it exists..
INFO[0010] compiling new instance listener
INFO[0043] staging new instance listener image
INFO[0043] creating boot volume from raw image           raw-image=&{LocalImagePath:/Users/josephwinston/.unik/935062965 StageSpec:{ImageFormat:raw XenVirtualizationType:} RunSpec:{DeviceMappings:[{MountPoint:/ DeviceName:sd0} {MountPoint:/data DeviceName:sd1a}] DefaultInstanceMemory:512 StorageDriver:SCSI VsphereNetworkType:}}
INFO[0050] creating base vmdk for unikernel image        id=VboxUnikInstanceListener name=VboxUnikInstanceListener size=30
INFO[0050] image created succesfully                     image={VboxUnikInstanceListener VboxUnikInstanceListener 30 VIRTUALBOX 2016-05-27 18:45:19.822318415 -0500 CDT {raw } {[{/ sd0} {/data sd1a}] 512 SCSI }}
INFO[0050] running instance of instance listener         image-id=VboxUnikInstanceListener
INFO[0052] creating volume from raw image                raw-image=/Users/josephwinston/.unik/838063535
INFO[0054] listening for udp heartbeat...
INFO[0054] UDP Server listening on 0.0.0.0:9876
WARN[0084] error encountered, ensuring vm and disks are destroyed  error=[virtualbox/deploy_instance_listener.go:142] failed to retrieve instance listener ip. is unik instance listener running?: {[common/get_instance_listener_ip.go:18] getting instance listener ip timed out after 30s}
ERRO[0084] running daemon failed: [cmd/daemon.go:75] daemon failed to initialize: {[daemon/daemon.go:80] initializing virtualbox provider: {[virtualbox/virtualbox_provider.go:36] deploing virtualbox instance listener: {[virtualbox/deploy_instance_listener.go:57] launching instance of instance listener: {[virtualbox/deploy_instance_listener.go:142] failed to retrieve instance listener ip. is unik instance listener running?: {[common/get_instance_listener_ip.go:18] getting instance listener ip timed out after 30s}}}}}

Maybe the timeout needs increasing since running again with or without the --debug causes the daemon to run without exiting with an error.

However, attempting to build a client fails with

unik build --name myImage --path ./ --compiler rump-go-virtualbox --provider virtualbox
ERRO[0000] failed to read client configuration file at /Users/josephwinston/.unik/client-config.yaml\n
Try setting your config with 'unik target --host HOST_URL'  error=open /Users/josephwinston/.unik/client-config.yaml: no such file or directory
ERRO[0000] build failed: open /Users/josephwinston/.unik/client-config.yaml: no such file or directory

Benchmarks?

Benchmarks comparing a standard app deployment vs a unik enabled app deployment may be compelling, specifically with regards to memory utilization.

Nothing actionable here, just an idea for the future as this (rather awesome) project matures.

Permission Denied when starting Daemon

Environment Centos 7:
Logs.txt attached

Problem Description:
The following error when running unik daemon --debug --trace --logfile logs.txt
**

running command command=[docker run --rm -e ROOT_PATH=github.com/emc-advanced-dev/unik/instance-listener -v /tmp/vbox.instancelistener.016186420:/opt/code --name=ff0941ad-7761-4ca8-8855-c2aa0e372820 projectunik/compilers-rump-go-hw-no-stub:0.1]
**
DEBU[0002] util.LogCommand.func2[util/log.go:95]

  • cp /tmp/build/gomaincaller.go /tmp/build/mainstub.c .
    DEBU[0002] util.LogCommand.func2[util/log.go:95]
    cp: cannot create regular file './gomaincaller.go': Permission denied
    DEBU[0002] util.LogCommand.func2[util/log.go:95]
    cp: cannot create regular file './mainstub.c': Permission denied
    DEBU[0018] util.LogCommand.func2[util/log.go:95]
    Error response from daemon: Cannot start container 0096d1dcd42ad362e862dfa7f4f0574e17f4be03ae18f13a21a0b47deefb6704: [8] System error: read parent: connection reset by peer
    ERRO[0018] main.main[unik/unik.go:9]
    cobra.(_Command).Execute[cobra/command.go:618]
    cobra.(_Command).ExecuteC[cobra/command.go:662]
    cobra.(*Command).execute[cobra/command.go:572]
    cmd.glob.func5[cmd/daemon.go:91]
    running daemon failed: [cmd/daemon.go:86] daemon failed to initialize: {[daemon/daemon.go:90] initializing virtualbox provider: {[virtualbox/virtualbox_provider.go:45] deploing virtualbox instance listener: {[virtualbox/deploy_instance_listener.go:38] compiling instance listener source to unikernel: {exit status 1}}}}
    logs.txt

unik build "compile: signal: killed"

I'm still getting a signal killed message during the build process of a fairly complex go code base (as mentioned in #27).

Is there anyway to debug the problem further. I've checked for obvious things:

  • no longer importing runtime packages
  • no _linux (etc) source files
  • no os specific build flags

cannot start unik daemon

$ unik daemon
INFO[0000] daemon started                                config={Providers:{Aws:[] Vsphere:[] Virtualbox:[{Name:my-vbox AdapterName:vboxnet0 VirtualboxAdapterType:host_only}]} Version:}
INFO[0000] Bootstrapping provider virtualbox with config {my-vbox vboxnet0 host_only} 
INFO[0000] checking if instance listener is alive...    
INFO[0000] listening for udp heartbeat...               
INFO[0000] UDP Server listening on 0.0.0.0:9876         
INFO[0010] cannot contact instance listener... cleaning up previous if it exists.. 
INFO[0010] compiling new instance listener              
INFO[0027] staging new instance listener image          
INFO[0027] creating boot volume from raw image           raw-image=&{LocalImagePath:/tmp/321211110 StageSpec:{ImageFormat:raw XenVirtualizationType:} RunSpec:{DeviceMappings:[{MountPoint:/ DeviceName:sd0} {MountPoint:/data DeviceName:sd1a}] DefaultInstanceMemory:512 StorageDriver:SCSI VsphereNetworkType:}}
INFO[0028] creating base vmdk for unikernel image        id=VboxUnikInstanceListener name=VboxUnikInstanceListener size=30
INFO[0028] image created succesfully                     image={VboxUnikInstanceListener VboxUnikInstanceListener 30 VIRTUALBOX 2016-05-27 14:03:10.961261137 +0000 UTC {raw } {[{/ sd0} {/data sd1a}] 512 SCSI }}
INFO[0028] running instance of instance listener         image-id=VboxUnikInstanceListener
ERRO[0029] running daemon failed: [cmd/daemon.go:75] daemon failed to initialize: {[daemon/daemon.go:80] initializing virtualbox provider: {[virtualbox/virtualbox_provider.go:36] deploing virtualbox instance listener: {[virtualbox/deploy_instance_listener.go:57] launching instance of instance listener: {[virtualbox/deploy_instance_listener.go:69] failed creating raw data volume: {rename /tmp/vol.img /tmp/682554120: operation not permitted}}}}} 
$ more ~/.unik/daemon-config.yaml
providers:
  virtualbox:
    - name: my-vbox
      adapter_type: host_only
      adapter_name: vboxnet0

Any suggestions on how to fix this problem?

Do not exit if instance listener fails to boot

This is a change to the design of UniK to not require the instance listener to be running. Unik should attempt to launch instance listener, and if it cannot run, give a warning to the User that ENV variables and getting instance ips will be disabled (but unik will otherwise will run normally)

Page not found

Hi, i've started the Daemon, all good, it says listening on port 3000 but when i try to do a build i get a 404 not found message. This is the demo http server application.

$ unik build --name myImage --path ./ --compiler rump-go-virtualbox --host 10.0.2.5:3000 --provider virtualboxclear

INFO[0000] running unik build args= compiler=rump-go-virtualbox force=false host=10.0.2.5:3000 mountPoints=[] name=myImage path=./ provider=virtualboxclear
INFO[0000] App packaged as tarball: /tmp/sources.tar.gz.326852486

ERRO[0000] build failed: [cmd/build.go:94] building image failed: {[client/images.go:54] failed with status 404: 404 page not found

`unik run` help suggest bogus `--memory` option

The example usage command from unik run --help is:

unik run --instanceName newInstance --imageName myImage --vol myVol:/mount1 --vol yourVol:/mount2 --env foo=bar --env another=one --memory 1234

However...

$ unik run --imageName go-httpd-aws --instanceName go-httpd-aws-1 --memory 1234
...
FATA[0000] unik failed                                   error=unknown flag: --memory

Running NodeJS fails if importing bcrypt

Tried to compile and run NodeJS server with 226 dependencies in node_modules, all being installed with npm:

unik build --name myImage --path ./ --compiler rump-nodejs-virtualbox --provider virtualbox
unik run --instanceName myInstance --imageName myImage --instanceMemory 1024

Both commands finish fine, also when I run unik instances I can se myInstance running.

However, visiting instance's IP I always get This site can't be reached response on both application port 8000 and logs port 9876. I managed to narrow down the problem to the following line:

var bcrypt = require('bcrypt');

Any idea about why 225 dependencies work fine, but bcrypt breaks everything?
I've double checked that
1 node server.js works locally
2 node version is 4.3.0 in my local environment and in rump

Fix long description of commands under cmd/

The indentation inside the long description of commands and subcommands under cmd/ causes malformed output to console:

$ unik
Unik is a tool for compiling application source code
    into bootable disk images. Unik also runs and manages unikernel
    instances across infrastructures.

    Create a client configuration file with 'unik target'

    You may set a custom client configuration file w
    ith the global flag --client-config=<path>

Usage: ...

There cannot be a \t in the source code.

testing suite

along with some kind of CI pipeline (travis, concourse)

daemon --logfile fails if file DNE

$ unik daemon —debug=true --logfile=ukd.log
ERRO[0000] running daemon failed: [cmd/daemon.go:57] failed to open log file ukd.log for writing: {open ukd.log: no such file or directory}

Running touch ukd.log and re-running the above works. Seems like it would be more friendly if unik simply created the file if needed.

If this behavior is desired, fixing it might make a good entry-level project, so I can take a stab at it and submit a PR as time allows.

make install failed with the following error in Ubuntu 14.04 and go1.6.2 linux/amd64

09f25a7c0a80: Already exists 
8744e409c7c6: Already exists 
38c2b4340567: Already exists 
Digest: sha256:55414520cb2761f4d1eccb9ad9fa3d119e64a97e39d63da5d3a5f3a7c64cd244
Status: Downloaded newer image for projectunik/compilers-rump-base-common:latest
GO15VENDOREXPERIMENT=1 go install
unik.go:4:2: cannot find package "github.com/Sirupsen/logrus" in any of:
    /usr/lib/go/src/github.com/Sirupsen/logrus (from $GOROOT)
    /home/joepython/code/golang/src/github.com/Sirupsen/logrus (from $GOPATH)
unik.go:5:2: cannot find package "github.com/emc-advanced-dev/unik/cmd" in any of:
    /usr/lib/go/src/github.com/emc-advanced-dev/unik/cmd (from $GOROOT)
    /home/joepython/code/golang/src/github.com/emc-advanced-dev/unik/cmd (from $GOPATH)
make: *** [install] Error 1

$ docker images |grep ^proj
projectunik/vsphere-client               latest              de0a39ecd7e8        10 hours ago        1.005 GB
projectunik/compilers-osv-java           latest              5d7bedccc067        10 hours ago        1.281 GB
projectunik/image-creator                latest              814a509c133a        13 hours ago        248.3 MB
projectunik/boot-creator                 latest              a06aa083628c        13 hours ago        249 MB
projectunik/compilers-rump-go-xen        latest              2daf73fb56d0        13 hours ago        2.066 GB
projectunik/compilers-rump-go-hw         latest              d0e6eeee5f1c        13 hours ago        2.372 GB
projectunik/compilers-rump-base-xen      latest              f2820da4b61c        4 days ago          1.451 GB
projectunik/compilers-rump-base-hw       latest              d9f87b121edc        4 days ago          1.757 GB
projectunik/compilers-rump-base-common   latest              3e7fab8770df        4 days ago          732.3 MB

$ go version
go version go1.6.2 linux/amd64

Can't use a vsphere provider

I've configured the daemon-config.yaml:

providers:
  vsphere:
    - name: vsphere
      vsphere_user: root
      vsphere_password: xxxxx
      vsphere_url: https://10.64.231.190/sdk
      datastore: DATA11
      default_instance_memory: 512
version: 0.0.0

Then, here is the error I get when trying to launch the daemon:

INFO[0000] daemon started                                config={Providers:{Aws:[] Vsphere:[{Name:vsphere VsphereUser:root VspherePassword:xxxxx VsphereURL:https://10.64.231.190/sdk Datastore:DATA11}] Virtualbox:[]} Version:0.0.0}
INFO[0000] Bootstrapping provider vsphere with config {vsphere root xxxxx https://10.64.231.190/sdk DATA11} 
WARN[0032] failed running govc datastore.mkdir unik      error=exit status 1
WARN[0065] failed running govc datastore.mkdir unik/vsphere  error=exit status 1
WARN[0097] failed running govc datastore.mkdir unik/vsphere/images  error=exit status 1
WARN[0129] failed running govc datastore.mkdir unik/vsphere/volumes  error=exit status 1
INFO[0129] checking if instance listener base vmdk already exists on vsphere datastore 
ERRO[0194] running daemon failed: [cmd/daemon.go:63] daemon failed to initialize: {[daemon/daemon.go:64] initializing vsphere provider: {[vsphere/vsphere_provider.go:45] deploing virtualbox instance listener: {[vsphere/deploy_instance_listener.go:33] lsing on folder 'unik': {[vsphereclient/client.go:279] failed running govc datastore.ls unik: {exit status 1}}}}} 

This is the URL of my vCenter. I've also tried with https://10.64.231.190:4443/sdk or with the ESXi host, but I always of this error.

Debugger for Unikernel feature

Qemu: has a gdb stub debugger which is a source level debugger. It also enables freezing the CPU.
Vmware Fusion: has gdb stub support, it is not freezing the cpu but we use a work around: we add an infinite loop to the beginning of the code, and the debugger releases it after it is attached.
Virtual Box: have their own debugger. It supports symbols.
Raspberry Pi: has a jtag interface that can be enabled. using a program like OCD, we can use gdb to do source level debugging.

We will bake it in to UniK and support a debugger based on the provider.

How to set GOPATH correctly

I've correctly defined the GOPATH env variable and $GOPATH/bin is in the PATH, but I get the following error:

$ unik build --name ecspicsImage --path ./ --compiler rump-go-virtualbox --provider virtual box

INFO[0000] running unik build args=[] compiler=rump-go-virtualbox force=false host=localhost:3000 mountPoints=[] name=ecspicsImage path=./ provider=virtualbox
INFO[0001] App packaged as tarball: /Users/denisjannot/.unik/328098395

ERRO[0018] build failed: [cmd/build.go:95] building image failed: {[client/images.go:54] failed with status 500: [daemon/daemon.go:254] failed to compile raw image: {[rump/generic.go:116] Returned non zero status}}

And on the daemon side:

INFO[0352] Created container binds=[/Users/denisjannot/.unik/160396933:/opt/code] cmd=[] id=6ec8ef34dda379339dd16cf3e05ed54cd44e9a71952a796a4f1c102b3df15910
ERRO[0365] Container exit status non zero status=1
ERRO[0365] 8+ cp /tmp/build/gomaincaller.go /tmp/build/mainstub.c .

  • [ -d Godeps ]
    '+ GO15VENDOREXPERIMENT=1 godep restore
    Tgodep: [WARNING]: godep should only be used inside a valid go package directory and
    Xgodep: [WARNING]: may not function correctly. You are probably outside of your $GOPATH.
    /godep: [WARNING]: Current Directory: /opt/code
    godep: [WARNING]: $GOPATH: /go
    ?godep: WARNING: Go version (go1.5) & $GO15VENDOREXPERIMENT=1 wants to enable the vendor experiment, but disabling because a Godep workspace (Godeps/_workspace) exists
    ?+ CC=x86_64-rumprun-netbsd-gcc CGO_ENABLED=1 GOOS=rumprun /usr/local/go/bin/go build -buildmode=c-archive -v -a -x ecspics.go gomaincaller.go s3.go
    WORK=/tmp/go-build677402343
    Qecspics.go:17:3: cannot find package "github.com/codegangsta/negroni" in any of:
    A /usr/local/go/src/github.com/codegangsta/negroni (from $GOROOT)
    7 /go/src/github.com/codegangsta/negroni (from $GOPATH)
    Iecspics.go:18:3: cannot find package "github.com/gorilla/mux" in any of:
    9 /usr/local/go/src/github.com/gorilla/mux (from $GOROOT)
    / /go/src/github.com/gorilla/mux (from $GOPATH)
    Necspics.go:19:3: cannot find package "github.com/gorilla/sessions" in any of:

    /usr/local/go/src/github.com/gorilla/sessions (from $GOROOT)
    4 /go/src/github.com/gorilla/sessions (from $GOPATH)
    Mecspics.go:20:3: cannot find package "github.com/unrolled/render" in any of:
    = /usr/local/go/src/github.com/unrolled/render (from $GOROOT)
    3 /go/src/github.com/unrolled/render (from $GOPATH)

ERRO[0365] error handling request error=[daemon/daemon.go:254] failed to compile raw image: {[rump/generic.go:116] Returned non zero status}

Do I need to set the GOPATH inside the Unik Instance Listener VM ?

dmsetup failed

Environment: Mac OS X El Capitan v 10.11.4

This is the second time that I'm installing unik.
The first time I could get it running.
The one difference that I know is that I'm using Docker for Mac right now.
When I'm trying to run the unik daemon, I'm getting the error that dmsetup failed.

The logs are attached in the following file.
logs.txt

Thank you for looking into this.

Running unikernels in Docker

Hello,

Is it possible to deploy and run a unikernel in Docker? If not, is this something that can be added to the roadmap? We heavily leverage docker and the ability to create and deploy a minimal image is very appealing. If we can build images on our dev systems using unik and deploy them on our other systems, that would be quite appealing.

binary is saved in root

when making the binary the unik binary is saved in /_build instead of <current folder>/_build

mkdir -p ./_build
docker run --rm -v /_build:/opt/build -e TARGET_OS=linux -e CONTAINERVER=0.1 projectunik/binary
Usage of loopback devices is strongly discouraged for production use. Either use `--storage-opt dm.thinpooldev` or use `--storage-opt dm.no_warn_on_loop_devices=true` to suppress this warning.
GOOS=linux go build -ldflags "-X github.com/emc-advanced-dev/unik/pkg/util.containerVer=0.1" .
#docker rmi -f projectunik/binary
echo "Install finished! UniK binary can be found at /_build/unik"
Install finished! UniK binary can be found at /_build/unik

C# Support

First of all thanks for this great tool
Second: is there any possibility to add C# to the list ?

thanks

VirtualBox remote desktop extension support

adding an option to enable the remote desktop extension would allow to have a look at the Virtualbox instance console, even without having a graphical desktop.
Enabling VRDE can be done with following command, if the VM is powered off:

sudo VBoxManage modifyvm "VboxUnikInstanceListener" --vrde on

image

WARN[0000] failed to read virtualbox state file

Trying to build the example go rumprun unikernel (as described here https://github.com/emc-advanced-dev/unik/blob/master/docs/getting_started.md). I am running this on a mac using docker for mac beta (is this even supported?).

When I run the unik daemon I get the following output:

$> unik daemon
INFO[0000] daemon started                                config={Providers:{Aws:[] Vsphere:[] Virtualbox [{Name:vsphere-1 AdapterName:vboxnet0 VirtualboxAdapterType:host_only}]} Version:}
INFO[0000] Bootstrapping provider virtualbox with config {vsphere-1 vboxnet0 host_only} 
WARN[0000] failed to read virtualbox state file at /Users/matt/.unik/virtualbox/state.json, creating blank virtualbox state  error=[state/base_state.go:36] error reading save file /Users/matt/.unik/virtualbox/state.json: {open /Users/matt/.unik/virtualbox/state.json: no such file or directory}
[martini] listening on :3000 (development)

When I run the unik build command I get the following output:

$> unik build --name goImage --path ./ --compiler rump-go-virtualbox --provider virtualbox
INFO[0000] running unik build                            args=[] compiler=rump-go-virtualbox force=false host=localhost:3000 mountPoints=[] name=goImage path=./ provider=virtualbox
INFO[0010] App packaged as tarball: /Users/matt/.unik/159192136

ERRO[0044] build failed: [cmd/build.go:95] building image failed: {[client/images.go:54] failed with status 500: [daemon/daemon.go:254] failed to compile raw image: {Cannot connect to the Docker daemon. Is the docker daemon running on this host?}} 

Minor CLI UX issue: '--f'

Hi!

I am right now in the ContainerDays Boston workshop and noticed something when I fired unik up. It is a minor thing, but just something I wanted to note when you can look at it.

--f="/Users/qmurphy/.unik/daemon-config.yaml"

you use '--f' for the location of the config file, but the '--' is convention for longhand, like '--file'. I made the mistake of doing -f (the conventional shorthand) and found it a bit confusing.

Again, really enjoying this, but wanted to note the usability issue right now before I forget.

Thank you for the demo!

Quinn

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.