Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: openbmc/openbmc-test-automation
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v5.0-stable
Choose a base ref
...
head repository: openbmc/openbmc-test-automation
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Able to merge. These branches can be automatically merged.

Commits on Jun 26, 2024

  1. Robot Framework 7.0 changes

    Update robot code syntax overall in the repo
    
    Changes:
       - Update the requirement.txt package version for robot
       - The '[Return]' setting is deprecated.
          Use the 'RETURN' statement instead.
       - Singular section headers like '*** Test Case ***'
         are deprecated. Use plural format like
         '*** Test Cases ***' instead.
       - Singular section headers like '*** Variable ***'
         are deprecated
    
    Tested:
       - Ran from sandbox with the version
         $ robot --version
         Robot Framework 7.0 (Python 3.10.12 on linux)
    
         and also tested on latest python version
    
         Robot Framework 7.0 (Python 3.11.9 on linux)
    
    Change-Id: I54e85f9d799556c63b9a39f79483f83e9b980768
    Signed-off-by: George Keishing <gkeishin@in.ibm.com>
    gkeishin committed Jun 26, 2024
    Copy the full SHA
    409df05 View commit details
  2. Robot 7.0 version code changes

    Changes:
       - Singular section headers like '*** Keyword ***'
         are deprecated.
         Use plural format like '*** Keywords ***' instead.
    
       - Singular section headers like '*** Comment ***'
         are deprecated.
         Use plural format like '*** Comments ***' instead.
    
    Tested:
       Syntax check run using robot --dryrun option locally
    
    Change-Id: Ifecc986b919fac504d8c3970a538de5a29f64307
    Signed-off-by: George Keishing <gkeishin@in.ibm.com>
    gkeishin committed Jun 26, 2024
    Copy the full SHA
    767900d View commit details

Commits on Jun 27, 2024

  1. Switch from Force Tags to Test Tags

    Force Tags is deprecated in Robot 7.0 and will eventually
    warn and then after that stop working. Test Tags performs
    the same function per docs.
    
    Change-Id: I7cf305754b247b995a05d8da3b9de9ed613ecae2
    Signed-off-by: Matt Fischer <matthew.fischer@hpe.com>
    matthewfischer authored and gkeishin committed Jun 27, 2024
    Copy the full SHA
    6fb70d9 View commit details

Commits on Jul 15, 2024

  1. GUI Network Settings Fix

    Changes:
       Added line for verify web element before clicking.
    
    Tested:
    Successfully tested from sandbox.
    
    Change-Id: I75c064393246a3f1220bdd05cc16db3b7561ec02
    Signed-off-by: Anvesh-Kumar_Rayankula <anvesh.kumar.rayankula@ibm.com>
    Anvesh-Kumar-Rayankula committed Jul 15, 2024
    Copy the full SHA
    48a92d2 View commit details

Commits on Jul 30, 2024

  1. Script fix for gui/lib/gui_resource.robot

    Changes:
       - The open Browser keyword doesn't have the browser type
         argument like the Launch Headless Browser keyword.
       - Even passing the browser type argument in run time, the default
         browser is Firefox only launching.
       - Added Argument ${browser} in the Open Browser keyword inside
         Launch the Headless Browser keyword to launch the browser
         dynamically.
    
    Tested:
        - No Test cases are involved with this keyword.
          We used this keyword for internal validation.
    
    Change-Id: I10ee474694ed0dcbc6151a4a339d505a2eb09935
    Signed-off-by: Yuvan Varshith A <yuvanvarshitha@ami.com>
    yuvanvarshitha authored and gkeishin committed Jul 30, 2024
    Copy the full SHA
    761f5d9 View commit details

Commits on Aug 6, 2024

  1. New boot JSON file supporting only OSRunning boot progress

    Changes:
        - Added new boot JSON file and this new boot JSON
          is not called in unless the user explicitly
          selects it to boot through the option mentioned
          below.
    
    Tested:
         Using the CLI option
        -v BOOT_TABLE_PATH:data/boot_table_osrunning_redfish.json
    
    Change-Id: I6e82e89c34540f17104771d820ae04ff2ad8d61d
    Signed-off-by: George Keishing <gkeishin@in.ibm.com>
    gkeishin committed Aug 6, 2024
    Copy the full SHA
    abb492d View commit details

Commits on Aug 13, 2024

  1. Separating network protocol and Manual date time Testcases

       Changes:
          - Separated test suites based on manual date, time, and NTP.
    
       Tested:
         - Ran and tested on BMC Environment.
    
    Change-Id: I5edca932207df0c5060f7e59a4be0adb179e7b1d
    Signed-off-by: Anvesh-Kumar_Rayankula <anvesh.kumar.rayankula@ibm.com>
    Anvesh-Kumar-Rayankula committed Aug 13, 2024
    Copy the full SHA
    365b8f9 View commit details

Commits on Aug 14, 2024

  1. GUI: Removed alternate-name option from GUI Certificate CSR page

    Changes:
        - Removed alternate-name variable from variables.
        - Removed alternate-name option check from Verify
          Generate CSR Certificate Button testcase.
    
    Tested:
        - Successfully ran
          gui/gui_test/security_and_access_menu
          test_certificates_sub_menu.robot
    
    Change-Id: I6be93f30870907bb881946273810eb21b98e22a7
    Signed-off-by: rramyasr-in <rramyasr@in.ibm.com>
    rramyasr committed Aug 14, 2024
    Copy the full SHA
    864642b View commit details

Commits on Aug 27, 2024

  1. Test Case to Disable NTP

        Changes:
            - Added Test Case to Disable NTP
    
        Tested:
            - Ran and Tested on BMC Environment.
    
    Change-Id: I06f5bdc0f552024f95f2ab2a53535a1a912da071
    Signed-off-by: Sweta Potthuri <spotthur@in.ibm.com>
    swe12345 committed Aug 27, 2024
    Copy the full SHA
    dc9abaa View commit details
  2. Added GUI Network testcases

       Changes:
          - Added testcase for Toggle DHCPv4 properties on GUI
    
       Tested:
         - Ran and tested on BMC Environment.
    
    Change-Id: Idabd7f5758ed55848bc93e0bc167ffe171a2703d
    Signed-off-by: Anvesh-Kumar_Rayankula <anvesh.kumar.rayankula@ibm.com>
    Anvesh-Kumar-Rayankula committed Aug 27, 2024
    Copy the full SHA
    00aef4e View commit details

