Commit Graph

247 Commits

Author SHA1 Message Date
Zheng, Qi
9e9c7c1644 [demos] Disable some segment fault LTP cases 2023-01-06 17:38:00 +08:00
Shaowei Song
b3e2d6c873 [hw-ci] Add MySQL to hw mode test 2022-12-30 22:27:23 +08:00
Hui, Chunyang
d7d485de27 Fix flask demo failure 2022-12-23 18:33:53 +08:00
Zheng, Qi
22ff266958 Clean up unnecessary default_mmap_size configuration in demos 2022-12-21 23:19:25 +08:00
Zheng, Qi
ab14a3e479 [demos] Provide optional OMP_NUM_THREADS setting to distributed pytorch 2022-12-18 17:05:29 +08:00
Shaowei Song
6dcdfc2fc4 [demos] Add MySQL demo 2022-12-11 19:28:38 +08:00
Zheng, Qi
47bd1fd7af [demos] Add distributed pytorch demo 2022-12-07 22:15:33 +08:00
Hui, Chunyang
0a367784cb Fix grpc pingpong test 2022-12-05 19:37:26 +08:00
Zheng, Qi
3c11d589f4 [demos] Move all the benchmark demos together 2022-11-30 21:25:32 +08:00
Zheng, Qi
178bd023e3 [demos] Fix the issue of grpc_benchmark not working on go 1.18 2022-11-01 15:21:52 +08:00
Zheng, Qi
3ef075ef8a [demos] Fix flask_tls python packages dependency issue 2022-10-31 17:30:43 +08:00
Zheng, Qi
22ff6433ae Set conda python version as 3.8.10 to workaround non-PIE issues 2022-10-27 10:32:01 +08:00
LI Qing
3fa049df47 Add the FIO demo 2022-10-26 13:00:19 +08:00
Zheng, Qi
85fa88fc00 Fix python3.7 PIE issue 2022-10-21 11:02:18 +08:00
Zheng, Qi
33fb5b7ad8 [demos] Update demo scripts with new helper command 2022-10-18 23:58:16 +08:00
volcano0dr
69b35e6429 [deps/rust-sgx-sdk] Upgrade rust-sgx-sdk to 1.1.5 2022-09-14 20:05:04 +08:00
Hui, Chunyang
7bbe7b65fe Update Vault demo to v1.10.0 2022-09-06 12:57:16 +08:00
Zheng, Qi
5c10af738e Add maa init demo 2022-08-15 09:29:32 +08:00
LI Qing
f12f2c5499 Fix the SEGV in LTP test
It will introduce too much overhead if we check the memory protection perm
for every user space address, so we dismiss the test case.
2022-08-10 16:42:56 +08:00
Lan Yun
fbff05bddb Update the Golang version to 1.18.4 and use it as the default one.
Signed-off-by: Lan Yun <yun.lan@intel.com>
2022-08-08 12:18:33 +08:00
Zheng, Qi
dd295c1391 [demos] Refactor and update the Azure attestation demos 2022-08-02 14:38:35 +08:00
Weijie Liu
3cc8f69c70 Update run_python_on_occlum.sh
Add missing occlum initialization
2022-07-28 09:52:15 +08:00
zhubojun
b283b07219 [ci] Update pccs configuration 2022-07-17 17:12:14 +08:00
LI Qing
84b26a8194 Enhance the script of demos to support re-execute and other OS 2022-07-07 09:34:38 +08:00
Hui, Chunyang
cec7474660 Add deploy template for ubuntu20.04 2022-06-23 18:13:00 +08:00
Hui, Chunyang
cf15b3d04a Fix several hardware CI test
Including gvisor, grpc, and deb deploy test.
2022-06-15 09:58:13 +08:00
Zheng, Qi
495c6695a9 Add iperf2 demo 2022-06-05 15:46:07 +08:00
Zheng, Qi
eba7e08453 [demos] Add MAA demo 2022-05-27 00:02:17 +08:00
Zheng, Qi
cf080a46a0 Add SGX KSS config_svn verification support in grpc_ratls 2022-04-28 20:29:59 +08:00
Zheng, Qi
a72a86f03d Make ra_tls error log more informative 2022-04-25 20:36:08 +08:00
ClawSeven
cc8b26dcc1 Remove Linux-ltp getdtablesize01 syscalls test 2022-04-15 17:35:11 +08:00
ClawSeven
15932a54b6 Add hosts and hostname file 2022-04-06 15:18:08 +08:00
Shaowei Song
cc4abafdae [ci] Ignore test cases of illegal addr access 2022-03-28 15:20:16 +08:00
Zheng, Qi
f334374a43 [demos] Update GRPC RATLS exported APIs names 2022-03-17 15:04:04 +08:00
Zheng, Qi
4909a4f7fb Fix init_ra HW action timing issue 2022-03-10 16:30:51 +08:00
Zheng, Qi
b7edb11a88 Add occlum-ra-flow demo 2022-03-09 15:53:45 +08:00
Zheng, Qi
f4665dac11 Add enclave debuggable verification for ra_tls 2022-03-09 15:53:45 +08:00
Zheng, Qi
2d7fbefcc2 Clean up and update ra_tls demo 2022-03-09 15:53:45 +08:00
yuanwu
2810b8e4ce Enable the grpc ra-tls demo
Signed-off-by: yuanwu <yuan.wu@intel.com>
2022-03-09 15:53:45 +08:00
zongmin.gu
b62b5e23eb Remove a broken symlink in openjdk 11 2022-03-09 11:39:44 +08:00
Zheng, Qi
97812967f1 Add flask tls server demo 2022-03-07 16:05:08 +08:00
LI Qing
86e85ba539 Add gRPC glibc demo and stress test 2022-03-04 11:37:13 +08:00
zhubojun
fbcf20d383 Upgrade CI image to ubuntu20.04 2022-03-04 11:37:13 +08:00
Hui, Chunyang
d5164239d0 Fix demo compilation error with occlum-gcc on ubuntu 20.04 2022-02-15 17:44:28 +08:00
Zheng, Qi
477ae99880 Set SONAME for Occlum DCAP library 2022-02-11 11:10:02 +08:00
Zheng, Qi
04a357021c Update dcap demo using prebuilt dcap lib 2022-02-11 11:10:02 +08:00
Zheng, Qi
555ab9c598 [demos] Clean up compile warning for dcap demo 2022-01-25 13:28:46 +08:00
Zheng, Qi
6cba1c02a1 Add dcap musl-libc demo case 2022-01-21 10:59:29 +08:00
Zheng, Qi
731b2e1ae2 [demos] Add grpc tls demo 2022-01-05 15:09:54 +08:00
pu1p
a1777330b0 doc(demos/PyTorch): fix wrong message in README
Step 2 and 3 should be executed inside the container, not on host.
The demo's dir is ` /root/demos/pytorch`,
not ` /root/occlum/demos/pytorch`
2021-12-22 08:16:27 +08:00
Zheng, Qi
8e9f1fb933 Fix the compile error when including dcap_quote.h in pure C program 2021-12-17 08:14:00 +08:00
yuanwu
9d490ada58 Fix the C++ Link issue and Add the static lib
1. When including the header file in C++ project, the linker
cannot find the functions.
2. Add the staticlib building.

