[SSSD] [PATCH] CI: Run mock under PTY to workaround DNF bug

Lukas Slebodnik lslebodn at redhat.com
Mon Oct 12 08:52:34 UTC 2015


On (12/10/15 11:41), Nikolai Kondrashov wrote:
>Hi everyone,
>
>Attached is a patch which tries to workaround a DNF bug [1] which prevents us
>from running CI on Fedora Rawhide.
>
>It seems to work, however Fedora Rawhide repos seem to have some other issue
>at the moment, which manifests in dependency installation failures [2],
>including standalone builds of SSSD.
>
>Nick
>
>[1] https://bugzilla.redhat.com/show_bug.cgi?id=1269665
>[2] http://sssd-ci.duckdns.org/logs/job/30/10/fedora_rawhide/ci-build-debug/ci-mock-build.log

>From a5efaa7c010c472cb31c0028dd6166a5d8e04d2e Mon Sep 17 00:00:00 2001
>From: Nikolai Kondrashov <Nikolai.Kondrashov at redhat.com>
>Date: Mon, 12 Oct 2015 09:48:38 +0300
>Subject: [PATCH] CI: Run mock under PTY to workaround DNF bug
>
>Run mock on a pseudo-TTY with the help of "unbuffer" from the "expect"
>package to workaround a bug in DNF.
>---
I would prefer till dnf is fixed and do not add workarounds.
BTW the problem with using yum in mock for fedora >= 23
should be fixed within a days.
There is already bugfix in upstream
http://rpm.org/gitweb?p=rpm.git;a=commitdiff;h=9c082fb8689efdaa5a595d3043e67ccec4ed930c

LS


More information about the sssd-devel mailing list