Session load command is broken

Bug #1619767 reported by Michael Jeanson
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ltt-control (Ubuntu)
Fix Released
Undecided
Unassigned
Xenial
Fix Released
Undecided
Unassigned

Bug Description

[Impact]

Loading a saved lttng session is currently impossible because of a missing file in the package. Trying to load a session results in the following error:

root@session:~# lttng load toto
I/O warning : failed to load external entity "/usr/share/xml/lttng/session.xsd"
XML Error: Failed to locate the main schema resource at '/usr/share/xml/lttng/session.xsd'.
Error: XSD parsing failed
Error: Invalid session configuration

[Test Case]

 * Install lttng

  apt-get install lttng-tools

 * Create, save and delete a session

  lttng create mysession
  lttng enable-event -u -a
  lttng save mysession
  lttng destroy mysession

 * Load the saved session

  lttng load mysession

  * Loading the session should succeed.

[Regression Potential]

 * Regression is very unlikely, we are only adding a missing file to the package.

Revision history for this message
Michael Jeanson (mjeanson) wrote :
Changed in ltt-control (Ubuntu):
status: New → Fix Released
Changed in ltt-control (Ubuntu Trusty):
status: New → In Progress
no longer affects: ltt-control (Ubuntu Trusty)
Changed in ltt-control (Ubuntu Xenial):
status: New → In Progress
Revision history for this message
Stéphane Graber (stgraber) wrote : Please test proposed package

Hello Michael, or anyone else affected,

Accepted ltt-control into xenial-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/ltt-control/2.7.1-2~fakesync1.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in ltt-control (Ubuntu Xenial):
status: In Progress → Fix Committed
tags: added: verification-needed
Revision history for this message
Michael Jeanson (mjeanson) wrote :

I tested the 2.7.1-2~fakesync1.1 package from proposed and I confirm the missing file is now included and I can successfully load sessions.

tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ltt-control - 2.7.1-2~fakesync1.1

---------------
ltt-control (2.7.1-2~fakesync1.1) xenial; urgency=medium

  * Add missing session.xsd liblttng-ctl0 (LP: #1619767)

 -- Michael Jeanson <email address hidden> Fri, 02 Sep 2016 15:11:59 +0000

Changed in ltt-control (Ubuntu Xenial):
status: Fix Committed → Fix Released
Revision history for this message
Martin Pitt (pitti) wrote : Update Released

The verification of the Stable Release Update for ltt-control has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.