Skip to content

Instantly share code, notes, and snippets.

@akutz
Last active May 8, 2017 20:46
Show Gist options
  • Save akutz/7fd4165fe017c46a4e90b52007db73fc to your computer and use it in GitHub Desktop.
Save akutz/7fd4165fe017c46a4e90b52007db73fc to your computer and use it in GitHub Desktop.
Build REX-Ray with Docker
[0]akutz@pax:rexray$ ./build.sh -t client
building REX-Ray (this may take a few minutes)
Dockerfile........... ./.Dockerfile.tmp
REX-Ray Binary....... ./rexray-client
Sending build context to Docker daemon 109.6MB
Step 1/17 : FROM golang:1.8.1
---> 6d0bfafa0452
Step 2/17 : ENV REXRAY rexray-client
---> Using cache
---> 8209d9a3326e
Step 3/17 : WORKDIR /go/src/github.com/codedellemc/rexray/
---> Using cache
---> f35ef9438b6c
Step 4/17 : COPY . .
---> 858f3d8b559d
Removing intermediate container 69c991ec95f9
Step 5/17 : RUN DOCKER=1 DRIVERS= REXRAY_BUILD_TYPE=client make
---> Running in 71229d6bde78
make deps
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 608 0 608 0 0 1942 0 --:--:-- --:--:-- --:--:-- 1948
100 3690k 100 3690k 0 0 1775k 0 0:00:02 0:00:02 --:--:-- 2169k
/go/bin/glide install && touch glide.lock.d
[INFO] Downloading dependencies. Please wait...
[INFO] --> Fetching updates for cloud.google.com/go.
[INFO] --> Fetching updates for github.com/akutz/gofig.
[INFO] --> Fetching updates for github.com/akutz/golf.
[INFO] --> Fetching updates for github.com/akutz/gotil.
[INFO] --> Fetching updates for github.com/akutz/goof.
[INFO] --> Fetching updates for github.com/asaskevich/govalidator.
[INFO] --> Fetching updates for github.com/appropriate/go-virtualboxclient.
[INFO] --> Fetching updates for github.com/aws/aws-sdk-go.
[INFO] --> Fetching updates for github.com/Azure/azure-sdk-for-go.
[INFO] --> Fetching updates for github.com/Azure/go-autorest.
[INFO] --> Fetching updates for github.com/cesanta/ucl.
[INFO] --> Fetching updates for github.com/cesanta/validate-json.
[INFO] --> Fetching updates for github.com/codedellemc/goisilon.
[INFO] --> Fetching updates for github.com/codedellemc/gournal.
[INFO] --> Fetching updates for github.com/codedellemc/goscaleio.
[INFO] --> Fetching updates for github.com/codedellemc/libstorage.
[INFO] --> Fetching updates for github.com/dgrijalva/jwt-go.
[INFO] --> Fetching updates for github.com/digitalocean/godo.
[INFO] --> Fetching updates for github.com/fsnotify/fsnotify.
[INFO] --> Fetching updates for github.com/go-ini/ini.
[INFO] --> Fetching updates for github.com/go-yaml/yaml.
[INFO] --> Fetching updates for github.com/golang/protobuf.
[INFO] --> Fetching updates for github.com/google/go-querystring.
[INFO] --> Fetching updates for github.com/googleapis/gax-go.
[INFO] --> Fetching updates for github.com/gophercloud/gophercloud.
[INFO] --> Fetching updates for github.com/gorilla/context.
[INFO] --> Fetching updates for github.com/gorilla/mux.
[INFO] --> Fetching updates for github.com/hashicorp/hcl.
[INFO] --> Fetching updates for github.com/inconshreveable/mousetrap.
[INFO] --> Fetching updates for github.com/jmespath/go-jmespath.
[INFO] --> Fetching updates for github.com/jteeuwen/go-bindata.
[INFO] --> Fetching updates for github.com/kardianos/osext.
[INFO] --> Fetching updates for github.com/kr/fs.
[INFO] --> Fetching updates for github.com/magiconair/properties.
[INFO] --> Fetching updates for github.com/mitchellh/mapstructure.
[INFO] --> Fetching updates for github.com/pelletier/go-buffruneio.
[INFO] --> Fetching updates for github.com/pelletier/go-toml.
[INFO] --> Fetching updates for github.com/pkg/errors.
[INFO] --> Fetching updates for github.com/pkg/sftp.
[INFO] --> Fetching updates for github.com/rubiojr/go-vhd.
[INFO] --> Fetching updates for github.com/SermoDigital/jose.
[INFO] --> Fetching updates for github.com/Sirupsen/logrus.
[INFO] --> Fetching updates for github.com/spf13/afero.
[INFO] --> Fetching updates for github.com/spf13/cast.
[INFO] --> Fetching updates for github.com/spf13/cobra.
[INFO] --> Fetching updates for github.com/spf13/jwalterweatherman.
[INFO] --> Fetching updates for github.com/spf13/pflag.
[INFO] --> Fetching updates for github.com/spf13/viper.
[INFO] --> Fetching updates for github.com/tent/http-link-go.
[INFO] --> Fetching updates for golang.org/x/crypto.
[INFO] --> Fetching updates for golang.org/x/net.
[INFO] --> Fetching updates for golang.org/x/oauth2.
[INFO] --> Fetching updates for golang.org/x/sys.
[INFO] --> Fetching updates for golang.org/x/text.
[INFO] --> Fetching updates for google.golang.org/api.
[INFO] --> Fetching updates for google.golang.org/appengine.
[INFO] --> Fetching updates for google.golang.org/grpc.
[INFO] --> Fetching updates for gopkg.in/yaml.v1.
[INFO] --> Fetching updates for gopkg.in/yaml.v2.
[INFO] Setting references.
[INFO] --> Setting version for github.com/appropriate/go-virtualboxclient to e0978ab2ed407095400a69d5933958dd260058cd.
[INFO] --> Setting version for github.com/codedellemc/goscaleio to 485da3636bfcc8e70f74fe7bdc7cb25e5a6e4c4a.
[INFO] --> Setting version for github.com/akutz/golf to 296de562c59e98534dc2d7b49f6ba310e3edb69d.
[INFO] --> Setting version for github.com/akutz/goof to 72efb1916248a881f8d39e20b9709696c5eda708.
[INFO] --> Setting version for github.com/akutz/gofig to 862741cad5edced279c57d1981e8e3e9fa54e8d5.
[INFO] --> Setting version for github.com/cesanta/validate-json to 2f16017c76fc2403d143e93cea1e1b9526a01148.
[INFO] --> Setting version for github.com/Azure/go-autorest to 8a25372bbfec739b8719a9e3987400d15ef9e179.
[INFO] --> Setting version for github.com/cesanta/ucl to 97c016fce90e6af1b14558563ac46852167e6a76.
[INFO] --> Setting version for github.com/aws/aws-sdk-go to 3f8f870ec9939e32b3372abf74d24e468bcd285d.
[INFO] --> Setting version for github.com/dgrijalva/jwt-go to 2268707a8f0843315e2004ee4f1d021dc08baedf.
[INFO] --> Setting version for github.com/Azure/azure-sdk-for-go to 0984e0641ae43b89283223034574d6465be93bf4.
[INFO] --> Setting version for github.com/codedellemc/libstorage to fa055d6da595602715bdfd5541b4aa6d4dcbcbd9.
[INFO] --> Setting version for github.com/asaskevich/govalidator to 7b3beb6df3c42abd3509abfc3bcacc0fbfb7c877.
[INFO] --> Setting version for github.com/go-ini/ini to 6e4869b434bd001f6983749881c7ead3545887d8.
[INFO] --> Setting version for github.com/codedellemc/gournal to 4293aaf7e91602963a5777caef4b346e1cf21936.
[INFO] --> Setting version for github.com/codedellemc/goisilon to 2ea94fb4dd4f34507c9d67d8d2e35dcc0edb5f89.
[INFO] --> Setting version for github.com/akutz/gotil to 6fa2e80bd3ac40f15788cfc3d12ebba49a0add92.
[INFO] --> Setting version for github.com/fsnotify/fsnotify to fd9ec7deca8bf46ecd2a795baaacf2b3a9be1197.
[INFO] --> Setting version for github.com/go-yaml/yaml to bc35f417f8a7664a73d46c9def2933417c03019f.
[INFO] --> Setting version for github.com/gorilla/mux to 757bef944d0f21880861c2dd9c871ca543023cba.
[INFO] --> Setting version for github.com/digitalocean/godo to 83908b1ddd666d08a9b020c697b55ae3895be2fd.
[INFO] --> Setting version for github.com/jteeuwen/go-bindata to 1dd44b25b79c4d9060e582e90798e4d72537818c.
[INFO] --> Setting version for github.com/inconshreveable/mousetrap to 76626ae9c91c4f2a10f34cad8ce83ea42c93bb75.
[INFO] --> Setting version for github.com/golang/protobuf to 8ee79997227bf9b34611aee7946ae64735e6fd93.
[INFO] --> Setting version for github.com/mitchellh/mapstructure to f3009df150dadf309fdee4a54ed65c124afad715.
[INFO] --> Setting version for github.com/kardianos/osext to 9d302b58e975387d0b4d9be876622c86cefe64be.
[INFO] --> Setting version for github.com/pelletier/go-toml to 45932ad32dfdd20826f5671da37a5f3ce9f26a8d.
[INFO] --> Setting version for github.com/gophercloud/gophercloud to 9a5595b8ffe429439c63781cdc312c254e4ad990.
[INFO] --> Setting version for github.com/google/go-querystring to 53e6ce116135b80d037921a7fdd5138cf32d7a8a.
[INFO] --> Setting version for github.com/gorilla/context to 08b5f424b9271eedf6f9f0ce86cb9396ed337a42.
[INFO] --> Setting version for github.com/jmespath/go-jmespath to bd40a432e4c76585ef6b72d3fd96fb9b6dc7b68d.
[INFO] --> Setting version for github.com/googleapis/gax-go to da06d194a00e19ce00d9011a13931c3f6f6887c7.
[INFO] --> Setting version for github.com/hashicorp/hcl to f74cf8281543a0797d7b4ab7d88e76e7ba125308.
[INFO] --> Setting version for github.com/magiconair/properties to 0723e352fa358f9322c938cc2dadda874e9151a9.
[INFO] --> Setting version for github.com/pkg/errors to 248dadf4e9068a0b3e79f02ed0a610d935de5302.
[INFO] --> Setting version for github.com/pelletier/go-buffruneio to df1e16fde7fc330a0ca68167c23bf7ed6ac31d6d.
[INFO] --> Setting version for github.com/kr/fs to 2788f0dbd16903de03cb8186e5c7d97b69ad387b.
[INFO] --> Setting version for github.com/spf13/cast to 2580bc98dc0e62908119e4737030cc2fdfc45e4c.
[INFO] --> Setting version for github.com/tent/http-link-go to ac974c61c2f990f4115b119354b5e0b47550e888.
[INFO] --> Setting version for github.com/spf13/pflag to d16db1e50e33dff1b6cdf37596cef36742128670.
[INFO] --> Setting version for github.com/rubiojr/go-vhd to 96a0db67ea8209453cfa694bdf03de202d6dd8f8.
[INFO] --> Setting version for github.com/pkg/sftp to 4d0e916071f68db74f8a73926335f809396d6b42.
[INFO] --> Setting version for cloud.google.com/go to e4de3dc4493f142c5833f3185e1182025a61f805.
[INFO] --> Setting version for github.com/spf13/afero to 52e4a6cfac46163658bd4f123c49b6ee7dc75f78.
[INFO] --> Setting version for github.com/Sirupsen/logrus to 5f376aa629ac60c3215cc368e674bd996093a01a.
[INFO] --> Setting version for golang.org/x/crypto to 453249f01cfeb54c3d549ddb75ff152ca243f9d8.
[INFO] --> Setting version for github.com/spf13/viper to 651d9d916abc3c3d6a91a12549495caba5edffd2.
[INFO] --> Setting version for github.com/spf13/cobra to 7be4beda01ec05d0b93d80b3facd2b6f44080d94.
[INFO] --> Setting version for golang.org/x/text to 85c29909967d7f171f821e7a42e7b7af76fb9598.
[INFO] --> Setting version for gopkg.in/yaml.v2 to bc35f417f8a7664a73d46c9def2933417c03019f.
[INFO] --> Setting version for github.com/spf13/jwalterweatherman to 33c24e77fb80341fe7130ee7c594256ff08ccc46.
[INFO] --> Setting version for gopkg.in/yaml.v1 to bc35f417f8a7664a73d46c9def2933417c03019f.
[INFO] --> Setting version for golang.org/x/net to b336a971b799939dd16ae9b1df8334cb8b977c4d.
[INFO] --> Setting version for github.com/SermoDigital/jose to f6df55f235c24f236d11dbcf665249a59ac2021f.
[INFO] --> Setting version for google.golang.org/api to d61af0b67e5c8213e8c260ac29a762487bad020d.
[INFO] --> Setting version for golang.org/x/oauth2 to 314dd2c0bf3ebd592ec0d20847d27e79d0dbe8dd.
[INFO] --> Setting version for golang.org/x/sys to 002cbb5f952456d0c50e0d2aff17ea5eca716979.
[INFO] --> Setting version for google.golang.org/appengine to 2e4a801b39fc199db615bfca7d0b9f8cd9580599.
[INFO] --> Setting version for google.golang.org/grpc to cbcceb2942a489498cf22b2f918536e819d33f0a.
GOOS=linux GOARCH=amd64 go install github.com/codedellemc/rexray/vendor/github.com/jteeuwen/go-bindata/go-bindata
go get -u github.com/alecthomas/gometalinter
/go/bin/gometalinter --install --update && touch .gometalinter.tools.d
Installing:
unparam
unused
dupl
interfacer
safesql
structcheck
gotype
ineffassign
staticcheck
deadcode
gas
golint
gosimple
misspell
unconvert
errcheck
goconst
gocyclo
goimports
aligncheck
lll
varcheck
make build
make build-libstorage
cd vendor/github.com/codedellemc/libstorage && \
BUILD_TAGS="gofig pflag libstorage_integration_driver_linux scripts_generated rexray_build_type_client" make api/api_generated.go && \
cd -
echo generating api/api_generated.go
generating api/api_generated.go
/go/src/github.com/codedellemc/rexray
make build-generated
make ./core/core_generated.go
make[3]: 'core/core_generated.go' is up to date.
make build-rexray-client
GOOS=linux GOARCH=amd64 go install -tags "gofig pflag libstorage_integration_driver_linux scripts_generated rexray_build_type_client" ./core
GOOS=linux GOARCH=amd64 go install -tags "gofig pflag libstorage_integration_driver_linux scripts_generated rexray_build_type_client" ./util
GOOS=linux GOARCH=amd64 go install -tags "gofig pflag libstorage_integration_driver_linux scripts_generated rexray_build_type_client" .
GOOS=linux GOARCH=amd64 go install -tags "gofig pflag libstorage_integration_driver_linux scripts_generated rexray_build_type_client" ./cli/cli/template
GOOS=linux GOARCH=amd64 go install -tags "gofig pflag libstorage_integration_driver_linux scripts_generated rexray_build_type_client" ./cli/cli/term
/go/bin/go-bindata -ignore 'test(?:\.sh)?' -tags "scripts_generated,!rexray_build_type_agent,!rexray_build_type_controller" -md5checksum -pkg scripts -prefix scripts/scripts -o scripts/scripts_generated.go scripts/scripts/...
GOOS=linux GOARCH=amd64 go install -tags "gofig pflag libstorage_integration_driver_linux scripts_generated rexray_build_type_client" ./scripts
GOOS=linux GOARCH=amd64 go install -tags "gofig pflag libstorage_integration_driver_linux scripts_generated rexray_build_type_client" ./cli/cli
GOOS=linux GOARCH=amd64 go install -tags "gofig pflag libstorage_integration_driver_linux scripts_generated rexray_build_type_client" ./cli/rexray
GOOS=linux GOARCH=amd64 go install -tags "gofig pflag libstorage_integration_driver_linux scripts_generated rexray_build_type_client" ./cli/rexray/rexray-client
---> 5232e5656694
Removing intermediate container 71229d6bde78
Step 6/17 : RUN /go/bin/$REXRAY version
---> Running in d5dc683067ed
REX-Ray
-------
Binary: /go/bin/rexray-client
Flavor: client
SemVer: 0.8.2+20
OsArch: Linux-x86_64
Branch: release/0.9.0
Commit: e2620f20956189ef28a6ac2e26c515d08287cac0
Formed: Tue, 25 Apr 2017 19:06:00 UTC
libStorage
----------
SemVer: 0.6.0
OsArch: Linux-x86_64
Branch: (detached from fa055d6
Commit: fa055d6da595602715bdfd5541b4aa6d4dcbcbd9
Formed: Mon, 08 May 2017 19:35:53 UTC
---> 5c5acf0fc0e1
Removing intermediate container d5dc683067ed
Step 7/17 : FROM alpine:3.5
---> 4a415e366388
Step 8/17 : LABEL build "client"
---> Using cache
---> 34c6d38eb6c5
Step 9/17 : LABEL drivers ""
---> Using cache
---> c4e46422895f
Step 10/17 : LABEL version "0.9.0+5+dirty"
---> Using cache
---> 249bc8a179b0
Step 11/17 : COPY --from=0 /go/bin/$REXRAY /usr/bin/$REXRAY
---> 65f19497b752
Removing intermediate container 5e6ad9308a2a
Step 12/17 : COPY .Dockerfile.tmp /Dockerfile
---> d6c3776bd0a4
Removing intermediate container 903ef8b5015b
Step 13/17 : RUN apk update
---> Running in 354f69748452
fetch http://dl-cdn.alpinelinux.org/alpine/v3.5/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.5/community/x86_64/APKINDEX.tar.gz
v3.5.2-71-g1050b6acec [http://dl-cdn.alpinelinux.org/alpine/v3.5/main]
v3.5.2-70-gec9876f375 [http://dl-cdn.alpinelinux.org/alpine/v3.5/community]
OK: 7961 distinct packages available
---> 67ab83e2f5e6
Removing intermediate container 354f69748452
Step 14/17 : RUN apk add xfsprogs e2fsprogs ca-certificates
---> Running in 230b25d357a4
(1/7) Installing ca-certificates (20161130-r1)
(2/7) Installing libuuid (2.28.2-r1)
(3/7) Installing libblkid (2.28.2-r1)
(4/7) Installing libcom_err (1.43.3-r0)
(5/7) Installing e2fsprogs-libs (1.43.3-r0)
(6/7) Installing e2fsprogs (1.43.3-r0)
(7/7) Installing xfsprogs (4.5.0-r0)
Executing busybox-1.25.1-r0.trigger
Executing ca-certificates-20161130-r1.trigger
OK: 7 MiB in 18 packages
---> ea5acde17e4e
Removing intermediate container 230b25d357a4
Step 15/17 : RUN mkdir -p /lib64 && ln -s /lib/libc.musl-x86_64.so.1 /lib64/ld-linux-x86-64.so.2
---> Running in 520353fb7f7d
---> b7e870549023
Removing intermediate container 520353fb7f7d
Step 16/17 : RUN mkdir -p /etc/rexray /run/docker/plugins /var/lib/libstorage/volumes
---> Running in 65cba09c8e0f
---> 3713a7ee6df7
Removing intermediate container 65cba09c8e0f
Step 17/17 : ENTRYPOINT /usr/bin/$REXRAY
---> Running in 87b76171fae6
---> 6a15558d436e
Removing intermediate container 87b76171fae6
Successfully built 6a15558d436e
Successfully tagged rexray/client:0.9.0-5-dirty
34eeaa5ab218aa15de68d15eff8e9828a885b0bce1905b2951dfc646f6dace01
successfully built REX-Ray!
Docker image is...... rexray/client:0.9.0-5-dirty
REX-Ray binary is.... ./rexray-client
[0]akutz@pax:rexray$
[130]akutz@pax:rexray$ ./build.sh -t controller
building REX-Ray (this may take a few minutes)
Dockerfile........... ./.Dockerfile.tmp
Docker image ........ rexray/controller:0.9.0-7-dirty
REX-Ray Binary....... ./rexray-controller
Sending build context to Docker daemon 163.6MB
Step 1/17 : FROM golang:1.8.1
---> 6d0bfafa0452
Step 2/17 : ENV REXRAY rexray-controller
---> Using cache
---> 267a8fbef638
Step 3/17 : WORKDIR /go/src/github.com/codedellemc/rexray/
---> Using cache
---> 3e6cd8b60e0d
Step 4/17 : COPY . .
---> 73de7b404dea
Removing intermediate container e6e10144569f
Step 5/17 : RUN DOCKER=1 DRIVERS= REXRAY_BUILD_TYPE=controller make
---> Running in 6eb72e7f9158
make deps
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 608 0 608 0 0 2152 0 --:--:-- --:--:-- --:--:-- 2156
100 3690k 100 3690k 0 0 1653k 0 0:00:02 0:00:02 --:--:-- 2760k
/go/bin/glide install && touch glide.lock.d
[INFO] Downloading dependencies. Please wait...
[INFO] --> Fetching updates for cloud.google.com/go.
[INFO] --> Fetching updates for github.com/akutz/gofig.
[INFO] --> Fetching updates for github.com/akutz/gotil.
[INFO] --> Fetching updates for github.com/akutz/goof.
[INFO] --> Fetching updates for github.com/akutz/golf.
[INFO] --> Fetching updates for github.com/appropriate/go-virtualboxclient.
[INFO] --> Fetching updates for github.com/aws/aws-sdk-go.
[INFO] --> Fetching updates for github.com/Azure/azure-sdk-for-go.
[INFO] --> Fetching updates for github.com/Azure/go-autorest.
[INFO] --> Fetching updates for github.com/cesanta/validate-json.
[INFO] --> Fetching updates for github.com/codedellemc/goscaleio.
[INFO] --> Fetching updates for github.com/codedellemc/gournal.
[INFO] --> Fetching updates for github.com/cesanta/ucl.
[INFO] --> Fetching updates for github.com/codedellemc/libstorage.
[INFO] --> Fetching updates for github.com/asaskevich/govalidator.
[INFO] --> Fetching updates for github.com/digitalocean/godo.
[INFO] --> Fetching updates for github.com/codedellemc/goisilon.
[INFO] --> Fetching updates for github.com/fsnotify/fsnotify.
[INFO] --> Fetching updates for github.com/dgrijalva/jwt-go.
[INFO] --> Fetching updates for github.com/go-ini/ini.
[INFO] --> Fetching updates for github.com/go-yaml/yaml.
[INFO] --> Fetching updates for github.com/golang/protobuf.
[INFO] --> Fetching updates for github.com/google/go-querystring.
[INFO] --> Fetching updates for github.com/googleapis/gax-go.
[INFO] --> Fetching updates for github.com/gophercloud/gophercloud.
[INFO] --> Fetching updates for github.com/gorilla/context.
[INFO] --> Fetching updates for github.com/gorilla/mux.
[INFO] --> Fetching updates for github.com/hashicorp/hcl.
[INFO] --> Fetching updates for github.com/inconshreveable/mousetrap.
[INFO] --> Fetching updates for github.com/jmespath/go-jmespath.
[INFO] --> Fetching updates for github.com/jteeuwen/go-bindata.
[INFO] --> Fetching updates for github.com/kardianos/osext.
[INFO] --> Fetching updates for github.com/kr/fs.
[INFO] --> Fetching updates for github.com/magiconair/properties.
[INFO] --> Fetching updates for github.com/mitchellh/mapstructure.
[INFO] --> Fetching updates for github.com/pelletier/go-buffruneio.
[INFO] --> Fetching updates for github.com/pelletier/go-toml.
[INFO] --> Fetching updates for github.com/pkg/errors.
[INFO] --> Fetching updates for github.com/pkg/sftp.
[INFO] --> Fetching updates for github.com/rubiojr/go-vhd.
[INFO] --> Fetching updates for github.com/SermoDigital/jose.
[INFO] --> Fetching updates for github.com/Sirupsen/logrus.
[INFO] --> Fetching updates for github.com/spf13/afero.
[INFO] --> Fetching updates for github.com/spf13/cast.
[INFO] --> Fetching updates for github.com/spf13/cobra.
[INFO] --> Fetching updates for github.com/spf13/jwalterweatherman.
[INFO] --> Fetching updates for github.com/spf13/pflag.
[INFO] --> Fetching updates for github.com/spf13/viper.
[INFO] --> Fetching updates for github.com/tent/http-link-go.
[INFO] --> Fetching updates for golang.org/x/crypto.
[INFO] --> Fetching updates for golang.org/x/net.
[INFO] --> Fetching updates for golang.org/x/oauth2.
[INFO] --> Fetching updates for golang.org/x/sys.
[INFO] --> Fetching updates for golang.org/x/text.
[INFO] --> Fetching updates for google.golang.org/api.
[INFO] --> Fetching updates for google.golang.org/appengine.
[INFO] --> Fetching updates for google.golang.org/grpc.
[INFO] --> Fetching updates for gopkg.in/yaml.v1.
[INFO] --> Fetching updates for gopkg.in/yaml.v2.
[INFO] Setting references.
[INFO] --> Setting version for github.com/codedellemc/goscaleio to 485da3636bfcc8e70f74fe7bdc7cb25e5a6e4c4a.
[INFO] --> Setting version for github.com/akutz/goof to 72efb1916248a881f8d39e20b9709696c5eda708.
[INFO] --> Setting version for github.com/digitalocean/godo to 83908b1ddd666d08a9b020c697b55ae3895be2fd.
[INFO] --> Setting version for github.com/akutz/gofig to 862741cad5edced279c57d1981e8e3e9fa54e8d5.
[INFO] --> Setting version for github.com/go-ini/ini to 6e4869b434bd001f6983749881c7ead3545887d8.
[INFO] --> Setting version for github.com/codedellemc/libstorage to fa055d6da595602715bdfd5541b4aa6d4dcbcbd9.
[INFO] --> Setting version for github.com/Azure/go-autorest to 8a25372bbfec739b8719a9e3987400d15ef9e179.
[INFO] --> Setting version for github.com/appropriate/go-virtualboxclient to e0978ab2ed407095400a69d5933958dd260058cd.
[INFO] --> Setting version for github.com/akutz/golf to 296de562c59e98534dc2d7b49f6ba310e3edb69d.
[INFO] --> Setting version for github.com/codedellemc/gournal to 4293aaf7e91602963a5777caef4b346e1cf21936.
[INFO] --> Setting version for github.com/dgrijalva/jwt-go to 2268707a8f0843315e2004ee4f1d021dc08baedf.
[INFO] --> Setting version for github.com/cesanta/ucl to 97c016fce90e6af1b14558563ac46852167e6a76.
[INFO] --> Setting version for github.com/cesanta/validate-json to 2f16017c76fc2403d143e93cea1e1b9526a01148.
[INFO] --> Setting version for github.com/asaskevich/govalidator to 7b3beb6df3c42abd3509abfc3bcacc0fbfb7c877.
[INFO] --> Setting version for github.com/codedellemc/goisilon to 2ea94fb4dd4f34507c9d67d8d2e35dcc0edb5f89.
[INFO] --> Setting version for github.com/fsnotify/fsnotify to fd9ec7deca8bf46ecd2a795baaacf2b3a9be1197.
[INFO] --> Setting version for github.com/akutz/gotil to 6fa2e80bd3ac40f15788cfc3d12ebba49a0add92.
[INFO] --> Setting version for github.com/Azure/azure-sdk-for-go to 0984e0641ae43b89283223034574d6465be93bf4.
[INFO] --> Setting version for github.com/aws/aws-sdk-go to 3f8f870ec9939e32b3372abf74d24e468bcd285d.
[INFO] --> Setting version for github.com/go-yaml/yaml to bc35f417f8a7664a73d46c9def2933417c03019f.
[INFO] --> Setting version for github.com/inconshreveable/mousetrap to 76626ae9c91c4f2a10f34cad8ce83ea42c93bb75.
[INFO] --> Setting version for github.com/kardianos/osext to 9d302b58e975387d0b4d9be876622c86cefe64be.
[INFO] --> Setting version for github.com/kr/fs to 2788f0dbd16903de03cb8186e5c7d97b69ad387b.
[INFO] --> Setting version for github.com/magiconair/properties to 0723e352fa358f9322c938cc2dadda874e9151a9.
[INFO] --> Setting version for github.com/mitchellh/mapstructure to f3009df150dadf309fdee4a54ed65c124afad715.
[INFO] --> Setting version for github.com/gorilla/mux to 757bef944d0f21880861c2dd9c871ca543023cba.
[INFO] --> Setting version for github.com/gorilla/context to 08b5f424b9271eedf6f9f0ce86cb9396ed337a42.
[INFO] --> Setting version for github.com/jteeuwen/go-bindata to 1dd44b25b79c4d9060e582e90798e4d72537818c.
[INFO] --> Setting version for github.com/gophercloud/gophercloud to 9a5595b8ffe429439c63781cdc312c254e4ad990.
[INFO] --> Setting version for github.com/jmespath/go-jmespath to bd40a432e4c76585ef6b72d3fd96fb9b6dc7b68d.
[INFO] --> Setting version for github.com/google/go-querystring to 53e6ce116135b80d037921a7fdd5138cf32d7a8a.
[INFO] --> Setting version for github.com/golang/protobuf to 8ee79997227bf9b34611aee7946ae64735e6fd93.
[INFO] --> Setting version for github.com/googleapis/gax-go to da06d194a00e19ce00d9011a13931c3f6f6887c7.
[INFO] --> Setting version for github.com/hashicorp/hcl to f74cf8281543a0797d7b4ab7d88e76e7ba125308.
[INFO] --> Setting version for github.com/pelletier/go-buffruneio to df1e16fde7fc330a0ca68167c23bf7ed6ac31d6d.
[INFO] --> Setting version for github.com/pkg/errors to 248dadf4e9068a0b3e79f02ed0a610d935de5302.
[INFO] --> Setting version for github.com/pelletier/go-toml to 45932ad32dfdd20826f5671da37a5f3ce9f26a8d.
[INFO] --> Setting version for github.com/pkg/sftp to 4d0e916071f68db74f8a73926335f809396d6b42.
[INFO] --> Setting version for github.com/SermoDigital/jose to f6df55f235c24f236d11dbcf665249a59ac2021f.
[INFO] --> Setting version for github.com/rubiojr/go-vhd to 96a0db67ea8209453cfa694bdf03de202d6dd8f8.
[INFO] --> Setting version for github.com/Sirupsen/logrus to 5f376aa629ac60c3215cc368e674bd996093a01a.
[INFO] --> Setting version for cloud.google.com/go to e4de3dc4493f142c5833f3185e1182025a61f805.
[INFO] --> Setting version for github.com/spf13/viper to 651d9d916abc3c3d6a91a12549495caba5edffd2.
[INFO] --> Setting version for github.com/spf13/afero to 52e4a6cfac46163658bd4f123c49b6ee7dc75f78.
[INFO] --> Setting version for github.com/tent/http-link-go to ac974c61c2f990f4115b119354b5e0b47550e888.
[INFO] --> Setting version for github.com/spf13/cast to 2580bc98dc0e62908119e4737030cc2fdfc45e4c.
[INFO] --> Setting version for github.com/spf13/cobra to 7be4beda01ec05d0b93d80b3facd2b6f44080d94.
[INFO] --> Setting version for github.com/spf13/pflag to d16db1e50e33dff1b6cdf37596cef36742128670.
[INFO] --> Setting version for github.com/spf13/jwalterweatherman to 33c24e77fb80341fe7130ee7c594256ff08ccc46.
[INFO] --> Setting version for golang.org/x/net to b336a971b799939dd16ae9b1df8334cb8b977c4d.
[INFO] --> Setting version for golang.org/x/crypto to 453249f01cfeb54c3d549ddb75ff152ca243f9d8.
[INFO] --> Setting version for golang.org/x/text to 85c29909967d7f171f821e7a42e7b7af76fb9598.
[INFO] --> Setting version for google.golang.org/api to d61af0b67e5c8213e8c260ac29a762487bad020d.
[INFO] --> Setting version for golang.org/x/oauth2 to 314dd2c0bf3ebd592ec0d20847d27e79d0dbe8dd.
[INFO] --> Setting version for golang.org/x/sys to 002cbb5f952456d0c50e0d2aff17ea5eca716979.
[INFO] --> Setting version for gopkg.in/yaml.v2 to bc35f417f8a7664a73d46c9def2933417c03019f.
[INFO] --> Setting version for gopkg.in/yaml.v1 to bc35f417f8a7664a73d46c9def2933417c03019f.
[INFO] --> Setting version for google.golang.org/appengine to 2e4a801b39fc199db615bfca7d0b9f8cd9580599.
[INFO] --> Setting version for google.golang.org/grpc to cbcceb2942a489498cf22b2f918536e819d33f0a.
GOOS=linux GOARCH=amd64 go install github.com/codedellemc/rexray/vendor/github.com/jteeuwen/go-bindata/go-bindata
go get -u github.com/alecthomas/gometalinter
/go/bin/gometalinter --install --update && touch .gometalinter.tools.d
Installing:
dupl
goconst
golint
gosimple
ineffassign
interfacer
varcheck
aligncheck
errcheck
gas
gotype
misspell
unconvert
gocyclo
goimports
safesql
staticcheck
structcheck
deadcode
lll
unparam
unused
make build
make build-libstorage
cd vendor/github.com/codedellemc/libstorage && \
BUILD_TAGS="gofig pflag scripts_generated rexray_build_type_controller" make api/api_generated.go && \
cd -
echo generating api/api_generated.go
generating api/api_generated.go
/go/src/github.com/codedellemc/rexray
cd vendor/github.com/codedellemc/libstorage && \
BUILD_TAGS="gofig pflag scripts_generated rexray_build_type_controller" make api/server/executors/executors_generated.go && \
cd -
GOOS=linux GOARCH=amd64 go install -tags "gofig pflag rexray_build_type_controller scripts_generated" ./api/types
GOOS=linux GOARCH=amd64 go install -tags "gofig pflag rexray_build_type_controller scripts_generated" ./api/context
GOOS=linux GOARCH=amd64 go install -tags "gofig pflag rexray_build_type_controller scripts_generated" ./api/utils
GOOS=linux GOARCH=amd64 go install -tags "gofig pflag rexray_build_type_controller scripts_generated" ./api/registry
GOOS=linux GOARCH=amd64 go install -tags "gofig pflag rexray_build_type_controller scripts_generated" ./api/utils/config
GOOS=linux GOARCH=amd64 go install -tags "gofig pflag rexray_build_type_controller scripts_generated" ./imports/config
GOOS=linux GOARCH=amd64 go install -tags "gofig pflag rexray_build_type_controller scripts_generated" ./drivers/storage/azureud
GOOS=linux GOARCH=amd64 go install -tags "gofig pflag rexray_build_type_controller scripts_generated" ./drivers/storage/azureud/utils
GOOS=linux GOARCH=amd64 go install -tags "gofig pflag rexray_build_type_controller scripts_generated" ./drivers/storage/azureud/executor
GOOS=linux GOARCH=amd64 go install -tags "gofig pflag rexray_build_type_controller scripts_generated" ./drivers/storage/cinder
GOOS=linux GOARCH=amd64 go install -tags "gofig pflag rexray_build_type_controller scripts_generated" ./drivers/os/linux
GOOS=linux GOARCH=amd64 go install -tags "gofig pflag rexray_build_type_controller scripts_generated" ./api/client
GOOS=linux GOARCH=amd64 go install -tags "gofig pflag rexray_build_type_controller scripts_generated" ./drivers/storage/libstorage
GOOS=linux GOARCH=amd64 go install -tags "gofig pflag rexray_build_type_controller scripts_generated" ./imports/local
GOOS=linux GOARCH=amd64 go install -tags "gofig pflag rexray_build_type_controller scripts_generated" ./drivers/storage/cinder/executor
GOOS=linux GOARCH=amd64 go install -tags "gofig pflag rexray_build_type_controller scripts_generated" ./drivers/storage/dobs
GOOS=linux GOARCH=amd64 go install -tags "gofig pflag rexray_build_type_controller scripts_generated" ./drivers/storage/dobs/utils
GOOS=linux GOARCH=amd64 go install -tags "gofig pflag rexray_build_type_controller scripts_generated" ./drivers/storage/dobs/executor
GOOS=linux GOARCH=amd64 go install -tags "gofig pflag rexray_build_type_controller scripts_generated" ./drivers/storage/ebs
GOOS=linux GOARCH=amd64 go install -tags "gofig pflag rexray_build_type_controller scripts_generated" ./drivers/storage/ebs/utils
GOOS=linux GOARCH=amd64 go install -tags "gofig pflag rexray_build_type_controller scripts_generated" ./drivers/storage/ebs/executor
GOOS=linux GOARCH=amd64 go install -tags "gofig pflag rexray_build_type_controller scripts_generated" ./drivers/storage/efs
GOOS=linux GOARCH=amd64 go install -tags "gofig pflag rexray_build_type_controller scripts_generated" ./drivers/storage/efs/utils
GOOS=linux GOARCH=amd64 go install -tags "gofig pflag rexray_build_type_controller scripts_generated" ./drivers/storage/efs/executor
GOOS=linux GOARCH=amd64 go install -tags "gofig pflag rexray_build_type_controller scripts_generated" ./drivers/storage/fittedcloud
GOOS=linux GOARCH=amd64 go install -tags "gofig pflag rexray_build_type_controller scripts_generated" ./drivers/storage/fittedcloud/utils
GOOS=linux GOARCH=amd64 go install -tags "gofig pflag rexray_build_type_controller scripts_generated" ./drivers/storage/fittedcloud/executor
GOOS=linux GOARCH=amd64 go install -tags "gofig pflag rexray_build_type_controller scripts_generated" ./drivers/storage/gcepd
GOOS=linux GOARCH=amd64 go install -tags "gofig pflag rexray_build_type_controller scripts_generated" ./drivers/storage/gcepd/utils
GOOS=linux GOARCH=amd64 go install -tags "gofig pflag rexray_build_type_controller scripts_generated" ./drivers/storage/gcepd/executor
GOOS=linux GOARCH=amd64 go install -tags "gofig pflag rexray_build_type_controller scripts_generated" ./drivers/storage/isilon
GOOS=linux GOARCH=amd64 go install -tags "gofig pflag rexray_build_type_controller scripts_generated" ./drivers/storage/isilon/executor
GOOS=linux GOARCH=amd64 go install -tags "gofig pflag rexray_build_type_controller scripts_generated" ./drivers/storage/rbd
GOOS=linux GOARCH=amd64 go install -tags "gofig pflag rexray_build_type_controller scripts_generated" ./drivers/storage/rbd/utils
GOOS=linux GOARCH=amd64 go install -tags "gofig pflag rexray_build_type_controller scripts_generated" ./drivers/storage/rbd/executor
GOOS=linux GOARCH=amd64 go install -tags "gofig pflag rexray_build_type_controller scripts_generated" ./drivers/storage/s3fs
GOOS=linux GOARCH=amd64 go install -tags "gofig pflag rexray_build_type_controller scripts_generated" ./drivers/storage/s3fs/utils
GOOS=linux GOARCH=amd64 go install -tags "gofig pflag rexray_build_type_controller scripts_generated" ./drivers/storage/s3fs/executor
GOOS=linux GOARCH=amd64 go install -tags "gofig pflag rexray_build_type_controller scripts_generated" ./drivers/storage/scaleio
GOOS=linux GOARCH=amd64 go install -tags "gofig pflag rexray_build_type_controller scripts_generated" ./drivers/storage/scaleio/executor
GOOS=linux GOARCH=amd64 go install -tags "gofig pflag rexray_build_type_controller scripts_generated" ./drivers/storage/vbox
GOOS=linux GOARCH=amd64 go install -tags "gofig pflag rexray_build_type_controller scripts_generated" ./drivers/storage/vbox/executor
GOOS=linux GOARCH=amd64 go install -tags "gofig pflag rexray_build_type_controller scripts_generated" ./drivers/storage/vfs
GOOS=linux GOARCH=amd64 go install -tags "gofig pflag rexray_build_type_controller scripts_generated" ./drivers/storage/vfs/executor
GOOS=linux GOARCH=amd64 go install -tags "gofig pflag rexray_build_type_controller scripts_generated" ./imports/executors
GOOS=linux GOARCH=amd64 go install -tags "gofig pflag rexray_build_type_controller scripts_generated" ./cli/lsx
GOOS=linux GOARCH=amd64 go install -tags "gofig pflag rexray_build_type_controller scripts_generated" ./cli/lsx/lsx-linux
/go/bin/go-bindata -md5checksum -pkg executors -prefix api/server/executors/bin -o api/server/executors/executors_generated.go api/server/executors/bin/...
/go/src/github.com/codedellemc/rexray
make build-generated
make ./core/core_generated.go
echo generating core/core_generated.go
generating core/core_generated.go
make build-rexray-controller
GOOS=linux GOARCH=amd64 go install -tags "gofig pflag scripts_generated rexray_build_type_controller" ./core
GOOS=linux GOARCH=amd64 go install -tags "gofig pflag scripts_generated rexray_build_type_controller" ./util
GOOS=linux GOARCH=amd64 go install -tags "gofig pflag scripts_generated rexray_build_type_controller" .
GOOS=linux GOARCH=amd64 go install -tags "gofig pflag scripts_generated rexray_build_type_controller" ./cli/cli/template
GOOS=linux GOARCH=amd64 go install -tags "gofig pflag scripts_generated rexray_build_type_controller" ./cli/cli/term
GOOS=linux GOARCH=amd64 go install -tags "gofig pflag scripts_generated rexray_build_type_controller" ./daemon
GOOS=linux GOARCH=amd64 go install -tags "gofig pflag scripts_generated rexray_build_type_controller" ./cli/cli
GOOS=linux GOARCH=amd64 go install -tags "gofig pflag scripts_generated rexray_build_type_controller" ./cli/rexray
GOOS=linux GOARCH=amd64 go install -tags "gofig pflag scripts_generated rexray_build_type_controller" ./cli/rexray/rexray-controller
---> 90248ba7c7f4
Removing intermediate container 6eb72e7f9158
Step 6/17 : RUN /go/bin/$REXRAY version
---> Running in 7f2175d4ec78
REX-Ray
-------
Binary: /go/bin/rexray-controller
Flavor: controller
SemVer: 0.9.0+7+dirty
OsArch: Linux-x86_64
Branch: feature/build.sh
Commit: 53f1dc003b244c8623d88f23106384e094825747
Formed: Mon, 08 May 2017 20:34:09 UTC
libStorage
----------
SemVer: 0.6.0
OsArch: Linux-x86_64
Branch: (detached from fa055d6
Commit: fa055d6da595602715bdfd5541b4aa6d4dcbcbd9
Formed: Mon, 08 May 2017 20:33:45 UTC
---> 0a1daa44d7d9
Removing intermediate container 7f2175d4ec78
Step 7/17 : FROM alpine:3.5
---> 4a415e366388
Step 8/17 : LABEL build "controller"
---> Using cache
---> 36de2eef0b56
Step 9/17 : LABEL drivers ""
---> Using cache
---> 0640d020fee3
Step 10/17 : LABEL version "0.9.0+7+dirty"
---> Using cache
---> 1b2c3b61b11b
Step 11/17 : COPY --from=0 /go/bin/$REXRAY /usr/bin/$REXRAY
---> 639368140c22
Removing intermediate container 3d980d7b1589
Step 12/17 : COPY .Dockerfile.tmp /Dockerfile
---> 4817c8532578
Removing intermediate container 6bd98a3ba5d3
Step 13/17 : RUN apk update
---> Running in 33bc60f6223e
fetch http://dl-cdn.alpinelinux.org/alpine/v3.5/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.5/community/x86_64/APKINDEX.tar.gz
v3.5.2-71-g1050b6acec [http://dl-cdn.alpinelinux.org/alpine/v3.5/main]
v3.5.2-70-gec9876f375 [http://dl-cdn.alpinelinux.org/alpine/v3.5/community]
OK: 7961 distinct packages available
---> 6be619c6958d
Removing intermediate container 33bc60f6223e
Step 14/17 : RUN apk add xfsprogs e2fsprogs ca-certificates
---> Running in 211b12fc6acb
(1/7) Installing ca-certificates (20161130-r1)
(2/7) Installing libuuid (2.28.2-r1)
(3/7) Installing libblkid (2.28.2-r1)
(4/7) Installing libcom_err (1.43.3-r0)
(5/7) Installing e2fsprogs-libs (1.43.3-r0)
(6/7) Installing e2fsprogs (1.43.3-r0)
(7/7) Installing xfsprogs (4.5.0-r0)
Executing busybox-1.25.1-r0.trigger
Executing ca-certificates-20161130-r1.trigger
OK: 7 MiB in 18 packages
---> 377ca351d8c0
Removing intermediate container 211b12fc6acb
Step 15/17 : RUN mkdir -p /lib64 && ln -s /lib/libc.musl-x86_64.so.1 /lib64/ld-linux-x86-64.so.2
---> Running in c8791def9f52
---> ef3355613502
Removing intermediate container c8791def9f52
Step 16/17 : RUN mkdir -p /etc/rexray /run/docker/plugins /var/lib/libstorage/volumes
---> Running in 53ef60823f12
---> 5cfae7b6df5c
Removing intermediate container 53ef60823f12
Step 17/17 : ENTRYPOINT /usr/bin/rexray-controller
---> Running in 799097e7dbbd
---> 479a54f13d99
Removing intermediate container 799097e7dbbd
Successfully built 479a54f13d99
Successfully tagged rexray/controller:0.9.0-7-dirty
6b62286cdd808479ffcc707b46ff8e37f5b7d3591757784c69cde42b3f3a1b2f
successfully built REX-Ray!
Docker image is...... rexray/controller:0.9.0-7-dirty
REX-Ray binary is.... ./rexray-controller
[0]akutz@pax:rexray$
$ docker run -it rexray/controller:0.9.0-7-dirty
REX-Ray:
A guest-based storage introspection tool that enables local
visibility and management from cloud and storage platforms.
Usage:
rexray [flags]
rexray [command]
Available Commands:
env Print the REX-Ray environment
help Help about any command
service The service controller
token The token manager
version Print the version
Global Flags:
-c, --config string The path to a custom REX-Ray configuration file
-?, --help Help about the current command
-h, --host string The libStorage host.
-l, --logLevel string The log level (error, warn, info, debug) (default "warn")
-s, --service string The libStorage service.
-v, --verbose Print verbose help information
Use "rexray [command] --help" for more information about a command.
[0]akutz@pax:rexray$ docker run --rm -it rexray/controller:0.9.0-7-dirty start -s vfs -f -l debug
INFO[0000] updated log level logLevel=debug
DEBU[0000] os.args time=1494276024503 val=[/usr/bin/rexray-controller start -s vfs -f -l debug]
DEBU[0000] invoking service start os.Args=[/usr/bin/rexray-controller start -s vfs -f -l debug] time=1494276024504
DEBU[0000] starting in foreground time=1494276024504
⌐▄Q▓▄Ç▓▄,▄_
Σ▄▓▓▓▓▓▓▓▓▓▓▄π
╒▓▓▌▓▓▓▓▓▓▓▓▓▓▀▓▄▄.
,_▄▀▓▓ ▓▓ ▓▓▓▓▓▓▓▓▓▓▓█
│▄▓▓ _▓▓▓▓▓▓▓▓▓┌▓▓▓▓▓█
_J┤▓▓▓▓▓▓▓▓▓▓▓▓▓├█▓█▓▀Γ
,▄▓▓▓▓▓▓^██▓▓▓▓▓▓▓▓▓▓▓▓▄▀▄▄▓▓Ω▄
F▌▓▌█ⁿⁿⁿ ⁿ└▀ⁿ██▓▀▀▀▀▀▀▀▀▀▀▌▓▓▓▌
'ⁿ_ ,▄▄▄▄▄▄▄▄▄█_▄▄▄▄▄▄▄▄▄ⁿ▀~██
Γ ├▓▓▓▓▓█▀ⁿ█▌▓Ω]█▓▓▓▓▓▓ ├▓
│ ├▓▓▓▓▓▌≡,__▄▓▓▓█▓▓▓▓▓ ╞█~ Y,┐
╞ ├▓▓▓▓▓▄▄__^^▓▓▓▌▓▓▓▓▓ ▓ /▓▓▓
├▓▓▓▓▓▓▓▄▄═▄▓▓▓▓▓▓▓▓▓ π ⌐▄▓▓█║n
_ ├▓▓▓▓▓▓▓▓▓~▓▓▓▓▓▓▓▓▓▓ ▄4▄▓▓▓██
µ ├▓▓▓▓█▀█▓▓_▓▓███▓▓▓▓▓ ▓▓▓▓▓Ω4
µ ├▓▀▀L └ⁿ ▀ ▀ ▓▓█w ▓▓▓▀ìⁿ
⌐ ├_ τ▀▓ Σ⌐└
~ ├▓▓ ▄ _ ╒ ┌▄▓▓ Γ
├▓▓▓▌█═┴▓▄╒▀▄_▄▌═¢▓▓▓ ╚
⌠ ├▓▓▓▓▓ⁿ▄▓▓▓▓▓▓▓┐▄▓▓▓▓ └
Ω_.└██▓▀ⁿÇⁿ▀▀▀▀▀▀█≡▀▀▀▀▀ µ
ⁿ .▄▄▓▓▓▓▄▄┌ ╖__▓_▄▄▄▄▄*Oⁿ
û▌├▓█▓▓▓██ⁿ ¡▓▓▓▓▓▓▓▓█▓╪
╙Ω▀█ ▓██ⁿ └█▀██▀▓█├█Å
ⁿⁿ ⁿ ⁿ^
:::::::.. .,:::::: .,:: .::::::::.. :::. .-:. ::-.
;;;;'';;;; ;;;;'''' ';;;, .,;; ;;;;'';;;; ;;';; ';;. ;;;;'
[[[,/[[[' [[cccc '[[,,[[' [[[,/[[[' ,[[ '[[, '[[,[[['
$$$$$$c $$"""" Y$$$Pcccc $$$$$$c c$$$cc$$$c c$$"
888b "88bo,888oo,__ oP"''"Yo, 888b "88bo,888 888,,8P"'
MMMM "W" """"YUMMM,m" "Mm, MMMM "W" YMM ""'mM"
REX-Ray
-------
Binary: /usr/bin/rexray-controller
Flavor: controller
SemVer: 0.9.0+7+dirty
OsArch: Linux-x86_64
Branch: feature/build.sh
Commit: 53f1dc003b244c8623d88f23106384e094825747
Formed: Mon, 08 May 2017 20:34:09 UTC
libStorage
----------
SemVer: 0.6.0
OsArch: Linux-x86_64
Branch: (detached from fa055d6
Commit: fa055d6da595602715bdfd5541b4aa6d4dcbcbd9
Formed: Mon, 08 May 2017 20:33:45 UTC
INFO[0000] created pid file pid=1 time=1494276024504
DEBU[0000] host is empty; initiliazing default services time=1494276024509
INFO[0000] libStorage auto service mode enabled driver=vfs time=1494276024510
DEBU[0000] starting embedded libStorage server time=1494276024511
DEBU[0000] created scoped scope new=libstorage.server parentScopes=rexray,
INFO[0000] configured logging libstorage.logging.httpRequests=false libstorage.logging.httpResponses=false libstorage.logging.level=debug server=granite-turner-so time=1494276024538
DEBU[0000] parsed server auth property libstorage.server.auth.disabled=false server=granite-turner-so time=1494276024549
DEBU[0000] parsed server auth property libstorage.server.auth.key= server=granite-turner-so time=1494276024557
DEBU[0000] parsed server auth property libstorage.server.auth.alg=HS256 server=granite-turner-so time=1494276024560
DEBU[0000] parsed server auth property libstorage.server.auth.allow=[] server=granite-turner-so time=1494276024565
DEBU[0000] parsed server auth property libstorage.server.auth.deny=[] server=granite-turner-so time=1494276024569
INFO[0000] configured global auth libstorage.server.auth.alg=HS256 libstorage.server.auth.allow=[] libstorage.server.auth.deny=[] libstorage.server.auth.disabled=false libstorage.server.auth.key= server=granite-turner-so time=1494276024569
INFO[0000] initializing server server=granite-turner-so time=1494276024569
INFO[0000] initializing default endpoint autoEndpointMode=unix server=granite-turner-so time=1494276024574
INFO[0000] initializing auto unix endpoint endpoint=libstorage.server.endpoints.localhost server=granite-turner-so time=1494276024577
DEBU[0000] endpoint info address=unix:///var/run/libstorage/583875403.sock endpoint=libstorage.server.endpoints.localhost server=granite-turner-so time=1494276024577
INFO[0000] configured endpoint address=unix:///var/run/libstorage/583875403.sock endpoint=localhost server=granite-turner-so time=1494276024577
INFO[0000] server created server=granite-turner-so time=1494276024577
INFO[0000] initialized endpoints server=granite-turner-so time=1494276024577
INFO[0000] initializing server services server=granite-turner-so time=1494276024578
DEBU[0000] configured result schema validation enabled=false server=granite-turner-so time=1494276024579
DEBU[0000] got services map count=1 server=granite-turner-so time=1494276024581
DEBU[0000] processing service config server=granite-turner-so service=vfs time=1494276024581
DEBU[0000] getting scoped config for service scope=libstorage.server.services.vfs server=granite-turner-so service=vfs time=1494276024581
DEBU[0000] created scoped scope new=libstorage.server.services.vfs parentScopes=libstorage.server,rexray,
DEBU[0000] got driver name driverName=vfs server=granite-turner-so service=vfs time=1494276024584
INFO[0000] vfs.root server=granite-turner-so service=vfs storageDriver=vfs time=1494276024594 vfs.root.path=/var/lib/libstorage/vfs
DEBU[0000] parsed server auth property libstorage.server.auth.disabled=false server=granite-turner-so service=vfs time=1494276024619
DEBU[0000] parsed server auth property libstorage.server.auth.key= server=granite-turner-so service=vfs time=1494276024640
DEBU[0000] parsed server auth property libstorage.server.auth.alg=HS256 server=granite-turner-so service=vfs time=1494276024655
DEBU[0000] parsed server auth property libstorage.server.auth.allow=[] server=granite-turner-so service=vfs time=1494276024675
DEBU[0000] parsed server auth property libstorage.server.auth.deny=[] server=granite-turner-so service=vfs time=1494276024691
INFO[0000] configured service auth libstorage.server.auth.alg=HS256 libstorage.server.auth.allow=[] libstorage.server.auth.deny=[] libstorage.server.auth.disabled=false libstorage.server.auth.key= server=granite-turner-so service=vfs time=1494276024691
INFO[0000] created new service server=granite-turner-so service=vfs time=1494276024691
INFO[0000] initialized services server=granite-turner-so time=1494276024691
INFO[0000] initialized router len(routes)=3 router=executor-router server=granite-turner-so time=1494276024691
INFO[0000] initialized router len(routes)=4 router=help-router server=granite-turner-so time=1494276024691
INFO[0000] initialized router len(routes)=1 router=root-router server=granite-turner-so time=1494276024692
INFO[0000] initialized router len(routes)=2 router=service-router server=granite-turner-so time=1494276024692
INFO[0000] initialized router len(routes)=11 router=volume-router server=granite-turner-so time=1494276024692
INFO[0000] initialized router len(routes)=6 router=snapshot-router server=granite-turner-so time=1494276024692
INFO[0000] initialized router len(routes)=2 router=tasks-router server=granite-turner-so time=1494276024692
DEBU[0000] registered route host=unix:///var/run/libstorage/583875403.sock len(queries)=0 method=GET path=/executors queries=[] route=executors server=granite-turner-so time=1494276024692 tls=false
DEBU[0000] registered route host=unix:///var/run/libstorage/583875403.sock len(queries)=0 method=GET path=/executors/{executor} queries=[] route=executorInspect server=granite-turner-so time=1494276024693 tls=false
DEBU[0000] registered route host=unix:///var/run/libstorage/583875403.sock len(queries)=0 method=HEAD path=/executors/{executor} queries=[] route=executorHead server=granite-turner-so time=1494276024693 tls=false
DEBU[0000] registered route host=unix:///var/run/libstorage/583875403.sock len(queries)=0 method=GET path=/help queries=[] route=version server=granite-turner-so time=1494276024693 tls=false
DEBU[0000] registered route host=unix:///var/run/libstorage/583875403.sock len(queries)=0 method=GET path=/help/config queries=[] route=version server=granite-turner-so time=1494276024693 tls=false
DEBU[0000] registered route host=unix:///var/run/libstorage/583875403.sock len(queries)=0 method=GET path=/help/env queries=[] route=version server=granite-turner-so time=1494276024693 tls=false
DEBU[0000] registered route host=unix:///var/run/libstorage/583875403.sock len(queries)=0 method=GET path=/help/version queries=[] route=version server=granite-turner-so time=1494276024694 tls=false
DEBU[0000] registered route host=unix:///var/run/libstorage/583875403.sock len(queries)=0 method=GET path=/ queries=[] route=root server=granite-turner-so time=1494276024694 tls=false
DEBU[0000] registered route host=unix:///var/run/libstorage/583875403.sock len(queries)=0 method=GET path=/services queries=[] route=services server=granite-turner-so time=1494276024694 tls=false
DEBU[0000] registered route host=unix:///var/run/libstorage/583875403.sock len(queries)=0 method=GET path=/services/{service} queries=[] route=serviceInspect server=granite-turner-so time=1494276024694 tls=false
DEBU[0000] registered route host=unix:///var/run/libstorage/583875403.sock len(queries)=0 method=GET path=/volumes queries=[] route=volumes server=granite-turner-so time=1494276024694 tls=false
DEBU[0000] registered route host=unix:///var/run/libstorage/583875403.sock len(queries)=0 method=GET path=/volumes/{service} queries=[] route=volumesForService server=granite-turner-so time=1494276024695 tls=false
DEBU[0000] registered route host=unix:///var/run/libstorage/583875403.sock len(queries)=0 method=GET path=/volumes/{service}/{volumeID} queries=[] route=volumeInspect server=granite-turner-so time=1494276024695 tls=false
DEBU[0000] registered route host=unix:///var/run/libstorage/583875403.sock len(queries)=2 method=POST path=/volumes/{service} queries=[detach ] route=volumesDetachForService server=granite-turner-so time=1494276024695 tls=false
DEBU[0000] registered route host=unix:///var/run/libstorage/583875403.sock len(queries)=0 method=POST path=/volumes/{service} queries=[] route=volumeCreate server=granite-turner-so time=1494276024695 tls=false
DEBU[0000] registered route host=unix:///var/run/libstorage/583875403.sock len(queries)=2 method=POST path=/volumes/{service}/{volumeID} queries=[copy ] route=volumeCopy server=granite-turner-so time=1494276024696 tls=false
DEBU[0000] registered route host=unix:///var/run/libstorage/583875403.sock len(queries)=2 method=POST path=/volumes/{service}/{volumeID} queries=[snapshot ] route=volumeSnapshot server=granite-turner-so time=1494276024696 tls=false
DEBU[0000] registered route host=unix:///var/run/libstorage/583875403.sock len(queries)=2 method=POST path=/volumes/{service}/{volumeID} queries=[attach ] route=volumeAttach server=granite-turner-so time=1494276024696 tls=false
DEBU[0000] registered route host=unix:///var/run/libstorage/583875403.sock len(queries)=2 method=POST path=/volumes queries=[detach ] route=volumesDetachAll server=granite-turner-so time=1494276024696 tls=false
DEBU[0000] registered route host=unix:///var/run/libstorage/583875403.sock len(queries)=2 method=POST path=/volumes/{service}/{volumeID} queries=[detach ] route=volumeDetach server=granite-turner-so time=1494276024696 tls=false
DEBU[0000] registered route host=unix:///var/run/libstorage/583875403.sock len(queries)=0 method=DELETE path=/volumes/{service}/{volumeID} queries=[] route=volumeRemove server=granite-turner-so time=1494276024697 tls=false
DEBU[0000] registered route host=unix:///var/run/libstorage/583875403.sock len(queries)=0 method=GET path=/snapshots queries=[] route=snapshots server=granite-turner-so time=1494276024697 tls=false
DEBU[0000] registered route host=unix:///var/run/libstorage/583875403.sock len(queries)=0 method=GET path=/snapshots/{service} queries=[] route=snapshotsForService server=granite-turner-so time=1494276024697 tls=false
DEBU[0000] registered route host=unix:///var/run/libstorage/583875403.sock len(queries)=0 method=GET path=/snapshots/{service}/{snapshotID} queries=[] route=snapshotInspect server=granite-turner-so time=1494276024697 tls=false
DEBU[0000] registered route host=unix:///var/run/libstorage/583875403.sock len(queries)=2 method=POST path=/snapshots/{service}/{snapshotID} queries=[create ] route=snapshotCreate server=granite-turner-so time=1494276024697 tls=false
DEBU[0000] registered route host=unix:///var/run/libstorage/583875403.sock len(queries)=2 method=POST path=/snapshots/{service}/{snapshotID} queries=[copy ] route=snapshotCopy server=granite-turner-so time=1494276024697 tls=false
DEBU[0000] registered route host=unix:///var/run/libstorage/583875403.sock len(queries)=0 method=DELETE path=/snapshots/{service}/{snapshotID} queries=[] route=snapshotRemove server=granite-turner-so time=1494276024697 tls=false
DEBU[0000] registered route host=unix:///var/run/libstorage/583875403.sock len(queries)=0 method=GET path=/tasks queries=[] route=tasks server=granite-turner-so time=1494276024697 tls=false
DEBU[0000] registered route host=unix:///var/run/libstorage/583875403.sock len(queries)=0 method=GET path=/tasks/{taskID} queries=[] route=taskInspect server=granite-turner-so time=1494276024698 tls=false
INFO[0000] waiting for err or close signal server=granite-turner-so time=1494276024698
INFO[0000] api listening host=unix:///var/run/libstorage/583875403.sock server=granite-turner-so time=1494276024698 tls=false
INFO[0001] server started server=granite-turner-so time=1494276025700
DEBU[0001] got host from new server address server.Addrs()[0] specHost=unix:///var/run/libstorage/583875403.sock time=1494276025701
DEBU[0001] parseSafeHost - no change postParse=unix:///var/run/libstorage/583875403.sock preParse=unix:///var/run/libstorage/583875403.sock time=1494276025701
DEBU[0001] got host from new server address; updated specHost=unix:///var/run/libstorage/583875403.sock time=1494276025701
DEBU[0001] set host in context host=unix:///var/run/libstorage/583875403.sock time=1494276025701
DEBU[0001] set host in config host=unix:///var/run/libstorage/583875403.sock time=1494276025702
DEBU[0001] created spec file host=unix:///var/run/libstorage/583875403.sock path=/var/run/rexray/rexray.spec time=1494276025703
INFO[0001] service successfully initialized, waiting on stop signal time=1494276025703
[0]akutz@pax:rexray$ ./build.sh -t agent
building REX-Ray (this may take a few minutes)
Dockerfile........... ./.Dockerfile.tmp
Docker image ........ rexray/agent:0.9.0-7-dirty
REX-Ray Binary....... ./rexray-agent
Sending build context to Docker daemon 163.6MB
Step 1/17 : FROM golang:1.8.1
---> 6d0bfafa0452
Step 2/17 : ENV REXRAY rexray-agent
---> Running in f9adf4e2bee5
---> 82859099127e
Removing intermediate container f9adf4e2bee5
Step 3/17 : WORKDIR /go/src/github.com/codedellemc/rexray/
---> 25aa46676a95
Removing intermediate container 82f6c7597299
Step 4/17 : COPY . .
---> 544c1d0116e0
Removing intermediate container e19e4695a4eb
Step 5/17 : RUN DOCKER=1 DRIVERS= REXRAY_BUILD_TYPE=agent make
---> Running in 8fe79b24f5a5
make deps
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 608 0 608 0 0 1753 0 --:--:-- --:--:-- --:--:-- 1752
100 3690k 100 3690k 0 0 1575k 0 0:00:02 0:00:02 --:--:-- 2760k
/go/bin/glide install && touch glide.lock.d
[INFO] Downloading dependencies. Please wait...
[INFO] --> Fetching updates for github.com/akutz/gofig.
[INFO] --> Fetching updates for github.com/akutz/golf.
[INFO] --> Fetching updates for github.com/akutz/goof.
[INFO] --> Fetching updates for github.com/akutz/gotil.
[INFO] --> Fetching updates for cloud.google.com/go.
[INFO] --> Fetching updates for github.com/appropriate/go-virtualboxclient.
[INFO] --> Fetching updates for github.com/aws/aws-sdk-go.
[INFO] --> Fetching updates for github.com/Azure/go-autorest.
[INFO] --> Fetching updates for github.com/Azure/azure-sdk-for-go.
[INFO] --> Fetching updates for github.com/asaskevich/govalidator.
[INFO] --> Fetching updates for github.com/cesanta/ucl.
[INFO] --> Fetching updates for github.com/codedellemc/goisilon.
[INFO] --> Fetching updates for github.com/codedellemc/goscaleio.
[INFO] --> Fetching updates for github.com/codedellemc/gournal.
[INFO] --> Fetching updates for github.com/codedellemc/libstorage.
[INFO] --> Fetching updates for github.com/dgrijalva/jwt-go.
[INFO] --> Fetching updates for github.com/cesanta/validate-json.
[INFO] --> Fetching updates for github.com/digitalocean/godo.
[INFO] --> Fetching updates for github.com/fsnotify/fsnotify.
[INFO] --> Fetching updates for github.com/go-ini/ini.
[INFO] --> Fetching updates for github.com/go-yaml/yaml.
[INFO] --> Fetching updates for github.com/golang/protobuf.
[INFO] --> Fetching updates for github.com/google/go-querystring.
[INFO] --> Fetching updates for github.com/googleapis/gax-go.
[INFO] --> Fetching updates for github.com/gophercloud/gophercloud.
[INFO] --> Fetching updates for github.com/gorilla/context.
[INFO] --> Fetching updates for github.com/gorilla/mux.
[INFO] --> Fetching updates for github.com/hashicorp/hcl.
[INFO] --> Fetching updates for github.com/inconshreveable/mousetrap.
[INFO] --> Fetching updates for github.com/jmespath/go-jmespath.
[INFO] --> Fetching updates for github.com/jteeuwen/go-bindata.
[INFO] --> Fetching updates for github.com/kardianos/osext.
[INFO] --> Fetching updates for github.com/kr/fs.
[INFO] --> Fetching updates for github.com/magiconair/properties.
[INFO] --> Fetching updates for github.com/mitchellh/mapstructure.
[INFO] --> Fetching updates for github.com/pelletier/go-buffruneio.
[INFO] --> Fetching updates for github.com/pelletier/go-toml.
[INFO] --> Fetching updates for github.com/pkg/errors.
[INFO] --> Fetching updates for github.com/pkg/sftp.
[INFO] --> Fetching updates for github.com/rubiojr/go-vhd.
[INFO] --> Fetching updates for github.com/SermoDigital/jose.
[INFO] --> Fetching updates for github.com/Sirupsen/logrus.
[INFO] --> Fetching updates for github.com/spf13/afero.
[INFO] --> Fetching updates for github.com/spf13/cast.
[INFO] --> Fetching updates for github.com/spf13/cobra.
[INFO] --> Fetching updates for github.com/spf13/jwalterweatherman.
[INFO] --> Fetching updates for github.com/spf13/pflag.
[INFO] --> Fetching updates for github.com/spf13/viper.
[INFO] --> Fetching updates for github.com/tent/http-link-go.
[INFO] --> Fetching updates for golang.org/x/crypto.
[INFO] --> Fetching updates for golang.org/x/net.
[INFO] --> Fetching updates for golang.org/x/oauth2.
[INFO] --> Fetching updates for golang.org/x/sys.
[INFO] --> Fetching updates for golang.org/x/text.
[INFO] --> Fetching updates for google.golang.org/api.
[INFO] --> Fetching updates for google.golang.org/appengine.
[INFO] --> Fetching updates for google.golang.org/grpc.
[INFO] --> Fetching updates for gopkg.in/yaml.v1.
[INFO] --> Fetching updates for gopkg.in/yaml.v2.
[INFO] Setting references.
[INFO] --> Setting version for github.com/codedellemc/gournal to 4293aaf7e91602963a5777caef4b346e1cf21936.
[INFO] --> Setting version for github.com/fsnotify/fsnotify to fd9ec7deca8bf46ecd2a795baaacf2b3a9be1197.
[INFO] --> Setting version for github.com/go-ini/ini to 6e4869b434bd001f6983749881c7ead3545887d8.
[INFO] --> Setting version for github.com/cesanta/validate-json to 2f16017c76fc2403d143e93cea1e1b9526a01148.
[INFO] --> Setting version for github.com/cesanta/ucl to 97c016fce90e6af1b14558563ac46852167e6a76.
[INFO] --> Setting version for github.com/dgrijalva/jwt-go to 2268707a8f0843315e2004ee4f1d021dc08baedf.
[INFO] --> Setting version for github.com/akutz/gofig to 862741cad5edced279c57d1981e8e3e9fa54e8d5.
[INFO] --> Setting version for github.com/codedellemc/goisilon to 2ea94fb4dd4f34507c9d67d8d2e35dcc0edb5f89.
[INFO] --> Setting version for github.com/Azure/go-autorest to 8a25372bbfec739b8719a9e3987400d15ef9e179.
[INFO] --> Setting version for github.com/codedellemc/goscaleio to 485da3636bfcc8e70f74fe7bdc7cb25e5a6e4c4a.
[INFO] --> Setting version for github.com/codedellemc/libstorage to fa055d6da595602715bdfd5541b4aa6d4dcbcbd9.
[INFO] --> Setting version for github.com/akutz/goof to 72efb1916248a881f8d39e20b9709696c5eda708.
[INFO] --> Setting version for github.com/akutz/golf to 296de562c59e98534dc2d7b49f6ba310e3edb69d.
[INFO] --> Setting version for github.com/digitalocean/godo to 83908b1ddd666d08a9b020c697b55ae3895be2fd.
[INFO] --> Setting version for github.com/golang/protobuf to 8ee79997227bf9b34611aee7946ae64735e6fd93.
[INFO] --> Setting version for github.com/google/go-querystring to 53e6ce116135b80d037921a7fdd5138cf32d7a8a.
[INFO] --> Setting version for github.com/gorilla/context to 08b5f424b9271eedf6f9f0ce86cb9396ed337a42.
[INFO] --> Setting version for github.com/gophercloud/gophercloud to 9a5595b8ffe429439c63781cdc312c254e4ad990.
[INFO] --> Setting version for github.com/gorilla/mux to 757bef944d0f21880861c2dd9c871ca543023cba.
[INFO] --> Setting version for github.com/asaskevich/govalidator to 7b3beb6df3c42abd3509abfc3bcacc0fbfb7c877.
[INFO] --> Setting version for github.com/akutz/gotil to 6fa2e80bd3ac40f15788cfc3d12ebba49a0add92.
[INFO] --> Setting version for github.com/googleapis/gax-go to da06d194a00e19ce00d9011a13931c3f6f6887c7.
[INFO] --> Setting version for github.com/inconshreveable/mousetrap to 76626ae9c91c4f2a10f34cad8ce83ea42c93bb75.
[INFO] --> Setting version for github.com/hashicorp/hcl to f74cf8281543a0797d7b4ab7d88e76e7ba125308.
[INFO] --> Setting version for github.com/Azure/azure-sdk-for-go to 0984e0641ae43b89283223034574d6465be93bf4.
[INFO] --> Setting version for github.com/jteeuwen/go-bindata to 1dd44b25b79c4d9060e582e90798e4d72537818c.
[INFO] --> Setting version for github.com/kr/fs to 2788f0dbd16903de03cb8186e5c7d97b69ad387b.
[INFO] --> Setting version for github.com/magiconair/properties to 0723e352fa358f9322c938cc2dadda874e9151a9.
[INFO] --> Setting version for github.com/mitchellh/mapstructure to f3009df150dadf309fdee4a54ed65c124afad715.
[INFO] --> Setting version for github.com/pelletier/go-buffruneio to df1e16fde7fc330a0ca68167c23bf7ed6ac31d6d.
[INFO] --> Setting version for github.com/jmespath/go-jmespath to bd40a432e4c76585ef6b72d3fd96fb9b6dc7b68d.
[INFO] --> Setting version for github.com/aws/aws-sdk-go to 3f8f870ec9939e32b3372abf74d24e468bcd285d.
[INFO] --> Setting version for github.com/kardianos/osext to 9d302b58e975387d0b4d9be876622c86cefe64be.
[INFO] --> Setting version for github.com/appropriate/go-virtualboxclient to e0978ab2ed407095400a69d5933958dd260058cd.
[INFO] --> Setting version for github.com/pkg/sftp to 4d0e916071f68db74f8a73926335f809396d6b42.
[INFO] --> Setting version for github.com/rubiojr/go-vhd to 96a0db67ea8209453cfa694bdf03de202d6dd8f8.
[INFO] --> Setting version for github.com/go-yaml/yaml to bc35f417f8a7664a73d46c9def2933417c03019f.
[INFO] --> Setting version for github.com/pelletier/go-toml to 45932ad32dfdd20826f5671da37a5f3ce9f26a8d.
[INFO] --> Setting version for github.com/pkg/errors to 248dadf4e9068a0b3e79f02ed0a610d935de5302.
[INFO] --> Setting version for github.com/spf13/pflag to d16db1e50e33dff1b6cdf37596cef36742128670.
[INFO] --> Setting version for github.com/spf13/cast to 2580bc98dc0e62908119e4737030cc2fdfc45e4c.
[INFO] --> Setting version for github.com/spf13/cobra to 7be4beda01ec05d0b93d80b3facd2b6f44080d94.
[INFO] --> Setting version for github.com/Sirupsen/logrus to 5f376aa629ac60c3215cc368e674bd996093a01a.
[INFO] --> Setting version for github.com/SermoDigital/jose to f6df55f235c24f236d11dbcf665249a59ac2021f.
[INFO] --> Setting version for github.com/spf13/jwalterweatherman to 33c24e77fb80341fe7130ee7c594256ff08ccc46.
[INFO] --> Setting version for github.com/spf13/afero to 52e4a6cfac46163658bd4f123c49b6ee7dc75f78.
[INFO] --> Setting version for golang.org/x/crypto to 453249f01cfeb54c3d549ddb75ff152ca243f9d8.
[INFO] --> Setting version for github.com/spf13/viper to 651d9d916abc3c3d6a91a12549495caba5edffd2.
[INFO] --> Setting version for github.com/tent/http-link-go to ac974c61c2f990f4115b119354b5e0b47550e888.
[INFO] --> Setting version for golang.org/x/net to b336a971b799939dd16ae9b1df8334cb8b977c4d.
[INFO] --> Setting version for golang.org/x/text to 85c29909967d7f171f821e7a42e7b7af76fb9598.
[INFO] --> Setting version for google.golang.org/api to d61af0b67e5c8213e8c260ac29a762487bad020d.
[INFO] --> Setting version for cloud.google.com/go to e4de3dc4493f142c5833f3185e1182025a61f805.
[INFO] --> Setting version for gopkg.in/yaml.v1 to bc35f417f8a7664a73d46c9def2933417c03019f.
[INFO] --> Setting version for gopkg.in/yaml.v2 to bc35f417f8a7664a73d46c9def2933417c03019f.
[INFO] --> Setting version for google.golang.org/appengine to 2e4a801b39fc199db615bfca7d0b9f8cd9580599.
[INFO] --> Setting version for golang.org/x/oauth2 to 314dd2c0bf3ebd592ec0d20847d27e79d0dbe8dd.
[INFO] --> Setting version for golang.org/x/sys to 002cbb5f952456d0c50e0d2aff17ea5eca716979.
[INFO] --> Setting version for google.golang.org/grpc to cbcceb2942a489498cf22b2f918536e819d33f0a.
go get -u github.com/alecthomas/gometalinter
/go/bin/gometalinter --install --update && touch .gometalinter.tools.d
Installing:
unused
goconst
gotype
lll
safesql
staticcheck
unconvert
varcheck
dupl
goimports
golint
interfacer
structcheck
unparam
aligncheck
deadcode
errcheck
gocyclo
gosimple
gas
ineffassign
misspell
make build
make build-libstorage
cd vendor/github.com/codedellemc/libstorage && \
BUILD_TAGS="gofig pflag libstorage_integration_driver_linux scripts_generated rexray_build_type_agent" make api/api_generated.go && \
cd -
echo generating api/api_generated.go
generating api/api_generated.go
/go/src/github.com/codedellemc/rexray
make build-generated
make ./core/core_generated.go
echo generating core/core_generated.go
generating core/core_generated.go
make build-rexray-agent
GOOS=linux GOARCH=amd64 go install -tags "gofig pflag libstorage_integration_driver_linux scripts_generated rexray_build_type_agent" ./core
GOOS=linux GOARCH=amd64 go install -tags "gofig pflag libstorage_integration_driver_linux scripts_generated rexray_build_type_agent" ./util
GOOS=linux GOARCH=amd64 go install -tags "gofig pflag libstorage_integration_driver_linux scripts_generated rexray_build_type_agent" .
GOOS=linux GOARCH=amd64 go install -tags "gofig pflag libstorage_integration_driver_linux scripts_generated rexray_build_type_agent" ./cli/cli/template
GOOS=linux GOARCH=amd64 go install -tags "gofig pflag libstorage_integration_driver_linux scripts_generated rexray_build_type_agent" ./cli/cli/term
GOOS=linux GOARCH=amd64 go install -tags "gofig pflag libstorage_integration_driver_linux scripts_generated rexray_build_type_agent" ./daemon/module
GOOS=linux GOARCH=amd64 go install -tags "gofig pflag libstorage_integration_driver_linux scripts_generated rexray_build_type_agent" ./daemon/module/docker/volumedriver
GOOS=linux GOARCH=amd64 go install -tags "gofig pflag libstorage_integration_driver_linux scripts_generated rexray_build_type_agent" ./daemon
GOOS=linux GOARCH=amd64 go install -tags "gofig pflag libstorage_integration_driver_linux scripts_generated rexray_build_type_agent" ./cli/cli
GOOS=linux GOARCH=amd64 go install -tags "gofig pflag libstorage_integration_driver_linux scripts_generated rexray_build_type_agent" ./cli/rexray
GOOS=linux GOARCH=amd64 go install -tags "gofig pflag libstorage_integration_driver_linux scripts_generated rexray_build_type_agent" ./cli/rexray/rexray-agent
---> 7bf02aa84482
Removing intermediate container 8fe79b24f5a5
Step 6/17 : RUN /go/bin/$REXRAY version
---> Running in 088237d453ca
REX-Ray
-------
Binary: /go/bin/rexray-agent
Flavor: agent
SemVer: 0.9.0+7+dirty
OsArch: Linux-x86_64
Branch: feature/build.sh
Commit: 864a5336bbd23cc579950c84582ffd6641e0dd6c
Formed: Mon, 08 May 2017 20:42:07 UTC
libStorage
----------
SemVer: 0.6.0
OsArch: Linux-x86_64
Branch: (detached from fa055d6
Commit: fa055d6da595602715bdfd5541b4aa6d4dcbcbd9
Formed: Mon, 08 May 2017 20:42:03 UTC
---> a477c08e7ea8
Removing intermediate container 088237d453ca
Step 7/17 : FROM alpine:3.5
---> 4a415e366388
Step 8/17 : LABEL build "agent"
---> Running in b0ea9478fd3d
---> d8fab0f25881
Removing intermediate container b0ea9478fd3d
Step 9/17 : LABEL drivers ""
---> Running in 8e30bccd2724
---> e8234b3cece8
Removing intermediate container 8e30bccd2724
Step 10/17 : LABEL version "0.9.0+7+dirty"
---> Running in 10eacf28d6d3
---> a598af1e20c7
Removing intermediate container 10eacf28d6d3
Step 11/17 : COPY --from=0 /go/bin/$REXRAY /usr/bin/$REXRAY
---> eeb32f71bea1
Removing intermediate container 603163021b70
Step 12/17 : COPY .Dockerfile.tmp /Dockerfile
---> 48899a2ed2d5
Removing intermediate container 10f46b49bc7e
Step 13/17 : RUN apk update
---> Running in 6a701d7e6e6c
fetch http://dl-cdn.alpinelinux.org/alpine/v3.5/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.5/community/x86_64/APKINDEX.tar.gz
v3.5.2-71-g1050b6acec [http://dl-cdn.alpinelinux.org/alpine/v3.5/main]
v3.5.2-70-gec9876f375 [http://dl-cdn.alpinelinux.org/alpine/v3.5/community]
OK: 7961 distinct packages available
---> 78e6a1107c5d
Removing intermediate container 6a701d7e6e6c
Step 14/17 : RUN apk add xfsprogs e2fsprogs ca-certificates
---> Running in d3a813e3532d
(1/7) Installing ca-certificates (20161130-r1)
(2/7) Installing libuuid (2.28.2-r1)
(3/7) Installing libblkid (2.28.2-r1)
(4/7) Installing libcom_err (1.43.3-r0)
(5/7) Installing e2fsprogs-libs (1.43.3-r0)
(6/7) Installing e2fsprogs (1.43.3-r0)
(7/7) Installing xfsprogs (4.5.0-r0)
Executing busybox-1.25.1-r0.trigger
Executing ca-certificates-20161130-r1.trigger
OK: 7 MiB in 18 packages
---> 6c7c629af03c
Removing intermediate container d3a813e3532d
Step 15/17 : RUN mkdir -p /lib64 && ln -s /lib/libc.musl-x86_64.so.1 /lib64/ld-linux-x86-64.so.2
---> Running in e17204dfe9bc
---> 1423a95cd2cc
Removing intermediate container e17204dfe9bc
Step 16/17 : RUN mkdir -p /etc/rexray /run/docker/plugins /var/lib/libstorage/volumes
---> Running in a14f172ef09c
---> 7c49ca1e77f8
Removing intermediate container a14f172ef09c
Step 17/17 : ENTRYPOINT /usr/bin/rexray-agent
---> Running in f0086e4e3f1f
---> b4c5f868d83a
Removing intermediate container f0086e4e3f1f
Successfully built b4c5f868d83a
Successfully tagged rexray/agent:0.9.0-7-dirty
f895836d67c3ef7f543b757c7da8ee613be25888586e7112a7bda28c542f9925
successfully built REX-Ray!
Docker image is...... rexray/agent:0.9.0-7-dirty
REX-Ray binary is.... ./rexray-agent
[0]akutz@pax:rexray$
[1]akutz@pax:rexray$ ./build.sh -d ebs rexray-ebs
building REX-Ray (this may take a few minutes)
Dockerfile........... ./.Dockerfile.tmp
Docker image ........ rexray/rexray:0.9.0-7-dirty
REX-Ray Binary....... ./rexray-ebs
Sending build context to Docker daemon 177.6MB
Step 1/17 : FROM golang:1.8.1
---> 6d0bfafa0452
Step 2/17 : ENV REXRAY rexray
---> Using cache
---> 1d7acbaebab8
Step 3/17 : WORKDIR /go/src/github.com/codedellemc/rexray/
---> Using cache
---> 000214839fac
Step 4/17 : COPY . .
---> 3e6a92b55967
Removing intermediate container 35e8bdef25a3
Step 5/17 : RUN DOCKER=1 DRIVERS=ebs REXRAY_BUILD_TYPE=client+agent+controller make
---> Running in 2fe274bb6624
make deps
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 608 0 608 0 0 1802 0 --:--:-- --:--:-- --:--:-- 1804
100 3690k 100 3690k 0 0 1687k 0 0:00:02 0:00:02 --:--:-- 3371k
/go/bin/glide install && touch glide.lock.d
[INFO] Downloading dependencies. Please wait...
[INFO] --> Fetching updates for cloud.google.com/go.
[INFO] --> Fetching updates for github.com/akutz/gofig.
[INFO] --> Fetching updates for github.com/akutz/golf.
[INFO] --> Fetching updates for github.com/appropriate/go-virtualboxclient.
[INFO] --> Fetching updates for github.com/akutz/goof.
[INFO] --> Fetching updates for github.com/akutz/gotil.
[INFO] --> Fetching updates for github.com/aws/aws-sdk-go.
[INFO] --> Fetching updates for github.com/Azure/azure-sdk-for-go.
[INFO] --> Fetching updates for github.com/Azure/go-autorest.
[INFO] --> Fetching updates for github.com/asaskevich/govalidator.
[INFO] --> Fetching updates for github.com/cesanta/ucl.
[INFO] --> Fetching updates for github.com/cesanta/validate-json.
[INFO] --> Fetching updates for github.com/codedellemc/goisilon.
[INFO] --> Fetching updates for github.com/codedellemc/goscaleio.
[INFO] --> Fetching updates for github.com/codedellemc/gournal.
[INFO] --> Fetching updates for github.com/codedellemc/libstorage.
[INFO] --> Fetching updates for github.com/dgrijalva/jwt-go.
[INFO] --> Fetching updates for github.com/digitalocean/godo.
[INFO] --> Fetching updates for github.com/fsnotify/fsnotify.
[INFO] --> Fetching updates for github.com/go-ini/ini.
[INFO] --> Fetching updates for github.com/go-yaml/yaml.
[INFO] --> Fetching updates for github.com/golang/protobuf.
[INFO] --> Fetching updates for github.com/google/go-querystring.
[INFO] --> Fetching updates for github.com/googleapis/gax-go.
[INFO] --> Fetching updates for github.com/gophercloud/gophercloud.
[INFO] --> Fetching updates for github.com/gorilla/context.
[INFO] --> Fetching updates for github.com/gorilla/mux.
[INFO] --> Fetching updates for github.com/hashicorp/hcl.
[INFO] --> Fetching updates for github.com/inconshreveable/mousetrap.
[INFO] --> Fetching updates for github.com/jmespath/go-jmespath.
[INFO] --> Fetching updates for github.com/jteeuwen/go-bindata.
[INFO] --> Fetching updates for github.com/kardianos/osext.
[INFO] --> Fetching updates for github.com/kr/fs.
[INFO] --> Fetching updates for github.com/magiconair/properties.
[INFO] --> Fetching updates for github.com/mitchellh/mapstructure.
[INFO] --> Fetching updates for github.com/pelletier/go-buffruneio.
[INFO] --> Fetching updates for github.com/pelletier/go-toml.
[INFO] --> Fetching updates for github.com/pkg/errors.
[INFO] --> Fetching updates for github.com/pkg/sftp.
[INFO] --> Fetching updates for github.com/rubiojr/go-vhd.
[INFO] --> Fetching updates for github.com/SermoDigital/jose.
[INFO] --> Fetching updates for github.com/Sirupsen/logrus.
[INFO] --> Fetching updates for github.com/spf13/afero.
[INFO] --> Fetching updates for github.com/spf13/cast.
[INFO] --> Fetching updates for github.com/spf13/cobra.
[INFO] --> Fetching updates for github.com/spf13/jwalterweatherman.
[INFO] --> Fetching updates for github.com/spf13/pflag.
[INFO] --> Fetching updates for github.com/spf13/viper.
[INFO] --> Fetching updates for github.com/tent/http-link-go.
[INFO] --> Fetching updates for golang.org/x/crypto.
[INFO] --> Fetching updates for golang.org/x/net.
[INFO] --> Fetching updates for golang.org/x/oauth2.
[INFO] --> Fetching updates for golang.org/x/sys.
[INFO] --> Fetching updates for golang.org/x/text.
[INFO] --> Fetching updates for google.golang.org/api.
[INFO] --> Fetching updates for google.golang.org/appengine.
[INFO] --> Fetching updates for google.golang.org/grpc.
[INFO] --> Fetching updates for gopkg.in/yaml.v1.
[INFO] --> Fetching updates for gopkg.in/yaml.v2.
[INFO] Setting references.
[INFO] --> Setting version for github.com/Azure/azure-sdk-for-go to 0984e0641ae43b89283223034574d6465be93bf4.
[INFO] --> Setting version for github.com/fsnotify/fsnotify to fd9ec7deca8bf46ecd2a795baaacf2b3a9be1197.
[INFO] --> Setting version for github.com/akutz/goof to 72efb1916248a881f8d39e20b9709696c5eda708.
[INFO] --> Setting version for github.com/codedellemc/goscaleio to 485da3636bfcc8e70f74fe7bdc7cb25e5a6e4c4a.
[INFO] --> Setting version for github.com/asaskevich/govalidator to 7b3beb6df3c42abd3509abfc3bcacc0fbfb7c877.
[INFO] --> Setting version for github.com/codedellemc/libstorage to fa055d6da595602715bdfd5541b4aa6d4dcbcbd9.
[INFO] --> Setting version for github.com/cesanta/validate-json to 2f16017c76fc2403d143e93cea1e1b9526a01148.
[INFO] --> Setting version for github.com/codedellemc/goisilon to 2ea94fb4dd4f34507c9d67d8d2e35dcc0edb5f89.
[INFO] --> Setting version for github.com/codedellemc/gournal to 4293aaf7e91602963a5777caef4b346e1cf21936.
[INFO] --> Setting version for github.com/dgrijalva/jwt-go to 2268707a8f0843315e2004ee4f1d021dc08baedf.
[INFO] --> Setting version for github.com/appropriate/go-virtualboxclient to e0978ab2ed407095400a69d5933958dd260058cd.
[INFO] --> Setting version for github.com/Azure/go-autorest to 8a25372bbfec739b8719a9e3987400d15ef9e179.
[INFO] --> Setting version for github.com/cesanta/ucl to 97c016fce90e6af1b14558563ac46852167e6a76.
[INFO] --> Setting version for github.com/aws/aws-sdk-go to 3f8f870ec9939e32b3372abf74d24e468bcd285d.
[INFO] --> Setting version for github.com/akutz/golf to 296de562c59e98534dc2d7b49f6ba310e3edb69d.
[INFO] --> Setting version for github.com/go-ini/ini to 6e4869b434bd001f6983749881c7ead3545887d8.
[INFO] --> Setting version for github.com/akutz/gofig to 862741cad5edced279c57d1981e8e3e9fa54e8d5.
[INFO] --> Setting version for github.com/akutz/gotil to 6fa2e80bd3ac40f15788cfc3d12ebba49a0add92.
[INFO] --> Setting version for github.com/digitalocean/godo to 83908b1ddd666d08a9b020c697b55ae3895be2fd.
[INFO] --> Setting version for github.com/golang/protobuf to 8ee79997227bf9b34611aee7946ae64735e6fd93.
[INFO] --> Setting version for github.com/go-yaml/yaml to bc35f417f8a7664a73d46c9def2933417c03019f.
[INFO] --> Setting version for github.com/gorilla/context to 08b5f424b9271eedf6f9f0ce86cb9396ed337a42.
[INFO] --> Setting version for github.com/gorilla/mux to 757bef944d0f21880861c2dd9c871ca543023cba.
[INFO] --> Setting version for github.com/googleapis/gax-go to da06d194a00e19ce00d9011a13931c3f6f6887c7.
[INFO] --> Setting version for github.com/gophercloud/gophercloud to 9a5595b8ffe429439c63781cdc312c254e4ad990.
[INFO] --> Setting version for github.com/google/go-querystring to 53e6ce116135b80d037921a7fdd5138cf32d7a8a.
[INFO] --> Setting version for github.com/jteeuwen/go-bindata to 1dd44b25b79c4d9060e582e90798e4d72537818c.
[INFO] --> Setting version for github.com/pelletier/go-buffruneio to df1e16fde7fc330a0ca68167c23bf7ed6ac31d6d.
[INFO] --> Setting version for github.com/jmespath/go-jmespath to bd40a432e4c76585ef6b72d3fd96fb9b6dc7b68d.
[INFO] --> Setting version for github.com/hashicorp/hcl to f74cf8281543a0797d7b4ab7d88e76e7ba125308.
[INFO] --> Setting version for github.com/inconshreveable/mousetrap to 76626ae9c91c4f2a10f34cad8ce83ea42c93bb75.
[INFO] --> Setting version for github.com/kr/fs to 2788f0dbd16903de03cb8186e5c7d97b69ad387b.
[INFO] --> Setting version for github.com/kardianos/osext to 9d302b58e975387d0b4d9be876622c86cefe64be.
[INFO] --> Setting version for github.com/magiconair/properties to 0723e352fa358f9322c938cc2dadda874e9151a9.
[INFO] --> Setting version for github.com/mitchellh/mapstructure to f3009df150dadf309fdee4a54ed65c124afad715.
[INFO] --> Setting version for github.com/pelletier/go-toml to 45932ad32dfdd20826f5671da37a5f3ce9f26a8d.
[INFO] --> Setting version for github.com/Sirupsen/logrus to 5f376aa629ac60c3215cc368e674bd996093a01a.
[INFO] --> Setting version for github.com/pkg/sftp to 4d0e916071f68db74f8a73926335f809396d6b42.
[INFO] --> Setting version for github.com/spf13/cobra to 7be4beda01ec05d0b93d80b3facd2b6f44080d94.
[INFO] --> Setting version for github.com/rubiojr/go-vhd to 96a0db67ea8209453cfa694bdf03de202d6dd8f8.
[INFO] --> Setting version for github.com/pkg/errors to 248dadf4e9068a0b3e79f02ed0a610d935de5302.
[INFO] --> Setting version for github.com/spf13/afero to 52e4a6cfac46163658bd4f123c49b6ee7dc75f78.
[INFO] --> Setting version for github.com/spf13/cast to 2580bc98dc0e62908119e4737030cc2fdfc45e4c.
[INFO] --> Setting version for github.com/SermoDigital/jose to f6df55f235c24f236d11dbcf665249a59ac2021f.
[INFO] --> Setting version for golang.org/x/crypto to 453249f01cfeb54c3d549ddb75ff152ca243f9d8.
[INFO] --> Setting version for github.com/spf13/viper to 651d9d916abc3c3d6a91a12549495caba5edffd2.
[INFO] --> Setting version for github.com/spf13/jwalterweatherman to 33c24e77fb80341fe7130ee7c594256ff08ccc46.
[INFO] --> Setting version for github.com/spf13/pflag to d16db1e50e33dff1b6cdf37596cef36742128670.
[INFO] --> Setting version for github.com/tent/http-link-go to ac974c61c2f990f4115b119354b5e0b47550e888.
[INFO] --> Setting version for golang.org/x/net to b336a971b799939dd16ae9b1df8334cb8b977c4d.
[INFO] --> Setting version for gopkg.in/yaml.v1 to bc35f417f8a7664a73d46c9def2933417c03019f.
[INFO] --> Setting version for golang.org/x/text to 85c29909967d7f171f821e7a42e7b7af76fb9598.
[INFO] --> Setting version for cloud.google.com/go to e4de3dc4493f142c5833f3185e1182025a61f805.
[INFO] --> Setting version for golang.org/x/oauth2 to 314dd2c0bf3ebd592ec0d20847d27e79d0dbe8dd.
[INFO] --> Setting version for gopkg.in/yaml.v2 to bc35f417f8a7664a73d46c9def2933417c03019f.
[INFO] --> Setting version for google.golang.org/api to d61af0b67e5c8213e8c260ac29a762487bad020d.
[INFO] --> Setting version for google.golang.org/appengine to 2e4a801b39fc199db615bfca7d0b9f8cd9580599.
[INFO] --> Setting version for google.golang.org/grpc to cbcceb2942a489498cf22b2f918536e819d33f0a.
[INFO] --> Setting version for golang.org/x/sys to 002cbb5f952456d0c50e0d2aff17ea5eca716979.
GOOS=linux GOARCH=amd64 go install github.com/codedellemc/rexray/vendor/github.com/jteeuwen/go-bindata/go-bindata
go get -u github.com/alecthomas/gometalinter
/go/bin/gometalinter --install --update && touch .gometalinter.tools.d
Installing:
gosimple
interfacer
goconst
goimports
safesql
staticcheck
unconvert
unparam
misspell
structcheck
aligncheck
errcheck
gas
golint
gotype
lll
unused
varcheck
deadcode
dupl
gocyclo
ineffassign
make build
make build-libstorage
cd vendor/github.com/codedellemc/libstorage && \
BUILD_TAGS="gofig pflag libstorage_integration_driver_linux scripts_generated libstorage_storage_driver libstorage_storage_executor libstorage_storage_driver_ebs libstorage_storage_executor_ebs" make api/api_generated.go && \
cd -
echo generating api/api_generated.go
generating api/api_generated.go
/go/src/github.com/codedellemc/rexray
cd vendor/github.com/codedellemc/libstorage && \
BUILD_TAGS="gofig pflag libstorage_integration_driver_linux scripts_generated libstorage_storage_driver libstorage_storage_executor libstorage_storage_driver_ebs libstorage_storage_executor_ebs" make api/server/executors/executors_generated.go && \
cd -
GOOS=linux GOARCH=amd64 go install -tags "gofig libstorage_integration_driver_linux libstorage_storage_driver libstorage_storage_driver_ebs libstorage_storage_executor libstorage_storage_executor_ebs pflag scripts_generated" ./api/types
GOOS=linux GOARCH=amd64 go install -tags "gofig libstorage_integration_driver_linux libstorage_storage_driver libstorage_storage_driver_ebs libstorage_storage_executor libstorage_storage_executor_ebs pflag scripts_generated" ./api/context
GOOS=linux GOARCH=amd64 go install -tags "gofig libstorage_integration_driver_linux libstorage_storage_driver libstorage_storage_driver_ebs libstorage_storage_executor libstorage_storage_executor_ebs pflag scripts_generated" ./api/utils
GOOS=linux GOARCH=amd64 go install -tags "gofig libstorage_integration_driver_linux libstorage_storage_driver libstorage_storage_driver_ebs libstorage_storage_executor libstorage_storage_executor_ebs pflag scripts_generated" ./api/registry
GOOS=linux GOARCH=amd64 go install -tags "gofig libstorage_integration_driver_linux libstorage_storage_driver libstorage_storage_driver_ebs libstorage_storage_executor libstorage_storage_executor_ebs pflag scripts_generated" ./api/utils/config
GOOS=linux GOARCH=amd64 go install -tags "gofig libstorage_integration_driver_linux libstorage_storage_driver libstorage_storage_driver_ebs libstorage_storage_executor libstorage_storage_executor_ebs pflag scripts_generated" ./imports/config
GOOS=linux GOARCH=amd64 go install -tags "gofig libstorage_integration_driver_linux libstorage_storage_driver libstorage_storage_driver_ebs libstorage_storage_executor libstorage_storage_executor_ebs pflag scripts_generated" ./drivers/storage/ebs
GOOS=linux GOARCH=amd64 go install -tags "gofig libstorage_integration_driver_linux libstorage_storage_driver libstorage_storage_driver_ebs libstorage_storage_executor libstorage_storage_executor_ebs pflag scripts_generated" ./drivers/storage/ebs/utils
GOOS=linux GOARCH=amd64 go install -tags "gofig libstorage_integration_driver_linux libstorage_storage_driver libstorage_storage_driver_ebs libstorage_storage_executor libstorage_storage_executor_ebs pflag scripts_generated" ./drivers/storage/ebs/executor
GOOS=linux GOARCH=amd64 go install -tags "gofig libstorage_integration_driver_linux libstorage_storage_driver libstorage_storage_driver_ebs libstorage_storage_executor libstorage_storage_executor_ebs pflag scripts_generated" ./imports/executors
GOOS=linux GOARCH=amd64 go install -tags "gofig libstorage_integration_driver_linux libstorage_storage_driver libstorage_storage_driver_ebs libstorage_storage_executor libstorage_storage_executor_ebs pflag scripts_generated" ./cli/lsx
GOOS=linux GOARCH=amd64 go install -tags "gofig libstorage_integration_driver_linux libstorage_storage_driver libstorage_storage_driver_ebs libstorage_storage_executor libstorage_storage_executor_ebs pflag scripts_generated" ./cli/lsx/lsx-linux
/go/bin/go-bindata -md5checksum -pkg executors -prefix api/server/executors/bin -o api/server/executors/executors_generated.go api/server/executors/bin/...
/go/src/github.com/codedellemc/rexray
make build-generated
make ./core/core_generated.go
echo generating core/core_generated.go
generating core/core_generated.go
make build-rexray
GOOS=linux GOARCH=amd64 go install -tags "gofig pflag libstorage_integration_driver_linux scripts_generated libstorage_storage_driver libstorage_storage_executor libstorage_storage_driver_ebs libstorage_storage_executor_ebs" ./core
GOOS=linux GOARCH=amd64 go install -tags "gofig pflag libstorage_integration_driver_linux scripts_generated libstorage_storage_driver libstorage_storage_executor libstorage_storage_driver_ebs libstorage_storage_executor_ebs" ./util
GOOS=linux GOARCH=amd64 go install -tags "gofig pflag libstorage_integration_driver_linux scripts_generated libstorage_storage_driver libstorage_storage_executor libstorage_storage_driver_ebs libstorage_storage_executor_ebs" .
GOOS=linux GOARCH=amd64 go install -tags "gofig pflag libstorage_integration_driver_linux scripts_generated libstorage_storage_driver libstorage_storage_executor libstorage_storage_driver_ebs libstorage_storage_executor_ebs" ./cli/cli/template
GOOS=linux GOARCH=amd64 go install -tags "gofig pflag libstorage_integration_driver_linux scripts_generated libstorage_storage_driver libstorage_storage_executor libstorage_storage_driver_ebs libstorage_storage_executor_ebs" ./cli/cli/term
GOOS=linux GOARCH=amd64 go install -tags "gofig pflag libstorage_integration_driver_linux scripts_generated libstorage_storage_driver libstorage_storage_executor libstorage_storage_driver_ebs libstorage_storage_executor_ebs" ./daemon/module
GOOS=linux GOARCH=amd64 go install -tags "gofig pflag libstorage_integration_driver_linux scripts_generated libstorage_storage_driver libstorage_storage_executor libstorage_storage_driver_ebs libstorage_storage_executor_ebs" ./daemon/module/docker/volumedriver
GOOS=linux GOARCH=amd64 go install -tags "gofig pflag libstorage_integration_driver_linux scripts_generated libstorage_storage_driver libstorage_storage_executor libstorage_storage_driver_ebs libstorage_storage_executor_ebs" ./daemon
/go/bin/go-bindata -ignore 'test(?:\.sh)?' -tags "scripts_generated,!rexray_build_type_agent,!rexray_build_type_controller" -md5checksum -pkg scripts -prefix scripts/scripts -o scripts/scripts_generated.go scripts/scripts/...
GOOS=linux GOARCH=amd64 go install -tags "gofig pflag libstorage_integration_driver_linux scripts_generated libstorage_storage_driver libstorage_storage_executor libstorage_storage_driver_ebs libstorage_storage_executor_ebs" ./scripts
GOOS=linux GOARCH=amd64 go install -tags "gofig pflag libstorage_integration_driver_linux scripts_generated libstorage_storage_driver libstorage_storage_executor libstorage_storage_driver_ebs libstorage_storage_executor_ebs" ./cli/cli
GOOS=linux GOARCH=amd64 go install -tags "gofig pflag libstorage_integration_driver_linux scripts_generated libstorage_storage_driver libstorage_storage_executor libstorage_storage_driver_ebs libstorage_storage_executor_ebs" ./cli/rexray
GOOS=linux GOARCH=amd64 go install -tags "gofig pflag libstorage_integration_driver_linux scripts_generated libstorage_storage_driver libstorage_storage_executor libstorage_storage_driver_ebs libstorage_storage_executor_ebs" ./cli/rexray/rexray
---> ce8ed45b7936
Removing intermediate container 2fe274bb6624
Step 6/17 : RUN /go/bin/$REXRAY version
---> Running in 8b08e095573c
REX-Ray
-------
Binary: /go/bin/rexray
Flavor: client+agent+controller
SemVer: 0.9.0+7+dirty
OsArch: Linux-x86_64
Branch: feature/build.sh
Commit: 864a5336bbd23cc579950c84582ffd6641e0dd6c
Formed: Mon, 08 May 2017 20:44:21 UTC
libStorage
----------
SemVer: 0.6.0
OsArch: Linux-x86_64
Branch: (detached from fa055d6
Commit: fa055d6da595602715bdfd5541b4aa6d4dcbcbd9
Formed: Mon, 08 May 2017 20:44:07 UTC
---> 5ded95eb1226
Removing intermediate container 8b08e095573c
Step 7/17 : FROM alpine:3.5
---> 4a415e366388
Step 8/17 : LABEL build "client+agent+controller"
---> Running in 72e12558701a
---> ff1d24c62db1
Removing intermediate container 72e12558701a
Step 9/17 : LABEL drivers "ebs"
---> Running in bdbb3593f89d
---> 1c11b170f411
Removing intermediate container bdbb3593f89d
Step 10/17 : LABEL version "0.9.0+7+dirty"
---> Running in 4a56f39a286c
---> e2c87b48bbd3
Removing intermediate container 4a56f39a286c
Step 11/17 : COPY --from=0 /go/bin/$REXRAY /usr/bin/$REXRAY
---> 3ff5f06aff5f
Removing intermediate container 0dc667df63b0
Step 12/17 : COPY .Dockerfile.tmp /Dockerfile
---> 0dd8deb6fd7f
Removing intermediate container 4e44d7c7de18
Step 13/17 : RUN apk update
---> Running in 9ac20ef1623e
fetch http://dl-cdn.alpinelinux.org/alpine/v3.5/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.5/community/x86_64/APKINDEX.tar.gz
v3.5.2-71-g1050b6acec [http://dl-cdn.alpinelinux.org/alpine/v3.5/main]
v3.5.2-70-gec9876f375 [http://dl-cdn.alpinelinux.org/alpine/v3.5/community]
OK: 7961 distinct packages available
---> dfe9918f96fd
Removing intermediate container 9ac20ef1623e
Step 14/17 : RUN apk add xfsprogs e2fsprogs ca-certificates
---> Running in a62d1b4bdeb7
(1/7) Installing ca-certificates (20161130-r1)
(2/7) Installing libuuid (2.28.2-r1)
(3/7) Installing libblkid (2.28.2-r1)
(4/7) Installing libcom_err (1.43.3-r0)
(5/7) Installing e2fsprogs-libs (1.43.3-r0)
(6/7) Installing e2fsprogs (1.43.3-r0)
(7/7) Installing xfsprogs (4.5.0-r0)
Executing busybox-1.25.1-r0.trigger
Executing ca-certificates-20161130-r1.trigger
OK: 7 MiB in 18 packages
---> 4889d198fbcf
Removing intermediate container a62d1b4bdeb7
Step 15/17 : RUN mkdir -p /lib64 && ln -s /lib/libc.musl-x86_64.so.1 /lib64/ld-linux-x86-64.so.2
---> Running in 4352fc75ef59
---> 74efa5cbe67c
Removing intermediate container 4352fc75ef59
Step 16/17 : RUN mkdir -p /etc/rexray /run/docker/plugins /var/lib/libstorage/volumes
---> Running in 146c2c19d43a
---> f1128841200b
Removing intermediate container 146c2c19d43a
Step 17/17 : ENTRYPOINT /usr/bin/rexray
---> Running in 9fd154619e2a
---> f79f52ebdd2c
Removing intermediate container 9fd154619e2a
Successfully built f79f52ebdd2c
Successfully tagged rexray/rexray:0.9.0-7-dirty
ff81b38c02a15f209022b45f72dca95355622fdded4f2e67c311732e20244a71
successfully built REX-Ray!
Docker image is...... rexray/rexray:0.9.0-7-dirty
REX-Ray binary is.... ./rexray-ebs
[0]akutz@pax:rexray$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment