Skip to content

Commit

Permalink
ci: fix the grpc test error (#10388)
Browse files Browse the repository at this point in the history
  • Loading branch information
xuruidong authored Oct 25, 2023
1 parent fb007ca commit fc39dd8
Show file tree
Hide file tree
Showing 17 changed files with 74 additions and 75 deletions.
9 changes: 2 additions & 7 deletions ci/centos7-ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,14 +58,9 @@ install_dependencies() {
cd t/grpc_server_example

CGO_ENABLED=0 go build
./grpc_server_example \
-grpc-address :50051 -grpcs-address :50052 -grpcs-mtls-address :50053 -grpc-http-address :50054 \
-crt ../certs/apisix.crt -key ../certs/apisix.key -ca ../certs/mtls_ca.crt \
> grpc_server_example.log 2>&1 || (cat grpc_server_example.log && exit 1)&

cd ../../
# wait for grpc_server_example to fully start
sleep 3

start_grpc_server_example

# installing grpcurl
install_grpcurl
Expand Down
21 changes: 21 additions & 0 deletions ci/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -151,3 +151,24 @@ linux_get_dependencies () {
apt update
apt install -y cpanminus build-essential libncurses5-dev libreadline-dev libssl-dev perl libpcre3 libpcre3-dev libldap2-dev
}

function start_grpc_server_example() {
./t/grpc_server_example/grpc_server_example \
-grpc-address :10051 -grpcs-address :10052 -grpcs-mtls-address :10053 -grpc-http-address :10054 \
-crt ./t/certs/apisix.crt -key ./t/certs/apisix.key -ca ./t/certs/mtls_ca.crt \
> grpc_server_example.log 2>&1 &

for (( i = 0; i <= 10; i++ )); do
sleep 0.5
GRPC_PROC=`ps -ef | grep grpc_server_example | grep -v grep || echo "none"`
if [[ $GRPC_PROC == "none" || "$i" -eq 10 ]]; then
echo "failed to start grpc_server_example"
ss -antp | grep 1005 || echo "no proc listen port 1005x"
cat grpc_server_example.log

exit 1
fi

ss -lntp | grep 10051 | grep grpc_server && break
done
}
15 changes: 1 addition & 14 deletions ci/linux_openresty_common_runner.sh
Original file line number Diff line number Diff line change
Expand Up @@ -72,20 +72,7 @@ script() {

set_coredns

./t/grpc_server_example/grpc_server_example \
-grpc-address :50051 -grpcs-address :50052 -grpcs-mtls-address :50053 -grpc-http-address :50054 \
-crt ./t/certs/apisix.crt -key ./t/certs/apisix.key -ca ./t/certs/mtls_ca.crt \
&

# ensure grpc server example is already started
for (( i = 0; i <= 100; i++ )); do
if [[ "$i" -eq 100 ]]; then
echo "failed to start grpc_server_example in time"
exit 1
fi
nc -zv 127.0.0.1 50051 && break
sleep 1
done
start_grpc_server_example

# APISIX_ENABLE_LUACOV=1 PERL5LIB=.:$PERL5LIB prove -Itest-nginx/lib -r t
FLUSH_ETCD=1 prove --timer -Itest-nginx/lib -I./ -r $TEST_FILE_SUB_DIR | tee /tmp/test.result
Expand Down
10 changes: 3 additions & 7 deletions ci/redhat-ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,14 +58,10 @@ install_dependencies() {
pushd t/grpc_server_example

CGO_ENABLED=0 go build
./grpc_server_example \
-grpc-address :50051 -grpcs-address :50052 -grpcs-mtls-address :50053 -grpc-http-address :50054 \
-crt ../certs/apisix.crt -key ../certs/apisix.key -ca ../certs/mtls_ca.crt \
> grpc_server_example.log 2>&1 || (cat grpc_server_example.log && exit 1)&

popd
# wait for grpc_server_example to fully start
sleep 3

yum install -y iproute procps
start_grpc_server_example

# installing grpcurl
install_grpcurl
Expand Down
2 changes: 1 addition & 1 deletion t/admin/protos-force-delete.t
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ passed
"scheme": "grpc",
"type": "roundrobin",
"nodes": {
"127.0.0.1:50051": 1
"127.0.0.1:10051": 1
}
}
}]]
Expand Down
8 changes: 4 additions & 4 deletions t/core/grpc.t
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ __DATA__
local core = require "apisix.core"
local gcli = core.grpc
assert(gcli.load("t/grpc_server_example/proto/helloworld.proto"))
local conn = assert(gcli.connect("127.0.0.1:50051"))
local conn = assert(gcli.connect("127.0.0.1:10051"))
local res, err = conn:call("helloworld.Greeter", "SayHello", {
name = "apisix" })
conn:close()
Expand All @@ -68,7 +68,7 @@ Hello apisix
local core = require "apisix.core"
local gcli = core.grpc
assert(gcli.load("t/grpc_server_example/proto/helloworld.proto"))
local conn = assert(gcli.connect("127.0.0.1:50051"))
local conn = assert(gcli.connect("127.0.0.1:10051"))
local st, err = conn:new_server_stream("helloworld.Greeter",
"SayHelloServerStream", { name = "apisix" })
if not st then
Expand Down Expand Up @@ -100,7 +100,7 @@ Hello apisix
local core = require "apisix.core"
local gcli = core.grpc
assert(gcli.load("t/grpc_server_example/proto/helloworld.proto"))
local conn = assert(gcli.connect("127.0.0.1:50051"))
local conn = assert(gcli.connect("127.0.0.1:10051"))
local st, err = conn:new_client_stream("helloworld.Greeter",
"SayHelloClientStream", { name = "apisix" })
if not st then
Expand Down Expand Up @@ -139,7 +139,7 @@ Hello apisix!Hello apisix!Hello apisix!Hello apisix!
local core = require "apisix.core"
local gcli = core.grpc
assert(gcli.load("t/grpc_server_example/proto/helloworld.proto"))
local conn = assert(gcli.connect("127.0.0.1:50051"))
local conn = assert(gcli.connect("127.0.0.1:10051"))
local st, err = conn:new_bidirectional_stream("helloworld.Greeter",
"SayHelloBidirectionalStream", { name = "apisix" })
if not st then
Expand Down
4 changes: 2 additions & 2 deletions t/grpc_server_example/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ import (
)

var (
grpcAddr = ":50051"
grpcsAddr = ":50052"
grpcAddr = ":10051"
grpcsAddr = ":10052"
grpcsMtlsAddr string
grpcHTTPAddr string

Expand Down
4 changes: 2 additions & 2 deletions t/node/grpc-proxy-mtls.t
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ routes:
client_cert: "-----BEGIN CERTIFICATE-----\nMIIDUzCCAjugAwIBAgIURw+Rc5FSNUQWdJD+quORtr9KaE8wDQYJKoZIhvcNAQEN\nBQAwWDELMAkGA1UEBhMCY24xEjAQBgNVBAgMCUd1YW5nRG9uZzEPMA0GA1UEBwwG\nWmh1SGFpMRYwFAYDVQQD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LDUeOpxySdG4pdhEHGfvmdGmr2FECgYBeknedzhCR4HnjcTSdmlTA\nwI+p9gt6XYG0ZIewCymSl89UR9RBUeh++HQdgw0z8r+CYYjfH3SiLUdU5R2kIZeW\nzXiAS55OO8Z7cnWFSI17sRz+RcbLAr3l4IAGoi9MO0awGftcGSc/QiFwM1s3bSSz\nPAzYbjHUpKot5Gae0PCeKQKBgQCHfkfRBQ2LY2WDHxFc+0+Ca6jF17zbMUioEIhi\n/X5N6XowyPlI6MM7tRrBsQ7unX7X8Rjmfl/ByschsTDk4avNO+NfTfeBtGymBYWX\nN6Lr8sivdkwoZZzKOSSWSzdos48ELlThnO/9Ti706Lg3aSQK5iY+aakJiC+fXdfT\n1TtsgQKBgQDRYvtK/Cpaq0W6wO3I4R75lHGa7zjEr4HA0Kk/FlwS0YveuTh5xqBj\nwQz2YyuQQfJfJs7kbWOITBT3vuBJ8F+pktL2Xq5p7/ooIXOGS8Ib4/JAS1C/wb+t\nuJHGva12bZ4uizxdL2Q0/n9ziYTiMc/MMh/56o4Je8RMdOMT5lTsRQ==\n-----END RSA PRIVATE KEY-----\n"
nodes:
"127.0.0.1:50053": 1
"127.0.0.1:10053": 1
type: roundrobin
#END
--- exec
Expand Down Expand Up @@ -88,7 +88,7 @@ routes:
client_cert: "-----BEGIN CERTIFICATE-----\nMIIDUzCCAjugAwIBAgIURw+Rc5FSNUQWdJD+quORtr9KaE8wDQYJKoZIhvcNAQEN\nBQAwWDELMAkGA1UEBhMCY24xEjAQBgNVBAgMCUd1YW5nRG9uZzEPMA0GA1UEBwwG\nWmh1SGFpMRYwFAYDVQQDDA1jYS5hcGlzaXguZGV2MQwwCgYDVQQLDANvcHMwHhcN\nMjIxMjAxMTAxOTU3WhcNNDIwODE4MTAxOTU3WjBOMQswCQYDVQQGEwJjbjESMBAG\nA1UECAwJR3VhbmdEb25nMQ8wDQYDVQQHDAZaaHVIYWkxGjAYBgNVBAMMEWNsaWVu\ndC5hcGlzaXguZGV2MIIBIjANB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eKQKBgQCHfkfRBQ2LY2WDHxFc+0+Ca6jF17zbMUioEIhi\n/X5N6XowyPlI6MM7tRrBsQ7unX7X8Rjmfl/ByschsTDk4avNO+NfTfeBtGymBYWX\nN6Lr8sivdkwoZZzKOSSWSzdos48ELlThnO/9Ti706Lg3aSQK5iY+aakJiC+fXdfT\n1TtsgQKBgQDRYvtK/Cpaq0W6wO3I4R75lHGa7zjEr4HA0Kk/FlwS0YveuTh5xqBj\nwQz2YyuQQfJfJs7kbWOITBT3vuBJ8F+pktL2Xq5p7/ooIXOGS8Ib4/JAS1C/wb+t\nuJHGva12bZ4uizxdL2Q0/n9ziYTiMc/MMh/56o4Je8RMdOMT5lTsRQ==\n-----END RSA PRIVATE KEY-----\n"
nodes:
"127.0.0.1:50053": 1
"127.0.0.1:10053": 1
type: roundrobin
#END
--- exec
Expand Down
6 changes: 3 additions & 3 deletions t/node/grpc-proxy-stream.t
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ routes:
upstream:
scheme: grpc
nodes:
"127.0.0.1:50051": 1
"127.0.0.1:10051": 1
type: roundrobin
#END
--- exec
Expand Down Expand Up @@ -85,7 +85,7 @@ routes:
upstream:
scheme: grpc
nodes:
"127.0.0.1:50051": 1
"127.0.0.1:10051": 1
type: roundrobin
#END
--- exec
Expand All @@ -111,7 +111,7 @@ routes:
upstream:
scheme: grpc
nodes:
"127.0.0.1:50051": 1
"127.0.0.1:10051": 1
type: roundrobin
#END
--- exec
Expand Down
8 changes: 4 additions & 4 deletions t/node/grpc-proxy-unary.t
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ routes:
upstream:
scheme: grpc
nodes:
"127.0.0.1:50051": 1
"127.0.0.1:10051": 1
type: roundrobin
#END
--- exec
Expand All @@ -73,7 +73,7 @@ routes:
upstream:
scheme: grpc
nodes:
"127.0.0.1:50051": 1
"127.0.0.1:10051": 1
type: roundrobin
#END
--- exec
Expand All @@ -99,7 +99,7 @@ routes:
upstream:
scheme: grpcs
nodes:
"127.0.0.1:50052": 1
"127.0.0.1:10052": 1
type: roundrobin
#END
--- exec
Expand Down Expand Up @@ -131,7 +131,7 @@ routes:
upstream:
scheme: grpc
nodes:
"127.0.0.1:50051": 1
"127.0.0.1:10051": 1
type: roundrobin
#END
--- exec
Expand Down
8 changes: 4 additions & 4 deletions t/node/grpc-proxy.t
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ routes:
upstream:
scheme: grpc
nodes:
"127.0.0.1:50051": 1
"127.0.0.1:10051": 1
type: roundrobin
#END
--- exec
Expand Down Expand Up @@ -239,7 +239,7 @@ routes:
scheme: grpc
pass_host: node
nodes:
"127.0.0.1:50051": 1
"127.0.0.1:10051": 1
type: roundrobin
#END
--- exec
Expand All @@ -251,7 +251,7 @@ grpcurl -import-path ./t/grpc_server_example/proto -proto helloworld.proto -plai
--- grep_error_log eval
qr/grpc header: "(:authority|host): [^"]+"/
--- grep_error_log_out eval
qr/grpc header: "(:authority|host): 127.0.0.1:50051"/
qr/grpc header: "(:authority|host): 127.0.0.1:10051"/
Expand All @@ -272,7 +272,7 @@ routes:
pass_host: rewrite
upstream_host: hello.world
nodes:
"127.0.0.1:50051": 1
"127.0.0.1:10051": 1
type: roundrobin
#END
--- exec
Expand Down
2 changes: 1 addition & 1 deletion t/node/upstream-keepalive-pool.t
Original file line number Diff line number Diff line change
Expand Up @@ -751,7 +751,7 @@ $/
scheme = "",
type = "roundrobin",
nodes = {
["127.0.0.1:50054"] = 1,
["127.0.0.1:10054"] = 1,
},
keepalive_pool = {
size = 4
Expand Down
2 changes: 1 addition & 1 deletion t/plugin/batch-requests-grpc.t
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ passed
"scheme": "grpc",
"type": "roundrobin",
"nodes": {
"127.0.0.1:50051": 1
"127.0.0.1:10051": 1
}
}
}]]
Expand Down
14 changes: 7 additions & 7 deletions t/plugin/grpc-transcode.t
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ passed
"scheme": "grpc",
"type": "roundrobin",
"nodes": {
"127.0.0.1:50051": 1
"127.0.0.1:10051": 1
}
}
}]]
Expand Down Expand Up @@ -225,7 +225,7 @@ qr/\{"message":"Hello world"\}/
"scheme": "asf",
"type": "roundrobin",
"nodes": {
"127.0.0.1:50051": 1
"127.0.0.1:10051": 1
}
}
}]]
Expand Down Expand Up @@ -361,7 +361,7 @@ passed
"scheme": "grpc",
"type": "roundrobin",
"nodes": {
"127.0.0.1:50051": 1
"127.0.0.1:10051": 1
}
}
}]]
Expand Down Expand Up @@ -418,7 +418,7 @@ qr/\{"result":"#2251799813685261"\}/
"scheme": "grpc",
"type": "roundrobin",
"nodes": {
"127.0.0.1:50051": 1
"127.0.0.1:10051": 1
}
}
}]]
Expand Down Expand Up @@ -466,7 +466,7 @@ qr/\{"message":"Hello apisix"\}/
"scheme": "grpc",
"type": "roundrobin",
"nodes": {
"127.0.0.1:50051": 1
"127.0.0.1:10051": 1
}
}
}]]
Expand Down Expand Up @@ -581,7 +581,7 @@ passed
"scheme": "grpc",
"type": "roundrobin",
"nodes": {
"127.0.0.1:50051": 1
"127.0.0.1:10051": 1
}
}
}]]
Expand Down Expand Up @@ -734,7 +734,7 @@ failed to encode request data to protobuf
"scheme": "grpc",
"type": "roundrobin",
"nodes": {
"127.0.0.1:50051": 1
"127.0.0.1:10051": 1
}
}
}]]
Expand Down
Loading

0 comments on commit fc39dd8

Please sign in to comment.