The package rpms/nbdkit.git has added or updated architecture specific content in its spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s): https://src.fedoraproject.org/cgit/rpms/nbdkit.git/commit/?id=c05c44cc7bc78c....
Change: +%ifarch aarch64
Thanks.
Full change: ============
commit 9647b363022eeb6ade4e4338ca2006596fe67b13 Author: Richard W.M. Jones rjones@redhat.com Date: Thu Jun 3 21:02:24 2021 +0100
New upstream version 1.25.9.
diff --git a/nbdkit.spec b/nbdkit.spec index 8c51afb..34e6fa4 100644 --- a/nbdkit.spec +++ b/nbdkit.spec @@ -50,8 +50,8 @@ ExclusiveArch: x86_64 %global source_directory 1.25-development
Name: nbdkit -Version: 1.25.8 -Release: 2%{?dist} +Version: 1.25.9 +Release: 1%{?dist} Summary: NBD server
License: BSD @@ -1241,6 +1241,9 @@ export LIBGUESTFS_TRACE=1
%changelog +* Thu Jun 03 2021 Richard W.M. Jones rjones@redhat.com - 1.25.9-1 +- New upstream version 1.25.9. + * Tue May 25 2021 Jitka Plesnikova jplesnik@redhat.com - 1.25.8-2 - Perl 5.34 re-rebuild of updated packages
diff --git a/sources b/sources index bf1f333..6d71595 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (nbdkit-1.25.8.tar.gz) = 4084fbc3fb24eb20114e8c31eb4ea1f763a2c4c09048a29447f9df7a0101049e97d82ed00b581ff22fc4ec5e0221beeb67107f57be101544b49bc6192e8ada13 -SHA512 (nbdkit-1.25.8.tar.gz.sig) = 71f9ddc29974474b074e06ba19ccaffbca59ed425e73a3962ed698dfbcc94aeddbcd0b138fe3e1c99074cfcb79c404c790a5418b5083ccf3daac65643791a189 +SHA512 (nbdkit-1.25.9.tar.gz) = b650762dbbf39adf15165af1bf1af00670f61e0f668e61c40d6a8784aa6f53e2896597981c48f808335a1ad6123f75b274beb39b6adc135d725eb4c23f4d4c3e +SHA512 (nbdkit-1.25.9.tar.gz.sig) = 76ba71f371f61b5300181b013f2588b11ce86d8996f081347d07914eadb426c0fd3490e7e29f6f5a3bb61f8fa1c13269fc9fcb558968a479d3f219b1384dac10
commit c05c44cc7bc78cca7a92bbc85b8f940a6f5477c9 Author: Richard W.M. Jones rjones@redhat.com Date: Wed Jun 2 13:09:47 2021 +0100
Skip tests/test-memory-allocator-malloc-mlock.sh on RHEL 9 / aarch64
Test failure:
FAIL: test-memory-allocator-malloc-mlock.sh =========================================== /builddir/build/BUILD/nbdkit-1.25.8/server/nbdkit -v -P memory-allocator-malloc-mlock.pid -U /tmp/nbdkit-test-sock.QSUxq3 -- /builddir/build/BUILD/nbdkit-1.25.8/plugins/memory/.libs/nbdkit-memory-plugin.so 2048 allocator=malloc,mlock=true nbdkit: debug: nbdkit 1.25.8 (nbdkit-1.25.8-2.el9) nbdkit: debug: TLS disabled: could not load TLS certificates nbdkit: debug: registering plugin /builddir/build/BUILD/nbdkit-1.25.8/plugins/memory/.libs/nbdkit-memory-plugin.so nbdkit: debug: registered plugin /builddir/build/BUILD/nbdkit-1.25.8/plugins/memory/.libs/nbdkit-memory-plugin.so (name memory) nbdkit: debug: memory: load nbdkit: debug: memory: config key=size, value=2048 nbdkit: debug: memory: config key=allocator, value=malloc,mlock=true nbdkit: debug: memory: config_complete nbdkit: debug: using thread model: parallel nbdkit: debug: memory: get_ready nbdkit: debug: allocator: malloc,mlock=true nbdkit: debug: allocator parameter: mlock=true nbdkit: error: allocator=malloc: mlock: Cannot allocate memory ./test-memory-allocator-malloc-mlock.sh: run cleanup hooks: exit code 1 FAIL test-memory-allocator-malloc-mlock.sh (exit status: 1)
diff --git a/nbdkit.spec b/nbdkit.spec index a8592dd..8c51afb 100644 --- a/nbdkit.spec +++ b/nbdkit.spec @@ -817,22 +817,40 @@ rm -f $RPM_BUILD_ROOT%{_mandir}/man1/nbdkit-S3-plugin.1*
%check %ifnarch %{broken_test_arches} +function skip_test () +{ + for f in "$@"; do + rm -f "$f" + echo 'exit 77' > "$f" + chmod +x "$f" + done +} + # Workaround for broken libvirt (RHBZ#1138604). mkdir -p $HOME/.cache/libvirt
# tests/test-captive.sh is racy especially on s390x. We need to # rethink this test upstream. -truncate -s 0 tests/test-captive.sh +skip_test tests/test-captive.sh
%ifarch s390x # Temporarily kill tests/test-cache-max-size.sh since it fails # sometimes on s390x for unclear reasons. -truncate -s 0 tests/test-cache-max-size.sh +skip_test tests/test-cache-max-size.sh %endif
# Temporarily kill test-nbd-tls.sh and test-nbd-tls-psk.sh # https://www.redhat.com/archives/libguestfs/2020-March/msg00191.html -truncate -s 0 tests/test-nbd-tls.sh tests/test-nbd-tls-psk.sh +skip_test tests/test-nbd-tls.sh tests/test-nbd-tls-psk.sh + +# This test fails on RHEL 9 & aarch64 with the error: +# nbdkit: error: allocator=malloc: mlock: Cannot allocate memory +# It could be the mlock limit on the builder is too low. +%if 0%{?rhel} +%ifarch aarch64 +skip_test tests/test-memory-allocator-malloc-mlock.sh +%endif +%endif
# Make sure we can see the debug messages (RHBZ#1230160). export LIBGUESTFS_DEBUG=1
commit f628c070193621ca9cbdef0f34c2f9f065552c02 Author: Richard W.M. Jones rjones@redhat.com Date: Wed Jun 2 12:30:44 2021 +0100
Add gating tests for RHEL 9
diff --git a/gating.yaml b/gating.yaml new file mode 100755 index 0000000..648918d --- /dev/null +++ b/gating.yaml @@ -0,0 +1,6 @@ +--- !Policy +product_versions: + - rhel-9 +decision_context: osci_compose_gate +rules: + - !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional} diff --git a/tests/basic-test.sh b/tests/basic-test.sh new file mode 100755 index 0000000..07eb459 --- /dev/null +++ b/tests/basic-test.sh @@ -0,0 +1,6 @@ +#!/bin/bash - +set -e +set -x + +# Run nbdkit and check that nbdinfo can connect back to it. +nbdkit -U - memory 1G --run 'nbdinfo "$uri"' diff --git a/tests/tests.yml b/tests/tests.yml new file mode 100755 index 0000000..28c6a43 --- /dev/null +++ b/tests/tests.yml @@ -0,0 +1,12 @@ +- hosts: localhost + roles: + - role: standard-test-basic + tags: + - classic + required_packages: + - libnbd + - nbdkit + tests: + - simple: + dir: . + run: ./basic-test.sh
commit ef181318d5264657f0022ada4f4240ad47534f91 Author: Jitka Plesnikova jplesnik@redhat.com Date: Tue May 25 21:10:34 2021 +0200
Perl 5.34 re-rebuild of updated packages
diff --git a/nbdkit.spec b/nbdkit.spec index aac8f24..a8592dd 100644 --- a/nbdkit.spec +++ b/nbdkit.spec @@ -51,7 +51,7 @@ ExclusiveArch: x86_64
Name: nbdkit Version: 1.25.8 -Release: 1%{?dist} +Release: 2%{?dist} Summary: NBD server
License: BSD @@ -1223,6 +1223,9 @@ export LIBGUESTFS_TRACE=1
%changelog +* Tue May 25 2021 Jitka Plesnikova jplesnik@redhat.com - 1.25.8-2 +- Perl 5.34 re-rebuild of updated packages + * Tue May 25 2021 Richard W.M. Jones rjones@redhat.com - 1.25.8-1 - New upstream version 1.25.8.