canonical-ubuntu-qa team mailing list archive
-
canonical-ubuntu-qa team
-
Mailing list archive
-
Message #02392
[Merge] ~hyask/qa-jenkins-jobs:skia/dpkg-force-overwrite into qa-jenkins-jobs:master
Skia has proposed merging ~hyask/qa-jenkins-jobs:skia/dpkg-force-overwrite into qa-jenkins-jobs:master.
Requested reviews:
Canonical Platform QA Team (canonical-platform-qa)
For more details, see:
https://code.launchpad.net/~hyask/qa-jenkins-jobs/+git/qa-jenkins-jobs/+merge/458156
--
Your team Canonical Platform QA Team is requested to review the proposed merge of ~hyask/qa-jenkins-jobs:skia/dpkg-force-overwrite into qa-jenkins-jobs:master.
diff --git a/jobs/auto-upgrade-testing/jobs.yaml b/jobs/auto-upgrade-testing/jobs.yaml
index dc01e02..811ea49 100644
--- a/jobs/auto-upgrade-testing/jobs.yaml
+++ b/jobs/auto-upgrade-testing/jobs.yaml
@@ -62,10 +62,13 @@
export AUTOPKGTEST_APT_SOURCES_FILE
fi
+ # Disable dpkg --force-overwrite to avoid more LP#2039279
+ export RELEASE_UPGRADE_NO_FORCE_OVERWRITE=1
+
cd auto-upgrade-testing
set +e
- sudo --preserve-env=AUTOPKGTEST_APT_SOURCES_FILE python3 -m upgrade_testing.command_line -c $PROFILE --provision --results-dir "$WORKSPACE/{profile}/" --adt-args=--timeout-factor=10
+ sudo --preserve-env=AUTOPKGTEST_APT_SOURCES_FILE,RELEASE_UPGRADE_NO_FORCE_OVERWRITE python3 -m upgrade_testing.command_line -c $PROFILE --provision --results-dir "$WORKSPACE/{profile}/" --adt-args=--timeout-factor=10
EXITSTATUS=$?
sudo chown -R $USER:$USER "$WORKSPACE"
cp $WORKSPACE/{profile}/*/artifacts/upgrade_run/junit.xml $WORKSPACE/junit.xml