RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1700065 - iowatcher cannot generate videos due to missing rsvg-convert
Summary: iowatcher cannot generate videos due to missing rsvg-convert
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: blktrace
Version: 8.0
Hardware: Unspecified
OS: Unspecified
medium
unspecified
Target Milestone: rc
: 8.0
Assignee: Eric Sandeen
QA Contact: Karel Srot
URL:
Whiteboard:
Depends On: 1700062
Blocks: 1719942
TreeView+ depends on / blocked
 
Reported: 2019-04-15 17:54 UTC by Bryan Gurney
Modified: 2020-11-14 11:31 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1700062
: 1719942 (view as bug list)
Environment:
Last Closed: 2019-11-05 22:31:29 UTC
Type: Bug
Target Upstream Version:
Embargoed:
pm-rhel: mirror+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2019:3634 0 None None None 2019-11-05 22:31:32 UTC

Description Bryan Gurney 2019-04-15 17:54:05 UTC
+++ This bug was initially created as a clone of Bug #1700062 +++

Description of problem:
After installing iowatcher on a Fedora 28 virtual machine (XFCE spin), it's not possible to create an I/O trace movie via the "--movie" option.

The command fails with "xargs: rsvg-convert: No such file or directory", and then cleans up a temporary movie directory.

Version-Release number of selected component (if applicable):
iowatcher-1.2.0-6.fc28.x86_64

How reproducible:
Always

