@@ -43,9 +43,9 @@ var slowBotAliases = map[string]string{
43
43
"darwin-arm64" : "darwin-arm64-11_0-toothrot" ,
44
44
"ios-arm64" : "ios-arm64-corellium" ,
45
45
"dragonfly" : "dragonfly-amd64" ,
46
- "freebsd" : "freebsd-amd64-12_0 " ,
47
- "freebsd-386" : "freebsd-386-12_0 " ,
48
- "freebsd-amd64" : "freebsd-amd64-12_0 " ,
46
+ "freebsd" : "freebsd-amd64-12_2 " ,
47
+ "freebsd-386" : "freebsd-386-12_2 " ,
48
+ "freebsd-amd64" : "freebsd-amd64-12_2 " ,
49
49
"freebsd-arm" : "freebsd-arm-paulzhol" ,
50
50
"freebsd-arm64" : "freebsd-arm64-dmgk" ,
51
51
"illumos" : "illumos-amd64" ,
@@ -315,14 +315,6 @@ var Hosts = map[string]*HostConfig{
315
315
goBootstrapURLTmpl : "https://storage.googleapis.com/$BUCKET/go1.4-freebsd-amd64.tar.gz" ,
316
316
SSHUsername : "gopher" ,
317
317
},
318
- "host-freebsd-12_0" : & HostConfig {
319
- VMImage : "freebsd-amd64-120-v1" ,
320
- Notes : "FreeBSD 12.0; GCE VM is built from script in build/env/freebsd-amd64" ,
321
- machineType : "n1-highcpu-4" ,
322
- buildletURLTmpl : "https://storage.googleapis.com/$BUCKET/buildlet.freebsd-amd64" ,
323
- goBootstrapURLTmpl : "https://storage.googleapis.com/$BUCKET/go1.4-freebsd-amd64.tar.gz" ,
324
- SSHUsername : "gopher" ,
325
- },
326
318
"host-freebsd-12_2" : & HostConfig {
327
319
VMImage : "freebsd-amd64-122" ,
328
320
Notes : "FreeBSD 12.2; GCE VM is built from script in build/env/freebsd-amd64" ,
@@ -331,9 +323,9 @@ var Hosts = map[string]*HostConfig{
331
323
goBootstrapURLTmpl : "https://storage.googleapis.com/$BUCKET/go1.4-freebsd-amd64.tar.gz" ,
332
324
SSHUsername : "gopher" ,
333
325
},
334
- "host-freebsd-12_0 -big" : & HostConfig {
335
- VMImage : "freebsd-amd64-120-v1 " ,
336
- Notes : "Same as host-freebsd-12_0 , but on n1-highcpu-16" ,
326
+ "host-freebsd-12_2 -big" : & HostConfig {
327
+ VMImage : "freebsd-amd64-122 " ,
328
+ Notes : "Same as host-freebsd-12_2 , but on n1-highcpu-16" ,
337
329
machineType : "n1-highcpu-16" , // 16 vCPUs, 14.4 GB mem
338
330
buildletURLTmpl : "https://storage.googleapis.com/$BUCKET/buildlet.freebsd-amd64" ,
339
331
goBootstrapURLTmpl : "https://storage.googleapis.com/$BUCKET/go1.4-freebsd-amd64.tar.gz" ,
@@ -1493,59 +1485,58 @@ func init() {
1493
1485
tryBot : explicitTrySet ("sys" ),
1494
1486
distTestAdjust : fasterTrybots ,
1495
1487
numTryTestHelpers : 4 ,
1488
+ buildsRepo : func (repo , branch , goBranch string ) bool {
1489
+ // This builder is still used by Go 1.16 and 1.15,
1490
+ // so keep it around a bit longer. See golang.org/issue/45727.
1491
+ // Test relevant Go versions so that we're better informed.
1492
+ return atMostGo1 (goBranch , 16 ) && buildRepoByDefault (repo )
1493
+ },
1496
1494
})
1497
1495
addBuilder (BuildConfig {
1498
1496
Name : "freebsd-amd64-11_4" ,
1499
1497
HostType : "host-freebsd-11_4" ,
1498
+ tryBot : explicitTrySet ("sys" ),
1499
+ distTestAdjust : fasterTrybots ,
1500
1500
numTryTestHelpers : 4 ,
1501
- KnownIssue : 44431 ,
1502
1501
})
1503
1502
addBuilder (BuildConfig {
1504
- Name : "freebsd-amd64-12_0" ,
1505
- HostType : "host-freebsd-12_0" ,
1506
- MinimumGoVersion : types.MajorMinor {1 , 11 },
1507
- tryBot : defaultTrySet ("sys" ),
1503
+ Name : "freebsd-amd64-12_2" ,
1504
+ HostType : "host-freebsd-12_2" ,
1505
+ tryBot : defaultTrySet ("sys" ),
1508
1506
1509
1507
distTestAdjust : fasterTrybots , // If changing this policy, update TestShouldRunDistTest accordingly.
1510
1508
numTryTestHelpers : 4 ,
1511
1509
})
1512
- addBuilder (BuildConfig {
1513
- Name : "freebsd-amd64-12_2" ,
1514
- HostType : "host-freebsd-12_2" ,
1515
- numTryTestHelpers : 4 ,
1516
- KnownIssue : 44431 ,
1517
- })
1518
- addBuilder (BuildConfig {
1519
- Name : "freebsd-386-12_0" ,
1520
- HostType : "host-freebsd-12_0" ,
1521
- env : []string {"GOARCH=386" , "GOHOSTARCH=386" },
1522
- distTestAdjust : fasterTrybots ,
1523
- numTryTestHelpers : 4 ,
1524
- })
1525
1510
addBuilder (BuildConfig {
1526
1511
Name : "freebsd-386-12_2" ,
1527
1512
HostType : "host-freebsd-12_2" ,
1528
1513
env : []string {"GOARCH=386" , "GOHOSTARCH=386" },
1514
+ distTestAdjust : fasterTrybots ,
1529
1515
numTryTestHelpers : 4 ,
1530
- KnownIssue : 44431 ,
1531
1516
})
1532
1517
addBuilder (BuildConfig {
1533
1518
Name : "freebsd-amd64-race" ,
1534
- HostType : "host-freebsd-12_0 -big" ,
1519
+ HostType : "host-freebsd-12_2 -big" ,
1535
1520
})
1536
1521
addBuilder (BuildConfig {
1537
1522
Name : "freebsd-386-11_2" ,
1538
1523
HostType : "host-freebsd-11_2" ,
1539
1524
distTestAdjust : noTestDirAndNoReboot ,
1540
1525
tryBot : explicitTrySet ("sys" ),
1541
1526
env : []string {"GOARCH=386" , "GOHOSTARCH=386" },
1527
+ buildsRepo : func (repo , branch , goBranch string ) bool {
1528
+ // This builder is still used by Go 1.16 and 1.15,
1529
+ // so keep it around a bit longer. See golang.org/issue/45727.
1530
+ // Test relevant Go versions so that we're better informed.
1531
+ return atMostGo1 (goBranch , 16 ) && buildRepoByDefault (repo )
1532
+ },
1542
1533
})
1543
1534
addBuilder (BuildConfig {
1544
1535
Name : "freebsd-386-11_4" ,
1545
1536
HostType : "host-freebsd-11_4" ,
1546
1537
distTestAdjust : noTestDirAndNoReboot ,
1538
+ tryBot : explicitTrySet ("sys" ),
1547
1539
env : []string {"GOARCH=386" , "GOHOSTARCH=386" },
1548
- KnownIssue : 44431 ,
1549
1540
})
1550
1541
addBuilder (BuildConfig {
1551
1542
Name : "linux-386" ,
0 commit comments