Giter Club home page Giter Club logo

Comments (6)

joeshaw avatar joeshaw commented on August 11, 2024

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.

joeshaw avatar joeshaw commented on August 11, 2024

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.

robfig avatar robfig commented on August 11, 2024

Hm, seems like glock should at minimum be printing errors from "go get"

from glock.

joeshaw avatar joeshaw commented on August 11, 2024

Yeah. Maybe it is succeeding or somehow otherwise returning a 0 status code?

from glock.

robfig avatar robfig commented on August 11, 2024

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.

joeshaw avatar joeshaw commented on August 11, 2024

Thanks. I'll deploy this and report back when/if it fails again.

from glock.

Related Issues (20)

Recommend Projects

  • React photo React

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

  • Vue.js photo Vue.js

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

  • Typescript photo Typescript

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

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

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

Recommend Topics

  • javascript

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

  • web

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

  • server

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

  • Machine learning

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

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

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

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.