RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1473862 - pkcon repo-disable fails in Beaker with pk_progress_bar_init: assertion failed: (self->priv->tty_fd > 0)
Summary: pkcon repo-disable fails in Beaker with pk_progress_bar_init: assertion faile...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: PackageKit
Version: 7.4
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Richard Hughes
QA Contact: Desktop QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-07-21 21:52 UTC by Matěj Cepl
Modified: 2019-07-30 15:46 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-07-30 15:46:38 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
log of the failed test (7.01 KB, text/plain)
2017-07-21 21:52 UTC, Matěj Cepl
no flags Details

Description Matěj Cepl 2017-07-21 21:52:09 UTC
Created attachment 1302564 [details]
log of the failed test

Description of problem:
When running command

 $ pkcon -p repo-disable beaker-Workstation-optional-debuginfo

it fails with

PackageKit:ERROR:pk-progress-bar.c:371:pk_progress_bar_init: assertion failed: (self->priv->tty_fd > 0)

and error level -6, which according to the manpage pkcon(1) should mean “The initial setup failed, e.g. setting the network proxy.”

What does it mean here?

Version-Release number of selected component (if applicable):
PackageKit-1.1.5-1.el7.x86_64

How reproducible:
100%

Additional info:
Attached log from the beaker run of the linked PackageKit test case.

Comment 2 Matěj Cepl 2017-07-21 21:53:56 UTC
Note also other similarly run tests (see https://tcms.engineering.redhat.com/plan/21555/ci-packagekit#testcases) work just fine in the similar environment: e.g., Beaker VM running tests in shell without Gnome.

Comment 3 Matěj Cepl 2017-09-11 06:47:24 UTC
Probably http://faf.lab.eng.brq.redhat.com/faf/reports/3615/ ?

Comment 4 Richard Hughes 2019-07-30 15:46:38 UTC
We fixed this for 7.5 IIRC.


Note You need to log in before you can comment on or make changes to this bug.