|
From: | Brad Smith |
Subject: | Re: [PATCH v2] tests/vm: update openbsd image to 7.6 |
Date: | Mon, 21 Oct 2024 05:58:13 -0400 |
User-agent: | Mozilla Thunderbird |
On 2024-10-21 5:27 a.m., Daniel P. Berrangé wrote:
On Sun, Oct 13, 2024 at 02:19:41AM -0400, Brad Smith wrote:tests/vm: update openbsd image to 7.6 Remove tomli as Python has been updated to 3.11. Signed-off-by: Brad Smith <brad@comstyle.com> --- tests/vm/openbsd | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/vm/openbsd b/tests/vm/openbsd index 49cab08782..dfd11c93f0 100755 --- a/tests/vm/openbsd +++ b/tests/vm/openbsd @@ -22,8 +22,8 @@ class OpenBSDVM(basevm.BaseVM): name = "openbsd" arch = "x86_64"- link = "https://cdn.openbsd.org/pub/OpenBSD/7.5/amd64/install75.iso"- csum = "034435c6e27405d5a7fafb058162943c194eb793dafdc412c08d49bb56b3892a" + link = "https://cdn.openbsd.org/pub/OpenBSD/7.6/amd64/install76.iso" + csum = "60cba8cb391b50bba8fa10fc768bd0529636f5345d82133c93e22c798d8e5269" size = "20G" pkgs = [ # tools @@ -32,7 +32,6 @@ class OpenBSDVM(basevm.BaseVM): "pkgconf", "bzip2", "xz", "ninja", - "py3-tomli",# gnu tools"bash", @@ -160,6 +159,7 @@ class OpenBSDVM(basevm.BaseVM):self.print_step("Installation started now, this will take a while")self.console_wait_send("Location of sets", "done\n") + self.console_wait_send("Time appears wrong. Set to", "\n")Have you any idea why this line has suddenly become neccessary ?
Thomas provided that piece.
Without your patch, I'm seeing OpenBSD VM installs fail with the existing 'install75.iso' image, with the error matching this line con recv: Time appears wrong. Set to 'Mon Oct 21 04:07:03 UTC 2024'? [yes] The OpenBSD installer can't have changed behind our back, because we've recorded the original ISO image checksum. So I'm wondering what other thing has changed to suddenly make this "Time appears wrong" message appear ? Have we accidentally broken something in QEMU ? With regards, Daniel
This is not new in the installer as far as I can see. But I have never seen this until now.
https://github.com/openbsd/src/blob/ad7ea506c1758b3b614d7becde019d9bf8d29459/distrib/miniroot/install.sub#L3315# If we got a timestamp from the cgi server, and that time diffs by more
# than 120 seconds, ask if the user wants to adjust the time. if _time=$(http_time) && _now=$(date +%s) && (( _now - _time > 120 || _time - _now > 120 )); then ln -sf /mnt/usr/share/zoneinfo/$TZ /etc/localtimeif ask_yn "Time appears wrong. Set to '$(date -r "$(http_time)")'?" yes; then
date $(date -r "$(http_time)" "+%Y%m%d%H%M.%S") >/dev/null # N.B. This will screw up SECONDS. fi rm -f /etc/localtime fi
[Prev in Thread] | Current Thread | [Next in Thread] |