Project

General

Profile

Actions

action #73159

closed

[sle][security][sle15sp3] test fails in evm_protection_digital_signatures due to output change

Added by rfan1 over 3 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Bugs in existing tests
Target version:
-
Start date:
2020-10-09
Due date:
% Done:

90%

Estimated time:
4.00 h
Difficulty:

Description

Observation

openQA test in scenario sle-15-SP3-Online-x86_64-evm_protection@uefi fails in
evm_protection_digital_signatures

Test suite description

Maintainer: llzhao@suse.com
Setup and test for IMA measurement functions.

Reproducible

Fails since (at least) Build 14.2

Expected result

Last good: (unknown) (or more recent)

Further details

Always latest result in this scenario: latest

=======================================

I will do some enhancement for matching the output here.

Actions #1

Updated by rfan1 over 3 years ago

from the console output, we can see the msgs like below:

generation: 3576632506
no xattr: security.selinux
no xattr: security.SMACK64
no xattr: security.apparmor
name: security.ima, size: 34
no xattr: security.capability
uuid: b06df2f0980c41cfa1212689edc49358
hash(sha1): e0be3d371d1c02f60ee96ac63c87bec9ad552bad
evm/ima signature: 264 bytes
030202c5e1deb1010090b4af4bf4c882f57c7fa4165000733a607ac6cc3b58adebb15965ccdf2702b94cf794441f52220834501b36980f0098abbd1ce14d0309be65bf8725acfaa6818e39b8c53269ebdffac00faca2dc0faa01e77c31e4ac2783b018934b2eb158ba93239e3e58bf902f13eb3272092588d0b71799336724df6c00a741d24a9123d30f6b9c4120a08e5feb1bcd109f31b340364c0f837b41d3d6ea804111dcf9140891ca0dae4c42bbb84441481dbfd3ebce8e26d0f1dba77635df1606bf2d4c76f2c0ce637611e4b4da8bc0b4997a83ebada62e6bcc57a6124c4fa9abe3b9563f291a29d13e94faa441fdc47904cc4c8f817dc757152b9f907e98743cf2c9157670
generation: 524407466
no xattr: security.selinux
no xattr: security.SMACK64
no xattr: security.apparmor
name: security.ima, size: 34
no xattr: security.capability
uuid: b06df2f0980c41cfa1212689edc49358
hash(sha1): b65f424f998eb8194280d74a78cc76185cb038ad

So, will try to add the match code $f =~ m/\/proc\/.*No such file/ or $f =~ m/evm\/ima signature/ or die "Failed to create security.evm for $f";

Actions #2

Updated by rfan1 over 3 years ago

  • Status changed from New to Workable
  • % Done changed from 0 to 10
Actions #3

Updated by rfan1 over 3 years ago

  • Status changed from Workable to In Progress
  • % Done changed from 10 to 80
Actions #4

Updated by rfan1 over 3 years ago

  • Status changed from In Progress to Feedback
  • % Done changed from 80 to 90

PR merged

Actions #5

Updated by rfan1 over 3 years ago

  • Status changed from Feedback to Resolved

test passed on openqa 57.4

Actions

Also available in: Atom PDF