Bug 1590428 (FEDORA_KATA_SHIM) - Review Request: kata-shim - Kata shim
Summary: Review Request: kata-shim - Kata shim
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: FEDORA_KATA_SHIM
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jose Carlos Venegas Munoz
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 1650609 (view as bug list)
Depends On:
Blocks: FEDORA_KATA_TRACKER
TreeView+ depends on / blocked
 
Reported: 2018-06-12 15:05 UTC by Lokesh Mandvekar
Modified: 2019-08-02 17:31 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1650609 (view as bug list)
Environment:
Last Closed: 2019-08-02 17:31:11 UTC
Type: ---
Embargoed:
jose.carlos.venegas.munoz: fedora-review+


Attachments (Terms of Use)

Description Lokesh Mandvekar 2018-06-12 15:05:29 UTC
Spec URL: https://pagure.io/kata-shim/blob/master/f/kata-shim.spec
SRPM URL: TBD
Description: TBD
Fedora Account System Username: lsm5

Comment 1 Lokesh Mandvekar 2018-06-14 20:49:48 UTC
Spec URL: https://pagure.io/kata-rpm-reviews/blob/master/f/kata-shim/kata-shim.spec
SRPM URL: https://pagure.io/kata-rpm-reviews/blob/master/f/kata-shim/SRPMS/kata-shim-1.0.0-1.git087a537.fc28.src.rpm

Description: %{summary}

Koji: https://koji.fedoraproject.org/koji/taskinfo?taskID=27621224

$ rpmlint -i kata-shim.spec RPMS/x86_64/kata-shim-* SRPMS/kata-shim-1.0.0-1.git087a537.fc28.src.rpm 
4 packages and 1 specfiles checked; 0 errors, 0 warnings.

Comment 3 Lokesh Mandvekar 2018-11-14 20:38:53 UTC
I'll be reviewing this package and Carlos will be addressing review issues.

Comment 5 Lokesh Mandvekar 2018-11-16 16:13:29 UTC
*** Bug 1650609 has been marked as a duplicate of this bug. ***

Comment 6 Lokesh Mandvekar 2018-11-20 14:25:47 UTC
Filed Bug 1650620 since fedora-review doesn't seem to be working for me.

Comment 7 Lokesh Mandvekar 2018-11-21 18:14:17 UTC
assigning to

Comment 9 Jose Carlos Venegas Munoz 2018-11-21 22:29:27 UTC
fedora-review output completed with manual review.

Issues found:
Looking to the spec there is not any line that does that, probably a false positive.

[?]: Fully versioned dependency in subpackages if applicable.
     Note: No Requires: %{name}%{?_isa} = %{version}-%{release} in kata-
     shim-debuginfo , kata-shim-debugsource
kata-shim-debuginfo:
    debuginfo(build-id)
    kata-shim-debuginfo
    kata-shim-debuginfo(x86-64)


Package Review
==============

Legend:
[x] = Pass, [!] = Fail, [-] = Not applicable, [?] = Not evaluated
[x] = Manual review needed



===== MUST items =====

C/C++:
[x]: Package does not contain kernel modules.
[-]: Package contains no static executables.
[x]: Package does not contain any libtool archives (.la)
[x]: Rpath absent or only used for internal libs.

Generic:
[x]: Package is licensed with an open-source compatible license and meets
     other legal requirements as defined in the legal section of Packaging
     Guidelines.
[x]: License field in the package spec file matches the actual license.
     Note: Checking patched sources after %prep for licenses. Licenses
     found: "Unknown or generated", "BSD 3-clause "New" or "Revised"
     License", "ISC License", "Apache License (v2.0)", "Expat License",
     "BSD 2-clause "Simplified" License", "*No copyright* Apache License
     (v2.0)". 915 files have unknown license. Detailed output of
     licensecheck in /home/jcvenega/1590428-kata-shim/licensecheck.txt