Commits on Sep 5, 2024

  1. Added code to change datetime format

    Changes:
      - Added code to change datetime format due to
    recent changes in datetime utility and older format
    is not supported in redfish.
    
    Tested:
      - Ran the test case from sandbox successfully.
    
    Change-Id: Ic166a864b8994221ea88a1a9ea593d019fb0d4f0
    Signed-off-by: sarandev3 <saranyad@in.ibm.com>
    sarandev3 committed Sep 5, 2024
    Copy the full SHA
    5e5f597 View commit details

Commits on Sep 9, 2024

  1. Add re-try for redfish GET request for targets

    Changes:
        - This retries is added to improve the success rate
          for the GET request in case returns JSON errors
          for the following URI during operation
          /redfish/v1/Systems/ and /redfish/v1/Managers/
    
        - Added other places in code to handle exceptions.
        - Fix IPMI import paths in test suite
    
    Tested:
       - Ran from sandbox.
    
    Change-Id: Ie37dbdd9c7572e0003a56e65a7b5f0a4c3b26a1a
    Signed-off-by: George Keishing <gkeishin@in.ibm.com>
    gkeishin committed Sep 9, 2024
    Copy the full SHA
    43909f3 View commit details
  2. Update robot version in requirements.txt

    Changes:
        - Update robot version from 7.0 to 7.0.1 for
          more robot fixes.
    
    Tested:
       - Tested on sandbox
    
    Change-Id: I0863b350dfedfedee074214a93fa7f73e4af2fbd
    Signed-off-by: George Keishing <gkeishin@in.ibm.com>
    gkeishin committed Sep 9, 2024
    Copy the full SHA
    c901641 View commit details

Commits on Sep 10, 2024

  1. Fix robot resource file import error

    Changes:
       - Fix the import path in the test suite.
    
    Tested:
       - Ran clean on sandbox.
    
    Change-Id: Ie4c7d0413c9569e82c07069d894b8298894c6bfa
    Signed-off-by: George Keishing <gkeishin@in.ibm.com>
    gkeishin committed Sep 10, 2024
    Copy the full SHA
    f86e45f View commit details

Commits on Sep 11, 2024

  1. Fix IPMI and code typo changes

    Changes:
          - IPMI changes refer ipmitool/ipmitool#96
            IPMITOOL_1_8_19: Release Version 1.8.19
          - Spelling fix
    
    Tested:
         - NA
    
    Change-Id: Iad514073ae28461158de8b39aded1efdcd146c52
    Signed-off-by: George Keishing <gkeishin@in.ibm.com>
    gkeishin committed Sep 11, 2024
    Copy the full SHA
    aaf7d1c View commit details

Commits on Sep 12, 2024

  1. IPv6 address changes

    Changes:
        - Added "Modify IPv6 Address And Verify"
        - Added "Modify IPv6 Address" keyword
    
    Tested:
    - Ran successfully test_bmc_ipv6.robot
    
    Change-Id: I513203559a2170f8bb89aeadb623c5b7ee60c926
    Signed-off-by: Prashanth Katti <prkatti1@in.ibm.com>
    prkatti1 authored and Anvesh-Kumar-Rayankula committed Sep 12, 2024
    Copy the full SHA
    5f7d2e4 View commit details

Commits on Sep 13, 2024

  1. Added GUI Network testcase

    Changes:
        - Added "Delete IPv4 Address via GUI and verify"
        - Added "Delete IPv4 Address And Verify" keyword
    
    Tested:
    - Ran successfully test_network_sub_menu.robot
    
    Change-Id: I053b6848bf0b56e0155726d64c52db139e0adaa0
    Signed-off-by: Anvesh-Kumar_Rayankula <anvesh.kumar.rayankula@ibm.com>
    Anvesh-Kumar-Rayankula committed Sep 13, 2024
    Copy the full SHA
    7cebd86 View commit details

Commits on Sep 27, 2024

  1. CT Fix: Fix for 401 issue

    Changes:
        - Added "Test Setup" for redifsh login
        - Incorporated Sleep Time
    
    Tested:
    - Ran and tested on BMC Environment.
    
    Change-Id: I495547d8cd63877bab4ca11ad9d4c240d5345935
    Signed-off-by: Anvesh-Kumar_Rayankula <anvesh.kumar.rayankula@ibm.com>
    Anvesh-Kumar-Rayankula committed Sep 27, 2024
    Copy the full SHA
    58b5569 View commit details

Commits on Oct 4, 2024

  1. Added keyword to gui_resource.robot

    Changes:
    - Added keyword to launch browser and login gui
    with given user.
    
    Tested:
    - Ran the test case from sandbox successfully.
    
    Change-Id: I14783527aa4d8491f7b66f02db714cb0853ce1da
    Signed-off-by: sarandev3 <saranyad@in.ibm.com>
    sarandev3 committed Oct 4, 2024
    Copy the full SHA
    7ef2c44 View commit details
  2. Added GUI Network testcase

    Changes:
        - Added "Verify MAC Address Is Displayed"
        - Using "Click Element" instead "Click Element At Coordinates"
    
    Tested:
    - Ran successfully test_network_sub_menu.robot
    
    Change-Id: Ib9e89c7c38b39c17347907a5e6d534b1fe695da7
    Signed-off-by: Anvesh-Kumar_Rayankula <anvesh.kumar.rayankula@ibm.com>
    Anvesh-Kumar-Rayankula committed Oct 4, 2024
    Copy the full SHA
    dee4573 View commit details

Commits on Oct 8, 2024

  1. SSH Enable and Disable via Eth1

        Changes:
        - Adding test case to Enable and disable SSH
    
        Tested:
        - Ran and Tested on BMC Environment
    
    Change-Id: I3867ad7818d708a46a87975ff35be393d5bbadf3
    Signed-off-by: Sweta Potthuri <spotthur@in.ibm.com>
    swe12345 committed Oct 8, 2024
    Copy the full SHA
    79ba8a2 View commit details

Commits on Oct 9, 2024

  1. QEMU_CI: Update test list

    Changes:
         - Added certificate test
         - Remove redundant redfish test w.r.t redfish
           validator type of test.
    
    Tested:
         - Ran from sandbox
    
    Change-Id: I380d792dc525715079d4df04d7098eacb83097d6
    Signed-off-by: George Keishing <gkeishin@in.ibm.com>
    gkeishin committed Oct 9, 2024
    Copy the full SHA
    76a7814 View commit details
  2. QEMU CI Test: Certificate test removed

    Changes:
       - Certificate test is failing on QEMU_CI test bucket.
         Removing from the list.
    
    Tested:
       - NA
    
    Change-Id: I65bbcc9602ca17da23ac53c7e027b9cab893799f
    Signed-off-by: George Keishing <gkeishin@in.ibm.com>
    gkeishin committed Oct 9, 2024
    Copy the full SHA
    b9e3ae8 View commit details

Commits on Oct 10, 2024

  1. Update system and managers URI documentation

    Changes:
          - Update ResetActionInfo and Parameters
            information in documentation.
    
    Tested:
         - NA
    
    Change-Id: I6ec14f45e5c6662aa58100e110d88bacbbcd2891
    Signed-off-by: George Keishing <gkeishin@in.ibm.com>
    gkeishin committed Oct 10, 2024
    Copy the full SHA
    b78e76d View commit details

Commits on Oct 14, 2024

  1. Update log collection method scp for core dump

    Changes:
       - Change the file ownership to user requested for
         log collection for user defined /tmp core dump
         files.
    
    Tested:
       - Ran from sandbox.
    
    Change-Id: Ib720ecef1e8c114a67bbeda2cfe0ce70d44984bc
    Signed-off-by: George Keishing <gkeishin@in.ibm.com>
    gkeishin committed Oct 14, 2024
    Copy the full SHA
    6e36ad7 View commit details

Commits on Oct 22, 2024

  1. Fix test name and tag mismatched

    Changes:
         - Changes made according to coding guideline
           to match the tag name and test cases name.
    
    Tested:
         - NA
    
    Change-Id: I4cd1942a2c00234bc32e114dfefd06a7134da064
    Signed-off-by: George Keishing <gkeishin@in.ibm.com>
    gkeishin committed Oct 22, 2024
    Copy the full SHA
    cc28831 View commit details
  2. Update power on timeout for PLDM test

    Changes:
        - Replace hard coded timeout with power_on_timeout
    
    Tested:
        - NA
    
    Change-Id: I93e39f9ab516c4390440a0e7e437a66bd0beb0b9
    Signed-off-by: George Keishing <gkeishin@in.ibm.com>
    gkeishin committed Oct 22, 2024
    Copy the full SHA
    e292123 View commit details
  3. Fix test suite warning for robot 7.0 syntax

    Changes:
        - Singular section headers like
          '*** Test Case ***' are deprecated.
          Use plural format like
          '*** Test Cases ***' instead.
    
    Tested:
       - NA
    
    Change-Id: I00a73dff4ddea75ba5bd84c2136fef1d60337ed7
    Signed-off-by: George Keishing <gkeishin@in.ibm.com>
    gkeishin committed Oct 22, 2024
    Copy the full SHA
    55ca609 View commit details

Commits on Oct 28, 2024

  1. Use importlib.util to replace imp

    Since the imp module is deprecated and scheduled for removal in
    Python 3.12 in favor of importlib, update the relevant libraries to
    resolve any ModuleNotFoundError issues with Python 3.12.
    
    Changes:
    - use import importlib.util instead of import imp
    
    Tested:
    - Ran basic test pass with Python 3.10 and 3.12.
    
    Change-Id: I25dde939dd25268b2ae329b0121858bec20ed03c
    Signed-off-by: Brian Ma <chma0@nuvoton.com>
    minimada committed Oct 28, 2024
    Copy the full SHA
    139f1da View commit details

Commits on Dec 2, 2024

  1. Added new test for Expired password menu

    Changes:
        - Added test
        "Verify Maximum Failed Attempts For
         Admin User And Check Account Locked"
    
    Tested:
        - Ran successfully test_bmc_expire_password.robot
    
    Change-Id: I76845e87ec5ca9997fdebfc89eb508138c456210
    Signed-off-by: Megha G N <Megha.G.N@ibm.com>
    meghagn5 committed Dec 2, 2024
    Copy the full SHA
    561b568 View commit details
  2. Added new test for VMI menu

    Changes:
        - Added test
        "Enable VMI Stateless Address AutoConfig And Verify"
    
    Tested:
        - Ran successfully test_vmi.robot
    
    Change-Id: I9d7b542e2643d2efddfcf4a69dc077ea23f55a8c
    Signed-off-by: Megha G N <Megha.G.N@ibm.com>
    meghagn5 committed Dec 2, 2024
    Copy the full SHA
    38acd84 View commit details

Commits on Dec 4, 2024

  1. Add log collection for BMC kernel sys trace

    Changes:
        - Add log collection for the file
           /sys/kernel/tracing/trace
    
    Tested:
        - Tested on the sandbox.
    Change-Id: If6a38de6b70502034e6251bc339fa03f3e330d90
    Signed-off-by: George Keishing <gkeishin@in.ibm.com>
    gkeishin committed Dec 4, 2024
    Copy the full SHA
    706785c View commit details

Commits on Dec 6, 2024

  1. Pass IPMI_PORT in so that it works in qemu

    This allows a different port to be used for running IPMI commands.
    
    Change-Id: I1f39f7e76e044005ecf7c880f04fe24091b5ca25
    Signed-off-by: Matt Fischer <matthew.fischer@hpe.com>
    matthewfischer committed Dec 6, 2024
    Copy the full SHA
    f50f8fb View commit details

Commits on Dec 12, 2024

  1. Correct tox config for whitelist

    tox changed the whitelist_externals to allowlist_externals
    and as of tox 4.x the older name no longer works.
    
    Change-Id: I8d5b196fc276205ede1666f0d71d0cd6550fdc22
    Signed-off-by: Matt Fischer <matthew.fischer@hpe.com>
    matthewfischer committed Dec 12, 2024
    Copy the full SHA
    5a4a296 View commit details
  2. Added new testcase for GUI network

    Changes:
        - Added testcase "Verify Able To Click On Eth1 Interface"
        - Added Keyword "Get Network Interface Details"
    
    Tested:
    - Ran successfully test_network_sub_menu.robot
    
    Change-Id: I3b70e1f40993d11598374378ca794ecf252088ef
    Signed-off-by: Anvesh-Kumar_Rayankula <anvesh.kumar.rayankula@ibm.com>
    Anvesh-Kumar-Rayankula committed Dec 12, 2024
    Copy the full SHA
    fc9cfb4 View commit details

Commits on Dec 13, 2024

  1. Added new test for VMI menu

    Changes:
        - Added test
        "Disable VMI Stateless Address AutoConfig And Verify"
    
    Tested:
        - Ran successfully test_vmi.robot
    
    Change-Id: I4f54ed0fe2fc277d09748f525ca1465fbe38fa13
    Signed-off-by: Megha G N <Megha.G.N@ibm.com>
    meghagn5 committed Dec 13, 2024
    Copy the full SHA
    e8c0e42 View commit details