Signed-off-by: yuanwu <yuan.wu@intel.com>
2021-12-15 16:55:32 +08:00
zongmin.gu
e2eb294c2e Fix the bash demo by increasing the stack size 2021-12-14 10:58:09 +08:00
Zheng, Qi
e8458bd27c Enlarge kernel heap size for ltp demo 2021-12-07 09:48:46 +08:00
Zheng, Qi
a26a7627fe Update dcap demo to support dumping SGX KSS info
Signed-off-by: Zheng, Qi <huaiqing.zq@antgroup.com>
2021-12-06 15:46:34 +08:00
Zheng, Qi
8cb08aac29 Update sofaboot demo with openjdk 8 option
Signed-off-by: Zheng, Qi <huaiqing.zq@antgroup.com>
2021-12-06 13:47:27 +08:00
Zheng, Qi
94ce37bb9f Add sysbench demo case 2021-11-25 11:40:07 +08:00
Hui, Chunyang
17e86e87d0 Fix building CI image for TF serving and Openvino 2021-11-08 19:15:00 +08:00
Zheng, Qi
4991aaa516 Update ltp demo with verified syscalls test cases
Signed-off-by: Zheng, Qi <huaiqing.zq@antgroup.com>
2021-11-03 14:54:27 +08:00
Zheng, Qi
774ea33d9a Update bash and fish demo with prebuilt busybox
Signed-off-by: Zheng, Qi <huaiqing.zq@antgroup.com>
2021-11-01 12:43:45 +08:00
Zheng, Qi
4354148ecf Add linux ltp demo
Signed-off-by: Zheng, Qi <huaiqing.zq@antgroup.com>
2021-10-22 17:16:52 +08:00
Zheng, Qi
e2d2cb375c Increase the pytorch demo TCS number to 64
Also increase ready check delay time to 360s

