Skip to contentSkip to conversation

travis-ci: Skip the saveenv and reset test cases on xilinx zynq qemu

PATCH In review Venkatesh Yadav Abbarapu 3 participants 4 messages Sep 2, 2024 Arm/Zynq architecture

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 travis-ci: Skip the saveenv and reset test cases on xilinx zynq qemu

There is an issue with the xilinx zynq qemu qspi driver during the erase operation in dual parallel configuration, so skip these tests for now.

---
 py/travis-ci/u_boot_boardenv_xilinx_zynq_virt_qemu.py | 2 ++
 py/travis-ci/u_boot_boardenv_zynq_zc702_qemu.py       | 2 ++
 2 files changed, 4 insertions(+)
py/travis-ci/u_boot_boardenv_xilinx_zynq_virt_qemu.py +2 -0
index 267285f..42685ad 100644
@@ -1 +1,3 @@
 env__spl_skipped = True
+env__saveenv_test_skip = True
+env__reset_test_skip = True
py/travis-ci/u_boot_boardenv_zynq_zc702_qemu.py +2 -0
index 267285f..42685ad 100644
@@ -1 +1,3 @@
 env__spl_skipped = True
+env__saveenv_test_skip = True
+env__reset_test_skip = True
Signature · 1 line
2.17.1
maintainer Acked-by on v1 1/1
#1 lore raw

Hi Tom,

Quoted 23 lines · Venkatesh Yadav Abbarapu

There is an issue with the xilinx zynq qemu qspi driver during the erase operation in dual parallel configuration, so skip these tests for now.

---
  py/travis-ci/u_boot_boardenv_xilinx_zynq_virt_qemu.py | 2 ++
  py/travis-ci/u_boot_boardenv_zynq_zc702_qemu.py       | 2 ++
  2 files changed, 4 insertions(+)
py/travis-ci/u_boot_boardenv_xilinx_zynq_virt_qemu.py +2 -0
index 267285f..42685ad 100644
@@ -1 +1,3 @@
  env__spl_skipped = True
+env__saveenv_test_skip = True
+env__reset_test_skip = True
py/travis-ci/u_boot_boardenv_zynq_zc702_qemu.py +0 -0
index 267285f..42685ad 100644

py/travis-ci/u_boot_boardenv_zynq_zc702_qemu.py line 3

Quoted 3 lines
py/travis-ci/u_boot_boardenv_zynq_zc702_qemu.py +2 -0
@@ -1 +1,3 @@
  env__spl_skipped = True
+env__saveenv_test_skip = True
+env__reset_test_skip = True

CI found bug in Qemu which is reported here.
https://source.denx.de/u-boot/custodians/u-boot-microblaze/-/jobs/878781

as

----------------------------- Captured stdout call -----------------------------
Saving Environment to SPIFlash... Erasing SPI flash...qemu-system-arm: ../util/fifo8.c:62: fifo8_pop: Assertion `fifo->num > 0' failed.

It is bug in Qemu and we have already asked our Qemu team to fix this but hard to say when fix reach upstream and then there is CI pipeline update too. That's why the most sensible thing to do is disable these tests to be able to pass CI for dual stacked/parallel configurations.

Thanks,
Michal

#2 lore raw
Quoted 40 lines · Michal Simek

Hi Tom,

Quoted 23 lines · Venkatesh Yadav Abbarapu

There is an issue with the xilinx zynq qemu qspi driver during the erase operation in dual parallel configuration, so skip these tests for now.

---
  py/travis-ci/u_boot_boardenv_xilinx_zynq_virt_qemu.py | 2 ++
  py/travis-ci/u_boot_boardenv_zynq_zc702_qemu.py       | 2 ++
  2 files changed, 4 insertions(+)
py/travis-ci/u_boot_boardenv_xilinx_zynq_virt_qemu.py +2 -0
index 267285f..42685ad 100644
@@ -1 +1,3 @@
  env__spl_skipped = True
+env__saveenv_test_skip = True
+env__reset_test_skip = True
py/travis-ci/u_boot_boardenv_zynq_zc702_qemu.py +0 -0
index 267285f..42685ad 100644

py/travis-ci/u_boot_boardenv_zynq_zc702_qemu.py line 3

Quoted 3 lines
py/travis-ci/u_boot_boardenv_zynq_zc702_qemu.py +2 -0
@@ -1 +1,3 @@
  env__spl_skipped = True
+env__saveenv_test_skip = True
+env__reset_test_skip = True

CI found bug in Qemu which is reported here.
https://source.denx.de/u-boot/custodians/u-boot-microblaze/-/jobs/878781

as

----------------------------- Captured stdout call ----------------------------- Saving Environment to SPIFlash... Erasing SPI flash...qemu-system-arm:
../util/fifo8.c:62: fifo8_pop: Assertion `fifo->num > 0' failed.

Quoted 7 lines

It is bug in Qemu and we have already asked our Qemu team to fix this but hard to say when fix reach upstream and then there is CI pipeline update too.
That's why the most sensible thing to do is disable these tests to be able to pass CI for dual stacked/parallel configurations.

Thanks for explaining, I'm sure once QEMU is fixed and we've updated our Dockerfile to have it someone will send a revert for this change.

Signature · 1 line
Tom
#3 lore raw
In reply to Venkatesh Yadav Abbarapu
Quoted 5 lines · Venkatesh Yadav Abbarapu

There is an issue with the xilinx zynq qemu qspi driver during the erase operation in dual parallel configuration, so skip these tests for now.

Applied to u-boot/u-boot-test-hooks.git/master, thanks!

Signature · 1 line
Tom