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

SecretPad All In One 安装报错 #195

Open
Caict-GuoShiJie opened this issue Jan 10, 2025 · 17 comments
Open

SecretPad All In One 安装报错 #195

Caict-GuoShiJie opened this issue Jan 10, 2025 · 17 comments
Assignees

Comments

@Caict-GuoShiJie
Copy link

Issue Type

Install/Deploy

Have you searched for existing documents and issues?

Yes

OS Platform and Distribution

CentOS Linux release 7.5.1804

All_in_one Version

v1.11.0

Module type

kuscia

Module version

kuscia:0.13.0b0

What happend and What you expected to happen.

[root@localhost secretflow-allinone-package]# bash install.sh autonomy -n alice -s 8088 -g 18083 -k 18082 -p 18080 -q 13081 -x 18084 -P mtls
AMD64 or Intel 64-bit architecture detected
load docker image by local images /opt/secretflow/secretflow-allinone-package/images
/opt/secretflow/secretflow-allinone-package/images/capsule-manager-sim-v0.1.0b0.tar
echo Loaded image: secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/capsule-manager-sim-ubuntu20.04:v0.1.0b0
/opt/secretflow/secretflow-allinone-package/images/dataproxy-0.3.0b0.tar
echo Loaded image: secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/dataproxy:0.3.0b0
/opt/secretflow/secretflow-allinone-package/images/kuscia-0.13.0b0.tar
echo Loaded image: secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/kuscia:0.13.0b0
/opt/secretflow/secretflow-allinone-package/images/scql-0.9.2b1.tar
echo Loaded image: secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/scql:0.9.2b1
/opt/secretflow/secretflow-allinone-package/images/secretflow-1.11.0b1.tar
echo Loaded image: secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/secretflow-lite-anolis8:1.11.0b1
/opt/secretflow/secretflow-allinone-package/images/secretpad-0.12.0b0.tar
echo Loaded image: secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/secretpad:0.12.0b0
/opt/secretflow/secretflow-allinone-package/images/serving-0.8.0b0.tar
echo Loaded image: secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/serving-anolis8:0.8.0b0
/opt/secretflow/secretflow-allinone-package/images/sf-tee-dm-sim-0.1.0b0.tar
echo Loaded image: secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/sf-tee-dm-sim:0.1.0b0
/opt/secretflow/secretflow-allinone-package/images/teeapps-sim-0.1.2b0.tar
echo Loaded image: secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/teeapps-sim-ubuntu20.04:0.1.2b0
SECRETPAD_IMAGE           secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/secretpad:0.12.0b0
KUSCIA_IMAGE              secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/kuscia:0.13.0b0
SECRETFLOW_IMAGE          secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/secretflow-lite-anolis8:1.11.0b1
SECRETFLOW_SERVING_IMAGE  secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/serving-anolis8:0.8.0b0
DATAPROXY_IMAGE           secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/dataproxy:0.3.0b0
f72dc425821469b85231936de4c95a7669d8fb1777c84633e027b203dc3a134f

                         _    __ _
  ___  ___  ___ _ __ ___| |_ / _| | _____      __
 / __|/ _ \/ __| '__/ _ \ __| |_| |/ _ \ \ /\ / /
 \__ \  __/ (__| | |  __/ |_|  _| | (_) \ V  V /
 |___/\___|\___|_|  \___|\__|_| |_|\___/ \_/\_/

https://www.secretflow.org.cn/
[INFO] 
    mode:         autonomy     MPC
    node:         alice
    secretpad     http      port: 8088
    kuscia        http      port: 18082
    kuscia        grpc      port: 18083
    kuscia        gateway   port: 18080
    kuscia        protocol: mtls
    secretpad     ctr:      root-kuscia-autonomy-secretpad-alice
    kuscia        ctr:      root-kuscia-autonomy-alice
    secretpad     dir:      /root/kuscia/autonomy/secretpad
    kuscia        dir:      /root/kuscia/autonomy/data/alice
    k3s           dir:      /root/kuscia/autonomy/alice/k3s
    kuscia.yaml   dir:      /root/kuscia/autonomy/alice
    
/root/kuscia/autonomy/alice/kuscia.yaml exit, remove old file root-kuscia-autonomy-alice/kuscia.yaml
/root/kuscia/autonomy/alice/kuscia.yaml exit, use old domainKeyData
[INFO] kuscia init kuscia.yaml /root/kuscia/autonomy/alice/kuscia.yaml

Log output.

r
@Chrisdehe
Copy link
Member

@Caict-GuoShiJie 辛苦贴出以下信息
容器状态:docker ps
容器日志:docker logs container_id

@Caict-GuoShiJie
Copy link
Author

[root@localhost ~]# docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
[root@localhost ~]#
[root@localhost ~]#
[root@localhost ~]#
[root@localhost ~]#
[root@localhost ~]#
[root@localhost ~]#
[root@localhost ~]# docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/secretpad 0.12.0b0 210e81139b12 10 days ago 956MB
secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/scql 0.9.2b1 a39a73ed2bfa 2 weeks ago 578MB
secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/secretflow-lite-anolis8 1.11.0b1 9bcb2e7a4264 2 weeks ago 1.68GB
secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/serving-anolis8 0.8.0b0 8d9de8f6e145 3 weeks ago 445MB
secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/dataproxy 0.3.0b0 08fc3dc32839 3 weeks ago 793MB
secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/kuscia 0.13.0b0 6f09d700eea5 3 weeks ago 1.09GB
secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/teeapps-sim-ubuntu20.04 0.1.2b0 0e3bf80482f2 11 months ago 1.53GB
secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/capsule-manager-sim-ubuntu20.04 v0.1.0b0 6af6351e4fd3 14 months ago 180MB
secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/sf-tee-dm-sim 0.1.0b0 45ac7cccd2e5 14 months ago 424MB
[root@localhost ~]#
[root@localhost ~]#
[root@localhost ~]# docker --version
Docker version 18.09.6, build 481bc77156

@Chrisdehe
Copy link
Member

排查docker版本的操作很赞,我们推荐使用 20.10.24 或更高版本的Docker
image
https://www.secretflow.org.cn/zh-CN/docs/secretpad-all-in-one/v1.11.0b1/p2p_deploy/platform_installation_guidelines#id3

@Caict-GuoShiJie
Copy link
Author

好的 我升级试试 感谢

@Caict-GuoShiJie
Copy link
Author

hello,升级docker版本还是一样的错误,辛苦看看什么问题,日志如下:
[root@localhost secretflow-allinone-package]# bash install.sh autonomy -n alice -s 8088 -g 18083 -k 18082 -p 18080 -q 13081 -x 18084 -P notls
AMD64 or Intel 64-bit architecture detected
load docker image by local images /opt/secretflow/secretflow-allinone-package/images
/opt/secretflow/secretflow-allinone-package/images/capsule-manager-sim-v0.1.0b0.tar
echo Loaded image: secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/capsule-manager-sim-ubuntu20.04:v0.1.0b0
/opt/secretflow/secretflow-allinone-package/images/dataproxy-0.3.0b0.tar
echo Loaded image: secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/dataproxy:0.3.0b0
/opt/secretflow/secretflow-allinone-package/images/kuscia-0.13.0b0.tar
echo Loaded image: secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/kuscia:0.13.0b0
/opt/secretflow/secretflow-allinone-package/images/scql-0.9.2b1.tar
echo Loaded image: secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/scql:0.9.2b1
/opt/secretflow/secretflow-allinone-package/images/secretflow-1.11.0b1.tar
echo Loaded image: secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/secretflow-lite-anolis8:1.11.0b1
/opt/secretflow/secretflow-allinone-package/images/secretpad-0.12.0b0.tar
echo Loaded image: secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/secretpad:0.12.0b0
/opt/secretflow/secretflow-allinone-package/images/serving-0.8.0b0.tar
echo Loaded image: secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/serving-anolis8:0.8.0b0
/opt/secretflow/secretflow-allinone-package/images/sf-tee-dm-sim-0.1.0b0.tar
echo Loaded image: secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/sf-tee-dm-sim:0.1.0b0
/opt/secretflow/secretflow-allinone-package/images/teeapps-sim-0.1.2b0.tar
echo Loaded image: secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/teeapps-sim-ubuntu20.04:0.1.2b0
SECRETPAD_IMAGE secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/secretpad:0.12.0b0
KUSCIA_IMAGE secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/kuscia:0.13.0b0
SECRETFLOW_IMAGE secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/secretflow-lite-anolis8:1.11.0b1
SECRETFLOW_SERVING_IMAGE secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/serving-anolis8:0.8.0b0
DATAPROXY_IMAGE secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/dataproxy:0.3.0b0
8b1681fa9f86e6476eddabf6f548d110a5935d6cade8fd5b829dbe1213321a48

                     _    __ _

___ ___ ___ _ __ | | / | | _____ __
/ __|/ _ / | '/ _ \ __| |
| |/ _ \ \ /\ / /
_
\ / (| | | __/ |
| | | () \ V V /
|/_|_|_| _|_|| |_|__/ _/_/

https://www.secretflow.org.cn/
[INFO]
mode: autonomy MPC
node: alice
secretpad http port: 8088
kuscia http port: 18082
kuscia grpc port: 18083
kuscia gateway port: 18080
kuscia protocol: notls
secretpad ctr: root-kuscia-autonomy-secretpad-alice
kuscia ctr: root-kuscia-autonomy-alice
secretpad dir: /root/kuscia/autonomy/secretpad
kuscia dir: /root/kuscia/autonomy/data/alice
k3s dir: /root/kuscia/autonomy/alice/k3s
kuscia.yaml dir: /root/kuscia/autonomy/alice

/root/kuscia/autonomy/alice/kuscia.yaml exit, remove old file root-kuscia-autonomy-alice/kuscia.yaml
/root/kuscia/autonomy/alice/kuscia.yaml exit, use old domainKeyData
[INFO] kuscia init kuscia.yaml /root/kuscia/autonomy/alice/kuscia.yaml
[root@localhost secretflow-allinone-package]# docker -v
Docker version 20.10.24, build 297e128
[root@localhost secretflow-allinone-package]# docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES

@Chrisdehe
Copy link
Member

确认一下是否是因为CPU导致的
如果你是intel的CPU应该下载的是X86,反则之
如果CPU无问题可以参考以下解决方法(进入调试模式,让运行日志显示更多):
1、./uninstall 卸载掉之前的
2、打开install脚本将以下两行注释掉

function init_deploy_shell() {
        CTR_ROOT=${CTR_ROOT:-"/home/kuscia"}
        rm -rf "$I_PATH/deploy"
        TEMP_CONTAINER=$(docker create "$SECRETPAD_IMAGE")
        docker cp "$TEMP_CONTAINER:/app/scripts/deploy" "$I_PATH/deploy"
     # docker rm "$TEMP_CONTAINER"
     # docker run --rm "$KUSCIA_IMAGE" cat "${CTR_ROOT}"/scripts/deploy/kuscia.sh >kuscia.sh && chmod u+x "$I_PATH"/kuscia.sh
        docker run --rm "$KUSCIA_IMAGE" cat "${CTR_ROOT}"/scripts/deploy/register_app_image.sh >register_app_image_0.sh && chmod u+x register_app_image_0.sh
}

3、打开kuscia.sh和register_app_image_0.sh,将第一行的

set -e
修改为
set -ex

4、执行,注意端口号不能被占用和重复

bash install.sh autonomy -n alice -s 8088 -g 18083 -k 18082 -p 18080 -q 13081 -x 18084 -P notls

@Caict-GuoShiJie
Copy link
Author

您好,还是一样的错误,信息如下:
[root@localhost secretflow-allinone-package]# cat /proc/cpuinfo | grep "model name"
model name : Intel(R) Xeon(R) Gold 6240 CPU @ 2.60GHz
model name : Intel(R) Xeon(R) Gold 6240 CPU @ 2.60GHz
model name : Intel(R) Xeon(R) Gold 6240 CPU @ 2.60GHz
model name : Intel(R) Xeon(R) Gold 6240 CPU @ 2.60GHz
model name : Intel(R) Xeon(R) Gold 6240 CPU @ 2.60GHz
model name : Intel(R) Xeon(R) Gold 6240 CPU @ 2.60GHz
model name : Intel(R) Xeon(R) Gold 6240 CPU @ 2.60GHz
model name : Intel(R) Xeon(R) Gold 6240 CPU @ 2.60GHz
1736747769109
1736747769113

@Chrisdehe
Copy link
Member

function init_deploy_shell() {
        CTR_ROOT=${CTR_ROOT:-"/home/kuscia"}
        rm -rf "$I_PATH/deploy"
        TEMP_CONTAINER=$(docker create "$SECRETPAD_IMAGE")
        docker cp "$TEMP_CONTAINER:/app/scripts/deploy" "$I_PATH/deploy"
        docker rm "$TEMP_CONTAINER"
     # docker run --rm "$KUSCIA_IMAGE" cat "${CTR_ROOT}"/scripts/deploy/kuscia.sh >kuscia.sh && chmod u+x "$I_PATH"/kuscia.sh
     # docker run --rm "$KUSCIA_IMAGE" cat "${CTR_ROOT}"/scripts/deploy/register_app_image.sh >register_app_image_0.sh && chmod u+x register_app_image_0.sh
}

抱歉,是注释这两行,上面的信息标注错误了

@Caict-GuoShiJie
Copy link
Author

一样的错误,
image
[root@localhost secretflow-allinone-package]# ./uninstall.sh
No Kuscia containers found!
No Kuscia volumes found!
No Kuscia kuscia-exchange network found!
[root@localhost secretflow-allinone-package]#
[root@localhost secretflow-allinone-package]#
[root@localhost secretflow-allinone-package]#
[root@localhost secretflow-allinone-package]#
[root@localhost secretflow-allinone-package]#
[root@localhost secretflow-allinone-package]# bash install.sh autonomy -n alice -s 8088 -g 18083 -k 18082 -p 18080 -q 13081 -x 18084 -P notls
AMD64 or Intel 64-bit architecture detected
load docker image by local images /opt/secretflow/secretflow-allinone-package/images
/opt/secretflow/secretflow-allinone-package/images/capsule-manager-sim-v0.1.0b0.tar
echo Loaded image: secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/capsule-manager-sim-ubuntu20.04:v0.1.0b0
/opt/secretflow/secretflow-allinone-package/images/dataproxy-0.3.0b0.tar
echo Loaded image: secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/dataproxy:0.3.0b0
/opt/secretflow/secretflow-allinone-package/images/kuscia-0.13.0b0.tar
echo Loaded image: secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/kuscia:0.13.0b0
/opt/secretflow/secretflow-allinone-package/images/scql-0.9.2b1.tar
echo Loaded image: secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/scql:0.9.2b1
/opt/secretflow/secretflow-allinone-package/images/secretflow-1.11.0b1.tar
echo Loaded image: secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/secretflow-lite-anolis8:1.11.0b1
/opt/secretflow/secretflow-allinone-package/images/secretpad-0.12.0b0.tar
echo Loaded image: secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/secretpad:0.12.0b0
/opt/secretflow/secretflow-allinone-package/images/serving-0.8.0b0.tar
echo Loaded image: secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/serving-anolis8:0.8.0b0
/opt/secretflow/secretflow-allinone-package/images/sf-tee-dm-sim-0.1.0b0.tar
echo Loaded image: secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/sf-tee-dm-sim:0.1.0b0
/opt/secretflow/secretflow-allinone-package/images/teeapps-sim-0.1.2b0.tar
echo Loaded image: secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/teeapps-sim-ubuntu20.04:0.1.2b0
SECRETPAD_IMAGE secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/secretpad:0.12.0b0
KUSCIA_IMAGE secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/kuscia:0.13.0b0
SECRETFLOW_IMAGE secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/secretflow-lite-anolis8:1.11.0b1
SECRETFLOW_SERVING_IMAGE secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/serving-anolis8:0.8.0b0
DATAPROXY_IMAGE secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/dataproxy:0.3.0b0
70a92061d4536cda14db5a009808b1f62dd57ce131196ba1119c19f45ef7a4c6

                     _    __ _

___ ___ ___ _ __ | | / | | _____ __
/ __|/ _ / | '/ _ \ __| |
| |/ _ \ \ /\ / /
_
\ / (| | | __/ |
| | | () \ V V /
|/_|_|_| _|_|| |_|__/ _/_/

https://www.secretflow.org.cn/
[INFO]
mode: autonomy MPC
node: alice
secretpad http port: 8088
kuscia http port: 18082
kuscia grpc port: 18083
kuscia gateway port: 18080
kuscia protocol: notls
secretpad ctr: root-kuscia-autonomy-secretpad-alice
kuscia ctr: root-kuscia-autonomy-alice
secretpad dir: /root/kuscia/autonomy/secretpad
kuscia dir: /root/kuscia/autonomy/data/alice
k3s dir: /root/kuscia/autonomy/alice/k3s
kuscia.yaml dir: /root/kuscia/autonomy/alice

/root/kuscia/autonomy/alice/kuscia.yaml exit, remove old file root-kuscia-autonomy-alice/kuscia.yaml
/root/kuscia/autonomy/alice/kuscia.yaml exit, use old domainKeyData
[INFO] kuscia init kuscia.yaml /root/kuscia/autonomy/alice/kuscia.yaml

@Chrisdehe
Copy link
Member

再次查看一下文件中是否为set -ex
另外执行命令改一下重新执行

bash -x install.sh autonomy -n alice -s 8088 -g 18083 -k 18082 -p 18080 -q 13081 -x 18084 -P notls

@Caict-GuoShiJie
Copy link
Author

kuscia.sh:
image

register_app_image_0.sh
image

[root@localhost secretflow-allinone-package]# bash -x install.sh autonomy -n alice -s 8088 -g 18083 -k 18082 -p 18080 -q 13081 -x 18084 -P notls

  • export KUSCIA_IMAGE=secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/kuscia:0.13.0b0
  • KUSCIA_IMAGE=secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/kuscia:0.13.0b0
  • export SECRETPAD_IMAGE=secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/secretpad:0.12.0b0
  • SECRETPAD_IMAGE=secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/secretpad:0.12.0b0
  • export SECRETFLOW_IMAGE=secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/secretflow-lite-anolis8:1.11.0b1
  • SECRETFLOW_IMAGE=secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/secretflow-lite-anolis8:1.11.0b1
  • export SECRETFLOW_SERVING_IMAGE=secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/serving-anolis8:0.8.0b0
  • SECRETFLOW_SERVING_IMAGE=secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/serving-anolis8:0.8.0b0
  • export TEE_APP_IMAGE=secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/teeapps-sim-ubuntu20.04:0.1.2b0
  • TEE_APP_IMAGE=secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/teeapps-sim-ubuntu20.04:0.1.2b0
  • export TEE_DM_IMAGE=secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/sf-tee-dm-sim:0.1.0b0
  • TEE_DM_IMAGE=secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/sf-tee-dm-sim:0.1.0b0
  • export CAPSULE_MANAGER_SIM_IMAGE=secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/capsule-manager-sim-ubuntu20.04:v0.1.0b0
  • CAPSULE_MANAGER_SIM_IMAGE=secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/capsule-manager-sim-ubuntu20.04:v0.1.0b0
  • export DATAPROXY_IMAGE=secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/dataproxy:0.3.0b0
  • DATAPROXY_IMAGE=secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/dataproxy:0.3.0b0
  • export SCQL_IMAGE=secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/scql:0.9.2b1
  • SCQL_IMAGE=secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/scql:0.9.2b1
  • export DEPLOY_MODE=ALL-IN-ONE
  • DEPLOY_MODE=ALL-IN-ONE
  • export KUSCIA_PROTOCOL=tls
  • KUSCIA_PROTOCOL=tls
  • set -e
    ++ date +%s
  • start_time=1736758997
    ++++ readlink -f install.sh
    +++ dirname /opt/secretflow/secretflow-allinone-package/install.sh
    ++ cd /opt/secretflow/secretflow-allinone-package
    ++ pwd
  • I_PATH=/opt/secretflow/secretflow-allinone-package
  • RED='\033[0;31m'
  • case "${1}" in
  • export MODE=autonomy
  • MODE=autonomy
  • export DEPLOY_MODE=MPC
  • DEPLOY_MODE=MPC
  • shift
  • getopts m:n:s:p:k:g:t:d:P:q:b:x:h option
  • case "$option" in
  • export NODE_ID=alice
  • NODE_ID=alice
  • getopts m:n:s:p:k:g:t:d:P:q:b:x:h option
  • case "$option" in
  • export PAD_PORT=8088
  • PAD_PORT=8088
  • getopts m:n:s:p:k:g:t:d:P:q:b:x:h option
  • case "$option" in
  • export KUSCIA_API_GRPC_PORT=18083
  • KUSCIA_API_GRPC_PORT=18083
  • getopts m:n:s:p:k:g:t:d:P:q:b:x:h option
  • case "$option" in
  • export KUSCIA_API_HTTP_PORT=18082
  • KUSCIA_API_HTTP_PORT=18082
  • getopts m:n:s:p:k:g:t:d:P:q:b:x:h option
  • case "$option" in
  • export KUSCIA_GATEWAY_PORT=18080
  • KUSCIA_GATEWAY_PORT=18080
  • getopts m:n:s:p:k:g:t:d:P:q:b:x:h option
  • case "$option" in
  • export DOMAIN_HOST_INTERNAL_PORT=13081
  • DOMAIN_HOST_INTERNAL_PORT=13081
  • getopts m:n:s:p:k:g:t:d:P:q:b:x:h option
  • case "$option" in
  • export METRICS_PORT=18084
  • METRICS_PORT=18084
  • getopts m:n:s:p:k:g:t:d:P:q:b:x:h option
  • case "$option" in
  • export KUSCIA_PROTOCOL=notls
  • KUSCIA_PROTOCOL=notls
  • getopts m:n:s:p:k:g:t:d:P:q:b:x:h option
  • shift 16
    ++ uname -m
  • architecture=x86_64
  • case $architecture in
  • echo 'AMD64 or Intel 64-bit architecture detected'
    AMD64 or Intel 64-bit architecture detected
  • check_and_init
  • load_docker_images
  • '[' -d /opt/secretflow/secretflow-allinone-package/images ']'
  • echo 'load docker image by local images /opt/secretflow/secretflow-allinone-package/images'
    load docker image by local images /opt/secretflow/secretflow-allinone-package/images
  • init_images_from_files
  • empty_image_env
  • export SECRETPAD_IMAGE=
  • SECRETPAD_IMAGE=
  • export KUSCIA_IMAGE=
  • KUSCIA_IMAGE=
  • export SECRETFLOW_IMAGE=
  • SECRETFLOW_IMAGE=
  • export SECRETFLOW_SERVING_IMAGE=
  • SECRETFLOW_SERVING_IMAGE=
  • export TEE_APP_IMAGE=
  • TEE_APP_IMAGE=
  • export TEE_DM_IMAGE=
  • TEE_DM_IMAGE=
  • export CAPSULE_MANAGER_SIM_IMAGE=
  • CAPSULE_MANAGER_SIM_IMAGE=
  • export DATAPROXY_IMAGE=
  • DATAPROXY_IMAGE=
  • export SCQL_IMAGE=
  • SCQL_IMAGE=
  • for file in '$I_PATH/images/*'
  • '[' -f /opt/secretflow/secretflow-allinone-package/images/capsule-manager-sim-v0.1.0b0.tar ']'
  • echo /opt/secretflow/secretflow-allinone-package/images/capsule-manager-sim-v0.1.0b0.tar
    /opt/secretflow/secretflow-allinone-package/images/capsule-manager-sim-v0.1.0b0.tar
    ++ docker load
  • imageInfo='Loaded image: secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/capsule-manager-sim-ubuntu20.04:v0.1.0b0'
  • echo 'echo Loaded image: secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/capsule-manager-sim-ubuntu20.04:v0.1.0b0'
    echo Loaded image: secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/capsule-manager-sim-ubuntu20.04:v0.1.0b0
    ++ sed 's/Loaded image: //'
    ++ echo 'Loaded image: secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/capsule-manager-sim-ubuntu20.04:v0.1.0b0'
  • image=secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/capsule-manager-sim-ubuntu20.04:v0.1.0b0
  • [[ secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/capsule-manager-sim-ubuntu20.04:v0.1.0b0 == kuscia ]]
  • [[ secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/capsule-manager-sim-ubuntu20.04:v0.1.0b0 == secretpad ]]
  • [[ secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/capsule-manager-sim-ubuntu20.04:v0.1.0b0 == secretflow-lite ]]
  • [[ secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/capsule-manager-sim-ubuntu20.04:v0.1.0b0 == sf-tee-dm-sim ]]
  • [[ secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/capsule-manager-sim-ubuntu20.04:v0.1.0b0 == capsule-manager-sim ]]
  • export CAPSULE_MANAGER_SIM_IMAGE=secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/capsule-manager-sim-ubuntu20.04:v0.1.0b0
  • CAPSULE_MANAGER_SIM_IMAGE=secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/capsule-manager-sim-ubuntu20.04:v0.1.0b0
  • for file in '$I_PATH/images/*'
  • '[' -f /opt/secretflow/secretflow-allinone-package/images/dataproxy-0.3.0b0.tar ']'
  • echo /opt/secretflow/secretflow-allinone-package/images/dataproxy-0.3.0b0.tar
    /opt/secretflow/secretflow-allinone-package/images/dataproxy-0.3.0b0.tar
    ++ docker load
  • imageInfo='Loaded image: secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/dataproxy:0.3.0b0'
  • echo 'echo Loaded image: secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/dataproxy:0.3.0b0'
    echo Loaded image: secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/dataproxy:0.3.0b0
    ++ sed 's/Loaded image: //'
    ++ echo 'Loaded image: secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/dataproxy:0.3.0b0'
  • image=secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/dataproxy:0.3.0b0
  • [[ secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/dataproxy:0.3.0b0 == kuscia ]]
  • [[ secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/dataproxy:0.3.0b0 == secretpad ]]
  • [[ secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/dataproxy:0.3.0b0 == secretflow-lite ]]
  • [[ secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/dataproxy:0.3.0b0 == sf-tee-dm-sim ]]
  • [[ secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/dataproxy:0.3.0b0 == capsule-manager-sim ]]
  • [[ secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/dataproxy:0.3.0b0 == teeapps-sim ]]
  • [[ secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/dataproxy:0.3.0b0 == serving-anolis8 ]]
  • [[ secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/dataproxy:0.3.0b0 == dataproxy ]]
  • export DATAPROXY_IMAGE=secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/dataproxy:0.3.0b0
  • DATAPROXY_IMAGE=secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/dataproxy:0.3.0b0
  • for file in '$I_PATH/images/*'
  • '[' -f /opt/secretflow/secretflow-allinone-package/images/kuscia-0.13.0b0.tar ']'
  • echo /opt/secretflow/secretflow-allinone-package/images/kuscia-0.13.0b0.tar
    /opt/secretflow/secretflow-allinone-package/images/kuscia-0.13.0b0.tar
    ++ docker load
  • imageInfo='Loaded image: secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/kuscia:0.13.0b0'
  • echo 'echo Loaded image: secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/kuscia:0.13.0b0'
    echo Loaded image: secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/kuscia:0.13.0b0
    ++ echo 'Loaded image: secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/kuscia:0.13.0b0'
    ++ sed 's/Loaded image: //'
  • image=secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/kuscia:0.13.0b0
  • [[ secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/kuscia:0.13.0b0 == kuscia ]]
  • export KUSCIA_IMAGE=secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/kuscia:0.13.0b0
  • KUSCIA_IMAGE=secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/kuscia:0.13.0b0
  • for file in '$I_PATH/images/*'
  • '[' -f /opt/secretflow/secretflow-allinone-package/images/scql-0.9.2b1.tar ']'
  • echo /opt/secretflow/secretflow-allinone-package/images/scql-0.9.2b1.tar
    /opt/secretflow/secretflow-allinone-package/images/scql-0.9.2b1.tar
    ++ docker load
  • imageInfo='Loaded image: secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/scql:0.9.2b1'
  • echo 'echo Loaded image: secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/scql:0.9.2b1'
    echo Loaded image: secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/scql:0.9.2b1
    ++ echo 'Loaded image: secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/scql:0.9.2b1'
    ++ sed 's/Loaded image: //'
  • image=secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/scql:0.9.2b1
  • [[ secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/scql:0.9.2b1 == kuscia ]]
  • [[ secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/scql:0.9.2b1 == secretpad ]]
  • [[ secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/scql:0.9.2b1 == secretflow-lite ]]
  • [[ secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/scql:0.9.2b1 == sf-tee-dm-sim ]]
  • [[ secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/scql:0.9.2b1 == capsule-manager-sim ]]
  • [[ secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/scql:0.9.2b1 == teeapps-sim ]]
  • [[ secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/scql:0.9.2b1 == serving-anolis8 ]]
  • [[ secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/scql:0.9.2b1 == dataproxy ]]
  • [[ secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/scql:0.9.2b1 == scql ]]
  • export SCQL_IMAGE=secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/scql:0.9.2b1
  • SCQL_IMAGE=secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/scql:0.9.2b1
  • for file in '$I_PATH/images/*'
  • '[' -f /opt/secretflow/secretflow-allinone-package/images/secretflow-1.11.0b1.tar ']'
  • echo /opt/secretflow/secretflow-allinone-package/images/secretflow-1.11.0b1.tar
    /opt/secretflow/secretflow-allinone-package/images/secretflow-1.11.0b1.tar
    ++ docker load
  • imageInfo='Loaded image: secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/secretflow-lite-anolis8:1.11.0b1'
  • echo 'echo Loaded image: secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/secretflow-lite-anolis8:1.11.0b1'
    echo Loaded image: secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/secretflow-lite-anolis8:1.11.0b1
    ++ echo 'Loaded image: secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/secretflow-lite-anolis8:1.11.0b1'
    ++ sed 's/Loaded image: //'
  • image=secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/secretflow-lite-anolis8:1.11.0b1
  • [[ secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/secretflow-lite-anolis8:1.11.0b1 == kuscia ]]
  • [[ secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/secretflow-lite-anolis8:1.11.0b1 == secretpad ]]
  • [[ secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/secretflow-lite-anolis8:1.11.0b1 == secretflow-lite ]]
  • export SECRETFLOW_IMAGE=secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/secretflow-lite-anolis8:1.11.0b1
  • SECRETFLOW_IMAGE=secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/secretflow-lite-anolis8:1.11.0b1
  • for file in '$I_PATH/images/*'
  • '[' -f /opt/secretflow/secretflow-allinone-package/images/secretpad-0.12.0b0.tar ']'
  • echo /opt/secretflow/secretflow-allinone-package/images/secretpad-0.12.0b0.tar
    /opt/secretflow/secretflow-allinone-package/images/secretpad-0.12.0b0.tar
    ++ docker load
  • imageInfo='Loaded image: secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/secretpad:0.12.0b0'
  • echo 'echo Loaded image: secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/secretpad:0.12.0b0'
    echo Loaded image: secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/secretpad:0.12.0b0
    ++ echo 'Loaded image: secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/secretpad:0.12.0b0'
    ++ sed 's/Loaded image: //'
  • image=secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/secretpad:0.12.0b0
  • [[ secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/secretpad:0.12.0b0 == kuscia ]]
  • [[ secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/secretpad:0.12.0b0 == secretpad ]]
  • export SECRETPAD_IMAGE=secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/secretpad:0.12.0b0
  • SECRETPAD_IMAGE=secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/secretpad:0.12.0b0
  • for file in '$I_PATH/images/*'
  • '[' -f /opt/secretflow/secretflow-allinone-package/images/serving-0.8.0b0.tar ']'
  • echo /opt/secretflow/secretflow-allinone-package/images/serving-0.8.0b0.tar
    /opt/secretflow/secretflow-allinone-package/images/serving-0.8.0b0.tar
    ++ docker load
  • imageInfo='Loaded image: secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/serving-anolis8:0.8.0b0'
  • echo 'echo Loaded image: secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/serving-anolis8:0.8.0b0'
    echo Loaded image: secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/serving-anolis8:0.8.0b0
    ++ echo 'Loaded image: secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/serving-anolis8:0.8.0b0'
    ++ sed 's/Loaded image: //'
  • image=secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/serving-anolis8:0.8.0b0
  • [[ secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/serving-anolis8:0.8.0b0 == kuscia ]]
  • [[ secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/serving-anolis8:0.8.0b0 == secretpad ]]
  • [[ secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/serving-anolis8:0.8.0b0 == secretflow-lite ]]
  • [[ secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/serving-anolis8:0.8.0b0 == sf-tee-dm-sim ]]
  • [[ secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/serving-anolis8:0.8.0b0 == capsule-manager-sim ]]
  • [[ secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/serving-anolis8:0.8.0b0 == teeapps-sim ]]
  • [[ secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/serving-anolis8:0.8.0b0 == serving-anolis8 ]]
  • export SECRETFLOW_SERVING_IMAGE=secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/serving-anolis8:0.8.0b0
  • SECRETFLOW_SERVING_IMAGE=secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/serving-anolis8:0.8.0b0
  • for file in '$I_PATH/images/*'
  • '[' -f /opt/secretflow/secretflow-allinone-package/images/sf-tee-dm-sim-0.1.0b0.tar ']'
  • echo /opt/secretflow/secretflow-allinone-package/images/sf-tee-dm-sim-0.1.0b0.tar
    /opt/secretflow/secretflow-allinone-package/images/sf-tee-dm-sim-0.1.0b0.tar
    ++ docker load
  • imageInfo='Loaded image: secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/sf-tee-dm-sim:0.1.0b0'
  • echo 'echo Loaded image: secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/sf-tee-dm-sim:0.1.0b0'
    echo Loaded image: secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/sf-tee-dm-sim:0.1.0b0
    ++ echo 'Loaded image: secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/sf-tee-dm-sim:0.1.0b0'
    ++ sed 's/Loaded image: //'
  • image=secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/sf-tee-dm-sim:0.1.0b0
  • [[ secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/sf-tee-dm-sim:0.1.0b0 == kuscia ]]
  • [[ secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/sf-tee-dm-sim:0.1.0b0 == secretpad ]]
  • [[ secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/sf-tee-dm-sim:0.1.0b0 == secretflow-lite ]]
  • [[ secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/sf-tee-dm-sim:0.1.0b0 == sf-tee-dm-sim ]]
  • export TEE_DM_IMAGE=secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/sf-tee-dm-sim:0.1.0b0
  • TEE_DM_IMAGE=secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/sf-tee-dm-sim:0.1.0b0
  • for file in '$I_PATH/images/*'
  • '[' -f /opt/secretflow/secretflow-allinone-package/images/teeapps-sim-0.1.2b0.tar ']'
  • echo /opt/secretflow/secretflow-allinone-package/images/teeapps-sim-0.1.2b0.tar
    /opt/secretflow/secretflow-allinone-package/images/teeapps-sim-0.1.2b0.tar
    ++ docker load
  • imageInfo='Loaded image: secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/teeapps-sim-ubuntu20.04:0.1.2b0'
  • echo 'echo Loaded image: secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/teeapps-sim-ubuntu20.04:0.1.2b0'
    echo Loaded image: secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/teeapps-sim-ubuntu20.04:0.1.2b0
    ++ echo 'Loaded image: secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/teeapps-sim-ubuntu20.04:0.1.2b0'
    ++ sed 's/Loaded image: //'
  • image=secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/teeapps-sim-ubuntu20.04:0.1.2b0
  • [[ secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/teeapps-sim-ubuntu20.04:0.1.2b0 == kuscia ]]
  • [[ secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/teeapps-sim-ubuntu20.04:0.1.2b0 == secretpad ]]
  • [[ secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/teeapps-sim-ubuntu20.04:0.1.2b0 == secretflow-lite ]]
  • [[ secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/teeapps-sim-ubuntu20.04:0.1.2b0 == sf-tee-dm-sim ]]
  • [[ secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/teeapps-sim-ubuntu20.04:0.1.2b0 == capsule-manager-sim ]]
  • [[ secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/teeapps-sim-ubuntu20.04:0.1.2b0 == teeapps-sim ]]
  • export TEE_APP_IMAGE=secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/teeapps-sim-ubuntu20.04:0.1.2b0
  • TEE_APP_IMAGE=secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/teeapps-sim-ubuntu20.04:0.1.2b0
  • check_image_ok
  • '[' MPC = ALL-IN-ONE ']'
  • '[' MPC = MPC ']'
  • check_pad_kuscia_sf_image
  • '[' -z secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/secretpad:0.12.0b0 ']'
  • '[' -z secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/kuscia:0.13.0b0 ']'
  • '[' -z secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/secretflow-lite-anolis8:1.11.0b1 ']'
  • '[' -z secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/serving-anolis8:0.8.0b0 ']'
  • update_sf_image_name
  • [[ secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/secretflow-lite-anolis8:1.11.0b1 != aliyuncs ]]
  • [[ secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/serving-anolis8:0.8.0b0 != aliyuncs ]]
  • need_scql
  • '[' '' = true ']'
  • return 1
  • show_mpc_images
  • echo 'SECRETPAD_IMAGE secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/secretpad:0.12.0b0'
    SECRETPAD_IMAGE secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/secretpad:0.12.0b0
  • echo 'KUSCIA_IMAGE secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/kuscia:0.13.0b0'
    KUSCIA_IMAGE secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/kuscia:0.13.0b0
  • echo 'SECRETFLOW_IMAGE secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/secretflow-lite-anolis8:1.11.0b1'
    SECRETFLOW_IMAGE secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/secretflow-lite-anolis8:1.11.0b1
  • echo 'SECRETFLOW_SERVING_IMAGE secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/serving-anolis8:0.8.0b0'
    SECRETFLOW_SERVING_IMAGE secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/serving-anolis8:0.8.0b0
  • echo 'DATAPROXY_IMAGE secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/dataproxy:0.3.0b0'
    DATAPROXY_IMAGE secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/dataproxy:0.3.0b0
  • '[' MPC = TEE ']'
  • init_deploy_shell
  • CTR_ROOT=/home/kuscia
  • rm -rf /opt/secretflow/secretflow-allinone-package/deploy
    ++ docker create secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/secretpad:0.12.0b0
  • TEMP_CONTAINER=52d2245bf57140bdd91aa90e776fe93a7bbc0fec42c450e97e286b1d1ba9cea3
  • docker cp 52d2245bf57140bdd91aa90e776fe93a7bbc0fec42c450e97e286b1d1ba9cea3:/app/scripts/deploy /opt/secretflow/secretflow-allinone-package/deploy
  • docker rm 52d2245bf57140bdd91aa90e776fe93a7bbc0fec42c450e97e286b1d1ba9cea3
    52d2245bf57140bdd91aa90e776fe93a7bbc0fec42c450e97e286b1d1ba9cea3
  • source /opt/secretflow/secretflow-allinone-package/deploy/common/log.sh
    ++ RED='\033[0;31m'
    ++ GREEN='\033[0;32m'
    ++ YELLOW='\033[0;33m'
    ++ BLUE='\033[0;34m'
    ++ NC='\033[0m'
    ++ print_logo
    ++ '[' '' = true ']'
    ++ printf '\033c'

++ cat
_ __ _
___ ___ ___ _ __ | | / | | _____ __
/ __|/ _ / | '/ _ \ __| |
| |/ _ \ \ /\ / /
_
\ / (| | | __/ |
| | | () \ V V /
|/_|_|_| _|_|| |_|__/ _/_/

https://www.secretflow.org.cn/
++ export LOGO_SHOW=true
++ LOGO_SHOW=true

  • source /opt/secretflow/secretflow-allinone-package/deploy/common/utils.sh
    ++ set -e
    +++++ readlink -f /opt/secretflow/secretflow-allinone-package/deploy/common/utils.sh
    ++++ dirname /opt/secretflow/secretflow-allinone-package/deploy/common/utils.sh
    +++ cd /opt/secretflow/secretflow-allinone-package/deploy/common
    +++ pwd
    ++ DIR=/opt/secretflow/secretflow-allinone-package/deploy/common
    ++ source /opt/secretflow/secretflow-allinone-package/deploy/common/log.sh
    +++ RED='\033[0;31m'
    +++ GREEN='\033[0;32m'
    +++ YELLOW='\033[0;33m'
    +++ BLUE='\033[0;34m'
    +++ NC='\033[0m'
    +++ print_logo
    +++ '[' true = true ']'
    +++ return
    ++ source /opt/secretflow/secretflow-allinone-package/deploy/common/secretpad.env
    +++ SECRETPAD_IMAGE=secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/secretpad:0.12.0b0
    +++ KUSCIA_IMAGE=secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/kuscia:0.13.0b0
    +++ SECRETFLOW_IMAGE=secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/secretflow-lite-anolis8:1.11.0b1
    +++ SECRETFLOW_SERVING_IMAGE=secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/serving-anolis8:0.8.0b0
    +++ TEE_APP_IMAGE=secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/teeapps-sim-ubuntu20.04:0.1.2b0
    +++ TEE_DM_IMAGE=secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/sf-tee-dm-sim:0.1.0b0
    +++ CAPSULE_MANAGER_SIM_IMAGE=secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/capsule-manager-sim-ubuntu20.04:v0.1.0b0
    +++ DATA_PROXY_IMAGE=secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/dataproxy:0.3.0b0
    +++ SCQL_IMAGE=secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/scql:0.9.2b1
    +++ PAD_LITE=lite
    +++ PAD_MASTER=master
    +++ PAD_AUTONOMY=autonomy
    +++ PAD_DATA=data
    +++ PAD=secretpad
    +++ MODE=autonomy
    +++ LOGO_SHOW=true
    +++ NETWORK_NAME=kuscia-exchange
    +++ KUSCIA_MASTER_ENDPOINT=http://root-kuscia-master:1080
    +++ KUSCIA_TOKEN=
    +++ KUSCIA_GATEWAY_PORT=18080
    +++ KUSCIA_API_HTTP_PORT=18082
    +++ KUSCIA_API_GRPC_PORT=18083
    +++ INSTALL_DIR=/root/kuscia
    +++ KUSCIA_INSTALL_DIR=
    +++ TEE_DOMAIN=tee
    +++ KUSCIA_CTR_PREFIX=root-kuscia
    +++ KUSCIA_CTR=
    +++ KUSCIA_MASTER_CTR=root-kuscia-master
    +++ CTR_ROOT=/home/kuscia
    +++ CTR_CERT_ROOT=/home/kuscia/var/certs
    +++ KUSCIA_MASTER_NODE_ID=kuscia-system
    +++ KUSCIA_LOG_PATH=
    +++ DOMAIN_HOST_INTERNAL_PORT=13081
    +++ DATAPROXY_ENABLE=true
    +++ METRICS_PORT=18084
    +++ PAD_CTR=
    +++ NODE_ID=alice
    +++ KUSCIA_PROTOCOL=notls
    +++ PAD_INSTALL_DIR=
    +++ PAD_PORT=8088
    +++ DEPLOY_MODE=MPC
    +++ PAD_DEBUG_PORT=5005
    +++ SECRETPAD_USER_NAME=
    +++ SECRETPAD_PASSWORD=
    +++ JAVA_OPTS='-server -Xms2048m -Xmx2300m -XX:MetaspaceSize=256m -XX:MaxMetaspaceSize=512m'
    +++ SPRING_PROFILES_ACTIVE=center
    +++ LITE_MEMORY_LIMIT=4G
    +++ PAD_VOLUME_PATH=
    +++ KEY_PASSWORD=secretpad
    +++ KUSCIA_API_ADDRESS=root-kuscia-master:8083
    +++ KUSCIA_API_LITE_ALICE_ADDRESS=root-kuscia-lite-alice:8083
    +++ KUSCIA_API_LITE_BOB_ADDRESS=root-kuscia-lite-bob:8083
    +++ KUSCIA_API_LITE_TEE_ADDRESS=root-kuscia-lite-tee:8083
    +++ INST_NAME=
    +++ SECRETPAD_MASTER_ENDPOINT=
    +++ SECRETPAD_KEEP_HISTORY_DATA=false
    +++ SECRETPAD_CLOUD_LOG_SLS_AK=
    +++ SECRETPAD_CLOUD_LOG_SLS_SK=
    +++ SECRETPAD_CLOUD_LOG_SLS_HOST=
    +++ SECRETPAD_CLOUD_LOG_SLS_PROJECT=secretpad-engin-project
    +++ SCQL_ENABLE=true

  • source /opt/secretflow/secretflow-allinone-package/deploy/common/secretpad.env
    ++ SECRETPAD_IMAGE=secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/secretpad:0.12.0b0
    ++ KUSCIA_IMAGE=secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/kuscia:0.13.0b0
    ++ SECRETFLOW_IMAGE=secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/secretflow-lite-anolis8:1.11.0b1
    ++ SECRETFLOW_SERVING_IMAGE=secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/serving-anolis8:0.8.0b0
    ++ TEE_APP_IMAGE=secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/teeapps-sim-ubuntu20.04:0.1.2b0
    ++ TEE_DM_IMAGE=secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/sf-tee-dm-sim:0.1.0b0
    ++ CAPSULE_MANAGER_SIM_IMAGE=secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/capsule-manager-sim-ubuntu20.04:v0.1.0b0
    ++ DATA_PROXY_IMAGE=secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/dataproxy:0.3.0b0
    ++ SCQL_IMAGE=secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/scql:0.9.2b1
    ++ PAD_LITE=lite
    ++ PAD_MASTER=master
    ++ PAD_AUTONOMY=autonomy
    ++ PAD_DATA=data
    ++ PAD=secretpad
    ++ MODE=autonomy
    ++ LOGO_SHOW=true
    ++ NETWORK_NAME=kuscia-exchange
    ++ KUSCIA_MASTER_ENDPOINT=http://root-kuscia-master:1080
    ++ KUSCIA_TOKEN=
    ++ KUSCIA_GATEWAY_PORT=18080
    ++ KUSCIA_API_HTTP_PORT=18082
    ++ KUSCIA_API_GRPC_PORT=18083
    ++ INSTALL_DIR=/root/kuscia
    ++ KUSCIA_INSTALL_DIR=
    ++ TEE_DOMAIN=tee
    ++ KUSCIA_CTR_PREFIX=root-kuscia
    ++ KUSCIA_CTR=
    ++ KUSCIA_MASTER_CTR=root-kuscia-master
    ++ CTR_ROOT=/home/kuscia
    ++ CTR_CERT_ROOT=/home/kuscia/var/certs
    ++ KUSCIA_MASTER_NODE_ID=kuscia-system
    ++ KUSCIA_LOG_PATH=
    ++ DOMAIN_HOST_INTERNAL_PORT=13081
    ++ DATAPROXY_ENABLE=true
    ++ METRICS_PORT=18084
    ++ PAD_CTR=
    ++ NODE_ID=alice
    ++ KUSCIA_PROTOCOL=notls
    ++ PAD_INSTALL_DIR=
    ++ PAD_PORT=8088
    ++ DEPLOY_MODE=MPC
    ++ PAD_DEBUG_PORT=5005
    ++ SECRETPAD_USER_NAME=
    ++ SECRETPAD_PASSWORD=
    ++ JAVA_OPTS='-server -Xms2048m -Xmx2300m -XX:MetaspaceSize=256m -XX:MaxMetaspaceSize=512m'
    ++ SPRING_PROFILES_ACTIVE=center
    ++ LITE_MEMORY_LIMIT=4G
    ++ PAD_VOLUME_PATH=
    ++ KEY_PASSWORD=secretpad
    ++ KUSCIA_API_ADDRESS=root-kuscia-master:8083
    ++ KUSCIA_API_LITE_ALICE_ADDRESS=root-kuscia-lite-alice:8083
    ++ KUSCIA_API_LITE_BOB_ADDRESS=root-kuscia-lite-bob:8083
    ++ KUSCIA_API_LITE_TEE_ADDRESS=root-kuscia-lite-tee:8083
    ++ INST_NAME=
    ++ SECRETPAD_MASTER_ENDPOINT=
    ++ SECRETPAD_KEEP_HISTORY_DATA=false
    ++ SECRETPAD_CLOUD_LOG_SLS_AK=
    ++ SECRETPAD_CLOUD_LOG_SLS_SK=
    ++ SECRETPAD_CLOUD_LOG_SLS_HOST=
    ++ SECRETPAD_CLOUD_LOG_SLS_PROJECT=secretpad-engin-project
    ++ SCQL_ENABLE=true

  • prepare_environment

  • is_master

  • '[' autonomy = master ']'

  • '[' -z autonomy ']'

  • return 1

  • is_lite

  • '[' autonomy = lite ']'

  • return 1

  • is_p2p

  • '[' autonomy = autonomy ']'

  • return 0

  • check_str alice 'missing args -n'

  • local string=alice

  • local 'msg=missing args -n'

  • '[' -z alice ']'

  • check_str 13081 'missing args -q'

  • local string=13081

  • local 'msg=missing args -q'

  • '[' -z 13081 ']'

  • check_str 8088 'missing args -s'

  • local string=8088

  • local 'msg=missing args -s'

  • '[' -z 8088 ']'

  • check_str 18080 'missing args -p'

  • local string=18080

  • local 'msg=missing args -p'

  • '[' -z 18080 ']'

  • check_str 18082 'missing args -k'

  • local string=18082

  • local 'msg=missing args -k'

  • '[' -z 18082 ']'

  • check_str 18083 'missing args -g'

  • local string=18083

  • local 'msg=missing args -g'

  • '[' -z 18083 ']'

  • export KUSCIA_CTR=root-kuscia-autonomy-alice

  • KUSCIA_CTR=root-kuscia-autonomy-alice

  • export PAD_CTR=root-kuscia-autonomy-secretpad-alice

  • PAD_CTR=root-kuscia-autonomy-secretpad-alice

  • export KUSCIA_K3S_INSTALL_DIR=/root/kuscia/autonomy/alice/k3s

  • KUSCIA_K3S_INSTALL_DIR=/root/kuscia/autonomy/alice/k3s

  • export KUSCIA_CONFIG_INSTALL_DIR=/root/kuscia/autonomy/alice

  • KUSCIA_CONFIG_INSTALL_DIR=/root/kuscia/autonomy/alice

  • export KUSCIA_INSTALL_DIR=/root/kuscia/autonomy/data/alice

  • KUSCIA_INSTALL_DIR=/root/kuscia/autonomy/data/alice

  • export PAD_INSTALL_DIR=/root/kuscia/autonomy/data

  • PAD_INSTALL_DIR=/root/kuscia/autonomy/data

  • export PAD_VOLUME_PATH=/root/kuscia/autonomy/secretpad

  • PAD_VOLUME_PATH=/root/kuscia/autonomy/secretpad

  • export KUSCIA_LOG_PATH=/root/kuscia/autonomy/alice

  • KUSCIA_LOG_PATH=/root/kuscia/autonomy/alice

  • export SPRING_PROFILES_ACTIVE=p2p

  • SPRING_PROFILES_ACTIVE=p2p

  • export DEPLOY_MODE=MPC

  • DEPLOY_MODE=MPC

  • is_p2p_node

  • '[' autonomy = autonomy-node ']'

  • return 1

  • show_env

  • log '
    mode: autonomy MPC
    node: alice
    secretpad http port: 8088
    kuscia http port: 18082
    kuscia grpc port: 18083
    kuscia gateway port: 18080
    kuscia protocol: notls
    secretpad ctr: root-kuscia-autonomy-secretpad-alice
    kuscia ctr: root-kuscia-autonomy-alice
    secretpad dir: /root/kuscia/autonomy/secretpad
    kuscia dir: /root/kuscia/autonomy/data/alice
    k3s dir: /root/kuscia/autonomy/alice/k3s
    kuscia.yaml dir: /root/kuscia/autonomy/alice
    '

  • echo -e '\033[0;34m[INFO]\033[0m
    mode: autonomy MPC
    node: alice
    secretpad http port: 8088
    kuscia http port: 18082
    kuscia grpc port: 18083
    kuscia gateway port: 18080
    kuscia protocol: notls
    secretpad ctr: root-kuscia-autonomy-secretpad-alice
    kuscia ctr: root-kuscia-autonomy-alice
    secretpad dir: /root/kuscia/autonomy/secretpad
    kuscia dir: /root/kuscia/autonomy/data/alice
    k3s dir: /root/kuscia/autonomy/alice/k3s
    kuscia.yaml dir: /root/kuscia/autonomy/alice
    '
    [INFO]
    mode: autonomy MPC
    node: alice
    secretpad http port: 8088
    kuscia http port: 18082
    kuscia grpc port: 18083
    kuscia gateway port: 18080
    kuscia protocol: notls
    secretpad ctr: root-kuscia-autonomy-secretpad-alice
    kuscia ctr: root-kuscia-autonomy-alice
    secretpad dir: /root/kuscia/autonomy/secretpad
    kuscia dir: /root/kuscia/autonomy/data/alice
    k3s dir: /root/kuscia/autonomy/alice/k3s
    kuscia.yaml dir: /root/kuscia/autonomy/alice

  • deploy_kuscia

  • build_kuscia_master_endpoint

  • is_alice_lite

  • '[' alice = alice ']'

  • is_lite

  • '[' autonomy = lite ']'

  • return 1

  • return 1

  • is_bob_lite

  • '[' alice = bob ']'

  • return 1

  • is_tee_lite

  • '[' alice = tee ']'

  • return 1

  • init_kuscia_config

  • mkdir -p /root/kuscia/autonomy/data/alice

  • mkdir -p /root/kuscia/autonomy/alice/k3s

  • kuscia_config_old_file=root-kuscia-autonomy-alice/kuscia.yaml

  • kuscia_config_file=/root/kuscia/autonomy/alice/kuscia.yaml

  • '[' -f /root/kuscia/autonomy/alice/kuscia.yaml ']'

  • '[' -f /root/kuscia/autonomy/alice/kuscia.yaml ']'

  • echo '/root/kuscia/autonomy/alice/kuscia.yaml exit, remove old file root-kuscia-autonomy-alice/kuscia.yaml'
    /root/kuscia/autonomy/alice/kuscia.yaml exit, remove old file root-kuscia-autonomy-alice/kuscia.yaml

  • rm -f root-kuscia-autonomy-alice/kuscia.yaml

  • local domainKeyData=

  • '[' -f /root/kuscia/autonomy/alice/kuscia.yaml ']'

  • echo '/root/kuscia/autonomy/alice/kuscia.yaml exit, use old domainKeyData'
    /root/kuscia/autonomy/alice/kuscia.yaml exit, use old domainKeyData
    ++ grep domainKeyData /root/kuscia/autonomy/alice/kuscia.yaml
    ++ awk '{ print $2 }'

  • domainKeyData=

  • log 'kuscia init kuscia.yaml /root/kuscia/autonomy/alice/kuscia.yaml'

  • echo -e '\033[0;34m[INFO]\033[0m kuscia init kuscia.yaml /root/kuscia/autonomy/alice/kuscia.yaml'
    [INFO] kuscia init kuscia.yaml /root/kuscia/autonomy/alice/kuscia.yaml

  • is_master

  • '[' autonomy = master ']'

  • '[' -z autonomy ']'

  • return 1

  • is_lite

  • '[' autonomy = lite ']'

  • return 1

  • is_p2p

  • '[' autonomy = autonomy ']'

  • return 0

  • docker run -it --rm secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/kuscia:0.13.0b0 kuscia init --mode autonomy --domain alice --protocol notls
    [root@localhost secretflow-allinone-package]# docker ps
    CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES

@Chrisdehe
Copy link
Member

看起来是从这里停止的,手动执行一下这条命令看下是什么原因

docker run -it --rm secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/kuscia:0.13.0b0 kuscia init --mode autonomy --domain alice --protocol notls

@Caict-GuoShiJie
Copy link
Author

runtime/cgo: pthread_create failed: Operation not permitted
SIGABRT: abort
PC=0x7fd5eb304f8c m=0 sigcode=18446744073709551610

goroutine 0 gp=0x8e00500 m=0 mp=0x8e020e0 [idle]:
runtime: g 0 gp=0x8e00500: unknown pc 0x7fd5eb304f8c
stack: frame={sp:0x7ffdf2041d10, fp:0x0} stack=[0x7ffdf1843000,0x7ffdf2042170)
0x00007ffdf2041c10: 0x00007fd5eb300640 0x00007fd5eb4ac4e0
0x00007ffdf2041c20: 0x00007fd5eb44a250 0x00007ffdf2041d50
0x00007ffdf2041c30: 0x000000000000002e 0x00007fd5eb2f99b0
0x00007ffdf2041c40: 0x00007fd5eb4ac4e0 0x000000000000002e
0x00007ffdf2041c50: 0x00007ffdf2041d50 0x000000000000002e
0x00007ffdf2041c60: 0x000000000000002e 0x00007fd5eb2fb931
0x00007ffdf2041c70: 0x0000000001d7e5db <runtime.(*mheap).alloc+0x000000000000005b> 0x00007ffdf2041d20
0x00007ffdf2041c80: 0x000000000000002e 0x00007fd5eb44a250
0x00007ffdf2041c90: 0x0000000000000002 0x0000000000000001
0x00007ffdf2041ca0: 0x00007ffdf2041d20 0x00007fd5eb2cd582
0x00007ffdf2041cb0: 0x00007ffdf2041dc7 0x00007fd5eb4ac4e0
0x00007ffdf2041cc0: 0x00007ffdf2041d20 0x00000000067d1b04
0x00007ffdf2041cd0: 0x00007ffdf2041e28 0x00007fd5eb2cd644
0x00007ffdf2041ce0: 0x00007fd5eb4ac4e0 0x00007fd5eb2d73ae
0x00007ffdf2041cf0: 0x0000000000000000 0x0000002eeb378894
0x00007ffdf2041d00: 0x00007fd5eb2cc2a0 0x00007fd5eb304f7e
0x00007ffdf2041d10: <0x0000000000000000 0x733baa1b6f037d00
0x00007ffdf2041d20: 0x0000000000000006 0x00007fd5eb279740
0x00007ffdf2041d30: 0x00000000067d1b04 0x00007ffdf2041fe0
0x00007ffdf2041d40: 0x0000000008e00500 0x00007fd5eb2b5a26
0x00007ffdf2041d50: 0x00007fd5eb4acb50 0x00007fd5eb29e87c
0x00007ffdf2041d60: 0x0000000000000020 0x00007fd5eb4ac4e0
0x00007ffdf2041d70: 0x00007fd5eb44a250 0x00007fd5eb4ac563
0x00007ffdf2041d80: 0x0000000000000001 0x00007fd5eb2f99b0
0x00007ffdf2041d90: 0x0000000000000001 0x000000000000000a
0x00007ffdf2041da0: 0x00007fd5eb279740 0x00007ffdf2041fe0
0x00007ffdf2041db0: 0x0000000008e00500 0x00007fd5eb2fa7e9
0x00007ffdf2041dc0: 0x00007fd5eb4ac4e0 0x00007fd5eb2fad23
0x00007ffdf2041dd0: 0x00007fd5eb4ac4e0 0x000000000000000a
0x00007ffdf2041de0: 0x00007fd5eb279740 0x00007fd5eb2f6daa
0x00007ffdf2041df0: 0x00007ffdf2041f20 0x733baa1b6f037d00
0x00007ffdf2041e00: 0x00007fd5eb4ac6a0 0x00007fd5eb4ac6a0
runtime: g 0 gp=0x8e00500: unknown pc 0x7fd5eb304f8c
stack: frame={sp:0x7ffdf2041d10, fp:0x0} stack=[0x7ffdf1843000,0x7ffdf2042170)
0x00007ffdf2041c10: 0x00007fd5eb300640 0x00007fd5eb4ac4e0
0x00007ffdf2041c20: 0x00007fd5eb44a250 0x00007ffdf2041d50
0x00007ffdf2041c30: 0x000000000000002e 0x00007fd5eb2f99b0
0x00007ffdf2041c40: 0x00007fd5eb4ac4e0 0x000000000000002e
0x00007ffdf2041c50: 0x00007ffdf2041d50 0x000000000000002e
0x00007ffdf2041c60: 0x000000000000002e 0x00007fd5eb2fb931
0x00007ffdf2041c70: 0x0000000001d7e5db <runtime.(*mheap).alloc+0x000000000000005b> 0x00007ffdf2041d20
0x00007ffdf2041c80: 0x000000000000002e 0x00007fd5eb44a250
0x00007ffdf2041c90: 0x0000000000000002 0x0000000000000001
0x00007ffdf2041ca0: 0x00007ffdf2041d20 0x00007fd5eb2cd582
0x00007ffdf2041cb0: 0x00007ffdf2041dc7 0x00007fd5eb4ac4e0
0x00007ffdf2041cc0: 0x00007ffdf2041d20 0x00000000067d1b04
0x00007ffdf2041cd0: 0x00007ffdf2041e28 0x00007fd5eb2cd644
0x00007ffdf2041ce0: 0x00007fd5eb4ac4e0 0x00007fd5eb2d73ae
0x00007ffdf2041cf0: 0x0000000000000000 0x0000002eeb378894
0x00007ffdf2041d00: 0x00007fd5eb2cc2a0 0x00007fd5eb304f7e
0x00007ffdf2041d10: <0x0000000000000000 0x733baa1b6f037d00
0x00007ffdf2041d20: 0x0000000000000006 0x00007fd5eb279740
0x00007ffdf2041d30: 0x00000000067d1b04 0x00007ffdf2041fe0
0x00007ffdf2041d40: 0x0000000008e00500 0x00007fd5eb2b5a26
0x00007ffdf2041d50: 0x00007fd5eb4acb50 0x00007fd5eb29e87c
0x00007ffdf2041d60: 0x0000000000000020 0x00007fd5eb4ac4e0
0x00007ffdf2041d70: 0x00007fd5eb44a250 0x00007fd5eb4ac563
0x00007ffdf2041d80: 0x0000000000000001 0x00007fd5eb2f99b0
0x00007ffdf2041d90: 0x0000000000000001 0x000000000000000a
0x00007ffdf2041da0: 0x00007fd5eb279740 0x00007ffdf2041fe0
0x00007ffdf2041db0: 0x0000000008e00500 0x00007fd5eb2fa7e9
0x00007ffdf2041dc0: 0x00007fd5eb4ac4e0 0x00007fd5eb2fad23
0x00007ffdf2041dd0: 0x00007fd5eb4ac4e0 0x000000000000000a
0x00007ffdf2041de0: 0x00007fd5eb279740 0x00007fd5eb2f6daa
0x00007ffdf2041df0: 0x00007ffdf2041f20 0x733baa1b6f037d00
0x00007ffdf2041e00: 0x00007fd5eb4ac6a0 0x00007fd5eb4ac6a0

goroutine 1 gp=0xc0000061c0 m=0 mp=0x8e020e0 [running]:
runtime.systemstack_switch()
/usr/local/go/src/runtime/asm_amd64.s:474 +0x8 fp=0xc0000a8750 sp=0xc0000a8740 pc=0x1dcb2c8
runtime.main()
/usr/local/go/src/runtime/proc.go:171 +0x67 fp=0xc0000a87e0 sp=0xc0000a8750 pc=0x1d93107
runtime.goexit({})
/usr/local/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0000a87e8 sp=0xc0000a87e0 pc=0x1dcd2e1

rax 0x0
rbx 0x8
rcx 0xffffffffffffffff
rdx 0x6
rdi 0x8
rsi 0x8
rbp 0x7fd5eb279740
rsp 0x7ffdf2041d10
r8 0x0
r9 0x1
r10 0x8
r11 0x246
r12 0x67d1b04
r13 0x6
r14 0x8e00500
r15 0x1ffffffffffffff
rip 0x7fd5eb304f8c
rflags 0x246
cs 0x33
fs 0x0
gs 0x0

@Chrisdehe
Copy link
Member

ulimit -u看下最大进程数
ulimit -a看下限制

@Caict-GuoShiJie
Copy link
Author

[root@localhost ~]# ulimit -u
65535
[root@localhost ~]# ulimit -a
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
scheduling priority (-e) 0
file size (blocks, -f) unlimited
pending signals (-i) 63390
max locked memory (kbytes, -l) 64
max memory size (kbytes, -m) unlimited
open files (-n) 102400
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
real-time priority (-r) 0
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) 65535
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited
[root@localhost ~]#

@zimu-yuxi
Copy link

‘Operation not permitted’提示权限不足
1.确认下docker版本20.10.24以上
2.确认是否是root用户
3.如果以上没有问题,清理下docker缓存,重启docker后重试下

@Caict-GuoShiJie
Copy link
Author

secretpad 项目有开源吗,镜像能单独启动吗,辛苦告知一下 ,感谢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants