From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <dev-bounces@dpdk.org>
Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124])
	by inbox.dpdk.org (Postfix) with ESMTP id 431DC4563C;
	Thu, 18 Jul 2024 05:42:41 +0200 (CEST)
Received: from mails.dpdk.org (localhost [127.0.0.1])
	by mails.dpdk.org (Postfix) with ESMTP id 30B4E402A9;
	Thu, 18 Jul 2024 05:42:41 +0200 (CEST)
Received: from inbox.dpdk.org (inbox.dpdk.org [95.142.172.178])
 by mails.dpdk.org (Postfix) with ESMTP id A00DE40275
 for <dev@dpdk.org>; Thu, 18 Jul 2024 05:42:40 +0200 (CEST)
Received: by inbox.dpdk.org (Postfix, from userid 33)
 id 8EEC34563E; Thu, 18 Jul 2024 05:42:40 +0200 (CEST)
From: bugzilla@dpdk.org
To: dev@dpdk.org
Subject: [DPDK/eventdev Bug 1497] [dpdk-24.07] [ABI][meson test]
 driver-tests/event_dma_adapter_autotest test hang when do ABI testing
Date: Thu, 18 Jul 2024 03:42:40 +0000
X-Bugzilla-Reason: AssignedTo
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: DPDK
X-Bugzilla-Component: eventdev
X-Bugzilla-Version: 24.07
X-Bugzilla-Keywords: 
X-Bugzilla-Severity: normal
X-Bugzilla-Who: yux.jiang@intel.com
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution: 
X-Bugzilla-Priority: Normal
X-Bugzilla-Assigned-To: dev@dpdk.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: 
X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform
 op_sys bug_status bug_severity priority component assigned_to reporter
 target_milestone
Message-ID: <bug-1497-3@http.bugs.dpdk.org/>
Content-Type: multipart/alternative; boundary=17212741600.b2aB2e.1452629
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://bugs.dpdk.org/
Auto-Submitted: auto-generated
X-Auto-Response-Suppress: All
MIME-Version: 1.0
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: DPDK patches and discussions <dev.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
Errors-To: dev-bounces@dpdk.org


--17212741600.b2aB2e.1452629
Date: Thu, 18 Jul 2024 05:42:40 +0200
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.dpdk.org/
Auto-Submitted: auto-generated
X-Auto-Response-Suppress: All

https://bugs.dpdk.org/show_bug.cgi?id=3D1497

            Bug ID: 1497
           Summary: [dpdk-24.07] [ABI][meson test]
                    driver-tests/event_dma_adapter_autotest test hang when
                    do ABI testing
           Product: DPDK
           Version: 24.07
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: eventdev
          Assignee: dev@dpdk.org
          Reporter: yux.jiang@intel.com
  Target Milestone: ---

[Environment]

DPDK version: 24.07.0-rc2
DPDK ABI version: 23.11.0
OS: RHEL9.0/5.14.0-70.13.1.el9_0.x86_64
Compiler: gcc version 11.2.1 20220127 (Red Hat 11.2.1-9)
Hardware platform: Intel(R) Xeon(R) Platinum 8180 CPU @ 2.50GHz


[Test Setup]
Steps to reproduce
List the steps to reproduce the issue.

1, Build latest main dpdk24.03-rc1
rm -rf x86_64-native-linuxapp-gcc
CC=3Dgcc meson -Denable_kmods=3DTrue -Dlibdir=3Dlib  --default-library=3Dsh=
ared
x86_64-native-linuxapp-gcc
ninja -C x86_64-native-linuxapp-gcc
rm -rf /root/tmp/dpdk_share_lib /root/shared_lib_dpdk
DESTDIR=3D/root/tmp/dpdk_share_lib ninja -C x86_64-native-linuxapp-gcc -j 1=
10
install
mv /root/tmp/dpdk_share_lib/usr/local/lib /root/shared_lib_dpdk
ll /root/shared_lib_dpdk
cat /root/.bashrc | grep LD_LIBRARY_PATH
sed -i 's#export LD_LIBRARY_PATH=3D.*#export
LD_LIBRARY_PATH=3D/root/shared_lib_dpdk#g' /root/.bashrc

