gana2188 / google-cloud-sdk

Automatically exported from code.google.com/p/google-cloud-sdk
0 stars 0 forks source link

goapp deploy doesn't compile #121

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
goapp deploy ./ 
throws the error below. I should also note that's after I fixed 
https://github.com/golang/protobuf/issues/23 .

What is the expected output? What do you see instead?

06:39 PM Getting current resource limits.
06:39 PM Scanning files on local disk.
06:39 PM Cloning 155 application files.
06:39 PM Uploading 1 files and blobs.
06:39 PM Uploaded 1 files and blobs.
06:39 PM Compilation starting.
06:39 PM Compilation: 151 files left.
06:39 PM Error 422: --- begin server output ---
Compile failed:
2015/03/25 11:39:57 go-app-builder: build timing: 11×6g (1.594s total), 
10×gopack (407ms total), 0×6l (0 total)
2015/03/25 11:39:57 go-app-builder: failed running 6g: exit status 1

google.golang.org/cloud/compute/metadata/go13.go:34: unknown net.Dialer field 
'KeepAlive' in struct literal
--- end server output ---
06:39 PM Rolling back the update.  This can sometimes take a while since a VM 
version is being rolled back.
Error 422: --- begin server output ---

--- end server output ---
error while running appcfg.py: exit status 1
What is the output of 'gcloud info'?
oogle Cloud SDK [0.9.53]

Platform: [Mac OS X, x86_64]
Python Version: [2.7.6 (default, Sep  9 2014, 15:04:36)  [GCC 4.2.1 Compatible 
Apple LLVM 6.0 (clang-600.0.39)]]
Site Packages: [Disabled]

Installation Root: [/Users/xyz/google-cloud-sdk]
Installed Components:
  app-engine-python: [1.9.18]
  app: [2015.03.23]
  gsutil-nix: [4.6]
  app-engine-python-extras: [1.9.18]
  gsutil: [4.11]
  app-engine-managed-vms: [2015.03.23]
  gcutil: [1.16.5]
  app-engine-java: [1.9.18]
  bq: [2.0.18]
  dns: [2015.03.23]
  preview: [2015.03.23]
  gcutil-nix: [1.16.5]
  core: [2015.03.23]
  gae-python: [2014.05.06]
  preview-extensions-darwin-x86_64: [0.13.1]
  app-engine-go-darwin-x86_64: [1.9.18]
  gae-go: [2015.03.23]
  sql: [2015.03.23]
  core-nix: [2014.10.20]
  compute: [2015.03.23]
  gae-go-nix: [2014.09.10]
  gae-python-launcher-mac: [1.9.18]
  bq-nix: [2.0.18]
System PATH: 
[/Users/xyz/google-cloud-sdk/bin:/Users/xyz/.rvm/gems/ruby-1.9.3-p448/bin:/Users
/xyz/.rvm/gems/ruby-1.9.3-p448@global/bin:/Users/xyz/.rvm/rubies/ruby-1.9.3-p448
/bin:/Users/xyz/.rvm/bin:/Users/xyz/go/bin:/opt/local/bin:/opt/local/sbin:/opt/l
ocal/bin:/opt/local/sbin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/usr/bin:
/bin:/usr/sbin:/sbin:/opt/X11/bin:/usr/local/go/bin:/usr/local/MacGPG2/bin:/opt/
local/lib/mysql5/bin:/Users/xyz/.rvm/bin:/Users/xyz/documents/gce/gcutil-1.8.3]
Cloud SDK on PATH: [True]

Installation Properties: [/Users/xyz/google-cloud-sdk/properties]
User Config Directory: [/Users/xyz/.config/gcloud]
User Properties: [/Users/xyz/.config/gcloud/properties]
Current Workspace: [None]
Workspace Config Directory: [None]
Workspace Properties: [None]

Account: [mihai@epek.com]
Project: [epek.com:epek-limited]

Current Properties:
  [core]
    project: [epek.com:epek-limited]
    account: [mihai@epek.com]
    disable_usage_reporting: [True]

Logs Directory: [/Users/xyz/.config/gcloud/logs]
Last Log File: [/Users/xyz/.config/gcloud/logs/2015.03.25/17.53.18.515563.log]

Please provide any additional information below.

Original issue reported on code.google.com by mi...@epek.com on 25 Mar 2015 at 6:46

GoogleCodeExporter commented 8 years ago
There is a comment which I think you forgot to consider it when Go 1.3 support 
was added

// TODO(bradfitz,jbd,adg): remove this once App Engine supports Go
// 1.3+.
func init() {
    go13Dialer = func() *net.Dialer {
        return &net.Dialer{
            Timeout:   750 * time.Millisecond,
            KeepAlive: 30 * time.Second,
        }
    }
}

Original comment by mi...@epek.com on 25 Mar 2015 at 6:50