Code Monkey home page Code Monkey logo

Comments (4)

gfleury avatar gfleury commented on July 23, 2024

Hi @mpreu, after our original discussion I decided to extend the travis tests to different versions of go.
Here we have the actual master running against 1.13.8 and passing.

https://travis-ci.org/gfleury/go-bitbucket-v1/jobs/658861807

The odd part is that if you try the master now on your environment it will still fail, right?

from go-bitbucket-v1.

mpreu avatar mpreu commented on July 23, 2024

Hi @gfleury,

just checked it with an independent system (unfortunately as well Fedora 31, go 1.13.6, do not have another system setup available right now). Exactly the same errors occur.

EDIT: Just checked with the Travis CI Go container image and installed an updated go version:

podman run -it --rm -u travis quay.io/travisci/travis-go /bin/bash

gimme 1.13.6

unset GOOS
unset GOARCH
unset GOROOT
export PATH="/home/travis/.gimme/versions/go1.13.6.linux.amd64/bin:${PATH}"
go version >&2

export GIMME_ENV="/home/travis/.gimme/envs/go1.13.6.env"

cd /tmp && git clone <url> test && cd test
go get -d -v .
go test

Running the tests with this setup results in errors as well.

travis@bc7cc4ff4b20:/tmp/go-bitbucket-v1$ go get -d -v .
github.com/mitchellh/mapstructure (download)
created GOPATH=/home/travis/go; see 'go help gopath'
get "golang.org/x/net/context": found meta tag get.metaImport{Prefix:"golang.org/x/net", VCS:"git", RepoRoot:"https://go.googlesource.com/net"} at //golang.org/x/net/context?go-get=1
get "golang.org/x/net/context": verifying non-authoritative meta tag
golang.org/x/net (download)
get "golang.org/x/oauth2": found meta tag get.metaImport{Prefix:"golang.org/x/oauth2", VCS:"git", RepoRoot:"https://go.googlesource.com/oauth2"} at //golang.org/x/oauth2?go-get=1
golang.org/x/oauth2 (download)
travis@bc7cc4ff4b20:/tmp/go-bitbucket-v1$ go test
--- FAIL: TestGetWebhooksResponse (0.00s)
    --- FAIL: TestGetWebhooksResponse/Empty_list (0.00s)
        api_response_test.go:293: GetWebhooksResponse() = [], want []
--- FAIL: TestGetUsersPermissionResponse (0.00s)
    --- FAIL: TestGetUsersPermissionResponse/Empty_list (0.00s)
        api_response_test.go:377: GetUsersPermissionResponse() = [], want []
FAIL
exit status 1
FAIL	_/tmp/go-bitbucket-v1	0.014s

from go-bitbucket-v1.

gfleury avatar gfleury commented on July 23, 2024

Also mange to quick reproduce with,

 docker run -it --rm -v "$PWD":/usr/src/myapp -w /usr/src/myapp golang:1.13.6 sh -c "go get . && go test"

I will get some time to investigate this.

from go-bitbucket-v1.

gfleury avatar gfleury commented on July 23, 2024

@mpreu can you check with your environment against master?

from go-bitbucket-v1.

Related Issues (8)

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.