Source: qtile
Version: 0.10.7-2
Severity: serious
https://buildd.debian.org/status/package.php?p=qtile&suite=sid
...
=== FAILURES ===
test_thermalsensor_regex_compatibility
def test_thermalsensor_regex_compatibility():
> sensors = ThermalSensor()
test/test_widget.py:62:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
libqtile/widget/sensors.py:73: in __init__
temp_values = self.get_temp_sensors()
libqtile/utils.py:202: in wrapper
return_value = func(*args, **kwargs)
libqtile/widget/sensors.py:93: in get_temp_sensors
sensors_out = self.call_process(command)
libqtile/widget/base.py:262: in call_process
output = subprocess.check_output(command, **kwargs)
/usr/lib/python3.6/subprocess.py:336: in check_output
**kwargs).stdout
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
input = None, timeout = None, check = True, popenargs = (['sensors'],)
kwargs = {'stdout': -1}, process =
stdout = b'', stderr = None, retcode = 1
def run(*popenargs, input=None, timeout=None, check=False, **kwargs):
"""Run command with arguments and return a CompletedProcess instance.
The returned instance will have attributes args, returncode, stdout and
stderr. By default, stdout and stderr are not captured, and those
attributes
will be None. Pass stdout=PIPE and/or stderr=PIPE in order to capture
them.
If check is True and the exit code was non-zero, it raises a
CalledProcessError. The CalledProcessError object will have the return
code
in the returncode attribute, and output & stderr attributes if those
streams
were captured.
If timeout is given, and the process takes too long, a TimeoutExpired
exception will be raised.
There is an optional argument "input", allowing you to
pass a string to the subprocess's stdin. If you use this argument
you may not also use the Popen constructor's "stdin" argument, as
it will be used internally.
The other arguments are the same as for the Popen constructor.
If universal_newlines=True is passed, the "input" argument must be a
string and stdout/stderr in the returned object will be strings rather
than
bytes.
"""
if input is not None:
if 'stdin' in kwargs:
raise ValueError('stdin and input arguments may not both be
used.')
kwargs['stdin'] = PIPE
with Popen(*popenargs, **kwargs) as process:
try:
stdout, stderr = process.communicate(input, timeout=timeout)
except TimeoutExpired:
process.kill()
stdout, stderr = process.communicate()
raise TimeoutExpired(process.args, timeout, output=stdout,
stderr=stderr)
except:
process.kill()
process.wait()
raise
retcode = process.poll()
if check and retcode:
raise CalledProcessError(retcode, process.args,
>output=stdout, stderr=stderr)
E subprocess.CalledProcessError: Command '['sensors']' returned
non-zero exit status 1.
/usr/lib/python3.6/subprocess.py:418: CalledProcessError
- Captured stderr call -
No sensors found!
Make sure you loaded all the kernel drivers you need.
Try sensors-detect to find out which these are.
== 1 failed, 180 passed, 1 skipped in 352.98 seconds ===
E: pybuild pybuild:283: test: plugin distutils failed with: exit code=1: cd
/<>/.pybuild/pythonX.Y_3.6/build; python3.6 -m pytest test
dh_auto_test: pybuild --test --test-pytest -i python{version} -p 3.6 3.5
returned exit code 13
debian/rules:4: recipe for target 'build-arch' failed
make: *** [build-arch] Error 25
You cannot expect availability and permission to access
hw sensors when building the package.