Commit 20513ace authored by Amro Hassaan's avatar Amro Hassaan
Browse files

Merge branch 'enable_aarch64_ubuntu_LTS_image_testing' into 'main'

Enable testing Linux distro on nightly

See merge request !138
parents 0ebee132 8bb32baa
Pipeline #23237 failed with stages
in 172 minutes and 22 seconds
......@@ -49,6 +49,8 @@ build-firmware:
- "output/fvp/intermediates/*.efi"
- "pinned-manifest.xml"
expire_in: 5 days
reports:
dotenv: build.env
build-android:
image: ${CI_REGISTRY}/morello/morello-ci-containers/morello-android
......@@ -125,6 +127,17 @@ test-busybox:
tags:
- arm64
test-ubuntu:
image: ${CI_REGISTRY}/morello/morello-ci-containers/morello-lava
stage: test
script:
- source <(curl -s https://git.morello-project.org/morello/morello-ci-pipelines/-/raw/main/.gitlab-ci/environment.sh)
- time ./.gitlab-ci/${CI_JOB_STAGE}/test.sh
needs:
- job: build-firmware
tags:
- arm64
report_success:
image: ${CI_REGISTRY}/morello/morello-ci-containers/morello-poky
stage: report-to-trigger
......
......@@ -79,3 +79,7 @@ time bash -x ./build-scripts/build-firmware-image.sh -f none
# Build GRUB
time bash -x ./build-scripts/build-grub.sh -f none
echo "BUILD_JOB_ID=${CI_JOB_ID}" > ${CI_PROJECT_DIR}/build.env
echo "LAVA_TEMPLATE_NAME=fvp-ubuntu.yaml" >> ${CI_PROJECT_DIR}/build.env
cat ${CI_PROJECT_DIR}/build.env
device_type: fvp
job_name: Morello_FVP_Android - test-android-ubuntu
timeouts:
connection:
minutes: 30
action:
minutes: 60
job:
hours: 3
priority: medium
visibility: public
actions:
- deploy:
to: fvp
images:
scp_romfw:
url: {{CI_API_V4_URL}}/projects/{{CI_PROJECT_ID}}/jobs/{{BUILD_JOB_ID}}/artifacts/output/fvp/firmware/scp_romfw.bin
scp_fw:
url: {{CI_API_V4_URL}}/projects/{{CI_PROJECT_ID}}/jobs/{{BUILD_JOB_ID}}/artifacts/output/fvp/firmware/scp_fw.bin
mcp_romfw:
url: {{CI_API_V4_URL}}/projects/{{CI_PROJECT_ID}}/jobs/{{BUILD_JOB_ID}}/artifacts/output/fvp/firmware/mcp_romfw.bin
mcp_fw:
url: {{CI_API_V4_URL}}/projects/{{CI_PROJECT_ID}}/jobs/{{BUILD_JOB_ID}}/artifacts/output/fvp/firmware/mcp_fw.bin
uefi:
url: {{CI_API_V4_URL}}/projects/{{CI_PROJECT_ID}}/jobs/{{BUILD_JOB_ID}}/artifacts/output/fvp/firmware/uefi.bin
rootfs:
url: http://testdata.lava.morello-project.org/ubuntu.satadisk.xz
compression: xz
- boot:
method: fvp
docker:
name: "718845120493.dkr.ecr.us-east-1.amazonaws.com/fvp:0.11.19"
local: true
container_name: "net-1234"
image: /opt/model/FVP_Morello/models/Linux64_GCC-6.4/FVP_Morello
version_string: 'Fast Models [^\n]+'
timeout:
hours: 2
console_string: 'terminal_uart_ap: Listening for serial connection on port (?P<PORT>\d+)'
feedbacks:
- '(?P<NAME>terminal_uart0): Listening for serial connection on port (?P<PORT>\d+)'
- '(?P<NAME>terminal_uart1): Listening for serial connection on port (?P<PORT>\d+)'
- '(?P<NAME>terminal_uart_aon): Listening for serial connection on port (?P<PORT>\d+)'
- '(?P<NAME>terminal_uart1_ap): Listening for serial connection on port (?P<PORT>\d+)'
- '(?P<NAME>terminal_sec_uart_ap): Listening for serial connection on port (?P<PORT>\d+)'
- '(?P<NAME>terminal_uart0_board): Listening for serial connection on port (?P<PORT>\d+)'
- '(?P<NAME>terminal_uart1_board): Listening for serial connection on port (?P<PORT>\d+)'
arguments:
- "--data Morello_Top.css.scp.armcortexm7ct={SCP_ROMFW}@0x0"
- "--data Morello_Top.css.mcp.armcortexm7ct={MCP_ROMFW}@0x0"
- "-C Morello_Top.soc.scp_qspi_loader.fname={SCP_FW}"
- "-C Morello_Top.soc.mcp_qspi_loader.fname={MCP_FW}"
- "-C css.scp.armcortexm7ct.INITVTOR=0x0"
- "-C css.mcp.armcortexm7ct.INITVTOR=0x0"
- "--data {UEFI}@0x14200000"
- "-C board.virtioblockdevice.image_path={ROOTFS}"
- "-C css.pl011_uart_ap.out_file=uart0.log"
- "-C css.scp.pl011_uart_scp.out_file=scp.log"
- "-C css.mcp.pl011_uart0_mcp.out_file=mcp.log"
- "-C css.pl011_uart_ap.unbuffered_output=1"
- "-C displayController=0"
- "-C board.virtio_rng.enabled=1"
- "-C board.virtio_rng.seed=0"
- "-C board.rtc_clk_frequency=32768"
- "-C num_clusters=2"
- "-C num_cores=2"
- "-C board.virtio_net.enabled=1"
- "-C board.virtio_net.hostbridge.userNetworking=1"
- "-C board.virtio_net.hostbridge.userNetPorts=\"5555=5555\""
- "-C disable_visualisation=true"
prompts:
- 'morello@morello-server:'
auto_login:
login_prompt: 'morello-server login:'
username: morello
password_prompt: 'Password:'
password: morello
- test:
timeout:
minutes: 60
docker:
image: git.morello-project.org:5050/morello/morello-ci-containers/morello-android-platform-tools
network_from: "net-1234"
definitions:
- repository:
metadata:
format: Lava-Test Test Definition 1.0
name: lava-net-tests
description: "check helpers"
run:
steps:
- pwd
from: inline
name: ubuntu
path: ubuntu
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment