From 7b2beb95e6f0cf9051ab96ea2e13dfc0fe2b6772 Mon Sep 17 00:00:00 2001 From: Shane Unruh Date: Mon, 13 Apr 2026 08:11:01 -0600 Subject: [PATCH 1/2] Fixed the functional tests - Added CommandShell and SerialConsole fields to the possible results for component endpoints. - In the Makefile updated the all target and the PHONY list. Signed-off-by: Shane Unruh --- Makefile | 4 ++-- .../test_component_endpoints.tavern.yaml | 19 +++++++++++++++++++ 2 files changed, 21 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 213bda3..b4b16ec 100644 --- a/Makefile +++ b/Makefile @@ -41,9 +41,9 @@ LDFLAGS := -ldflags "-X main.GitCommit=$(COMMIT) \ -X 'main.GoVersion=$(GO_VERSION)' \ -X 'main.BuildUser=$(BUILD_USER)'" -all: image image-pprof unittest ct snyk ct_image +all: image image-pprof unittest ct-image -.PHONY : all image unittest snyk ct ct_image binaries coverage docker +.PHONY : all image image-pprof unittest ct-image binaries binaries-pprof coverage docker image: docker build $(NO_CACHE) --pull $(DOCKER_ARGS) --tag '$(NAME):$(VERSION)' -f Dockerfile . diff --git a/test/ct/api/2-non-disruptive/test_component_endpoints.tavern.yaml b/test/ct/api/2-non-disruptive/test_component_endpoints.tavern.yaml index a2d4e77..cccc701 100644 --- a/test/ct/api/2-non-disruptive/test_component_endpoints.tavern.yaml +++ b/test/ct/api/2-non-disruptive/test_component_endpoints.tavern.yaml @@ -196,6 +196,18 @@ stages: # no RedfishManagerInfo Actions expected for HPE CabinetPDUController Managers required: False allowempty: True + CommandShell: + type: map + required: False + mapping: + ServiceEnabled: + type: bool + required: False + MaxConcurrentSessions: + type: int + required: False + ConnectTypesSupported: + required: False EthernetNICInfo: type: seq matching: all @@ -365,6 +377,13 @@ Not Available" required: True enum: - "OK" + SerialConsole: + type: map + required: False + mapping: + MaxConcurrentSessions: + type: int + required: False PowerControl: type: seq matching: all From 107f0ab85da7e23f7f4829397c74a3777e45824d Mon Sep 17 00:00:00 2001 From: Shane Unruh Date: Mon, 13 Apr 2026 11:13:34 -0600 Subject: [PATCH 2/2] Fixed all target in the Makefile Signed-off-by: Shane Unruh --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index b4b16ec..784294e 100644 --- a/Makefile +++ b/Makefile @@ -41,7 +41,7 @@ LDFLAGS := -ldflags "-X main.GitCommit=$(COMMIT) \ -X 'main.GoVersion=$(GO_VERSION)' \ -X 'main.BuildUser=$(BUILD_USER)'" -all: image image-pprof unittest ct-image +all: binaries binaries-pprof image image-pprof ct-image unittest .PHONY : all image image-pprof unittest ct-image binaries binaries-pprof coverage docker