History log of /openbmc/openbmc-test-automation/lib/ (Results 251 – 275 of 1615)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
a035578f18-Oct-2021 shrsuman123 <shrsuman@in.ibm.com>

Added fix for vmi run on eth1 interface

-Defined ethernet_interface variable in library to pick user passed interface

Change-Id: I9162269d187d9a5718df28e9b69fba093e72cc57
Signed-off-by:

Added fix for vmi run on eth1 interface

-Defined ethernet_interface variable in library to pick user passed interface

Change-Id: I9162269d187d9a5718df28e9b69fba093e72cc57
Signed-off-by: shrsuman123 <shrsuman@in.ibm.com>

show more ...

2ee3b19602-Feb-2022 George Keishing <gkeishin@in.ibm.com>

Update FFDC log collection list

Changes:
- Added pldm fru table data
- Fix gard env

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

acaee7ef02-Feb-2022 Anusha Dathatri <adathatr@in.ibm.com>

Fix guard command environment for FFDC

Signed-off-by: Anusha Dathatri <adathatr@in.ibm.com>
Change-Id: I533996a13364b3fff3e7afcf83c13e78b48fd065

f1c6197602-Feb-2022 George Keishing <gkeishin@in.ibm.com>

Add DEVTREE in FFDC log collections

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

de7e045d01-Feb-2022 George Keishing <gkeishin@in.ibm.com>

Fix typo in test code documentation

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

dad7d38401-Feb-2022 George Keishing <gkeishin@in.ibm.com>

Add IPMI_USERNAME default user name

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

2104d5f931-Jan-2022 George Keishing <gkeishin@in.ibm.com>

Add support to run as sudo user on BMC

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


