Skip to content

Commit

Permalink
Bump github.com/containerd/containerd from 1.6.18 to 1.6.26
Browse files Browse the repository at this point in the history
Bump github.com/containerd/containerd from 1.6.18 to 1.6.26
Only move golang.org/x/tools to v0.14.0 (later versions introduce an issue with ./scripts/metrics_doc.sh check)
Only move google.golang.org/protobuf to v1.31.0 (later versions introduce an issue with chaincode build)

Update tests to reflect message updates in latest grpc v1.61.0.

Signed-off-by: David Enyeart <[email protected]>
  • Loading branch information
denyeart authored and ale-linux committed Feb 6, 2024
1 parent b8ccc92 commit dd1c4da
Show file tree
Hide file tree
Showing 230 changed files with 17,430 additions and 8,854 deletions.
25 changes: 13 additions & 12 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -31,34 +31,35 @@ require (
github.com/spf13/cobra v1.1.3
github.com/spf13/pflag v1.0.5
github.com/spf13/viper v1.7.0
github.com/stretchr/testify v1.8.1 // includes ErrorContains
github.com/stretchr/testify v1.8.4 // includes ErrorContains
github.com/sykesm/zap-logfmt v0.0.4
github.com/syndtr/goleveldb v1.0.1-0.20210305035536-64b5b1c73954
github.com/tedsuo/ifrit v0.0.0-20220120221754-dd274de71113
go.etcd.io/etcd/client/pkg/v3 v3.5.9
go.etcd.io/etcd/raft/v3 v3.5.9
go.etcd.io/etcd/server/v3 v3.5.9
go.uber.org/zap v1.19.0
golang.org/x/crypto v0.17.0
golang.org/x/tools v0.6.0
google.golang.org/grpc v1.56.3
golang.org/x/crypto v0.18.0
golang.org/x/tools v0.14.0
google.golang.org/grpc v1.61.0
gopkg.in/alecthomas/kingpin.v2 v2.2.6
gopkg.in/yaml.v2 v2.4.0
)

require google.golang.org/protobuf v1.30.0
require google.golang.org/protobuf v1.31.0

