# Flow Chart (Intern) ###### tags: `System Design` # Todo List - [ ] Show testing image version in Allure report - [ ] DUT Work automation - [ ] clingenv-package release Jenkins - [ ] clounix-mgmt:sdk_tests append test case `.csv` file - [ ] clounix-mgmt:sdk_tests fail report on Email - [ ] sdk-sample-code packaging - [ ] SDK Website - [ ] Auto trigger clingenv release build from clounix-sdk release jenkins - [ ] clingenv "make sdk_release" is for packageing sample_code, rename it, it make other people confused - [ ] Show image url or marker infomation on sdk_tests start. # SDVT Flow ```mermaid flowchart TD start((start)) sdvt_done((SDVT Done)) debug((debug)) clingenv-pkg[[clingenv-package]] sdk_tests[[Trigger sdktests]] DUT_disk[dut17: clean up disk] DUT_ver[dut17: Check Kernel Version] DUT_reboot[dut17: Reboot] IXIA_API[Start API Server] IXIA_own[Clear ownership] IXIA_err[Check Error MSG] IXIA_port([Check Port Link up]) IXIA_pset([Check Port setting]) SDK_LOG[Dump SDK today's change] ReportE{{ERROR Report}} ReportS{{SUCCESS/FAILED Report}} start -->|20:30| clingenv-pkg clingenv-pkg-->|failed|debug clingenv-pkg-->|pass|DUT_disk subgraph DUT WORK DUT_disk-->DUT_ver-->DUT_reboot-->DUT_Ready end DUT_Ready-->IXIA_API subgraph IXIA WORK IXIA_API-->IXIA_own-->IXIA_port-->|Link up|IXIA_Ready IXIA_port-->|Link down|IXIA_pset IXIA_err-->|Capture Error|IXIA_own IXIA_err-->|Unknow Error|IXIA_NotReady end IXIA_Ready-->sdk_tests sdk_tests-->|abnormal|IXIA_err sdk_tests-->|Normal|sdvt_done sdk_tests-->|abnormal*2|SDK_LOG SDK_LOG-->ReportE sdvt_done-->|Email|ReportS ``` # SDK Release ```mermaid flowchart TD CLX_MGMT[(clounix-mgmt)] SDK[(clounix-sdk release page)] CLINGENV[(clingenv)] sdvt[(sdk-sample-code)] J_sdk_r[[clounix-sdk release Jenkins]] J_sdk_r_1[1. remove folder] J_sdk_r_2[2. strip tag version] J_sdk_r_3[3. Create version header] J_sdk_r_4[4. Create tarball link on gitlab] clingenv_J[[clingenv-package Jenkins]] clingenv_1[1. Get clounix-sdk release list] clingenv_2[2. Use jq get the newest release asset link] clingenv_3[3. Unzip the tarball to dir] clingenv_4[4. make sdk] URL([clingenv.sh URL]) MGMT_J[[clounix-mgmt Jenkins sdk_tests]] Tag-->|Trigger|J_sdk_r J_sdk_r-->J_sdk_r_1-->J_sdk_r_2-->J_sdk_r_3-->J_sdk_r_4 J_sdk_r_4-->SDK CLINGENV-->|Manual Trigger|clingenv_J clingenv_J-->clingenv_1-->clingenv_2-->clingenv_3-->clingenv_4-->URL sdvt-->clingenv_4 URL-->MGMT_J CLX_MGMT-->MGMT_J ``` # Console Web and PDU https://console.clounix.com/ # Booking https://booking.clounix.com/index.php/login # Jenkins Jobs ## SDK Jenkins file are store in clounix-build-tools - merge-requests: - clounix-sdk - nepho-sdk - regression: - master (Necessary) - clingenv-package - https://gitlab.clounix.com/software/sonic/clounix-build-tools/-/blob/master/jenkins/sdk-dvt/Jenkinsfile - clounix-sdk - https://gitlab.clounix.com/software/sonic/clounix-build-tools/-/blob/master/jenkins/clounix-sdk/Jenkinsfile - sdk-sample - 1.0.0 (Outdated) - nephos-sdk - 1.1.0 (on-going) - clingenv-package - clounix-sdk - sdk-sample - 202012.clounix (Archive) - release: (Manual) - clingenv-package - Use release tarball to build clingenv.sh - https://gitlab.clounix.com/software/sonic/clounix-build-tools/-/blob/master/jenkins/sdk-dvt/release.Jenkinsfile - clounix-sdk (Trigger by tag from gitlab) - SDK tarball on release page - https://gitlab.clounix.com/software/sonic/clounix-build-tools/-/blob/master/jenkins/clounix-sdk/release.Jenkinsfile ## Autotest (SV) Jenkins file is from clounix-mgmt - sdk_tests - https://gitlab.clounix.com/sv/clounix-mgmt/-/blob/master/Jenkinsfile # Job Breakdown - clingenv (Steve) - Support User: Development and Autotest - SDK-release (Douglous) - SDK version - SDK release flow - sdk-sample-code (Sherry) - Support 3 kind of user: RD, FAE, Autotest - clounix-mgmt (Dung-Ru) - Daliy SDVT (Dung-Ru) - Lab work - VM server - Ixia network - office network - PDU - console server - Booking - SD-WAN - Build server - Testbed server - Lab security - Code Quility - Static analysis - Dynamic analysis - coding convention - SDK offline website (Intern) - doxygen - register book - TOO - sample code - API usage: support chip type, support sdk version,etc
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up