Project

General

Profile

Actions

action #31894

closed

Worker fails on 'chattr' command with xfs filesystem

Added by ldevulder about 6 years ago. Updated about 6 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
2018-02-16
Due date:
% Done:

0%

Estimated time:

Description

Worker fails with error "DIE runcmd failed with exit code 1 at /usr/lib/os-autoinst/osutils.pm line 127.
",see: http://moon.qa.suse.cz/tests/1664/file/autoinst-log.txt

After a quick investigation the error came from the 'chattr' command.

Version 4.5.1518541136.0ac2c9f6 added the following change:

  • qemu: disable CoW for the HDD image directory (#790)

With this command in /usr/lib/os-autoinst/backend/qemu.pm, line 609:
runcmd('/usr/bin/chattr', '-f', '+C', $basedir);

But this chattr call failed if the filesystem is not btrfs (this is my case, I use xfs).

So, maybe a test of the filesystem type is needed before, or simply just ignore the error (but ignoring an error is not good ;-)).


Related issues 1 (0 open1 closed)

Related to openQA Project - action #31771: 0ac2c9f6cd1bd5f2d7091e1c08096152ed02a23f failing on chattrResolvedcoolo2018-02-14

Actions
Actions #1

Updated by szarate about 6 years ago

  • Target version set to Current Sprint
Actions #2

Updated by szarate about 6 years ago

  • Target version deleted (Current Sprint)
Actions #3

Updated by szarate about 6 years ago

  • Related to action #31771: 0ac2c9f6cd1bd5f2d7091e1c08096152ed02a23f failing on chattr added
Actions #4

Updated by coolo about 6 years ago

  • Status changed from New to Rejected

dup

Actions

Also available in: Atom PDF