2, Build LTS dpdk23.11.0
rm /root/dpdk
tar zxvf dpdk_abi.tar.gz -C ~
cd ~/dpdk/
rm -rf x86_64-native-linuxapp-gcc
CC=3Dgcc meson -Denable_kmods=3DTrue -Dlibdir=3Dlib  --default-library=3Dsh=
ared
x86_64-native-linuxapp-gcc
ninja -C x86_64-native-linuxapp-gcc
rm -rf x86_64-native-linuxapp-gcc/lib
rm -rf x86_64-native-linuxapp-gcc/drivers

3, Launch dpdk-test and run event_dma_adapter_autotest
MALLOC_PERTURB_=3D132 DPDK_TEST=3Devent_dma_adapter_autotest
/root/dpdk/x86_64-native-linuxapp-gcc/app/dpdk-test -c 0xff -d
/root/shared_lib_dpdk --vdev=3Ddma_skeleton


Show the output from the previous commands.
[root@ABI-80 dpdk]# MALLOC_PERTURB_=3D132 DPDK_TEST=3Devent_dma_adapter_aut=
otest
/root/dpdk/x86_64-native-linuxapp-gcc/app/dpdk-test -c 0xff -d
/root/shared_lib_dpdk --vdev=3Ddma_skeleton
EAL: Detected CPU lcores: 112
EAL: Detected NUMA nodes: 2
EAL: Detected shared linkage of DPDK
EAL: Multi-process socket /var/run/dpdk/rte/mp_socket
EAL: Selected IOVA mode 'VA'
EAL: VFIO support initialized
skeldma_probe(): Create dma_skeleton dmadev with lcore-id -1
APP: HPET is not enabled, using TSC as default timer
RTE>>event_dma_adapter_autotest
 + ------------------------------------------------------- +
 + Test Suite : Event dma adapter test suite
 + ------------------------------------------------------- +
 + TestCase [ 0] : test_dma_adapter_create succeeded
 + TestCase [ 1] : test_dma_adapter_vchan_add_del succeeded
 +------------------------------------------------------+
 + DMA adapter stats for instance 0:
 + Event port poll count         0x0
 + Event dequeue count           0x0
 + DMA dev enqueue count         0x0
 + DMA dev enqueue failed count  0x0
 + DMA dev dequeue count         0x0
 + Event enqueue count           0x0
 + Event enqueue retry count     0x0
 + Event enqueue fail count      0x0
 +------------------------------------------------------+
 + TestCase [ 2] : test_dma_adapter_stats succeeded
 + TestCase [ 3] : test_dma_adapter_params succeeded

[Expected Result]
Test ok.

[Regression]
Is this issue a regression: (Y/N) Y
The first bad commit:
commit 588dcac2361011556934166d93da62dae712ce69
Author: Pavan Nikhilesh <pbhagavatula@marvell.com>
Date:   Fri Jun 7 16:06:25 2024 +0530

    eventdev/dma: reorganize event DMA ops

    Re-organize event DMA ops structure to allow holding
    source and destination pointers without the need for
    additional memory, the mempool allocating memory for
    rte_event_dma_adapter_ops can size the structure to
    accommodate all the needed source and destination
    pointers.

    Add multiple words for holding user metadata, adapter
    implementation specific metadata and event metadata.

    Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com>
    Acked-by: Amit Prakash Shukla <amitprakashs@marvell.com>

-----------Note---------
Based on dpdk24.07-rc2 which includes
https://bugs.dpdk.org/show_bug.cgi?id=3D1469's fix patch, also test hang.

Please confirm it need fix or not on ABI compatibility testing or it needn't
test for ABI compatibility testing. Thanks.

--=20
You are receiving this mail because:
You are the assignee for the bug.=

--17212741600.b2aB2e.1452629
Date: Thu, 18 Jul 2024 05:42:40 +0200
MIME-Version: 1.0
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.dpdk.org/
Auto-Submitted: auto-generated
X-Auto-Response-Suppress: All

<html>
    <head>
      <base href=3D"https://bugs.dpdk.org/">
    </head>
    <body><table border=3D"1" cellspacing=3D"0" cellpadding=3D"8" class=3D"=
bz_new_table">
        <tr>
          <th>Bug ID</th>
          <td><a class=3D"bz_bug_link=20
          bz_status_UNCONFIRMED "
   title=3D"UNCONFIRMED - [dpdk-24.07] [ABI][meson test] driver-tests/event=
_dma_adapter_autotest test hang when do ABI testing"
   href=3D"https://bugs.dpdk.org/show_bug.cgi?id=3D1497">1497</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[dpdk-24.07] [ABI][meson test] driver-tests/event_dma_adapter=
_autotest test hang when do ABI testing
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>DPDK
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>24.07
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>UNCONFIRMED
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>Normal
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>eventdev
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>dev&#64;dpdk.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>yux.jiang&#64;intel.com
          </td>
        </tr>

        <tr>
          <th>Target Milestone</th>
          <td>---
          </td>
        </tr></table>
      <p>
        <div class=3D"bz_comment_block">
          <pre class=3D"bz_comment_text">[Environment]

DPDK version: 24.07.0-rc2
DPDK ABI version: 23.11.0
OS: RHEL9.0/5.14.0-70.13.1.el9_0.x86_64
Compiler: gcc version 11.2.1 20220127 (Red Hat 11.2.1-9)
Hardware platform: Intel(R) Xeon(R) Platinum 8180 CPU &#64; 2.50GHz


[Test Setup]
Steps to reproduce
List the steps to reproduce the issue.

1, Build latest main dpdk24.03-rc1
rm -rf x86_64-native-linuxapp-gcc
CC=3Dgcc meson -Denable_kmods=3DTrue -Dlibdir=3Dlib  --default-library=3Dsh=
ared
x86_64-native-linuxapp-gcc
ninja -C x86_64-native-linuxapp-gcc
rm -rf /root/tmp/dpdk_share_lib /root/shared_lib_dpdk
DESTDIR=3D/root/tmp/dpdk_share_lib ninja -C x86_64-native-linuxapp-gcc -j 1=
10
install
mv /root/tmp/dpdk_share_lib/usr/local/lib /root/shared_lib_dpdk
ll /root/shared_lib_dpdk
cat /root/.bashrc | grep LD_LIBRARY_PATH
sed -i 's#export LD_LIBRARY_PATH=3D.*#export
LD_LIBRARY_PATH=3D/root/shared_lib_dpdk#g' /root/.bashrc

2, Build LTS dpdk23.11.0
rm /root/dpdk
tar zxvf dpdk_abi.tar.gz -C ~
cd ~/dpdk/
rm -rf x86_64-native-linuxapp-gcc
CC=3Dgcc meson -Denable_kmods=3DTrue -Dlibdir=3Dlib  --default-library=3Dsh=
ared
x86_64-native-linuxapp-gcc
ninja -C x86_64-native-linuxapp-gcc
rm -rf x86_64-native-linuxapp-gcc/lib
rm -rf x86_64-native-linuxapp-gcc/drivers

3, Launch dpdk-test and run event_dma_adapter_autotest
MALLOC_PERTURB_=3D132 DPDK_TEST=3Devent_dma_adapter_autotest
/root/dpdk/x86_64-native-linuxapp-gcc/app/dpdk-test -c 0xff -d
/root/shared_lib_dpdk --vdev=3Ddma_skeleton


