History log of /openbmc/openbmc-build-scripts/scripts/run-robot.sh (Results 1 – 14 of 14)
Revision Date Author Comments
# e24df800 16-Nov-2023 George Keishing <gkeishin@in.ibm.com>

Update QEMU CI command line for test execution

Changes:
- Added password default values. Test repository
will no longer have default set. The user or the
helper scripts invoking test

Update QEMU CI command line for test execution

Changes:
- Added password default values. Test repository
will no longer have default set. The user or the
helper scripts invoking test execution will need
to key in required passwords parameter.

Tested:
- Ran from sandbox.

Change-Id: I55222522a36c33273ca71e935dcb68454c768766
Signed-off-by: George Keishing <gkeishin@in.ibm.com>

show more ...


# f116f6fa 03-Apr-2023 George Keishing <gkeishin@in.ibm.com>

Deprecated tests directory

Changes:
- Remove targeting tests directory

Reference: openbmc/openbmc-test-automation#test-layout

Tested: - NA, since the HW_CI test does not pick any test cases

Deprecated tests directory

Changes:
- Remove targeting tests directory

Reference: openbmc/openbmc-test-automation#test-layout

Tested: - NA, since the HW_CI test does not pick any test cases
from tests directory anymore.
Refer:
openbmc/openbmc-test-automation/blob/master/test_lists/HW_CI
Change-Id: I7a5afbd356357cd19058d92eeec898972b491f6d
Signed-off-by: George Keishing <gkeishin@in.ibm.com>

show more ...


# 476a7e99 06-Dec-2022 Patrick Williams <patrick@stwcx.xyz>

format shell scripts with beautysh

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ie72911e0f57a1f69b0bf317de8c52947886e1303


# d5ce1a23 17-Sep-2021 George Keishing <gkeishin@in.ibm.com>

Update robot script for QEMU to run in Redfish mode ONLY

Change-Id: I3234cc8c5f0c9161842713c00f592a2b503e52ae
Signed-off-by: George Keishing <gkeishin@in.ibm.com>


# cf77603b 16-Mar-2021 Patrick Williams <patrick@stwcx.xyz>

run-robot: minor shellcheck fixes

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I1c0a9d892d2b6635cb2e9cce6bfb826c770de456


# 12cd9a47 13-Nov-2020 Andrew Geissler <geissonator@yahoo.com>

run-robot: do not exit script on error

This script is running the robot test framework. Errors are expected
from the ROBOT_TEST_CMD at times when it finds regressions. Need to
ensure the script keep

run-robot: do not exit script on error

This script is running the robot test framework. Errors are expected
from the ROBOT_TEST_CMD at times when it finds regressions. Need to
ensure the script keeps running after that so it copies the needed log
files out of the docker container to the persistent directory.

Tested:
Verified that when robot tests fail we now get the test results and FFDC
in the jenkins job running it

Change-Id: Ieb87aba59402734837efb597aafd6dee434ce370
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>

show more ...


# 49f456b1 11-Nov-2020 Patrick Williams <patrick@stwcx.xyz>

run-robot.sh: correct invalid variable execution

Commit 384d741 attempted to clean up some issues reported by shellcheck
and ended up causing this script to fail execution. The previous
variable ex

run-robot.sh: correct invalid variable execution

Commit 384d741 attempted to clean up some issues reported by shellcheck
and ended up causing this script to fail execution. The previous
variable expansion was non-obvious and warned by shellcheck. Replaced
with an 'eval' call which seems to behave correctly and not be warned.

Tested:

Confirmed correct execution and error codes from the below executions.

```
ROBOT_TEST_CMD="echo this should pass && echo this also" \
./scripts/run-reboot.sh
ROBOT_TEST_CMD="echo this should pass && echo this also && false" \
./scripts/run-robot.sh
```

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ic4cb55c929511353d3e055d5238c0bcd520a4641

show more ...


# 384d741b 06-Nov-2020 Patrick Williams <patrick@stwcx.xyz>

shellcheck: clean up shellcheck warnings and enable

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ibc843b98c0fea97a31d3d15b556a32f091bf8e47


# cd1b0ac6 30-May-2019 Andrew Geissler <geissonator@yahoo.com>

docker: Update QEMU/Robot docker to bionic

Artful has gone end of release and will no longer build in docker due to
this. Update to the LTS.
easy_install was deprecated in bionic so use pip3 for all

docker: Update QEMU/Robot docker to bionic

Artful has gone end of release and will no longer build in docker due to
this. Update to the LTS.
easy_install was deprecated in bionic so use pip3 for all package
installations now.
The latest robot uses python3 so adjust our call to use that.
ipmitool in bionic is at 1.8.18 and I verified it works against our
latest master code on witherspoon so just apt-get that package.

Testing:
Ran through run-qemu-robot-test.sh and verified it passed. Did get some
warnings the test team will need to look into but everything still
passed:

Error in file '/tmp/root/11554/obmc-robot/tests/ipmi/test_fru.robot': Escaping empty cells with '\' before line continuation marker '...' is deprecated. Remove escaping before Robot Framework 3.2.

Change-Id: I16268b4042c31ca71cf6db9f37c85f66f65d4606
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>

show more ...


# c5c46920 23-Jan-2019 Andrew Geissler <geissonator@yahoo.com>

Default to using robot directly

The docker containers are configured to have all dependencies
installed so no need for tox. Just use robot directly.

Tested: Cherry picked this into our jenkins job

Default to using robot directly

The docker containers are configured to have all dependencies
installed so no need for tox. Just use robot directly.

Tested: Cherry picked this into our jenkins job and verified
all ran as expected.

Change-Id: Ie7105a1ed500fe246b01b520f3d66722e3b0739f
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>

show more ...


# 0c63ce1b 01-Mar-2018 Andrew Geissler <geissonator@yahoo.com>

Enable robot tests against QEMU

Change-Id: I38389b4ceb7ca8facf3c93345af0fa76c45a8b55
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>


# d3583927 13-Dec-2016 Charles Hofer <cphofer@us.ibm.com>

Copying out FFDC files to HOME in run-robot.sh

Change-Id: I8b39cf8293840fcb14ada139a3ba9a2a7f7c612e
Signed-off-by: Charles Hofer <cphofer@us.ibm.com>


# 8890641b 02-Sep-2016 Andrew Geissler <andrewg@us.ibm.com>

Provide flexibility to define robot command to run

Would like to use this script for other purposes then just QEMU
CI testing.

Change-Id: I0d62026696a3cb41512038ec026396d0d7b79b93
Signed-off-by: An

Provide flexibility to define robot command to run

Would like to use this script for other purposes then just QEMU
CI testing.

Change-Id: I0d62026696a3cb41512038ec026396d0d7b79b93
Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>

show more ...


# 0205e8da 10-Aug-2016 Andrew Geissler <andrewg@us.ibm.com>

Script which launches QEMU and runs robot CI test against it

This script will be run within automation to do a basic QEMU
CI test against the input openbmc build.

Change-Id: I6ffccd7f5767bec9bc673b

Script which launches QEMU and runs robot CI test against it

This script will be run within automation to do a basic QEMU
CI test against the input openbmc build.

Change-Id: I6ffccd7f5767bec9bc673b1a41bd7bd1d960924c
Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>

show more ...