Public bug reported:

The `py3status` clock autopkgtest fails on s390x after `file` was
rebuilt from 1:5.46-5build1 to 1:5.46-5build2

py3status calls `file --mime-encoding` via subprocess with no timeout at
startup. With the new file build, the magic database is slow to load on
s390x, causing the call to hang and py3status to produce no output
within the test window.

Fix: add timeout=3 to the subprocess call and handle TimeoutExpired,
falling back to utf-8. Also, increase the autopkgtest timeout from 1s to
5s.

** Affects: py3status (Ubuntu)
     Importance: High
     Assignee: Nadzeya Hutsko (nadzeya)
         Status: In Progress


** Tags: update-excuse

** Tags added: update-excuse

** Changed in: py3status (Ubuntu)
     Assignee: (unassigned) => Nadzeya Hutsko (nadzeya)

** Changed in: py3status (Ubuntu)
       Status: New => In Progress

** Changed in: py3status (Ubuntu)
   Importance: Undecided => High

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2143116

Title:
  autopkgtest fails on s390x with file 1:5.46-5build2

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/py3status/+bug/2143116/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to