snapcraft builds snaps which fail checksum verification on upload

Bug #1579931 reported by Grzegorz Mazur
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
squashfs-tools (Ubuntu)
Fix Released
High
Unassigned

Bug Description

snapcraft successfully builds a snap and uploads it, but then automatic verification in ubuntu myapps results in

checksums do not match. Please ensure the snap is created with either 'snapcraft snap <DIR>' or 'mksquashfs <dir> <snap> -noappend -comp xz -all-root -no-xattrs' security-snap-v2_squashfs_repack_checksum

Changed in snapcraft:
status: New → Invalid
Revision history for this message
Jamie Strandboge (jdstrand) wrote :

Can you provide the snap that is failing to verify?

no longer affects: snapcraft
Revision history for this message
Sergio Schvezov (sergiusens) wrote :

Errors
------
 - security-snap-v2:squashfs_repack_checksum
 checksums do not match. Please ensure the snap is created with either 'snapcraft snap <DIR>' or 'mksquashfs <dir> <snap> -noappend -comp xz -all-root -no-xattrs'
gmailfilter_0.0.1a_amd64.snap: FAIL

Revision history for this message
Jamie Strandboge (jdstrand) wrote :

I can confirm this. Bug is in squashfs-tools.

Changed in squashfs-tools (Ubuntu):
status: New → Confirmed
importance: Undecided → High
no longer affects: click-reviewers-tools
Revision history for this message
Jamie Strandboge (jdstrand) wrote :

This should now be fixed between bug #1555305 (squashfs-tools and symlinks) and bug #1576763 (need to use -no-fragments with mksquashfs). I was able to snap the above tarball with both of the stage-packages and pass the resquashfs test fine.

Changed in squashfs-tools (Ubuntu):
status: Confirmed → Fix Released
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.