Skip to content

Commit

Permalink
Merge pull request #8743 from song-jiang/song-fix-win-fv
Browse files Browse the repository at this point in the history
  • Loading branch information
coutinhop committed Apr 23, 2024
2 parents ae18e51 + e343799 commit ca49a0c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
7 changes: 7 additions & 0 deletions cni-plugin/.semaphore/run-win-fv.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,13 @@ for log_file in /home/semaphore/fv.log/*.log; do
cat ${log_file} | iconv -f UTF-16 -t UTF-8 | sed 's/\r$//g' | grep --line-buffered --perl ${log_regexps} -B 2 -A 15 | sed 's/.*/'"${prefix}"' &/g'
done;

# Search for the file indicates that the Windows node has completed the FV process
if [ ! -f /home/semaphore/report/done-marker ];
then
echo "Windows node failed to complete the FV process."
exit 1
fi

# Search for error code file
if [ -f /home/semaphore/report/error-codes ];
then
Expand Down
7 changes: 1 addition & 6 deletions process/testing/winfv/cloudformation-windows-server.json
Original file line number Diff line number Diff line change
Expand Up @@ -223,12 +223,7 @@
"waitAfterCompletion": "forever"
},
"1-install-bgp4" : {
"command" : "powershell.exe -Command \"Start-Sleep 20; Install-RemoteAccess -ErrorAction Ignore -VpnType RoutingOnly\"",
"test" : "findstr calico-bgp c:\\k\\backend",
"waitAfterCompletion": "0"
},
"1-install-bgp5" : {
"command" : "powershell.exe -Command \"Start-Sleep 20; Install-RemoteAccess -ErrorAction Ignore -VpnType RoutingOnly\"",
"command" : "powershell.exe -Command \"Start-Sleep 60; Install-RemoteAccess -ErrorAction Ignore -VpnType RoutingOnly\"",
"test" : "findstr calico-bgp c:\\k\\backend",
"waitAfterCompletion": "0"
},
Expand Down
2 changes: 1 addition & 1 deletion process/testing/winfv/setup-fv.sh
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ function setup_fv() {
setup_kubeadm_cluster
#create etcd manually with http protocol
LOCAL_IP_ENV=${LINUX_PIP}
ETCD_CONTAINER=quay.io/coreos/etcd:v3.3.7
ETCD_CONTAINER=quay.io/coreos/etcd:v3.4.6
${MASTER_CONNECT_COMMAND} docker run --detach -p 2389:2389 --name calico-etcd ${ETCD_CONTAINER} etcd --advertise-client-urls "http://${LOCAL_IP_ENV}:2389,http://127.0.0.1:2389,http://${LOCAL_IP_ENV}:8001,http://127.0.0.1:8001" --listen-client-urls "http://0.0.0.0:2389,http://0.0.0.0:8001"

echo
Expand Down

0 comments on commit ca49a0c

Please sign in to comment.