firefox: Cannot submit xdelta snap: "Delta service failed to apply delta successfully"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mozilla Firefox |
Fix Released
|
Medium
|
|||
Snap Store Server |
Fix Released
|
High
|
William Grant |
Bug Description
Hello,
I tried to activate xdelta3 Snap on Firefox, but it seems I ran into an issue. I don't have much more context than the following logs (in UTC). Would you guys have more on the server side?
2018-09-21T13:03:08 INFO - 2018-09-21 13:03:08,194 - snapcraft.
2018-09-21T13:03:08 INFO - 2018-09-21 13:03:08,241 - snapcraft._store - DEBUG - b'Parallel unsquashfs: Using 1 processor\n1 inodes (1 blocks) to write\n\
2018-09-21T13:03:08 INFO - 2018-09-21 13:03:08,264 - snapcraft._store - INFO - Preparing to push '/builds/
2018-09-21T13:03:08 INFO - 2018-09-21 13:03:08,705 - snapcraft._store - INFO - Found cached source snap /home/cltbld/
2018-09-21T13:03:08 INFO - 2018-09-21 13:03:08,706 - snapcraft.
2018-09-21T13:03:08 INFO - 2018-09-21 13:03:08,707 - snapcraft.
2018-09-21T13:03:50 INFO - 2018-09-21 13:03:50,803 - snapcraft.
2018-09-21T13:03:50 INFO - VCDIFF version: 0
2018-09-21T13:03:50 INFO - VCDIFF header size: 117
2018-09-21T13:03:50 INFO - VCDIFF header indicator: VCD_SECONDARY VCD_APPHEADER
2018-09-21T13:03:50 INFO - VCDIFF secondary compressor: lzma
2018-09-21T13:03:50 INFO - VCDIFF application header: target.
2018-09-21T13:03:50 INFO - XDELTA filename (output): target.snap
2018-09-21T13:03:50 INFO - XDELTA filename (source): eeaf6383120aefc
2018-09-21T13:03:50 INFO - VCDIFF window number: 0
2018-09-21T13:03:50 INFO - VCDIFF window indicator: VCD_SOURCE VCD_ADLER32
2018-09-21T13:03:50 INFO - VCDIFF adler32 checksum: EAE474AE
2018-09-21T13:03:50 INFO - VCDIFF delta indicator: VCD_DATACOMP VCD_INSTCOMP VCD_ADDRCOMP
2018-09-21T13:03:50 INFO - VCDIFF copy window length: 67095762
2018-09-21T13:03:50 INFO - VCDIFF copy window offset: 0
2018-09-21T13:03:50 INFO - VCDIFF delta encoding length: 6467032
2018-09-21T13:03:50 INFO - VCDIFF target window length: 8388608
2018-09-21T13:03:50 INFO - VCDIFF data section length: 6464267
2018-09-21T13:03:50 INFO - VCDIFF inst section length: 1462
2018-09-21T13:03:50 INFO - VCDIFF addr section length: 1286
2018-09-21T13:03:50 INFO -
2018-09-21T13:03:53 INFO - 2018-09-21 13:03:53,855 - snapcraft._store - INFO - Pushing delta /builds/
Pushing target.snap.xdelta3 [======
Processing...|
2018-09-21T13:04:13 INFO - 2018-09-21 13:04:13,786 - snapcraft._store - WARNING - Error generating delta: There has been a problem while processing a snap delta.
2018-09-21T13:04:13 INFO - - Delta service failed to apply delta successfully
2018-09-21T13:04:13 INFO - Falling back to pushing full snap...
Pushing target.snap [======
Changed in firefox: | |
importance: | Unknown → Medium |
status: | Unknown → Confirmed |
Changed in firefox: | |
status: | Confirmed → Fix Released |
We could generate delta updates for snap, if we had xdelta3 installed on the machine[1][2]:
> 2018-04-09 22:35:51,286 - snapcraft._store - INFO - Found cached source snap /home/cltbld/ .cache/ snapcraft/ projects/ firefox/ snap_hashes/ amd64/1549949fa 22a73acbeace379 745171095cfd8c1 22f9109851bf76c 326a0119fa560db 41b0a785b390009 936ae861fc3c.
> 2018-04-09 22:35:51,288 - snapcraft._store - WARNING - Error generating delta: delta_tool_path must be set in subclass!
Sadly, we have to make the package ourselves. There is no rpm available per [3]
[1] https:/ /tools. taskcluster. net/groups/ BH0QdNzbQ8iLXlM 28cQ4jw/ tasks/Vm7C- ovDSMOLlEuT1dQE VA/runs/ 0/logs/ public% 2Flogs% 2Flive_ backing. log#L12 /github. com/snapcore/ snapcraft/ blob/c599777092 62f8c960fd0ebba fc9e7799093109e /snapcraft/ internal/ deltas/ _xdelta3. py#L29- L30 /pkgs.org/ download/ xdelta3
[2] https:/
[3] https:/