summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDean Arnold <dean.arnold@linaro.org>2016-07-23 19:22:41 (GMT)
committerDean Arnold <dean.arnold@linaro.org>2016-08-02 21:32:04 (GMT)
commit8753b43dc6b4bbb6c6ef2a48527ad55e83fddaf9 (patch)
tree7bec881902876da70229bb6998b4f3beadeb881d
parent98dd758b406efe0e1bb68498c69d2baa518ec2d1 (diff)
downloadlava-dispatcher-8753b43dc6b4bbb6c6ef2a48527ad55e83fddaf9.tar.gz
lava-dispatcher-8753b43dc6b4bbb6c6ef2a48527ad55e83fddaf9.tar.xz
Enabling NFS only deployment
Useful for devices such as versatile express where the kernel/dtb can be updated as part of a larger firmware bundle. In these cases the tftp deployment is overkill as only the nfsroot part is required Modifications to sample jobs and device configs to use booti instead of bootz Change-Id: I585b8264945218efc42e9136883cfa7407abe8ca
-rw-r--r--lava_dispatcher/pipeline/actions/deploy/nfs.py29
-rw-r--r--lava_dispatcher/pipeline/actions/deploy/strategies.py1
-rw-r--r--lava_dispatcher/pipeline/devices/juno-uboot.yaml62
-rw-r--r--lava_dispatcher/pipeline/devices/juno-uefi.yaml20
-rw-r--r--lava_dispatcher/pipeline/test/sample_jobs/juno-uboot-nfs.yaml46
-rw-r--r--lava_dispatcher/pipeline/test/sample_jobs/juno-uboot-removable.yaml (renamed from lava_dispatcher/pipeline/test/sample_jobs/juno-uboot-oe-usb.yaml)27
-rw-r--r--lava_dispatcher/pipeline/test/sample_jobs/juno-uboot-tftp.yaml51
-rw-r--r--lava_dispatcher/pipeline/test/sample_jobs/juno-uefi-tftp.yaml39
-rw-r--r--lava_dispatcher/pipeline/test/test_removable.py2
9 files changed, 209 insertions, 68 deletions
diff --git a/lava_dispatcher/pipeline/actions/deploy/nfs.py b/lava_dispatcher/pipeline/actions/deploy/nfs.py
index e7cd53e..f82d0ee 100644
--- a/lava_dispatcher/pipeline/actions/deploy/nfs.py
+++ b/lava_dispatcher/pipeline/actions/deploy/nfs.py
@@ -25,7 +25,13 @@ from lava_dispatcher.pipeline.action import Pipeline
from lava_dispatcher.pipeline.logical import Deployment
from lava_dispatcher.pipeline.actions.deploy import DeployAction
from lava_dispatcher.pipeline.actions.deploy.download import DownloaderAction
-from lava_dispatcher.pipeline.actions.deploy.apply_overlay import PrepareOverlayTftp
+from lava_dispatcher.pipeline.actions.deploy.apply_overlay import (
+ PrepareOverlayTftp,
+ ExtractNfsRootfs,
+ OverlayAction,
+ ExtractModules,
+ ApplyOverlayTftp,
+)
from lava_dispatcher.pipeline.actions.deploy.environment import DeployDeviceEnvironment
from lava_dispatcher.pipeline.utils.filesystem import mkdtemp
from lava_dispatcher.pipeline.utils.constants import DISPATCHER_DOWNLOAD_DIR
@@ -53,10 +59,8 @@ def nfs_accept(device, parameters):
class Nfs(Deployment):
"""
- Strategy class for a tftp ramdisk based Deployment.
- Downloads the relevant parts, copies to the tftp location.
- Limited to what the bootloader can deploy which means ramdisk or nfsrootfs.
- rootfs deployments would format the device and create a single partition for the rootfs.
+ Strategy class for a NFS deployment.
+ Downloads rootfs and deploys to NFS server on dispatcher
"""
compatibility = 1
@@ -84,16 +88,12 @@ class NfsAction(DeployAction): # pylint:disable=too-many-instance-attributes
self.name = "nfs-deploy"
self.description = "deploy nfsrootfs"
self.summary = "NFS deployment"
- try:
- self.tftp_dir = mkdtemp(basedir=self.tftp_dir)
- except OSError:
- # allows for unit tests to operate as normal user.
- self.suffix = '/'
self.download_dir = DISPATCHER_DOWNLOAD_DIR
try:
self.download_dir = mkdtemp(basedir=DISPATCHER_DOWNLOAD_DIR)
except OSError:
- pass
+ # allows for unit tests to operate as normal user.
+ self.suffix = '/'
def validate(self):
super(NfsAction, self).validate()
@@ -111,9 +111,12 @@ class NfsAction(DeployAction): # pylint:disable=too-many-instance-attributes
download.max_retries = 3
self.internal_pipeline.add_action(download)
if 'modules' in parameters:
- download = DownloaderAction('modules', path=self.tftp_dir)
+ download = DownloaderAction('modules', path=self.download_dir)
download.max_retries = 3
self.internal_pipeline.add_action(download)
# NfsAction is a deployment, so once the nfsrootfs has been deployed, just do the overlay
- self.internal_pipeline.add_action(PrepareOverlayTftp())
+ self.internal_pipeline.add_action(ExtractNfsRootfs())
+ self.internal_pipeline.add_action(OverlayAction())
+ self.internal_pipeline.add_action(ExtractModules())
+ self.internal_pipeline.add_action(ApplyOverlayTftp())
self.internal_pipeline.add_action(DeployDeviceEnvironment())
diff --git a/lava_dispatcher/pipeline/actions/deploy/strategies.py b/lava_dispatcher/pipeline/actions/deploy/strategies.py
index 69a2370..49e2b4c 100644
--- a/lava_dispatcher/pipeline/actions/deploy/strategies.py
+++ b/lava_dispatcher/pipeline/actions/deploy/strategies.py
@@ -30,3 +30,4 @@ from lava_dispatcher.pipeline.actions.deploy.ssh import Ssh
from lava_dispatcher.pipeline.actions.deploy.fastboot import Fastboot
from lava_dispatcher.pipeline.actions.deploy.lxc import Lxc
from lava_dispatcher.pipeline.actions.deploy.iso import DeployIso
+from lava_dispatcher.pipeline.actions.deploy.nfs import Nfs
diff --git a/lava_dispatcher/pipeline/devices/juno-uboot.yaml b/lava_dispatcher/pipeline/devices/juno-uboot.yaml
index 67d4707..b1ee508 100644
--- a/lava_dispatcher/pipeline/devices/juno-uboot.yaml
+++ b/lava_dispatcher/pipeline/devices/juno-uboot.yaml
@@ -1,39 +1,41 @@
device_type: juno
parameters:
- bootz:
+ booti:
kernel: '0x80080000'
ramdisk: '0x84000000'
dtb: '0x83000000'
media: # four USB slots.
usb:
UUID-required: True
- Kingston_DataTraveler:
- uuid: "usb-Kingston_DataTraveler_2.0_60A44C4254D6F9707B561FA3-0:0" # /dev/disk/by-id/
+ SanDisk_Ultra:
+ uuid: "usb-SanDisk_Ultra_20051536410F43008552-0:0"
device_id: 0 # the bootloader device id for this media on the 'usb' interface
commands:
- connect: telnet localhost 6000
- hard_reset: /usr/bin/pduclient --daemon localhost --hostname pdu --command reboot --port 08
- power_off: /usr/bin/pduclient --daemon localhost --hostname pdu --command off --port 08
- power_on: /usr/bin/pduclient --daemon localhost --hostname pdu --command on --port 08
+ connect: telnet localhost 7002
+ hard_reset: /usr/local/lab-scripts/pduclient --daemon services --hostname pdu14 --command off --port 02; sleep 10; /usr/local/lab-scripts/pduclient --daemon services --hostname pdu14 --command on --port 02
+ power_off: /usr/local/lab-scripts/pduclient --daemon services --hostname pdu14 --command off --port 02
+ power_on: /usr/local/lab-scripts/pduclient --daemon services --hostname pdu14 --command on --port 02
actions:
deploy:
# list of deployment methods which this device supports
methods:
- tftp:
lxc:
+ nfs:
+ tftp:
+ usb:
connections:
+ adb:
lxc:
serial:
- adb:
boot:
# list of connection methods which this device supports
connections:
- serial:
- lxc:
adb:
+ lxc:
+ serial:
# list of boot methods which this device supports.
methods:
lxc:
@@ -51,49 +53,53 @@ actions:
- setenv autoload no
- setenv bootdelay 1
- setenv ethact smc911x-0
- - setenv fdt_addr 0x83000000
- setenv fdt_high 0xffffffffffffffff
- setenv fdtfile board.dtb
- - setenv initrd_addr 0x84000000
- setenv initrd_high 0xffffffffffffffff
- setenv initrd_name ramdisk.img
- - setenv kernel_addr 0x80080000
- setenv kernel_name norkern
- setenv bootargs 'console=ttyAMA0,115200n8 root=/dev/sda2 rw rootwait earlycon=pl011,0x7ff80000 debug systemd.log_target=null user_debug=31 androidboot.hardware=juno loglevel=9'
- - setenv bootcmd 'afs load ${kernel_name} ${kernel_addr} ; afs load ${fdtfile} ${fdt_addr} ; fdt addr ${fdt_addr}; fdt resize; if afs load ${initrd_name} ${initrd_addr} ; then setenv initrd_param ${initrd_addr}; else setenv initrd_param -; fi ; setenv bootargs ${bootargs} ${bootargs_sky2}; booti ${kernel_addr} ${initrd_param} ${fdt_addr}'
+ - setenv bootcmd 'afs load ${kernel_name} {KERNEL_ADDR} ; afs load ${fdtfile} {DTB_ADDR} ; fdt addr {DTB_ADDR}; fdt resize; if afs load ${initrd_name} {RAMDISK_ADDR} ; then setenv initrd_param {RAMDISK_ADDR}; else setenv initrd_param -; fi ; setenv bootargs ${bootargs} ${bootargs_sky2}; booti {KERNEL_ADDR} ${initrd_param} {DTB_ADDR}'
+ - boot
+ nfs:
+ commands:
+ - setenv autoload no
+ - setenv bootdelay 1
+ - setenv ethact smc911x-0
+ - setenv fdt_high 0xffffffffffffffff
+ - setenv fdtfile board.dtb
+ - setenv initrd_high 0xffffffffffffffff
+ - setenv initrd_name ramdisk.img
+ - setenv kernel_name norkern
+ - setenv bootargs 'console=ttyAMA0,115200n8 root=/dev/nfs nfsroot={SERVER_IP}:{NFSROOTFS} ip=dhcp rw rootwait earlycon=pl011,0x7ff80000 debug systemd.log_target=null user_debug=31 androidboot.hardware=juno loglevel=9'
+ - setenv bootcmd 'afs load ${kernel_name} {KERNEL_ADDR} ; afs load ${fdtfile} {DTB_ADDR} ; fdt addr {DTB_ADDR}; fdt resize; if afs load ${initrd_name} {RAMDISK_ADDR} ; then setenv initrd_param {RAMDISK_ADDR}; else setenv initrd_param -; fi ; setenv bootargs ${bootargs} ${bootargs_sky2}; booti {KERNEL_ADDR} ${initrd_param} {DTB_ADDR}'
- boot
ramdisk-tftp:
commands:
- setenv autoload no
- setenv bootdelay 1
- setenv ethact smc911x-0
- - setenv fdt_addr 0x83000000
- setenv fdt_high 0xffffffffffffffff
- - setenv initrd_addr 0x84000000
- setenv initrd_high 0xffffffffffffffff
- - setenv kernel_addr 0x80080000
- setenv initrd_name ramdisk.cpio
- - setenv loadfdt 'tftp ${fdt_addr} {DTB}'
- - setenv loadkernel 'tftp ${kernel_addr} {KERNEL}'
- - setenv loadinitrd 'tftp ${initrd_addr} {RAMDISK}'
+ - setenv loadfdt 'tftp {DTB_ADDR} {DTB}'
+ - setenv loadkernel 'tftp {KERNEL_ADDR} {KERNEL}'
+ - setenv loadinitrd 'tftp {RAMDISK_ADDR} {RAMDISK}'
- setenv bootargs 'console=ttyAMA0,115200n8 root=/dev/sda2 rw rootwait earlycon=pl011,0x7ff80000 debug systemd.log_target=null user_debug=31 androidboot.hardware=juno loglevel=9'
- - setenv bootcmd 'dhcp; setenv serverip {SERVER_IP}; run loadkernel; run loadfdt; fdt addr ${fdt_addr}; fdt resize; if run loadinitrd; then setenv initrd_param ${initrd_addr}; else setenv initrd_param -; fi ; setenv bootargs ${bootargs} ${bootargs_sky2}; booti ${kernel_addr} ${initrd_param} ${fdt_addr}'
+ - setenv bootcmd 'dhcp; setenv serverip {SERVER_IP}; run loadkernel; run loadfdt; fdt addr {DTB_ADDR}; fdt resize; if run loadinitrd; then setenv initrd_param {RAMDISK_ADDR}; else setenv initrd_param -; fi ; setenv bootargs ${bootargs} ${bootargs_sky2}; booti {KERNEL_ADDR} ${initrd_param} {DTB_ADDR}'
- boot
tftp:
commands:
- setenv autoload no
- setenv bootdelay 1
- setenv ethact smc911x-0
- - setenv fdt_addr 0x83000000
- setenv fdt_high 0xffffffffffffffff
- - setenv initrd_addr 0x84000000
- setenv initrd_high 0xffffffffffffffff
- - setenv kernel_addr 0x80080000
- setenv initrd_name ramdisk.img
- - setenv loadfdt 'tftp ${fdt_addr} {DTB}'
- - setenv loadkernel 'tftp ${kernel_addr} {KERNEL}'
+ - setenv loadfdt 'tftp {DTB_ADDR} {DTB}'
+ - setenv loadkernel 'tftp {KERNEL_ADDR} {KERNEL}'
- setenv bootargs 'console=ttyAMA0,115200n8 root=/dev/nfs nfsroot={SERVER_IP}:{NFSROOTFS} ip=dhcp rw rootwait earlycon=pl011,0x7ff80000 debug systemd.log_target=null user_debug=31 androidboot.hardware=juno loglevel=9'
- - setenv bootcmd 'dhcp; setenv serverip {SERVER_IP}; run loadkernel; run loadfdt; fdt addr ${fdt_addr}; fdt resize; if afs load ${initrd_name} ${initrd_addr} ; then setenv initrd_param ${initrd_addr}; else setenv initrd_param -; fi ; setenv bootargs ${bootargs} ${bootargs_sky2}; booti ${kernel_addr} ${initrd_param} ${fdt_addr}'
+ - setenv bootcmd 'dhcp; setenv serverip {SERVER_IP}; run loadkernel; run loadfdt; fdt addr {DTB_ADDR}; fdt resize; if afs load ${initrd_name} {RAMDISK_ADDR} ; then setenv initrd_param {RAMDISK_ADDR}; else setenv initrd_param -; fi ; setenv bootargs ${bootargs} ${bootargs_sky2}; booti {KERNEL_ADDR} ${initrd_param} {DTB_ADDR}'
- boot
use-defaults:
commands:
diff --git a/lava_dispatcher/pipeline/devices/juno-uefi.yaml b/lava_dispatcher/pipeline/devices/juno-uefi.yaml
index 668df46..998c660 100644
--- a/lava_dispatcher/pipeline/devices/juno-uefi.yaml
+++ b/lava_dispatcher/pipeline/devices/juno-uefi.yaml
@@ -4,10 +4,16 @@ parameters:
media: # four USB slots.
usb:
UUID-required: True
- Kingston_DataTraveler:
- uuid: "usb-Kingston_DataTraveler_2.0_60A44C4254D6F9707B561FA3-0:0" # /dev/disk/by-id/
+ SanDisk_Ultra:
+ uuid: "usb-SanDisk_Ultra_20051536410F43008552-0:0"
device_id: 0 # the bootloader device id for this media on the 'usb' interface
+commands:
+ connect: telnet localhost 7002
+ hard_reset: /usr/local/lab-scripts/pduclient --daemon services --hostname pdu14 --command off --port 02; sleep 10; /usr/local/lab-scripts/pduclient --daemon services --hostname pdu14 --command on --port 02
+ power_off: /usr/local/lab-scripts/pduclient --daemon services --hostname pdu14 --command off --port 02
+ power_on: /usr/local/lab-scripts/pduclient --daemon services --hostname pdu14 --command on --port 02
+
character-delays:
boot: 50
@@ -66,7 +72,7 @@ actions:
enter: "dtb=board.dtb initrd=ramdisk.img console=ttyAMA0,115200 androidboot.hardware=juno systemd.log_target=null rootwait root=/dev/sda1"
wait: 'Description for this new Entry:'
- select:
- enter: 'LAVA Master Image'
+ enter: '{TEST_MENU_NAME}'
wait: "Choice:"
- select:
items:
@@ -85,8 +91,8 @@ actions:
wait: "Start:"
- select:
items:
- - LAVA Master Image
- nfs:
+ - '{TEST_MENU_NAME}'
+ tftp:
- select:
items:
- 'Boot Manager'
@@ -121,7 +127,7 @@ actions:
enter: "console=ttyS0,115200 earlyprintk=uart8250-32bit,0x1c020000 debug root=/dev/nfs rw nfsroot={SERVER_IP}:{NFSROOTFS},tcp,hard,intr ip=dhcp"
wait: 'Description for this new Entry:'
- select:
- enter: 'Test Image'
+ enter: '{TEST_MENU_NAME}'
wait: "Choice:"
- select:
items:
@@ -146,4 +152,4 @@ actions:
wait: "Start:"
- select:
items:
- - Test Image
+ - '{TEST_MENU_NAME}'
diff --git a/lava_dispatcher/pipeline/test/sample_jobs/juno-uboot-nfs.yaml b/lava_dispatcher/pipeline/test/sample_jobs/juno-uboot-nfs.yaml
new file mode 100644
index 0000000..0621e79
--- /dev/null
+++ b/lava_dispatcher/pipeline/test/sample_jobs/juno-uboot-nfs.yaml
@@ -0,0 +1,46 @@
+# Sample JOB definition for a juno u-boot NFS job
+
+device_type: juno
+
+job_name: juno-uboot-nfs
+timeouts:
+ job:
+ minutes: 15
+ action:
+ minutes: 5
+priority: medium
+visibility: public
+
+actions:
+
+ - deploy:
+ timeout:
+ minutes: 2
+ to: nfs
+ os: oe
+ nfsrootfs:
+ url: http://releases.linaro.org/openembedded/juno-lsk/16.02/linaro-image-minimal-genericarmv8-20160222-790.rootfs.tar.gz
+ compression: gz
+
+ - boot:
+ method: u-boot
+ commands: nfs
+ type: booti
+ parameters:
+ shutdown-message: "reboot: Restarting system"
+ prompts:
+ - '/ #'
+ - 'linaro-test'
+ - 'root@debian:~#'
+ - 'root@genericarmv8:~#'
+
+ - test:
+ failure_retry: 3
+ name: juno-basics
+ timeout:
+ minutes: 5
+ definitions:
+ - repository: git://git.linaro.org/qa/test-definitions.git
+ from: git
+ path: openembedded/smoke-tests-basic.yaml
+ name: smoke-tests
diff --git a/lava_dispatcher/pipeline/test/sample_jobs/juno-uboot-oe-usb.yaml b/lava_dispatcher/pipeline/test/sample_jobs/juno-uboot-removable.yaml
index 0cd844d..c47a676 100644
--- a/lava_dispatcher/pipeline/test/sample_jobs/juno-uboot-oe-usb.yaml
+++ b/lava_dispatcher/pipeline/test/sample_jobs/juno-uboot-removable.yaml
@@ -1,14 +1,15 @@
-# Sample JOB definition for a juno u-boot tftp busybox job
+# Sample JOB definition for a juno u-boot removable media job
device_type: juno
-job_name: juno-uboot-oe-pipeline
+job_name: juno-uboot-removable
timeouts:
job:
- minutes: 15 # timeout for the whole job (default: ??h)
+ minutes: 15
action:
- minutes: 5 # default timeout applied for each action; can be overriden in the action itself (default: ?h)
+ minutes: 5
priority: medium
+visibility: public
actions:
@@ -30,7 +31,7 @@ actions:
method: u-boot
namespace: master-image
commands: tftp
- type: bootz
+ type: booti
parameters:
shutdown-message: "reboot: Restarting system"
prompts:
@@ -39,18 +40,6 @@ actions:
- 'root@debian:~#'
- 'root@genericarmv8:~#'
- - test:
- namespace: master-image
- failure_retry: 3
- name: juno-basics
- timeout:
- minutes: 5
- definitions:
- - repository: git://git.linaro.org/qa/test-definitions.git
- from: git
- path: openembedded/smoke-tests-basic.yaml
- name: smoke-tests
-
- deploy:
timeout:
minutes: 10
@@ -61,7 +50,7 @@ actions:
image:
url: http://releases.linaro.org/openembedded/juno-lsk/16.02/lt-vexpress64-openembedded_minimal-armv8-gcc-5.2_20160121-736.img.gz
compression: gz
- device: Kingston_DataTraveler # needs to be exposed in the device-specific UI
+ device: SanDisk_Ultra # needs to be exposed in the device-specific UI
download:
tool: /usr/bin/wget
options: --no-check-certificate --no-proxy --connect-timeout=30 -S --progress=dot:giga -O - {DOWNLOAD_URL}
@@ -70,7 +59,7 @@ actions:
method: u-boot
namespace: test-image
commands: use-defaults
- type: bootz
+ type: booti
parameters:
shutdown-message: "reboot: Restarting system"
prompts:
diff --git a/lava_dispatcher/pipeline/test/sample_jobs/juno-uboot-tftp.yaml b/lava_dispatcher/pipeline/test/sample_jobs/juno-uboot-tftp.yaml
new file mode 100644
index 0000000..8217297
--- /dev/null
+++ b/lava_dispatcher/pipeline/test/sample_jobs/juno-uboot-tftp.yaml
@@ -0,0 +1,51 @@
+# Sample JOB definition for a juno u-boot tftp job
+
+device_type: juno
+
+job_name: juno-uboot-tftp
+timeouts:
+ job:
+ minutes: 15
+ action:
+ minutes: 5
+priority: medium
+visibility: public
+
+actions:
+
+ - deploy:
+ timeout:
+ minutes: 2
+ to: tftp
+ kernel:
+ url: http://images.validation.linaro.org/juno/kernel/Image
+ os: oe
+ dtb:
+ url: http://images.validation.linaro.org/juno/kernel/juno.dtb
+ nfsrootfs:
+ url: http://releases.linaro.org/openembedded/juno-lsk/16.02/linaro-image-minimal-genericarmv8-20160222-790.rootfs.tar.gz
+ compression: gz
+
+ - boot:
+ method: u-boot
+ commands: tftp
+ type: booti
+ parameters:
+ shutdown-message: "reboot: Restarting system"
+ prompts:
+ - '/ #'
+ - 'linaro-test'
+ - 'root@debian:~#'
+ - 'root@genericarmv8:~#'
+
+ - test:
+ failure_retry: 3
+ name: juno-basics
+ timeout:
+ minutes: 5
+ definitions:
+ - repository: git://git.linaro.org/qa/test-definitions.git
+ from: git
+ path: openembedded/smoke-tests-basic.yaml
+ name: smoke-tests
+
diff --git a/lava_dispatcher/pipeline/test/sample_jobs/juno-uefi-tftp.yaml b/lava_dispatcher/pipeline/test/sample_jobs/juno-uefi-tftp.yaml
new file mode 100644
index 0000000..554bcdc
--- /dev/null
+++ b/lava_dispatcher/pipeline/test/sample_jobs/juno-uefi-tftp.yaml
@@ -0,0 +1,39 @@
+# Sample JOB definition for a juno uefi tftp job
+
+device_type: juno
+
+job_name: juno-uefi-tftp
+timeouts:
+ job:
+ minutes: 15
+ action:
+ minutes: 5
+ connection:
+ minutes: 3
+ uefi-menu-selector:
+ minutes: 5
+priority: medium
+visibility: public
+
+actions:
+
+ - deploy:
+ timeout:
+ minutes: 2
+ to: tftp
+ kernel:
+ url: http://images.validation.linaro.org/juno/kernel/Image
+ dtb:
+ url: http://images.validation.linaro.org/juno/kernel/juno.dtb
+ nfsrootfs:
+ url: http://releases.linaro.org/openembedded/juno-lsk/15.09/linaro-image-minimal-genericarmv8-20150921-770.rootfs.tar.gz
+ compression: gz
+ os: oe
+
+ - boot:
+ method: uefi-menu
+ commands: tftp
+ prompts:
+ - '/ #'
+ - 'linaro-test'
+ - 'root@debian:~#'
diff --git a/lava_dispatcher/pipeline/test/test_removable.py b/lava_dispatcher/pipeline/test/test_removable.py
index cb629a6..fea6570 100644
--- a/lava_dispatcher/pipeline/test/test_removable.py
+++ b/lava_dispatcher/pipeline/test/test_removable.py
@@ -133,7 +133,7 @@ class TestRemovable(unittest.TestCase): # pylint: disable=too-many-public-metho
def test_juno_deployment(self):
factory = Factory()
- job = factory.create_job('sample_jobs/juno-uboot-oe-usb.yaml', '../devices/juno-uboot.yaml')
+ job = factory.create_job('sample_jobs/juno-uboot-removable.yaml', '../devices/juno-uboot.yaml')
job.validate()
self.assertEqual(job.pipeline.errors, [])
self.assertIn('usb', job.device['parameters']['media'].keys())