Steps to Reproduce:
1. dnf install iowatcher
2. Use blktrace to trace for activity on a test block device.  Using the example test device "/dev/test1":
2a. In one terminal, as root, execute "blktrace -d /dev/test1".  This command will continue to run, leaving a newline after the prompt.  (The trace can be stopped later via Ctrl+C.)
2b. Perform I/O on the test device "/dev/test1".  (This could be reads or writes via dd, test I/O performed by the "fio" program, or 
2c. Stop the trace that was started in 2a via "Ctrl+C".
3. Using the trace files from step 2, execute the following command:
"iowatcher -t test1.blktrace.0 -o outfile.ogg --movie=rect"

NOTES on blktrace:
- There may be multiple trace files created, depending on the number of CPUs on the system.  Pointing to the "blktrace.0" file will allow iowatcher to find the other files in the directory.
- Larger blktrace runs can result in larger disk space requirements for the iowatcher movie output, and high levels of CPU usage.  A movie render usually takes several minutes for a blktrace file set of about 1 GiB.

Actual results:
$ iowatcher -t dm-3.blktrace.0 -o outfile.ogg --movie=rect

(stdout/stderr:)
Using movie style: rect
Converting svg files in io-movie-RQSmoO
xargs: rsvg-convert: No such file or directory
Creating movie io-movie-RQSmoO with png2theora
no input files found; run with -h for help.
Removing movie dir io-movie-RQSmoO


Expected results:
Executing "$ iowatcher -t dm-3.blktrace.0 -o outfile.ogg --movie=rect" results in a series of PNG files generated by rsvg-convert, then 

Additional info:
The package "librsvg2-tools" installs the program "/usr/bin/rsvg-convert", which resolves the dependency failure.  (The version I installed is librsvg2-tools-2.42.7-2.fc28.x86_64.)

Comment 1 Bryan Gurney 2019-04-15 17:55:29 UTC
Info relevant for the RHEL 8 clone of this bug:

- The affected version is iowatcher-1.2.0-9.el8.x86_64.

- The librsvg2-tools package does not appear to be available.

Comment 2 Eric Sandeen 2019-04-15 19:07:02 UTC
If librsvg2-tools is not available in RHEL8, that might be problematic.  However, it's a subpackage of librsvg2, so maybe it won't be so bad to add if needed.

Kalev, are you the package maintainer for librsvg2 in RHEL8?  Was librsvg2-tools intentionally left out of RHEL8?

Comment 3 Andrew Price 2019-04-15 19:58:26 UTC
(In reply to Bryan Gurney from comment #1)
> - The librsvg2-tools package does not appear to be available.

It's being built: http://download-node-02.eng.bos.redhat.com/brewroot/packages/librsvg2/2.42.7/2.el8/x86_64/

I guess it's just not being included in the composes for some reason, perhaps simply because nothing depended on it before.

Josh, could you lend some guidance here?

Comment 4 Kalev Lember 2019-04-15 20:00:54 UTC
I don't know why it would be left out of the composes. Josh is probably a good person to answer it indeed :)

Comment 5 Eric Sandeen 2019-05-02 17:51:37 UTC
Josh, can you shed any light on how or if we can get librsvg2-tools into the compose?

Comment 6 Josh Boyer 2019-05-02 20:01:20 UTC
(In reply to Andrew Price from comment #3)
> (In reply to Bryan Gurney from comment #1)
> > - The librsvg2-tools package does not appear to be available.
> 
> It's being built:
> http://download-node-02.eng.bos.redhat.com/brewroot/packages/librsvg2/2.42.7/
> 2.el8/x86_64/
> 
> I guess it's just not being included in the composes for some reason,
> perhaps simply because nothing depended on it before.
> 
> Josh, could you lend some guidance here?

Apologies for missing the initial question.  Andrew's theory is likely correct.

(In reply to Eric Sandeen from comment #5)
> Josh, can you shed any light on how or if we can get librsvg2-tools into the
> compose?

To get this included, we can use this bug to do 2 things.

1) Make a comps change to include it explicitly
2) File an errata for 8.1.0 to make that take effect and ship it.

I can make the comps changes.  I'd suggest moving this to the librsvg2 component.

Comment 7 Eric Sandeen 2019-05-03 00:30:38 UTC
We should perhaps clone this bug, as I guess we need a comps update to make the required package available, and then blktrace needs to Require: it as well.

Comment 8 Josh Boyer 2019-05-03 11:36:20 UTC
(In reply to Eric Sandeen from comment #7)
> We should perhaps clone this bug, as I guess we need a comps update to make
> the required package available, and then blktrace needs to Require: it as
> well.

Actually, if you have blktrace 'Requires: librsvg2-tools' the comps change likely is not needed.

Comment 9 Eric Sandeen 2019-05-13 19:20:13 UTC
Ok, I'll give it a shot...

Comment 11 Eric Sandeen 2019-05-14 16:18:52 UTC
committed & building blktrace-1.2.0-10.el8

Comment 12 Eric Sandeen 2019-05-14 16:59:51 UTC
Welp, the added Requires: caused CI to fail.

https://dashboard.osci.redhat.com/#/artifact/brew-build/aid/21665808?focus=tc:osci.brew-build.rpmdeplint.functional

Problems with dependency set:
nothing provides librsvg2-tools needed by iowatcher-1.2.0-10.el8.x86_64

Sorry to lean on you Josh, but any idea how to proceed?

Comment 13 Josh Boyer 2019-05-14 17:42:16 UTC
(In reply to Eric Sandeen from comment #12)
> Welp, the added Requires: caused CI to fail.
> 
> https://dashboard.osci.redhat.com/#/artifact/brew-build/aid/
> 21665808?focus=tc:osci.brew-build.rpmdeplint.functional
> 
> Problems with dependency set:
> nothing provides librsvg2-tools needed by iowatcher-1.2.0-10.el8.x86_64
> 
> Sorry to lean on you Josh, but any idea how to proceed?

Sigh.  We can add it to the compose via comps, but this seems suboptimal.  Dominik, if we manually waive the gating to allow this new build in, should that also bring in librsvg2-tools because of the runtime dep?  Is that the suggested approach here?  I'm not sure how to really avoid chicken-egg scenarios like this in the general sense.

Comment 15 Eric Sandeen 2019-06-12 18:53:05 UTC
In addition to the outstanding needinfo on the deps, I seem unable to file an errata for this build, and I don't understand the error:


Build Search Errors:

blktrace-1.2.0-10.el8: does not have any of the valid tags: rhel-8.1.0-candidate, rhel-8.1.0-modules-candidate, supp-rhel-8.1.0-candidate, guest-rhel-8.1.0-candidate, rhel-8.1.0-rust-toolset-candidate, rhel-8.1.0-go-toolset-candidate. It only has the following tags: rhel-8.1.0-gate.

Comment 16 Eric Sandeen 2019-06-12 18:57:54 UTC
Oh right, it's blocked by gating because of the missing dep.  Still need to know how to fix this.

Comment 21 Karel Srot 2019-06-26 08:54:04 UTC
Andrew, Josh,
I can see librsvg2-tools in the AppStream repo bug there is no 8.1 advisory. Is there any reason why this package is not added to RHEL-8 via an advisory?

Comment 24 Karel Srot 2019-07-22 12:44:39 UTC
(In reply to Karel Srot from comment #21)
> Andrew, Josh,
> I can see librsvg2-tools in the AppStream repo bug there is no 8.1 advisory.
> Is there any reason why this package is not added to RHEL-8 via an advisory?

Hello Andrew, Josh,
please, can you answer the question above?

Comment 25 Andrew Price 2019-07-22 12:55:10 UTC
(In reply to Karel Srot from comment #24)
> (In reply to Karel Srot from comment #21)
> > Andrew, Josh,
> > I can see librsvg2-tools in the AppStream repo bug there is no 8.1 advisory.
> > Is there any reason why this package is not added to RHEL-8 via an advisory?
> 
> Hello Andrew, Josh,
> please, can you answer the question above?

This isn't my area but I'd guess it's because the package was already being built and the only changes required were compose changes.

Comment 26 Josh Boyer 2019-07-22 19:17:42 UTC
(In reply to Andrew Price from comment #25)
> (In reply to Karel Srot from comment #24)
> > (In reply to Karel Srot from comment #21)
> > > Andrew, Josh,
> > > I can see librsvg2-tools in the AppStream repo bug there is no 8.1 advisory.
> > > Is there any reason why this package is not added to RHEL-8 via an advisory?
> > 
> > Hello Andrew, Josh,
> > please, can you answer the question above?
> 
> This isn't my area but I'd guess it's because the package was already being
> built and the only changes required were compose changes.

We absolutely need an errata filed for librsvg2 or the addition of librsvg2-tools won't actually make it out to customers.  Please file an errata.

Comment 41 errata-xmlrpc 2019-11-05 22:31:29 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2019:3634


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