From: "Richard Purdie" <richard.purdie@linuxfoundation.org>
To: Naveen Saini <naveen.kumar.saini@intel.com>,
Khem Raj <raj.khem@gmail.com>,
"openembedded-core@lists.openembedded.org"
<openembedded-core@lists.openembedded.org>
Subject: Re: [OE-core] [PATCH v2 3/3] go-helloworld: Turn into a go module enabled build
Date: Tue, 02 Mar 2021 12:46:03 +0000 [thread overview]
Message-ID: <62bb511ffd743e0204b6935e51cb9a72bd08a69d.camel@linuxfoundation.org> (raw)
In-Reply-To: <5baa9e0336304fa281deaf975e3f1191@intel.com>
On Tue, 2021-03-02 at 09:49 +0000, Naveen Saini wrote:
> This is now failing when you are behind a proxy because it's trying to fetch those modules during do_compile().
> https://github.com/golang/example/commit/bcf50bfd7dcd8020c90965747d857ae42802e0c5
>
> Error log:
>
> > ERROR: Execution of '~/build/tmp/work/corei7-64-poky-linux/go-helloworld/0.1-r0/temp/run.do_compile.26031' failed with exit code 1:
> > go: golang.org/x/tools@v0.0.0-20210112183307-1e6ecd4bf1b0: Get "https://proxy.golang.org/golang.org/x/tools/@v/v0.0.0-20210112183307-1e6ecd4bf1b0.mod": dial tcp 216.58.196.49:443: i/o timeout
> > go: golang.org/x/tools@v0.0.0-20210112183307-1e6ecd4bf1b0: Get "https://proxy.golang.org/golang.org/x/tools/@v/v0.0.0-20210112183307-1e6ecd4bf1b0.mod": dial tcp 216.58.196.49:443: i/o timeout
Also,
https://autobuilder.yoctoproject.org/typhoon/#/builders/80/builds/1876/steps/14/logs/stdio
2021-03-02 05:12:19,144 - oe-selftest - INFO - ======================================================================
2021-03-02 05:12:19,144 - oe-selftest - INFO - FAIL: gotoolchain.oeGoToolchainSelfTest.test_go_dep_build (subunit.RemotedTestCase)
2021-03-02 05:12:19,144 - oe-selftest - INFO - ----------------------------------------------------------------------
2021-03-02 05:12:19,145 - oe-selftest - INFO - testtools.testresult.real._StringException: Traceback (most recent call last):
File "/home/pokybuild/yocto-worker/oe-selftest-debian/build/meta/lib/oeqa/selftest/cases/gotoolchain.py", line 68, in test_go_dep_build
retv = self.run_sdk_go_command('build', proj, name)
File "/home/pokybuild/yocto-worker/oe-selftest-debian/build/meta/lib/oeqa/selftest/cases/gotoolchain.py", line 54, in run_sdk_go_command
return runCmd(cmd).status
File "/home/pokybuild/yocto-worker/oe-selftest-debian/build/meta/lib/oeqa/utils/commands.py", line 210, in runCmd
raise AssertionError("Command '%s' returned non-zero exit status %d:\n%s" % (command, result.status, exc_output))
AssertionError: Command 'cd /tmp/SDKQAvg7566re/go/src/github.com/direnv/direnv; . /tmp/SDKQAvg7566re/environment-setup-core2-64-poky-linux; export GOPATH=/tmp/SDKQAvg7566re/go; ${CROSS_COMPILE}go build' returned non-zero exit status 1:
go: github.com/BurntSushi/toml@v0.3.1: Get "https://proxy.golang.org/github.com/%21burnt%21sushi/toml/@v/v0.3.1.mod": net/http: TLS handshake timeout
Cheers,
Richard
next prev parent reply other threads:[~2021-03-02 12:46 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-24 4:13 [PATCH v2 1/3] go: Upgrade compiler to 1.16 major release Khem Raj
2021-02-24 4:13 ` [PATCH v2 2/3] go: Enable CGO and pie buildmode on rv64 Khem Raj
2021-02-24 4:13 ` [PATCH v2 3/3] go-helloworld: Turn into a go module enabled build Khem Raj
2021-03-02 9:49 ` [OE-core] " Naveen Saini
2021-03-02 12:46 ` Richard Purdie [this message]
2021-03-22 3:22 ` Changqing Li
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=62bb511ffd743e0204b6935e51cb9a72bd08a69d.camel@linuxfoundation.org \
--to=richard.purdie@linuxfoundation.org \
--cc=naveen.kumar.saini@intel.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=raj.khem@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox