From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2A59575816 for ; Mon, 29 Jul 2024 10:59:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.129.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722250784; cv=none; b=DRaYHLFmdN8IiavpDHy8bKDroNrw5poKfTL/7GcoPjy2fUwSqt0VEBt3790K/4M9W+y2vOOnjm29YaXYp8pX24zb42c9Sid56rQVW0pe0kqlKw51XITg2rUBsogdx5zaHh7hHZrypdXQnljSq2iNt28bQHqwFWSXCWs4oB5FdBA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722250784; c=relaxed/simple; bh=xu1fnGKisgwsLiMtWs/7U5TgDTzoZ1YhJkCMQNZBvds=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=K6mwE9HgAEqs1I+wxSIaMvgyeJWwyxMMdxclBlRN44HDZO6WMtkzkeclPbeutRQP+E3LMbdmv3ggD6CVgTyQPfVr43bWY69OSpxUawXU1i7A2aOGo7Bjx5NEwsrM6sqPIuxz12kfZUthSa7K4Z050PJNwjaAZsKzIX2u6kgxv0Q= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=hz/vgcXF; arc=none smtp.client-ip=170.10.129.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="hz/vgcXF" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1722250782; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=wFddE/KnwkER6UAYALyDN4no1tJhTjqMvlEdSKIcCog=; b=hz/vgcXFEnTRtx1GOxAzpOvhS2umIa63KprQ2GbHsB+ojomkYsXxdxZc+BFabaiAYFC7pE OnD8K1LlcGVWGxJgSgZb9/dsrGWQBktbW2cLFnvX8ToSvFge6ecRSxFTM0XR03dJgcdznt p1JE2nNfr8fv4wY2HRFsFpPP67OcJ5Q= Received: from mx-prod-mc-04.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-241-AyMedb8oPt29atOdHuSslQ-1; Mon, 29 Jul 2024 06:59:38 -0400 X-MC-Unique: AyMedb8oPt29atOdHuSslQ-1 Received: from mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.17]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-04.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 85E7D1955D58; Mon, 29 Jul 2024 10:59:36 +0000 (UTC) Received: from redhat.com (unknown [10.42.28.58]) by mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id F3B7E1955F40; Mon, 29 Jul 2024 10:59:29 +0000 (UTC) Date: Mon, 29 Jul 2024 11:59:26 +0100 From: Daniel =?utf-8?B?UC4gQmVycmFuZ8Op?= To: Cleber Rosa Cc: qemu-devel@nongnu.org, Peter Maydell , Thomas Huth , Beraldo Leal , Sriram Yagnaraman , David Woodhouse , Philippe =?utf-8?Q?Mathieu-Daud=C3=A9?= , Leif Lindholm , Jiaxun Yang , kvm@vger.kernel.org, Alex =?utf-8?Q?Benn=C3=A9e?= , Marcin Juszkiewicz , Wainer dos Santos Moschetta , qemu-arm@nongnu.org, Radoslaw Biernacki , Paul Durrant , Paolo Bonzini , Akihiko Odaki Subject: Re: [PATCH 08/13] testa/avocado: test_arm_emcraft_sf2: handle RW requirements for asset Message-ID: Reply-To: Daniel =?utf-8?B?UC4gQmVycmFuZ8Op?= References: <20240726134438.14720-1-crosa@redhat.com> <20240726134438.14720-9-crosa@redhat.com> Precedence: bulk X-Mailing-List: kvm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20240726134438.14720-9-crosa@redhat.com> User-Agent: Mutt/2.2.12 (2023-09-09) X-Scanned-By: MIMEDefang 3.0 on 10.30.177.17 On Fri, Jul 26, 2024 at 09:44:33AM -0400, Cleber Rosa wrote: > The asset used in the mentioned test gets truncated before it's used > in the test. This means that the file gets modified, and thus the > asset's expected hash doesn't match anymore. This causes cache misses > and re-downloads every time the test is re-run. > > Let's make a copy of the asset so that the one in the cache is > preserved and the cache sees a hit on re-runs. > > Signed-off-by: Cleber Rosa > --- > tests/avocado/boot_linux_console.py | 6 ++++-- > 1 file changed, 4 insertions(+), 2 deletions(-) Reviewed-by: Daniel P. Berrangé With regards, Daniel -- |: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|