Show the output from the previous commands.
[root&#64;ABI-80 dpdk]# MALLOC_PERTURB_=3D132 DPDK_TEST=3Devent_dma_adapter=
_autotest
/root/dpdk/x86_64-native-linuxapp-gcc/app/dpdk-test -c 0xff -d
/root/shared_lib_dpdk --vdev=3Ddma_skeleton
EAL: Detected CPU lcores: 112
EAL: Detected NUMA nodes: 2
EAL: Detected shared linkage of DPDK
EAL: Multi-process socket /var/run/dpdk/rte/mp_socket
EAL: Selected IOVA mode 'VA'
EAL: VFIO support initialized
skeldma_probe(): Create dma_skeleton dmadev with lcore-id -1
APP: HPET is not enabled, using TSC as default timer
RTE&gt;&gt;event_dma_adapter_autotest
 + ------------------------------------------------------- +
 + Test Suite : Event dma adapter test suite
 + ------------------------------------------------------- +
 + TestCase [ 0] : test_dma_adapter_create succeeded
 + TestCase [ 1] : test_dma_adapter_vchan_add_del succeeded
 +------------------------------------------------------+
 + DMA adapter stats for instance 0:
 + Event port poll count         0x0
 + Event dequeue count           0x0
 + DMA dev enqueue count         0x0
 + DMA dev enqueue failed count  0x0
 + DMA dev dequeue count         0x0
 + Event enqueue count           0x0
 + Event enqueue retry count     0x0
 + Event enqueue fail count      0x0
 +------------------------------------------------------+
 + TestCase [ 2] : test_dma_adapter_stats succeeded
 + TestCase [ 3] : test_dma_adapter_params succeeded

[Expected Result]
Test ok.

[Regression]
Is this issue a regression: (Y/N) Y
The first bad commit:
commit 588dcac2361011556934166d93da62dae712ce69
Author: Pavan Nikhilesh &lt;<a href=3D"mailto:pbhagavatula&#64;marvell.com"=
>pbhagavatula&#64;marvell.com</a>&gt;
Date:   Fri Jun 7 16:06:25 2024 +0530

    eventdev/dma: reorganize event DMA ops

    Re-organize event DMA ops structure to allow holding
    source and destination pointers without the need for
    additional memory, the mempool allocating memory for
    rte_event_dma_adapter_ops can size the structure to
    accommodate all the needed source and destination
    pointers.

    Add multiple words for holding user metadata, adapter
    implementation specific metadata and event metadata.

    Signed-off-by: Pavan Nikhilesh &lt;<a href=3D"mailto:pbhagavatula&#64;m=
arvell.com">pbhagavatula&#64;marvell.com</a>&gt;
    Acked-by: Amit Prakash Shukla &lt;<a href=3D"mailto:amitprakashs&#64;ma=
rvell.com">amitprakashs&#64;marvell.com</a>&gt;

-----------Note---------
Based on dpdk24.07-rc2 which includes
<a class=3D"bz_bug_link           bz_status_RESOLVED  bz_closed"   title=3D=
"RESOLVED FIXED - [dpdk-24.07] meson_tests/driver-tests: event_dma_adapter_=
autotest test timeout"   href=3D"show_bug.cgi?id=3D1469">https://bugs.dpdk.=
org/show_bug.cgi?id=3D1469</a>'s fix patch, also test hang.

Please confirm it need fix or not on ABI compatibility testing or it needn't
test for ABI compatibility testing. Thanks.
          </pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
      <div itemscope itemtype=3D"http://schema.org/EmailMessage">
        <div itemprop=3D"action" itemscope itemtype=3D"http://schema.org/Vi=
ewAction">
=20=20=20=20=20=20=20=20=20=20
          <link itemprop=3D"url" href=3D"https://bugs.dpdk.org/show_bug.cgi=
?id=3D1497">
          <meta itemprop=3D"name" content=3D"View bug">
        </div>
        <meta itemprop=3D"description" content=3D"Bugzilla bug update notif=
ication">
      </div>
    </body>
</html>=

--17212741600.b2aB2e.1452629--