Mimetis / openhack-devops-team

Devops Openhack Team Environment APIs
MIT License
1 stars 0 forks source link

go-api #40 failed #5

Closed Mimetis closed 5 years ago

Mimetis commented 5 years ago

Build 'go-api' is failing!

Last 50 lines of build output:

[...truncated 1.52 KB...]
Seen branch in repository origin/user-java
Seen branch in repository origin/userprofile
Seen 13 remote branches
 > git show-ref --tags -d # timeout=10
Checking out Revision 35fa4ab1907a72406c4f669508f0bedb7a529c16 (origin/user-java)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 35fa4ab1907a72406c4f669508f0bedb7a529c16
Commit message: "Trigger poi build"
 > git rev-list --no-walk 35fa4ab1907a72406c4f669508f0bedb7a529c16 # timeout=10
[go-api] $ /bin/sh -xe /tmp/jenkins3861971933738493900.sh
+ docker run --rm -v /home/jenkins/work/workspace/go-api/apis/trips:/usr/local/go/src/github.com/Azure-Samples/openhack-devops-team/apis/trips/ -w /usr/local/go/src/github.com/Azure-Samples/openhack-devops-team/apis/trips/ golang:1.11.0 /bin/bash -c go mod vendor && go test ./test && go test ./test/integration
go: finding github.com/denisenkom/go-mssqldb v0.0.0-20180625034930-3724b4745ca9
go: finding github.com/codemodus/swagui v0.1.0
go: finding github.com/pmezard/go-difflib v1.0.0
go: finding github.com/stretchr/objx v0.1.1
go: finding github.com/davecgh/go-spew v1.1.1
go: finding github.com/gorilla/mux v1.6.2
go: finding github.com/gorilla/context v1.1.1
go: finding github.com/stretchr/testify v1.2.2
go: finding golang.org/x/crypto v0.0.0-20180621125126-a49355c7e3f8
go: finding cloud.google.com/go v0.0.0-20180627205256-45528feae6df
go: downloading github.com/codemodus/swagui v0.1.0
go: downloading github.com/denisenkom/go-mssqldb v0.0.0-20180625034930-3724b4745ca9
go: downloading github.com/stretchr/testify v1.2.2
go: downloading github.com/gorilla/mux v1.6.2
go: downloading github.com/gorilla/context v1.1.1
go: downloading github.com/davecgh/go-spew v1.1.1
go: downloading github.com/pmezard/go-difflib v1.0.0
go: downloading cloud.google.com/go v0.0.0-20180627205256-45528feae6df
go: downloading golang.org/x/crypto v0.0.0-20180621125126-a49355c7e3f8
ok      github.com/Azure-Samples/openhack-devops-team/apis/trips/test   0.009s
INFO: 2018/10/02 15:13:27 logger.go:59: getAllTrips - Query Failed to Execute.
INFO: 2018/10/02 15:13:27 logger.go:44: GET  GetAllTrips 5.517341ms
INFO: 2018/10/02 15:13:27 test_util.go:45: t1 - Get all trips- Response Code:500
INFO: 2018/10/02 15:13:27 logger.go:59: getTripsByID - Error while retrieving trip from database
INFO: 2018/10/02 15:13:27 logger.go:44: GET  GetTripById 2.398974ms
INFO: 2018/10/02 15:13:27 test_util.go:45: t2 - Get a nonexistent trip- Response Code:500
INFO: 2018/10/02 15:13:27 logger.go:59: Error while inserting trip into database
INFO: 2018/10/02 15:13:27 logger.go:44: POST  CreateTrip 3.438663ms
INFO: 2018/10/02 15:13:27 test_util.go:45: t3 - Create a Trip- Response Code:500
INFO: 2018/10/02 15:13:27 logger.go:59: Error updating trip on the database.
INFO: 2018/10/02 15:13:27 logger.go:44: PATCH  UpdateTrip 2.574072ms
INFO: 2018/10/02 15:13:27 test_util.go:45: t4 - Update a trip- Response Code:500
INFO: 2018/10/02 15:13:27 test_util.go:45: t5 - Create Trip Point- Response Code:301
INFO: 2018/10/02 15:13:27 test_util.go:45: t6 - Update Trip Point- Response Code:301
2018/10/02 15:13:27 TripPointFromStr - Invalid trip point string
2018/10/02 15:13:27 unexpected end of JSON input
FAIL    github.com/Azure-Samples/openhack-devops-team/apis/trips/test/integration   0.022s
Build step 'Execute shell' marked build as failure

Changes since last successful build: No changes No changes

No changes

No changes

View full output

Mimetis commented 5 years ago

Build was fixed!