summaryrefslogtreecommitdiffstats
path: root/docs/testing
AgeCommit message (Collapse)AuthorFilesLines
2017-12-06Update Documentation Landing PageTrevor Bramwell1-3/+3
Change-Id: Ic6e4aabac17fd77888938a050ca5d93bdab40ce7 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2017-10-19Fix formatting on testing overview tableTrevor Bramwell1-1/+1
Change-Id: I4e15bb5d2dffceb34046a3a938e8f01e7d5829c4 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2017-10-19Add Power consumption documentation in infra docMorgan Richomme2-9/+273
Change-Id: I16f311eb821903295d15bf060bdd5843e0691b17 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com> Integration of Energy section in Testing group asset Change-Id: I9736a5dc1feb64930d43ebb2fcd9f42ad3bb57fb Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-10-12Merge "Update overview to add NFVbench"Sofia Wallin1-0/+17
2017-10-11Merge "Add documentation for NFVBench"Sofia Wallin1-0/+7
2017-10-10Update overview to add NFVbenchahothan1-0/+17
Change-Id: I423338556f272dd653458abeb22f594786551e4f Signed-off-by: ahothan <ahothan@cisco.com>
2017-10-06Add documentation for NFVBenchKerim Gokarslan1-0/+7
Change-Id: Ibba3e5c540270d20d9116be3b47c1bf592d7ecef Signed-off-by: Kerim Gokarslan <kgokarsl@cisco.com>
2017-10-02Minor edits throughout the document.rpaik1-24/+21
Change-Id: I0708cb27f1d3695cc71f046a2c2fb2b6eb21c042 Signed-off-by: rpaik <rpaik@linuxfoundation.org>
2017-09-25Add section on Resiliency, Stress and long duration testingMorgan Richomme1-0/+62
It corresponds to one of the activity of the Testing group involving several test projects Change-Id: Id244093fcb9deb4e6a92e9d6789549ef2055e134 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-09-20bug fix: testing part of the developper guide badly integratedMorgan Richomme1-1/+4
Change-Id: I92e87486a5f65d9582adf3b8a3cfaf8c74de448f Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-09-19bug fix: extra space lead to bad display of an imageMorgan Richomme1-2/+2
Change-Id: I2a54431e584cd4b6f7427dca298b51b8ecde150e Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-09-15Testing group documentation update for EuphratesMorgan Richomme4-260/+297
Change-Id: Ic27cbc0d29c3c1e162814e5314a70b75eebd1714 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-08-31Update Testing group generic doc for EuphratesMorgan Richomme2-347/+459
Change-Id: Ibdbed9d5cc89a4e42f307e76afe6f66bd0962775 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-08-22Reference testing group dev guide in testing sectionMorgan Richomme2-5/+9
Add /devguide dir for VSPERF Change-Id: Ib866c64bb41534b1825f301faabfc1520ed08bf4 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com> Signed-off-by: Trevor Cooper <trevor.cooper@intel.com>
2017-06-26Initiate Developer guide (Testing group)Morgan Richomme1-0/+353
We started building several xProjects enablers The goal of this document will be to help developers - to know/use the different tools - to take into account the recommendations - to get the links for support Change-Id: I49af8525514437d07390b5d098abebe75a80c0b1 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-05-02Misc ChangesShubhamRathi3-27/+28
1. Add sidebar akin to ODL 2. Remove redundant 'OPNFV' from all composite document titles 3. Edit documentation-example for the updated toolchain. Renamed this file as 'addendum.rst'. Eliminated obsolete content. 4. Listed test projects in alphabetic order Change-Id: Ica1c4aa89e3c8f8bcb960fcd4574971960dc52dc Signed-off-by: ShubhamRathi <shubhamiiitbackup@gmail.com>
2017-04-10Adding the submdules directory for openretrieverMatthewLi1-1/+3
see verify failure in https://gerrit.opnfv.org/gerrit/#/c/33199/ this patch aims to fix the rtd failure Change-Id: I7beed908835ff9ef2b9a07335757cccf0dc9b58b Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2017-03-31Fix storperf pathShubhamRathi1-1/+1
Change-Id: I0b7b6939668b96cda1360abb01ee4832293d450f Signed-off-by: ShubhamRathi <shubhamiiitbackup@gmail.com>
2017-03-31Update docsShubhamRathi1-0/+9
1. Add Functest Link using labels 2. Add storperf in testing-user Change-Id: If371ca17b8fdf8f54fefe5176d8a4f49e8a20981 Signed-off-by: ShubhamRathi <shubhamiiitbackup@gmail.com>
2017-03-31Add yardstick release note and devguideJingLu51-0/+8
Change-Id: Ic41a21055b51e4feed89208e87d474527e008fd5 Signed-off-by: JingLu5 <lvjing5@huawei.com>
2017-03-30Add labels to composite docsShubhamRathi1-0/+2
Change-Id: I1b543c7f6236d72e627a0bebe174f915f607d907 Signed-off-by: ShubhamRathi <shubhamiiitbackup@gmail.com>
2017-03-30Merge "bug fix: bad table format"Sofia Wallin1-2/+2
2017-03-30Refactor documentsShubhamRathi2-8/+2
1. Remove projects not part of Danube from release notes 2. Remove redundant content about Test Frameworks from Installation Instroduction 3. Remove Yardstick from Testing Dev guide Change-Id: I8b14d76f2b43c89ebdf8d9e6a62ff3c4a22eae30 Signed-off-by: ShubhamRathi <shubhamiiitbackup@gmail.com>
2017-03-30bug fix: bad table formatMorgan Richomme1-2/+2
change on Cperf description lead to a table format error preventing the whole table to be displayed Change-Id: Ia18dfbba561610b74d1b10d2c5c3b86c14b51750 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-03-29Expand CPerf overview docsDaniel Farrell1-1/+5
Change-Id: I82a53de2447b26e8fcfcc7ce556a318ce6f88cd7 Signed-off-by: Daniel Farrell <dfarrell07@gmail.com>
2017-03-29Update Testing ecosystem documentationMorgan Richomme1-111/+43
- new ecosystem figure - add reporting figure - indicate next steps for Danube 2.0 pending question (cperf) Change-Id: I3dcf5a4874f0585f433a693117764641aab8faf8 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-03-28Updated VSPERF description and fixed Wiki links to projectTrevor Cooper1-3/+3
Change-Id: Ic71f8004621dbb99715907ba3d82acd0f20e2291 Signed-off-by: Trevor Cooper <trevor.cooper@intel.com>
2017-03-25Re-order testing user guide index pageYujun Zhang1-4/+4
Testing tools needs to be configured before use. Change-Id: I04862af1c9d2ee8d9fdb91397c3e18da2207a964 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-03-24Updated vsperf doc refs for release-notes and testingTrevor Cooper2-1/+19
Change-Id: I736ff7c5699e5be929ebe9104a0dfc619ef0ebc8 Signed-off-by: Trevor Cooper <trevor.cooper@intel.com>
2017-03-22Few minor edits plus used the SPDX license identifierRay Paik1-10/+10
Change-Id: Ibdd3c700bdf0ed8f67d5cd794568a99c2d0efab9 Signed-off-by: Ray Paik <rpaik@linuxfoundation.org>
2017-03-22qtip: correct project name letter caseYujun Zhang2-2/+2
As a project name, uppercase i.e. QTIP is preferred Change-Id: Id19e50f9f593c1eb0afbf6604bca3314f6223587 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-03-22Segregating Testing docShubhamRathi2-0/+78
Testing documentation has been segregated under 'User Guides' & 'Developer Guides' as decided by the test teams. Change-Id: I04a11ff88b329f4daad2ef020aefd0779d5a7ca5 Signed-off-by: ShubhamRathi <shubhamiiitbackup@gmail.com>
2017-03-19Misc ChangesShubhamRathi1-3/+3
1. Renamed ‘How to work with Documentation’ to Documentation Guide 2. Add Test Overview documentation breneath ‘Testing’ 3. Removed the index off Release Notes Change-Id: Iaef364f5ee59a99f906270271c1daf49cfae4c4f Signed-off-by: ShubhamRathi <shubhamiiitbackup@gmail.com>
2017-01-23Updated intro and vsperf project description.Trevor Cooper1-22/+22
Updates: Fixed review issues with trailing white spaces, Bottlenecks description and made further vsperf description edits. Change-Id: Id1c979f6365b022f27ab79ac7b75a42110e0150b Signed-off-by: Trevor Cooper <trevor.cooper@intel.com>
2017-01-19Update testing community docMorgan Richomme5-40/+339
Change-Id: I7ffbb3c0460958e3ecd837a14bf0c9a5752d1fc0 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-11-24Adjusted the docs repo structure for D release workSofia Wallin4-0/+53
Change-Id: I9befe06c424c726e17d754bc480413b2430549ba Signed-off-by: Sofia Wallin <sofia.wallin@ericsson.com>
URI" usage exit 1 fi ;; d) DRY_RUN=1 ;; D) CI_DEBUG=1 ;; f) ((USE_EXISTING_INFRA+=1)) ;; F) INFRA_CREATION_ONLY=1 ;; e) NO_DEPLOY_ENVIRONMENT=1 ;; E) ((ERASE_ENV+=1)) ;; l) TARGET_LAB=${OPTARG} ;; L) DEPLOY_LOG="${OPTARG}" ;; p) TARGET_POD=${OPTARG} if [[ "${TARGET_POD}" =~ virtual ]]; then # All vPODs will use 'local-virtual1' PDF/IDF for now TARGET_LAB='local' TARGET_POD='virtual1' fi ;; P) USE_EXISTING_PKGS=1 ;; s) DEPLOY_SCENARIO=${OPTARG} ;; S) if [[ ${OPTARG} ]]; then STORAGE_DIR="${OPTARG}" fi ;; h) usage exit 0 ;; *) notify_e "[ERROR] Unsupported arg, see -h for help" ;; esac done if [[ "$(sudo whoami)" != 'root' ]]; then notify_e "[ERROR] This script requires sudo rights" fi # Validate mandatory arguments are set if [ -z "${TARGET_LAB}" ] || [ -z "${TARGET_POD}" ] || \ [ -z "${DEPLOY_SCENARIO}" ]; then usage notify_e "[ERROR] At least one of the mandatory args is missing!" fi [[ "${CI_DEBUG}" =~ (false|0) ]] || set -x # Enable the automatic exit trap trap do_exit SIGINT SIGTERM EXIT # Set no restrictive umask so that Jenkins can remove any residuals umask 0000 pushd "${DEPLOY_DIR}" > /dev/null # Prepare the deploy config files based on lab/pod information, deployment # scenario, etc. # Install required packages on jump server if [ ${USE_EXISTING_PKGS} -eq 1 ]; then notify "[NOTE] Skipping distro pkg installation" 2 else notify "[NOTE] Installing required distro pkgs" 2 jumpserver_pkg_install fi if ! virsh list >/dev/null 2>&1; then notify_e "[ERROR] This script requires hypervisor access" fi # Collect jump server system information for deploy debugging ./sysinfo_print.sh # Clone git submodules and apply our patches make -C "${REPO_ROOT_PATH}/mcp/patches" deepclean patches-import # Expand scenario files, pod_config based on PDF SCENARIO_DIR="$(readlink -f "../config/scenario")" do_templates "${REPO_ROOT_PATH}" "${STORAGE_DIR}" "${TARGET_LAB}" \ "${TARGET_POD}" "${BASE_CONFIG_URI}" "${SCENARIO_DIR}" # Check scenario file existence if [ ! -f "${SCENARIO_DIR}/${DEPLOY_SCENARIO}.yaml" ]; then notify_e "[ERROR] Scenario definition file is missing!" fi # Check defaults file existence if [ ! -f "${SCENARIO_DIR}/defaults-$(uname -i).yaml" ]; then notify_e "[ERROR] Scenario defaults file is missing!" fi # Get scenario data and (jumpserver) arch defaults eval "$(parse_yaml "${SCENARIO_DIR}/defaults-$(uname -i).yaml")" eval "$(parse_yaml "${SCENARIO_DIR}/${DEPLOY_SCENARIO}.yaml")" export CLUSTER_DOMAIN=${cluster_domain} # key might not exist yet ... generate_ssh_key export MAAS_SSH_KEY="$(cat "$(basename "${SSH_KEY}").pub")" # Expand jinja2 templates based on PDF data and env vars do_templates "${REPO_ROOT_PATH}" "${STORAGE_DIR}" "${TARGET_LAB}" \ "${TARGET_POD}" "${BASE_CONFIG_URI}" # Serialize vnode data as '<name0>,<ram0>,<vcpu0>|<name1>,<ram1>,<vcpu1>[...]' for node in "${virtual_nodes[@]}"; do virtual_custom_ram="virtual_${node}_ram" virtual_custom_vcpus="virtual_${node}_vcpus" virtual_nodes_data+="${node}," virtual_nodes_data+="${!virtual_custom_ram:-$virtual_default_ram}," virtual_nodes_data+="${!virtual_custom_vcpus:-$virtual_default_vcpus}|" done virtual_nodes_data=${virtual_nodes_data%|} # Serialize repos, packages to (pre-)install/remove for: # - foundation node VM base image (virtual: all VMs, baremetal: cfg01|mas01) # - virtualized control plane VM base image (only when VCP is used) base_image_flavors=common if [[ "${cluster_states[*]}" =~ virtual_control ]]; then base_image_flavors+=" control" fi for sc in ${base_image_flavors}; do for va in apt_keys apt_repos pkg_install pkg_remove; do key=virtual_${sc}_${va} eval "${key}=\${${key}[@]// /|}" eval "${key}=\${${key}// /,}" virtual_repos_pkgs+="${!key}^" done done virtual_repos_pkgs=${virtual_repos_pkgs%^} # Determine additional data (e.g. jump bridge names) based on XDF source "${DEPLOY_DIR}/xdf_data.sh" notify "[NOTE] Using bridges: ${OPNFV_BRIDGES[*]}" 2 # Jumpserver prerequisites check jumpserver_check_requirements "${virtual_nodes[*]}" "${OPNFV_BRIDGES[@]}" # Infra setup if [ ${DRY_RUN} -eq 1 ]; then notify "[NOTE] Dry run, skipping all deployment tasks" 2 exit 0 elif [ ${USE_EXISTING_INFRA} -gt 0 ]; then notify "[NOTE] Use existing infra" 2 check_connection else prepare_vms "${base_image}" "${STORAGE_DIR}" "${virtual_repos_pkgs}" \ "${virtual_nodes[@]}" create_networks "${OPNFV_BRIDGES[@]}" do_sysctl_cfg create_vms "${STORAGE_DIR}" "${virtual_nodes_data}" "${OPNFV_BRIDGES[@]}" update_mcpcontrol_network start_vms "${virtual_nodes[@]}" check_connection fi if [ ${USE_EXISTING_INFRA} -lt 2 ]; then wait_for 5 "./salt.sh ${STORAGE_DIR}/pod_config.yml ${virtual_nodes[*]}" fi # Openstack cluster setup set +x if [ ${INFRA_CREATION_ONLY} -eq 1 ] || [ ${NO_DEPLOY_ENVIRONMENT} -eq 1 ]; then notify "[NOTE] Skip openstack cluster setup" 2 else for state in "${cluster_states[@]}"; do notify "[STATE] Applying state: ${state}" 2 # shellcheck disable=SC2086,2029 wait_for 5 "ssh ${SSH_OPTS} ${SSH_SALT} sudo \ CI_DEBUG=$CI_DEBUG ERASE_ENV=$ERASE_ENV \ /root/fuel/mcp/config/states/${state}" done fi ./log.sh "${DEPLOY_LOG}" popd > /dev/null # # END of main ##############################################################################