Signed-off-by: Zheng, Qi <huaiqing.zq@antgroup.com>
2021-10-22 16:42:48 +08:00
Hui, Chunyang
2af05238be Fix SGX SDK version for package related tests 2021-10-09 15:49:28 +08:00
Zheng, Qi
597f8c9080 Update bash demo with bom tool and add musl version
Signed-off-by: Zheng, Qi <huaiqing.zq@antgroup.com>
2021-10-08 12:34:38 +08:00
Zheng, Qi
935760f893 Fix bom tool autodep issue for openvino
Signed-off-by: Zheng, Qi <huaiqing.zq@antgroup.com>
2021-09-29 10:58:33 +08:00
jianfengjiang
16384b8b0e Update python-musl demo with copy_bom 2021-09-26 21:06:59 +08:00
jianfengjiang
436e427fbf Update tensorflow demos with copy_bom 2021-09-26 21:06:59 +08:00
jianfengjiang
3f78b09df7 Update pytorch demo with copy_bom 2021-09-26 21:06:59 +08:00
jianfengjiang
7290cfa561 Update cluster serving demo with copy_bom 2021-09-26 21:06:59 +08:00
jianfengjiang
cdb4ac560f Update sofaboot demos with copy_bom 2021-09-26 21:06:59 +08:00
Hui, Chunyang
7dcf727782 Fix file path for grpc demo 2021-09-26 21:06:02 +08:00
Zheng, Qi
63deda28b9 Update dcap demo with copy_bom tool
Signed-off-by: Zheng, Qi <huaiqing.zq@antgroup.com>
2021-09-26 17:28:13 +08:00
zongmin.gu
4a91c11f9f Update enclave_tls demo with bom file 2021-09-26 16:34:52 +08:00
zongmin.gu
59988f9491 Update ping/pong demo with bom file 2021-09-26 16:34:52 +08:00
zongmin.gu
f0156cb08a Update go web_server demo with bom file 2021-09-26 16:34:52 +08:00
zongmin.gu
b86cbfac48 Update go_sqlite demo with bom file 2021-09-26 16:34:52 +08:00
zongmin.gu
0e00782c21 Update embedded_mode demo with bom file 2021-09-26 16:34:52 +08:00
zongmin.gu
8a6b44a68c Update grpc demo with bom file 2021-09-26 16:34:52 +08:00
zongmin.gu
c5c91baf84 Update bazel demo with bom file 2021-09-26 16:34:52 +08:00
zongmin.gu
c6dc8c807c Update xgboost demo with bom file 2021-09-26 16:34:52 +08:00
zongmin.gu
8b2c99cafd Update tflite demo with bom file 2021-09-26 16:34:52 +08:00
zongmin.gu
3684560683 Update Vault demo with bom file 2021-09-26 16:34:52 +08:00
Zheng, Qi
59a896b499 Update local_attestation demo with copy_bom tool
Signed-off-by: Zheng, Qi <huaiqing.zq@antgroup.com>
2021-09-26 15:36:09 +08:00
Zheng, Qi
a5e74f2769 Update sqlite demo with copy_bom tool
Signed-off-by: Zheng, Qi <huaiqing.zq@antgroup.com>
2021-09-26 15:36:09 +08:00
Zheng, Qi
09b79083b2 Update redis demo with copy_bom tool
Signed-off-by: Zheng, Qi <huaiqing.zq@antgroup.com>
2021-09-26 15:36:09 +08:00
Zheng, Qi
ae5dd3b313 Update openvino demo with copy_bom tool
Signed-off-by: Zheng, Qi <huaiqing.zq@antgroup.com>
2021-09-26 15:36:09 +08:00
Zheng, Qi
1f1fd9102b Update https_server demo with copy_bom tool
Signed-off-by: Zheng, Qi <huaiqing.zq@antgroup.com>
2021-09-26 15:36:09 +08:00
Zheng, Qi
cbb326e3fd Update fish demo with copy_bom tool
Signed-off-by: Zheng, Qi <huaiqing.zq@antgroup.com>
2021-09-26 15:36:09 +08:00
jianfengjiang
54bc08d094 modify demos after implementing autodep for copydirs 2021-09-24 19:02:26 +08:00
jianfengjiang
d598f36700 Modify flink demo with copy_bom 2021-09-23 15:42:15 +08:00
jianfengjiang
9a85361e35 Modify demos to enable autodep without creating softlinks 2021-09-23 15:42:15 +08:00
Zheng, Qi
339f25a84b Fix dangling buffer pointer bug in dcap demo
Signed-off-by: Zheng, Qi <huaiqing.zq@antgroup.com>
2021-09-17 19:39:39 +08:00
jiangjianfeng
da4669b8c4 Modify java demo with copy_bom 2021-09-17 15:50:15 +08:00
jiangjianfeng
d3b4b10d4a Modify python-glibc demo with copy_bom 2021-09-17 15:50:15 +08:00
jiangjianfeng
3b5a1a3fc4 Modify rust demo with copy_bom 2021-09-17 15:50:15 +08:00
jiangjianfeng
f8abcd9a1f Modify hello_cc demo with copy_bom 2021-09-17 15:50:15 +08:00
jiangjianfeng
6d60483a1e Modify hello_c demo with copy_bom 2021-09-17 15:50:15 +08:00
Hui, Chunyang
4ae8af62d6 Add SGX v2 self hosted machine for CI 2021-09-03 18:42:50 +08:00
ClawSeven
136c2cca95 Seperate ssl generation with environment preparation 2021-09-03 18:42:50 +08:00
Qiyuan Gong
81dba866f1 Fix Cluster Serving demo classpath 2021-08-16 21:04:22 +08:00