Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 938349 - sys-libs/libnbd-1.14.1 tests fail : list-exports-qemu-nbd socket-activation-qemu-nbd interop-qemu-nbd
Summary: sys-libs/libnbd-1.14.1 tests fail : list-exports-qemu-nbd socket-activation-q...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Arsen Arsenović
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-08-23 15:22 UTC by Arniii
Modified: 2024-08-23 15:34 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arniii 2024-08-23 15:22:09 UTC
from /var/tmp/portage/sys-libs/libnbd-1.14.1/work/libnbd-1.14.1/interop/test-suite.log :
```
===========================================
   libnbd 1.14.1: interop/test-suite.log
===========================================

# TOTAL: 21
# PASS:  5
# SKIP:  13
# XFAIL: 0
# FAIL:  3
# XPASS: 0
# ERROR: 0

.. contents:: :depth: 2

SKIP: interop-nbd-server-tls
============================

requires test -d /var/tmp/portage/sys-libs/libnbd-1.14.1/work/libnbd-1.14.1/tests/pki
Test skipped because prerequisite is missing or not working.
SKIP interop-nbd-server-tls (exit status: 77)

FAIL: interop-qemu-nbd
======================

libnbd: debug: nbd1: nbd_create: opening handle
libnbd: debug: nbd1: nbd_set_export_name: enter: export_name="/"
libnbd: debug: nbd1: nbd_set_export_name: leave: ret=0
server: qemu-nbd -f raw -x / /tmp/nbddeqtPQ
libnbd: debug: nbd1: nbd_connect_systemd_socket_activation: enter: argv=["qemu-nbd", "-f", "raw", "-x", "/", "/tmp/nbddeqtPQ"]
libnbd: debug: nbd1: nbd_connect_systemd_socket_activation: event CmdConnectSA: START -> CONNECT_SA.START
libnbd: debug: nbd1: nbd_connect_systemd_socket_activation: transition: CONNECT_SA.START -> CONNECT.START
libnbd: debug: nbd1: nbd_connect_systemd_socket_activation: poll start: events=4
libnbd: debug: nbd1: nbd_connect_systemd_socket_activation: poll end: r=1 revents=4
libnbd: debug: nbd1: nbd_connect_systemd_socket_activation: event NotifyWrite: CONNECT.START -> CONNECT.CONNECTING
libnbd: debug: nbd1: nbd_connect_systemd_socket_activation: transition: CONNECT.CONNECTING -> MAGIC.START
libnbd: debug: nbd1: nbd_connect_systemd_socket_activation: transition: MAGIC.START -> MAGIC.RECV_MAGIC
libnbd: debug: nbd1: nbd_connect_systemd_socket_activation: poll start: events=1
free(): invalid pointerlibnbd: debug: nbd1: nbd_connect_systemd_socket_activation: poll end: r=1 revents=19
libnbd: debug: nbd1: nbd_connect_systemd_socket_activation: transition: MAGIC.RECV_MAGIC -> DEAD
libnbd: debug: nbd1: nbd_connect_systemd_socket_activation: leave: error="nbd_connect_systemd_socket_activation: recv: Connection reset by peer"
nbd_connect_systemd_socket_activation: recv: Connection reset by peer
FAIL interop-qemu-nbd (exit status: 1)

SKIP: interop-qemu-nbd-tls-certs
================================

requires test -d /var/tmp/portage/sys-libs/libnbd-1.14.1/work/libnbd-1.14.1/tests/pki
Test skipped because prerequisite is missing or not working.
SKIP interop-qemu-nbd-tls-certs (exit status: 77)

SKIP: interop-qemu-nbd-tls-psk
==============================

requires test -f /var/tmp/portage/sys-libs/libnbd-1.14.1/work/libnbd-1.14.1/tests/keys.psk
Test skipped because prerequisite is missing or not working.
SKIP interop-qemu-nbd-tls-psk (exit status: 77)

FAIL: list-exports-qemu-nbd
===========================

libnbd: debug: nbd1: nbd_create: opening handle
libnbd: debug: nbd1: nbd_set_opt_mode: enter: enable=true
libnbd: debug: nbd1: nbd_set_opt_mode: leave: ret=0
libnbd: debug: nbd1: nbd_connect_systemd_socket_activation: enter: argv=["qemu-nbd", "-f", "raw", "-x", "testing", "-D", "data", "/tmp/nbd10Oa6I"]
libnbd: debug: nbd1: nbd_connect_systemd_socket_activation: event CmdConnectSA: START -> CONNECT_SA.START
libnbd: debug: nbd1: nbd_connect_systemd_socket_activation: transition: CONNECT_SA.START -> CONNECT.START
libnbd: debug: nbd1: nbd_connect_systemd_socket_activation: poll start: events=4
libnbd: debug: nbd1: nbd_connect_systemd_socket_activation: poll end: r=1 revents=4
libnbd: debug: nbd1: nbd_connect_systemd_socket_activation: event NotifyWrite: CONNECT.START -> CONNECT.CONNECTING
libnbd: debug: nbd1: nbd_connect_systemd_socket_activation: transition: CONNECT.CONNECTING -> MAGIC.START
libnbd: debug: nbd1: nbd_connect_systemd_socket_activation: transition: MAGIC.START -> MAGIC.RECV_MAGIC
libnbd: debug: nbd1: nbd_connect_systemd_socket_activation: poll start: events=1
free(): invalid pointerlibnbd: debug: nbd1: nbd_connect_systemd_socket_activation: poll end: r=1 revents=19
libnbd: debug: nbd1: nbd_connect_systemd_socket_activation: transition: MAGIC.RECV_MAGIC -> DEAD
libnbd: debug: nbd1: nbd_connect_systemd_socket_activation: leave: error="nbd_connect_systemd_socket_activation: recv: Connection reset by peer"
nbd_connect_systemd_socket_activation: recv: Connection reset by peer
FAIL list-exports-qemu-nbd (exit status: 1)

FAIL: socket-activation-qemu-nbd
================================

libnbd: debug: nbd1: nbd_create: opening handle
libnbd: debug: nbd1: nbd_connect_systemd_socket_activation: enter: argv=["qemu-nbd", "-f", "raw", "-x", "", "/tmp/nbdFpgk51"]
libnbd: debug: nbd1: nbd_connect_systemd_socket_activation: event CmdConnectSA: START -> CONNECT_SA.START
libnbd: debug: nbd1: nbd_connect_systemd_socket_activation: transition: CONNECT_SA.START -> CONNECT.START
libnbd: debug: nbd1: nbd_connect_systemd_socket_activation: poll start: events=4
libnbd: debug: nbd1: nbd_connect_systemd_socket_activation: poll end: r=1 revents=4
libnbd: debug: nbd1: nbd_connect_systemd_socket_activation: event NotifyWrite: CONNECT.START -> CONNECT.CONNECTING
libnbd: debug: nbd1: nbd_connect_systemd_socket_activation: transition: CONNECT.CONNECTING -> MAGIC.START
libnbd: debug: nbd1: nbd_connect_systemd_socket_activation: transition: MAGIC.START -> MAGIC.RECV_MAGIC
libnbd: debug: nbd1: nbd_connect_systemd_socket_activation: poll start: events=1
free(): invalid pointerlibnbd: debug: nbd1: nbd_connect_systemd_socket_activation: poll end: r=1 revents=19
libnbd: debug: nbd1: nbd_connect_systemd_socket_activation: transition: MAGIC.RECV_MAGIC -> DEAD
libnbd: debug: nbd1: nbd_connect_systemd_socket_activation: leave: error="nbd_connect_systemd_socket_activation: recv: Connection reset by peer"
nbd_connect_systemd_socket_activation: recv: Connection reset by peer
FAIL socket-activation-qemu-nbd (exit status: 1)

SKIP: dirty-bitmap.sh
=====================

+ requires qemu-img bitmap --help
../tests/functions.sh: line 79: 32569 Aborted                 ( "$@" ) < /dev/null > /dev/null 2>&1
+ echo '/var/tmp/portage/sys-libs/libnbd-1.14.1/work/libnbd-1.14.1/interop/dirty-bitmap.sh: ‘qemu-img bitmap --help’ failed with error code 134'
/var/tmp/portage/sys-libs/libnbd-1.14.1/work/libnbd-1.14.1/interop/dirty-bitmap.sh: ‘qemu-img bitmap --help’ failed with error code 134
+ echo '/var/tmp/portage/sys-libs/libnbd-1.14.1/work/libnbd-1.14.1/interop/dirty-bitmap.sh: test prerequisite is missing or not working'
/var/tmp/portage/sys-libs/libnbd-1.14.1/work/libnbd-1.14.1/interop/dirty-bitmap.sh: test prerequisite is missing or not working
+ exit 77
+ _run_cleanup_hooks
+ local _status=77 _i
+ set +e
+ trap '' INT QUIT TERM EXIT ERR
+ echo /var/tmp/portage/sys-libs/libnbd-1.14.1/work/libnbd-1.14.1/interop/dirty-bitmap.sh: run cleanup hooks: exit code 77
/var/tmp/portage/sys-libs/libnbd-1.14.1/work/libnbd-1.14.1/interop/dirty-bitmap.sh: run cleanup hooks: exit code 77
+ (( _i = 0 ))
+ (( _i < 0 ))
+ exit 77
SKIP dirty-bitmap.sh (exit status: 77)

SKIP: structured-read.sh
========================

+ requires qemu-img --version
../tests/functions.sh: line 79: 32770 Aborted                 ( "$@" ) < /dev/null > /dev/null 2>&1
+ echo '/var/tmp/portage/sys-libs/libnbd-1.14.1/work/libnbd-1.14.1/interop/structured-read.sh: ‘qemu-img --version’ failed with error code 134'
/var/tmp/portage/sys-libs/libnbd-1.14.1/work/libnbd-1.14.1/interop/structured-read.sh: ‘qemu-img --version’ failed with error code 134
+ echo '/var/tmp/portage/sys-libs/libnbd-1.14.1/work/libnbd-1.14.1/interop/structured-read.sh: test prerequisite is missing or not working'
/var/tmp/portage/sys-libs/libnbd-1.14.1/work/libnbd-1.14.1/interop/structured-read.sh: test prerequisite is missing or not working
+ exit 77
+ _run_cleanup_hooks
+ local _status=77 _i
+ set +e
+ trap '' INT QUIT TERM EXIT ERR
+ echo /var/tmp/portage/sys-libs/libnbd-1.14.1/work/libnbd-1.14.1/interop/structured-read.sh: run cleanup hooks: exit code 77
/var/tmp/portage/sys-libs/libnbd-1.14.1/work/libnbd-1.14.1/interop/structured-read.sh: run cleanup hooks: exit code 77
+ (( _i = 0 ))
+ (( _i < 0 ))
+ exit 77
SKIP structured-read.sh (exit status: 77)

SKIP: interop-qemu-block-size.sh
================================

+ requires qemu-nbd --list --version
../tests/functions.sh: line 79: 32653 Aborted                 ( "$@" ) < /dev/null > /dev/null 2>&1
+ echo '/var/tmp/portage/sys-libs/libnbd-1.14.1/work/libnbd-1.14.1/interop/interop-qemu-block-size.sh: ‘qemu-nbd --list --version’ failed with error code 134'
/var/tmp/portage/sys-libs/libnbd-1.14.1/work/libnbd-1.14.1/interop/interop-qemu-block-size.sh: ‘qemu-nbd --list --version’ failed with error code 134
+ echo '/var/tmp/portage/sys-libs/libnbd-1.14.1/work/libnbd-1.14.1/interop/interop-qemu-block-size.sh: test prerequisite is missing or not working'
/var/tmp/portage/sys-libs/libnbd-1.14.1/work/libnbd-1.14.1/interop/interop-qemu-block-size.sh: test prerequisite is missing or not working
+ exit 77
+ _run_cleanup_hooks
+ local _status=77 _i
+ set +e
+ trap '' INT QUIT TERM EXIT ERR
+ echo /var/tmp/portage/sys-libs/libnbd-1.14.1/work/libnbd-1.14.1/interop/interop-qemu-block-size.sh: run cleanup hooks: exit code 77
/var/tmp/portage/sys-libs/libnbd-1.14.1/work/libnbd-1.14.1/interop/interop-qemu-block-size.sh: run cleanup hooks: exit code 77
+ (( _i = 0 ))
+ (( _i < 0 ))
+ exit 77
SKIP interop-qemu-block-size.sh (exit status: 77)

SKIP: interop-qemu-storage-daemon.sh
====================================

+ requires test xqemu-storage-daemon '!=' x
+ requires sed --version
++ qemu-storage-daemon --version
++ sed -n '1s/qemu-storage-daemon version \([0-9.]*\).*/\1/p'
free(): invalid pointer+ qsd_version=
+ requires_not test '' = 5.1.0
+ requires_not test '' = 5.2.0
+ requires_not test '' = 6.0.0
+ requires nbdsh --version
+ echo '/var/tmp/portage/sys-libs/libnbd-1.14.1/work/libnbd-1.14.1/interop/interop-qemu-storage-daemon.sh: ‘nbdsh --version’ failed with error code 2'
/var/tmp/portage/sys-libs/libnbd-1.14.1/work/libnbd-1.14.1/interop/interop-qemu-storage-daemon.sh: ‘nbdsh --version’ failed with error code 2
+ echo '/var/tmp/portage/sys-libs/libnbd-1.14.1/work/libnbd-1.14.1/interop/interop-qemu-storage-daemon.sh: test prerequisite is missing or not working'
/var/tmp/portage/sys-libs/libnbd-1.14.1/work/libnbd-1.14.1/interop/interop-qemu-storage-daemon.sh: test prerequisite is missing or not working
+ exit 77
+ _run_cleanup_hooks
+ local _status=77 _i
+ set +e
+ trap '' INT QUIT TERM EXIT ERR
+ echo /var/tmp/portage/sys-libs/libnbd-1.14.1/work/libnbd-1.14.1/interop/interop-qemu-storage-daemon.sh: run cleanup hooks: exit code 77
/var/tmp/portage/sys-libs/libnbd-1.14.1/work/libnbd-1.14.1/interop/interop-qemu-storage-daemon.sh: run cleanup hooks: exit code 77
+ (( _i = 0 ))
+ (( _i < 0 ))
+ exit 77
SKIP interop-qemu-storage-daemon.sh (exit status: 77)

SKIP: interop-nbdkit-tls-certs
==============================

requires test -d ../tests/pki
Test skipped because prerequisite is missing or not working.
SKIP interop-nbdkit-tls-certs (exit status: 77)

SKIP: interop-nbdkit-tls-certs-allow-enabled
============================================

requires test -d ../tests/pki
Test skipped because prerequisite is missing or not working.
SKIP interop-nbdkit-tls-certs-allow-enabled (exit status: 77)

SKIP: interop-nbdkit-tls-certs-allow-fallback
=============================================

requires test -d ../tests/pki
Test skipped because prerequisite is missing or not working.
SKIP interop-nbdkit-tls-certs-allow-fallback (exit status: 77)

SKIP: interop-nbdkit-tls-psk
============================

requires test -f ../tests/keys.psk
Test skipped because prerequisite is missing or not working.
SKIP interop-nbdkit-tls-psk (exit status: 77)

SKIP: interop-nbdkit-tls-psk-allow-enabled
==========================================

requires test -f ../tests/keys.psk
Test skipped because prerequisite is missing or not working.
SKIP interop-nbdkit-tls-psk-allow-enabled (exit status: 77)

SKIP: interop-nbdkit-tls-psk-allow-fallback
===========================================

requires test -f ../tests/keys.psk
Test skipped because prerequisite is missing or not working.
SKIP interop-nbdkit-tls-psk-allow-fallback (exit status: 77)


```

Because I cannot put here archive with size of 29MB , here it is:
https://drive.google.com/file/d/1YERi07PRQ3_2Bu1E8uihcMHzsuxV_W9K/view?usp=sharing
how_it_was_called.txt emerge_--info.txt /var/tmp/portage/sys-libs/libnbd-1.14.1/{build-info/,files/,temp/,work/**{.log,.txt}} /var/lib/portage /etc/portage /var/log/portage/elog/sys-libs/libnbd-1.14.1:20240823-150442.log