intel / intel/workload-services-framework

OpenSSL3-RSAMB kubernetes-config.yaml CONFIG is always set to "qat-rsa"

Open
#30 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
59
Forks
57
Avg merge
15d 22h
Merged PRs (30d)
3

Description

### Summary
When running the OpenSSL3-RSAMB workload with various qatsw_* test cases, the Kubernetes configuration consistently points to "qat-rsa"

### Workload Release Version
v23.2

### Configuration
-- Setting: PLATFORM=SRF, ARCH=linux/amd64
-- Setting: REGISTRY=docker-registry.services.svc.cluster.local:5000/workload_public/openssl3-rsamb/
-- Setting: RELEASE=:v23.2
-- Setting: TIMEOUT=86400
-- Setting: BENCHMARK=OpenSSL3-RSAMB
-- Setting: BACKEND=kubernetes

### Issue
During our testing of OpenSSL3-RSAMB with multiple qatsw_* test cases, we observed that the test_openssl3_rsamb_qatsw_* consistently produces RSA KPI results. An interesting observation is that the Kubernetes configuration file (kubernetes-config.yaml) is generated by ctest.sh sets the CONFIG environment variable to "qat-rsa" for all these test cases.

The below kubernetes-config.yaml is from running ctest.sh with test_openssl3_rsamb_qatsw_aes-gcm testcase,
```
#
# Apache v2 license
# Copyright (C) 2023 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

apiVersion: batch/v1
kind: Job
metadata:
name: benchmark
spec:
template:
spec:
containers:
- name: benchmark
image: openssl3-rsamb-qat-sw:v23.2
imagePullPolicy: Always
env:
containers:
- name: benchmark
image: openssl3-rsamb-qat-sw:v23.2
imagePullPolicy: Always
env:
- name: CONFIG
value: "qat-rsa"
securityContext:
privileged: true
restartPolicy: Never
backoffLimit: 4
```

### Expected

```
#
# Apache v2 license
# Copyright (C) 2023 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

apiVersion: batch/v1
kind: Job
metadata:
name: benchmark
spec:
template:
spec:
containers:
- name: benchmark
image: openssl3-rsamb-qat-sw:v23.2
imagePullPolicy: Always
env:
containers:
- name: benchmark
image: openssl3-rsamb-qat-sw:v23.2
imagePullPolicy: Always
env:
- name: CONFIG
value: "qat-aes-gcm"
securityContext:
privileged: true
restartPolicy: Never
backoffLimit: 4
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.