libvirt: QEMU Driver error : revert requires force: Target domain max memory 6291456 does not match source 524288
I just got this while running wiki tests on jenkins.debian.net. Seems that the fdroidclean snapshot has the default RAM, e.g. 512MB, rather than the configured amount, e.g. 6GB.
$ fdroid build --verbose --latest --no-tarball info.guardianproject.ripple --wiki
DEBUG: Reading 'config.py'
DEBUG: Including metadata from build/info.guardianproject.ripple/.fdroid.yml
DEBUG: Starting new HTTP connection (1): localhost
DEBUG: http://localhost:32445 "GET /mediawiki/api.php?siprop=general%7Cnamespaces&uiprop=groups%7Crights%7Cblockinfo%7Chasmsg&format=json&continue=&action=query&meta=siteinfo%7Cuserinfo%7Cuserinfo HTTP/1.1" 200 3102
DEBUG: http://localhost:32445 "GET /mediawiki/api.php?type=login&meta=tokens&format=json&action=query HTTP/1.1" 200 100
DEBUG: http://localhost:32445 "POST /mediawiki/api.php HTTP/1.1" 200 438
WARNING: Main-account login via action=login is deprecated and may stop working without warning. To continue login with action=login, see [[Special:BotPasswords]]. To safely continue using main-account login, see action=clientlogin.
DEBUG: http://localhost:32445 "GET /mediawiki/api.php?continue=&uiprop=groups%7Crights%7Cblockinfo%7Chasmsg&meta=userinfo%7Cuserinfo&format=json&action=query HTTP/1.1" 200 931
DEBUG: Getting git vcs interface for https://github.com/guardianproject/ripple.git
DEBUG: > git --version
git version 2.11.0
INFO: Using git version 2.11.0
DEBUG: Checking 0.2.2
INFO: Building version 0.2.2 (83) of info.guardianproject.ripple
DEBUG: Directory: build/info.guardianproject.ripple
DEBUG: > git rev-parse --show-toplevel
DEBUG: Directory: build/info.guardianproject.ripple
DEBUG: > git submodule foreach --recursive git reset --hard
DEBUG: Directory: build/info.guardianproject.ripple
DEBUG: > git submodule foreach --recursive git clean -dffx
DEBUG: Directory: build/info.guardianproject.ripple
DEBUG: > git -c core.sshCommand=false -c url.https://.insteadOf=ssh:// -c url.https://u:p@bitbucket.org/.insteadOf=git@bitbucket.org: -c url.https://u:p@bitbucket.org.insteadOf=git://bitbucket.org -c url.https://u:p@bitbucket.org.insteadOf=https://bitbucket.org -c url.https://u:p@github.com/.insteadOf=git@github.com: -c url.https://u:p@github.com.insteadOf=git://github.com -c url.https://u:p@github.com.insteadOf=https://github.com -c url.https://u:p@gitlab.com/.insteadOf=git@gitlab.com: -c url.https://u:p@gitlab.com.insteadOf=git://gitlab.com -c url.https://u:p@gitlab.com.insteadOf=https://gitlab.com fetch origin
DEBUG: Directory: build/info.guardianproject.ripple
DEBUG: > git -c core.sshCommand=false -c url.https://.insteadOf=ssh:// -c url.https://u:p@bitbucket.org/.insteadOf=git@bitbucket.org: -c url.https://u:p@bitbucket.org.insteadOf=git://bitbucket.org -c url.https://u:p@bitbucket.org.insteadOf=https://bitbucket.org -c url.https://u:p@github.com/.insteadOf=git@github.com: -c url.https://u:p@github.com.insteadOf=git://github.com -c url.https://u:p@github.com.insteadOf=https://github.com -c url.https://u:p@gitlab.com/.insteadOf=git@gitlab.com: -c url.https://u:p@gitlab.com.insteadOf=git://gitlab.com -c url.https://u:p@gitlab.com.insteadOf=https://gitlab.com fetch --prune --tags origin
DEBUG: Directory: build/info.guardianproject.ripple
DEBUG: > git remote set-head origin --auto
DEBUG: Directory: build/info.guardianproject.ripple
DEBUG: > git checkout -f 0.2.2
DEBUG: Directory: build/info.guardianproject.ripple
DEBUG: > git clean -dffx
DEBUG: which kvm
/usr/bin/kvm
DEBUG: which VBoxHeadless
DEBUG: libvirt is the sole installed and supported vagrant provider, selecting 'libvirt'
DEBUG: vm uuid: ca168271-f4db-4773-a30b-8ab778415368
Bringing machine 'default' up with 'libvirt' provider...
==> default: Resuming domain...
DEBUG: vm uuid: ca168271-f4db-4773-a30b-8ab778415368
INFO: suspending buildserver
==> default: Suspending domain...
INFO: builserver ok: reverting to clean snapshot
INFO: reverting vm 'builder_default' to snapshot 'fdroidclean'
libvirt: QEMU Driver error : revert requires force: Target domain max memory 6291456 does not match source 524288
ERROR: Could not build app info.guardianproject.ripple: could not revert domain 'builder_default' to snapshot 'fdroidclean'
DEBUG: Resetting dropped connection: localhost
DEBUG: http://localhost:32445 "GET /mediawiki/api.php?titles=info.guardianproject.ripple%2Flastbuild_83&continue=&uiprop=blockinfo%7Chasmsg&format=json&prop=info&meta=userinfo&action=query&inprop=protection HTTP/1.1" 200 479
DEBUG: http://localhost:32445 "GET /mediawiki/api.php?type=csrf&meta=tokens&format=json&action=query HTTP/1.1" 200 99
DEBUG: http://localhost:32445 "POST /mediawiki/api.php HTTP/1.1" 200 184
DEBUG: http://localhost:32445 "GET /mediawiki/api.php?titles=info.guardianproject.ripple%2Flastbuild&continue=&uiprop=blockinfo%7Chasmsg&format=json&prop=info&meta=userinfo&action=query&inprop=protection HTTP/1.1" 200 491
DEBUG: http://localhost:32445 "POST /mediawiki/api.php HTTP/1.1" 200 129
INFO: Finished
INFO: 1 build failed