Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
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.
DescriptionEugene Syromiatnikov
2017-08-14 14:43:54 UTC
Description of problem:
Sometimes ksc -s produces the errors when tries to upload the report.
Version-Release number of selected component (if applicable):
ksc-0.9.18-1.el7.noarch
How reproducible:
Sometimes
Steps to Reproduce:
1. Run ksc -s -k <*.ko file>
2. Answer the questions
3. Sometimes, error occurred on the bug updating phase and report is not attached to the newly created bug.
Actual results:
Report is uploaded successfully.
Expected results:
All reports are attached.
Additional info:
I assume that it races with Red Hat Bugzilla Rules Engine which also tries to update the bug. Notably, in bug 1481083 it is the rules engine that seemingly failed to update it. And in bug 1481084 report successfully uploaded despite the error.
Error log:
---8<---
Current Bugzilla user: esyr
Please enter password:
Creating a new bug
Bug URL https://bugzilla.redhat.com/show_bug.cgi?id=1481081
Attaching the report
Could not create bug. <Fault -32000: 'DBD::Pg::db do failed: ERROR: deadlock detected\nDETAIL: Process 3828 waits for ShareLock on transaction 371401492; blocked by process 3474.\nProcess 3474 waits for ExclusiveLock on tuple (62261,45) of relation 527931 of database 16384; blocked by process 3828.\nHINT: See server log for query details. [for Statement "UPDATE bugs SET delta_ts = ? WHERE bug_id = ?"] at /var/www/html/bugzilla/Bugzilla/Bug.pm line 1318\n\tBugzilla::Bug::update(\'Bugzilla::Bug=HASH(0x7fbf6cc21538)\', \'2017-08-13 23:43:32\') called at /var/www/html/bugzilla/Bugzilla/WebService/Bug.pm line 997\n\tBugzilla::WebService::Bug::add_attachment(\'Bugzilla::WebService::Bug\', \'HASH(0x7fbf6dc857f8)\') called at /usr/share/perl5/vendor_perl/SOAP/Lite.pm line 2875\n\teval {...} called at /usr/share/perl5/vendor_perl/SOAP/Lite.pm line 2860\n\teval {...} called at /usr/share/perl5/vendor_perl/SOAP/Lite.pm line 2826\n\tSOAP::Server::handle(\'Bugzilla::WebService::Server::XMLRPC=HASH(0x7fbf6cc22d30)\', \'<?xml version=\\\'1.0\\\'?>\\x{a}<methodCall>\\x{a}<methodName>Bug.add_atta...\') called at /usr/share/perl5/vendor_perl/SOAP/Transport/HTTP.pm line 438\n\tSOAP::Transport::HTTP::Server::handle(\'Bugzilla::WebService::Server::XMLRPC=HASH(0x7fbf6cc22d30)\') called at /usr/share/perl5/vendor_perl/SOAP/Transport/HTTP.pm line 831\n\tSOAP::Transport::HTTP::Apache::handler(\'Bugzilla::WebService::Server::XMLRPC=HASH(0x7fbf6cc22d30)\') called at
/var/www/html/bugzilla/xmlrpc.cgi line 39\n\tModPerl::ROOT::Bugzilla::ModPerl::ResponseHandler::var_www_html_bugzilla_xmlrpc_2ecgi::handler(\'Apache2::RequestRec=SCALAR(0x7fbf6dcb95c0)\') called at /usr/lib64/perl5/vendor_perl/ModPerl/RegistryCooker.pm line 204\n\teval {...} called at /usr/lib64/perl5/vendor_perl/ModPerl/RegistryCooker.pm line 204\n\tModPerl::RegistryCooker::run(\'Bugzilla::ModPerl::ResponseHandler=HASH(0x7fbf6dcb07e8)\') called at /usr/lib64/perl5/vendor_perl/ModPerl/RegistryCooker.pm line 170\n\tModPerl::RegistryCooker::default_handler(\'Bugzilla::ModPerl::ResponseHandler=HASH(0x7fbf6dcb07e8)\') called at /usr/lib64/perl5/vendor_perl/ModPerl/Registry.pm line 31\n\tModPerl::Registry::handler(\'Bugzilla::ModPerl::ResponseHandler\', \'Apache2::RequestRec=SCALAR(0x7fbf6dcb95c0)\') called at /var/www/html/bugzilla/mod_perl.pl line 134\n\tBugzilla::ModPerl::ResponseHandler::handler(\'Bugzilla::ModPerl::ResponseHandler\', \'Apache2::RequestRec=SCALAR(0x7fbf6dcb95c0)\') called at -e line 0\n\teval {...} called at -e line 0\n'>
Current Bugzilla user: esyr
Please enter password:
Creating a new bug
Bug URL https://bugzilla.redhat.com/show_bug.cgi?id=1481082
Attaching the report
Could not create bug. <Fault -32000: 'DBD::Pg::db do failed: ERROR: deadlock detected\nDETAIL: Process 3944 waits for ShareLock on transaction 371401635; blocked by process 3903.\nProcess 3903 waits for ExclusiveLock on tuple (62263,42) of relation 527931 of database 16384; blocked by process 3944.\nHINT: See server log for query details. [for Statement "UPDATE bugs SET delta_ts = ? WHERE bug_id = ?"] at /var/www/html/bugzilla/Bugzilla/Bug.pm line 1318\n\tBugzilla::Bug::update(\'Bugzilla::Bug=HASH(0x7fbf6c5002e8)\', \'2017-08-13 23:43:52\') called at /var/www/html/bugzilla/Bugzilla/WebService/Bug.pm line 997\n\tBugzilla::WebService::Bug::add_attachment(\'Bugzilla::WebService::Bug\', \'HASH(0x7fbf6d1ecc60)\') called at /usr/share/perl5/vendor_perl/SOAP/Lite.pm line 2875\n\teval {...} called at /usr/share/perl5/vendor_perl/SOAP/Lite.pm line 2860\n\teval {...} called at /usr/share/perl5/vendor_perl/SOAP/Lite.pm line 2826\n\tSOAP::Server::handle(\'Bugzilla::WebService::Server::XMLRPC=HASH(0x7fbf6d977860)\', \'<?xml version=\\\'1.0\\\'?>\\x{a}<methodCall>\\x{a}<methodName>Bug.add_atta...\') called at /usr/share/perl5/vendor_perl/SOAP/Transport/HTTP.pm line 438\n\tSOAP::Transport::HTTP::Server::handle(\'Bugzilla::WebService::Server::XMLRPC=HASH(0x7fbf6d977860)\') called at /usr/share/perl5/vendor_perl/SOAP/Transport/HTTP.pm line 831\n\tSOAP::Transport::HTTP::Apache::handler(\'Bugzilla::WebService::Server::XMLRPC=HASH(0x7fbf6d977860)\') called at /var/www/html/bugzilla/xmlrpc.cgi line 39\n\tModPerl::ROOT::Bugzilla::ModPerl::ResponseHandler::var_www_html_bugzilla_xmlrpc_2ecgi::handler(\'Apache2::RequestRec=SCALAR(0x7fbf6c7b2c88)\') called at /usr/lib64/perl5/vendor_perl/ModPerl/RegistryCooker.pm line 204\n\teval {...} called at /usr/lib64/perl5/vendor_perl/ModPerl/RegistryCooker.pm line 204\n\tModPerl::RegistryCooker::run(\'Bugzilla::ModPerl::ResponseHandler=HASH(0x7fbf6c7f84f0)\') called at /usr/lib64/perl5/vendor_perl/ModPerl/RegistryCooker.pm line 170\n\tModPerl::RegistryCooker::default_handler(\'Bugzilla::ModPerl::ResponseHandler=HASH(0x7fbf6c7f84f0)\') called at /usr/lib64/perl5/vendor_perl/ModPerl/Registry.pm line 31\n\tModPerl::Registry::handler(\'Bugzilla::ModPerl::ResponseHandler\', \'Apache2::RequestRec=SCALAR(0x7fbf6c7b2c88)\') called at /var/www/html/bugzilla/mod_perl.pl line 134\n\tBugzilla::ModPerl::ResponseHandler::handler(\'Bugzilla::ModPerl::ResponseHandler\', \'Apache2::RequestRec=SCALAR(0x7fbf6c7b2c88)\') called at -e line 0\n\teval {...} called at -e line 0\n'>
Current Bugzilla user: esyr
Please enter password:
Creating a new bug
Bug URL https://bugzilla.redhat.com/show_bug.cgi?id=1481084
Attaching the report
Could not create bug. <Fault 32000: "Red Hat Bugzilla's database reported a query serialization error. Most likely this occurred because another user or process attempted to change the same data that you were attempting to change. Please press Back and retry the transaction. UPDATE bugs SET lastdiffed = ? WHERE bug_id= ? at /var/www/html/bugzilla/Bugzilla/BugMail.pm line 324 Bugzilla::BugMail::Send(1481084, 'HASH(0x7f15637bba18)', 'HASH(0x7f1564ad6d08)') called at /var/www/html/bugzilla/Bugzilla/Bug.pm line 1539 Bugzilla::Bug::_send_bugmail('HASH(0x7f1564ad6d08)', 'HASH(0x7f1564bb3f28)') called at /var/www/html/bugzilla/Bugzilla/Bug.pm line 1475 Bugzilla::Bug::send_changes('Bugzilla::Bug=HASH(0x7f15647a2f10)', undef, 'HASH(0x7f1564bb3f28)') called at /var/www/html/bugzilla/Bugzilla/WebService/Bug.pm line 1000 Bugzilla::WebService::Bug::add_attachment('Bugzilla::WebService::Bug', 'HASH(0x7f156481be78)') called at /usr/share/perl5/vendor_perl/SOAP/Lite.pm line 2875 eval {...} called at /usr/share/perl5/vendor_perl/SOAP/Lite.pm line 2860 eval {...} called at /usr/share/perl5/vendor_perl/SOAP/Lite.pm line 2826 SOAP::Server::handle('Bugzilla::WebService::Server::XMLRPC=HASH(0x7f15646d4728)', '<?xml version=\\'1.0\\'?>\\x{a}<methodCall>\\x{a}<methodName>Bug.add_atta...') called at /usr/share/perl5/vendor_perl/SOAP/Transport/HTTP.pm line 438 SOAP::Transport::HTTP::Server::handle('Bugzilla::WebService::Server::XMLRPC=HASH(0x7f15646d4728)') called at /usr/share/perl5/vendor_perl/SOAP/Transport/HTTP.pm line 831 SOAP::Transport::HTTP::Apache::handler('Bugzilla::WebService::Server::XMLRPC=HASH(0x7f15646d4728)') called at /var/www/html/bugzilla/xmlrpc.cgi line 39 ModPerl::ROOT::Bugzilla::ModPerl::ResponseHandler::var_www_html_bugzilla_xmlrpc_2ecgi::handler('Apache2::RequestRec=SCALAR(0x7f156483a480)') called at /usr/lib64/perl5/vendor_perl/ModPerl/RegistryCooker.pm line 204 eval {...} called at /usr/lib64/perl5/vendor_perl/ModPerl/RegistryCooker.pm line 204 ModPerl::RegistryCooker::run('Bugzilla::ModPerl::ResponseHandler=HASH(0x7f1564800108)') called at /usr/lib64/perl5/vendor_perl/ModPerl/RegistryCooker.pm line 170 ModPerl::RegistryCooker::default_handler('Bugzilla::ModPerl::ResponseHandler=HASH(0x7f1564800108)') called at /usr/lib64/perl5/vendor_perl/ModPerl/Registry.pm line 31 ModPerl::Registry::handler('Bugzilla::ModPerl::ResponseHandler', 'Apache2::RequestRec=SCALAR(0x7f156483a480)') called at /var/www/html/bugzilla/mod_perl.pl line 134 Bugzilla::ModPerl::ResponseHandler::handler('Bugzilla::ModPerl::ResponseHandler', 'Apache2::RequestRec=SCALAR(0x7f156483a480)') called at -e line 0 eval {...} called at -e line 0">
--->8---
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://access.redhat.com/errata/RHBA-2018:0997