Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: fix openssl issue in cs9 #8705

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -232,8 +232,15 @@ for SOURCE in $(sudo composer-cli sources list); do
sudo composer-cli sources info "$SOURCE"
done

# In case port 8081 is already in use
# In case port 8081 is already in use in testing-farm machine
sudo dnf install -y lsof
if lsof -nP -iTCP -sTCP:LISTEN|grep 8081; then
sudo fuser -k 8081/tcp
fi

# Workaround to fix openssl issue on cs9, after openssl upgraded to openssl-libs-1:3.2.2-6.el9.x86_64, ssh will report error like this:
# [root@yih-c9-4444 ~]# ssh
# OpenSSL version mismatch. Built against 30000070, you have 30200020
if [[ "${ID}-${VERSION_ID}" == "centos-9" ]]; then
sudo dnf reinstall -y openssh-server openssh-clients
fi
Loading