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

SNP: add support to read UVM security context from files rather than environment #5175

Merged
merged 36 commits into from
Apr 21, 2023

Conversation

jumaffre
Copy link
Contributor

Resolves #5164

CCF nodes can now read the UVM security context from files as well as from environment variables, as per the recent changes made to confidential ACI.

@jumaffre jumaffre requested a review from a team as a code owner April 13, 2023 15:52
@ccf-bot
Copy link
Collaborator

ccf-bot commented Apr 13, 2023

snp_endorsements_from_files@69145 aka 20230421.26 vs main ewma over 20 builds from 68677 to 69139

Click to see table

main

build_id build_number Commit latency factor tpcc_virtual_cft^ tpcc_sgx_cft^ tpcc_sgx_cft_mem ls_virtual_cft^ pi_ls_virtual_cft^ ls_jwt_virtual_cft^ pi_ls_jwt_virtual_cft^ ls_js_virtual_cft^ ls_sgx_cft^ ls_sgx_cft_mem pi_ls_sgx_cft^ pi_ls_sgx_cft_mem ls_full_js_virtual_cft^ ls_jwt_sgx_cft^ ls_jwt_sgx_cft_mem pi_ls_jwt_sgx_cft^ pi_ls_jwt_sgx_cft_mem ls_js_jwt_virtual_cft^ ls_js_sgx_cft^ ls_js_sgx_cft_mem hist_sgx_cft^ ls_full_js_sgx_cft^ ls_full_js_sgx_cft_mem ls_js_jwt_sgx_cft^ ls_js_jwt_sgx_cft_mem RB put (/s)^ CHAMP put (/s)^ RB get (/s)^ CHAMP get (/s)^
68677 20230417.36 0.828875 17108.2 6313.33 8.21863e+07 43752.7 47151.4 12430.1 12789.9 4266.35 15785.4 1.50774e+07 16131.7 7.99955e+06 3722.67 5530.47 1.45532e+07 5670 4.06739e+06 3396.74 1510.24 7.73741e+06 47950.1 1315.69 7.21312e+06 1235.08 6.95098e+06 838030 1.17422e+06 8.15449e+06 3.08132e+07
68693 20230418.2 0.757018 17189.1 6288.59 8.21863e+07 43600.4 47023.2 12471.4 13746.5 4251.16 15904.3 1.58639e+07 16118.9 7.99955e+06 3747.27 5573.78 1.45532e+07 5646.2 4.06739e+06 3257.15 1509.97 7.73741e+06 46332.2 1313.79 7.47526e+06 1235.86 6.95098e+06 835409 1.17998e+06 8.17186e+06 3.08648e+07
68696 20230418.4 0.788259 17365.6 6272.37 8.24484e+07 45704 41977.5 12456.2 13846 4447.66 15865.9 1.50774e+07 16127.6 7.99955e+06 3798.51 5542.62 1.45532e+07 5672 4.06739e+06 3257.51 1508.48 7.73741e+06 46319.7 1313.48 7.21312e+06 1237.83 6.95098e+06 834309 1.18203e+06 8.15134e+06 3.11848e+07
68740 20230419.1 0.785676 17092.6 6297.62 8.19242e+07 43642.6 49067 12540.6 13449.9 4381.43 15854.9 1.50774e+07 16122.7 7.99955e+06 3742.83 5522.26 1.45532e+07 5672.4 4.06739e+06 3231.31 1509.32 7.73741e+06 46321.1 1324.27 7.21312e+06 1242.27 6.95098e+06 830440 1.17572e+06 8.15154e+06 3.11298e+07
68749 20230419.6 0.794397 17361.1 6230.77 8.1662e+07 43696.8 47499.9 12881.3 12942 4283.48 15784.6 1.50774e+07 16068.6 7.99955e+06 3717.19 5507.37 1.45532e+07 5631.7 4.06739e+06 3234.02 1492.51 7.73741e+06 44222.2 1317.45 7.21312e+06 1238.57 6.95098e+06 835339 1.18013e+06 8.1554e+06 3.07942e+07
68773 20230419.13 0.790534 17124.5 6266.11 8.27106e+07 45576.1 48522.3 12754.6 13345.8 4435.66 15514.6 1.50774e+07 16031.9 7.99955e+06 3629.8 5465.13 1.4291e+07 5637.9 4.06739e+06 3255.4 1491.14 7.73741e+06 43791.9 1309.25 7.21312e+06 1226.62 6.95098e+06 833811 1.17996e+06 8.17209e+06 3.07415e+07
68786 20230419.18 0.801849 17083.1 5568.73 8.27106e+07 45807.1 48440.9 12895.1 13037.3 4456.78 15682.1 1.50774e+07 16006.8 7.99955e+06 3713.59 5515.83 1.45532e+07 5588.4 4.06739e+06 3220.27 1483.76 7.73741e+06 45255.8 1304.39 7.21312e+06 1233.77 6.95098e+06 832978 1.18074e+06 8.15478e+06 3.08578e+07
68828 20230419.29 0.792796 17079.2 6240.27 8.19242e+07 43846.6 49557 12897.5 12785.3 4446.35 15656.3 1.53396e+07 15942.5 7.99955e+06 3709.1 5507.67 1.45532e+07 5596.3 4.06739e+06 3363.49 1483.81 7.73741e+06 46145.8 1295.01 7.47526e+06 1226.82 6.95098e+06 831694 1.17711e+06 8.15504e+06 3.09595e+07
68887 20230419.51 0.784642 17072.2 7321.36 8.59996e+07 45636.7 48788.8 12721.6 13163.6 4439.14 20028.1 1.88908e+07 20276.8 1.25993e+07 3621.88 6341.76 1.67936e+07 6469.9 6.30784e+06 3270.34 1707.71 1.05021e+07 47156.8 1508.41 1.05021e+07 1403.61 1.05021e+07 830007 1.17519e+06 8.1529e+06 3.06996e+07
68891 20230419.53 0.780988 17191.5 7359.59 8.59996e+07 45739.2 49836 12641.5 12929.4 4406.39 20121.7 1.88908e+07 20292.2 1.25993e+07 3613.07 6334.92 1.67936e+07 6506.3 6.30784e+06 3269.15 1710.21 1.05021e+07 51711.9 1504.71 1.05021e+07 1400.58 1.05021e+07 787264 1.18205e+06 8.1554e+06 3.06936e+07
68940 20230419.67 0.789834 17138.2 7270.63 8.59996e+07 45671.4 48678.7 12882.5 12808.8 4270.59 20048.2 1.88908e+07 20307.8 1.25993e+07 3636.96 6374.79 1.67936e+07 6469.4 6.30784e+06 3254.13 1729.13 1.05021e+07 51249.2 1506.5 1.05021e+07 1403.07 1.05021e+07 832962 1.1784e+06 8.1553e+06 3.07332e+07
68958 20230420.3 0.784665 17159.3 7334.53 8.59996e+07 46017.4 47915.2 12237.1 13991.9 4451.79 20001 1.88908e+07 20321.3 1.25993e+07 3624.24 6363.64 1.67936e+07 6508.5 6.30784e+06 3379.41 1711.58 1.05021e+07 49608.5 1506.8 1.05021e+07 1406.62 1.05021e+07 837766 1.18099e+06 8.14855e+06 3.12552e+07
68966 20230420.5 0.801984 17288.6 7299.91 8.59996e+07 45663.2 48359.9 12431.2 12971 4447.46 20092.4 1.88908e+07 20232.7 1.25993e+07 3759.51 6372.72 1.67936e+07 6471.7 6.30784e+06 3246.43 1719.01 1.05021e+07 48908.8 1497.99 1.05021e+07 1408.32 1.05021e+07 837304 1.17461e+06 8.17369e+06 3.06637e+07
68984 20230420.11 0.785211 17289.7 7304.39 8.39025e+07 46130.4 49294.4 12557.2 12907.2 4446.29 20116.8 1.88908e+07 20310.9 1.25993e+07 3729.55 6342.37 1.67936e+07 6471.7 6.30784e+06 3225 1714.57 1.05021e+07 49773.4 1503.4 1.05021e+07 1419.3 1.05021e+07 821036 1.18118e+06 8.15313e+06 3.07563e+07
68997 20230420.14 0.792012 17137.2 7302.33 8.59996e+07 45655.5 48700.7 12387.9 13035.6 4426.75 19997.4 1.88908e+07 20123.4 1.25993e+07 3722.53 6401.15 1.67936e+07 6467.4 6.30784e+06 3274.58 1709.34 1.05021e+07 45595.4 1485.23 1.05021e+07 1403.14 1.05021e+07 800374 1.17785e+06 8.15261e+06 3.07785e+07
69009 20230420.17 0.790821 17425.2 7310.58 8.59996e+07 45832 48743.9 12420.5 12895.6 4451.21 20055.5 1.88908e+07 20194 1.25993e+07 3736.96 6347.31 1.67936e+07 6493.7 6.30784e+06 3246.12 1709.53 1.05021e+07 45249.2 1500.66 1.05021e+07 1395.68 1.05021e+07 833060 1.17626e+06 8.15115e+06 3.07891e+07
69017 20230420.19 0.799441 17436.4 7283.31 8.59996e+07 45580.1 42499 12425.3 13071.1 4444.03 19982.9 1.88908e+07 20219.1 1.05021e+07 3745.16 6314.25 1.67936e+07 6479.2 6.30784e+06 3250.18 1703.89 1.05021e+07 50727.6 1501.96 1.05021e+07 1396.86 1.05021e+07 832303 1.17936e+06 8.15329e+06 3.08123e+07
69035 20230420.26 0.806502 17310.8 7305.62 8.59996e+07 45514.6 48604.3 12414.3 12963.1 4447.81 20046.5 1.88908e+07 20312.6 1.25993e+07 3758.04 6670.29 1.67936e+07 6504.1 6.30784e+06 3349.17 1717 1.05021e+07 50978.6 1507.4 1.05021e+07 1402.82 1.05021e+07 832273 1.17067e+06 8.15598e+06 3.07549e+07
69046 20230421.3 0.808997 17343.1 7334.05 8.59996e+07 45857 48755.7 12415.9 12909.2 4444.69 20037 1.88908e+07 20258.7 1.25993e+07 3764.34 6675.63 1.67936e+07 6500.1 6.30784e+06 3343.89 1710.3 1.05021e+07 47196.3 1508.63 1.05021e+07 1420.93 1.05021e+07 833669 1.18037e+06 8.16314e+06 3.03596e+07
69139 20230421.25 0.78317 17287.6 7348.46 8.59996e+07 45595.2 48950.5 12425.8 13176.8 4465.41 20000.3 1.88908e+07 20253.3 1.25993e+07 3756.29 6353.38 1.67936e+07 6496.3 6.30784e+06 3362.34 1717.15 1.05021e+07 51217.1 1494.63 1.05021e+07 1406.31 1.05021e+07 833686 1.1848e+06 8.15475e+06 3.08132e+07

