delimitrou / DeathStarBench

Open-source benchmark suite for cloud microservices
Apache License 2.0
752 stars 418 forks source link

How to regenerate .pb.go files for hotel reservation? #302

Closed varungohil closed 7 months ago

varungohil commented 1 year ago

Hello,

I am trying to rebuild the *.pb.go files for hotel reservation. I am using the command make proto to generate these files. And I'm using the following versions:

Then on running docker-compose build:

# github.com/delimitrou/DeathStarBench/hotelreservation/services/user/proto
services/user/proto/user.pb.go:25:17: undefined: proto.ProtoPackageIsVersion3
services/user/proto/user.pb.go:58:35: undefined: proto.InternalMessageInfo
services/user/proto/user.pb.go:104:34: undefined: proto.InternalMessageInfo
# github.com/delimitrou/DeathStarBench/hotelreservation/services/search/proto
services/search/proto/search.pb.go:25:17: undefined: proto.ProtoPackageIsVersion3
services/search/proto/search.pb.go:60:41: undefined: proto.InternalMessageInfo
services/search/proto/search.pb.go:120:40: undefined: proto.InternalMessageInfo
# github.com/delimitrou/DeathStarBench/hotelreservation/services/reservation/proto
services/reservation/proto/reservation.pb.go:25:17: undefined: proto.ProtoPackageIsVersion3
services/reservation/proto/reservation.pb.go:61:35: undefined: proto.InternalMessageInfo
services/reservation/proto/reservation.pb.go:128:34: undefined: proto.InternalMessageInfo
# github.com/delimitrou/DeathStarBench/hotelreservation/services/profile/proto
services/profile/proto/profile.pb.go:25:17: undefined: proto.ProtoPackageIsVersion3
services/profile/proto/profile.pb.go:58:35: undefined: proto.InternalMessageInfo
services/profile/proto/profile.pb.go:104:34: undefined: proto.InternalMessageInfo
services/profile/proto/profile.pb.go:148:33: undefined: proto.InternalMessageInfo
services/profile/proto/profile.pb.go:229:35: undefined: proto.InternalMessageInfo
services/profile/proto/profile.pb.go:318:33: undefined: proto.InternalMessageInfo
# github.com/delimitrou/DeathStarBench/hotelreservation/services/rate/proto
services/rate/proto/rate.pb.go:25:17: undefined: proto.ProtoPackageIsVersion3
services/rate/proto/rate.pb.go:59:35: undefined: proto.InternalMessageInfo
services/rate/proto/rate.pb.go:112:34: undefined: proto.InternalMessageInfo
services/rate/proto/rate.pb.go:155:36: undefined: proto.InternalMessageInfo
services/rate/proto/rate.pb.go:227:36: undefined: proto.InternalMessageInfo
# github.com/delimitrou/DeathStarBench/hotelreservation/services/geo/proto
services/geo/proto/geo.pb.go:25:17: undefined: proto.ProtoPackageIsVersion3
services/geo/proto/geo.pb.go:59:35: undefined: proto.InternalMessageInfo
services/geo/proto/geo.pb.go:105:34: undefined: proto.InternalMessageInfo
# github.com/delimitrou/DeathStarBench/hotelreservation/services/recommendation/proto
services/recommendation/proto/recommendation.pb.go:25:17: undefined: proto.ProtoPackageIsVersion3
services/recommendation/proto/recommendation.pb.go:60:35: undefined: proto.InternalMessageInfo
services/recommendation/proto/recommendation.pb.go:113:34: undefined: proto.InternalMessageInfo
ERROR: Service 'frontend' failed to build: The command '/bin/sh -c CGO_ENABLED=0 GOOS=linux GO111MODULE=on go install -ldflags="-s -w" -mod=vendor ./cmd/...' returned a non-zero code: 1

Before PR #288 I was able to use the following version to regenerate the .pb.go files:

Can you please let me know which versions to use to re-generate the .pb.go files?