Actions
action #80574
closed[opensuse][aarch64][rpi] job incompletes with auto_review:"(?s)GENERAL_HW_FLASH_CMD.*unxz.*File exists":retry
Start date:
2020-11-29
Due date:
% Done:
0%
Estimated time:
Difficulty:
Description
Observation¶
https://openqa.opensuse.org/tests/1487858 incompletes with:
[37m[2020-11-29T09:35:32.122 CET] [debug] started mgmt loop with pid 21983
[0m[37m[2020-11-29T09:35:37.833 CET] [debug] IPMI: Powering ON/OFF
Current status of plug#1: false.
New status of plug#1: false.
[0m[37m[2020-11-29T09:35:47.394 CET] [debug] Backend process died, backend errors are reported below in the following lines:
GENERAL_HW_FLASH_CMD: + echo 'Flash script start...'
+ username=root
+ '[' 6 -ne 6 ']'
+ tool=usbsdmux
+ destination=localhost:/tmp
+ device_serial=000000000482
+ sdX_device=disk/by-id/usb-LinuxAut_sdmux_HS-SD_MMC_000000000482-0:0
+ image_to_flash=/var/lib/openqa/pool/1/openSUSE-Tumbleweed-ARM-JeOS-raspberrypi3.aarch64-2020.11.24-Snapshot20201126.raw.xz
+ hdd_size=10G
+ IFS=:
+ read -r flasher_ip destination_folder
+ echo '* Switch SD card to flasher'
+ '[' usbsdmux = usbsdmux ']'
+ ssh root@localhost usbsdmux --direct /dev/usb-sd-mux/id-000000000482 host
+ ssh root@localhost rm -f '/tmp/*.{raw,xz,iso}'
+ echo '** Previous image deleted'
++ basename /var/lib/openqa/pool/1/openSUSE-Tumbleweed-ARM-JeOS-raspberrypi3.aarch64-2020.11.24-Snapshot20201126.raw.xz
+ image_to_flash_full_path=/tmp/openSUSE-Tumbleweed-ARM-JeOS-raspberrypi3.aarch64-2020.11.24-Snapshot20201126.raw.xz
+ image_to_flash_extension=xz
++ basename /tmp/openSUSE-Tumbleweed-ARM-JeOS-raspberrypi3.aarch64-2020.11.24-Snapshot20201126.raw.xz .xz
+ uncompressed_filename=openSUSE-Tumbleweed-ARM-JeOS-raspberrypi3.aarch64-2020.11.24-Snapshot20201126.raw
+ scp /var/lib/openqa/pool/1/openSUSE-Tumbleweed-ARM-JeOS-raspberrypi3.aarch64-2020.11.24-Snapshot20201126.raw.xz root@localhost:/tmp
+ [[ xz == \x\z ]]
+ ssh root@localhost unxz --threads=0 /tmp/openSUSE-Tumbleweed-ARM-JeOS-raspberrypi3.aarch64-2020.11.24-Snapshot20201126.raw.xz
unxz: /tmp/openSUSE-Tumbleweed-ARM-JeOS-raspberrypi3.aarch64-2020.11.24-Snapshot20201126.raw: File exists at /usr/lib/os-autoinst/backend/generalhw.pm line 78.
[0m[37m[2020-11-29T09:35:51.588 CET] [debug] IPMI: Powering ON/OFF
Current status of plug#1: false.
New status of plug#1: false.
Expected result¶
Test should not fail if a fil can not be extracted, either overwrite or don't extract if already existing
Actions