snp_endorsements_from_files

build_id build_number Commit latency factor tpcc_virtual_cft^ tpcc_sgx_cft^ tpcc_sgx_cft_mem ls_virtual_cft^ pi_ls_virtual_cft^ ls_jwt_virtual_cft^ pi_ls_jwt_virtual_cft^ ls_sgx_cft^ ls_sgx_cft_mem ls_js_virtual_cft^ pi_ls_sgx_cft^ pi_ls_sgx_cft_mem ls_jwt_sgx_cft^ ls_jwt_sgx_cft_mem ls_full_js_virtual_cft^ pi_ls_jwt_sgx_cft^ pi_ls_jwt_sgx_cft_mem ls_js_jwt_virtual_cft^ ls_js_sgx_cft^ ls_js_sgx_cft_mem hist_sgx_cft^ ls_full_js_sgx_cft^ ls_full_js_sgx_cft_mem ls_js_jwt_sgx_cft^ ls_js_jwt_sgx_cft_mem RB put (/s)^ CHAMP put (/s)^ RB get (/s)^ CHAMP get (/s)^
69106 20230421.18 0.795456 17407.2 7245.6 8.59996e+07 45756.4 48019.2 12427.3 13051.3 20029.1 1.88908e+07 4436.25 20110.6 1.25993e+07 6323.71 1.67936e+07 3751.87 6560.5 6.30784e+06 3258.74 1709.04 1.05021e+07 48319.3 1494.05 1.05021e+07 1395.01 1.05021e+07 830400 1.17699e+06 8.12125e+06 3.08234e+07
69108 20230421.19 0.808236 17373.9 7287.46 8.59996e+07 45623 48923.9 12483 13064.9 20026.7 1.88908e+07 4435.59 20224.2 1.25993e+07 6384.14 1.67936e+07 3751.69 6515.6 6.30784e+06 3252.95 1712.71 1.05021e+07 46553.7 1492.17 1.05021e+07 1420.32 1.05021e+07 833770 1.18379e+06 8.15592e+06 3.14308e+07
69119 20230421.21 0.801309 17102 7306.63 8.59996e+07 45739.6 48321.8 12366.9 13017.1 19866 1.88908e+07 4453.98 20202.2 1.25993e+07 6337.82 1.67936e+07 3784.21 6504.5 6.30784e+06 3281.46 1709.06 1.05021e+07 48474.8 1490.92 1.05021e+07 1393.75 1.05021e+07 838274 1.17684e+06 8.15416e+06 3.08778e+07
69135 20230421.24 0.806652 17199.4 7259.56 8.59996e+07 45728.4 48939.9 12556.9 12844.9 20097.7 1.88908e+07 4449.02 20279.4 1.05021e+07 6322.27 1.67936e+07 3760.58 6519.7 6.30784e+06 3389.97 1707.58 1.05021e+07 51221.7 1490.45 1.05021e+07 1400.71 1.05021e+07 836350 1.17955e+06 8.03742e+06 3.07905e+07
69145 20230421.26 0.813852 17294.5 7273.79 8.59996e+07 48026.8 49442.1 12497.6 12949.8 19977.9 1.88908e+07 4442.19 20228 1.25993e+07 6343.57 1.67936e+07 3744.23 6543.1 6.30784e+06 3293.1 1714.92 1.05021e+07 49972.4 1495.54 1.05021e+07 1404.08 1.05021e+07 831256 1.18007e+06 8.16948e+06 3.08243e+07

images

@jumaffre jumaffre marked this pull request as draft April 20, 2023 12:47
@jumaffre
Copy link
Contributor Author

Marking this PR as draft as I want to make sure it still works in North Europe with the old way of setting the security context via envvars.

@jumaffre jumaffre marked this pull request as ready for review April 21, 2023 10:41
@jumaffre
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 5 pipeline(s).

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

Successfully merging this pull request may close these issues.

Update ACI SEV-SNP configuration from files
3 participants