Commits on Dec 17, 2024

  1. Add an option to provide extension for peltool

    Changes:
      - Added a new argument to provide extension
         for peltool API.
    
    Tested:
      - Tested changes with and with out extension
        for peltool.
    
    Change-Id: Iaa0ad687b57205e9bd22d76ff2da6df3a171914f
    Signed-off-by: Sridevi Ramesh <sridevra@in.ibm.com>
    SrideviRamesh authored and gkeishin committed Dec 17, 2024
    Copy the full SHA
    45b45c1 View commit details
  2. Remove unneeded permission fail check

    SDR Info command works and does not fail, hence the expected
    failure in Robot causes the test to break.
    
    Closes-Bug: #2252
    
    Change-Id: If5e0d59f6feae97be6cd76a82020c381b87b12d7
    Signed-off-by: Matt Fischer <matthew.fischer@hpe.com>
    matthewfischer authored and gkeishin committed Dec 17, 2024
    Copy the full SHA
    a0177b9 View commit details

Commits on Jan 2, 2025

  1. Remove vim mode lines

    Editor settings aren't necessary in source files.
    
    Change-Id: I8143b6471c6b199ba64d1a870a1dfadc21c24bcc
    Signed-off-by: Matt Spinler <spinler@us.ibm.com>
    spinler committed Jan 2, 2025
    Copy the full SHA
    a8dbc69 View commit details

Commits on Jan 6, 2025

  1. Service Root: Modified Script in service_root/test_service_root.robot

    Changes:
    - Modified walk_nested_dict method to validate list type also.
    - Modified argument passing method for Valid Length line
    
    Tested:
    - Ran basic test pass for Verify Redfish Unresponsive URL paths
    
    Change-Id: I7cd541476561a87e3c2a308883d2106b658a76c2
    Signed-off-by: Reshma S <reshmas@ami.com>
    reshma561 committed Jan 6, 2025
    Copy the full SHA
    c487392 View commit details
  2. Added new test for VMI menu

    Changes:
        - Added test
        "Enable VMI SLAAC And Check Persistency On BMC Reboot"
    
    Tested:
        - Ran successfully test_vmi.robot
    
    Change-Id: I99050d764ad66646bc1d8cd2275ec7010a46e0e6
    Signed-off-by: Megha G N <Megha.G.N@ibm.com>
    meghagn5 committed Jan 6, 2025
    Copy the full SHA
    a37b8da View commit details

Commits on Jan 8, 2025

  1. Added new test for VMI menu

    Changes:
        - Added test
        "Disable VMI SLAAC And Check Persistency On BMC Reboot"
    
    Tested:
        - Ran successfully test_vmi.robot
    
    Change-Id: I7b6bd83003b67f5d7dc0508581c7cf0d07965c23
    Signed-off-by: Megha G N <Megha.G.N@ibm.com>
    meghagn5 committed Jan 8, 2025
    Copy the full SHA
    4965738 View commit details
  2. Typo fixes in code documentation

    Changes:
        - Spelling mistake fixes in code.
    
    Tested:
        - NA
    Change-Id: I3e0a12f4631343a302f1ac9aa27222ccacbf1efa
    Signed-off-by: George Keishing <gkeishin@in.ibm.com>
    gkeishin committed Jan 8, 2025
    Copy the full SHA
    010f221 View commit details

Commits on Jan 9, 2025

  1. Added new test for VMI menu

    Changes:
        - Added test
        "Disable VMI DHCPv4 When SLAAC Is Enabled And Verify"
    
    Tested:
        - Ran successfully test_vmi.robot
    
    Change-Id: Id400661806123317df984a9895eacc7e78e270d1
    Signed-off-by: Megha G N <Megha.G.N@ibm.com>
    meghagn5 committed Jan 9, 2025
    Copy the full SHA
    503fa35 View commit details
  2. Add TC to verify PLDM verbose flag

    Changes:
    Added new TC to verify PLDM verbose flag.
    
    Tested:
    Tested on eBMC environment.
    
    Change-Id: I70a0d559b8b5221f8b043883984b40ec73f5e92a
    Signed-off-by: Sridevi Ramesh <sridevra@in.ibm.com>
    SrideviRamesh committed Jan 9, 2025
    Copy the full SHA
    61a59a8 View commit details

Commits on Jan 11, 2025

  1. Add TC to test pldmtool RAW commands

    Changes:
    Added two new TCs to verify pldmtool RAW commands
    
    Tested:
    Tested changes on BMC environment.
    
    Change-Id: I224918a8ddf2228c1752391fd07adf2bb93fe17c
    Signed-off-by: Sridevi Ramesh <sridevra@in.ibm.com>
    SrideviRamesh committed Jan 11, 2025
    Copy the full SHA
    fb89bec View commit details

Commits on Jan 13, 2025

  1. Added new test for VMI menu

    Changes:
        - Added test
        "Enable VMI SLAAC When DHCPv6 Is Enabled And Verify"
        - Added keyword
        "Set VMI DHCPv6 Property"
    
    Tested:
        - Ran successfully test_vmi.robot
    
    Change-Id: Ic5c5758616b0089daebc09d83b2400ad432674b1
    Signed-off-by: Megha G N <Megha.G.N@ibm.com>
    meghagn5 committed Jan 13, 2025
    Copy the full SHA
    df25564 View commit details

Commits on Jan 15, 2025

  1. Update README.md for collect_ffdc.py

    Changes:
    update options in README.md for collect_ffdc.py
    
    Tested:
    NA
    
    Change-Id: I5b60cae211be0114d6cbc6828a2f6448e96ee7f5
    Signed-off-by: Sridevi Ramesh <sridevra@in.ibm.com>
    SrideviRamesh committed Jan 15, 2025
    Copy the full SHA
    716ae5e View commit details
  2. Enhance README.md

    Changes:
    Add new info in README.md
    
    Tested:
    NA
    
    Change-Id: I24e788c60bc5a78dc9448e7071d4f67f516102ce
    Signed-off-by: Sridevi Ramesh <sridevra@in.ibm.com>
    SrideviRamesh authored and gkeishin committed Jan 15, 2025
    Copy the full SHA
    dd4e423 View commit details
  3. Add TC Verify Verbose Flag For Incorrect PLDM Raw Command

    Changes:
    Add new TC
    - Verify Verbose Flag For Incorrect PLDM Raw Command
    
    Tested:
    - Verified changes on BMC environment
    
    Change-Id: I680a12a6e6b66a6fab53bddf4a6f2bfa7121b2bd
    Signed-off-by: Sridevi Ramesh <sridevra@in.ibm.com>
    SrideviRamesh authored and gkeishin committed Jan 15, 2025
    Copy the full SHA
    78def93 View commit details
