Comments (6)
To try to track things down I started running glock sync
with -v
, here's the output from one failed build:
Step 10 : RUN glock -v sync github.com/redacted/redacted
---> Running in ce5539569f7a
go [get -v -d code.google.com/p/go-uuid]
go [get -v -d github.com/RangelReale/osin]
go [get -v -d github.com/cactus/go-statsd-client]
go [get -v -d github.com/chrismrivera/backoff]
go [get -v -d github.com/codegangsta/cli]
go [get -v -d github.com/crowdmob/goamz]
go [get -v -d github.com/dgrijalva/jwt-go]
go [get -v -d github.com/getsentry/raven-go]
go [get -v -d github.com/gogo/protobuf]
go [get -v -d github.com/iron-io/iron_go]
go [get -v -d github.com/jmoiron/sqlx]
go [get -v -d github.com/joeshaw/customerio]
go [get -v -d github.com/joeshaw/envdecode]
go [get -v -d github.com/joeshaw/httpgzip]
go [get -v -d github.com/joeshaw/httpmethodoverride]
go [get -v -d github.com/joeshaw/iso8601]
go [get -v -d github.com/joeshaw/multierror]
go [get -v -d github.com/joeshaw/rst-extract]
go [get -v -d github.com/jteeuwen/go-bindata]
go [get -v -d github.com/lib/pq]
go [get -v -d github.com/litl/mime]
go [get -v -d github.com/litl/randstring]
go [get -v -d github.com/mischief/pubnub]
go [get -v -d github.com/rlmcpherson/s3gof3r]
go [get -v -d github.com/shopspring/decimal]
go [get -v -d golang.org/x/crypto]
go [get -v -d golang.org/x/net]
go [get -v -d golang.org/x/oauth2]
go [get -v -d golang.org/x/tools]
go [get -v -d google.golang.org/cloud]
go [get -v -d gopkg.in/check.v1]
cannot find package "golang.org/x/net" in any of:
/usr/local/go/src/golang.org/x/net (from $GOROOT)
/home/apiary/gopath/src/golang.org/x/net (from $GOPATH)
time="2015-05-18T15:35:34-04:00" level=info msg="The command [/bin/sh -c glock -v sync github.com/redacted/redacted] returned a non-zero code: 1"
Verbose output suggests that it got golang.org/x/net...
(This repository is different than the one from my first comment, which is why you don't see snappy-go
in the list.)
from glock.
Well, for the snappy-go thing apparently it has moved to github and that error pops up consistently. The error message could be improved.
glock sync
:
cannot find package "code.google.com/p/snappy-go" in any of:
/usr/local/Cellar/go/1.4/libexec/src/code.google.com/p/snappy-go (from $GOROOT)
/Users/joeshaw/src/gosrc/src/code.google.com/p/snappy-go (from $GOPATH)
go get
:
package code.google.com/p/snappy-go: unable to detect version control system for code.google.com/ path
(Bleh, neither is great.)
The second comment is the intermittent failure, though.
from glock.
Hm, seems like glock should at minimum be printing errors from "go get"
from glock.
Yeah. Maybe it is succeeding or somehow otherwise returning a 0 status code?
from glock.
Pushed an update to the error reporting. Now it looks like this
$ glock sync something
failed to get: code.google.com/p/snappy-go
> go get -v -d code.google.com/p/snappy-go
package code.google.com/p/snappy-go: unable to detect version control system for code.google.com/ path
exit status 1
> import code.google.com/p/snappy-go
cannot find package "code.google.com/p/snappy-go" in any of:
/Users/robfig/go/src/pkg/code.google.com/p/snappy-go (from $GOROOT)
/Users/robfig/alpha/gocode/src/code.google.com/p/snappy-go (from $GOPATH)
Thanks for the report!
from glock.
Thanks. I'll deploy this and report back when/if it fails again.
from glock.
Related Issues (20)
- Speed up glock sync HOT 1
- Aliasing imports. HOT 4
- Support dependencies that aren't working directories (or clones) HOT 2
- Cosmetic inquiry: GLOCKFILE naming HOT 3
- support for single repository layouts HOT 3
- Outdated reference to godep -save=false in README.md / Overview HOT 1
- Add post-rewrite hook HOT 3
- "glock save" extremely slow on vanity import paths HOT 2
- Support for Mercurial, Bazaar, Subversion is incomplete and undocumented HOT 1
- Consider adding GO15VENDOREXPERIMENT support HOT 11
- `glock save` gets confused by build tags HOT 1
- `glock sync` from inside git-hook can fail due to git env vars HOT 3
- glock: command not found HOT 8
- Unable to install glock HOT 12
- Dependency Issue With googlemaps.github.io/maps
- Doesn't work offline
- Please add a LICENSE file HOT 1
- `glock save` broken by #33
- Glock sync fails when checking out refs that only exist on certain tags
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from glock.