Fix fedora-review fails repoquery cache-only calls
This update has been submitted for testing by frostyx.
This update's test gating status has been changed to 'ignored'.
This update has been pushed to testing.
Seems to fix https://www.pagure.io/FedoraReview/issue/510 for me.
Works for me
This update can be pushed to stable now if the maintainer wishes
I'm getting new errors when running this version:
$ fedora-review -b 2302439 INFO: Processing bugzilla bug: 2302439 INFO: Getting .spec and .srpm Urls from : 2302439 INFO: --> SRPM url: https://salimma.fedorapeople.org/specs/rust-num-modular-0.5.1-1.fc40.src.rpm INFO: --> Spec url: https://salimma.fedorapeople.org/specs/rust-num-modular.spec INFO: Using review directory: /home/deca/Downloads/2302439-rust-num-modular INFO: Downloading .spec and .srpm files INFO: Downloading (Source0): https://crates.io/api/v1/crates/num-modular/0.5.1/download#/num-modular-0.5.1.crate INFO: Running checks and generating report INFO: Results and/or logs in: /home/deca/Downloads/2302439-rust-num-modular/results INFO: Reading configuration from /etc/mock/site-defaults.cfg INFO: Reading configuration from /etc/mock/chroot-aliases.cfg INFO: Reading configuration from /etc/mock/fedora-rawhide-x86_64.cfg INFO: Reading configuration from /home/deca/.config/mock.cfg INFO: Build completed INFO: Installing built package(s) INFO: Active plugins: Shell-api, Generic ERROR: Command failed: # /usr/bin/systemd-nspawn -q -M 58c95531c18d4c4691c771cf1823b700 -D /var/lib/mock/fedora-rawhide-x86_64-bootstrap/root -a --capability=cap_ipc_lock --bind=/tmp/mock-resolv.shwnrr5u:/etc/resolv.conf --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/var/lib/mock/fedora-rawhide-x86_64/root/installation-homedir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin '--setenv=PROMPT_COMMAND=printf "\033]0;<mock-chroot>\007"' '--setenv=PS1=<mock-chroot> \s-\v\$ ' --setenv=LANG=C.UTF-8 --setenv=LC_MESSAGES=C.UTF-8 --resolv-conf=off /usr/bin/dnf5 --installroot /var/lib/mock/fedora-rawhide-x86_64/root/ --releasever 41 repoquery -q -C --requires --resolve rust-num-modular-devel --setopt=deltarpm=False --setopt=allow_vendor_change=yes --setopt=tsflags=nocontexts ERROR: Command failed: # /usr/bin/systemd-nspawn -q -M a59edebbe247412497af3f90c4c0053d -D /var/lib/mock/fedora-rawhide-x86_64-bootstrap/root -a --capability=cap_ipc_lock --bind=/tmp/mock-resolv.jcpwqhvo:/etc/resolv.conf --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/var/lib/mock/fedora-rawhide-x86_64/root/installation-homedir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin '--setenv=PROMPT_COMMAND=printf "\033]0;<mock-chroot>\007"' '--setenv=PS1=<mock-chroot> \s-\v\$ ' --setenv=LANG=C.UTF-8 --setenv=LC_MESSAGES=C.UTF-8 --resolv-conf=off /usr/bin/dnf5 --installroot /var/lib/mock/fedora-rawhide-x86_64/root/ --releasever 41 repoquery -q -C --requires --resolve rust-num-modular-devel --setopt=deltarpm=False --setopt=allow_vendor_change=yes --setopt=tsflags=nocontexts ERROR: Command failed: # /usr/bin/systemd-nspawn -q -M 0f1895b7b69145c3babe0a4bf2c854e9 -D /var/lib/mock/fedora-rawhide-x86_64-bootstrap/root -a --capability=cap_ipc_lock --bind=/tmp/mock-resolv.01c87to1:/etc/resolv.conf --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/var/lib/mock/fedora-rawhide-x86_64/root/installation-homedir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin '--setenv=PROMPT_COMMAND=printf "\033]0;<mock-chroot>\007"' '--setenv=PS1=<mock-chroot> \s-\v\$ ' --setenv=LANG=C.UTF-8 --setenv=LC_MESSAGES=C.UTF-8 --resolv-conf=off /usr/bin/dnf5 --installroot /var/lib/mock/fedora-rawhide-x86_64/root/ --releasever 41 repoquery -q -C --requires --resolve rust-num-modular-devel --setopt=deltarpm=False --setopt=allow_vendor_change=yes --setopt=tsflags=nocontexts INFO: ExclusiveArch dependency checking disabled, enable with EXARCH flag Review template in: /home/deca/Downloads/2302439-rust-num-modular/review.txt fedora-review is automated tool, but *YOU* are responsible for manually reviewing the results and finishing the review. Do not just copy-paste the results without understanding them.
Bodhi is disabling automatic push to stable due to negative karma. The maintainer may push manually if they determine that the issue is not severe.
This review passes with fedora-review-0.10.0-8.fc39.noarch (https://bugzilla.redhat.com/show_bug.cgi?id=2299054)
jon@dahome:~/Reviews$ fedora-review -r -n 'nnpack-1.0^git20230202.70a77f4-1.fc40.src.rpm' INFO: Processing local files: nnpack-1.0^git20230202.70a77f4-1.fc40.src.rpm INFO: Getting .spec and .srpm Urls from : Local files in /home/jon/Reviews INFO: --> SRPM url: file:///home/jon/Reviews/nnpack-1.0^git20230202.70a77f4-1.fc40.src.rpm INFO: Using review directory: /home/jon/Reviews/nnpack INFO: Downloading (Source0): https://github.com/Maratyszcza/nnpack/archive/70a77f485e8b934224f3a79efd8edcd84cd377b8/NNPACK-70a77f4.tar.gz INFO: Running checks and generating report INFO: Results and/or logs in: /home/jon/Reviews/nnpack/results INFO: Reading configuration from /etc/mock/site-defaults.cfg INFO: Reading configuration from /etc/mock/chroot-aliases.cfg INFO: Reading configuration from /etc/mock/fedora-rawhide-x86_64.cfg INFO: Build completed INFO: Installing built package(s) INFO: Active plugins: C/C++, Shell-api, Generic ERROR: Command failed: # /usr/bin/systemd-nspawn -q -M 2155a95c2a7849718dab97b102adcab5 -D /var/lib/mock/fedora-rawhide-x86_64-bootstrap/root -a --capability=cap_ipc_lock --bind=/tmp/mock-resolv.haggefm7:/etc/resolv.conf --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/var/lib/mock/fedora-rawhide-x86_64/root/installation-homedir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin '--setenv=PROMPT_COMMAND=printf "\033]0;<mock-chroot>\007"' '--setenv=PS1=<mock-chroot> \s-\v\$ ' --setenv=LANG=C.UTF-8 --setenv=LC_MESSAGES=C.UTF-8 --resolv-conf=off /usr/bin/dnf5 --installroot /var/lib/mock/fedora-rawhide-x86_64/root/ --releasever 41 repoquery -q -C --requires --resolve nnpack --setopt=deltarpm=False --setopt=allow_vendor_change=yes --setopt=tsflags=nocontexts
The error seems to be that dnf repoquery doesn't like --resolve.
Sorry, fedora-review-0.10.0-8.fc39.noarch also stopped working.
Yes, the --resolve issue is alrady fixed upstream via https://pagure.io/FedoraReview/pull-request/521 ; I guess it will be in next release
--resolve
This update has been obsoleted by fedora-review-0.10.0-11.fc40.
Please log in to add feedback.
Confirm request to re-trigger tests.
This update has been submitted for testing by frostyx.
This update's test gating status has been changed to 'ignored'.
This update has been pushed to testing.
Seems to fix https://www.pagure.io/FedoraReview/issue/510 for me.
Works for me
This update can be pushed to stable now if the maintainer wishes
I'm getting new errors when running this version:
Bodhi is disabling automatic push to stable due to negative karma. The maintainer may push manually if they determine that the issue is not severe.
This review passes with fedora-review-0.10.0-8.fc39.noarch (https://bugzilla.redhat.com/show_bug.cgi?id=2299054)
jon@dahome:~/Reviews$ fedora-review -r -n 'nnpack-1.0^git20230202.70a77f4-1.fc40.src.rpm' INFO: Processing local files: nnpack-1.0^git20230202.70a77f4-1.fc40.src.rpm INFO: Getting .spec and .srpm Urls from : Local files in /home/jon/Reviews INFO: --> SRPM url: file:///home/jon/Reviews/nnpack-1.0^git20230202.70a77f4-1.fc40.src.rpm INFO: Using review directory: /home/jon/Reviews/nnpack INFO: Downloading (Source0): https://github.com/Maratyszcza/nnpack/archive/70a77f485e8b934224f3a79efd8edcd84cd377b8/NNPACK-70a77f4.tar.gz INFO: Running checks and generating report INFO: Results and/or logs in: /home/jon/Reviews/nnpack/results INFO: Reading configuration from /etc/mock/site-defaults.cfg INFO: Reading configuration from /etc/mock/chroot-aliases.cfg INFO: Reading configuration from /etc/mock/fedora-rawhide-x86_64.cfg INFO: Build completed INFO: Installing built package(s) INFO: Active plugins: C/C++, Shell-api, Generic ERROR: Command failed: # /usr/bin/systemd-nspawn -q -M 2155a95c2a7849718dab97b102adcab5 -D /var/lib/mock/fedora-rawhide-x86_64-bootstrap/root -a --capability=cap_ipc_lock --bind=/tmp/mock-resolv.haggefm7:/etc/resolv.conf --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/var/lib/mock/fedora-rawhide-x86_64/root/installation-homedir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin '--setenv=PROMPT_COMMAND=printf "\033]0;<mock-chroot>\007"' '--setenv=PS1=<mock-chroot> \s-\v\$ ' --setenv=LANG=C.UTF-8 --setenv=LC_MESSAGES=C.UTF-8 --resolv-conf=off /usr/bin/dnf5 --installroot /var/lib/mock/fedora-rawhide-x86_64/root/ --releasever 41 repoquery -q -C --requires --resolve nnpack --setopt=deltarpm=False --setopt=allow_vendor_change=yes --setopt=tsflags=nocontexts
The error seems to be that dnf repoquery doesn't like --resolve.
Sorry, fedora-review-0.10.0-8.fc39.noarch also stopped working.
Yes, the
--resolve
issue is alrady fixed upstream via https://pagure.io/FedoraReview/pull-request/521 ; I guess it will be in next releaseThis update has been obsoleted by fedora-review-0.10.0-11.fc40.