[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[XEN v1] gitlab: automation: Fix the automation scripts


  • To: <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Ayan Kumar Halder <ayankuma@xxxxxxx>
  • Date: Tue, 9 Aug 2022 16:57:11 +0100
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=lists.xenproject.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=dAUABT5KI2RGeCYMYaaE9z3R2dDgSDAkJ8fTYgIVVTk=; b=d7C/kDD2c6lgiOfxSqlwsoBYfXbpIk3aGZF5SBG/t0UIwV3S4T3f3Md1r7d19aOIxBZyd1vhlx9WCoKspa8lhZ5OneD2/d0qoVcw5bWCEtUMMqIlReybr0op4dKwtDJTKsmqch/p2Ob+5Fbmon9UDPUrPsVCvU6KjQF7HnF1afjTDHgnOs0CsA8UTkL9KyeX9lSAhKj+K3rZIKuYXMlC4gy2XAkK0f53wYR6RdTc0ufBBPmP4ZAn4Mxpk2b/UBGJkKSVblM3aNkq/CNnP/K5pDvdE2PprL11SluRofD69U7faCjqXO54NttItNwf7apzPV+5BSIp4Xke6rDgiWTsTQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XNUzCxbA9s4ahXNiioA+dYgSFOyE9PJTVKW/T6UisViNFj95LQmOABXPT3cjFY2IASWd7W/n9PtQQedawsUZhNR9ALgbS6jWMJlzO1Lb5iWuhWG3wo8CU6mbmvPoVMBozR1K5WnU4K+vO78doALGriUEs3UW0p9UpZSztRPgs3Y6Swx9vbJ08aFXHoqLfE4pScX7awBdqb/S89bIDu4rHd5idnwByYJQvBBQ4t61yCdiCOenvWpYs3fmmo02hy8oaxJZXzOSib2AWeU0VwaQIlfKxXVV+uudKwU8apOyjMoI16Tn68IsaOOsvKPZPZctZ+JYPQQ1H4pNchgx7FM/Ag==
  • Cc: <sstabellini@xxxxxxxxxx>, <stefanos@xxxxxxxxxx>, <stefanos@xxxxxxx>, <cardoe@xxxxxxxxxx>, Ayan Kumar Halder <ayankuma@xxxxxxx>
  • Delivery-date: Tue, 09 Aug 2022 15:57:27 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

One needs to run 'apt-get -qy upgrade' to upgrade the old packages so that
the missing dependent packages are also installed.

Signed-off-by: Ayan Kumar Halder <ayankuma@xxxxxxx>
---

This is supposed to fix issues seen 
https://gitlab.com/xen-project/xen/-/jobs/2832045004
The failure is :-
root@4a175985cd71:/Users/ayankuma/alpine_vm/xen# apt-get -qy install 
--no-install-recommends u-boot-qemu u-boot-tools device-tree-compiler 
busybox-static cpio curl
Reading package lists...
Building dependency tree...
Reading state information...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libc6-dev : Breaks: libglib2.0-dev (<= 2.72.3-1) but 2.70.2-1 is to be 
installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by 
held packages.

For this we need to upgrade the packages which will resolve the dependencies.

 automation/scripts/qemu-smoke-arm32.sh | 1 +
 automation/scripts/qemu-smoke-arm64.sh | 1 +
 2 files changed, 2 insertions(+)

diff --git a/automation/scripts/qemu-smoke-arm32.sh 
b/automation/scripts/qemu-smoke-arm32.sh
index 530f3892fd..e7e733798c 100755
--- a/automation/scripts/qemu-smoke-arm32.sh
+++ b/automation/scripts/qemu-smoke-arm32.sh
@@ -4,6 +4,7 @@ set -ex
 
 export DEBIAN_FRONTENT=noninteractive
 apt-get -qy update
+apt-get -qy upgrade
 apt-get -qy install --no-install-recommends device-tree-compiler \
                                             curl \
                                             cpio
diff --git a/automation/scripts/qemu-smoke-arm64.sh 
b/automation/scripts/qemu-smoke-arm64.sh
index 497dbee15f..f714aacbb3 100755
--- a/automation/scripts/qemu-smoke-arm64.sh
+++ b/automation/scripts/qemu-smoke-arm64.sh
@@ -23,6 +23,7 @@ fi
 
 export DEBIAN_FRONTENT=noninteractive
 apt-get -qy update
+apt-get -qy upgrade
 apt-get -qy install --no-install-recommends u-boot-qemu \
                                             u-boot-tools \
                                             device-tree-compiler \
-- 
2.17.1




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.