Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 938348 - sys-libs/libnbd-1.14.1[-uri-support] tests fail: dump-pattern.sh dump-data.sh
Summary: sys-libs/libnbd-1.14.1[-uri-support] tests fail: dump-pattern.sh dump-data.sh
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:21 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:21:51 UTC
from  /var/tmp/portage/sys-libs/libnbd-1.14.1/work/libnbd-1.14.1/dump/test-suite.log :
```
FAIL: dump-data.sh
==================

+ requires nbdkit --version
+ requires nbdkit data --dump-plugin
+ requires nbdkit -U - null --run 'test "$uri" != ""'
++ nbdkit --dump-config
++ grep '^version_minor'
++ cut -d= -f2
+ minor=32
+ requires test 32 -ge 22
+ output=dump-data.out
+ rm -f dump-data.out
+ cleanup_fn rm -f dump-data.out
+ local _hook=_cleanup_hook0
+ declare -ag _cleanup_hook0
+ eval '_cleanup_hook0=("$@")'
++ _cleanup_hook0=("$@")
+ nbdkit -U - data 'data=
  @32768 1
  @65535 "hello, world!"
  @17825790 "spanning buffer boundary"
  @20000000 0
' --run 'nbddump "$uri"'
libnbd: debug: nbd1: nbd_create: opening handle
libnbd: debug: nbd1: nbd_set_uri_allow_local_file: enter: allow=true
libnbd: debug: nbd1: nbd_set_uri_allow_local_file: leave: ret=0
libnbd: debug: nbd1: nbd_add_meta_context: enter: name="base:allocation"
libnbd: debug: nbd1: nbd_add_meta_context: leave: ret=0
libnbd: debug: nbd1: nbd_connect_uri: enter: uri="nbd+unix://?socket=/tmp/nbdkit8lxkkg/socket"
libnbd: debug: nbd1: nbd_connect_uri: leave: error="nbd_connect_uri: libnbd was compiled without libxml2 support, so we do not support NBD URI: Operation not supported"
/var/tmp/portage/sys-libs/libnbd-1.14.1/work/libnbd-1.14.1/dump/.libs/nbddump: nbd_connect_uri: libnbd was compiled without libxml2 support, so we do not support NBD URI: Operation not supported
++ _run_cleanup_hooks
++ local _status=1 _i
++ set +e
++ trap '' INT QUIT TERM EXIT ERR
++ echo /var/tmp/portage/sys-libs/libnbd-1.14.1/work/libnbd-1.14.1/dump/dump-data.sh: run cleanup hooks: exit code 1
/var/tmp/portage/sys-libs/libnbd-1.14.1/work/libnbd-1.14.1/dump/dump-data.sh: run cleanup hooks: exit code 1
++ (( _i = 0 ))
++ (( _i < 1 ))
++ eval '"${_cleanup_hook0[@]}"'
+++ rm -f dump-data.out
++ (( ++_i  ))
++ (( _i < 1 ))
++ exit 1
FAIL dump-data.sh (exit status: 1)

SKIP: dump-empty-qcow2.sh
=========================

+ requires qemu-nbd --version
../tests/functions.sh: line 79: 18258 Aborted                 ( "$@" ) < /dev/null > /dev/null 2>&1
+ echo '/var/tmp/portage/sys-libs/libnbd-1.14.1/work/libnbd-1.14.1/dump/dump-empty-qcow2.sh: ‘qemu-nbd --version’ failed with error code 134'
/var/tmp/portage/sys-libs/libnbd-1.14.1/work/libnbd-1.14.1/dump/dump-empty-qcow2.sh: ‘qemu-nbd --version’ failed with error code 134
+ echo '/var/tmp/portage/sys-libs/libnbd-1.14.1/work/libnbd-1.14.1/dump/dump-empty-qcow2.sh: test prerequisite is missing or not working'
/var/tmp/portage/sys-libs/libnbd-1.14.1/work/libnbd-1.14.1/dump/dump-empty-qcow2.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/dump/dump-empty-qcow2.sh: run cleanup hooks: exit code 77
/var/tmp/portage/sys-libs/libnbd-1.14.1/work/libnbd-1.14.1/dump/dump-empty-qcow2.sh: run cleanup hooks: exit code 77
+ (( _i = 0 ))
+ (( _i < 0 ))
+ exit 77
SKIP dump-empty-qcow2.sh (exit status: 77)

FAIL: dump-pattern.sh
=====================

+ requires nbdkit --version
+ requires nbdkit pattern --dump-plugin
+ requires nbdkit -U - null --run 'test "$uri" != ""'
+ output=dump-pattern.out
+ rm -f dump-pattern.out
+ cleanup_fn rm -f dump-pattern.out
+ local _hook=_cleanup_hook0
+ declare -ag _cleanup_hook0
+ eval '_cleanup_hook0=("$@")'
++ _cleanup_hook0=("$@")
+ nbdkit -U - pattern size=299 --run 'nbddump "$uri"'
libnbd: debug: nbd1: nbd_create: opening handle
libnbd: debug: nbd1: nbd_set_uri_allow_local_file: enter: allow=true
libnbd: debug: nbd1: nbd_set_uri_allow_local_file: leave: ret=0
libnbd: debug: nbd1: nbd_add_meta_context: enter: name="base:allocation"
libnbd: debug: nbd1: nbd_add_meta_context: leave: ret=0
libnbd: debug: nbd1: nbd_connect_uri: enter: uri="nbd+unix://?socket=/tmp/nbdkit9ZiLYA/socket"
libnbd: debug: nbd1: nbd_connect_uri: leave: error="nbd_connect_uri: libnbd was compiled without libxml2 support, so we do not support NBD URI: Operation not supported"
/var/tmp/portage/sys-libs/libnbd-1.14.1/work/libnbd-1.14.1/dump/.libs/nbddump: nbd_connect_uri: libnbd was compiled without libxml2 support, so we do not support NBD URI: Operation not supported
++ _run_cleanup_hooks
++ local _status=1 _i
++ set +e
++ trap '' INT QUIT TERM EXIT ERR
++ echo /var/tmp/portage/sys-libs/libnbd-1.14.1/work/libnbd-1.14.1/dump/dump-pattern.sh: run cleanup hooks: exit code 1
/var/tmp/portage/sys-libs/libnbd-1.14.1/work/libnbd-1.14.1/dump/dump-pattern.sh: run cleanup hooks: exit code 1
++ (( _i = 0 ))
++ (( _i < 1 ))
++ eval '"${_cleanup_hook0[@]}"'
+++ rm -f dump-pattern.out
++ (( ++_i  ))
++ (( _i < 1 ))
++ exit 1
FAIL dump-pattern.sh (exit status: 1)
```


Because I cannot put here archive with size of 29MB , here it is:
https://drive.google.com/file/d/1JCzc2Jh5LpWIBn8avGaQGf0ErwB-nGZf/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-144739.log