Bug 1748791
| Summary: | New package: python-tobiko - New testing framework for OpenStack | ||
|---|---|---|---|
| Product: | [Community] RDO | Reporter: | Slawek Kaplonski <skaplons> |
| Component: | Package Review | Assignee: | Yatin Karel <ykarel> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | hguemar |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | trunk | CC: | ykarel |
| Target Milestone: | Milestone3 | Flags: | ykarel:
rdo-review+
|
| Target Release: | trunk | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-07-31 14:47:12 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1706123 | ||
|
Description
Slawek Kaplonski
2019-09-04 08:00:12 UTC
$ licensecheck -r .|grep -v UNKNOWN ./LICENSE: *No copyright* Apache License (v2.0) ./README.rst: *No copyright* Apache License (v2.0) ./setup.cfg: *No copyright* Apache License ./setup.py: Apache License (v2.0) GENERATED FILE ./playbooks/post-tobiko-devstack.yaml: Apache License (v2.0) ./playbooks/tobiko-devstack.yaml: Apache License (v2.0) ./tobiko/__init__.py: Apache License (v2.0) ./tobiko/config.py: Apache License (v2.0) ./tobiko/version.py: Apache License (v2.0) ./doc/source/conf.py: Apache License (v2.0) ./doc/source/index.rst: *No copyright* GENERATED FILE ./releasenotes/source/conf.py: Apache License (v2.0) ./tobiko/cmd/base.py: Apache License (v2.0) ./tobiko/cmd/create.py: Apache License (v2.0) ./tobiko/cmd/delete.py: Apache License (v2.0) ./tobiko/cmd/fault.py: Apache License (v2.0) ./tobiko/cmd/fixture.py: Apache License (v2.0) ./tobiko/cmd/list.py: Apache License (v2.0) ./tobiko/cmd/run.py: Apache License (v2.0) ./tobiko/common/_asserts.py: Apache License (v2.0) ./tobiko/common/_detail.py: Apache License (v2.0) ./tobiko/common/_exception.py: Apache License (v2.0) ./tobiko/common/_fixture.py: Apache License (v2.0) ./tobiko/common/_logging.py: Apache License (v2.0) ./tobiko/common/_os.py: Apache License (v2.0) ./tobiko/common/_select.py: Apache License (v2.0) ./tobiko/common/_skip.py: Apache License (v2.0) ./tobiko/fault/config.py: Apache License (v2.0) ./tobiko/fault/constants.py: Apache License (v2.0) ./tobiko/fault/executor.py: Apache License (v2.0) ./tobiko/openstack/_client.py: Apache License (v2.0) ./tobiko/tests/base.py: Apache License (v2.0) ./tobiko/tripleo/config.py: Apache License (v2.0) ./tobiko/tripleo/overcloud.py: Apache License (v2.0) ./tobiko/tripleo/undercloud.py: Apache License (v2.0) ./doc/source/configuration/index.rst: *No copyright* GENERATED FILE ./doc/source/contributor/index.rst: *No copyright* Apache License (v2.0) ./doc/source/reference/index.rst: *No copyright* Apache License (v2.0) ./tobiko/common/managers/ansible.py: Apache License (v2.0) ./tobiko/common/managers/fault.py: Apache License (v2.0) ./tobiko/common/managers/loader.py: Apache License (v2.0) ./tobiko/common/managers/testcase.py: Apache License (v2.0) ./tobiko/openstack/glance/__init__.py: Apache License (v2.0) ./tobiko/openstack/glance/_client.py: Apache License (v2.0) ./tobiko/openstack/glance/_image.py: Apache License (v2.0) ./tobiko/openstack/glance/_io.py: Apache License (v2.0) ./tobiko/openstack/glance/_lzma.py: Apache License (v2.0) ./tobiko/openstack/glance/config.py: Apache License (v2.0) ./tobiko/openstack/heat/__init__.py: Apache License (v2.0) ./tobiko/openstack/heat/_client.py: Apache License (v2.0) ./tobiko/openstack/heat/_stack.py: Apache License (v2.0) ./tobiko/openstack/heat/_template.py: Apache License (v2.0) ./tobiko/openstack/keystone/__init__.py: Apache License (v2.0) ./tobiko/openstack/keystone/_client.py: Apache License (v2.0) ./tobiko/openstack/keystone/_config_files.py: Apache License (v2.0) ./tobiko/openstack/keystone/_credentials.py: Apache License (v2.0) ./tobiko/openstack/keystone/_services.py: Apache License (v2.0) ./tobiko/openstack/keystone/_session.py: Apache License (v2.0) ./tobiko/openstack/keystone/config.py: Apache License (v2.0) ./tobiko/openstack/neutron/__init__.py: Apache License (v2.0) ./tobiko/openstack/neutron/_agent.py: Apache License (v2.0) ./tobiko/openstack/neutron/_cidr.py: Apache License (v2.0) ./tobiko/openstack/neutron/_client.py: Apache License (v2.0) ./tobiko/openstack/neutron/_exceptions.py: Apache License (v2.0) ./tobiko/openstack/neutron/_extension.py: Apache License (v2.0) ./tobiko/openstack/neutron/config.py: Apache License (v2.0) ./tobiko/openstack/nova/__init__.py: Apache License (v2.0) ./tobiko/openstack/nova/_client.py: Apache License (v2.0) ./tobiko/openstack/nova/_hypervisor.py: Apache License (v2.0) ./tobiko/openstack/nova/_server.py: Apache License (v2.0) ./tobiko/openstack/nova/config.py: Apache License (v2.0) ./tobiko/openstack/octavia/__init__.py: Apache License (v2.0) ./tobiko/openstack/octavia/_client.py: Apache License (v2.0) ./tobiko/openstack/stacks/__init__.py: Apache License (v2.0) ./tobiko/openstack/stacks/_centos.py: Apache License (v2.0) ./tobiko/openstack/stacks/_cirros.py: Apache License (v2.0) ./tobiko/openstack/stacks/_hot.py: Apache License (v2.0) ./tobiko/openstack/stacks/_l3ha.py: Apache License (v2.0) ./tobiko/openstack/stacks/_neutron.py: Apache License (v2.0) ./tobiko/openstack/stacks/_nova.py: Apache License (v2.0) ./tobiko/openstack/stacks/_ubuntu.py: Apache License (v2.0) ./tobiko/shell/ping/__init__.py: Apache License (v2.0) ./tobiko/shell/ping/_exception.py: Apache License (v2.0) ./tobiko/shell/ping/_parameters.py: Apache License (v2.0) ./tobiko/shell/ping/_ping.py: Apache License (v2.0) ./tobiko/shell/ping/_statistics.py: Apache License (v2.0) ./tobiko/shell/ping/config.py: Apache License (v2.0) ./tobiko/shell/sh/__init__.py: Apache License (v2.0) ./tobiko/shell/sh/_command.py: Apache License (v2.0) ./tobiko/shell/sh/_exception.py: Apache License (v2.0) ./tobiko/shell/sh/_execute.py: Apache License (v2.0) ./tobiko/shell/sh/_io.py: Apache License (v2.0) ./tobiko/shell/sh/_local.py: Apache License (v2.0) ./tobiko/shell/sh/_path.py: Apache License (v2.0) ./tobiko/shell/sh/_process.py: Apache License (v2.0) ./tobiko/shell/sh/_ssh.py: Apache License (v2.0) ./tobiko/shell/sh/config.py: Apache License (v2.0) ./tobiko/shell/ssh/__init__.py: Apache License (v2.0) ./tobiko/shell/ssh/_client.py: Apache License (v2.0) ./tobiko/shell/ssh/_command.py: Apache License (v2.0) ./tobiko/shell/ssh/_config.py: Apache License (v2.0) ./tobiko/shell/ssh/config.py: Apache License (v2.0) ./tobiko/tests/unit/__init__.py: Apache License (v2.0) ./tobiko/tests/unit/_case.py: Apache License (v2.0) ./tobiko/tests/unit/_patch.py: Apache License (v2.0) ./tobiko/tests/unit/test_assert.py: Apache License (v2.0) ./tobiko/tests/unit/test_config.py: Apache License (v2.0) ./tobiko/tests/unit/test_exception.py: Apache License (v2.0) ./tobiko/tests/unit/test_fixture.py: Apache License (v2.0) ./tobiko/tests/unit/test_loader.py: Apache License (v2.0) ./tobiko/tests/unit/test_logging.py: Apache License (v2.0) ./tobiko/tests/unit/test_skip.py: Apache License (v2.0) ./tobiko/tests/unit/test_testcase.py: Apache License (v2.0) ./tobiko/tests/functional/openstack/test_glance.py: Apache License (v2.0) ./tobiko/tests/functional/openstack/test_keystone.py: Apache License (v2.0) ./tobiko/tests/functional/openstack/test_neutron.py: Apache License (v2.0) ./tobiko/tests/functional/openstack/test_nova.py: Apache License (v2.0) ./tobiko/tests/functional/shell/test_execute.py: Apache License (v2.0) ./tobiko/tests/functional/shell/test_ping.py: Apache License (v2.0) ./tobiko/tests/functional/tripleo/test_overcloud.py: Apache License (v2.0) ./tobiko/tests/functional/tripleo/test_undercloud.py: Apache License (v2.0) ./tobiko/tests/scenario/neutron/test_floating_ip.py: Apache License (v2.0) ./tobiko/tests/scenario/neutron/test_network.py: Apache License (v2.0) ./tobiko/tests/scenario/nova/test_server.py: Apache License (v2.0) ./tobiko/tests/unit/cmd/test_base.py: Apache License (v2.0) ./tobiko/tests/unit/cmd/test_fault.py: Apache License (v2.0) ./tobiko/tests/unit/cmd/test_fixture.py: Apache License (v2.0) ./tobiko/tests/unit/fault/test_fault.py: Apache License (v2.0) ./tobiko/tests/unit/openstack/__init__.py: Apache License (v2.0) ./tobiko/tests/unit/openstack/_case.py: Apache License (v2.0) ./tobiko/tests/unit/openstack/_keystone.py: Apache License (v2.0) ./tobiko/tests/unit/openstack/test_client.py: Apache License (v2.0) ./tobiko/tests/unit/shell/test_ssh.py: Apache License (v2.0) ./tobiko/tests/unit/tripleo/test_config.py: Apache License (v2.0) ./tobiko/tests/functional/openstack/stacks/test_centos.py: Apache License (v2.0) ./tobiko/tests/functional/openstack/stacks/test_cirros.py: Apache License (v2.0) ./tobiko/tests/functional/openstack/stacks/test_neutron.py: Apache License (v2.0) ./tobiko/tests/functional/openstack/stacks/test_ubuntu.py: Apache License (v2.0) ./tobiko/tests/unit/openstack/heat/test_client.py: Apache License (v2.0) ./tobiko/tests/unit/openstack/heat/test_stack.py: Apache License (v2.0) ./tobiko/tests/unit/openstack/heat/test_template.py: Apache License (v2.0) ./tobiko/tests/unit/openstack/keystone/test_client.py: Apache License (v2.0) ./tobiko/tests/unit/openstack/keystone/test_credentials.py: Apache License (v2.0) ./tobiko/tests/unit/openstack/keystone/test_session.py: Apache License (v2.0) ./tobiko/tests/unit/openstack/neutron/test_client.py: Apache License (v2.0) ./tobiko/tests/unit/openstack/neutron/test_extension.py: Apache License (v2.0) ./tobiko/tests/unit/openstack/nova/test_client.py: Apache License (v2.0) ./tobiko/tests/unit/openstack/octavia/test_client.py: Apache License (v2.0) ./tobiko/tests/unit/shell/sh/test_io.py: Apache License (v2.0) License is ASL 2.0. Initial specs patch https://review.rdoproject.org/r/#/c/22159/ SRPM can be found in https://logs.rdoproject.org/59/22159/14/check/legacy-DLRN-rpmbuild/c4e3aba/buildset/centos/repos/5c/18/5c183896980769476620e215d215ebb5cadebc81_dev/ Fedora Package review:-
Package Review
==============
Legend:
[x] = Pass, [!] = Fail, [-] = Not applicable, [?] = Not evaluated
[ ] = Manual review needed
Some issues observed but are ok with below reasoning:-
- Changelog not in described format:- Tool DLRN takes care of it
- %check is present and all tests pass. - Author mentioned to include %check in followup
- Spec use %global instead of %define unless justified:- Tool DLRN takes care of it
===== 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: "Unknown or generated", "*No copyright* Apache License (v2.0)",
"*No copyright* Apache License", "Apache License (v2.0)". 83 files
have unknown license. Detailed output of licensecheck in
/tmp/openstack-tobiko/licensecheck.txt
[x]: Package contains no bundled libraries without FPC exception.
[!]: 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.
[x]: 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 10240 bytes in 1 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 requires other packages for directories it uses.
[x]: Package must own all directories that it creates.
[x]: Package does not own files or directories owned by other packages.
[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 must not depend on deprecated() packages.
[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
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]: Packages MUST NOT have dependencies (either build-time or runtime) on
packages named with the unversioned python- prefix unless no properly
versioned package exists. Dependencies on Python packages instead MUST
use names beginning with python2- or python3- as appropriate.
[x]: Python packages must not contain %{pythonX_site(lib|arch)}/* in %files
[x]: Binary eggs must be removed in %prep
===== SHOULD items =====
Generic:
[x]: 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).
[?]: Package functions as described.
[x]: Latest version is packaged.
[x]: Package does not include license text files separate from upstream.
[x]: SourceX tarball generation or download is documented.
Note: Package contains tarball without URL, check comments
[x]: Description and summary sections in the package spec file contains
translations for supported Non-English languages, if available.
[?]: Package should compile and build into binary rpms on all supported
architectures.
[!]: %check is present and all tests pass.
[x]: Packages should try to preserve timestamps of original installed
files.
[!]: Spec use %global instead of %define unless justified.
Note: %define requiring justification: %define upstream_version
0.1.2.dev195
[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]: SourceX is a working URL.
===== EXTRA items =====
Generic:
[x]: Rpmlint is run on all installed packages.
Note: There are rpmlint messages (see attachment).
Rpmlint
-------
Checking: python3-tobiko-0.1.2-0.20190917100456.a6014b9.fc28.noarch.rpm
openstack-tobiko-0.1.2-0.20190917100456.a6014b9.fc28.src.rpm
python3-tobiko.noarch: E: no-changelogname-tag
python3-tobiko.noarch: W: no-manual-page-for-binary tobiko
python3-tobiko.noarch: W: no-manual-page-for-binary tobiko-create
python3-tobiko.noarch: W: no-manual-page-for-binary tobiko-delete
python3-tobiko.noarch: W: no-manual-page-for-binary tobiko-fault
python3-tobiko.noarch: W: no-manual-page-for-binary tobiko-fixture
python3-tobiko.noarch: W: no-manual-page-for-binary tobiko-keystone-credentials
python3-tobiko.noarch: W: no-manual-page-for-binary tobiko-list
openstack-tobiko.src: E: no-changelogname-tag
openstack-tobiko.src: W: strange-permission openstack-tobiko.spec 600
openstack-tobiko.src: W: invalid-url Source0: tobiko-0.1.2.dev195-0.20190917100456.a6014b9.tar.gz
2 packages and 0 specfiles checked; 2 errors, 9 warnings.
Rpmlint (installed packages)
----------------------------
python3-tobiko.noarch: E: no-changelogname-tag
python3-tobiko.noarch: W: invalid-url URL: https://opendev.org/x/tobiko/ <urlopen error [Errno -2] Name or service not known>
python3-tobiko.noarch: W: no-manual-page-for-binary tobiko
python3-tobiko.noarch: W: no-manual-page-for-binary tobiko-create
python3-tobiko.noarch: W: no-manual-page-for-binary tobiko-delete
python3-tobiko.noarch: W: no-manual-page-for-binary tobiko-fault
python3-tobiko.noarch: W: no-manual-page-for-binary tobiko-fixture
python3-tobiko.noarch: W: no-manual-page-for-binary tobiko-keystone-credentials
python3-tobiko.noarch: W: no-manual-page-for-binary tobiko-list
1 packages and 0 specfiles checked; 1 errors, 8 warnings.
Requires
--------
python3-tobiko (rpmlib, GLIBC filtered):
/usr/bin/python3
python(abi)
python3-eventlet
python3-fixtures
python3-glanceclient
python3-heatclient
python3-jinja2
python3-keystoneauth1
python3-netaddr
python3-neutron-lib
python3-neutronclient
python3-novaclient
python3-octaviaclient
python3-openstackclient
python3-os-faults
python3-oslo-config
python3-oslo-log
python3-paramiko
python3-pbr
python3-six
python3-stestr
python3-testtools
Provides
--------
python3-tobiko:
python3-tobiko
python3.6dist(tobiko)
python3dist(tobiko)
Package openstack-tobiko is Approved.
tobiko is available in RDO since Train release, closing it. |