[x]: License file installed when any subpackage combination is installed.
[x]: Package does not own files or directories owned by other packages.
     Note: Dirs in package are owned also by: /usr/lib/.build-id(qemu-ui-
     gtk, cups-client, efivar-libs, qemu-block-gluster, rpm-plugin-selinux,
     qt, kexec-tools, teamd, libvorbis, NetworkManager-openconnect-gnome,
     /usr/libexec/kata-containers(kata-shim-bin, kata-proxy-bin, kata-
     runtime)
[x]: %build honors applicable compiler flags or justifies otherwise.
[-]: Package contains no bundled libraries without FPC exception.
[x]: Changelog in prescribed format.
[x]: Sources contain only permissible code or content.
[-]: Package contains desktop file if it is a GUI application.
[-]: Development files must be in a -devel package
[x]: Package uses nothing in %doc for runtime.
[x]: Package consistently uses macros (instead of hard-coded directory
     names).
[x]: Package is named according to the Package Naming Guidelines.
[x]: Package does not generate any conflict.
[?]: Package obeys FHS, except libexecdir and /usr/target.
[-]: If the package is a rename of another package, proper Obsoletes and
     Provides are present.
[x]: Requires correct, justified where necessary.
[x]: Spec file is legible and written in American English.
[-]: Package contains systemd file(s) if in need.
[x]: Useful -debuginfo package or justification otherwise.
[x]: Package is not known to require an ExcludeArch tag.
[x]: Large documentation must go in a -doc subpackage. Large could be size
     (~1MB) or number of files.
     Note: Documentation size is 10240 bytes in 3 files.
[x]: Package complies to the Packaging Guidelines
[x]: Package successfully compiles and builds into binary rpms on at least
     one supported primary architecture.
[x]: Package installs properly.
[x]: Rpmlint is run on all rpms the build produces.
     Note: No rpmlint messages.
[x]: If (and only if) the source package includes the text of the
     license(s) in its own file, then that file, containing the text of the
     license(s) for the package is included in %license.
[x]: Package requires other packages for directories it uses.
[x]: Package must own all directories that it creates.
[x]: All build dependencies are listed in BuildRequires, except for any
     that are listed in the exceptions section of Packaging Guidelines.
[x]: Package uses either %{buildroot} or $RPM_BUILD_ROOT
[x]: Package does not run rm -rf %{buildroot} (or $RPM_BUILD_ROOT) at the
     beginning of %install.
[x]: Macros in Summary, %description expandable at SRPM build time.
[x]: Dist tag is present.
[x]: Package does not contain duplicates in %files.
[x]: Permissions on files are set properly.
[x]: Package use %makeinstall only when make install DESTDIR=... doesn't
     work.
[x]: Package is named using only allowed ASCII characters.
[x]: Package does not use a name that already exists.
[x]: Package is not relocatable.
[x]: Sources used to build the package match the upstream source, as
     provided in the spec URL.
[x]: Spec file name must match the spec package %{name}, in the format
     %{name}.spec.
[x]: File names are valid UTF-8.
[x]: Packages must not store files under /srv, /opt or /usr/local

===== SHOULD items =====

Generic:
[-]: If the source package does not include license text(s) as a separate
     file from upstream, the packager SHOULD query upstream to include it.
[x]: Final provides and requires are sane (see attachments).
[x]: Package functions as described.
[x]: Latest version is packaged.
[x]: Package does not include license text files separate from upstream.
[-]: Description and summary sections in the package spec file contains
     translations for supported Non-English languages, if available.
[x]: Package should compile and build into binary rpms on all supported
     architectures.
[-]: %check is present and all tests pass.
shim check target is not compatible

[x]: Packages should try to preserve timestamps of original installed
     files.
[x]: Reviewer should test that the package builds in mock.
[x]: Buildroot is not present
[x]: Package has no %clean section with rm -rf %{buildroot} (or
     $RPM_BUILD_ROOT)
[x]: No file requires outside of /etc, /bin, /sbin, /usr/bin, /usr/sbin.
[x]: Packager, Vendor, PreReq, Copyright tags should not be in spec file
[x]: Sources can be downloaded from URI in Source: tag
[x]: SourceX is a working URL.
[x]: Spec use %global instead of %define unless justified.

===== EXTRA items =====

Generic:
[x]: Rpmlint is run on debuginfo package(s).
     Note: No rpmlint messages.
[x]: Rpmlint is run on all installed packages.
     Note: There are rpmlint messages (see attachment).
[x]: Large data in /usr/share should live in a noarch subpackage if package
     is arched.
[x]: Spec file according to URL is the same as in SRPM.


Rpmlint
-------
Checking: kata-shim-1.3.1-6.git58f757d.fc28.x86_64.rpm
          kata-shim-debuginfo-1.3.1-6.git58f757d.fc28.x86_64.rpm
          kata-shim-debugsource-1.3.1-6.git58f757d.fc28.x86_64.rpm
          kata-shim-1.3.1-6.git58f757d.fc28.src.rpm
4 packages and 0 specfiles checked; 0 errors, 0 warnings.




Rpmlint (debuginfo)
-------------------
Checking: kata-shim-debuginfo-1.3.1-6.git58f757d.fc28.x86_64.rpm
1 packages and 0 specfiles checked; 0 errors, 0 warnings.


Rpmlint (installed packages)
----------------------------
sh: /usr/bin/python: No such file or directory
kata-shim.x86_64: W: invalid-url URL: https://github.com/kata-containers/shim <urlopen error [Errno -2] Name or service not known>
kata-shim-debuginfo.x86_64: W: invalid-url URL: https://github.com/kata-containers/shim <urlopen error [Errno -2] Name or service not known>
kata-shim-debugsource.x86_64: W: invalid-url URL: https://github.com/kata-containers/shim <urlopen error [Errno -2] Name or service not known>
3 packages and 0 specfiles checked; 0 errors, 3 warnings.



Requires
--------
kata-shim (rpmlib, GLIBC filtered):
    libc.so.6()(64bit)
    libpthread.so.0()(64bit)
    rtld(GNU_HASH)

kata-shim-debuginfo (rpmlib, GLIBC filtered):

kata-shim-debugsource (rpmlib, GLIBC filtered):



Provides
--------
kata-shim:
    bundled(golang(github.com/Azure/go-ansiterm))
    bundled(golang(github.com/davecgh/go-spew))
    bundled(golang(github.com/docker/docker))
    bundled(golang(github.com/gogo/protobuf))
    bundled(golang(github.com/golang/protobuf))
    bundled(golang(github.com/kata-containers/agent))
    bundled(golang(github.com/kr/pty))
    bundled(golang(github.com/mdlayher/vsock))
    bundled(golang(github.com/moby/moby))
    bundled(golang(github.com/opencontainers/runtime-spec))
    bundled(golang(github.com/pmezard/go-difflib))
    bundled(golang(github.com/sirupsen/logrus))
    bundled(golang(github.com/stretchr/testify))
    bundled(golang(golang.org/x/crypto))
    bundled(golang(golang.org/x/net))
    bundled(golang(golang.org/x/sys))
    bundled(golang(golang.org/x/text))
    bundled(golang(google.golang.org/genproto))
    bundled(golang(google.golang.org/grpc))
    kata-shim
    kata-shim(x86-64)

[?]: Fully versioned dependency in subpackages if applicable.
     Note: No Requires: %{name}%{?_isa} = %{version}-%{release} in kata-
     shim-debuginfo , kata-shim-debugsource
kata-shim-debuginfo:
    debuginfo(build-id)
    kata-shim-debuginfo
    kata-shim-debuginfo(x86-64)

kata-shim-debugsource:
    kata-shim-debugsource
    kata-shim-debugsource(x86-64)



Source checksums
----------------
https://github.com/kata-containers/shim/archive/58f757db41fea7c69bf55785b3273c773a130911/shim-58f757db41fea7c69bf55785b3273c773a130911.tar.gz :
  CHECKSUM(SHA256) this package     : 08d23ccf85985341ab1af7718b98524c253880343960df267351f254a5dac78b
  CHECKSUM(SHA256) upstream package : 08d23ccf85985341ab1af7718b98524c253880343960df267351f254a5dac78b


Generated by fedora-review 0.6.1 (f03e4e7) last change: 2016-05-02
Command line :/usr/bin/fedora-review -b 1590428
Buildroot used: fedora-28-x86_64
Active plugins: Generic, Shell-api, C/C++
Disabled plugins: Java, Python, fonts, SugarActivity, Ocaml, Perl, Haskell, R, PHP
Disabled flags: EXARCH, DISTTAG, EPEL5, BATCH, EPEL6

Comment 10 Gwyn Ciesla 2018-12-12 14:50:26 UTC
(fedscm-admin):  The Pagure repository was created at https://src.fedoraproject.org/rpms/kata-shim

Comment 11 Cole Robinson 2019-08-02 17:31:11 UTC
kata-shim seems to be in Fedora repos nowadays, so closing this


Note You need to log in before you can comment on or make changes to this bug.