/openbmc/openbmc-test-automation/data/boot_table_redfish.json
/openbmc/openbmc-test-automation/extended/code_update/test_field_mode.robot
/openbmc/openbmc-test-automation/extended/code_update/test_software_manager.robot
/openbmc/openbmc-test-automation/extended/obmc_boot_test.robot
/openbmc/openbmc-test-automation/extended/test_watchdog.robot
/openbmc/openbmc-test-automation/gui/data/gui_variables.py
/openbmc/openbmc-test-automation/gui/gui_test/gui_header/test_profile_settings_sub_menu.robot
/openbmc/openbmc-test-automation/gui/gui_test/hardware_status_menu/test_sensors_sub_menu.robot
/openbmc/openbmc-test-automation/gui/gui_test/logs_menu/test_event_logs_sub_menu.robot
/openbmc/openbmc-test-automation/gui/gui_test/operations_menu/test_server_power_operations_sub_menu.robot
/openbmc/openbmc-test-automation/gui/gui_test/security_and_access_menu/test_ldap_sub_menu.robot
/openbmc/openbmc-test-automation/gui/gui_test/security_and_access_menu/test_policies_sub_menu.robot
/openbmc/openbmc-test-automation/gui/gui_test/settings_menu/test_date_and_time_sub_menu.robot
/openbmc/openbmc-test-automation/gui/gui_test/settings_menu/test_power_restore_policy_sub_menu.robot
/openbmc/openbmc-test-automation/gui/gui_test/settings_menu/test_snmp_alerts_sub_menu.robot
/openbmc/openbmc-test-automation/gui/lib/gui_resource.robot
/openbmc/openbmc-test-automation/gui/test/server_config/test_obmc_gui_firmware_update.robot
/openbmc/openbmc-test-automation/ipmi/test_ipmi_general.robot
/openbmc/openbmc-test-automation/ipmi/test_ipmi_network_configuration.robot
/openbmc/openbmc-test-automation/ipmi/test_ipmi_network_verificaton.robot
/openbmc/openbmc-test-automation/ipmi/test_ipmi_user.robot
bmc_ssh_utils.py
resource.robot
state.py
/openbmc/openbmc-test-automation/network/test_vlan_network.robot
/openbmc/openbmc-test-automation/openpower/check_error_logs.robot
/openbmc/openbmc-test-automation/openpower/check_vpd_and_hw_status.robot
/openbmc/openbmc-test-automation/openpower/ext_interfaces/test_vmi.robot
/openbmc/openbmc-test-automation/openpower/ext_interfaces/test_vmicert_management.robot
/openbmc/openbmc-test-automation/openpower/pel/test_bmc_pel.robot
/openbmc/openbmc-test-automation/openpower/ras/test_bmc_ras.robot
/openbmc/openbmc-test-automation/openpower/ras/test_host_ras.robot
/openbmc/openbmc-test-automation/openpower/ras/test_reboot_ras.robot
/openbmc/openbmc-test-automation/openpower/test_bios_attributes.robot
/openbmc/openbmc-test-automation/pldm/test_pldm_bios_attributes.robot
/openbmc/openbmc-test-automation/redfish/account_service/test_ldap_configuration.robot
/openbmc/openbmc-test-automation/redfish/account_service/test_user_account.robot
/openbmc/openbmc-test-automation/redfish/dmtf_tools/test_redfishtool_certificate.robot
/openbmc/openbmc-test-automation/redfish/events/test_bmc_snmp_trap.robot
/openbmc/openbmc-test-automation/redfish/extended/test_bmc_devicetree.robot
/openbmc/openbmc-test-automation/redfish/extended/test_escale_base.robot
/openbmc/openbmc-test-automation/redfish/managers/test_bmc_network_conf.robot
/openbmc/openbmc-test-automation/redfish/service_root/test_service_root.robot
/openbmc/openbmc-test-automation/redfish/systems/test_power_operations.robot
/openbmc/openbmc-test-automation/redfish/systems/test_powersubsystem_settings.robot
/openbmc/openbmc-test-automation/redfish/update_service/test_firmware_inventory.robot
/openbmc/openbmc-test-automation/redfish/update_service/test_redfish_bmc_code_update.robot
/openbmc/openbmc-test-automation/redfish/update_service/test_redfish_image_upload.robot
/openbmc/openbmc-test-automation/security/test_bmc_expire_password.robot
/openbmc/openbmc-test-automation/snmp/test_bmc_snmp_config.robot
/openbmc/openbmc-test-automation/xcat/test_power_operation.robot
/openbmc/openbmc-test-automation/xcat/test_xcat_group.robot
ec2836d619-Jan-2022 George Keishing <gkeishin@in.ibm.com>

Update OPENBMC_MODEL if it fails to get from BMC

Test suites can be executed with different local user privilege.
Specially to execute boot plugin, the boot infrastructure requires
OPENBMC_MODEL to

Update OPENBMC_MODEL if it fails to get from BMC

Test suites can be executed with different local user privilege.
Specially to execute boot plugin, the boot infrastructure requires
OPENBMC_MODEL to be poplated.

Currently, this model is fetch from BMC via SSH, however, different
privilege user will not have the admin or root access causing the
boot setup to fail.

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

show more ...

373f36ca20-Jan-2022 George Keishing <gkeishin@in.ibm.com>

Fix FFDC log command

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

d2e6c3e520-Jan-2022 George Keishing <gkeishin@in.ibm.com>

Add Fan control dump log in FFDC

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

30108bd114-Jan-2022 David Shaw <dlshaw@us.ibm.com>

Increase timeouts for host initiated reset reload

Signed-off-by: David Shaw <dlshaw@us.ibm.com>
Change-Id: I2b2e5f7a4ed859758dea81cb5fd556e8f5771142

5e56f52b20-Dec-2021 Peter D Phan <peterp@us.ibm.com>

ffdc: Integrate ffdc script into robot framework flow.

This commit provides interface to enable automation tests (robot/jenkins)
to activate the new cli ffdc collector.

- Patchset 1: Initial commit

ffdc: Integrate ffdc script into robot framework flow.

