You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am working porting go supplementary networking library ( https://godoc.org/golang.org/x/net ) on ppc64le architecture. I am using Ubuntu 15.10 on top of ppc64le hardware. I have successfully built go supplementary network repository on ppc64le but while running automated test case suite I observe that one test case is failing with ‘found empty parent’ error.
Below is the description of test case, which is failing on Ubuntu 15.10,
ok go/ast 0.003s
--- FAIL: TestImportVendorParentFailure (0.00s)
build_test.go:339: found empty parent in /go/src/vendor/golang.org/x/net/http2
FAIL
FAIL go/build 1.350s
I performed below steps for compiling / building go supplementary network library on Ubuntu 15.10 (ppc64le)
Step 1: Update repositories and install required packages to build go repository
$ apt-get update && apt-get install -y git python gcc g++ make build-essential bison gccgo-5
Step 3 : Check out last stable release of go and build and test it before proceeding further
git checkout origin/release-branch.go1.6
cd src/
Step 4 : updates the links in /etc/alternatives directory
update-alternatives --set go /usr/bin/go-5
export GOROOT_BOOTSTRAP=/usr
Step 5: build and test go code
./all.bash
Step 6: prepare directory structure to fetch go supplementary network libraries and its dependency code
cd vendor/
mkdir -p golang.org/x
cd golang.org/x/
Step 8: Step into ‘net’ directory and fetch last stable release of go supplementary network library
cd net/
git checkout origin/release-branch.go1.6
Step 9: Go to 'go/src' directory and run 'all.bash' script to build and test go packages
cd ../../../../
./all.bash
I followed same steps on Ubuntu 15.10 + amd64 combination and get exactly same result. TestImportVendorParentFailure test case fails with ‘found empty parent in /go/src/vendor/golang.org/x/net/http2’ error.
Any pointers/suggestions on failed test case will be great help.
Below is additional information required for debug / resolve /reproduce test case failure,
What version of Go are you using (go version)?
$ go version
go version go1.4.2 gccgo (Ubuntu 5.2.1-22ubuntu2) 5.2.1 20151010 linux/ppc64le
What operating system and processor architecture are you using (go env)?
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 15.10
Release: 15.10
Codename: wily
$ uname -a
Linux 9de5feaaf936 3.16.0-30-generic #40-Ubuntu SMP Mon Jan 12 22:07:11 UTC 2015 ppc64le ppc64le ppc64le GNU/Linux
What did you do?
I am working porting go supplementary networking libraries https://godoc.org/golang.org/x/net on ppc64le architecture. Already provided steps to reproduce test case failure
What did you expect to see?
No test case failure on Ubuntu 15.10 + ppc64le combination
What did you see instead?
Automated test case execution failed due to failure of ‘TestImportVendorParentFailure’ test case
The text was updated successfully, but these errors were encountered:
Step 6: prepare directory structure to fetch go supplementary network libraries and its dependency code
cd vendor/
mkdir -p golang.org/x
cd golang.org/x/
That's not how you hack on the golang.org/x/... repos. You don't put them in your $GOROOT. Instead, you put them in your $GOPATH.
Hi All,
I am working porting go supplementary networking library ( https://godoc.org/golang.org/x/net ) on ppc64le architecture. I am using Ubuntu 15.10 on top of ppc64le hardware. I have successfully built go supplementary network repository on ppc64le but while running automated test case suite I observe that one test case is failing with ‘found empty parent’ error.
Below is the description of test case, which is failing on Ubuntu 15.10,
ok go/ast 0.003s
--- FAIL: TestImportVendorParentFailure (0.00s)
build_test.go:339: found empty parent in /go/src/vendor/golang.org/x/net/http2
FAIL
FAIL go/build 1.350s
I performed below steps for compiling / building go supplementary network library on Ubuntu 15.10 (ppc64le)
Step 1: Update repositories and install required packages to build go repository
$ apt-get update && apt-get install -y git python gcc g++ make build-essential bison gccgo-5
Step 2 : Fetch go source from git repository
git clone https://github.com/golang/go.git && cd go
Step 3 : Check out last stable release of go and build and test it before proceeding further
git checkout origin/release-branch.go1.6
cd src/
Step 4 : updates the links in /etc/alternatives directory
update-alternatives --set go /usr/bin/go-5
export GOROOT_BOOTSTRAP=/usr
Step 5: build and test go code
./all.bash
Step 6: prepare directory structure to fetch go supplementary network libraries and its dependency code
cd vendor/
mkdir -p golang.org/x
cd golang.org/x/
Step 7: Clone go supplementary network libraries and it's dependency code
git clone https://github.com/golang/text.git
git clone https://github.com/golang/crypto.git
git clone https://github.com/golang/net.git
Step 8: Step into ‘net’ directory and fetch last stable release of go supplementary network library
cd net/
git checkout origin/release-branch.go1.6
Step 9: Go to 'go/src' directory and run 'all.bash' script to build and test go packages
cd ../../../../
./all.bash
I followed same steps on Ubuntu 15.10 + amd64 combination and get exactly same result. TestImportVendorParentFailure test case fails with ‘found empty parent in /go/src/vendor/golang.org/x/net/http2’ error.
Any pointers/suggestions on failed test case will be great help.
Below is additional information required for debug / resolve /reproduce test case failure,
go version
)?$ go version
go version go1.4.2 gccgo (Ubuntu 5.2.1-22ubuntu2) 5.2.1 20151010 linux/ppc64le
go env
)?$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 15.10
Release: 15.10
Codename: wily
$ go env
GOARCH="ppc64le"
GOBIN=""
GOCHAR="9"
GOEXE=""
GOHOSTARCH="ppc64le"
GOHOSTOS="linux"
GOOS="linux"
GOPATH=""
GORACE=""
GOROOT="/usr"
GOTOOLDIR="/usr/lib/gcc/powerpc64le-linux-gnu/5"
CC="/usr/bin/gcc-5"
GOGCCFLAGS="-fPIC -pthread -fmessage-length=0"
CXX="/usr/bin/g++-5"
CGO_ENABLED="1"
$ uname -a
Linux 9de5feaaf936 3.16.0-30-generic #40-Ubuntu SMP Mon Jan 12 22:07:11 UTC 2015 ppc64le ppc64le ppc64le GNU/Linux
I am working porting go supplementary networking libraries https://godoc.org/golang.org/x/net on ppc64le architecture. Already provided steps to reproduce test case failure
No test case failure on Ubuntu 15.10 + ppc64le combination
Automated test case execution failed due to failure of ‘TestImportVendorParentFailure’ test case
The text was updated successfully, but these errors were encountered: