adt, cannot snapcraft clean without remote parts when in use

Bug #1596114 reported by Sergio Schvezov on 2016-06-24
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Snapcraft
Critical
Sergio Schvezov

Bug Description

======================================================================
ERROR: demos_tests.test_mosquitto.MosquittoTestCase.test_mosquitto
----------------------------------------------------------------------
output: {{{b"\x1b[0;31mIssue detected while analyzing snapcraft.yaml: Cannot find definition for part 'mqtt-paho/python3'. It may be a remote part, run `snapcraft update` to refresh the remote parts cache\x1b[0m\r\n"}}}

Traceback (most recent call last):
  File "/tmp/adt-run.1qGfm6/build.Rmd/real-tree/snaps_tests/demos_tests/test_mosquitto.py", line 27, in test_mosquitto
    self.build_snap(self.snap_content_dir)
  File "/tmp/adt-run.1qGfm6/build.Rmd/real-tree/snaps_tests/__init__.py", line 159, in build_snap
    self._clean(working_dir)
  File "/tmp/adt-run.1qGfm6/build.Rmd/real-tree/snaps_tests/__init__.py", line 164, in _clean
    self._run_command(command, project_dir)
  File "/tmp/adt-run.1qGfm6/build.Rmd/real-tree/snaps_tests/__init__.py", line 194, in _run_command
    'Exit status: {!r}.'.format(process.exitstatus))
snaps_tests.CommandError: Error running command 'snapcraft clean' in 'demos/mosquitto'. Exit status: 1.
======================================================================
ERROR: demos_tests.test_qt4_text_editor.Qt4TextEditorTestCase.test_text_editor
----------------------------------------------------------------------
output: {{{b"\x1b[0;31mIssue detected while analyzing snapcraft.yaml: Cannot find definition for part 'qt4conf'. It may be a remote part, run `snapcraft update` to refresh the remote parts cache\x1b[0m\r\n"}}}

Traceback (most recent call last):
  File "/tmp/adt-run.1qGfm6/build.Rmd/real-tree/snaps_tests/demos_tests/test_qt4_text_editor.py", line 25, in test_text_editor
    self.build_snap(self.snap_content_dir)
  File "/tmp/adt-run.1qGfm6/build.Rmd/real-tree/snaps_tests/__init__.py", line 159, in build_snap
    self._clean(working_dir)
  File "/tmp/adt-run.1qGfm6/build.Rmd/real-tree/snaps_tests/__init__.py", line 164, in _clean
    self._run_command(command, project_dir)
  File "/tmp/adt-run.1qGfm6/build.Rmd/real-tree/snaps_tests/__init__.py", line 194, in _run_command
    'Exit status: {!r}.'.format(process.exitstatus))
snaps_tests.CommandError: Error running command 'snapcraft clean' in 'demos/qt4-text-editor'. Exit status: 1.
======================================================================
ERROR: demos_tests.test_qt5_text_editor.Qt5TextEditorTestCase.test_text_editor
----------------------------------------------------------------------
output: {{{b"\x1b[0;31mIssue detected while analyzing snapcraft.yaml: Cannot find definition for part 'qt5conf'. It may be a remote part, run `snapcraft update` to refresh the remote parts cache\x1b[0m\r\n"}}}

Traceback (most recent call last):
  File "/tmp/adt-run.1qGfm6/build.Rmd/real-tree/snaps_tests/demos_tests/test_qt5_text_editor.py", line 25, in test_text_editor
    self.build_snap(self.snap_content_dir)
  File "/tmp/adt-run.1qGfm6/build.Rmd/real-tree/snaps_tests/__init__.py", line 159, in build_snap
    self._clean(working_dir)
  File "/tmp/adt-run.1qGfm6/build.Rmd/real-tree/snaps_tests/__init__.py", line 164, in _clean
    self._run_command(command, project_dir)
  File "/tmp/adt-run.1qGfm6/build.Rmd/real-tree/snaps_tests/__init__.py", line 194, in _run_command
    'Exit status: {!r}.'.format(process.exitstatus))
snaps_tests.CommandError: Error running command 'snapcraft clean' in 'demos/qt5-text-editor'. Exit status: 1.

[Impact]

 * For users, none.

 * A test started failing in master, but wasn't released to the distro.

[Test Case]

 * Run the snaps suite.

[Regression Potential]

 * None. If the test doesn't start passing, the release will be blocked by autopkgtests.

Changed in snapcraft:
status: In Progress → Fix Committed
Leo Arias (elopio) on 2016-06-27
description: updated

Hello Sergio, or anyone else affected,

Accepted snapcraft into xenial-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/snapcraft/2.12 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!

tags: added: verification-needed
Leo Arias (elopio) wrote :

There is nothing to verify in xenial-proposed, so I'm marking this as done.

Thanks Steve!

tags: added: verification-done
removed: verification-needed
Changed in snapcraft:
status: Fix Committed → Fix Released

The verification of the Stable Release Update for snapcraft 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.

no longer affects: Ubuntu Xenial
no longer affects: Ubuntu Yakkety
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers