#1 New Check: rpmgrill
Closed: Fixed None Opened 10 years ago by tflink.

The env-and-stacks folks have been expressing interest in getting rpmgrill running in Taskotron. It should be a good fit with what we have so far but there are some things needed before it can happen (including writing the task itself).

This is a tracking ticket for the things needed to get rpmgrill running.


I tried to use rpmgrill, here is what I found so far:

  • it is in hideous langauage, fortunately if we use it through python directive, only perl we have to deal is call in sub.Popen()
  • it seems that we won't be able to use our koji directive to dowload rpms, rpmgrill comes with its own download tool which fetches all archs from build and creates directory structure that is expected as input for rpmgrill
  • output is (among json and xml) in yaml, which is fine, here is example output:
---
results:
  timestamp: 1408441673
  tool: rpmgrill
  version: 0.01-0.25-2-19-g21edf37
package:
  name: libteam
  version: 1.12
  release: 1.fc20
tests:
  - '002 VirusCheck       : completed (6s)'
  - '005 SpecFileSanity   : completed (0s)'
  - '010 SpecFileEncoding : completed (0s)'
  - '012 LibGather        : completed (1s)'
  - '014 ElfChecks        : completed (0s)':
      - arch: 'armv7hl,i686,x86_64'
        code: DaemonPartialRELRO
        diag: 'Daemon file compiled with only partial RELRO (should be full): <tt>/usr/bin/teamd</tt>'
        subpackage: teamd
  - '015 Patches          : completed (0s)'
  - '016 SecurityPolicy   : completed (0s)'
  - '020 Multilib         : completed (0s)'
  - '030 Manifest         : completed (0s)'
  - '045 ManPages         : completed (0s)':
      - arch: 'armv7hl,i686,x86_64'
        code: ManPageMissing
        diag: 'No man page for <tt>/usr/lib/systemd/system/teamd@.service</tt>'
        subpackage: teamd
  - '090 RpmScripts       : completed (0s)'
  - '091 Setxid           : completed (0s)'
  - '092 BuildLog         : completed (0s)'
  - '093 DesktopLint      : completed (0s)'
  • beside the output above, I didn't find any outcome or summary (pass, fail etc.)

This issue depended on a ticket not moved from Phabricator.
T304: Ensure that rpmgrill is packaged and in repo

Since there has been interest in running [[ https://git.fedorahosted.org/git/rpmgrill.git | rpmgrill ]] in taskotron, rpmgrill itself needs to be packaged (spec file included) and in repo so we can easily use it in taskotron as check.

Metadata Update from @tflink:
- Issue marked as depending on: #2
- Issue marked as depending on: #3
- Issue marked as depending on: #4

7 years ago

Log in to comment on this ticket.

Metadata