tests/acceptance: Use imgtec.com URL for Fedora 22 artifacts
PATCH 1/1 tests/acceptance: Use imgtec.com URL for Fedora 22 artifacts
Having artifacts stored in personal namespace is not ideal, as these might get closed and disappear. Use the original URL where these artifacts could be found.
For more references:
https://fedoraproject.org/wiki/Architectures/MIPS/2015Bootstrap/mips64el
--- tests/acceptance/boot_linux_console.py | 4 ++-- tests/acceptance/replay_kernel.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-)
tests/acceptance/boot_linux_console.py +2 -2
@@ -239,8 +239,8 @@ def test_mips64el_malta_5KEc_cpio(self): :avocado: tags=machine:malta :avocado: tags=endian:little """ - kernel_url = ('https://github.com/philmd/qemu-testing-blob/' - 'raw/9ad2df38/mips/malta/mips64el/' + kernel_url = ('http://mipsfedora.imgtec.com/development/22/' + 'mips64el/images/20150601/' 'vmlinux-3.19.3.mtoman.20150408') kernel_hash = '00d1d268fb9f7d8beda1de6bebcc46e884d71754' kernel_path = self.fetch_asset(kernel_url, asset_hash=kernel_hash)
tests/acceptance/replay_kernel.py +2 -2
@@ -397,8 +397,8 @@ def test_mips64el_malta_5KEc_cpio(self): :avocado: tags=endian:little :avocado: tags=slowness:high """ - kernel_url = ('https://github.com/philmd/qemu-testing-blob/' - 'raw/9ad2df38/mips/malta/mips64el/' + kernel_url = ('http://mipsfedora.imgtec.com/development/22/' + 'mips64el/images/20150601/' 'vmlinux-3.19.3.mtoman.20150408') kernel_hash = '00d1d268fb9f7d8beda1de6bebcc46e884d71754' kernel_path = self.fetch_asset(kernel_url, asset_hash=kernel_hash)
Signature · 1 line
2.26.2
Hi,
Quoted 18 lines · Philippe Mathieu-Daudé
Having artifacts stored in personal namespace is not ideal, as these might get closed and disappear. Use the original URL where these artifacts could be found.
For more references:
https://fedoraproject.org/wiki/Architectures/MIPS/2015Bootstrap/mips64elSigned-off-by Philippe Mathieu-Daudé <[email protected]>--- tests/acceptance/boot_linux_console.py | 4 ++-- tests/acceptance/replay_kernel.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-)tests/acceptance/boot_linux_console.py +0
-0
tests/acceptance/boot_linux_console.py def test_mips64el_malta_5KEc_cpio(self): · line 244
Quoted 8 lines
tests/acceptance/boot_linux_console.py +2
-2@@ -239,8 +239,8 @@ def test_mips64el_malta_5KEc_cpio(self): :avocado: tags=machine:malta :avocado: tags=endian:little """ - kernel_url = ('https://github.com/philmd/qemu-testing-blob/' - 'raw/9ad2df38/mips/malta/mips64el/' + kernel_url = ('http://mipsfedora.imgtec.com/development/22/' + 'mips64el/images/20150601/' 'vmlinux-3.19.3.mtoman.20150408')
http://mipsfedora.imgtec.com/development/22/mips64el/images/20150601/vmlinux-3.19.3.mtoman.20150408 did not get resolve here. Could you please double-check the url is correct?
Thanks!
Wainer
Quoted 17 lines
tests/acceptance/boot_linux_console.py +0
-0kernel_hash = '00d1d268fb9f7d8beda1de6bebcc46e884d71754' kernel_path = self.fetch_asset(kernel_url, asset_hash=kernel_hash)tests/acceptance/replay_kernel.py +2
-2@@ -397,8 +397,8 @@ def test_mips64el_malta_5KEc_cpio(self): :avocado: tags=endian:little :avocado: tags=slowness:high """ - kernel_url = ('https://github.com/philmd/qemu-testing-blob/' - 'raw/9ad2df38/mips/malta/mips64el/' + kernel_url = ('http://mipsfedora.imgtec.com/development/22/' + 'mips64el/images/20150601/' 'vmlinux-3.19.3.mtoman.20150408') kernel_hash = '00d1d268fb9f7d8beda1de6bebcc46e884d71754' kernel_path = self.fetch_asset(kernel_url, asset_hash=kernel_hash)
Quoted 25 lines · Wainer dos Santos Moschetta
Hi,
Quoted 22 lines · Philippe Mathieu-Daudé
Having artifacts stored in personal namespace is not ideal, as these might get closed and disappear. Use the original URL where these artifacts could be found.
For more references:
https://fedoraproject.org/wiki/Architectures/MIPS/2015Bootstrap/mips64elSigned-off-by Philippe Mathieu-Daudé <[email protected]>---
tests/acceptance/boot_linux_console.py| 4 ++--
tests/acceptance/replay_kernel.py | 4 ++--2 files changed, 4 insertions(+), 4 deletions(-)tests/acceptance/boot_linux_console.py +0
-0@@ -239,8 +239,8 @@ def test_mips64el_malta_5KEc_cpio(self)::avocado: tags=machine:malta
:avocado: tags=endian:little
"""
Quoted 8 lines
Quoted 5 lines
-
kernel_url= ('https://github.com/philmd/qemu-testing-blob/' - 'raw/9ad2df38/mips/malta/mips64el/' +kernel_url= ('http://mipsfedora.imgtec.com/development/22/' + 'mips64el/images/20150601/' 'vmlinux-3.19.3.mtoman.20150408')http://mipsfedora.imgtec.com/development/22/mips64el/images/20150601/vmlinux-3.19.3.mtoman.20150408
did not get resolve here. Could you please double-check the url is correct?
Yes it is correct, the domain is dead. It was working when I wrote the test. Should I remove the test instead?
Quoted 21 lines
Quoted 20 lines
kernel_hash= '00d1d268fb9f7d8beda1de6bebcc46e884d71754'kernel_path=self.fetch_asset(kernel_url, asset_hash=kernel_hash)tests/acceptance/replay_kernel.py +0
-0@@ -397,8 +397,8 @@ def test_mips64el_malta_5KEc_cpio(self)::avocado: tags=endian:little
:avocado: tags=slowness:high
"""
-kernel_url= ('https://github.com/philmd/qemu-testing-blob/' - 'raw/9ad2df38/mips/malta/mips64el/' +kernel_url= ('http://mipsfedora.imgtec.com/development/22/' + 'mips64el/images/20150601/' 'vmlinux-3.19.3.mtoman.20150408')kernel_hash= '00d1d268fb9f7d8beda1de6bebcc46e884d71754'kernel_path=self.fetch_asset(kernel_url, asset_hash=kernel_hash)
Hi Phil,
Quoted 36 lines · Philippe Mathieu-Daudé
Quoted 25 lines · Wainer dos Santos Moschetta
Hi,
Quoted 22 lines · Philippe Mathieu-Daudé
Having artifacts stored in personal namespace is not ideal, as these might get closed and disappear. Use the original URL where these artifacts could be found.
For more references:
https://fedoraproject.org/wiki/Architectures/MIPS/2015Bootstrap/mips64elSigned-off-by Philippe Mathieu-Daudé <[email protected]>--- tests/acceptance/boot_linux_console.py | 4 ++-- tests/acceptance/replay_kernel.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-)tests/acceptance/boot_linux_console.py +0
-0@@ -239,8 +239,8 @@ def test_mips64el_malta_5KEc_cpio(self): :avocado: tags=machine:malta :avocado: tags=endian:little """Quoted 8 lines
tests/acceptance/boot_linux_console.py def test_mips64el_malta_5KEc_cpio(self): · line 244
Quoted 5 lines
tests/acceptance/boot_linux_console.py +2
-2- kernel_url = ('https://github.com/philmd/qemu-testing-blob/' - 'raw/9ad2df38/mips/malta/mips64el/' + kernel_url = ('http://mipsfedora.imgtec.com/development/22/' + 'mips64el/images/20150601/' 'vmlinux-3.19.3.mtoman.20150408')http://mipsfedora.imgtec.com/development/22/mips64el/images/20150601/vmlinux-3.19.3.mtoman.20150408
did not get resolve here. Could you please double-check the url is correct?
Quoted 3 lines
Yes it is correct, the domain is dead. It was working when I wrote the test. Should I remove the test instead?
This test is already skipped by default because of the AVOCADO_ALLOW_UNTRUSTED_CODE flag. Even if the flag is set to allow the test to run, it will be skipped because the cache lacks the asset.
Instead of removing the test, my suggestion is to add information to allow people to run it locally, like:
(quoted diff) +0 -0
b/tests/acceptance/boot_linux_console.py
index eb01286799..23efc18a99 100644
tests/acceptance/boot_linux_console.py +6 -4
@@ -239,11 +239,13 @@ def test_mips64el_malta_5KEc_cpio(self): :avocado: tags=machine:malta :avocado: tags=endian:little """ - kernel_url = ('https://github.com/philmd/qemu-testing-blob/' - 'raw/9ad2df38/mips/malta/mips64el/' - 'vmlinux-3.19.3.mtoman.20150408') + # to run this test locally, download the following asset and register + # it manually to the avocado cache with: + # $(BUILD_DIR)/tests/venv/bin/avocado assets register \ + # vmlinux-3.19.3.mtoman.20150408 <path to the file> + kernel_name = 'vmlinux-3.19.3.mtoman.20150408' kernel_hash = '00d1d268fb9f7d8beda1de6bebcc46e884d71754' - kernel_path = self.fetch_asset(kernel_url, asset_hash=kernel_hash) + kernel_path = self.fetch_asset(kernel_name, asset_hash=kernel_hash) initrd_url = ('https://github.com/groeck/linux-build-test/' 'raw/8584a59e/rootfs/' 'mipsel64/rootfs.mipsel64r1.cpio.gz')
(quoted diff) +0 -0
b/tests/acceptance/replay_kernel.py
index c1cb862468..180e915264 100644
tests/acceptance/replay_kernel.py +6 -4
@@ -397,11 +397,13 @@ def test_mips64el_malta_5KEc_cpio(self): :avocado: tags=endian:little :avocado: tags=slowness:high """ - kernel_url = ('https://github.com/philmd/qemu-testing-blob/' - 'raw/9ad2df38/mips/malta/mips64el/' - 'vmlinux-3.19.3.mtoman.20150408') + # to run this test locally, download the following asset and register + # it manually to the avocado cache with: + # $(BUILD_DIR)/tests/venv/bin/avocado assets register \ + # vmlinux-3.19.3.mtoman.20150408 <path to the file> + kernel_name = 'vmlinux-3.19.3.mtoman.20150408' kernel_hash = '00d1d268fb9f7d8beda1de6bebcc46e884d71754' - kernel_path = self.fetch_asset(kernel_url, asset_hash=kernel_hash) + kernel_path = self.fetch_asset(kernel_name, asset_hash=kernel_hash) initrd_url = ('https://github.com/groeck/linux-build-test/' 'raw/8584a59e/rootfs/' 'mipsel64/rootfs.mipsel64r1.cpio.gz')
What do you think?
ps. WARNING, above code not tested.
Quoted 22 lines
Quoted 21 lines
Quoted 20 lines
tests/acceptance/boot_linux_console.py +0
-0kernel_hash = '00d1d268fb9f7d8beda1de6bebcc46e884d71754' kernel_path = self.fetch_asset(kernel_url,asset_hash=kernel_hash)
tests/acceptance/replay_kernel.py +2
-2@@ -397,8 +397,8 @@ def test_mips64el_malta_5KEc_cpio(self): :avocado: tags=endian:little :avocado: tags=slowness:high """ - kernel_url = ('https://github.com/philmd/qemu-testing-blob/' - 'raw/9ad2df38/mips/malta/mips64el/' + kernel_url = ('http://mipsfedora.imgtec.com/development/22/' + 'mips64el/images/20150601/' 'vmlinux-3.19.3.mtoman.20150408') kernel_hash = '00d1d268fb9f7d8beda1de6bebcc46e884d71754' kernel_path = self.fetch_asset(kernel_url,asset_hash=kernel_hash)
Quoted 39 lines · Willian Rampazzo
Hi Phil,
Quoted 36 lines · Philippe Mathieu-Daudé
Quoted 33 lines · Wainer dos Santos Moschetta
Hi,
Quoted 19 lines · Philippe Mathieu-Daudé
Having artifacts stored in personal namespace is not ideal, as these might get closed and disappear. Use the original URL where these artifacts could be found.
For more references:
https://fedoraproject.org/wiki/Architectures/MIPS/2015Bootstrap/mips64elSigned-off-by Philippe Mathieu-Daudé <[email protected]>--- tests/acceptance/boot_linux_console.py | 4 ++-- tests/acceptance/replay_kernel.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-)tests/acceptance/boot_linux_console.py +0
-0tests/acceptance/boot_linux_console.py def test_mips64el_malta_5KEc_cpio(self): · line 244
Quoted 8 lines
tests/acceptance/boot_linux_console.py +2
-2@@ -239,8 +239,8 @@ def test_mips64el_malta_5KEc_cpio(self): :avocado: tags=machine:malta :avocado: tags=endian:little """ - kernel_url = ('https://github.com/philmd/qemu-testing-blob/' - 'raw/9ad2df38/mips/malta/mips64el/' + kernel_url = ('http://mipsfedora.imgtec.com/development/22/' + 'mips64el/images/20150601/' 'vmlinux-3.19.3.mtoman.20150408')http://mipsfedora.imgtec.com/development/22/mips64el/images/20150601/vmlinux-3.19.3.mtoman.20150408
did not get resolve here. Could you please double-check the url is correct?
Quoted 6 lines
Quoted 3 lines
Yes it is correct, the domain is dead. It was working when I wrote the test. Should I remove the test instead?
This test is already skipped by default because of the
AVOCADO_ALLOW_UNTRUSTED_CODEflag.
QEMU's .gitlab-ci.yml does (see acceptance_definition):
before_script:
- mkdir -p ~/.config/avocado
- echo "[datadir.paths]" > ~/.config/avocado/avocado.conf
- echo "cache_dirs = ['${CI_PROJECT_DIR}/avocado-cache']" >> ~/.config/avocado/avocado.conf
- echo -e '[job.output.testlogs]\nstatuses = ["FAIL", "INTERRUPT"]' >> ~/.config/avocado/avocado.conf
- if [ -d ${CI_PROJECT_DIR}/avocado-cache ]; then
du -chs ${CI_PROJECT_DIR}/avocado-cache ;
fi
- export AVOCADO_ALLOW_UNTRUSTED_CODE=1
Quoted 2 lines
Even if the flag is set to allow
the test to run, it will be skipped because the cache lacks the asset.
Same file, we save the cache between runs:
cache:
key: "${CI_JOB_NAME}-cache"
paths:
- ${CI_PROJECT_DIR}/avocado-cache
Quoted 10 lines
Instead of removing the test, my suggestion is to add information to allow people to run it locally, like:
tests/acceptance/boot_linux_console.py +0
-0@@ -239,11 +239,13 @@ def test_mips64el_malta_5KEc_cpio(self): :avocado: tags=machine:malta
tests/acceptance/boot_linux_console.py def test_mips64el_malta_5KEc_cpio(self): · line 246
Quoted 10 lines
tests/acceptance/boot_linux_console.py +5
-3:avocado: tags=endian:little """ - kernel_url = ('https://github.com/philmd/qemu-testing-blob/' - 'raw/9ad2df38/mips/malta/mips64el/' - 'vmlinux-3.19.3.mtoman.20150408') + # to run this test locally, download the following asset and register + # it manually to the avocado cache with: + # $(BUILD_DIR)/tests/venv/bin/avocado assets register \ + # vmlinux-3.19.3.mtoman.20150408 <path to the file> + kernel_name = 'vmlinux-3.19.3.mtoman.20150408'
In this particular case it could work because the name is not generic, but what about the generic names ("vmlinux" for example)?
Can't we register assets using any string to hash?
Quoted 57 lines
tests/acceptance/boot_linux_console.py +1
-1kernel_hash = '00d1d268fb9f7d8beda1de6bebcc46e884d71754' - kernel_path = self.fetch_asset(kernel_url, asset_hash=kernel_hash) + kernel_path = self.fetch_asset(kernel_name, asset_hash=kernel_hash) initrd_url = ('https://github.com/groeck/linux-build-test/' 'raw/8584a59e/rootfs/' 'mipsel64/rootfs.mipsel64r1.cpio.gz')tests/acceptance/replay_kernel.py +6
-4@@ -397,11 +397,13 @@ def test_mips64el_malta_5KEc_cpio(self): :avocado: tags=endian:little :avocado: tags=slowness:high """ - kernel_url = ('https://github.com/philmd/qemu-testing-blob/' - 'raw/9ad2df38/mips/malta/mips64el/' - 'vmlinux-3.19.3.mtoman.20150408') + # to run this test locally, download the following asset and register + # it manually to the avocado cache with: + # $(BUILD_DIR)/tests/venv/bin/avocado assets register \ + # vmlinux-3.19.3.mtoman.20150408 <path to the file> + kernel_name = 'vmlinux-3.19.3.mtoman.20150408' kernel_hash = '00d1d268fb9f7d8beda1de6bebcc46e884d71754' - kernel_path = self.fetch_asset(kernel_url, asset_hash=kernel_hash) + kernel_path = self.fetch_asset(kernel_name, asset_hash=kernel_hash) initrd_url = ('https://github.com/groeck/linux-build-test/' 'raw/8584a59e/rootfs/' 'mipsel64/rootfs.mipsel64r1.cpio.gz')What do you think?
ps. WARNING, above code not tested.
Quoted 22 lines
Quoted 21 lines
Quoted 20 lines
tests/acceptance/boot_linux_console.py +0
-0kernel_hash = '00d1d268fb9f7d8beda1de6bebcc46e884d71754' kernel_path = self.fetch_asset(kernel_url,asset_hash=kernel_hash)
tests/acceptance/replay_kernel.py +2
-2@@ -397,8 +397,8 @@ def test_mips64el_malta_5KEc_cpio(self): :avocado: tags=endian:little :avocado: tags=slowness:high """ - kernel_url = ('https://github.com/philmd/qemu-testing-blob/' - 'raw/9ad2df38/mips/malta/mips64el/' + kernel_url = ('http://mipsfedora.imgtec.com/development/22/' + 'mips64el/images/20150601/' 'vmlinux-3.19.3.mtoman.20150408') kernel_hash = '00d1d268fb9f7d8beda1de6bebcc46e884d71754' kernel_path = self.fetch_asset(kernel_url,asset_hash=kernel_hash)
Hi Phil,
Quoted 50 lines · Philippe Mathieu-Daudé
Quoted 39 lines · Willian Rampazzo
Hi Phil,
Quoted 36 lines · Philippe Mathieu-Daudé
Quoted 33 lines · Wainer dos Santos Moschetta
Hi,
Quoted 19 lines · Philippe Mathieu-Daudé
Having artifacts stored in personal namespace is not ideal, as these might get closed and disappear. Use the original URL where these artifacts could be found.
For more references:
https://fedoraproject.org/wiki/Architectures/MIPS/2015Bootstrap/mips64elSigned-off-by Philippe Mathieu-Daudé <[email protected]>--- tests/acceptance/boot_linux_console.py | 4 ++-- tests/acceptance/replay_kernel.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-)tests/acceptance/boot_linux_console.py +0
-0tests/acceptance/boot_linux_console.py def test_mips64el_malta_5KEc_cpio(self): · line 244
Quoted 8 lines
tests/acceptance/boot_linux_console.py +2
-2@@ -239,8 +239,8 @@ def test_mips64el_malta_5KEc_cpio(self): :avocado: tags=machine:malta :avocado: tags=endian:little """ - kernel_url = ('https://github.com/philmd/qemu-testing-blob/' - 'raw/9ad2df38/mips/malta/mips64el/' + kernel_url = ('http://mipsfedora.imgtec.com/development/22/' + 'mips64el/images/20150601/' 'vmlinux-3.19.3.mtoman.20150408')http://mipsfedora.imgtec.com/development/22/mips64el/images/20150601/vmlinux-3.19.3.mtoman.20150408
did not get resolve here. Could you please double-check the url is correct?Quoted 6 lines
Quoted 3 lines
Yes it is correct, the domain is dead. It was working when I wrote the test. Should I remove the test instead?
This test is already skipped by default because of the
AVOCADO_ALLOW_UNTRUSTED_CODEflag.QEMU's .gitlab-ci.yml does (see
acceptance_definition):
Quoted 12 lines
before_script:
- mkdir -p ~/.config/avocado
- echo "[datadir.paths]" >~/.config/avocado/avocado.conf
- echo "cache_dirs= ['${CI_PROJECT_DIR}/avocado-cache']" >>~/.config/avocado/avocado.conf
- echo -e '[job.output.testlogs]\nstatuses = ["FAIL", "INTERRUPT"]' >>~/.config/avocado/avocado.conf
- if [ -d ${CI_PROJECT_DIR}/avocado-cache ]; then
du -chs ${CI_PROJECT_DIR}/avocado-cache ;
fi
- export AVOCADO_ALLOW_UNTRUSTED_CODE=1
This is true when running the test in the CI. What happens if I try to run this test locally? It will be skipped unless I set AVOCADO_ALLOW_UNTRUSTED_CODE=1.
Quoted 10 lines
Quoted 2 lines
Even if the flag is set to allow
the test to run, it will be skipped because the cache lacks the asset.Same file, we save the cache between runs:
cache:
key: "${CI_JOB_NAME}-cache"
paths:
- ${CI_PROJECT_DIR}/avocado-cache
In the CI environment, the test will execute because the asset is already cached. Again, what happens if we merge this code and I try to run it locally? the test will be skipped because I don't have the asset.
The QEMU GitLab CI won't be affected by an invalid URL and will run the test until the cache is cleared. If someone tries to run the pipeline on a new instance of a GitLab CI, the test will be skipped.
With my suggestion, developers will have the chance to run the test locally if they have the correct file and register it to their local cache manually.
Quoted 24 lines
Quoted 10 lines
Instead of removing the test, my suggestion is to add information to allow people to run it locally, like:
tests/acceptance/boot_linux_console.py +0
-0@@ -239,11 +239,13 @@ def test_mips64el_malta_5KEc_cpio(self): :avocado: tags=machine:maltatests/acceptance/boot_linux_console.py def test_mips64el_malta_5KEc_cpio(self): · line 246
Quoted 10 lines
tests/acceptance/boot_linux_console.py +5
-3:avocado: tags=endian:little """ - kernel_url = ('https://github.com/philmd/qemu-testing-blob/' - 'raw/9ad2df38/mips/malta/mips64el/' - 'vmlinux-3.19.3.mtoman.20150408') + # to run this test locally, download the following asset and register + # it manually to the avocado cache with: + # $(BUILD_DIR)/tests/venv/bin/avocado assets register \ + # vmlinux-3.19.3.mtoman.20150408 <path to the file> + kernel_name = 'vmlinux-3.19.3.mtoman.20150408'In this particular case it could work because the name is not generic, but what about the generic names ("vmlinux" for example)?
Quoted 2 lines
Can't we register assets using any string to hash?
Right now it is not supported, but I opened an issue to discuss it
here: https://github.com/avocado-framework/avocado/issues/4435
Quoted 58 lines
Quoted 57 lines
tests/acceptance/boot_linux_console.py +1
-1kernel_hash = '00d1d268fb9f7d8beda1de6bebcc46e884d71754' - kernel_path = self.fetch_asset(kernel_url, asset_hash=kernel_hash) + kernel_path = self.fetch_asset(kernel_name, asset_hash=kernel_hash) initrd_url = ('https://github.com/groeck/linux-build-test/' 'raw/8584a59e/rootfs/' 'mipsel64/rootfs.mipsel64r1.cpio.gz')tests/acceptance/replay_kernel.py +6
-4@@ -397,11 +397,13 @@ def test_mips64el_malta_5KEc_cpio(self): :avocado: tags=endian:little :avocado: tags=slowness:high """ - kernel_url = ('https://github.com/philmd/qemu-testing-blob/' - 'raw/9ad2df38/mips/malta/mips64el/' - 'vmlinux-3.19.3.mtoman.20150408') + # to run this test locally, download the following asset and register + # it manually to the avocado cache with: + # $(BUILD_DIR)/tests/venv/bin/avocado assets register \ + # vmlinux-3.19.3.mtoman.20150408 <path to the file> + kernel_name = 'vmlinux-3.19.3.mtoman.20150408' kernel_hash = '00d1d268fb9f7d8beda1de6bebcc46e884d71754' - kernel_path = self.fetch_asset(kernel_url, asset_hash=kernel_hash) + kernel_path = self.fetch_asset(kernel_name, asset_hash=kernel_hash) initrd_url = ('https://github.com/groeck/linux-build-test/' 'raw/8584a59e/rootfs/' 'mipsel64/rootfs.mipsel64r1.cpio.gz')What do you think?
ps. WARNING, above code not tested.
Quoted 22 lines
Quoted 21 lines
Quoted 20 lines
tests/acceptance/boot_linux_console.py +0
-0kernel_hash = '00d1d268fb9f7d8beda1de6bebcc46e884d71754' kernel_path = self.fetch_asset(kernel_url,asset_hash=kernel_hash)
tests/acceptance/replay_kernel.py +2
-2@@ -397,8 +397,8 @@ def test_mips64el_malta_5KEc_cpio(self): :avocado: tags=endian:little :avocado: tags=slowness:high """ - kernel_url = ('https://github.com/philmd/qemu-testing-blob/' - 'raw/9ad2df38/mips/malta/mips64el/' + kernel_url = ('http://mipsfedora.imgtec.com/development/22/' + 'mips64el/images/20150601/' 'vmlinux-3.19.3.mtoman.20150408') kernel_hash = '00d1d268fb9f7d8beda1de6bebcc46e884d71754' kernel_path = self.fetch_asset(kernel_url,asset_hash=kernel_hash)