Showing with 3,348 additions and 1,250 deletions.
  1. +1 −1 CONTRIBUTING.md
  2. +19 −22 README.md
  3. +25 −14 bin/generate_testsuite_info.py
  4. +0 −2 data/Romulus.py
  5. +0 −2 data/Witherspoon.py
  6. +691 −0 data/boot_table_osrunning_redfish.json
  7. +14 −7 data/model.py
  8. +1 −2 data/platform_variables.py
  9. +6 −0 data/pldm_variables.py
  10. +6 −0 data/variables.py
  11. +8 −2 docs/boot_test.md
  12. +2 −2 docs/code_update.md
  13. +6 −2 docs/gui_setup_reference.md
  14. +6 −0 docs/openbmc_test_tools.md
  15. +1 −1 extended/__init__.robot
  16. +1 −1 extended/code_update/bmc_code_update.robot
  17. +1 −1 extended/code_update/code_update_utils.robot
  18. +2 −2 extended/code_update/host_code_update.robot
  19. +2 −2 extended/factory_reset.robot
  20. +1 −1 extended/obmc_boot_test.robot
  21. +1 −1 extended/run_keyword.robot
  22. +6 −3 extended/test_ac_cycles.robot
  23. +1 −1 extended/test_bios_update.robot
  24. +2 −0 extended/test_bmc_stress_buster.robot
  25. +2 −2 extended/test_bmc_upload_stability.robot
  26. +3 −0 ffdc/README.md
  27. +13 −4 ffdc/ffdc_collector.py
  28. +4 −2 ffdc/ffdc_config.yaml
  29. +5 −0 ffdc/requirements.txt
  30. +0 −12 ffdc/setup.py
  31. +1 −1 ffdc/templates/env_vars_template.yaml
  32. +1 −3 gui/gui_test/gui_header/test_gui_header.robot
  33. +1 −1 gui/gui_test/gui_header/test_profile_settings_sub_menu.robot
  34. +1 −1 gui/gui_test/hardware_status_menu/test_inventory_and_leds_sub_menu.robot
  35. +1 −1 gui/gui_test/hardware_status_menu/test_sensors_sub_menu.robot
  36. +1 −1 gui/gui_test/logs_and_services_menu/test_event_logs_sub_menu.robot
  37. +1 −1 gui/gui_test/logs_and_services_menu/test_progress_logs_sub_menu.robot
  38. +1 −1 gui/gui_test/notices_menu/test_notices_menu.robot
  39. +1 −1 gui/gui_test/operations_menu/test_firmware_sub_menu.robot
  40. +1 −1 gui/gui_test/operations_menu/test_host_console_sub_menu.robot
  41. +1 −1 gui/gui_test/operations_menu/test_reboot_bmc_sub_menu.robot
  42. +1 −1 gui/gui_test/operations_menu/test_server_power_operations_sub_menu.robot
  43. +1 −1 gui/gui_test/overview_menu/test_overview_menu.robot
  44. +2 −4 gui/gui_test/security_and_access_menu/test_certificates_sub_menu.robot
  45. +2 −1 gui/gui_test/security_and_access_menu/test_ldap_sub_menu.robot
  46. +5 −5 gui/gui_test/security_and_access_menu/test_multiple_interfaces.robot
  47. +1 −1 gui/gui_test/security_and_access_menu/test_policies_sub_menu.robot
  48. +1 −1 gui/gui_test/security_and_access_menu/test_sessions_sub_menu.robot
  49. +1 −1 gui/gui_test/security_and_access_menu/test_user_management_sub_menu.robot
  50. +1 −1 gui/gui_test/settings_menu/test_date_and_time_sub_menu.robot
  51. +1 −1 gui/gui_test/settings_menu/test_factory_reset_sub_menu.robot
  52. +151 −3 gui/gui_test/settings_menu/test_network_sub_menu.robot
  53. +1 −1 gui/gui_test/settings_menu/test_power_restore_policy_sub_menu.robot
  54. +1 −1 gui/gui_test/settings_menu/test_snmp_alerts_sub_menu.robot
  55. +20 −8 gui/lib/gui_resource.robot
  56. +8 −9 gui/lib/resource.robot
  57. +2 −2 gui/test/access_control/test_obmc_gui_local_users.robot
  58. +1 −1 gui/test/server_overview/test_obmc_gui_server_overview.robot
  59. +4 −4 ipmi/dcmi/test_dcmi_asset_tag.robot
  60. +5 −5 ipmi/dcmi/test_dcmi_get_capabilities.robot
  61. +2 −2 ipmi/dcmi/test_dcmi_get_temperature_reading.robot
  62. +5 −5 ipmi/dcmi/test_dcmi_management_controller.robot
  63. +2 −2 ipmi/test_get_bios_post_code.robot
  64. +1 −1 ipmi/test_ipmi_chassis.robot
  65. +1 −1 ipmi/test_ipmi_cipher.robot
  66. +7 −7 ipmi/test_ipmi_cold_reset.robot
  67. +3 −3 ipmi/test_ipmi_device_id.robot
  68. +1 −1 ipmi/test_ipmi_disable.robot
  69. +1 −1 ipmi/test_ipmi_fru.robot
  70. +5 −5 ipmi/test_ipmi_fru_device.robot
  71. +1 −1 ipmi/test_ipmi_general.robot
  72. +11 −11 ipmi/test_ipmi_inband_sdr.robot
  73. +1 −1 ipmi/test_ipmi_kcs.robot
  74. +1 −1 ipmi/test_ipmi_lanplus.robot
  75. +1 −1 ipmi/test_ipmi_mc_id.robot
  76. +1 −1 ipmi/test_ipmi_network_configuration.robot
  77. +2 −2 ipmi/test_ipmi_network_verification.robot
  78. +6 −6 ipmi/test_ipmi_payload.robot
  79. +2 −2 ipmi/test_ipmi_poh_counter.robot
  80. +1 −1 ipmi/test_ipmi_resets.robot
  81. +7 −7 ipmi/test_ipmi_sdr.robot
  82. +8 −8 ipmi/test_ipmi_sel.robot
  83. +13 −20 ipmi/test_ipmi_sel_time.robot
  84. +26 −10 ipmi/test_ipmi_sensor.robot
  85. +2 −2 ipmi/test_ipmi_sol.robot
  86. +9 −9 ipmi/test_ipmi_systeminfo_parameters.robot
  87. +9 −8 ipmi/test_ipmi_user.robot
  88. +1 −1 ipmi/test_ipmi_watchdog.robot
  89. +162 −0 lib/bmc_date_and_time_utils.robot
  90. +4 −4 lib/bmc_dbus.robot
  91. +2 −2 lib/bmc_ipv6_utils.robot
  92. +3 −2 lib/bmc_ldap_utils.robot
  93. +1 −1 lib/bmc_network_security_utils.robot
  94. +19 −22 lib/bmc_network_utils.robot
  95. +15 −1 lib/bmc_redfish.py
  96. +3 −2 lib/bmc_redfish_resource.robot
  97. +36 −20 lib/bmc_redfish_utils.py
  98. +68 −30 lib/bmc_redfish_utils.robot
  99. +11 −8 lib/certificate_utils.robot
  100. +17 −16 lib/code_update_utils.robot
  101. +27 −45 lib/common_utils.robot
  102. +1 −1 lib/connection_client.robot
  103. +4 −4 lib/dmtf_redfishtool_utils.robot
  104. +1 −1 lib/dmtf_tools_utils.robot
  105. +4 −2 lib/dump_utils.py
  106. +13 −13 lib/dump_utils.robot
  107. +5 −5 lib/energy_scale_utils.robot
  108. +10 −4 lib/esel_utils.robot
  109. +2 −2 lib/event_notification_utils.robot
  110. +2 −4 lib/external_intf/management_console_utils.py
  111. +3 −3 lib/external_intf/management_console_utils.robot
  112. +139 −3 lib/external_intf/vmi_utils.robot
  113. +6 −6 lib/fan_utils.robot
  114. +4 −2 lib/gen_call_robot.py
  115. +2 −2 lib/gen_misc.py
  116. +16 −1 lib/gen_print.py
  117. +20 −20 lib/ipmi_client.robot
  118. +1 −3 lib/ipmi_utils.robot
  119. +3 −3 lib/list_utils.robot
  120. +4 −2 lib/logging_utils.py
  121. +24 −10 lib/logging_utils.robot
  122. +4 −6 lib/obmc_boot_test.py
  123. +12 −12 lib/open_power_utils.robot
  124. +5 −2 lib/openbmc_ffdc_list.py
  125. +26 −22 lib/openbmc_ffdc_methods.robot
  126. +3 −3 lib/openbmc_ffdc_utils.robot
  127. +21 −21 lib/os_utilities.robot
  128. +4 −4 lib/os_utils_config.robot
  129. +10 −2 lib/pel_utils.py
  130. +0 −4 lib/pldm_utils.py
  131. +5 −2 lib/protocol_setting_utils.robot
  132. +6 −6 lib/ras/host_utils.robot
  133. +15 −15 lib/redfish_code_update_utils.robot
  134. +20 −2 lib/redfish_plus.py
  135. +2 −2 lib/redfish_request.robot
  136. +1 −1 lib/remote_logging_utils.robot
  137. +9 −3 lib/resource.robot
  138. +20 −14 lib/rest_client.robot
  139. +5 −5 lib/snmp/redfish_snmp_utils.robot
  140. +2 −2 lib/snmp/snmp_utils.robot
  141. +4 −2 lib/state.py
  142. +9 −12 lib/state_manager.robot
  143. +16 −6 lib/utilities.py
  144. +7 −2 lib/utils.py
  145. +40 −34 lib/utils.robot
  146. +21 −6 lib/vpd_utils.py
  147. +6 −6 lib/xcat/xcat_utils.robot
  148. +1 −1 network/network_diagnostic_report.robot
  149. +5 −5 network/test_bmc_dhcp_conf.robot
  150. +1 −1 network/test_cable_pull_recover.robot
  151. +1 −1 network/test_host_network.robot
  152. +1 −1 network/test_host_network_interfaces.robot
  153. +3 −3 network/test_network_nping.robot
  154. +3 −3 network/test_vlan_network.robot
  155. +1 −1 oem/nuvoton/test_ipmi_flash.robot
  156. +1 −1 oem/nuvoton/test_jtag_master.robot
  157. +2 −2 oem/nuvoton/test_redfish_mcu_fw_update.robot
  158. +2 −2 openpower/ext_interfaces/test_client_identifier.robot
  159. +2 −2 openpower/ext_interfaces/test_discovery.robot
  160. +16 −16 openpower/ext_interfaces/test_lock_management.robot
  161. +4 −4 openpower/ext_interfaces/test_savearea_management.robot
  162. +284 −2 openpower/ext_interfaces/test_vmi.robot
  163. +1 −1 openpower/ext_interfaces/test_vmi_multiple_interfaces.robot
  164. +9 −9 openpower/ext_interfaces/test_vmicert_management.robot
  165. +4 −4 openpower/ipmi/test_ipmi_sdr.robot
  166. +3 −3 openpower/localuser/test_ipmi_redfish_user.robot
  167. +1 −1 openpower/mpipl/test_mpipl_basic.robot
  168. +7 −7 openpower/pel/test_bmc_pel.robot
  169. +1 −1 openpower/ras/__init__.robot
  170. +1 −1 openpower/ras/ras_utils.robot
  171. +1 −1 openpower/ras/test_bmc_ras.robot
  172. +1 −1 openpower/ras/test_host_boot_ras.robot
  173. +1 −1 openpower/ras/test_host_ras.robot
  174. +1 −1 openpower/ras/test_reboot_ras.robot
  175. +2 −2 openpower/test_timed_power_on.robot
  176. +1 −1 openpower/vpd/test_vpd_tool.robot
  177. +3 −2 pldm/test_firmware_boot_side.robot
  178. +55 −1 pldm/test_pldm_base.robot
  179. +2 −2 pldm/test_pldm_bios.robot
  180. +1 −1 pldm/test_pldm_bios_attributes.robot
  181. +1 −1 pldm/test_pldm_fru.robot
  182. +20 −1 pldm/test_pldm_oem.robot
  183. +2 −2 pldm/test_pldm_platform.robot
  184. +1 −1 pldm/test_redfish_bios_attributes.robot
  185. +1 −1 redfish/__init__.robot
  186. +2 −2 redfish/account_service/test_ipmi_redfish_user.robot
  187. +21 −4 redfish/account_service/test_ldap_configuration.robot
  188. +1 −1 redfish/account_service/test_redfish_privilege_registry.robot
  189. +3 −1 redfish/account_service/test_user_account.robot
  190. +1 −1 redfish/dmtf_tools/Redfish_Interop_Validator.robot
  191. +1 −1 redfish/dmtf_tools/Redfish_JsonSchema_ResponseValidator.robot
  192. +52 −0 redfish/dmtf_tools/Redfish_Protocol_Validator.robot
  193. +1 −1 redfish/dmtf_tools/Redfish_Reference_Checker.robot
  194. +1 −1 redfish/dmtf_tools/Redfish_Service_Validator.robot
  195. +1 −1 redfish/dmtf_tools/Redfish_Usecase_Checkers.robot
  196. +3 −3 redfish/dmtf_tools/test_redfishtool_certificate.robot
  197. +1 −1 redfish/dmtf_tools/test_redfishtool_general.robot
  198. +2 −2 redfish/dmtf_tools/test_redfishtool_local_user.robot
  199. +3 −3 redfish/events/test_bmc_snmp_config.robot
  200. +2 −2 redfish/events/test_bmc_snmp_trap.robot
  201. +2 −2 redfish/extended/redfish_bmc_code_update.robot
  202. +1 −1 redfish/extended/test_power_restore.robot
  203. +1 −1 redfish/extended/test_websocket.robot
  204. +6 −6 redfish/managers/test_bmc_dumps.robot
  205. +195 −7 redfish/managers/test_bmc_ipv6.robot
  206. +1 −1 redfish/managers/test_bmc_network_conf.robot
  207. +2 −2 redfish/managers/test_bmc_network_mac.robot
  208. +143 −0 redfish/managers/test_bmc_network_protocol.robot
  209. +1 −1 redfish/managers/test_bmc_protocol_settings.robot
  210. +2 −2 redfish/managers/test_certificate.robot
  211. +69 −0 redfish/managers/test_lldp_config.robot
  212. +8 −234 redfish/managers/test_managers_bmc_time.robot
  213. +98 −43 redfish/managers/test_multiple_interfaces.robot
  214. +6 −6 redfish/managers/test_multiple_interfaces_dhcp.robot
  215. +3 −2 redfish/service_root/test_service_root.robot
  216. +3 −1 redfish/service_root/test_service_root_security.robot
  217. +1 −1 redfish/systems/LogServices/test_post_codes.robot
  218. +31 −17 redfish/systems/eventlog/test_esel.robot
  219. +1 −1 redfish/systems/eventlog/test_event_association.robot
  220. +3 −3 redfish/systems/eventlog/test_event_logging.robot
  221. +1 −1 redfish/systems/eventlog/test_event_service.robot
  222. +1 −1 redfish/systems/test_boot_devices.robot
  223. +1 −1 redfish/systems/test_powersubsystem_settings.robot
  224. +1 −1 redfish/systems/test_sensor_monitoring.robot
  225. +2 −2 redfish/systems/test_systems_inventory.robot
  226. +2 −2 redfish/task_service/test_tasks_service.robot
  227. +2 −2 redfish/telemetry_service/test_telemetry_report.robot
  228. +1 −1 redfish/update_service/test_bmc_image_switch.robot
  229. +1 −1 redfish/update_service/test_firmware_inventory.robot
  230. +1 −1 redfish/update_service/test_firmware_property.robot
  231. +1 −1 redfish/update_service/test_firmware_tftp_upload_image.robot
  232. +4 −4 redfish/update_service/test_redfish_bmc_code_update.robot
  233. +1 −1 redfish/update_service/test_redfish_host_code_update.robot
  234. +3 −3 redfish/update_service/test_redfish_image_upload.robot
  235. +1 −1 redfish/update_service/test_redfish_signed_image_update.robot
  236. +5 −10 requirements.txt
  237. +8 −0 requirements_optional.txt
  238. +1 −1 security/test_bmc_connections.robot
  239. +42 −5 security/test_bmc_expire_password.robot
  240. +2 −2 security/test_bmc_network_security.robot
  241. +1 −1 security/test_bmc_ssh_security.robot
  242. +1 −1 security/test_bmcweb_security.robot
  243. +2 −2 security/test_slp.robot
  244. +3 −3 security/test_ssl.robot
  245. +1 −1 systest/collection/bmc_collect_esels.robot
  246. +1 −1 systest/gpu_stress_test.robot
  247. +1 −1 systest/htx_hardbootme_test.robot
  248. +1 −1 systest/htx_softbootme_test.robot
  249. +1 −1 systest/network_stability_test.robot
  250. +1 −1 systest/proc_freq_check.robot
  251. +1 −1 systest/test_bmc_poll_errors.robot
  252. +1 −1 systest/test_boot_acceptance.robot
  253. +8 −3 templates/pgm_template.robot
  254. +1 −1 templates/test_openbmc_setup.robot
  255. +0 −2 test_lists/QEMU_CI
  256. +1 −1 test_lists/skip_test_witherspoon
  257. +1 −0 tools/cleanup_bmc.robot
  258. +17 −14 tools/ct_metrics/gen_csv_results.py
  259. +2 −0 tools/factory_reset_bmc.robot
  260. +1 −0 tools/generate_argumentfile.sh
  261. +11 −11 tools/generate_test_document
  262. +1 −1 tools/github_issues_to_csv
  263. +2 −0 tools/myffdc.robot
  264. +1 −0 tools/update_mac.robot
  265. +1 −1 tox.ini
  266. +1 −1 xcat/__init__.robot
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -173,7 +173,7 @@ work-in-progress, feel free to propose changes.
Example:
Suite: test_boot_progress_code.robot
Force Tags Boot_Progress_Code
Test Tags Boot_Progress_Code
```
- Create a tag for every test case with a tag name that mirrors the test case
41 changes: 19 additions & 22 deletions README.md
Original file line number Diff line number Diff line change
@@ -48,38 +48,23 @@
If using Python 3.x, use the corresponding `pip3` to install packages. Note:
Older Python 2.x is not actively supported.

REST base packages:

```
$ pip install -U requests
$ pip install -U robotframework-requests
$ pip install -U robotframework-httplibrary
```

Python redfish library packages: For more detailed intstructions see
[python-redfish-library](https://github.com/DMTF/python-redfish-library)

```
$ pip install redfish
```

SSH and SCP base packages: For more detailed installation instructions see
[robotframework-sshlibrary](https://pypi.python.org/pypi/robotframework-sshlibrary)
Installing requirement dependencies:

```
$ pip install robotframework-sshlibrary
$ pip install robotframework-scplibrary
$ pip install -r requirements.txt
```

Installing requirement dependencies:
Optional packages but required for `redfish/dmtf_tools/`

```
$ pip install -r requirements.txt
$ pip install -r requirements_optional.txt
```

you'll find this file once your clone openbmc-test-automation repository.

For Web UI ( GUI ) Testing setup instructions see
For Web UI ( GUI ) Testing setup, please the follow instructions mentioned in
the OpenBMC GUI Test Setup Guide. Note: GUI test cases under `gui/` will not
work without the above setup completed in your environment.
[OpenBMC GUI Test Setup Guide](https://github.com/openbmc/openbmc-test-automation/blob/master/docs/gui_setup_reference.md)

Installing tox:
@@ -102,24 +87,32 @@ These documents contain details on developing OpenBMC test code and debugging.
- [CONTRIBUTING.md](CONTRIBUTING.md): Coding guidelines.
- [Code Check Tools](https://github.com/openbmc/openbmc-test-automation/blob/master/docs/code_standards_check.md):
To check common code misspellings, syntax and standard checks.
- [Redfish Coding Guidelines](https://github.com/openbmc/openbmc-test-automation/blob/master/docs/redfish_coding_guidelines.md):
Refer for Redfish coding guidelines.
- [REST-cheatsheet.md](https://github.com/openbmc/docs/blob/master/REST-cheatsheet.md):
Quick reference for some common curl commands required for legacy REST
testing.
- [REDFISH-cheatsheet.md](https://github.com/openbmc/docs/blob/master/REDFISH-cheatsheet.md):
Quick reference for some common curl commands required for redfish testing.
- [README.md](https://github.com/openbmc/webui-vue/blob/master/README.md): Web
UI setup reference.
- [Redfish Request Via mTLS](https://github.com/openbmc/openbmc-test-automation/blob/master/docs/redfish_request_via_mTLS.md):
Reference for Redfish Request Via mTLS .
- [Corporate CLA and Individual CLA](https://github.com/openbmc/docs/blob/master/CONTRIBUTING.md#submitting-changes-via-gerrit-server):
Submitting changes via Gerrit server

## OpenBMC Test Documentation

- [OpenBMC Test Architecture](https://github.com/openbmc/openbmc-test-automation/blob/master/docs/openbmc_test_architecture.md):
Reference for OpenBMC Test Architecture.
- [Tools](https://github.com/openbmc/openbmc-test-automation/blob/master/docs/openbmc_test_tools.md):
Reference information for helper tools.
- [Code Update](https://github.com/openbmc/openbmc-test-automation/blob/master/docs/code_update.md):
Currently supported BMC and PNOR update.
- [Certificate Generate](https://github.com/openbmc/openbmc-test-automation/blob/master/docs/certificate_generate.md):
Steps to create and install CA signed certificate.
- [Boot Test](https://github.com/openbmc/openbmc-test-automation/blob/master/docs/boot_test.md):
Boot test for OpenBMC.

## Supported Systems Architecture

@@ -153,6 +146,8 @@ There are several sub-directories within the openbmc-test-automation base which
contain test suites, tools, templates, etc. These sub-directories are classified
as follows:

`docs/`: Contains the documentation related to OpenBMC.

`redfish/`: Contains the general test cases for OpenBMC stack functional
verification.

@@ -228,6 +223,8 @@ packages which will help to invoke tests through tox (Note that tox version
$ export OPENBMC_USERNAME=<openbmc username>
$ export OPENBMC_PASSWORD=<openbmc password>
$ export IPMI_COMMAND=<Dbus/External>
$ export REST_USERNAME=<REST interface username>
$ export REST_PASSWORD=<REST interface password>
```

