Project

General

Profile

action #59202

[functional][y] Start using ASSET_ISO_SHA256 validate checksum

Added by riafarov 11 months ago. Updated 10 months ago.

Status:
Rejected
Priority:
High
Assignee:
Category:
Infrastructure
Target version:
Start date:
2019-11-07
Due date:
2019-12-03
% Done:

0%

Estimated time:
5.00 h
Difficulty:

Description

Motivation

ASSET_ISO_SHA256

We have calculated MD5 checksum, but iso images already have asset with sha256 checksum

What we need is to calculate SHA256 now on the worker side.

We already have checksum calculated with sha256: https://github.com/os-autoinst/os-autoinst-distri-opensuse/blob/master/lib/data_integrity_utils.pm#L68

We should keep old behavior for the jobs which are still triggered by rsync.pl

riafarov will confirm how name of the variable will look like for ISO_1, etc.

Acceptance criteria

  1. sha256 checksum is validated with sha256

Related issues

Related to openQA Infrastructure - action #60032: Provide CHECKSUM_ISO parameter to ObsRsync callResolved2019-11-19

History

#1 Updated by riafarov 11 months ago

  • Priority changed from Normal to High

#2 Updated by riafarov 10 months ago

  • Description updated (diff)
  • Status changed from New to Workable
  • Estimated time set to 5.00 h

#3 Updated by andriinikitin 10 months ago

  • Related to action #60032: Provide CHECKSUM_ISO parameter to ObsRsync call added

#4 Updated by riafarov 10 months ago

  • Status changed from Workable to Rejected
  • Assignee set to riafarov

Was implemented by Andrii https://github.com/andrii-suse/openqa-trigger-from-obs/pull/11 Thanks to him, less work for us. =)

Also available in: Atom PDF