This commit provides interface to enable automation tests (robot/jenkins)
to activate the new cli ffdc collector.

- Patchset 1: Initial commit for review.
- Patchset 2: Redesing and fixing issues
- Patchset 3: Fix build issue (pycodestyle)
- Patchset 4: Default ffdc store location running direct CLI
- Patchset 5: Addressing review comments and questions
- Patchset 6: Restore direct CLI default location to /tmp
- Patchset 7: Addressing issues from comments
Also extend socket timeout for long-running command peltool -a
- Patchset 8: Use Builtin().log_to_console("") method in the bridge code
- Patchset 9: Rebase

Tests:
- Standalone script: python3 ./ffdc/collect_ffdc.py
- Within robot env: python3 -m robot .... -v FFDC_DEFAULT:0 ./tools/myffdc.robot

Signed-off-by: Peter D Phan <peterp@us.ibm.com>
Change-Id: Ic892c48efe7dbdb3a4345ba89c3a0257f03a7ffb

show more ...

6e0e091916-Nov-2021 Sridevi Ramesh <sridevra@in.ibm.com>

Implement APIs in pel_utils to verify error log

- fetch_pelId_For_SRC
- verify_SRC_details
- fetch_All_SRC

Change-Id: I1d2b99b3ed9ab60e125f12282f0e36fb9521a1b6
Signed-off-by: Sridevi Ra

Implement APIs in pel_utils to verify error log

- fetch_pelId_For_SRC
- verify_SRC_details
- fetch_All_SRC

Change-Id: I1d2b99b3ed9ab60e125f12282f0e36fb9521a1b6
Signed-off-by: Sridevi Ramesh <sridevra@in.ibm.com>

show more ...

6589b47f14-Dec-2021 George Keishing <gkeishin@in.ibm.com>

Add GUARD listing in FFDC log collection

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

af145b6914-Dec-2021 Tim Lee <timlee660101@gmail.com>

lib: skip Journal in redfish enumerate

Symptom:
"Verify Redfish Unresponsive URL paths" test item got failed.
ValueError: The HTTP status code was not valid:
status:

lib: skip Journal in redfish enumerate

Symptom:
"Verify Redfish Unresponsive URL paths" test item got failed.
ValueError: The HTTP status code was not valid:
status: 400
valid_status_codes:
[0]: 200
[1]: 404
[2]: 405
[3]: 500

Root cause:
When doing Redfish Enumerate Request into /redfish/v1/Managers/bmc/LogServices/Journal,
The response status code return 400 that is not in valid_status_codes list.

Seems journal entries will be overwrited when entries full.
Thus, when enumerating the overwrited log entries will got failed.
Currently, "OverWritePolicy" is "WrapsWhenFull" in LogService.json schema.

Solution:
Skip Journal in redfish enumerate request.

Tested:
Run all robot test cases.

Signed-off-by: Tim Lee <timlee660101@gmail.com>
Change-Id: Iad7c2bf83f2645fcbf191400267f2a2f68e31806

show more ...

4081fca714-Dec-2021 David Shaw <dlshaw@us.ibm.com>

Collect hexdump output of badPEL file as part of FFDC

hexdump -C /var/lib/phosphor-logging/extensions/pels/badPEL

Signed-off-by: David Shaw <dlshaw@us.ibm.com>
Change-Id: Ibab965e5b4ee63153336

Collect hexdump output of badPEL file as part of FFDC

hexdump -C /var/lib/phosphor-logging/extensions/pels/badPEL

Signed-off-by: David Shaw <dlshaw@us.ibm.com>
Change-Id: Ibab965e5b4ee6315333663a33de8a45ac703a3e8

show more ...

792e31ee10-Dec-2021 Tim Lee <timlee660101@gmail.com>

redfish: extended: dump: fix "Verify Download BMC Dump" test failed

Symptom:
"Verify Download BMC Dump" test item in test_bmc_dump.robot got failed.

Root cause:
From test report that error message

