aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2022-03-03Allow overriding project_name via envCédric Ollivier2-1/+20
It now offers a new env var, PROJECT_NAME, to override the default value in testcases.yaml. Change-Id: I911f1af56afe88edb37de40176733b65bc8e490a Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 318c2e427e2933fdff2213bf807249c66628b56f)
2022-01-27Reset argv to prevent wrong usageCédric Ollivier1-0/+4
It bypasses a clear pyats issue Change-Id: Ib5e8d51b5bea1015c7e1b371b5ba4679c0921555 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 6e7f515947c54d3ed9bb3df9cc2014fc1baaea51)
2022-01-21Protect if detail is returned as NoneCédric Ollivier1-0/+2
It occured when running ansible. Change-Id: I908270fdb76fbc3bdf60787b189cdbc29c41b52b Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 769898458263b7f138c7ffc9126c376781fa71d4)
2022-01-21Remove ansiblelint as tox entryCédric Ollivier2-7/+2
It false asks for ansible in any XtestingCI child's test requirements. Change-Id: I6cff0ba900360c97db64f519ef4055e2e18cc28c Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit ee4aeafa6a7073c90e0496fb9efe147375197caf) (cherry picked from commit 1b0c4def95c5bf93462d3885a53012bc7f745173)
2021-11-08Update requirementsCédric Ollivier1-8/+0
Change-Id: I94223ada81520d248e4f0a9c4bf2cb37fce3a819 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2021-08-19Fix tag logics in behaveCédric Ollivier2-6/+8
The unit tests will be fully rewritten in a second change (out of this bugfix). Co-Authored-By: Ugur Caglar Kilic <ugur.caglar.kilic@oracle.com> Change-Id: I6413fbcecdf44dbfe9c978045f4b1d43ca0de2ec Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit e2a7ac290649fe12228604876fdd63976734bec5) (cherry picked from commit 261536179b363e0260e4e0068e4471bfb7c63b60)
2021-08-19Add console parameter to behaveframeworkFrancois Regis Menguy2-4/+11
Change-Id: I289de43bdea8c52181ec0622c83c5c56dd6890e3 Signed-off-by: Francois Regis Menguy <francoisregis.menguy@orange.com> (cherry picked from commit 05013a4caa67062ddae4b570f67b77365a96e326)
2021-08-19Update ansiblelintCédric Ollivier1-1/+2
Change-Id: Ia758b9f3e48af63e01dd923146f66abebb3186a3 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2021-05-25Fix remaining py37 testenvVincent Danno1-1/+1
Signed-off-by: Vincent Danno <vincent.danno@orange.com> Change-Id: I7847ac6f9f642fb64097a172bd4e8396040f8aa7 (cherry picked from commit ae6de022a0de4013afc1828fb8953801a5905673)
2021-02-17Add the missing actionCédric Ollivier1-0/+6
Change-Id: I8c88da0ec7924cc517e453d4a8de52bb5bb0275f Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 49504223bc2ca476e63484e98d8b4cdbe299a09d)
2021-02-17Pulish former wiki page as README.mdCédric Ollivier1-0/+198
https://wiki.opnfv.org/display/functest/Write+your+own+Xtesting+driver Change-Id: If135bf9d84e1c357911eb0b2331539844288969a Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 3ec66533ae228d8f1ca6555f58d6cf77f186699b)
2021-02-12aarch64 mts builds mostly failCédric Ollivier1-1/+1
Change-Id: I87d9e4f33824c7a486d92f4e151b0b40bf10e675 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 5887ce960a69f793a28e54aa3b1662b134aad6af)
2021-02-12Update site.gate.yml accordint to latest XtestingCI changesCédric Ollivier1-5/+11
Change-Id: Iaaad4fff95b3df7564c5277eed80db182f8e3e19 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 6e2fa509cb5d9f4929b91b443fb354d0092bce82)
2021-02-12Split Gates in a dedicated site.ymlCédric Ollivier2-17/+33
Change-Id: Ib9fb9968071543c1a881fd862f15076488845ecb Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit da3d1068889529241bd017f46b454bec4bce5382)
2021-02-12Fix .travis.ymlCédric Ollivier1-0/+27
Change-Id: I360c880efc50f021f3ce6fa46ca61e1f59b0743f Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2021-02-12Fix arch in .travis-ci.ymlCédric Ollivier1-1/+1
Change-Id: I0b56d7d2e9714034e54f42426ada1806036ec47f Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 66cdbeccc2d8cffa9a8902bbfb17d99404ceada1)
2021-02-11Create dummy xtesting-mts:armCédric Ollivier3-15/+34
Change-Id: Ib6cc1236aa46b7fb1fd9dfa96750894d87c3563e Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 239dc4006e01b78b5a3bda9faec604f19bcf87e7)
2021-02-10Upgrade system firstCédric Ollivier1-1/+2
Change-Id: I9ee2ac74785212f8fa6f4ca84dabfcf0ebd3ed18 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 416589195799adc49c5163522313f9e9321c4449)
2021-02-09py2.7 forces ansible-lint 4.2.0Cédric Ollivier1-1/+1
Change-Id: I8c80f3704fa69b61ce03772cba0986bb5ba8669e Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2021-02-09Update ansible-lint verificationCédric Ollivier2-1/+2
Change-Id: I1f0e2a4dc3d2410a409c990605a9086a5776ca34 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 218ff87511f5675386c7c1948d64e24a101091f2)
2021-02-09Take pylint's len-as-condition into accountCédric Ollivier1-2/+2
Change-Id: Ib19de453857a2732d9c70a24539a96cd7129613d Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 8fc7c92cd3a8704aff806c2b9c500369b7360759)
2021-02-09Fix parent docker tagCédric Ollivier1-1/+1
Change-Id: Idca6d673f0b3e4b2423a1cfafaab77f0b572d5b5 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2021-02-09Cleanup previous run output filesVincent Mahe1-4/+13
Signed-off-by: Vincent Mahe <v.mahe@orange.com> Change-Id: I9ec39012457ae1a5f7017d41d79237d7a1e300d4 (cherry picked from commit 43d5772accb16742f09ddbc3d89ff5c315a2c0a4)
2021-02-09Protect mts vs py2Cédric Ollivier1-8/+12
Change-Id: I7a9aa9267a81161b10b1d625efbaa924187f8690 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit cd0f0900cb9290f2e84ad184842d8d8ce543a2e7)
2021-02-09Change version of MTS software to 6.6.21Vincent Mahe1-3/+3
Signed-off-by: Vincent Mahe <v.mahe@orange.com> Change-Id: I846d5adf55d1f20e3adf50fccbbb431dda7f55d6 (cherry picked from commit 16ae15d57395430b0113f44d850c9eb06fe1cb3b)
2021-02-09Add MTS driverVincent Mahe15-9/+418
It creates a new container xtesting-mts to avoid increase core container size. Signed-off-by: Vincent Mahe <v.mahe@orange.com> Change-Id: I59544023e1235747e140a442815778a133bf6acf (cherry picked from commit 32eb7687bf7b8440aa87805480789ef61ae65ec9)
2020-12-10Use pip==20.2.4 in tox venvCédric Ollivier3-2/+3
pip 20.3 is disruptive and would lead to big changes in stable branches. Change-Id: Ifc4abd2d1f28bfb63ba66796e1690b398c1e4760 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 9c9f1888d682cf1b794c956d7f6ab448cb42c6d7)
2020-09-05Remove all order in testcases.yamlCédric Ollivier1-1/+0
Change-Id: I7ff541ebe5b99f2bc66cbf725530fdff55504435 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit c7da909eb32f7203ffa2b1c3e71107e1ca4cc4c3)
2020-09-05Wrap long env valuesCédric Ollivier1-1/+3
https://build.opnfv.org/ci/job/functest-kubernetes-opnfv-functest-kubernetes-healthcheck-kali-k8s_smoke-run/162/console Change-Id: If6837a85f54309ad7c221144570c10eb1615993d Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 16742834bbca1a7074f19a57d004a1b41068744d)
2020-09-05Fix duration calculationCédric Ollivier1-2/+3
It falsy printed 00:60 Change-Id: Ib2852268a6833b353232c80e9013b6926058479c Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 242696fe51c7dc3530587350550ab07164706e56)
2020-09-05Remove order in testcases.yamlCédric Ollivier6-24/+8
It's not used and asked for useless configuration data. Change-Id: Ie1713873aa880bed74bc3c9c4c08da5b30ea3bbb Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 2480a8ed48d232b6395f992fc46d388ba2820872)
2020-09-05Make testcases descriptions optionalCédric Ollivier1-4/+4
Change-Id: If0e45f10816edd2199c589bb5fbfc03fbc0a4b77 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 150405525d6e9924858cd40c872600ddb2bfb57c)
2020-09-05Suppress admin password in default logsajay333-3/+3
Currently, OS_PASSWORD is getting printed in the console of Functest. This password is secret and must not be printed in default log file. This patch suppresses the logging of OS_PASSWORD unless users ask for debug logs. Signed-off-by: mahajanajay33@gmail.com Change-Id: Ib83a12eb09a8551b30b352858649932a5ca842e4 (cherry picked from commit bbdc01c30dcf5a1365ad5a61ec0f7fee49b7fb59)
2020-04-30Merge "Use OpenStack stable/ussuri requirements" into stable/kaliCedric Ollivier2-2/+2
2020-04-30Updated from global requirementsCédric Ollivier2-6/+8
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> Change-Id: Ic3139e82f3804ba027aebc798db49a2afa6ad9c7
2020-04-30Use OpenStack stable/ussuri requirementsCédric Ollivier2-2/+2
The branch was just created [1]. [1] https://github.com/openstack/requirements/tree/stable/ussuri Change-Id: Ib99c6f849d5cbd93690edae918e5eeb367bdb2a2 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2020-04-28Publish Kali containerCédric Ollivier5-5/+8
It should be noted that OpenStack has not released U's upper-constaints.txt yet. Change-Id: I05de1981cec34da1dcbc4b192d8a0510fddc84a1 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2020-04-27Fix behave-html-formatter py conditionsCédric Ollivier1-1/+1
https://pypi.org/project/behave-html-formatter/0.9.4/ Change-Id: I3c7d6f043a7e1df1529cf31152ac09e871ccdd3f Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2020-03-17Post-processed data from DBCédric Ollivier1-2/+10
It removes base_url to match the location in archive. It forces a relative path by removing first "/". It makes sense but it may raise side effects in dovetail webportal. Change-Id: Idca69a99fed54ddf69334a865bae15b0a08220fc Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2020-01-14Publish Xtesting2020Cédric Ollivier2-0/+95
Change-Id: Ife0d97eba3b09b54c0904128896998d8524db905 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2020-01-11Publish CNTT Snezka RC CookbookCédric Ollivier2-0/+132
http://testresults.opnfv.org/functest/cntt_rc_cookbook/ Change-Id: Ie100ddcf4a0ad1b8ba01a10ae91d2a6f40587c3c Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2020-01-04Switch to multiarch binfmtCédric Ollivier1-1/+1
It allows building arm containers as proposed by arm32v6 et arm32v7. Change-Id: Icaca973f70c167ec8eb59df882638683fe35e40e Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2020-01-04Select arm32v6 et arm64v8 reposCédric Ollivier1-2/+2
They are the official repos [1]. multiarch repo doesn't support Alpine 3.11 and Raspberry PI 1 (arm32v6). [1] https://hub.docker.com/_/alpine/ Change-Id: I2d73ef867c9714ecddba433295f822cf29b27b90 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2020-01-04Fix tox env list in travis-ciCédric Ollivier1-1/+1
https://travis-ci.org/collivier/functest-xtesting/jobs/632680250 Change-Id: I49fb0e399b2c0a31af21f5216b0576335773b8ab Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2020-01-04Add python3.8-distutils when verifying vs travis-ciCédric Ollivier1-1/+1
https://travis-ci.org/collivier/functest-xtesting/jobs/632675948 Change-Id: I87caca2810c966c6b8219b7dc044f02ac7b8e561 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2020-01-04Update Alpine to 3.11Cédric Ollivier8-20/+22
It also updates Python to 3.8 (default version). https://alpinelinux.org/posts/Alpine-3.11.0-released.html Change-Id: I1401c37adb71a6f7d37bd8724b93a058ecb68557 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2020-01-04Fix behave driver and its related unit testsCédric Ollivier3-39/+27
Change-Id: I466d655162c1ddd5f4e3ef0e356a27007bfaea0f Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-12-22Compress Campaign data (zip)Cédric Ollivier1-1/+2
Change-Id: I7b46a88a181293297cc764026f2804d36a59955a Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-12-21Dump DB and artifacts for third-party certificationCédric Ollivier3-2/+218
It conforms with Kubernetes Conformance [1] model and could be reused by OVP or any third-party CNTT-based certification. It publishes the final archive in the S3 repository. XtestingCI will generate the final job calling this feature. [1] https://github.com/cncf/k8s-conformance Change-Id: I7394c9d52d2cc9370eae125ca5398ff734e5b8d6 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-12-07Disable false ansible list warningsCédric Ollivier1-1/+1
git commit has to be executed via shell module [1]. [1] https://github.com/ansible/ansible/issues/50334 Change-Id: I0ad8abe12bd592cb2a790ec3373452d46573776a Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>