or
39 changes: 25 additions & 14 deletions bin/generate_testsuite_info.py
Original file line number Diff line number Diff line change
@@ -2,13 +2,13 @@

r"""
Use robot framework API to extract test data from test suites.
Refer to https://robot-framework.readthedocs.io/en/3.0.1/autodoc/robot.parsing.html
Refer to https://robot-framework.readthedocs.io/en/latest/autodoc/robot.running.html
"""

import os
import sys

from robot.parsing.model import TestData
from robot.api import SuiteVisitor, TestSuiteBuilder

sys.path.append(os.path.join(os.path.dirname(__file__), "../lib"))

@@ -54,6 +54,27 @@
stock_list = [("test_mode", 0), ("quiet", 0), ("debug", 0)]


class TestPrint(SuiteVisitor):

def __init__(self, option):
self.option = option

def visit_test(self, test):
r"""
Print the test data from suite test object from option specified.
"""
if self.option == "name":
print(test.name)
elif self.option == "tags":
print(test.tags)
elif self.option == "doc":
print(test.doc)
elif self.option == "all":
print(test.name)
print(test.tags)
print(test.doc)


def exit_function(signal_number=0, frame=None):
r"""
Execute whenever the program ends normally or with the signals that we
@@ -119,7 +140,7 @@ def parse_test_suites(source_path, option):
print(file_path)
if "__init__.robot" in file_path:
continue
test_suite_obj = TestData(parent=None, source=file_path)
test_suite_obj = TestSuiteBuilder().build(file_path)
parse_test_file(test_suite_obj, option)


@@ -138,17 +159,7 @@ def parse_test_file(test_suite_obj, option):
"tags" or "doc".
"""

for testcase in test_suite_obj.testcase_table:
if option == "name":
print(testcase.name)
elif option == "tags":
print(testcase.tags)
elif option == "doc":
print(testcase.doc)
elif option == "all":
print(testcase.name)
print(testcase.tags)
print(testcase.doc)
test_suite_obj.visit(TestPrint(option))


def main():
2 changes: 0 additions & 2 deletions data/Romulus.py
Original file line number Diff line number Diff line change
@@ -961,5 +961,3 @@
# 0x06 : { 'class' : 'PowerCap',
# 'os_path' : '/sys/class/hwmon/hwmon3/user_powercap' },
}

# vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4
2 changes: 0 additions & 2 deletions data/Witherspoon.py
Original file line number Diff line number Diff line change
@@ -598,5 +598,3 @@
0xDA: {"class": "TurboAllowedSensor"},
0xD8: {"class": "PowerSupplyDeratingSensor"},
}

# vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4
Loading