blob: cbda4975fad27ae45e0c6ee5fe8f69b4ef2b9ae2 [file] [log] [blame]
Joe Tsai707894e2019-03-01 12:50:52 -08001// Copyright 2019 The Go Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
4
Joe Tsaif3987842019-03-02 13:35:17 -08005// +build ignore
Joe Tsai707894e2019-03-01 12:50:52 -08006
Joe Tsaif3987842019-03-02 13:35:17 -08007package main
Joe Tsai707894e2019-03-01 12:50:52 -08008
9import (
10 "archive/tar"
11 "bytes"
12 "compress/gzip"
13 "flag"
14 "fmt"
15 "io"
16 "io/ioutil"
17 "net/http"
18 "os"
19 "os/exec"
Damien Neila80229e2019-06-20 12:53:48 -070020 "path"
Joe Tsai707894e2019-03-01 12:50:52 -080021 "path/filepath"
22 "regexp"
23 "runtime"
24 "strings"
Joe Tsai62200db2019-07-11 17:34:10 -070025 "sync"
Joe Tsai707894e2019-03-01 12:50:52 -080026 "testing"
Joe Tsaif3987842019-03-02 13:35:17 -080027 "time"
Joe Tsai707894e2019-03-01 12:50:52 -080028)
29
30var (
31 regenerate = flag.Bool("regenerate", false, "regenerate files")
32
Joe Tsaiabd06a82019-08-16 00:39:27 -070033 protobufVersion = "3.9.1"
34 golangVersions = []string{"1.9.7", "1.10.8", "1.11.13", "1.12.9"}
Joe Tsai707894e2019-03-01 12:50:52 -080035 golangLatest = golangVersions[len(golangVersions)-1]
36
Joe Tsai9e88bc02019-03-12 01:30:40 -070037 // purgeTimeout determines the maximum age of unused sub-directories.
38 purgeTimeout = 30 * 24 * time.Hour // 1 month
Joe Tsai707894e2019-03-01 12:50:52 -080039
40 // Variables initialized by mustInitDeps.
Herbie Ongd64dceb2019-04-25 01:19:57 -070041 goPath string
42 modulePath string
43 protobufPath string
Joe Tsai707894e2019-03-01 12:50:52 -080044)
45
46func Test(t *testing.T) {
47 mustInitDeps(t)
48
49 if *regenerate {
50 t.Run("Generate", func(t *testing.T) {
Joe Tsai1799d112019-08-08 13:31:59 -070051 fmt.Print(mustRunCommand(t, "go", "run", "-tags", "protolegacy", "./internal/cmd/generate-types", "-execute"))
52 fmt.Print(mustRunCommand(t, "go", "run", "-tags", "protolegacy", "./internal/cmd/generate-protos", "-execute"))
Joe Tsai7164af52019-08-07 19:27:43 -070053 files := strings.Split(strings.TrimSpace(mustRunCommand(t, "git", "ls-files", "*.go")), "\n")
54 mustRunCommand(t, append([]string{"gofmt", "-w"}, files...)...)
Joe Tsai707894e2019-03-01 12:50:52 -080055 })
56 t.SkipNow()
57 }
58
Joe Tsai62200db2019-07-11 17:34:10 -070059 var wg sync.WaitGroup
60 sema := make(chan bool, (runtime.NumCPU()+1)/2)
61 for i := range golangVersions {
62 goVersion := golangVersions[i]
63 goLabel := "Go" + goVersion
64 runGo := func(label, workDir string, args ...string) {
65 wg.Add(1)
66 sema <- true
67 go func() {
68 defer wg.Done()
69 defer func() { <-sema }()
70 t.Run(goLabel+"/"+label, func(t *testing.T) {
71 args[0] += goVersion
Joe Tsai7164af52019-08-07 19:27:43 -070072 command{Dir: workDir}.mustRun(t, args...)
Joe Tsai707894e2019-03-01 12:50:52 -080073 })
Joe Tsai62200db2019-07-11 17:34:10 -070074 }()
75 }
76
77 workDir := filepath.Join(goPath, "src", modulePath)
78 runGo("Normal", workDir, "go", "test", "-race", "./...")
79 runGo("PureGo", workDir, "go", "test", "-race", "-tags", "purego", "./...")
80 runGo("Reflect", workDir, "go", "test", "-race", "-tags", "protoreflect", "./...")
81 if goVersion == golangLatest {
Joe Tsai1799d112019-08-08 13:31:59 -070082 runGo("ProtoLegacy", workDir, "go", "test", "-race", "-tags", "protolegacy", "./...")
Joe Tsai62200db2019-07-11 17:34:10 -070083 runGo("ProtocGenGo", "cmd/protoc-gen-go/testdata", "go", "test")
84 runGo("ProtocGenGoGRPC", "cmd/protoc-gen-go-grpc/testdata", "go", "test")
Joe Tsaidd271b62019-08-16 01:09:33 -070085 runGo("Conformance", "internal/conformance", "go", "test", "-execute")
Joe Tsai62200db2019-07-11 17:34:10 -070086 }
Joe Tsai707894e2019-03-01 12:50:52 -080087 }
Joe Tsai62200db2019-07-11 17:34:10 -070088 wg.Wait()
Joe Tsai707894e2019-03-01 12:50:52 -080089
90 t.Run("GeneratedGoFiles", func(t *testing.T) {
Joe Tsai1799d112019-08-08 13:31:59 -070091 diff := mustRunCommand(t, "go", "run", "-tags", "protolegacy", "./internal/cmd/generate-types")
Joe Tsai707894e2019-03-01 12:50:52 -080092 if strings.TrimSpace(diff) != "" {
93 t.Fatalf("stale generated files:\n%v", diff)
94 }
Joe Tsai1799d112019-08-08 13:31:59 -070095 diff = mustRunCommand(t, "go", "run", "-tags", "protolegacy", "./internal/cmd/generate-protos")
Joe Tsai707894e2019-03-01 12:50:52 -080096 if strings.TrimSpace(diff) != "" {
97 t.Fatalf("stale generated files:\n%v", diff)
98 }
99 })
100 t.Run("FormattedGoFiles", func(t *testing.T) {
Joe Tsai7164af52019-08-07 19:27:43 -0700101 files := strings.Split(strings.TrimSpace(mustRunCommand(t, "git", "ls-files", "*.go")), "\n")
102 diff := mustRunCommand(t, append([]string{"gofmt", "-d"}, files...)...)
Joe Tsai707894e2019-03-01 12:50:52 -0800103 if strings.TrimSpace(diff) != "" {
104 t.Fatalf("unformatted source files:\n%v", diff)
105 }
106 })
107 t.Run("CommittedGitChanges", func(t *testing.T) {
Joe Tsai7164af52019-08-07 19:27:43 -0700108 diff := mustRunCommand(t, "git", "diff", "--no-prefix", "HEAD")
Joe Tsai707894e2019-03-01 12:50:52 -0800109 if strings.TrimSpace(diff) != "" {
110 t.Fatalf("uncommitted changes:\n%v", diff)
111 }
112 })
113 t.Run("TrackedGitFiles", func(t *testing.T) {
Joe Tsai7164af52019-08-07 19:27:43 -0700114 diff := mustRunCommand(t, "git", "ls-files", "--others", "--exclude-standard")
Joe Tsai707894e2019-03-01 12:50:52 -0800115 if strings.TrimSpace(diff) != "" {
116 t.Fatalf("untracked files:\n%v", diff)
117 }
118 })
119}
120
121func mustInitDeps(t *testing.T) {
122 check := func(err error) {
123 t.Helper()
124 if err != nil {
125 t.Fatal(err)
126 }
127 }
128
129 // Determine the directory to place the test directory.
130 repoRoot, err := os.Getwd()
131 check(err)
132 testDir := filepath.Join(repoRoot, ".cache")
133 check(os.MkdirAll(testDir, 0775))
134
Joe Tsaif3987842019-03-02 13:35:17 -0800135 // Travis-CI has a hard-coded timeout where it kills the test after
136 // 10 minutes of a lack of activity on stdout.
137 // We work around this restriction by periodically printing the timestamp.
138 ticker := time.NewTicker(5 * time.Minute)
139 done := make(chan struct{})
140 go func() {
141 now := time.Now()
142 for {
143 select {
144 case t := <-ticker.C:
145 fmt.Printf("\tt=%0.fmin\n", t.Sub(now).Minutes())
146 case <-done:
147 return
148 }
149 }
150 }()
151 defer close(done)
152 defer ticker.Stop()
153
Joe Tsai707894e2019-03-01 12:50:52 -0800154 // Delete the current directory if non-empty,
155 // which only occurs if a dependency failed to initialize properly.
156 var workingDir string
157 defer func() {
158 if workingDir != "" {
159 os.RemoveAll(workingDir) // best-effort
160 }
161 }()
162
163 // Delete other sub-directories that are no longer relevant.
164 defer func() {
165 subDirs := map[string]bool{"bin": true, "gocache": true, "gopath": true}
166 subDirs["protobuf-"+protobufVersion] = true
167 for _, v := range golangVersions {
168 subDirs["go"+v] = true
169 }
Joe Tsai707894e2019-03-01 12:50:52 -0800170
Joe Tsai9e88bc02019-03-12 01:30:40 -0700171 now := time.Now()
Joe Tsai707894e2019-03-01 12:50:52 -0800172 fis, _ := ioutil.ReadDir(testDir)
173 for _, fi := range fis {
Joe Tsai9e88bc02019-03-12 01:30:40 -0700174 if subDirs[fi.Name()] {
175 os.Chtimes(filepath.Join(testDir, fi.Name()), now, now) // best-effort
176 continue
Joe Tsai707894e2019-03-01 12:50:52 -0800177 }
Joe Tsai9e88bc02019-03-12 01:30:40 -0700178 if now.Sub(fi.ModTime()) < purgeTimeout {
179 continue
180 }
181 fmt.Printf("delete %v\n", fi.Name())
182 os.RemoveAll(filepath.Join(testDir, fi.Name())) // best-effort
Joe Tsai707894e2019-03-01 12:50:52 -0800183 }
184 }()
185
186 // The bin directory contains symlinks to each tool by version.
187 // It is safe to delete this directory and run the test script from scratch.
188 binPath := filepath.Join(testDir, "bin")
189 check(os.RemoveAll(binPath))
190 check(os.Mkdir(binPath, 0775))
191 check(os.Setenv("PATH", binPath+":"+os.Getenv("PATH")))
192 registerBinary := func(name, path string) {
193 check(os.Symlink(path, filepath.Join(binPath, name)))
194 }
195
196 // Download and build the protobuf toolchain.
197 // We avoid downloading the pre-compiled binaries since they do not contain
198 // the conformance test runner.
199 workingDir = filepath.Join(testDir, "protobuf-"+protobufVersion)
Herbie Ongd64dceb2019-04-25 01:19:57 -0700200 protobufPath = workingDir
201 if _, err := os.Stat(protobufPath); err != nil {
202 fmt.Printf("download %v\n", filepath.Base(protobufPath))
Joe Tsai707894e2019-03-01 12:50:52 -0800203 url := fmt.Sprintf("https://github.com/google/protobuf/releases/download/v%v/protobuf-all-%v.tar.gz", protobufVersion, protobufVersion)
Herbie Ongd64dceb2019-04-25 01:19:57 -0700204 downloadArchive(check, protobufPath, url, "protobuf-"+protobufVersion)
Joe Tsai707894e2019-03-01 12:50:52 -0800205
Herbie Ongd64dceb2019-04-25 01:19:57 -0700206 fmt.Printf("build %v\n", filepath.Base(protobufPath))
Joe Tsai7164af52019-08-07 19:27:43 -0700207 command{Dir: protobufPath}.mustRun(t, "./autogen.sh")
208 command{Dir: protobufPath}.mustRun(t, "./configure")
209 command{Dir: protobufPath}.mustRun(t, "make")
210 command{Dir: filepath.Join(protobufPath, "conformance")}.mustRun(t, "make")
Joe Tsai707894e2019-03-01 12:50:52 -0800211 }
Damien Neila80229e2019-06-20 12:53:48 -0700212 // The benchmark directory isn't present in the release download,
213 // so fetch needed files directly.
214 for _, path := range benchmarkProtos {
215 src := fmt.Sprintf("https://raw.githubusercontent.com/protocolbuffers/protobuf/v%v/%v", protobufVersion, path)
216 dst := filepath.Join(protobufPath, path)
217 if _, err := os.Stat(dst); err != nil {
218 downloadFile(check, dst, src)
219 }
220 }
221 benchdataPath := filepath.Join(testDir, "benchdata")
222 for _, path := range []string{
223 "benchmarks/datasets/google_message1/proto2/dataset.google_message1_proto2.pb",
224 "benchmarks/datasets/google_message1/proto3/dataset.google_message1_proto3.pb",
225 "benchmarks/datasets/google_message2/dataset.google_message2.pb",
226 } {
227 src := fmt.Sprintf("https://raw.githubusercontent.com/protocolbuffers/protobuf/v%v/%v", protobufVersion, path)
228 dst := filepath.Join(benchdataPath, filepath.Base(path))
229 if _, err := os.Stat(dst); err != nil {
230 downloadFile(check, dst, src)
231 }
232 }
Herbie Ongd64dceb2019-04-25 01:19:57 -0700233 patchProtos(check, protobufPath)
234 check(os.Setenv("PROTOBUF_ROOT", protobufPath)) // for generate-protos
235 registerBinary("conform-test-runner", filepath.Join(protobufPath, "conformance", "conformance-test-runner"))
236 registerBinary("protoc", filepath.Join(protobufPath, "src", "protoc"))
Joe Tsai707894e2019-03-01 12:50:52 -0800237 workingDir = ""
238
239 // Download each Go toolchain version.
240 for _, v := range golangVersions {
241 workingDir = filepath.Join(testDir, "go"+v)
242 if _, err := os.Stat(workingDir); err != nil {
243 fmt.Printf("download %v\n", filepath.Base(workingDir))
244 url := fmt.Sprintf("https://dl.google.com/go/go%v.%v-%v.tar.gz", v, runtime.GOOS, runtime.GOARCH)
Joe Tsaif3987842019-03-02 13:35:17 -0800245 downloadArchive(check, workingDir, url, "go")
Joe Tsai707894e2019-03-01 12:50:52 -0800246 }
247 registerBinary("go"+v, filepath.Join(workingDir, "bin", "go"))
248 }
249 registerBinary("go", filepath.Join(testDir, "go"+golangLatest, "bin", "go"))
250 registerBinary("gofmt", filepath.Join(testDir, "go"+golangLatest, "bin", "gofmt"))
251 workingDir = ""
252
253 // Travis-CI sets GOROOT, which confuses invocations of the Go toolchain.
254 // Explicitly clear GOROOT, so each toolchain uses their default GOROOT.
255 check(os.Unsetenv("GOROOT"))
256
Joe Tsai6a2180f2019-07-11 16:34:17 -0700257 // Set a cache directory outside the test directory.
258 check(os.Setenv("GOCACHE", filepath.Join(repoRoot, ".gocache")))
Joe Tsai707894e2019-03-01 12:50:52 -0800259
260 // Setup GOPATH for pre-module support (i.e., go1.10 and earlier).
261 goPath = filepath.Join(testDir, "gopath")
Joe Tsai7164af52019-08-07 19:27:43 -0700262 modulePath = strings.TrimSpace(command{Dir: testDir}.mustRun(t, "go", "list", "-m", "-f", "{{.Path}}"))
Joe Tsai707894e2019-03-01 12:50:52 -0800263 check(os.RemoveAll(filepath.Join(goPath, "src")))
264 check(os.MkdirAll(filepath.Join(goPath, "src", filepath.Dir(modulePath)), 0775))
265 check(os.Symlink(repoRoot, filepath.Join(goPath, "src", modulePath)))
Joe Tsai7164af52019-08-07 19:27:43 -0700266 command{Dir: repoRoot}.mustRun(t, "go", "mod", "tidy")
267 command{Dir: repoRoot}.mustRun(t, "go", "mod", "vendor")
Joe Tsai707894e2019-03-01 12:50:52 -0800268 check(os.Setenv("GOPATH", goPath))
269}
270
Damien Neila80229e2019-06-20 12:53:48 -0700271func downloadFile(check func(error), dstPath, srcURL string) {
272 resp, err := http.Get(srcURL)
273 check(err)
274 defer resp.Body.Close()
275
276 check(os.MkdirAll(filepath.Dir(dstPath), 0775))
277 f, err := os.Create(dstPath)
278 check(err)
279
280 _, err = io.Copy(f, resp.Body)
281 check(err)
282}
283
Joe Tsaif3987842019-03-02 13:35:17 -0800284func downloadArchive(check func(error), dstPath, srcURL, skipPrefix string) {
Joe Tsai707894e2019-03-01 12:50:52 -0800285 check(os.RemoveAll(dstPath))
286
287 resp, err := http.Get(srcURL)
288 check(err)
289 defer resp.Body.Close()
290
291 zr, err := gzip.NewReader(resp.Body)
292 check(err)
293
294 tr := tar.NewReader(zr)
295 for {
296 h, err := tr.Next()
297 if err == io.EOF {
298 return
299 }
300 check(err)
301
Joe Tsaif3987842019-03-02 13:35:17 -0800302 // Skip directories or files outside the prefix directory.
303 if len(skipPrefix) > 0 {
304 if !strings.HasPrefix(h.Name, skipPrefix) {
305 continue
306 }
307 if len(h.Name) > len(skipPrefix) && h.Name[len(skipPrefix)] != '/' {
308 continue
309 }
310 }
311
312 path := strings.TrimPrefix(strings.TrimPrefix(h.Name, skipPrefix), "/")
Joe Tsai707894e2019-03-01 12:50:52 -0800313 path = filepath.Join(dstPath, filepath.FromSlash(path))
314 mode := os.FileMode(h.Mode & 0777)
315 switch h.Typeflag {
316 case tar.TypeReg:
317 b, err := ioutil.ReadAll(tr)
318 check(err)
319 check(ioutil.WriteFile(path, b, mode))
320 case tar.TypeDir:
321 check(os.Mkdir(path, mode))
322 }
323 }
324}
325
326// patchProtos patches proto files with v2 locations of Go packages.
327// TODO: Commit these changes upstream.
328func patchProtos(check func(error), repoRoot string) {
329 javaPackageRx := regexp.MustCompile(`^option\s+java_package\s*=\s*".*"\s*;\s*$`)
330 goPackageRx := regexp.MustCompile(`^option\s+go_package\s*=\s*".*"\s*;\s*$`)
331 files := map[string]string{
Joe Tsaia95b29f2019-05-16 12:47:20 -0700332 "src/google/protobuf/any.proto": "google.golang.org/protobuf/types/known/anypb",
333 "src/google/protobuf/api.proto": "google.golang.org/protobuf/types/known/apipb",
334 "src/google/protobuf/duration.proto": "google.golang.org/protobuf/types/known/durationpb",
335 "src/google/protobuf/empty.proto": "google.golang.org/protobuf/types/known/emptypb",
336 "src/google/protobuf/field_mask.proto": "google.golang.org/protobuf/types/known/fieldmaskpb",
337 "src/google/protobuf/source_context.proto": "google.golang.org/protobuf/types/known/sourcecontextpb",
338 "src/google/protobuf/struct.proto": "google.golang.org/protobuf/types/known/structpb",
339 "src/google/protobuf/timestamp.proto": "google.golang.org/protobuf/types/known/timestamppb",
340 "src/google/protobuf/type.proto": "google.golang.org/protobuf/types/known/typepb",
341 "src/google/protobuf/wrappers.proto": "google.golang.org/protobuf/types/known/wrapperspb",
342 "src/google/protobuf/descriptor.proto": "google.golang.org/protobuf/types/descriptorpb",
343 "src/google/protobuf/compiler/plugin.proto": "google.golang.org/protobuf/types/pluginpb",
344 "conformance/conformance.proto": "google.golang.org/protobuf/internal/testprotos/conformance",
345 "src/google/protobuf/test_messages_proto2.proto": "google.golang.org/protobuf/internal/testprotos/conformance",
346 "src/google/protobuf/test_messages_proto3.proto": "google.golang.org/protobuf/internal/testprotos/conformance",
Joe Tsai707894e2019-03-01 12:50:52 -0800347 }
Damien Neila80229e2019-06-20 12:53:48 -0700348 for _, p := range benchmarkProtos {
349 files[p] = path.Dir("google.golang.org/protobuf/internal/testprotos/" + p)
350 }
Joe Tsai707894e2019-03-01 12:50:52 -0800351 for pbpath, gopath := range files {
352 b, err := ioutil.ReadFile(filepath.Join(repoRoot, pbpath))
353 check(err)
354 ss := strings.Split(string(b), "\n")
355
356 // Locate java_package and (possible) go_package options.
357 javaPackageIdx, goPackageIdx := -1, -1
358 for i, s := range ss {
359 if javaPackageIdx < 0 && javaPackageRx.MatchString(s) {
360 javaPackageIdx = i
361 }
362 if goPackageIdx < 0 && goPackageRx.MatchString(s) {
363 goPackageIdx = i
364 }
365 }
366
367 // Ensure the proto file has the correct go_package option.
368 opt := `option go_package = "` + gopath + `";`
369 if goPackageIdx >= 0 {
370 if ss[goPackageIdx] == opt {
371 continue // no changes needed
372 }
373 ss[goPackageIdx] = opt
374 } else {
375 // Insert go_package option before java_package option.
376 ss = append(ss[:javaPackageIdx], append([]string{opt}, ss[javaPackageIdx:]...)...)
377 }
378
379 fmt.Println("patch " + pbpath)
380 b = []byte(strings.Join(ss, "\n"))
381 check(ioutil.WriteFile(filepath.Join(repoRoot, pbpath), b, 0664))
382 }
383}
384
Joe Tsai7164af52019-08-07 19:27:43 -0700385type command struct {
386 Dir string
387 Env []string
388}
389
390func (c command) mustRun(t *testing.T, args ...string) string {
Joe Tsai707894e2019-03-01 12:50:52 -0800391 t.Helper()
392 stdout := new(bytes.Buffer)
Herbie Ong4630b3d2019-03-19 16:42:01 -0700393 stderr := new(bytes.Buffer)
Joe Tsai707894e2019-03-01 12:50:52 -0800394 cmd := exec.Command(args[0], args[1:]...)
Joe Tsai7164af52019-08-07 19:27:43 -0700395 cmd.Dir = "."
396 if c.Dir != "" {
397 cmd.Dir = c.Dir
398 }
399 cmd.Env = os.Environ()
400 if c.Env != nil {
401 cmd.Env = c.Env
402 }
403 cmd.Env = append(cmd.Env, "PWD="+cmd.Dir)
Herbie Ong4630b3d2019-03-19 16:42:01 -0700404 cmd.Stdout = stdout
405 cmd.Stderr = stderr
Joe Tsai707894e2019-03-01 12:50:52 -0800406 if err := cmd.Run(); err != nil {
Herbie Ong4630b3d2019-03-19 16:42:01 -0700407 t.Fatalf("executing (%v): %v\n%s%s", strings.Join(args, " "), err, stdout.String(), stderr.String())
Joe Tsai707894e2019-03-01 12:50:52 -0800408 }
409 return stdout.String()
410}
Damien Neila80229e2019-06-20 12:53:48 -0700411
Joe Tsai7164af52019-08-07 19:27:43 -0700412func mustRunCommand(t *testing.T, args ...string) string {
413 t.Helper()
414 return command{}.mustRun(t, args...)
415}
416
Damien Neila80229e2019-06-20 12:53:48 -0700417var benchmarkProtos = []string{
418 "benchmarks/benchmarks.proto",
419 "benchmarks/datasets/google_message1/proto2/benchmark_message1_proto2.proto",
420 "benchmarks/datasets/google_message1/proto3/benchmark_message1_proto3.proto",
421 "benchmarks/datasets/google_message2/benchmark_message2.proto",
422 "benchmarks/datasets/google_message3/benchmark_message3.proto",
423 "benchmarks/datasets/google_message3/benchmark_message3_1.proto",
424 "benchmarks/datasets/google_message3/benchmark_message3_2.proto",
425 "benchmarks/datasets/google_message3/benchmark_message3_3.proto",
426 "benchmarks/datasets/google_message3/benchmark_message3_4.proto",
427 "benchmarks/datasets/google_message3/benchmark_message3_5.proto",
428 "benchmarks/datasets/google_message3/benchmark_message3_6.proto",
429 "benchmarks/datasets/google_message3/benchmark_message3_7.proto",
430 "benchmarks/datasets/google_message3/benchmark_message3_8.proto",
431 "benchmarks/datasets/google_message4/benchmark_message4.proto",
432 "benchmarks/datasets/google_message4/benchmark_message4_1.proto",
433 "benchmarks/datasets/google_message4/benchmark_message4_2.proto",
434 "benchmarks/datasets/google_message4/benchmark_message4_3.proto",
435}