ansible / pylibssh

Python bindings specific to Ansible use case for libssh https://www.libssh.org/
https://ansible-pylibssh.rtfd.io
GNU Lesser General Public License v2.1
59 stars 28 forks source link

Fix RPM builds #578

Closed pbrezina closed 1 month ago

pbrezina commented 4 months ago
SUMMARY
ISSUE TYPE
ADDITIONAL INFORMATION
packit-as-a-service[bot] commented 4 months ago

Congratulations! One of the builds has completed. :champagne:

You can install the built RPMs by following these steps:

Please note that the RPMs should be used only in a testing environment.

pbrezina commented 4 months ago

I removed commit that disabled debuginfo because I realized that it was only need for my original approach that chose off-tree tmp folder. Debuginfo is correctly collected when using in-tree tmp folder. Now testing-farm jobs fails, but it looks like an infra failure not related to this pull request.

:: [ 10:50:50 ] :: [   PASS   ] :: Command 'dnf -y copr enable packit/ansible-pylibssh-578 ' (Expected 0, got 0)
./install-and-verify.sh: line 27: rpmsort: command not found
./install-and-verify.sh: line 27: rpmsort: command not found
./install-and-verify.sh: line 27: rpmsort: command not found
:: [ 10:50:51 ] :: [  BEGIN   ] :: Running 'dnf -y install --allowerasing    '
usage: dnf install [-c [config file]] [-q] [-v] [--version]
                   [--installroot [path]] [--nodocs] [--noplugins]
                   [--enableplugin [plugin]] [--disableplugin [plugin]]
                   [--releasever RELEASEVER] [--setopt SETOPTS]
                   [--skip-broken] [-h] [--allowerasing] [-b | --nobest] [-C]
                   [-R [minutes]] [-d [debug level]] [--debugsolver]
                   [--showduplicates] [-e ERRORLEVEL] [--obsoletes]
                   [--rpmverbosity [debug level name]] [-y] [--assumeno]
                   [--enablerepo [repo]] [--disablerepo [repo] | --repo
                   [repo]] [--enable | --disable] [-x [package]]
                   [--disableexcludes [repo]] [--repofrompath [repo,path]]
                   [--noautoremove] [--nogpgcheck] [--color COLOR] [--refresh]
                   [-4] [-6] [--destdir DESTDIR] [--downloadonly]
                   [--comment COMMENT] [--bugfix] [--enhancement]
                   [--newpackage] [--security] [--advisory ADVISORY]
                   [--bz BUGZILLA] [--cve CVES]
                   [--sec-severity {Critical,Important,Moderate,Low}]
                   [--forcearch ARCH]
                   PACKAGE [PACKAGE ...]
dnf install: error: the following arguments are required: PACKAGE
:: [ 10:50:51 ] :: [   FAIL   ] :: Command 'dnf -y install --allowerasing    ' (Expected 0, got 2)
:: [ 10:50:51 ] :: [  FATAL   ] :: Failed to install al packages in the repository
:: [ 10:50:51 ] :: [   FAIL   ] :: Failed to install al packages in the repository (Assert: expected 0, got 1)
pbrezina commented 4 months ago

Ok, testing-farm issue is fixed by https://gitlab.com/testing-farm/tests/-/merge_requests/35

trishnaguha commented 1 month ago

@NilashishC Please take a look.

webknjaz commented 1 month ago

I absorbed this all into devel in various forms. There are still failing RPM jobs in GHA that aren't fixed by this.