[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 4/7] tests/avocado: drop malta yamon tests
From: |
Alex Bennée |
Subject: |
Re: [PATCH v2 4/7] tests/avocado: drop malta yamon tests |
Date: |
Fri, 01 Dec 2023 12:49:26 +0000 |
User-agent: |
mu4e 1.11.25; emacs 29.1 |
Philippe Mathieu-Daudé <philmd@linaro.org> writes:
> Hi Alex,
>
> On 1/12/23 10:36, Alex Bennée wrote:
>> The assets are no longer available on the website so these are
>> blocking CI.
>>
>
> How are these "blocking CI"? Missing artifact wasn't be fatal,
> is it now? Also, did the artifact cache got flushed? These tests
> pass locally, I disagree with removing them.
>
> I can send a patch using YAMON_PATH like we have with RESCUE_YL_PATH,
> but I still consider missing artifact shouldn't be an issue. We are
> missing the point of the Avocado cache and the possibility to manually
> add artifacts.
Sure but in this case the binaries are gone, you can't share them and no
one else can ever run the test. At that point it just becomes dead
weight in the repository. This doesn't stop you keeping your own branch
where old tests live on while close to a warm cache but it does somewhat
limit the use of the test to the wider community.
>
>> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
>> Cc: Philippe Mathieu-Daudé <philmd@linaro.org>
>> ---
>> tests/avocado/machine_mips_malta.py | 37 -----------------------------
>> 1 file changed, 37 deletions(-)
>> diff --git a/tests/avocado/machine_mips_malta.py
>> b/tests/avocado/machine_mips_malta.py
>> index 959dcf5602..3a1ec85c20 100644
>> --- a/tests/avocado/machine_mips_malta.py
>> +++ b/tests/avocado/machine_mips_malta.py
>> @@ -122,40 +122,3 @@ def test_mips_malta_i6400_framebuffer_logo_8cores(self):
>> :avocado: tags=mips:smp
>> """
>> self.do_test_i6400_framebuffer_logo(8)
>> -
>> -class MaltaMachine(QemuSystemTest):
>> -
>> - def do_test_yamon(self):
>> - rom_url = ('http://www.imgtec.com/tools/mips-tools/downloads/'
>> - 'yamon/yamon-bin-02.22.zip')
>> - rom_hash = '8da7ecddbc5312704b8b324341ee238189bde480'
>> - zip_path = self.fetch_asset(rom_url, asset_hash=rom_hash)
>> -
>> - archive.extract(zip_path, self.workdir)
>> - yamon_path = os.path.join(self.workdir, 'yamon-02.22.bin')
>> -
>> - self.vm.set_console()
>> - self.vm.add_args('-bios', yamon_path)
>> - self.vm.launch()
>> -
>> - prompt = 'YAMON>'
>> - pattern = 'YAMON ROM Monitor'
>> - interrupt_interactive_console_until_pattern(self, pattern, prompt)
>> - wait_for_console_pattern(self, prompt)
>> - self.vm.shutdown()
>> -
>> - def test_mipsel_malta_yamon(self):
>> - """
>> - :avocado: tags=arch:mipsel
>> - :avocado: tags=machine:malta
>> - :avocado: tags=endian:little
>> - """
>> - self.do_test_yamon()
>> -
>> - def test_mips64el_malta_yamon(self):
>> - """
>> - :avocado: tags=arch:mips64el
>> - :avocado: tags=machine:malta
>> - :avocado: tags=endian:little
>> - """
>> - self.do_test_yamon()
--
Alex Bennée
Virtualisation Tech Lead @ Linaro
[PATCH v2 3/7] tests/avocado: drop BootLinuxConsole.test_mips_malta_cpio test, Alex Bennée, 2023/12/01
[PATCH v2 6/7] gitlab: build the correct microblaze target, Alex Bennée, 2023/12/01