Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package liburing for openSUSE:Factory 
checked in at 2024-08-13 13:22:20
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/liburing (Old)
 and      /work/SRC/openSUSE:Factory/.liburing.new.7232 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "liburing"

Tue Aug 13 13:22:20 2024 rev:23 rq:1193386 version:2.6

Changes:
--------
--- /work/SRC/openSUSE:Factory/liburing/liburing.changes        2024-07-22 
17:15:03.958218652 +0200
+++ /work/SRC/openSUSE:Factory/.liburing.new.7232/liburing.changes      
2024-08-13 13:22:30.680414760 +0200
@@ -1,0 +2,6 @@
+Thu Aug  8 10:21:50 UTC 2024 - Valentin Lefebvre <valentin.lefeb...@suse.com>
+
+- Skip test buf-ring-nommap.t if ENOMEM appears (happens in ppc64le arch).
+  * test-buf-ring-nommap-skip-the-test-on-queue-init-ENO.patch
+
+-------------------------------------------------------------------

New:
----
  test-buf-ring-nommap-skip-the-test-on-queue-init-ENO.patch

BETA DEBUG BEGIN:
  New:- Skip test buf-ring-nommap.t if ENOMEM appears (happens in ppc64le arch).
  * test-buf-ring-nommap-skip-the-test-on-queue-init-ENO.patch
BETA DEBUG END:

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ liburing.spec ++++++
--- /var/tmp/diff_new_pack.je5N72/_old  2024-08-13 13:22:32.004469927 +0200
+++ /var/tmp/diff_new_pack.je5N72/_new  2024-08-13 13:22:32.008470093 +0200
@@ -26,6 +26,8 @@
 URL:            https://git.kernel.dk/cgit/liburing
 Source:         
https://git.kernel.dk/cgit/liburing/snapshot/%{name}-%{version}.tar.bz2
 Patch0:         test-buf-ring-nommap-zero-the-ringbuf-memory.patch
+# PATCH-FIX-UPSTREAM f11c1ab393185aecedc3f1445b0dff5b187f58c1
+Patch1:         test-buf-ring-nommap-skip-the-test-on-queue-init-ENO.patch
 BuildRequires:  gcc-c++
 BuildRequires:  pkgconfig
 BuildRequires:  procps

++++++ test-buf-ring-nommap-skip-the-test-on-queue-init-ENO.patch ++++++
>From f11c1ab393185aecedc3f1445b0dff5b187f58c1 Mon Sep 17 00:00:00 2001
From: Jens Axboe <ax...@kernel.dk>
Date: Thu, 8 Aug 2024 07:34:46 -0600
Subject: [PATCH] test/buf-ring-nommap: skip the test on queue init ENOMEM
 failure

Fixes: https://github.com/axboe/liburing/issues/1200
Signed-off-by: Jens Axboe <ax...@kernel.dk>
---
 test/buf-ring-nommap.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/buf-ring-nommap.c b/test/buf-ring-nommap.c
index 17c1495..32a372c 100644
--- a/test/buf-ring-nommap.c
+++ b/test/buf-ring-nommap.c
@@ -46,7 +46,7 @@ int main(int argc, char *argv[])
        p.flags = IORING_SETUP_NO_MMAP;
        ret = io_uring_queue_init_mem(1, &ring, &p, ring_mem, 16384);
        if (ret < 0) {
-               if (ret == -EINVAL)
+               if (ret == -EINVAL || ret == -ENOMEM)
                        return T_EXIT_SKIP;
                fprintf(stderr, "queue init failed %d\n", ret);
                return T_EXIT_FAIL;
-- 
2.45.2

Reply via email to