RDO tickets are now tracked in Jira https://issues.redhat.com/projects/RDO/issues/
Bug 1228118 - Review Request: openstack-neutron-fwaas - Openstack Networking FWaaS plugin
Summary: Review Request: openstack-neutron-fwaas - Openstack Networking FWaaS plugin
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: RDO
Classification: Community
Component: Package Review
Version: trunk
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
: ---
Assignee: Nobody's working on this, feel free to take it
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: RDO-NEWTON
TreeView+ depends on / blocked
 
Reported: 2015-06-04 08:57 UTC by Ihar Hrachyshka
Modified: 2016-09-01 20:06 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2016-09-01 20:06:39 UTC
Embargoed:
karlthered: rdo-review+


Attachments (Terms of Use)

Description Ihar Hrachyshka 2015-06-04 08:57:57 UTC
Spec URL: https://ihrachyshka.fedorapeople.org/openstack-neutron-fwaas.spec
SRPM URL: https://ihrachyshka.fedorapeople.org/openstack-neutron-fwaas-2015.1.0-3.fc22.src.rpm
Description: This is a FWaaS service plugin for Openstack Neutron (Networking) service.
Fedora Account System Username: ihrachyshka

Comment 1 Ihar Hrachyshka 2015-07-15 08:04:33 UTC
Can we make it going?..

Comment 2 Miroslav Suchý 2015-09-09 17:11:15 UTC
- Package uses either %{buildroot} or $RPM_BUILD_ROOT
  Note: Using both %{buildroot} and $RPM_BUILD_ROOT
  See: http://fedoraproject.org/wiki/Packaging/Guidelines#macros

- Package requires other packages for directories it uses.
  Note: No known owner of /usr/share/neutron/l3_agent
  You should either require package which owns it or own that directory.

python-neutron-fwaas-tests.noarch: E: non-executable-script /usr/lib/python2.7/site-packages/neutron_fwaas/tests/contrib/post_test_hook.sh 644 /bin/bash
python-neutron-fwaas-tests.noarch: E: non-executable-script /usr/lib/python2.7/site-packages/neutron_fwaas/tests/contrib/gate_hook.sh 644 /bin/bash
- Either remove shebang from first line or add executable attribute.

Comment 3 Ihar Hrachyshka 2015-09-11 15:24:49 UTC
Fixed buildroot.

Directories belong to openstack-neutron package that we depend on.

For scripts, I've sent an upstream review: https://review.openstack.org/222668

Comment 4 Upstream Release Monitoring 2015-10-13 11:08:06 UTC
social's scratch build of openstack-puppet-modules?#db4e135626252ebf0b23b8a0e6e98ce0dcf2f9e6 for git://pkgs.fedoraproject.org/openstack-puppet-modules?#db4e135626252ebf0b23b8a0e6e98ce0dcf2f9e6 and rawhide completed http://koji.fedoraproject.org/koji/taskinfo?taskID=11426591

Comment 5 Haïkel Guémar 2016-09-01 20:06:39 UTC
Package Review
==============

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



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

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: "Apache (v2.0)", "Unknown or generated", "*No copyright* Apache
     (v2.0)". 17 files have unknown license. Detailed output of
     licensecheck in /home/haikel/1228106-openstack-neutron-vpnaas/1228118
     -openstack-neutron-fwaas/licensecheck.txt
[x]: License file installed when any subpackage combination is installed.
[x]: Package requires other packages for directories it uses.
     Note: No known owner of /usr/share/neutron, /etc/neutron,
     /usr/share/neutron/l3_agent
[x]: Package must own all directories that it creates.
     Note: Directories without known owners: /usr/share/neutron,
     /etc/neutron, /usr/share/neutron/l3_agent