require (
github.com/AdaLogics/go-fuzz-headers v0.0.0-20230811130428-ced1acdcaa24 // indirect
github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1 // indirect
github.com/IBM/mathlib v0.0.0-20220112091634-0a7378db6912 // indirect
github.com/Microsoft/go-winio v0.6.1 // indirect
github.com/Microsoft/hcsshim v0.11.4 // indirect
github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751 // indirect
github.com/alecthomas/units v0.0.0-20210912230133-d1bdfacee922 // indirect
github.com/beorn7/perks v1.0.1 // indirect
github.com/cespare/xxhash/v2 v2.2.0 // indirect
github.com/consensys/gnark-crypto v0.6.0 // indirect
github.com/containerd/containerd v1.6.18 // indirect
github.com/containerd/containerd v1.6.26 // indirect
github.com/docker/docker v24.0.7+incompatible // indirect
github.com/docker/go-connections v0.4.0 // indirect
github.com/docker/go-units v0.5.0 // indirect
Expand All @@ -71,7 +72,7 @@ require (
github.com/hashicorp/hcl v1.0.0 // indirect
github.com/hyperledger/fabric-amcl v0.0.0-20210603140002-2670f91851c8 // indirect
github.com/inconshreveable/mousetrap v1.0.0 // indirect
github.com/klauspost/compress v1.13.6 // indirect
github.com/klauspost/compress v1.17.6 // indirect
github.com/kr/text v0.2.0 // indirect
github.com/magiconair/properties v1.8.1 // indirect
github.com/mattn/go-runewidth v0.0.4 // indirect
Expand All @@ -82,7 +83,7 @@ require (
github.com/moby/term v0.0.0-20210619224110-3f7ff695adc6 // indirect
github.com/morikuni/aec v1.0.0 // indirect
github.com/opencontainers/go-digest v1.0.0 // indirect
github.com/opencontainers/image-spec v1.0.3-0.20211202183452-c5a74bcca799 // indirect
github.com/opencontainers/image-spec v1.1.0-rc6 // indirect
github.com/opencontainers/runc v1.1.12 // indirect
github.com/pelletier/go-toml v1.9.5 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
Expand All @@ -100,12 +101,12 @@ require (
go.uber.org/atomic v1.7.0 // indirect
go.uber.org/goleak v1.1.12 // indirect
go.uber.org/multierr v1.6.0 // indirect
golang.org/x/mod v0.8.0 // indirect
golang.org/x/net v0.17.0 // indirect
golang.org/x/sync v0.1.0 // indirect
golang.org/x/mod v0.14.0 // indirect
golang.org/x/net v0.20.0 // indirect
golang.org/x/sync v0.6.0 // indirect
golang.org/x/sys v0.16.0 // indirect
golang.org/x/text v0.14.0 // indirect
google.golang.org/genproto v0.0.0-20230410155749-daa745c078e1 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20231106174013-bbf56f31fb17 // indirect
gopkg.in/ini.v1 v1.51.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
57 changes: 29 additions & 28 deletions go.sum

Large diffs are not rendered by default.

9 changes: 5 additions & 4 deletions integration/gateway/gateway_bft_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -179,8 +179,8 @@ var _ = Describe("GatewayService with BFT ordering service", func() {
ordererRunners[1] = runner
ordererProcesses["orderer2"] = ifrit.Invoke(runner)
Eventually(ordererProcesses["orderer2"].Ready(), network.EventuallyTimeout).Should(BeClosed())
// wait peer conecting to orderer2
Eventually(peerGinkgoRunner[0].Err(), network.EventuallyTimeout, time.Second).Should(gbytes.Say(fmt.Sprintf("%s, \\{READY", needAdr)))
// wait for peer to connect to orderer2
Eventually(peerGinkgoRunner[0].Err(), network.EventuallyTimeout, time.Second).Should(gbytes.Say(fmt.Sprintf("%s, \\{ConnectivityState:READY", needAdr)))
Eventually(ordererRunners[1].Err(), network.EventuallyTimeout, time.Second).Should(gbytes.Say("Starting view with number 0"))
// awaiting the selection of a new leader
Eventually(ordererRunners[1].Err(), network.EventuallyTimeout*2, time.Second).Should(gbytes.Say("Starting view with number"))
Expand Down Expand Up @@ -223,9 +223,10 @@ func scanLastDateTimeInLog(data []byte) string {
}

func scanAddrGRPCconnectStructInLog(data []byte, listenPort uint16) string {
re := regexp.MustCompile(fmt.Sprintf("pickfirstBalancer: UpdateSubConnState.*%d", listenPort))
// look for grpc Info message indicating failure of peer to connect to orderer, then return the grpc identifier for that orderer
re := regexp.MustCompile(fmt.Sprintf("Received SubConn state update.*%d", listenPort))
loc := re.FindIndex(data)
start := loc[0] + len("pickfirstBalancer: UpdateSubConnState: ")
start := loc[0] + len("Received SubConn state update: ")
return string(data[start : start+12])
}

Expand Down
3 changes: 2 additions & 1 deletion integration/smartbft/smartbft_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1643,7 +1643,8 @@ var _ = Describe("EndToEnd Smart BFT configuration test", func() {
// If backoff's default settings are left, it will take 20-25 seconds after the 7th attempt to reach the 8th attempt.
// If the backoff is made controllable, as here in the test, the maximum time between attempts will be 3 seconds.
for i := 0; i < 7; i++ {
Eventually(ordererRunners[0].Err(), network.EventuallyTimeout, time.Second).Should(gbytes.Say("pickfirstBalancer: UpdateSubConnState.*IDLE connection error"))
// look for grpc Info message
Eventually(ordererRunners[0].Err(), network.EventuallyTimeout, time.Second).Should(gbytes.Say("Received SubConn state update.*IDLE ConnectionError"))
}

// After starting orderer 3, orderer 0 (leader) will have 10-11 seconds to establish a connection and throw a heartbeat message.
Expand Down
7 changes: 7 additions & 0 deletions vendor/github.com/klauspost/compress/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 2 additions & 16 deletions vendor/github.com/klauspost/compress/.goreleaser.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit dd1c4da

Please sign in to comment.