Bug 1212113 - [Build 20230607-1] openQA test fails in dpdk because dpdk-hugepages.py is not available on Leap
Summary: [Build 20230607-1] openQA test fails in dpdk because dpdk-hugepages.py is no...
Status: RESOLVED FIXED
Alias: None
Product: openSUSE Distribution
Classification: openSUSE
Component: Other (show other bugs)
Version: Leap 15.4
Hardware: x86-64 openSUSE Leap 15.4
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Duraisankar P
QA Contact: E-mail List
URL: http://10.161.8.50/tests/158/modules/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-07 16:58 UTC by Zaoliang Luo
Modified: 2023-07-17 08:37 UTC (History)
1 user (show)

See Also:
Found By: openQA
Services Priority:
Business Priority:
Blocker: Yes
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Zaoliang Luo 2023-06-07 16:58:39 UTC
## Observation

openQA test in scenario opensuse-15.4-DVD-Updates-x86_64-extra_tests_misc@64bit fails in
[dpdk](http://10.161.8.50/tests/158/modules/dpdk/steps/39)

## Test suite description



## Reproducible

Fails since (at least) Build [20230607-1](http://10.161.8.50/tests/148)


## Expected result

Last good: (unknown) (or more recent)


## Further details

dpdk-hugepages.py is not available on leap. So the test failed.


Always latest result in this scenario: [latest](http://10.161.8.50/tests/latest?arch=x86_64&distri=opensuse&flavor=DVD-Updates&machine=64bit&test=extra_tests_misc&version=15.4)
Comment 1 Zaoliang Luo 2023-06-07 17:00:01 UTC
logs cab be found at http://10.161.8.50/tests/158#downloads
Comment 2 Zaoliang Luo 2023-06-07 19:01:02 UTC
on Leap:
run cnf dpdk-hugepages.py
dpdk-hugepages.py: command not found

on Tumbleweed:
The program 'dpdk-hugepages.py' can be found in following packages:
  * dpdk-tools [ path: /usr/bin/dpdk-hugepages.py, repository: zypp (openSUSE-20230313-0) ]
  * dpdk-tools [ path: /usr/bin/dpdk-hugepages.py, repository: zypp (download.opensuse.org-oss) ]

Try installing with:
    sudo zypper install dpdk-tools
Comment 3 Zaoliang Luo 2023-06-07 19:02:50 UTC
Duraisankar, please check this issue, thanks!
Comment 6 Duraisankar P 2023-06-09 10:46:13 UTC
Hello Zoaliang, 

I am sorry about my earlier message, I thought we were discussing about SLES here. Its my bad actually. 

Newer OVS and DPDK is not yet ported from openSUSE:Factory to openSUSE:LEAP 15.5. I did not port it since there were no requests for the same. I will check with the release team and work on it.
Comment 7 Duraisankar P 2023-06-23 07:32:47 UTC
Hi Zaoliang, 

The LEAP 15.5 Distribution is directly inherited from SUSE:SLE15-SP5 to avoid any gaps between them. 

As discussed with the release team, it is not possible to create dpdk v22.11 in LEAP 15.1 alone separately. The only option is to update in the source package (SLE15-SP5) which is not possible currently for dpdk/openvswitch. 

This information should be documented and may be we need to ECO or similar for if the package name needs to be mandatorily dpdk/openvswitch in openSUSE:LEAP:15:5.

I think we can close this issue or redirect it to the correct person to solve this requirement.

Thanks 
Duraisankar
Comment 8 Zaoliang Luo 2023-06-25 20:10:49 UTC
(In reply to Duraisankar P from comment #7)
> Hi Zaoliang, 
> 
> The LEAP 15.5 Distribution is directly inherited from SUSE:SLE15-SP5 to
> avoid any gaps between them. 
> 
> As discussed with the release team, it is not possible to create dpdk v22.11
> in LEAP 15.1 alone separately. The only option is to update in the source
> package (SLE15-SP5) which is not possible currently for dpdk/openvswitch. 
> 
> This information should be documented and may be we need to ECO or similar
> for if the package name needs to be mandatorily dpdk/openvswitch in
> openSUSE:LEAP:15:5.
> 
> I think we can close this issue or redirect it to the correct person to
> solve this requirement.
> 
> Thanks 
> Duraisankar

we are talking about Leap 15.5, not Leap 15.1 The test was about to update to leap 15.5 from 15.4.
So there is no dpdk-hugepages.py from repository of Leap 15.5, that is why the test failed. 
If it is now available, then please let me know in which build, thanks.
Comment 9 Duraisankar P 2023-07-07 05:57:29 UTC
Hi Zaoliang, 

I am sorry about the typo of "LEAP:15.1" and for the misunderstanding with this issue. 

The file "dpdk-hugepages.py" is available only from DPDK v21.x and it is not be available in DPDK v19.11.

we have updated DPDK version to 22.11 on TW (package name: dpdk) and that's why we can see the file "dpdk-hugepages.py" whereas LEAP has the old DPDK version 19.11(package name: dpdk).

Both dpdk(19.11) and dpdk22(22.11) versions are available in LEAP:15.5, 

https://build.opensuse.org/package/show/openSUSE:Leap:15.5/dpdk => version 19.11
https://build.opensuse.org/package/show/openSUSE:Leap:15.5/dpdk22 => version 22.11

You can follow the below manual procedure to configure Hugepages while testing the DPDK version(19.11), 

https://doc.dpdk.org/guides-19.11/linux_gsg/sys_reqs.html?highlight=hugepage#use-of-hugepages-in-the-linux-environment.

Else, We can install dpdk22-tools and remove the conflicted old dpdk-tools to use the script "dpdk-hugepage.py".

Please feel free to reach out if there are any other information required.


Thanks 
Duraisankar
Comment 11 Zaoliang Luo 2023-07-17 08:37:36 UTC
verified that dpdk22-tools with hugepages.py is available on Leap 15.5.

thanks, set it as resolved now.