redfish: extended: dump: fix "Verify Download BMC Dump" test failed

Symptom:
"Verify Download BMC Dump" test item in test_bmc_dump.robot got failed.

Root cause:
From test report that error message is
JSONDecodeError: Expecting value: line 1 column 1 (char 0).
Due to this test item using REST method "Create User Initiated Dump"
to create bmc dump and got failed. Thus, "Get The Dump Id" return unexpected value.

Solution:
Using Redfish method to create BMC Dump according current bmcweb design.

Tested:
Run robot "Verify Download BMC Dump" of test_bmc_dump.robot

Signed-off-by: Tim Lee <timlee660101@gmail.com>
Change-Id: I14b25408277809d5de6148fed91a36b85ede479e

show more ...

eae945b413-Dec-2021 George Keishing <gkeishin@in.ibm.com>

Ignore Power restore policy on error to continue boot

This is to prevent power restore policy blocking the system to
boot where by default some systems in community may not suport it.

Change-Id: I9

Ignore Power restore policy on error to continue boot

This is to prevent power restore policy blocking the system to
boot where by default some systems in community may not suport it.

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

show more ...

a8b3e18009-Dec-2021 shrsuman123 <shrsuman@in.ibm.com>

Modified library function parse_nping_output

-Modified to handle parsing nping output for tcp connections requests

Change-Id: Ia3ceb99ef9ce7fb0c319f07e91ad4175cbe35aea
Signed-off-by: shrsuman12

Modified library function parse_nping_output

-Modified to handle parsing nping output for tcp connections requests

Change-Id: Ia3ceb99ef9ce7fb0c319f07e91ad4175cbe35aea
Signed-off-by: shrsuman123 <shrsuman@in.ibm.com>

show more ...

9a28860a10-Dec-2021 George Keishing <gkeishin@in.ibm.com>

Add IPMI support to set power restore policy

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

9161b10110-Dec-2021 George Keishing <gkeishin@in.ibm.com>

Update IPMI console logging tmp path

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

b910d89b17-Nov-2021 Sushil Singh <susilsi7@in.ibm.com>

Automated BMC reset reload with force restart

Changes:
- Test case
"Redfish BMC Manager ForceRestart When Host Off"

Change-Id: I0f8f272283c1f1d8a168afc628bb024f659d0430
Signed-off-by: Sus

Automated BMC reset reload with force restart

Changes:
- Test case
"Redfish BMC Manager ForceRestart When Host Off"

Change-Id: I0f8f272283c1f1d8a168afc628bb024f659d0430
Signed-off-by: Sushil Singh <susilsi7@in.ibm.com>

show more ...

8b38c1a206-Dec-2021 George Keishing <gkeishin@in.ibm.com>

Fix OCC and CPU count match logic

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

ed8cccab22-Nov-2021 George Keishing <gkeishin@in.ibm.com>

Remove log deletion logic from FFDC

Note: Log collection is suppose to collect data from the
system and not configure to delete after data is collected.
The test case is responsible to decide if spe

Remove log deletion logic from FFDC

Note: Log collection is suppose to collect data from the
system and not configure to delete after data is collected.
The test case is responsible to decide if specific logs on
the system is to be cleared or not.

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

show more ...

2620672117-Nov-2021 George Keishing <gkeishin@in.ibm.com>

IPMI SOL log file path default

Changes:
- Default the SOL in user execution directory logs/
- Update Power on and off to use IPMI methods

This changes is to avoid leaving files under /tmp/ wh

IPMI SOL log file path default

Changes:
- Default the SOL in user execution directory logs/
- Update Power on and off to use IPMI methods

This changes is to avoid leaving files under /tmp/ which will
eventually flush on the reboot but user using server running
the test hardly reboot the system. The existing scheme works
ok if running on local or docker instances but still not a
good idea to dump onto /tmp/.

Resolves openbmc/openbmc-test-automation#2132

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

show more ...

1...<<11121314151617181920>>...65