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 1373120 - ksc line align issue in utils.py and have potential issue of submitting bug
Summary: ksc line align issue in utils.py and have potential issue of submitting bug
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: ksc
Version: 7.3
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: rc
: ---
Assignee: Stanislav Kozina
QA Contact: Chunyu Hu
URL:
Whiteboard:
Depends On:
Blocks: 1373208
TreeView+ depends on / blocked
 
Reported: 2016-09-05 09:30 UTC by Chunyu Hu
Modified: 2016-11-04 03:55 UTC (History)
2 users (show)

Fixed In Version: ksc-0.9.18-1.el7
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1373208 (view as bug list)
Environment:
Last Closed: 2016-11-04 03:55:07 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:2334 0 normal SHIPPED_LIVE ksc bug fix update 2016-11-03 13:45:02 UTC

Description Chunyu Hu 2016-09-05 09:30:25 UTC
Description of problem:

/usr/share/ksc/utils.py contain lines start with tab, not same with other lines.
And seems it can cause it fail to submit bugs with none red hat account.but not very sure, as we don't have a good test account(none @redhat.com) can be used. 

We have a test instance of bugzilla, but it listed kabi-whitelists as a component. not same with this production bugzilla that kabi-whitelists is a sub component of kernel. 

bzweb.host.qe.eng.pek2.redhat.com
redhat3   
5HSSQE@redhat   ---> passwd

in addition, that instance can't pass the ssl verification. so I also removed the ssl check. more detail in:

https://bugzilla.redhat.com/show_bug.cgi?id=1328384#c10

Version-Release number of selected component (if applicable):
ksc-0.9.17-1.el7.noarch

How reproducible:

always



Steps to Reproduce:

[root@intel-wildcatpass-01 hello]# cat test.sh 

check()
{
	echo "Check line start with TAB+WHITESPACE"
	for f in $(find /usr/share/ksc -name "*.py"); do
		echo "checking file: $f"
		sed -n -e  "/^[\t]\+ */{=}" $f
	done
}
check


[root@intel-wildcatpass-01 hello]# sh test.sh 
Check line start with TAB+WHITESPACE
checking file: /usr/share/ksc/bugzilla/__init__.py
checking file: /usr/share/ksc/bugzilla/base.py
checking file: /usr/share/ksc/bugzilla/bug.py
checking file: /usr/share/ksc/bugzilla/bugzilla3.py
checking file: /usr/share/ksc/bugzilla/bugzilla4.py
checking file: /usr/share/ksc/bugzilla/rhbugzilla.py
checking file: /usr/share/ksc/keywords.py
checking file: /usr/share/ksc/ksc.py
checking file: /usr/share/ksc/utils.py
147
308
309
319
333


Actual results:

The ksc python files contain line align issue.

Expected results:

The python files in /usr/share/ksc should both start with whitespace. should not contain lines start with tab.

Additional info:

Comment 6 errata-xmlrpc 2016-11-04 03:55:07 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2016-2334.html


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