aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2020-06-07Update to alpine3.12Cédric Ollivier3-5/+5
https://alpinelinux.org/posts/Alpine-3.12.0-released.html Change-Id: Ie7b89399e5e32732d81b3e6293055f1fa8b10012 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2020-06-07Drop py27Cédric Ollivier3-5/+2
We can no longer support py27 due to rally or bashate here. Change-Id: I716d388df227b9cb54c9c71b072c7aa01577f3fe Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2020-04-29Updated from global requirementsCédric Ollivier2-6/+8
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> Change-Id: I56dd1b8370ebe3e8e7f378a1fb3a9966a3c3d806
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>
2019-11-30Mock os.path.join in push_to_dbCédric Ollivier2-1/+3
Change-Id: I8d0c8f9ef4688454a6d2992ab1a20d871814e23f Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-11-30Merge "Postprocess the TestAPI href returned"Cedric Ollivier3-7/+10
2019-11-30Postprocess the TestAPI href returnedCédric Ollivier3-7/+10
[1] returned http://localhost:8082 [1] https://build.opnfv.org/ci/job/airship-opnfv-functest-healthcheck-latest-connection_check-run/58/console Change-Id: Ifc0e37a97442193a77762ecc2928b100e27028cd Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-11-27Run update package index before installing pkg in Circle CI.Cédric Ollivier1-1/+1
Change-Id: Id160a5bc68c2201db124773bf6eee8b6bb4cb7fc Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-11-18Forbid multipart upload if google storageCédric Ollivier2-2/+12
Google Storage doesn't support S3 multipart uploads https://docs.aws.amazon.com/AmazonS3/latest/dev/mpuoverview.html https://cloud.google.com/storage/docs/composite-objects 5 * 1024 ** 5 is the multipart upload limit. https://docs.aws.amazon.com/AmazonS3/latest/dev/qfacts.html Change-Id: Iec3a5cd70ea6e912272ea231eecde6ee4f51ce4f Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-11-16Add ContentType when publishing artifactsCédric Ollivier3-8/+55
The default value 'application/octet-stream' is mostly incorrect and forces downloading all links. https://build.opnfv.org/ci/job/functest-opnfv-functest-healthcheck-hunter-connection_check-run/436/console Change-Id: Ia680654f5e9f67154504264bc380f0a8d6a74d85 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-11-09Improve file scanning when publishing artifactsCédric Ollivier2-5/+25
Else it copies files from other testcases if the full suite is executed sequentially. Change-Id: Ic61472e47b655c34823a6fcb3ed3615e8f84a4c1 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-11-09Add links in testcase detailsCédric Ollivier2-6/+8
It allows finding easily reports thanks to DB. Change-Id: Ib5c4400c186fd320ae87e7fd3d4404b65e996a82 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-11-09Print Test API links in consoleCédric Ollivier3-2/+10
It adds TEST_DB_EXT_URL to print the right links in case of NAT or SSH port forwardings. Change-Id: If85b00de7325909facc903fba13a3fd59a1e705f Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-11-09Add S3 env vars in env.pyCédric Ollivier1-1/+4
It completes the previous commits adding S3 support: https://gerrit.opnfv.org/gerrit/c/functest-xtesting/+/68760 https://gerrit.opnfv.org/gerrit/c/functest-xtesting/+/68796 Change-Id: Iaaeb02ef2d9c6cdb7ff6c2c52e7086c751119871 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-11-09Generate Html and Xunit Behave reportsCédric Ollivier4-12/+35
Change-Id: I7d5f31502ba61b61a0b1c885fe8828211bc0bc0a Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-11-07Create Bucket if it doesn't existCédric Ollivier2-5/+52
Xtesting Ansible Role no longer creates bucket after starting Minio [1]. [1] https://github.com/collivier/ansible-role-xtesting/commit/8c62525bb0d0b5f8dcc2c4436711d5d075de8811 Change-Id: I1ad473ce55f9c00df8e558fdc67f571ee0a1875c Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-11-02Publish artifacts to S3 repositoryCédric Ollivier8-5/+128
It simplifies Jenkins or Gitlab jobs by automatically publishing all artifacts via the framework. It leverages on Amazon Web Services (AWS) SDK [1] which supports the current cases (OPNFV, Xtesting Ansible role [2], etc.). [1] https://boto3.amazonaws.com/v1/documentation/api/latest/index.html?id=docs_gateway [2] https://github.com/collivier/ansible-role-xtesting Change-Id: I66e380c4da29fb0f973472a2c59ae0ea3c44fcfd Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-08-22Override default Xtesting Ansible role valuesCédric Ollivier1-0/+12
It ease maintaining the Xtesting branches. Change-Id: Iaaeed0eb4331908266163746350e4163c102238a Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-08-10Improve dependency list (CircleCI)Cédric Ollivier1-1/+1
Change-Id: I8bee760092a40b3143cfbdd7ae5277a7c8cc4b0b Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-08-10Run Xtesting unit tests via CircleCICédric Ollivier1-0/+23
It runs tox and published the artifacts. It's worth mentioning that all docker images are already built via Travis CI (amd64, arm and arm64) [1]. https://travis-ci.org/collivier/functest-xtesting Change-Id: Icc57b6c45062425181230f3ebbdc5d3f7a925f99 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-08-03Run perm when verifying changesCédric Ollivier1-1/+1
umask is now correct in lf-virtual1 (0022). Change-Id: I073a48eddaf1e26bcb3bbeeb232eb69d4a03a124 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-07-27Override the right default testcases.yamlCédric Ollivier1-1/+1
Else robot and behave are skipped. Change-Id: Ib306b51d4d254fcacca86a9eaa56f4b751e370cb Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-07-27Fix remaining py36 testenvCédric Ollivier1-1/+1
Change-Id: Ifa6bfc7beb992cc9094435b734bbca68fcc5a931 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-07-27Fix ssl issues in travis-ciCédric Ollivier1-0/+5
https://travis-ci.org/collivier/functest-xtesting/builds/564133127 Change-Id: Ic0b8f20edfcccceda3d7226789f16e875af0bdb9 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-07-26Override the new testcases.yamlCédric Ollivier1-2/+2
Change-Id: I5a075f6adc2a014a5f2a04602d29783a91b86bfe Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-07-26Updated from global requirementsCédric Ollivier1-1/+1
Change-Id: Ia65aef5331aa9848d58a6db9800b755f226fe8bf Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-07-26Switch to Python 3.7 and Alpine 3.10Cédric Ollivier13-28/+30
It also allows building docs as doc8 is broken due to latest OpenStack's upper-constraints. pylint is updated to 2.3.1 (lastest py3.7 version) It disables perm as umask is currently false on lf-virtual1. Change-Id: I8568eeafa44c5dba72e206c532c1f50e3ad547f2 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-07-11Adding first patch for behave featureDeepak Chandella15-17/+370
Change-Id: Ic975c301103b49cdec2bd26746b708388f21e892 Signed-off-by: Deepak Chandella <deepak.chandella@orange.com>
2019-06-14Merge "Remove energy modules"Cedric Ollivier9-734/+1
2019-06-14Remove energy modulesCédric Ollivier9-734/+1
The public recorder api has been down for a while. Change-Id: Ib879ef3b9ef56338c10cfcdeb733451c6f7573a6 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-06-04Updated from global requirementsCédric Ollivier1-1/+2
Change-Id: I6f8705e701aac7432d7340d4949ace06339af3a3 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-05-25Run bandit when verifying changesCédric Ollivier3-0/+6
It reports only MEDIUM issues or higher like nova [1]. It selects bandit 1.1.0 as defined in nova and neutron lower constraints [2]. [1] https://github.com/openstack/nova/blob/master/tox.ini#L221 [2] https://github.com/openstack/nova/blob/master/lower-constraints.txt#L8 Change-Id: I52524df867d99fae75798475c762a5f8253dacfa Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-05-25Set utf-8 in decode and encode callsCédric Ollivier2-4/+4
It eases backporting in iruya and hunter as a few logs can't be decoded as ascii [1]. [1] https://build.opnfv.org/ci/job/functest-opnfv-functest-vnf-iruya-juju_epc-run/56/console Change-Id: I09c793469bdf4a679e6ed5a268e705efa5f2a20f Signed-off-by: Cédric Ollivier <ollivier.cedric@gmail.com>
2019-05-12Fix unit tests (py36)Cédric Ollivier2-12/+12
It completes the patch "Update to Python3" [1] which was not fully verified in Functest Gates [2]. [1] https://gerrit.opnfv.org/gerrit/#/c/67782/ [2] https://travis-ci.org/collivier/functest-xtesting/jobs/531380395 Change-Id: Icd0d743e14ca1430828907cefba10b50489020a5 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-05-12Stop setting utf-8 in decode/encode callsCédric Ollivier2-4/+4
It's the default value. Change-Id: I301f750cabc41a1564a700ae8d7328f195a4ae9b Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-05-11Rename HelloWorld.txt to HelloWorld.robotCédric Ollivier3-2/+2
It takes the following warning into account [1] "Automatically parsing other than '*.robot' files is deprecated" [1] https://build.opnfv.org/ci/job/xtesting-opnfv-xtesting-latest-fifth-run/150/console Change-Id: Ibe01eea7eb83c8724d6b4afe3a487ad813fed30d Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-05-07Update to Python3Cédric Ollivier7-17/+17
Now Xtesting containers use Python3 instead of python2. https://mail.python.org/pipermail/python-dev/2018-March/152348.html It also updates robotframework to latest release. Change-Id: I57e0d8b1af9aeaae0c445941a9bdf0b8bd346834 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-04-24Enable debug messages via env varCédric Ollivier4-10/+75
It stops printing in xtesting.debug.log by default. It decreases testing duration via Raspberry PI without additional tasks [1]. [1] https://wiki.opnfv.org/display/functest/Run+Functest+containers+on+Raspberry+PI Change-Id: I2eded47a7a150a45330a69f3262fc7ca6fdb7463 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>