[x]: 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.
[x]: 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.
[x]: Package contains systemd file(s) if in need.
[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 20480 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: There are rpmlint messages (see attachment).
[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 does not own files or directories owned by other packages.
[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]: %config files are marked noreplace or the reason is justified.
[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]: No %config files under /usr.
[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

Python:
[x]: Python eggs must not download any dependencies during the build
     process.
[x]: A package which is used by another package via an egg interface should
     provide egg info.
[x]: Package meets the Packaging Guidelines::Python
[x]: Package contains BR: python2-devel or python3-devel
[x]: Binary eggs must be removed in %prep

===== 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).
[-]: Fully versioned dependency in subpackages if applicable.
     Note: No Requires: %{name}%{?_isa} = %{version}-%{release} in python-
     neutron-fwaas , python-neutron-fwaas-tests
[x]: Package functions as described.
[x]: Latest version is packaged.
[-]: 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.
[x]: %check is present and all tests pass.
[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 all installed packages.
     Note: There are rpmlint messages (see attachment).


Rpmlint
-------
Checking: openstack-neutron-fwaas-2015.1.0-3.el7.noarch.rpm
          python-neutron-fwaas-2015.1.0-3.el7.noarch.rpm
          python-neutron-fwaas-tests-2015.1.0-3.el7.noarch.rpm
          openstack-neutron-fwaas-2015.1.0-3.el7.src.rpm
openstack-neutron-fwaas.noarch: W: non-standard-gid /etc/neutron/fwaas_driver.ini neutron
openstack-neutron-fwaas.noarch: E: non-readable /etc/neutron/fwaas_driver.ini 640
python-neutron-fwaas.noarch: W: no-documentation
python-neutron-fwaas-tests.noarch: W: no-documentation
python-neutron-fwaas-tests.noarch: E: non-executable-script /usr/lib/python2.7/site-packages/neutron_fwaas/tests/contrib/post_test_hook.sh 644 /bin/bash
python-neutron-fwaas-tests.noarch: E: non-executable-script /usr/lib/python2.7/site-packages/neutron_fwaas/tests/contrib/gate_hook.sh 644 /bin/bash
4 packages and 0 specfiles checked; 3 errors, 3 warnings.




Rpmlint (installed packages)
----------------------------
openstack-neutron-fwaas.noarch: W: invalid-url URL: http://launchpad.net/neutron/ <urlopen error [Errno -2] Name or service not known>
openstack-neutron-fwaas.noarch: W: non-standard-gid /etc/neutron/fwaas_driver.ini neutron
openstack-neutron-fwaas.noarch: E: non-readable /etc/neutron/fwaas_driver.ini 0640L
python-neutron-fwaas-tests.noarch: W: invalid-url URL: http://launchpad.net/neutron/ <urlopen error [Errno -2] Name or service not known>
python-neutron-fwaas-tests.noarch: W: no-documentation
python-neutron-fwaas-tests.noarch: E: non-executable-script /usr/lib/python2.7/site-packages/neutron_fwaas/tests/contrib/post_test_hook.sh 0644L /bin/bash
python-neutron-fwaas-tests.noarch: E: non-executable-script /usr/lib/python2.7/site-packages/neutron_fwaas/tests/contrib/gate_hook.sh 0644L /bin/bash
python-neutron-fwaas.noarch: W: invalid-url URL: http://launchpad.net/neutron/ <urlopen error [Errno -2] Name or service not known>
python-neutron-fwaas.noarch: W: no-documentation
3 packages and 0 specfiles checked; 3 errors, 6 warnings.



Diff spec file in url and in SRPM
---------------------------------
--- /home/haikel/1228106-openstack-neutron-vpnaas/1228118-openstack-neutron-fwaas/srpm/openstack-neutron-fwaas.spec	2016-09-01 17:19:11.324078628 +0200
+++ /home/haikel/1228106-openstack-neutron-vpnaas/1228118-openstack-neutron-fwaas/srpm-unpacked/openstack-neutron-fwaas.spec	2015-06-04 13:55:22.000000000 +0200
@@ -82,5 +82,5 @@
 export PBR_VERSION=%{version}
 export SKIP_PIP_INSTALL=1
-%{__python2} setup.py install -O1 --skip-build --root %{buildroot}
+%{__python2} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT

 # Move config files to proper location


Requires
--------
openstack-neutron-fwaas (rpmlib, GLIBC filtered):
    config(openstack-neutron-fwaas)
    openstack-neutron
    python-neutron-fwaas

python-neutron-fwaas-tests (rpmlib, GLIBC filtered):
    python(abi)
    python-neutron-fwaas

python-neutron-fwaas (rpmlib, GLIBC filtered):
    python(abi)
    python-alembic
    python-eventlet
    python-netaddr
    python-neutron
    python-oslo-config
    python-oslo-db
    python-oslo-log
    python-oslo-messaging
    python-oslo-serialization
    python-oslo-utils
    python-pbr
    python-requests
    python-six
    python-sqlalchemy



Provides
--------
openstack-neutron-fwaas:
    config(openstack-neutron-fwaas)
    openstack-neutron-fwaas

python-neutron-fwaas-tests:
    python-neutron-fwaas-tests

python-neutron-fwaas:
    python-neutron-fwaas



Source checksums
----------------
http://launchpad.net/neutron/kilo/2015.1.0/+download/neutron-fwaas-2015.1.0.tar.gz :
  CHECKSUM(SHA256) this package     : a4846260d36a4e34d198d15254c26f1f3742318db74875d9dcbb18c1abdbd431
  CHECKSUM(SHA256) upstream package : a4846260d36a4e34d198d15254c26f1f3742318db74875d9dcbb18c1abdbd431


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


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