[Fuego] [PATCH 00/11] Add Fuego Functional.fuegotest

Guilherme Campos Camargo guicc at profusion.mobi
Wed Mar 7 19:54:48 UTC 2018


Hello, Tim

Please see a few more commits that have been added to Functional.fuegotest.
They include bug-fixes and some new tests (Shell and Selenium).

Not sure if you had the chance to take a look at my previous patches yet, but
if not, please consider using these one instead.

There are many commits, but most of them are pretty small. Please feel
free to ask me to squash some of them if you prefer.

To run these, you will need to checkout the `fuego-test` branch from
Profusion's fuego and fuego-core forks and then simply use fuego as usual to
add the fuego-test board and the Functional.fuegotest test.

In summary:

On host:
git clone --branch fuego-test https://bitbucket.org/profusionmobi/fuego-core.git
git clone --branch fuego-test https://bitbucket.org/profusionmobi/fuego.git
cd fuego
./install.sh
./fuego-host-scripts/docker-remove-container.sh
./fuego-host-scripts/docker-create-container.sh
./fuego-host-scripts/docker-start-container.sh

In fuego:
ftc add-nodes fuego-test
ftc add-jobs -b fuego-test -t Functional.fuegotest

Then you will be able to start the test through Jenkins and see the results.

Please let us know if you have any questions.

Guilherme Campos Camargo (11):
  Add fuego-release Functional test
  Mount fuego-rw/ro/core into the fuego-under-test container
  Use fuego-test branch to avoid install problems
  Increase wait_for_jenkins timeout from 10 to 60s
  Print fuego repo/branch information during test build
  Properly check install return code and abort in case of failure
  Allow the user to keep the container running after the test
  Add Back() Selenium Command
  Add ClickLink selenium command
  Include add-jobs, add-views and build-jobs tests
  Write ok/fail on test report

 engine/tests/Functional.fuegotest/fuego_test.sh |  36 ++
 engine/tests/Functional.fuegotest/spec.json     |  11 +
 engine/tests/Functional.fuegotest/test_run.py   | 552 ++++++++++++++++++++++++
 3 files changed, 599 insertions(+)
 create mode 100755 engine/tests/Functional.fuegotest/fuego_test.sh
 create mode 100644 engine/tests/Functional.fuegotest/spec.json
 create mode 100755 engine/tests/Functional.fuegotest/test_run.py

-- 
2.16.2



More information about the Fuego mailing list