disable network checks for binary RPMs
ClosedPublic

Authored by kparal on Apr 7 2016, 12:31 PM.

Details

Summary

Due to excessive network checking (for every RPM file) we now split the
execution to checking SRPMs and checking all other RPMs. We enable
network checks only for SRPMs, but not for other RPMs.

The artifact output was slightly adjusted to make it clear that there
are two separate rpmlint executions. As a bonus, the detail note is now
much more useful (shows errors and warnings count).

The artifact output now looks like this (compare to https://taskotron.fedoraproject.org/artifacts/all/b25fbde0-eef1-11e5-b4e1-525400120b80/task_output/kf5-kdbusaddons-5.20.0-1.fc24.log ):

##### SRPMs #####
kf5-kdbusaddons.src: W: spelling-error Summary(en_US) addon -> ad don, ad-don, add on
1 packages and 0 specfiles checked; 0 errors, 1 warnings.

##### RPMs  #####
kf5-kdbusaddons.armv7hl: W: spelling-error Summary(en_US) addon -> ad don, ad-don, add on
kf5-kdbusaddons.armv7hl: W: shared-lib-calls-exit /usr/lib/libKF5DBusAddons.so.5.20.0 exit@GLIBC_2.4
kf5-kdbusaddons.armv7hl: W: no-manual-page-for-binary kquitapp5
kf5-kdbusaddons.i686: W: spelling-error Summary(en_US) addon -> ad don, ad-don, add on
kf5-kdbusaddons.i686: W: shared-lib-calls-exit /usr/lib/libKF5DBusAddons.so.5.20.0 exit@GLIBC_2.0
kf5-kdbusaddons.i686: W: no-manual-page-for-binary kquitapp5
kf5-kdbusaddons.x86_64: W: spelling-error Summary(en_US) addon -> ad don, ad-don, add on
kf5-kdbusaddons.x86_64: W: shared-lib-calls-exit /usr/lib64/libKF5DBusAddons.so.5.20.0 exit@GLIBC_2.2.5
kf5-kdbusaddons.x86_64: W: no-manual-page-for-binary kquitapp5
kf5-kdbusaddons-devel.armv7hl: W: no-documentation
kf5-kdbusaddons-devel.i686: W: no-documentation
kf5-kdbusaddons-devel.x86_64: W: only-non-binary-in-usr-lib
kf5-kdbusaddons-devel.x86_64: W: no-documentation
6 packages and 0 specfiles checked; 0 errors, 13 warnings.

rpmlint PASSED for kf5-kdbusaddons-5.20.0-1.fc24 (0 errors, 14 warnings)

It's not visible, but the network checks are executed just for SRPMs. You can see it when I manually enable verbose output for rpmlint:

##### SRPMs #####
kf5-kdbusaddons.src: I: checking
kf5-kdbusaddons.src: W: spelling-error Summary(en_US) addon -> ad don, ad-don, add on
kf5-kdbusaddons.src: I: checking-url http://projects.kde.org/kdbusaddons (timeout 10 seconds)
kf5-kdbusaddons.src: I: checking-url http://download.kde.org/stable/frameworks/5.20/kdbusaddons-5.20.0.tar.xz (timeout 10 seconds)
1 packages and 0 specfiles checked; 0 errors, 1 warnings.

##### RPMs  #####
kf5-kdbusaddons.armv7hl: I: checking
kf5-kdbusaddons.armv7hl: W: spelling-error Summary(en_US) addon -> ad don, ad-don, add on
kf5-kdbusaddons.armv7hl: I: network-checks-disabled http://projects.kde.org/kdbusaddons
kf5-kdbusaddons.armv7hl: W: shared-lib-calls-exit /usr/lib/libKF5DBusAddons.so.5.20.0 exit@GLIBC_2.4
kf5-kdbusaddons.armv7hl: W: no-manual-page-for-binary kquitapp5
kf5-kdbusaddons.i686: I: checking
kf5-kdbusaddons.i686: W: spelling-error Summary(en_US) addon -> ad don, ad-don, add on
kf5-kdbusaddons.i686: I: network-checks-disabled http://projects.kde.org/kdbusaddons
kf5-kdbusaddons.i686: W: shared-lib-calls-exit /usr/lib/libKF5DBusAddons.so.5.20.0 exit@GLIBC_2.0
kf5-kdbusaddons.i686: W: no-manual-page-for-binary kquitapp5
kf5-kdbusaddons.x86_64: I: checking
kf5-kdbusaddons.x86_64: W: spelling-error Summary(en_US) addon -> ad don, ad-don, add on
kf5-kdbusaddons.x86_64: I: network-checks-disabled http://projects.kde.org/kdbusaddons
kf5-kdbusaddons.x86_64: W: shared-lib-calls-exit /usr/lib64/libKF5DBusAddons.so.5.20.0 exit@GLIBC_2.2.5
kf5-kdbusaddons.x86_64: W: no-manual-page-for-binary kquitapp5
kf5-kdbusaddons-devel.armv7hl: I: checking
kf5-kdbusaddons-devel.armv7hl: I: network-checks-disabled http://projects.kde.org/kdbusaddons
kf5-kdbusaddons-devel.armv7hl: W: no-documentation
kf5-kdbusaddons-devel.i686: I: checking
kf5-kdbusaddons-devel.i686: I: network-checks-disabled http://projects.kde.org/kdbusaddons
kf5-kdbusaddons-devel.i686: W: no-documentation
kf5-kdbusaddons-devel.x86_64: I: checking
kf5-kdbusaddons-devel.x86_64: I: network-checks-disabled http://projects.kde.org/kdbusaddons
kf5-kdbusaddons-devel.x86_64: W: only-non-binary-in-usr-lib
kf5-kdbusaddons-devel.x86_64: W: no-documentation
6 packages and 0 specfiles checked; 0 errors, 13 warnings.

rpmlint PASSED for kf5-kdbusaddons-5.20.0-1.fc24 (0 errors, 14 warnings)
Test Plan

Manual execution works.

Diff Detail

Repository
rRPMLINT task-rpmlint
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
kparal retitled this revision from to disable network checks for binary RPMs.Apr 7 2016, 12:31 PM
kparal updated this object.
kparal edited the test plan for this revision. (Show Details)
kparal added a reviewer: libtaskotron.
tflink accepted this revision.Apr 7 2016, 6:10 PM
tflink added a reviewer: tflink.
This revision is now accepted and ready to land.Apr 7 2016, 6:10 PM
mkrizek accepted this revision.Apr 7 2016, 6:28 PM
mkrizek added a reviewer: mkrizek.
This revision was automatically updated to reflect the committed changes.