Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1914740 - Review Request: rteval-loads - Provide source for system loads for rteval
Summary: Review Request: rteval-loads - Provide source for system loads for rteval
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jiri Kastner
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1914739
TreeView+ depends on / blocked
 
Reported: 2021-01-11 05:29 UTC by John Kacur
Modified: 2021-03-25 01:14 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-02-04 01:10:41 UTC
Type: ---
Embargoed:
cz172638: fedora-review+


Attachments (Terms of Use)

Description John Kacur 2021-01-11 05:29:09 UTC
Spec URL: https://jkacur.fedorapeople.org/rteval-loads.spec
SRPM URL: https://jkacur.fedorapeople.org/rteval-loads-1.4-11.el8.src.rpm
Description: This package provides source code for system loads used by the rteval package
Fedora Account System Username: jkacur

Comment 2 Jiri Kastner 2021-01-20 13:19:52 UTC
i didn't liked this concept years ago, nothing changed :)

as it is publicly available tarball signed with checksums also publicly available, i suggest instead create helper which will download file from cdn.kernel.org, verify it and creates rpm if needed for offline sites.

would be that problem?

Comment 3 John Kacur 2021-01-21 23:42:00 UTC
(In reply to Jiri Kastner from comment #2)
> i didn't liked this concept years ago, nothing changed :)
> 
> as it is publicly available tarball signed with checksums also publicly
> available, i suggest instead create helper which will download file from
> cdn.kernel.org, verify it and creates rpm if needed for offline sites.
> 
> would be that problem?

While I understand what you are saying, I don't think that would be acceptable.
rteval (which needs a review too - https://bugzilla.redhat.com/show_bug.cgi?id=1914739
requires a tested version of the linux kernel for a load and placed in the correct location.

Just think, when you create a packaged version of the linux kernel for fedora, you don't have a script
that is installed and fetches it, the kernel itself is packaged in the rpm.

It is possible that rt-loads could contain other loads in the future as it did in the past,
but currently it only carries the linux kernel and rt-tests has everything else necessary.

The only alternative would be for the rteval package to carry the kernel itself.
The problem there is that the kernel is relatively large. You could have a one or two line
fix to some python code and still require the user to download a new version with the kernel in it.

This way, rteval-loads is already installed and doesn't have to be updated nearly as often
as rteval, so while I do understand your objection, nobody has come up with something better yet.

Comment 4 John Kacur 2021-01-28 19:49:50 UTC
Followed Jiri's suggestion to move the Requires from the rteval-loads.spec to the rteval.spec
since we are only delivering a load here, and not building it.


* Thu Jan 28 2021 John Kacur <jkacur> - 1.4-12
- Since this package only delivers kernel, moving the spec requires
  for building it to the rteval packages

https://koji.fedoraproject.org/koji/taskinfo?taskID=60764576
https://jkacur.fedorapeople.org/rteval-loads-1.4-12.el8.src.rpm
https://jkacur.fedorapeople.org/rteval-loads.spec

Comment 5 Jiri Kastner 2021-02-01 17:07:00 UTC
Package Review
==============

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



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

Generic:
[ ]: Package is licensed with an open-source compatible license and meets
     other legal requirements as defined in the legal section of Packaging
     Guidelines.
[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.

license of kernel source is known, no objections

[x]: License field in the package spec file matches the actual license.
     Note: There is no build directory. Running licensecheck on vanilla
     upstream sources. No licenses found. Please check the source files for
     licenses manually.
see above

[-]: Package requires other packages for directories it uses.
     Note: No known owner of /usr/share/rteval

this package provides 'payload' for kcompile test, which is default
in rteval.

[-]: Package must own all directories that it creates.
     Note: Directories without known owners: /usr/share/rteval

see above

[x]: Package contains no bundled libraries without FPC exception.
[x]: Changelog in prescribed format.
[x]: Sources contain only permissible code or content.
[x]: Each %files section contains %defattr if rpm < 4.4
     Note: %defattr present but not needed
[-]: Package contains desktop file if it is a GUI application.
[-]: Development files must be in a -devel package
[-]: 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.
[-]: Package contains systemd file(s) if in need.
[-]: Package is not known to require an ExcludeArch tag.
[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]: 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]: Large documentation must go in a -doc subpackage. Large could be size
     (~1MB) or number of files.
     Note: Documentation size is 0 bytes in 0 files.
[x]: Packages must not store files under /srv, /opt or /usr/local

Comment 6 Jiri Kastner 2021-02-01 17:19:48 UTC
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.

see above comment, license is known

Comment 7 Mohan Boddu 2021-02-02 20:54:18 UTC
(fedscm-admin):  The Pagure repository was created at https://src.fedoraproject.org/rpms/rteval-loads

Comment 8 Fedora Update System 2021-03-15 22:55:57 UTC
FEDORA-2021-3d4ad6eeab has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2021-3d4ad6eeab

Comment 9 Fedora Update System 2021-03-15 22:57:34 UTC
FEDORA-2021-b4753b5c80 has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2021-b4753b5c80

Comment 10 Fedora Update System 2021-03-17 01:41:01 UTC
FEDORA-2021-3d4ad6eeab has been pushed to the Fedora 33 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf install --enablerepo=updates-testing --advisory=FEDORA-2021-3d4ad6eeab \*`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-3d4ad6eeab

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 11 Fedora Update System 2021-03-17 01:49:32 UTC
FEDORA-2021-b4753b5c80 has been pushed to the Fedora 32 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf install --enablerepo=updates-testing --advisory=FEDORA-2021-b4753b5c80 \*`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-b4753b5c80

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 12 Fedora Update System 2021-03-24 02:39:22 UTC
FEDORA-2021-3d4ad6eeab has been pushed to the Fedora 33 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 13 Fedora Update System 2021-03-25 01:14:44 UTC
FEDORA-2021-b4753b5c80 has been pushed to the Fedora 32 stable repository.
If problem still persists, please make note of it in this bug report.


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