| Summary: | Bugmail serialization error in post_bug.cgi | ||
|---|---|---|---|
| Product: | [Community] Bugzilla | Reporter: | Matt Tyson 🤬 <mtyson> |
| Component: | Database | Assignee: | Matt Tyson 🤬 <mtyson> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | tools-bugs <tools-bugs> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 4.4 | CC: | didi, huiwang, jmcdonal, mtahir, qgong, ylavi |
| Target Milestone: | 4.4 | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | 4.4.11050.3 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-03-29 00:29:06 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Matt Tyson 🤬
2016-03-02 23:31:48 UTC
Verified on build 4.4.11050-2
Could reproduced this error by run below script against the server not upgrade yet, and couldn't happened again when run against the build 4.4.11050-2.
#!/usr/bin/python
import thread
import time
import xmlrpclib
# Define a function for the thread
def print_time( threadName, delay):
count = 0
while count < 5:
time.sleep(delay)
count += 1
print "%s: %s" % ( threadName, time.ctime(time.time()) )
def xmlrpc_access( threadName, delay):
count = 0
while count < 10:
time.sleep(delay)
proxy = xmlrpclib.ServerProxy('https://bugzilla-qe-05.host.stage.eng.rdu2.redhat.com/xmlrpc.cgi')
# proxy = xmlrpclib.ServerProxy('https://bzperfweb01.app.qa.eng.nay.redhat.com/xmlrpc.cgi')
# response = proxy.User.login({'Bugzilla_login': 'redhat1', 'Bugzilla_password': '*******'})
response = proxy.Bug.create({'Bugzilla_login':'redhat1','Bugzilla_password':'*******','summary':'xmlrpc test','product':'Red Hat Enterprise Linux 6','component':'openvswitch','version':'6.8'})
count += 1
print "%s: %s: %s" % ( response, threadName, time.ctime(time.time()) )
# Create two threads as follows
try:
thread.start_new_thread( xmlrpc_access, ("Thread-1", 2, ) )
thread.start_new_thread( xmlrpc_access, ("Thread-2", 2, ) )
# thread.start_new_thread( xmlrpc_access, ("Thread-3", 0, ) )
# thread.start_new_thread( xmlrpc_access, ("Thread-4", 0, ) )
except:
print "Error: unable to start thread"
while 1:
pass
|