#95 Fix %check in libtaskotron
Closed: Fixed None Opened 9 years ago by tflink.

Currently, %check in libtaskotron is failing most of the tests in test_runner.py during rpm build.

The full build log is available (for the moment) [[http://copr-be.cloud.fedoraproject.org/results/tflink/taskotron/fedora-20-x86_64/libtaskotron-0.0.12-1.fc20/build.log|in copr]].

Excerpts from the buildlog are:

E OSError: [Errno 2] No such file or directory: '/var/tmp/taskotron/task-XQ4A9p'
/usr/lib64/python2.7/tempfile.py:329: OSError

Which initially sounds like a side effect from D92 (changing base tempdir from /var/tmp to /var/tmp/taskotron)

E TaskotronConfigError: No YUM repo definitions found in the following locations: ['/builddir/build/BUILD/libtaskotron-0.0.12/conf/yumrepoinfo.conf', '/etc/taskotron/yumrepoinfo.conf']
libtaskotron/yumrepoinfo.py:73: TaskotronConfigError

Which seems likely to be related to the moving of config files to a subpackage and removing config/yumrepoinfo.conf in D80.

For both of these, the tests run fine in a dev env if /var/tmp/taskotron and config files already exist.


This ticket had assigned some Differential requests:
D94
D95

Login to comment on this ticket.

Metadata